@charset "UTF-8";
/* ========================================================================== 
   ヒーローセクション
   - 背景：hero_bg.png / SP: hero_bg_sp.png
   - コンテンツ最大幅：1140px
   - セクション最大高：720px
   ========================================================================== */

.wimax-hero-exact {
  position: relative;
  width: 100%;
  height: 720px;
  max-height: 720px;
  overflow: hidden;
  /* background-color: #05070b; */
  background-image: url('../img/hero_bg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  /* background-size: cover; */
}

.wimax-hero-exact-inner {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1140px;
  height: 100%;
  margin: 0 auto;
}

.hero-catch-image,
.hero-product-image,
.hero-cta-image {
  position: absolute;
  z-index: 2;
  display: block;
  margin: 0;
  line-height: 0;
}

.hero-catch-image img,
.hero-product-image img,
.hero-cta-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

/* 左：キャッチコピー */
.hero-catch-image {
  top: 48px;
  left: 0;
  width: 66%;
  transition:0.5s;
  z-index: 2;
}

/* 料金注記 */
.hero-price-note {
  position: absolute;
  top: 514px;
  left: 0;
  z-index: 4;
  width: 66%;
  box-sizing: border-box;
  margin: 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.85);
}

/* 右：商品画像 */
.hero-product-image {
  top: 95px;
  right: 2%;
  width: 39%;
  transition:0.5s;
  z-index: 1;
}

/* 下中央：画像CTA */
.hero-cta-image {
  left: 50%;
  bottom: 6px;
  width: 47%;
  max-width: 540px;
  transform: translateX(-50%);
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.hero-cta-image:hover {
  transform: translateX(-50%) translateY(-3px) scale(1.015);
  filter: brightness(1.08) drop-shadow(0 0 18px rgba(0, 229, 255, 0.42));
}

.hero-cta-image:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* 1140px以下〜スマホ切り替え前：縦幅をやや圧縮し、主要要素の見た目サイズを保つ */
@media (max-width: 1139px) and (min-width: 768px) {
  .wimax-hero-exact {
    height: clamp(450px, 56vw, 620px);
    max-height: 620px;
  }

  .wimax-hero-exact-inner {
    width: calc(100% - 24px);
  }

  .hero-catch-image {
    top: 20px;
    left: 2%;
    width: 61%;
  }

  .hero-price-note {
    display: block;
    visibility: visible;
    opacity: 1;
    top: 71%;
    left: 0;
    bottom: auto;
    width: 70%;
    padding: 0 8px;
    white-space: nowrap;
  }

  .hero-product-image {
    top: 70px;
    right: 3%;
    width: 36%;
  }

  .hero-cta-image {
    bottom: 4px;
    width: 41%;
  }
}

/* ========================================================================== 
   スマホ
   ========================================================================== */
@media (max-width: 767px) {
  .wimax-hero-exact {
    /* height: clamp(660px, 100svh, 700px);
    max-height: 500px; */
    height: calc(108vw + 36px);
    background-image: url('../img/hero_bg_sp.png');
    background-position: center bottom;
    background-size: cover;
  }

  .wimax-hero-exact-inner {
    /* width: calc(100% - 20px); */
  }

  .hero-catch-image {
    /* top: 78px; */
    /* left: 50%; */
    top:18vw;
    left:1%;
    /* width: min(90%, 500px); */
    width:76vw;
    /* transform: translateX(-50%); */
  }

  .hero-price-note {
    top: 66vw;
    left: 3vw;
    bottom: auto;
    width: 80vw;
    padding: 0 2vw;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
  }

  .hero-product-image {
    /* top: 160px; */
    top: calc(35vw + 36px);
    right: 0%;
    width:45vw;
    /* width: min(62%, 320px); */
  }

  .hero-cta-image {
    left: 50%;
    bottom: 2vw;
    /* width: min(94%, 520px); */
    width:80vw;
    max-width: none;
  }

  .hero-cta-image:hover {
    transform: translateX(-50%);
    filter: none;
  }
}

/* @media (max-width: 420px) {
  .hero-catch-image {
    top: 82px;
    width: 96%;
  }

  .hero-product-image {
    top: 330px;
    right: 1%;
    width: 48%;
  }

  .hero-cta-image {
    bottom: 86px;
    width: 96%;
  }
} */

/* ========================================================================== 
   スマホ専用：画面下部固定CTA
   ========================================================================== */
.hero-action-row-sp {
  display: none;
}

@media (max-width: 767px) {
  :root {
    --hero-action-row-sp-height: 72px;
  }

  .hero-action-row-sp {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-height: calc(var(--hero-action-row-sp-height) + env(safe-area-inset-bottom, 0px));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(10, 15, 27, 0.96) 0%, rgba(5, 9, 17, 0.99) 100%);
    border-top: 1px solid rgba(255, 149, 0, 0.42);
    box-shadow:
      0 -8px 24px rgba(0, 0, 0, 0.50),
      0 -1px 14px rgba(255, 111, 0, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .hero-action-row-sp__apply,
  .hero-action-row-sp__detail {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 54px;
    overflow: hidden;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.38),
      0 4px 12px rgba(0, 0, 0, 0.38);
  }

  .hero-action-row-sp__apply::before,
  .hero-action-row-sp__detail::before {
    content: '';
    position: absolute;
    inset: 1px 2px auto;
    height: 42%;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent);
    pointer-events: none;
  }

  .hero-action-row-sp__apply {
    flex: 1.55 1 0;
    flex-direction: column;
    gap: 1px;
    padding: 6px 8px;
    border-radius: 24px;
    background: linear-gradient(135deg, #00c6ff 0%, #008cff 48%, #006cff 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.40),
      inset 0 -2px 0 rgba(0, 49, 139, 0.34),
      0 4px 12px rgba(0, 0, 0, 0.38),
      0 0 14px rgba(0, 166, 255, 0.34);
  }

  .hero-action-row-sp__stock,
  .hero-action-row-sp__apply-text,
  .hero-action-row-sp__detail > * {
    position: relative;
    z-index: 1;
  }

  .hero-action-row-sp__stock {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.01em;
  }

  .hero-action-row-sp__stock strong {
    display: inline-block;
    margin: 0 2px;
    color: #ffdd72;
    font-size: 17px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
  }

  .hero-action-row-sp__apply-text {
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .hero-action-row-sp__detail {
    flex: 1 1 0;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ff9800 0%, #ff7200 48%, #ff4b00 100%);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      inset 0 -2px 0 rgba(143, 38, 0, 0.34),
      0 4px 12px rgba(0, 0, 0, 0.38),
      0 0 14px rgba(255, 100, 0, 0.32);
  }

  .hero-action-row-sp__detail .btn-arrow {
    font-size: 9px;
  }
}

@media (max-width: 380px) {
  .hero-action-row-sp {
    gap: 6px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .hero-action-row-sp__apply {
    flex-grow: 1.7;
    padding-left: 6px;
    padding-right: 6px;
  }

  .hero-action-row-sp__stock {
    font-size: 10px;
  }

  .hero-action-row-sp__stock strong {
    font-size: 16px;
  }

  .hero-action-row-sp__apply-text {
    font-size: 11px;
  }

  .hero-action-row-sp__detail {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 12px;
  }
}
