:root {
  color-scheme: light;
  --ink: #16332f;
  --body: #405651;
  --accent: #126e62;
  --hero-start: #177c71;
  --hero-end: #0b4d49;
  --warm: #ffd297;
  --warm-hover: #ffbf72;
  --line: #c8dfd9;
  --pale: #f3f8f6;
  --band: #e2efeb;
  --white: #fff;
  --content: 70rem;
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  background: var(--white);
  color: var(--ink);
  scroll-padding-top: 6.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #0e6358; outline-offset: 4px; }
.wrap { width: min(var(--content), calc(100% - 4rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--white);
  box-shadow: 0 2px 16px #16443b12;
}
.site-header__inner {
  min-height: 5.25rem;
  width: min(90rem, calc(100% - 4rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: center;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; line-height: 1.35; }
.brand img { flex: none; object-fit: contain; }
.brand small { display: block; font-weight: 650; font-size: .75rem; }
.site-nav { display: flex; align-items: center; justify-content: end; gap: clamp(.9rem, 2.3vw, 2rem); }
.site-nav a { padding: .65rem 0; border-bottom: 2px solid transparent; font-size: .9375rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { border-color: var(--accent); color: var(--accent); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .65rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 100vw;
  background: var(--warm);
  color: #352819;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
}
.button:hover { background: var(--warm-hover); }
.button--large { min-height: 3.875rem; padding: .85rem clamp(1.25rem, 4vw, 2.7rem); font-size: clamp(1rem, 2vw, 1.125rem); }
.site-header__cta { white-space: nowrap; }

.hero__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(124deg, var(--hero-start) 2%, #11695f 58%, var(--hero-end) 100%);
  color: var(--white);
}
.hero__stage::before, .hero__stage::after {
  position: absolute;
  z-index: -1;
  border: clamp(36px, 7vw, 120px) solid #a0e1d31f;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero__stage::before { width: 135%; height: 160%; top: -116%; left: -26%; }
.hero__stage::after { width: 122%; height: 169%; top: -89%; right: -52%; }
.hero__inner { width: min(80rem, calc(100% - 4rem)); padding-top: clamp(1.625rem, 3.3vw, 3rem); text-align: center; }
.hero__topics { display: flex; justify-content: center; gap: clamp(.375rem, 1vw, .8rem); list-style: none; margin: 0 0 clamp(1rem, 2vw, 1.5rem); padding: 0; }
.hero__topics a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: clamp(8rem, 14vw, 13rem);
  min-height: 2.75rem;
  padding: .3rem .9rem;
  border: 2px solid currentColor;
  border-radius: 100vw;
  background: #0b4d49;
  color: var(--warm);
  font-size: clamp(.875rem, 1.6vw, 1.125rem);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.hero__topics a:hover { background: #185e54; }
.hero__topics a:focus-visible { outline-color: var(--white); }
.hero__service { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 800; margin-bottom: .5rem; }
.hero h1 { font-size: clamp(2.85rem, 4.35vw, 3.95rem); font-weight: 900; letter-spacing: -.055em; line-height: 1.24; }
.hero h1 span, .hero h1 em { display: inline-block; }
.hero h1 em { color: var(--warm); font-style: normal; }
.hero__team { width: min(92%, 58rem); margin: clamp(1.4rem, 3.5vw, 2.5rem) auto .5rem; }
.themed-art { filter: hue-rotate(-36deg) saturate(.86); }
.hero__conversion { border-bottom: 1px solid var(--line); }
.hero__conversion-inner { display: grid; grid-template-columns: 1.3fr auto; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 3.25rem); padding-block: clamp(1.3rem, 2.6vw, 2.25rem); }
.hero__conversion-title { margin-bottom: .25rem; color: var(--accent); font-size: clamp(1.15rem, 2.3vw, 1.475rem); font-weight: 850; line-height: 1.5; }
.hero__conversion-title + p { max-width: 39rem; color: var(--body); }

.section { padding-block: clamp(3.6rem, 7vw, 6.4rem); }
.section--pale, .examples { background: var(--pale); }
.section-heading { margin-bottom: clamp(1.8rem, 4.25vw, 3.5rem); text-align: center; }
.section-heading h2 { color: var(--accent); font-size: clamp(1.8rem, 3.6vw, 2.65rem); line-height: 1.42; font-weight: 850; }
.section-heading h2::after {
  display: block;
  width: min(100%, 29rem);
  height: .8rem;
  margin: .52rem auto 0;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 48% 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right top / 49% 2px no-repeat,
    linear-gradient(135deg, transparent calc(50% - 1px), var(--accent) 50%, transparent calc(50% + 1px)) 50% top / .8rem .8rem no-repeat;
  content: "";
}
.section-heading p { margin-top: 1rem; color: var(--body); }

.examples__list { display: grid; gap: clamp(1.7rem, 5.2vw, 4.25rem); }
.example { position: relative; isolation: isolate; }
.example::before { position: absolute; inset: 1.1rem auto .2rem 0; z-index: -1; width: min(92%, calc(50% + 36rem)); border-radius: 0 9rem 9rem 0; background: var(--band); content: ""; }
.example--reverse::before { inset-inline: auto 0; border-radius: 9rem 0 0 9rem; }
.example__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.75rem); min-height: 15rem; }
.example__copy { padding-block: 1.9rem; }
.example__copy h3 { color: var(--accent); font-size: clamp(1.27rem, 2.55vw, 1.85rem); font-weight: 850; line-height: 1.48; }
.example__copy h3 span { display: block; margin-bottom: .38rem; color: var(--ink); font-size: .9rem; font-weight: 800; }
.example__copy p { margin-top: .65rem; color: var(--body); }
.example__art { width: min(100%, 21rem); justify-self: end; }
.example--reverse .example__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); }
.example--reverse .example__art { grid-column: 1; grid-row: 1; justify-self: start; }
.example--reverse .example__copy { grid-column: 2; grid-row: 1; }
.example__roles { display: grid; gap: .6rem; margin-top: 1rem; }
.example__roles > div { padding: .7rem .85rem; border-radius: .5rem; background: #f9fcfa; }
.example__roles h4 { font-size: 1rem; line-height: 1.55; }
.example__roles p { margin-top: .2rem; }

.cards, .process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.65rem); }
.card { padding: clamp(1.25rem, 3vw, 1.85rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--white); box-shadow: 0 .3rem .95rem #16443b0a; }
.card h3, .process h3, .case-study__card h3 { color: var(--accent); font-size: clamp(1.125rem, 2.1vw, 1.35rem); line-height: 1.5; }
.card p, .process p { margin-top: .65rem; color: var(--body); }
.consult-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; margin-top: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.25rem, 3.4vw, 2rem); border-radius: .85rem; background: var(--band); }
.consult-band p { color: var(--ink); font-weight: 800; }
.case-study__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 1.8vw, 1.4rem); }
.case-study__card { padding: clamp(1rem, 2.4vw, 1.6rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--white); }
.case-study__area { margin-bottom: .3rem; color: var(--body); font-size: .875rem; font-weight: 800; }
.case-study__card dl { display: grid; gap: .5rem; margin: .75rem 0 0; padding-top: .75rem; border-top: 1px solid var(--line); }
.case-study__card dl div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .55rem; }
.case-study__card dt { color: var(--ink); font-size: .875rem; font-weight: 800; }
.case-study__card dd { margin: 0; color: var(--body); }
.process { padding-left: 0; margin: 0; list-style: none; counter-reset: step; }
.process li { border: 1px solid var(--line); border-radius: .75rem; padding: clamp(1.15rem, 3vw, 1.8rem); counter-increment: step; }
.process li::before { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: .7rem; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 850; content: counter(step); }

.faq { max-width: 61rem; }
.faq details { overflow: hidden; margin-top: .78rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--white); }
.faq summary { display: flex; align-items: center; gap: .8rem; min-height: 3.4rem; padding: .9rem clamp(.85rem, 3vw, 1.5rem); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -4px; }
.faq summary::before { color: var(--accent); font-size: 1.2rem; font-weight: 850; content: "Q"; }
.faq summary::after { margin-left: auto; color: var(--accent); font-size: 1.4rem; line-height: 1; content: "+"; }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { font-size: clamp(.975rem, 1.65vw, 1.08rem); line-height: 1.5; }
.faq details > p { padding: .95rem clamp(1rem, 3vw, 1.6rem); border-top: 1px solid var(--line); color: var(--body); }
.draft-copy { background: #faf9f4; }

.contact { background: var(--band); }
.contact-panel { display: grid; gap: 1.125rem; max-width: 55rem; margin-inline: auto; padding: clamp(1.1rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: .85rem; background: var(--white); box-shadow: 0 .5rem 1.2rem #16443b0d; }
.contact-panel__note, .contact-panel__example { padding: .85rem 1rem; border-radius: .5rem; background: var(--pale); color: var(--body); }
.contact-panel__note, .contact-panel__example, .contact-field label span { font-size: .875rem; }
.contact-panel__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-field { display: grid; gap: .4rem; min-width: 0; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field label { font-weight: 800; }
.contact-field label span { margin-left: .35rem; color: var(--body); font-weight: 650; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; padding: .6rem .75rem; border: 1px solid #82a59a; border-radius: .375rem; background: #f8fbfa; color: var(--ink); }
.contact-field textarea { resize: vertical; }
.contact-panel__consent { display: flex; justify-content: center; align-items: start; gap: .55rem; }
.contact-panel__consent input { width: 1.125rem; height: 1.125rem; margin-top: .28rem; flex: none; accent-color: var(--accent); }
.contact-panel__captcha { display: grid; justify-items: center; gap: .4rem; text-align: center; }
#ai-captcha-preview { color: var(--body); font-size: .875rem; }
.contact-panel__captcha-widget { width: 100%; }
.contact-panel__captcha-widget > div { margin-inline: auto; }
.contact-panel .button { width: min(100%, 22rem); justify-self: center; }
.contact-panel .button:disabled { cursor: default; opacity: .68; }
.contact-panel__status { color: var(--accent); text-align: center; font-weight: 750; }
.contact-panel__status:empty { display: none; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.site-footer .wrap > small { color: var(--body); }

@media (max-width: 66rem) {
  :root { scroll-padding-top: 7.6rem; }
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .7rem; }
  .site-header__inner .brand, .site-header__cta { margin-block: .55rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
  .site-nav a { display: grid; place-items: center; min-height: 2.75rem; padding: .3rem .1rem; text-align: center; font-size: .875rem; line-height: 1.35; white-space: normal; }
  .hero h1 span, .hero h1 em { display: block; }
  .hero__conversion-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 43rem) {
  .wrap, .site-header__inner { width: calc(100% - 2rem); }
  .site-header__inner .brand { gap: .37rem; font-size: .875rem; }
  .site-header__inner .brand img { width: 2rem; }
  .site-header__inner .brand small { font-size: .6875rem; }
  .site-header__cta { min-height: 2.75rem; padding: .35rem .65rem; font-size: .8125rem; }
  .hero__topics a { min-width: 0; padding-inline: .45rem; border-width: 1px; }
  .hero h1 { font-size: clamp(1.65rem, 7.15vw, 3.2rem); }
  .hero__team { width: 100%; margin-bottom: .1rem; }
  .hero__conversion .button { width: min(100%, 24rem); }
  .desktop-break { display: none; }
  .example::before { inset-block: 3rem 0; width: 96%; border-radius: 0 5rem 5rem 0; }
  .example--reverse::before { border-radius: 5rem 0 0 5rem; }
  .example__inner, .example--reverse .example__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .example__art, .example--reverse .example__art { grid-column: 1; grid-row: 1; width: min(65%, 15rem); justify-self: center; }
  .example__copy, .example--reverse .example__copy { grid-column: 1; grid-row: 2; padding: .5rem .5rem 1.5rem; }
  .cards, .process, .case-study__grid { grid-template-columns: minmax(0, 1fr); }
  .consult-band { text-align: center; }
  .consult-band .button { width: min(100%, 24rem); }
  .contact-panel__fields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 24rem) {
  .site-header__inner { width: calc(100% - 1.35rem); }
  .site-header__inner .brand { font-size: .78rem; }
  .site-header__cta { padding-inline: .45rem; }
  .hero h1 { font-size: clamp(1.45rem, 7.1vw, 1.7rem); }
}
