* {
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  body.is_menu_locked {
    position: fixed;
    left: 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.is_menu_locked .site-header {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: var(--sp-scrollbar-compensation);
    left: 0;
    width: auto;
    background: #fff;
  }

  .menu_toggle {
    position: relative;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.6rem;
    height: 5.6rem;
    padding: 0;
    appearance: none;
  }

  .menu_toggle_icon {
    position: relative;
    display: block;
    width: 2.8rem;
    height: 2rem;
  }

  .menu_toggle_icon span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 0.2rem;
    background: #333;
    transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  }

  .menu_toggle_icon span:nth-child(1) {
    top: 0;
  }

  .menu_toggle_icon span:nth-child(2) {
    top: 0.9rem;
  }

  .menu_toggle_icon span:nth-child(3) {
    top: 1.8rem;
  }

  html.is_menu_open .menu_toggle_icon span:nth-child(1) {
    top: 0.9rem;
    transform: rotate(45deg);
  }

  html.is_menu_open .menu_toggle_icon span:nth-child(2) {
    opacity: 0;
  }

  html.is_menu_open .menu_toggle_icon span:nth-child(3) {
    top: 0.9rem;
    transform: rotate(-45deg);
  }

  .sp_menu {
    position: fixed;
    z-index: 9999;
    top: var(--sp-header-height);
    right: var(--sp-scrollbar-compensation);
    bottom: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    width: calc(100vw - var(--sp-scrollbar-compensation) - var(--sp-menu-gap));
    height: calc(100vh - var(--sp-header-height));
    height: calc(100dvh - var(--sp-header-height));
    padding: 0;
    background: var(--sp-menu-background);
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
  }

  html.is_menu_open .sp_menu {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s;
  }

  html:not(.is_menu_open) .sp_menu,
  html:not(.is_menu_open) .sp_menu * {
    pointer-events: none !important;
  }

  .sp_menu_panels {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background: var(--sp-menu-background);
  }

  .sp_menu_panel {
    position: absolute;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--sp-menu-background);
    visibility: hidden;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
  }

  html.is_menu_open .sp_menu_panel.is-current {
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .sp_menu_list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .sp_menu_list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
  }

  .sp_menu_list a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 6.4rem;
    padding: 1.6rem 5.2rem 1.6rem 2.4rem;
    color: #222;
    background: var(--sp-menu-background);
    font-size: 1.6rem;
    line-height: 1.6;
  }

  .menu_toggle:focus-visible,
  .sp_menu a:focus-visible {
    outline: 3px solid var(--color-kicker);
    outline-offset: -3px;
  }
}

/* Mobile menu motion and layout */
:root {
  --sp-header-height: 6rem;
  --sp-menu-gap: 2.4rem;
  --sp-scrollbar-compensation: 0px;
  --sp-menu-background: #fff;
}

.site-header,
.menu_toggle,
.sp_menu {
  -webkit-tap-highlight-color: transparent;
}

:root {
  --content-width: min(120rem, calc(100% - 4.8rem));
  --wide-card-width: min(58rem, calc((100% - 4rem) / 2));
  --compact-card-width: min(38rem, calc((100% - 6rem) / 3));
  --reason-photo-width: min(22.4rem, 38%);
  --color-brand: #096f7b;
  --color-brand-dark: #0c5350;
  --color-accent: #f5b247;
  --color-accent-button: #fabe5d;
  --color-text-muted: #434343;
  --color-kicker: #2a7f7b;
  --color-surface: #ebf0f0;
  --color-surface-cool: #eaf0f0;
  --color-divider: #a4a4a4;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: #000;
}

section[id],
article[id],
aside[id],
div[id],
header[id],
footer[id] {
  scroll-margin-top: 9rem;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.is-pc{
  display: block;
}
.is-pc-inline{
  display:inline;
}
.is-sp{
  display: none;
}

.nav-list,
.concerns-list,
.case-tags,
.support-list,
.reason-metrics,
.flow-list,
.faq-list,
.footer-inner nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}

.container {
  width: min(100%, 144rem);
  margin: 0 auto;
  padding: 0 2.4rem;
}

.case-grid,
.support-list,
.reason-grid,
.flow-panel,
.flow-option,
.faq-list,
.consultation-banner-inner,
.footer-inner {
  width: min(100%, var(--content-width));
}

.header-inner {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(18rem, 22vw, 32rem);
  height: 4.3rem;
  flex-shrink: 0;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.nav-list li {
  border-right: 1px solid var(--color-divider);
}

.nav-list li:last-child {
  border-right: 0;
}

.nav-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0 2rem;
  font-size: 1.4rem;
  line-height: 2.2rem;
  font-weight: 400;
  white-space: nowrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 18rem;
  height: 4rem;
  background: var(--color-brand);
  border-radius: 0.3rem;
  padding: 0 1.2rem;
  color: #fff;
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1.6rem;
  font-weight: 500;
  transition: background-color 0.25s ease;
}

.cta-button:hover {
  background: #2a858e;
}

@media (max-width: 1024px) {
  .header-inner {
    gap: 1.2rem;
  }

  .main-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-list {
    width: 100%;
    justify-content: flex-end;
  }

  .nav-list a {
    padding: 0 1.2rem;
    font-size: 1.25rem;
  }

  .cta-button {
    width: 16.5rem;
    font-size: 1.2rem;
  }
}

.cta-button img {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 4rem;
  height: 4rem;
  padding: 0.8rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu_toggle,
.sp_menu {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 0.2rem;
  background: var(--color-brand-dark);
  margin: 0.45rem 0;
  border-radius: 0.2rem;
}

main{
  background: url("../img/bg_main.jpg") top / 100% no-repeat;
  background-color: #f5f5f5;
}

.hero {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-top: 6rem;
  color: var(--color-text-muted);
}

.hero-service-logo {
  width: min(38.5rem, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3.2rem;
  padding-bottom: 6rem;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-label {
  position: relative;
  display: flex;
  align-items: center;
  width: min(39.34rem, 100%);
  min-height: 3.8rem;
  padding: 0 2.98rem;
  color: #fff;
}

.hero-label img {
  position: absolute;
  inset: 0;
}

.hero-label p {
  position: relative;
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
}

.hero-heading {
  position: relative;
  width: min(85.3rem, 100%);
  min-height: 15.6rem;
  padding-top: 4.8rem;
}

.hero-heading-shape,
.hero-heading-accent {
  position: absolute;
  left: 0;
  max-width: 100%;
}

.hero-heading-shape {
  top: 2.5rem;
}

.hero-heading-accent {
  top: 3.5rem;
}

.hero-heading h1 {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0;
  padding-left: 4.2rem;
  color: var(--color-brand-dark);
  font-family: "Zen Old Mincho", serif;
  font-size: 0;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

.hero-heading h1 span {
  display: inline-block;
  color: #000;
  font-size: clamp(2.8rem, 3vw, 3.8rem);
}

.hero-heading h1 strong {
  display: inline-block;
  font-size: clamp(4rem, 4.8vw, 5.4rem);
}

.hero-heading h1 .hero-highlight {
  color: #c97745;
}

.hero-lead {
  margin: 0;
  padding-left: 4.2rem;
  color: var(--color-brand-dark);
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 700;
  line-height: clamp(2.8rem, 3vw, 3.5rem);
  text-shadow: 0 0 1rem #fff;
}

.concerns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 2rem 3rem;
  border-radius: 1rem;
  background: #fff;
}

.concerns-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.6rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 2rem;
  font-weight: 600;
  line-height: 4.2rem;
  white-space: nowrap;
}

.concerns-list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  gap: 1.6rem;
}

.concern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  min-width: 0;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background: #f5f8f8;
  flex: 1 1 0;
  text-align: center;
}

.concern-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 9.5rem;
  height: 9.5rem;
  flex: 0 0 9.5rem;
}

.concern-icon img:first-child {
  position: absolute;
  inset: 0;
}

.concern-icon img:last-child {
  position: relative;
  width: 4.2rem;
  height: 4.2rem;
}

.concern-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.2rem;
  min-width: 0;
}

.concern h3 {
  margin: 0 0 0.5rem;
  color: var(--color-brand-dark);
  font-family: "Zen Old Mincho", serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 3.5rem;
  white-space: normal;
}

.concern p {
  margin: 0;
  color: #000;
  font-size: 1.6rem;
  line-height: 2.8rem;
  white-space: normal;
}

.concerns-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .concerns-summary {
    text-align: left;
  }
}

.concerns-summary p {
  margin: 0;
  color: #000;
  font-size: 1.6rem;
  line-height: 2.8rem;
}

.concerns-summary p:last-child {
  color: var(--color-brand);
  font-size: 2rem;
  font-weight: 600;
}

.consultation-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0;
}

.consultation-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(49.9rem, 100%);
  min-height: 6.5rem;
  padding: 1rem 2rem;
  border-radius: 0.3rem;
  background: var(--color-accent-button);
  color: var(--color-brand-dark);
  font-family: "Zen Old Mincho", serif;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  transition: background-color 0.25s ease;
}

.consultation-button:hover {
  background: #f8c875;
}

.consultation-button img {
  flex: 0 0 auto;
}

.consultation-intro > p {
  margin: 0;
  color: #000;
  font-size: 1.7rem;
  line-height: 1.7rem;
}

.consultation-intro > p strong {
  color: var(--color-brand-dark);
  font-weight: 600;
}

.case-section,
.support-section,
.reason-section,
.flow-section,
.faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-section,
.reason-section {
  gap: 6rem;
  padding: 12rem 0 10rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.section-kicker {
  margin: 0;
  color: var(--color-kicker);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.7rem;
  line-height: 1.7rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 4.2rem;
}

.section-heading > img {
  margin-top: 1.5rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 4rem;
  width: min(100%, var(--content-width));
}

.case-card {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  padding: 4rem 3rem 5rem;
  background: var(--color-surface);
  text-align: center;
}

.case-card::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: -2.4rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 38px solid transparent;
  border-left: 38px solid transparent;
  border-bottom: 38px solid #f5f5f5;
  border-top: 0;
  transform: rotate(45deg);
}

.case-number {
  margin: 0 0 1rem;
  color: #267f8a;
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.7rem;
}

.case-card h3 {
  min-height: 7rem;
  margin: 0;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 3.5rem;
}

.case-meta {
  margin: 2rem 0 0.5rem;
  font-size: 1.6rem;
  line-height: 3.5rem;
}

.case-tags {
  display: flex;
  gap: 1rem;
}

.case-tags li {
  padding: 0 0.6rem;
  border: 1px solid #c7c7c7;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 1.5rem;
  line-height: 2.5rem;
}

.case-details {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  margin: 3rem 0 2rem;
  padding: 3rem 0 0;
  border-top: 1px solid #d2dada;
  text-align: left;
}

.case-details > div {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 3rem;
  align-items: start;
}

.case-details dt {
  width: 14rem;
  margin-top: 0.4rem;
  padding: 0.2rem 1rem;
  background: #262626;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  font-size: 1.6rem;
  text-align: center;
}

.case-details > div:nth-child(2) dt {
  background: var(--color-brand);
}

.case-details > div:nth-child(3) dt {
  background: var(--color-accent);
  color: var(--color-brand-dark);
}

.case-details dd {
  margin: 0;
  color: #000;
  font-size: 1.6rem;
  line-height: 2.6rem;
}

.case-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: auto;
  padding: 0.5rem 2rem;
  border: 1px solid var(--color-brand);
  color: var(--color-brand-dark);
  font-family: "Zen Old Mincho", serif;
  font-size: 1.6rem;
  line-height: 3.5rem;
  width: 100%;
}

.support-section {
  gap: 6rem;
  padding: 10rem 0;
  background: #f9f9f9;
}

.support-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .support-intro {
    text-align: left;
  }
}

.support-intro h3 {
  margin: 0;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-size: 3.4rem;
  line-height: 1.4;
}

.support-intro h3 span {
  color: var(--color-brand-dark);
}

.support-intro p {
  margin: 0;
  color: #000;
  font-size: 1.8rem;
  line-height: 3.5rem;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  width: min(100%, var(--content-width));
}

.support-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 25.4rem;
  padding: 3rem;
  overflow: hidden;
  background: var(--color-surface);
}

.support-card::after {
  position: absolute;
  top: -1.9rem;
  right: -2.8rem;
  width: 5.8rem;
  height: 5.8rem;
  background: url("../img/support-corner-accent.svg") center / contain no-repeat;
  content: "";
  rotate: 90deg;
}

.support-card-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}



.support-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  flex: 1 1 auto;
  min-width: 0;
  width: 20%;
}

.support-card-copy > span {
  color: var(--color-accent);
  font-family: "Zen Old Mincho", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 3.5rem;
  display: block;
  margin-bottom: 0.2rem;
}

.support-card-copy > img {
  width: 7rem;
}

.support-card h3 {
  margin: 0;
  width: 100%;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 3.5rem;
}

.support-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 6.5rem;
  height: 6.5rem;
  flex: 0 0 6.5rem;
  margin-left: auto;
  align-self: flex-end;
  transform: translateY(-0.8rem);
}

.support-icon img:first-child {
  position: absolute;
  inset: 0;
}

.support-icon img:last-child {
  position: relative;
  max-width: 3.9rem;
}

.support-icon img:only-child {
  max-width: none;
}

.support-card > p {
  margin: 0;
  color: #000;
  font-size: 1.6rem;
  line-height: 2.7rem;
}

.section-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .section-summary {
    text-align: left;
  }
}

.section-summary p {
  margin: 0;
  color: #000;
  font-size: 1.8rem;
  line-height: 3.5rem;
}

.reason-section {
  padding-top: 10rem;
  padding-bottom: 10rem;
  background: #fff;
}

.reason-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  width: min(100%, var(--content-width));
}

.reason-metrics li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  min-height: 18rem;
  padding: 3.5rem 2rem;
  background: linear-gradient(90deg, #faf1d8 0%, #e9cd99 62.5%, #eee6bd 76.4%, #eddd9f 100%);
  text-align: center;
}

.reason-metrics h3 {
  margin: 0;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-size: 2.4rem;
  line-height: 3rem;
}

.reason-metrics > li > img {
  width: 7rem;
}

.reason-metrics p {
  margin: 0;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-size: 3.6rem;
  line-height: 4.8rem;
}

.reason-metrics strong {
  color: var(--color-brand-dark);
  font-size: 6rem;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  width: min(100%, var(--content-width));
}

.reason-card {
  display: grid;
  position: relative;
  grid-template-columns: minmax(16rem, var(--reason-photo-width)) minmax(0, 1fr);
  min-height: 28.4rem;
  background: var(--color-surface);
  overflow: hidden;
}

.reason-card > img,
.reason-photo-pair {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
}

.reason-card > img {
  display: block;
  object-fit: cover;
}

.reason-card::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: -2.4rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 38px solid transparent;
  border-left: 38px solid transparent;
  border-bottom: 38px solid #fff;
  border-top: 0;
  transform: rotate(45deg);
}

.reason-photo-pair {
  position: relative;
  overflow: hidden;
}

.reason-photo-pair img {
  position: absolute;
  max-width: none;
  object-fit: cover;
}

.reason-photo-pair img:first-child {
  top: -5.9rem;
  left: -0.1rem;
  width: 23.1rem;
  height: 34.7rem;
}

.reason-photo-pair img:last-child {
  top: -2.1rem;
  left: -1.1rem;
  width: 24.8rem;
  height: 33.1rem;
}

.reason-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 3rem 3rem;
}

.reason-card-content > span {
  color: var(--color-accent);
  font-family: "Zen Old Mincho", serif;
  font-size: 3rem;
  line-height: 3.5rem;
}

.reason-card-content > img {
  width: 7rem;
}

.reason-card h3 {
  margin: 0;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
  line-height: 2.8rem;
}

.reason-card p {
  margin: 2rem 0 0;
  color: #000;
  font-size: 1.6rem;
  line-height: 2.4rem;
}

.flow-section,
.faq-section {
  gap: 5rem;
  padding: 10rem 0;
}

.faq-section {
  background: var(--color-surface-cool);
}

.flow-panel {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 2rem;
  background: var(--color-surface-cool);
}

.flow-panel > h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
  color: var(--color-brand-dark);
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
  line-height: 3.6rem;
}

.flow-panel > h3::before,
.flow-panel > h3::after {
  height: 1px;
  flex: 1;
  background: var(--color-accent);
  content: "";
}

.flow-panel > h3 strong {
  color: #c97745;
  font-size: 3.6rem;
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 0 1rem;
}

.flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(20rem, 34rem) minmax(0, 1fr);
  align-items: stretch;
  min-height: 14.5rem;
  height: auto;
}

.flow-list li:not(:last-child)::after {
  position: absolute;
  bottom: -2.1rem;
  left: 50%;
  width: 2rem;
  height: 1.6rem;
  transform: translateX(-50%) rotate(180deg);
  background: url("../img/flow-step-chevron.svg") center / auto no-repeat;
  content: "";
}

.flow-list h4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
  padding: 1.2rem 1.6rem;
  background: #b4d2d2;
  color: var(--color-brand-dark);
  font-family: "Zen Old Mincho", serif;
  font-size: 2.2rem;
  line-height: 1.35;
  text-align: center;
  height: 100%;
}

.flow-list h4 span {
  color: #fff;
  font-size: 2rem;
}

.flow-list li > p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 1.2rem 2.4rem;
  background: #fff;
  color: #000;
  font-size: 1.6rem;
  line-height: 2.7rem;
  height: 100%;
}

.flow-list a {
  color: #205fff;
}

.flow-list small {
  font-size: 1.6rem;
}

.flow-option {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 5rem;
  background: #f5efe6;
  text-align: center;
}

.flow-option .section-kicker {
  color: #c97745;
  font-weight: 700;
}

.flow-option h3 {
  margin: 0;
  color: var(--color-brand-dark);
  font-family: "Zen Old Mincho", serif;
  font-size: 2rem;
}

.flow-option > img {
  width: 8rem;
}

.flow-option > p:last-child {
  margin: 0;
  color: #000;
  font-size: 1.7rem;
  line-height: 3.2rem;
}

@media screen and (max-width: 767px) {
  .flow-option > p:last-child  {
    font-size: 1.4rem;
    line-height: 2.6rem;
    text-align: left;
  }
}

.flow-option::after {
  content: "";
  position: absolute;
background: url("../img/flow-bottom-arrow.svg") center / auto no-repeat;
  width: 30px;
  height: 30px;
  top: -15px;
  left: calc(50% - 15px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media screen and (max-width: 767px) {
  .faq-list {
    width: 100%;
  }
}

.faq-list details {
  background: #fff;
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  gap: 5rem;
  min-height: 8rem;
  padding: 2rem 4rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.25s ease;
}

.faq-list details[open] summary {
  background: #f7faf8;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span,
.faq-answer > span,
.faq-answer-inner > span {
  color: var(--color-accent);
  font-family: "Zen Old Mincho", serif;
  font-size: 3.5rem;
  line-height: 3.5rem;
}

.faq-list summary p,
.faq-answer p {
  flex: 1;
  margin: 0;
  color: #000;
  font-size: 1.8rem;
  line-height: 2.8rem;
}

.faq-list summary img {
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary img {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.2s ease;
}

.faq-list details[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  padding: 2rem 4rem 2rem;
}

.faq-answer-inner > span {
  color: var(--color-brand);
}

.faq-answer-inner > p {
  flex: 1;
  margin: 0;
  color: #000;
  font-size: 1.8rem;
  line-height: 2.8rem;
}

.faq-answer > span {
  color: var(--color-brand);
}

.information-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.information-label {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem 2rem;
  background: var(--color-brand);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1.7rem;
}

.information-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  width: min(100%, 72rem);
  padding: 3rem 3.5rem 3rem;
  background: #eee;
  margin: 0 auto;
}

.information-panel h2 {
  margin: 0;
  color: var(--color-brand-dark);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 3rem;
  white-space: normal;
}

.information-panel > p {
  margin: 0;
  color: #000;
  font-size: 1.5rem;
  line-height: 2.8rem;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .information-panel > p {
    text-align: left;
  }
}

.information-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border: 1px solid var(--color-brand);
  color: var(--color-brand-dark);
  font-size: 1.8rem;
  line-height: 2.9rem;
  transition: background-color 0.25s ease;
}

.information-panel a:hover {
  background: rgba(9, 111, 123, 0.08);
}

.consultation-banner {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: var(--color-brand);
}

.consultation-decoration {
  position: absolute;
  top: 0;
  right: 0;
  height: 25.2rem;
  width: auto;
}

.consultation-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12rem;
  margin: 0 auto;
}

.consultation-banner-inner > p {
  margin: 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-accent);
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  font-size: 2.8rem;
  line-height: 4rem;
}

.consultation-banner-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.consultation-banner-inner > div > p {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  padding: 5rem 0 2rem;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand img {
  width: 32rem;
  height: 4.3rem;
  object-fit: contain;
}

.footer-inner nav ul {
  display: flex;
}

.footer-inner nav li {
  padding: 0 3rem;
  border-right: 1px solid var(--color-divider);
  font-size: 1.6rem;
  line-height: 2.2rem;
}

.footer-inner nav li:first-child {
  padding-left: 0;
}

.footer-inner nav li:last-child {
  padding-right: 0;
  border-right: 0;
}

.copyright {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.3rem;
  line-height: 4.9rem;
}

#page-top a {
    display: block;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 60px;
    border: 1px solid #ccc;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    line-height: 60px;
    text-decoration: none;
    text-align: center;
    color: #999;
}
@media (max-width: 1024px) {
  .case-details > div {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .case-details dt {
    width: fit-content;
  }
}

@media (max-width: 767px) {
  .is-pc{
    display: none;
  }
  .is-pc-inline{
    display: none;
  }
  .is-sp{
    display: block;
  }
  .container {
    padding: 0 1.6rem;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
  }

  .header-inner {
    position: relative;
    min-height: 6rem;
  }

  .brand {
    width: 60%;
    height: auto;
    max-width: 320px;
  }

  .menu-toggle,
  .menu_toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu_toggle_icon {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 2.4rem;
    transform: translateX(0.8rem);
  }

  .menu_toggle_icon span {
    display: block;
    width: 100%;
    height: 0.2rem;
    background: var(--color-brand-dark);
  }

  .visually_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  body.is_menu_locked {
    overflow: hidden;
  }

  .sp_menu {
    position: fixed;
    top: var(--sp-header-height);
    right: var(--sp-scrollbar-compensation);
    bottom: 0;
    left: auto;
    z-index: 9999;
    overflow-y: auto;
    padding: 0;
    background: var(--sp-menu-background);
  }

  html.is_menu_open .sp_menu {
    display: flex;
  }

  .sp_menu.is-open {
    display: flex;
  }

  .sp_menu_list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .sp_menu_list li {
    border-bottom: 1px solid #edf1f1;
  }

  .sp_menu_list a {
    display: flex;
    align-items: center;
    min-height: 6.4rem;
    padding: 1.6rem 5.2rem 1.6rem 2.4rem;
    color: #222;
    background: var(--sp-menu-background);
    font-size: 1.6rem;
    line-height: 1.6;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #dfe8e8;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.08);
    padding: 1.2rem 1.6rem 1.6rem;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list li {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #edf1f1;
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-list a {
    justify-content: flex-start;
    width: 100%;
    padding: 1.2rem 0;
    font-size: 1.5rem;
  }

  .cta-button {
    display: none;
  }

  .hero {
    width: min(100%, calc(100% - 3.2rem));
    padding-top: 3rem;
  }

.hero-content {
    gap: 1.4rem;
    margin-top: 1.4rem;
  padding-bottom: 2.4rem;
  }

  .hero-service-logo {
    width: min(100%);
    max-width: 38rem;
  }

  .hero-label {
    width: min(100%, 28rem);
    min-height: 2.8rem;
  }

  .hero-label p {
    font-size: 1.4rem;
    white-space: normal;
  }

  .hero-heading {
    width: 100%;
    min-height: unset;
    padding-top: 0.2rem;
  }

  .hero-heading h1 {
    white-space: normal;
    padding:5px 5px 10px 10px;
  }

  .hero-heading h1 span {
    font-size: 2.8rem;
  }

  .hero-heading h1 strong {
    font-size: 4rem;
  }

  .hero-heading-shape, .hero-heading-accent{
    height: 100%;
     top: 0.2rem;
  }

  .hero-lead {
    margin-top: 1.2rem;
    padding-left: 0;
    font-size: 1.7rem;
    line-height: 2.8rem;
  }

  .concerns {
    padding: 1.6rem;
  }

  .concerns-heading {
    white-space: normal;
    line-height: 2.6rem;
    gap: 1rem;
    font-size: 1.8rem;
    text-align: center;
  }
.concerns-heading span{
  width: 90%;
}

.concerns-heading img {
    width: 5%;
    height: 1px;
  }
  .concerns-summary{
    gap: 2.0rem;
  }
    .concerns-summary > p{
      font-size: 1.4rem;
    }
  p.cousultation-additional{
    text-align: center;
    line-height: 2.6rem;
  }
  .consultation-button{
    justify-content: space-between;
    padding: 1rem 3rem;
  }
  .consultation-button span{
    width: 100%;
  }
  .concerns-list,
  .case-grid,
  .support-list,
  .reason-grid,
  .reason-metrics,
  .flow-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 2.6rem;
  }

  .support-list,
  .reason-grid,
  .reason-metrics {
    grid-template-columns: 1fr !important;
  }

.section-heading h2{
  font-size: 2.0rem;
  line-height: 2.8rem;
}
.section-summary p{
  font-size: 1.5rem;
  line-height: 2.6rem;
}
.case-card h3{
  font-size: 2.0rem;
  line-height: 2.8rem;
}
.case-meta{margin-top: 1rem;}
.case-details{
  margin-bottom: 3rem;
}
.case-link{
  line-height: 2.8rem;
}
  .support-section {
    gap: 3rem;
    padding: 6rem 0;
  }

  .support-intro {
    gap: 1.5rem;
  }

  .support-intro h3 {
    font-size: 2.4rem;
    line-height: 3.3rem;
  }

  .support-intro p {
    font-size: 1.5rem;
    line-height: 2.6rem;
  }

  .support-card {
    min-height: auto;
    padding: 2.2rem 1.8rem;
  }

  .support-card h3 {
    font-size: 2rem;
    line-height: 2.8rem;
  }

  .support-card > p {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }

  .reason-section {
    gap: 3rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .reason-metrics {
    gap: 1.6rem;
  }

  .reason-metrics li {
    min-height: 12rem;
    padding: 2rem 1.5rem;
  }

  .reason-metrics h3 {
    font-size: 1.9rem;
    line-height: 2.6rem;
  }

  .reason-metrics p {
    font-size: 2.8rem;
    line-height: 3.6rem;
  }

  .reason-metrics strong {
    font-size: 4.4rem;
  }

  .reason-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .reason-card > img {
    width: 100%;
    max-height: 22rem;
    min-height: 18rem;
  }

  .reason-card-content {
    padding: 2rem 1.6rem 2.4rem;
  }

  .reason-card-content h3 {
    font-size: 2rem;
    line-height: 2.8rem;
  }

  .reason-card-content p,
  .reason-card-content li {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }

  .concern {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.8rem 1.4rem;
  }

  .concern-icon {
    width: 8.5rem;
    height: 8.5rem;
    flex-basis: 8.5rem;
  }

  .concern-copy {
    width: 100%;
  }

  .concern h3 {
    white-space: normal;
    font-size: 2.2rem;
    line-height: 3rem;
  }

  .case-section,
  .reason-section,
  .support-section,
  .flow-section,
  .faq-section {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .case-section {
    overflow-x: clip;
  }

  .case-section{
    padding-top: 6rem;
  }

  .case-card,
  .support-card,
  .reason-card {
    width: 100%;
  }

  .reason-card {
    grid-template-columns: 1fr;
  }

  .reason-card > img {
    width: 100%;
    max-height: 22rem;
  }

  .support-card-heading {
    flex-direction:row;
    justify-content: flex-end;
  }

  .support-card-copy {
    width: 100%;
  }

  .support-icon {
    margin-top: 0;
  }

  .flow-panel{
    width: 96%;
    padding: 2rem 0.5rem;
  }

.flow-panel > h3{
  display: block;
  text-align: center;
}

  .flow-list li {
    display: flex;
    flex-direction: column;
    min-height: auto;
    height: auto;
  }

  .flow-list h4 {
    min-height: 8rem;
    font-size: 1.9rem;
  }

  .flow-list li > p {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }

  .faq-list summary {
    gap: 1.6rem;
    padding: 1.6rem 2rem;
  }

  .faq-list summary p,
  .faq-answer p {
    font-size: 1.5rem;
    line-height: 2.4rem;
  }
  .flow-option{
    padding: 2rem 1.6rem;
  }

  .faq-answer-inner {
    gap: 1.6rem;
    padding: 1.6rem 2rem 1.6rem;
  }
  .information-section {
    width: min(100%, calc(100% - 3.2rem));
    padding: 4rem 0;
  }

  .information-label,
  .information-panel {
    width: 100%;
  }

  .information-panel {
    padding: 2.4rem 1.6rem;
  }

  .information-panel h2 {
    white-space: normal;
    font-size: 1.9rem;
    line-height: 2.8rem;
  }

  .consultation-banner {
    padding: 4rem 1.6rem;
  }

  .consultation-banner-inner {
    flex-direction: column;
    gap: 2rem;
  }
.consultation-banner-inner > p{
  text-align: center;
  font-size: 2rem;
  line-height: 2.8rem;
}
  .consultation-button {
    width: 90%;
    font-size: 2rem;
    margin: 0 auto;
  }
  .site-footer{
    padding: 2rem 0;
  }
  .footer-inner{
    display: none;
  }
}

/* Keep the menu in the layout so transform can animate from the closed state. */
@media screen and (max-width: 767px) {
  .sp_menu {
    display: flex !important;
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
  }

  html.is_menu_open .sp_menu {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s;
  }
}

