/* youth不動産 LP スタイルシート */

:root {
  --color-navy: #1b204f;
  --color-navy-light: #2a3070;
  --color-white: #ffffff;
  --color-gold: #f5a623;
  --color-cyan: #00b4c6;
  --color-cream: #fff8ec;
  --color-line-green: #06c755;
  --color-text: #262a4a;
  --color-text-sub: #565b7f;
  --max-width: 1080px;
  --radius-lg: 20px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-display: swap;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  padding-bottom: 76px; /* スマホ固定CTAバーの分だけ余白 */
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section--cream {
  background: var(--color-cream);
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 32px;
  color: var(--color-navy);
}

.section--navy .section-title {
  color: var(--color-white);
}

.section-lead {
  text-align: center;
  color: var(--color-text-sub);
  margin-bottom: 32px;
}

/* ------------------------------------------------------------ */
/* ヘッダー */
/* ------------------------------------------------------------ */
.site-header {
  padding: 14px 0;
  background: var(--color-white);
  border-bottom: 1px solid #eee;
}

.site-header__brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ------------------------------------------------------------ */
/* ファーストビュー */
/* ------------------------------------------------------------ */
.hero {
  background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: 40px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__lead {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.hero__title {
  font-size: 30px;
  color: var(--color-white);
  margin-bottom: 16px;
}

.hero__sub {
  font-size: 15px;
  color: #e7e9f7;
  max-width: 480px;
  margin: 0 auto 28px;
}

.hero__image {
  margin: 0 auto 28px;
  max-width: 320px;
}

.hero__note {
  font-size: 13px;
  color: #c9cdf0;
  margin-top: 12px;
}

/* ------------------------------------------------------------ */
/* CTAボタン */
/* ------------------------------------------------------------ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 32px;
  background: var(--color-line-green);
  color: var(--color-white) !important;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  width: 100%;
  max-width: 360px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.45);
}

.cta-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/* スマホ画面下 固定CTAバー */
.fixed-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--color-white);
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(27, 32, 79, 0.15);
}

.fixed-cta-bar .cta-button {
  max-width: none;
}

@media (min-width: 900px) {
  .fixed-cta-bar {
    display: none;
  }
}

/* ------------------------------------------------------------ */
/* こんな方におすすめ */
/* ------------------------------------------------------------ */
.persona-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.persona-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-white);
  border: 1px solid #eee0c8;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 15px;
}

.persona-list__mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.persona-figure {
  max-width: 220px;
  margin: 0 auto 24px;
}

/* ------------------------------------------------------------ */
/* 特長 */
/* ------------------------------------------------------------ */
.feature-list {
  display: grid;
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 4px 18px rgba(27, 32, 79, 0.08);
  display: grid;
  gap: 12px;
  text-align: center;
}

@media (min-width: 700px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card__image {
  max-width: 150px;
  margin: 0 auto;
}

.feature-card__title {
  font-size: 17px;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feature-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-cyan);
  color: var(--color-white);
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
}

.feature-card__text {
  font-size: 14px;
  color: var(--color-text-sub);
  margin: 0;
  text-align: left;
}

/* ------------------------------------------------------------ */
/* 流れ（ステップ） */
/* ------------------------------------------------------------ */
.step-list {
  list-style: none;
  margin: 0 auto 20px;
  padding: 0;
  max-width: 640px;
  counter-reset: step;
}

.step-list__item {
  counter-increment: step;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed #d8dcef;
  align-items: flex-start;
}

.step-list__item:last-child {
  border-bottom: none;
}

.step-list__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.step-list__text {
  font-size: 15px;
  padding-top: 4px;
}

.step-figure {
  max-width: 200px;
  margin: 8px auto 0;
}

.step-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-sub);
}

/* ------------------------------------------------------------ */
/* お部屋 */
/* ------------------------------------------------------------ */
.room-list {
  margin: 0 0 16px;
  padding-left: 1.3em;
}

.room-list li {
  margin-bottom: 10px;
  font-size: 15px;
}

.room-note {
  font-size: 13px;
  color: var(--color-text-sub);
  border-top: 1px solid #eee0c8;
  padding-top: 14px;
}

.room-figures {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.room-figures img {
  max-width: 160px;
}

/* ------------------------------------------------------------ */
/* 費用について */
/* ------------------------------------------------------------ */
.cost-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cost-list li {
  background: var(--color-white);
  border: 1px solid #e2e6f5;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cost-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  flex: 0 0 auto;
}

.cost-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 520px;
  margin: 0 auto 20px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(27, 32, 79, 0.08);
}

.cost-box__label {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 6px;
}

.cost-box__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}

.cost-pay {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-sub);
}

/* ------------------------------------------------------------ */
/* FAQ */
/* ------------------------------------------------------------ */
.faq-list {
  max-width: 680px;
  margin: 0 auto 24px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid #eee0c8;
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.faq-item__q {
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
}

.faq-item__q::before {
  content: "Q";
  color: var(--color-gold);
  font-family: "Montserrat", sans-serif;
}

.faq-item__a {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-sub);
  margin: 0;
}

.faq-item__a::before {
  content: "A";
  color: var(--color-cyan);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.faq-figure {
  max-width: 180px;
  margin: 0 auto 24px;
}

/* ------------------------------------------------------------ */
/* 会社情報 */
/* ------------------------------------------------------------ */
.company-info {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.company-info__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}

.company-info__row dt {
  font-weight: 700;
  color: var(--color-gold);
}

.company-info__row dd {
  margin: 0;
}

/* ------------------------------------------------------------ */
/* 最後のCTA */
/* ------------------------------------------------------------ */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.final-cta__title {
  font-size: 22px;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.final-cta__image {
  max-width: 220px;
  margin: 0 auto 24px;
}

/* ------------------------------------------------------------ */
/* フッター */
/* ------------------------------------------------------------ */
.site-footer {
  background: var(--color-navy);
  color: #c9cdf0;
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
}

.site-footer a {
  color: var(--color-white);
  text-decoration: underline;
}

.site-footer__copyright {
  margin-top: 10px;
  color: #9198c9;
}

/* ------------------------------------------------------------ */
/* 中継ページ（line/index.html） */
/* ------------------------------------------------------------ */
.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: 40px 20px;
}

.redirect-box {
  max-width: 360px;
}

.redirect-box img {
  max-width: 200px;
  margin: 0 auto 20px;
}

.redirect-box__message {
  font-size: 16px;
  margin-bottom: 20px;
}

.redirect-box__link {
  color: var(--color-gold);
  text-decoration: underline;
  font-size: 14px;
}

.redirect-box__test {
  margin-top: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 13px;
  word-break: break-all;
}

/* ------------------------------------------------------------ */
/* プライバシーポリシー */
/* ------------------------------------------------------------ */
.policy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  font-size: 15px;
}

.policy-page h1 {
  font-size: 24px;
  color: var(--color-navy);
}

.policy-page h2 {
  font-size: 18px;
  color: var(--color-navy);
  margin-top: 32px;
  border-left: 4px solid var(--color-gold);
  padding-left: 10px;
}

.policy-page ul {
  padding-left: 1.3em;
}

/* 見出しを語のまとまりで改行させる */
.nowrap { display: inline-block; white-space: nowrap; }

/* 画面下の固定ボタン: 本文中のボタンが見えている間は隠す（同じボタンが2つ並ばないように） */
.fixed-cta-bar { transition: transform .25s ease, opacity .25s ease; }
.fixed-cta-bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* 確認期間中の帯 */
.review-banner { background: #F5A623; color: #1b204f; font-size: 12px; font-weight: 700; text-align: center; padding: 6px 10px; line-height: 1.4; }

/* ===== 改行位置の制御 =====
   日本語を語の途中で折り返さない。HTML側の <wbr> と句読点の後ろでだけ改行する。
   万一おさまらない場合だけ、はみ出さないよう途中で折り返す。 */
.budou { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.cfg-line { display: block; }
.section-title__sub { display: block; font-size: 0.6em; font-weight: 700; margin-top: 4px; opacity: .8; }
.feature-card__note { font-size: 12px; line-height: 1.6; margin-top: 8px; opacity: .75; }
.cta-button { white-space: nowrap; }

/* 会社情報: スマホでは項目名の下に内容を置く（住所や団体名が語の途中で折り返さないように） */
@media (max-width: 600px) {
  .company-info__row { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== 3つの特長カード: 絵・見出し・本文の高さを3枚でそろえる（2026-09-20） =====
   原因: カードの高さを3枚でそろえた結果、余った高さが各行に配られて見出しの位置がずれていた。
   対策: 中身は上詰めにし、絵の枠を同じ高さに固定する。 */
.feature-card { align-content: start; grid-template-rows: auto auto 1fr; }
.feature-card__image { height: 120px; max-width: none; width: 100%; display: flex; align-items: center; justify-content: center; }
.feature-card__image img { max-height: 100%; width: auto; max-width: 180px; object-fit: contain; }
.feature-card__title { min-height: 28px; }
.feature-card__text, .feature-card__note { text-align: left; }
.feature-card__note { margin-top: 0; }

/* 注釈のかっこ書きは、必ず1行にまとめて下に出す（かっこの途中で折り返さない） */
.feature-card__note-sub { display: inline-block; white-space: nowrap; }

/* 会社情報の中の外部リンク */
.company-info__link { color: var(--color-cyan); text-decoration: underline; }

/* ===== ヘッダーのロゴ（2026-09-21 追加） ===== */
.site-header__logo { height: 42px; width: auto; display: block; }
.site-header__name { font-family: "Noto Sans JP", sans-serif; }
@media (max-width: 400px) {
  .site-header__logo { height: 36px; }
  .site-header__brand { font-size: 16px; }
}
