/* 029 ひなた不動産 ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff8ec;
  --c-paper: #ffffff;
  --c-orange: #ff7a1a;
  --c-yellow: #ffc21a;
  --c-ink: #2a2016;
  --c-accent-text: #9a3412;
  --c-text: #374151;
  --c-sub: #4b5563;
  --line: 3px solid var(--c-ink);
  --font: "M PLUS Rounded 1c", sans-serif;
  --font-pop: "Mochiy Pop One", sans-serif;
  --font-script: "Yellowtail", cursive;
  --col: 440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.en { font-family: var(--font-script); font-size: 26px; line-height: 1.2; color: var(--c-accent-text); }
.h2 { font-family: var(--font-pop); font-weight: 400; font-size: 26px; line-height: 1.5; color: var(--c-ink); margin-bottom: 18px; }
.note { font-size: 15px; color: var(--c-sub); margin-top: 12px; }
.sun { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--c-yellow); border: 3px solid var(--c-ink); box-shadow: 0 0 0 4px var(--c-orange); flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; border: var(--line); font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; box-shadow: 0 4px 0 var(--c-ink); transition: transform .2s, box-shadow .2s; }
.btn:hover, .btn:focus-visible { transform: translateY(3px); box-shadow: 0 1px 0 var(--c-ink); }
.btn--ink { background: var(--c-ink); color: #fff; }
.btn--white { background: #fff; color: var(--c-ink); }

/* ===== 演出①：3列の舞台（B08）＝ スマホ・タブレットは中央の列だけ ===== */
.side { display: none; }
.phone { position: relative; background: var(--c-paper); min-width: 0; }
@media (min-width: 1080px) {
  body { background: var(--c-bg) radial-gradient(circle, rgba(255, 122, 26, .22) 2px, transparent 2.5px) 0 0 / 22px 22px; }
  .stage { display: grid; grid-template-columns: 1fr var(--col) 1fr; align-items: start; }
  .side { display: flex; position: sticky; top: 0; height: 100vh; padding: 32px; }
  .phone { border-left: var(--line); border-right: var(--line); box-shadow: 0 0 0 10px var(--c-yellow); }
  .spmenu { display: none; }
}
/* 左の舞台：写真＋ロゴ＋大きなコピー */
.side--left { flex-direction: column; justify-content: flex-end; }
.side__photos { position: absolute; inset: 32px 32px 32px 32px; border-radius: 32px; overflow: hidden; border: var(--line); background: var(--c-yellow); }
.side__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s, transform 1.6s; transform: scale(1.06); }
.side__photos img.is-on { opacity: 1; transform: none; }
.side__card { position: relative; margin: 0 24px 24px; padding: 24px 28px; background: var(--c-paper); border: var(--line); border-radius: 24px; box-shadow: 6px 6px 0 var(--c-orange); }
.side__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-pop); font-size: 18px; color: var(--c-ink); }
.side__catch { font-family: var(--font-pop); font-size: clamp(30px, 3vw, 46px); line-height: 1.35; color: var(--c-ink); margin-top: 10px; }
.side__script { position: absolute; right: 20px; top: -26px; font-family: var(--font-script); font-size: 30px; color: var(--c-ink); background: var(--c-yellow); border: var(--line); border-radius: 999px; padding: 0 16px; transform: rotate(-6deg); }
/* 右の舞台：メニューと予約 */
.side--right { flex-direction: column; justify-content: space-between; padding: 48px 40px; }
.side__nav { display: flex; flex-direction: column; gap: 6px; }
.side__nav a { display: flex; align-items: center; gap: 12px; min-height: 52px; font-family: var(--font-pop); font-size: 20px; color: var(--c-ink); text-decoration: none; }
.side__nav a::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--c-ink); background: var(--c-paper); transition: background-color .3s; }
.side__nav a:hover::before, .side__nav a.is-on::before { background: var(--c-orange); }
.side__cta { display: grid; gap: 14px; justify-items: start; }
.side__hours { font-size: 15px; color: var(--c-ink); background: var(--c-paper); padding: 8px 14px; border-radius: 12px; border: 2px solid var(--c-ink); }

/* ===== ヘッダー（スマホ・タブレット） ===== */
.header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 10px; height: 68px; padding: 0 20px; background: rgba(255, 255, 255, .95); border-bottom: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--font-pop); font-size: 19px; color: var(--c-ink); text-decoration: none; white-space: nowrap; flex: none; }
.logo .sun { width: 22px; height: 22px; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; box-shadow: none; }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 3px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-yellow); padding: 8px 20px 24px; display: flex; flex-direction: column; border-bottom: var(--line); }
.spmenu__nav a { display: flex; align-items: center; min-height: 56px; color: var(--c-ink); text-decoration: none; font-family: var(--font-pop); font-size: 18px; border-bottom: 2px dashed rgba(42, 32, 22, .35); }
@media (max-width: 360px) { .logo { font-size: 17px; } }

/* 中央の列の中身（スマホ幅前提。タブレットでは真ん中に寄せる） */
.phone section { position: relative; padding: 56px 20px; }
@media (min-width: 600px) and (max-width: 1079px) { .phone main, .phone .footer { max-width: 560px; margin: 0 auto; } }

/* ===== 演出②：筆記体の一語とシール（E05） ===== */
.hero { padding-top: 40px !important; padding-bottom: 0 !important; }
.hero__head { position: relative; }
.hero__script { display: block; width: 92%; height: auto; margin: 0 0 -8px -4px; transform: rotate(-4deg); position: relative; z-index: 1; overflow: visible; }
.hero__script text { font-family: var(--font-script); font-size: 92px; fill: var(--c-orange); stroke: var(--c-ink); stroke-width: 1.6px; paint-order: stroke; }
.hero__title { font-family: var(--font-pop); font-weight: 400; font-size: clamp(40px, 11vw, 50px); line-height: 1.3; color: var(--c-ink); }
.seal { position: absolute; right: -4px; bottom: -12px; width: 112px; height: 112px; border-radius: 50%; background: var(--c-yellow); border: var(--line); display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(10deg); box-shadow: 4px 4px 0 var(--c-ink); }
.seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px dashed var(--c-ink); }
.seal span { font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--c-ink); }
.seal b { font-family: var(--font-pop); font-weight: 400; font-size: 22px; }
.hero__lead { margin-top: 28px; }

/* ===== 演出③：境目をまたぐ写真（F01） ===== */
.cross { position: relative; z-index: 3; border: var(--line); border-radius: 28px; overflow: hidden; background: var(--c-yellow); }
.cross img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cross--hero { margin: 32px 0 -110px; transform: rotate(-2deg); box-shadow: 8px 8px 0 var(--c-orange); }
.cross--search { margin: 40px 12px -120px; transform: rotate(2deg); box-shadow: -8px 8px 0 var(--c-ink); }

/* ===== ひなたのこと（オレンジの面） ===== */
.about { background: var(--c-orange); padding-top: 150px !important; color: var(--c-ink); }
.about .en, .about .h2 { color: var(--c-ink); }
.about__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.about__points li { background: var(--c-paper); border: var(--line); border-radius: 18px; padding: 12px 6px; text-align: center; font-weight: 800; color: var(--c-ink); line-height: 1.4; }
.about__points b { font-family: var(--font-pop); font-weight: 400; font-size: 26px; display: block; }
.about__points span { display: block; font-size: 15px; font-weight: 500; color: var(--c-text); margin-top: 4px; }

/* ===== さがし方 ===== */
.search { padding-bottom: 0 !important; }
.search__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.search__list a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 8px; min-height: 150px; border: var(--line); border-radius: 22px; background: var(--c-bg); text-decoration: none; text-align: center; transition: background-color .3s, transform .3s; }
.search__list a:hover, .search__list a:focus-visible { background: var(--c-yellow); transform: rotate(-2deg); }
.search__list svg { width: 48px; height: 48px; }
.search__list b { font-family: var(--font-pop); font-weight: 400; font-size: 19px; color: var(--c-ink); }
.search__list span { font-size: 15px; color: var(--c-text); line-height: 1.5; }

/* ===== 町の案内（黄色の面） ===== */
.guide { background: var(--c-yellow); padding-top: 200px !important; }
.guide .en { color: var(--c-ink); }
.guide__list { display: grid; gap: 22px; }
.guide__list li { background: var(--c-paper); border: var(--line); border-radius: 24px; overflow: hidden; }
.guide__list img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: var(--line); background: var(--c-bg); }
.guide__list h3 { font-family: var(--font-pop); font-weight: 400; font-size: 19px; color: var(--c-ink); padding: 16px 18px 4px; line-height: 1.5; }
.guide__list p { padding: 0 18px 18px; }

/* ===== お客さまの声 ===== */
.voice__list { display: grid; gap: 18px; }
.voice__list li { position: relative; background: var(--c-bg); border: var(--line); border-radius: 22px; padding: 18px 20px; }
.voice__list li::after { content: ""; position: absolute; left: 28px; bottom: -14px; width: 22px; height: 22px; background: var(--c-bg); border-right: var(--line); border-bottom: var(--line); transform: rotate(45deg); }
.voice__list li:nth-child(2) { margin-left: 24px; }
.voice__list li:nth-child(2)::after { left: auto; right: 28px; }
.voice__list p { color: var(--c-ink); font-weight: 800; }
.voice__list span { display: block; margin-top: 6px; font-size: 15px; color: var(--c-sub); }

/* ===== 来店予約（オレンジの面） ===== */
.reserve { background: var(--c-orange); color: var(--c-ink); overflow: hidden; padding-bottom: 0 !important; }
.reserve .en { color: var(--c-ink); }
.reserve__keys { position: absolute; right: 8px; top: -6px; width: 120px; transform: rotate(18deg); filter: drop-shadow(4px 6px 0 rgba(42, 32, 22, .35)); }
.reserve .h2 { padding-right: 90px; }
.reserve__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.reserve__staff { width: 58%; margin: 20px 0 0 auto; }

/* ===== フッター ===== */
.footer { padding: 40px 20px 28px; font-size: 15px; background: var(--c-paper); border-top: var(--line); }
.footer__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-pop); font-size: 22px; color: var(--c-ink); margin-bottom: 12px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 12px; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--c-ink); text-decoration: none; }
.footer__fiction { margin-top: 20px; text-align: center; color: var(--c-sub); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.side__town { width: 100%; max-width: 320px; height: auto; }
