@charset "UTF-8";

/* TOP専用（style.css と重複するヘッダー／フッター／共通リセットは含めない） */

:root {
  --header-height: 80px; /* 初期値（保険） */
}

.page-shell {
  border: 0;
}

.brand-image {
  width: 100%;
}

.hero {
  padding: 0 0 56px;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  height: calc(100vh - var(--header-height) - 30px);
  background: #E8F5FA;
  isolation: isolate;
}

.hero__image {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - var(--header-height) - 30px);
  object-fit: cover;
  object-position: bottom;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 1200ms ease;
  will-change: opacity, transform;
}

.hero.is-visual-ready .hero__image {
  opacity: 1;
  transform: scale(1);
}

.hero-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(450px, 12vw + 330px, 542px);
  padding: 22px 22px 22px 26px;
  color: #fff;
  background: #f08f4f;
  border-radius: 50px 0 0 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.hero.is-card-ready .hero-card {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero__image,
  .hero-card {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.hero-card__eyebrow {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 0.806rem + 0.69vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.hero-card__phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hero-card__phone {
  position: relative;
  font-size: clamp(1.625rem, 0.8rem + 1.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  padding-left: 0.84em;
}

.hero-card__phone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.66em;
  height: 0.92em;
  background: url("/images/top/icon-tel.svg") no-repeat center / contain;
}

.hero-card__line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 10px 14px;
  background: #77cc2e;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-card__line-text {
  position: relative;
  font-size: clamp(1.1rem, 0.8rem + 0.8vw, 1.3125rem);
  padding-left: 1.6em;
}

.hero-card__line-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.43em;
  height: 1.43em;
  background: url("/images/top/icon-line.svg") no-repeat center / contain;
}

.hero-card__line-first {
  font-size: 1em;
  font-weight: 700;
}

.hero-card__line-second {
  font-size: 0.86em;
}

.hero-card__line-third {
  font-size: 0.95em;
}

.hero-card__meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.82rem;
  margin: 0;
  color: rgba(255, 255, 255);
  font-size: 0.82rem;
  font-weight: 500;
}

.about {
  padding: 44px 0 34px;
}

.about__panel {
  background: transparent;
  padding: 56px 50px 26px;
  max-width: 1300px;
  margin: 0 auto;
}

.about__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 46px;
  align-items: start;
}

.about__headline {
  margin: 0;
  font-size: clamp(1.75rem, 0.861rem + 1.39vw, 2.25rem);
  line-height: 1.55;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.about__copy {
  margin: 50px 0 0;
  max-width: 600px;
  font-size: 1.125rem;
  line-height: 2.56;
  letter-spacing: 0.08em;
}

.about__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 396px;
  min-width: 270px;
  margin-top: 50px;
  padding: 21px 38px 21px 62px;
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  color: var(--color-primary-deep);
  font-weight: 700;
  background: #ffffff;
  font-size: 1.125rem;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.about__cta:hover,
.about__cta:focus-visible {
  background: var(--color-primary-deep);
  color: var(--color-surface);
  border-color: var(--color-primary-deep);
}

.about__cta-icon {
  font-size: 2.5rem;
  line-height: 1;
  padding-bottom: 0.3em;
}

.about__visual {
  display: grid;
  justify-items: center;
  gap: 42px;
  margin-top: -50px;
}

.about__box {
  border-radius: 24px;
  background: #979797;
  overflow: hidden;
}

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

.about__box--large {
  width: 100%;
  aspect-ratio: 1.35 / 1;
}

.about__box--small {
  width: 80%;
  max-width: 336px;
  aspect-ratio: 1.35 / 1;
  background: #c2c3c6;
  justify-self: start;
  margin-left: clamp(-7.625vw, -4vw, -2vw);
}

.about__illustration {
  width: calc(100% + clamp(1vw, 6vw, 10.375vw));
  transform: translateX(clamp(-5.1875vw, -3vw, -0.5vw));
  margin-top: 64px;
}

.about__illustration img {
  width: 100%;
  max-height: 295px;
  object-fit: contain;
  object-position: center bottom;
}

.service {
  padding: 40px 0 60px;
}

.service__panel {
  position: relative;
  background: transparent;
  border-radius: 30px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

.service__panel::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: clamp(0px, 2.8vw, 40px);
  width: 20.554%;
  aspect-ratio: 246.65 / 173.28;
  background: url("/images/top/illust-service-left.png") no-repeat top left / contain;
}

.service__panel::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: clamp(0px, 2.8vw, 40px);
  width: 20.615%;
  aspect-ratio: 247.38 / 160.76;
  background: url("/images/top/illust-service-right.png") no-repeat top left / contain;
}

.service__heading {
  margin: 0;
  text-align: center;
  color: #f57f31;
  font-size: clamp(1rem, 0.556rem + 0.69vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.service__title {
  margin: 0.2em 0 0.9em;
  text-align: center;
  font-size: clamp(2.125rem, 1.236rem + 1.39vw, 2.625rem);
  font-weight: 500;
  line-height: 1.3;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5%;
}

.service-card__image {
  width: 100%;
  aspect-ratio: 38 / 29;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.service-card__target {
  margin: 0;
  color: var(--color-primary-light);
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card__title {
  margin: 0.25em 0 1em;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.service-card__text {
  margin: 0;
  line-height: 1.875;
}

.service__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.service__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 396px;
  min-width: 270px;
  padding: 21px 38px 21px 62px;
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  background: var(--color-primary-deep);
  color: var(--color-surface);
  font-weight: 500;
  font-size: 1.125rem;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.service__cta:hover,
.service__cta:focus-visible {
  background: var(--color-surface);
  color: var(--color-primary-deep);
}

.service__cta-icon {
  font-size: 2.5rem;
  line-height: 1;
  padding-bottom: 0.3em;
}

.case {
  padding: 30px 0;
  overflow: hidden;
}

.case .container {
  width: calc(100% - clamp(3vw, 5vw, 7.375vw));
  margin-left: clamp(3vw, 5vw, 7.375vw);
  margin-right: 0;
}

.case__panel {
  background: #f8fcff;
  border-radius: 100px 0 0 100px;
  padding: 120px 0 70px 5.625vw;
}

.case__top {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(40px, 3vw, 50px);
  align-items: start;
}

.case__side {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: 400px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.875em;
  align-items: center;
  color: #111a28;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case__side-en {
  height: 100%;
  color: #f57f31;
  font-size: clamp(1rem, 0.556rem + 0.69vw, 1.25rem);
  font-weight: 400;
}

.case__side-ja {
  font-size: clamp(2.125rem, 1.236rem + 1.39vw, 2.625rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.case__side-copy {
  font-weight: 500;
  color: #293444;
  letter-spacing: 0.1em;
}

.case__viewport {
  overflow-x: auto;
  scrollbar-width: none;
  padding-right: 0;
  scroll-snap-type: x mandatory;
}

.case__viewport::-webkit-scrollbar {
  display: none;
}

.case__track {
  display: flex;
  gap: clamp(2vw, 2.5vw, 3vw);
  min-width: 0;
}

.case-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 3vw) / clamp(2.125, 2.4, 2.875));
  max-width: 440px;
}

.case-card__inner {
  display: block;
  border-left: 0;
  padding: 0 10px 0 30px;
}

.case-card__inner:hover .case-card__img {
  transform: scale(1.1);
}

.case-card__inner:hover .case-card__title {
  color: var(--color-primary-deep);
}

.case-card__media {
  position: relative;
  aspect-ratio: 176 / 135;
  border-radius: 34px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #d8dfe6;
}

.case-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform: scale(1);
  transition: transform 220ms ease;
}

.case-card__meta {
  position: absolute;
  left: -30px;
  top: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin: 0;
}

.case-card__badge {
  position: absolute;
  left: -30px;
  top: 0.875rem;
  padding: 0;
  background: transparent;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.case-card__category {
  margin: 0 0 5px;
  color: var(--color-primary-deep);
  font-size: 0.8125rem; /* 13px */
  letter-spacing: 0.08em;
}

.case-card__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75;
  letter-spacing: 0.03em;
  transition: color 220ms ease;
}

.case__bottom {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.case__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 396px;
  min-width: 270px;
  padding: 21px 38px 21px 62px;
  transform: translateX(-6.5vw);
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  background: var(--color-primary-deep);
  color: var(--color-surface);
  font-weight: 500;
  font-size: 1.125rem;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.case__cta:hover,
.case__cta:focus-visible {
  background: var(--color-surface);
  color: var(--color-primary-deep);
}

.case__arrow-group {
  display: flex;
  gap: 20px;
  position: absolute;
  right: 62px;
  bottom: 0;
}

.case__arrow {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  color: var(--color-primary-deep);
  background: var(--color-surface);
  font-size: 1.35rem;
  cursor: pointer;
}

.recruit {
  padding: 40px 0 60px;
}

.recruit__panel {
  background: transparent;
  border-radius: 30px;
  padding: 40px 62px;
}

.recruit__layout {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 530px) 1fr;
  align-items: center;
  max-width: 1430px;
  margin: 0 auto;
}

.recruit__side {
  display: grid;
  gap: 85px;
  justify-items: center;
}

.recruit__side--left {
  justify-items: start;
}

.recruit__side--right {
  justify-items: end;
}

.recruit__photo {
  width: 100%;
  max-width: 270px;
  border-radius: 22px;
  overflow: hidden;
  background: #d8dfe6;
  aspect-ratio: 1.28 / 1;
}

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

.recruit__photo--small {
  max-width: 210px;
  aspect-ratio: 1.3 / 1;
}

.recruit__photo--01 {
  margin-left: 8.5vw;
  display: block;
  width: 65.9%;
  max-width: 262px;
  aspect-ratio: 1.22 / 1;
}

.recruit__photo--02 {
  width: 92.3%;
  max-width: 367px;
  aspect-ratio: 1.28 / 1;
}

.recruit__photo--03 {
  width: 93.3%;
  max-width: 371px;
  aspect-ratio: 1.26 / 1;
}

.recruit__photo--04 {
  margin-right: 4.375vw;
  display: block;
  width: 57.8%;
  max-width: 230px;
  aspect-ratio: 1.24 / 1;
}

.recruit__center {
  text-align: center;
}

.recruit__en {
  margin: 0;
  font-size: clamp(5rem, -0.111rem + 7.99vw, 7.875rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-brand-border);
  letter-spacing: 0.04em;
}

.recruit__title {
  margin: 0.78125em 0 0;
  font-size: clamp(1.75rem, 1.306rem + 0.69vw, 2rem);
  line-height: 1.95;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.recruit__copy {
  margin: 2em 0 0;
  font-size: 1.125rem;
  line-height: 2.5;
  color: #1f2734;
}

.recruit__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.recruit__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 396px;
  min-width: 270px;
  padding: 21px 38px 21px 62px;
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  background: var(--color-primary-deep);
  color: var(--color-surface);
  font-weight: 500;
  font-size: 1.125rem;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.recruit__cta:hover,
.recruit__cta:focus-visible {
  background: var(--color-surface);
  color: var(--color-primary-deep);
}

@media (max-width: 1080px) {
  .recruit__panel {
    padding: 20px 62px;
  }

  .recruit__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recruit__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .recruit__side--left,
  .recruit__side--right {
    justify-items: stretch;
    gap: 5%;
  }

  .recruit__photo,
  .recruit__photo--small {
    max-width: none;
  }

  .recruit__photo {
    border-radius: 18px;
  }

  .recruit__photo--01 {
    width: 75%;
    margin-left: 6vw;
  }

  .recruit__photo--02 {
    width: 100%;
  }

  .recruit__photo--03 {
    width: 75%;
    margin-left: 6vw;
    order: 2;
  }

  .recruit__photo--04 {
    width: 100%;
    order: 1;
    margin-top: 20px;
  }
}

.staff {
  padding: 22px 0 80px;
}

.staff__panel {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 50px;
}

.staff__en {
  margin: 0;
  text-align: center;
  color: #f57f31;
  font-size: clamp(1rem, 0.556rem + 0.69vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.staff__title {
  margin: 0.2em 0 1em;
  text-align: center;
  font-size: clamp(2.125rem, 1.236rem + 1.39vw, 2.625rem);
  font-weight: 500;
  line-height: 1.3;
}

.staff__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 28px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.staff__grid::-webkit-scrollbar {
  display: none;
}

.staff-card {
  text-align: center;
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

.staff-card__inner {
  display: block;
}

.staff-card__inner:hover .staff-card__photo img {
  transform: scale(1.1);
}

.staff-card__inner:hover .staff-card__copy,
.staff-card__inner:hover .staff-card__name {
  color: var(--color-primary-deep);
}

.staff-card__photo {
  border-radius: 24px;
  overflow: hidden;
  background: #d8dfe6;
  aspect-ratio: 0.9 / 1;
  margin-bottom: 14px;
}

.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 220ms ease;
}

.staff-card__copy {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.85;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 220ms ease;
}

.staff-card__name {
  margin: 8px 0 0;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 220ms ease;
}

.staff-card__role {
  font-size: 0.85em;
  line-height: 1.45;
}

.staff__arrow-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
}

.staff__arrow {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  color: var(--color-primary-deep);
  background: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.news {
  padding: 20px 0 60px;
}

.news .container {
  width: calc(100% - 6.25vw);
  margin-left: 0;
  margin-right: auto;
}

.news__panel {
  background: #f8fcff;
  border-radius: 0 100px 100px 0;
  padding: 70px clamp(6vw, 1.25vw + 45px, 8.5vw) 100px clamp(9vw, 1.5935vw + 74px, 12.1874vw);
}

.news__layout {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(4vw, calc(33vw - 348px), 11.25vw);
  align-items: start;
}

.news__side {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: 400px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.875em;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 30px;
}

.news__side-en {
  height: 100%;
  color: #f57f31;
  font-size: clamp(1rem, 0.556rem + 0.69vw, 1.25rem);
  font-weight: 400;
}

.news__side-ja {
  margin: 0;
  font-size: clamp(2.125rem, 1.236rem + 1.39vw, 2.625rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.1em;
}

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

.news__item {
  position: relative;
}

.news__item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: radial-gradient(circle, var(--color-brand-border) 1.5px, transparent 1.5px);
  background-size: 9px 2px;
  background-repeat: repeat-x;
}

.news__link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  align-items: start;
  padding: 30px 28px 30px 10px;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.news__link:hover {
  background: rgba(58, 160, 216, 0.12);
}

.news__date {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  align-self: start;
  padding-top: 2px;
}

.news__head {
  display: flex;
  align-items: center;
  gap: 25px;
  min-width: 0;
  grid-area: 1 / 1 / 2 / 2;
}

.news__title {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
}

.news__body {
  grid-area: 2 / 1 / 3 / 2;
  margin: 0.75em 0 0;
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 2.25em;
}

.news__arrow {
  grid-area: 1 / 2 / 3 / 3;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-brand-border);
  font-weight: 300;
  align-self: center;
  padding-bottom: 0.25em;
}

.news__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 75px;
}

.news__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 396px;
  min-width: 270px;
  padding: 21px 38px 21px 62px;
  border-radius: 999px;
  border: 1px solid var(--color-primary-deep);
  background: var(--color-primary-deep);
  color: var(--color-surface);
  font-weight: 500;
  font-size: 1.125rem;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.news__cta:hover,
.news__cta:focus-visible {
  background: var(--color-surface);
  color: var(--color-primary-deep);
}

.map {
  padding: 20px 0 120px;
}

.map__panel {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

@media (min-width: 1025px) {
  .about__headline {
    white-space: nowrap;
  }
}

@media (max-width: 920px) {
  .hero__frame {
    height: auto;
    aspect-ratio: 4 / 4;
  }

  .hero__image {
    min-height: inherit;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .hero-card {
    width: min(100% - 40px, 460px);
    padding: 15px 20px;
  }

  .hero-card__eyebrow {
    text-align: center;
  }

  .hero-card__phone-row {
    justify-content: center;
    gap: 10px;
  }

  .hero-card__meta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 20px;
    z-index: 1;
    position: relative;
  }

  .hero-card {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-radius: 0;
    transform: none;
    z-index: 60;
  }

  .hero-card__phone-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
  }

  .hero-card__phone {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    line-height: 1;
  }

  .hero-card__line {
    min-width: 104px;
    padding: 8px 12px;
  }

  .hero-card__eyebrow {
    display: block;
    margin: 0 0 6px;
    font-size: 0.78rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero-card__meta {
    justify-content: center;
    gap: 8px;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.2;
  }

  .about {
    padding: 20px 0 20px;
  }

  .about__panel {
    max-width: 530px;
    padding: 20px 16px 18px;
  }

  .about__top {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about__headline {
    font-size: 1.35rem;
    line-height: 1.45;
  }

  .about__copy {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.95;
  }

  .about__cta {
    display: flex;
    width: fit-content;
    min-width: 240px;
    margin-top: 24px;
    margin-inline: auto;
    padding: 12px 22px 12px 28px;
    font-size: 1rem;
  }

  .about__cta-icon {
    font-size: 2rem;
  }

  .about__visual {
    margin-top: 0;
    gap: 16px;
  }

  .about__box--large {
    justify-self: end;
    max-width: 280px;
  }

  .about__box--small {
    max-width: 210px;
    margin-left: 0;
  }

  .about__illustration {
    margin-top: 30px;
  }

  .about__illustration img {
    max-height: 170px;
  }

  .service {
    padding: 20px 0 30px;
  }

  .service__panel {
    border-radius: 22px;
    padding: 20px 18px 40px;
  }

  .service__title {
    font-size: 2rem;
  }

  .service__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 480px;
    margin: 0 auto;
  }

  .service-card__title {
    margin: 0.25em 0 0.75em;
  }

  .service-card__text {
    font-size: 0.92rem;
  }

  .service__cta-wrap {
    margin-top: 40px;
  }

  .service__cta {
    display: flex;
    width: fit-content;
    min-width: 240px;
    margin-top: 24px;
    margin-inline: auto;
    padding: 12px 22px 12px 28px;
    font-size: 1rem;
  }

  .service__cta-icon {
    font-size: 2rem;
  }

  .service__panel::before {
    width: 28%;
    bottom: -30px;
  }

  .service__panel::after {
    width: 28.2%;
    bottom: -30px;
  }

  .case .container {
    width: calc(100% - 12px);
    margin-left: 12px;
    margin-right: auto;
  }

  .case__panel {
    border-radius: 24px 0 0 24px;
    padding: 25px 0 30px 16px;
  }

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

  .case__side {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    display: grid;
    gap: 4px;
    text-align: center;
  }

  .case__side-ja {
    font-size: 2rem;
  }

  .case__viewport {
    overflow-x: auto;
  }

  .case__viewport::-webkit-scrollbar {
    display: none;
  }

  .case__track {
    display: flex;
    min-width: 0;
    gap: 18px;
  }

  .case-card {
    flex: 0 0 calc((100% - 3vw) / 2);
    max-width: 100%;
  }

  .case-card__media {
    max-height: 220px;
    min-height: 170px;
    border-radius: 22px;
  }

  .case-card__title {
    font-size: 1.125rem;
  }

  .case-card__badge {
    font-size: 0.68rem;
  }

  .case__bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-top: 24px;
  }

  .case__arrow-group {
    position: inherit;
    right: 16px;
    align-self: end;
  }

  .case__arrow {
    width: 50px;
    height: 50px;
  }

  .case__cta {
    display: flex;
    width: fit-content;
    min-width: 240px;
    margin-inline: auto;
    padding: 12px 22px 12px 28px;
    font-size: 1rem;
    transform: translateX(-2.5vw);
  }

  .recruit {
    padding: 20px 0 30px;
  }

  .recruit__panel {
    padding: 20px 16px;
  }

  .recruit__en {
    font-size: 3.8rem;
  }

  .recruit__title {
    margin-top: 10px;
    font-size: 1.325rem;
  }

  .recruit__copy {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .recruit__cta-wrap {
    margin-top: 20px;
  }

  .recruit__cta {
    display: flex;
    width: fit-content;
    min-width: 240px;
    margin-inline: auto;
    padding: 12px 22px 12px 28px;
    font-size: 1rem;
  }

  .recruit__cta-icon {
    font-size: 2rem;
  }

  .staff {
    padding: 14px 0 30px;
  }

  .staff__panel {
    border-radius: 22px;
    padding: 26px 18px 24px;
  }

  .staff__title {
    margin-bottom: 18px;
    font-size: 2rem;
  }

  .staff__grid {
    max-width: 330px;
    margin: 0 auto;
    gap: 14px;
    padding-bottom: 6px;
  }

  .staff-card {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
  }

  .staff-card__copy {
    font-size: 1.1rem;
  }

  .staff-card__role {
    font-size: 0.86rem;
  }

  .staff__arrow-group {
    margin-top: 22px;
  }

  .staff__arrow {
    width: 50px;
    height: 50px;
  }

  .news {
    padding: 14px 0 30px;
  }

  .news .container {
    width: calc(100% - 12px);
  }

  .news__panel {
    border-radius: 0 24px 24px 0;
    padding: 40px 16px 40px;
  }

  .news__layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news__side {
    writing-mode: horizontal-tb;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 0;
  }

  .news__side-ja {
    font-size: 2rem;
  }

  .news__link {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 12px 2px;
  }

  .news__date {
    grid-column: 1 / -1;
    font-size: 0.82rem;
  }

  .news__title {
    font-size: 1.08rem;
  }

  .news__body {
    margin-top: 5px;
    font-size: 0.86rem;
    max-width: 100%;
  }

  .news__arrow {
    align-self: start;
    margin-top: 12px;
    font-size: 1.6rem;
  }

  .news__cta-wrap {
    margin-top: 40px;
  }

  .news__cta {
    display: flex;
    width: fit-content;
    min-width: 240px;
    margin-inline: auto;
    padding: 12px 22px 12px 28px;
    font-size: 1rem;
  }

  .map {
    padding: 20px 0 60px;
  }

  .map__panel {
    aspect-ratio: 1.618 / 1;
    padding: 0 20px;
  }

  .map__panel iframe {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 540px) {
  .hero-card__phone {
    font-size: 1.125rem;
  }

  .hero-card__line {
    padding: 7px 10px;
  }

  .hero-card__line-text {
    font-size: 0.875rem;
  }

  .hero-card__meta {
    gap: 6px;
    font-size: 0.6875rem;
  }
}
