/* ============================================================
   トップページ
   ============================================================ */

.page-home .main-content {
  min-height: 0;
}

.page-home section[id],
.page-home .quick-flow {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.home-sec-head {
  text-align: center;
  margin-bottom: 32px;
}

.home-sec-head__en {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.home-sec-head__en::before,
.home-sec-head__en::after {
  content: '─';
  margin: 0 8px;
  letter-spacing: 0;
  color: var(--color-orange);
}

.home-sec-head__title {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.45;
  margin-bottom: 12px;
}

.home-sec-head__hl {
  position: relative;
  display: inline-block;
  background: none;
  padding: 0;
  z-index: 0;
}

.home-sec-head__hl::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.38em;
  background: #fff3b0;
  z-index: -1;
  pointer-events: none;
}

.home-sec-head__lead {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 36em;
  margin: 0 auto;
}

.home-price .home-sec-head__lead span {
  display: block;
}

/* ---- 01 メインビジュアル ---- */

.home-mv {
  position: relative;
  color: var(--color-white);
  background: var(--color-navy);
  padding: 48px 0 40px;
  overflow: hidden;
}

.home-mv::before,
.home-mv::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.home-mv::before {
  top: -35%;
  left: -28%;
  width: 85%;
  height: 170%;
  background: radial-gradient(
    ellipse 70% 55% at 40% 35%,
    rgba(170, 210, 255, 0.18) 0%,
    rgba(90, 150, 230, 0.08) 42%,
    transparent 72%
  );
}

.home-mv::after {
  top: -55%;
  left: -8%;
  width: 46%;
  height: 230%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 32%,
    rgba(180, 215, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.04) 68%,
    transparent 100%
  );
  transform: rotate(28deg);
  transform-origin: center;
}

.home-mv__glow--right {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.home-mv__glow--right::after {
  content: '';
  position: absolute;
  top: -55%;
  left: 38%;
  width: 46%;
  height: 230%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 32%,
    rgba(180, 215, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.04) 68%,
    transparent 100%
  );
  transform: rotate(28deg);
  transform-origin: center;
}

.home-mv .container {
  position: relative;
  z-index: 1;
}

.home-mv__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px 40px;
  align-items: start;
}

.home-mv__copy {
  padding-top: 8px;
}

.home-mv__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-mv__badge {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.home-mv__accent {
  color: var(--color-yellow);
}

.home-mv__name {
  color: #6ec8ff;
}

.home-mv__sep {
  margin: 0 1.15em;
  font-weight: 500;
  opacity: 0.85;
}

.home-mv__title {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}

.home-mv__lead {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
}

.home-mv .btn-line--hero {
  width: min(100%, 420px);
  max-width: 100%;
  padding: 16px 22px;
  font-size: 1.05rem;
  gap: 10px;
}

.home-mv .btn-line--hero .btn-line__icon,
.home-mv .btn-line--hero .btn-line__arrow {
  width: 26px;
  height: 26px;
}

.home-mv__fee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  margin: 10px 0 0;
  padding: 10px 16px;
  background: rgba(0, 26, 67, 0.5);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-white);
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.home-mv__fee strong {
  color: var(--color-yellow);
  font-size: 1em;
  font-weight: 800;
  -webkit-text-stroke: 0;
  margin-left: 0.45em;
}

.home-mv__usps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-mv__usp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: 14px;
  padding: 8px 16px;
}

.home-mv__usp-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.home-mv__usp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-mv__usp-text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  white-space: nowrap;
  line-height: 1.2;
}

.home-mv__usp-kicker {
  font-size: 1.15rem;
  font-weight: 800;
}

.home-mv__usp-strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.home-rank {
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: 20px;
  padding: 22px 24px 18px;
  box-shadow: var(--shadow-lg);
}

.home-rank__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.home-rank__badge {
  flex-shrink: 0;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  border-radius: 8px;
  line-height: 1.2;
}

.home-rank__title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-rank__meta {
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.home-rank__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-rank__item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.home-rank__list li:first-child .home-rank__item {
  padding-top: 4px;
}

.home-rank__place {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-white);
}

.home-rank__place--1 { background: #f5a524; }
.home-rank__place--2 { background: #c5cdd8; }
.home-rank__place--3 { background: #d7a06a; }

.home-rank__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-rank__name {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.home-rank__spec {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.home-rank__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-price);
  white-space: nowrap;
}

.home-rank__price .price-yen {
  font-size: 0.7em;
}

.home-rank__empty {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: 12px 0;
}

.home-rank__more {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-navy);
}

.home-rank__more::after {
  content: ' ›';
}

/* ---- 02 価格表 ---- */

.home-price {
  padding: 64px 0 56px;
  background: var(--color-white);
}

.home-price__asof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 16px;
  border: 1px solid #d7e4f5;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy);
}

.home-price__asof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.home-price__empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 24px 0;
}

.price-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 28px;
}

.price-tab {
  appearance: none;
  border: 1px solid #d5deea;
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.price-tab.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 14px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid #d9e2ef;
  border-radius: 18px;
  padding: 22px 20px 20px;
  min-height: 100%;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.price-card:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.price-card.is-hidden {
  display: none;
}

.price-card__popular {
  position: absolute;
  top: 0;
  left: 14px;
  z-index: 2;
  transform: translateY(-50%);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.price-card__image {
  aspect-ratio: 3 / 4;
  max-height: 220px;
  margin: 8px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-card__image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.price-card__noimg {
  color: var(--color-text-light);
  font-size: 0.82rem;
}

.price-card__name {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.35;
}

.price-card__storage {
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.price-card__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 12px;
  padding: 10px 14px;
  background: #fff3e8;
  border-radius: 10px;
  color: var(--color-price);
  font-size: 1.45rem;
  font-weight: 800;
}

.price-card__max {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-navy);
}

.price-card__contact {
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.price-card__price .price-yen {
  font-size: 0.6em;
}

.price-card__btn {
  display: block;
  text-align: center;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 0.88rem;
  font-weight: 800;
  margin-top: auto;
}

.price-card__btn::after {
  content: ' ›';
}

.price-card--more {
  appearance: none;
  width: 100%;
  border: 0;
  background: #eaf2fb;
  color: var(--color-navy);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  cursor: pointer;
  min-height: 320px;
}

.price-card--more:hover {
  border-color: transparent;
  background: #dceaf8;
}

.price-card--more.is-hidden {
  display: none;
}

.price-card--more__series {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.6;
}

.price-card--more__link {
  font-size: 0.9rem;
  font-weight: 800;
}

.price-card--more__link::after {
  content: ' ›';
}

/* ---- 06 METHOD ---- */

.home-method {
  padding: 64px 0;
  background: var(--color-white);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.method-card {
  border: 1px solid #d9e2ef;
  border-radius: 18px;
  padding: 28px 26px 24px;
}

.method-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.method-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-navy);
  color: var(--color-white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.method-card__icon svg {
  width: 24px;
  height: 24px;
}

.method-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.3;
}

.method-card__sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.method-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.method-card__list li {
  position: relative;
  padding-left: 1.4em;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.55;
}

.method-card__list li::before {
  content: '';
  position: absolute;
  left: 0.2em;
  top: 0.35em;
  width: 6px;
  height: 11px;
  border: solid #22c55e;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.method-card__for {
  background: #eef5fc;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-navy);
}

/* ---- 07 CONDITION ---- */

.home-condition {
  padding: 64px 0;
  background: #eef5fc;
}

.cond-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cond-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
}

.cond-chip__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  position: relative;
}

.cond-chip__check::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.cond-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- 09 COLUMN ---- */

.home-column {
  padding: 64px 0;
  background: #F8F9F0;
}

.column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.column-card {
  display: flex;
  gap: 14px;
  background: var(--color-white);
  border-radius: 16px;
  padding: 22px 22px 20px;
  box-shadow: 0 8px 22px rgba(0, 26, 67, 0.08);
}

.column-card__num {
  flex-shrink: 0;
  font-size: 2.15rem;
  font-weight: 800;
  color: #eef5fc;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.column-card__title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
  line-height: 1.4;
}

.column-card__text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .home-mv__inner {
    grid-template-columns: 1fr;
  }

  .home-mv .btn-line--hero,
  .home-mv__fee {
    width: 100%;
    max-width: 420px;
  }

  .home-mv__cta {
    align-items: stretch;
  }

  .price-grid,
  .cond-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-mv {
    padding: 28px 0 24px;
    background-image: none;
  }

  .home-mv__title {
    font-size: 1.7rem;
  }

  .home-mv__usps,
  .method-grid,
  .column-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .cond-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-price,
  .home-method,
  .home-condition,
  .home-column {
    padding: 48px 0;
  }

  .price-card__image {
    max-height: 180px;
  }

  .price-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .price-tab {
    flex: 0 0 auto;
  }

  .home-rank {
    padding: 18px 16px 14px;
  }

  /* MV の LINE ボタンを1行に収める */
  .home-mv .btn-line--hero {
    padding: 14px 14px;
    font-size: clamp(0.8rem, 3.6vw, 1.05rem);
    gap: 8px;
    white-space: nowrap;
  }

  .home-mv .btn-line--hero .btn-line__icon {
    width: 24px;
    height: 24px;
  }

  .home-mv .btn-line--hero .btn-line__arrow {
    width: 20px;
    height: 20px;
    margin-left: -2px;
  }
}
