:root {
  color-scheme: dark;
  --background: #202123;
  --surface: #292b30;
  --ink: #e8d8c9;
  --muted: #bdb6b0;
  --secondary: #4b607f;
  --accent: #f3701e;
  --line: var(--secondary);
  --focus: var(--accent);
  --content: 1240px;
  --header-height: 88px;
  --anchor-gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--anchor-gap)); scrollbar-gutter: stable; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; -webkit-font-smoothing: antialiased; }
body.is-modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
::selection { background: var(--accent); color: var(--background); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 14px 20px; background: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--background); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1440px; min-height: var(--header-height); margin: auto; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 700; letter-spacing: .1em; }
.brand-mark { width: auto; height: 1em; flex-shrink: 0; object-fit: contain; }
.brand-dot { color: var(--accent); }
nav { display: flex; gap: 34px; margin-left: auto; }
nav a { position: relative; padding: 15px 0; font-size: 12px; font-weight: 600; letter-spacing: .13em; }
nav a::after { content: ""; position: absolute; left: 0; right: .13em; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.language-switch { display: flex; align-items: center; flex-shrink: 0; gap: 9px; padding-left: 24px; border-left: 1px solid var(--line); font-size: 12px; }
.language-switch[hidden] { display: none; }
.language-switch > span { color: var(--muted); }
.language-switch button { min-height: 36px; padding: 6px 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); }
.language-switch button:hover { color: var(--accent); }
.hero { position: relative; min-height: 620px; height: calc(100vh - var(--header-height)); height: calc(100svh - var(--header-height)); max-height: 1100px; background: #f5c74d; color: var(--background); overflow: hidden; }
.hero-inner { display: flex; align-items: center; width: 100%; height: 100%; padding: 40px 5% 100px; }
.hero-content { position: relative; z-index: 1; width: 44%; min-width: 0; }
.hero-image { position: absolute; top: 50%; right: max(-6%, calc((100% - 1920px) / 2 - 115px)); transform: translateY(-50%); width: 78%; max-width: none; height: 130%; object-fit: contain; object-position: right center; }
.eyebrow { margin-bottom: 30px; font-size: 12px; font-weight: 500; letter-spacing: .24em; }
h1 { font-size: clamp(38px, 4.4vw, 68px); line-height: 1.6; font-weight: 500; letter-spacing: .09em; }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; width: 240px; max-width: 100%; min-height: 48px; margin-top: 28px; padding: 14px 28px; border: 1px solid var(--secondary); border-radius: 16px; background: var(--background); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.6; letter-spacing: .04em; }
.hero-cta:hover, .hero-cta:focus-visible { background: var(--accent); color: var(--background); }
.hero-bottom { position: absolute; z-index: 1; bottom: 36px; left: 5%; right: 5%; display: flex; align-items: center; }
.scroll-link { display: inline-flex; align-items: center; gap: 20px; padding: 10px 0; font-size: 11px; letter-spacing: .16em; }
.scroll-link span { font-size: 24px; }
.hero :focus-visible { outline-color: var(--background); }
/* メニュー移動時は、セクションの上余白を除いたラベル位置へ揃えます。 */
.section, .about-band { --section-padding: 116px; scroll-margin-top: calc(-1 * var(--section-padding)); }
.section { max-width: var(--content); margin: auto; padding: var(--section-padding) 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 45px; }
.section-index { margin-bottom: 18px; font-size: 11px; letter-spacing: .17em; font-weight: 500; white-space: nowrap; }
h2 { font-size: clamp(40px, 4vw, 56px); font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.accent { color: var(--accent); }
.section-intro { margin-bottom: 2px; font-size: 14px; line-height: 2; letter-spacing: .08em; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 46px 26px; }
.work.reveal-ready { opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.work.reveal-ready.is-visible, .work.reveal-ready:focus-within { opacity: 1; pointer-events: auto; }
.work.reveal-ready:focus-within { transition: none; }
.work-link { position: relative; display: block; overflow: hidden; background: var(--surface); }
.work-link img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform .35s ease; }
.work-link img.work-image-top { object-position: center top; }
.work-open { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--background); color: var(--ink); font-size: 17px; }
.work-preview { position: relative; }
.work-preview-counter { position: absolute; top: 12px; right: 12px; padding: 6px 10px; border-radius: 4px; background: rgba(32, 33, 35, .92); color: var(--ink); font-size: 12px; line-height: 1.4; letter-spacing: .05em; pointer-events: none; }
.work-preview-nav, .lightbox-nav, .lightbox-close { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--background); color: var(--ink); cursor: pointer; }
.work-preview-nav, .lightbox-nav { top: 50%; transform: translateY(-50%); }
.work-preview-nav { font-size: 22px; }
.work-preview-prev { left: 6px; }
.work-preview-next { right: 6px; }
.work-preview-nav:hover, .lightbox-nav:hover, .lightbox-close:hover { background: var(--secondary); }
@media (min-width: 701px) and (hover: hover) and (pointer: fine) {
  .work-preview-nav { opacity: 0; pointer-events: none; }
  .work-preview:hover .work-preview-nav, .work-preview:focus-within .work-preview-nav { opacity: 1; pointer-events: auto; }
}
@media (hover: hover) { .work-link:hover img { transform: scale(1.025); } }
.work figcaption { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.work-title { display: flex; align-items: center; gap: 12px; }
.work-number { color: var(--muted); font-size: 12px; }
.work h3 { font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.work figcaption p { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.about-band { background: var(--secondary); --muted: var(--ink); --line: rgba(232, 216, 201, .35); --focus: var(--ink); }
.about-inner { display: flex; flex-direction: column; align-items: center; gap: 56px; text-align: center; }
.about-body { width: 100%; max-width: 560px; }
.profile-header { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.profile-avatar { width: 112px; height: 112px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; background: var(--background); }
.profile-name { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; font-size: 18px; font-weight: 600; letter-spacing: .08em; }
.profile-name span { font-size: 13px; font-weight: 400; letter-spacing: .02em; color: var(--muted); }
.profile-text { max-width: 500px; margin-inline: auto; font-size: 14px; line-height: calc(2.3em - 2px); letter-spacing: .04em; }
.profile-header + .profile-text { margin-top: 48px; }
.profile-works { margin-top: 32px; padding: 28px 0; border-block: 1px solid var(--line); text-align: left; }
.profile-works > h3 { margin-bottom: 28px; font-size: 11px; font-weight: 500; line-height: 1.8; letter-spacing: .1em; text-align: center; }
.works-group + .works-group { margin-top: 28px; }
.works-group h4 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.8; }
.works-list { margin: 14px 0 0; padding: 0; list-style: none; }
.works-list li { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: baseline; gap: 4px 16px; font-size: 13px; line-height: calc(1.7em - 2px); overflow-wrap: anywhere; }
.works-list li + li { margin-top: 10px; }
.works-client { font-weight: 500; }
.works-note { margin-top: 24px; font-size: 13px; line-height: calc(1.7em - 2px); }
.contact { --section-padding: 110px; display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; min-height: calc(100svh - var(--header-height) + var(--section-padding) - var(--anchor-gap)); }
.contact .section-heading { margin-bottom: 0; align-self: start; }
.contact-body { min-width: 0; }
.contact-method h3 { font-size: 20px; font-weight: 500; line-height: 1.6; }
.contact-method > p { margin-top: 14px; font-size: 14px; line-height: 2; }
.contact-method + .contact-method { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.contact-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; margin-top: 24px; padding: 14px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.6; }
.contact-button:hover, .contact-button:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--background); }
.contact-form { display: block; width: 100%; height: 1360px; margin-top: 24px; border: 0; background: #fff; color-scheme: normal; }
.contact-method > .contact-form-link { margin-top: 16px; font-size: 13px; }
.contact-form-link a { text-decoration: underline; text-underline-offset: 4px; }
.contact-form-link a:hover { color: var(--accent); }
.social-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 22px; width: 100%; font-size: 13px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.social-icon { width: 1em; height: 1em; flex-shrink: 0; object-fit: contain; }
.social-links a:hover { text-decoration-thickness: 2px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--content); margin: auto; padding: 30px 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; font-size: 11px; letter-spacing: .06em; }
.footer-inner > p { grid-column: 2; font-size: 15px; text-align: center; }
.footer-inner a { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 15px; padding: 6px 0; }
.footer-inner a span { font-size: 17px; }
.lightbox { width: min(960px, calc(100% - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; color: var(--ink); background: var(--surface); overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(32, 33, 35, .9); }
.lightbox-content { position: relative; }
.lightbox-stage { position: relative; background: var(--background); }
.lightbox-image { width: 100%; max-height: 70dvh; object-fit: contain; }
.lightbox.is-gallery .lightbox-image { height: min(60dvh, 600px); }
.lightbox-nav { font-size: 24px; }
.lightbox-nav[hidden] { display: none; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-close { top: 14px; right: 14px; z-index: 1; font-size: 28px; line-height: 1; }
.lightbox-caption { padding: 26px 32px 30px; }
.lightbox-caption h2 { font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: .04em; }
.lightbox-caption p { margin-top: 8px; font-size: 14px; line-height: 1.9; }
.lightbox-caption .lightbox-counter { margin: 0 0 12px; color: var(--muted); font-size: 13px; letter-spacing: .08em; }

@media (max-width: 1000px) {
  .hero-image { right: -14%; width: 70%; }
  .header-inner { padding: 0 24px; gap: 16px; }
  nav { gap: 18px; }
  .work-grid { gap: 36px 20px; }
  .work figcaption { display: block; }
  .work figcaption p { margin-top: 8px; margin-left: 27px; }
  .contact { gap: 48px; grid-template-columns: .85fr 1.15fr; }
}
@media (max-width: 700px) {
  :root { --header-height: 96px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 8px 24px 5px; }
  .brand { font-size: 17px; gap: 8px; }
  nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 28px; margin-left: 0; }
  .language-switch { grid-column: 2; grid-row: 1; gap: 7px; padding-left: 0; border-left: 0; }
  nav a { font-size: 11px; padding: 12px 0; }
  .hero { min-height: 680px; max-height: 1000px; }
  .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; gap: 24px; padding: 28px 28px 100px; }
  .hero-image { position: relative; grid-row: 1; justify-self: end; top: auto; right: -18%; transform: none; width: 125%; height: auto; max-width: 560px; max-height: min(52svh, 440px); }
  .hero-content { grid-row: 2; width: 100%; }
  .eyebrow { margin-bottom: 23px; font-size: 11px; }
  h1 { font-size: clamp(31px, 7.5vw, 48px); line-height: 1.7; letter-spacing: .06em; }
  .hero-bottom { left: 28px; right: 28px; bottom: 24px; }
  .section, .about-band { --section-padding: 76px; }
  .section { padding: var(--section-padding) 24px; }
  .section-heading { gap: 24px; margin-bottom: 34px; }
  .section-index { font-size: 10px; margin-bottom: 15px; }
  .section-intro { font-size: 12px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .work figcaption { margin-top: 12px; }
  .work-title { gap: 8px; }
  .work h3 { font-size: 13px; }
  .work-number { font-size: 11px; }
  .work figcaption p { font-size: 9px; margin-left: 21px; }
  .work-open { width: 25px; height: 25px; right: 8px; bottom: 8px; font-size: 15px; }
  .about-inner { gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 34px; }
  .profile-header { gap: 18px; }
  .profile-avatar { width: 80px; height: 80px; }
  .profile-name { font-size: 17px; }
  .profile-header + .profile-text { margin-top: 40px; }
  .profile-text { max-width: none; }
  .works-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .contact-method h3 { font-size: 18px; }
  .contact-method + .contact-method { margin-top: 32px; padding-top: 28px; }
  .contact-form { height: 1520px; }
  .social-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 28px; }
  .footer-inner { padding: 24px; grid-template-columns: 1fr; gap: 14px; }
  .footer-inner > p, .footer-inner a { grid-column: 1; }
  .lightbox { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .lightbox-image { max-height: 65dvh; }
  .lightbox-caption { padding: 20px; }
}
@media (max-width: 380px) {
  .contact-form { height: 1680px; }
  nav { gap: 10px; }
  h1 { font-size: 28px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-intro { font-size: 11px; }
  .work-grid { grid-template-columns: 1fr; gap: 30px; }
  .work figcaption { display: flex; }
  .work figcaption p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work.reveal-ready { opacity: 1; pointer-events: auto; }
  *, *::before, *::after { transition: none !important; }
}
