/* SAKON UKON 公式サイト。黒い家(SAKON)と白い家(UKON)の2色を土台にする。 */
:root {
  --sumi: #1e1c1a;
  --sumi-2: #2c2926;
  --shiro: #f4f1ec;
  --paper: #ffffff;
  --wood: #6b4a32;
  --ink: #24221f;
  --muted: #6f6a63;
  --line: #ddd7cd;
  --wrap: 1120px;
  --gutter: 20px;
  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --latin: "Cormorant Garamond", "Shippori Mincho", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--shiro); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em; }
body.lang-en { letter-spacing: .01em; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 500; line-height: 1.5; letter-spacing: .06em; margin: 0 0 .7em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); }
h3 { font-size: 1.2rem; margin-top: 2.4em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(56px, 9vw, 104px) var(--gutter); }
.section.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.band { background: var(--paper); }
.band.dark { background: var(--sumi); color: #e9e5de; }
.band.dark a { color: #e9e5de; }
.band.dark a.btn.light { color: var(--sumi); }
.intro { max-width: 720px; color: var(--muted); }
.note { color: var(--muted); font-size: .9rem; }
.dark .note { color: #b8b1a7; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(30, 28, 26, .94); color: #e9e5de; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-family: var(--latin); font-size: 1.45rem; letter-spacing: .14em; color: inherit; text-decoration: none; white-space: nowrap; }
.logo span { color: #a39b90; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .9rem; }
.nav a { color: #e9e5de; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav .lang { border: 1px solid #6c665e; padding: 2px 10px; }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; background: #e9e5de; margin: 7px 0; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ボタン */
.btn { display: inline-block; padding: 12px 22px; background: var(--sumi); color: #f4f1ec; border: 1px solid var(--sumi); text-decoration: none; font-size: .92rem; letter-spacing: .06em; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--sumi-2); }
.btn.ghost { background: transparent; color: var(--sumi); }
.btn.light { background: #f4f1ec; color: var(--sumi); border-color: #f4f1ec; }
.btn.light:hover { background: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6em; }

/* ヒーロー */
.hero { position: relative; background: var(--sumi); color: #f4f1ec; }
.hero-img { width: 100%; height: min(78vh, 720px); object-fit: cover; object-position: center 60%; opacity: .78; }
.hero-text { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vw, 64px); }
.hero h1 { font-family: var(--latin); font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: .16em; margin: 0 0 .2em; line-height: 1.1; }
.hero h1 span { color: #d8d2c8; }
.kicker { font-size: .85rem; letter-spacing: .18em; margin: 0 0 .6em; }
.hero .lead { font-family: var(--mincho); font-size: clamp(1rem, 2.4vw, 1.25rem); text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero .btn { background: #f4f1ec; color: var(--sumi); border-color: #f4f1ec; }
.hero .btn.ghost { background: transparent; color: #f4f1ec; }

/* 数字の帯 */
.facts { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 auto; padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.facts .k { font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.facts .v { font-family: var(--latin); font-size: 2rem; line-height: 1.2; }
.facts small { font-family: var(--sans); font-size: .8rem; margin-left: 3px; }

/* 2列 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 写真の並び */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.grid figure { margin: 0; }
.grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .2s; }
.zoom { display: block; padding: 0; border: 0; background: none; width: 100%; cursor: zoom-in; }
.zoom:hover img { opacity: .88; }
.grid figcaption { font-size: .85rem; color: var(--muted); padding-top: 6px; }
.grid figcaption span { display: block; color: var(--ink); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { aspect-ratio: auto; height: calc(100% - 32px); }

/* 表 */
.table { margin: 0; border-top: 1px solid var(--line); }
.table > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.table dt { font-weight: 500; }
.table dd { margin: 0; }

/* アクセス */
.addr { font-family: var(--mincho); font-size: 1.1rem; }
.dots { padding-left: 1.1em; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(.4); }


/* フッター */
.site-footer { background: #151412; color: #a39b90; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .88rem; }
.site-footer .logo { color: #e9e5de; display: inline-block; margin-bottom: 10px; }
.site-footer a { color: #d8d2c8; }
.copyright { margin: 20px 0 0; font-size: .78rem; }

/* スマホ下の予約ボタン */
.mobile-cta { display: none; }

/* 拡大表示 */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 9, 8, .9); }
.lightbox img { max-width: 96vw; max-height: 92vh; object-fit: contain; }
.lightbox .close { position: fixed; top: 10px; right: 14px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* 404 */
body.nf { background: var(--sumi); color: #e9e5de; }
body.nf h1 { font-family: var(--latin); letter-spacing: .16em; }
body.nf a { color: #e9e5de; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--sumi); padding: 8px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid #3a3632; }
  .nav .lang { border: 0; padding: 10px 0; }
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .split { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:first-child img { aspect-ratio: 3 / 2; height: auto; }
  .table > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-img { height: 72vh; }
  .hero .cta .btn { padding: 10px 16px; }
  body { padding-bottom: 64px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--sumi); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-cta .btn { text-align: center; padding: 10px 8px; font-size: .85rem; background: #f4f1ec; color: var(--sumi); }
}
@media (max-width: 420px) {
  .facts .v { font-size: 1.6rem; }
}
