/* ==========================================================
   HBM Assistant LP — 共通（色・文字・ヘッダー・フッター・ボタン）
   デザイン元: Figma「椎山_LP ワイヤーフレーム / PC 1200」
   ========================================================== */
:root {
  --green: #08be60;        /* text/main */
  --green-bright: #03d367; /* ロゴの緑 */
  --white: #fff;           /* text/main-2 */
  --txt: #292929;          /* 本文 */
  --txt-sub: #333;
  --txt-mute: #444;
  --line: #e5e6e9;
  --dark: #0f1111;         /* 黒背景セクション */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;
  --font-en-head: "Montserrat", "Inter", "Noto Sans JP", sans-serif;
  --w-page: 1200px;        /* デザインの横幅 */
  --w-content: 1040px;     /* 中身の横幅（左右80pxの余白） */
  --header-h: 65px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--txt);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* 中身の横幅をそろえる入れ物 */
.inner { width: 100%; max-width: var(--w-page); margin: 0 auto; position: relative; }
.container { width: 100%; max-width: calc(var(--w-content) + 40px); margin: 0 auto; padding: 0 20px; position: relative; }

.pc-only { display: inline; }
.sp-only { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 57px; padding: 0 28px; border-radius: 200px;
  font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap;
  border: 1px solid var(--green);
  transition: opacity .2s, transform .2s, background-color .2s, color .2s;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn--primary { background: var(--green); color: var(--white); min-width: 246px; }
.btn--outline { background: var(--white); color: var(--green); min-width: 197px; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(24, 35, 36, .05);
  transition: background-color .25s, backdrop-filter .25s;
}
.header.is-scrolled { background: rgba(15, 17, 17, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header__inner {
  height: 100%; max-width: var(--w-page); margin: 0 auto;
  padding: 0 20px 0 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 3px; color: var(--white); }
.logo__mark { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex: none; }
.logo__mark img { width: 42.6px; height: 41.7px; transform: rotate(15.27deg); }
.logo__text { font-family: var(--font-en); font-weight: 700; font-size: 30px; line-height: 1.2; letter-spacing: -0.3px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 50px; }
.nav__list { display: flex; align-items: center; gap: 50px; }
.nav__link { font-weight: 500; font-size: 14.9px; line-height: 1.3; color: var(--white); white-space: nowrap; transition: color .2s; }
.nav__link:hover { color: var(--green); }
.nav__cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 173px; height: 32px; border-radius: 10px;
  background: rgba(255, 255, 255, .3); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  font-weight: 500; font-size: 13.9px; line-height: 1; color: var(--white);
  transition: background-color .2s;
}
.nav__cta:hover { background: var(--green); }
.nav-toggle { display: none; }

/* ---------- フッター ---------- */
.footer { background: var(--white); }
.footer__inner {
  max-width: var(--w-page); margin: 0 auto; min-height: 80px;
  padding: 0 30px 0 8px; position: relative;
  display: flex; align-items: center; justify-content: space-between;
}
.footer .logo { color: var(--green); }
.footer__nav { display: flex; align-items: center; gap: 50px; }
.footer__nav a { font-weight: 500; font-size: 14.9px; color: var(--txt); white-space: nowrap; transition: color .2s; }
.footer__nav a:hover { color: var(--green); }
.footer__copy {
  position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; pointer-events: none;
  font-weight: 500; font-size: 11px; line-height: 17.6px; letter-spacing: .44px; color: var(--green);
}
.footer--green { background: var(--green); }
.footer--green .logo, .footer--green .footer__nav a, .footer--green .footer__copy { color: var(--white); }
.footer--green .footer__nav a:hover { opacity: .75; }

/* ---------- スマホ・タブレット（共通） ---------- */
@media (max-width: 900px) {
  .nav { gap: 24px; }
  .nav__list { gap: 24px; }
}
@media (max-width: 767px) {
  :root { --header-h: 56px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .header { background: rgba(15, 17, 17, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .header__inner { padding: 0 12px 0 4px; }
  .logo__mark { width: 40px; height: 40px; }
  .logo__mark img { width: 32px; height: 31.4px; }
  .logo__text { font-size: 22px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 10px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(15, 17, 17, .96);
    padding: 8px 20px 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 16px 4px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav__cta { width: 100%; height: 48px; margin-top: 20px; background: var(--green); font-size: 15px; font-weight: 700; border-radius: 200px; }

  .btn { height: 52px; font-size: 15px; }
  .footer__inner { flex-direction: column; align-items: center; gap: 12px; padding: 24px 20px 40px; }
  .footer__nav { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .footer__copy { bottom: 12px; font-size: 10px; letter-spacing: 0; }
}

/* ---------- hero（最初の画面） ---------- */
.hero {
  background: var(--dark) url("../img/hero-bg.jpg") center / cover no-repeat;
  color: var(--white); overflow: hidden;
}
.hero__inner { height: 643px; }
.hero__star {
  position: absolute; right: -47.2px; top: 23.8px;
  width: 544.7px; max-width: none; height: 533.8px;
  transform: rotate(15.27deg); pointer-events: none;
}
.hero__copy { position: absolute; left: 93px; top: 244px; }
.hero__lead { font-size: 18px; line-height: 1.45; white-space: nowrap; }
.hero__lead strong { font-weight: 700; font-size: 22px; color: var(--green); }
.hero__lead em { font-style: normal; font-weight: 500; font-size: 20px; color: var(--green); }
.hero__title { margin-top: 11px; font-weight: 700; font-size: 36px; line-height: 1.45; white-space: nowrap; }
.hero__cta { position: absolute; left: 0; right: 0; top: 442px; text-align: center; }
.hero__note { font-weight: 700; font-size: 16px; line-height: 1.45; color: var(--green); }
.hero__btns { margin-top: 8px; display: flex; justify-content: center; gap: 7px; }

@media (max-width: 1100px) {
  .hero__star { right: -150px; opacity: .85; }
}
@media (max-width: 767px) {
  .hero__inner { height: auto; min-height: 560px; padding: calc(var(--header-h) + 150px) 20px 56px; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__star { width: 300px; height: 294px; right: -70px; top: calc(var(--header-h) + 4px); opacity: .9; }
  .hero__copy { position: relative; left: auto; top: auto; }
  .hero__lead { font-size: 14px; white-space: normal; }
  .hero__lead strong { font-size: 17px; }
  .hero__lead em { font-size: 16px; }
  .hero__title { font-size: 26px; white-space: normal; line-height: 1.4; }
  .hero__cta { position: relative; top: auto; margin-top: 32px; }
  .hero__note { font-size: 14px; }
  .hero__btns { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 12px; }
}

/* ---------- aimodel（使えるAIモデル） ---------- */
/* 背景色: Figma の指定は #07080a ＋ざらつき（ノイズ）効果。画面に出る色の平均は #131416 なので、それに合わせている */
.aimodel { --aimodel-bg: #131416; background: var(--aimodel-bg); color: var(--white); padding: 23px 0 57px; }
.aimodel__panel {
  max-width: 703px; margin: 0 auto; padding: 32px 55px 68px;
  border-radius: 6px; background: rgba(255, 255, 255, .05);
}
.aimodel__title {
  display: flex; align-items: center; gap: 4px;
  height: 57px; margin-left: 1px; padding: 10px 0 0 7px; border-bottom: 1px solid #3c4047;
  font-weight: 500; font-size: 16px; line-height: 24px; letter-spacing: .6px; white-space: nowrap;
}
.aimodel__mark { flex: none; width: 22px; height: 26px; display: flex; align-items: center; justify-content: center; }
.aimodel__mark img { width: 26px; max-width: none; height: 22px; transform: rotate(90deg); }
.aimodel__list { margin-top: 28px; display: flex; justify-content: space-between; gap: 24px; }
.aimodel__item {
  flex: 0 1 182px; aspect-ratio: 182 / 75; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: 4px; overflow: hidden;
}
.aimodel__item--gemini { flex-basis: 181px; aspect-ratio: 181 / 75; }
/* ロゴは Figma と同じく「枠（約182×98）に収める」置き方。上下は白い箱で少し切れる */
.aimodel__item img { flex: none; width: 100%; max-width: none; height: 130.7%; object-fit: contain; }
.aimodel__item--chatgpt img { width: 97.8%; }

@media (max-width: 767px) {
  .aimodel { padding: 28px 0 40px; }
  .aimodel__panel { padding: 20px 16px 28px; }
  .aimodel__title { height: 49px; padding-top: 4px; font-size: 15px; }
  .aimodel__list { margin-top: 20px; gap: 10px; }
}

/* ---------- challenges（こんなお悩み、ありませんか？） ---------- */
/* 背景色: Figma の指定は白＋ざらつき（ノイズ）効果。画面に出る色の平均は #f5f5f5 なので、それに合わせている */
.challenges { background: #f5f5f5; padding: 48px 0 142px; }
.challenges__inner { display: flex; flex-direction: column; align-items: center; }
.challenges__arrow { width: 60.22px; height: 41px; }
.challenges__title { margin-top: 44px; font-weight: 700; font-size: 36px; line-height: 1.5; text-align: center; }
.challenges__title em, .challenges__card-title em { font-style: normal; color: var(--green); }

.challenges__list { margin-top: 50px; display: flex; justify-content: center; gap: 30px; }
.challenges__card {
  position: relative; flex: none; width: 325px; height: 207px; padding: 46px 0 0 37px;
  background: var(--white); border-radius: 10px;
}
.challenges__card-title { font-weight: 700; font-size: 20px; line-height: 1.5; white-space: nowrap; }
.challenges__card-text { margin-top: 9px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.challenges__person { position: absolute; width: 127px; max-width: none; height: 127px; pointer-events: none; }

/* カードごとの文字と絵の位置（Figma の数値どおり） */
.challenges__card--01 { width: 335px; padding-left: 48px; }
.challenges__card--01 .challenges__person { right: 11px; bottom: -42px; }
.challenges__card--02 .challenges__card-title { margin-left: 16px; }
.challenges__card--02 .challenges__person { right: 10px; bottom: -47px; }
.challenges__card--03 { padding-left: 30px; }
.challenges__card--03 .challenges__card-title { margin-left: -2px; }
.challenges__card--03 .challenges__person { right: 15px; bottom: -41px; height: 126px; }

@media (max-width: 1100px) {
  .challenges__inner { padding: 0 20px; }
  .challenges__list { align-self: stretch; gap: 20px; }
  .challenges__card, .challenges__card--01, .challenges__card--03 {
    flex: 1 1 0; width: auto; min-width: 0; height: auto; min-height: 207px; padding: 36px 24px 92px;
  }
  .challenges__card-title, .challenges__card-text { white-space: normal; }
  .challenges__card-title span { display: inline-block; }
  .challenges__card--02 .challenges__card-title, .challenges__card--03 .challenges__card-title { margin-left: 0; }
  .challenges__br { display: none; }
}
@media (max-width: 767px) {
  .challenges { padding: 40px 0 96px; }
  .challenges__arrow { width: 48px; height: 33px; }
  .challenges__title { margin-top: 24px; font-size: 26px; line-height: 1.4; }
  .challenges__list { margin-top: 32px; flex-direction: column; gap: 64px; }
  .challenges__card, .challenges__card--01, .challenges__card--03 { flex: none; min-height: 0; padding: 30px 24px 80px; }
  .challenges__card-title { font-size: 19px; }
}

/* ---------- why（HBM Assistantが選ばれる3つの理由） ---------- */
/* --u = 円の中の長さの単位（ふだんは 1px。とても細い画面では円ごと縮める） */
.why {
  --u: 1px;
  background: #030303 url("../img/why-bg.jpg") center / cover no-repeat;
  color: var(--white); padding: 85px 0 88px;
}
.why__inner { display: flex; flex-direction: column; align-items: center; }

/* 見出し */
.why__en {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-en-head); font-weight: 700; font-size: 20px; line-height: 1;
  color: var(--green); white-space: nowrap;
}
.why__en-mark { flex: none; width: 22px; height: 26px; display: flex; align-items: center; justify-content: center; }
.why__en-mark img { width: 26px; max-width: none; height: 22px; transform: rotate(90deg); }
.why__title { margin-top: 3px; font-weight: 700; font-size: 36px; line-height: 1.5; text-align: center; }
.why__title-en { font-family: var(--font-en); line-height: 1; }
.why__title-s { font-size: 34px; line-height: 1; }
.why__arrow { margin-top: 23px; width: 60.22px; height: 41px; }

/* 3つの円 */
.why__list { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.why__item {
  position: relative; flex: none;
  width: calc(343 * var(--u)); height: calc(343 * var(--u)); padding-top: calc(132 * var(--u));
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: url("../img/why-circle.svg") center / 100% 100% no-repeat;
}
.why__icon { position: absolute; max-width: none; pointer-events: none; }
.why__item-title {
  display: flex; align-items: center; gap: calc(9 * var(--u)); min-height: calc(50 * var(--u));
  font-weight: 500; white-space: nowrap;
}
.why__num {
  font-family: var(--font-en-head); font-weight: 700;
  font-size: calc(50 * var(--u)); line-height: 1; color: var(--green);
}
.why__name { font-size: calc(28 * var(--u)); line-height: 1.5; }
.why__name--2l { line-height: 1.2; }
.why__name-s { display: block; font-size: calc(24 * var(--u)); }
.why__text { margin-top: calc(21 * var(--u)); font-size: calc(14 * var(--u)); line-height: 1.5; white-space: nowrap; }

/* 円ごとの絵と文字の位置（Figma の数値どおり） */
.why__item--01 .why__icon { left: calc(131 * var(--u)); top: calc(41 * var(--u)); width: calc(92 * var(--u)); height: calc(97 * var(--u)); }
.why__item--02 .why__icon { left: calc(118 * var(--u)); top: calc(37 * var(--u)); width: calc(107 * var(--u)); height: calc(99 * var(--u)); }
.why__item--03 .why__icon { left: calc(117 * var(--u)); top: calc(32 * var(--u)); width: calc(134 * var(--u)); height: calc(118 * var(--u)); }
.why__item--01 .why__item-title { margin-right: calc(12 * var(--u)); }
.why__text { margin-left: calc(11 * var(--u)); }
.why__item--03 .why__item-title { min-height: calc(64 * var(--u)); }
.why__item--03 .why__text { margin-top: calc(7 * var(--u)); }

@media (max-width: 1100px) {
  .why__inner { padding: 0 20px; }
}
@media (max-width: 767px) {
  .why { padding: 56px 0 64px; }
  .why__en { font-size: 16px; gap: 6px; }
  .why__en-mark { width: 17px; height: 20px; }
  .why__en-mark img { width: 20px; height: 17px; }
  .why__title { margin-top: 8px; font-size: 26px; line-height: 1.4; }
  .why__title-s { font-size: 24px; }
  .why__arrow { margin-top: 20px; width: 48px; height: 33px; }
  .why__list { margin-top: 28px; flex-direction: column; align-items: center; gap: 12px; }
}
@media (max-width: 382px) {
  .why { --u: calc((100vw - 40px) / 343); }
}

/* ---------- price（料金） ---------- */
.price { background: var(--green); color: var(--white); padding: 71px 0 63px; }

/* 見出し */
.price__en {
  display: flex; justify-content: center; align-items: flex-end; gap: 8px;
  font-family: var(--font-en-head); font-weight: 700; font-size: 20px; line-height: 1; white-space: nowrap;
}
.price__en-mark { flex: none; width: 22px; height: 26px; display: flex; align-items: center; justify-content: center; }
.price__en-mark img { width: 26px; max-width: none; height: 22px; transform: rotate(90deg); }
.price__title { margin-top: 47px; font-weight: 700; font-size: 36px; line-height: 1.5; text-align: center; }

/* 料金カード */
.price__cards { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.price__card {
  --price-c: var(--green); --price-tint: rgba(8, 190, 96, .1);
  position: relative; overflow: hidden;
  padding: 22px 0 20px; border-radius: 30px;
  background: var(--white); color: var(--txt);
}
.price__card--standard { --price-c: #0d9da3; --price-tint: rgba(13, 157, 163, .1); }
.price__card--premium { --price-c: #117ee3; --price-tint: rgba(17, 126, 227, .1); }
.price__badge {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 97px; height: 19px; border-radius: 50px;
  background: var(--green); color: var(--white);
  font-weight: 700; font-size: 14px; line-height: 19px; letter-spacing: -.683px; text-align: center;
}
.price__name { font-weight: 900; font-size: 30px; line-height: 45px; text-align: center; color: var(--price-c); }
.price__amount { margin-top: -4px; font-weight: 700; font-size: 45px; line-height: 68px; letter-spacing: 2.25px; text-align: center; color: var(--price-c); }
.price__per { margin-top: -7px; font-weight: 700; font-size: 16px; line-height: 24px; text-align: center; white-space: pre; }

.price__specs { margin-top: 22px; }
.price__row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 50px; padding: 0 22px;
}
.price__row:nth-child(odd) { background: var(--price-tint); }
.price__row:nth-child(2) { min-height: 51px; }
.price__row:nth-child(n+5) { min-height: 52px; }
.price__row:last-child { padding: 0 19px; }
.price__row dt { font-weight: 700; font-size: 12px; line-height: 1.5; letter-spacing: .24px; }
.price__row dd {
  flex: none; font-weight: 700; font-size: 16px; line-height: 1.5; letter-spacing: .32px;
  color: var(--price-c); text-align: right; white-space: nowrap;
}
.price__row .price__mark { width: 92px; font-weight: 900; font-size: 20px; letter-spacing: .4px; text-align: center; }
.price__row .price__time { letter-spacing: 0; }
.price__time span { font-size: 12px; }

/* 注記・強調帯 */
.price__notes { margin-top: 11px; font-size: 14px; line-height: 21px; text-align: center; }
.price__notes li + li { margin-top: 4px; }
.price__point { margin-top: 39px; font-weight: 700; font-size: 24px; line-height: 36px; text-align: center; }
.price__point span { white-space: nowrap; }

/* 保守プラン */
.price__support {
  margin-top: 46px; padding: 60px 76px 65px; border-radius: 8px;
  background: var(--white); color: var(--txt); text-align: center;
}
.price__support-title { font-weight: 700; font-size: 20px; line-height: 30px; }
.price__support-lead { margin-top: 32px; font-size: 16px; line-height: 24px; }
.price__support-lead strong { font-weight: 700; color: var(--green); }
.price__tiers { margin-top: 29px; display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; gap: 24px; }
.price__tier {
  display: flex; align-items: flex-start;
  height: 103px; padding: 14px 0 0 35px; border-radius: 8px;
  background: var(--green); color: var(--white); text-align: left;
}
.price__tier img { flex: none; width: 44px; height: 41px; margin: 20px 4.5px 0 0; }
.price__tier-users { display: flex; align-items: center; height: 36px; font-weight: 700; font-size: 16px; line-height: 36px; white-space: nowrap; }
.price__tier-num { min-width: 43px; margin-right: 5.5px; font-size: 24px; text-align: right; }
.price__tier-fee { display: flex; align-items: center; height: 36px; margin: -3px 0 0 16px; font-weight: 700; font-size: 24px; line-height: 36px; white-space: nowrap; }
.price__tier-unit { margin-left: 7.5px; font-size: 18px; }
.price__support-note { margin-top: 34px; font-size: 12px; line-height: 18px; }

@media (max-width: 1040px) {
  .price__row, .price__row:last-child { padding: 0 14px; }
  .price__row .price__mark { width: 76px; }
  .price__support { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 960px) {
  .price__cards { grid-template-columns: minmax(0, 480px); justify-content: center; gap: 20px; }
  .price__row, .price__row:last-child { padding: 0 22px; }
  .price__row .price__mark { width: 92px; }
  .price__tiers { gap: 12px; }
  .price__tier { justify-content: center; padding-left: 0; }
}
@media (max-width: 767px) {
  .price { padding: 56px 0 48px; }
  .price__en { font-size: 16px; gap: 6px; }
  .price__en-mark { width: 17px; height: 20px; }
  .price__en-mark img { width: 20px; height: 17px; }
  .price__title { margin-top: 20px; font-size: 24px; }
  .price__cards { margin-top: 32px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .price__card { border-radius: 24px; }
  .price__row, .price__row:last-child { padding: 0 18px; }
  .price__notes { margin-top: 16px; font-size: 12px; line-height: 1.6; text-align: left; }
  .price__point { margin-top: 28px; font-size: 17px; line-height: 1.6; }
  .price__support { margin-top: 28px; padding: 36px 20px; }
  .price__support-title { font-size: 18px; line-height: 1.5; }
  .price__support-lead { margin-top: 16px; font-size: 14px; line-height: 1.7; }
  .price__tiers { margin-top: 20px; grid-template-columns: minmax(0, 320px); }
  .price__support-note { margin-top: 20px; line-height: 1.6; text-align: left; }
}
@media (max-width: 359px) {
  .price__row, .price__row:last-child { padding: 0 12px; }
}

/* ---------- overview（組織の共有プールの説明図） ---------- */
.overview { background: rgba(8, 190, 96, .1); }
.overview__inner { padding: 78px 0 94px; }
.overview__title { font-weight: 700; font-size: 36px; line-height: 1.5; text-align: center; color: var(--txt); }
.overview__title em { font-style: normal; color: var(--green); }
.overview__lead { margin-top: 27px; font-weight: 500; font-size: 18px; line-height: 26px; text-align: center; }

/* 図: 左（個人の利用枠）→ 中央（共有プール）→ 右（必要な人） */
.overview__diagram { display: flex; align-items: flex-start; width: 1072px; margin: 70px auto 0; }
.overview__from { flex: none; width: 289px; }
.overview__label { padding-left: 100px; font-weight: 700; font-size: 20px; line-height: 1.5; color: var(--green); white-space: nowrap; }
.overview__users { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

.overview__user { position: relative; height: 127px; padding-left: 110px; }
.overview__photo { position: absolute; left: 0; top: 0; z-index: 1; width: 127px; height: 127px; border-radius: 50%; overflow: hidden; }
.overview__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.overview__photo::after { content: ""; position: absolute; inset: 0; border: 5px solid var(--white); border-radius: 50%; }
.overview__name { padding: 11px 0 0 22px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.overview__bar { display: block; position: relative; width: 179px; height: 42px; margin-top: 11px; border-radius: 20px; background: var(--white); }
.overview__bar::before { content: ""; position: absolute; left: 21px; top: 5px; height: 32px; border-radius: 20px; background: var(--green); }
.overview__bar--low::before { width: 39px; }
.overview__bar--mid::before { width: 70px; }
.overview__bar--min::before { width: 32px; }
.overview__bar--full::before { left: 7px; width: 154px; }
/* 点線（丸4つ）: 各人 → プール */
.overview__user::after {
  content: ""; position: absolute; left: 293px; top: 57px; width: 71px; height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--green) 6.6px, transparent 7.2px) 0 0 / 19px 14px repeat-x;
}

.overview__pool {
  position: relative; flex: none; width: 341px; height: 392px; margin: 42px 0 0 78px;
  background: var(--white); border: 5px solid var(--green); border-radius: 30px;
}
.overview__pool-title { padding-top: 7px; font-weight: 700; font-size: 20px; line-height: 1.5; text-align: center; color: var(--green); }
.overview__token {
  position: absolute; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--white); font-weight: 700; font-size: 20px; line-height: 1;
}
.overview__token:nth-child(1) { left: 46.83%; top: 27.49%; }
.overview__token:nth-child(2) { left: 22.36%; top: 24.87%; }
.overview__token:nth-child(3) { left: 63.75%; top: 18.59%; }
.overview__token:nth-child(4) { left: 61.93%; top: 38.74%; }
.overview__token:nth-child(5) { left: 32.02%; top: 44.24%; }
.overview__token:nth-child(6) { left: 50.15%; top: 56.28%; }
.overview__token:nth-child(7) { left: 32.02%; top: 73.82%; }
.overview__token:nth-child(8) { left: 16.31%; top: 54.71%; }
.overview__token:nth-child(9) { left: 71.6%; top: 57.33%; }
.overview__token:nth-child(10) { left: 58.91%; top: 73.82%; }

.overview__to { flex: none; width: 288px; margin-left: 76px; padding-top: 80px; }
.overview__bubble {
  position: relative; width: 239px; height: 70px; margin-left: 21px; padding-left: 31px;
  display: flex; align-items: center; border-radius: 50px; background: var(--green);
  color: var(--white); font-weight: 700; font-size: 26px; line-height: 1.5; letter-spacing: -.683px; white-space: nowrap;
}
.overview__bubble::after {
  content: ""; position: absolute; left: 201px; top: 62px; width: 12px; height: 19px;
  background: url("../img/overview-bubble-tail.svg") .8px 0 / 10.39px 14.25px no-repeat;
  transform: rotate(15.43deg) scaleY(-1);
}
.overview__user--to { margin-top: 31px; padding: 0 109px 0 0; }
.overview__user--to .overview__photo { left: auto; right: 0; }
.overview__user--to .overview__name { padding: 21px 9px 0 0; text-align: center; }
.overview__user--to .overview__bar { margin-top: 7px; }
.overview__user--to::after { left: -74px; top: 64px; }

/* 下の説明（3つの用語） */
.overview__legend {
  display: flex; align-items: center; width: 1097px; min-height: 125px; margin: 67px auto 0; padding: 28px 52px 38px 40px;
  background: var(--white); border-radius: 10px;
}
.overview__legend-item { display: flex; align-items: center; flex: none; }
.overview__legend-item + .overview__legend-item::before {
  content: ""; flex: none; width: 33px; height: 22.09px;
  background: url("../img/overview-arrow.svg") center / 100% 100% no-repeat;
}
.overview__legend-item:nth-child(2) { margin-left: 24.5px; }
.overview__legend-item:nth-child(2)::before { margin-right: 42.5px; }
.overview__legend-item:nth-child(3) { margin-left: 29.5px; }
.overview__legend-item:nth-child(3)::before { margin-right: 30.5px; }
.overview__legend-icon { flex: none; display: flex; align-items: center; justify-content: center; margin-right: 20px; }
.overview__legend-token {
  width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--white); font-weight: 700; font-size: 40px; line-height: 1;
}
.overview__legend-pool { width: 53.17px; max-width: none; height: 51.94px; margin: 4.1px 2.9px 2.9px; }
.overview__legend-user { width: 46.94px; max-width: none; height: 53.17px; margin: -2px; }
.overview__legend-text--token { width: 180px; }
.overview__legend-text--pool { width: 224px; }
.overview__legend-text--user { width: 196px; }
.overview__legend-title { font-weight: 700; font-size: 20px; line-height: 1.5; color: var(--green); white-space: nowrap; }
.overview__legend-desc { margin-top: 7px; font-weight: 500; font-size: 14px; line-height: 1.5; white-space: nowrap; }

/* 1199px 以下: 図と説明の箱を、形はそのままで少し縮める */
@media (max-width: 1199px) {
  .overview__inner { padding-left: 20px; padding-right: 20px; }
  .overview__diagram, .overview__legend { zoom: .92; }
}
@media (max-width: 1050px) {
  .overview__diagram, .overview__legend { zoom: .84; }
}

/* 960px 以下: 図を縦に積む（上から 個人 → プール → 必要な人） */
@media (max-width: 960px) {
  .overview__inner { padding-top: 64px; padding-bottom: 72px; }
  .overview__diagram { zoom: 1; flex-direction: column; align-items: center; width: auto; margin-top: 48px; }
  .overview__label { padding-left: 0; text-align: center; }
  .overview__user::after { display: none; }
  .overview__pool { width: min(341px, 100%); height: auto; aspect-ratio: 341 / 392; margin: 100px 0; }
  .overview__pool::before, .overview__pool::after {
    content: ""; position: absolute; left: 50%; width: 14px; height: 71px; margin-left: -7px;
    background: radial-gradient(circle at 7px 7px, var(--green) 6.6px, transparent 7.2px) 0 0 / 14px 19px repeat-y;
  }
  .overview__pool::before { bottom: calc(100% + 19px); }
  .overview__pool::after { top: calc(100% + 19px); }
  .overview__to { margin-left: 0; padding-top: 0; }

  .overview__legend {
    zoom: 1; flex-direction: column; align-items: flex-start; width: 100%; max-width: 420px;
    margin-top: 56px; padding: 28px 24px 30px;
  }
  .overview__legend-item { position: relative; }
  .overview__legend-item:nth-child(n) { margin-left: 0; }
  .overview__legend-item + .overview__legend-item { margin-top: 62px; }
  .overview__legend-item + .overview__legend-item::before {
    position: absolute; left: 13px; top: -42px; margin: 0; transform: rotate(90deg);
  }
  .overview__legend-icon { width: 59px; }
  .overview__legend-text--token, .overview__legend-text--pool, .overview__legend-text--user { width: auto; }
}

@media (max-width: 767px) {
  .overview__inner { padding-top: 56px; padding-bottom: 64px; }
  .overview__title { font-size: 24px; }
  .overview__lead { margin-top: 16px; font-size: 14px; line-height: 1.8; text-align: left; }
  .overview__diagram { margin-top: 36px; }
  .overview__legend { margin-top: 44px; }
  .overview__legend-title { font-size: 18px; }
  .overview__legend-desc { margin-top: 4px; font-size: 13px; }
}
@media (max-width: 359px) {
  .overview__from, .overview__to { zoom: .9; }
  .overview__legend { padding-left: 16px; padding-right: 16px; }
  .overview__legend-desc { white-space: normal; }
}

/* ---------- features（01〜06 の機能カード） ---------- */
.features {
  background: var(--dark) url("../img/features-bg.jpg") center / cover no-repeat;
  color: var(--white);
}
.features__inner { padding: 47.5px 0 51.5px; }
.features__list { display: grid; grid-template-columns: repeat(3, 1fr); }

.features__card {
  position: relative; height: 400px; padding-top: 65px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--dark) center / cover no-repeat;
}
.features__card--01 { background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url("../img/features-card-01.jpg"); }
.features__card--02 { background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), url("../img/features-card-02.jpg"); }
.features__card--03 { background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url("../img/features-card-03.jpg"); }
.features__card--04 { background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url("../img/features-card-04.jpg"); }
.features__card--05 { background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url("../img/features-card-05.jpg"); }
.features__card--06 { background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url("../img/features-card-06.jpg"); }

/* 緑の吹き出し（マーク＋ひとこと） */
.features__badge {
  position: relative; z-index: 1; flex: none; width: 239px; height: 39px; padding: 8px 0 0 46px;
  border-radius: 50px; background: var(--green);
  font-weight: 700; font-size: 16px; line-height: 24px; letter-spacing: -.683px; text-align: left; white-space: nowrap;
}
.features__badge::before {
  content: ""; position: absolute; left: 11.7px; top: 6.8px; width: 28.88px; height: 25.47px;
  background: url("../img/features-badge-mark.svg") center / 100% 100% no-repeat;
  transform: rotate(20.93deg);
}
.features__badge::after {
  content: ""; position: absolute; left: 201px; top: 32px; width: 12px; height: 19px;
  background: url("../img/features-badge-tail.svg") .8px 0 / 10.39px 14.25px no-repeat;
  transform: rotate(15.43deg) scaleY(-1);
}
.features__card--01 .features__badge { margin-top: -3.5px; margin-bottom: 3.5px; }
.features__card--06 .features__badge { padding-left: 42px; }

.features__title { position: relative; z-index: 1; margin-top: 32px; font-weight: 700; font-size: 24px; line-height: 1.5; letter-spacing: -.683px; white-space: nowrap; }
.features__desc { position: relative; z-index: 1; margin-top: 32.5px; font-weight: 500; font-size: 16px; line-height: 1.8; letter-spacing: -.683px; white-space: nowrap; }
.features__card--04 .features__desc, .features__card--05 .features__desc { margin-top: 43px; }
.features__card--06 .features__desc { margin-top: 34.5px; }
.features__card--06 .features__desc--note { margin-top: 0; }

/* 大きな番号（右下） */
.features__num {
  position: absolute; right: 95px; bottom: -7px; transform: translateX(50%);
  font-family: var(--font-en-head); font-weight: 700; font-size: 120px; line-height: 1;
  color: var(--green); white-space: nowrap;
}
.features__card--01 .features__num { right: 106px; letter-spacing: 12px; }

/* 1000px 以下: 2列 */
@media (max-width: 1000px) {
  .features__list { grid-template-columns: repeat(2, 1fr); }
}
/* 767px 以下: 1列（縦に積む） */
@media (max-width: 767px) {
  .features__inner { padding: 32px 0; }
  .features__list { grid-template-columns: 1fr; }
  .features__card { height: 320px; padding-top: 40px; }
  .features__card--01 .features__badge { margin-top: 0; margin-bottom: 0; }
  .features__title { margin-top: 24px; font-size: 22px; }
  .features__desc,
  .features__card--04 .features__desc, .features__card--05 .features__desc, .features__card--06 .features__desc { margin-top: 16px; font-size: 14px; }
  .features__card--06 .features__desc--note { margin-top: 0; }
  .features__num { right: 76px; bottom: -5px; font-size: 88px; }
  .features__card--01 .features__num { right: 84px; letter-spacing: 8px; }
}

/* ---------- compare（同価格帯サービスとの比較） ---------- */
.compare { background: var(--white); }
.compare__inner { padding-top: 84px; padding-bottom: 118px; }
.compare__en {
  display: flex; justify-content: center; align-items: flex-end; gap: 6px;
  font-family: var(--font-en-head); font-weight: 700; font-size: 20px; line-height: 1; color: var(--green);
  white-space: nowrap;
}
.compare__en img { flex: none; width: 26px; height: 22px; margin: 2px -2px; transform: rotate(90deg); }
.compare__title { margin-top: 20px; font-weight: 700; font-size: 36px; line-height: 1.5; text-align: center; }

/* 表の入れ物（幅が足りない時はここだけ横スクロール）。上下の余白は緑の枠のはみ出し分 */
.compare__scroll { margin-top: 81px; padding: 13px 0 14px; overflow-x: auto; }
.compare__box {
  --c1: 25%;   /* 見出し列の幅 */
  --bw: 13px;  /* 緑の枠の太さ */
  position: relative; width: 100%; max-width: 1030px; min-width: 720px; margin: 0 auto;
}
/* HBM Assistant の列を囲む緑の枠（飾り） */
.compare__box::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  top: calc(var(--bw) * -1); bottom: calc(var(--bw) * -1 - 1px);
  left: calc(var(--c1) - var(--bw)); width: calc((100% - var(--c1)) / 3 + var(--bw) * 2);
  border: var(--bw) solid var(--green); border-radius: calc(30px + var(--bw));
}

.compare__table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: center; }
.compare__corner { width: var(--c1); padding: 0; }
.compare__head {
  height: 63px; padding: 3px 8px 0;
  background: #6a7a7a; border: 1px solid #f7fdfe; border-bottom: 0; border-radius: 30px 30px 0 0;
  font-family: var(--font-en-head); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--white);
}
.compare__head--hbm { background: var(--green); border-color: var(--green); border-radius: 5px 5px 0 0; }

.compare__label {
  height: 57px; padding: 2px 8px 0;
  background: var(--txt); border-bottom: 1px solid #ededed;
  font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--white);
}
.compare__label small { font-size: 8px; }
.compare__label--tight { letter-spacing: -1.28px; }
.compare__row:first-child .compare__label { border-top-left-radius: 30px; }
.compare__row:last-child .compare__label { border-bottom-left-radius: 30px; }

.compare__cell {
  height: 57px; padding: 0 8px;
  background: var(--white); border-right: 1px solid #ededed; border-bottom: 1px solid #ededed;
  font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--txt);
}
.compare__row:nth-child(even) .compare__cell { background: #ededed; }
.compare__row:nth-child(even) .compare__cell--hbm { background: rgba(8, 190, 96, .1); }
.compare__row:last-child .compare__cell:last-child { border-bottom-right-radius: 30px; }
.compare__row--price .compare__label,
.compare__row--price .compare__cell { height: 75px; }
.compare__row--price .compare__cell { padding-top: 3px; }

/* 月額の行: 金額を列の中央に置き、「/ 人」は右に添える */
.compare__price { position: relative; display: inline-flex; align-items: center; }
.compare__yen { font-family: var(--font-en); font-weight: 700; font-size: 24px; line-height: 1.2; color: #384343; }
.compare__unit {
  position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 2px;
  font-size: 14px; line-height: 1.5; white-space: pre;
}
.compare__cell--hbm .compare__yen,
.compare__cell--hbm .compare__unit { color: var(--green); }

/* 〇 と補足 */
.compare__mark--gap { margin-right: .55em; }
.compare__cell--stack { padding-top: 3px; }
.compare__cell--stack .compare__mark { display: block; line-height: 23px; }
.compare__sub { display: block; margin-top: -3px; font-size: 12px; line-height: 1.5; }

.compare__notes { margin-top: 17px; font-size: 12px; line-height: 1.5; text-align: right; }
.compare__btns { margin-top: 52px; display: flex; justify-content: center; gap: 7px; }

@media (max-width: 1100px) {
  .compare__head { font-size: 18px; }
  .compare__label { padding: 4px 18px 4px 8px; font-size: 14px; word-break: keep-all; overflow-wrap: anywhere; }
  .compare__label--tight { letter-spacing: -.5px; }
  .compare__cell { padding: 4px 6px; font-size: 14px; }
  .compare__cell:nth-child(3) { padding-left: 18px; }
  .compare__yen { font-size: 22px; }
  .compare__sub { font-size: 11px; }
}
@media (max-width: 767px) {
  .compare__inner { padding-top: 56px; padding-bottom: 64px; }
  .compare__en { font-size: 16px; }
  .compare__en img { width: 21px; height: 18px; margin: 1.5px -1.5px; }
  .compare__title { margin-top: 10px; font-size: 24px; }

  /* 表だけ横スクロール。右端を画面の端まで伸ばして、続きがあることを見せる */
  .compare__scroll { margin: 26px -20px 0; padding: 8px 20px 9px; -webkit-overflow-scrolling: touch; }
  .compare__box { --c1: 140px; --bw: 8px; min-width: 640px; }
  .compare__box::after { border-radius: 24px; }
  .compare__head { height: 50px; padding-top: 2px; border-radius: 16px 16px 0 0; font-size: 15px; }
  .compare__head--hbm { border-radius: 4px 4px 0 0; }
  .compare__label { height: 50px; padding: 4px 13px 4px 8px; font-size: 12px; }
  .compare__label--tight { letter-spacing: 0; }
  .compare__row:first-child .compare__label { border-top-left-radius: 16px; }
  .compare__row:last-child .compare__label { border-bottom-left-radius: 16px; }
  .compare__row:last-child .compare__cell:last-child { border-bottom-right-radius: 16px; }
  .compare__cell { height: 50px; padding: 4px 6px; font-size: 13px; }
  .compare__cell:nth-child(3) { padding-left: 13px; }
  .compare__row--price .compare__label,
  .compare__row--price .compare__cell { height: 60px; }
  .compare__yen { font-size: 20px; }
  .compare__unit { font-size: 12px; }
  .compare__cell--stack { padding-top: 4px; }
  .compare__cell--stack .compare__mark { line-height: 19px; }
  .compare__sub { margin-top: -2px; font-size: 10px; }

  .compare__notes { margin-top: 12px; font-size: 11px; text-align: left; }
  .compare__notes p { padding-left: 1em; text-indent: -1em; }
  .compare__btns { margin-top: 32px; flex-direction: column; align-items: stretch; gap: 12px; }
}

/* ---------- flow（導入の流れ） ---------- */
.flow {
  background:
    linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)),
    var(--white) url("../img/flow-bg.jpg") center / cover no-repeat;
}
.flow__inner { padding-top: 83px; padding-bottom: 186px; }
.flow__en {
  display: flex; justify-content: center; align-items: flex-end; gap: 8px;
  font-family: var(--font-en-head); font-weight: 700; font-size: 20px; line-height: 1; color: var(--green);
  white-space: nowrap;
}
.flow__en img { flex: none; width: 26px; height: 22px; margin: 2px -2px; transform: rotate(90deg); }
.flow__heading { margin-top: 4px; font-weight: 700; font-size: 36px; line-height: 1.5; text-align: center; color: var(--txt); }

.flow__list {
  --gap: 60px;
  max-width: 960px; margin: 121px auto 0;
  display: flex; justify-content: center; gap: var(--gap);
}
.flow__step {
  position: relative; flex: 0 0 280px; height: 280px; padding: 40px 20px 0 21px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-radius: 70px; background: var(--green); color: var(--white);
}
.flow__step--light { background: rgba(8, 190, 96, .1); color: var(--txt); }
/* ステップをつなぐ点線（飾り） */
.flow__step + .flow__step::before {
  content: ""; position: absolute; right: 100%; top: calc(50% - 2px);
  width: var(--gap); height: 2px;
  background: url("../img/flow-line.svg") center / 100% 100% no-repeat;
}
.flow__process { font-size: 16px; line-height: 1.5; letter-spacing: -.683px; }
.flow__num {
  margin-top: -1px; padding-left: 5px;
  font-family: var(--font-en-head); font-weight: 700; font-size: 42px; line-height: 1.2; letter-spacing: 5px;
}
.flow__title { margin-top: 27px; font-weight: 500; font-size: 16px; line-height: 1.5; letter-spacing: -.683px; }
.flow__desc {
  position: relative; width: 100%; height: 39px; margin-top: 19px; padding-top: 1px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50px; background: var(--green); color: var(--white);
  font-weight: 700; font-size: 16px; line-height: 1.5; letter-spacing: -.683px; white-space: nowrap;
}
/* 吹き出しのしっぽ（飾り） */
.flow__desc::before {
  content: ""; position: absolute; right: 27.4px; top: -12.9px;
  width: 10.39px; height: 14.25px;
  background: url("../img/flow-tail.svg") center / 100% 100% no-repeat;
  transform: rotate(-15.43deg);
}

@media (max-width: 1100px) {
  .flow__list { --gap: clamp(24px, 4vw, 60px); }
  .flow__step {
    flex: 1 1 0; min-width: 0; max-width: 280px; height: auto; aspect-ratio: 1 / 1;
    padding: 40px 12px 32px; border-radius: 56px;
  }
  .flow__desc::before { right: 22px; }
}
@media (max-width: 960px) {
  .flow__step { padding-top: 32px; }
  .flow__desc { font-size: 14px; }
}
@media (max-width: 860px) {
  .flow__desc { font-size: 13px; }
}
@media (max-width: 767px) {
  .flow__inner { padding-top: 56px; padding-bottom: 72px; }
  .flow__en { font-size: 16px; }
  .flow__en img { width: 21px; height: 18px; margin: 1.5px -1.5px; }
  .flow__heading { margin-top: 6px; font-size: 24px; }
  .flow__list { --gap: 44px; margin-top: 36px; flex-direction: column; align-items: center; }
  .flow__step {
    flex: none; width: 280px; max-width: 100%; height: 280px; aspect-ratio: auto;
    padding: 40px 20px 0 21px; border-radius: 70px;
  }
  .flow__desc { font-size: 16px; }
  .flow__desc::before { right: 27.4px; }
  /* 縦積みでは点線も縦向きに */
  .flow__step + .flow__step::before {
    right: auto; left: calc(50% - var(--gap) / 2); top: calc(var(--gap) / -2 - 1px);
    transform: rotate(90deg);
  }
}

/* ---------- faq（よくある質問） ---------- */
.faq { background: #ededed; overflow: hidden; }
.faq__inner { padding: 81px 0 113px; }
.faq__star {
  position: absolute; right: -55.4px; top: -18.5px;
  width: 417.4px; max-width: none; height: 433.7px;
  transform: rotate(13.34deg); pointer-events: none;
}
.faq__en {
  display: flex; align-items: flex-end; justify-content: center; gap: 9px;
  padding-right: 30px; /* Figma では見出しの中心より 15px 左に寄っている */
  font-family: var(--font-en-head); font-weight: 700; font-size: 20px; line-height: 1; color: var(--green);
}
.faq__en img { width: 26px; height: 22px; margin: 2px -2px; transform: rotate(90deg); }
.faq__title { margin-top: 6px; font-weight: 700; font-size: 36px; line-height: 1.5; text-align: center; }
.faq__list { margin-top: 51px; display: flex; flex-direction: column; gap: 12px; }

.faq__item { background: var(--white); border: 1px solid #ccc; border-radius: 8px; overflow: hidden; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 15px; line-height: 1.5;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "＋"; flex: none;
  font-weight: 700; font-size: 18px; line-height: 1.5; color: #051f4d;
}
.faq__item[open] summary::after { content: "－"; }
.faq__item summary:hover { color: var(--green); }
.faq__item summary:focus-visible { outline-offset: -3px; border-radius: 8px; }
.faq__answer {
  margin: 0 24px; padding: 16px 0 20px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.8;
}

@media (max-width: 1100px) {
  .faq__star { right: -120px; }
}
@media (max-width: 767px) {
  .faq__inner { padding: 56px 0 64px; }
  .faq__star { width: 240px; height: 249px; right: -96px; top: -14px; }
  .faq__en { padding-right: 0; font-size: 16px; gap: 7px; }
  .faq__en img { width: 20px; height: 17px; margin: 1.5px -1.5px; }
  .faq__title { margin-top: 4px; font-size: 24px; }
  .faq__list { margin-top: 28px; gap: 10px; }
  .faq__item summary { padding: 14px 16px; font-size: 14px; }
  .faq__answer { margin: 0 16px; padding: 12px 0 16px; font-size: 13px; }
}

.faq__answer a { color: var(--green); text-decoration: underline; }

/* ---------- cta（最後の案内） ---------- */
.cta { background: var(--txt); color: var(--white); overflow: hidden; }
.cta__inner { padding-top: 24px; text-align: center; }
.cta__title { font-weight: 500; font-size: 28px; line-height: 1.5; }
.cta__title strong { margin: 0 1.28px; font-weight: 700; color: var(--green); }
.cta__lead { margin-top: 12px; font-weight: 500; font-size: 15px; line-height: 1.5; }

.cta__btns { margin-top: 42.5px; padding: 0 20px; display: flex; justify-content: center; gap: 20px; }
.cta__btn {
  flex: 0 1 404px; height: 194px; border-radius: 30px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; line-height: 1.2; white-space: nowrap;
  transition: opacity .2s, transform .2s;
}
.cta__btn:hover { opacity: .85; transform: translateY(-1px); }
.cta__btn--primary { justify-content: flex-end; gap: 32px; padding-right: 32.5px; background: var(--green); color: var(--white); }
.cta__btn--outline { background: var(--white); border: 3px solid var(--green); color: var(--green); }
.cta__arrow {
  flex: none; width: 58.5px; height: 58.5px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--green);
  font-family: var(--font-en); font-weight: 700; font-size: 24px; line-height: 1;
}

.cta__contact { margin-top: 20px; padding: 0 20px; font-size: 14px; line-height: 1.5; }
.cta__contact a { transition: color .2s; }
.cta__contact a:hover { color: var(--green); }
.cta__contact-item { white-space: nowrap; }

/* 下の大きな文字（飾り）。Figma と同じく下と左右が少し切れる */
.cta__brand {
  margin-top: 16px; height: .852em; display: flex; justify-content: center;
  font-family: var(--font-en); font-weight: 400; font-size: min(183px, 15.25vw); line-height: 1;
  letter-spacing: -.01em; white-space: nowrap; pointer-events: none; user-select: none;
}
.cta__brand span { flex: none; position: relative; left: -2px; }
.cta__brand b { font-weight: 700; }

@media (max-width: 767px) {
  .cta__inner { padding-top: 48px; }
  .cta__title { padding: 0 20px; font-size: 22px; }
  .cta__lead { margin-top: 10px; padding: 0 20px; font-size: 14px; line-height: 1.7; }
  .cta__btns { margin-top: 28px; flex-direction: column; align-items: center; gap: 12px; }
  .cta__btn { flex: none; width: 100%; max-width: 404px; height: 88px; border-radius: 20px; font-size: 17px; }
  .cta__btn--primary { position: relative; justify-content: center; padding-right: 0; }
  .cta__arrow { position: absolute; right: 18px; top: 50%; width: 44px; height: 44px; margin-top: -22px; font-size: 19px; }
  .cta__btn--outline { border-width: 2px; }
  .cta__contact { margin-top: 24px; font-size: 13px; line-height: 1.9; }
  .cta__contact-item { display: block; }
  .cta__contact-sep { display: none; }
  .cta__brand { margin-top: 20px; }
  .cta__brand span { left: 0; }
}

/* ---------- お問い合わせページ ---------- */
.contact-hero {
  background: var(--dark) url("../img/hero-bg.jpg") center / cover no-repeat;
  color: var(--white); overflow: hidden;
}
.contact-hero__inner { height: 456px; }
.contact-hero__star {
  position: absolute; left: 722.4px; top: 36.9px;
  width: 397.5px; max-width: none; height: 389.6px;
  transform: rotate(15.27deg); pointer-events: none;
}
.contact-hero__copy { position: absolute; left: 93px; top: 244px; }
.contact-hero__en {
  display: flex; align-items: center; gap: 2px; margin-left: -2px;
  font-weight: 700; font-size: 22px; line-height: 1.45; color: var(--green);
}
.contact-hero__en img { width: 26px; height: 22px; transform: rotate(90deg); }
.contact-hero__title { margin-top: 11px; font-weight: 700; font-size: 36px; line-height: 1.45; }
.contact-hero__text { margin-top: 8px; font-weight: 700; font-size: 16px; line-height: 1.5; }

.contact { background: var(--green); padding: 54px 0 34px; }
.contact__card { background: var(--white); border-radius: 8px; padding: 72px 20px 49px; }
.contact__intro {
  text-align: center; font-weight: 500; font-size: 18px; line-height: 30.4px;
  letter-spacing: .64px; color: var(--txt-mute);
}
.contact__intro em { font-style: normal; color: var(--green); }

.contact__form, .contact__confirm, .contact__done { max-width: 720px; margin: 81px auto 0; }
.contact__field { border: 0; padding: 0; margin: 0 0 12.6px; min-width: 0; }
.contact__field--types { margin-bottom: 31.6px; }
.contact__label {
  display: flex; align-items: center; gap: 7.6px; padding: 0;
  font-weight: 500; font-size: 15.2px; line-height: 27.36px; letter-spacing: .887px; color: var(--txt-sub);
}
.contact__req {
  display: inline-flex; align-items: center; justify-content: center;
  width: 37.6px; height: 22.8px; border-radius: 4px; background: var(--green);
  font-family: var(--font-en); font-weight: 700; font-size: 11.2px; line-height: 1; letter-spacing: .887px; color: var(--white);
  padding-left: .887px;
}
.contact__input {
  display: block; width: 100%; height: 54.8px; margin-top: 10px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--white);
  font: inherit; font-size: 16px; color: var(--txt); appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(8, 190, 96, .18); }
.contact__input.is-invalid { border-color: #d64545; }
.contact__textarea { height: 314px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.contact__checks { display: flex; flex-wrap: wrap; gap: 12px 48px; margin-top: 22.6px; }
.contact__check {
  display: inline-flex; align-items: center; gap: 20px; cursor: pointer;
  font-weight: 500; font-size: 15.2px; line-height: 27.36px; letter-spacing: .887px; color: var(--txt-sub);
}
.contact__check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.contact__box {
  flex: none; width: 22px; height: 22px; border: 1px solid var(--line); background: var(--white);
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s, border-color .15s;
}
.contact__box::after {
  content: ""; width: 11px; height: 6px; margin-top: -3px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white);
  transform: rotate(-45deg); opacity: 0;
}
.contact__check input:checked + .contact__box { background: var(--green); border-color: var(--green); }
.contact__check input:checked + .contact__box::after { opacity: 1; }
.contact__check input:focus-visible + .contact__box { outline: 2px solid var(--green); outline-offset: 3px; }
.contact__check a { color: var(--green); }
.contact__check a:hover { text-decoration: underline; }
.contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__agree { margin-top: 24px; display: flex; flex-direction: column; align-items: center; }
.contact__error { margin-top: 6px; font-size: 13px; line-height: 1.6; color: #d64545; }
.contact__error--send { text-align: center; margin: 24px 0 0; }
.contact__actions { margin-top: 23.6px; display: flex; justify-content: center; gap: 16px; }
.contact__submit, .contact__back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 330px; max-width: 100%; height: 54px; border-radius: 200px;
  font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.contact__submit { background: var(--green); color: var(--white); border: 1px solid var(--green); }
.contact__back { background: var(--white); color: var(--green); border: 1px solid var(--green); width: 200px; }
.contact__submit:hover, .contact__back:hover { opacity: .85; transform: translateY(-1px); }
.contact__submit[disabled] { opacity: .5; cursor: default; transform: none; }

.contact__step-title { text-align: center; font-weight: 700; font-size: 24px; line-height: 1.5; color: var(--txt); }
.contact__step-title:focus { outline: none; }
.contact__step-text { margin-top: 12px; text-align: center; font-size: 15.2px; line-height: 1.8; color: var(--txt-sub); }
.contact__summary { margin: 40px 0 0; border-top: 1px solid var(--line); }
.contact__summary > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.contact__summary dt { font-weight: 500; font-size: 15.2px; letter-spacing: .887px; color: var(--txt-sub); }
.contact__summary dd { font-size: 15.2px; line-height: 1.8; color: var(--txt); white-space: pre-wrap; word-break: break-word; }
.contact__actions--two { margin-top: 40px; }
.contact__done { padding: 40px 0 60px; }
.contact__done .contact__actions { margin-top: 40px; }

@media (max-width: 1100px) {
  .contact-hero__star { left: auto; right: -80px; opacity: .85; }
}
@media (max-width: 767px) {
  .contact-hero__inner { height: auto; padding: calc(var(--header-h) + 110px) 20px 44px; }
  .contact-hero__star { width: 240px; height: 235px; right: -50px; top: calc(var(--header-h) + 8px); }
  .contact-hero__copy { position: relative; left: auto; top: auto; }
  .contact-hero__en { font-size: 16px; }
  .contact-hero__en img { width: 20px; height: 17px; }
  .contact-hero__title { font-size: 28px; margin-top: 6px; }
  .contact-hero__text { font-size: 14px; }
  .contact { padding: 24px 0; }
  .contact .container { padding: 0 12px; }
  .contact__card { padding: 40px 18px 40px; }
  .contact__intro { font-size: 15px; line-height: 1.8; letter-spacing: .3px; }
  .contact__form, .contact__confirm, .contact__done { margin-top: 40px; }
  .contact__label, .contact__check { font-size: 14px; letter-spacing: .4px; }
  .contact__checks { flex-direction: column; gap: 10px; margin-top: 14px; }
  .contact__check { gap: 12px; }
  .contact__textarea { height: 220px; }
  .contact__agree .contact__check { align-items: flex-start; }
  .contact__summary > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 2px; }
  .contact__summary dt { font-size: 13px; color: var(--green); }
  .contact__actions--two { flex-direction: column-reverse; align-items: center; }
  .contact__back { width: 330px; }
  .contact__step-title { font-size: 20px; }
}
