:root {
  --cream: #fffdf6;
  --leaf: #7cc576;
  --green: #3f9b5a;
  --green-d: #2a7a46;
  --teal: #2fa89a;
  --sky: #8cc9ea;
  --blue: #3a8fd0;
  --navy: #1f4e8c;
  --pink: #ff4fa3;
  --ochre: #d9b44a;
  --ink: #263a4d;
  --muted: #6b7f73;
  --line: #d6e8d9;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75; font-size: 16px;
}
a { color: var(--blue); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .6em; color: var(--navy); }
h2 { font-size: 1.5rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); font-size: .9rem; }

/* ヘッダー */
.site-header { background: #fff; border-bottom: 4px solid var(--leaf); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.logo { text-decoration: none; font-weight: 900; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.logo .l1 { color: var(--navy); font-size: 1.45rem; }
.logo .l2 { color: var(--green); font-size: .95rem; position: relative; top: -.35em; }
.logo .l3 { color: var(--green); font-size: 1.45rem; }
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a, .nav button { text-decoration: none; color: var(--navy); font: inherit; font-weight: 700; font-size: .95rem; padding: 6px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover { background: #eaf6ec; }
.nav a.cta { background: var(--pink); color: #fff; }
.nav a.cta:hover { background: #e83d90; }
.nav form { margin: 0; }

/* ヒーロー */
.hero { background: #f3faf0 url(leaves.svg) center top / 260px; position: relative; padding: 48px 0 0; text-align: center; overflow: hidden; }
.hero .wrap { position: relative; }
.arch { width: min(440px, 92%); margin: 0 auto; padding: 16px 16px 0; border-radius: 999px 999px 0 0;
  background: repeating-conic-gradient(from 270deg at 50% 100%, #e4d5a4 0 11deg, #a9a28a 11deg 13deg); }
.arch-in { background: var(--cream); border-radius: 999px 999px 0 0; padding: 14% 8% 30px; }
.title { font-weight: 900; line-height: 1.1; margin: 0; }
.title .t1 { color: var(--navy); font-size: clamp(2.2rem, 8vw, 3.2rem); display: block; }
.title .t2 { color: var(--green); font-size: clamp(1.3rem, 5vw, 1.9rem); display: block; margin: -.1em 0 0 3.2em; transform: rotate(-4deg); }
.title .t3 { color: var(--green); font-size: clamp(2.4rem, 9vw, 3.6rem); display: block; }
.when { margin-top: 12px; color: var(--navy); font-weight: 700; }
.when b { display: block; color: var(--blue); font-size: 1.8rem; letter-spacing: .04em; }
.hero-cta { margin: 24px auto 0; display: inline-block; background: rgba(255, 253, 246, .92); border-radius: 28px; padding: 14px 32px 18px; }
.hero-cta .shout { color: var(--pink); font-weight: 900; font-size: clamp(1.6rem, 6vw, 2.2rem); margin: 0 0 4px; text-shadow: 2px 2px 0 #fff; }
.houses { display: block; width: 100%; height: 150px; margin-top: 24px; }

/* ボタン */
.btn { display: inline-block; white-space: nowrap; flex-shrink: 0; background: var(--green); color: #fff; text-decoration: none; font: inherit; font-weight: 700; padding: 10px 24px; border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 3px 0 var(--green-d); transition: transform .1s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn.pink { background: var(--pink); box-shadow: 0 3px 0 #c73a82; }
.btn.line { background: #fff; color: var(--green-d); border: 2px solid var(--green); box-shadow: none; }
.btn.small { padding: 4px 14px; font-size: .88rem; box-shadow: none; }
.btn.danger { background: #fff; color: #c0392b; border: 2px solid #e8b4ae; box-shadow: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

section.block { padding: 44px 0 8px; }
.section-title { display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ""; width: 14px; height: 14px; background: var(--leaf); border-radius: 0 100% 0 100%; }

/* カード */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(63, 155, 90, .18); }
.card .ph { aspect-ratio: 4 / 3; background: #eaf6ec center / cover; display: grid; place-items: center; color: var(--leaf); font-size: 2.2rem; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 14px; }
.card h3 { margin: 0 0 4px; font-size: 1.05rem; }
.card .price { color: var(--pink); font-weight: 700; }
.info-card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.next { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; border: 3px dashed var(--leaf); border-radius: var(--radius); padding: 20px 24px; }
.next .date { font-size: 1.6rem; font-weight: 900; color: var(--navy); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { display: inline-block; padding: 3px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--green-d); text-decoration: none; font-size: .9rem; font-weight: 700; }
a.chip:hover { border-color: var(--green); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.chip.sm { padding: 0 10px; font-size: .78rem; background: #eaf6ec; border-color: #eaf6ec; }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.links a { background: var(--navy); color: #fff; text-decoration: none; padding: 3px 14px; border-radius: 999px; font-size: .88rem; font-weight: 700; }
.links a.ig { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.links a.x { background: #111; }
.links a.hp { background: var(--teal); }

/* 詳細 */
.shop-head { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 28px; align-items: start; }
.shop-head .photo { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); aspect-ratio: 4 / 3; background: #eaf6ec; display: grid; place-items: center; font-size: 3rem; }
.shop-head .photo img { width: 100%; height: 100%; object-fit: cover; }
.pre { white-space: pre-wrap; }
@media (max-width: 720px) { .shop-head { grid-template-columns: 1fr; } }

/* フォーム */
.form { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 640px; }
.form.narrow { max-width: 440px; margin: 0 auto; }
label.f { display: block; font-weight: 700; margin: 16px 0 4px; color: var(--navy); }
label.f small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=search], input[type=number], textarea, select {
  width: 100%; font: inherit; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(124, 197, 118, .3); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { cursor: pointer; }
.checks input { position: absolute; opacity: 0; }
.checks span { display: inline-block; padding: 3px 14px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--green-d); }
.checks input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.checks input:focus-visible + span { box-shadow: 0 0 0 3px rgba(124, 197, 118, .5); }
.preview { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 2px solid var(--line); margin: 8px 0; }
.actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; align-items: center; }
.search { display: flex; gap: 8px; max-width: 520px; }
.search input { flex: 1; }

/* フラッシュ */
.flash { padding: 12px 18px; border-radius: 12px; margin: 16px 0 0; font-weight: 700; }
.flash.ok { background: #e6f6e8; color: var(--green-d); }
.flash.error { background: #ffe9f2; color: #b3226a; }
.flash.info { background: #e6f2fb; color: var(--navy); }

/* 表(管理) */
table.t { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.t th, table.t td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t th { background: #eaf6ec; color: var(--navy); font-size: .9rem; }
table.t tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.inline { display: inline; margin: 0; }
.badge { display: inline-block; padding: 0 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #eaf6ec; color: var(--green-d); }
.badge.pink { background: #ffe9f2; color: #b3226a; }
.badge.blue { background: #e6f2fb; color: var(--navy); }
.slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.slides img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; border: 2px solid var(--line); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }

/* フッター */
.site-footer { margin-top: 64px; background: #f3faf0 url(leaves.svg) center / 260px; border-top: 4px solid var(--leaf); text-align: center; padding: 28px 0 36px; color: var(--navy); font-size: .9rem; }
.site-footer .box { background: rgba(255, 253, 246, .92); display: inline-block; padding: 12px 28px; border-radius: 14px; }
.site-footer p { margin: 2px 0; }
