:root {
  --color-primary: #5a34a6;
  --color-text: #4f4e4e;
  --color-text-muted: #807e7e;
  --color-border: #949494;
  --color-soft: #f4f4f4;
  --color-white: #ffffff;
  --font-heading: "Raleway", sans-serif;
  --font-display: "Zen Dots", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --content-width: 980px;
  --wide-width: 1632px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text-muted);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 2.5;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
h1,
h2,
h3,
p {
  margin: 0;
}

.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;
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
}

.site-header__logo {
  display: block;
  width: 162px;
}

.site-header__logo img {
  width: 100%;
  height: auto;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 55px;
}

.global-nav a,
.footer-nav a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

main {
  padding-top: var(--header-height);
}

.hero {
  display: flex;
  align-items: center;
  min-height: 750px;
  border-bottom: 1px solid var(--color-border);
}

.hero__inner {
  width: min(var(--wide-width), calc(100% - 96px));
  margin-inline: auto;
  padding-top: 40px;
}

.hero__title {
  width: min(770px, 100%);
  line-height: 1;
}

.hero__title img {
  width: 100%;
  height: auto;
  opacity: 0.55;
}

.hero__tagline {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.hero__description {
  margin-top: 65px;
  font-size: 12px;
  line-height: 3.25;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 40px;
  padding: 8px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button--primary {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: var(--color-primary);
  background: var(--color-white);
}

.button--outline {
  color: var(--color-text-muted);
  background: var(--color-white);
  border-color: var(--color-border);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--color-white);
  background: var(--color-text-muted);
  border-color: var(--color-text-muted);
}

.volunteer-links {
  height: 80px;
  border-bottom: 1px solid var(--color-border);
}

.volunteer-links__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 80px));
  height: 100%;
  margin-inline: auto;
}

.volunteer-links a {
  font-family: "Yu Gothic", YuGothic, var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-primary);
}

.volunteer-links a:hover,
.volunteer-links a:focus-visible {
  color: var(--color-primary);
}

.home-section {
  min-height: 600px;
}

.home-section__inner {
  width: min(var(--content-width), calc(100% - 64px));
  margin-inline: auto;
  padding: 90px 0;
}

.section-heading {
  position: relative;
  z-index: 0;
  width: max-content;
  margin-bottom: 58px;
}

.section-heading::after {
  position: absolute;
  z-index: -1;
  top: 9px;
  left: -20px;
  color: var(--color-soft);
  content: attr(data-shadow);
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.section-heading h2 {
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.15em;
}

.section-heading--center {
  margin-inline: auto;
}

.section-heading--center::after {
  left: 50%;
  transform: translateX(-50%);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

.feature__content h3 {
  margin-bottom: 28px;
  color: var(--color-text-muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.feature__content p {
  font-size: 12px;
  line-height: 3.25;
}

.feature__content .button {
  margin-top: 20px;
}

.feature__media {
  height: 300px;
  overflow: hidden;
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission .feature__media img {
  object-position: 55% center;
}

.trial-support .feature__media img {
  object-position: 48% center;
}

.works .feature__media img {
  object-position: center;
}

.news {
  min-height: 440px;
  border-bottom: 1px solid var(--color-border);
}

.news__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 440px;
  padding-block: 65px;
}

.news__heading .section-heading {
  margin-bottom: 70px;
}

.news-list {
  border-top: 1px solid var(--color-primary);
}

.news-list__item {
  border-bottom: 1px solid var(--color-primary);
}

.news-list__status {
  display: flex;
  align-items: center;
  min-height: 65px;
  padding: 10px 38px;
  border-bottom: 1px solid var(--color-primary);
  font-size: 13px;
  font-weight: 500;
}

.news-list__item a {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  min-height: 65px;
  padding: 10px 38px;
  transition: background-color 0.2s ease;
}

.news-list__item a:hover,
.news-list__item a:focus-visible {
  background: var(--color-soft);
}

.news-list time {
  font-family: var(--font-heading);
  font-size: 13px;
}

.news-list h3 {
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.site-footer {
  min-height: 400px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1620px, calc(100% - 150px));
  min-height: 400px;
  margin-inline: auto;
}

.footer-nav li + li {
  margin-top: 11px;
}

.footer-nav a {
  font-size: 19px;
}

.site-footer__brand {
  display: block;
  width: 500px;
}

.site-footer__logo {
  width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  :root {
    --content-width: 900px;
  }

  .site-header__inner {
    width: min(960px, calc(100% - 48px));
  }

  .global-nav__list {
    gap: 28px;
  }

  .hero__inner {
    width: min(960px, calc(100% - 80px));
  }

  .feature {
    gap: 48px;
  }

  .feature__content p {
    line-height: 2.8;
  }

  .feature__content p br {
    display: none;
  }

  .site-footer__inner {
    width: calc(100% - 100px);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  body {
    font-size: 13px;
  }

  .site-header__inner {
    width: calc(100% - 40px);
  }

  .site-header__logo {
    position: relative;
    z-index: 1002;
    width: 150px;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: grid;
    place-items: center;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    transition: visibility 0.25s ease, opacity 0.25s ease;
  }

  .global-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .global-nav__list {
    flex-direction: column;
    gap: 24px;
  }

  .global-nav a {
    font-size: 20px;
  }

  .hero {
    min-height: 680px;
  }

  .hero__inner {
    width: calc(100% - 64px);
    padding-top: 0;
  }

  .hero__title {
    font-size: clamp(42px, 9vw, 68px);
  }

  .hero__tagline {
    font-size: 24px;
  }

  .hero__description {
    max-width: 600px;
    margin-top: 48px;
    line-height: 2.8;
  }

  .hero__description br {
    display: none;
  }

  .volunteer-links {
    height: auto;
  }

  .volunteer-links__inner {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 64px);
    padding: 24px 0;
    gap: 18px;
  }

  .volunteer-links a {
    font-size: 15px;
  }

  .home-section {
    min-height: 0;
  }

  .home-section__inner {
    width: calc(100% - 64px);
    padding: 80px 0;
  }

  .section-heading,
  .section-heading--center {
    margin-inline: 0;
    margin-bottom: 50px;
  }

  .section-heading h2 {
    font-size: clamp(32px, 7vw, 46px);
  }

  .section-heading::after,
  .section-heading--center::after {
    left: -12px;
    font-size: clamp(38px, 9vw, 54px);
    transform: none;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .feature--media-first .feature__media {
    order: 2;
  }

  .feature--media-first .feature__content {
    order: 1;
  }

  .feature__content h3 {
    margin-bottom: 20px;
  }

  .feature__content p {
    font-size: 13px;
    line-height: 2.6;
  }

  .feature__media {
    height: min(54vw, 360px);
  }

  .news {
    min-height: 0;
  }

  .news__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 56px;
  }

  .news__heading .section-heading {
    margin-bottom: 48px;
  }

  .site-footer__inner {
    width: calc(100% - 80px);
  }

  .site-footer__brand {
    width: 390px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .hero__inner,
  .volunteer-links__inner,
  .home-section__inner {
    width: calc(100% - 40px);
  }

  .hero__title {
    width: 100%;
  }

  .hero__tagline {
    margin-top: 12px;
    font-size: 20px;
  }

  .hero__description {
    margin-top: 44px;
    font-size: 12px;
    line-height: 2.5;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .button {
    min-width: 116px;
    padding-inline: 22px;
  }

  .home-section__inner {
    padding: 68px 0;
  }

  .section-heading h2 {
    font-size: 30px;
    letter-spacing: 0.1em;
  }

  .section-heading::after,
  .section-heading--center::after {
    top: 8px;
    font-size: 36px;
    letter-spacing: 0.08em;
  }

  .trial-support .section-heading h2 {
    font-size: 25px;
  }

  .trial-support .section-heading::after {
    font-size: 30px;
  }

  .feature__media {
    height: 230px;
  }

  .news-list__item a {
    grid-template-columns: 90px 1fr;
    padding: 12px 10px;
  }

  .news-list__status {
    padding: 12px 10px;
    font-size: 12px;
  }

  .news-list time,
  .news-list h3 {
    font-size: 12px;
  }

  .site-footer {
    min-height: 520px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: calc(100% - 64px);
    min-height: 520px;
    gap: 65px;
  }

  .footer-nav a {
    font-size: 16px;
  }

  .site-footer__brand {
    align-self: center;
    width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Lower-level pages */
.subpage-hero {
  display: grid;
  grid-template-columns: 30% 70%;
  height: 750px;
  border-bottom: 1px solid var(--color-border);
}

.subpage-hero__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.subpage-hero__heading h1 {
  color: var(--color-text-muted);
  font-weight: 500;
}

.subpage-hero__title-ja,
.subpage-hero__title-en {
  display: block;
}

.subpage-hero__title-ja {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.subpage-hero__title-en {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.22em;
}

.subpage-hero--large .subpage-hero__title-ja {
  font-size: 40px;
  font-weight: 500;
}

.subpage-hero--large .subpage-hero__title-en {
  font-size: 20px;
}

.subpage-hero__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.subpage-hero__photo,
.subpage-hero__mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.subpage-hero__photo {
  object-fit: cover;
}

.subpage-hero__mark {
  z-index: 1;
  object-fit: cover;
  opacity: 0.8;
  pointer-events: none;
}

.detail-section {
  min-height: 680px;
}

.detail-section--works {
  position: relative;
  isolation: isolate;
  min-height: 725px;
}

.detail-section--works .detail-heading {
  z-index: auto;
}

main > .detail-section:last-child {
  border-bottom: 1px solid var(--color-border);
}

.detail-section__inner {
  width: min(1080px, calc(100% - 64px));
  min-height: inherit;
  margin-inline: auto;
  padding: 80px 25px;
}

.detail-heading {
  position: relative;
  z-index: 0;
  width: max-content;
  max-width: 100%;
}

.detail-heading--end {
  margin-left: auto;
  text-align: right;
}

.detail-heading h2 {
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2em;
}

.detail-heading__shadow {
  position: absolute;
  z-index: -1;
  top: -14px;
  left: -14px;
  color: var(--color-soft);
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.detail-heading--end .detail-heading__shadow {
  right: -14px;
  left: auto;
}

.detail-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  margin-top: 50px;
}

.detail-feature__content {
  padding-right: 20px;
}

.detail-feature--media-first .detail-feature__content {
  padding-right: 0;
  padding-left: 20px;
}

.detail-feature__content p {
  font-size: 14px;
  font-weight: 500;
  line-height: 3;
}

.detail-feature__content .button {
  margin-top: 20px;
}

.detail-feature__media {
  height: 300px;
  overflow: hidden;
}

.detail-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1180px;
  padding: 100px 32px;
  border-bottom: 1px solid var(--color-border);
}

.company-profile__list {
  width: min(980px, 100%);
  margin: 0;
}

.company-profile__row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
}

.company-profile dt,
.company-profile dd {
  margin: 0;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.company-profile dt {
  display: flex;
  align-items: center;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

.company-profile dd {
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.company-profile a:hover,
.company-profile a:focus-visible {
  color: var(--color-primary);
}

@media (max-width: 1100px) {
  .subpage-hero {
    grid-template-columns: 34% 66%;
  }

  .subpage-hero__heading {
    padding: 28px;
  }

  .subpage-hero__title-ja {
    font-size: 18px;
  }

  .subpage-hero--large .subpage-hero__title-ja {
    font-size: 32px;
  }

  .subpage-hero--large .subpage-hero__title-en {
    font-size: 18px;
  }

  .detail-section__inner {
    width: calc(100% - 48px);
  }

  .detail-feature__content p {
    line-height: 2.8;
  }

  .detail-feature__content p br {
    display: none;
  }
}

@media (max-width: 820px) {
  .subpage-hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .subpage-hero__heading {
    min-height: 250px;
  }

  .subpage-hero__media {
    height: min(58vw, 430px);
  }

  .detail-section,
  .detail-section--works {
    min-height: 0;
  }

  .detail-section__inner {
    width: calc(100% - 64px);
    padding: 80px 0;
  }

  .detail-heading,
  .detail-heading--end {
    width: auto;
    margin-left: 0;
    text-align: left;
  }

  .detail-heading h2 {
    font-size: 14px;
  }

  .detail-heading__shadow,
  .detail-heading--end .detail-heading__shadow {
    right: auto;
    left: -10px;
    font-size: 40px;
  }

  .detail-feature {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .detail-feature--media-first .detail-feature__media {
    order: 2;
  }

  .detail-feature--media-first .detail-feature__content {
    order: 1;
  }

  .detail-feature__content,
  .detail-feature--media-first .detail-feature__content {
    padding: 0;
  }

  .detail-feature__content p {
    font-size: 14px;
    line-height: 2.6;
  }

  .detail-feature__media {
    height: min(54vw, 360px);
  }

  .company-profile {
    min-height: 900px;
    padding: 90px 40px;
  }

  .company-profile__row {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .company-profile dt,
  .company-profile dd {
    padding-inline: 14px;
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .subpage-hero__heading {
    justify-content: flex-start;
    min-height: 210px;
    padding: 40px;
  }

  .subpage-hero__title-ja {
    font-size: 17px;
  }

  .subpage-hero--large .subpage-hero__title-ja {
    font-size: 28px;
  }

  .subpage-hero--large .subpage-hero__title-en {
    font-size: 16px;
  }

  .subpage-hero__title-en {
    font-size: 13px;
  }

  .subpage-hero__media {
    height: 240px;
  }

  .detail-section__inner {
    width: calc(100% - 40px);
    padding: 68px 0;
  }

  .detail-heading h2 {
    max-width: 335px;
    font-size: 16px;
  }

  .detail-heading__shadow,
  .detail-heading--end .detail-heading__shadow {
    top: -10px;
    font-size: 24px;
  }

  .detail-feature {
    margin-top: 42px;
  }

  .detail-feature__media {
    height: 230px;
  }

  .company-profile {
    min-height: 0;
    padding: 72px 20px;
  }

  .company-profile__row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 24px;
  }

  .company-profile dt,
  .company-profile dd {
    padding: 10px 12px;
    font-size: 13px;
  }

  .company-profile dt {
    border-bottom-width: 1px;
  }
}

/* T-110 service detail pages */
.service-detail-hero {
  height: calc(100vh - var(--header-height));
  min-height: 750px;
}

.service-detail-hero .subpage-hero__title-ja {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.service-detail-hero .subpage-hero__title-en {
  font-size: 16px;
  line-height: 1.45;
}

.service-detail-hero--works .subpage-hero__title-ja {
  font-family: var(--font-body);
  font-size: 20px;
}

.service-detail-page h2,
.service-detail-page h3,
.service-detail-page h4 {
  margin: 0;
  color: var(--color-text-muted);
}

.service-detail-page h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.service-detail-page h3,
.service-detail-page h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.service-intro {
  display: flex;
  justify-content: center;
  padding: 80px 50px;
}

.service-intro p {
  width: min(720px, 100%);
  font-size: 14px;
  font-weight: 500;
  line-height: 3;
}

.service-definition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  padding: 80px 50px;
}

.service-definition__content {
  display: flex;
  justify-content: center;
  min-width: 0;
  padding-right: 32px;
}

.service-definition__copy {
  width: min(590px, 100%);
}

.service-copy-block {
  margin-top: 20px;
}

.service-copy-block p,
.service-section p,
.restructuring-section p {
  font-size: 14px;
  font-weight: 500;
  line-height: 3;
}

.service-copy-block h3 {
  margin-bottom: 2px;
}

.service-definition__media {
  height: 300px;
  overflow: hidden;
}

.service-definition__media img,
.restructuring-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-section {
  padding: 80px 50px;
}

.service-section--closing {
  border-bottom: 1px solid var(--color-border);
}

.service-section__inner {
  width: min(1080px, 100%);
  margin-inline: auto;
}

.service-section__inner > * + * {
  margin-top: 30px;
}

.service-section__label {
  padding-left: 20px;
}

.service-section__subheading {
  margin-top: 38px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 40px;
}

.service-card {
  min-width: 0;
  padding: 20px 35px;
  background: var(--color-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.service-card h3,
.service-card h4 {
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  line-height: 3;
}

.service-card--text-only {
  display: flex;
  align-items: center;
  min-height: 130px;
  padding-inline: 50px;
}

.service-card--list ul {
  font-size: 14px;
  font-weight: 500;
  line-height: 2.4;
}

.service-data-card {
  margin-bottom: 0;
  padding: 40px 20px;
  background: var(--color-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.service-data-card__row {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 20px;
  width: 70%;
  margin-inline: auto;
}

.service-data-card__row + .service-data-card__row {
  margin-top: 20px;
}

.service-data-card dt,
.service-data-card dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 3;
}

.service-data-card dt {
  font-weight: 700;
}

.restructuring-section {
  padding: 80px 25px;
}

.restructuring-section:last-child {
  border-bottom: 1px solid var(--color-border);
}

.restructuring-section__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 15px;
  width: min(1080px, 100%);
  margin-inline: auto;
}

.restructuring-section__content {
  min-width: 0;
  padding-right: 20px;
}

.restructuring-section__content h2 {
  font-size: 20px;
}

.restructuring-section__content p {
  margin-top: 20px;
}

.restructuring-section__media {
  height: 300px;
  overflow: hidden;
}

.restructuring-section--media-first .restructuring-section__content {
  grid-column: 2;
  grid-row: 1;
  padding-right: 0;
  padding-left: 20px;
}

.restructuring-section--media-first .restructuring-section__media {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 1100px) {
  .service-intro p br,
  .service-copy-block p br,
  .service-section p br,
  .restructuring-section p br {
    display: none;
  }

  .service-definition__content {
    padding-right: 24px;
  }

  .service-card {
    padding-inline: 28px;
  }

  .service-data-card__row {
    width: 82%;
  }
}

@media (max-width: 820px) {
  .service-detail-hero {
    height: auto;
    min-height: 0;
  }

  .service-detail-hero .subpage-hero__heading,
  .service-detail-hero .subpage-hero__media {
    height: 50vh;
    min-height: 280px;
  }

  .service-detail-hero .subpage-hero__heading {
    align-items: center;
  }

  .service-detail-hero .subpage-hero__title-ja {
    font-size: 32px;
  }

  .service-detail-hero--works .subpage-hero__title-ja {
    font-size: 20px;
  }

  .service-intro,
  .service-definition,
  .service-section,
  .restructuring-section {
    padding: 80px 32px;
  }

  .service-intro p {
    width: 100%;
  }

  .service-definition {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-definition__content {
    justify-content: flex-start;
    padding-right: 0;
  }

  .service-definition__copy {
    width: 100%;
  }

  .service-definition__media {
    height: clamp(230px, 50vw, 360px);
  }

  .service-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-data-card__row {
    width: 90%;
  }

  .restructuring-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .restructuring-section__content,
  .restructuring-section--media-first .restructuring-section__content {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .restructuring-section__media,
  .restructuring-section--media-first .restructuring-section__media {
    grid-column: 1;
    grid-row: 2;
    height: clamp(230px, 50vw, 360px);
  }
}

@media (max-width: 520px) {
  .service-detail-hero .subpage-hero__heading,
  .service-detail-hero .subpage-hero__media {
    min-height: 240px;
  }

  .service-detail-hero .subpage-hero__heading {
    align-items: center;
    padding: 40px;
  }

  .service-detail-hero .subpage-hero__title-ja {
    font-size: 28px;
  }

  .service-detail-hero--works .subpage-hero__title-ja {
    font-size: 17px;
  }

  .service-detail-hero .subpage-hero__title-en {
    font-size: 13px;
  }

  .service-intro,
  .service-definition,
  .service-section,
  .restructuring-section {
    padding: 68px 20px;
  }

  .service-detail-page h2 {
    font-size: 20px;
  }

  .service-detail-page h3,
  .service-detail-page h4,
  .restructuring-section__content h2 {
    font-size: 16px;
  }

  .service-intro p,
  .service-copy-block p,
  .service-section p,
  .restructuring-section p {
    font-size: 14px;
    line-height: 2.6;
  }

  .service-card {
    padding: 20px;
  }

  .service-card--text-only {
    min-height: 0;
  }

  .service-data-card {
    padding: 30px 20px;
  }

  .service-data-card__row {
    grid-template-columns: 1fr;
    gap: 2px;
    width: 100%;
  }

  .service-data-card__row + .service-data-card__row {
    margin-top: 24px;
  }

  .service-data-card dt,
  .service-data-card dd {
    font-size: 13px;
    line-height: 2.5;
  }
}

/* T-104 contact form */
.contact-hero .subpage-hero__title-ja {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
}

.contact-hero .subpage-hero__title-en {
  margin-top: 14px;
  font-size: 16px;
}

.contact-section {
  display: flex;
  justify-content: center;
  min-height: 1295px;
  padding: 180px 32px;
  border-bottom: 1px solid var(--color-border);
}

.contact-form {
  position: relative;
  width: min(1080px, 100%);
}

.contact-form__error {
  margin-bottom: 24px;
  padding: 12px 16px;
  color: #b3261e;
  background: #fff7f6;
  border: 1px solid #e3b6b2;
  font-size: 13px;
  line-height: 1.8;
}

.contact-field {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.contact-field + .contact-field {
  margin-top: 14px;
}

.contact-field__label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  gap: 14px;
  min-height: 50px;
}

.contact-field__label label {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--color-white);
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.contact-badge--required {
  background: var(--color-primary);
}

.contact-badge--optional {
  background: #919191;
}

.contact-field__control input,
.contact-field__control select,
.contact-field__control textarea {
  width: 100%;
  color: var(--color-text-muted);
  background: var(--color-white);
  border: 1px solid #e2e2e2;
  border-radius: 2px;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field__control input,
.contact-field__control select {
  height: 50px;
  padding: 0 16px;
}

.contact-field__control textarea {
  min-height: 72px;
  padding: 14px 16px;
  resize: vertical;
}

.contact-field__control input::placeholder,
.contact-field__control textarea::placeholder {
  color: #cccccc;
  opacity: 1;
}

.contact-field__control input:focus,
.contact-field__control select:focus,
.contact-field__control textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(90, 52, 166, 0.12);
}

.contact-field__control [aria-invalid="true"] {
  border-color: #c96058;
}

.contact-field__error {
  margin-top: 5px;
  color: #b3261e;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-form__actions {
  margin-top: 28px;
  margin-left: 300px;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(500px, 100%);
  min-height: 50px;
  padding: 10px 30px;
  color: var(--color-white);
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  color: var(--color-primary);
  background: var(--color-white);
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(760px, 100%);
  text-align: center;
}

.contact-complete h2 {
  color: var(--color-text-muted);
  font-size: 28px;
  line-height: 1.5;
}

.contact-complete p {
  margin-top: 28px;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.8;
}

.contact-complete .button {
  margin-top: 36px;
}

@media (max-width: 1100px) {
  .contact-form {
    width: min(920px, 100%);
  }

  .contact-field {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .contact-form__actions {
    margin-left: 270px;
  }
}

@media (max-width: 820px) {
  .contact-hero .subpage-hero__title-ja {
    font-size: 28px;
  }

  .contact-section {
    min-height: 0;
    padding: 100px 32px;
  }

  .contact-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-field + .contact-field {
    margin-top: 24px;
  }

  .contact-field__label {
    display: flex;
    gap: 12px;
    min-height: 0;
  }

  .contact-field__label label {
    font-size: 15px;
  }

  .contact-badge {
    min-width: 52px;
    min-height: 30px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .contact-form__actions {
    margin-top: 36px;
    margin-left: 0;
  }

  .contact-submit {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .contact-hero .subpage-hero__title-ja {
    font-size: 24px;
  }

  .contact-hero .subpage-hero__title-en {
    font-size: 13px;
  }

  .contact-section {
    padding: 72px 20px;
  }

  .contact-field__control input,
  .contact-field__control select {
    height: 48px;
    font-size: 13px;
  }

  .contact-field__control textarea {
    min-height: 130px;
    font-size: 13px;
  }

  .contact-complete h2 {
    font-size: 22px;
  }

  .contact-complete p {
    line-height: 2.4;
  }

  .contact-complete p br {
    display: none;
  }
}

/* T-106 WordPress news pages */
.news-hero .subpage-hero__title-ja {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
}

.news-hero .subpage-hero__title-en {
  margin-top: 14px;
  font-size: 16px;
}

.news-archive {
  min-height: 991px;
  padding: 190px 32px 160px;
  border-bottom: 1px solid var(--color-border);
}

.news-archive__inner,
.news-detail__inner,
.news-fallback__inner {
  width: min(1080px, 100%);
  margin-inline: auto;
}

.news-card {
  padding: 24px 0 13px;
  border-bottom: 1px solid var(--color-primary);
}

.news-card:first-child {
  padding-top: 0;
}

.news-card__date,
.news-detail__date {
  display: block;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 1.5;
}

.news-card__title {
  margin-top: 6px;
  color: #111111;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.news-card__title a {
  transition: color 0.2s ease;
}

.news-card__title a:hover,
.news-card__title a:focus-visible {
  color: var(--color-primary);
}

.news-card__excerpt {
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.8;
}

.news-pagination {
  margin-top: 52px;
}

.news-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 4px 10px;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
}

.news-pagination .page-numbers.current,
.news-pagination a.page-numbers:hover,
.news-pagination a.page-numbers:focus-visible {
  color: var(--color-white);
  background: var(--color-primary);
}

.news-archive__empty {
  text-align: center;
}

.news-detail {
  min-height: 1172px;
  padding: 100px 32px 160px;
  border-bottom: 1px solid var(--color-border);
}

.news-detail__title {
  color: #222222;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
}

.news-detail__date {
  margin-top: 45px;
}

.news-detail__content {
  margin-top: 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 2;
}

.news-detail__content p + p,
.news-detail__content figure + p,
.news-detail__content p + figure {
  margin-top: 1.4em;
}

.news-detail__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-detail__content img {
  width: auto;
  height: auto;
  margin-inline: auto;
}

.news-detail__content figure {
  margin-block: 28px;
}

.news-detail__content ul,
.news-detail__content ol {
  margin: 1.4em 0;
  padding-left: 1.6em;
}

.news-detail__content ul {
  list-style: disc;
}

.news-detail__content ol {
  list-style: decimal;
}

.news-detail__back {
  margin-top: 45px;
  text-align: center;
}

.news-fallback {
  min-height: 991px;
  padding: 160px 32px;
  border-bottom: 1px solid var(--color-border);
}

.news-fallback__item + .news-fallback__item {
  margin-top: 48px;
}

.news-fallback__item h1,
.news-fallback__inner--center h1 {
  color: #222222;
  font-size: 30px;
  line-height: 1.5;
}

.news-fallback__item p,
.news-fallback__inner--center p {
  margin-top: 20px;
}

.news-fallback__inner--center {
  text-align: center;
}

.news-fallback__inner--center .button {
  margin-top: 36px;
}

@media (max-width: 820px) {
  .news-hero .subpage-hero__title-ja {
    font-size: 28px;
  }

  .news-archive,
  .news-detail,
  .news-fallback {
    min-height: 0;
    padding: 100px 32px;
  }

  .news-detail__title {
    font-size: 34px;
  }
}

@media (max-width: 520px) {
  .news-hero .subpage-hero__title-ja {
    font-size: 24px;
  }

  .news-hero .subpage-hero__title-en {
    font-size: 13px;
  }

  .news-archive,
  .news-detail,
  .news-fallback {
    padding: 72px 20px;
  }

  .news-card {
    padding: 22px 0 12px;
  }

  .news-card__title {
    font-size: 18px;
  }

  .news-detail__title {
    font-size: 28px;
  }

  .news-detail__date {
    margin-top: 30px;
  }

  .news-detail__content {
    font-size: 13px;
  }

  .news-fallback__item h1,
  .news-fallback__inner--center h1 {
    font-size: 24px;
  }
}
