/* 京呉服 白藤 — 共通スタイル */
:root {
  --base: #E2DED3;      /* シルバーにクリームを混ぜた背景 */
  --base-2: #EDEAE2;
  --navy: #192D37;
  --navy-2: #22394A;
  --ink: #282828;
  --kinari: #FFFAF0;
  --gold: #B89B5E;
  --gold-soft: #D2BE78;
  --wisteria: #8C82A8;  /* 藤色（記号だけ） */
  --sub: #5E625F;
  --line: rgba(25, 45, 55, .18);
  --font: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "BIZ UDPMincho", "MS PMincho", serif;
  --font-sans: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: Garamond, "EB Garamond", "Times New Roman", serif;
  --wrap: 1160px;
  --pad: clamp(22px, 5vw, 56px);
  --sec: clamp(96px, 13vw, 176px);
  --ease: cubic-bezier(.6, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 2.05; letter-spacing: .08em; }
main { display: block; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }

h1, h2, h3, .catch { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; line-break: strict; margin: 0; font-weight: 500; line-height: 1.7; letter-spacing: .14em; color: var(--navy); }
.nobr { display: inline-block; }
p { margin: 0 0 1.1em; text-wrap: pretty; line-break: strict; }
p:last-child { margin-bottom: 0; }
.txt { max-width: 34em; }

.en { display: block; font-family: var(--font-en); font-size: 13px; letter-spacing: .4em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.h2 { font-size: clamp(24px, 3vw, 32px); }
.tate { writing-mode: vertical-rl; text-orientation: upright; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 12px 30px; font-size: 15px; letter-spacing: .16em; text-decoration: none; border: 1px solid var(--navy); transition: background .3s, color .3s; font-family: var(--font); }
.btn::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.btn:hover::after { width: 34px; }
.btn-navy { background: var(--navy); color: var(--kinari); }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--kinari); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(226,222,211,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header .in { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; color: var(--navy); }
.logo svg { width: 34px; height: 44px; }
.logo b { font-weight: 500; font-size: 21px; letter-spacing: .3em; display: block; line-height: 1.2; }
.logo small { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .4em; color: var(--sub); }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.gnav a { display: block; padding: 10px 14px; text-decoration: none; font-size: 14px; letter-spacing: .2em; position: relative; }
.gnav a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .3s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.head-cta { min-height: 44px; padding: 8px 20px; font-size: 13px; }
.menu-btn { display: none; }
@media (max-width: 980px) {
  .gnav, .site-header .head-cta { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 52px; height: 52px; border: 1px solid var(--navy); background: transparent; cursor: pointer; padding: 0; }
  .menu-btn i { width: 22px; height: 1px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .gnav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 12px var(--pad) 28px; }
  .gnav.open ul { flex-direction: column; }
  .gnav.open a { color: var(--kinari); padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 16px; }
  .gnav.open a::after { display: none; }
}

/* ===== トップの最初の画面：縦長の写真3枚が、のれんを上げるように現れる ===== */
.hero { position: relative; overflow: hidden; }
.hero .in { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; min-height: min(calc(100svh - 80px), 860px); padding-block: 40px 64px; }
.hero-title { display: flex; gap: 22px; align-items: flex-start; height: min(62vh, 520px); }
.hero h1 { writing-mode: vertical-rl; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: .3em; line-height: 1.9; }
.hero h1 .ch { display: inline-block; opacity: 0; filter: blur(6px); animation: ink 1.2s ease forwards; }
@keyframes ink { to { opacity: 1; filter: none; } }
.hero .lead-v { writing-mode: vertical-rl; font-size: 15px; letter-spacing: .24em; color: var(--sub); line-height: 2.2; opacity: 0; animation: ink 1.2s ease 2.2s forwards; margin: 3.2em 0 0; }
.hero .gold-line { width: 1px; align-self: stretch; background: linear-gradient(var(--gold), transparent); transform-origin: top; transform: scaleY(0); animation: grow 1.6s var(--ease) .3s forwards; }
@keyframes grow { to { transform: none; } }
.trio { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: clamp(10px, 1.6vw, 22px); align-items: start; }
.trio figure { margin: 0; position: relative; overflow: hidden; background: linear-gradient(170deg, #EFEBE3 0%, #E4DFE9 100%); }
.trio figure:nth-child(1) { margin-top: 12%; }
.trio figure:nth-child(3) { margin-top: 24%; }
.trio img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; clip-path: inset(0 0 100% 0); animation: noren 2.4s var(--ease) forwards, drift 14s ease-in-out 3s infinite alternate; }
.trio figure:nth-child(1) img { animation-delay: .5s, 3.5s; }
.trio figure:nth-child(2) img { animation-delay: 1.1s, 4.1s; }
.trio figure:nth-child(3) img { animation-delay: 1.7s, 4.7s; }
@keyframes noren { from { clip-path: inset(0 0 100% 0); transform: scale(1.12); } to { clip-path: inset(0 0 0 0); transform: scale(1.04); } }
@keyframes drift { from { transform: scale(1.04) translateY(0); clip-path: inset(0); } to { transform: scale(1.04) translateY(-2.5%); clip-path: inset(0); } }
.trio figcaption { position: absolute; left: 10px; bottom: 10px; writing-mode: vertical-rl; color: var(--kinari); font-size: 12px; letter-spacing: .3em; text-shadow: 0 1px 6px rgba(0,0,0,.5); opacity: 0; animation: ink 1s ease 3.6s forwards; }
.hero .cta-row { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; opacity: 0; animation: ink 1s ease 2.6s forwards; border-top: 1px solid var(--line); padding-top: 22px; }
.hero .cta-row p { margin: 0; font-size: 14px; color: var(--sub); }
@media (max-width: 860px) {
  .hero .in { grid-template-columns: 1fr; min-height: 0; padding-block: 24px 48px; }
  .hero-title { height: auto; justify-content: flex-end; flex-direction: row-reverse; }
  .hero h1 { height: 12.5em; font-size: 28px; }
  .hero .lead-v { height: 17em; font-size: 14px; }
  .hero .gold-line { display: none; }
  .trio { order: -1; }
}

/* 紺の面 */
.sec { padding-block: var(--sec); position: relative; }
.bg-navy { background: var(--navy); color: #E9E6DD; }
.bg-navy h2, .bg-navy h3 { color: var(--kinari); }
.bg-navy .en { color: var(--gold-soft); }
.bg-navy .btn-line { border-color: var(--kinari); color: var(--kinari); }
.bg-navy .btn-line:hover { background: var(--kinari); color: var(--navy); }
.bg-base2 { background: var(--base-2); }

/* ごあいさつ：縦書き見出し＋文＋写真 */
.greet { display: grid; grid-template-columns: auto 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.greet h2 { writing-mode: vertical-rl; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: .3em; height: 13em; }
.greet .body { padding-top: 12px; }
.greet figure { margin: 0; }
.greet figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .greet { grid-template-columns: 1fr; } .greet h2 { writing-mode: horizontal-tb; height: auto; } }

/* 品揃え：大きな写真1枚＋小さな写真2枚 */
.coll { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin-top: 56px; }
.coll .big { grid-row: span 2; }
.coll a { position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--kinari); }
.coll img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.coll .big img { aspect-ratio: 3 / 4; }
.coll .sm img { aspect-ratio: 16 / 10; }
.coll a:hover img { transform: scale(1.05); }
.coll .cap { position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(25,45,55,.85)); }
.coll .cap b { font-weight: 500; font-size: 22px; letter-spacing: .3em; display: block; }
.coll .cap span { font-family: var(--font-en); font-size: 12px; letter-spacing: .4em; color: var(--gold-soft); }
@media (max-width: 760px) { .coll { grid-template-columns: 1fr; } .coll .big { grid-row: auto; } .coll .big img { aspect-ratio: 4 / 5; } }

/* 3つの柱（細い金線で区切る） */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.pillar { padding: 8px 36px 0; border-left: 1px solid rgba(210,190,120,.5); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .no { font-family: var(--font-en); color: var(--gold-soft); letter-spacing: .3em; font-size: 13px; }
.pillar h3 { font-size: 21px; margin: 10px 0 14px; }
.pillar p { font-size: 15px; color: #CFD3CF; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; gap: 36px; } .pillar { border-left: 0; border-top: 1px solid rgba(210,190,120,.5); padding: 24px 0 0; } .pillar:first-child { border-top: 0; padding-top: 0; } }

/* 横長の写真の帯 */
.wide { margin: 0; overflow: hidden; }
.wide img { width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; }

/* 2列 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split figure.tall img { aspect-ratio: 3 / 4; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* 品揃えのページ */
.item { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.item:nth-child(even) figure { order: 2; }
.item figure { margin: 0; }
.item figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; max-height: 640px; }
.item .price { margin-top: 18px; font-size: 14px; color: var(--sub); border-left: 1px solid var(--gold); padding-left: 14px; }
@media (max-width: 860px) { .item { grid-template-columns: 1fr; } .item:nth-child(even) figure { order: 0; } }
.kari { display: inline-block; font-family: var(--font-sans); font-size: 10px; color: var(--navy); border: 1px solid var(--navy); padding: 0 5px; margin-left: 6px; vertical-align: 2px; line-height: 1.6; letter-spacing: 0; }
.bg-navy .kari { color: var(--kinari); border-color: var(--kinari); }

/* 流れ */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: st; }
.steps li { padding: 0 24px; border-left: 1px solid var(--line); counter-increment: st; }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps li::before { content: counter(st, cjk-ideographic); display: block; color: var(--gold); font-size: 20px; margin-bottom: 8px; }
.steps b { display: block; font-weight: 500; font-size: 18px; letter-spacing: .14em; margin-bottom: 6px; color: var(--navy); }
.steps p { font-size: 14.5px; color: var(--sub); }
.bg-navy .steps li { border-color: rgba(255,255,255,.18); }
.bg-navy .steps b { color: var(--kinari); }
.bg-navy .steps p { color: #CFD3CF; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px 0; } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li { border-left: 0; padding: 0; } }

/* 表 */
.info { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.info th, .info td { text-align: left; padding: 18px 6px; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.info th { width: 8em; color: var(--sub); letter-spacing: .2em; font-size: 14px; }
@media (max-width: 520px) { .info th, .info td { display: block; width: auto; padding: 4px 0; } .info th { padding-top: 16px; border: 0; } }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.85) sepia(.15) contrast(.95); }

/* よくある質問 */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 48px 22px 4px; list-style: none; position: relative; color: var(--navy); letter-spacing: .12em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 1px; background: var(--gold); box-shadow: none; }
.faq summary::before { content: ""; position: absolute; right: 16.5px; top: calc(50% - 7px); width: 1px; height: 14px; background: var(--gold); transition: transform .3s; }
.faq details[open] summary::before { transform: scaleY(0); }
.faq details p { padding: 0 4px 22px; color: var(--sub); }

/* 下層：最初の画面（縦書きの見出し＋横長の写真） */
.page-head { padding-top: clamp(40px, 6vw, 72px); }
.page-head .in { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.page-head .ttl { display: flex; gap: 16px; }
.page-head h1 { writing-mode: vertical-rl; font-size: clamp(26px, 3vw, 36px); letter-spacing: .3em; }
.page-head .en { writing-mode: vertical-rl; margin: 0; }
.page-head figure { margin: 0; overflow: hidden; }
.page-head figure img { width: 100%; height: clamp(240px, 36vw, 460px); object-fit: cover; clip-path: inset(0 0 100% 0); animation: noren 1.5s var(--ease) .2s forwards; }
.page-head .lead { grid-column: 2; margin: 18px 0 0; color: var(--sub); }
@media (max-width: 640px) { .page-head h1 { font-size: 24px; } }

/* 最後のよびかけ */
.cta { text-align: center; }
.cta .mark { width: 30px; margin: 0 auto 22px; color: var(--gold-soft); }
.cta h2 { font-size: clamp(22px, 3vw, 30px); }
.cta p { margin: 18px auto 0; max-width: 32em; }
.cta .tel { display: block; font-family: var(--font-en); font-size: clamp(24px, 3vw, 32px); letter-spacing: .14em; margin-top: 22px; text-decoration: none; color: var(--kinari); }
.cta .btns { justify-content: center; margin-top: 26px; }
.cta .btn-navy { background: var(--kinari); color: var(--navy); border-color: var(--kinari); }

/* フッター */
.site-footer { background: #13222A; color: #BFC3BE; padding: 64px 0 110px; }
.site-footer .in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: var(--kinari); margin-bottom: 14px; }
.site-footer .logo small { color: #9AA09C; }
.site-footer p, .site-footer li { font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--gold-soft); }
.copy { grid-column: 1 / -1; font-size: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
@media (min-width: 981px) { .site-footer { padding-bottom: 40px; } }
@media (max-width: 760px) { .site-footer .in { grid-template-columns: 1fr; } }

.sp-bar { display: none; }
@media (max-width: 980px) {
  .sp-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); background: var(--navy); }
  .sp-bar .btn { min-height: 56px; border: 0; font-size: 14px; }
  .sp-bar .btn::after { display: none; }
  .sp-bar .btn-line { color: var(--kinari); border-right: 1px solid rgba(255,255,255,.2); }
  .sp-bar .btn-navy { background: var(--gold); color: #fff; }
}

/* スクロール：ふわっと（ゆっくり） */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 1.2s ease, transform 1.2s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-img img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease), transform 1.4s var(--ease); }
.rv-img.in img { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .rv-img img, .trio img, .page-head figure img { clip-path: none; }
  .hero h1 .ch, .hero .lead-v, .trio figcaption, .hero .cta-row { opacity: 1; filter: none; }
  .hero .gold-line { transform: none; }
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--kinari); padding: 8px 14px; }
:focus-visible { outline: 1px solid var(--navy); outline-offset: 4px; }
.site-footer .kari { color: #E9E6DD; border-color: #9AA09C; }

/* ===== 2026-10-18 修正：色とりどりの着物 ===== */
.iro-sec { padding-bottom: clamp(72px, 9vw, 120px); }
.iro { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; padding: 48px var(--pad) 0; max-width: 1600px; margin: 0 auto; }
.iro-item { margin: 0; position: relative; overflow: hidden; background: linear-gradient(170deg, #EFEBE3 0%, #E4DFE9 100%); }
.iro-item:nth-child(even) { margin-top: 36px; }
.iro-item img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform 1.4s var(--ease), clip-path 1.4s var(--ease); }
.iro-item:hover img { transform: scale(1.05); }
.iro-item figcaption { position: absolute; inset: auto 0 0 0; padding: 70px 12px 14px; background: linear-gradient(transparent, rgba(25,45,55,.82)); color: var(--kinari); display: flex; align-items: flex-end; gap: 8px; }
.iro-item figcaption b { font-weight: 500; font-size: 22px; letter-spacing: .2em; writing-mode: vertical-rl; line-height: 1.2; }
.iro-item figcaption span { font-family: var(--font-sans); font-size: 10px; letter-spacing: .1em; color: var(--gold-soft); writing-mode: vertical-rl; }
.iro-item figcaption i { font-style: normal; font-size: 12px; letter-spacing: .2em; margin-left: auto; }
.iro-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1160px; }
.iro-grid .iro-item:nth-child(even) { margin-top: 0; }
/* 顔が少し写る写真は、下側を見せる */
img[src*="p14."], img[src*="p19."] { object-position: 50% 85% !important; }
@media (max-width: 980px) {
  .iro:not(.iro-grid) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
  .iro:not(.iro-grid) .iro-item { flex: 0 0 42%; scroll-snap-align: start; }
  .iro-grid { grid-template-columns: repeat(2, 1fr); }
  .iro-grid .iro-item:nth-child(even) { margin-top: 24px; }
}
.iro-grid { grid-template-columns: repeat(5, 1fr); } @media (max-width: 980px) { .iro-grid { grid-template-columns: repeat(2, 1fr); } } .item figure img[src*="p27."] { aspect-ratio: 4 / 3; }
.iro:not(.iro-grid) { grid-template-columns: repeat(8, 1fr); }


/* ===== 改行と文の切り方（日本語の折り返しを整える） ===== */
body {
  word-break: auto-phrase;      /* 言葉のかたまりで折り返し、言葉の途中で切らない（対応ブラウザー） */
  line-break: strict;           /* 句読点や「ー」を行の頭に置かない */
}
h1, h2, h3, h4 { text-wrap: balance; }   /* 複数行のとき行の長さをそろえる */
p, li, dd, td, figcaption, blockquote { text-wrap: pretty; }   /* 最後の行に1〜2文字だけ残るのを防ぐ */
.nobr { display: inline-block; }
@media (max-width: 767px) { .pc-only { display: none; } }
