/* hero-split-slider.css — リッチ&豪華版 (2026 ネイビー×ゴールド リデザイン)
   意匠方針: ネイビー(#11016a)の重厚な地に、ゴールド(#e8cd7d)の細い罫線・文字装飾を効かせる。
   写真は角に金の縁取りフレームを重ね「額装された一枚」のように見せる。
   可読性は常にダーク地×白文字/ゴールド文字で確保し、写真の明るさに依存しない。 */

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2rem);
  padding: clamp(2rem, 6vw, 3rem) clamp(1.25rem, 5vw, 1.75rem) clamp(2.5rem, 7vw, 3.5rem);
  background:
    radial-gradient(ellipse at 15% 15%, color-mix(in srgb, var(--color-primary) 55%, #000) 0%, transparent 55%),
    linear-gradient(150deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 82%, #000) 55%, color-mix(in srgb, var(--color-primary) 70%, #000) 100%);
  overflow: hidden;
}

/* 装飾: 金の極細ライン枠(セクション全体を額装する) */
.hero-split::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 2vw, 18px);
  border: 1px solid rgba(232, 205, 125, 0.35);
  pointer-events: none;
  z-index: 1;
}
/* 装飾: 四隅のゴールドコーナー飾り */
.hero-split::after {
  content: "";
  position: absolute;
  inset: clamp(10px, 2vw, 18px);
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(#e8cd7d, #e8cd7d), linear-gradient(#e8cd7d, #e8cd7d),
    linear-gradient(#e8cd7d, #e8cd7d), linear-gradient(#e8cd7d, #e8cd7d),
    linear-gradient(#e8cd7d, #e8cd7d), linear-gradient(#e8cd7d, #e8cd7d),
    linear-gradient(#e8cd7d, #e8cd7d), linear-gradient(#e8cd7d, #e8cd7d);
  background-repeat: no-repeat;
  background-size: 2px 26px, 26px 2px, 2px 26px, 26px 2px, 2px 26px, 26px 2px, 2px 26px, 26px 2px;
  background-position:
    top left, top left,
    top right, top right,
    bottom left, bottom left,
    bottom right, bottom right;
}

.hero-split-media { position: relative; z-index: 2; min-width: 0; }

.hero-split-media .slider {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.8vw, 1.4rem);
}

/* 写真パネル: 金縁のフレームで「額装」風に。奥に微かな二重の影を落として重厚感を出す */
.hero-split-media .slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(42vh, 360px);
  overflow: hidden;
  border-radius: 6px;
  border: 2px solid rgba(232, 205, 125, 0.75);
  box-shadow:
    0 0 0 6px rgba(232, 205, 125, 0.08),
    0 35px 60px rgba(0, 0, 0, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.35);
}
/* 写真の上に薄いゴールドのトーンを重ね、質感を統一する */
.hero-split-media .slider-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 1, 106, 0.12) 0%, transparent 30%, transparent 70%, rgba(17, 1, 106, 0.35) 100%);
  mix-blend-mode: multiply;
}

.hero-split-media .slider-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
}

.hero-split-media .slider-slide {
  flex: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-split-media .slider-slide:first-child { opacity: 1; }

.hero-split-media .slider-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.03);
}

/* 指標: ゴールドの丸ドット(輪郭は白系、活性時にゴールドで塗る) */
.hero-split-media .slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.6rem, 1vw, 0.85rem);
}
.hero-split-media .slider-dot {
  position: relative;
  width: clamp(9px, 0.85vw, 11px);
  height: clamp(9px, 0.85vw, 11px);
  flex: none;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-split-media .slider-dot::after {
  content: "";
  position: absolute;
  inset-block: -13px;
  inset-inline: -3px;
}
.hero-split-media .slider-dot:hover { border-color: #e8cd7d; }
.hero-split-media .slider-dot.is-active {
  background: #e8cd7d;
  border-color: #e8cd7d;
  box-shadow: 0 0 10px rgba(232, 205, 125, 0.7);
  transform: scale(1.35);
}

/* ══ コピー ══════════════════════════════════════════════════════════════ */
.hero-split-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 0;
  max-width: none;
}

/* eyebrow: ゴールドの文字+両側に細い金線を伸ばす、格式のあるラベル */
.hero-split-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85em;
  margin: 0 0 clamp(1.1rem, 2vw, 1.5rem);
  padding: 0;
  border: none;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.22em;
  color: #e8cd7d;
}
.hero-split-eyebrow::before {
  content: "";
  display: inline-block;
  width: clamp(24px, 3vw, 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8cd7d);
  flex: none;
}

.hero-split-title {
  margin: 0 0 clamp(1.1rem, 2vw, 1.5rem);
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5.4vw, calc(var(--fs-hero-md) * 1.2));
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}
/* 見出し内の改行後の2行目などにゴールドを差せるよう、strong/em にアクセント色を用意 */
.hero-split-title strong,
.hero-split-title em {
  font-style: normal;
  color: #e8cd7d;
}
.hero-split-title-sub {
  display: inline-block;
  font-size: 0.62em;
  font-weight: 600;
}
.hero-split-title-main {
  display: inline-block;
  font-size: 1.25em;
  color: #e8cd7d;
}

.hero-split-lead {
  margin: 0 0 clamp(1.6rem, 2.8vw, 2.2rem);
  max-width: 34em;
  font-size: var(--fs-lead);
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.86);
  text-wrap: pretty;
}

/* CTA群を横並びの帯にまとめる */
.hero-split-copy p:has(> a.btn),
.hero-split-copy p:has(> a[href^="tel:"]) {
  display: inline-block;
  margin: 0 0.85rem 0.85rem 0;
}

/* メインCTA: ゴールドのグラデーションボタン。ネイビー地に映える最も強い要素 */
.hero-split-copy .btn {
  background: linear-gradient(135deg, #f3dfa0 0%, #e8cd7d 45%, #d6b25c 100%);
  color: #11016a;
  border: 1px solid #e8cd7d;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.95rem 2.2rem;
  box-shadow: 0 12px 28px rgba(232, 205, 125, 0.28), 0 2px 6px rgba(0, 0, 0, 0.25);
}
.hero-split-copy .btn:hover {
  background: linear-gradient(135deg, #f7e8b8 0%, #efd98f 45%, #dcb968 100%);
  border-color: #f3dfa0;
  color: #11016a;
  box-shadow: 0 16px 34px rgba(232, 205, 125, 0.4), 0 3px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* 電話リンク: 白抜きの控えめなテキストリンクに、ゴールドの下線 */
.hero-split-copy p > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.15em;
  border-bottom: 1px solid rgba(232, 205, 125, 0.55);
}
.hero-split-copy p > a:not(.btn)::before {
  content: "\260E";
  color: #e8cd7d;
  font-size: 0.95em;
}
.hero-split-copy p > a:not(.btn):hover {
  color: #e8cd7d;
  border-bottom-color: #e8cd7d;
  opacity: 1;
}

/* SCROLL誘導リンクは今回の意匠と重複するため非表示のまま維持 */
.hero-split-scroll { display: none; }

/* ══ PC（769px 以上）═════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  .hero-split {
    grid-template-columns: minmax(0, 54fr) minmax(336px, 46fr);
    gap: clamp(2.5rem, 4.5vw, 5rem);
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4.5vw, 4.5rem);
    min-height: min(62vh, 640px);
  }
  .hero-split-media .slider-viewport {
    aspect-ratio: 3 / 2;
    max-height: min(58vh, 540px);
  }
  .hero-split-title {
    letter-spacing: 0.03em;
  }
}

@supports (container-type: inline-size) {
  .hero-split-copy { container-type: inline-size; }
  .hero-split-title { font-size: clamp(1.9rem, 9cqw, var(--fs-hero-md)); }
}

/* ══ SP（768px 以下）═════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-split::before,
  .hero-split::after { inset: 8px; }
  .hero-split-title {
    font-size: clamp(1.85rem, 7.8vw, 2.5rem);
    letter-spacing: 0.015em;
  }
  .hero-split-lead {
    font-size: var(--fs-body);
    line-height: 1.85;
  }
  .hero-split-lead br { display: none; }
  .hero-split-eyebrow::before { width: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-split-media .slider-slide,
  .hero-split-media .slider-dot { transition: none; }
}
