/* F HAIR reverie
   ここを変更：サイト全体の色・余白は最初の :root にまとめています。 */
:root {
  --base: #F8F5F0;
  --paper: #FFFDFC;
  --ink: #342E2A;
  --cream: #F3EADF;
  --beige: #D8C8B7;
  --brown: #9A7B65;
  --line: #E8DED3;
  --muted: #766B61;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --max-width: 1240px;
  --gutter: clamp(24px, 5.5vw, 88px);
  --section-space: clamp(90px, 10vw, 150px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--base); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
::selection { background: var(--beige); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border-radius: 0; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--brown); outline-offset: 6px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--max-width)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 20px; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.section-kicker, .eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .2em; line-height: 1.6; }
.section-kicker { color: var(--muted); margin-bottom: 12px; }
.section-title { font-family: var(--serif); font-size: clamp(62px, 6.5vw, 92px); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 58px; }
.section-intro { white-space: pre-line; line-height: 2; padding-bottom: 7px; letter-spacing: .06em; }
.japanese-heading { white-space: pre-line; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.9; font-weight: 400; letter-spacing: .09em; margin: 36px 0 24px; }
.body-copy p { font-size: 16px; line-height: 2.2; white-space: pre-line; }
.body-copy p + p { margin-top: 22px; }
.section-note { margin-top: 30px; color: var(--muted); font-size: 12px; line-height: 1.9; letter-spacing: .02em; }
.small-serif { font-family: var(--serif); font-style: italic; font-size: 31px; line-height: 1.3; color: var(--brown); }

/* Header：スクロールすると .is-scrolled が付きます。 */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 100px; padding: 16px var(--gutter); color: var(--ink); border-bottom: 1px solid rgba(154,123,101,.15); transition: background .35s, color .35s, min-height .35s, border-color .35s; }
.site-header.is-scrolled { background: rgba(255,253,252,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); min-height: 82px; border-color: var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; line-height: 1; }
.brand-small { font-size: 12px; letter-spacing: .18em; }
.brand-script { font-family: var(--serif); font-size: 41px; font-style: italic; font-weight: 400; letter-spacing: -.035em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); font-family: var(--serif); font-size: 20px; }
.desktop-nav a { position: relative; line-height: 1.5; padding-block: 10px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="location"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.mobile-menu { margin: 0; max-width: none; max-height: none; width: 100%; height: 100dvh; border: 0; padding: 26px var(--gutter) 36px; color: var(--ink); background: var(--base); }
.mobile-menu::backdrop { background: rgba(47,42,38,.3); }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.close-button { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; border: 0; background: transparent; font-size: 14px; }
.close-button span { font-size: 35px; line-height: 1; font-weight: 400; }
.mobile-menu nav { margin: 40px 0 26px; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.mobile-menu nav a span { font-family: var(--serif); font-size: 40px; line-height: 1.4; }
.mobile-menu nav small { font-size: 12px; color: var(--muted); }
.menu-signoff { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--brown); }

/* First View：画像位置は content/hero.json で調整できます。 */
.hero { position: relative; display: flex; align-items: center; min-height: 760px; height: 100svh; isolation: isolate; overflow: hidden; background: var(--base); color: var(--ink); }
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-image { inset: 132px var(--gutter) 85px 50%; border-radius: 48% 48% 0 0; background: url("../images/hero.jpg") var(--hero-position, center 42%) / cover no-repeat; animation: hero-zoom 16s ease-out both; }
/* 明るい余白を優先し、写真に暗いオーバーレイはかけません。 */
.hero-shade { background: none; }
.hero::after { content: ""; position: absolute; z-index: -2; inset: 115px calc(var(--gutter) - 15px) 70px calc(50% - 15px); border: 1px solid var(--beige); border-radius: 48% 48% 0 0; }
.hero-content { margin: 116px var(--gutter) 92px; width: min(660px, 49%); animation: hero-text 1.3s .15s both; }
.hero .eyebrow { font-size: 12px; letter-spacing: .23em; margin-bottom: 36px; text-transform: uppercase; }
.hero h1 { font-weight: 400; line-height: 1; }
.hero-brand-small { display: block; font-family: var(--sans); font-size: 21px; letter-spacing: .32em; margin-left: 7px; }
.hero-brand-name { display: block; font-family: var(--serif); font-size: clamp(110px, 12.5vw, 180px); font-weight: 400; font-style: normal; letter-spacing: -.025em; line-height: 1.04; }
.hero .custom-brand-title { font-family: var(--serif); font-size: clamp(52px, 7vw, 100px); line-height: 1.1; overflow-wrap: anywhere; }
.hero-copy { white-space: pre-line; font-size: clamp(17px, 1.35vw, 21px); line-height: 2.1; letter-spacing: .13em; margin-top: 35px; }
.hero-footer { position: absolute; bottom: 42px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-family: var(--serif); font-size: 18px; letter-spacing: .04em; }
.scroll-line { height: 53px; width: 1px; background: var(--line); overflow: hidden; }
.scroll-line::after { content: ""; display: block; width: 100%; height: 100%; background: var(--brown); animation: scroll-mark 2.4s infinite; }
.hero-bottom-line { font-family: var(--serif); font-size: 23px; font-style: italic; }
.image-note { position: absolute; right: 24px; top: 50%; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .18em; color: var(--muted); }
@keyframes hero-zoom { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes hero-text { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scroll-mark { 0% { transform: translateY(-100%); } 65%,100% { transform: translateY(100%); } }

/* About：写真の外側にアーチの輪郭を添えています。 */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.about-visual { position: relative; padding: 62px 20px 0 0; align-self: center; min-width: 0; }
.about-arch { position: absolute; inset: 0 40px 50px 20px; border: 1px solid var(--beige); border-radius: 50% 50% 0 0; }
.about-image-wrap { position: relative; margin-right: 20px; margin-top: 80px; aspect-ratio: 1.19; overflow: hidden; }
.about-image-wrap img { width: 100%; height: 100%; object-position: 73% center; }
.about-visual figcaption { position: relative; text-align: right; margin: 25px 20px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 35px); color: var(--brown); }
.vertical-caption { position: absolute; right: -15px; top: 155px; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 25px; font-size: 14px; margin-top: 36px; min-height: 44px; }
.link-line { width: 55px; height: 1px; background: var(--brown); transition: width .3s; }
.text-link:hover .link-line { width: 78px; }

/* Salon Space */
.facade-row { display: grid; grid-template-columns: 1.8fr 1fr; gap: clamp(30px, 5vw, 75px); align-items: center; margin-bottom: 78px; }
.space-main-image { position: relative; overflow: hidden; aspect-ratio: 1.75; }
.space-main-image img { height: 100%; width: 100%; object-position: 52% 40%; }
.photo-label { position: absolute; left: 18px; bottom: 18px; color: #fff; background: rgba(47,42,38,.6); padding: 6px 12px; font-size: 12px; letter-spacing: .12em; line-height: 1.5; }
.space-description h3, .space-card h3 { font-size: 20px; font-weight: 400; line-height: 1.8; letter-spacing: .055em; margin: 20px 0 14px; }
.space-description > p, .space-card figcaption > p:last-child { font-size: 16px; line-height: 2.15; }
.space-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); }
.space-photo { position: relative; aspect-ratio: 1.2; overflow: hidden; }
.space-photo img { width: 100%; height: 100%; }
.space-card figcaption { margin-top: 28px; }
.space-card figcaption .small-serif { font-size: 32px; }
.space-card h3 { margin-top: 12px; }
.space-card-offset { padding-top: 110px; }

/* Style：PC 3列、スマホ2列。 */
.style { background: var(--paper); }
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px 28px; }
.style-card { min-width: 0; }
.style-image-button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; padding: 0; background: #e7dfd5; overflow: hidden; text-align: left; }
.style-image-button img { width: 100%; height: 100%; transition: transform .7s ease, filter .7s; }
.style-image-button:hover img { transform: scale(1.035); filter: brightness(.94); }
.zoom-mark { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: rgba(47,42,38,.62); transition: background .3s; }
.zoom-mark svg { width: 18px; height: 18px; }
.style-caption { padding-top: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.style-caption h3 { font-family: var(--serif); font-size: 30px; line-height: 1.2; font-weight: 400; }
.style-caption span { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.style-card > p { margin-top: 7px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.style-dialog { width: min(590px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; padding: 54px 25px 24px; background: var(--paper); color: var(--ink); }
.style-dialog::backdrop { background: rgba(27,23,20,.75); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 5px; right: 18px; }
.style-dialog figure img { width: 100%; height: min(60dvh, 660px); object-fit: contain; background: var(--base); }
.style-dialog figcaption { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-top: 15px; }
.style-dialog h2 { font: 32px / 1.2 var(--serif); }
.style-dialog figcaption p { font-size: 13px; margin-top: 6px; }
.style-dialog figcaption > span { font-family: var(--serif); color: var(--brown); }
.dialog-controls { display: flex; justify-content: space-between; gap: 18px; margin-top: 12px; }
.dialog-controls button { min-height: 44px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 5px 0; font-size: 14px; }
.style-dialog .section-note { margin-top: 14px; }

/* Staff：6分割して3人＋中央2人に配置。 */
.staff .section-heading { margin-bottom: 16px; }
.staff-note { margin: 0 0 45px; }
.staff-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 40px; row-gap: 65px; }
.staff-card { grid-column: span 2; min-width: 0; }
.staff-card:nth-child(4) { grid-column: 2 / span 2; }
.staff-card:nth-child(5) { grid-column: 4 / span 2; }
.staff-portrait { position: relative; aspect-ratio: 4 / 4.7; overflow: hidden; background: #e6ded4; }
.staff-portrait img { width: 100%; height: 100%; filter: saturate(.7); transition: filter .5s, transform .7s; }
.staff-card:hover img { filter: saturate(.95); transform: scale(1.015); }
.staff-role { display: block; color: var(--muted); font-size: 12px; letter-spacing: .13em; margin: 22px 0 4px; }
.staff-name-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.staff-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; font-family: var(--serif); font-size: 38px; line-height: 1.25; font-weight: 400; }
.staff-name small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.staff-profile { font-size: 16px; line-height: 2; }
.staff-instagram { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; }
.staff-instagram svg { width: 20px; height: 20px; }

/* SNS */
.sns { padding-block: 96px; background: var(--cream); overflow: hidden; }
.sns-inner { display: grid; position: relative; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px 70px; isolation: isolate; }
.sns-heading h3 { margin: 22px 0 14px; font-size: 20px; font-weight: 400; letter-spacing: .07em; }
.sns-heading > p:last-child { max-width: 360px; line-height: 2; }
.sns-watermark { position: absolute; z-index: -1; left: 20%; bottom: -155px; font: italic 260px / 1 var(--serif); color: #e9ddcf; pointer-events: none; letter-spacing: -.04em; }
.sns-links { display: flex; flex-direction: column; }
.social-card { display: flex; align-items: center; gap: 25px; width: 100%; background: transparent; color: var(--ink); text-align: left; border: 0; border-bottom: 1px solid #cbbbaf; padding: 24px 0; min-height: 108px; }
.social-card:first-child { border-top: 1px solid #cbbbaf; }
.social-card > svg { width: 38px; height: 38px; flex-shrink: 0; }
.social-card .social-name { display: block; font: 36px / 1.2 var(--serif); transition: color .2s; }
.social-card .social-description { display: block; font-size: 13px; margin-top: 7px; }
.social-card .social-state { margin-left: auto; font-size: 12px; white-space: nowrap; color: var(--muted); }
.social-card:hover .social-name { color: var(--brown); }
.social-status { grid-column: 2; min-height: 26px; font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { padding: 68px 0 26px; background: var(--base); }
.footer-top { display: flex; align-items: center; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #d5c7b9; }
.footer-brand .brand-script { font-size: 51px; }
.footer-socials { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.footer-socials a, .footer-socials button { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 10px 0; font-family: var(--serif); font-size: 20px; min-height: 44px; }
.footer-socials svg { width: 20px; height: 20px; }
.back-to-top { font-family: var(--serif); font-size: 18px; border-bottom: 1px solid var(--brown); padding-block: 10px; }
.preview-note { color: var(--muted); font-size: 12px; margin-top: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; align-items: center; }
.footer-bottom small { font-size: 12px; color: var(--muted); }
.footer-bottom p { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--brown); }
.noscript-notice { padding: 20px; background: var(--ink); color: #fff; font-size: 14px; text-align: center; }

/* アニメーション：JSが正常に動いた場合だけ適用します。 */
.reveal-enabled .reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s ease, transform .85s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal-enabled .reveal.is-visible { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 1023px) {
  :root { --gutter: 38px; }
  .desktop-nav { gap: 22px; font-size: 19px; }
  .brand-script { font-size: 36px; }
  .site-header { min-height: 90px; }
  .hero { min-height: 760px; }
  .hero-content { width: 48%; }
  .hero-brand-name { font-size: 13vw; }
  .about-grid { gap: 45px; }
  .about-copy .body-copy br { display: none; }
  .about-visual { padding-top: 50px; }
  .about-image-wrap { aspect-ratio: .88; }
  .facade-row { grid-template-columns: 1.4fr 1fr; gap: 35px; }
  .space-main-image { aspect-ratio: 1.2; }
  .staff-grid { column-gap: 24px; }
  .staff-name { font-size: 34px; }
  .sns-inner { gap: 10px 40px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 24px; --section-space: 82px; }
  html { scroll-padding-top: 91px; }
  .site-header { min-height: 80px; padding-block: 14px; }
  .site-header.is-scrolled { min-height: 72px; }
  .brand-small { font-size: 10px; }
  .brand-script { font-size: 36px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; min-height: 44px; background: transparent; color: inherit; }
  .menu-toggle > span:last-child { font: 16px / 1 var(--serif); }
  .menu-lines { display: flex; flex-direction: column; gap: 6px; width: 24px; }
  .menu-lines i { height: 1px; width: 24px; background: currentColor; }
  .menu-lines i:last-child { width: 17px; align-self: flex-end; }
  .hero { min-height: 790px; max-height: 960px; height: 100svh; align-items: flex-end; }
  .hero-image { inset: 110px 30px 294px 78px; border-radius: 48% 48% 0 0; background-position: var(--hero-position-mobile, center 30%); }
  .hero::after { inset: 99px 20px 283px 67px; }
  .hero-shade { background: linear-gradient(0deg, var(--base) 0%, var(--base) 24%, rgba(248,245,240,0) 38%); }
  .hero-content { width: calc(100% - var(--gutter) * 2); margin: 155px var(--gutter) 91px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .15em; margin-bottom: 19px; }
  .hero-brand-small { font-size: 16px; margin-left: 3px; letter-spacing: .28em; }
  .hero-brand-name { font-size: clamp(94px, 24vw, 140px); line-height: 1.02; }
  .hero-copy { font-size: 16px; letter-spacing: .065em; margin-top: 18px; line-height: 2; }
  .hero-footer { bottom: 28px; }
  .hero-bottom-line { display: none; }
  .scroll-cue { font-size: 16px; gap: 14px; }
  .scroll-line { height: 40px; }
  .image-note { top: 120px; right: 14px; font-size: 12px; }
  .section-title { font-size: 63px; }
  .section-heading { display: block; margin-bottom: 36px; }
  .section-intro { margin-top: 24px; font-size: 15px; letter-spacing: .035em; padding: 0; }
  .section-kicker { font-size: 12px; letter-spacing: .15em; }
  .japanese-heading { font-size: 23px; letter-spacing: .045em; margin-top: 27px; }
  .body-copy p { font-size: 16px; line-height: 2.15; }
  .about-grid { display: flex; flex-direction: column; gap: 45px; align-items: stretch; }
  .about-visual { width: 100%; max-width: 510px; align-self: center; padding: 35px 12px 0 0; }
  .about-arch { inset: 0 35px 44px 28px; }
  .about-image-wrap { margin-top: 40px; margin-right: 20px; aspect-ratio: 1.24; }
  .about-image-wrap img { object-position: 72% center; }
  .about-visual figcaption { font-size: 29px; margin-top: 20px; }
  .vertical-caption { right: -7px; top: 88px; font-size: 12px; letter-spacing: .12em; }
  .facade-row { display: flex; flex-direction: column; align-items: stretch; gap: 26px; margin-bottom: 46px; }
  .space-main-image { aspect-ratio: 1.55; }
  .space-description h3, .space-card h3 { font-size: 19px; letter-spacing: .02em; margin-top: 13px; }
  .space-description > p, .space-card figcaption > p:last-child { font-size: 16px; line-height: 2; }
  .small-serif { font-size: 30px; }
  .space-pair { grid-template-columns: 1fr; gap: 45px; }
  .space-card-offset { padding-top: 0; }
  .space-photo { aspect-ratio: 1.2; }
  .space-card figcaption { margin-top: 22px; }
  .space-card figcaption .small-serif { font-size: 30px; }
  .photo-label { left: 12px; bottom: 12px; font-size: 12px; }
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .style-image-button { aspect-ratio: 3 / 4; }
  .style-caption { padding-top: 13px; gap: 6px; }
  .style-caption h3 { font-size: clamp(22px, 5.6vw, 32px); }
  .style-caption span { font-size: 15px; }
  .style-card > p { font-size: 12px; line-height: 1.8; letter-spacing: 0; }
  .zoom-mark { width: 28px; height: 28px; right: 8px; bottom: 8px; }
  .zoom-mark svg { width: 15px; height: 15px; }
  .section-note { margin-top: 24px; }
  .staff-note { margin-top: 24px; margin-bottom: 35px; }
  .staff-grid { grid-template-columns: 1fr; gap: 48px; }
  .staff-card, .staff-card:nth-child(4), .staff-card:nth-child(5) { grid-column: auto; width: 100%; max-width: 430px; margin-inline: auto; }
  .staff-portrait { aspect-ratio: 4 / 4.5; }
  .staff-role { margin-top: 20px; }
  .staff-name { font-size: 38px; }
  .staff-name-row { margin-bottom: 13px; }
  .staff-profile { font-size: 16px; }
  .sns { padding-block: 75px 64px; }
  .sns-inner { display: block; }
  .sns-heading > p:last-child { font-size: 16px; }
  .sns-links { margin-top: 36px; }
  .social-card { padding: 22px 0; gap: 20px; }
  .social-card > svg { width: 32px; height: 32px; }
  .social-card .social-name { font-size: 34px; }
  .social-card .social-description { font-size: 12px; }
  .social-card .social-state { font-size: 12px; }
  .social-status { margin-top: 12px; }
  .sns-watermark { font-size: 180px; left: 0; bottom: -90px; }
  .site-footer { padding-top: 45px; }
  .footer-top { flex-wrap: wrap; gap: 25px 30px; padding-bottom: 28px; }
  .footer-brand { width: 100%; }
  .footer-brand .brand-script { font-size: 48px; }
  .footer-socials { margin-left: 0; gap: 22px; }
  .footer-socials a, .footer-socials button { font-size: 18px; gap: 8px; }
  .back-to-top { font-size: 16px; margin-left: auto; }
  .footer-bottom { display: block; margin-top: 15px; }
  .footer-bottom p { margin-top: 15px; font-size: 21px; }
  .preview-note { font-size: 12px; }
}
@media (max-width: 359px) {
  :root { --gutter: 18px; }
  .hero .eyebrow { letter-spacing: .1em; }
  .hero-copy { font-size: 15px; letter-spacing: .02em; }
  .style-caption h3 { font-size: 21px; }
  .style-caption span { display: none; }
  .footer-socials { gap: 15px; }
  .social-card { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-image { transform: none; }
  .reveal-enabled .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .mobile-menu, .scroll-cue, .back-to-top { display: none; }
  .hero { min-height: 400px; height: 60vh; }
  .reveal-enabled .reveal { opacity: 1; transform: none; }
  .section { padding-block: 40px; }
}

/* CMSで長い文章に変更した場合だけ、画面外へのはみ出しを防ぎます。 */
.staff-name, .staff-profile, .style-caption h3, .body-copy p, .section-intro, .hero-copy { overflow-wrap: anywhere; }
