/* =========================================
   UK ETA — Hero Redesign Sample
   ========================================= */

*,*::before,*::after { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: "Noto Sans JP","Roboto",sans-serif;
  color: #1a1a1a;
  background: #fff;
}

.sp-only { display: none; }
@media (max-width: 768px) {
  .sp-only { display: inline; }
}

/* =============== HERO =============== */
.kv {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1f3f7f;
  min-height: 455px;
}

/* Background image — picture takes care of source switching */
.kv-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.kv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  display: block;
}

/* Subtle gradient overlay — modern editorial darken at bottom for readability */
.kv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,24,70,0) 0%,
    rgba(8,24,70,0) 40%,
    rgba(8,24,70,0.45) 70%,
    rgba(8,24,70,0.72) 100%
  );
  pointer-events: none;
}

.kv-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 56px;
  min-height: 455px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

/* MODERNIZED copy-wrap — glassmorphism instead of rectangular flat box */
.copy-wrap {
  position: relative;
  padding: 28px 32px;
  text-align: right;
  color: #fff;
  background: rgba(15, 36, 86, 0.22);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  box-shadow:
    0 12px 32px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
  max-width: 540px;
}

.eye-catch {
  font-family: "Roboto","Noto Sans JP",sans-serif;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  margin: 0;
}
.eye-catch-main {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.eye-catch-sub {
  font-size: 1.9rem;
  line-height: 1.5;
  margin-bottom: 22px;
  font-weight: 400;
  opacity: 0.95;
}

/* MODERNIZED CTA button */
.kv-btn { display: flex; justify-content: flex-end; }
.btn.btn-apply {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 18px;
  background: linear-gradient(135deg, #e0352c 0%, #c1271f 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  box-shadow:
    0 10px 24px rgba(193,39,31,0.32),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(193,39,31,0.42),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  flex-shrink: 0;
}
.btn-icon svg { width: 24px; height: 24px; color: #fff; }
.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.btn-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn-sub {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.88;
  margin-top: 4px;
}
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: transform .2s ease, background .2s ease;
}
.btn-arrow svg { width: 16px; height: 16px; color: #fff; }
.btn.btn-apply:hover .btn-arrow {
  background: rgba(255,255,255,0.22);
  transform: translateX(3px);
}

/* =============== MOBILE =============== */
@media (max-width: 768px) {
  /* Single full-height hero: composite image (photo fades naturally into deep navy)
     serves as the entire background. Text sits on the dark portion at the bottom,
     blending seamlessly into the photo. */
  .kv {
    min-height: auto;
    display: block;
    aspect-ratio: 1200 / 1500;  /* matches composite image aspect */
  }
  .kv-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .kv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .kv-overlay {
    display: none;  /* composite already has built-in gradient */
  }
  .kv-inner {
    position: absolute;
    inset: 0;
    padding: 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .copy-wrap {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    padding: 0 20px 26px;
    text-align: left;
    background: transparent;     /* no separate band */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .eye-catch-main {
    font-size: 26px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    border-bottom-color: rgba(255,255,255,0.25);
  }
  .eye-catch-sub {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0,0,0,0.55);
  }
  .kv-btn { justify-content: stretch; }
  .btn.btn-apply {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
  }
  .btn-main { font-size: 16px; }
  .btn-sub { font-size: 10.5px; }
  .btn-arrow { margin-left: auto; }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .copy-wrap { max-width: 480px; }
  .eye-catch-main { font-size: 3.6rem; }
  .eye-catch-sub { font-size: 1.6rem; }
}

/* =============== FILLER =============== */
.sec-iconset {
  padding: 40px 20px;
  background: #f7f8fa;
}
.sec-iconset .inner {
  max-width: 1200px;
  margin: 0 auto;
}
.sample-note {
  text-align: center;
  color: #6a6a6a;
  font-size: 13px;
  line-height: 1.8;
  padding: 40px 0;
}
