@charset "UTF-8";
/* Almond Blossom: six colours; all text is ink or white over ink. */
:root {
  --paper: #FCF2E9; --sand: #EBD2BD; --line: #D3A992;
  --sage: #B4BEA0; --ink: #735F54; --white: #FFFFFF;
  --serif: "Shippori Mincho", serif; --sans: "Noto Sans JP", sans-serif;
  --latin: "Cormorant Garamond", serif;
  --gutter: clamp(32px, 6vw, 96px); --section-space: clamp(140px, 12vw, 180px); --band-height: 30px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/2.2 var(--sans); letter-spacing: .08em; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
main { outline: none; }
main, footer { overflow: clip; }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
button, input, select, textarea { font: inherit; color: var(--ink); border-radius: 0; }
button, select { cursor: pointer; }
button { letter-spacing: inherit; background: var(--white); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.image-overlay :focus-visible, .consult-tab:focus-visible, .mobile-phone:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 8px var(--ink); }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, h4, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.7; letter-spacing: .1em; overflow-wrap: anywhere; }
h2 { font-size: clamp(32px, 3.1vw, 46px); }
h3 { font-size: clamp(23px, 2vw, 30px); }
p + p { margin-top: 1.4em; }
p, dd, .term-note { overflow-wrap: anywhere; }
small { font-size: .75em; }
strong { font-weight: 500; }
address { font-style: normal; }
.num { letter-spacing: .035em; }
.en { display: block; font: 500 23px/1.3 var(--latin); letter-spacing: .045em; }
.eyebrow { display: block; margin-bottom: 18px; font-size: 14px; letter-spacing: .13em; }
.section { padding: var(--section-space) var(--gutter); }
.container { margin-inline: var(--gutter); }
.section-heading { margin-bottom: 64px; }
.section-heading .en { margin-bottom: 20px; }
.section-heading p { margin-top: 28px; max-width: 34em; }
.section > p { max-width: 34em; }
.paper { background: var(--paper); }
.heading-phrase { display: inline-block; }
.vertical-heading { writing-mode: vertical-rl; line-height: 1.9; }
.only-mobile { display: none; }
.sample-band { position: relative; z-index: 20; min-height: var(--band-height); padding: 4px 200px 4px 20px; background: var(--paper); font-size: 11px; line-height: 22px; letter-spacing: .05em; text-align: center; }
.skip-link { position: fixed; z-index: 150; top: 8px; left: 16px; padding: 8px 20px; background: var(--ink); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 15px; font-family: var(--serif); line-height: 1.2; white-space: nowrap; }
.smile-mark { width: 56px; height: 56px; fill: none; stroke: var(--sage); stroke-width: 1.5; stroke-linecap: round; flex: 0 0 auto; }
.smile-arc { stroke: var(--line); }
.brand-letters { display: grid; gap: 8px; }
.brand-small { font-size: 11px; letter-spacing: .18em; }
.brand-name { font-size: 30px; letter-spacing: .2em; }
.consult-tab { position: fixed; z-index: 110; top: var(--band-height); right: 0; display: grid; place-items: center; gap: 1px; width: 196px; padding: 13px 16px 15px; border: 1px solid var(--sage); border-top: 0; border-right: 0; border-radius: 0 0 0 26px; background: var(--ink); color: var(--white); line-height: 1.6; transition: top .3s; }
.consult-tab > span:first-child { font-size: 13px; letter-spacing: .2em; }
.consult-tab .num { font: 500 20px/1.4 var(--serif); white-space: nowrap; }
.is-scrolled .consult-tab { top: 0; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; min-height: 84px; padding: 12px 220px 12px 28px; gap: 32px; background: rgb(255 255 255 / .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--sand); transform: translateY(-120%); visibility: hidden; transition: transform .45s, visibility .45s; }
.site-header.is-visible { transform: none; visibility: visible; }
.site-header .smile-mark { width: 42px; height: 42px; }
.site-header .brand { gap: 10px; }
.site-header .brand-name { font-size: 23px; }
.site-header .brand-small { font-size: 10px; }
.global-nav { display: flex; justify-content: flex-end; flex: 1; gap: clamp(10px, 1.5vw, 24px); }
.global-nav a { font-size: 12px; letter-spacing: .04em; white-space: nowrap; }
.global-nav a:hover, .footer-nav a:hover { text-decoration: underline; }
.header-phone, .menu-toggle, .mobile-phone { display: none; }

/* First view and photographic frames. */
.first-view { position: relative; isolation: isolate; }
.home-hero { height: calc(100svh - var(--band-height)); min-height: 760px; max-height: 1150px; }
.hero-slides { position: absolute; top: 0; left: 0; width: 58%; height: calc(100% - 142px); overflow: hidden; background: var(--sand); }
.photo { position: relative; aspect-ratio: 8/5; background: var(--sand); overflow: hidden; border-radius: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing img { visibility: hidden; }
.image-note { position: absolute; right: 10px; bottom: 10px; z-index: 4; padding: 1px 8px; background: rgb(255 255 255 / .92); color: var(--ink); font: 400 10px/1.8 var(--sans); letter-spacing: .05em; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide:first-child { opacity: 1; }
.hero-slide img { object-position: 72% center; }
.slides-ready .hero-slide { opacity: 0; }
.slides-ready .hero-slide.is-active { opacity: 1; z-index: 1; }
.motion-enabled .hero-slide.is-active img { animation: photo-drift 8.2s linear both; }
@keyframes photo-drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-message { position: absolute; z-index: 3; top: 10%; right: 0; width: 42%; display: flex; align-items: center; flex-direction: column; }
.hero-copy { writing-mode: vertical-rl; font-size: clamp(34px, 2.9vw, 44px); line-height: 2.1; letter-spacing: .18em; }
.hero-en { order: 2; margin-top: 38px; font-size: 20px; }
.hero-brand { position: absolute; z-index: 3; bottom: 42px; left: var(--gutter); padding-left: 26px; border-left: 1px solid var(--sage); }
.hero-nav { position: absolute; z-index: 4; right: 4%; bottom: 48px; left: 40%; display: flex; justify-content: flex-end; gap: 16px 25px; flex-wrap: wrap; }
.hero-nav a { font-size: 12px; white-space: nowrap; letter-spacing: .02em; }
.hero-nav a::after { content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 10px; margin-bottom: 3px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); }
.hero-nav a:hover::after { transform: translateY(3px) rotate(45deg); }
.scroll-cue { position: absolute; z-index: 3; left: 56%; bottom: 3px; display: flex; gap: 12px; align-items: center; }
.scroll-cue .en { font-size: 16px; }
.scroll-cue > span:last-child { display: block; width: 1px; height: 38px; background: var(--line); }
.slideshow-toggle { display: none; position: absolute; z-index: 4; left: 26px; bottom: 160px; align-items: center; gap: 20px; border: 0; padding: 6px 14px; background: rgb(255 255 255 / .92); font-size: 11px; }
.js .slideshow-toggle { display: flex; }
.slideshow-toggle .en { font-size: 20px; }
.hero-line, .journey-line, .footer-line { pointer-events: none; fill: none; stroke: var(--line); stroke-width: 1.25; }
.hero-line { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.hero-line path, .journey-line path { vector-effect: non-scaling-stroke; }
.page-stream { position: relative; isolation: isolate; }
.journey-line { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; opacity: .64; }
.page-stream section, .page-stream aside { position: relative; }
.page-stream h2, .page-stream h3, .page-stream p, .page-stream dl, .page-stream ol, .page-stream nav, .page-stream .photo, .page-stream table, .page-stream form, .page-stream .en, .page-stream .text-link, .page-stream .notice { position: relative; z-index: 2; }

/* About: offset background, landscape and close-up. */
.about-section { margin-top: 100px; padding: 170px 48% 150px 16%; min-height: 720px; }
.about-section::before { content: ''; position: absolute; left: 8%; right: 0; top: 50px; bottom: 30px; background: var(--paper); }
.about-copy { position: relative; z-index: 3; }
.about-copy .en { margin-bottom: 20px; }
.about-copy h2 { margin-bottom: 34px; }
.about-copy .eyebrow { font-size: 13px; }
.philosophy-quote { font-size: 20px; line-height: 2.1; margin-bottom: 28px; }
.about-copy p { max-width: 32em; }
.about-section .about-main-photo { position: absolute; top: 0; right: 0; width: 41%; aspect-ratio: 1.3; }
.detail-photo { width: clamp(180px, 16vw, 240px); aspect-ratio: 1; border: 8px solid var(--white); will-change: transform; }
.about-section .detail-photo { position: absolute; left: 3%; bottom: -40px; width: 200px; }
.facts { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1.4fr; margin: 170px var(--gutter) 150px; position: relative; z-index: 3; }
.facts p { display: grid; align-content: center; text-align: center; margin: 0; font-family: var(--serif); line-height: 1.8; border-right: 1px solid var(--sand); padding: 20px 14px; }
.facts p:last-child { border: 0; }
.facts strong { display: block; font: 500 90px/1.2 var(--latin); letter-spacing: .01em; margin-bottom: 18px; }
.facts .facts-words { font: 500 26px/1.8 var(--serif); margin-bottom: 15px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 52px; margin-top: 28px; font-size: 14px; }
.arrow { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background .3s, border-color .3s, transform .3s; }
.arrow::before { content: ''; width: 13px; height: 1px; background: var(--ink); }
.arrow::after { content: ''; position: absolute; width: 5px; height: 5px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); right: 13px; }
a:hover .arrow, button:hover .arrow { background: var(--ink); border-color: var(--ink); transform: translateX(3px); }
a:hover .arrow::before, button:hover .arrow::before { background: var(--white); }
a:hover .arrow::after, button:hover .arrow::after { border-color: var(--white); }
.tag { display: inline-block; border: 1px solid var(--sage); padding: 5px 15px; background: var(--white); color: var(--ink); font-size: 13px; line-height: 1.9; }
.place-label { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; margin-bottom: 25px; }
.term-note { display: block; margin-top: 12px; font-size: 14px; line-height: 2; }

/* Each place has its own composition. */
.places-heading { display: grid; grid-template-columns: .65fr 1fr; align-items: center; width: 75%; margin: 0 auto 80px; }
.places-heading .en { grid-column: 1/-1; margin-bottom: 32px; }
.places-heading .eyebrow { display: none; }
.places-heading h2 { justify-self: center; height: 360px; }
.places-heading p { max-width: 24em; }
.location-block { padding-block: 120px 160px; }
.place-copy > .en { font-size: 28px; margin-bottom: 30px; }
.place-copy h3 { font-size: clamp(42px, 4.2vw, 62px); line-height: 1.5; margin-bottom: 30px; }
.place-copy h3 small { font-size: 20px; }
.place-copy > p { max-width: 32em; }
.place-picture { position: relative; }
.place-picture .detail-photo { position: absolute; bottom: -65px; left: -55px; z-index: 3; }
.office-list { margin: 0; }
.office-list-label { margin-bottom: 12px; }
.office-link { display: grid; grid-template-columns: 28px 1fr 42px; align-items: start; gap: 12px; padding: 25px 0; border-bottom: 1px solid var(--sand); }
.office-link .arrow { align-self: center; }
.office-number { font-size: 23px; padding-top: 5px; }
.office-name { display: block; font: 500 19px/1.9 var(--serif); }
.office-kind { display: block; font-size: 13px; margin-top: 7px; }
.office-link .term-note { font-size: 13px; }
.place-tsuda { display: grid; grid-template-columns: 36% 1fr; column-gap: 7%; margin-left: var(--gutter); }
.place-tsuda .place-layout { display: contents; }
.place-tsuda .place-copy { grid-column: 1; grid-row: 1; }
.place-tsuda .place-picture { grid-column: 2; grid-row: 1/3; align-self: start; margin-top: 50px; }
.place-tsuda .location-photo { height: 660px; aspect-ratio: auto; }
.place-tsuda .place-offices { grid-column: 1; margin-top: 40px; }
.place-higashishinozaki > .location-photo { width: 62%; height: 630px; aspect-ratio: auto; }
.place-higashishinozaki > .place-copy { position: relative; z-index: 3; width: 47%; margin: -320px 5% 0 auto; padding: 65px; background: var(--paper); }
.place-higashishinozaki > .place-offices { width: 80%; margin: 85px auto 0; }
.place-higashishinozaki .office-list { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: start; }
.place-higashishinozaki .office-link { height: 100%; padding: 28px; background: var(--paper); border: 0; }
.place-kishi .location-photo { height: 520px; aspect-ratio: auto; }
.place-kishi .location-photo img { object-position: center 62%; }
.place-kishi .place-picture .detail-photo { left: auto; right: 5%; top: -80px; bottom: auto; }
.place-floating { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 7%; width: 80%; padding: 70px 65px; background: var(--white); margin: -100px auto 0; }
.place-floating .place-offices { align-self: center; }
.place-izumigaoka { padding-inline: var(--gutter); }
.place-izumigaoka .place-layout { display: grid; grid-template-columns: 1fr 40%; gap: 10%; align-items: center; }
.place-copy-wrap { position: relative; padding-top: 195px; }
.place-copy-wrap > .detail-photo { position: absolute; top: -70px; left: 10%; }
.place-copy-wrap .place-offices { margin-top: 35px; }
.place-izumigaoka .location-photo { height: 790px; aspect-ratio: auto; }
.place-izumigaoka .location-photo img { object-position: 65% center; }

.home-services { background: var(--paper); margin-left: 5%; padding-left: 7%; }
.service-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 5%; }
.service-card:nth-child(2) { padding-top: 80px; }
.service-card:nth-child(3) { padding-top: 160px; }
.service-card .photo { aspect-ratio: .85; }
.service-number { font-size: 58px; margin: 25px 0 10px; }
.service-card h3 { font-size: 25px; margin-bottom: 20px; }
.service-card .text-link { width: 100%; }
.home-flow { display: grid; grid-template-columns: 48% 1fr; gap: 9%; align-items: start; }
.flow-visual { position: relative; padding-top: 60px; }
.flow-visual > .en { position: absolute; top: 0; left: 0; }
.flow-visual > h2 { position: absolute; z-index: 3; right: -38px; top: 110px; background: var(--white); padding: 25px 10px 25px 20px; }
.flow-visual > .photo:not(.detail-photo) { aspect-ratio: .85; width: 85%; }
.flow-visual > .detail-photo { margin: -90px 0 0 25px; }
.flow-copy > p { margin-bottom: 40px; }
.flow h3 { font-size: 25px; margin-bottom: 20px; }
.flow ol { margin: 0; }
.flow li { display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--sand); }
.flow-number { font: 500 50px/1.2 var(--latin); }
.flow li > span:last-child { font-family: var(--serif); font-size: 21px; }
.flow li .text-link { margin: 0; font-family: var(--serif); font-size: 21px; width: 100%; }
.welfare-flow-link { font-size: 14px; line-height: 2; }
.consult-section { background: var(--paper); padding: 100px var(--gutter) 120px; }
.consult-guide { padding: 55px 40px; background: var(--paper); }
.consult-section .consult-guide { padding: 0; }
.consult-guide h2 { font-size: 30px; text-align: center; margin-bottom: 65px; }
.consult-guide dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.consult-guide dl > div { background: var(--white); padding: 40px 22px 28px; position: relative; }
.consult-guide dl > div::before { content: ''; position: absolute; left: calc(50% - 21px); top: -21px; width: 42px; height: 42px; border: 1px solid var(--sage); border-radius: 50%; background: var(--white); }
.consult-guide dl > div::after { content: ''; position: absolute; left: calc(50% - 6px); top: -11px; width: 12px; height: 20px; border-left: 3px solid var(--ink); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); border-radius: 5px; transform: rotate(-35deg); }
.consult-guide dt { font-weight: 500; font-size: 14px; margin-bottom: 15px; }
.consult-guide dd { font-size: 14px; }
.consult-guide dd > span { display: block; }
.consult-guide .phone { font-size: 24px; margin-top: 14px; }
.phone { display: inline-flex; gap: 13px; align-items: center; font-family: var(--serif); font-weight: 500; line-height: 1.8; white-space: nowrap; }
.phone-icon { width: 35px; height: 35px; border: 1px solid var(--sage); border-radius: 50%; display: inline-block; position: relative; flex: 0 0 auto; }
.phone-icon::before { content: ''; position: absolute; left: 12px; top: 8px; width: 10px; height: 17px; border-left: 2px solid currentColor; border-top: 4px solid currentColor; border-bottom: 4px solid currentColor; border-radius: 5px; transform: rotate(-35deg); }
.image-overlay { position: relative; isolation: isolate; color: var(--white); background: var(--ink); }
.image-overlay > .backdrop { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.image-overlay::after { content: ''; position: absolute; z-index: -1; inset: 0; background: rgb(115 95 84 / .76); }
.image-overlay .image-note { background: var(--ink); color: var(--white); }
.image-overlay .arrow { border-color: rgb(255 255 255 / .65); }
.image-overlay .arrow::before { background: var(--white); }
.image-overlay .arrow::after { border-color: var(--white); }
.recruit-teaser { padding: 145px 16%; min-height: 620px; display: flex; align-items: center; }
.recruit-teaser .en { margin-bottom: 20px; }
.recruit-teaser .eyebrow { margin-bottom: 25px; }
.recruit-teaser h2 { font-size: clamp(36px,3.6vw,52px); margin-bottom: 25px; }
.recruit-teaser p { max-width: 32em; }
.recruit-teaser .text-link { border: 1px solid rgb(255 255 255 / .7); padding: 10px 24px; min-width: 270px; }
.contact-band { text-align: center; }
.contact-band > .en { margin-bottom: 30px; }
.contact-band h2 { font-size: clamp(29px,3vw,44px); }
.contact-band p { margin: 20px auto 0; }
.contact-band-actions { margin-top: 40px; }
.contact-band-actions > span { display: block; font-size: 14px; }
.contact-band .phone { font-size: clamp(34px,4vw,58px); }
.contact-band .phone-icon { width: 48px; height: 48px; }
.contact-band .phone-icon::before { top: 14px; left: 18px; }
.contact-band .text-link { min-width: 240px; }
.site-footer { position: relative; background: var(--paper); padding: 130px var(--gutter) 30px; }
.footer-line { width: 500px; max-width: 90%; height: 100px; position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding-bottom: 75px; }
.footer-top > div { border-left: 1px solid var(--sage); padding-left: 25px; }
.footer-brand { font-size: 30px; margin-bottom: 24px; }
.footer-brand > span { font-size: 13px; }
.footer-top p, .footer-top address { font-size: 13px; }
.footer-top .phone { font-size: 24px; margin-top: 10px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; align-content: start; font-size: 14px; }
.footer-directory { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; border-top: 1px solid var(--sand); padding-top: 50px; }
.footer-place h2 { font-size: 22px; }
.footer-place h2 .text-link { font-size: 22px; margin: 0 0 20px; width: 100%; }
.footer-office { margin-bottom: 24px; font-size: 12px; line-height: 2; }
.footer-office > a:first-child { display: block; }
.footer-office > a:first-child:hover { text-decoration: underline; }
.footer-office .phone { display: flex; font-size: 18px; gap: 8px; margin-top: 5px; }
.footer-office .phone-icon { width: 24px; height: 24px; }
.footer-office .phone-icon::before { width: 8px; height: 12px; top: 5px; left: 8px; border-top-width: 3px; border-bottom-width: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border-top: 1px solid var(--sand); margin-top: 55px; padding-top: 25px; font-size: 12px; }

/* Inner pages. */
.page-hero { height: 760px; }
.page-hero-title { position: absolute; left: 0; top: 80px; width: 40%; display: flex; flex-direction: column; align-items: center; z-index: 3; }
.page-hero-title > .en { order: 2; margin-top: 25px; }
.page-hero-title h1 { writing-mode: vertical-rl; font-size: 48px; line-height: 1.9; max-height: 400px; }
.page-hero-title h1 small { font-size: 20px; margin-top: 15px; }
.page-company .page-hero-title h1 { max-height: 480px; }
.page-hero-meta { order: 3; text-align: center; margin-top: 20px; font-size: 13px; }
.page-hero-meta .place-label { margin-bottom: 8px; justify-content: center; }
.page-hero-meta .eyebrow { margin: 0; }
.page-hero > .page-hero-photo { position: absolute; right: 0; top: 0; width: 60%; height: 620px; aspect-ratio: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 30px var(--gutter); font-size: 12px; position: relative; z-index: 3; }
.breadcrumb a { text-decoration: underline; }
.page-introduction { padding-block: 95px 30px; max-width: 900px; }
.page-introduction p { max-width: 34em; margin-top: 35px; }
.page-toc { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; padding-block: 45px; }
.page-toc .text-link { width: 100%; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--sand); }
.location-intro { padding-top: 110px; }
.location-intro-copy { position: relative; padding-right: 32%; margin-bottom: 100px; }
.location-intro-copy h2 { font-size: 35px; margin: 25px 0; max-width: 20em; }
.location-intro-copy .intro-copy { max-width: 34em; }
.location-intro-copy .detail-photo { position: absolute; right: 1%; top: 40px; }
.location-intro .page-toc { display: block; padding: 0; margin-bottom: 85px; }
.page-toc h2 { font-size: 30px; margin-bottom: 20px; }
.page-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 45px; }
.page-toc li .text-link > span:first-child { display: flex; align-items: center; gap: 20px; }
.toc-number { font: 500 32px/1 var(--latin); }
.office-section { padding-block: 140px 95px; }
.office-content { display: grid; grid-template-columns: 43% 1fr; gap: 9%; align-items: start; }
.office-visual { position: sticky; top: 130px; margin-top: 100px; }
.office-visual > .photo:not(.detail-photo) { aspect-ratio: .85; }
.office-visual > .detail-photo { position: relative; z-index: 3; margin: -80px -30px 0 auto; }
.office-heading { margin-bottom: 45px; }
.office-large-number { font-size: 95px; margin-bottom: 5px; }
.office-heading .eyebrow { font-size: 13px; }
.office-heading h2 { font-size: clamp(29px,2.8vw,41px); margin-bottom: 25px; }
.office-heading .tag { font-size: 13px; }
.office-copy > h3 { font-size: 25px; margin-bottom: 25px; }
.office-copy > p, .features { max-width: 34em; }
.features { margin-top: 40px; }
.features > div { padding: 20px 0; border-top: 1px solid var(--sand); }
.features dt { font-weight: 500; margin-bottom: 8px; }
.office-contact { border-top: 1px solid var(--sand); margin-top: 40px; padding-top: 25px; }
.office-contact p { font-size: 14px; }
.office-contact .phone { font-size: clamp(27px,2.6vw,38px); margin: 10px 0; }
.office-contact p + p { margin-top: 0; }
.office-reverse .office-content { grid-template-columns: 1fr 43%; }
.office-reverse .office-visual { grid-column: 2; grid-row: 1; }
.office-reverse .office-copy { grid-column: 1; grid-row: 1; }
.back-to-toc { display: block; position: relative; z-index: 3; text-align: right; font-size: 13px; margin-top: 60px; text-decoration: underline; }
.access-layout { display: grid; grid-template-columns: 40% 1fr; gap: 8%; align-items: center; }
.access-info { margin-top: 30px; }
.access-info > div { margin: 20px 0; }
.access-info dt { font-size: 13px; }
.map { width: 100%; height: 420px; border: 1px solid var(--sand); background: var(--sand); position: relative; z-index: 3; }
.location-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.location-links.four-places { grid-template-columns: repeat(2,1fr); gap: 70px 55px; }
.location-link { display: grid; grid-template-columns: 1fr 42px; align-items: center; gap: 15px 20px; position: relative; z-index: 3; }
.location-link > .photo { grid-column: 1/-1; width: 100%; aspect-ratio: 1.5; }
.location-link > .en { grid-column: 1/-1; margin-top: 12px; }
.location-link .eyebrow { font-size: 13px; margin-bottom: 10px; }
.location-link-name { display: block; font: 500 28px/1.6 var(--serif); margin-bottom: 15px; }
.location-address { display: block; font-size: 13px; }
.location-link:hover .photo img { transform: scale(1.03); }
.location-link .photo img { transition: transform .6s; }
.philosophy { display: grid; grid-template-columns: 1fr 42%; gap: 10%; align-items: center; }
.philosophy-text h2 { writing-mode: vertical-rl; font-size: 32px; max-height: 520px; margin: 40px auto; line-height: 2; }
.philosophy-text p { max-width: 34em; }
.philosophy-pictures { position: relative; }
.philosophy-pictures > .photo:first-child { aspect-ratio: .8; }
.philosophy-pictures .detail-photo { margin: -70px 0 0 -50px; }
.company-overview { padding: 150px var(--gutter); }
.company-data { max-width: 1000px; margin: auto; }
.company-data > .en { margin-bottom: 20px; }
.information-list > div { display: grid; grid-template-columns: 180px 1fr; gap: 35px; padding: 23px 0; border-bottom: 1px solid var(--sand); }
.information-list dt { font-size: 14px; font-weight: 500; }
.information-list dd { max-width: 36em; }
.company-data .information-list > div { border-color: rgb(255 255 255 / .35); }
.company-data .phone-icon { border-color: rgb(255 255 255 / .7); }
.history-section { display: grid; grid-template-columns: .8fr 1fr; gap: 9%; }
.history { margin: 0; border-left: 1px solid var(--line); }
.history li { padding: 0 0 65px 50px; position: relative; }
.history li::before { content: ''; position: absolute; width: 9px; height: 9px; top: 27px; left: -5px; border-radius: 50%; background: var(--line); }
.history-year { display: block; font: 500 64px/1.2 var(--latin); margin-bottom: 18px; }
.history h3 { font-size: 24px; }
.history p { margin-top: 10px; }
.service-group-heading { display: grid; grid-template-columns: 1fr 45%; gap: 10%; align-items: center; margin-bottom: 65px; }
.service-group-heading .section-heading { margin: 0; }
.service-group-heading h2 { font-size: clamp(28px, 2.9vw, 42px); }
.service-group-heading .photo { aspect-ratio: 1.3; }
.service-reverse .service-group-heading .photo { grid-column: 1; grid-row: 1; }
.service-reverse .service-group-heading .section-heading { grid-column: 2; grid-row: 1; }
.service-row { display: grid; grid-template-columns: 55px 1.1fr 1fr; gap: 35px; border-top: 1px solid var(--sand); padding: 45px 0; }
.row-number { font-size: 48px; }
.service-row h3 { font-size: 25px; margin-bottom: 18px; }
.service-row p { margin-top: 18px; }
.service-destinations { padding-left: 20px; }
.service-destinations .text-link { width: 100%; margin: 0 0 25px; }
.service-destinations .eyebrow { margin-bottom: 8px; }
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.recruit-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 5%; margin-top: 75px; }
.recruit-values > div { border-top: 1px solid var(--line); padding-top: 25px; }
.recruit-values h3 { margin-bottom: 20px; }
.workplaces { padding-top: 0; }
.notice { padding: 30px 40px; border: 1px solid var(--sage); background: var(--white); }
.notice p { max-width: 34em; }
.job { margin-top: 80px; position: relative; z-index: 3; }
.job h3 { margin-bottom: 30px; }
.job > p { max-width: 34em; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 35px; }
.faq-section { display: grid; grid-template-columns: 180px 1fr; gap: 9%; }
.faq-side { position: sticky; top: 140px; align-self: start; }
.faq-side h2 { margin-top: 30px; }
.faq-item { border-top: 1px solid var(--sand); padding: 30px 0; position: relative; z-index: 3; }
.faq-item:last-child { border-bottom: 1px solid var(--sand); }
.faq-item summary { display: grid; grid-template-columns: 70px 1fr 24px; gap: 20px; align-items: center; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.question-number { font: 500 34px/1 var(--latin); }
.faq-item h2 { font: 500 21px/1.9 var(--serif); }
.disclosure-icon { position: relative; width: 20px; height: 20px; }
.disclosure-icon::before, .disclosure-icon::after { content: ''; position: absolute; width: 17px; height: 1px; background: var(--ink); top: 9px; left: 1px; }
.disclosure-icon::after { transform: rotate(90deg); transition: transform .25s; }
details[open] .disclosure-icon::after { transform: rotate(0); }
.faq-answer { padding: 30px 44px 5px 90px; max-width: 47em; }
.faq-answer p { max-width: 34em; }
.contact-directory > .consult-guide { margin-bottom: 100px; }
.contact-table { border-collapse: collapse; width: 100%; text-align: left; }
.contact-table caption { text-align: left; font: 500 28px/1.8 var(--serif); padding-bottom: 35px; }
.contact-table th, .contact-table td { padding: 30px 20px; border-bottom: 1px solid var(--sand); font-weight: 400; vertical-align: top; }
.contact-table thead { font-size: 13px; }
.contact-table tbody + tbody { border-top: 12px solid var(--paper); }
.contact-table .contact-place { width: 16%; font-family: var(--serif); }
.contact-table th[scope="row"] { font-family: var(--serif); font-size: 20px; }
.contact-table th a:hover { text-decoration: underline; }
.contact-table .phone { font-size: 24px; }
.contact-table .term-note { font-family: var(--sans); }
.sample-form { max-width: 820px; margin: 0 auto; }
.field { margin-top: 35px; }
.field label { display: block; margin-bottom: 12px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--sand); padding: 15px 20px; background: var(--white); line-height: 1.8; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink); opacity: 1; }
.field textarea { resize: vertical; }
.button { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 40px 0 0; border: 1px solid var(--ink); padding: 15px 25px; background: var(--ink); color: var(--white); }
.button .arrow::before { background: var(--white); }
.button .arrow::after { border-color: var(--white); }
.form-status { min-height: 2em; margin-top: 20px; }

/* Motion v2. Only JS-assigned attributes/classes may hide content. */
[data-motion] { --motion-ease: cubic-bezier(.2,.65,.2,1); }
.motion-running { animation-delay: var(--motion-delay, 0ms) !important; }
/* 1 / 10: frames open towards the image; the image has its own zoom/scroll. */
[data-motion="photo"] { --photo-closed: inset(100% 0 0 0); }
[data-motion-from="left"] { --photo-closed: inset(0 100% 0 0); }
[data-motion-from="right"] { --photo-closed: inset(0 0 0 100%); }
[data-motion="photo"].motion-pending { clip-path: var(--photo-closed); }
[data-motion="photo"].motion-running { animation: open-photo 1.3s var(--motion-ease) both; }
.first-view [data-motion="photo"].motion-running { animation-duration: 1.4s; }
@keyframes open-photo { from { clip-path: var(--photo-closed); } to { clip-path: inset(0); } }
[data-motion="photo"] > img { transition: transform .55s ease-out; }
.motion-enabled [data-motion="photo"].motion-pending > img { transform: scale(1.18); }
.motion-enabled [data-motion="photo"].motion-running > img { animation: photo-pullback 1.7s var(--motion-ease) both; }
.motion-enabled [data-motion="photo"].motion-settled > img { transform: translateY(var(--photo-shift, 0%)) scale(1.12); }
@keyframes photo-pullback { from { transform: scale(1.18); } to { transform: scale(1); } }
/* 2: translate is independent of the scale used by the reveal. */
[data-motion="detail"] { translate: 0 var(--detail-shift, 0px); }
[data-motion="detail"].motion-pending { opacity: 0; transform: scale(.88); }
[data-motion="detail"].motion-running { animation: detail-bloom .9s var(--motion-ease) both; }
@keyframes detail-bloom { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
/* 3: keep each element's original letter spacing as its final value. */
[data-motion="en"] { max-width: 100%; overflow: clip; }
[data-motion="en"].motion-pending { opacity: 0; transform: translateX(-30px); letter-spacing: .35em; }
[data-motion="en"].motion-running { animation: english-arrive .9s var(--motion-ease) both; }
@keyframes english-arrive {
  from { opacity: 0; transform: translateX(-30px); letter-spacing: .35em; }
  to { opacity: 1; transform: translateX(0); letter-spacing: var(--final-spacing); }
}
/* 4 / 5: wrappers exist only at runtime; original wbr/br/text nodes survive. */
[data-motion="heading"] { clip-path: inset(0); }
.motion-words { display: block; }
[data-motion="heading"].motion-pending > .motion-words { clip-path: inset(0 0 100% 0); transform: translateY(40%); }
[data-motion="heading"].motion-running > .motion-words { animation: heading-rise 1s var(--motion-ease) both; }
@keyframes heading-rise { from { clip-path: inset(0 0 100% 0); transform: translateY(40%); } to { clip-path: inset(0); transform: translateY(0); } }
.motion-line { display: inline-block; vertical-align: top; }
[data-motion="vertical"].motion-pending > .motion-line { clip-path: inset(0 0 100% 0); }
[data-motion="vertical"].motion-running > .motion-line { animation: ink-down 1.6s var(--motion-ease) both; animation-delay: var(--line-delay, 0ms); }
@keyframes ink-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
/* 6 / 10: sibling delays are assigned within their own group. */
:is([data-motion="text"], [data-motion="brand"]).motion-pending { opacity: 0; transform: translateY(24px); }
:is([data-motion="text"], [data-motion="brand"]).motion-running { animation: lift-text .9s var(--motion-ease) both; }
@keyframes lift-text { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
/* 8: expand only the coloured surface, leaving copy and sticky photos stable. */
[data-motion="panel"] { position: relative; isolation: isolate; background-color: transparent !important; }
[data-motion="panel"]:not(.about-section)::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--panel-color); }
[data-motion="panel"]::before { transform-origin: var(--panel-origin, right) center; }
[data-motion="panel"].motion-pending::before { transform: scaleX(.92); }
[data-motion="panel"].motion-running::before { animation: surface-spread 1.2s var(--motion-ease) both; }
@keyframes surface-spread { from { transform: scaleX(.92); } to { transform: scaleX(1); } }
/* 9: the existing main/footer clipping also contains all horizontal entrances. */
[data-motion="step"].motion-pending { opacity: 0; transform: translateX(30px); }
[data-motion="step"].motion-running { animation: step-arrive .9s var(--motion-ease) both; }
@keyframes step-arrive { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

@media (min-width: 768px) and (max-width: 1199px) {
  .site-header { padding-left: 20px; gap: 20px; flex-wrap: wrap; }
  .global-nav { gap: 8px 16px; flex-wrap: wrap; justify-content: flex-start; }
  .site-header .brand { flex: 0 0 150px; }
  .hero-nav { left: 36%; gap: 12px 18px; }
  .hero-message { top: 14%; }
  .hero-copy { font-size: 32px; }
  .hero-en { font-size: 17px; }
  .hero-brand { padding-left: 15px; }
  .about-section { padding-left: 13%; padding-right: 47%; }
  .about-section .about-main-photo { width: 40%; top: 70px; }
  .about-section .detail-photo { width: 180px; left: 4%; bottom: -90px; }
  .facts { margin-top: 190px; }
  .facts strong { font-size: 72px; }
  .facts .facts-words { font-size: 21px; }
  .place-tsuda { grid-template-columns: 44% 1fr; gap: 5%; }
  .place-tsuda .location-photo { height: 570px; }
  .place-higashishinozaki > .place-copy { width: 55%; padding: 42px; margin-right: 3%; }
  .place-higashishinozaki > .place-offices { width: 88%; }
  .place-higashishinozaki .office-link { padding: 22px; grid-template-columns: 22px 1fr 34px; gap: 10px; }
  .place-floating { width: 88%; padding: 48px 36px; }
  .place-izumigaoka .place-layout { gap: 6%; }
  .service-cards { gap: 4%; }
  .service-card h3 { font-size: 22px; }
  .consult-guide { padding: 50px 22px; }
  .consult-guide dl { gap: 12px; }
  .consult-guide dl > div { padding-inline: 15px; }
  .consult-guide .phone { font-size: 20px; gap: 5px; }
  .consult-guide .phone-icon { display: none; }
  .footer-directory { grid-template-columns: 1fr 1fr; gap: 35px 60px; }
  .office-content { grid-template-columns: 40% 1fr; gap: 6%; }
  .office-reverse .office-content { grid-template-columns: 1fr 40%; }
  .office-heading h2 { font-size: 30px; }
  .office-heading .tag { padding: 6px 10px; }
  .office-contact .phone { font-size: 26px; }
  .office-visual > .detail-photo { width: 160px; }
  .contact-table th, .contact-table td { padding: 25px 10px; }
  .contact-table .phone { font-size: 20px; gap: 6px; }
  .contact-table .phone-icon { display: none; }
  .location-links { gap: 24px; }
  .location-link-name { font-size: 24px; }
  .service-row { grid-template-columns: 45px 1fr; gap: 25px; }
  .service-destinations { grid-column: 2; padding: 0; }
  .faq-section { grid-template-columns: 90px 1fr; gap: 6%; }
  .faq-item summary { grid-template-columns: 58px 1fr 20px; gap: 12px; }
  .faq-answer { padding-left: 70px; padding-right: 10px; }
}

@media (max-width: 767px) {
  :root { --gutter: 24px; --section-space: 90px; --band-height: 42px; }
  html { scroll-padding-top: 115px; }
  body { font-size: 16px; line-height: 2.15; padding-bottom: 64px; }
  h2 { font-size: 30px; line-height: 1.85; }
  h3 { font-size: 24px; }
  .section-heading { margin-bottom: 42px; }
  .eyebrow { font-size: 13px; }
  .en { font-size: 22px; }
  .term-note, .office-link .term-note, .office-kind, .location-address, .office-contact p, .consult-guide dd, .footer-top p, .footer-top address, .footer-office { font-size: 16px; }
  .only-mobile { display: initial; }
  .sample-band { min-height: 42px; padding: 5px 16px; font-size: 10px; line-height: 16px; }
  .sample-band > span { display: inline-block; }
  .site-header { position: relative; top: 0; transform: none; visibility: visible; padding: 12px 20px; min-height: 68px; flex-wrap: wrap; gap: 15px; }
  .site-header .brand-name { font-size: 23px; }
  .site-header .smile-mark { width: 38px; height: 38px; }
  .js .site-header { position: fixed; top: var(--band-height); flex-wrap: nowrap; height: 68px; }
  .js .is-scrolled .site-header { top: 0; }
  .js main { padding-top: 68px; }
  .global-nav { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding-bottom: 12px; }
  .js .global-nav { position: fixed; z-index: 105; inset: 68px 0 auto; height: calc(100dvh - 68px); display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 30px 40px 130px; background: var(--paper); overflow: auto; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .3s, visibility .3s; }
  .js .global-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .global-nav a { font-size: 16px; }
  .js .global-nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--sand); font-family: var(--serif); font-size: 20px; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 8px 0 8px 10px; border: 0; font-size: 11px; background: transparent; }
  .menu-lines { position: relative; width: 25px; height: 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .menu-lines::before { content: ''; position: absolute; top: 7px; left: 6px; width: 19px; height: 1px; background: var(--ink); }
  .menu-toggle[aria-expanded="true"] .menu-lines { transform: rotate(45deg); height: 1px; border-bottom: 0; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { top: -1px; left: 0; width: 25px; transform: rotate(90deg); }
  .consult-tab { top: calc(var(--band-height) + 68px); width: 156px; padding: 8px 10px 11px; border-bottom-left-radius: 20px; }
  .consult-tab .num { font-size: 17px; }
  .consult-tab > span:first-child { font-size: 11px; }
  .is-scrolled .consult-tab { top: 68px; }
  .mobile-phone { display: flex; position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; min-height: 64px; padding: 13px 18px calc(13px + env(safe-area-inset-bottom)); gap: 10px; justify-content: center; align-items: center; background: var(--ink); color: var(--white); font-size: 15px; }
  .mobile-phone > span:nth-child(2) { font-size: 11px; }
  .mobile-phone .num { font: 500 18px/1.5 var(--serif); }
  .home-hero { height: auto; min-height: 0; padding-bottom: 115px; }
  .hero-slides { position: relative; width: 100%; height: 360px; }
  .hero-slide img { object-position: 58% center; }
  .hero-message { position: relative; top: auto; right: auto; width: 100%; padding: 60px 0 45px; }
  .hero-copy { font-size: 29px; line-height: 1.95; letter-spacing: .15em; }
  .hero-en { font-size: 18px; margin-top: 28px; }
  .hero-brand { left: 24px; bottom: 26px; padding-left: 15px; }
  .hero-brand .brand-name { font-size: 25px; }
  .hero-brand .smile-mark { width: 45px; height: 45px; }
  .hero-nav { display: none; }
  .hero-line { opacity: .65; }
  .scroll-cue { bottom: 34px; right: 24px; left: auto; }
  .slideshow-toggle { left: 15px; top: 318px; bottom: auto; padding: 3px 10px; gap: 12px; }
  .slideshow-toggle .en { font-size: 18px; }
  .about-section { margin-top: 80px; padding: 0 40px 130px; min-height: 0; display: flex; flex-direction: column; }
  .about-section::before { left: 16px; top: 130px; bottom: 30px; }
  .about-section .about-main-photo { position: relative; top: auto; right: auto; width: calc(100% + 40px); margin: 0 -40px 0 0; aspect-ratio: 1.3; order: -1; }
  .about-copy { padding-top: 45px; }
  .about-copy .eyebrow { margin-bottom: 16px; }
  .about-copy h2 { font-size: 29px; }
  .philosophy-quote { font-size: 19px; }
  .about-section .detail-photo { width: 145px; left: 0; bottom: -65px; }
  .detail-photo { width: 145px; border-width: 5px; }
  .facts { grid-template-columns: 1fr 1fr; margin: 160px 24px 90px; row-gap: 35px; }
  .facts p { padding: 10px 8px; font-size: 16px; }
  .facts p:nth-child(2) { border: 0; }
  .facts strong { font-size: 66px; margin-bottom: 7px; }
  .facts .facts-words { font-size: 19px; line-height: 2; }
  .places-heading { grid-template-columns: 1fr 1fr; width: auto; margin: 0 35px 25px; gap: 25px; }
  .places-heading .en { margin-bottom: 0; }
  .places-heading h2 { font-size: 29px; height: 300px; }
  .places-heading p { font-size: 16px; line-height: 2.3; margin: 0; }
  .location-block { padding-block: 85px 90px; }
  .place-copy > .en { font-size: 25px; margin-bottom: 20px; }
  .place-copy h3 { font-size: 43px; margin-bottom: 25px; }
  .place-copy h3 small { font-size: 17px; }
  .place-label { gap: 12px; font-size: 13px; }
  .tag { font-size: 13px; }
  .text-link { font-size: 16px; gap: 16px; }
  .office-link { padding: 25px 0; gap: 10px; grid-template-columns: 22px 1fr 32px; }
  .office-name { font-size: 20px; }
  .office-number { font-size: 21px; }
  .office-link .arrow { width: 32px; height: 32px; flex-basis: 32px; }
  .office-link .arrow::after { right: 9px; }
  .place-tsuda { display: flex; flex-direction: column; margin: 0; }
  .place-tsuda .place-picture { order: -1; margin: 0 0 85px 14%; width: 86%; }
  .place-tsuda .location-photo { height: 340px; }
  .place-picture .detail-photo { left: -30px; bottom: -50px; }
  .place-tsuda .place-copy, .place-tsuda .place-offices { margin-inline: 24px; }
  .place-tsuda .place-offices { margin-top: 35px; }
  .place-higashishinozaki > .location-photo { width: 88%; height: 360px; }
  .place-higashishinozaki > .place-copy { width: calc(100% - 40px); margin: -55px 0 0 auto; padding: 38px 24px; }
  .place-higashishinozaki > .place-offices { margin: 30px 24px 0; width: auto; }
  .place-higashishinozaki .office-list { grid-template-columns: 1fr; gap: 18px; }
  .place-higashishinozaki .office-link { padding: 24px 18px; }
  .place-kishi .location-photo { height: 310px; }
  .place-kishi .place-picture .detail-photo { width: 130px; top: -55px; right: 12px; }
  .place-floating { display: block; width: calc(100% - 40px); padding: 38px 20px 0; margin-top: -45px; }
  .place-floating .place-offices { margin-top: 40px; }
  .place-izumigaoka { padding-inline: 24px; }
  .place-izumigaoka .place-layout { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .place-izumigaoka .location-photo { order: -1; width: 76%; height: 450px; margin-left: auto; }
  .place-copy-wrap { padding-top: 85px; }
  .place-copy-wrap > .detail-photo { top: -100px; left: -8px; }
  .home-services { margin-left: 16px; padding-left: 24px; padding-right: 24px; }
  .service-cards { display: block; }
  .service-card { margin-top: 65px; }
  .service-card:nth-child(2), .service-card:nth-child(3) { padding-top: 0; }
  .service-card:nth-child(2) .photo { width: 90%; margin-left: auto; }
  .service-card .photo { height: 320px; aspect-ratio: auto; }
  .service-number { font-size: 52px; }
  .service-card h3 { font-size: 25px; }
  .home-flow { display: block; }
  .flow-visual { margin-bottom: 65px; padding-top: 50px; }
  .flow-visual > h2 { right: -10px; top: 90px; font-size: 27px; padding: 20px 5px 20px 10px; }
  .flow-visual > .detail-photo { margin: -55px 0 0 5px; width: 130px; }
  .flow li { grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; }
  .flow-number { font-size: 44px; }
  .flow li > span:last-child, .flow li .text-link { font-size: 19px; }
  .flow li .arrow { width: 32px; height: 32px; flex-basis: 32px; }
  .flow li .arrow::after { right: 9px; }
  .consult-section { padding: 80px 24px; }
  .consult-guide { padding: 45px 20px 30px; }
  .consult-guide h2 { font-size: 25px; margin-bottom: 55px; }
  .consult-guide dl { display: grid; grid-template-columns: 1fr; gap: 45px; }
  .consult-guide dl > div { padding: 35px 22px 25px; text-align: center; }
  .consult-guide dt { font-size: 16px; }
  .consult-guide .phone { font-size: 26px; }
  .recruit-teaser { min-height: 580px; padding: 90px 32px; }
  .recruit-teaser h2 { font-size: 32px; }
  .recruit-teaser .text-link { min-width: 0; width: 100%; padding-inline: 18px; }
  .contact-band h2 { font-size: 29px; }
  .contact-band .phone { font-size: 31px; gap: 9px; }
  .contact-band .phone-icon { width: 35px; height: 35px; }
  .contact-band .phone-icon::before { left: 12px; top: 8px; }
  .footer-top { display: block; padding-bottom: 40px; }
  .footer-brand { font-size: 25px; gap: 8px; }
  .footer-brand .smile-mark { width: 40px; height: 40px; }
  .footer-brand > span { font-size: 11px; }
  .footer-nav { margin-top: 40px; gap: 20px 25px; font-size: 16px; }
  .footer-directory { display: block; padding-top: 25px; }
  .footer-place { padding: 25px 0 10px; border-bottom: 1px solid var(--sand); }
  .footer-place h2 .text-link { font-size: 25px; }
  .footer-office { margin-bottom: 28px; }
  .footer-office .phone { font-size: 24px; margin-top: 10px; }
  .footer-bottom { margin-top: 35px; flex-direction: column; gap: 15px; font-size: 13px; }
  .footer-bottom small { font-size: 11px; }
  .page-hero { height: auto; min-height: 0; display: flex; flex-direction: column; padding-bottom: 125px; }
  .page-hero > .page-hero-photo { position: relative; order: -1; width: 100%; height: 330px; }
  .page-hero-title { position: relative; top: auto; left: auto; width: 100%; padding: 60px 24px 40px; }
  .page-hero-title h1 { font-size: 36px; max-height: 360px; }
  .page-company .page-hero-title h1 { max-height: 360px; }
  .page-hero-title > .en { font-size: 23px; }
  .page-hero-title h1 small { font-size: 18px; }
  .page-hero-meta { margin-top: 20px; }
  .page-hero-meta p { font-size: 16px; }
  .page-introduction { padding-block: 60px 0; }
  .page-introduction h2 { font-size: 29px; }
  .breadcrumb { font-size: 11px; gap: 7px; padding-top: 22px; }
  .page-toc { grid-template-columns: 1fr; gap: 0; margin-top: 45px; padding-block: 10px; }
  .location-intro { padding-top: 70px; }
  .location-intro-copy { padding-right: 0; padding-bottom: 80px; margin-bottom: 100px; }
  .location-intro-copy h2 { font-size: 27px; }
  .location-intro-copy .detail-photo { top: auto; bottom: -70px; right: -24px; width: 150px; }
  .location-intro .page-toc { margin-top: 75px; margin-bottom: 65px; }
  .page-toc ol { grid-template-columns: 1fr; gap: 0; }
  .page-toc h2 { font-size: 27px; }
  .page-toc .text-link { font-size: 16px; }
  .page-toc li .text-link > span:first-child { gap: 15px; }
  .office-section { padding-block: 90px 60px; }
  .office-content, .office-reverse .office-content { display: flex; flex-direction: column; gap: 55px; }
  .office-visual { position: relative; top: auto; width: 100%; margin-top: 0; }
  .office-visual > .photo:not(.detail-photo) { aspect-ratio: 1.05; }
  .office-visual > .detail-photo { margin: -60px -16px 0 auto; width: 140px; }
  .office-large-number { font-size: 72px; }
  .office-heading { margin-bottom: 30px; }
  .office-heading h2 { font-size: 29px; }
  .office-copy > h3 { font-size: 24px; }
  .office-heading .tag { font-size: 14px; }
  .office-contact .phone { font-size: 29px; gap: 9px; }
  .back-to-toc { margin-top: 35px; font-size: 14px; }
  .access-layout { grid-template-columns: 1fr; gap: 45px; }
  .map { height: 340px; }
  .location-links, .location-links.four-places { grid-template-columns: 1fr; gap: 50px; }
  .location-link-name { font-size: 30px; }
  .philosophy { display: flex; flex-direction: column; gap: 60px; }
  .philosophy-text { width: 100%; }
  .philosophy-text h2 { font-size: 25px; max-height: 430px; margin-block: 35px; }
  .philosophy-pictures { width: 90%; margin-left: auto; }
  .philosophy-pictures > .photo:first-child { aspect-ratio: 1.1; }
  .philosophy-pictures .detail-photo { margin: -60px 0 0 -30px; }
  .company-overview { padding: 90px 24px; }
  .information-list > div { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .information-list dt { font-size: 14px; }
  .history-section { display: block; }
  .history { margin-left: 6px; }
  .history li { padding-left: 30px; }
  .history-year { font-size: 58px; }
  .history h3 { font-size: 23px; }
  .service-group-heading { display: flex; flex-direction: column; align-items: stretch; gap: 35px; }
  .service-group-heading .photo { width: 100%; }
  .service-row { grid-template-columns: 35px 1fr; gap: 18px; padding: 35px 0; }
  .row-number { font-size: 36px; }
  .service-row h3 { font-size: 23px; }
  .service-destinations { grid-column: 2; padding: 0; }
  .service-destinations .text-link { font-size: 16px; }
  .flow-grid { grid-template-columns: 1fr; gap: 65px; }
  .recruit-values { grid-template-columns: 1fr; gap: 35px; margin-top: 45px; }
  .notice { padding: 25px 20px; }
  .job { margin-top: 60px; }
  .job h3 { font-size: 26px; }
  .inline-actions { display: block; }
  .faq-section { display: block; }
  .faq-side { position: relative; top: auto; display: flex; gap: 30px; margin-bottom: 50px; }
  .faq-side h2 { margin-top: 0; font-size: 28px; max-height: 220px; }
  .faq-item summary { grid-template-columns: 48px 1fr 18px; gap: 10px; }
  .question-number { font-size: 28px; }
  .faq-item h2 { font-size: 20px; }
  .faq-answer { padding: 25px 0 0; }
  .faq-answer .text-link { font-size: 16px; }
  .contact-directory > .consult-guide { margin-bottom: 70px; }
  .contact-table, .contact-table caption, .contact-table tbody, .contact-table tr, .contact-table td, .contact-table th { display: block; }
  .contact-table caption { font-size: 26px; }
  .contact-table thead { display: none; }
  .contact-table tbody + tbody { border: 0; margin-top: 40px; }
  .contact-table tr { padding: 28px 0; border-bottom: 1px solid var(--sand); }
  .contact-table th, .contact-table td { padding: 0; border: 0; }
  .contact-table .contact-place { width: auto; margin-bottom: 12px; font-size: 16px; }
  .contact-table th[scope="row"] { font-size: 22px; }
  .contact-table .phone { font-size: 28px; margin-top: 16px; }
  .field input, .field select, .field textarea { padding: 12px 15px; }
  .button { padding: 14px 16px; width: 100%; font-size: 16px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Keep entrances, counters, lines and crossfades. Stop only photo travel/zoom. */
  [data-motion="photo"] > img, .hero-slide img { animation: none !important; transform: none !important; transition: none !important; }
  [data-motion="detail"] { translate: none; }
}


/* ===== 改行の決まり（2026-11-17 追加）=====
   本人の指摘「変なところでの改行」（例: このまちで、つ／ながる支え。）を受けて。
   ページの文字はすべて、HTML に入れた <wbr>（折ってよい所＝言葉の切れ目）と <br> 以外では折らない（見出しだけでは事業所名・住所が割れたため、本文にも広げた）。
   区切りより長くて入りきらないときだけ、はみ出さないよう途中で折る（overflow-wrap: break-word。anywhere は番号の枠まで縮めて「Q0／2」と割れたので使わない）。 */
body, h1, h2, h3, h4, p, dd, dt, th, td, li, summary, .term-note, .tag, .place-label, .menu-label {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}
h1, h2, h3, h4, dt, summary { text-wrap: balance; }
p, li, dd, td { line-break: strict; text-wrap: pretty; }
/* 縦書きの見出しは、<br> で決めた行のまま折らない（高さの上限で勝手に次の行へ送らない） */
.hero-copy, .vertical-heading, .philosophy-text h2, .page-hero-title h1 { white-space: nowrap; max-height: none; }
/* 番号と番地は折らない（狭い枠で「Q0／2」「0／2」「9-／50」と割れたため） */
.question-number, .office-number, .row-number, .num { white-space: nowrap; overflow-wrap: normal; }

/* ===== 見直しで直した所（2026-11-17・Claude）===== */
/* 写真を作り直したので、顔が枠に入る位置に合わせる（最初の大きな写真の入れ替えは今の位置のまま） */
img[src$="kyoten-tsuda.jpg"]:not(.hero-slide img) { object-position: right center; }
img[src$="kyoten-izumigaoka.jpg"]:not(.hero-slide img) { object-position: 76% center; }
img[src$="kyoten-kishi.jpg"]:not(.hero-slide img) { object-position: center 38%; }
/* トップの東篠崎の事業所の札: 同じ段の札の高さをそろえる */
.place-higashishinozaki .office-list { align-items: stretch; }
/* ページを流れる線が文字を横切ると打ち消し線に見えるので、段落・見出し・一覧に地と同じ色の背景を敷き、線が文章の後ろを通るようにする
   （文字のまわりをぼかす形も試したが、細い文字のすき間から線が見えたのでやめた）。--halo はその場所の地の色 */
.page-stream { --halo: #fff; }
.paper, .about-section, .home-services, .consult-section, .consult-guide, .site-footer,
.place-higashishinozaki > .place-copy, .place-higashishinozaki .office-link { --halo: var(--paper); }
.consult-guide dl > div, .place-floating, .notice, .tag, .flow-visual > h2 { --halo: #fff; }
.image-overlay { --halo: transparent; }
.page-stream :is(h2, h3, h4, p, dl, ul, ol, address, .term-note, .en, .eyebrow, .text-link, .office-heading > span) { background-color: var(--halo, transparent); }
/* 英字の書体（Cormorant Garamond）の数字は、そのままだと小文字のような形で「01」が「OI」に見えるので、そろった高さの数字にする */
/* 部品ごとの font: のまとめ書きがこの指定を打ち消すので、!important で全部に当てる */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
/* 最初の画面の写真の入れ替え: 写真ごとに 2 人の顔が枠に入る位置（2026-11-17 写真の作り直しに合わせて） */
.hero-slide img[src$="hero.jpg"] { object-position: 100% center; }
.hero-slide img[src$="svc-day-tsuda.jpg"] { object-position: 45% center; }
/* 読み込みの瞬間はメニューの出し入れの動きを止める（スマホでメニューが一瞬見えたため・main.js の nav-ready と対） */
.js:not(.nav-ready) .global-nav { transition: none !important; }
