/* フォト婚ナビ：やわらかいピンク基調のデザイン */
:root {
  --pink: #ec7fa0;
  --pink-deep: #d85c84;
  --pink-soft: #fde6ed;
  --pink-pale: #fff7f9;
  --cream: #fffaf5;
  --gold: #c7a172;
  --ink: #5b4a50;
  --muted: #a08d93;
  --line: #f5dfe6;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(216, 92, 132, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--pink-pale);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pink-deep); text-decoration: none; }
a:hover { opacity: .8; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.5; margin: 0; font-weight: 700; }
.container { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(560px, 100% - 32px); margin-inline: auto; }

/* ヘッダー */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--pink-deep); letter-spacing: .04em; }
.logo svg { width: 30px; height: 30px; }
.logo small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .08em; line-height: 1.2; }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; flex-wrap: wrap; font-size: 14px; }
.nav a { color: var(--ink); font-weight: 500; }
.nav form { margin: 0; }
.mobile-toggle, .mobile-nav-contact { display: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }

/* ボタン */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; font: inherit; font-weight: 700; border-radius: 999px; padding: 12px 28px; background: linear-gradient(135deg, #f397b3, var(--pink-deep)); color: #fff; box-shadow: 0 6px 16px rgba(216, 92, 132, .28); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); opacity: 1; box-shadow: 0 8px 20px rgba(216, 92, 132, .34); }
.btn.ghost { background: #fff; color: var(--pink-deep); border: 1.5px solid var(--pink); box-shadow: none; }
.btn.small { padding: 7px 16px; font-size: 13px; }
.btn.block { width: 100%; }
.btn.gray { background: #fff; color: var(--muted); border: 1.5px solid var(--line); box-shadow: none; }

/* トップの大きな見出し部分 */
.hero { background: linear-gradient(115deg, #f7ede7, #fffaf7 52%, #fbecf0); padding: 38px 0 42px; position: relative; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.garden-intro { min-width: 0; }
.garden-photo { width: 100%; height: auto; aspect-ratio: 2.25; object-fit: cover; object-position: 50% 48%; border-radius: 14px 14px 0 0; }
.garden-copy { position: relative; padding: 18px 8px 0; }
.hero .eyebrow { display: inline-block; color: #8c535d; letter-spacing: .06em; font-size: 13px; font-weight: 700; }
.hero .eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 26px; height: 1px; background: #af8b59; margin-right: 9px; }
.hero h1 { font-size: clamp(29px, 2.6vw, 38px); line-height: 1.38; letter-spacing: .05em; margin: 8px 0; }
.hero h1 em { font-style: normal; color: var(--pink-deep); }
.hero p.lead { color: var(--muted); margin: 0 0 8px; }
.hero .count { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.hero .count b { font-size: 22px; color: var(--pink-deep); margin-inline: 4px; }

.mobile-studio-search { display: none; }
.search-panel { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.search-panel h2 { font-size: 17px; margin-bottom: 14px; text-align: center; }
.field { margin-bottom: 14px; }
.field label, .label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.field .hint { font-size: 12px; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=date], input[type=tel], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--pink-pale); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 11px 14px; outline: none; transition: border-color .15s, background .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--pink); background: #fff; }
/* 入力欄の高さは、種類（文字・電話・選択など）が違ってもそろえる */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=date], input[type=tel], select { height: 48px; padding-block: 0; line-height: normal; box-sizing: border-box; }
textarea { min-height: 140px; resize: vertical; }
input[type=file] { font: inherit; font-size: 13px; }

/* セクション */
.section { padding: 56px 0; }
.section.white { background: #fff; }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title .en { display: block; font-size: 12px; letter-spacing: .3em; color: var(--gold); font-weight: 500; }
.section-title h2 { font-size: 24px; }
.section-title p { color: var(--muted); margin: 6px 0 0; font-size: 14px; }

/* 丸いアイコンのタイル */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 10px 14px; text-align: center; color: var(--ink); font-weight: 500; font-size: 13.5px; line-height: 1.5; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); opacity: 1; }
.tile .ico { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; background: var(--pink-soft); display: grid; place-items: center; font-size: 26px; }
.section.white .tile { background: var(--pink-pale); }

/* タグ・チップ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 13px; color: var(--ink); }
a.chip:hover { border-color: var(--pink); color: var(--pink-deep); opacity: 1; }
.chip.on { background: var(--pink-soft); border-color: var(--pink); color: var(--pink-deep); font-weight: 700; }
.tag { display: inline-block; background: var(--pink-soft); color: var(--pink-deep); border-radius: 999px; font-size: 11.5px; padding: 1px 10px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 10px; background: var(--gold); color: #fff; }
.badge.pink { background: var(--pink-deep); }
.badge.gray { background: #cbbfc3; }

/* エリア */
.regions { display: grid; gap: 12px; }
.region { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.region h3 { font-size: 14px; color: var(--pink-deep); padding-top: 4px; }

/* スタジオのカード */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); opacity: 1; }
.thumb { aspect-ratio: 3 / 2; position: relative; display: grid; place-items: center; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb svg { width: 64px; height: 64px; opacity: .85; }
.thumb .badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.thumb-0 { background: linear-gradient(135deg, #ffe0ea, #ffeedd); }
.thumb-1 { background: linear-gradient(135deg, #fbd5e2, #f6e3f5); }
.thumb-2 { background: linear-gradient(135deg, #fff0e3, #ffdfe8); }
.thumb-3 { background: linear-gradient(135deg, #f9e1ee, #e6eefb); }
.thumb-4 { background: linear-gradient(135deg, #ffe7ef, #eaf6ee); }
.thumb-5 { background: linear-gradient(135deg, #fde3d8, #fbdbe7); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body .area { font-size: 12px; color: var(--muted); }
.card-body h3 { font-size: 16px; }
.card-body .copy { font-size: 13px; color: var(--muted); margin: 0; }
.card-body .price { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--muted); }
.card-body .price b { font-size: 18px; color: var(--pink-deep); margin-inline: 2px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* 検索ページ */
.page-head { background: linear-gradient(135deg, #ffe6ee, #fff3e8); padding: 30px 0; }
.page-head h1 { font-size: 22px; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 32px 0 56px; align-items: start; }
.filter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 84px; }
.filter h2 { font-size: 15px; margin-bottom: 12px; }
.filter details { border-top: 1px dashed var(--line); padding: 10px 0; }
.filter summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.checks { display: grid; gap: 4px; margin-top: 8px; font-size: 13px; }
.checks label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
input[type=checkbox] { accent-color: var(--pink-deep); width: 16px; height: 16px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; flex-wrap: wrap; gap: 8px; }
.result-bar b { color: var(--pink-deep); font-size: 20px; }
.sort a { margin-left: 12px; color: var(--muted); }
.sort a.on { color: var(--pink-deep); font-weight: 700; border-bottom: 2px solid var(--pink); }
.empty { background: #fff; border: 1px dashed var(--pink); border-radius: var(--radius); padding: 48px 20px; text-align: center; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 14px; padding: 0 8px; }
.pager .on { background: var(--pink-deep); color: #fff; border-color: var(--pink-deep); }
.pager .off { opacity: .4; }

/* スタジオ詳細 */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 28px 0 56px; align-items: start; }
.detail-hero { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.detail-hero.thumb svg { width: 96px; height: 96px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.panel h2 { font-size: 17px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--pink); }
.panel p { margin: 0 0 8px; white-space: pre-line; }
.info { width: 100%; border-collapse: collapse; font-size: 14px; }
.info th, .info td { text-align: left; padding: 10px 6px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.info th { width: 110px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.info .map { margin-top: 10px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.info .map iframe { display: block; width: 100%; height: 100%; border: 0; }
.info .map-link { display: inline-block; margin-top: 6px; font-size: 13px; }
.ext-icon { display: inline-block; vertical-align: -0.15em; margin-left: 3px; }
.side { position: sticky; top: 84px; display: grid; gap: 16px; }
.side .panel { margin-top: 0; }
.side .price b { font-size: 26px; color: var(--pink-deep); }
.coupon { border: 2px dashed var(--pink); background: var(--pink-pale); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; position: relative; }
.coupon h3 { font-size: 15px; color: var(--pink-deep); }
.coupon p { font-size: 13px; margin: 4px 0 0; }
.coupon .until { font-size: 12px; color: var(--muted); }
.note { font-size: 12px; color: var(--muted); background: var(--cream); border-radius: var(--radius); padding: 10px 14px; }
.claim-box { background: linear-gradient(135deg, #fff, #fff3e8); border: 1px solid #f3e2cc; border-radius: var(--radius); padding: 18px; font-size: 13px; }
.claim-box b { display: block; font-size: 14px; margin-bottom: 4px; }

/* フォーム・管理画面 */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin: 40px auto; }
.form-card h1 { font-size: 20px; text-align: center; margin-bottom: 20px; }
.form-card .sub { text-align: center; font-size: 13px; margin-top: 16px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.alert { border-radius: var(--radius); padding: 12px 16px; margin: 16px 0; font-size: 14px; }
.alert.ok { background: #eaf7ef; color: #2f7a4e; border: 1px solid #cdebd8; }
.alert.err { background: #fdecec; color: #b24545; border: 1px solid #f7cfcf; }
.alert ul { margin: 0; padding-left: 18px; }
.locked { background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 16px; font-size: 13px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { color: var(--muted); font-weight: 500; font-size: 12px; white-space: nowrap; }
.table select { height: auto; padding: 5px 8px; border-radius: 10px; width: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 6px 12px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.row-actions form { margin: 0; display: flex; gap: 6px; align-items: center; }

/* 事業者向け */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.paid { border: 2px solid var(--pink); box-shadow: var(--shadow); }
.plan h3 { font-size: 18px; }
.plan .yen { font-size: 28px; font-weight: 700; color: var(--pink-deep); margin: 6px 0 12px; }
.plan .yen small { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.plan li { padding: 7px 0 7px 26px; border-bottom: 1px dashed var(--line); position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--pink-deep); font-weight: 700; }
.plan li.no { color: #c9bcc0; }
.plan li.no::before { content: "–"; color: #c9bcc0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--pink-pale); border-radius: var(--radius); padding: 22px; counter-increment: step; }
.step::before { content: "STEP " counter(step); font-size: 12px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.step h3 { font-size: 16px; margin: 4px 0 6px; }
.step p { margin: 0; font-size: 13px; color: var(--muted); }
.cta-band { background: linear-gradient(135deg, #f7a6bd, #e8799c); color: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center; }
.cta-band h2 { font-size: 22px; }
.cta-band p { margin: 8px 0 18px; opacity: .95; }
.cta-band .btn { background: #fff; color: var(--pink-deep); }

/* 撮りたい場所から探す（写真カードのスライドショー） */
.scene-slider { position: relative; --per-view: 4; --gap: 18px; }
.scene-viewport { overflow: hidden; padding: 6px 4px 22px; margin: -6px -4px -10px; }
.scene-track { display: flex; column-gap: var(--gap); will-change: transform; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.scene-card { flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--pink-soft); box-shadow: var(--shadow); color: #fff; -webkit-user-drag: none; }
.scene-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; pointer-events: none; }
.scene-card:hover { opacity: 1; }
.scene-card:hover img { transform: scale(1.06); }
.scene-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(60, 30, 40, .62), rgba(60, 30, 40, 0) 48%); pointer-events: none; }
.scene-name { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-weight: 700; font-size: 15px; line-height: 1.5; text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.scene-fallback { display: grid; place-items: center; height: 100%; font-size: 48px; }
.scene-nav { position: absolute; top: calc(50% - 40px); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--pink-deep); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(216, 92, 132, .25); display: grid; place-items: center; padding: 0 0 3px; transition: transform .15s, background .15s; }
.scene-nav:hover { background: var(--pink-soft); transform: scale(1.08); }
.scene-nav.prev { left: -24px; }
.scene-nav.next { right: -24px; }
.scene-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; }
.scene-dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #efcfd9; cursor: pointer; overflow: hidden; transition: width .3s, background .3s; }
.scene-dot.on { width: 36px; background: var(--pink-soft); }
.scene-dot.on::after { content: ""; position: absolute; inset: 0; transform-origin: left; background: var(--pink); animation: scene-progress var(--slide-interval, 4s) linear forwards; }
.scene-slider.is-paused .scene-dot.on::after { animation: none; transform: scaleX(1); }
@keyframes scene-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* フッター */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 13px; color: var(--muted); }
.site-footer .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 20px; }
.site-footer a { color: var(--ink); display: block; padding: 2px 0; }
.site-footer .copy { text-align: center; font-size: 12px; border-top: 1px solid var(--line); padding-top: 16px; }

/* 施設ページの写真ギャラリー */
.gallery-main { position: relative; background: #f6eef0; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink, #333); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { flex: 0 0 88px; aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.on { border-color: var(--pink); opacity: 1; }

/* 編集画面の写真の並び替え */
.panel .hint { font-size: 12px; color: var(--muted); font-weight: 400; }
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6.667px 10px; }
.photo-item, .photo-add { position: relative; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; }
.photo-item { background: #f6eef0; cursor: grab; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.photo-item.is-main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; outline: 2px solid var(--pink); outline-offset: -2px; }
.photo-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.photo-item.dragging { opacity: .45; }
.photo-grid.is-sorting, .photo-grid.is-sorting .photo-item { cursor: grabbing; }
.photo-item.is-new img { opacity: .9; }
.photo-no { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.photo-item.is-main .photo-no { background: var(--pink); font-size: 12px; padding: 3px 10px; }
.photo-tag { position: absolute; bottom: 6px; left: 6px; background: #fff; color: var(--pink); font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.photo-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 16px; line-height: 26px; padding: 0; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.photo-x:hover { background: #fff; color: #c0392b; }
.photo-cover { position: absolute; right: 6px; bottom: 6px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 11px; padding: 3px 10px; cursor: pointer; opacity: 0; transition: opacity .15s; }
.photo-item:hover .photo-cover, .photo-cover:focus { opacity: 1; }
.photo-item.is-main .photo-cover { display: none; }
@media (hover: none) { .photo-cover { opacity: 1; } }
.photo-add label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1.5px dashed var(--pink); border-radius: 6px; background: var(--pink-pale, #fff5f8); color: var(--pink); cursor: pointer; font-size: 12px; font-weight: 700; transition: background .15s; }
.photo-add label:hover { background: #ffe9f0; }
.photo-add-icon { font-size: 28px; line-height: 1; font-weight: 400; }
.photo-grid.is-empty .photo-add { grid-column: span 2; grid-row: span 2; aspect-ratio: 3 / 2; }
.photo-grid.is-empty .photo-add-icon { font-size: 44px; }
.photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-input:focus-visible + * { outline: 2px solid var(--pink); }
.offer-photo { margin-top: 14px; }
.offer-photo [hidden] { display: none; }
.offer-photo .offer-photo-tile { width: min(132px, 100%); aspect-ratio: 1; }
.offer-photo-tile label { margin: 0; }
.offer-photo-tile:has(input:focus-visible) { outline: 2px solid var(--pink-deep); outline-offset: 2px; }
.offer-photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-photo-tile:has(img:not([hidden])) label { border-style: solid; border-color: var(--line); }
.offer-photo-tile:has(img:not([hidden])) .photo-add-text { position: absolute; inset: auto 0 0; padding: 4px; text-align: center; background: rgba(0,0,0,.58); color: #fff; }
.offer-photo > .hint { margin: 5px 0 0; }
.offer-photo [data-photo-status]:empty { display: none; }
.photo-undo { margin-top: 10px !important; font-size: 13px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--pink); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.photo-save { margin-top: 8px !important; color: #c0392b !important; }

@media (max-width: 860px) {
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5.333px 8px; }
  .photo-cover { font-size: 10px; padding: 2px 7px; right: 4px; bottom: 4px; }
  .photo-x { width: 24px; height: 24px; line-height: 24px; top: 4px; right: 4px; }
  .hero { padding: 0 0 20px; }
  .hero-grid { gap: 12px; }
  .garden-photo { width: 100vw; max-width: none; margin-left: calc((100% - 100vw) / 2); border-radius: 0; aspect-ratio: auto; height: clamp(138px, 39vw, 220px); object-position: 50% 42%; }
  .garden-copy { padding: 12px 0 0; }
  .hero .eyebrow { font-size: 11px; }
  .hero h1 { font-size: clamp(24px, 5.4vw, 30px); line-height: 1.28; margin: 5px 0 3px; }
  .hero p.lead { display: none; }
  .hero .count { font-size: 12px; }
  .hero .count b { font-size: 16px; }
  .hero .search-panel { display: none; }
  .mobile-studio-search { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .mobile-studio-search svg { width: 24px; height: 24px; fill: none; stroke: var(--pink-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .studio-name-search { display: flex; align-items: center; background: #fff; border: 1px solid #d8b8c1; border-radius: 9px; }
  .studio-name-search:focus-within { outline: 2px solid #ac4567; outline-offset: 1px; }
  .studio-name-search input { flex: 1; min-width: 0; height: 44px; padding: 0 12px 0 0; font: inherit; font-size: 16px; color: var(--ink); border: 0; background: transparent; }
  .studio-name-search input:focus { outline: none; }
  .studio-name-search button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .studio-search-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .studio-search-links a { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 64px; padding: 6px; border-radius: 9px; border: 1px solid #e3c7cf; background: #fffaf8; color: var(--ink); font-weight: 700; font-size: 14px; }
  .section:is(#area, #location, #style) { scroll-margin-top: 64px; }
  .mobile-toggle.is-ready { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
  .mobile-toggle.is-ready[aria-expanded=false] + * { display: none; }
  .mobile-toggle[aria-expanded=true] .chevron { transform: rotate(225deg); }
  .chevron { width: 8px; height: 8px; border-right: 2px solid var(--pink-deep); border-bottom: 2px solid var(--pink-deep); transform: rotate(45deg); flex: none; }
  .results-head { padding: 13px 0; }
  .results-head h1 { font-size: 18px; text-wrap: balance; }
  .results-head p { display: none; }
  .layout { gap: 14px; padding-block: 14px 36px; }
  .filter:has(.is-ready) { padding: 0; }
  .filter-toggle { width: 100%; border: 0; background: none; text-align: left; padding: 8px 14px; }
  .filter-selection { flex: 1; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 400; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .filter-toggle.is-ready + div { padding: 0 14px 14px; }
  .filter-toggle.is-ready + div h2 { display: none; }
  .result-bar { gap: 4px 8px; margin-bottom: 10px; }
  .sort { font-size: 12px; }
  .sort a { margin-left: 6px; }
  .hero + .section { padding-top: 24px; }
  .hero + .section .section-title { margin-bottom: 16px; }
  .hero-grid, .layout, .detail, .plans, .steps { grid-template-columns: minmax(0, 1fr); }
  .filter, .side { position: static; }
  .region { grid-template-columns: 1fr; gap: 6px; }
  .grid-2 { grid-template-columns: 1fr; }
  .site-header .container { min-height: 56px; gap: 4px 10px; padding-block: 4px; }
  .site-header .container:has(.menu-toggle.is-ready) { flex-wrap: nowrap; }
  .site-header .logo small { font-size: 9px; }
  .site-header .logo { font-size: 18px; line-height: 1.35; }
  .mobile-toggle.menu-toggle { flex: none; font-size: 14px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; }
  .hamburger { width: 16px; height: 12px; border-block: 2px solid currentColor; position: relative; }
  .hamburger::after { content: ''; position: absolute; top: 3px; left: 0; width: 100%; border-top: 2px solid; }
  .nav { gap: 4px; width: 100%; margin-left: 0; }
  .mobile-nav-contact { display: inline-flex; }
  .menu-toggle.is-ready + .nav { position: absolute; inset: 100% 0 auto; display: grid; padding: 8px max(16px, calc((100% - 1080px) / 2)) 14px; background: #fff; box-shadow: var(--shadow); border-block: 1px solid var(--line); max-height: calc(100dvh - 56px); overflow-y: auto; }
  .menu-toggle.is-ready[aria-expanded=false] + .nav { display: none; }
  .nav a, .nav .linklike { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; }
  .nav a:not(.btn):hover, .nav a:focus-visible { background-color: var(--pink-pale); }
  .nav form { display: flex; flex-wrap: wrap; align-items: center; padding-inline: 12px; overflow-wrap: anywhere; }
  .form-card { padding: 24px 18px; }
  .section { padding: 40px 0; }
  .scene-slider { --per-view: 2.3; --gap: 12px; }
  .scene-nav { width: 38px; height: 38px; font-size: 22px; top: calc(50% - 34px); }
  .scene-nav.prev { left: -8px; }
  .scene-nav.next { right: -8px; }
}

@media (max-width: 400px) {
  .hero + .section .section-title p { display: none; }
}

/* 運営画面の数字の箱 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--pink-pale); border-radius: var(--radius); padding: 10px 14px; font-size: 12px; color: var(--muted); }
.stat b { display: block; font-size: 22px; color: var(--ink); line-height: 1.3; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; }
.table small { color: var(--muted); }

/* オーナー確認の手続き（1画面に1つのことだけを聞く） */
.flow-steps { list-style: none; display: flex; gap: 4px; margin: 0 0 24px; padding: 0; font-size: 11px; color: var(--muted); }
.flow-steps li { flex: 1; text-align: center; position: relative; line-height: 1.4; }
.flow-steps li span { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin: 0 auto 4px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); font-weight: 700; position: relative; z-index: 1; }
.flow-steps li + li::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 1.5px; background: var(--line); }
.flow-steps li.done span { background: var(--pink-soft); border-color: var(--pink); color: var(--pink-deep); }
.flow-steps li.done + li::before { background: var(--pink); }
.flow-steps li.now { color: var(--ink); font-weight: 700; }
.flow-steps li.now span { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }
.form-card .lead { text-align: center; font-size: 14px; color: var(--muted); margin: -8px 0 20px; }
.form-card .lead b { color: var(--ink); }
.form-card.center { text-align: center; }
.form-card .sub-head { font-size: 14px; margin: 28px 0 10px; padding-top: 20px; border-top: 1px dashed var(--line); }
.code-input { text-align: center; font-size: 22px !important; letter-spacing: .4em; font-weight: 700; padding-left: calc(14px + .4em) !important; }
.phone-box { background: var(--pink-pale); border: 1.5px solid var(--pink-soft); border-radius: var(--radius); padding: 16px; text-align: center; margin-bottom: 16px; }
.phone-box small { display: block; font-size: 12px; color: var(--muted); }
.phone-box b { font-size: 26px; letter-spacing: .04em; }
.howto { margin: 0 0 20px; padding-left: 22px; font-size: 14px; }
.howto li { margin-bottom: 6px; }
.big-mark { font-size: 44px; line-height: 1; margin-bottom: 8px; }
.pick-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.pick-row small { color: var(--muted); }
.preview-bar { background: #fff6d6; color: #7a5b00; border-bottom: 1px solid #f0dc94; text-align: center; font-size: 13px; padding: 8px 16px; }
/* 完了のチェック：円が描かれてから、チェックが描かれる */
.check-mark { width: 84px; height: 84px; display: block; margin: 4px auto 14px; fill: none; stroke: var(--pink-deep); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; animation: check-pop .35s ease-out 1s both; }
.check-mark circle { fill: var(--pink-soft); stroke-dasharray: 202; stroke-dashoffset: 202; transform: rotate(-90deg); transform-origin: center; animation: check-draw .6s ease-out .15s forwards; }
.check-mark path { stroke-dasharray: 44; stroke-dashoffset: 44; animation: check-draw .35s ease-out .7s forwards; }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
@keyframes check-pop { 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .check-mark, .check-mark circle, .check-mark path { animation: none; stroke-dashoffset: 0; } }
.preview-bar button { margin-left: 8px; font: inherit; font-size: 12px; color: inherit; background: #fff; border: 1px solid #e0c766; border-radius: 999px; padding: 2px 12px; cursor: pointer; }

/* 口コミ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; vertical-align: -1px; white-space: nowrap; }
.stars::before { content: "★★★★★"; color: #e6dadd; }
.stars span { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.stars span::before { content: "★★★★★"; color: #f2a73b; }
.rating-link { color: var(--ink); font-size: 13px; }
.rating-link b { font-size: 15px; }
.review-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.review-summary b { font-size: 30px; line-height: 1; color: var(--pink-deep); }
.review-summary .stars { font-size: 20px; }
.review-summary span:last-child { font-size: 13px; color: var(--muted); }
.review-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.review { border-top: 1px solid var(--line); padding: 16px 0 6px; margin-top: 14px; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-bottom: 6px; }
.review-head > span:last-child { color: var(--muted); font-size: 12px; }
.review p { font-size: 14px; overflow-wrap: anywhere; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 34px; line-height: 1; color: #e6dadd; cursor: pointer; margin: 0; transition: color .12s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f2a73b; }
.star-input input:focus-visible + label { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
input[type=month] { width: 100%; height: 48px; font: inherit; color: var(--ink); background: var(--pink-pale); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0 14px; outline: none; box-sizing: border-box; }
.btn.social { margin-bottom: 12px; box-shadow: none; }
.btn.social.line { background: #06c755; color: #fff; }
.btn.social.google { background: #fff; color: #3c4043; border: 1.5px solid #dadce0; }
.member-name { color: var(--muted); font-size: 13px; }

/* 掲載内容の編集：クーポン（保存ボタンでまとめて保存） */
.coupon-list { display: grid; gap: 12px; }
.coupon-list:has(.coupon-edit) { margin-bottom: 12px; }
.coupon-edit { position: relative; border: 2px dashed var(--pink); border-radius: var(--radius); background: #fff; padding: 16px 16px 14px; }
.coupon-edit .field:last-of-type { margin-bottom: 0; }
.coupon-x { top: 10px; right: 10px; border: 1.5px solid var(--line); box-shadow: none; }
.coupon-edit .grid-2 { padding-right: 34px; }
.coupon-new-tag { display: none; position: absolute; top: -11px; left: 14px; padding: 1px 10px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; }
.coupon-edit.is-new .coupon-new-tag { display: inline-block; }
.coupon-deleted { display: none; margin: 0; font-size: 13px; color: var(--muted); }
.coupon-edit.is-deleted { border-style: solid; border-color: var(--line); background: var(--pink-pale); padding: 12px 16px; }
.coupon-edit.is-deleted .coupon-fields { display: none; }
.coupon-edit.is-deleted .coupon-deleted { display: block; }
.coupon-add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 14px; border: 1.5px dashed var(--pink); border-radius: var(--radius); background: var(--pink-pale); color: var(--pink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s; }
.coupon-add:hover { background: #ffe9f0; }
.coupon-add span { font-size: 20px; line-height: 1; font-weight: 400; }

/* 利用規約・プライバシーポリシー */
.legal { max-width: 760px; font-size: 14px; line-height: 1.9; }
.legal h2 { font-size: 17px; margin: 36px 0 10px; padding-left: 10px; border-left: 4px solid var(--pink, #ec7fa0); }
.legal h3 { font-size: 14px; margin: 18px 0 4px; }
.legal ol, .legal ul { padding-left: 1.4em; margin: 6px 0; }
.legal li { margin: 4px 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--cream); font-weight: 500; }
.legal-info { display: grid; grid-template-columns: 6em 1fr; gap: 6px 14px; background: var(--cream); border-radius: var(--radius); padding: 14px 18px; }
.legal-info dt { color: var(--muted); }
.legal-info dd { margin: 0; }
.legal-date { margin-top: 28px; color: var(--muted); font-size: 13px; text-align: right; }
.site-footer .copy a { display: inline-block; color: inherit; margin: 0 10px 8px; }

/* 運営画面の共通ナビゲーション */
.admin-sidebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.admin-brand { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-size: 17px; font-weight: 700; white-space: nowrap; }
.admin-brand small { color: #9a4561; font-size: 12px; }
.admin-workspace { display: grid; grid-template-columns: 192px minmax(0, 1fr); }
.admin-workspace > main { min-width: 0; }
.admin-workspace .admin-sidebar { position: sticky; top: 0; height: 100dvh; overflow-y: auto; align-self: start; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 25px; padding: 20px 12px; border: 0; border-right: 1px solid var(--line); }
.admin-workspace .admin-brand { padding: 0 6px; }
.admin-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.admin-nav a, .admin-nav button { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border: none; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 500; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.admin-nav a:hover, .admin-nav button:hover { background: var(--pink-pale); opacity: 1; }
.admin-nav [aria-current], .admin-workspace:has(#claims:target, [id^="claim-"]:target, [id^="publish-studio-"]:target) .admin-nav a[href$="#claims"],
.admin-workspace:has(#studios:target) .admin-nav a[href$="#studios"],
.admin-workspace:has(#reviews:target) .admin-nav a[href$="#reviews"],
.admin-workspace:has(#collection:target) .admin-nav a[href$="#collection"] { background: var(--pink-soft); color: #853750; font-weight: 700; }
.admin-utilities { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.admin-nav form, .admin-nav form button { margin: 0; width: 100%; }
.admin-workspace tr[id]:target { background: var(--pink-pale); }
.admin-workspace [id] { scroll-margin-top: 12px; }

@media (max-width: 860px) {
  .admin-workspace { display: block; }
  .admin-workspace .admin-sidebar { flex-flow: row wrap; align-items: center; gap: 4px 10px; padding: 5px 12px; min-height: 56px; height: auto; overflow: visible; z-index: 20; border: 0; border-bottom: 1px solid var(--line); }
  .admin-workspace .admin-brand { padding: 0; }
  .admin-nav { flex: 0 0 100%; }
  .admin-sidebar .menu-toggle.is-ready + .admin-nav { position: absolute; inset: 100% 0 auto; padding: 8px 12px; overflow-y: auto; max-height: calc(100dvh - 56px); background: #fff; border-block: 1px solid var(--line); box-shadow: var(--shadow); }
  .admin-workspace [id] { scroll-margin-top: 68px; }
  .admin-workspace .table { min-width: 640px; }
  .admin-utilities { margin-top: 4px; padding-top: 6px; }
}

/* 解説ページ（フォト婚とは） */
.guide { margin-inline: auto; }
.guide-summary { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.guide-toc { background: var(--pink-pale); border-radius: var(--radius); padding: 14px 20px; margin-top: 18px; }
.guide-toc ol { margin: 6px 0 0; }
.guide h2 { scroll-margin-top: 80px; }
.guide .chips { margin: 10px 0; }
.home-about { max-width: 760px; margin-inline: auto; font-size: 14px; line-height: 1.9; }
.home-about h3 { font-size: 15px; margin: 20px 0 4px; }
.home-about p { margin: 0 0 8px; }

/* コラム記事（公開ページ） */
.article-body mark { background: linear-gradient(transparent 55%, #ffe38a 55%); color: inherit; padding: 0 1px; }
.article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.article-figure { margin: 22px 0; text-align: center; }
.article-figure img { max-width: 100%; border-radius: var(--radius); }
.article-figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.article-check { list-style: none; padding-left: 0 !important; }
.article-check li { position: relative; padding-left: 1.8em; }
.article-check li::before { content: "✓"; position: absolute; left: .3em; color: var(--pink-deep); font-weight: 700; }
.article-box { border-radius: var(--radius); padding: 14px 18px; margin: 20px 0; border: 1px solid var(--line); background: var(--cream); }
.article-box p { margin: 6px 0 0; }
.article-box-title { display: block; color: var(--pink-deep); }
.article-box.note { background: #f4f8fb; border-color: #d5e3ee; }
.article-box.note .article-box-title { color: #3f6f93; }
.article-box.warn { background: #fff6d6; border-color: #f0dc94; }
.article-box.warn .article-box-title { color: #7a5b00; }
.article-quote { margin: 20px 0; padding: 12px 18px; border-left: 4px solid var(--pink); background: var(--pink-pale); border-radius: 0 var(--radius) var(--radius) 0; }
.article-quote p { margin: 0; }
.article-quote cite { display: block; margin-top: 6px; font-size: 12.5px; font-style: normal; color: var(--muted); }
.article-button { text-align: center; margin: 24px 0; }
.article-studios { margin: 20px 0 0; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.article-body .table-wrap { margin: 12px 0; }

/* コラム記事のエディタ（運営画面）。枠まわりは白とグレーで静かに、紙面は公開ページと同じ見た目にする */
.cms { --cms-line: #e6e6e6; --cms-ink: #1f1f1f; --cms-sub: #8a8a8a; background: #fff; min-height: 100dvh; color: var(--cms-ink); }
.cms [hidden], .cms-bubble[hidden] { display: none !important; }
.cms-bar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--cms-line); font-size: 13px; }
.cms-back { color: var(--cms-ink); font-weight: 500; white-space: nowrap; }
.cms-crumb { color: var(--cms-sub); margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cms-state { font-size: 12px; color: var(--cms-sub); border: 1px solid var(--cms-line); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.cms-state.on { color: #1c7c4a; border-color: #b9e2cb; background: #eefaf3; }
.cms-btn { display: inline-flex; align-items: center; font: inherit; font-size: 13px; font-weight: 500; color: var(--cms-ink); background: #fff; border: 1px solid #d0d0d0; border-radius: 6px; padding: 6px 14px; cursor: pointer; white-space: nowrap; }
.cms-btn:hover { background: #f5f5f5; opacity: 1; }
.cms-btn.primary { background: var(--cms-ink); border-color: var(--cms-ink); color: #fff; }
.cms-btn.primary:hover { background: #000; }
.cms-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.cms-doc { max-width: 700px; width: 100%; margin: 0 auto; padding: 28px 24px 120px; }
.cms-title { display: block; width: 100%; min-height: 0; resize: none; overflow: hidden; font: inherit; font-size: 28px; font-weight: 700; line-height: 1.5; color: var(--cms-ink); background: transparent; border: 0; border-bottom: 1px solid var(--cms-line); border-radius: 0; padding: 4px 0 10px; outline: none; }
.cms-title:focus { background: transparent; border-color: var(--cms-ink); }
.cms-title::placeholder { color: #c4c4c4; }
.cms-card { margin-top: 28px; border: 1px solid var(--cms-line); border-radius: 8px; }
.cms-card > header { background: #f6f6f6; padding: 10px 16px; font-size: 13px; font-weight: 700; border-radius: 8px 8px 0 0; }
.cms-body { position: relative; max-width: none; padding: 28px 28px 40px 48px; min-height: 320px; cursor: text; }
.cms-tip { font-size: 12px; color: var(--cms-sub); margin: 10px 2px; }
.cms-plus { position: absolute; left: 12px; z-index: 6; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; border: 1px solid #d0d0d0; background: #fff; color: var(--cms-ink); font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
.cms-plus:hover { background: #f0f0f0; }
.cms-menu { position: absolute; left: 12px; z-index: 12; width: 250px; max-height: 520px; overflow-y: auto; background: #fff; border: 1px solid var(--cms-line); border-radius: 8px; padding: 6px; box-shadow: 0 8px 28px rgba(0, 0, 0, .14); }
.cms-menu button { display: flex; align-items: center; gap: 10px; width: 100%; font: inherit; font-size: 13px; text-align: left; color: var(--cms-ink); background: #fff; border: 0; border-radius: 6px; padding: 7px 8px; cursor: pointer; }
.cms-menu button:hover { background: #f3f3f3; }
.cms-menu .ico { width: 22px; text-align: center; font-size: 12px; font-weight: 700; color: #555; }
.cms-menu .name { flex: 1; }
.cms-menu kbd { font: inherit; font-size: 10.5px; color: var(--cms-sub); background: #f3f3f3; border-radius: 4px; padding: 1px 6px; }
.cms-bubble { position: fixed; z-index: 30; display: flex; gap: 2px; background: #222; border-radius: 8px; padding: 4px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.cms-bubble .eb-tool { background: transparent; color: #fff; }
.cms-bubble .eb-tool:hover { background: #444; color: #fff; }
.cms-bubble .is-bold { font-weight: 700; }
.cms-bubble .is-mark { text-decoration: underline; text-decoration-color: #ffe38a; text-decoration-thickness: 4px; text-underline-offset: 1px; }
.cms-props { position: sticky; top: 49px; min-height: calc(100dvh - 49px); border-left: 1px solid var(--cms-line); padding: 18px 16px; font-size: 13px; }
.cms-props h2 { font-size: 14px; margin-bottom: 14px; }
.cms-prop { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; align-items: center; border-top: 1px solid var(--cms-line); padding: 10px 0; }
.cms-prop:last-of-type { border-bottom: 1px solid var(--cms-line); }
.cms-prop > label, .cms-prop > span { font-weight: 700; font-size: 12px; }
.cms-prop > div { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cms-prop input[type="text"], .cms-prop textarea { min-height: 0; font-size: 13px; padding: 6px 8px; background: #fff; border: 1px solid transparent; border-radius: 6px; resize: none; overflow: hidden; }
.cms-prop input[type="text"]:hover, .cms-prop textarea:hover, .cms-prop input[type="text"]:focus, .cms-prop textarea:focus { border-color: #d0d0d0; background: #fff; }
.cms-prefix { color: var(--cms-sub); white-space: nowrap; font-size: 12px; }
.cms-cover { display: grid; place-items: center; width: 96px; height: 60px; border-radius: 4px; background: #eee; color: var(--cms-sub); font-size: 18px; cursor: pointer; overflow: hidden; }
.cms-cover img { width: 100%; height: 100%; object-fit: cover; }
.cms-delete { margin-top: 24px; font-size: 12px; }
.eb { position: relative; }
.eb-edit { outline: none; min-height: 1.9em; overflow-wrap: anywhere; }
.eb-edit:empty::before { content: attr(data-placeholder); color: #c4c4c4; pointer-events: none; }
.eb-text .eb-edit:empty:not(:focus)::before { content: ""; }
.eb-text:first-child:last-child .eb-edit:empty::before, .eb-text .eb-edit:empty:focus::before { content: attr(data-placeholder); font-style: italic; }
.eb-rich { white-space: pre-wrap; }
.eb-text p { margin: 0 0 12px; }
.eb-list ul, .eb-list ol { min-height: 1.9em; }
.eb-widget { margin: 6px -8px; padding: 2px 8px; border-radius: 8px; outline: 1px solid transparent; }
.eb-widget:hover, .eb-widget:focus-within { outline-color: #d0d0d0; }
.eb-bar { display: none; position: absolute; right: 6px; top: -14px; z-index: 5; align-items: center; gap: 2px; background: #fff; border: 1px solid #d0d0d0; border-radius: 6px; padding: 2px 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); font-size: 12px; font-weight: 400; line-height: 1.4; }
.eb-widget:hover > .eb-bar, .eb-widget:focus-within > .eb-bar { display: flex; }
.eb-tool { font: inherit; font-size: 12px; background: #fff; border: 0; border-radius: 5px; padding: 3px 8px; cursor: pointer; color: var(--cms-ink, #1f1f1f); min-height: 26px; white-space: nowrap; }
.eb-tool:hover { background: #f0f0f0; }
.eb-bar select { width: auto; font-size: 12px; padding: 2px 6px; border-radius: 5px; background: #fff; }
.eb-check { white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; padding: 0 4px; }
.eb-check input { width: auto; }
.eb-sub { display: block; width: 100%; margin-top: 8px; font-size: 12.5px; padding: 7px 12px; text-align: left; background: #fafafa; border: 1px solid var(--cms-line, #e6e6e6); border-radius: 6px; }
.eb-dropzone { display: block; border: 1.5px dashed #c8c8c8; border-radius: 8px; background: #fafafa; color: #666; padding: 36px 16px; text-align: center; cursor: pointer; font-size: 13px; }
.eb-image figcaption { min-height: 1.6em; }
.eb-faq { position: relative; padding-right: 30px; }
.eb-faq h3 span { display: inline-block; min-width: 60%; vertical-align: top; }
.eb-remove { position: absolute; right: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #d0d0d0; background: #fff; color: #888; cursor: pointer; line-height: 1; padding: 0; }
.eb-remove:hover { color: #000; border-color: #888; }
.eb-table td { min-width: 90px; }
.eb-table.has-header tr:first-child td { background: var(--cream); font-weight: 500; }
.eb-button .btn { cursor: text; min-width: 160px; }
.eb-button .btn:empty::before { color: rgba(255, 255, 255, .75); }
.eb-quote cite:empty::before, .eb-quote p:empty::before { font-style: normal; }
.eb-studios { display: grid; gap: 6px; border: 1.5px dashed #c8c8c8; border-radius: 8px; background: #fafafa; padding: 16px; margin: 10px 0; }
.eb-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.eb-inline select { width: auto; flex: 0 1 auto; background: #fff; }
@media (max-width: 900px) {
  .cms-main { grid-template-columns: 1fr; }
  .cms-props { position: static; min-height: 0; border-left: 0; border-top: 1px solid var(--cms-line); }
  .cms-bar { flex-wrap: wrap; top: 56px; }
  .cms-doc { padding: 20px 12px 60px; }
  .cms-body { padding: 20px 14px 32px 44px; }
}

/* スタジオ一覧の下に出す「市区町村からさがす」「特徴からさがす」 */
.area-links { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.area-links h2 { font-size: 16px; margin: 0 0 12px; }
.area-links .chip small { color: var(--muted); }
