@charset "UTF-8";
/* ============================================
   トップページ（Figma: Top ／ トップページ 1:425）
   PC 1280px。共通パーツは style.css 側。
   ============================================ */

/* ---------- 汎用（トップ由来・下層でも使い回す想定） ---------- */

/* もっと詳しく見る ボタン（Figma パス 20383） */
.btn-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 62px;
  padding: 8px 40px;
  background: var(--color-primary-light);
  color: var(--color-white);
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-more:hover {
  opacity: 0.85;
}

.btn-more .icon--angle {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 14px;
}

/* セクション見出し（英字ウォーターマーク＋和文）トップ用 */
.top-heading {
  position: relative;
  margin: 0;
}

.top-heading__en {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 96px;
  line-height: 1.6;
  white-space: nowrap;
  pointer-events: none;
  color: var(--color-white);
  opacity: 0.44;
}

.top-heading__ja {
  position: relative;
  display: block;
  padding-top: 128px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.36;
  color: var(--color-primary);
}

.top-heading--center {
  text-align: center;
}

.top-heading--center .top-heading__en {
  left: 50%;
  transform: translateX(-50%);
}

.top-heading--gray .top-heading__en {
  color: #ebebeb;
  opacity: 0.6;
}

.top-heading--on-navy .top-heading__en {
  color: #ebebeb;
  opacity: 0.08;
}

.top-heading--on-navy .top-heading__ja {
  color: var(--color-white);
}

/* Figmaで指定されたSP固有の改行。PCでは文の流れを変えない */
.sp-break,
.sp-copy {
  display: none;
}

.cta-contact__message-sp {
  display: none;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

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

.hero__inner {
  position: relative;
  max-width: var(--width-page);
  margin-inline: auto;
  height: 100%;
}

.hero__title {
  position: absolute;
  left: 40px;
  top: 264px;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 66px;
  line-height: 84px;
  color: var(--color-primary);
}

.hero__lead {
  position: absolute;
  left: 56px;
  top: 538px;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

/* ---------- 無料相談導線（intro） ---------- */
.intro {
  padding: 72px 40px 64px;
}

.intro__card {
  max-width: var(--width-content);
  margin-inline: auto;
  text-align: center;
  padding: 44px 40px 60px;
  background: var(--color-white);
  border: 1px solid #bad2e3;
}

.intro__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.36;
  color: var(--color-primary);
}

.intro__stats {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  color: var(--color-gold);
}

.intro__stats-laurel {
  width: 53px;
  height: 111px;
}

.intro__stats-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro__stats-label {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.intro__stats-number {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.2;
}

.intro__stats-number strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.04em;
}

.intro__stats-number span {
  font-size: 20px;
}

.intro__note {
  width: min(280px, 100%);
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.1em;
  white-space: normal;
  text-align: center;
}

.intro__cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.free-card {
  width: 444px;
  min-height: 160px;
  padding: 8px 24px 20px 21px;
  background: #f5f8fb;
  border: 1px solid #bad2e3;
  border-radius: 5px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.07);
  text-align: left;
}

.free-card__head {
  display: flex;
  align-items: center;
}

.free-card__number {
  margin-left: 16px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.36;
  color: var(--color-gold);
}

.free-card__title {
  margin-left: 52px;
  font-weight: 500;
  font-size: 20px;
  color: var(--color-primary);
}

.free-card__head::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 24px;
  background: #bad2e3;
}

.free-card__body {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin-top: 4px;
}

.free-card__icon {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  object-fit: contain;
}

.free-card__text {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-primary);
}

/* ---------- 法人のお客様（corporate） ---------- */
.corporate {
  position: relative;
  background: var(--color-bg-blue);
  padding: 0 40px 84px;
  overflow: hidden;
}

.corporate__inner {
  position: relative;
  max-width: var(--width-content);
  margin-inline: auto;
  display: flex;
  gap: 40px;
}

.corporate__side {
  width: 342px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.corporate__side .btn-more {
  margin-top: auto;
}

.corporate__grid {
  display: grid;
  grid-template-columns: repeat(3, 262px);
  gap: 16px;
  margin-top: 180px;
}

.service-card {
  width: 262px;
  height: 230px;
  background: var(--color-white);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  text-decoration: none;
}

.service-card__icon {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.service-card__label {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.34;
  text-align: center;
  color: var(--color-primary);
}

/* ---------- 個人のお客様（individual） ---------- */
.individual {
  position: relative;
  background: var(--color-white);
  padding: 0 40px 80px;
  overflow: hidden;
}

.individual__inner {
  position: relative;
  max-width: var(--width-content);
  margin-inline: auto;
}

.individual__note {
  margin-top: 16px;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-primary);
}

.individual__row {
  display: flex;
  gap: 40px;
  margin-top: 52px;
}

.individual__side {
  width: 342px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
}

.individual__cards {
  display: grid;
  grid-template-columns: repeat(2, 262px);
  gap: 16px;
}

.service-card--blue {
  background: var(--color-bg-blue);
  border: 1px solid #bad2e3;
  height: 232px;
}

/* ---------- 3つの強み（strengths） ---------- */
.strengths {
  position: relative;
  background: var(--color-primary-light);
  padding: 8px 40px 84px;
  overflow: hidden;
}

.strengths__inner {
  position: relative;
  max-width: var(--width-content);
  margin-inline: auto;
}

.strengths__list {
  margin-top: 76px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.strength {
  display: flex;
  gap: 56px;
}

.strength__photo {
  width: 423px;
  height: 274px;
  flex-shrink: 0;
  object-fit: cover;
}

.strength__body {
  flex: 1;
  color: var(--color-white);
}

.strength__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.64;
  padding-top: 16px;
}

.strength__body hr {
  margin: 16px 0 0;
  border: 0;
  border-top: 1px solid #5f7da3;
}

.strength__text {
  margin-top: 20px;
  font-size: 16px;
  line-height: 38px;
}

/* ---------- 解決事例（cases） ---------- */
.cases {
  position: relative;
  background: #efefef;
  padding: 0 40px 68px;
  overflow: hidden;
}

.cases__inner {
  position: relative;
  max-width: var(--width-content);
  margin-inline: auto;
}

.cases__tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 60px;
}

.cases__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 20px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.cases__tab--active {
  position: relative;
  width: 624px;
  height: 100px;
  background: var(--color-primary-light);
  color: var(--color-white);
}

.cases__tab--active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -28px;
  border: 29px solid transparent;
  border-top-color: var(--color-primary-light);
  border-bottom: 0;
  z-index: 1;
}

.cases__tab--inactive {
  width: 573px;
  height: 90px;
  background: #dddddd;
  color: #737d89;
}

.cases__slider {
  position: relative;
}

.cases__panel {
  background: var(--color-white);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.07);
  padding: 76px 88px 48px;
}

.case-item {
  min-height: 180px;
}

.case-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-item__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 28px;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 500;
  font-size: 12px;
}

.case-item__profile {
  font-size: 14px;
  color: var(--color-primary);
}

.case-item__title {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 44px;
  color: var(--color-primary);
}

.case-item__lead {
  margin-top: 28px;
  font-size: 16px;
  line-height: 34px;
  color: var(--color-primary);
}

.cases__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #999ca0;
  border: 1px solid var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.cases__arrow img {
  width: 10px;
  height: 17px;
}

.cases__arrow--prev {
  left: -16px;
}

.cases__arrow--prev img {
  transform: scaleX(-1);
}

.cases__arrow--next {
  right: -16px;
}

.cases__dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.cases__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary-light);
}

.cases__dot:not(.cases__dot--active) {
  opacity: 0.4;
}

.cases__more {
  text-align: center;
  margin-top: 56px;
}

/* ---------- 弁護士紹介（lawyer） ---------- */
.lawyer {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
  padding: 62px 0 108px;
}

.lawyer__inner {
  /* 写真は 1280px カンプの左端フルブリードのため width-page で制約する */
  max-width: var(--width-page);
  margin-inline: auto;
  display: flex;
  gap: 64px;
}

.lawyer__photo {
  width: 580px;
  height: 744px;
  flex-shrink: 0;
  object-fit: cover;
}

.lawyer__body {
  position: relative;
  max-width: 536px;
}

.lawyer__body .top-heading__en {
  top: -20px;
  left: -16px;
}

.lawyer__text {
  margin-top: 52px;
  font-size: 16px;
  line-height: 38px;
  color: var(--color-primary);
}

.lawyer__more {
  margin-top: 60px;
  text-align: center;
}

/* ---------- アクセス（access） ---------- */
.access {
  position: relative;
  background: #efefef;
  padding: 44px 40px 76px;
  overflow: hidden;
}

.access__inner {
  position: relative;
  max-width: var(--width-content);
  margin-inline: auto;
  display: flex;
  gap: 52px;
}

.access__map {
  width: 636px;
  height: 427px;
  flex-shrink: 0;
  margin-top: 80px;
  border: 0;
  display: block;
}

.access__body {
  position: relative;
  color: var(--color-primary);
}

.access .top-heading__en {
  color: #fff;
}

.access__address {
  margin-top: 60px;
  font-style: normal;
  font-size: 14px;
  line-height: 28px;
}

.access__route {
  margin-top: 20px;
  font-size: 14px;
  line-height: 28px;
}

.access__route + .access__route {
  margin-top: 4px;
}

.access__tel {
  margin-top: 36px;
  font-size: 16px;
}

/* ---------- よくあるご質問（faq） ---------- */
.faq {
  position: relative;
  background: var(--color-bg-blue);
  padding: 0 40px 92px;
  overflow: hidden;
}

.faq__inner {
  position: relative;
  max-width: var(--width-content);
  margin-inline: auto;
}

.faq__list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__more {
  text-align: center;
  margin-top: 52px;
}

/* Figma 実測補正: lawyer/access は見出し内 padding が浅い */
.lawyer__body .top-heading__ja {
  padding-top: 100px;
}

.access__body .top-heading__ja {
  padding-top: 120px;
}

/* ============================================
   Tablet トップ（768px〜1279px）
   PCの2カラム構成を保ちながら固定幅を流動化する
   ============================================ */
@media (min-width: 768px) and (max-width: 1279px) {
  .hero__title {
    left: 32px;
    font-size: clamp(52px, 6.5vw, 66px);
    line-height: 1.28;
  }

  .hero__lead {
    left: 40px;
  }

  .intro {
    padding-right: 32px;
    padding-left: 32px;
  }

  .intro__card {
    padding-right: 32px;
    padding-left: 32px;
  }

  .intro__cards {
    gap: 16px;
  }

  .free-card {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .free-card__title {
    margin-left: 24px;
  }

  .free-card__head::after {
    margin-left: 16px;
  }

  .free-card__body {
    gap: 20px;
  }

  .corporate,
  .individual,
  .strengths,
  .cases,
  .access {
    padding-right: 32px;
    padding-left: 32px;
  }

  .corporate__inner {
    display: block;
  }

  .corporate__side,
  .individual__side {
    width: auto;
  }

  .corporate__side .btn-more,
  .individual__side .btn-more {
    margin-top: 32px;
  }

  .corporate__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
  }

  .service-card {
    width: 100%;
  }

  .individual__row {
    display: block;
    margin-top: 40px;
  }

  .individual__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
  }

  .strength {
    gap: 32px;
  }

  .strength__photo {
    width: 38%;
    height: auto;
    min-height: 240px;
  }

  .strength__text {
    line-height: 34px;
  }

  .cases__tab--active {
    width: 52%;
  }

  .cases__tab--inactive {
    width: 48%;
  }

  .cases__panel {
    padding-right: clamp(48px, 7vw, 88px);
    padding-left: clamp(48px, 7vw, 88px);
  }

  .lawyer {
    padding-right: 32px;
    padding-left: 32px;
  }

  .lawyer__inner {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    gap: 32px;
  }

  .lawyer__photo {
    width: 100%;
    height: 100%;
    min-height: 600px;
  }

  .lawyer__body {
    max-width: none;
  }

  .lawyer__body .top-heading__en {
    font-size: clamp(64px, 8vw, 96px);
  }

  .lawyer__text {
    margin-top: 40px;
    line-height: 34px;
  }

  .lawyer__more {
    margin-top: 40px;
  }

  .access__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 32px;
  }

  .access__map {
    width: 100%;
    height: 360px;
  }

  .access .top-heading__en {
    font-size: clamp(64px, 8vw, 96px);
  }

  .faq-row {
    gap: 32px;
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .corporate__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strength__photo {
    width: 42%;
  }

  .lawyer__inner {
    grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
    gap: 24px;
  }

  .lawyer__photo {
    min-height: 680px;
  }

  .access__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 24px;
  }

  .access__map {
    height: 320px;
  }
}

/* ============================================
   SP トップ（Figma sp_top 1:21000 / 375px）
   PC 1280px の既存値は変更せず、モバイル幅だけ上書きする
   ============================================ */
@media (max-width: 767px) {
  .sp-break {
    display: inline;
  }

  .sp-copy {
    display: inline;
  }

  .pc-break,
  .pc-copy {
    display: none;
  }

  .cta-contact__message-pc {
    display: none;
  }

  .cta-contact__message-sp,
  .cta-contact__message-sp > span {
    display: block;
  }

  .cta-contact__message-sp > span:nth-child(2) {
    margin-top: 4px;
  }

  .cta-contact__message-sp > span:nth-child(3) {
    margin-top: 19px;
  }

  .btn-more {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding-inline: 40px;
  }

  .top-heading__en {
    left: 0;
    transform: none;
    text-align: left;
    font-size: 59px;
    line-height: 95px;
  }

  .top-heading--center .top-heading__en {
    left: 0;
    transform: none;
  }

  .top-heading__ja {
    padding-top: 72px;
    font-size: 30px;
    line-height: 49px;
  }

  /* ヒーロー: PC画像を等倍で切り抜く（Figma x=-599 / y=64） */
  .hero {
    height: 539px;
  }

  .hero__bg {
    inset: 0;
    overflow: hidden;
  }

  .hero__bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

  .hero__bg::after {
    content: "";
    position: absolute;
    inset: 46px 0 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.34) 37%, rgba(0, 0, 0, 0.84) 47%, #545454 100%);
    opacity: 0.47;
  }

  .hero__inner {
    max-width: none;
  }

  .hero__title {
    left: 17px;
    top: 302px;
    font-size: 37px;
    line-height: 47px;
    letter-spacing: 0.07em;
    color: var(--color-white);
    white-space: nowrap;
  }

  .hero__lead {
    left: 22px;
    top: 465px;
    width: 257px;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.1em;
    color: var(--color-white);
    white-space: nowrap;
  }

  /* 無料相談導線: クイック相談バーへ48px重ねる */
  .intro {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    padding: 0 15px 46px 16px;
  }

  .intro__card {
    min-height: 765px;
    padding: 39px 13px 30px;
  }

  .intro__title {
    width: min(300px, 100%);
    margin-inline: auto;
    font-size: 25px;
    line-height: 34px;
  }

  .intro__stats {
    gap: 4px;
    margin-top: 18px;
  }

  .intro__stats-laurel {
    width: 49px;
    height: 103px;
  }

  .intro__stats-label {
    font-size: 17px;
    line-height: 24px;
  }

  .intro__stats-number strong {
    font-size: 51px;
    line-height: 70px;
  }

  .intro__stats-number span {
    font-size: 18px;
  }

  .intro__note {
    width: min(280px, 100%);
    margin: 18px auto 0;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.1em;
    white-space: normal;
}

  .intro__cards {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .free-card {
    width: 100%;
    min-height: 174px;
    padding: 0 22px 12px 12px;
  }

  .free-card__head {
    height: 48px;
  }

  .free-card__number {
    width: 70px;
    margin-left: 15px;
    font-size: 36px;
    line-height: 49px;
  }

  .free-card__title {
    margin-left: 8px;
    font-size: 20px;
  }

  .free-card__head::after {
    display: none;
  }

  .free-card__body {
    position: relative;
    min-height: 122px;
    margin-top: 0;
    gap: 28px;
  }

  .free-card__body::before {
    content: "";
    position: absolute;
    top: -2px;
    bottom: 0;
    left: 82px;
    width: 1px;
    background: #bad2e3;
  }

  .free-card__icon {
    width: 74px;
    height: 74px;
    margin-top: 20px;
  }

  .free-card__text {
    width: 176px;
    margin-left: 8px;
    font-size: 16px;
    line-height: 26px;
  }

  /* 法人のお客様: 2列×3行 */
  .corporate {
    min-height: 748px;
    padding: 0 15px 44px 16px;
  }

  .corporate__inner {
    max-width: none;
    display: grid;
    gap: 0;
  }

  .corporate__side {
    width: auto;
    display: contents;
  }

  .corporate .top-heading {
    min-height: 116px;
    order: 1;
  }

  .corporate .top-heading__en {
    top: -5px;
    left: 2px;
  }

  .corporate .top-heading__ja {
    padding-top: 67px;
  }

  .corporate__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 30px;
    order: 2;
  }

  .service-card {
    width: 100%;
    height: 148px;
    gap: 2px;
    padding: 4px;
  }

  .service-card__icon {
    width: 80px;
    height: 80px;
  }

  .service-card__label {
    font-size: 16px;
    line-height: 22px;
  }

  .corporate__side .btn-more {
    margin-top: 36px;
    order: 3;
  }

  /* 個人のお客様: 2カード */
  .individual {
    min-height: 444px;
    padding: 0 15px 53px 16px;
  }

  .individual__inner {
    max-width: none;
    display: grid;
  }

  .individual .top-heading {
    min-height: 121px;
    order: 1;
  }

  .individual .top-heading__en {
    top: 4px;
  }

  .individual__note {
    display: none;
  }

  .individual__row,
  .individual__side {
    display: contents;
  }

  .individual__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 33px;
    order: 2;
  }

  .service-card--blue {
    height: 146px;
  }

  .individual__side .btn-more {
    margin-top: 29px;
    order: 3;
  }

  /* 3つの強み */
  .strengths {
    min-height: 1983px;
    padding: 18px 15px 79px 16px;
  }

  .strengths__inner {
    max-width: none;
  }

  .strengths .top-heading {
    min-height: 144px;
  }

  .strengths .top-heading__en {
    top: 0;
    opacity: 0.08;
  }

  .strengths .top-heading__ja {
    padding-top: 72px;
    width: 240px;
    margin-left: 10px;
    line-height: 34px;
    text-align: left;
    white-space: normal;
  }

  .strengths__list {
    margin-top: 40px;
    gap: 56px;
  }

  .strength {
    display: block;
  }

  .strength__photo {
    width: 100%;
    height: 223px;
  }

  .strength__title {
    padding-top: 20px;
    font-size: 30px;
    line-height: 49px;
  }

  .strength:nth-child(n + 2) .strength__title {
    padding-top: 26px;
    padding-bottom: 16px;
    line-height: 38px;
  }

  .strength__body hr {
    margin-top: 14px;
  }

  .strength__text {
    margin-top: 9px;
    font-size: 16px;
    line-height: 32px;
  }

  /* 解決事例 */
  .cases {
    padding: 13px 15px 70px 16px;
  }

  .cases__inner {
    max-width: none;
  }

  .cases .top-heading {
    min-height: 121px;
  }

  .cases__tabs {
    gap: 0;
    margin-top: 32px;
  }

  .cases__tab {
    width: 50%;
    font-size: 16px;
    line-height: 20px;
    padding-inline: 24px;
  }

  .cases__tab--active {
    height: 93px;
  }

  .cases__tab--active::after {
    bottom: -20px;
    border-width: 20px;
  }

  .cases__tab--inactive {
    height: 75px;
  }

  .cases__panel {
    padding: 28px 20px 38px;
  }

  .case-item {
    min-height: 300px;
  }

  .case-item__meta {
    gap: 12px;
  }

  .case-item__title {
    margin-top: 8px;
    font-size: 28px;
    line-height: 44px;
  }

  .case-item__lead {
    margin-top: 24px;
    padding-inline: 24px;
    font-size: 16px;
    line-height: 34px;
  }

  .cases__arrow {
    width: 44px;
    height: 44px;
  }

  .cases__arrow--prev {
    left: -8px;
  }

  .cases__arrow--next {
    right: -8px;
  }

  .cases__dots {
    margin-top: 38px;
  }

  .cases__more {
    display: none;
  }

  /* 弁護士紹介: 見出し→写真→本文→ボタン */
  .lawyer {
    min-height: 1416px;
    padding: 13px 15px 40px 16px;
  }

  .lawyer__inner {
    max-width: none;
    display: grid;
    gap: 0;
  }

  .lawyer__body {
    display: contents;
  }

  .lawyer__body .top-heading {
    grid-row: 1;
    min-height: 147px;
  }

  .lawyer__body .top-heading__en {
    top: 0;
    left: 0;
  }

  .lawyer__body .top-heading__ja {
    padding-top: 72px;
  }

  .lawyer__photo {
    grid-row: 2;
    width: 100%;
    height: 441px;
    margin-top: 13px;
  }

  .lawyer__text {
    grid-row: 3;
    margin-top: 32px;
    font-size: 16px;
    line-height: 32px;
  }

  .lawyer__more {
    grid-row: 4;
    margin-top: 28px;
  }

  /* アクセス: 見出し→地図→住所 */
  .access {
    min-height: 762px;
    padding: 5px 15px 65px 16px;
  }

  .access__inner {
    max-width: none;
    display: grid;
    gap: 0;
  }

  .access__body {
    display: contents;
  }

  .access__body .top-heading {
    grid-row: 1;
    min-height: 116px;
  }

  .access__body .top-heading__ja {
    padding-top: 72px;
  }

  .access__map {
    grid-row: 2;
    width: 100%;
    height: 231px;
    margin-top: 36px;
  }

  .access__address,
  .access__route,
  .access__tel {
    font-size: 14px;
    line-height: 27px;
  }

  .access__address {
    grid-row: 3;
    margin-top: 20px;
  }

  .access__route {
    margin-top: 12px;
  }

  .access__route + .access__route {
    margin-top: 0;
  }

  .access__tel {
    margin-top: 12px;
  }

  /* FAQ */
  .faq {
    min-height: 673px;
    padding: 3px 15px 53px 16px;
  }

  .faq__inner {
    max-width: none;
  }

  .faq .top-heading {
    min-height: 145px;
    text-align: left;
  }

  .faq .top-heading__en {
    left: 0;
    transform: none;
  }

  .faq__list {
    margin-top: 0;
    gap: 12px;
  }

  .faq-row {
    min-height: 84px;
    gap: 18px;
    padding: 16px 17px 16px 19px;
  }

  .faq-row__q {
    font-size: 18px;
  }

  .faq-row__text {
    flex: 0 1 219px;
    font-size: 16px;
    line-height: 24px;
  }

  .faq-row__toggle {
    width: 26px;
    height: 26px;
  }

  .faq-row__answer {
    margin-left: 42px;
    line-height: 28px;
  }

  .faq__more {
    display: none;
  }

  .cta-contact {
    margin-top: -16px;
  }

  body:has(.mobile-contact-bar) .cta-contact__buttons {
    margin-top: 27px;
  }
}

/* 375pxカンプを保ちつつ、小型端末では長い見出しのクリップを防ぐ */
@media (max-width: 359px) {
  .hero__title {
    font-size: 35px;
  }

  .top-heading__en {
    font-size: 50px;
  }
}


.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero__slide picture,
.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__slide img {
  transform: scale(1);
  transition: transform 6.5s ease-out;
}
.hero__slide.is-zoomed img {
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide img {
      transition: none;
  }
}
.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__title,
.hero__lead {
    color: #ffffff;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .85);
  font-size: 11px;
  letter-spacing: .12em;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, .6);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: #ffffff;
  animation: heroScroll 1.8s ease-in-out infinite;
}
@keyframes heroScroll {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}
@media (max-width: 780px) {
  .hero__scroll {
      bottom: 24px;
  }
}


.hero__dots {
  position: absolute;
  left: 64px;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero__dots span {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, .35);
  transition: background .3s;
}
.hero__dots span.is-active {
  background: #ffffff;
}
@media (max-width: 780px) {
  .hero__dots {
      left: 24px;
  }
}


@media (max-width: 767px) {
  .hero__scroll,
  .hero__dots {
    display: none;
  }

  .hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    pointer-events: none;
  }
}

body {
  position: relative;
  overflow-x: hidden;
}


@media (max-width: 767px) {
  .mobile-contact-bar {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .mobile-contact-bar.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }
}