/* 鎌倉湘南ぽすと 共通スタイル（和モダン・写真主役） */
:root {
  --green-dark: #243b32;
  --green: #76b079;
  --green-soft: #78a48c;
  --green-deep: #2f6950;
  --green-bg: #f3f8f4;
  --cream: #fbf7ef;
  --coral: #db7958;
  --coral-hover: #c96848;
  --vermilion: #d23b29;
  --gold: #c89a3a;
  --gold-muted: #d9c07a;
  --gold-muted-bg: #ecdcae;
  --terracotta: #a85631;
  --terracotta-deep: #874527;
  --terracotta-bg: #f3ddd0;
  --text: #5b6661;
  --border: #e2e9e5;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; overflow-x: hidden; color: var(--text); background: var(--cream);
  font-family: var(--sans); font-size: 17px; line-height: 1.9;
  -webkit-text-size-adjust: 100%;
  line-break: strict; word-break: normal;
}
h1, h2, h3, p, .lead, .areas, .brand-tag, .nav a, td, th, li, blockquote, cite, .banner-more { word-break: keep-all; overflow-wrap: break-word; }
.tel, a[href^="mailto"] { overflow-wrap: anywhere; }
a { color: var(--green-deep); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--serif); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); backdrop-filter: saturate(180%) blur(6px); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--green-dark); flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; display: block; }
.brand-tag { font-size: 12.5px; color: var(--green-soft); white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 15px; }
.nav a { color: var(--green-deep); font-size: 14px; font-weight: 700; text-decoration: none; padding: 4px 0; white-space: nowrap; }
.nav a:hover { color: var(--coral); }
.nav a.is-current { border-bottom: 2px solid var(--green); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--green-dark); cursor: pointer; }

/* ヒーロー */
.hero { position: relative; overflow: hidden; height: clamp(320px, 62vh, 560px); }
.hero .hero-art { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,25,0) 40%, rgba(20,30,25,.5)); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; max-width: 1120px; margin: 0 auto; }
.hero-copy h1 { font-family: var(--serif); color: #fff; font-size: 34px; font-weight: 900; line-height: 1.3; letter-spacing: .02em; margin: 0; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero-copy p { color: #fff; font-size: 15px; margin: 10px 0 0; text-shadow: 0 1px 8px rgba(0,0,0,.65); }
.hero-seal { position: absolute; top: 16px; right: 20px; width: 92px; height: 92px; border-radius: 50%; background: var(--vermilion); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; box-shadow: 0 3px 12px rgba(0,0,0,.28); border: 2px solid var(--gold); }
.hero-seal .num { font-family: var(--serif); font-size: 28px; font-weight: 900; }
.hero-seal span { font-size: 12px; }

/* 青海波の帯 */
.wave-band { display: block; width: 100%; height: 22px; }

/* ページ見出し（下層ページ） */
.page-head { text-align: center; padding: 44px 0 8px; }
.page-head .eyebrow { color: var(--green-soft); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 0 0 6px; }
.page-head h1 { font-family: var(--serif); color: var(--green-dark); font-size: 28px; font-weight: 900; margin: 0; }

/* セクション */
main section { padding: 18px 0 42px; }
main section h2 { font-family: var(--serif); color: var(--green-dark); font-size: 27px; font-weight: 700; text-align: center; margin: 36px 0 24px; }
main section h3 { font-family: var(--serif); color: var(--green-deep); font-size: 19px; font-weight: 700; margin: 40px 0 12px; }
.lead { text-align: center; max-width: 680px; margin: 0 auto 18px; font-size: 15px; }
main section p { margin: 0 0 18px; font-size: 15px; }

/* 特徴カード */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0; }
.feature { min-width: 0; text-align: center; background: #fff; border: 2px solid var(--green-soft); border-radius: 14px; padding: 22px 14px; box-shadow: 0 4px 0 var(--green-bg); }
.feature:nth-child(2) { border-color: var(--terracotta); box-shadow: 0 4px 0 var(--terracotta-bg); }
.feature:nth-child(3) { border-color: var(--gold-muted); box-shadow: 0 4px 0 var(--gold-muted-bg); }
.feature .ico-badge { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; background: var(--green-deep); }
.feature:nth-child(2) .ico-badge { background: var(--terracotta); }
.feature:nth-child(3) .ico-badge { background: #9c7a2c; }
.feature .ico-badge svg { width: 20px; height: 20px; }
.feature h3 { font-family: var(--serif); color: var(--green-dark); font-size: 17px; font-weight: 900; margin: 0 0 6px; }
.feature p { font-size: 13.5px; line-height: 1.7; margin: 0; color: #8a958f; }

/* セクション区切り（波モチーフ） */
.divider { display: flex; align-items: center; gap: 10px; margin: 44px 0 30px; }
.divider .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--green-soft), var(--green-soft) 6px, transparent 6px, transparent 12px); }
.divider svg { flex-shrink: 0; }

/* バナー（まち束チラシ・募集など） */
.banners { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 40px; margin: 12px auto; justify-content: center; }
.banner { min-width: 0; display: flex; flex-direction: column; text-decoration: none; padding: 22px 20px; border-radius: 14px; border: 2px solid var(--green-deep); background: var(--green-deep); text-align: left; color: #fff; position: relative; overflow: hidden; aspect-ratio: 1 / 0.95; }
.banner::before { content: ""; position: absolute; top: -18px; right: -18px; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.06); }
.banner .banner-ico { width: 38px; height: 38px; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.banner .banner-ico svg { width: 18px; height: 18px; }
.banner h3 { font-family: var(--serif); font-size: 16px; font-weight: 900; margin: 0 0 6px; color: #fff; }
.banner p { margin: 0; font-size: 12.5px; line-height: 1.65; color: rgba(255,255,255,.85); }
.banner .banner-more { margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 700; color: var(--gold-muted); }
.banner.terracotta { border-color: var(--terracotta-deep); background: var(--terracotta); }
.banner.terracotta .banner-ico svg { stroke: var(--terracotta); }
.banner:not(.terracotta) .banner-ico svg { stroke: var(--green-deep); }

@media (max-width: 560px) {
  .banners { grid-template-columns: 1fr; }
  .banner { aspect-ratio: auto; }
  .hero { height: clamp(320px, 130vw, 480px); }
  .hero .hero-art { object-position: 74% 38%; }
  .hero-seal { width: 72px; height: 72px; }
  .hero-seal .num { font-size: 22px; }
  .hero-seal span { font-size: 10px; }
  .voice { flex-direction: column; text-align: center; gap: 16px; padding: 24px 20px; }
  .voice cite { text-align: center; }
}

/* 代表のひとこと */
.voice { display: flex; align-items: center; gap: 28px; max-width: 520px; margin: 18px auto; padding: 26px 30px; border: 2px solid var(--gold-muted); border-radius: 16px; background: #fff; box-shadow: 0 4px 0 var(--gold-muted-bg); }
.voice > div:last-child { min-width: 0; flex: 1; }
.voice .avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--green-deep); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; border: 2px solid var(--gold-muted); }
.voice .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.voice blockquote { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.85; color: var(--green-dark); text-align: center; }
.voice cite { display: block; font-style: normal; font-size: 12px; color: #8a958f; margin-top: 8px; text-align: right; }

/* 料金テーブル */
/* 地区カード（料金） */
.area-block { border: 2px solid var(--green-soft); border-radius: 14px; overflow: hidden; margin: 0 0 64px; background: #fff; box-shadow: 0 4px 0 var(--green-bg); }
.area-block:last-child { margin-bottom: 0; }
.area-block .area-head { background: var(--green-bg); padding: 18px 20px; border-bottom: 1px solid var(--border); }
.area-block .area-head h3 { margin: 0 0 8px; padding: 0; border: 0; font-family: var(--serif); color: var(--green-dark); font-size: 21px; }
.area-block .areas { margin: 0; font-size: 14px; color: var(--text); line-height: 1.95; word-break: keep-all; overflow-wrap: break-word; }
.area-block .areas .a { white-space: nowrap; }
.area-block .area-body { padding: 8px 20px 20px; }
.area-block .area-body .price-table { margin: 0; }
.area-block .area-body .note { margin: 12px 0 0; font-size: 13px; color: #8a958f; }

/* 注意書きボックス */
.note-box { max-width: 680px; margin: 0 auto; border: 2px solid var(--gold-muted); border-radius: 14px; background: #fff; box-shadow: 0 4px 0 var(--gold-muted-bg); padding: 20px 24px; }
.note-box h2 { margin: 0 0 10px; font-family: var(--serif); color: var(--green-deep); font-size: 17px; text-align: center; }
.note-box p { margin: 0 0 12px; font-size: 14px; line-height: 1.9; text-align: center; }
.note-box p:last-child { margin-bottom: 0; }

.price-table { width: 100%; max-width: 420px; border-collapse: collapse; margin: 14px auto 40px; font-size: 16px; }
.area-block .area-body .price-table { max-width: none; }
.price-table caption { font-family: var(--serif); font-weight: 700; color: var(--green-dark); text-align: center; margin-bottom: 8px; }
.price-table th, .price-table td { border: 1px solid var(--border); padding: 12px 14px; text-align: center; }
.price-table th { background: var(--green-bg); color: var(--green-deep); }
.price-table td:last-child { white-space: nowrap; }

/* 流れステップ */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 8px auto; max-width: 700px; }
.steps li { position: relative; border: 2px solid var(--border); border-radius: 14px; background: #fff; padding: 22px 24px 22px 68px; margin-bottom: 30px; box-shadow: 0 4px 0 var(--green-bg); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-deep); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 17px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 35px; bottom: -22px; height: 22px; border-left: 2px dotted var(--green); opacity: .6; }
.steps li h3 { font-family: var(--serif); margin: 0 0 10px; color: var(--green-deep); font-size: 21px; }
.steps li p { margin: 0; font-size: 15px; line-height: 1.95; }

/* お知らせ */
.news-list { list-style: none; padding: 0; margin: 8px auto; max-width: 700px; }
.news-list li { display: flex; gap: 16px; border-bottom: 1px solid var(--border); padding: 16px 0; font-size: 16px; }
.news-list time { color: var(--green-soft); white-space: nowrap; font-weight: 700; flex-shrink: 0; }
.news-list li span { flex: 1; min-width: 0; word-break: keep-all; overflow-wrap: break-word; }

@media (max-width: 560px) {
  .news-list li { flex-direction: column; gap: 6px; }
}

/* 定義リスト（会社概要） */
.info-table { width: 100%; max-width: 640px; margin: 12px auto; border-collapse: collapse; table-layout: fixed; }
.info-table th, .info-table td { border-bottom: 1px solid var(--border); padding: 14px 12px; text-align: left; font-size: 16px; vertical-align: top; overflow-wrap: break-word; }
.info-table th { width: 34%; color: var(--green-deep); font-family: var(--serif); }
.info-table td { width: 66%; }
.info-table.center { max-width: 360px; }
.info-table.center th, .info-table.center td { text-align: center; }
.info-table.center th { width: 50%; }
.info-table.center td { width: 50%; }

/* フォーム */
.form { max-width: 480px; margin: 8px auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; box-shadow: 0 4px 14px rgba(44,64,55,.05); }
.form label { display: block; margin-bottom: 18px; font-size: 14px; font-weight: 700; color: var(--green-deep); }
.form label:last-of-type { margin-bottom: 22px; }
.form input, .form textarea, .form select { width: 100%; margin-top: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 16px; font-family: inherit; font-weight: 400; color: var(--text); background: #fff; }
.form select { appearance: auto; }
.form .checkbox-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 400; color: var(--text); }
.form .checkbox-row input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
.form .btn { width: 100%; }

/* CTA */
.cta { margin: 34px auto 8px; max-width: 640px; padding: 28px 22px; border-radius: 16px; border: 2px solid var(--green-soft); background: var(--green-bg); box-shadow: 0 4px 0 #e3ecdf; text-align: center; }
.cta h2 { font-family: var(--serif); color: var(--green-dark); font-size: 21px; margin: 0 0 8px; }
.cta p { font-size: 15px; margin: 0 0 16px; }
.tel { display: block; color: var(--green-deep); font-size: 26px; font-weight: 700; letter-spacing: .03em; text-decoration: none; margin-bottom: 14px; }
.btn { display: inline-block; padding: 14px 34px; border: 0; cursor: pointer; border-radius: 8px; color: #fff; background: var(--coral); box-shadow: 0 4px 14px rgba(182,84,51,.3); font-family: var(--serif); font-size: 16px; font-weight: 700; text-decoration: none; }
.btn:hover, .btn:focus { background: var(--coral-hover); }

/* フッター */
.site-footer { border-top: 1px solid var(--border); margin-top: 44px; padding: 30px 0; text-align: center; font-size: 14px; color: #8a958f; background: #fff; }
.site-footer .nav { justify-content: center; margin-bottom: 14px; }

/* スマホでだけ改行させる */
.br-sm { display: none; }
@media (max-width: 480px) {
  .br-sm { display: inline; }
}

/* スマホでは番号バッジを上に出して、本文の横幅を確保する */
@media (max-width: 560px) {
  .steps li { padding: 62px 20px 20px 20px; }
  .steps li::before { left: 20px; top: 18px; }
  .steps li:not(:last-child)::after { left: 37px; }
}

/* レスポンシブ */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 26px; }
  .page-head h1 { font-size: 23px; }
  .brand-logo { height: 28px; }
  .brand-tag { font-size: 10.5px; }
  .nav-toggle { display: block; }
  /* ハンバーガー化はヘッダーのメニューだけ。フッターのリンク集は常時テキスト表示 */
  .site-header .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 20px 16px; }
  .site-header .nav.open { display: flex; }
  .site-header .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-footer .nav { gap: 2px 18px; padding: 0 12px; }
  .site-footer .nav a { padding: 6px 2px; }
}
