/* 2026-10 サイト再構成：複数ページ共通の部品 */

/* ヘッダー：全ページ共通ナビ。スマホでも横スクロールで表示 */
.site-header {
  flex-wrap: wrap;
}

.nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 700;
}

.nav .nav-cta {
  padding: 8px 14px;
  color: var(--white);
  background: #06c755;
  border-radius: 6px;
  font-weight: 700;
}

.nav .nav-cta:hover {
  color: var(--white);
  background: #05b64e;
}

@media (max-width: 980px) {
  .nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
}

/* パンくず */
.breadcrumb {
  padding: 14px clamp(18px, 5vw, 72px) 0;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 下層ページのヒーロー */
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 520px;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: var(--white);
  background: var(--green);
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 48, 43, 0.88), rgba(49, 92, 72, 0.55), rgba(36, 48, 43, 0.15));
}

.page-hero.plain {
  min-height: 380px;
  background: linear-gradient(120deg, #24302b, #315c48 60%, #6f8f3f);
}

.page-hero.plain::before {
  display: none;
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-hero .eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(36, 48, 43, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* トップ：個人／法人の入口 */
.entry-section {
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 72px) 0;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.entry-card {
  position: relative;
  display: flex;
  min-height: 300px;
  overflow: hidden;
  align-items: end;
  border-radius: 8px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 48, 43, 0.1), rgba(36, 48, 43, 0.88));
  transition: background 0.2s;
}

.entry-card:hover::before {
  background: linear-gradient(180deg, rgba(36, 48, 43, 0.2), rgba(36, 48, 43, 0.94));
}

.entry-card > div {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 4vw, 34px);
}

.entry-card .entry-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  color: var(--ink);
  background: #f2cf83;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.entry-card h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
}

.entry-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.entry-card .entry-more {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.entry-card.personal {
  background-image: url("/assets/seijin-red-umbrella.jpg");
}

.entry-card.business {
  background-image: url("/assets/event-brassband.jpg");
}

/* メニューカード（価格つき・リンクつき） */
.menu-group + .menu-group {
  margin-top: clamp(40px, 6vw, 64px);
}

.menu-group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.menu-group-title h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
}

.menu-group-title a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-card .menu-noimg {
  display: grid;
  place-items: center;
  height: 120px;
  color: var(--green);
  background: var(--soft);
  font-family: Georgia, serif;
  font-size: 15px;
}

.menu-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.menu-card h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.menu-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.menu-card .menu-price {
  margin-top: auto;
  padding-top: 14px;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
}

.menu-card .menu-price strong {
  font-family: Georgia, serif;
  font-size: 26px;
}

.menu-card .menu-link {
  margin-top: 10px;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 料金プラン（3段・2段） */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  align-items: stretch;
}

.tier-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tier-card.featured {
  border: 2px solid var(--gold);
}

.tier-card .tier-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  padding: 4px 10px;
  color: var(--white);
  background: var(--gold);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.tier-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 20px;
}

.tier-card .tier-for {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tier-card .tier-price {
  margin: 14px 0 0;
  font-weight: 700;
}

.tier-card .tier-price strong {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1;
}

.tier-card .tier-price small {
  color: var(--muted);
  font-size: 12px;
}

.tier-card ul {
  flex: 1;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.tier-card li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}

.tier-card li + li {
  margin-top: 8px;
}

.tier-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--leaf);
  font-weight: 800;
}

.tier-card li.plus {
  font-weight: 700;
}

.tier-card .tier-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* 料金表 */
.price-block + .price-block {
  margin-top: clamp(36px, 5vw, 56px);
}

.price-block h3 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 30px);
}

.price-block .price-sub {
  margin: 0 0 14px;
  color: var(--muted);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  color: var(--white);
  background: var(--green);
  font-size: 14px;
}

.price-table td.price {
  white-space: nowrap;
  color: var(--green);
  font-weight: 800;
}

.price-table td a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-notes {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

/* 強調ボックス */
.highlight-box {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(280px, 1fr);
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(24px, 5vw, 44px);
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.highlight-box .eyebrow {
  margin-bottom: 8px;
}

.highlight-box h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.highlight-box p {
  margin: 0;
  color: var(--muted);
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
}

.highlight-box li + li {
  margin-top: 8px;
}

.highlight-box .free-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  color: var(--white);
  background: var(--gold);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

/* 竹田企画への案内 */
.partner-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 36px);
  background: #f4f1ea;
  border: 1px solid #e3dccd;
  border-radius: 8px;
}

.partner-card h3 {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 26px);
}

.partner-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.partner-card .button {
  color: var(--white);
  background: #111827;
}

/* 悩み・用途リスト */
.check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 17px;
}

.check-list span {
  color: var(--muted);
  font-size: 14px;
}

/* 違いの比較表 */
.compare-table {
  width: 100%;
  max-width: 900px;
  margin-top: 24px;
  border-collapse: collapse;
  background: var(--white);
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  color: var(--green);
  background: var(--soft);
}

.compare-table tbody th {
  width: 22%;
  color: var(--muted);
  font-weight: 700;
}

.section-note {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
}

/* フッター（全ページ共通） */
.site-footer {
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-operator {
  width: 100%;
  margin-top: 8px !important;
  font-size: 12px;
}

.footer-operator a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .menu-grid,
  .tier-grid,
  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .highlight-box,
  .partner-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .entry-grid,
  .menu-grid,
  .tier-grid,
  .tier-grid.two,
  .check-list {
    grid-template-columns: 1fr;
  }
  .entry-card {
    min-height: 240px;
  }
  .page-hero {
    min-height: 440px;
  }
  .page-hero.plain {
    min-height: 320px;
  }
  .price-table thead {
    display: none;
  }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tr {
    border-bottom: 1px solid var(--line);
  }
  .price-table td {
    border: 0;
    padding: 6px 16px;
  }
  .price-table td:first-child {
    padding-top: 14px;
    font-weight: 700;
  }
  .price-table td:last-child {
    padding-bottom: 14px;
  }
  .compare-table tbody th {
    width: 30%;
  }
}

/* 成人式：キャンペーン補足 */
.campaign-sub {
  display: block;
  font-weight: 400;
  margin: 8px 0 0;
  font-size: 14px;
  opacity: 0.9;
}
.tier-note a {
  color: var(--green);
  text-decoration: underline;
}

.menu-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.entry-card.business {
  background-image: linear-gradient(120deg, #24302b, #315c48 60%, #6f8f3f);
}
.highlight-box h3 {
  font-size: clamp(22px, 2.4vw, 30px);
}
@media (max-width: 980px) {
  .menu-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .menu-grid.four { grid-template-columns: 1fr; }
}
.menu-card img,
.menu-card .menu-noimg {
  flex-shrink: 0;
}
.section-note .menu-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 640px) {
  .hero h1 { font-size: 38px; }
}

/* AI生成イメージの表記 */
.ai-note {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 8px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.38);
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.6;
}
.menu-img {
  position: relative;
  flex-shrink: 0;
  margin: 0;
}
.menu-img img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.page-hero > .ai-note {
  right: 16px;
  bottom: 12px;
}
.entry-card.business {
  background-image: url("/assets/ai-biz-president.jpg");
  background-position: 60% 35%;
}
.entry-card .ai-note {
  top: 10px;
  bottom: auto;
}
