/* =====================================================
   message.css — メッセージページ専用
   ===================================================== */

/* ---- BREADCRUMB（ヒーロー背景に合わせる） ----------- */
.message-page .breadcrumb-bar {
  background: #efefef;
  border-top-color: transparent;
  border-bottom-color: rgba(0,0,0,0.08);
}

/* ---- HERO ------------------------------------------ */
.ms-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 128px);
  background: #e6e6e6;
  overflow: hidden;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.ms-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}
.ms-hero-catch {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  color: #000;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.ms-hero-catch--logo {
  margin-bottom: 32px;
  color: #000;
}
.ms-hero-catch--logo img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}
.ms-hero-sub {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  margin-bottom: 24px;
}
.ms-hero-body {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
}
.ms-hero-photo {
  overflow: hidden;
  background: #e6e6e6;
}
.ms-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: grayscale(100%);
  display: block;
}

/* ---- MISSION / VISION / VALUE ---------------------- */
.ms-mvv {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: #fff;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* ラベルセル（各行の左） */
.ms-mvv-label-cell {
  padding: 80px 16px 80px 40px;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #e8e8e8;
}
.ms-mvv-label-cell:last-of-type {
  border-bottom: none;
}
.ms-mvv-label-cell--dark {
  background: #000;
  border-bottom: none;
}
.ms-mvv-label-cell--dark .ms-mvv-label-en {
  color: #fff;
}
.ms-mvv-label-cell--dark .ms-mvv-label-ja {
  color: rgba(255,255,255,0.6);
}
.ms-mvv-label {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}
.ms-mvv-label-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #000;
}
.ms-mvv-label-ja {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  white-space: nowrap;
}

/* MISSION */
.ms-mission-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 64px;
  border-bottom: 1px solid #e8e8e8;
}
.ms-mission-catch {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}
.ms-mission-q {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  margin-bottom: 14px;
}
.ms-mission-ans {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
}

/* VISION */
.ms-vision-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 64px;
  background: #000;
  border-bottom: none;
}
.ms-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #888;
  display: block;
  margin-bottom: 12px;
}
.ms-vision-block .ms-num {
  color: rgba(255,255,255,0.4);
}
.ms-vision-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 16px;
}
.ms-vision-body {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}

/* VALUE */
.ms-value-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 80px 64px;
}
.ms-value-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ms-value-icon {
  width: 32px;
  height: 32px;
  color: #000;
  flex-shrink: 0;
}
.ms-value-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}
.ms-value-body {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* ---- OUR MIND + CEO MESSAGE ----------------------- */
.ms-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* OUR MIND（左・ダーク） */
.ms-ourmind {
  background: #111;
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
}
.ms-bottom-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.95);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.ms-bottom-label span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.ms-bottom-rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 0 0 48px;
}
.ms-ourmind-catch {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.ms-ourmind-catch--logo {
  margin-bottom: 40px;
  color: #fff;
}
.ms-ourmind-catch--logo svg {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}
.ms-ourmind-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
}
.ms-ourmind-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 10px;
}

/* CEO MESSAGE（右・ライト） */
.ms-ceo {
  background: #fff;
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
}
.ms-bottom-label--light {
  color: #111;
}
.ms-bottom-label--light span {
  color: #444;
}
.ms-bottom-rule--light {
  border-top-color: #ddd;
}
.ms-ceo-catch {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  margin-bottom: 32px;
}
.ms-ceo-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 15px;
  line-height: 1.9;
  color: #222;
  margin-bottom: 40px;
  flex: 1;
}
.ms-ceo-heading {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000;
  margin-bottom: 10px;
}
.ms-ceo-sig {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ms-ceo-sig-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #666;
}
.ms-ceo-sig-img {
  width: 123px;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.ms-ceo-sig-fallback {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}
.ms-ceo-blog {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ms-ceo-blog-lead {
  font-size: 14px;
  color: #555;
}
.ms-ceo-blog-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  align-self: flex-start;
  transition: background 0.2s, outline 0.2s;
}
.ms-ceo-blog-btn:hover {
  background: transparent;
  color: #000;
  outline: 1px solid #000;
}

/* ---- RESPONSIVE ------------------------------------ */
@media (max-width: 960px) {
  .ms-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ms-hero-text {
    padding: 60px 32px;
  }
  .ms-hero-photo {
    height: 60vw;
  }

  .ms-mvv {
    grid-template-columns: 1fr;
  }
  .ms-mvv-label-cell {
    padding: 32px 24px 16px;
    border-bottom: none;
  }
  .ms-mission-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px 48px;
    border-bottom: 1px solid #e8e8e8;
  }
  .ms-vision-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px 48px;
    border-bottom: none;
  }
  .ms-value-block {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px 48px;
  }

  .ms-bottom {
    grid-template-columns: 1fr;
  }
  .ms-ourmind,
  .ms-ceo {
    padding: 60px 32px;
  }
}

@media (max-width: 600px) {
  .ms-hero-text { padding: 48px 24px; }
  .ms-ourmind,
  .ms-ceo       { padding: 48px 24px; }
  .ms-value-block { grid-template-columns: 1fr; }
}
