/* =========================================================
  Story (開発秘話)
  - brand-makeshop.html の構造に合わせ、ページ固有部分のみをスコープ
  - Figma node-id=2317:846 を参照し、flex/gridで再現
========================================================= */

.brand-story {
  color: #101828;
}

.brand-story .contents-wrap {
  box-sizing: border-box;
}

/* full-bleed background helper（既存の .section--bg 方式と同等） */
.brand-story__bg {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.brand-story__bg--history {
  background: #efe1da;
}

.brand-story__bg--doctor {
  background: #f8f7f6;
}

.brand-story__bg--triangle {
  background: #faf5f0;
}

.brand-story__bg--proof {
  background: #f8f7f6;
}

.brand-story__kicker {
  margin: 0;
  opacity: 0.5;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 3.3px;
  text-align: center;
}

.brand-story__title {
  margin: 24px 0 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 60px;
  letter-spacing: -1px;
  text-align: center;
}

.brand-story__title--md {
  font-size: 35.2px;
  line-height: 59.84px;
  letter-spacing: -0.88px;
}

.brand-story__title--lg {
  font-size: 44.8px;
  line-height: 67.2px;
  letter-spacing: -1.12px;
}

.brand-story__intro {
  margin: 24px auto 0;
  max-width: 880px;
  opacity: 0.8;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16.8px;
  line-height: 36.96px;
  text-align: center;
}

.brand-story__intro--sm {
  max-width: 1100px;
  opacity: 0.6;
  font-size: 15.2px;
  line-height: 30.4px;
}

/* =========================================================
  hero
========================================================= */
.brand-story-hero {
  position: relative;
  min-height: 425px;
  display: flex;
  align-items: center;
}

.brand-story-hero__bg {
  position: absolute;
  inset: 0;
}

.brand-story-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-story-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.brand-story-hero__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

.brand-story-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0;
  text-align: center;
  color: #fafafa;
}

.brand-story-hero__eyebrow {
  margin: 0 0 16px;
  opacity: 0.6;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 16.5px;
  letter-spacing: 3.3px;
}

.brand-story-hero__title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 96px;
  letter-spacing: -1.6px;
}

.brand-story-hero__lead {
  margin: 16px 0 0;
  opacity: 0.7;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.5px;
}

/* =========================================================
  history
========================================================= */
.brand-story-history .contents-wrap {
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand-story-history__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 238px;
  align-items: start;
  gap: 52px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.brand-story-history__body {
  opacity: 0.75;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 35.2px;
}

.brand-story-history__body p {
  margin: 0 0 32px;
}

.brand-story-history__body p:last-child {
  margin-bottom: 0;
}

.brand-story-history__question {
  margin: 40px 0;
  opacity: 0.6;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 45.76px;
  text-align: center;
}

.brand-story-history__closing {
  margin-top: 32px;
}

.brand-story-history__image {
  margin: 0;
  width: 238px;
}

.brand-story-history__image img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-story-history__finale {
  margin: 40px 0 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 35.2px;
  letter-spacing: 0.8px;
  text-align: center;
}

/* =========================================================
  doctor
========================================================= */
.brand-story-doctor__image {
  margin: 64px auto 0;
  max-width: 900px;
  aspect-ratio: 900 / 386;
  overflow: hidden;
  background: #f3f4f6;
}

.brand-story-doctor__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-story-doctor__bullets {
  margin: 48px auto 0;
  max-width: 700px;
  opacity: 0.75;
}

.brand-story-doctor__bullets p {
  margin: 0 0 24px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 35.2px;
}

.brand-story-doctor__bullets p:last-child {
  margin-bottom: 0;
}

.brand-story-doctor__divider {
  margin: 56px auto 0;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0.3;
}

.brand-story-doctor__divider span {
  display: block;
  width: 48px;
  height: 1px;
  background: #101828;
}

.brand-story-doctor__divider small {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  color: #101828;
}

/* =========================================================
  triangle
========================================================= */
.brand-story-triangle__figure {
  margin: 64px auto 0;
  max-width: 500px;
}

.brand-story-triangle__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-story-triangle__desc {
  margin: 48px auto 0;
  max-width: 600px;
  opacity: 0.7;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 15.2px;
  line-height: 30.4px;
  text-align: center;
}

/* =========================================================
  routine
========================================================= */
.brand-story-routine__cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brand-story-routine__image {
  margin: 40px auto 0;
  width: 100%;
}

.brand-story-routine__image img {
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.brand-story-routine-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  padding: 32px;
  position: relative;
}

.brand-story-routine-card__no {
  margin: 0;
  opacity: 0.4;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 2.4px;
}

.brand-story-routine-card__en {
  margin: 16px 0 0;
  opacity: 0.5;
  font-family: "Cormorant Garamond", serif;
  font-size: 13.6px;
  line-height: 20.4px;
  letter-spacing: 3.4px;
}

.brand-story-routine-card__title {
  margin: 18px 0 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0.6px;
}

.brand-story-routine-card__desc {
  margin: 12px 0 0;
  opacity: 0.7;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 14.4px;
  line-height: 27.36px;
}

.brand-story-routine-card::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(201, 167, 112, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

/* =========================================================
  proof
========================================================= */
.brand-story-proof__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 468px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.brand-story-proof__image {
  margin: 0;
  width: 468px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.brand-story-proof__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-story-proof__stats {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 24px;
}

.brand-story-proof-stat {
  margin: 0;
  padding-left: 25px;
  border-left: 1px solid #c9a770;
}

.brand-story-proof-stat__label {
  margin: 0;
  opacity: 0.5;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12.8px;
  line-height: 19.2px;
  letter-spacing: 2.56px;
}

.brand-story-proof-stat__value {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 48px;
  line-height: 48px;
}

.brand-story-proof-stat__desc {
  margin: 8px 0 0;
  opacity: 0.7;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 15.2px;
  line-height: 22.8px;
}

.brand-story-proof__quote {
  margin: 56px auto 0;
  max-width: 700px;
  opacity: 0.7;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: 16.8px;
  line-height: 36.96px;
  text-align: center;
}

.story-topic-cta .contents-wrap {
    text-align: center;
}

/* =========================================================
  responsive
========================================================= */
@media screen and (max-width: 1184px) {
  .brand-story-history__grid {
    grid-template-columns: 1fr 220px;
  }

  .brand-story-proof__grid {
    grid-template-columns: 420px 1fr;
  }

  .brand-story-proof__image {
    width: 420px;
  }
}

@media screen and (max-width: 768px) {
  .brand-story__title {
    font-size: 32px;
    line-height: 48px;
  }

  .brand-story__title--md {
    font-size: 28px;
    line-height: 44px;
  }

  .brand-story__title--lg {
    font-size: 34px;
    line-height: 52px;
  }

  .brand-story__intro {
    font-size: 15px;
    line-height: 30px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-story-hero {
    min-height: 360px;
  }

  .brand-story-hero__title {
    font-size: 44px;
    line-height: 66px;
  }

  .brand-story-history__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .brand-story-history__image {
    width: min(260px, 70%);
    margin-left: auto;
    margin-right: auto;
  }

  .brand-story-doctor__image {
    margin-top: 48px;
  }

  .brand-story-routine__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brand-story-proof__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .brand-story-proof__image {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .brand-story-proof__stats {
    padding-top: 0;
  }
}

@media screen and (max-width: 480px) {
  .brand-story__kicker {
    letter-spacing: 2.8px;
  }

  .brand-story__title {
    font-size: 26px;
    line-height: 40px;
  }

  .brand-story__intro {
    font-size: 14px;
    line-height: 28px;
  }

  .brand-story-hero__inner {
    padding: 36px 0;
  }

  .brand-story-hero__title {
    font-size: 36px;
    line-height: 54px;
  }

  .brand-story-routine-card {
    padding: 24px 20px;
  }

  .brand-story-routine-card::after {
    left: 20px;
    right: 20px;
  }
}

