@charset "UTF-8";

/* =========================
   Base
========================= */

/* 共通ヘッダーのrem基準を変えず、本文のスタイルをこのページ内に限定する。 */
.price-renewal-page {
  --content-width: min(1160px, calc(100% - 64px));
  padding-top: var(--site-header-height, 110px);
  font-size: 16px;
  color: #333;
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  line-height: 1.8;
  background: #ffffff;
}

.price-renewal-page img {
  max-width: 100%;
  height: auto;
}

.price-renewal-page a {
  text-decoration: none;
}

.price-renewal-page .renewal-container {
  width: var(--content-width);
  margin: 0 auto;
  padding: 0;
}


/* =========================
   Hero
========================= */

/* 調整ポイント：高さ340px、白パネル最大1160px、人物幅はPC180px・小さめのPC140px・SP76px。 */
.price-renewal-page .renewal-hero {
  overflow: hidden;
  background: linear-gradient(rgb(255 255 255 / 30%), rgb(255 255 255 / 30%)), #19bafa url("assets/images/fv_background.png") center / cover no-repeat;
  text-align: center;
}

.price-renewal-page .hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1120px;
  min-height: 340px;
  margin: 0 auto;
  padding-top: 30px;
}

.price-renewal-page .hero-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: var(--content-width);
  min-height: 280px;
  padding: 40px 24px 30px;
  border-radius: 40px 40px 0 0;
  background: #fff;
}

.price-renewal-page .hero-label {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: min(420px, calc(100% - 48px));
  height: 60px;
  margin: 0;
  padding: 0;
  text-align: center;
  border-radius: 999px;
  background: #ff1d97;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.price-renewal-page .hero-title {
  position: relative;
  z-index: 1;
  color: #000;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.5;
}

.price-renewal-page .hero-date-line {
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
}

.price-renewal-page .hero-date {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  color: #ff1d97;
  line-height: 1.1;
}

.price-renewal-page .hero-date::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 6px;
  background: #ffe600;
  pointer-events: none;
}

.price-renewal-page .hero-date-number {
  font-size: 1.75em;
  letter-spacing: -0.04em;
}

.price-renewal-page .hero-date-suffix {
  margin-left: 3px;
  font-size: 0.78em;
}

.price-renewal-page .hero-message {
  display: block;
  font-size: 1em;
  letter-spacing: -0.04em;
}

.price-renewal-page .hero-message-end {
  display: inline-block;
}

.price-renewal-page .hero-person {
  position: absolute;
  bottom: 0;
  width: 180px;
  pointer-events: none;
}

.price-renewal-page .hero-person-left {
  left: 0;
}

.price-renewal-page .hero-person-right {
  right: 0;
}

@media (min-width: 769px) {
  .price-renewal-page .hero-stage {
    max-width: none;
  }

  .price-renewal-page .hero-person-left {
    left: max(0px, calc(50% - 700px));
  }

  .price-renewal-page .hero-person-right {
    right: max(0px, calc(50% - 700px));
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .price-renewal-page .hero-person {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .price-renewal-page {
    --content-width: calc(100% - 48px);
  }

  .price-renewal-page .hero-stage {
    min-height: 0;
    padding: 24px 0;
  }

  .price-renewal-page .hero-panel {
    width: var(--content-width);
    min-height: 0;
    padding: 28px 12px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 28px 28px 0 0;
  }

  .price-renewal-page .hero-label {
    position: static;
    left: auto;
    transform: none;
    flex-shrink: 0;
    width: min(280px, 80%);
    height: 36px;
    margin: 0 auto 22px;
    font-size: 18px;
  }

  .price-renewal-page .hero-title {
    font-size: clamp(24px, 6.67vw, 30px);
  }

  .price-renewal-page .hero-date-line {
    margin-bottom: 6px;
  }

  .price-renewal-page .hero-date {
    padding-bottom: 4px;
  }

  .price-renewal-page .hero-date::after {
    bottom: 3px;
    height: 4px;
  }

  .price-renewal-page .hero-person {
    width: 76px;
  }

  .price-renewal-page .hero-person-left {
    left: 8px;
  }

  .price-renewal-page .hero-person-right {
    right: 8px;
  }
}


/* =========================
   Plans
========================= */

/* 端末画像は参考画像の該当範囲を表示。正式な端末素材があれば差し替える。 */
.price-renewal-page .plan-section { padding: 60px 0; background: #4066c5; }
.price-renewal-page .plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-renewal-page .plan-card { overflow: hidden; border-radius: 5px; background: #fff; color: #000; text-align: center; box-shadow: 0 8px 10px #17377740; }
.price-renewal-page .plan-name { display: grid; place-items: center; height: 60px; margin: 0; background: #03245a; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.25; }
.price-renewal-page .plan-body { padding: 24px 24px 32px; }
.price-renewal-page .plan-device { width: 250px; max-width: 100%; aspect-ratio: 250 / 240; margin: 0 auto 13px; background: url("assets/images/plan-reference.png") no-repeat; background-size: 759.2% 287.5%; }
.price-renewal-page .plan-device-purchase { background-position: 27.5485% 31.1111%; }
.price-renewal-page .plan-device-rental { background-position: 50% 31.1111%; }
.price-renewal-page .plan-device-bank { background-position: 72.4515% 31.1111%; }
.price-renewal-page .plan-price { margin: 0 0 20px; font-weight: 700; line-height: 1; white-space: nowrap; }
.price-renewal-page .old-price, .price-renewal-page .new-price { display: flex; align-items: baseline; justify-content: center; }
.price-renewal-page .price-month { font-size: 24px; margin-right: 4px; }
.price-renewal-page .price-number { font-family: "Roboto", sans-serif; font-size: 46px; }
.price-renewal-page .price-unit { position: relative; font-size: 24px; }
.price-renewal-page .price-unit small { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 8px; font-weight: 400; }
.price-renewal-page .new-price .price-month, .price-renewal-page .new-price .price-unit { font-size: 28px; }
.price-renewal-page .new-price .price-number { color: #ff1d97; font-size: 56px; }
.price-renewal-page .old-price .price-number { font-size: 39.1px; }
.price-renewal-page .old-price .price-month,
.price-renewal-page .old-price .price-unit { font-size: 20.4px; }
.price-renewal-page .old-price .price-unit small { font-size: 6.8px; }
.price-renewal-page .arrow { display: block; width: 0; height: 0; margin: 10px auto 8px; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 10px solid #4066c9; }
.price-renewal-page .detail-btn { position: relative; display: block; width: 100%; min-height: 50px; padding: 12px 38px; border: 2px solid #393939; border-radius: 999px; background: #fff; color: #333; font: 700 14px/1.4 "Noto Sans JP", sans-serif; cursor: pointer; }
.price-renewal-page .detail-btn:hover { background: #f1f6ff; }
.price-renewal-page .detail-btn:focus-visible, .price-renewal-page .modal-close:focus-visible { outline: 3px solid #4066c9; outline-offset: 3px; }
.price-renewal-page .detail-icon { position: absolute; right: 20px; top: 50%; width: 15px; height: 15px; border: 2px solid; border-radius: 50%; transform: translateY(-60%); }
.price-renewal-page .detail-icon::before { content: "+"; position: absolute; inset: -2px; font: 700 14px/15px sans-serif; }
.price-renewal-page .detail-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: currentColor; right: -5px; bottom: -2px; transform: rotate(45deg); }
/* 公開サイトのプラン詳細と同じ、黒い項目列の料金表。 */
.price-renewal-page .plan-modal {
  position: fixed;
  inset: 0;
  width: max-content;
  max-width: 80%;
  max-height: 90vh;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow-y: auto;
  background: #fff;
  color: rgb(0 0 0 / 80%);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.price-renewal-page .plan-modal::backdrop { background: rgb(0 0 0 / 60%); }
.price-renewal-page .plan-modal-toolbar { display: flex; justify-content: flex-end; }
.price-renewal-page .modal-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-right: 5px;
  border: 0;
  background: transparent;
  color: #333;
  font: inherit;
  cursor: pointer;
}
.price-renewal-page .plan-table-wrap { padding: 0 20px 20px; }
.price-renewal-page .plan-table-wrap table { width: 100%; border-collapse: collapse; border-left: 1px solid #ddd; border-top: 1px solid #ddd; }
.price-renewal-page .plan-table-wrap th {
  width: 30%;
  padding: 0.5em;
  border-bottom: 1px solid #fff;
  background: #333;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 700;
}
.price-renewal-page .plan-table-wrap td { padding: 0.5em 1em; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; vertical-align: middle; }
.price-renewal-page .plan-table-wrap td .en { font-size: 120%; }
.price-renewal-page .plan-table-wrap .tax_in { font-size: 10px; }
.price-renewal-page .plan-table-wrap .pink { color: #ff1d97; }
.price-renewal-page .plan-table-wrap .note { margin: 0; font-size: 12px; font-weight: 400; }
.price-renewal-page .plan-table-wrap a { color: #4a96ff; text-decoration: underline; }
.price-renewal-page .plan-table-wrap a:focus-visible { outline: 2px solid #4066c9; outline-offset: 2px; }
@media (max-width: 768px) {
  .price-renewal-page .plan-modal { font-size: 14px; }
  .price-renewal-page .plan-table-wrap td { overflow-wrap: anywhere; }
}
html:has(.plan-modal[open]) { overflow: hidden; }

/* 3つのプラン：提供されたPC・SPのモーダル画像に合わせた表示。 */
.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) {
  width: 640px;
  max-width: 80%;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank)::backdrop {
  background: rgb(0 0 0 / 55%);
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .plan-modal-toolbar {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 1;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .modal-close {
  width: 24px;
  height: 30px;
  margin: 0;
  color: #666;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .modal-close:focus-visible {
  outline-offset: -3px;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .plan-table-wrap {
  padding: 24px;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) table {
  table-layout: fixed;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) th {
  font-size: 16px;
  line-height: 1.6;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) td {
  text-align: left;
  font-weight: 700;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .tax_in {
  font-size: 12px;
  font-weight: 400;
}

.price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .note {
  font-size: 14px;
  line-height: 1.3;
  color: #888;
}

@media (max-width: 768px) {
  .price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) {
    width: 80%;
    font-size: 14px;
  }

  .price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .plan-table-wrap {
    padding: 20px;
  }

  .price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) th {
    font-size: 14px;
  }

  .price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .modal-close {
    width: 20px;
    height: 24px;
    font-size: 16px;
  }

  .price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .tax_in {
    font-size: 10px;
  }

  .price-renewal-page :is(#plan-purchase, #plan-rental, #plan-bank) .note {
    font-size: 12px;
  }
}

@media (min-width: 769px) {
  .price-renewal-page :is(#plan-rental, #plan-bank) { width: 576px; }
}

/* PCで増やした横幅はカードと内側の余白に配分する。 */
@media (min-width: 769px) {
  .price-renewal-page .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 372px));
    gap: 22px;
  }

  .price-renewal-page .plan-name {
    height: auto;
    min-height: 0;
    padding: 16px;
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.5;
  }

  .price-renewal-page .plan-body {
    padding: 32px 38px 40px;
  }

  .price-renewal-page .plan-device {
    margin-bottom: 24px;
  }

  .price-renewal-page .plan-price {
    margin-bottom: 28px;
  }
}
@media (min-width: 769px) and (max-width: 1050px) {
  .price-renewal-page .old-price .price-number { font-size: 32.3px; }
  .price-renewal-page .old-price .price-month { font-size: 17px; }
  .price-renewal-page .plan-grid { gap: 12px; }
  .price-renewal-page .plan-name { font-size: 19px; }
  .price-renewal-page .plan-body { padding-inline: 22px; }
  .price-renewal-page .price-number { font-size: 38px; }
  .price-renewal-page .new-price .price-number { font-size: 44px; }
  .price-renewal-page .price-month, .price-renewal-page .new-price .price-month { font-size: 20px; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .price-renewal-page .old-price .price-number { font-size: 27.2px; }
  .price-renewal-page .old-price .price-month,
  .price-renewal-page .old-price .price-unit { font-size: 15.3px; }
  .price-renewal-page .plan-grid { gap: 8px; }
  .price-renewal-page .plan-body { padding-inline: 18px; }
  .price-renewal-page .plan-name { font-size: 16px; }
  .price-renewal-page .price-number { font-size: 32px; }
  .price-renewal-page .new-price .price-number { font-size: 36px; }
  .price-renewal-page .price-month,
  .price-renewal-page .new-price .price-month,
  .price-renewal-page .price-unit,
  .price-renewal-page .new-price .price-unit { font-size: 18px; }
  .price-renewal-page .detail-btn { padding-inline: 10px 30px; font-size: 12px; }
  .price-renewal-page .detail-icon { right: 12px; }
}
@media (max-width: 768px) {
  .price-renewal-page .plan-section { padding: 26px 0; }
  .price-renewal-page .plan-grid { grid-template-columns: minmax(0, 1fr); justify-content: center; gap: 24px; }
  .price-renewal-page .plan-card { box-shadow: none; }
  .price-renewal-page .plan-name { font-size: clamp(20px, 5.64vw, 22px); }

  /* 商品画像・文字の大きさを保ち、縦の余白でカードをコンパクトにする。 */
  .price-renewal-page .plan-body { padding-block: 12px 20px; }
  .price-renewal-page .plan-device { margin-bottom: 8px; }
  .price-renewal-page .plan-price { margin-bottom: 12px; }
  .price-renewal-page .arrow { margin-block: 6px; }
}
@media (max-width: 359px) {
  .price-renewal-page .plan-body { padding-inline: 12px; }
  .price-renewal-page .new-price .price-number { font-size: 48px; }
}


/* =========================
   Notice
========================= */

.price-renewal-page .notice-section {
  background: #f6f6f6;
}

.price-renewal-page .notice-box {
  padding: 50px 0;
}

.price-renewal-page .section-title {
  margin-bottom: 35px;
  text-align: center;
  font-size: 35.2px;
  font-weight: 700;
}

.price-renewal-page .notice-text {
  max-width: 900px;
  margin: 0 auto;
}

.price-renewal-page .notice-text p {
  text-align: center;
  margin-bottom: 12px;
}

.price-renewal-page .notice-text .notice-highlight {
  color: #ff1d97;
}

.price-renewal-page .notice-highlight-line {
  display: inline;
}

.price-renewal-page .notice-keep-together {
  white-space: nowrap;
}

/* 強調文も共通のコンテンツ幅の中で折り返す。 */
@media (min-width: 769px) {
  .price-renewal-page .notice-text {
    max-width: none;
  }

  .price-renewal-page .notice-text .notice-highlight {
    font-size: clamp(11px, 1.4vw, 16px);
    white-space: normal;
  }
}

.price-renewal-page .notice-text p:last-child {
  margin-bottom: 0;
}


/* =========================
   FAQ
========================= */

/* 5g-connect.net のFAQに合わせた共通デザイン。 */
.price-renewal-page .faq-section {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.price-renewal-page .faq-container {
  width: var(--content-width);
  margin: 0 auto;
  padding: 4rem 0;
}

.price-renewal-page .faq-title {
  margin: 0 0 1em;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.price-renewal-page .faq-title-main {
  letter-spacing: 0.05em;
}

.price-renewal-page .faq-title-sub {
  display: block;
  margin-top: 1.2em;
  color: #4a96ff;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
}

.price-renewal-page .faq-item + .faq-item {
  margin-top: 0.5rem;
}

.price-renewal-page .faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  background: #f1f6ff;
  padding: 1em 2.2em;
  line-height: 1.2;
  font-weight: 500;
}

.price-renewal-page .faq-item summary::-webkit-details-marker {
  display: none;
}

.price-renewal-page .faq-item summary::before,
.price-renewal-page .faq-item summary::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.price-renewal-page .faq-item summary::before {
  content: "Q";
  left: 1rem;
  color: #4066c9;
  font-family: "Roboto", sans-serif;
  font-size: 114%;
}

.price-renewal-page .faq-item summary::after {
  content: "";
  right: 1em;
  width: 0.85em;
  height: 0.85em;
  background: url("assets/images/down_arrow_blue.svg") no-repeat center / contain;
}

.price-renewal-page .faq-item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.price-renewal-page .faq-item summary:focus-visible {
  outline: 2px solid #4066c9;
  outline-offset: 2px;
}

.price-renewal-page .faq-answer {
  background: #f1f6ff;
  border-top: 1px solid #fff;
  padding: 2rem;
  font-weight: 400;
}

@media (min-width: 750px) {
  .price-renewal-page .faq-section {
    font-size: 1.6rem;
  }

  .price-renewal-page .faq-container {
    padding: 6rem 0 12rem;
  }

  .price-renewal-page .faq-title {
    font-size: 3.2rem;
  }

  .price-renewal-page .faq-title-sub {
    font-size: 1.4rem;
  }

  .price-renewal-page .faq-answer {
    padding: 2rem 2rem 2.5rem;
  }
}


/* =========================
   Tablet
========================= */

@media (max-width: 1024px) {



}


/* =========================
   SP
========================= */

@media (max-width: 768px) {








  .price-renewal-page .notice-box {
    padding: 40px 0;
  }

  .price-renewal-page .section-title {
    font-size: clamp(20px, 5.64vw, 22px);
    margin-bottom: 20px;
  }

  .price-renewal-page .faq-title,
  .price-renewal-page .plan-modal h2 {
    font-size: clamp(20px, 5.64vw, 22px);
  }

  .price-renewal-page .notice-text p {
    text-align: left;
    font-size: 15.2px;
  }

  .price-renewal-page .notice-title-break {
    display: block;
  }

  .price-renewal-page .notice-text .notice-highlight {
    letter-spacing: -0.025em;
    text-wrap: pretty;
  }

}


/* =========================
   Small SP
========================= */

@media (max-width: 480px) {



}
