:root {
  color-scheme: light;
  --paper: #f8f6f1;
  --white: #fffdf8;
  --ink: #222c34;
  --muted: #4e595c;
  --dark: #212d35;
  --line: #d8d1c4;
  --accent: #805b40;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.9 var(--sans); }
a { color: inherit; text-underline-offset: .28em; }
:focus-visible { outline: 2px solid #a67752; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
h1,h2,h3 { line-height: 1.48; }
section[id] { scroll-margin-top: 22px; }
.shell { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; transform: translateY(-150%); background: var(--white); padding: 8px 14px; }
.skip:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 85px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 38px; }
.brand { display: inline-flex; flex-direction: column; width: fit-content; text-decoration: none; font-size: .875rem; line-height: 1.65; color: var(--muted); }
.brand-name { font: 600 1.4rem/1.3 var(--serif); letter-spacing: .1em; color: var(--ink); }
nav { display: flex; align-items: center; gap: 32px; }
nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65em; min-height: 54px; padding: 11px 21px; border: 1px solid transparent; border-radius: 2px; font: 700 .95rem/1.4 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.button-small { min-height: 44px; padding: 8px 14px; font-size: .875rem; }
.button-primary { color: #fff; background: var(--dark); }
.button-primary:hover { background: #3d4d54; }
.button-outline { background: transparent; border-color: #a69582; }
.button-outline:hover { background: #ede6da; }
.header-action { justify-self: end; }
.file-label { font: 600 .75rem/1 var(--sans); letter-spacing: .06em; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(25px, 5.4vw, 82px); align-items: center; padding-block: 60px 46px; }
.hero-copy { padding-block: 20px; }
.section-label { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
.section-label span { display: block; width: 26px; height: 1px; background: currentColor; flex: none; }
h1 { font: 600 clamp(1.88rem, 3.05vw, 3.25rem)/1.48 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.hero-description { max-width: 34em; margin-top: 23px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 23px; align-items: center; margin-top: 31px; }
.hero-availability { margin-top: 13px; color: var(--muted); font-size: .875rem; font-weight: 700; }
.hero-invitation { margin-top: 3px; color: var(--muted); font-size: .875rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; font-size: .95rem; font-weight: 700; }
.text-link:hover { color: var(--accent); }
.hero-visual { position: relative; isolation: isolate; margin: 0 12px 12px 0; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 13px -12px -12px 13px; border: 1px solid #bda78b; }
.hero-visual img { aspect-ratio: 1.1; object-fit: cover; object-position: center 56%; background: #d3c2ac; }
.facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  padding-block: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f1ede5;
}
.facts > div {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  row-gap: 7px;
  padding-inline: 12px;
  text-align: center;
}
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { grid-row: 2; color: var(--muted); font-size: .875rem; font-weight: 700; }
.facts dd {
  grid-row: 1;
  color: #283b47;
  font: 600 clamp(1.7rem, 4.2vw, 2.8rem)/1.15 Georgia, var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.fact-unit { font: 600 .5em/1 var(--serif); margin-inline: .1em; }
.fact-prefix { margin-right: .3em; }
.section { padding-block: 78px; }
.section-top { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; margin-bottom: 29px; }
.section-top > p { color: var(--muted); }
h2 { font: 600 clamp(1.8rem, 3.3vw, 2.55rem)/1.48 var(--serif); }
.profile-copy p { color: var(--muted); }
.example-groups { border-top: 1px solid var(--line); }
.example-group {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-areas: "photo copy";
  align-items: center;
  gap: clamp(24px,5vw,70px);
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.example-group:nth-child(even) { grid-template-areas: "copy photo"; }
.example-photo {
  grid-area: photo;
  width: 100%;
  height: clamp(163px,18vw,245px);
  object-fit: cover;
  object-position: center 55%;
  border-radius: 3px;
  background: #e9e2d6;
}
.example-copy { grid-area: copy; }
.example-group h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font: 600 clamp(1.25rem,2.1vw,1.65rem)/1.45 var(--serif);
}
.example-list { display: grid; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.example-list li { margin-left: 1.15em; line-height: 1.75; }
.example-list li::marker { color: var(--accent); }
.work { background: var(--dark); color: #fcf8f0; }
.work-inner { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: clamp(27px,5vw,70px); padding-block: 68px; }
.work .section-label { color: #e8c7a6; }
.work-copy > p:not(.section-label) { margin-top: 17px; color: #e5e2d9; }
.case-points { margin: 17px 0 0; padding-left: 1.1em; color: #e5e2d9; }
.case-points li + li { margin-top: 7px; }
.case-points strong { color: #fcf8f0; }
.work-link { margin-top: 24px; border-color: #c1a180; }
.work-link:hover { background: #f2e7d6; color: var(--dark); }
.figure-link { display: block; padding: 8px; background: #e7ddcd; border-radius: 3px; }
.figure-link:hover { background: #f1e9d9; }
figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 10px; margin-top: 6px; color: #e5e2d9; font-size: .875rem; }
figcaption a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.profile { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 40px; }
.profile-role { margin-top: 7px; color: var(--muted); }
.profile-copy p + p { margin-top: 14px; }
.profile-copy .text-link { margin-top: 9px; }
.consultation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 30px clamp(20px, 4vw, 48px); margin-bottom: 56px; border: 1px solid var(--line); background: #f1eade; }
.consultation h2 { margin-bottom: 7px; }
.consultation p { color: var(--muted); }
.consultation-detail { margin-top: 5px; }
.consultation-hours { margin-top: 7px; font-size: .875rem; }
.consultation-note { margin-top: 3px; font-size: .875rem; }
.consultation-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.email-contact {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(20px,4vw,48px);
  padding-bottom: 56px;
}
.email-contact-intro p { margin-top: 9px; color: var(--muted); }
.contact-form { padding: clamp(16px,2.8vw,29px); border: 1px solid var(--line); background: var(--white); }
.contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.contact-wide { grid-column: 1 / -1; }
.contact-fields label { display: block; color: var(--ink); font-weight: 700; }
.contact-fields input,.contact-fields textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #ad9f8c;
  border-radius: 2px;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.contact-fields textarea { resize: vertical; }
.contact-form p { color: var(--muted); font-size: .875rem; }
#email-form-privacy { margin-top: 12px; }
.contact-submit { margin-top: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .875rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; }
dialog { width: min(1050px, calc(100% - 24px)); max-height: 94vh; max-height: 94dvh; padding: 13px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #1b242bd9; }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 8px; }
.preview-head h2 { font: 700 1.05rem/1.5 var(--sans); }
.preview-original { margin-bottom: 7px; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 54px); }
  .masthead-inner { gap: 19px; }
  nav { gap: 17px; }
  .hero { gap: 27px; }
  .section { padding-block: 58px; }
}
@media (max-width: 740px) {
  .shell { width: calc(100% - 36px); }
  .masthead-inner { grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 12px; }
  .header-action { grid-column: 2; grid-row: 1; }
  nav { grid-column: 1 / -1; justify-content: flex-start; gap: 23px; }
  .brand { font-size: .8125rem; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 29px 27px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(1.6rem, 6.3vw, 2.62rem); }
  .hero-description { margin-top: 14px; }
  .actions { margin-top: 20px; }
  .hero-visual img { aspect-ratio: 1.55; object-position: center 57%; }
  .facts { padding-block: 15px; }
  .facts > div { padding-inline: 4px; row-gap: 5px; }
  .facts dt { font-size: .8125rem; line-height: 1.65; }
  .facts dd { font-size: clamp(1.3rem, 5.5vw, 2rem); }
  .section { padding-block: 47px; }
  .section-top,.work-inner,.profile { grid-template-columns: 1fr; }
  .section-top { gap: 10px; margin-bottom: 19px; }
  .work-inner { padding-block: 43px; }
  .profile { gap: 19px; }
  .email-contact,.contact-fields { grid-template-columns: 1fr; }
  .example-group,.example-group:nth-child(even) {
    grid-template-columns: minmax(0,1fr) minmax(0,2fr);
    grid-template-areas: "photo copy";
    gap: clamp(12px,3vw,22px);
    padding-block: 18px;
  }
  .example-group h3 { font-size: clamp(1.08rem,3.2vw,1.35rem); margin-bottom: 6px; }
  .example-list { gap: 4px; font-size: .9375rem; }
  .example-list li { margin-left: 1em; }
  .example-photo { height: clamp(112px,27vw,175px); }
  .consultation { margin-bottom: 39px; }
}
@media (max-width: 350px) {
  .header-action .file-label { display: none; }
  .header-action { padding-inline: 8px; }
  .brand { font-size: .75rem; }
  h1 { font-size: 1.42rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
