/* ===== テラカルト 公式サイト 共通スタイル ===== */

:root {
  --cream: #fbf4f0;
  --paper: #ffffff;
  --teal: #c9ded9;
  --teal-deep: #8fb8af;
  --coral: #dd7059;
  --coral-soft: #f2bcab;
  --navy: #1e3d4f;
  --navy-dark: #16303f;
  --ink: #26333a;
  --ink-soft: #5b6b73;
  --line: #e7ddd6;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overscroll-behavior-x: none; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  /* 埋め込み地図を横ドラッグした時にブラウザの「前のページへ戻る」
     スワイプが誤発動しないようにする */
  overscroll-behavior-x: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a.text-link {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.header-nav a.text-link:hover { color: var(--navy); }

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  padding: 10px 26px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: var(--navy-dark); }

.btn.large {
  font-size: 1.05rem;
  padding: 14px 40px;
}

/* ===== レスポンシブ・ナビ ===== */
/* 幅が狭くなったら、ナビの文字と間隔を自動で縮める（折り返さないように） */
.header-nav { gap: clamp(8px, 2.2vw, 20px); }
.header-nav a.text-link { font-size: clamp(0.74rem, 2vw, 0.92rem); white-space: nowrap; }
.header-nav .btn {
  font-size: clamp(0.74rem, 1.9vw, 0.95rem);
  padding: clamp(7px, 1.4vw, 10px) clamp(14px, 2.6vw, 26px);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ハンバーガーボタン（通常は非表示、狭い画面だけ表示） */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  padding: 9px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.2s;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 狭くなりすぎたら、ナビをハンバーガー内のドロップダウンに切り替える */
@media (max-width: 600px) {
  .site-header .inner { position: relative; }
  .nav-toggle { display: block; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    padding: 6px 0;
  }
  .site-header.nav-open .header-nav { display: flex; }
  .header-nav a.text-link,
  .header-nav .btn {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 14px 24px;
    text-align: left;
    white-space: normal;
  }
  .header-nav .btn {
    background: transparent;
    color: var(--navy);
    letter-spacing: 0.06em;
    font-weight: 700;
  }
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  background: var(--cream) url("../img/topo.svg") center / cover no-repeat;
  overflow: hidden;
}

.hero .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 90px 24px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
}

.hero-copy { flex: 1 1 380px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 3.8rem);
  letter-spacing: 0.14em;
  line-height: 1.7;
}

.hero h1 .indent { display: inline-block; padding-left: 2.5em; }

.hero-sub {
  margin-top: 22px;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.9;
  color: var(--ink-soft);
}

.hero .cta { margin-top: 40px; }

/* ヒーローのスマホモックアップ */
.hero-visual { flex: 0 0 auto; display: flex; justify-content: center; }

.phone-mock {
  width: clamp(196px, 40vw, 248px);
  aspect-ratio: 9 / 19;
  background: var(--navy);
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 26px 54px rgba(30, 61, 79, 0.28);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(160deg, #00AEEF 0%, #0090c8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
}

.phone-screen img {
  width: 46%;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.phone-appname {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

/* ===== セクション共通 ===== */
.section { padding: 90px 0; }
.section.alt { background: var(--paper); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 64px;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--coral);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* ===== 特徴カード ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 28px 36px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 61, 79, 0.1);
}

.feature-num {
  font-family: var(--serif);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: left;
}

.feature-icon { margin: 0 auto 18px; width: 96px; height: 96px; }

/* ===== ダウンロード帯 / ダウンロードページ ===== */
.dl-band {
  background: #b8cdd6;
}

.dl-band .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}

.dl-band .app-icon {
  width: 168px;
  height: 168px;
  border-radius: 36px;
  box-shadow: 0 14px 36px rgba(22, 48, 63, 0.25);
}

.dl-band .copy { text-align: left; }

.dl-band .copy .lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  letter-spacing: 0.1em;
}

.dl-band .copy .genre {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.22em;
  margin-top: 6px;
}

.dl-band .copy .app-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.16em;
  margin-top: 10px;
}

.store-section { text-align: center; }

.store-lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 44px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* 画面が狭くなっても縦積みにせず、横並びのまま縮める */
  flex-wrap: nowrap;
  gap: clamp(8px, 2.5vw, 28px);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 12px);
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: clamp(8px, 1.6vw, 12px) clamp(10px, 2.8vw, 26px);
  /* 220px固定をやめ、狭い時は縮めるようにする */
  min-width: 0;
  flex: 0 1 auto;
  transition: opacity 0.2s;
}

.store-badge:hover { opacity: 0.82; }

.store-badge svg {
  width: clamp(22px, 4.5vw, 32px);
  height: clamp(22px, 4.5vw, 32px);
  flex-shrink: 0;
}

.store-badge .txt { text-align: left; line-height: 1.3; min-width: 0; }
.store-badge .txt small { font-size: clamp(0.55rem, 1.5vw, 0.7rem); display: block; white-space: nowrap; }
.store-badge .txt span { font-size: clamp(0.85rem, 2.7vw, 1.25rem); font-weight: 600; white-space: nowrap; }

/* ===== イベント主催者向けセクション ===== */
.audience {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 44px;
}

.audience .chip {
  background: var(--paper);
  border: 1.5px solid var(--teal-deep);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 0.9rem;
  font-weight: 600;
}

.event-points {
  list-style: none;
  padding: 0;
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.event-points li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.event-points li::before {
  content: "✓";
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

.event-points b {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

.btn.ghost {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn.ghost:hover { background: var(--navy); color: #fff; }

/* ===== マップ実例セクション ===== */
.map-demo-lead {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: -44px 0 40px;
}

.map-embed {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(30, 61, 79, 0.14);
  background: var(--cream);
}

.map-embed::before {
  content: "地図を読み込んでいます…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.map-embed iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 624px;
  border: 0;
}

.map-demo-cta { text-align: center; margin-top: 36px; }

@media (max-width: 820px) {
  .map-embed iframe { height: 504px; }
}

/* ===== SNSリンク ===== */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 26px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.2s, background 0.2s;
}

.footer-social a:hover { transform: translateY(-2px); background: var(--teal); }

.footer-social svg { width: 22px; height: 22px; fill: var(--navy); }

/* ===== 料金ページ ===== */
.pricing-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: -44px 0 56px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 36px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px 32px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.price-card.recommended {
  border: 2px solid var(--coral);
  box-shadow: 0 16px 40px rgba(221, 112, 89, 0.14);
}

.price-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 5px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.price-amount {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.price-amount small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.price-features li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.price-features .val { font-weight: 600; }
.price-features .val.ok { color: #2e9e63; }
.price-features .val.none { color: var(--ink-soft); font-weight: 400; }

.pricing-footnote {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-top: 44px;
}

@media (max-width: 820px) {
  .pricing { grid-template-columns: minmax(0, 420px); }
}

/* ===== 料金：3プラン比較表 ===== */
/* 横幅が足りない端末では表だけ横スクロールさせる（本文は横に流さない） */
.plan-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 900px;
}

.plan-table {
  width: 100%;
  min-width: 620px;
  /* 列幅を固定。中身の文字数で列幅が変わると
     「無料」列だけ極端に狭くなって読みにくいため */
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.plan-table th,
.plan-table td {
  border-bottom: 1px solid var(--line);
  padding: 15px 14px;
  font-size: 0.95rem;
  text-align: center;
  vertical-align: middle;
}

.plan-table tbody tr:last-child th,
.plan-table tbody tr:last-child td { border-bottom: none; }

/* 左端の項目名だけ左寄せ */
.plan-table tbody th {
  text-align: left;
  font-weight: 500;
  width: 34%;
  background: rgba(0, 0, 0, 0.015);
}

/* プラン3列は均等（34% + 22%×3） */
.plan-table thead th:not(:first-child),
.plan-table tbody td { width: 22%; }

.plan-table thead th {
  background: var(--navy);
  color: #fff;
  padding: 22px 14px 20px;
  border-bottom: none;
}

.plan-table thead th:first-child { background: var(--navy); }

.plan-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.plan-price {
  display: block;
  font-family: var(--serif);
  /* 列幅に収まるよう画面幅に合わせて縮める */
  font-size: clamp(0.86rem, 2.4vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

/* 「/月」は必ず金額の下の行へ（横に並べると列からはみ出す） */
.plan-price small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.85;
}

.plan-table .ok { color: #2e9e63; font-weight: 700; }
.plan-table .no { color: var(--ink-soft); }
.plan-table .note { font-size: 0.88rem; color: var(--ink-soft); }

/* 行ごとに薄く色を振ってどの列を見ているか分かりやすくする */
.plan-table tbody tr:nth-child(even) td,
.plan-table tbody tr:nth-child(even) th { background: rgba(0, 0, 0, 0.022); }

/* 項目名の補足（「リンク共有・QR」など）は小さく2行目に */
.plan-table tbody th small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* スマホでは横スクロールさせず1画面に収める。
   （横スクロールするとプラン名の見出しを見失って比較できないため） */
@media (max-width: 700px) {
  .plan-table { min-width: 0; }
  .plan-table th,
  .plan-table td { padding: 12px 6px; font-size: 0.84rem; }
  .plan-table tbody th { width: 36%; padding-left: 10px; }
  .plan-table tbody th small { font-size: 0.72rem; }
  .plan-table thead th { padding: 16px 6px 14px; }
  .plan-name { font-size: 0.8rem; letter-spacing: 0; margin-bottom: 5px; }
  /* 金額は列幅からはみ出さないよう小さめ＋改行しない */
  .plan-price small { font-size: 0.66rem; }
  .plan-table .note { font-size: 0.78rem; }
}

/* ===== 法的文書ページ ===== */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}

.legal h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 48px;
}

.legal h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--coral);
  margin: 18px auto 0;
  border-radius: 2px;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin: 44px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--teal-deep);
}

.legal p, .legal li {
  font-size: 0.93rem;
  color: var(--ink);
}

.legal ol, .legal ul { padding-left: 1.6em; }
.legal ol > li, .legal ul > li { margin-bottom: 8px; }
.legal .note { color: var(--ink-soft); font-size: 0.85rem; }

.legal .enacted {
  margin-top: 56px;
  text-align: right;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ===== お問い合わせフォーム ===== */
.inquiry-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}

.inquiry-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 48px;
}

.inquiry-wrap h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--coral);
  margin: 18px auto 0;
  border-radius: 2px;
}

.form-group { margin-bottom: 26px; }

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group label .req { color: var(--coral); margin-left: 4px; }

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--teal-deep);
  border-color: transparent;
}

.form-group textarea { min-height: 180px; resize: vertical; }

.form-submit { text-align: center; margin-top: 36px; }

/* ===== フッター ===== */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 48px 24px 40px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover { color: var(--navy); text-decoration: underline; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }

.copyright { font-size: 0.8rem; color: var(--ink-soft); }

/* ===== レスポンシブ ===== */
@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  /* 狭い画面ではコピーの下にスマホを縦積み・中央寄せ */
  .hero .inner {
    padding: 60px 24px 80px;
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-copy { flex: none; }
  .hero-sub { margin-left: auto; margin-right: auto; max-width: 460px; }
  .hero h1 .indent { padding-left: 1.2em; }
  .section { padding: 64px 0; }
  .dl-band .copy { text-align: center; }
}

/* ===== アプリ紹介ページ（ハンコメーカー / 透過メーカー）===== */
.hero-lead {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.app-note {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px;
  font-size: 0.95rem;
  line-height: 1.9;
}

.app-note p { margin: 0; }
.app-note p + p { margin-top: 12px; }
.app-note .note { font-size: 0.86rem; }

/* ===== ユーザー種別で分ける導線・セクション（2026-07-30 LP再構成） ===== */
/* ヒーロー直下の2つの入口 */
.pathways { padding: 56px 0 8px; }
.path-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.path-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px 22px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(30, 61, 79, 0.12);
  border-color: var(--teal-deep);
}
.path-emoji { font-size: 1.8rem; line-height: 1; }
.path-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 12px 0 8px;
  color: var(--navy);
}
.path-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.8; }
.path-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--coral);
}

/* 料金バッジ（無料 / 有料） */
.path-badge,
.tag {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  white-space: nowrap;
  vertical-align: middle;
}
.path-badge { position: absolute; top: 20px; right: 18px; }
.path-badge.free, .tag.free { background: var(--teal); color: var(--navy); }
.path-badge.paid, .tag.paid { background: var(--coral-soft); color: #8a3520; }
.tag { margin-left: 6px; }
.feature-card .tag { margin: 0 0 6px; }

/* ユーザー種別セクションの見出しラベル */
.audience-label {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
/* 主催者向けは背景を変えて視覚的に分ける */
.audience-section.organizers { background: var(--cream); }

@media (max-width: 820px) {
  .path-cards { grid-template-columns: 1fr; }
  .pathways { padding: 40px 0 4px; }
}

/* ===== 招待リンクの受け皿ページ ===== */
.join-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 48px 28px 40px;
  text-align: center;
}

.join-icon { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 22px; }

.join-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3.4vw, 1.6rem);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.join-lead { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 28px; }

.join-actions { margin-bottom: 22px; }

.join-note {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.8;
  margin-bottom: 26px;
}

/* ===== 料金：イベント（都度課金）ブロック ===== */
.pricing-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  letter-spacing: 0.1em;
  text-align: center;
  margin: 64px 0 16px;
}

.pricing-lead {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 30px;
}

.event-plan-table tbody th { width: 26%; }
.event-plan-table .price-cell {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* つくる → ためす → ひらく の3ステップ */
.event-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 32px auto 0;
}

.event-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.event-step b {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 10px 0 6px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1rem;
}

.pricing-caution {
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 16px 20px;
  background: rgba(221, 112, 89, 0.08);
  border-left: 3px solid var(--coral);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

