/* トップページ（/）。スマホ基準。900px 以上でヒーローをPC組みに、1100px 以上で各セクションを多段組にする。 */

/* ============================================================ 01 ファーストビュー */
.hero {
  padding-top: var(--header-h);
}

.hero__inner {
  position: relative;
  padding-block: 56px 64px;
}

.hero__kicker {
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.24em;
  color: var(--copper-light);
}

.hero__en {
  margin-top: 16px;
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream-text);
}

.hero__en-line { display: block; }
.hero__en-line--em { font-style: italic; }

.hero__h1 { margin-top: 20px; }

.hero__rule {
  width: 48px;
  height: 1px;
  margin-top: 24px;
  background: var(--copper-light);
}

.hero__lead {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--cream-sub);
}

.hero__buttons { margin-top: 32px; }

@media (min-width: 900px) {
  .hero__inner { padding-block: 96px 132px; }
  .hero__kicker { font-size: 13px; line-height: 18px; }

  /* 1440 を基準に、狭いときは vw で比例縮小（縦組み見出しと重ならないように） */
  .hero__en {
    margin-top: 28px;
    font-size: min(92px, 6.3889vw);
    line-height: min(99px, 6.875vw);
  }

  .hero__h1 {
    position: absolute;
    top: 65px;
    right: 18px;
    margin: 0;
    font-size: min(58px, 4.0278vw);
    line-height: min(104px, 7.2222vw);
    letter-spacing: min(2.4px, 0.1667vw);
  }

  .hero__rule { width: 98px; margin-top: 36px; }
  .hero__lead { max-width: 520px; margin-top: 28px; font-size: 16px; line-height: 2; letter-spacing: 0.02em; }

  .hero__buttons {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin-top: 44px;
  }
}

html[lang="en"] .hero__lead { letter-spacing: 0; }

/* ============================================================ 02 3つの違い */
.diffs { padding-block: 24px; background: var(--paper); }

.diff {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.diff:last-child { border-bottom: 0; }

.diff__no {
  flex: none;
  width: 36px;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 29px;
  color: var(--copper);
}

.diff__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.diff__title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 26px;
  letter-spacing: 0.04em;
  color: var(--plum);
}

.diff__text {
  font-size: 13px;
  line-height: 23px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

@media (min-width: 1100px) {
  .diffs { padding-block: 40px; border-bottom: 1px solid var(--rule); }

  .diffs__list {
    display: grid;
    grid-template-columns: 378fr 411fr 411fr;
  }

  .diff {
    gap: 20px;
    padding: 4px 32px 4px 0;
    border-bottom: 0;
  }

  .diff + .diff { padding-left: 32px; border-left: 1px solid var(--lilac); }

  .diff__no { width: auto; font-size: 30px; line-height: 33px; }
  .diff__body { gap: 6px; }
  .diff__title { font-size: 20px; line-height: 30px; }
  .diff__text { font-size: 14px; line-height: 25px; }
}

/* ============================================================ 03 抽出について */
.extraction__title { margin-top: 0; }

.extraction__head .sec-head__sub { margin-top: 12px; }

.features { margin-top: 32px; }

.feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-top: 1px solid var(--brown-line);
}

.feature__no {
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 26px;
  color: var(--copper);
}

.feature__body { display: flex; flex-direction: column; gap: 6px; }

.feature__title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 29px;
  letter-spacing: 0.04em;
  color: var(--plum);
}

.feature__text {
  font-size: 14px;
  line-height: 27px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.feature--note {
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--brown-line);
  background: #fff;
}

.feature--note .feature__no { display: none; }
.feature--note .feature__title { font-size: 17px; line-height: 26px; }
.feature--note .feature__body { gap: 8px; }

@media (min-width: 1100px) {
  .extraction__inner {
    display: flex;
    align-items: flex-start;
    gap: 88px;
  }

  .extraction__head {
    position: sticky;
    top: 48px;
    flex: none;
    width: 440px;
  }

  .extraction__head .sec-head__label { font-size: 18px; margin-bottom: 10px; }
  .extraction__title { font-size: 32px; line-height: 51px; }
  .extraction__head .sec-head__sub { margin-top: 16px; }

  .features {
    flex: 1 1 0;
    min-width: 0;
    margin-top: 0;
    border-top: 1px solid var(--brown-line);
  }

  .feature,
  .feature--note {
    flex-direction: row;
    gap: 28px;
    padding: 30px 0;
    border: 0;
    border-bottom: 1px solid var(--brown-line);
    background: none;
  }

  .feature__no,
  .feature--note .feature__no {
    display: block;
    flex: none;
    width: 56px;
    font-size: 30px;
    line-height: 1.2;
  }

  .feature__body,
  .feature--note .feature__body { gap: 10px; min-width: 0; }
  .feature__title,
  .feature--note .feature__title { font-size: 22px; line-height: 33px; }
  .feature__text { font-size: 15px; line-height: 29px; }
}

/* ============================================================ 03-2 ハンドドリップソムリエ */
.sommelier { padding-top: 0; }

.sommelier__rule { height: 1px; background: var(--brown-line); }

.sommelier__inner { margin-top: 48px; }

.sommelier__label {
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0.02em;
  color: var(--copper);
}

.sommelier__quote {
  margin-top: 12px;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 41px;
  letter-spacing: 0.06em;
  color: var(--plum);
}

.sommelier__text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.sommelier__sign {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
}

.sommelier__name {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.08em;
  color: var(--plum);
}

.sommelier__role {
  font-size: 12px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0.04em;
  color: var(--plum-soft);
}

@media (min-width: 1100px) {
  .sommelier__inner {
    display: flex;
    gap: 80px;
    margin-top: 96px;
  }

  .sommelier__lead { flex: none; width: 520px; }
  .sommelier__body { flex: 1 1 0; min-width: 0; }

  .sommelier__lead { display: flex; flex-direction: column; gap: 20px; }
  .sommelier__label { font-size: 18px; line-height: 25px; }
  .sommelier__quote { margin-top: 0; font-size: 34px; line-height: 1.7; }

  .sommelier__text { margin-top: 0; font-size: 16px; }
  .sommelier__sign { gap: 16px; margin-top: 40px; }
  .sommelier__name { font-size: 22px; line-height: 33px; }
  .sommelier__role { font-size: 13px; line-height: 21px; letter-spacing: 0.06em; }
}

/* ============================================================ 04 商品 */
.products__list {
  display: grid;
  gap: 36px;
  margin-top: 36px;
}

.product {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.product__name {
  margin-top: 20px;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--plum);
}

.product__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 27px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.product__spec { margin-top: 12px; }

.product__link {
  display: flex;
  width: fit-content;
  margin-top: 16px;
}

@media (min-width: 1100px) {
  .products__list {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 64px;
  }

  .product { max-width: none; margin-inline: 0; }
  .product__name { display: none; }
  .product__text { margin-top: 28px; font-size: 15px; line-height: 29px; }
  .product__spec { margin-top: 24px; }
  .product__link { margin-top: 24px; }
}

/* ============================================================ 05 導入シーン */
.scenes__list { margin-top: 24px; }

.scene {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.scene__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.scene__title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 26px;
  letter-spacing: 0.04em;
  color: var(--plum);
}

.scene__text {
  font-size: 13px;
  line-height: 23px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.scenes__action { margin-top: 28px; }

@media (min-width: 1100px) {
  .scenes__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
  }

  .scene {
    display: block;
    padding: 36px 28px 40px;
    border: 1px solid var(--rule);
    background: #fff;
  }

  .scene__body { gap: 8px; margin-top: 28px; }

  .scene__title {
    font-family: var(--ff-sans);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.04em;
  }

  .scene__text { font-size: 14px; line-height: 1.85; }

  .scenes__action { margin-top: 56px; }
}

/* ============================================================ 06 体験 */
.experience__list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.exp-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 24px 28px;
  border: 1px solid var(--plum-line);
  background: #fff;
}

.exp-card__time {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 400;
  color: var(--copper);
}

.exp-card__num { font-size: 44px; line-height: 46px; }
.exp-card__unit { font-size: 16px; line-height: 21px; letter-spacing: 0.02em; }

.exp-card__title {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--plum);
}

.exp-card__text {
  font-size: 13px;
  line-height: 23px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.experience__action { margin-top: 28px; }

.experience__summary {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.04em;
  color: var(--plum);
}

@media (min-width: 1100px) {
  .experience__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
  }

  .exp-card { gap: 0; padding: 36px 32px 40px; }
  .exp-card__time { gap: 8px; }
  .exp-card__num { font-size: 64px; line-height: 67px; }
  .exp-card__unit { font-size: 20px; line-height: 26px; }
  .exp-card__title { margin-top: 20px; font-size: 22px; }
  .exp-card__text { margin-top: 10px; font-size: 14px; line-height: 27px; }

  .experience__action {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
  }

  .experience__summary { flex: none; width: 304px; margin-bottom: 0; font-size: 15px; line-height: 24px; letter-spacing: 0.06em; }
}

/* ============================================================ 07 会社情報 */
.company__head { margin-bottom: 20px; }

@media (min-width: 1100px) {
  .company__inner {
    display: flex;
    align-items: flex-start;
    gap: 88px;
  }

  .company__head { flex: none; width: 360px; margin-bottom: 0; }
  .company__inner .spec { flex: 1 1 0; min-width: 0; }
}

.spec--company { border-top-color: var(--rule); }

.spec--company .spec__row {
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
}

.spec--company .spec__row dt { width: auto; font-size: 12px; line-height: 19px; }
.spec--company .spec__row dd { font-size: 14px; line-height: 25px; letter-spacing: 0.02em; }

@media (min-width: 1100px) {
  .spec--company .spec__row { flex-direction: row; gap: 32px; padding: 20px 0; }
  .spec--company .spec__row dt { width: 150px; font-size: 14px; line-height: 27px; }
  .spec--company .spec__row dd { font-size: 15px; line-height: 28px; }
}

/* ============================================================ 英語版（/en/）の差分。日本語トップのルールは触らず、ここで上書きする */
html[lang="en"] .diff__title,
html[lang="en"] .feature__title,
html[lang="en"] .sommelier__quote,
html[lang="en"] .sommelier__name,
html[lang="en"] .exp-card__title,
html[lang="en"] .sec-head__title {
  font-family: var(--ff-en);
  font-weight: 400;
  letter-spacing: 0;
}

html[lang="en"] .scene__title { font-family: var(--ff-en); font-weight: 400; letter-spacing: 0; }

html[lang="en"] .diff__title { font-size: 17px; line-height: 23.8px; }
html[lang="en"] .feature__title { font-size: 19px; line-height: 26.6px; }
html[lang="en"] .feature--note .feature__title { font-size: 17px; line-height: 23.8px; }
html[lang="en"] .sommelier__quote { font-size: 24px; line-height: 33.6px; }
html[lang="en"] .sommelier__name { font-size: 18px; line-height: 25.2px; }
html[lang="en"] .scene__title { font-size: 17px; line-height: 23.8px; }
html[lang="en"] .exp-card__title { font-size: 18px; line-height: 25.2px; }
html[lang="en"] .sec-head__title { font-size: 24px; line-height: 33.6px; }

/* PC では英語版のヒーロー右に日本語の縦組み見出しがある（Figma どおり）。スマホには無い */
html[lang="en"] .hero__h1 { display: none; }

@media (min-width: 900px) {
  html[lang="en"] .hero__h1 { display: block; }
}

@media (min-width: 1100px) {
  html[lang="en"] .diffs { padding-bottom: 12px; }
  html[lang="en"] .diff__title { font-size: 20px; line-height: 29px; }
  html[lang="en"] .feature__title,
  html[lang="en"] .feature--note .feature__title { font-size: 22px; line-height: 31.9px; }
  html[lang="en"] .sommelier__quote { font-size: 36px; line-height: 46.8px; }
  html[lang="en"] .sommelier__name { font-size: 22px; line-height: 33px; }
  html[lang="en"] .scene__title { font-family: var(--ff-sans); font-weight: 500; font-size: 16px; line-height: 25.6px; }
  html[lang="en"] .exp-card__title { font-size: 22px; line-height: 31.9px; }
  html[lang="en"] .sec-head__title { font-size: 34px; line-height: 44.2px; }
  html[lang="en"] .extraction__title { font-size: 32px; line-height: 41.6px; }
}

html[lang="en"] .diff__text,
html[lang="en"] .feature__text,
html[lang="en"] .sec-head__sub,
html[lang="en"] .sommelier__text,
html[lang="en"] .product__text,
html[lang="en"] .scene__text,
html[lang="en"] .exp-card__text,
html[lang="en"] .experience__summary,
html[lang="en"] .spec--company .spec__row dd,
html[lang="en"] .plate__spec { letter-spacing: 0; }

html[lang="en"] .sommelier__role { letter-spacing: 0.02em; }

@media (min-width: 1100px) {
  html[lang="en"] .sommelier__text { line-height: 28.8px; }
}

html[lang="en"] .link-arrow { letter-spacing: 0; }
html[lang="en"] .sommelier__role { position: relative; top: 4px; }

@media (min-width: 1100px) {
  html[lang="en"] .scene { min-height: 248px; padding-bottom: 15px; }
  html[lang="en"] .experience__summary { width: 394px; }
}

html[lang="en"] .summary-pc { display: none; }

@media (min-width: 900px) {
  html[lang="en"] .summary-sp { display: none; }
  html[lang="en"] .summary-pc { display: block; }
}

@media (max-width: 1099px) {
  html[lang="en"] .sommelier__role { letter-spacing: 0; }
}

@media (max-width: 1099px) {
  html[lang="en"] .diff__text,
  html[lang="en"] .scene__text,
  html[lang="en"] .exp-card__text { line-height: 23px; }
}

@media (max-width: 899px) {
  html[lang="en"] .hero__rule { margin-top: 20px; }
  html[lang="en"] .hero__inner { padding-bottom: 64.9px; }
}

/* Figma の文字ボックスは行高を整数に丸めている。スマホは丸めた値に合わせる */
@media (max-width: 1099px) {
  html[lang="en"] .sec-head__title,
  html[lang="en"] .sommelier__quote { line-height: 34px; }
}

@media (max-width: 1099px) {
  html[lang="en"] .diff__title,
  html[lang="en"] .scene__title { line-height: 24px; }
  html[lang="en"] .exp-card__title { line-height: 25px; }
  html[lang="en"] .feature__no { line-height: 26.4px; }
}
