@charset "UTF-8";
/* ============================================================
   KAMEOKA CUBE・井上商店
   ============================================================ */

:root {
  --green-900: #14532d;
  --green-700: #1f7a45;   /* 白文字を載せる濃い緑（白とのコントラスト 5.3:1） */
  --green-500: #3fae5f;
  --green-300: #9bd9a3;
  --green-100: #e6f6e6;
  --green-50:  #f4fbf2;
  --yellow:    #ffd447;
  --yellow-soft: #fff5cc;
  --orange:    #ff8a3d;
  --text:      #23332a;
  --text-sub:  #4d5f54;
  --line:      #d5e8d4;
  --white:     #fff;
  --radius:    18px;
  --shadow:    0 6px 0 rgba(31, 122, 69, .15);
  --font-ja:   "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Meiryo", sans-serif;
  --font-en:   "Poppins", "Zen Maru Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .03em;
}

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

a { color: var(--green-700); }
a:hover { color: var(--green-900); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 未確定の情報（お客様に確認中） */
.tbd {
  display: inline-block;
  padding: 0 .6em;
  border: 2px dashed var(--orange);
  border-radius: 6px;
  background: #fff4ec;
  color: #b4500f;
  font-size: .85em;
  line-height: 1.7;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 3px solid var(--green-100);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark {
  position: relative; width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px; background: var(--green-500);
  box-shadow: 4px 4px 0 var(--yellow);
}
.logo-mark::before {
  content: ""; position: absolute; inset: 9px;
  border: 3px solid var(--white); border-radius: 4px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-en { font-family: var(--font-en); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.logo-ja { font-size: .9rem; font-weight: 700; color: var(--text-sub); letter-spacing: .08em; }

.main-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; align-items: center; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: .95rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--green-100); color: var(--green-900); }
.main-nav .nav-cta a { background: var(--green-700); color: var(--white); margin-left: 6px; }
.main-nav .nav-cta a:hover { background: var(--green-900); color: var(--white); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--green-100); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 24px; height: 3px; border-radius: 2px;
  background: var(--green-900); content: ""; transition: transform .25s, top .25s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 12px 32px; border-radius: 999px;
  font-family: inherit; font-size: 1.05rem; font-weight: 700; text-decoration: none;
  border: 3px solid var(--green-700); transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 5px 0 var(--green-900); }
.btn-primary:hover { color: var(--white); transform: translateY(2px); box-shadow: 0 3px 0 var(--green-900); }
.btn-secondary { background: var(--white); color: var(--green-700); box-shadow: 0 5px 0 var(--green-300); }
.btn-secondary:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--green-300); }
.btn::after { content: "→"; font-family: var(--font-en); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(circle, var(--green-300) 2px, transparent 2.5px) 0 0 / 26px 26px,
    var(--green-50);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }

.hero-label {
  display: inline-block; margin: 0 0 16px; padding: 4px 16px;
  background: var(--yellow); border-radius: 999px;
  font-family: var(--font-en); font-weight: 700; font-size: .9rem; letter-spacing: .08em;
}
.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 900; line-height: 1.35;
  color: var(--green-900);
}
.hero-title em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.hero-lead { margin: 0 0 28px; font-size: 1.08rem; color: var(--text-sub); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; aspect-ratio: 1376 / 768; object-fit: cover;
  border: 5px solid var(--white); border-radius: 28px; box-shadow: 10px 10px 0 var(--green-300);
}
.hero-badge {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 118px; height: 118px; border-radius: 22px;
  background: var(--white); border: 3px solid var(--green-700); box-shadow: 5px 5px 0 var(--yellow);
  text-align: center; line-height: 1.25; font-size: .78rem; font-weight: 700;
}
.hero-badge strong { font-family: var(--font-en); font-size: 2.1rem; color: var(--green-700); line-height: 1; }
.hero-badge strong small { font-family: var(--font-ja); font-size: .8rem; }
.hero-badge--a { left: -18px; bottom: -26px; transform: rotate(-6deg); }
.hero-badge--b { right: -10px; top: -30px; transform: rotate(5deg); }

/* ============================================================
   セクション共通
   ============================================================ */
.section { padding: 88px 0; }
.section--tint { background: var(--green-50); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-en {
  display: block; margin-bottom: 4px;
  font-family: var(--font-en); font-weight: 800; font-size: .95rem; letter-spacing: .14em;
  color: var(--green-500);
}
.section-title { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 900; line-height: 1.45; }
.section-title::after {
  content: ""; display: block; width: 64px; height: 8px; margin: 14px auto 0;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--green-500) 0 16px, var(--yellow) 16px 32px);
}
.section-lead { max-width: 720px; margin: 20px auto 0; color: var(--text-sub); }
.section-head--left { text-align: left; margin-bottom: 28px; }
.section-head--left .section-title::after { margin-left: 0; }

/* ============================================================
   立地（アクセスポイント）
   ============================================================ */
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.point-card {
  position: relative; padding: 32px 24px 28px; text-align: center;
  background: var(--white); border: 3px solid var(--green-100); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.point-icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 12px;
  border-radius: 20px; background: var(--green-100); font-size: 2rem;
}
.point-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.point-time { margin: 0; font-weight: 700; color: var(--text-sub); }
.point-time strong { font-family: var(--font-en); font-size: 3rem; font-weight: 800; color: var(--green-700); line-height: 1.1; }

.road-card {
  display: flex; align-items: center; gap: 24px; margin-top: 24px; padding: 28px 32px;
  background: var(--green-700); color: var(--white); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--green-900);
}
.road-card .point-icon { flex-shrink: 0; margin: 0; background: rgba(255, 255, 255, .15); }
.road-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.road-card p { margin: 0; }
.road-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.road-tags span {
  padding: 2px 14px; border-radius: 999px; background: var(--yellow); color: var(--text);
  font-weight: 700; font-size: .95rem;
}

/* ============================================================
   こんな方に
   ============================================================ */
.for-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.for-wrap img { border-radius: 28px; border: 5px solid var(--white); box-shadow: 10px 10px 0 var(--yellow); }
.for-list { margin: 0 0 24px; padding: 0; list-style: none; }
.for-list li {
  position: relative; margin-bottom: 14px; padding: 14px 18px 14px 58px;
  background: var(--white); border-radius: 14px; font-weight: 700;
  border: 2px solid var(--line);
}
.for-list li::before {
  content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--green-500); color: var(--white); font-size: .95rem;
}

/* ============================================================
   物件概要テーブル
   ============================================================ */
.spec-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white); border: 3px solid var(--green-100); border-radius: var(--radius); overflow: hidden;
}
.spec-table th, .spec-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 30%; background: var(--green-50); color: var(--green-900); font-weight: 700; white-space: nowrap; }
.table-note { margin-top: 12px; font-size: .9rem; color: var(--text-sub); }

/* ============================================================
   出店までの流れ
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow li {
  position: relative; padding: 48px 20px 24px; text-align: center;
  background: var(--white); border-radius: var(--radius); border: 3px solid var(--green-100);
}
.flow li::before {
  counter-increment: flow; content: counter(flow, decimal-leading-zero);
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--yellow); font-family: var(--font-en); font-weight: 800; font-size: 1.1rem;
  box-shadow: 3px 3px 0 var(--green-700);
}
.flow h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--green-900); }
.flow p { margin: 0; font-size: .95rem; color: var(--text-sub); text-align: left; }

/* ============================================================
   お知らせ
   ============================================================ */
.news-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--line); }
.news-list li { border-bottom: 2px solid var(--line); }
.news-list a, .news-row {
  display: grid; grid-template-columns: 120px 110px 1fr; gap: 16px; align-items: center;
  padding: 20px 8px; color: var(--text); text-decoration: none;
}
.news-list a:hover { background: var(--green-50); }
.news-date { font-family: var(--font-en); font-weight: 600; color: var(--text-sub); }
.news-cat {
  justify-self: start; padding: 0 12px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: var(--green-100); color: var(--green-900);
}
.news-cat--vacancy { background: var(--yellow-soft); color: #7a5a00; }
.more-link { margin-top: 32px; text-align: center; }

.news-article {
  padding: 36px 32px; margin-bottom: 28px;
  background: var(--white); border: 3px solid var(--green-100); border-radius: var(--radius);
  scroll-margin-top: 96px;
}
.news-article .news-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.news-article h2 { margin: 0 0 16px; font-size: 1.35rem; line-height: 1.5; }
.news-article p { margin: 0 0 1em; }
.news-article p:last-child { margin-bottom: 0; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 72px 0; text-align: center; color: var(--white);
  background:
    linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.06) 75%) 0 0 / 40px 40px,
    var(--green-700);
}
.cta h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 900; line-height: 1.5; }
.cta p { margin: 0 0 28px; }
.cta .btn { background: var(--yellow); color: var(--text); border-color: var(--yellow); box-shadow: 0 5px 0 #c9a21c; }
.cta .btn:hover { color: var(--text); box-shadow: 0 3px 0 #c9a21c; }

/* ============================================================
   下層ページ
   ============================================================ */
.page-hero {
  padding: 56px 0 48px; text-align: center;
  background:
    radial-gradient(circle, var(--green-300) 2px, transparent 2.5px) 0 0 / 26px 26px,
    var(--green-50);
}
.page-hero h1 { margin: 0; font-size: clamp(1.8rem, 4.4vw, 2.6rem); font-weight: 900; color: var(--green-900); line-height: 1.4; }
.page-hero .section-en { font-size: 1rem; }

.breadcrumb { padding: 12px 0; font-size: .85rem; color: var(--text-sub); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }

.message-box {
  display: grid; grid-template-columns: 1fr; gap: 12px; padding: 40px;
  background: var(--white); border-radius: var(--radius); border: 3px solid var(--green-100);
  box-shadow: var(--shadow);
}
/* 見出しの階層を h1→h2 に揃えるため h2 にしたが、見た目は元の h3 のまま（2026-09-28） */
.message-box h2 { margin: 0; font-size: 1.35rem; color: var(--green-900); line-height: 1.6; }
.message-box p { margin: 0; }
.message-sign { text-align: right; font-weight: 700; }

.sub-title {
  margin: 56px 0 20px; padding-left: 16px; font-size: 1.35rem;
  border-left: 8px solid var(--green-500); line-height: 1.5;
}
.sub-title:first-child { margin-top: 0; }

/* アクセス */
.map-wrap {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  border-radius: var(--radius); border: 4px solid var(--white); box-shadow: 8px 8px 0 var(--green-300);
  background: var(--green-100);
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.address-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 32px; padding: 24px 28px; background: var(--white); border-radius: var(--radius);
  border: 3px solid var(--green-100);
}
.address-box p { margin: 0; font-weight: 700; }
.address-box .btn { min-height: 48px; padding: 8px 24px; font-size: .95rem; }

.route-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.route-list li {
  padding: 24px; background: var(--white); border-radius: var(--radius); border: 3px solid var(--green-100);
}
.route-list h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 1.1rem; }
.route-list h3 span { font-size: 1.5rem; }
.route-list p { margin: 0; color: var(--text-sub); }
.route-list .route-time { font-weight: 700; color: var(--green-700); }

/* ============================================================
   フォーム
   ============================================================ */
.form-intro { max-width: 760px; margin: 0 auto 32px; }
.contact-form {
  max-width: 760px; margin-inline: auto; padding: 40px;
  background: var(--white); border-radius: var(--radius); border: 3px solid var(--green-100);
}
.form-row { margin-bottom: 26px; }
.form-row > label, .form-row > .form-label { display: block; margin-bottom: 8px; font-weight: 700; }
.req, .opt {
  display: inline-block; margin-left: 8px; padding: 0 10px; border-radius: 6px;
  font-size: .78rem; vertical-align: 2px; line-height: 1.7;
}
.req { background: #c23b22; color: var(--white); }
.opt { background: #e5ebe6; color: var(--text-sub); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 14px 16px; border: 2px solid #b9cdbb; border-radius: 12px;
  background: #fbfdfb; font-family: inherit; font-size: 1rem; color: var(--text);
}
.contact-form textarea { min-height: 200px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 3px solid var(--yellow); border-color: var(--green-700); background: var(--white);
}
.form-hint { margin: 6px 0 0; font-size: .88rem; color: var(--text-sub); }
.form-error { display: none; margin: 6px 0 0; color: #c23b22; font-weight: 700; font-size: .92rem; }
.form-hp { position: absolute; left: -9999px; }

.check-group { display: flex; flex-wrap: wrap; gap: 10px; }
.check-group label {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 2px solid #b9cdbb; border-radius: 12px; cursor: pointer;
}
.check-group input { width: 20px; height: 20px; accent-color: var(--green-700); }
.agree-label { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.agree-label input { width: 22px; height: 22px; accent-color: var(--green-700); }
.form-submit { text-align: center; margin-top: 12px; }
.form-submit .btn { min-width: 280px; }

.form-message { max-width: 760px; margin: 0 auto 28px; padding: 20px 24px; border-radius: 14px; font-weight: 700; }
.form-message--ok { background: var(--green-100); border: 3px solid var(--green-500); color: var(--green-900); }
.form-message--ng { background: #fdecea; border: 3px solid #c23b22; color: #8a2412; }

/* プライバシーポリシー */
.policy { max-width: 820px; margin-inline: auto; }
.policy h2 { margin: 40px 0 10px; font-size: 1.2rem; color: var(--green-900); }
.policy ul { padding-left: 1.4em; }

/* ============================================================
   フッター
   ============================================================ */
.site-footer { padding: 56px 0 24px; background: var(--green-900); color: #e8f3ea; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo-ja { color: #c7dccb; }
.footer-address { margin: 16px 0 0; font-size: .95rem; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: #e8f3ea; text-decoration: none; }
.footer-nav a:hover { color: var(--yellow); text-decoration: underline; }
.copyright { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); text-align: center; font-size: .82rem; }

/* スクロールで表示 */
[data-reveal] { opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s, transform .6s cubic-bezier(.34, 1.56, .64, 1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   タブレット
   ============================================================ */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; padding: 12px 16px 24px;
    background: var(--white); border-bottom: 3px solid var(--green-100);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .main-nav .nav-cta a { margin: 8px 0 0; text-align: center; }

  .hero-inner, .for-wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; margin: 20px auto 0; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}

/* ============================================================
   スマートフォン
   ============================================================ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 36px 0 60px; }
  .hero-buttons .btn { width: 100%; }
  .hero-badge { width: 96px; height: 96px; font-size: .7rem; }
  .hero-badge strong { font-size: 1.7rem; }
  .hero-badge--a { left: -6px; bottom: -34px; }
  .hero-badge--b { right: -4px; top: -34px; }

  .point-grid { grid-template-columns: 1fr; gap: 12px; }
  .point-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; text-align: left; }
  .point-card .point-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; font-size: 1.3rem; }
  .point-card h3 { margin: 0; font-size: .95rem; letter-spacing: 0; line-height: 1.4; }
  .point-time { font-size: .85rem; white-space: nowrap; }
  .point-time strong { font-size: 1.9rem; }
  .road-card { flex-direction: column; text-align: center; padding: 28px 20px; }
  .road-tags { justify-content: center; }
  .flow { grid-template-columns: 1fr; }

  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: 0; padding-bottom: 6px; }
  .spec-table td { padding-top: 6px; }

  .news-list a, .news-row { grid-template-columns: auto 1fr; gap: 4px 12px; padding: 16px 4px; }
  .news-list .news-title { grid-column: 1 / -1; }
  .news-article { padding: 28px 20px; }

  .message-box { padding: 28px 20px; }
  .route-list { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4 / 5; }
  .address-box .btn { width: 100%; }
  .contact-form { padding: 28px 18px; }
  .form-submit .btn { min-width: 0; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   内見予約への導線
   ============================================================ */
.cta-sub { margin: 20px 0 0 !important; }
.cta-sub a { color: var(--white); font-weight: 700; }
.cta-sub a:hover { color: var(--yellow); }

/* スマホ下部に固定する予約ボタン（PCではヘッダーのボタンがあるので出さない） */
.sticky-cta { display: none; }

.form-switch {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  background: var(--yellow-soft); border: 2px solid var(--yellow); border-radius: 14px; font-weight: 700;
}
.form-switch span { font-size: 1.4rem; }

/* ============================================================
   内見予約ページ
   ============================================================ */
.reserve-lead { font-size: 1.15rem; font-weight: 700; text-align: center; }
.reserve-lead strong { background: linear-gradient(transparent 60%, var(--yellow) 60%); }
.reserve-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 24px 0 16px; padding: 0; list-style: none;
}
.reserve-steps li {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px;
  background: var(--white); border: 3px solid var(--green-100); border-radius: var(--radius);
  text-align: center; line-height: 1.5;
}
.reserve-steps small { color: var(--text-sub); font-size: .85rem; }
.reserve-step-no {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border-radius: 10px;
  background: var(--green-700); color: var(--white); font-family: var(--font-en); font-weight: 800;
}

.wish-group {
  margin: 0 0 30px; padding: 22px 22px 4px; border: 3px solid var(--green-300); border-radius: var(--radius);
  background: var(--green-50);
}
.wish-group legend { padding: 0 10px; font-size: 1.1rem; font-weight: 900; color: var(--green-900); }
.wish-group > .form-hint { margin: 0 0 18px; }
.wish-row { margin-bottom: 18px; }
.wish-label { display: block; margin-bottom: 6px; font-weight: 700; }
.wish-inputs { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.contact-form input[type="date"] {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 2px solid #b9cdbb; border-radius: 12px;
  background: var(--white); font-family: inherit; font-size: 1rem; color: var(--text);
}
.wish-inputs select { background: var(--white); }

.form-more { margin-bottom: 26px; border: 2px dashed #b9cdbb; border-radius: 14px; }
.form-more summary {
  padding: 14px 18px; cursor: pointer; font-weight: 700; color: var(--green-700); list-style: none;
}
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::before { content: "＋"; display: inline-block; width: 1.4em; font-weight: 900; }
.form-more[open] summary::before { content: "－"; }
.form-more[open] { padding-bottom: 4px; }
.form-more .form-row { padding: 0 18px; }

.form-alt { max-width: 760px; margin: 24px auto 0; text-align: center; font-weight: 700; }

/* よくある質問 */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  margin-bottom: 14px; background: var(--white); border: 3px solid var(--green-100); border-radius: var(--radius);
}
.faq-item summary {
  position: relative; padding: 18px 56px 18px 60px; cursor: pointer; font-weight: 700; list-style: none; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; position: absolute; left: 18px; top: 16px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--green-500); color: var(--white); font-family: var(--font-en); font-weight: 800;
}
.faq-item summary::after {
  content: "＋"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--green-700); font-weight: 900; font-size: 1.2rem;
}
.faq-item[open] summary::after { content: "－"; }
.faq-item p { position: relative; margin: 0; padding: 0 22px 20px 60px; }
.faq-item p::before {
  content: "A"; position: absolute; left: 18px; top: 0;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--yellow); font-family: var(--font-en); font-weight: 800;
}

@media (max-width: 960px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 3px solid var(--green-100);
  }
  .sticky-cta-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px;
    border-radius: 999px; background: var(--green-700); color: var(--white);
    font-weight: 900; font-size: 1.1rem; text-decoration: none; box-shadow: 0 4px 0 var(--green-900);
  }
  .sticky-cta-btn:hover { color: var(--white); }
  .sticky-cta-btn small {
    padding: 0 10px; border-radius: 999px; background: var(--yellow); color: var(--text); font-size: .8rem; line-height: 1.8;
  }
  /* 固定ボタンにフッターの最下部が隠れないよう余白を足す */
  body:has(.sticky-cta) { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .reserve-lead { font-size: 1.05rem; }
  .reserve-steps { grid-template-columns: 1fr; }
  .reserve-steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; text-align: left; padding: 12px 14px; }
  .reserve-step-no { grid-row: span 2; margin: 0; }
  .wish-group { padding: 18px 14px 2px; }
  .wish-inputs { grid-template-columns: 1fr; gap: 8px; }
  .form-more .form-row { padding: 0 14px; }
  .faq-item summary { padding: 16px 44px 16px 54px; }
  .faq-item summary::before, .faq-item p::before { left: 14px; }
  .faq-item p { padding: 0 16px 18px 54px; }
}

/* ============================================================
   にぎやか化（2026-09-20）
   緑を主役のまま、差し色（オレンジ・ピンク・水色）と動きで元気さを足す。
   差し色は背景や飾りにだけ使い、文字色には使わない（白文字だと読みにくいため）
   ============================================================ */
:root {
  --pink:   #ff7eb0;
  --sky:    #5cc8f2;
  --orange: #ff9a3c;
  --font-pop: "Mochiy Pop One", "Zen Maru Gothic", sans-serif;
}

/* ---- 見出しをポップ体に ---- */
.section-title, .page-hero h1, .cta h2 { font-family: var(--font-pop); font-weight: 400; letter-spacing: .04em; }
.section-title::after {
  width: 120px; height: 10px;
  background: linear-gradient(90deg,
    var(--green-500) 0 20%, var(--yellow) 20% 40%, var(--orange) 40% 60%, var(--pink) 60% 80%, var(--sky) 80% 100%);
}
.section-en { color: var(--green-700); }
.section-en::before, .section-en::after { content: " ● "; font-size: .6em; vertical-align: 2px; }
.section-en::before { color: var(--orange); }
.section-en::after  { color: var(--sky); }

/* ---- ヒーロー ---- */
.hero {
  padding: 64px 0 96px;
  background:
    radial-gradient(circle, rgba(63, 174, 95, .35) 2px, transparent 2.5px) 0 0 / 26px 26px,
    linear-gradient(160deg, #fffbe6 0%, var(--green-50) 45%, #e3f6ea 100%);
}
.hero-inner { position: relative; z-index: 1; }

.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.cube {
  position: absolute; display: block; border-radius: 18%;
  animation: cube-float 6s ease-in-out infinite;
}
.cube::after { /* 立方体っぽく見せる白い内枠 */
  content: ""; position: absolute; inset: 22%; border: 3px solid rgba(255, 255, 255, .8); border-radius: 18%;
}
.cube--1 { width: 44px; height: 44px; left: 1%; top: 60%; background: var(--yellow); }
.cube--2 { width: 38px; height: 38px; left: 40%; top: 6%;  background: var(--pink);   animation-delay: -1s; }
.cube--3 { width: 52px; height: 52px; left: 45%; bottom: 8%; background: var(--sky);  animation-delay: -2s; }
.cube--4 { width: 30px; height: 30px; right: 4%; bottom: 12%; background: var(--orange); animation-delay: -3s; }
.cube--5 { width: 44px; height: 44px; left: 30%; top: 5%; background: var(--green-500); animation-delay: -4s; }
.cube--6 { width: 26px; height: 26px; right: 30%; top: 4%; background: var(--yellow); animation-delay: -5s; }
@keyframes cube-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(18deg); }
}

.hero-label {
  background: var(--green-700); color: var(--yellow);
  box-shadow: 3px 3px 0 var(--orange); transform: rotate(-2deg);
}
.hero-title {
  font-family: var(--font-pop); font-weight: 400; line-height: 1.25;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem); color: var(--green-900);
  text-shadow: 4px 4px 0 var(--yellow);
}
.hero-title-line { display: block; }
.hero-title-line--mark {
  display: inline-block; margin: 6px 0 8px; padding: 0 .25em;
  background: var(--green-700); color: var(--white); border-radius: 14px;
  text-shadow: 3px 3px 0 var(--green-900); transform: rotate(-2deg);
  box-shadow: 6px 6px 0 var(--yellow);
}
.hero-lead { color: var(--text); }

.hero-visual img {
  transform: rotate(1.5deg);
  border-width: 6px; box-shadow: 12px 12px 0 var(--orange);
}
.hero-badge { animation: badge-bounce 2.4s ease-in-out infinite; }
.hero-badge--a { box-shadow: 5px 5px 0 var(--pink); animation-delay: -1.2s; }
.hero-badge--b { box-shadow: 5px 5px 0 var(--sky); }
@keyframes badge-bounce {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* 実物の建物ではないことの注記（不動産広告で実物と誤解されないように） */
.hero-note {
  position: absolute; left: 18px; top: 16px; z-index: 2; margin: 0;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--text);
  font-size: .75rem; font-weight: 700; line-height: 1.6;
}

/* 「入居者募集中！」の回転スタンプ */
.hero-stamp {
  position: absolute; left: 38%; bottom: -46px; z-index: 2;
  display: grid; place-items: center; width: 116px; height: 116px; margin: 0;
  border-radius: 50%; background: var(--pink); color: var(--white);
  font-family: var(--font-pop); font-size: 1rem; line-height: 1.3; text-align: center;
  box-shadow: 4px 4px 0 var(--green-900);
  transform: rotate(-10deg);
}
.hero-stamp::before { /* 回る点線の輪 */
  content: ""; position: absolute; inset: 7px; border: 3px dashed rgba(255, 255, 255, .85); border-radius: 50%;
  animation: stamp-spin 12s linear infinite;
}
.hero-stamp span { position: relative; text-shadow: 2px 2px 0 rgba(0, 0, 0, .15); }
@keyframes stamp-spin { to { transform: rotate(360deg); } }

/* ---- 流れるテロップ ---- */
/* 傾けたテロップが画面幅をはみ出して横スクロールが出ないよう切り取る（clip はスクロール領域を作らないのでヘッダー固定に影響しない） */
main { overflow-x: clip; }
.ticker {
  overflow: hidden; padding: 14px 0; background: var(--green-700);
  border-block: 4px solid var(--yellow); margin: 0;
  position: relative; z-index: 2;
}
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker-track span {
  flex-shrink: 0; padding: 0 20px; color: var(--white); font-family: var(--font-pop); font-size: 1.05rem; white-space: nowrap;
}
.ticker-track span::after { content: "★"; margin-left: 40px; color: var(--yellow); }
.ticker-track span:nth-child(3n+2)::after { color: var(--pink); }
.ticker-track span:nth-child(3n)::after { color: var(--sky); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- 立地カードを色分け ---- */
.point-card { border-width: 4px; transition: transform .2s; }
.point-card:hover { transform: translateY(-6px) rotate(-1deg); }
.point-card--green  { border-color: var(--green-300); box-shadow: 0 8px 0 var(--green-500); }
.point-card--orange { border-color: #ffd2a8; box-shadow: 0 8px 0 var(--orange); }
.point-card--sky    { border-color: #bfe9fa; box-shadow: 0 8px 0 var(--sky); }
.point-card--green  .point-icon { background: var(--green-100); }
.point-card--orange .point-icon { background: #ffe9d4; }
.point-card--sky    .point-icon { background: #dcf4fd; }
.point-card::before { /* 右上のリボン */
  content: "徒歩圏内"; position: absolute; top: 12px; right: -8px;
  padding: 2px 12px; border-radius: 6px; background: var(--yellow);
  font-size: .75rem; font-weight: 900; transform: rotate(6deg); box-shadow: 2px 2px 0 rgba(0, 0, 0, .12);
}
.road-card { background: linear-gradient(120deg, var(--green-700), #2c9a57); box-shadow: 0 8px 0 var(--green-900); }

/* ---- 淡い緑のセクションに紙吹雪 ---- */
.section--tint {
  background:
    radial-gradient(circle at 12% 18%, var(--yellow) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 12%, var(--pink) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 86%, var(--sky) 0 6px, transparent 7px),
    radial-gradient(circle at 30% 92%, var(--orange) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 40%, var(--green-300) 0 4px, transparent 5px),
    var(--green-50);
  background-size: 420px 420px;
}

.for-wrap img { transform: rotate(-1.5deg); box-shadow: 12px 12px 0 var(--pink); }
.for-list li { border-width: 3px; transition: transform .2s; }
.for-list li:hover { transform: translateX(6px); }
.for-list li:nth-child(4n+1)::before { background: var(--green-500); }
.for-list li:nth-child(4n+2)::before { background: var(--orange); }
.for-list li:nth-child(4n+3)::before { background: var(--sky); }
.for-list li:nth-child(4n)::before   { background: var(--pink); }

/* ---- 流れの番号を色分け ---- */
.flow li { border-width: 4px; }
.flow li:nth-child(1)::before { background: var(--yellow); }
.flow li:nth-child(2)::before { background: var(--orange); }
.flow li:nth-child(3)::before { background: var(--sky); }
.flow li:nth-child(4)::before { background: var(--pink); }

/* ---- 下層ページの見出し帯にもキューブ ---- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle, rgba(63, 174, 95, .35) 2px, transparent 2.5px) 0 0 / 26px 26px,
    linear-gradient(160deg, #fffbe6 0%, var(--green-50) 60%, #e3f6ea 100%);
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 18%;
  animation: cube-float 6s ease-in-out infinite;
}
.page-hero::before { width: 46px; height: 46px; left: 8%; top: 28%; background: var(--yellow); }
.page-hero::after  { width: 32px; height: 32px; right: 10%; bottom: 22%; background: var(--pink); animation-delay: -3s; }
.page-hero h1 { text-shadow: 3px 3px 0 var(--yellow); }

/* ---- CTA ---- */
.cta { position: relative; overflow: hidden; }
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 18%;
  animation: cube-float 6s ease-in-out infinite;
}
.cta::before { width: 60px; height: 60px; left: 6%; top: 20%; background: var(--yellow); }
.cta::after  { width: 42px; height: 42px; right: 8%; bottom: 18%; background: var(--sky); animation-delay: -2s; }
.cta .container { position: relative; z-index: 1; }
.cta h2 { text-shadow: 3px 3px 0 var(--green-900); }
.cta .btn { animation: badge-bounce 2.4s ease-in-out infinite; }

/* ---- スマホ下部の固定ボタンにも差し色 ---- */
.sticky-cta-btn { box-shadow: 0 4px 0 var(--green-900), 0 0 0 3px var(--yellow) inset; }

/* 中間の画面幅：左の余白が狭く、キューブが本文に重なる。右上のバッジも画面端で切れる */
@media (max-width: 1200px) {
  .cube--1 { display: none; }
  .hero-badge--b { right: 4px; }
}

@media (max-width: 960px) {
  .hero-stamp { left: auto; right: 6%; bottom: -40px; }

  /* スマホ・タブレットでは イラストを見出しの直後に出す（最初の画面で目に入るように）。
     hero-text の箱を外して、中身を hero-inner の並びに直接参加させている */
  .hero-inner { gap: 0; }
  .hero-text { display: contents; }
  .hero-label   { order: 1; justify-self: start; }
  .hero-title   { order: 2; }
  .hero-visual  { order: 3; width: 100%; margin: 8px auto 64px; }
  .hero-lead    { order: 4; }
  .hero-buttons { order: 5; }
}

@media (max-width: 640px) {
  .hero { padding: 36px 0 84px; }
  .hero-title { font-size: 2.3rem; text-shadow: 3px 3px 0 var(--yellow); }
  .hero-title-line--mark { box-shadow: 4px 4px 0 var(--yellow); border-radius: 10px; }
  .hero-stamp { width: 92px; height: 92px; font-size: .82rem; bottom: -46px; right: 2%; }
  .cube--2, .cube--3, .cube--4, .cube--5, .cube--6 { display: none; }
  .cube--1 { display: block; width: 40px; height: 40px; left: auto; right: 6%; top: 3%; }
  .ticker-track span { font-size: .92rem; padding: 0 14px; }
  .ticker-track span::after { margin-left: 28px; }
  .point-card::before { display: none; }
  .point-card:hover { transform: none; }
  .page-hero::before { width: 30px; height: 30px; left: 4%; }
  .page-hero::after  { width: 22px; height: 22px; right: 5%; }
  .cta::before { width: 36px; height: 36px; }
  .cta::after  { width: 28px; height: 28px; }
}

/* 動きを減らす設定の人には、テロップ・浮遊・弾みをすべて止める */
@media (prefers-reduced-motion: reduce) {
  .cube, .hero-badge, .hero-stamp::before, .ticker-track, .page-hero::before, .page-hero::after,
  .cta::before, .cta::after, .cta .btn { animation: none; }
}

/* ============================================================
   お客様の回答反映（2026-09-22）
   ============================================================ */

/* ---- ロゴ（井上商店の菱形マーク） ---- */
.logo-img { width: auto; height: 38px; flex-shrink: 0; }
/* 濃い緑のフッターでは茶色のマークが沈むので、白い台紙に載せる */
.site-footer .logo-img { height: 44px; padding: 5px 8px; background: var(--white); border-radius: 10px; box-sizing: content-box; }

/* ---- ヒーロー：実物の外観イラスト（縦横比 1000:821）を切らずに見せる ---- */
.hero-visual img { aspect-ratio: 1000 / 821; }

/* ---- 物件の様子（ギャラリー） ---- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 0 0 12px; padding: 0; list-style: none;
  scroll-margin-top: 96px;
}
.gallery-item {
  display: block; position: relative; overflow: hidden;
  border-radius: 16px; border: 4px solid var(--white); box-shadow: 0 6px 0 var(--green-300);
  color: var(--text); text-decoration: none; background: var(--white);
}
.gallery li:nth-child(4n+2) .gallery-item { box-shadow: 0 6px 0 var(--orange); }
.gallery li:nth-child(4n+3) .gallery-item { box-shadow: 0 6px 0 var(--sky); }
.gallery li:nth-child(4n)   .gallery-item { box-shadow: 0 6px 0 var(--pink); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cap {
  display: block; padding: 8px 10px; font-size: .88rem; font-weight: 700; line-height: 1.5; text-align: center;
}
.gallery-note { margin: 12px 0 40px; }

/* 拡大表示 */
.lightbox {
  width: min(960px, 100% - 32px); max-height: calc(100% - 32px); padding: 0;
  border: 0; border-radius: 18px; background: var(--white); overflow: hidden;
}
.lightbox::backdrop { background: rgba(20, 40, 28, .75); }
.lightbox img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #111; }
.lightbox-cap { margin: 0; padding: 12px 20px; font-weight: 700; text-align: center; }
.lightbox-close {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--white); color: var(--text); font-size: 1.8rem; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

/* ---- 会社・物件案内 ---- */
.message-quote {
  margin: 4px 0; padding: 14px 18px; border-radius: 12px;
  background: var(--yellow-soft); border-left: 6px solid var(--yellow);
  font-weight: 700; color: var(--green-900);
}
.biz-list { margin: 0; padding-left: 1.4em; }
.biz-list li { margin: 2px 0; }
.about-photo { margin: 0 0 24px; }
.about-photo img { width: 100%; max-width: 720px; border-radius: 18px; border: 5px solid var(--white); box-shadow: 10px 10px 0 var(--green-300); }
.about-photo figcaption { margin-top: 10px; font-size: .85rem; color: var(--text-sub); }

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .logo-img { height: 32px; }
  /* 右上の「15分」バッジに重ならないよう、注記を小さくする */
  .hero-note { left: 10px; top: 10px; padding: 1px 8px; font-size: .64rem; letter-spacing: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-cap { font-size: .8rem; padding: 6px; }
  .lightbox img { max-height: calc(100vh - 120px); }
}

/* ============================================================
   明智かめまる（亀岡商工会議所のキャラクター）2026-09-26
   ============================================================ */

.kame { display: block; height: auto; }

/* ---- 亀岡のまち紹介 ---- */
/* 前後が「淡い緑」のセクションなので、ここだけ淡い黄色にして区切る */
.section--kame {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 212, 71, .5) 0 6px, transparent 7px),
    radial-gradient(circle at 90% 16%, rgba(63, 174, 95, .35) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 88%, rgba(255, 138, 61, .35) 0 6px, transparent 7px),
    linear-gradient(170deg, #fffdf0 0%, #fff7dd 100%);
  background-size: 460px 460px, 460px 460px, 460px 460px, auto;
}

.town-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 0 0 20px; padding: 0; list-style: none;
}
.town-card {
  padding: 24px 20px 26px; border-radius: var(--radius);
  background: var(--white); border: 4px solid var(--green-300);
  box-shadow: 0 8px 0 var(--green-500);
  text-align: center;
}
.town-card:nth-child(2) { border-color: #ffd2a8; box-shadow: 0 8px 0 var(--orange); }
.town-card:nth-child(3) { border-color: #bfe9fa; box-shadow: 0 8px 0 var(--sky); }
/* かめまるを丸い台紙の上に立たせる。画像の縦横比が3枚とも違うので、台紙の高さで背丈をそろえる */
.town-kame {
  display: grid; place-items: end center;
  width: 148px; height: 148px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--green-100);
}
.town-card:nth-child(2) .town-kame { background: #ffe9d4; }
.town-card:nth-child(3) .town-kame { background: #dcf4fd; }
.town-kame img { max-width: 142px; max-height: 132px; width: auto; }
.town-card h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--green-900); }
.town-card p { margin: 0; font-size: .95rem; text-align: left; }

/* ---- CTA に立つかめまる ---- */
/* 画面幅が変わっても文字に重ならないよう、見出しの上に置いて流れの中で並べる */
.kame--cta {
  width: 108px; margin: 0 auto 10px;
  animation: kame-hop 2.8s ease-in-out infinite;
}
@keyframes kame-hop {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* ---- よくある質問の案内役 ---- */
.kame--faq { width: 96px; margin: 0 auto 4px; }

/* ---- フッターのクレジット ---- */
.kame-credit {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 36px 0 0; padding: 14px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  font-size: .8rem; line-height: 1.8;
}
.kame-credit img { width: 84px; height: auto; flex-shrink: 0; }

@media (max-width: 960px) {
  .town-grid { grid-template-columns: 1fr; gap: 20px; }
  .town-card { display: grid; grid-template-columns: 148px 1fr; align-items: center; gap: 20px; text-align: left; }
  .town-kame { margin: 0; }
  .town-card h3, .town-card p { grid-column: 2; }
  .town-kame { grid-row: span 2; }
}

@media (max-width: 640px) {
  .town-card { grid-template-columns: 104px 1fr; gap: 14px; padding: 18px 16px; }
  .town-kame { width: 104px; height: 104px; }
  .town-kame img { max-width: 88px; max-height: 92px; }
  .town-card p { font-size: .9rem; }
  .kame--cta { width: 92px; }
  .kame-credit { flex-direction: column; gap: 10px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .kame--cta { animation: none; }
}

/* ============================================================
   404ページ（2026-09-28）
   ============================================================ */

.notfound { max-width: 720px; text-align: center; }
.kame--notfound { width: 132px; margin: 0 auto 8px; }
.notfound-lead { font-size: 1.05rem; font-weight: 700; color: var(--green-900); }

.notfound-links {
  display: grid; gap: 12px;
  margin: 28px 0 0; padding: 0; list-style: none; text-align: left;
}
.notfound-links li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--green-50); border: 3px solid var(--green-100);
}
.notfound-links a { font-weight: 700; text-decoration: none; }
.notfound-links a:hover { text-decoration: underline; }
.notfound-links span { font-size: .88rem; color: var(--text-sub); }

@media (max-width: 640px) {
  .kame--notfound { width: 108px; }
  .notfound-links li { padding: 12px 14px; }
}
