@font-face { font-family: 'Noto Sans JP'; src: url('assets/NotoSansJP-VF.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f3f0eb; color: #272523; font-family: 'Noto Sans JP', sans-serif; line-height: 2; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; }
.header { height: 48px; background: #f3f0eb; position: relative; z-index: 5; }
.logo { position: absolute; top: 54px; left: 7%; z-index: 2; color: #f4f1ec; text-decoration: none; text-shadow: 0 1px 4px #333; }
.logo img { display: block; width: 91px; height: auto; }
.menu-toggle { position: absolute; right: 20px; top: 10px; padding: 7px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1px; background: #43515a; margin: 5px 0; }
.navigation { position: absolute; right: 0; top: 48px; width: min(350px, 100%); padding: 28px 40px; background: #f3f0eb; box-shadow: 0 8px 16px #0002; }
.navigation a, .footer-nav a { display: block; padding: 8px 0; text-decoration: none; }
.navigation a:hover, .footer-nav a:hover { opacity: .6; }
.hero { min-height: min(74vw, 760px); background: linear-gradient(90deg, transparent 35%, #0004), url('assets/library.jpg') center/cover no-repeat; position: relative; color: #fff; }
.hero-copy { position: absolute; right: 10%; top: 26%; text-align: right; }
.hero h1 { font-size: clamp(30px, 4vw, 58px); font-weight: 400; line-height: 1.35; margin: 0 0 22px; }
.hero-description { font-size: clamp(15px, 1.5vw, 20px); margin-bottom: 24px; }
.hero-description strong { font-size: 1.2em; }
.hero p { font-size: 13px; font-style: italic; line-height: 1.4; }
.hero-next { position: absolute; bottom: 60px; left: 7%; width: max-content; max-width: 86%; color: #fff; text-align: left; font-size: clamp(14px, 1.4vw, 18px); line-height: 1.7; text-shadow: 0 1px 5px #000, 0 1px 10px #000; }
.page-banner { height: 120px; background: linear-gradient(#f7f3e9a8, #f7f3e94d), #c9c0b2 url('assets/washi.png') center 15% / cover no-repeat; }
.page-banner span { visibility: hidden; }
body:has(.page-banner) .logo img { filter: brightness(0); opacity: .6; }
.section { padding: 90px 8%; }
.section:nth-child(even) { background: #e8e2db; }
.content { max-width: 900px; margin: 0 auto; }
.content h2 { font-size: clamp(27px, 3.6vw, 44px); font-weight: 400; line-height: 1.5; margin: 0 0 35px; white-space: pre-line; }
body:has(.page-banner) .content h2 { font-size: clamp(27px, 3.2vw, 40px); line-height: 1.45; }
body:has(.page-banner) .works-section .content h2 { font-size: clamp(30px, 3.6vw, 44px); }
.content p { white-space: pre-line; font-size: 16px; line-height: 2.1; margin: 0 0 30px; }
.content .section-label { color: #806b59; font-size: 14px; font-weight: 700; line-height: 1.4; margin: 0 0 12px; }
.content:has(> .tower-image), .content:has(> .planning-image), .content:has(> .profile-image) { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 40px; align-content: start; }
.tower-image, .planning-image, .profile-image { grid-column: 1; grid-row: 1 / span 10; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; align-self: start; }
.content:has(> .tower-image) > :not(.tower-image), .content:has(> .planning-image) > :not(.planning-image), .content:has(> .profile-image) > :not(.profile-image) { grid-column: 2; }
.content:has(> .tower-image) > .button { justify-self: start; }
.profile-intro .content:has(> .profile-image) > .section-label, .profile-intro .content:has(> .profile-image) > h2 { grid-column: 1 / -1; }
.profile-intro .profile-image { grid-row: 3; }
.profile-name { font-size: 20px; font-weight: 600; }
.profile-toc { margin: 0 0 36px; padding: 20px 0; border-top: 1px solid #9f8c79; border-bottom: 1px solid #9f8c79; }
.profile-toc span { display: block; color: #806b59; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.profile-toc ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; margin: 0; }
.profile-toc a { display: inline-block; font-size: 14px; text-decoration: none; }
.profile-toc a::before { content: '▼'; color: #806b59; font-size: .7em; margin-right: .5em; }
.profile-toc a:hover, .profile-toc a:focus-visible { text-decoration: underline; }
[id] { scroll-margin-top: 24px; }
.profile-intro .content:has(> .profile-image) > .japonica-feature { grid-column: 1 / -1; margin-top: 40px; }
.japonica-content { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 40px; align-items: start; }
.japonica-content img { display: block; width: 100%; height: auto; }
.japonica-photo { margin: 0; }
.japonica-photo figcaption { margin-top: 8px; color: #786b5d; font-size: 0.75rem; line-height: 1.5; text-align: right; }
.book-intro .content { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 40px; align-content: start; border: 1px solid #9f8c79; padding: clamp(24px, 4vw, 48px); }
.book-intro .section-label, .book-intro h2 { grid-column: 1 / -1; }
.book-image { grid-column: 1; grid-row: 3; width: 100%; height: auto; align-self: start; }
.book-intro .content > p:not(.section-label) { grid-column: 2; }
.content .book-note { font-size: 14px; }
.published-book { grid-column: 1 / -1; border-top: 1px solid #9f8c79; margin-top: 20px; padding-top: 30px; }
.published-book-content { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 30px; align-items: start; }
.published-book-content figure { margin: 0; }
.published-book-content img { display: block; width: 100%; height: auto; }
.published-book-content figcaption { margin-top: 8px; font-size: 12px; line-height: 1.7; color: #786b5d; }
.published-book p:last-child { margin-bottom: 0; }
.works-feature { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 40px; align-items: start; }
.content h3 { margin: 0 0 20px; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; }
.content h4 { margin: 30px 0 12px; font-size: 18px; line-height: 1.5; }
.section-4 .content h3, .section-6 .content h3 { margin-top: 48px; }
.works-photos { margin: 0; }
.works-photos img { display: block; width: 100%; height: auto; margin-bottom: 16px; }
.works-photos figcaption { font-size: 12px; line-height: 1.5; }
.works-list { margin: 0 0 30px; padding-left: 1.4em; line-height: 2.1; }
.works-list li { padding-left: .2em; }
.content .works-divider { border-top: 1px solid #9f8c79; padding-top: 38px; margin-top: 48px; }
.kotonoha-gallery { margin: 38px 0 0; }
.kotonoha-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kotonoha-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kotonoha-photos .kotonoha-window { grid-column: 1 / -1; aspect-ratio: auto; }
.kotonoha-gallery figcaption { margin-top: 10px; font-size: 14px; color: #67594e; }
.pets-feature { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 40px; align-items: start; }
.pets-feature img { display: block; width: 100%; height: auto; }
.children-feature { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 40px; align-items: start; }
.children-feature figure { margin: 0; }
.children-feature img { display: block; width: 100%; height: auto; }
.children-feature figcaption { margin-top: 8px; color: #786b5d; font-size: 12px; line-height: 1.5; text-align: right; }
.seminar-case { border: 1px solid #9f8c79; padding: clamp(24px, 4vw, 48px); margin-top: 48px; }
.seminar-topics { margin-top: 36px; }
.seminar-topics ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.seminar-topics li { border: 1px solid #b3a08e; border-radius: 3px; padding: 4px 12px; color: #56483c; font-size: 14px; line-height: 1.7; }
.seminar-case-content { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 40px; align-items: start; }
.seminar-case-content img { display: block; width: 100%; height: auto; }
.seminar-case-content p:last-child { margin-bottom: 0; }
.signature-image { display: block; width: min(196px, 100%); height: auto; margin-left: min(60px, 10%); }
.content::after { content: ''; display: block; clear: both; }
.button { display: inline-block; border: 1px solid #514c48; padding: 12px 54px; text-decoration: none; margin-top: 24px; }
footer { position: relative; background: linear-gradient(#0006, #0006), #233326 url('assets/footer.png') center/cover no-repeat; color: #f4f1ec; text-align: center; padding: 70px 20px 0; }
footer > p { width: min(900px, 84vw); margin: 0 auto 35px; text-align: left; font-size: clamp(27px, 3.6vw, 44px); font-weight: 400; line-height: 1.5; }
footer > p:nth-of-type(2) { font-size: clamp(18px, 2.4vw, 29px); }
footer small { font-size: 12px; }
.copyright { margin: 20px -20px 0; padding: 12px 20px; background: #1d1d1d; line-height: 1.6; }
.footer-logo { position: absolute; right: max(8%, calc((100% - 900px) / 2)); bottom: 135px; width: 130px; height: auto; }
.footer-nav { margin: 190px auto 0; max-width: 700px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; font-size: 13px; }
@media (min-width: 901px) {
  .header { position: absolute; top: 0; left: 0; width: 100%; height: 100px; background: transparent; }
  .logo { top: 32px; }
  .menu-toggle { display: none; }
  .navigation, .navigation[hidden] { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 30px); position: absolute; top: 24px; right: 5%; width: auto; padding: 0; background: transparent; box-shadow: none; color: #fff; font-size: 14px; text-shadow: 0 1px 5px #000; }
  .navigation a { white-space: nowrap; }
  body:has(.page-banner) .navigation { color: #25211e; font-weight: 600; text-shadow: 0 1px 4px #f7f3e9; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; padding-top: 78vh; background: #f3f0eb; }
  .hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 78vh; background: linear-gradient(90deg, transparent 35%, #0004), url('assets/library.jpg') 38% center / cover no-repeat; }
  .hero-copy { right: 7%; top: calc(78vh * .24); }
  .hero-next { position: relative; left: auto; bottom: auto; width: auto; max-width: none; padding: 36px 7%; color: #272523; text-shadow: none; }
  .hero p { font-size: 13px; }
  .logo { left: 6%; font-size: 32px; }
  .section { padding: 65px 7%; }
  .content p { font-size: 15px; }
  .content .section-label { font-size: 14px; }
  .content .book-note { font-size: 13px; }
  footer > p { width: 86vw; }
  .footer-logo { position: static; display: block; width: 110px; margin: 80px 7% 0 auto; }
  .footer-nav { margin-top: 45px; }
  .content:has(> .tower-image), .content:has(> .planning-image), .content:has(> .profile-image) { display: block; }
  .book-intro .content { display: block; }
  .published-book-content { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 20px; }
  .book-image { display: block; width: min(100%, 420px); margin: 0 auto 40px; }
  .works-feature { display: block; }
  .japonica-content { display: block; }
  .japonica-photo { max-width: 420px; margin: 0 auto 30px; }
  .works-photos { max-width: 420px; margin: 0 auto 40px; }
  .kotonoha-photos { grid-template-columns: 1fr; }
  .pets-feature { display: block; }
  .children-feature { display: block; }
  .children-feature figure { max-width: 420px; margin: 0 auto 30px; }
  .seminar-case-content { display: block; }
  .seminar-case-content img { max-width: 420px; margin: 0 auto 30px; }
  .pets-feature img { max-width: 420px; margin: 0 auto 30px; }
  .tower-image, .planning-image, .profile-image { display: block; width: min(100%, 420px); margin: 0 auto 40px; }
}
