/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--coolgray-90); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ===== SECTION HEADING ===== */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section-heading__label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--rc-navy);
  letter-spacing: 0.1em;
  line-height: 1;
}
.section-heading__label--white { color: var(--color-white); }
.section-heading__en {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 3.375rem;
  color: var(--rc-navy);
  line-height: 1.1;
}
.section-heading__en--white { color: var(--color-white); }
.section-heading__line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--rc-gold);
}
.value .section-heading {
  align-items: center;
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  border-radius: 2px;
}
.btn--navy {
  width: 220px;
  justify-content: space-between;
  background-image: linear-gradient(to right, var(--rc-gold) 50%, var(--rc-navy) 50%);
  background-size: 200% 100%;
  background-position: right center;
  background-repeat: no-repeat;
  transition: background-position 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn--navy:hover { background-position: left center; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--rc-navy) 0%, var(--rc-navy-light) 100%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 20px 60px;
  transition: padding 0.3s ease;
}
.site-header.is-scrolled .site-header__inner {
  padding: 10px 60px;
}
.site-header__logo img { height: 32px; width: auto; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.site-header__nav-link {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 12px 8px;
  white-space: nowrap;
}
.site-header__nav-link:hover { opacity: 0.8; }

/* Dropdown */
.site-header__nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
/* ホバーブリッジ：ナビリンクからドロップダウンへマウスが移動する間もホバーを維持 */
.site-header__nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 22px;
}
.site-header.is-scrolled .site-header__nav-item::after {
  height: 12px;
}
.site-header__nav-link--has-dropdown {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header__nav-link--has-dropdown::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid rgba(255,255,255,0.7);
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.site-header__nav-item:hover .site-header__nav-link--has-dropdown::after {
  transform: rotate(-135deg) translateY(-2px);
}
/* Mega menu — 縦1列、各カード横2カラム（写真左 | テキスト右） */
.site-header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-13%) translateY(-4px);
  width: 420px;
  background: var(--rc-navy);
  border-top: 2px solid var(--rc-gold);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.site-header__nav-item:hover .site-header__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-13%) translateY(0);
}
/* 各カード：横2カラム */
.site-header__mega-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s ease;
}
.site-header__mega-card:last-child { border-bottom: none; }
.site-header__mega-card:hover {
  background: rgba(255,255,255,0.06);
}
.site-header__mega-img {
  width: 130px;
  height: 86px;
  overflow: hidden;
  flex-shrink: 0;
}
.site-header__mega-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}
.site-header__mega-card:hover .site-header__mega-img img {
  transform: scale(1.07);
}
.site-header__mega-body {
  padding: 16px 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
.site-header__mega-en {
  font-family: "Shippori Mincho", serif;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  color: var(--rc-gold);
  font-weight: 600;
}
.site-header__mega-ja {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.site-header__mega-arrow {
  margin-top: 4px;
  color: var(--rc-gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}
.site-header__mega-card:hover .site-header__mega-arrow {
  opacity: 1;
  transform: translateX(0);
}
.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0 28px;
  height: 42px;
  white-space: nowrap;
  flex-shrink: 0;
  background-image: linear-gradient(to right, var(--rc-navy) 50%, var(--rc-gold) 50%);
  background-size: 200% 100%;
  background-position: right center;
  background-repeat: no-repeat;
  border-radius: 2px;
  transition: background-position 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s ease,
              box-shadow 0.3s ease;
}
.site-header__cta:hover { background-position: left center; }
.site-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  position: relative;
  z-index: 11;
}
.site-header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity   0.2s ease;
}
/* 3本線 → ✕ */
.site-header__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__drawer {
  display: none;
  flex-direction: column;
  background: var(--rc-navy);
  padding: 20px var(--container-px);
}
.site-header__drawer.is-open { display: flex; }
.site-header__drawer-link {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-header__drawer-link--cta {
  margin-top: 16px;
  background: var(--rc-gold);
  text-align: center;
  padding: 14px 20px;
  border-bottom: none;
}

/* ===== HERO ===== */
.hero { overflow: hidden; }
.hero__slider {
  position: relative;
  width: 100%;
  height: 750px;
  background: linear-gradient(223deg, var(--rc-navy-light) 0%, var(--rc-navy) 100%);
}
.hero__bottom {
  position: relative;
  height: 70px;
  background: linear-gradient(270deg, var(--rc-gold) 0%, var(--rc-gold-light) 100%);
}
.hero__mask-def { position: absolute; width: 0; height: 0; }
.hero__slides {
  position: absolute;
  top: 0;
  right: 0;
  width: 83%;
  height: 100%;
  clip-path: url(#heroMask);
  -webkit-clip-path: url(#heroMask);
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.4s ease-in-out, transform 8s ease-out;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.06);
}
/* スライド2・3 個別の object-position */
.hero__slide--02 {
  object-position: center top;
}
.hero__slide--03 {
  object-position: left center;
}
.hero__copy {
  position: absolute;
  top: 194px;
  left: 113px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 2;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.25rem;
  color: var(--color-white);
  line-height: 1.4;
}
.hero__headline {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 3.6rem;
  color: var(--color-white);
  line-height: 1.4;
  text-shadow: 1px 3px 5px rgba(89,109,137,0.75);
}
.hero__news-ticker {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 44px;
  height: 80px;
  padding-left: 113px;
  background: var(--color-white);
  width: 80%;
}
.hero__news-label {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--rc-navy);
  white-space: nowrap;
}
.hero__news-divider {
  display: block;
  width: 1px;
  height: 36px;
  background: var(--rc-navy);
  flex-shrink: 0;
}
.hero__news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}
.hero__news-date {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--rc-navy);
  white-space: nowrap;
}
.hero__news-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--rc-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.hero__news-title:hover { text-decoration: underline; }

/* ===== ABOUT ===== */
.about { background: var(--color-white); }
.about__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  padding-block: 80px;
}
.about__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  flex-shrink: 0;
  max-width: 480px;
}
.about__subheading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.875rem;
  color: var(--rc-navy);
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.about__body {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--coolgray-90);
  line-height: 1.8;
  width: 480px;
}
.about__image-wrap {
  position: relative;
  flex: 1;
  height: 560px;
  max-width: 550px;
}
.about__image-accent {
  position: absolute;
  left: 130px;
  top: 60px;
  right: -24px;
  bottom: -24px;
  background: var(--rc-navy);
  z-index: 0;
}
.about__image-wrap img {
  position: absolute;
  left: 68px;
  top: 0;
  width: calc(100% - 68px - 40px);
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ===== SERVICE ===== */
.service {
  position: relative;
  overflow: hidden;
}
.service__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.service__container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 160px var(--container-px);
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.service__grid {
  display: flex;
  gap: 60px;
}
.service__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.service__card__img-wrap {
  overflow: hidden;
  width: 100%;
  max-height: 320px;
  aspect-ratio: 16/11;
}
.service__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.service__card-ja {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-top: 14px;
  margin-bottom: 4px;
}
.service__card-en {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ===== VALUE / REASON ===== */
.value { background: var(--color-white); }
.value__container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 80px var(--container-px);
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.value__body {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.value__image-wrap {
  width: 380px;
  height: 560px;
  flex-shrink: 0;
  position: relative;
}
.value__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.value__image--active {
  opacity: 1;
}
.value__reasons {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.value__reason {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
}
.value__reason--bordered {
  border-bottom: 1px solid rgba(19,45,127,0.1);
}
.value__reason-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--rc-navy);
  flex-shrink: 0;
}
.value__reason-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.value__reason-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.value__reason-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--rc-navy);
  line-height: 1.5;
}
.value__reason-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--coolgray-90);
  line-height: 1.8;
}

/* ===== CTA (Lead / Footer Inquiry) ===== */
.cta {
  background:
    linear-gradient(0deg, rgba(19,45,127,0.75) 0%, rgba(19,45,127,0.75) 100%),
    url('../images/common/cta-bg.webp') center / cover no-repeat;
}
.cta__container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 60px var(--container-px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
/* フローステップ（参考サイト手法） */
.cta__steps {
  position: relative;
  width: 100%;
  padding-top: 0.9em;
}
.cta__step-nums {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 3;
}
.cta__step-num {
  width: 33.333%;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: 0.06em;
  line-height: 1;
}
.cta__step-list {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  list-style: none;
  width: 100%;
}
.cta__step {
  width: 33.333%;
  padding: 0.85em 0;
  text-align: center;
  position: relative;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--rc-navy);
}
.cta__step::before,
.cta__step::after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  position: absolute;
}
/* 左側の切り込み（背景色と同色で「くぼみ」を作る） */
.cta__step:not(:first-child)::before {
  border: solid 30px transparent;
  border-right: solid 15px transparent;
  border-left: solid 15px #132d6e;
  top: -3px;
  left: 0;
  z-index: 1;
}
/* 右側の矢印（次のステップへ重ねる） */
.cta__step::after {
  border: solid 30px transparent;
  border-right: solid 15px transparent;
  top: -3px;
  right: -28px;
  z-index: 2;
}
/* 各ステップの背景色（参考通り段階的に暗く） */
.cta__step:nth-child(1) { background-color: #e4e7ea; }
.cta__step:nth-child(2) { background-color: #d6dadd; }
.cta__step:nth-child(3) { background-color: #c8cdd1; }
/* 矢印の色 = ステップ自身の背景色 */
.cta__step:nth-child(1)::after { border-left: solid 15px #e4e7ea; }
.cta__step:nth-child(2)::after { border-left: solid 15px #d6dadd; }
/* 3つ目の矢印は overflow:hidden でクリップされる */
.cta__step-arrow { display: none; }
.cta__body {
  display: flex;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding-inline: 40px;
}
.cta__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.cta__phone {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cta__phone-number {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.75rem;
  color: var(--color-white);
  white-space: nowrap;
  line-height: 1.1;
}
.cta__hours {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  text-align: center;
}
.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 51px;
  padding: 12px 20px;
  border: 1px solid var(--color-white);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-white);
  width: 100%;
  background-image: linear-gradient(to right, var(--rc-gold) 50%, var(--rc-navy-light) 50%);
  background-size: 200% 100%;
  background-position: right center;
  background-repeat: no-repeat;
  transition: background-position 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta__btn:hover { background-position: left center; }
.cta__btn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--rc-navy-light);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 30px;
  padding: 3px 12px;
  white-space: nowrap;
}
.cta__right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}
.cta__heading-wrap {
  border-bottom: 2px solid var(--color-white);
  padding-bottom: 10px;
  width: 100%;
}
.cta__heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.9375rem;
  color: var(--color-white);
  line-height: 1.5;
}
.cta__checks {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cta__check-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta__check-item svg { flex-shrink: 0; }
.cta__check-item p {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--color-white);
  line-height: 1.5;
}

/* ===== CASE STUDIES ===== */
.cases {
  position: relative;
  background: var(--color-white);
  min-height: 950px;
  padding-top: 190px;
}
.cases__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.cases__card {
  position: relative;
  z-index: 1;
  width: min(80%, 1300px);
  margin-inline: auto;
  padding: 60px 60px;
  background: var(--color-white);
  border: 2px solid var(--rc-gold);
  box-shadow: 0 4px 20px 4px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 50px;
}
.cases__left {
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex-shrink: 0;
  max-width: 440px;
}
.cases__subheading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.875rem;
  color: var(--rc-navy);
  letter-spacing: 0.03em;
  margin-top: -12px;
}
.cases__body {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--coolgray-90);
  line-height: 1.8;
}
.cases__slider-wrap {
  flex: 1;
  position: relative;
  height: 620px;
  max-width: 630px;
}
.cases__slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.cases__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateX(60px);
}
.cases__slide.is-active {
  opacity: 1;
  transform: translateX(0);
}
.cases__slide.is-leaving {
  opacity: 0;
  transform: translateX(-60px);
}
.cases__slide-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  left: 80px;
}
.cases__slide-image-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.cases__slide-info {
  position: absolute;
  top: 238px;
  left: 0;
  width: calc(100% - 80px);
}
.cases__slide-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  background: var(--rc-gold);
  z-index: 1;
}
.cases__slide-detail {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 50px;
  background: var(--color-white);
  border: 1px solid var(--rc-gold);
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cases__slide-badge {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  background: var(--rc-gold);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cases__slide-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--rc-gold);
  line-height: 1.4;
}
.cases__slide-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--coolgray-90);
  line-height: 1.8;
}
.cases__slide-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start; /* 横幅を内容に合わせる */
  background: transparent;
  color: var(--rc-gold);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--rc-gold);
  border-radius: 2px;
}
.cases__slide-result::before {
  content: "RESULT";
  font-family: var(--font-serif);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: rgba(203,152,49,0.7);
  border-right: 1px solid rgba(203,152,49,0.35);
  padding-right: 10px;
  margin-right: 2px;
}

/* ストレッチドリンク：スライド全体をクリック領域に */
.cases__slide-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* 画像とディテールカードに transition を付与（hover で動かすため） */
.cases__slide-image-wrap img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cases__slide-detail {
  transition:
    box-shadow 0.4s ease,
    transform  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cases__slide-title {
  transition: color 0.3s ease;
}

/* アクティブスライドのみホバー演出 */
.cases__slide.is-active:hover .cases__slide-image-wrap img {
  transform: scale(1.04);
}
.cases__slide.is-active:hover .cases__slide-detail {
  box-shadow: 0 12px 32px rgba(19, 45, 127, 0.18);
  transform: translateY(-3px);
}
.cases__slide.is-active:hover .cases__slide-title {
  color: var(--rc-navy);
}
.cases__nav {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.cases__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cases__nav-btn:hover { background: #b8872a; }

/* ===== NEWS ===== */
.news { background: var(--color-white); }
.news__container {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "heading list"
    "btn     list";
  column-gap: 60px;
  row-gap: 40px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 60px var(--container-px) 100px;
  align-items: start;
}
.news__heading-col {
  grid-area: heading;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news__btn-wrap {
  grid-area: btn;
  display: flex;
  align-items: flex-start;
}
.news__btn { width: 260px; justify-content: space-between; }
.news__list {
  grid-area: list;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.news__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 30px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(19,45,127,0.1);
}
.news__item:last-child { border-bottom: none; }
.news__item:hover .news__item-title { text-decoration: underline; }
.news__item-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.news__item-date {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--rc-navy-light);
}
.news__item-title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--coolgray-90);
  line-height: 1.4;
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: var(--rc-navy);
}
.site-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 70px var(--container-px) 48px;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-right: 60px;
  border-right: 1px solid var(--color-white);
  flex-shrink: 0;
}
.site-footer__logo { height: 64px; width: auto; }
.site-footer__company {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  white-space: nowrap;
}
.site-footer__address {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-white);
  white-space: nowrap;
}
.site-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.site-footer__nav-heading {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-white);
  width: 100%;
}
.site-footer__nav-link {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-white);
  white-space: nowrap;
}
.site-footer__nav-link:hover { text-decoration: underline; }
.site-footer__copyright {
  border-top: 1px solid var(--coolgray-30);
  padding: 24px var(--container-px);
  max-width: var(--container-max);
  margin-inline: auto;
}
.site-footer__copyright p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--color-white);
  text-align: center;
}

/* ===== TABLET (768px – 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --container-px: 40px; }

  /* Header */
  .site-header__inner { gap: 20px; padding: 14px 24px; }
  .site-header.is-scrolled .site-header__inner { padding: 10px 24px; }
  .site-header__nav { gap: 16px; }
  .site-header__nav-link { font-size: 0.8125rem; padding: 8px 4px; }
  .site-header__cta { font-size: 0.8125rem; padding: 0 14px; height: 40px; }

  /* Hero */
  .hero__slider { height: 560px; }
  .hero__copy { top: 140px; left: 60px; gap: 20px; }
  .hero__tagline { font-size: 1.5rem; }
  .hero__headline { font-size: 2.5rem; }
  .hero__news-ticker { padding-left: 60px; gap: 24px; }

  /* Section heading */
  .section-heading__en { font-size: 2.5rem; }
  .section-heading__label { font-size: 1rem; }

  /* About */
  .about__container {
    flex-direction: column;
    gap: 40px;
    padding-block: 60px;
  }
  .about__left { max-width: 100%; }
  .about__body { width: 100%; }
  .about__image-wrap { flex: none; width: 100%; max-width: 100%; height: 320px; }
  .about__image-accent { left: 60px; top: 30px; right: -12px; bottom: -12px; }
  .about__image-wrap img { left: 0; top: 0; width: calc(100% - 24px); height: 100%; }

  /* Service */
  .service__container { padding: 80px 40px; gap: 40px; }
  .service__grid { gap: 30px; }
  .service__card-ja { font-size: 0.875rem; margin-top: 14px; margin-bottom: 4px; }
  .service__card-en { font-size: 1.25rem; }

  /* Value / Reason */
  .value__container { padding: 60px 40px; gap: 40px; }
  .value__body { flex-direction: column; gap: 32px; }
  .value__image-wrap { width: 100%; height: 260px; }
  .value__image { position: absolute; }
  .value__reason { gap: 16px; padding-block: 20px; }
  .value__reason-icon { width: 56px; height: 56px; }
  .value__reason-icon img { width: 28px; height: 28px; }

  /* CTA / Lead inquiry */
  .cta__container { padding: 40px 40px; }
  .cta__body { flex-direction: column; align-items: stretch; gap: 30px; padding-inline: 0; }
  .cta__left { width: 100%; }
  .cta__phone-number { font-size: 2.25rem; }
  .cta__heading { font-size: 1.5rem; }

  /* Cases */
  .cases { padding-top: 120px; min-height: auto; }
  .cases__card { flex-direction: column; width: 90%; padding: 40px 40px; gap: 40px; }
  .cases__left { width: 100%; max-width: 100%; }
  .cases__slider-wrap { flex: none; height: 520px; width: 100%; max-width: 100%; }
  .cases__slider { height: 520px; }
  .cases__slide-detail { right: 40px; padding: 20px 20px; gap: 14px; }
  .cases__nav { top: auto; bottom: 0; right: 0; }

  /* News */
  .news__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 60px 40px;
  }
  .news__list { width: 100%; }
  .news__btn-wrap { width: 100%; justify-content: center; }
  .news__btn { width: auto; min-width: 260px; }

  /* Footer inquiry */
  .footer-inquiry__container { padding: 60px 40px; gap: 40px; }
  .footer-inquiry__inner { flex-direction: column; gap: 32px; align-items: flex-start; }
  .footer-inquiry__title { font-size: 1.5rem; }

  /* Footer */
  .site-footer__inner { padding: 40px 40px; flex-wrap: wrap; gap: 32px; }
  .site-footer__copyright { padding: 20px 40px; }
}

/* ===== SP ===== */
@media (max-width: 767px) {
  :root {
    --container-px: 20px;
  }

  /* Section heading SP */
  .section-heading__en { font-size: 2rem; }
  .section-heading__label { font-size: 1rem; }

  /* Header SP — ロゴは左端、ハンバーガーは右端へきっちり寄せる */
  .site-header__inner { padding: 14px 12px; }
  .site-header.is-scrolled .site-header__inner { padding: 10px 12px; }
  .site-header__nav,
  .site-header__cta { display: none; }
  .site-header__hamburger { display: flex; padding: 8px 4px; /* 右に寄せるため右側 padding を詰める */ }

  /* ===== Drawer SP — スライドダウン + フェード ===== */
  .site-header__drawer {
    display: flex; /* 常に DOM 上は flex。可視はopacity/visibilityで制御 */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 24px 20px 28px;
    background: var(--rc-navy);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity   0.3s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s 0.3s;
  }
  .site-header__drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  /* 各リンクをステアーでフェードイン */
  .site-header__drawer-link {
    opacity: 0;
    transform: translateX(-8px);
    transition:
      opacity   0.35s ease,
      transform 0.35s ease;
    transition-delay: 0s;
  }
  .site-header__drawer.is-open .site-header__drawer-link {
    opacity: 1;
    transform: translateX(0);
  }
  .site-header__drawer.is-open .site-header__drawer-link:nth-child(1) { transition-delay: 0.08s; }
  .site-header__drawer.is-open .site-header__drawer-link:nth-child(2) { transition-delay: 0.12s; }
  .site-header__drawer.is-open .site-header__drawer-link:nth-child(3) { transition-delay: 0.16s; }
  .site-header__drawer.is-open .site-header__drawer-link:nth-child(4) { transition-delay: 0.20s; }
  .site-header__drawer.is-open .site-header__drawer-link:nth-child(5) { transition-delay: 0.24s; }
  .site-header__drawer.is-open .site-header__drawer-link:nth-child(6) { transition-delay: 0.28s; }
  .site-header__drawer.is-open .site-header__drawer-link:nth-child(7) { transition-delay: 0.32s; }

  /* Hero SP */
  .hero__slider { height: 480px; }
  .hero__slides {
    clip-path: none;
    -webkit-clip-path: none;
    width: 100%;
  }
  /* 画像に重なるテキストのため暗めオーバーレイ */
  .hero__slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 70, 0.45);
    z-index: 1;
  }
  .hero__copy { top: auto; bottom: 48px; left: 20px; right: 20px; gap: 12px; z-index: 2; }
  .hero__tagline { font-size: 1rem; }
  .hero__headline { font-size: 1.5rem; }
  .hero__bottom { height: auto; }
  .hero__news-ticker {
    position: static;
    top: auto;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    padding: 16px 20px;
    gap: 12px;
  }
  .hero__news-divider { display: none; }
  .hero__news-item { flex-wrap: wrap; gap: 8px; width: 100%; }
  .hero__news-title { white-space: normal; }

  /* About SP */
  .about__container { flex-direction: column; padding-block: 48px; gap: 32px; }
  .about__text { max-width: 100%; }
  .about__subheading { font-size: 1.375rem; }
  .about__body { width: 100%; }
  .about__image-wrap { flex: none; width: 100%; height: 260px; overflow: hidden; }
  .about__image-accent { left: 50px; top: 24px; right: -12px; bottom: -12px; }
  .about__image-wrap img { left: 0; top: 0; width: calc(100% - 16px); height: 100%; }

  /* Service SP */
  .service__container { padding-block: 56px; gap: 32px; }
  .service__grid { flex-direction: column; gap: 32px; }
  .service__card img { max-height: 220px; }

  /* Value SP */
  .value__body { flex-direction: column; gap: 32px; }
  .value__image-wrap { width: 100%; height: 220px; }
  .value__container { padding-block: 56px; gap: 32px; }
  .value__reason { padding-block: 20px; gap: 16px; }
  .value__reason-title { font-size: 1.0625rem; }

  /* CTA SP */
  .cta__body { flex-direction: column; align-items: stretch; padding-inline: 0; gap: 24px; }
  .cta__step-num { font-size: 0.6875rem; }
  .cta__step { padding: 0.7em 0; font-size: 0.75rem; }
  .cta__step:not(:first-child)::before {
    border: solid 22px transparent;
    border-right: solid 11px transparent;
    border-left: solid 11px #132d6e;
    top: -2px;
  }
  .cta__step::after {
    border: solid 22px transparent;
    border-right: solid 11px transparent;
    top: -2px;
    right: -20px;
  }
  .cta__step:nth-child(1)::after { border-left: solid 11px #e4e7ea; }
  .cta__step:nth-child(2)::after { border-left: solid 11px #d6dadd; }
  .cta__phone-number { font-size: 1.75rem; }
  .cta__heading { font-size: 1.125rem; }
  .cta__left { width: 100%; }

  /* Cases SP — フローレイアウト（縦積み・固定高さなし） */
  .cases { padding-top: 20px; min-height: auto; }
  .cases__bg { display: none; }
  .cases__card { flex-direction: column; width: 100%; margin: 0; padding: 24px 20px; gap: 32px; }
  .cases__left { max-width: 100%; gap: 24px; }
  .cases__subheading { font-size: 1.25rem; margin-top: 0; }

  /* スライダー：高さ auto・フローに切り替え */
  .cases__slider-wrap { flex: none; height: auto; width: 100%; max-width: 100%; }
  .cases__slider { height: auto; overflow: visible; }

  /* スライド：非アクティブを非表示、アクティブを縦積みフロー */
  .cases__slide {
    position: relative;
    display: none;
    flex-direction: column;
    width: 100%;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cases__slide.is-active {
    display: flex;
    opacity: 1;
    transform: none;
  }
  .cases__slide.is-leaving { display: none; }

  /* 画像：フロー、高さ auto */
  .cases__slide-image-wrap {
    position: relative;
    top: auto; left: auto; right: auto;
    width: 100%;
  }
  .cases__slide-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* テキスト情報：フロー、全幅 */
  .cases__slide-info {
    position: relative;
    top: auto; left: auto;
    width: 100%;
  }
  .cases__slide-accent { display: none; }
  .cases__slide-detail {
    position: relative;
    top: auto; left: auto; right: auto;
    padding: 20px 16px;
    gap: 14px;
    border-top: none;
  }

  .cases__slide-badge { white-space: normal; line-height: 1.4; padding: 6px 14px; font-size: 0.8125rem; }
  .cases__slide-title { font-size: 1.0625rem; }
  .cases__slide-desc { font-size: 0.8125rem; }
  .cases__slide-result { font-size: 0.75rem; padding: 5px 10px 5px 8px; }

  /* ナビ：スライダー下に配置 */
  .cases__nav { position: relative; top: auto; right: auto; display: flex; justify-content: flex-end; margin-top: 8px; }

  /* News SP */
  .news__container { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
  .news__list { width: 100%; }
  .news__btn-wrap { width: 100%; justify-content: center; }
  .news__btn { width: auto; min-width: 220px; }
  .news__item-meta { flex-wrap: wrap; }
  .news__item-date { font-size: 0.9375rem; }

  .news__item-title { font-size: 0.9375rem; }

  /* Footer SP */
  .site-footer__inner { flex-direction: column; }
  .site-footer__brand { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 24px; padding-right: 0; width: 100%; }
  .site-footer__address { white-space: normal; text-align: center; }
}

/* ============================================================
   SCROLL REVEAL / MOTION LAYER
   ============================================================ */

/* Base reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Variant: fade in (no translate) */
.reveal--fade {
  transform: none;
}

/* Variant: slide from left */
.reveal--left {
  transform: translateX(-40px);
}
.reveal--left.is-revealed {
  transform: translateX(0);
}

/* Variant: slide from right */
.reveal--right {
  transform: translateX(40px);
}
.reveal--right.is-revealed {
  transform: translateX(0);
}

/* Variant: scale (for images / badges) */
.reveal--scale {
  transform: scale(0.94);
}
.reveal--scale.is-revealed {
  transform: scale(1);
}

/* Staggered children (add .reveal-stagger to parent) */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.20s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.30s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.40s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.50s; }

/* Dash line grow-in (for section-heading__line / sub-section-heading__dash) */
.section-heading__line,
.sub-section-heading__dash {
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.reveal:not(.is-revealed) .section-heading__line,
.reveal:not(.is-revealed) .sub-section-heading__dash {
  transform: scaleX(0);
}
.reveal.is-revealed .section-heading__line,
.reveal.is-revealed .sub-section-heading__dash {
  transform: scaleX(1);
}

/* Big BG english text — slow horizontal drift on reveal */
.sub-bg-text.reveal {
  transform: translateX(-60px);
  transition: opacity 1.4s ease, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.sub-bg-text.reveal.is-revealed {
  transform: translateX(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .section-heading__line,
  .sub-section-heading__dash,
  .hero__slide,
  .hero__slide.is-active {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ============================================================
   HOVER INTERACTIONS
   ============================================================ */

/* Service card hover — image zoom only, no lift */
.service__card__img-wrap {
  overflow: hidden;
}
.service__card__img-wrap img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.service__card:hover .service__card__img-wrap img {
  transform: scale(1.06);
}

/* Pillar card subtle lift */
.mnt-pillar {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.4s ease;
}
.mnt-pillar:hover {
  transform: translateY(-4px);
  background: #fafbfd;
}

/* Scope col gold top highlight on hover */
.mnt-scope__col {
  transition: border-color 0.4s ease;
}
.mnt-scope__col:hover {
  border-top-color: var(--rc-gold);
}

/* Case / news button arrow shift */
.cta__btn svg {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta__btn:hover svg {
  transform: translateX(6px);
}
/* mnt / hr / ab CTA btn svg → common.css に統合 */
.cta__btn:hover .cta__btn-badge {
  color: var(--rc-gold);
  transition: color 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Property row hover */
.mnt-property__row {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mnt-property__row:hover {
  transform: translateX(4px);
  box-shadow: -4px 0 0 0 var(--rc-gold);
}

/* FAQ item hover elevation */
.sub-faq__item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.sub-faq__item:hover {
  border-color: var(--rc-gold);
}

/* Header CTA button hover lift (slide-in is defined on the base rule) */
.site-header__cta:hover {}

/* Nav link underline grow */
.site-header__nav-link {
  position: relative;
}
.site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--rc-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header__nav-link:hover::after,
.site-header__nav-link--current::after {
  transform: scaleX(1);
}
.site-header__nav-link--current {
  color: #fff;
  opacity: 1;
}
/* サービス（ドロップダウン親）がcurrentの場合はテキスト下に線を引く */
.site-header__nav-link--has-dropdown.site-header__nav-link--current {
  box-shadow: 0 2px 0 var(--rc-gold);
}
/* --has-dropdown はシェブロン専用に戻す（アンダーライン規則が上書きするため再定義） */
.site-header__nav-item .site-header__nav-link--has-dropdown::after {
  content: '';
  position: static;
  display: inline-block;
  width: 6px;
  height: 6px;
  background: transparent;
  border-right: 1.5px solid rgba(255,255,255,0.7);
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center center;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.site-header__nav-item:hover .site-header__nav-link--has-dropdown::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* Case studies card hover */
.cases__card {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
}
.cases__card:hover {
  box-shadow: 0 32px 64px -24px rgba(19, 45, 127, 0.25);
}

/* ============================================================
   INITIAL PAGE LOAD ANIMATION (hero copy)
   ============================================================ */
.hero__copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero__copy > *:nth-child(1) { animation-delay: 0.2s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.4s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.6s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.8s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Maintenance page hero copy */
.mnt-hero__container > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.mnt-hero__container > *:nth-child(1) { animation-delay: 0.2s; }
.mnt-hero__container > *:nth-child(2) { animation-delay: 0.35s; }
.mnt-hero__container > *:nth-child(3) { animation-delay: 0.5s; }
.mnt-hero__container > *:nth-child(4) { animation-delay: 0.65s; }
