/* TOP の 3 つの入口:縦長の写真 3 枚を隙間なく並べ、下に題名(英字は横書き)・細い金の線・日本語・時間・> を置く(2026-11-17 Chi が ChatGPT の 3 案目を選んだ) */
body .study-hero .three-doors{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin-left:0;margin-right:0}
body .study-hero .three-doors>a{position:relative!important;display:block!important;height:clamp(560px,78vh,860px)!important;aspect-ratio:auto!important;overflow:hidden!important;border:0!important;background:#1b2420!important;box-shadow:none!important;padding:0!important;transform:none!important}
body .study-hero .three-doors>a>.swatch,body .study-hero .three-doors>a>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;background-size:cover!important;margin:0!important;transition:transform 1.2s ease,filter .6s ease!important}
body .study-hero .three-doors>a:hover>.swatch,body .study-hero .three-doors>a:hover>img{transform:scale(1.04)}
body .study-hero .three-doors>a>.shoot-note{display:none!important}
body .study-hero .three-doors>a>.door-name{position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;z-index:2;margin:0!important;padding:160px clamp(24px,2.6vw,44px) clamp(28px,3vw,44px)!important;background:linear-gradient(180deg,rgba(16,22,18,0) 0%,rgba(16,22,18,.55) 45%,rgba(16,22,18,.82) 100%)!important;color:#f3ead9!important;border:0!important;min-height:0!important}
body .study-hero .three-doors>a>.door-name h2{display:flex!important;justify-content:space-between;align-items:flex-end;margin:0 0 16px!important;padding:0 0 16px!important;border-bottom:1px solid rgba(171,147,99,.75)!important;font-size:clamp(34px,2.7vw,50px)!important;font-weight:400!important;letter-spacing:.06em!important;line-height:1.1!important;color:#f3ead9!important;writing-mode:horizontal-tb!important}
body .study-hero .three-doors>a>.door-name h2 span{font-size:16px!important;line-height:1;padding-bottom:6px;color:#e3cb98}
body .study-hero .three-doors>a>.door-name p{margin:0!important;font-size:15px!important;line-height:1.9!important;letter-spacing:.1em!important;color:#e6dccb!important}
body .study-hero .three-doors>a.door-bar>.swatch{filter:brightness(.8)}
body .study-hero .three-doors>a.door-bar>.door-name{background:linear-gradient(180deg,rgba(10,13,11,0) 0%,rgba(10,13,11,.65) 45%,rgba(10,13,11,.9) 100%)!important}
@media(max-width:900px){
  body .study-hero .three-doors{grid-template-columns:1fr!important}
  body .study-hero .three-doors>a{height:auto!important;aspect-ratio:4/5!important}
  body .study-hero .three-doors>a>.door-name{padding:110px 22px 26px!important}
  body .study-hero .three-doors>a.door-cafe>.swatch{background-position:50% 12%!important}
}
/* クリスマスカフェの期間だけ、Cafe の入口をクリスマスの写真と文にする(切り替えは index.html の頭の日付) */
body .study-hero .three-doors .xs-on{display:none!important}
html.xmas-season body .study-hero .three-doors .xs-on{display:block!important}
html.xmas-season body .study-hero .three-doors .xs-off{display:none!important}
html.xmas-season body .study-hero .three-doors>a.door-cafe>.swatch{background-image:url(images/xmas-l/tree-detail.jpg)!important;background-position:50% 50%!important;background-size:cover!important}

/* 3 枚の名前の高さをそろえる(説明の行数が違っても名前の線が同じ高さに来る) */
@media(min-width:701px){body .study-hero .three-doors>a>.door-name>p{min-height:5.7em}}
/* PC の幅: 一日の流れから下の左右の余白を 6% にそろえる(店内・ご予約・アクセスが 7〜8% でずれていた) */
@media(min-width:901px){
body.f .room-gallery>header,body.f .contact-section{margin-left:6%!important;margin-right:6%!important}
body.f .access-section{padding-left:6%!important;padding-right:6%!important}
body.f .access-section .route-video{margin-left:0!important;margin-right:auto!important}
}

/* 道案内の枠: 英語の語の途中で折り返さない */
.route-video-frame span{word-break:keep-all;overflow-wrap:normal}
@media(max-width:700px){.route-video-frame span{letter-spacing:.08em!important}}
@media(max-width:700px){.route-video-frame span{font-size:10px!important;letter-spacing:.04em!important}}
/* 小さいスマホ(〜400): 道案内は枠と説明を縦に積む */
@media(max-width:400px){body.f .access-section .route-video{grid-template-columns:1fr!important;gap:22px!important}.route-video-frame{max-width:220px}}
/* タブレット(601〜900): 入口は横長にして 1 枚が画面いっぱいにならないように */
@media(min-width:601px) and (max-width:900px){body .study-hero .three-doors>a{aspect-ratio:16/10!important}body .study-hero .three-doors>a.door-cafe>.swatch{background-position:50% 30%!important}}
/* タブレット(701〜900): 店の物語は写真と文を縦に積む(横並びだと写真が細く切れていた) */
@media(min-width:701px) and (max-width:900px){body.f .store-message{grid-template-columns:1fr!important;gap:44px!important}body.f .store-message .message-art{max-width:560px}}
/* タブレット(701〜900): ご予約とアクセスも縦に積む(横並びだと見出しや住所が細く割れていた) */
@media(min-width:701px) and (max-width:900px){body.f .contact-section{display:grid!important;grid-template-columns:1fr!important;gap:32px!important}body.f .contact-section .contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}body.f .access-layout{grid-template-columns:1fr!important;gap:36px!important}}
/* PC の狭い幅(901〜1200): 入口の説明を小さくして語の途中で折り返さない */
@media(min-width:901px) and (max-width:1200px){body .study-hero .three-doors>a>.door-name p{font-size:13px!important;letter-spacing:.03em!important}body .study-hero .three-doors>a>.door-name{padding-left:18px!important;padding-right:18px!important}}
/* 道案内の動画(2026-11-18 Chi が入れた動画): 縦長の動画を枠いっぱいに。PC は大きめ、スマホは縦に積んで字幕が読める大きさに */
.route-video-frame.has-video{padding:0!important;margin:0;display:block;background:#111;box-shadow:none;overflow:hidden;aspect-ratio:9/16}
.route-video-frame.has-video video{display:block;width:100%;height:100%;object-fit:cover;background:#111}
@media(min-width:901px){body.f .access-section .route-video{grid-template-columns:300px minmax(0,435px)!important;width:min(100%,800px);max-width:800px}}
@media(max-width:900px){body.f .access-section .route-video{grid-template-columns:1fr!important;gap:24px!important}.route-video-frame.has-video{width:min(100%,340px);max-width:340px}}
/* 道案内の段を真ん中に置く(2026-11-18 Chi「左に寄っている」) */
body.f .access-section .route-video{margin-left:auto!important;margin-right:auto!important;justify-content:center}
/* スマホ・タブレット: 小見出しと題 → 動画 → 説明とリンクの順に、真ん中にそろえて縦に並べる */
@media(max-width:900px){
body.f .access-section .route-video{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:0!important;width:100%}
body.f .access-section .route-video-copy{display:contents}
body.f .access-section .route-video-copy .eyebrow{order:1;margin:0 0 10px}
body.f .access-section .route-video-copy h3{order:2;margin:0 0 22px}
body.f .access-section .route-video-frame.has-video{order:3;margin:0 auto 22px}
body.f .access-section .route-video-copy>p:not(.eyebrow){order:4;margin:0 0 14px}
body.f .access-section .route-video-copy>a{order:5}
}
