@charset "UTF-8";
/* =========================================================
   家族の信託＆土地活用セミナー LP
   ---------------------------------------------------------
   ■ 色・フォント・余白は、まず下の「:root」の値を変えると
     ページ全体にまとめて反映されます。
   ========================================================= */

:root {
  /* ---- メインカラー（グリーン） ---- */
  --color-main: #0c7e7d;        /* ボタン・見出しのグリーン */
  --color-main-hover: #0a6564;  /* ボタンにマウスを乗せたとき */
  --color-main-dark: #095f5e;   /* 濃いグリーンの文字 */
  --color-deep: #0b3d3e;        /* 濃い背景のセクション */
  --color-deep-card: #145a5b;   /* 濃い背景の上のカード */
  --color-on-deep: #8fd3cf;     /* 濃い背景の上の見出し（小） */

  /* ---- 背景色 ---- */
  --color-bg: #ffffff;
  --color-mint: #eef7f6;        /* 薄いミント（セクション背景） */
  --color-mint-strong: #e4f2f0; /* 少し濃いミント（日付ボックスなど） */
  --color-mint-circle: #dff0ee; /* イラスト・アイコンの丸 */
  --color-gray-card: #f6f9f9;   /* お悩みカード */
  --color-cream: #fdf3e2;       /* クリーム（3.5人に1人・参加特典） */

  /* ---- 差し色（オレンジ） ---- */
  --color-orange: #e2711d;      /* 「土 SAT」・特典ラベル */
  --color-orange-text: #c9600f; /* 「約3.5人に1人」の数字 */

  /* ---- 文字色・線 ---- */
  --color-text: #1b2526;
  --color-text-sub: #3b4547;
  --color-text-muted: #4b5759;
  --color-line: #e1ebea;
  --color-line-strong: #cfdddc;

  /* ---- フォント ---- */
  --font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* ---- レイアウト ---- */
  --content-width: 1100px;      /* コンテンツの最大幅 */
  --section-space: 104px;       /* セクションの上下余白 */
  --radius-l: 24px;
  --radius-m: 20px;
  --radius-s: 16px;
}

/* =========================================================
   ベース
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* 追従ヘッダーの高さ分、ページ内リンクの位置をずらす */
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-main); }
a:hover { color: var(--color-main-dark); }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
input, select, textarea, button { font: inherit; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 24px;
}
.section--mint { background: var(--color-mint); }
.section--deep { background: var(--color-deep); color: #ffffff; }

/* ---- セクション見出し ---- */
.section-head { margin-bottom: 36px; }
.section-head--center { text-align: center; }
.section-head__sub {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-main);
}
.section-head__sub--plain { color: var(--color-text); font-size: clamp(22px, 2.6vw, 28px); }
.section-head__sub--on-deep { color: var(--color-on-deep); }
.section-head__title {
  text-wrap: balance;             /* 2行になるときに行の長さをそろえる */
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 40px;
  border: 0;
  border-radius: 999px;
  background: var(--color-main);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--color-main-hover); color: #ffffff; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--color-on-deep); outline-offset: 2px; }
.btn--outline {
  border: 2px solid var(--color-main);
  background: #ffffff;
  color: var(--color-main);
}
.btn--outline:hover { background: var(--color-mint); color: var(--color-main-dark); }
.btn--small { min-height: 44px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; min-height: 60px; font-size: 19px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: sticky; /* スクロールしても上部に固定 */
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow 0.2s ease;
}
.header.is-scrolled { box-shadow: 0 2px 12px rgba(11, 61, 62, 0.08); }
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
}
.header__logo img { width: 220px; height: 52px; object-fit: contain; }
.header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 30px;
  font-size: 17px;
  font-weight: 500;
}
.header__nav a:not(.btn) {
  color: var(--color-text);
  text-decoration: none;
  line-height: 48px;
}
.header__nav a:not(.btn):hover { color: var(--color-main); }

/* =========================================================
   ファーストビュー
   ========================================================= */
.hero { padding: 56px 24px 112px; }
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;           /* 左右の高さをそろえる */
  gap: 40px 56px;
}
.hero__text {
  flex: 1.15 1 500px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* メッセージ（上の3行）：小 → 大 → 小 の順で強弱をつける */
.hero__lead {
  margin-bottom: 14px;
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.hero__lead em { font-style: normal; color: var(--color-orange); }
.hero__title {
  font-size: clamp(40px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
  font-feature-settings: "palt";  /* 約物（、！？）の余白を詰める */
}
.hero__sub {
  margin: 16px 0 22px;            /* 下の余白＝日付ボックスまでの間隔 */
  font-size: 20px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* 日付ボックス（セミナー名＋開催情報をひとまとまりに） */
.date-box {
  overflow: hidden;
  padding: 0 32px 32px;
  border-radius: var(--radius-m);
  background: var(--color-mint-strong);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.date-box__title {
  margin: 0 -32px 6px;            /* 横いっぱいのグリーンの帯 */
  padding: 18px 32px 20px;
  background: var(--color-main);
  color: #ffffff;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.3;
  font-feature-settings: "palt";
}
.date-box__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 32px; }
.date-box__date { display: flex; align-items: flex-end; gap: 12px; line-height: 1; }
.date-box__year { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 700; color: var(--color-main-dark); letter-spacing: 0.08em; }
.date-box__day { font-size: clamp(64px, 6vw, 80px); font-weight: 700; letter-spacing: -0.02em; }
.date-box__week {
  margin-bottom: 8px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--color-orange);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}
.date-box__info { padding-bottom: 4px; line-height: 1.45; }
.date-box__time { margin-bottom: 4px; font-size: 24px; font-weight: 700; }
.date-box__place { font-size: 16px; font-weight: 500; color: var(--color-text-sub); }
.date-box__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 2px; }
.date-box .btn { padding: 0 40px; font-size: 18px; }

/* 参加無料などの項目（枠なし・チェックアイコン付き） */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-main-dark);
}
.tag::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--color-main) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 12.5 10 16.5 18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* 画像スライド（4枚を5秒ずつ表示。合計20秒で1周） */
.hero__visual { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; }
.slides {
  position: relative;
  flex: 1;
  min-height: 420px;              /* 左の文章の高さに合わせて伸びます */
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--color-mint-strong);
}
.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-fade 20s infinite;
}
.slides img:nth-child(1) { object-position: 72% center; }
.slides img:nth-child(1), .slides__dots span:nth-child(1) { animation-delay: -0.6s; } /* 1枚目は最初から表示 */
.slides img:nth-child(2), .slides__dots span:nth-child(2) { animation-delay: 4.4s; }
.slides img:nth-child(3), .slides__dots span:nth-child(3) { animation-delay: 9.4s; }
.slides img:nth-child(4), .slides__dots span:nth-child(4) { animation-delay: 14.4s; }
@keyframes hero-fade {
  0% { opacity: 0; } 3% { opacity: 1; } 25% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; }
}
.slides__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.slides__dots span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-line-strong);
  animation: hero-dot 20s infinite;
}
@keyframes hero-dot {
  0%, 2% { background: var(--color-line-strong); width: 8px; }
  3%, 25% { background: var(--color-main); width: 28px; }
  28%, 100% { background: var(--color-line-strong); width: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .slides img, .slides__dots span { animation: none; }
  .slides img:first-child { opacity: 1; }
}

/* =========================================================
   統計（約3.5人に1人）
   ========================================================= */
.stats { padding-top: 0; }
.stat-panel {
  overflow: hidden;               /* 人型アイコンの足元を枠で切る */
  margin-bottom: 18px;
  padding: 44px 32px 0;
  border-radius: 32px;
  background: var(--color-mint);
  text-align: center;
}
.stat-panel__lead { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; }
.stat-panel__num {
  margin-top: 4px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-main);
  font-feature-settings: "palt";
}
.stat-panel__num b { font-size: clamp(72px, 8.4vw, 120px); letter-spacing: -0.02em; line-height: 1; }
.stat-panel__num span { margin-left: 0.05em; }
.stat-panel__visual {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 28px auto 0;
}
.source-note { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; }

/* =========================================================
   お悩み（左右にカード・中央にイラスト）
   ========================================================= */
.worries { padding-top: 0; }
.worries__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr);
  grid-template-areas:
    "w1 illust w2"
    "w3 illust w4";
  align-items: center;
  gap: 24px 32px;
}
.worry--1 { grid-area: w1; }
.worry--2 { grid-area: w2; }
.worry--3 { grid-area: w3; }
.worry--4 { grid-area: w4; }
.worries__illust { grid-area: illust; width: 100%; height: auto; }
.worry {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 28px 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  background: var(--color-gray-card);
  text-align: center;
}
.worry p { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.65; }

.icon-circle {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-main);
}

/* =========================================================
   認知症になると（濃い背景）
   ========================================================= */
.risks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.risk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 28px 36px;
  border-radius: var(--radius-l);
  background: #ffffff;
  color: var(--color-text);
  text-align: center;
}
.risk img { width: 140px; height: 140px; margin-bottom: 16px; }
.risk__title { font-size: 23px; font-weight: 700; line-height: 1.5; }
.risk__text { font-size: 17px; color: var(--color-text-sub); line-height: 1.6; }
.risks__message {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.5;
}
.risks__message em { font-style: normal; color: var(--color-on-deep); }

/* =========================================================
   家族の信託
   ========================================================= */
.trust__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 40px;
  margin-bottom: 40px;
}
.trust__text { flex: 1 1 360px; min-width: 0; font-size: 19px; line-height: 1.9; }
.trust__text p + p { margin-top: 24px; }

.diagram {
  flex: 1 1 480px;
  min-width: 0;
  padding: 24px 28px;
  border-radius: var(--radius-l);
  background: #ffffff;
}
.diagram img { width: 100%; height: auto; }

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  border-radius: var(--radius-s);
  background: #ffffff;
  font-size: 18px;
  font-weight: 700;
}
.benefit svg { flex: none; color: var(--color-main); }

/* =========================================================
   土地活用
   ========================================================= */
.landuse__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.land-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--color-mint);
}
.land-card__body { padding: 32px 28px 24px; }
.land-card__tag { margin-bottom: 14px; font-size: 15px; font-weight: 700; color: var(--color-main); }
.land-card__title { margin-bottom: 14px; font-size: 28px; font-weight: 700; }
.land-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-main);
  text-decoration: none;
}
.land-card__link:hover { color: var(--color-main-dark); text-decoration: underline; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.land-card__text { font-size: 16px; color: var(--color-text-muted); line-height: 1.9; }
.land-card img { width: 100%; height: 230px; object-fit: cover; margin-top: auto; }

.compare { padding: 24px 20px 0; }
.compare__title { margin-bottom: 16px; font-size: 22px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.compare table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 17px; }
.compare th, .compare td { padding: 20px 16px; border-bottom: 1px solid var(--color-line); text-align: left; }
.compare th:first-child { padding-left: 0; }
.compare thead th {
  padding-top: 10px;
  padding-bottom: 14px;
  border-bottom-color: var(--color-line-strong);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.compare tbody th.is-sub { color: var(--color-text-muted); }
.compare__note { margin-top: 14px; font-size: 14px; color: var(--color-text-muted); }

/* =========================================================
   セミナープログラム
   ========================================================= */
.program__layout { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }
.program__list { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.program__images { flex: 0 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.program__images img { flex: 1 1 200px; width: 100%; min-height: 200px; object-fit: cover; border-radius: var(--radius-m); }

.program-item {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 24px 28px;
  border-radius: var(--radius-m);
  background: #ffffff;
}
.program-item--short { align-items: center; padding-top: 14px; padding-bottom: 14px; }
.program-item__label {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 22px;
  border-radius: 2px;
  background: var(--color-main);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}
.program-item--short .program-item__label { align-self: center; margin-top: 0; }
.program-item__body { flex: 1 1 520px; min-width: 0; }
.program-item__title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; line-height: 1.45; }
.program-item__by { margin: 8px 0; font-size: 16px; }
.program-item ul { padding-left: 1.2em; font-size: 17px; color: var(--color-text-sub); line-height: 1.7; }

/* =========================================================
   講師紹介
   ========================================================= */
.speaker { padding-bottom: 0; }
.speaker__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 48px;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 28px;
  background: var(--color-mint);
}
.speaker__photo {
  flex: 1 1 280px;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 30% center;
  border-radius: var(--radius-m);
}
.speaker__text { flex: 1.3 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.speaker__qual { font-size: 18px; font-weight: 700; color: var(--color-main); }
.speaker__name { font-size: clamp(32px, 3.6vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: 0.04em; }
.speaker__name small { font-size: 0.55em; }
.speaker__org { padding-bottom: 18px; border-bottom: 1px solid var(--color-line-strong); font-size: 19px; line-height: 1.7; }
.speaker__profile { font-size: 18px; line-height: 1.9; color: var(--color-text-sub); }

/* =========================================================
   おすすめ・参加特典
   ========================================================= */
.recommend { padding-top: 112px; }
.recommend__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.checklist {
  list-style: none;
  padding: 32px 28px;
  border-radius: var(--radius-m);
  background: var(--color-mint);
  display: grid;
  gap: 28px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}
.checklist li { display: flex; align-items: center; gap: 18px; }
.checklist .icon-circle { width: 44px; height: 44px; }
.bonus {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 24px;
  border-radius: var(--radius-m);
  background: var(--color-cream);
}
.bonus__label {
  align-self: flex-start;
  padding: 4px 22px;
  border-radius: 999px;
  background: var(--color-orange);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}
.bonus__title { font-size: 26px; font-weight: 700; line-height: 1.4; }
.bonus__text { font-size: 17px; color: var(--color-text-sub); line-height: 1.7; }
.bonus img { width: 100%; height: 180px; margin-top: auto; object-fit: cover; border-radius: var(--radius-s); }

/* =========================================================
   会社の実績（濃い背景）
   ========================================================= */
.company { padding-top: 72px; padding-bottom: 48px; }
.company__label { font-size: 22px; font-weight: 700; }
.company__title { font-size: clamp(36px, 5.2vw, 58px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.company__title sup { font-size: 0.35em; }
.company__lead { margin-top: 18px; font-size: 20px; }
.support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 36px 0;
}
.support__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 16px 36px;
  border-radius: var(--radius-m);
  background: var(--color-deep-card);
  font-size: 19px;
  font-weight: 700;
}
.company__note { font-size: 13px; color: #c5e3e1; line-height: 1.6; }

/* =========================================================
   開催概要
   ========================================================= */
.outline { padding-top: 88px; }
.outline__layout { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.outline__list {
  flex: 1 1 440px;
  align-self: flex-start;
  display: grid;
  grid-template-columns: 110px 1fr;
  font-size: 17px;
}
.outline__list dt, .outline__list dd { padding: 18px 0; border-bottom: 1px solid var(--color-line-strong); }
.outline__list dt { color: var(--color-main); }
.outline__list dd { font-weight: 700; line-height: 1.5; }
.outline__map {
  flex: 1 1 380px;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--color-mint);
}
.outline__map iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }

/* =========================================================
   お申込みフォーム
   ========================================================= */
.apply { padding-top: 72px; padding-bottom: 64px; }
.apply__inner { max-width: 720px; margin: 0 auto; }
.apply__lead { margin-top: 10px; font-size: 18px; color: var(--color-text-muted); }

.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 5vw, 40px);
  border-radius: 28px;
  background: #ffffff;
}
.form__grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.form__field { display: flex; flex-direction: column; gap: 8px; font-size: 17px; font-weight: 700; }
.form__field input,
.form__field select,
.form__field textarea {
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid var(--color-line-strong);
  border-radius: 12px;
  background: #ffffff;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
}
.form__field textarea { padding: 12px 14px; resize: vertical; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus { outline: 2px solid var(--color-main); outline-offset: 1px; border-color: var(--color-main); }
.form__checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.form__checks legend { margin-bottom: 6px; font-size: 16px; font-weight: 700; }
.form__check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; }
.form__check input { width: 22px; height: 22px; accent-color: var(--color-main); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fdecea;
  color: #a12a1b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
.form__error[hidden] { display: none; }
.btn:disabled { opacity: 0.6; cursor: wait; }
.form__privacy { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; }

/* =========================================================
   サンクスページ（thanks.html）
   ========================================================= */
.thanks-page {
  min-height: calc(100vh - 77px);
  padding: 96px 24px 104px;
  background: var(--color-mint);
}
.thanks {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  background: #ffffff;
  text-align: center;
}
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 20px; color: var(--color-main); }
.thanks__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; line-height: 1.4; }
.thanks__text { margin-top: 20px; font-size: 18px; line-height: 1.9; }
.thanks__info {
  margin: 32px 0;
  padding: 24px;
  border-radius: var(--radius-m);
  background: var(--color-mint);
  text-align: left;
}
.thanks__info-title { margin-bottom: 8px; font-size: 18px; font-weight: 700; color: var(--color-main); }
.thanks__info dl { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; font-size: 17px; }
.thanks__info dt { color: var(--color-text-muted); }
.thanks__info dd { font-weight: 700; }
.thanks__note { font-size: 15px; color: var(--color-text-muted); line-height: 1.8; }
.thanks .btn { margin-top: 32px; }

.tel { padding-top: 32px; text-align: center; }
.tel__label { font-size: 17px; color: var(--color-text-muted); }
.tel__number {
  display: inline-block;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-text);
  text-decoration: none;
}
.tel__info { margin-top: 4px; font-size: 15px; color: var(--color-text-muted); }

/* =========================================================
   フッター
   ========================================================= */
.footer { padding: 40px 24px; background: var(--color-mint); font-size: 14px; line-height: 1.8; color: var(--color-text-muted); }
.footer__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-line-strong);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
}
.footer__company { margin-bottom: 4px; font-weight: 700; color: var(--color-text); }

/* =========================================================
   スクロール演出（見出しがふわっと表示される）
   ---------------------------------------------------------
   ・小見出し（緑の文字）：下からふわっと表示
   ・大見出し：左から右へ文字が現れる
   ・他の要素にも付けたいときは、HTMLの class に「reveal」を追加
   ・速さは下の 0.9s / 1.1s、ずらす時間は 0.15s を変更
   ========================================================= */
.js .section-head__sub,
.js .company__label,
.js .hero__lead,
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js .section-head__title,
.js .company__title,
.js .hero__title {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.6s ease 0.15s, clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
}
.js .section-head__title { display: inline-block; }  /* 文字の幅だけで動かす（中央揃えも左から右へ） */
.js .is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0) !important;
}
@media (prefers-reduced-motion: reduce) {
  .js .section-head__sub, .js .company__label, .js .hero__lead, .js .reveal,
  .js .section-head__title, .js .company__title, .js .hero__title {
    opacity: 1; transform: none; clip-path: none !important; transition: none;
  }
}

/* スマホだけで改行する <br class="sp"> */
br.sp { display: none; }

/* =========================================================
   レスポンシブ調整：固定の最小幅をなくし、各画面幅で自然に折り返す
   ========================================================= */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-wrap: anywhere; }
.container, .apply__inner, .header__nav, .header__logo,
.form, .form__grid, .form__field, .form__checks,
.outline__list, .outline__list dd, .outline__map { min-width: 0; }
.container > *, .form__grid > * { min-width: 0; }
.btn { max-width: 100%; padding-top: 12px; padding-bottom: 12px; line-height: 1.5; text-align: center; }
.header__logo { flex: none; }
.header__nav { flex-wrap: nowrap; gap: 24px; }
.header__nav .btn { white-space: nowrap; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; }
.hero__title { font-size: clamp(36px, 4.1vw, 56px); }
.hero__visual { min-width: 0; }
.risks__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landuse__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.land-card__body { padding: 28px 24px 24px; }
.land-card__title { font-size: clamp(23px, 2.4vw, 28px); line-height: 1.5; }
.land-card__tag { line-height: 1.7; }
.program__layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; }
.program__images img { min-width: 0; }
.program-item { display: grid; grid-template-columns: 1fr; gap: 12px; }
.program-item__label { justify-self: start; }
.program-item--short { grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
.speaker__box { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); }
.recommend__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.support { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.support__item { text-align: center; }
.outline__layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.outline__list { grid-template-columns: 88px minmax(0, 1fr); }
.form__field input, .form__field select, .form__field textarea { width: 100%; min-width: 0; max-width: 100%; }
.form__checks { max-width: 100%; }
.form__checks legend { max-width: 100%; padding: 0; line-height: 1.6; }
.form__check { line-height: 1.65; }
.form__check input { flex: 0 0 22px; margin: 0; }
.form__check:has(input:required) { align-items: flex-start; }
.form__check:has(input:required) input { margin-top: 4px; }
.table-wrap { max-width: 100%; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--color-main); outline-offset: 4px; }
.compare__scroll-hint { display: none; margin: -4px 0 12px; font-size: 13px; color: var(--color-main); }
.footer__inner > div { min-width: 0; flex: 1 1 360px; }

/* タブレット：ヘッダーの折り返しや、細くなりすぎる段組みを解消 */
@media (max-width: 1100px) {
  .header__inner { flex-wrap: nowrap; gap: 16px; }
  .header__nav a:not(.btn) { display: none; }
  .hero__inner { gap: 28px; }
  .date-box { padding: 0 24px 24px; }
  .date-box__title { margin: 0 -24px 4px; padding: 16px 24px; font-size: 26px; }
  .date-box__row { gap: 16px; }
  .date-box__time { font-size: 22px; }
  .worries__layout { grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr); gap: 18px; }
  .worry { padding: 24px 16px; }
  .risk { padding: 28px 18px; }
  .risk__title { font-size: 21px; }
  .benefits { gap: 14px; }
  .benefit { padding: 22px 16px; gap: 10px; font-size: 16px; }
  .land-card__body { padding: 24px 20px; }
  .program__layout { grid-template-columns: minmax(0, 1fr) 200px; }
  .speaker__box { gap: 28px; }
  .support__item { font-size: 17px; }
}
@media (min-width: 761px) and (max-width: 960px) {
  :root { --section-space: 80px; }
  .hero { padding-top: 40px; padding-bottom: 80px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: 48px; }
  .hero__visual .slides { flex: none; min-height: 0; height: 360px; }
  .date-box__row { gap: 20px 32px; }
  .trust__body, .outline__layout { grid-template-columns: minmax(0, 1fr); }
  .diagram { max-width: 680px; width: 100%; margin: 0 auto; }
  .risks__grid { gap: 14px; }
  .risk img { width: 110px; height: 110px; }
  .risk__text { font-size: 16px; }
  .program__layout { grid-template-columns: minmax(0, 1fr); }
  .program__images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program__images img { height: 210px; min-height: 0; }
  .recommend__grid { grid-template-columns: minmax(0, 1fr); }
}

/* スマホ：余白・本文・カード・フォームを同じリズムに統一 */
@media (max-width: 760px) {
  :root { --section-space: 60px; --radius-l: 20px; --radius-m: 18px; }
  html { scroll-padding-top: 76px; }
  body { font-size: 16px; line-height: 1.85; letter-spacing: 0.015em; }
  .section { padding-left: 20px; padding-right: 20px; }
  .section-head { margin-bottom: 26px; }
  .section-head__sub, .section-head__sub--plain { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
  .section-head__title { max-width: 100%; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.5; text-wrap: pretty; }
  .header__inner { padding: 10px 16px; gap: 12px; }
  .header__logo { flex-shrink: 1; }
  .header__logo img { width: 150px; max-width: 100%; height: auto; }
  .header__nav { flex: none; }
  .header .btn--small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
  .hero { padding: 26px 20px 56px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero__lead { margin-bottom: 10px; font-size: 16px; letter-spacing: 0; }
  .hero__title { font-size: clamp(26px, 7.4vw, 38px); line-height: 1.4; }
  .hero__sub { margin: 12px 0 22px; font-size: 15px; line-height: 1.8; }
  .date-box { padding: 0 18px 20px; gap: 16px; border-radius: 18px; }
  .date-box__title { margin: 0 -18px; padding: 14px 18px; font-size: clamp(18px, 4.8vw, 24px); line-height: 1.6; }
  .date-box__row { gap: 16px 20px; align-items: center; }
  .date-box__date { gap: 8px; }
  .date-box__year { font-size: 13px; margin-bottom: 4px; }
  .date-box__day { font-size: 58px; }
  .date-box__week { margin-bottom: 4px; padding: 4px 9px; font-size: 12px; white-space: nowrap; }
  .date-box__info { padding: 0; }
  .date-box__time { margin-bottom: 4px; font-size: 22px; }
  .date-box__place { font-size: 13px; line-height: 1.7; }
  .date-box__foot { align-items: stretch; margin: 0; gap: 16px; }
  .tags { gap: 6px 14px; }
  .tag { gap: 5px; font-size: 13px; }
  .tag::before { width: 16px; height: 16px; background-size: 10px; }
  .date-box .btn { min-height: 48px; padding: 10px 18px; font-size: 16px; }
  .hero__visual { width: 100%; }
  .slides { flex: none; height: auto; aspect-ratio: 16 / 10; min-height: 0; border-radius: 18px; }
  .slides__dots { margin-top: 12px; }
  .stat-panel { padding: 26px 14px 0; border-radius: 20px; }
  .stat-panel__lead { font-size: 14px; line-height: 1.8; }
  .stat-panel__num { margin-top: 12px; font-size: 22px; }
  .stat-panel__num b { font-size: clamp(50px, 14vw, 70px); }
  .stat-panel__num span { display: block; margin: 10px 0 0; font-size: 20px; line-height: 1.6; }
  .stat-panel__visual { margin-top: 22px; }
  .source-note { font-size: 12px; line-height: 1.8; }
  .worries__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "illust" "w1" "w2" "w3" "w4"; gap: 12px; }
  .worries__illust { width: 150px; margin: 0 auto 8px; }
  .worry { min-height: 0; padding: 20px 16px; }
  .worry p { font-size: 17px; line-height: 1.8; }
  .risks__grid, .benefits, .landuse__grid, .trust__body,
  .recommend__grid, .outline__layout, .speaker__box,
  .program__layout { grid-template-columns: minmax(0, 1fr); }
  .risks__grid { gap: 16px; margin-bottom: 28px; }
  .risk { padding: 26px 20px; gap: 10px; }
  .risk img { width: 112px; height: 112px; margin-bottom: 6px; }
  .risk__title { font-size: 21px; }
  .risk__text { font-size: 16px; line-height: 1.8; }
  .risks__message { font-size: 22px; line-height: 1.8; }
  .trust__body { gap: 24px; margin-bottom: 24px; }
  .trust__text { font-size: 16px; line-height: 1.95; }
  .trust__text p + p { margin-top: 18px; }
  .diagram { padding: 18px 14px; }
  .diagram picture { display: block; max-width: 360px; margin: 0 auto; }
  .benefits { gap: 12px; }
  .benefit { padding: 20px; font-size: 16px; gap: 14px; }
  .landuse__grid { gap: 20px; margin-bottom: 28px; }
  .land-card__body { padding: 24px; }
  .land-card__tag { margin-bottom: 8px; font-size: 13px; }
  .land-card__title { margin-bottom: 12px; font-size: 24px; }
  .land-card__text { font-size: 16px; }
  .land-card img { height: auto; aspect-ratio: 16 / 10; }
  .compare { padding: 8px 0 0; }
  .compare__title { font-size: 21px; }
  .compare__scroll-hint { display: block; }
  .compare table { min-width: 640px; font-size: 15px; }
  .compare th, .compare td { padding: 16px 14px; }
  .compare tbody th { white-space: nowrap; }
  .compare__note { font-size: 12px; line-height: 1.8; }
  .program__layout { gap: 22px; }
  .program-item { padding: 22px 20px; gap: 14px; }
  .program-item__label { margin-top: 0; padding: 3px 16px; font-size: 14px; }
  .program-item__title { font-size: 20px; line-height: 1.7; }
  .program-item__by { margin: 12px 0; font-size: 14px; line-height: 1.8; }
  .program-item ul { font-size: 15px; line-height: 1.85; }
  .program-item li + li { margin-top: 6px; }
  .program-item--short { grid-template-columns: 1fr; }
  .program__images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .program__images img { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 12px; }
  .speaker__box { padding: 22px; gap: 24px; }
  .speaker__photo { width: 100%; max-width: 360px; margin: 0 auto; }
  .speaker__text { gap: 12px; }
  .speaker__qual { font-size: 15px; }
  .speaker__name { font-size: 32px; }
  .speaker__org { font-size: 16px; padding-bottom: 16px; }
  .speaker__profile { font-size: 16px; line-height: 1.95; }
  .recommend { padding-top: 60px; }
  .recommend__grid { gap: 20px; }
  .checklist { padding: 24px 20px; gap: 22px; font-size: 16px; line-height: 1.8; }
  .checklist li { align-items: flex-start; gap: 12px; }
  .checklist .icon-circle { width: 32px; height: 32px; margin-top: 2px; }
  .checklist br { display: none; }
  .bonus { padding: 24px 20px; gap: 14px; }
  .bonus__title { font-size: 23px; line-height: 1.6; }
  .bonus__text { font-size: 16px; line-height: 1.85; }
  .bonus img { margin-top: 4px; height: auto; aspect-ratio: 16 / 9; }
  .company { padding-top: 52px; padding-bottom: 44px; }
  .company__label { font-size: 17px; margin-bottom: 8px; }
  .company__title { font-size: clamp(28px, 7.5vw, 36px); line-height: 1.5; }
  .company__lead { font-size: 16px; line-height: 1.9; }
  .support { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
  .support__item { padding: 24px 10px; gap: 14px; font-size: 14px; line-height: 1.7; }
  .support__item svg { width: 36px; height: 36px; }
  .company__note { font-size: 12px; line-height: 1.8; }
  .outline { padding-top: 60px; }
  .outline__layout { gap: 26px; }
  .outline__list { grid-template-columns: 60px minmax(0, 1fr); column-gap: 12px; font-size: 15px; }
  .outline__list dt, .outline__list dd { padding: 16px 0; line-height: 1.8; }
  .outline__map { min-height: 0; aspect-ratio: 4 / 3; }
  .outline__map iframe { min-height: 0; height: 100%; }
  .apply { padding-top: 52px; padding-bottom: 48px; }
  .apply__lead { font-size: 15px; line-height: 1.85; }
  .form { padding: 26px 20px; border-radius: 20px; gap: 22px; }
  .form__field { font-size: 15px; gap: 8px; }
  .form__field input, .form__field select, .form__field textarea { font-size: 16px; min-height: 52px; padding-left: 12px; padding-right: 12px; border-radius: 10px; }
  .form__checks { gap: 6px 16px; }
  .form__checks legend { font-size: 15px; }
  .form__check { font-size: 15px; gap: 10px; }
  .form__checks .form__check { align-items: flex-start; padding-top: 8px; }
  .form__checks .form__check input { margin-top: 2px; }
  .form .btn--block { padding: 14px 12px; min-height: 54px; font-size: 16px; }
  .form__privacy { font-size: 12px; line-height: 1.85; }
  .tel { padding-top: 28px; }
  .tel__label { font-size: 15px; }
  .tel__number { font-size: clamp(27px, 8vw, 36px); }
  .tel__info { margin-top: 10px; font-size: 13px; line-height: 1.9; }
  .footer { padding: 0 20px 32px; font-size: 12px; }
  .footer__inner { padding-top: 24px; gap: 18px; }
  br.sp { display: inline; }
  .thanks-page { padding: 32px 16px 60px; }
  .thanks { padding: 32px 20px; border-radius: 20px; }
  .thanks__icon { width: 56px; height: 56px; }
  .thanks__title { font-size: 24px; }
  .thanks__text { font-size: 16px; }
  .thanks__info { margin: 24px 0; padding: 18px 16px; }
  .thanks__info-title { font-size: 16px; }
  .thanks__info dl { grid-template-columns: minmax(0, 1fr); gap: 0; font-size: 15px; }
  .thanks__info dd { margin-bottom: 8px; }
  .thanks__note { font-size: 14px; text-align: left; }
  .thanks__note br { display: none; }
}
@media (max-width: 360px) {
  .header__inner { padding: 10px 12px; gap: 8px; }
  .header__logo img { width: 130px; }
  .header .btn--small { padding: 8px 12px; font-size: 12px; }
  .section, .hero { padding-left: 16px; padding-right: 16px; }
  .form { padding: 24px 16px; }
  .date-box__title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
