:root {
  --ink: #183d34;
  --green: #11664e;
  --paper: #f7f6ef;
  --line: #d1d9ce;
  font-family: "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --ff-serif: "Noto Serif JP",serif;
  color: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

header {
  border-bottom: 1px solid var(--line);
}

h1,h2 {
  font-family: var(--ff-serif);
  font-feature-settings: "palt";
  letter-spacing: .05em;
  font-optical-sizing: auto;
  font-weight: 700;
  word-break: keep-all;
  text-fit: shrink;
}

h2 {
  text-wrap: pretty;
}

/* 見出しのスクロール表示（ヒーロー・各セクション共通） */
@media screen and (prefers-reduced-motion: no-preference) {
  .heading-reveal-pending {
    opacity: 0;
  }

  .heading-reveal-active:not(.hero-title),
  .hero-title.heading-reveal-active > .hero-title-line {
    animation: heading-reveal 1200ms cubic-bezier(.22, 1, .36, 1) both;
  }

  .hero-title.heading-reveal-active > .hero-title-line {
    --reveal-start-y: -16px;
    --reveal-start-mask: inset(-0.15em -0.15em 100%);
    --reveal-end-mask: inset(-0.15em);
  }

  .hero-title.heading-reveal-active > .hero-title-line:nth-of-type(2) {
    animation-delay: 160ms;
  }

  .hero-title.heading-reveal-active > .hero-title-line:nth-of-type(3) {
    animation-delay: 320ms;
  }
}

@keyframes heading-reveal {
  from {
    opacity: 0;
    transform: translateY(var(--reveal-start-y, 16px));
    clip-path: var(--reveal-start-mask, none);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: var(--reveal-end-mask, none);
  }
}

.mast,.cover {
  max-width: 1232px;
  margin: auto;
  padding-inline: clamp(22px,5vw,72px);
}

.mast,.brand,nav {
  display: flex;
  align-items: center;
}

.mast {
  min-height: 76px;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  gap: 16px;
  text-decoration: none;
  font-weight: 750;
}

.brand img {
  width: 56px;
}

.brand span {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

nav {
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:not(.button):hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  color: white;
  padding: 17px 22px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 3px;
}

.button,
.application-form .btn {
  --button-hover-bg: #124c3d;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .application-form .btn:enabled:hover {
    background-color: var(--button-hover-bg);
    box-shadow: 0 3px 8px rgb(18 58 44 / 20%);
  }
}

.button:active,
.application-form .btn:enabled:active {
  box-shadow: inset 0 2px 4px rgb(0 0 0 / 24%);
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .application-form .btn {
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 140ms ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .button:hover,
    .application-form .btn:enabled:hover {
      transform: translateY(-2px);
    }
  }

  .button:active,
  .application-form .btn:enabled:active {
    transform: translateY(1px);
    transition-duration: 70ms;
  }
}

nav .button {
  padding: 12px 18px;
}

.button b {
  font-size: 1.2em;
}

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.cover {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
  padding-block: clamp(48px,6vw,90px);
}

.intro {
  position: relative;
  z-index: 1;
}

.audience {
  font-size: 14px;
  letter-spacing: .07em;
  display: flex;
  align-items: center;
}


.hero h1 {
  font-size: clamp(44px,5.25vw,80px);
  letter-spacing: -.06em;
  line-height: 1.2;
  margin: 26px 0;
}

.hero em {
  color: var(--green);
  font-style: normal;
}

.lead {
  line-height: 1.95;
  font-size: 16px;
  margin-bottom: 25px;
}

.intro small {
  display: block;
  margin-top: 10px;
  color: #546458;
}

.art {
  position: relative;
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at center,#e6eddd 0%,transparent 67%);
}

.art canvas {
  width: 111%;
  height: auto;
  display: block;
}

.art figcaption {
  position: absolute;
  bottom: 5%;
  right: 0;
  border-left: 2px solid #9da97e;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 650;
}

.shift>div {
  padding: 36px 24px;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

button:disabled {
  opacity: .7;
  cursor: default !important;
}

input {
  accent-color: var(--green);
}

a:focus-visible,input:focus-visible {
  outline: 3px solid #ae7933;
  outline-offset: 4px;
}

@media (max-width:850px) {
  .mast nav>a:not(.button) {
    display: none;
  }

  .twocol {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  aside {
    padding-top: 0 !important;
  }

  .shift>div {
    grid-template-columns: 1fr !important;
  }

  .shift>div>svg {
    transform: rotate(90deg);
    width: 38px;
  }

  .shift>div span {
    font-size: clamp(14px,4vw,32px) !important;
  }

  .shift>div span:first-child {
    font-size: 14px !important;
  }
}

@media (max-width:650px) {
  .mast {
    min-height: 60px;
    padding-inline: 12px;
  }

  .brand {
    gap: 6px;
    font-size: 12px;
  }

  .brand img {
    width: 38px;
  }

  .brand span {
    padding-left: 6px;
  }

  nav .button {
    font-size: 12px;
    padding: 10px;
    gap: 8px;
  }

  .cover {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 27px 16px;
  }

  .audience {
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(42px,10vw,60px);
    margin: 18px 0;
  }

  .lead {
    font-size: 14px;
  }

  .art {
    height: 155px;
    margin-top: 10px;
  }

  .art canvas {
    height: 100%;
    width: 65%;
    object-fit: fill;
  }

  .art figcaption {
    font-size: 11px;
    bottom: 18px;
  }

  .hero~section {
    padding: 56px 20px !important;
  }

  h2 {
    font-size: 28px;
    line-height: 1.5;
  }

  .shift h2 {
    margin-bottom: 24px !important;
  }

  .shift>p {
    margin-top: 24px !important;
  }

  .twocol figure>div {
    padding: 10px 0 !important;
  }

  form {
    padding: 22px 16px !important;
  }

  form input {
    max-width: 100%;
  }

  .twocol {
    min-width: 0;
  }

  .twocol>* {
    min-width: 0;
  }
}

@media (max-width:650px) {
  .shift>div span:last-child {
    font-size: 22px !important;
  }
}

/* Opening spread */
.hero {
  background: #123f36;
  color: #f8f7ea;
  border: 0;
}

.cover {
  max-width: 1240px;
  grid-template-columns: 1fr 1.02fr;
  gap: 0;
  padding-block: clamp(64px,7.5vw,112px);
}

.audience {
  font-size: 13px;
  letter-spacing: .085em;
  color: #dbe8dd;
}


.hero h1 {
  font-size: clamp(42px,5.6vw,84px);
  line-height: 1.16;
  margin: 28px 0 24px;
  letter-spacing: -.055em;
}

.hero-title-line {
  display: inline-block;
}

.hero h1 > .hero-title-line:first-child {
  font-size: .9em;
  font-weight: 600;
  letter-spacing: -.035em;
}

.lead {
  font-size: clamp(14px,1.25vw,18px);
  line-height: 1.95;
  color: #e5eee9;
}

:where(.hero) .button {
  display: block;
  --button-hover-bg: #fff1c9;
  color: #153e32;
  background-color: #f8e6ad;
}

:where(.hero) .button span {
  font-size: .9em;
}

.intro small {
  color: #d1e3d8;
}

.art {
  min-width: 0;
  background: none;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}

.art canvas {
  width: 100%;
  height: auto;
}

.art figcaption {
  position: static;
  border: 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
  color: #e0e9e3;
}

.key {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 12px;
}

.key i {
  width: 15px;
  height: 3px;
  background: #86d6b9;
}

.key i~i {
  margin-left: 12px;
  background: #edca79;
}

.key i:last-of-type {
  background: #f09c7f;
}

.chapter {
  padding: clamp(76px,9vw,144px) clamp(24px,6vw,100px);
}

.chapter-inner {
  max-width: 1180px;
  margin-inline: auto;
}

.think-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px,6vw,90px);
  align-items: center;
}

.chapter h2 {
  font-size: clamp(32px,3.25vw,51px);
  line-height: 1.45;
  letter-spacing: .05em;
  margin: 0 0 24px;
}

.chapter h2 em {
  font-style: normal;
  background: linear-gradient(transparent 79%,#f4d890 79%);
  color: #126550;
}

.chapter h2 span {
    font-size: .8em;
}

.chapter p {
  line-height: 1.8;
}

.map {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.map>div:first-child {
  background: #edf3ee !important;
  border-radius: 0 !important;
  padding: 18px 8px !important;
}

.mobile-map {
  display: none;
}

@media (max-width:1050px) {
  .think-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .map {
    max-width: 650px;
  }
}

@media (max-width:650px) {
  .map > div:first-child {
    display: none;
  }

  .mobile-map {
    display: block;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    background: #edf3ee;
  }

  .mobile-map line {
    stroke: #197454;
    stroke-width: 1.4;
  }

  .mobile-map rect {
    fill: white;
    stroke: #263f34;
  }

  .mobile-map text {
    text-anchor: middle;
    font-size: 11px;
    font-weight: 700;
    fill: #263f34;
  }

  .mobile-map .map-context {
    fill: #d1dfd5;
    font-size: 11px;
    font-weight: 500;
  }

  .mobile-map .map-question {
    fill: white;
    font-size: 14px;
  }
}

.symptoms {
  border-top: 1px solid #b8c8bc;
  margin-top: clamp(42px,5vw,76px);
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: 20px;
}

.symptoms h3 {
  font-size: 18px;
  margin: 0;
}

.symptoms ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.symptoms li {
  position: relative;
  padding-left: 1.5em;
  font-size: 15px;
  line-height: 1.8;
}

.symptoms li:before {
  position: absolute;
  left: 0;
  content: "";
  top: .85em;
  width: 1em;
  height: 1px;
  background: #ab6041;
}

.perception {
  background: #f7f7ee;
}

.perception h2 {
  text-align: center;
}

.comparison {
  margin: 48px auto 32px;
  display: grid;
  grid-template-columns: 1fr 48px 1.1fr;
  align-items: center;
  gap: 20px;
}

.comparison>div {
  padding: 36px 12px;
  text-align: center;
  border-block: 2px solid #c9b9a3;
}

.comparison>div:first-child {
  opacity: .55;
}
.comparison>div:last-child {
  background: #f1dbce;
  border-color: #c99177;
  border-width: 4px;
}

.comparison p {
  margin: 0 0 8px;
  font-size: 14px;
}

.comparison strong {
  font-size: clamp(21px,2.45vw,32px);
  font-weight: 700;
  font-feature-settings: "palt";
  font-family: var(--ff-serif);
}

.comparison>div:last-child strong {
  font-size: clamp(21px,2.45vw,38px);
  color: #86452d;
}

.direction {
  text-align: center;
  color: #985a3e;
  font-size: 35px;
}

.closing {
  max-width: 46em;
  margin: 0 auto;
}

@media (max-width:850px) {
  .symptoms {
    padding-top: 20px !important;
    grid-template-columns: 1fr;
  }
}

@media (max-width:650px) {
  .cover {
    grid-template-columns: 1fr;
    padding-block: 40px 28px;
  }

  .hero h1 {
    font-size: clamp(46px,11vw,64px);
    margin: 16px 0;
  }

  .intro small {
    font-size: 12px;
  }

  .art {
    height: auto;
    margin: 10px 0 0;
  }

  .art canvas {
    width: min(100%,360px);
    height: 175px;
  }

  .art figcaption {
    font-size: 11px;
  }

  .key {
    margin: 0;
  }

  .hero~.chapter {
    padding: 72px 22px !important;
  }

  .chapter h2 {
    font-size: clamp(28px,7.7vw,39px) !important;
  }

  .chapter p {
    font-size: 15px;
  }


  .symptoms ul {
    grid-template-columns: 1fr;
  }

  .comparison {
    grid-template-columns: 1fr;
    gap: 3px;
    margin: 28px 0;
  }

  .comparison>div {
    padding: 22px 8px;
  }

  .direction {
    transform: rotate(90deg);
    font-size: 25px;
  }

  .perception h2 {
    text-align: left;
  }

  .comparison strong {
    font-size: 22px;
  }
  .comparison>div:last-child strong {
    font-size: 24px;
  }
}

/* The animated drawing sits beneath the HTML content. */
.hero {
  position: relative;
  isolation: isolate;
}

.trajectory-layer {
  position: absolute;
  inset: 0 0 0 45%;
  z-index: 0;
  pointer-events: none;
}

.trajectory-layer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.trajectory-note {
  z-index: 1;
  align-self: end;
  justify-self: end;
  text-align: right;
}

.trajectory-note p {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.8;
  color: #e7efe5;
}

.motion-toggle,.motion-style select {
  font: inherit;
  color: inherit;
  border: 1px solid #839f92;
  background: #143f36;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
}

.motion-toggle,.motion-style {
  font-size: 12px;
}

.motion-style {
  display: inline-block;
  margin: 4px 8px 4px 0;
}

@media (max-width:650px) {
  .trajectory-layer {
    inset: auto 0 95px;
    height: 220px;
  }

  .trajectory-note {
    margin-top: 220px;
  }

  .trajectory-note p {
    font-size: 12px;
    margin: 0 0 8px;
  }
}

.trajectory-layer {
  inset: 0;
  height: auto;
  mask-image: linear-gradient(90deg,rgba(0,0,0,.14),rgba(0,0,0,.24) 32%,#000 61%);
}

.wave-comparison {
  padding: 12px 20px;
  background: var(--paper);
  font-size: 14px;
}

.wave-comparison label:not([hidden]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

#wave-angle-control:not([hidden]) {
  margin-top: 10px;
}

.wave-comparison select {
  font: inherit;
}

.wave-settings {
  background: #10392f;
  color: #eef5ee;
  padding: 10px clamp(20px,5vw,76px);
  font-size: 14px;
}

.wave-settings summary {
  cursor: pointer;
  width: fit-content;
  padding: 5px 0;
}

.wave-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap: 18px 30px;
  align-items: center;
  margin: 16px 0;
}

.wave-controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.wave-controls input {
  grid-column: 1/-1;
  width: 100%;
  accent-color: #c6daa1;
}

.wave-controls output {
  font-variant-numeric: tabular-nums;
}

.wave-controls button {
  justify-self: start;
  background: transparent;
  color: inherit;
  border: 1px solid #809b8b;
  border-radius: 3px;
  padding: 6px 12px;
  cursor: pointer;
}

@media (max-width:650px) {
  .trajectory-layer {
    inset: 0;
    height: auto;
    mask-image: linear-gradient(90deg,rgba(0,0,0,.10),rgba(0,0,0,.25) 42%,#000 85%);
  }

  .trajectory-note {
    margin-top: 45px;
  }

  .wave-controls {
    padding: 0 !important;
  }
}

@media (max-width:650px) {
  .trajectory-note {
    margin-top: 66px;
  }
}

/* The title is a separate grid item so both compositions share the same copy. */
.cover>.intro {
  display: contents;
}

.cover>.intro>* {
  position: relative;
  z-index: 1;
  grid-column: 1;
  justify-self: start;
}

.cover .intro>h1 {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 2;
}

.cover .hero-opening {
  grid-row: 1;
  align-self: start;
}

.hero-service {
  margin: 0;
  color: #dbe8dd;
  font-size: 30px;
  line-height: 1.6;
}

.hero-service-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}


.hero-service-message {
  display: block;
  font-size: clamp(13px, 1.2vw, 24px);
  font-weight: 600;
}

@media (max-width:650px) {
  .hero-service {
    font-size: 16px;
  }
}

.cover .lead {
  word-break: keep-all;
  grid-row: 3;
}

.cover .intro .button {
  grid-row: 4;
}

.cover .intro small {
  grid-row: 5;
}

.cover>.trajectory-note {
  grid-column: 2;
  grid-row: 1/6;
}

[data-heading="vertical"] .cover {
  grid-template-columns: minmax(0,1fr) minmax(0,.85fr);
  column-gap: 6%;
  align-content: center;
  align-items: start;
}

[data-heading="vertical"] .cover .intro>h1 {
  grid-column: 2;
  grid-row: 1/6;
  justify-self: end;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  margin: 0;
  font-size: clamp(44px,4.65vw,70px);
  line-height: 1.2;
  letter-spacing: .015em;
}

.lead .audience {
  display: flex;
  gap: .4em;
  margin: 0 0 6px;
  font-family: inherit;
  line-height: 1.6;
}

.lead .audience::before {
  content: "";
  width: 1em;
  height: 1px;
  background: #ffb390;
}

.lead > p {
  margin: 0;
  overflow-wrap: anywhere;
}

[data-heading="vertical"] .cover .lead {
  grid-row: 4;
  margin: 20px 0 26px;
}

[data-heading="vertical"] .cover .intro .button {
  grid-row: 5;
}

[data-heading="vertical"] .cover .intro small {
  grid-row: 6;
}

[data-heading="vertical"] .cover {
  grid-template-rows: 1fr auto auto auto auto auto;
}

[data-heading="vertical"] .cover>.trajectory-note {
  grid-row: 6;
  margin: 42px 0 0;
}

@media (max-width:650px) {
  .cover>.trajectory-note {
    grid-column: 1;
    grid-row: 6;
  }

  [data-heading="vertical"] .cover {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 0;
  }

  [data-heading="vertical"] .cover .intro>h1 {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(34px,9vw,49px);
    margin: 20px 3vw 10px 0;
  }

  [data-heading="vertical"] .cover .lead {
    grid-row: 3;
    margin: 14px 0 22px;
  }

  [data-heading="vertical"] .cover .intro .button {
    grid-row: 4;
  }

  [data-heading="vertical"] .cover .intro small {
    grid-row: 5;
  }
}

/* お客様の認識は、どこかで止まっています */

.recognition {
  background: #263F34;
  color: #ffffff;
  padding: 112px 24px;
}

.recognition__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.recognition h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.6;
  font-weight: 700;
}

@media (max-width:650px) {
  .recognition h2 {
    font-size: 28px;
  }
}

.recognition__intro p {
  margin: 16px 0 0;
  color: #dce6df;
  line-height: 1.8;
}

.flow {
  --track-color: #a7bdb0;
  --marker-size: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr;
}

.flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-inline-end: 40px;
}

.flow li:not(:last-child)::before,
.flow li:nth-child(-n+2)::after {
  content: "";
  position: absolute;
  top: calc(var(--marker-size) / 2);
  left: 0;
  width: 100%;
  border-width: 1px 0 0;
  border-style: dashed;
  border-color: #92a89b;
  pointer-events: none;
}

.flow li:nth-child(-n+2)::after {
  border-style: solid;
  border-color: var(--track-color);
}

@media screen and (prefers-reduced-motion: no-preference) {
  .flow-pending > li:nth-child(-n+2)::after {
    transform: var(--flow-start, scaleX(0));
    transform-origin: top left;
  }

  .flow-drawing > li:nth-child(-n+2)::after {
    transform-origin: top left;
    animation: flow-line-draw 300ms linear backwards;
  }

  .flow-drawing > li:nth-child(2)::after {
    animation-delay: 300ms;
  }

  @keyframes flow-line-draw {
    from {
      transform: var(--flow-start, scaleX(0));
    }

    to {
      transform: scale(1);
    }
  }
}

.flow__number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--marker-size);
  height: var(--marker-size);
  border: 1px solid var(--track-color);
  border-radius: 50%;
  background: #263f34;
  font-size: 14px;
}

.flow__stage {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
}

.flow__voice {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #dce6df;
  word-break: keep-all;
}

.flow__focus .flow__number {
  background: #f8e6ad;
  border-color: #f8e6ad;
  color: #263f34;
}

.flow__focus .flow__voice {
  display: block;
  padding: 12px 16px;
  background: #fff;
  color: #263f34;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.recognition__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  max-width: 38em;
  color: #dce6df;
}

@media (max-width: 850px) {
  .flow {
    --flow-start: scaleY(0);
    grid-template-columns: 1fr;
  }

  .flow li {
    display: grid;
    grid-template-columns: var(--marker-size) minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    justify-items: start;
    padding: 0 0 22px;
  }

  .flow li:last-child {
    padding-bottom: 0;
  }

  .flow li:not(:last-child)::before,
  .flow li:nth-child(-n+2)::after {
    top: 0;
    left: calc(var(--marker-size) / 2);
    width: 0;
    height: 100%;
    border-width: 0 0 0 1px;
  }

  .flow__stage {
    margin: 0;
  }

  .flow__voice {
    grid-column: 2;
    margin-top: 2px;
  }
}

/* 進め方 */

#how {
  max-width: 1180px;
  margin: 0 auto;
  padding: 128px 24px;
}

#how .twocol {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.process-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#how h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.6;
  font-weight: 700;
}

@media (max-width:650px) {
  #how h2 {
    font-size: 28px;
  }
}

.process-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style-position: inside;
  border-bottom: 1px solid #bdc9c0;
}

.process-steps li {
  padding: 18px 0;
  border-top: 1px solid #bdc9c0;
}

.process-steps li::marker,
.process-step__stage {
  color: #486453;
  font-size: 14px;
}

.process-steps strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.6;
}

.process-note {
  margin: 20px 0 0;
  line-height: 1.8;
}

/* 説明する人・コンサルティング事例 */

#who {
  background: #F0F4F1;
  padding: 112px 24px;
  position: relative;
  overflow: hidden;
}

.speaker-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.speaker-profile {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-areas:
    "photo heading"
    "photo details";
  gap: 22px 72px;
}

.speaker-profile > h2 {
  grid-area: heading;
  align-self: end;
}

.speaker-profile > .speaker-details {
  grid-area: details;
}

.speaker-photo {
  grid-area: photo;
  align-self: center;
  width: 340px;
  height: 408px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.speaker-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#who h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.6;
}

@media (max-width:650px) {
  #who h2 {
    font-size: 28px;
  }
}

.speaker-identity {
  margin: 0;
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.speaker-name {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 700;
}

.speaker-role {
  font-size: 14px;
  color: #5F6C63;
}

.speaker-bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  max-width: 38em;
  color: #3F4A43;
}

.speaker-message {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
}

.cases-title {
  font-size: 14px;
  font-weight: 700;
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-client {
  font-size: 13px;
  color: #197454;
  font-weight: 700;
}

.case-theme {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

#who img {
  max-width: 100%;
}

@media (max-width:850px) {

  .speaker-profile {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "photo" "details";
  }

  .cases {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width:650px) {

  #who img {
    width: min(100%,300px) !important;
    height: auto !important;
  }
}

/* 説明会・よくある質問・申込フォーム */

#apply-c {
  max-width: 1180px;
  margin: 0 auto;
  padding: 128px 24px;
}

.briefing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas:
    "intro form"
    "faq   form";
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 32px 80px;
}

.briefing-intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

#apply-c h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.6;
  font-weight: 700;
}

@media (max-width:650px) {
  #apply-c h2 {
    font-size: 28px;
  }
}

.briefing-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.briefing-conditions {
  border-inline-start: 3px solid var(--green);
  padding-inline-start: 16px;
}

.briefing-faq {
  grid-area: faq;
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 2;
  color: #3F4A43;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.briefing-faq > div {
  border-top: 1px solid #D3DBD6;
  padding: 18px 0;
}

.briefing-faq dt {
  font-weight: 700;
  color: #263F34;
}

.briefing-faq dd {
  margin: 4px 0 0;
}

.application-form {
  grid-area: form;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #F0F4F1;
  border-radius: 12px;
  padding: 40px;
}

.application-type {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  font-size: 15px;
  flex-wrap: wrap;
}

.application-form legend {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.application-type label {
  background: #ffffff;
  border: 1px solid #bdc9be;
  border-radius: 4px;
  padding: 12px 18px;
}

.application-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.application-field input,
.application-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #C2CDC6;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 15px;
  font-family: inherit;
  background: #ffffff;
}

.application-field input::placeholder {
  color: #a0a7a2;
  opacity: 1;
}

.application-field input {
  height: 50px;
}

.application-field textarea {
  padding-block: 12px;
  resize: vertical;
}

.application-name {
  border: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.application-name-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.application-form .btn {
  background: #197454;
  color: #ffffff;
  border: none;
  height: 60px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
}

.application-note {
  font-size: 13px;
  line-height: 1.8;
  color: #5F6C63;
}

form label:has(input[type=radio]:checked) {
  outline: 2px solid var(--green);
}

form small {
  color: #516158;
}

@media (max-width: 850px) {
  .briefing-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "form" "faq";
    grid-template-rows: auto;
    gap: 36px;
  }

  .application-form {
    min-width: 0;
    padding: clamp(18px, 5vw, 40px);
  }
}

/* フッター */

.site-footer {
  background: #263F34;
  color: #DCE6DF;
  padding: 48px 24px 27px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px 36px;
}

.footer-logo {
  justify-self: start;
}

.footer-logo img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  font-size: 12px;
  font-weight: 400;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 5px;
}

.footer-copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgb(220 230 223 / 30%);
  font-size: 10px;
  letter-spacing: .08em;
}

@media (max-width: 850px) {
  .site-footer {
    padding-block: 35px max(28px, env(safe-area-inset-bottom));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .footer-logo img {
    width: 180px;
  }

  .footer-links {
    column-gap: 24px;
  }
}
