@charset "UTF-8";
/* ==========================================================
   大学生向けプレミアムWi-Fiルーター 申し込みLPブロック
   - 商品説明（#detailArea）内に差し込む前提
   - すべて .pgl 配下に限定。既存サイトの要素には影響しません
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@800&family=Montserrat:wght@600;800&display=swap');

.pgl {
  --bg: #FFFFFF;
  --bg-champagne: #F8F2E7;
  --gold-light: #E3CFA4;
  --gold: #A67C3D;
  --brown: #7A5528;
  --brown-deep: #4E3416;
  --text: #3B2D1F;
  --text-sub: #7A6D60;
  --accent: #B3245C;
  --gold-grad: linear-gradient(180deg, #A67C3D 0%, #6B4720 55%, #9A7238 100%);
  --gold-grad-h: linear-gradient(90deg, #8C6430 0%, #6B4720 50%, #9A7238 100%);
  --mincho: 'Shippori Mincho B1', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --gothic: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --num: 'Montserrat', 'Noto Sans JP', sans-serif;

  position: relative;
  overflow: hidden;
  color: var(--text);
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  background: var(--bg);
}
.pgl *, .pgl *::before, .pgl *::after { box-sizing: border-box; }
/* 既存サイト（Bootstrap / EC-CUBE）の要素スタイルを打ち消す。
   色や太さは :where() で詳細度0にし、各パーツのクラス指定が必ず勝つようにする */
.pgl :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table) {
  margin: 0; padding: 0; font-weight: inherit; line-height: inherit; color: inherit;
}
.pgl :where(ul, ol) { list-style: none; }
.pgl img { display: block; max-width: 100%; height: auto; }

.pgl-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ---------- 背景装飾（ゴールドのボケ） ---------- */
.pgl-products {
  position: relative;
  background: linear-gradient(180deg, #FBF7F0 0%, var(--bg-champagne) 100%);
}
.pgl-hero {
  position: relative;
  background:
    radial-gradient(circle at 8% 14%, rgba(227,207,164,.55) 0, rgba(227,207,164,0) 70px),
    radial-gradient(circle at 92% 8%, rgba(227,207,164,.45) 0, rgba(227,207,164,0) 110px),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 90px),
    radial-gradient(circle at 15% 78%, rgba(227,207,164,.35) 0, rgba(227,207,164,0) 130px),
    linear-gradient(180deg, #FBF7F0 0%, var(--bg-champagne) 100%);
}
.pgl-ribbon {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ---------- ヒーロー ---------- */
.pgl-hero { padding: 92px 0 28px; text-align: center; }
.pgl-hero__carrier {
  position: absolute; top: 0; right: 16px; z-index: 2;
  width: 78px; padding: 10px 4px 12px;
  background: var(--gold-grad);
  color: #fff; font-weight: 700; font-size: 12px; line-height: 1.35; text-align: center;
  box-shadow: 0 2px 6px rgba(78,52,22,.2);
}
.pgl-hero__title {
  font-family: var(--mincho);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .02em;
}
.pgl-hero__title span {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.pgl-hero__s { font-size: 19px; }
.pgl-hero__l { font-size: 40px; }
.pgl-hero__xl { display: block; font-size: 38px; margin-top: 2px; white-space: nowrap; }
.pgl-hero__sub {
  display: inline-block; margin-top: 18px;
  color: var(--brown); font-weight: 700; font-size: 18px; letter-spacing: .08em;
}

/* ---------- 商品カード ---------- */
.pgl-products { padding: 8px 0 40px; }
.pgl-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pgl-card {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(78,52,22,.12);
  padding: 0 16px 18px;
}
.pgl-card__label {
  position: absolute; top: -1px; left: -1px; z-index: 2;
  padding: 10px 12px;
  background: var(--gold-grad);
  color: #fff; font-weight: 700; font-size: 15px; line-height: 1.3; letter-spacing: .1em;
  border-radius: 8px 0 0 0;
}
.pgl-card__badges {
  position: absolute; top: 14px; right: 12px; z-index: 2;
  display: flex; flex-direction: column; gap: 6px;
}
.pgl-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 13px; line-height: 1.15; text-align: center;
  box-shadow: 0 3px 8px rgba(78,52,22,.18);
}
.pgl-badge small { font-size: 9px; font-weight: 500; }
.pgl-badge--purple { background: linear-gradient(135deg, #C690CA 0%, #9B4FA0 50%, #7D3A82 100%); }
.pgl-badge--blue   { background: linear-gradient(135deg, #86B6DC 0%, #3E7FB5 50%, #2E6595 100%); }
.pgl-badge--olive  { background: linear-gradient(135deg, #C2D07D 0%, #8FA040 50%, #6F7F2C 100%); }
.pgl-badge--wine   { background: linear-gradient(135deg, #DD7E9E 0%, #B53A62 50%, #922B4D 100%); }

.pgl-card__photo {
  height: 210px; margin: 0 -16px 14px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 55%, #FFFFFF 0%, rgba(248,242,231,.9) 70%, rgba(248,242,231,0) 100%);
  border-radius: 8px 8px 0 0;
}
.pgl-card__photo img {
  max-height: 180px; width: auto;
  filter: drop-shadow(0 6px 10px rgba(78,52,22,.22));
}
.pgl-card__photo.pgl-card__photo--stick img { max-height: 88px; }  /* 横長端末は一回り小さく */

.pgl-card__catch { color: var(--brown); font-weight: 700; font-size: 15px; }
.pgl-card__name {
  font-family: var(--num); font-weight: 800; font-size: 34px; line-height: 1.1;
  color: var(--brown-deep); letter-spacing: .01em; margin: 2px 0 10px;
}
.pgl-checks { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 14px; }
.pgl-checks li {
  position: relative; padding-left: 22px;
  font-size: 13px; font-weight: 700; color: var(--text);
}
.pgl-checks li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 15px; height: 15px; border: 1.5px solid var(--gold); border-radius: 2px; background: #fff;
}
.pgl-checks li::after {
  content: ""; position: absolute; left: 4px; top: calc(.28em + 2px);
  width: 8px; height: 5px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.pgl-checks small { display: block; font-size: 11px; font-weight: 500; color: var(--text-sub); }
.pgl sup { font-size: 10px; font-weight: 500; vertical-align: super; line-height: 0; color: var(--text-sub); }

/* 価格ボックス */
.pgl-price {
  margin-top: auto;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: #fff;
  padding: 8px 8px 12px;
  text-align: center;
}
.pgl-price__band {
  background: var(--gold-grad-h);
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .06em;
  padding: 5px 8px; border-radius: 2px;
}
.pgl-price__band sup { color: #fff; }
.pgl-price__band b { font-family: var(--num); font-size: 20px; font-weight: 800; letter-spacing: 0; }
.pgl-price__note { margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--brown-deep); }
.pgl-price__note b { font-family: var(--num); font-size: 19px; }
.pgl-price__row { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin-top: 4px; }
.pgl-price__main { display: inline-flex; align-items: flex-end; line-height: 1; }
.pgl-price__num {
  font-family: var(--num); font-weight: 800; font-size: 50px; letter-spacing: -.01em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 2px;
}
.pgl-price__unit { display: flex; flex-direction: column; align-items: flex-start; margin-left: 2px; }
.pgl-price__tax { font-size: 11px; font-weight: 700; color: var(--brown-deep); margin-bottom: 2px; }
.pgl-price__yen { font-size: 25px; font-weight: 900; color: var(--brown-deep); line-height: 1; padding-bottom: 6px; }
.pgl-price__aside { font-size: 10px; line-height: 1.4; color: var(--text-sub); text-align: left; padding-bottom: 8px; }

.pgl-spec { margin-top: 12px; font-size: 11px; line-height: 1.6; color: var(--text-sub); }
.pgl-spec dt { font-weight: 700; color: var(--brown); }

.pgl-notes { margin-top: 18px; font-size: 11px; line-height: 1.6; color: var(--text-sub); }
.pgl-notes li { padding-left: 2.2em; text-indent: -2.2em; }

/* ---------- セクション見出し（2段） ---------- */
.pgl-section { padding: 44px 0; background: var(--bg); }
.pgl-head { text-align: center; margin-bottom: 24px; }
.pgl-head__lead {
  display: flex; align-items: center; gap: 12px;
  color: var(--brown); font-weight: 700; font-size: 14px; letter-spacing: .06em;
}
.pgl-head__lead::before, .pgl-head__lead::after {
  content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(166,124,61,0), var(--gold));
}
.pgl-head__lead::after { background: linear-gradient(90deg, var(--gold), rgba(166,124,61,0)); }
.pgl-head__title {
  margin-top: 6px;
  font-weight: 900; font-size: 24px; line-height: 1.35; letter-spacing: .04em;
  color: var(--brown-deep);
}

/* ---------- 比較表 ---------- */
.pgl-compare { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pgl-compare th, .pgl-compare td {
  padding: 12px 2px; text-align: center; vertical-align: middle;
  border-bottom: 1px solid #EEE4D3; font-size: 12px; line-height: 1.4;
  word-break: keep-all; overflow-wrap: anywhere;
}
.pgl-compare thead th {
  font-family: var(--num); font-weight: 800; font-size: 13px; color: var(--brown-deep);
  border-bottom: 2px solid var(--gold); padding-bottom: 10px;
}
.pgl-compare tr > *:not(:first-child) { border-left: 1px solid #E8DCC6; }
.pgl-compare tbody th { width: 27%; font-weight: 700; color: var(--brown); font-size: 12px; }
.pgl-compare thead th:first-child { width: 27%; }
.pgl-mark { display: block; font-size: 20px; line-height: 1.1; color: var(--gold); font-weight: 700; }
.pgl-mark--x { color: #B9A88F; }

/* ---------- こんな人におすすめ ---------- */
.pgl-reco {
  position: relative;
  background: var(--bg-champagne);
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  padding: 8px 14px;
}
.pgl-reco__col {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; align-items: center;
  padding: 16px 0;
}
.pgl-reco__col li { font-size: 14px; }
.pgl-reco__col > :not(.pgl-reco__img) { grid-column: 2; }
.pgl-reco__img {
  grid-column: 1; grid-row: 1 / span 2;
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-height: 96px; margin: 0;
}
.pgl-reco__img img { max-width: 100%; max-height: 92px; width: auto; filter: drop-shadow(0 4px 6px rgba(78,52,22,.18)); }
.pgl-reco__col + .pgl-reco__col { border-top: 1px dashed var(--gold); }
.pgl-reco__name {
  display: inline-block; margin-bottom: 8px;
  font-family: var(--num); font-weight: 800; font-size: 18px; color: var(--brown-deep);
}
.pgl-reco li {
  position: relative; padding-left: 1.5em;
  font-weight: 700; font-size: 15px; line-height: 1.5; color: var(--text);
}
.pgl-reco li + li { margin-top: 8px; }
.pgl-reco li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: .95em; height: .95em; border: 2px solid var(--gold); border-radius: 50%;
}

/* ---------- フォーカス・モーション ---------- */
.pgl a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- PC ---------- */
@media only screen and (min-width: 768px) {
  .pgl { font-size: 16px; }
  .pgl-inner { padding: 0 24px; }
  .pgl-hero { padding: 64px 0 40px; }
  .pgl-hero__xl { white-space: normal; }
  .pgl-hero__carrier { right: max(24px, calc((100% - 1080px) / 2 + 24px)); width: 96px; font-size: 15px; padding: 14px 6px 16px; }
  .pgl-hero__s { font-size: 34px; }
  .pgl-hero__l { font-size: 64px; }
  .pgl-hero__xl { display: inline; font-size: 72px; margin-top: 0; }
  .pgl-hero__sub { font-size: 24px; margin-top: 22px; }

  .pgl-products { padding: 12px 0 56px; }
  .pgl-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pgl-card__photo { height: 240px; }
  .pgl-card__photo img { max-height: 200px; }
  .pgl-card__photo.pgl-card__photo--stick img { max-height: none; width: 80%; }
  .pgl-card__name { font-size: 36px; }
  .pgl-price__num { font-size: 48px; }

  .pgl-section { padding: 64px 0; }
  .pgl-head__lead { font-size: 16px; max-width: 640px; margin: 0 auto; }
  .pgl-head__title { font-size: 32px; }
  .pgl-head { margin-bottom: 32px; }

  .pgl-compare { max-width: 880px; margin: 0 auto; }
  .pgl-compare th, .pgl-compare td { font-size: 14px; padding: 16px 8px; }
  .pgl-compare thead th { font-size: 20px; }
  .pgl-compare tbody th { font-size: 15px; }
  .pgl-mark { font-size: 24px; }

  .pgl-reco { display: grid; grid-template-columns: repeat(3, 1fr); padding: 28px 0; }
  .pgl-reco__col { display: block; padding: 0 28px; }
  .pgl-reco__col li { font-size: 15px; }
  .pgl-reco__img { display: none; }
  .pgl-reco__col + .pgl-reco__col { border-top: none; border-left: 1px dashed var(--gold); }
  .pgl-reco__name { font-size: 20px; margin-bottom: 12px; }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .pgl-price__num { font-size: 38px; }
  .pgl-price__yen { font-size: 20px; }
  .pgl-price__row { flex-direction: column; align-items: center; gap: 2px; }
  .pgl-card__name { font-size: 30px; }
  .pgl-hero__l { font-size: 52px; }
  .pgl-hero__xl { display: block; }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .pgl-card__catch { font-size: 13px; }
}

/* ==========================================================
   地域選択ページ キービジュアル（.pgl-kv）
   既存のプルダウン・「申込みサイトへ移動する」ボタンの上に置く
   ========================================================== */
.pgl-kv__stage {
  position: relative;
  padding: 36px 0 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 50%),
    #FFFFFF url(../images/hero-bg-sp.webp) center bottom / cover no-repeat;
}
@media only screen and (min-width: 768px) {
  .pgl-kv__stage {
    background:
      radial-gradient(ellipse 40% 60% at 50% 40%, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 100%),
      #FFFFFF url(../images/hero-bg.webp) center bottom / cover no-repeat;
  }
}
.pgl-kv__stage > .pgl-inner { position: relative; z-index: 1; }
.pgl-kv__copy { text-align: center; }
.pgl-kv__tags { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pgl-kv__tag {
  display: inline-block; padding: 4px 12px;
  background: var(--gold-grad-h);
  color: #fff; font-weight: 700; font-size: 15px; line-height: 1.4; letter-spacing: .04em;
}
.pgl-kv__title {
  margin-top: 14px;
  font-family: var(--mincho); font-weight: 800;
  font-size: 44px; line-height: 1.2; letter-spacing: .04em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pgl-kv__year {
  display: inline-flex; align-items: baseline; gap: 2px;
  margin-top: 12px; padding: 2px 14px;
  border: 1.5px solid var(--gold); background: #fff; color: var(--brown-deep);
}
.pgl-kv__year b { font-family: var(--num); font-weight: 800; font-size: 26px; line-height: 1.3; }
.pgl-kv__year span { font-weight: 700; font-size: 15px; }

.pgl-kv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "copy copy" "zero home";
  align-items: end; gap: 24px 16px;
}
.pgl-kv__copy { grid-area: copy; }
.pgl-kv__dev--zero { grid-area: zero; }
.pgl-kv__dev--home { grid-area: home; }
.pgl-kv__dev { text-align: center; }
.pgl-kv__dev img { margin: 0 auto; width: auto; filter: drop-shadow(0 8px 12px rgba(78,52,22,.22)); }
.pgl-kv__dev--zero img { max-height: 150px; }
.pgl-kv__dev--home img { max-height: 190px; }
.pgl-kv__devname {
  margin-top: 8px;
  font-family: var(--num); font-weight: 800; font-size: 15px; color: var(--brown-deep);
}
.pgl .pgl-br-pc { display: none; }

.pgl-kv__band {
  background: var(--gold-grad-h);
  color: #fff; text-align: center;
  font-weight: 700; font-size: 14px; letter-spacing: .06em; line-height: 1.5;
  padding: 12px 16px;
}

@media only screen and (min-width: 768px) {
  .pgl-kv__stage { padding: 52px 0 44px; }
  .pgl-kv__tag { font-size: 20px; padding: 4px 16px; }
  .pgl-kv__title { font-size: 76px; margin-top: 18px; }
  .pgl-kv__year b { font-size: 34px; }
  .pgl-kv__year span { font-size: 18px; }
  .pgl-kv__grid {
    grid-template-columns: 1fr 1.8fr 1fr;
    grid-template-areas: "zero copy home";
    align-items: center; gap: 24px;
  }
  .pgl .pgl-br-pc { display: inline; }
  .pgl-kv__dev--zero img { max-height: 250px; }
  .pgl-kv__dev--home img { max-height: 320px; }
  .pgl-kv__devname { font-size: 18px; margin-top: 12px; }
  .pgl-kv__band { font-size: 20px; padding: 16px; }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .pgl-kv__title { font-size: 58px; }
  .pgl-kv__tag { font-size: 16px; }
}

/* ==========================================================
   故障安心サービス（.pgl-kosho）
   既存の <div class="koshoanshinBanner"> 内の画像と差し替え
   ブロック全体が「故障安心サービスについて」ページへのリンク
   ========================================================== */
.pgl .pgl-kosho {
  display: block;
  position: relative;
  max-width: 880px; margin: 0 auto;
  padding: 0 16px 18px;
  background:
    radial-gradient(circle at 92% 20%, rgba(227,207,164,.45) 0, rgba(227,207,164,0) 110px),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-champagne) 100%);
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(78,52,22,.12);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  transition: box-shadow .2s;
}
.pgl .pgl-kosho:hover { box-shadow: 0 6px 24px rgba(78,52,22,.2); color: var(--text); text-decoration: none; }
.pgl .pgl-kosho:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.pgl-kosho__band {
  margin: 0 -16px !important;
  padding: 10px 16px;
  background: linear-gradient(90deg, #972335 0%, #BB2E48 50%, #972335 100%);
  border-radius: 9px 9px 0 0;
  color: #fff; font-weight: 900; font-size: 20px; letter-spacing: .14em; line-height: 1.4;
}
.pgl-kosho__lead {
  display: inline-block;
  margin-top: 14px !important;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--brown);
  font-weight: 700; font-size: 15px; line-height: 1.5; letter-spacing: .02em; color: var(--brown-deep);
  word-break: keep-all; overflow-wrap: anywhere;
}
.pgl-kosho__lead em { font-style: normal; color: var(--accent); font-size: 1.15em; }

.pgl-kosho__body { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 12px; }

.pgl-kosho__price { display: inline-flex; align-items: flex-end; line-height: 1; }
.pgl-kosho__num {
  font-family: var(--num); font-weight: 800; font-size: 76px; letter-spacing: -.02em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pgl-kosho__unit { display: flex; flex-direction: column; align-items: flex-start; margin-left: 4px; padding-bottom: 8px; }
.pgl-kosho__tax { font-size: 12px; font-weight: 700; color: var(--brown-deep); margin-bottom: 4px; }
.pgl-kosho__yen { font-size: 34px; font-weight: 900; color: var(--brown-deep); line-height: 1; }

/* 故障 → 0円 → 修理済み の図 */
.pgl-kosho__flow {
  display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; gap: 6px;
  width: 100%; max-width: 340px;
}
.pgl-kosho__dev { position: relative; display: flex; justify-content: center; }
.pgl-kosho__dev img { height: 96px; width: auto; filter: drop-shadow(0 4px 6px rgba(78,52,22,.2)); }
.pgl-kosho__dev--broken img { filter: grayscale(1) brightness(.78) drop-shadow(0 4px 6px rgba(78,52,22,.2)); }
.pgl-kosho__dev svg { position: absolute; }
.pgl-kosho__bolt { width: 34px; top: 4px; left: 50%; transform: translateX(-30%); }
.pgl-kosho__wifi { width: 26px; top: -6px; right: 2px; }
.pgl-kosho__arrow {
  display: flex; align-items: center; justify-content: center;
  height: 64px; padding-right: 14px;
  background: linear-gradient(90deg, #D16A93 0%, var(--accent) 100%);
  clip-path: polygon(0 22%, 66% 22%, 66% 0, 100% 50%, 66% 100%, 66% 78%, 0 78%);
  color: #fff; font-family: var(--num); font-weight: 800; font-size: 20px; line-height: 1;
}
.pgl-kosho__arrow span { font-family: var(--gothic); font-size: 15px; font-weight: 900; }

.pgl-kosho__note {
  margin-top: 16px !important;
  padding: 10px 12px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: #fff;
  font-weight: 700; font-size: 14px; line-height: 1.6; color: var(--brown-deep);
}
.pgl-kosho__more {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 240px; min-height: 50px;
  margin-top: 16px;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--brown);
  box-shadow: 0 2px 0 var(--brown-deep);
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .08em;
  transition: background-color .2s;
}
.pgl .pgl-kosho:hover .pgl-kosho__more { background: #6A4820; }
.pgl-kosho__more::after { content: "›"; font-size: 1.2em; line-height: 1; }

@media only screen and (min-width: 768px) {
  .pgl .pgl-kosho { padding: 0 32px 24px; }
  .pgl-kosho__band { margin: 0 -32px !important; font-size: 24px; padding: 12px; }
  .pgl-kosho__lead { font-size: 22px; margin-top: 20px !important; }
  .pgl-kosho__body { flex-direction: row; justify-content: center; gap: 40px; margin-top: 16px; }
  .pgl-kosho__num { font-size: 112px; }
  .pgl-kosho__yen { font-size: 48px; }
  .pgl-kosho__tax { font-size: 14px; }
  .pgl-kosho__flow { max-width: 400px; gap: 10px; }
  .pgl-kosho__dev img { height: 120px; }
  .pgl-kosho__arrow { height: 76px; font-size: 26px; }
  .pgl-kosho__arrow span { font-size: 18px; }
  .pgl-kosho__note { font-size: 17px; padding: 12px 20px; }
  .pgl-kosho__more { font-size: 16px; min-width: 280px; min-height: 54px; }
}

/* ==========================================================
   地域選択フォーム（.pgl-select）
   プルダウン：白地にゴールド枠／ボタン：既存サイトの紺ボタンを踏襲
   ========================================================== */
.pgl-select {
  padding: 32px 0 44px;
  background: var(--bg);
  text-align: center;
}
.pgl-select__label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700; font-size: 16px; letter-spacing: .04em; color: var(--brown-deep);
}
.pgl-select__field { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
.pgl-select__field::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); pointer-events: none;
}
.pgl-select__field select {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; min-height: 54px;
  margin: 0; padding: 12px 48px 12px 18px;
  border: 1.5px solid var(--gold); border-radius: 6px;
  background: #fff;
  font-family: var(--gothic); font-size: 16px; font-weight: 700; color: var(--text);
  cursor: pointer;
}
.pgl-select__field select:focus-visible { outline: 3px solid rgba(166,124,61,.35); outline-offset: 2px; }
.pgl-select__field select.is-error { border-color: var(--accent); }
.pgl-select__error {
  min-height: 1.6em; margin-top: 8px !important;
  font-size: 14px; font-weight: 700; color: var(--accent);
}
.pgl-select__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  width: 100%; max-width: 360px; min-height: 56px;
  margin-top: 6px; padding: 14px 24px;
  border: none; border-radius: 6px;
  background: #2C3C6B;            /* 既存サイトの紺ボタン */
  box-shadow: 0 2px 0 #1B2647;
  color: #fff; font-family: var(--gothic); font-weight: 700; font-size: 17px; letter-spacing: .12em;
  cursor: pointer;
  transition: background-color .2s;
}
.pgl-select__btn::after { content: "›"; font-size: 1.3em; line-height: 1; }
.pgl-select__btn:hover { background: #24325A; }
.pgl-select__btn:focus-visible { outline: 3px solid rgba(44,60,107,.4); outline-offset: 3px; }

.pgl-foot {
  padding: 20px 16px;
  background: var(--bg-champagne);
  border-top: 1px solid var(--gold-light);
  text-align: center; font-size: 12px; color: var(--text-sub);
}

@media only screen and (min-width: 768px) {
  .pgl-select { padding: 44px 0 64px; }
  .pgl-select__label { font-size: 18px; }
}

/* ==========================================================
   申し込みページ用の追加パーツ
   ========================================================== */

/* ヒーローの「お申込みへ」ボタン（ページ内の申込枠へ移動） */
.pgl-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: 260px; min-height: 54px; margin-top: 22px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--brown);
  box-shadow: 0 2px 0 var(--brown-deep), 0 8px 18px rgba(78,52,22,.18);
  color: #fff !important; text-decoration: none !important;
  font-weight: 700; font-size: 16px; letter-spacing: .12em;
  transition: transform .15s, box-shadow .15s;
}
.pgl-cta::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg);
}
.pgl-cta:hover { background: #6A4820; transform: translateY(1px); box-shadow: 0 1px 0 var(--brown-deep), 0 5px 12px rgba(78,52,22,.16); }
.pgl-cta:focus-visible { outline: 3px solid rgba(166,124,61,.45); outline-offset: 3px; }

/* 選ばれる3つのポイント */
.pgl-points { padding: 36px 0 8px; background: linear-gradient(180deg, #FFFFFF 0%, #FBF7F0 100%); }
.pgl-points__list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pgl-point {
  display: grid; grid-template-columns: 38% 1fr; align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(78,52,22,.08);
}
.pgl-point__img { margin: 0; background: var(--bg-champagne); }
.pgl-point__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.pgl-point__body { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.pgl-point__num {
  flex: none;
  font-family: var(--num); font-weight: 800; font-size: 26px; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pgl-point__text { font-weight: 900; font-size: 16px; line-height: 1.45; color: var(--brown-deep); }
.pgl-point__text small { display: block; font-size: 12px; font-weight: 700; color: var(--brown); }
.pgl-points__note { margin-top: 10px !important; font-size: 11px; line-height: 1.6; color: var(--text-sub); }

/* 見出し付きの商品セクション（申し込みページ用） */
.pgl .pgl-products--titled { padding-top: 48px; }
@media only screen and (min-width: 768px) {
  .pgl .pgl-products--titled { padding-top: 72px; }
}

/* ご案内リンク（お申込にあたって 等） */
.pgl-links { padding: 40px 0; background: var(--bg-champagne); }
.pgl-links__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pgl-links__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 56px; height: 100%;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--brown-deep) !important; text-decoration: none !important;
  font-weight: 700; font-size: 13px; line-height: 1.4;
  transition: background-color .2s;
}
.pgl-links__list a::after { content: "›"; color: var(--gold); font-size: 1.4em; line-height: 1; }
.pgl-links__list a:hover { background: #FBF7F0; }
.pgl-links__list a:focus-visible { outline: 3px solid rgba(166,124,61,.4); outline-offset: 2px; }

/* 故障安心サービスのセクション余白 */
.pgl-kosho-sec { padding: 44px 0; background: var(--bg); }

/* お申込み枠（中身のフォームはコーダーが既存のものを入れる） */
.pgl-apply {
  padding: 44px 0 56px;
  background: linear-gradient(180deg, #FBF7F0 0%, var(--bg-champagne) 100%);
}
.pgl-apply__frame {
  position: relative;
  max-width: 640px; margin: 0 auto;
  padding: 28px 18px 32px;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(78,52,22,.12);
}
.pgl-apply__frame::before {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid var(--gold-light); border-radius: 7px; pointer-events: none;
}
.pgl-apply__slot { position: relative; z-index: 1; }
.pgl-apply__placeholder {
  padding: 22px 20px;
  border: 2px dashed #C9A266; border-radius: 6px;
  background: repeating-linear-gradient(135deg, #FFFDF8 0 12px, #FBF4E6 12px 24px);
  color: var(--brown-deep); text-align: left;
}
.pgl .pgl-apply__ph-title { font-weight: 900; font-size: 16px; text-align: center; margin-bottom: 12px; }
.pgl .pgl-apply__ph-list { max-width: 360px; margin: 0 auto; }
.pgl-apply__ph-list li {
  margin-top: 8px; padding: 10px 14px;
  background: #fff; border: 1px solid #E3D3B4; border-radius: 4px;
  font-size: 13px; font-weight: 700; color: var(--text-sub);
}
.pgl-apply__ph-list li:last-child { background: #EFE3CC; text-align: center; color: var(--brown); }
.pgl .pgl-apply__ph-note { margin-top: 14px; font-size: 12px; text-align: center; color: var(--accent); font-weight: 700; }


@media only screen and (min-width: 768px) {
  .pgl-cta { min-width: 300px; font-size: 18px; margin-top: 28px; }
  .pgl-points { padding: 56px 0 16px; }
  .pgl-points__list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pgl-point { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .pgl-point__img img { height: auto; }
  .pgl-point__body { align-items: flex-start; gap: 14px; padding: 18px 22px 22px; }
  .pgl-point__num { font-size: 34px; }
  .pgl-point__text { font-size: 20px; }
  .pgl-point__text small { font-size: 13px; }
  .pgl-links { padding: 56px 0; }
  .pgl-links__list { grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 880px; margin: 0 auto; }
  .pgl-links__list a { font-size: 15px; padding: 12px 18px; }
  .pgl-kosho-sec { padding: 64px 0; }
  .pgl-apply { padding: 64px 0 80px; }
  .pgl-apply__frame { padding: 40px 48px 44px; }
}

/* ==========================================================
   ヒーロー（申し込みページ）左：タイトル／右：端末
   ========================================================== */
.pgl .pgl-hv {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 45%),
    #FFFFFF url(../images/hero-bg-sp.webp) center bottom / cover no-repeat;
}
.pgl-hv__inner {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  padding: 40px 20px 44px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "copy" "visual" "action";
  row-gap: 8px;
}
.pgl-hv__copy   { grid-area: copy; }
.pgl-hv__visual { grid-area: visual; }
.pgl-hv__action { grid-area: action; }

/* 4つのキャリアが使える */
.pgl .pgl-hv__carrier {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  padding: 6px 16px 6px 12px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  color: var(--brown-deep); font-weight: 700; font-size: 13px; letter-spacing: .08em; line-height: 1.4;
}
.pgl-hv__carrier::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 0 3px rgba(166,124,61,.18);
}

/* タイトル */
.pgl-hv__title {
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--mincho); font-weight: 800; letter-spacing: .02em;
}
.pgl-hv__pre {
  position: relative;
  padding-bottom: 10px; margin-bottom: 12px;
  font-size: 19px; line-height: 1.3; color: var(--brown);
}
.pgl-hv__pre::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 2px; background: var(--gold-grad-h);
}
.pgl-hv__main {
  font-size: 48px; line-height: 1.12;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pgl-hv__main--2 { font-size: 42px; white-space: nowrap; }
.pgl .pgl-hv__sub {
  margin-top: 16px;
  font-weight: 700; font-size: 17px; letter-spacing: .1em; color: var(--brown);
}

/* 端末ビジュアル */
.pgl-hv__visual {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 300px; margin-top: 8px;
}
.pgl-hv__halo {
  position: absolute; left: 50%; bottom: 34px;
  width: 270px; height: 270px; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0%, rgba(255,255,255,.85) 45%, rgba(255,255,255,0) 72%);
}
.pgl-hv__halo::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(166,124,61,.45); border-radius: 50%;
}
.pgl .pgl-hv__devices {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center; gap: 22px;
}
.pgl-hv__dev { display: flex; flex-direction: column; align-items: center; }
.pgl-hv__dev img {
  width: auto;
  filter: drop-shadow(0 14px 16px rgba(78,52,22,.22));
}
.pgl-hv__dev--zero img { height: 168px; }
.pgl-hv__dev--home img { height: 222px; }
.pgl-hv__name {
  margin-top: 12px;
  padding-top: 6px;
  border-top: 1px solid var(--gold);
  font-family: var(--num); font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--brown-deep);
}

/* ボタン */
.pgl-hv__action { text-align: center; }
.pgl .pgl-hv__cta { margin-top: 18px; width: 100%; max-width: 340px; }

@media only screen and (min-width: 768px) {
  .pgl .pgl-hv {
    background:
      linear-gradient(90deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.35) 40%, rgba(255,255,255,0) 60%),
      #FFFFFF url(../images/hero-bg.webp) center bottom / cover no-repeat;
  }
  .pgl-hv__inner {
    grid-template-columns: 1.05fr 1fr;
    grid-template-areas: "copy visual" "action visual";
    grid-template-rows: 1fr auto;
    column-gap: 32px; row-gap: 0;
    min-height: 560px;
    padding: 72px 24px 72px;
    align-items: center;
  }
  .pgl-hv__copy { align-self: end; }
  .pgl-hv__action { align-self: start; text-align: left; }
  .pgl .pgl-hv__carrier { font-size: 15px; margin-bottom: 26px; }
  .pgl-hv__pre { font-size: 26px; padding-bottom: 14px; margin-bottom: 16px; }
  .pgl-hv__pre::after { width: 72px; }
  .pgl-hv__main { font-size: 72px; }
  .pgl-hv__main--2 { font-size: 64px; }
  .pgl .pgl-hv__sub { font-size: 22px; margin-top: 22px; }
  .pgl .pgl-hv__cta { margin-top: 34px; width: auto; }

  .pgl-hv__visual { min-height: 460px; margin-top: 0; }
  .pgl-hv__halo { width: 440px; height: 440px; bottom: 40px; }
  .pgl-hv__halo::after { inset: 22px; }
  .pgl .pgl-hv__devices { gap: 40px; }
  .pgl-hv__dev--zero img { height: 270px; }
  .pgl-hv__dev--home img { height: 360px; }
  .pgl-hv__name { font-size: 15px; margin-top: 16px; }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .pgl-hv__main { font-size: 54px; }
  .pgl-hv__main--2 { font-size: 46px; }
  .pgl-hv__pre { font-size: 21px; }
  .pgl-hv__halo { width: 340px; height: 340px; }
  .pgl-hv__dev--zero img { height: 200px; }
  .pgl-hv__dev--home img { height: 270px; }
  .pgl .pgl-hv__devices { gap: 24px; }
}

/* ==========================================================
   地域選択ページ：お申込みの流れ／地域ボタン／端末紹介／お問い合わせ
   ========================================================== */

/* 地域ボタン */
.pgl-regions-sec { padding: 44px 0 48px; background: #FFFFFF; }
.pgl .pgl-regions__note {
  margin: -8px auto 20px; max-width: 640px;
  text-align: center; font-size: 14px; line-height: 1.7; color: var(--text);
}
.pgl .pgl-regions {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  max-width: 960px; margin: 0 auto;
}
.pgl .pgl-region {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-height: 72px; height: 100%;
  padding: 14px 48px 14px 20px;
  background: #fff;
  border: 1px solid var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(78,52,22,.08);
  color: var(--text); text-decoration: none;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.pgl-region::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 10px; height: 10px; margin-top: -5px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: right .2s;
}
.pgl .pgl-region:hover {
  background: #FBF7F0; border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(78,52,22,.14);
  color: var(--text);
}
.pgl-region:hover::after { right: 16px; }
.pgl .pgl-region:focus-visible { outline: 3px solid rgba(166,124,61,.45); outline-offset: 3px; }
.pgl-region__name { font-weight: 900; font-size: 20px; line-height: 1.3; color: var(--brown-deep); letter-spacing: .04em; }
.pgl-region__pref { font-size: 12px; line-height: 1.6; color: var(--text-sub); }

/* 端末紹介（料金なし） */
.pgl-teaser {
  padding: 48px 0 52px;
  background: linear-gradient(180deg, #FBF7F0 0%, var(--bg-champagne) 100%);
  text-align: center;
}
.pgl .pgl-teaser__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 880px; margin: 0 auto;
}
.pgl-teaser__item {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 6px 14px;
  background: #fff; border: 1px solid var(--gold-light); border-radius: 8px;
}
.pgl .pgl-teaser__img { display: flex; align-items: flex-end; justify-content: center; height: 96px; margin: 0 0 10px; }
.pgl-teaser__img img { max-height: 96px; width: auto; filter: drop-shadow(0 6px 8px rgba(78,52,22,.18)); }
.pgl-teaser__img--stick img { max-height: none; width: 92%; }
.pgl .pgl-teaser__catch { font-size: 10px; font-weight: 700; line-height: 1.4; color: var(--brown); min-height: 2.8em; display: flex; align-items: center; }
.pgl .pgl-teaser__name { font-family: var(--num); font-weight: 800; font-size: 15px; color: var(--brown-deep); }
.pgl .pgl-teaser__note { margin-top: 16px; font-size: 12px; color: var(--text-sub); }
.pgl .pgl-teaser__back .pgl-cta { margin-top: 18px; }
.pgl .pgl-teaser__back .pgl-cta::after { margin-top: 4px; transform: rotate(-135deg); }

/* お問い合わせ先（フッター） */
.pgl-contact {
  padding: 28px 0 24px;
  background: var(--brown-deep);
  color: #F3EBDD; text-align: center;
}
.pgl .pgl-contact__label {
  display: inline-block; margin-bottom: 8px; padding: 2px 12px;
  border: 1px solid rgba(243,235,221,.5); border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
}
.pgl .pgl-contact__org { font-weight: 700; font-size: 15px; line-height: 1.6; color: #fff; }
.pgl .pgl-contact__list { margin-top: 8px; font-size: 13px; line-height: 1.8; }
.pgl-contact__list div { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 10px; }
.pgl-contact__list dt { font-weight: 700; color: var(--gold-light); }
.pgl .pgl-contact__list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pgl .pgl-contact__reg { margin-top: 6px; font-size: 11px; color: rgba(243,235,221,.75); }
.pgl .pgl-contact__copy { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(243,235,221,.2); font-size: 11px; color: rgba(243,235,221,.65); }

@media only screen and (min-width: 768px) {
  .pgl-regions-sec { padding: 64px 0 72px; }
  .pgl .pgl-regions__note { font-size: 15px; margin-bottom: 28px; }
  .pgl .pgl-regions { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .pgl .pgl-region { min-height: 116px; padding: 18px 40px 18px 20px; justify-content: flex-start; }
  .pgl-region__name { font-size: 22px; }

  .pgl-teaser { padding: 64px 0 72px; }
  .pgl .pgl-teaser__list { gap: 20px; }
  .pgl-teaser__item { padding: 26px 12px 22px; }
  .pgl .pgl-teaser__img { height: 160px; }
  .pgl-teaser__img img { max-height: 160px; }
  .pgl-teaser__img--stick img { width: 80%; }
  .pgl .pgl-teaser__catch { font-size: 13px; min-height: 0; }
  .pgl .pgl-teaser__name { font-size: 20px; margin-top: 2px; }
  .pgl .pgl-teaser__note { font-size: 13px; margin-top: 20px; }

  .pgl-contact { padding: 36px 0 28px; }
  .pgl .pgl-contact__org { font-size: 16px; }
  .pgl-contact__list { display: flex; justify-content: center; gap: 0 28px; }
}

/* 改行位置の調整（<wbr> の位置でのみ改行） */
.pgl-regions-sec .pgl-head__title, .pgl-teaser .pgl-head__lead span,
.pgl .pgl-teaser__catch, .pgl .pgl-contact__org { word-break: keep-all; overflow-wrap: anywhere; }
.pgl-teaser .pgl-head__lead span { flex: 0 1 auto; text-align: center; overflow-wrap: normal; }
.pgl .pgl-teaser__catch { justify-content: center; text-align: center; }

/* PC：地域ボタンは中央寄せで折り返し（4つ＋3つ） */
@media only screen and (min-width: 768px) {
  .pgl .pgl-regions { display: flex; flex-wrap: wrap; justify-content: center; }
  .pgl .pgl-regions > li { flex: 0 0 calc((100% - 14px * 3) / 4); }
}
.pgl .pgl-nowrap { white-space: nowrap; }

/* 地域選択ページ：年度の数字は少し細く */
.pgl .pgl-kv__year b { font-weight: 600; }

/* 申し込みページ：主要ボタンをアクセントのピンクに（「0円」と同色） */
.pgl .pgl-hv__cta,
.pgl .pgl-kosho__more {
  background: var(--accent);
  box-shadow: 0 2px 0 #8A1B46, 0 8px 18px rgba(179,36,92,.22);
}
.pgl .pgl-hv__cta:hover,
.pgl .pgl-kosho:hover .pgl-kosho__more { background: #9E1F51; }
.pgl .pgl-hv__cta:focus-visible { outline-color: rgba(179,36,92,.45); }

/* ==========================================================
   申込フォーム（EC-CUBE の form#form1 を .pgl-apply__slot 内に差し込んだときの見た目）
   ========================================================== */
.pgl-apply__slot #form1 { max-width: none; margin: 0; padding: 0; }
.pgl-apply__slot .ec-select { margin: 0 0 18px !important; }
.pgl-apply__slot .ec-select label,
.pgl-apply__slot .option_Label label {
  display: block; margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--brown-deep);
}
.pgl-apply__slot .form-label.required::after { color: var(--accent); }
.pgl-apply__slot select.form-select {
  width: 100%; min-height: 52px; padding: 12px 44px 12px 14px;
  border: 1.5px solid var(--gold-light); border-radius: 6px;
  background-color: #fff; color: var(--text); font-size: 16px; font-weight: 500;
}
.pgl-apply__slot select.form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(166,124,61,.2); outline: none; }
.pgl-apply__slot .ec-productRole__btn { margin-top: 26px; }
.pgl-apply__slot .ec-blockBtn--action {
  display: block; width: 100%; min-height: 58px;
  border: none; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: .1em;
  box-shadow: 0 2px 0 #8A1B46, 0 8px 18px rgba(179,36,92,.22);
  transition: background-color .2s;
}
.pgl-apply__slot .ec-blockBtn--action:hover { background: #9E1F51; }
.pgl-apply__slot .ec-numberInput { display: none; }  /* 数量は既存サイト同様に非表示 */

/* ==========================================================
   EC-CUBE（既存サイト）に組み込んだときの幅の調整
   既存レイアウトのコンテンツ幅（最大1240px）を、このページを含むときだけ解除して
   背景を画面幅いっぱいに表示する。:has() で対象ページのみに限定。
   ========================================================== */
.ec-layoutRole__contents:has(.pgl) { max-width: none; padding-left: 0; padding-right: 0; }
.ec-layoutRole__main:has(.pgl),
.ec-productRole:has(.pgl) { max-width: none; padding-left: 0 !important; padding-right: 0 !important; }
/* 既存フッターの上の余白（100px）を詰め、お問い合わせ先と既存フッターをつなげる */
body:has(.pgl) .ec-footerRole { margin-top: 0; }
/* 既存フッターにもコピーライトがあるため、EC-CUBE内ではお問い合わせ先側のコピーライトを非表示（重複防止） */
.ec-layoutRole .pgl-contact__copy { display: none; }
.ec-layoutRole .pgl-contact { padding-bottom: 32px; }

/* ==========================================================
   地域選択ページ：背景を常に画面幅いっぱいに表示
   既存ページの幅の決まった枠（例：max-width: 1000px）の中に置かれても、
   各セクションの背景が画面の左右端まで広がるようにする
   ========================================================== */
.pgl-kv,
.pgl-regions-sec,
.pgl-teaser,
.pgl-contact {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* 100vw で生じる横スクロールを防止（地域選択ページのみ） */
html:has(.pgl-kv), body:has(.pgl-kv) { overflow-x: clip; }
/* ラッパー（.pgl）の overflow: hidden で背景が切られないようにする */
.pgl:has(.pgl-kv) { overflow: visible; }

/* ==========================================================
   v2：営業修正（2026-10-20）
   ========================================================== */

/* --- 価格ボックスの高さを揃える／AIR-0 の無制限プランはボックスの外へ --- */
.pgl .pgl-price { margin-top: auto; }
.pgl .pgl-price__extra {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; margin-top: 10px; padding: 8px 12px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff; font-weight: 700; font-size: 15px; line-height: 1.4; letter-spacing: .04em; text-align: center;
}
.pgl .pgl-price__extra b { font-family: var(--num); font-size: 18px; font-weight: 800; margin: 0 1px; }
.pgl .pgl-price__extra--empty { display: none; }               /* スマホ：縦積みなので空き枠は不要 */
@media only screen and (min-width: 768px) {
  .pgl .pgl-price__extra--empty { display: flex; visibility: hidden; }  /* PC：3枚の価格ボックスの高さ・位置を揃える */
}

/* --- 比較表：端末画像の行 --- */
.pgl-compare thead .pgl-compare__imgrow td {
  padding: 12px 4px; border-bottom: 1px solid var(--gold-light);
  background: #FBF7F0; vertical-align: bottom;
}
.pgl-compare thead .pgl-compare__imgrow td:first-child { background: transparent; }
.pgl-compare__imgrow img {
  display: block; margin: 0 auto; width: auto; max-width: 100%; height: 72px; object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(78,52,22,.16));
}
.pgl-compare__imgrow .is-stick img { height: auto; width: 92%; max-height: 72px; }
/* 見出し行の下線は画像行の下に移す */
.pgl-compare thead tr:first-child th { border-bottom: none; }
.pgl-compare thead .pgl-compare__imgrow td:not(:first-child) { border-bottom: 2px solid var(--gold); }

/* --- 比較表：おすすめ区分（下宿生／通学生）。AIR-0 の列の中央で分割 --- */
.pgl .pgl-compare-reco {
  display: grid; grid-template-columns: 27% 1fr 1fr;
  max-width: 880px; margin: 14px auto 0;
}
.pgl .pgl-compare-reco__item {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 6px 18px;
  color: #fff; font-weight: 900; font-size: 14px; line-height: 1.35; letter-spacing: .06em; text-align: center;
  word-break: keep-all; overflow-wrap: anywhere;
}
.pgl .pgl-compare-reco__item--stay {
  background: linear-gradient(135deg, #B4C46A 0%, #8FA040 55%, #7A8B34 100%);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
  padding-left: 26px;
}
.pgl .pgl-compare-reco__item--commute {
  background: linear-gradient(135deg, #B77BBB 0%, #9B4FA0 55%, #833F88 100%);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  padding-right: 26px;
}
@media only screen and (min-width: 768px) {
  .pgl-compare__imgrow img { height: 110px; }
  .pgl-compare__imgrow .is-stick img { width: 80%; max-height: 110px; }
  .pgl .pgl-compare-reco { margin-top: 18px; }
  .pgl .pgl-compare-reco__item { min-height: 60px; font-size: 18px; }
}

/* --- こんな人におすすめ：PCでも端末画像を表示（列ごとに画像を左に） --- */
@media only screen and (min-width: 768px) {
  .pgl-reco__col { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; align-items: center; padding: 0 22px; }
  .pgl-reco__img { display: flex; }
  .pgl-reco__img img { max-height: 104px; }
}

/* --- 故障安心サービス：「0円で修理可能」を大きく --- */
.pgl .pgl-kosho__lead { font-size: 19px; line-height: 1.45; }
.pgl .pgl-kosho__lead em { font-size: 1.3em; }
@media only screen and (min-width: 768px) {
  .pgl .pgl-kosho__lead { font-size: 30px; }
}

/* --- 故障安心サービス：故障端末をひび割れ表現に --- */
.pgl-kosho__dev--broken img { transform: rotate(-8deg); }
.pgl-kosho__crack {
  position: absolute; top: 0; left: 50%;
  width: 55px; height: 96px;
  transform: translateX(-50%) rotate(-8deg);
  pointer-events: none;
}
@media only screen and (min-width: 768px) {
  .pgl-kosho__crack { width: 69px; height: 120px; }
}

/* 価格ボックスの帯の高さを統一（文字の大きさの違いで高さがずれないように） */
.pgl .pgl-price__band { display: flex; align-items: center; justify-content: center; min-height: 46px; line-height: 1.3; }
/* こんな人におすすめ（PC）：端末名の位置を3列で揃える */
@media only screen and (min-width: 768px) {
  .pgl-reco__col { align-items: start; }
  .pgl-reco__img { align-self: center; }
  .pgl-reco__col li { font-size: 14px; }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .pgl .pgl-price__extra { font-size: 13px; padding: 6px 8px; }
  .pgl .pgl-price__extra b { font-size: 15px; }
}

/* ==========================================================
   EC-CUBE 本番用：申込フォーム（form#form1）を「その場」で整える
   フォームはテンプレートを変更せず、EC-CUBEが出力する位置（商品説明の直後）のまま使う。
   商品説明の最後に置いた「お申込み」見出しの下に、フォームが枠付きで続いて見えるようにする。
   すべて「このページ（.pgl を含む商品詳細）」に限定（:has）
   ========================================================== */
.pgl .pgl-apply--head { padding-bottom: 24px; }
.ec-productRole:has(.pgl) {
  background: #F8F2E7;
  padding-bottom: 64px !important;
  margin-bottom: 0;
}
.ec-productRole:has(.pgl) .ec-productRole__description { margin-bottom: 0; }
.ec-productRole:has(.pgl) #form1 {
  position: relative;
  box-sizing: border-box;
  max-width: 640px; margin: 0 auto;
  padding: 28px 18px 32px;
  background: #fff;
  border: 1px solid #A67C3D; border-radius: 10px;
  box-shadow: 0 6px 24px rgba(78,52,22,.12);
  font-family: 'Noto Sans JP', sans-serif; color: #3B2D1F;
}
.ec-productRole:has(.pgl) #form1::before {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid #E3CFA4; border-radius: 7px; pointer-events: none;
}
.ec-productRole:has(.pgl) #form1 .ec-select { position: relative; margin: 0 0 18px !important; }
.ec-productRole:has(.pgl) #form1 .ec-select label,
.ec-productRole:has(.pgl) #form1 .option_Label label {
  display: block; width: 100%; margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #4E3416;
}
.ec-productRole:has(.pgl) #form1 select.form-select {
  width: 100%; min-width: 100%; min-height: 52px; padding: 12px 44px 12px 14px;
  border: 1.5px solid #E3CFA4; border-radius: 6px;
  background-color: #fff; color: #3B2D1F; font-size: 16px; font-weight: 500;
}
.ec-productRole:has(.pgl) #form1 select.form-select:focus { border-color: #A67C3D; box-shadow: 0 0 0 3px rgba(166,124,61,.2); outline: none; }
.ec-productRole:has(.pgl) #form1 .ec-numberInput { display: none; }
.ec-productRole:has(.pgl) #form1 .ec-productRole__btn { position: relative; width: 100%; min-width: 100%; margin-top: 26px; }
.ec-productRole:has(.pgl) #form1 .ec-blockBtn--action {
  display: block; width: 100%; min-height: 58px; height: auto;
  border: none; border-radius: 999px;
  background: #B3245C; color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: .1em;
  box-shadow: 0 2px 0 #8A1B46, 0 8px 18px rgba(179,36,92,.22);
  transition: background-color .2s;
}
.ec-productRole:has(.pgl) #form1 .ec-blockBtn--action:hover { background: #9E1F51; }
@media only screen and (max-width: 767px) {
  .ec-productRole:has(.pgl) #form1 { margin: 0 16px; }
}
@media only screen and (min-width: 768px) {
  .ec-productRole:has(.pgl) { padding-bottom: 80px !important; }
  .ec-productRole:has(.pgl) #form1 { padding: 40px 48px 44px; }
  .pgl .pgl-apply--head { padding-bottom: 32px; }
}
/* 「お申込みはこちら」のページ内移動をなめらかに（このページのみ） */
html:has(.pgl-hv) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.pgl-hv) { scroll-behavior: auto; } }
#apply { scroll-margin-top: 16px; }
