:root {
  --paper: #f6f1e8;
  --paper-2: #efe7d9;
  --ink: #2a2420;
  --ink-soft: #5c524a;
  --line: #d9cfbf;
  --shu: #b0442a;      /* 朱：クッションと紅葉の色 */
  --kihada: #d6a531;   /* 黄蘗：外壁の色 */
  --wood: #5a3b26;
  --serif: "Shippori Mincho", serif;
  --latin: "Cormorant Garamond", serif;
  --sans: "Noto Sans JP", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 12vw, 150px) 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background .4s, color .4s, box-shadow .4s;
}
.site-header.is-scrolled { background: rgba(246,241,232,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 3vw, 40px); }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.logo-en { font-family: var(--latin); font-size: 1.55rem; letter-spacing: .04em; margin: 0; }
.logo-jp { font-size: .62rem; letter-spacing: .3em; opacity: .8; }
.nav-list { display: flex; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; align-items: center; font-size: .86rem; }
.nav-list a { text-decoration: none; position: relative; }
.nav-list a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: currentColor; transition: width .3s; }
.nav-list a:hover::after { width: 100%; }
.nav-cta { background: var(--shu); color: #fff; padding: .55em 1.5em; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: block; position: relative; z-index: 60; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; }
  .hamburger, .hamburger::before, .hamburger::after { position: absolute; left: 10px; width: 24px; height: 1px; background: currentColor; transition: transform .3s, background .3s; content: ""; }
  .hamburger { top: 22px; }
  .hamburger::before { top: -7px; left: 0; }
  .hamburger::after { top: 7px; left: 0; }
  .nav-toggle[aria-expanded="true"] { color: var(--ink); }
  .nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
  .nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-list {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px;
    background: var(--paper); color: var(--ink); font-size: 1.05rem;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-list.is-open { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; height: var(--hero-h, 100svh); min-height: 560px; overflow: hidden; color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; will-change: opacity; backface-visibility: hidden; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(30,22,16,.55), rgba(30,22,16,.12) 60%), linear-gradient(0deg, rgba(30,22,16,.35), transparent 40%), linear-gradient(180deg, rgba(30,22,16,.4), transparent 18%); }
.hero-copy { position: absolute; right: clamp(24px, 9vw, 140px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: row-reverse; gap: clamp(20px, 3vw, 40px); align-items: flex-start; }
.hero-title { writing-mode: vertical-rl; margin: 0; font-weight: 500; font-size: clamp(1.9rem, 4.2vw, 3.2rem); letter-spacing: .28em; line-height: 1.7; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-title span { display: block; }
.hero-title span + span { padding-top: 2.2em; }
.hero-sub { writing-mode: vertical-rl; font-size: clamp(.82rem, 1.2vw, .95rem); letter-spacing: .28em; line-height: 2.3; margin: 0; padding-top: 5em; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-reserve { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(28px, 5vw, 56px); text-decoration: none; border: 1px solid rgba(255,255,255,.75); padding: .9em 2.4em; font-size: .9rem; letter-spacing: .2em; transition: background .3s, color .3s; }
.hero-reserve:hover { background: #fff; color: var(--ink); }
.hero-scroll { position: absolute; right: 50%; bottom: 0; transform: translateX(50%); font-family: var(--latin); font-size: .8rem; letter-spacing: .2em; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::after { content: ""; width: 1px; height: 56px; background: rgba(255,255,255,.8); animation: scrollLine 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 600px) {
  .hero-copy { right: 20px; transform: translateY(-55%); gap: 14px; }
  .hero-sub { padding-top: 3em; }
  .hero-overlay { background: linear-gradient(270deg, rgba(30,22,16,.6), rgba(30,22,16,.25)), linear-gradient(180deg, rgba(30,22,16,.4), transparent 22%); }
  .hero-scroll { display: none; }
}

/* ---------- Common headings ---------- */
.section-label { font-family: var(--latin); font-style: italic; color: var(--shu); font-size: 1.05rem; letter-spacing: .12em; margin-bottom: .6em; }
.section-title { font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.7; letter-spacing: .12em; margin: 0 0 1.4em; }

/* ---------- Concept ---------- */
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.concept-text p { color: var(--ink-soft); }
.concept-points { list-style: none; padding: 0; margin: 2.4em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.concept-points li { padding: 1.2em .5em; text-align: center; border-right: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.6; }
.concept-points li:last-child { border-right: 0; }
.concept-points strong { font-weight: 600; font-size: 1.05rem; }
.concept-points em { font-style: normal; }
.concept-points span { font-size: .78rem; color: var(--ink-soft); }
.concept-media { position: relative; padding-bottom: 18%; }
.concept-img-main { width: 72%; margin-left: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.concept-img-sub { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; object-fit: cover; border: 8px solid var(--paper); }

/* ---------- Feature sections ---------- */
.feature--tint { background: var(--paper-2); }
.feature-head { display: flex; align-items: flex-start; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(40px, 6vw, 72px); }
.feature-kana { writing-mode: vertical-rl; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: .2em; line-height: 1; margin: 0; color: var(--wood); }
.feature-text { color: var(--ink-soft); max-width: 46em; }

.room { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(64px, 9vw, 120px); }
.room:last-child { margin-bottom: 0; }
.room--reverse .room-media { order: 2; }
.room-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room-no { font-family: var(--latin); font-style: italic; color: var(--shu); margin: 0; }
.room-name { font-weight: 500; font-size: 1.6rem; letter-spacing: .25em; margin: 0 0 .8em; }
.room-body > p:not(.room-no) { color: var(--ink-soft); }
.room-spec { margin: 1.4em 0; border-top: 1px solid var(--line); font-size: .88rem; }
.room-spec div { display: flex; border-bottom: 1px solid var(--line); padding: .5em 0; }
.room-spec dt { width: 6em; flex-shrink: 0; color: var(--wood); }
.room-spec dd { margin: 0; }
.room-thumbs, .split-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.room-thumbs img, .split-thumbs img { aspect-ratio: 1; object-fit: cover; cursor: zoom-in; transition: opacity .3s; }
.room-thumbs img:hover, .split-thumbs img:hover { opacity: .8; }

.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; margin-bottom: 2.4em; }
.mosaic figure { margin: 0; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .8s; }
.mosaic img:hover { transform: scale(1.03); }
.mosaic-lg { grid-row: span 2; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > img { aspect-ratio: 3 / 2; object-fit: cover; cursor: zoom-in; }

/* ---------- Facilities ---------- */
.facilities { background: var(--ink); color: var(--paper); }
.facilities .section-label { color: var(--kihada); }
.fac-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 64px; }
.fac-card { margin: 0; }
.fac-card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; cursor: zoom-in; }
.fac-card figcaption { padding-top: .8em; font-size: 1rem; line-height: 1.6; }
.fac-card figcaption span { display: block; font-size: .78rem; opacity: .7; font-family: var(--sans); }
.fac-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.fac-lists h3 { font-weight: 500; font-size: 1.05rem; border-bottom: 1px solid rgba(246,241,232,.25); padding-bottom: .6em; margin: 0 0 1em; letter-spacing: .2em; }
.fac-lists ul { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: .85rem; line-height: 2.2; }
.fac-lists li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--kihada); border-radius: 50%; margin-right: .9em; vertical-align: middle; }

/* ---------- 設備：備品の写真 ---------- */
.fac-items { margin-bottom: 64px; }
.fac-items h3 { font-weight: 500; font-size: 1.05rem; letter-spacing: .2em; margin: 0 0 1.2em; }
.fac-items-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.fac-items-grid figure { margin: 0; min-width: 0; }
.fac-items-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; transition: opacity .3s; }
.fac-items-grid img:hover { opacity: .8; }
.fac-items-grid figcaption { font-family: var(--sans); font-size: .72rem; line-height: 1.5; letter-spacing: .02em; padding-top: .5em; opacity: .8; }
@media (max-width: 960px) { .fac-items-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .fac-items-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; } .fac-items-grid figcaption { font-size: .78rem; } }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3 260px; column-gap: 10px; }
.gallery-grid img { width: 100%; margin-bottom: 10px; cursor: zoom-in; break-inside: avoid; transition: opacity .3s; }
.gallery-grid img:hover { opacity: .85; }

/* ---------- Guide ---------- */
.guide { background: var(--paper-2); }
.guide-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 80px); }
.guide-note { font-family: var(--sans); font-size: .78rem; color: var(--ink-soft); }
.guide-list { margin: 0; border-top: 1px solid var(--line); }
.guide-list div { display: grid; grid-template-columns: 9em 1fr; gap: 1em; padding: 1.2em 0; border-bottom: 1px solid var(--line); }
.guide-list dt { color: var(--wood); }
.guide-list dd { margin: 0; font-family: var(--sans); font-size: .92rem; }

/* ---------- Access ---------- */
.access-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.access-addr { font-size: 1.05rem; }
.access-list { list-style: none; padding: 0; margin: 0 0 2em; font-family: var(--sans); font-size: .9rem; }
.access-list li { display: flex; gap: 1.2em; padding: .5em 0; border-bottom: 1px dotted var(--line); }
.access-list strong { font-weight: 500; color: var(--wood); width: 4em; flex-shrink: 0; }
.text-link { text-decoration: none; border-bottom: 1px solid var(--shu); padding-bottom: 2px; color: var(--shu); }
.text-link::after { content: " →"; }
.access-map img { width: 70%; margin-inline: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.access-map p { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 1em; }

/* ---------- Reserve ---------- */
.reserve { position: relative; padding: clamp(100px, 14vw, 170px) 0; background: var(--ink); color: #fff; text-align: center; overflow: hidden; }
.reserve-bg { position: absolute; inset: 0; }
.reserve-bg img { width: 100%; height: 100%; object-fit: cover; }
.reserve-bg::after { content: ""; position: absolute; inset: 0; background: rgba(36,26,20,.62); }
.reserve-inner { position: relative; width: min(720px, 100% - 48px); margin-inline: auto; }
.reserve .section-label { color: var(--kihada); }
.reserve-title { font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: .2em; margin: 0 0 1em; }
.reserve-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 2.4em 0; }
.btn { display: inline-block; min-width: 260px; padding: 1.1em 2em; text-decoration: none; letter-spacing: .15em; transition: background .3s, color .3s, border-color .3s; }
.btn-primary { background: var(--shu); border: 1px solid var(--shu); }
.btn-primary:hover { background: #943620; border-color: #943620; }
.btn-ghost { border: 1px solid rgba(255,255,255,.8); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.reserve-contact { font-family: var(--sans); font-size: .85rem; opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-addr { font-family: var(--sans); font-size: .8rem; opacity: .75; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .88rem; }
.footer-nav a { text-decoration: none; opacity: .85; }
.footer-nav a:hover { opacity: 1; }
.copyright { text-align: center; font-family: var(--latin); font-size: .85rem; opacity: .6; margin: 48px 0 0; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,15,12,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; padding: 12px 18px; line-height: 1; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide img { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* スマホ：スクロール時のカクつき対策（ヘッダーのぼかしとズーム演出を止める） */
@media (max-width: 960px) {
  .site-header.is-scrolled { backdrop-filter: none; background: var(--paper); }
  .hero-slide img, .hero-slide.is-active img { transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .concept-grid, .room, .split, .guide-grid, .access-grid { grid-template-columns: 1fr; }
  .room--reverse .room-media { order: 0; }
  .fac-cards { grid-template-columns: repeat(2, 1fr); }
  .fac-lists { grid-template-columns: 1fr; gap: 32px; }
  .concept-media { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .feature-head { gap: 16px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .mosaic-lg { grid-column: span 2; grid-row: auto; }
  .mosaic img { aspect-ratio: 3 / 2; }
  .guide-list div { grid-template-columns: 1fr; gap: .2em; }
  .concept-points li { padding: 1em .2em; }
  .btn { min-width: 0; width: 100%; }
}

/* ---------- 言語切替（プルダウン） ---------- */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .45em; min-height: 40px; padding: 0 .9em; border: 1px solid currentColor; font-size: .86rem; letter-spacing: .06em; white-space: nowrap; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ""; width: .45em; height: .45em; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-25%) rotate(45deg); margin-left: .2em; transition: transform .2s; }
.lang-switch details[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.lang-icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lang-switch ul { list-style: none; margin: 0; padding: .4em 0; position: absolute; right: 0; top: calc(100% + 8px); min-width: 11em; background: var(--paper); color: var(--ink); box-shadow: 0 8px 28px rgba(42,36,32,.18); z-index: 70; }
.lang-switch ul a { display: block; padding: .75em 1.3em; font-size: .92rem; letter-spacing: .04em; }
.lang-switch ul a:hover { background: var(--paper-2); }
.lang-switch ul a::after { display: none; }
.lang-switch ul a[aria-current="page"] { color: var(--shu); }
.lang-switch ul a[aria-current="page"]::before { content: "✓"; margin-right: .6em; }
.lang-switch ul a:not([aria-current])::before { content: ""; display: inline-block; width: 1.25em; }
@media (max-width: 960px) {
  .lang-switch ul { position: static; box-shadow: none; background: none; padding: .3em 0 0; min-width: 0; text-align: center; }
  .lang-switch ul a { padding: .5em 1em; }
  .lang-switch summary { justify-content: center; }
}

/* ---------- 見出しのかな＋ローマ字（外国語版） ---------- */
.feature-mark { display: flex; flex-direction: column; align-items: center; gap: .8em; flex-shrink: 0; }
.feature-romaji { margin: 0; font-family: var(--latin); font-style: italic; font-size: 1rem; line-height: 1.3; color: var(--wood); text-align: center; }
.feature-romaji span { display: block; font-style: normal; font-size: .78rem; letter-spacing: .08em; color: var(--ink-soft); }

/* ---------- 外国語版（英語・ポルトガル語） ---------- */
html:not([lang="ja"]) body { letter-spacing: .01em; line-height: 1.85; }
html:not([lang="ja"]) .section-title,
html:not([lang="ja"]) .reserve-title { font-family: var(--latin); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.3; letter-spacing: .01em; text-wrap: balance; }
html:not([lang="ja"]) .room-name { font-family: var(--latin); font-size: 1.9rem; letter-spacing: .02em; }
html:not([lang="ja"]) .room-name span { font-family: var(--serif); font-size: .9rem; letter-spacing: .2em; color: var(--ink-soft); margin-left: .6em; }
html:not([lang="ja"]) .nav-list { font-family: var(--latin); font-size: 1.02rem; letter-spacing: .04em; }
html:not([lang="ja"]) .fac-lists h3 { letter-spacing: .06em; }
html:not([lang="ja"]) .guide-list div { grid-template-columns: 8em 1fr; }
html:not([lang="ja"]) .access-list strong { width: 4.5em; }
.hero-copy--en { right: auto; left: clamp(20px, 6vw, 96px); top: auto; bottom: clamp(110px, 16vh, 180px); transform: none; display: block; max-width: 34rem; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero-jp { font-size: .9rem; letter-spacing: .4em; margin: 0 0 .6em; opacity: .9; }
.hero-title-en { font-family: var(--latin); font-weight: 400; font-style: italic; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; margin: 0 0 .35em; }
.hero-sub-en { font-family: var(--latin); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; margin: 0; }
html:not([lang="ja"]) .hero-overlay { background: linear-gradient(0deg, rgba(30,22,16,.6), rgba(30,22,16,.1) 65%), linear-gradient(180deg, rgba(30,22,16,.4), transparent 18%); }
@media (max-width: 600px) {
  .hero-copy--en { left: 20px; right: 20px; transform: none; bottom: 110px; }
}

/* ---------- パソコン：画面いっぱいに使うレイアウト ----------
   中央の細い枠に収めず、写真を画面の端まで広げる。スマホの見た目は変えない。 */
.concept-img-extra, .room-media-sub { display: none; }
@media (min-width: 1025px) {
  :root { --gutter: clamp(32px, 4vw, 80px); }
  .container { width: calc(100% - var(--gutter) * 2); max-width: 1680px; }

  /* コンセプト：文章は左、写真3枚は右端まで */
  .concept .container { width: auto; max-width: none; margin: 0; padding-left: max(var(--gutter), calc((100vw - 1680px) / 2)); }
  .concept-grid { grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: clamp(56px, 6vw, 120px); }
  .concept-media { padding-bottom: 0; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; align-items: start; }
  .concept-img-main { grid-column: 1; grid-row: 1 / 3; width: 100%; margin: 0; aspect-ratio: 3 / 4; }
  .concept-img-extra { display: block; grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  .concept-img-sub { position: relative; left: auto; bottom: auto; grid-column: 2; grid-row: 2; width: 130%; margin-left: -30%; margin-top: -18%; border-width: 12px; }

  /* 寝室：写真2枚を画面の端まで */
  #rooms .container, #living .container, #kitchen .container { width: 100%; max-width: none; }
  #rooms .feature-head, #living .feature-head, #kitchen .feature-head { padding-inline: var(--gutter); }
  .room { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 96px); }
  .room-body { padding-right: var(--gutter); max-width: 620px; }
  .room--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
  .room--reverse .room-body { padding-right: 0; padding-left: var(--gutter); justify-self: end; }
  .room-media { display: grid; grid-template-columns: 1.75fr 1fr; gap: 12px; }
  .room--reverse .room-media { grid-template-columns: 1fr 1.75fr; }
  .room--reverse .room-media-sub { order: -1; }
  .room-media img, .room-media-sub { display: block; width: 100%; height: clamp(440px, 36vw, 660px); aspect-ratio: auto; object-fit: cover; }

  /* リビング：3枚を画面いっぱいに */
  .mosaic { height: clamp(520px, 44vw, 820px); gap: 12px; }
  #living .feature-text { padding-inline: var(--gutter); max-width: calc(46em + var(--gutter) * 2); }

  /* キッチン：大きい写真を左端まで */
  .split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 96px); }
  .split > div { padding-right: var(--gutter); max-width: 640px; }
  .split > img { height: clamp(460px, 40vw, 720px); aspect-ratio: auto; width: 100%; }

  /* アクセス：外観写真を大きく */
  .access-grid { grid-template-columns: 1fr 1fr; }
  .access-map img { width: 100%; max-width: 560px; aspect-ratio: 4 / 5; }
}

/* パソコン：写真を画面の端にぴったり付けず、少しだけ余白を空ける */
@media (min-width: 1025px) {
  :root { --edge: clamp(20px, 2.4vw, 44px); }
  .concept .container { padding-right: var(--edge); }
  #rooms .container, #living .container, #kitchen .container { padding-inline: var(--edge); }
  #rooms .feature-head, #living .feature-head, #kitchen .feature-head, #living .feature-text { padding-inline: calc(var(--gutter) - var(--edge)); }
  .room-body { padding-right: calc(var(--gutter) - var(--edge)); }
  .room--reverse .room-body { padding-right: 0; padding-left: calc(var(--gutter) - var(--edge)); }
  .split > div { padding-right: calc(var(--gutter) - var(--edge)); }
}

