/*
 * Minashirube About CSS v2.0
 * /about/
 * Base CSS 読み込み後に適用
 * 2026-09-12
 */

/* ==================================================
   56. About Minashirube — Custom HTML
   /about/
   Cocoon = site shell / Custom HTML = brand story page
   ================================================== */

body:has(.ms-about-page) .entry-header {
  display: none !important;
}

body:has(.ms-about-page) #main,
body:has(.ms-about-page) #main .article,
body:has(.ms-about-page) .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body:has(.ms-about-page) .entry-content > * {
  max-width: none !important;
}

.ms-about-page {
  --about-rule: var(--ms-border);
  --about-soft-text: #46535C;
  --about-pale: #F6F8F7;
  --about-warm: #FBF8F1;

  width: 100%;
  color: var(--ms-text);
  font-family: var(--ms-font-sans);
}

.ms-about-page *,
.ms-about-page *::before,
.ms-about-page *::after {
  box-sizing: border-box;
}

.ms-about-page h1,
.ms-about-page h2,
.ms-about-page h3,
.ms-about-page p {
  margin-top: 0;
}


/* ---------- Hero ---------- */

.ms-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  column-gap: 64px;
  align-items: center;

  padding: 58px 0 62px;
  border-top: 4px solid var(--ms-navy);
  border-bottom: 1px solid var(--about-rule);
}

.ms-about-hero-main {
  min-width: 0;
}

.ms-about-eyebrow {
  margin-bottom: 16px !important;
  color: var(--ms-bluegray);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ms-about-hero h1 {
  max-width: 680px;
  margin-bottom: 24px !important;
  color: var(--ms-navy);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.28;
  letter-spacing: 0.01em;
}

.ms-about-hero-copy {
  max-width: 670px;
}

.ms-about-hero-copy p {
  margin-bottom: 10px !important;
  color: var(--about-soft-text);
  font-size: 16px;
  line-height: 1.88;
}

.ms-about-hero-copy p:last-child {
  margin-bottom: 0 !important;
}

/* ---------- Hero visual: abstract information beacon ---------- */

.ms-about-beacon {
  position: relative;
  width: 100%;
  min-height: 350px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(122,155,131,0.10), transparent 34%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F9F8 100%);
  border: 1px solid var(--about-rule);
}

.ms-about-beacon::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -43%);
  border: 1px solid rgba(122,155,131,0.50);
  border-radius: 50% 50% 46% 46%;
}

.ms-about-beacon::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 170px;
  left: 50%;
  top: 84px;
  transform: translateX(-50%);
  background: var(--ms-navy);
}

.ms-about-beacon-light {
  position: absolute;
  left: calc(50% + 4px);
  top: 77px;
  width: 210px;
  height: 70px;
  background: linear-gradient(90deg, rgba(230,162,60,0.28), rgba(230,162,60,0));
  clip-path: polygon(0 42%, 100% 0, 100% 100%);
}

.ms-about-beacon-base {
  position: absolute;
  left: 50%;
  top: 232px;
  width: 92px;
  height: 26px;
  transform: translateX(-50%);
  border-bottom: 3px solid var(--ms-sage);
  border-radius: 0 0 50% 50%;
}

.ms-about-beacon-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ms-bluegray);
  opacity: 0.74;
}

.ms-about-beacon-dot.is-gold {
  background: var(--ms-gold);
}

.ms-about-beacon-dot:nth-child(1) { left: 16%; top: 28%; }
.ms-about-beacon-dot:nth-child(2) { left: 22%; top: 63%; }
.ms-about-beacon-dot:nth-child(3) { left: 32%; top: 18%; }
.ms-about-beacon-dot:nth-child(4) { left: 35%; top: 76%; }
.ms-about-beacon-dot:nth-child(5) { right: 34%; top: 19%; }
.ms-about-beacon-dot:nth-child(6) { right: 27%; top: 69%; }
.ms-about-beacon-dot:nth-child(7) { right: 18%; top: 30%; }
.ms-about-beacon-dot:nth-child(8) { right: 14%; top: 62%; }


/* ---------- Shared section ---------- */

.ms-about-section {
  padding: 56px 0 62px;
  border-bottom: 1px solid var(--about-rule);
}

.ms-about-section-head {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
  margin-bottom: 30px;
}

.ms-about-section-index {
  padding-top: 5px;
  color: var(--ms-warmgray);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ms-about-section-title h2 {
  max-width: 860px;
  margin-bottom: 10px !important;
  padding: 0 !important;
  color: var(--ms-navy) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: clamp(27px, 3vw, 36px) !important;
  line-height: 1.38 !important;
}

.ms-about-section-title p {
  max-width: 780px;
  margin-bottom: 0 !important;
  color: var(--about-soft-text);
  font-size: 15px;
  line-height: 1.8;
}


/* ---------- 01 Why ---------- */

.ms-about-problem {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid var(--about-rule);
  border-left: 1px solid var(--about-rule);
}

.ms-about-problem-step {
  position: relative;
  min-height: 150px;
  padding: 28px 22px 24px;
  border-right: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
}

.ms-about-problem-step.is-minashirube {
  background: var(--about-pale);
}

.ms-about-problem-step.is-result {
  background: var(--about-warm);
}

.ms-about-problem-no {
  margin-bottom: 18px !important;
  color: var(--ms-warmgray);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ms-about-problem-step h3 {
  margin-bottom: 8px !important;
  padding: 0 !important;
  color: var(--ms-navy) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
}

.ms-about-problem-step h3::before {
  content: none !important;
}

.ms-about-problem-step p:last-child {
  margin-bottom: 0 !important;
  color: var(--ms-text);
  font-size: 13.5px;
  line-height: 1.68;
}


/* ---------- 02 What we do ---------- */

.ms-about-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--about-rule);
  border-left: 1px solid var(--about-rule);
}

.ms-about-action {
  position: relative;
  min-height: 220px;
  padding: 30px 26px 28px;
  border-right: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
}

.ms-about-action::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 26px;
  width: 36px;
  height: 4px;
}

.ms-about-action:nth-child(1)::before { background: var(--ms-navy); }
.ms-about-action:nth-child(2)::before { background: var(--ms-bluegray); }
.ms-about-action:nth-child(3)::before { background: var(--ms-sage); }
.ms-about-action:nth-child(4)::before { background: var(--ms-gold); }

.ms-about-action-no {
  margin-bottom: 22px !important;
  color: var(--ms-warmgray);
  font-size: 11px;
  font-weight: 700;
}

.ms-about-action h3 {
  margin-bottom: 11px !important;
  padding: 0 !important;
  color: var(--ms-navy) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
}

.ms-about-action h3::before {
  content: none !important;
}

.ms-about-action p:last-child {
  margin-bottom: 0 !important;
  font-size: 14px;
  line-height: 1.72;
}


/* ---------- 03 Name ---------- */

.ms-about-name-stage {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 8px;
}

.ms-about-name-card {
  min-height: 230px;
  padding: 38px 36px 34px;
  border: 1px solid var(--about-rule);
  background: #FFFFFF;
}

.ms-about-name-card.is-primary {
  border-top: 4px solid var(--ms-navy);
}

.ms-about-name-card.is-secondary {
  border-top: 4px solid var(--ms-sage);
}

.ms-about-name-label {
  margin-bottom: 18px !important;
  color: var(--ms-warmgray);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ms-about-name-card h3 {
  margin-bottom: 18px !important;
  padding: 0 !important;
  color: var(--ms-navy) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.42 !important;
}

.ms-about-name-card h3::before {
  content: none !important;
}

.ms-about-name-card p:last-child {
  margin-bottom: 0 !important;
  color: var(--about-soft-text);
  font-size: 14px;
  line-height: 1.75;
}

.ms-about-name-plus {
  color: var(--ms-gold);
  text-align: center;
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
}


/* ---------- 04 Symbol ---------- */

.ms-about-symbol {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.ms-about-symbol-copy p {
  margin-bottom: 12px !important;
  color: var(--about-soft-text);
  font-size: 15px;
  line-height: 1.82;
}

.ms-about-symbol-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--about-rule);
  border-left: 1px solid var(--about-rule);
}

.ms-about-symbol-point {
  min-height: 130px;
  padding: 24px 24px 22px;
  border-right: 1px solid var(--about-rule);
  border-bottom: 1px solid var(--about-rule);
}

.ms-about-symbol-point strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ms-navy);
  font-size: 15px;
}

.ms-about-symbol-point span {
  color: var(--about-soft-text);
  font-size: 13.5px;
  line-height: 1.65;
}


/* ---------- Closing ---------- */

.ms-about-closing {
  padding: 84px 0 90px;
  text-align: center;
}

.ms-about-closing-kicker {
  margin-bottom: 15px !important;
  color: var(--ms-bluegray);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ms-about-closing-copy {
  max-width: 860px;
  margin: 0 auto 16px !important;
  color: var(--ms-navy);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.42;
  font-weight: 700;
}

.ms-about-closing-sub {
  max-width: 720px;
  margin: 0 auto !important;
  color: var(--about-soft-text);
  font-size: 15px;
  line-height: 1.8;
}


/* ---------- Responsive ---------- */

@media screen and (max-width: 1023px) {
  .ms-about-hero {
    grid-template-columns: 1fr;
    row-gap: 30px;
    padding: 46px 0 48px;
  }

  .ms-about-hero-main,
  .ms-about-hero-copy {
    max-width: none;
  }

  .ms-about-beacon {
    min-height: 280px;
  }

  .ms-about-section-head {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .ms-about-problem {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-about-problem-step:last-child {
    grid-column: 1 / -1;
  }

  .ms-about-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-about-name-stage {
    grid-template-columns: 1fr;
  }

  .ms-about-name-plus {
    transform: rotate(90deg);
  }

  .ms-about-symbol {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 680px) {
  .ms-about-hero h1 {
    font-size: 32px;
  }

  .ms-about-section {
    padding: 38px 0 42px;
  }

  .ms-about-problem,
  .ms-about-actions,
  .ms-about-symbol-points {
    grid-template-columns: 1fr;
  }

  .ms-about-problem-step:last-child {
    grid-column: auto;
  }

  .ms-about-action,
  .ms-about-problem-step,
  .ms-about-symbol-point {
    min-height: 0;
  }

  .ms-about-closing {
    padding: 54px 0 60px;
  }
}

/* ==================================================
   About Responsive Final Tuning
   ================================================== */

@media screen and (max-width: 680px) {
.ms-about-hero {
    row-gap: 22px !important;
    padding: 36px 0 40px !important;
  }

  .ms-about-hero h1 {
    margin-bottom: 20px !important;
    font-size: 29px !important;
    line-height: 1.34 !important;
  }

  .ms-about-hero-copy p {
    font-size: 15px !important;
    line-height: 1.78 !important;
  }

  .ms-about-beacon {
    min-height: 235px !important;
  }

  .ms-about-section {
    padding: 32px 0 36px !important;
  }

  .ms-about-section-index {
    font-size: 10.5px !important;
  }

  .ms-about-section-title h2 {
    font-size: 24px !important;
  }

  .ms-about-section-title p {
    font-size: 14px !important;
    line-height: 1.74 !important;
  }

  .ms-about-problem-step,
  .ms-about-action {
    padding: 22px 18px 21px !important;
  }

  .ms-about-name-card {
    min-height: 0 !important;
    padding: 28px 22px 26px !important;
  }

  .ms-about-name-card h3 {
    font-size: 24px !important;
  }

  .ms-about-symbol-point {
    padding: 20px 18px 19px !important;
  }

  .ms-about-closing {
    padding: 46px 0 52px !important;
  }

  .ms-about-closing-copy {
    font-size: 28px !important;
  }
}

/* ==================================================
   85. About PC Final Line-Break Tuning
   PCのみ。Heroとセクション見出しの孤立改行を解消する。
   Tablet / Mobile は変更しない。
   ================================================== */

@media screen and (min-width: 1024px) {

  /* Hero:
     左のメッセージ領域を広げ、右ビジュアルを少しだけ圧縮 */
  .ms-about-hero {
    grid-template-columns: minmax(0, 1fr) 380px !important;
    column-gap: 56px !important;
  }

  .ms-about-hero h1 {
    max-width: 740px !important;
    font-size: clamp(42px, 3.2vw, 50px) !important;
    line-height: 1.30 !important;
  }

  .ms-about-hero-copy {
    max-width: 720px !important;
  }

  /* Section heading:
     左インデックスを少し詰め、本文側へ幅を戻す */
  .ms-about-section-head {
    grid-template-columns: 124px minmax(0, 1fr) !important;
    column-gap: 24px !important;
  }

  .ms-about-section-title h2 {
    max-width: 920px !important;
    font-size: 34px !important;
    line-height: 1.40 !important;
  }

  .ms-about-section-title p {
    max-width: 840px !important;
  }
}


