:root {
  --ink: #20333f;
  --muted: #435a65;
  --paper: #faf9f5;
  --mist: #f5f7f9;
  --blue: #b8d4e3;
  --blue-light: #e8f0f3;
  --button: #a2badc;
  --button-hover: #92afd6;
  --border: #b9cbd1;
  --display: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --body: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.85 var(--body);
  line-break: strict;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.45; }
h1, h2 { font-family: var(--display); font-weight: 600; }
h2 { font-size: clamp(1.62rem, 1.1rem + 1.7vw, 2.7rem); }
h3 { font-size: 1.08rem; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 3px solid #315883; outline-offset: 4px; }

.shell { width: min(100% - 48px, 1180px); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 8vw, 7.25rem); }
.section-intro { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-intro p { margin-top: .75rem; max-width: 47em; }
.skip-link {
  position: absolute;
  z-index: 2;
  top: .5rem;
  left: .75rem;
  padding: .45rem .9rem;
  transform: translateY(-160%);
  color: var(--ink);
  background: var(--paper);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #d8e0e2; }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2.2rem;
}
.header-inner { min-height: 76px; }
.wordmark {
  font: 400 clamp(1.5rem, 1.1rem + .8vw, 1.95rem)/1 Georgia, serif;
  letter-spacing: .19em;
  text-decoration: none;
}
.header-inner nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.7rem); }
.header-inner nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-inner nav a:hover, .header-inner nav a:focus-visible { text-decoration: underline; }

.hero {
  background: linear-gradient(90deg, var(--blue-light) 0 66%, #d9e7ed 66% 100%);
  padding-block: clamp(2.75rem, 6vw, 6.25rem);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: clamp(2rem, 6.3vw, 6rem);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-service {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
  letter-spacing: .07em;
}
.hero h1 {
  font-size: clamp(1.9rem, .9rem + 3.1vw, 3.65rem);
  letter-spacing: -.045em;
}
.hero h1 span { display: block; }
.hero-types {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 0;
  margin-top: 1.55rem;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  font-weight: 650;
}
.hero-types li { padding-inline: .65rem; border-right: 1px solid #92aab6; }
.hero-types li:first-child { padding-left: 0; }
.hero-types li:last-child { padding-right: 0; border: 0; }
.hero-lead { max-width: 26em; margin-top: .95rem; }
.hero-visual {
  padding: 10px;
  border: 1px solid #9fb9c5;
}
.hero-visual img {
  aspect-ratio: 1;
  object-fit: cover;
  background-color: var(--blue);
}

.cta-group { margin-top: 1.7rem; }
.line-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  min-height: 55px;
  max-width: 100%;
  padding: .78rem 1.25rem .78rem 1.4rem;
  border: 1px solid #6d8aad;
  border-radius: 4px;
  background: var(--button);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}
.line-cta::after { content: "↗"; font-family: sans-serif; font-size: 1.15em; }
a.line-cta:hover { background: var(--button-hover); }
.line-cta:disabled { opacity: .72; }
.cta-note, .preview-note, .sample-note { margin-top: .58rem; font-size: .875rem; color: var(--muted); }
.preview-note { font-weight: 600; }

.fit {
  display: grid;
  grid-template-columns: .92fr 1.55fr;
  gap: clamp(1.4rem, 6vw, 6rem);
}
.fit-list { list-style: none; padding: 0; }
.fit-list li {
  display: grid;
  grid-template-columns: 8px 1fr;
  align-items: baseline;
  gap: .95rem;
  padding: .74rem 0;
  border-bottom: 1px solid #cbd4d4;
}
.fit-list li:first-child { padding-top: 0; }
.fit-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  align-self: center;
  background: #5d80a7;
  transform: rotate(45deg);
}

.diagnoses { background: white; }
.diagnosis-list { margin-top: 1.65rem; border-top: 1px solid var(--border); }
.diagnosis-row {
  display: grid;
  grid-template-columns: .92fr 1.55fr;
  gap: .35rem clamp(1.2rem, 6vw, 6rem);
  align-items: center;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--border);
}
.diagnosis-row dt { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.topic {
  display: block;
  margin-bottom: .24rem;
  color: var(--muted);
  font: 600 .82rem/1.5 var(--body);
  letter-spacing: .06em;
}

.delivery-grid { display: grid; grid-template-columns: .92fr 1.55fr; gap: 1rem clamp(1.4rem, 6vw, 6rem); }
.delivery-group { border-top: 1px solid #91abb8; }
.delivery-group h3 { margin: .9rem 0 .4rem; }
.delivery-group ul { padding-left: 1.25rem; }
.delivery-group li { padding: .19rem 0; }
.delivery-group li::marker { color: #537997; }
.delivery-note { display: block; color: var(--muted); font-size: .9rem; }
.audience {
  display: inline-block;
  margin-inline-start: .2rem;
  padding: .02rem .47rem;
  background: var(--blue-light);
  color: #2e4a5e;
  font-size: .79rem;
  font-weight: 650;
  white-space: nowrap;
}
.deliverables .cta-group { margin-top: 2rem; }

.samples { background: var(--blue-light); }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 3.1vw, 3.15rem); }
.sample-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.09;
  padding: clamp(.5rem, 1.65vw, 1.3rem);
  border: 1px solid var(--border);
  background: #f8faf9;
}
.sample-media img {
  width: auto;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  box-shadow: 0 4px 13px #28465d20;
}
.zoom-mark {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #9cb3c0;
  border-radius: 50%;
  background: var(--paper);
  font-size: 1.1rem;
  line-height: 1;
}
.sample-media:hover .zoom-mark, .sample-media:focus-visible .zoom-mark { background: var(--button); }
.sample figcaption { margin-top: .65rem; font-size: .92rem; font-weight: 650; line-height: 1.52; }
.sample-note { margin-top: 1.2rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem clamp(1.3rem, 4.3vw, 3.8rem);
  margin-top: 1.7rem;
  padding: 0;
  list-style: none;
}
.steps li { padding-top: .7rem; border-top: 1px solid #91abb8; }
.step-number { display: block; margin-bottom: .42rem; font: 400 1.65rem/1.2 Georgia, serif; color: #395f7f; }
.steps p { margin-top: .5rem; }

.photo-info { background: var(--mist); }
.photo-inner, .faq-inner {
  display: grid;
  grid-template-columns: .92fr 1.55fr;
  gap: 1.35rem clamp(1.4rem, 6vw, 6rem);
}
.photo-list { border-top: 1px solid var(--border); }
.photo-list > div { padding-block: .95rem; border-bottom: 1px solid var(--border); }
.photo-list dt { font-weight: 700; }
.photo-list dd { margin-top: .22rem; }
.photo-details p + p { margin-top: .6rem; }

.profile {
  display: grid;
  grid-template-columns: .8fr 1.35fr;
  align-items: center;
  gap: 1.65rem clamp(1.4rem, 9vw, 8rem);
  max-width: 930px;
}
.profile-image { height: auto; aspect-ratio: 1; object-fit: cover; }
.profile-name { margin-top: .6rem; font: 600 1.6rem/1.5 var(--display); }
.profile-role { margin-bottom: .8rem; font-weight: 650; }
.qualifications { padding-left: 1.25rem; margin-top: .85rem; color: var(--muted); font-size: .875rem; }
.qualifications li::marker { color: #537997; }

.faq { background: white; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: .8rem .15rem;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: #3c6590; font-weight: 500; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.65rem .8rem .15rem; }
.faq details a { display: inline-block; margin: 0 .15rem 1.05rem; color: #315883; }

.closing { background: var(--blue); text-align: center; }
.closing-inner { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.closing .cta-group { margin-top: 1.1rem; }
.line-qr { display: none; margin-top: 1.3rem; }
.line-qr img { width: 132px; height: 132px; margin-inline: auto; }
.line-qr figcaption { margin-top: .38rem; color: var(--muted); font-size: .82rem; }

.site-footer { padding-block: 1.3rem; }
.footer-inner small, .footer-link { font-size: .86rem; }
.footer-link { margin-left: auto; }
.footer-inner small { color: var(--muted); }

.sample-dialog {
  max-width: min(92vw, 720px);
  max-height: 90dvh;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.sample-dialog::backdrop { background: #152432a8; }
body:has(.sample-dialog[open]) { overflow: hidden; }
.sample-dialog-inner { padding: 0 clamp(.7rem, 3vw, 1.25rem) 1rem; }
.sample-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  position: sticky;
  top: 0;
  padding: .75rem 0;
  background: var(--paper);
}
.sample-dialog h2 { font: 700 1rem/1.4 var(--body); }
.dialog-close {
  min-height: 44px;
  padding: .35rem .62rem;
  border: 1px solid #91aab6;
  border-radius: 4px;
  background: var(--blue-light);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.sample-dialog img { max-width: 100%; }
.full-image-link { display: inline-block; min-height: 44px; padding-block: .5rem; }

@media (min-width: 768px) {
  .line-qr { display: block; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 61px; gap: .6rem; }
  .header-inner nav { gap: .65rem; }
  .header-inner nav a { font-size: .78rem; }

  .hero { background: linear-gradient(180deg, var(--blue-light) 0 74%, #d9e7ed 74% 100%); }
  .hero-inner { grid-template-columns: 1fr; gap: 1.55rem; }
  .hero h1 { font-size: clamp(2rem, 1.15rem + 4.25vw, 3.15rem); }
  .hero-service { margin-bottom: .65rem; }
  .hero-types { margin-top: 1.1rem; font-size: .8rem; }
  .hero-types li { padding-inline: .37rem; }
  .hero-lead { margin-top: .72rem; }
  .cta-group { margin-top: 1.25rem; }
  .hero-visual { padding: 6px; }
  .hero-visual img { aspect-ratio: 1.7; object-position: center 67%; }

  .fit, .diagnosis-row, .delivery-grid, .steps, .photo-inner, .profile, .faq-inner { grid-template-columns: 1fr; }
  .fit h2 br { display: none; }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .8rem; }
  .sample figcaption { font-size: .88rem; }
  .steps { gap: 1rem; }
  .profile-image { max-width: 325px; }
  .footer-inner { flex-wrap: wrap; gap: .7rem 1rem; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  .header-inner nav { gap: .47rem; }
  .hero-types { display: grid; grid-template-columns: max-content max-content; }
  .hero-types li { padding-inline: .5rem; }
  .hero-types li:nth-child(2) { border-right: 0; }
  .hero-types li:last-child { grid-column: 1 / -1; padding-left: 0; }
  .line-cta { gap: .65rem; padding-inline: .8rem; }
}
