/* ========================================
   plan.css
   料金プランページ専用
======================================== */

:root {
  --yellow: #FDF53D;
  /* plan.css 追加変数 */
  --line-green: #06C755;
  --spec-label-bg: #444444;
  --price-table-head-bg: var(--price-table-head-bg);
  --price-table-head-border: var(--price-table-head-border);
  --hashtag-bg: #f2f2f2;
  --hashtag-border: #e0e0e0;
  --hashtag-color: #666666;
}

/* ----------------------------------------
  見出し head_01 上書き（このページのみ）
  ・中央揃え
  ・en は緑
---------------------------------------- */
.plan_page .head_01 {
  margin-bottom: 30px;
  text-align: center;
}
.plan_page .head_01 .en {
  display: block;
  color: var(--corp);
  font-size: 1.6rem;
  font-weight: 600;
}
.plan_page .head_01 .jp {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--general);
  margin-top: 4px;
  line-height: 1.2;
}


/* ----------------------------------------
   料金一覧カードグリッド
---------------------------------------- */
.pl_card__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 42px 0 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pl_card__grid::-webkit-scrollbar {
  display: none;
}

/* カード本体 */
.pl_card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 32px 24px 24px;
  box-sizing: border-box;
  flex-shrink: 0;
  width: 300px;
  text-align: center;
}

/* バッジ（正円＋下に吹き出し三角） */
.pl_card__badge {
  position: absolute;
  top: -42px;
  left: 20px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}

/* 吹き出しの三角 */
.pl_card__badge::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 6px;
  transform: none;
  border-left: 12px solid transparent;
  border-top: none;
  border-right: none;
  border-bottom: 12px solid var(--bg_orange);
}

.pl_card__badge--orange {
  background: var(--bg_orange);
}

/* バッジがあるカードはパディング上を増やす */
.pl_card:has(.pl_card__badge) {
  /* padding-top: 52px; */
}

/* キャッチコピー（斜線で囲む） */
.pl_card__catch {
  font-size: 1.2rem;
  /* color: var(--t_gray); */
  line-height: 1.6;
  margin-bottom: 8px;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 左上の ＼ */
.pl_card__catch::before {
  content: '';
  position: absolute;
  left: 25px;
  bottom: 3px;
  width: 14px;
  height: 80%;
  border-left: 1.5px solid var(--general);
  transform: skewX(20deg);
  transform-origin: top left;
}

/* 右下の / */
.pl_card__catch::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: 3px;
  width: 14px;
  height: 80%;
  border-right: 1.5px solid var(--general);
  transform: skewX(-20deg);
  transform-origin: bottom right;
}

/* プラン名 */
.pl_card__name {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--general);
  margin-bottom: 16px;
  line-height: 1.3;
  text-align: center;
}

/* タグ行（耐久年数・保証年数） */
.pl_card__tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 20px;
}

.pl_card__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
}

/* ラベル部分だけ黒背景pill */
.pl_card__tag_label {
  display: inline-block;
  background: var(--spec-label-bg);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* 値はただのテキスト */
.pl_card__tag_val {
  color: var(--general);
  /* font-weight: 500; */
}

.pl_card__tag_note {
  font-size: 1.1rem;
  /* color: var(--t_gray); */
}

/* 価格リスト */
.pl_card__prices {
  list-style: none;
  margin-bottom: 22px;
}

.pl_card__prices li {
  display: flex;
  /* justify-content: space-between; */
  gap: 40px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line_gray);
  font-size: 1.4rem;
}

.pl_card__prices li:first-child {
  border-top: 1px solid var(--line_gray);
}

.pl_card__tsubo {
  color: var(--general);
  padding-left: 5px;
  /* font-weight: 500; */
}

.pl_card__price {
  font-weight: 700;
  color: var(--general);
}

.pl_card__tax {
  font-size: 1.1rem;
  /* font-weight: 400; */
  color: var(--t_gray);
  margin-left: -2px;
}

/* 詳細ボタン（楕円・白丸三角アイコン） */
.pl_card__btn {
  display: inline-block;
}
.pl_card__btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--corp);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 10px 40px;
  border-radius: 100px;
  transition: opacity 0.2s;
  text-decoration: none;
}



/* 白丸の中に塗りつぶし三角 */
.pl_card__btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  color: var(--corp);
  font-size: 0.9rem;
  flex-shrink: 0;
}


/****************************** 600px ******************************/
@media (min-width: 600px) {

  .pl_card {
    width: 300px;
  }

}

/****************************** 1025px ******************************/
@media (min-width: 1025px) {

  .plan_page .head_01 .jp {
    font-size: 3rem;
  }
  .plan_page .head_01 .en {
    font-size: 1.8rem;
  }

  .pl_card__grid {
    gap: 30px;
    overflow-x: visible;
  }

  .pl_card {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 56px 28px 28px;
  }

  .pl_card__catch::before {
    left: 35px;
  }

  /* 右下の / */
  .pl_card__catch::after {
    right: 50px;
  }

  .pl_card:has(.pl_card__badge) {
    padding-top: 56px;
  }

  .pl_card__badge {
    width: 72px;
    height: 72px;
    top: -26px;
    font-size: 1.3rem;
  }

  .pl_card__name {
    font-size: 2.6rem;
  }

  .pl_card__prices li {
    font-size: 1.5rem;
    padding: 12px 0;
  }

  .pl_card__btn a {
    font-size: 1.5rem;
    /* padding: 16px 20px; */
  }

}

/****************************** 1400px ******************************/
@media (min-width: 1400px) {

  .pl_card {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 56px 28px 28px;
  }

  .pl_card__grid {
    gap: 36px;
  }

  .pl_card__name {
    font-size: 2.8rem;
  }

}

/* ----------------------------------------
   CTAバナー
---------------------------------------- */
/* section：背景なし */
.pl_cta {
  box-sizing: border-box;
}

/* 緑ラッパー：背景・角丸のみ */
.pl_cta__wrap {
  background-color: var(--corp);
  border-radius: 20px;
  padding: 36px 0;
}

.pl_cta__inner {
  box-sizing: border-box;
  padding: 0 var(--side_padding);
}

.pl_cta__sub {
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 6px;
}

.pl_cta__main {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.3;
}

/* 白ボックス：::beforeでグリッド、backgroundで自然に隠れる */
.pl_cta__box {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.pl_cta__box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.pl_cta__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.pl_cta__col_label {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--general);
  margin-bottom: 8px;
}

/* 電話 */
.pl_cta__tel_link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 6px;
  white-space: nowrap;
}

.pl_cta__tel_icon {
  width: 36px;
  flex-shrink: 0;
}

.pl_cta__tel_num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--general);
  line-height: 1;
  white-space: nowrap;
}

.pl_cta__tel_time {
  font-size: 1.1rem;
  /* color: #888; */
  white-space: nowrap;
}

/* WEBボタン */
.pl_cta__web_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg_orange);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}



.pl_cta__web_btn .fa-envelope {
  font-size: 1.8rem;
  flex-shrink: 0;
}

/* LINEボタン */
.pl_cta__line_btn {
  display: flex!important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--line-green);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}



.pl_cta__line_icon {
  width: 26px;
  flex-shrink: 0;
}

/* 丸三角アイコン共通 */
.pl_cta__arrow {
  display: flex!important;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-left: auto;
}

.pl_cta__web_btn .pl_cta__arrow { color: var(--bg_orange); }
.pl_cta__line_btn .pl_cta__arrow { color: var(--line-green); }

/****************************** 800px ******************************/
@media (min-width: 800px) {

  .pl_cta {
    padding: 44px var(--side_padding);
    border-radius: 24px;
    max-width: 1200px;
  }

  .pl_cta__main {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }

  .pl_cta__box {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 32px 36px;
  }

  .pl_cta__col {
    flex: 1;
    /* padding: 0 20px; */
  }

  .pl_cta__col + .pl_cta__col {
    /* border-left: 1px solid var(--line_gray); */
  }

  .pl_cta__col--tel {
    /* align-items: flex-start; */
    /* text-align: left; */
  }

  .pl_cta__web_btn,
  .pl_cta__line_btn {
    width: 100%;
    padding: 14px 16px;
  }

}

/****************************** 1025px ******************************/
@media (min-width: 1025px) {

  .pl_cta__main {
    /* font-size: 3.2rem; */
    margin-bottom: 36px;
  }

  .pl_cta__sub {
    font-size: 1.6rem;
  }

  .pl_cta__tel_num {
    font-size: 3.4rem;
  }

  .pl_cta__web_btn,
  .pl_cta__line_btn {
    font-size: 1.6rem;
    padding: 16px 20px;
    max-width: 260px;
  }

}

/* ----------------------------------------
   プラン詳細カード（pl_detail）
---------------------------------------- */
.pl_detail {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

/* 上部：左テキスト＋右画像 */
.pl_detail__body {
  position: relative;
  padding: 24px;
}

/* 左エリア（テキスト） */
.pl_detail__left {
  width: 100%;
}

/* 黄色キャッチバッジ */
.pl_detail__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--general);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* プラン名 */
.pl_detail__name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* ハッシュタグ */
.pl_detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pl_detail__tags span {
  font-size: 1.2rem;
  color: var(--hashtag-color);
  background: var(--hashtag-bg);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--hashtag-border);
}

/* スペック */
.pl_detail__specs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pl_detail__specs > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line_gray);
  font-size: 1.4rem;
  line-height: 1.6;
}

.pl_detail__specs > div:first-child {
  border-top: 1px solid var(--line_gray);
}

.pl_detail__spec_label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--spec-label-bg);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pl_detail__spec_link {
  color: var(--corp);
  /* font-size: 1.2rem; */
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* margin-top: 4px; */
}

/* 右エリア（塗料缶画像）：右上に絶対配置 */
.pl_detail__right {
  position: absolute;
  top: 24px;
  right: 24px;
}

.pl_detail__right img {
  width: 160px;
  height: auto;
  object-fit: contain;
}

/* 価格テーブル */
.pl_detail__price_table {
  margin: 0 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 8px;
  overflow: hidden;
  /* border: 1px solid var(--line_gray); */
}

.pl_detail__price_table > div {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line_gray);
}

.pl_detail__price_table > div:last-child {
  border-right: none;
}

.pl_detail__price_table dt {
  background: var(--price-table-head-bg);
  padding: 0px 4px;
  font-size: 1.4rem;
  /* font-weight: 400; */
  text-align: center;
  /* border-bottom: 1px solid var(--line_gray); */
}

.pl_detail__price_table dd {
  padding: 14px 4px;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  /* background: #fff; */
}

.pl_detail__price_unit {
  font-size: 1rem;
  margin-top: 4px;
  display: inline-block;
  /* font-weight: 400; */
}

/****************************** 800px ******************************/
@media (min-width: 800px) {

  .pl_detail__right {
    top: 40px;
    right: 80px;
  }

  .pl_detail__right img {
    width: 180px;
  }

}

/****************************** 1025px ******************************/
@media (min-width: 1025px) {

  .pl_detail {
    border-radius: 40px;
    margin-bottom: 50px;
  }
  .pl_detail__body {
    padding: 80px 80px 40px;
  }
  .pl_detail__badge {
    font-size: 1.6rem;
  }

  .pl_detail__tags {
      gap: 10px;
      max-width: 600px;
  }
  .pl_detail__tags span {
    font-size: 1.4rem;
    padding: 8px 20px;
  }

  .pl_detail__specs > div {
    gap: 36px;
    padding: 10px 0;
  }
  .pl_detail__specs dd {
      font-size: 1.5rem;
  }
  .pl_detail__spec_label {
      font-size: 1.3rem;
      padding: 4px 20px;
  }

  .pl_detail__price_table {
    margin: 0 40px 60px;
  }
  .pl_detail__price_table dt {
      padding: 0px;
      font-size: 1.6rem;
  }
  .pl_detail__price_table dd {
      padding: 18px 4px 14px;
      font-size: 2rem;
  }
  .pl_detail__price_unit {
      font-size: 1.4rem;
      margin-top: 0px;
      margin-left: 4px;
  }

  .pl_detail__name {
    font-size: 2.8rem;
  }

  .pl_detail__specs > div {
    font-size: 1.4rem;
  }

  .pl_detail__right img {
    width: 200px;
  }

  .pl_detail__specs > div {
    border: none;
  }

  .pl_detail__specs > div:first-child {
    border: none;
  }

}

/* ----------------------------------------
   h2中央揃えモディファイア
---------------------------------------- */
.pl_head--center {
  text-align: center;
}

/* ----------------------------------------
   その他追加工事テーブル
---------------------------------------- */
.pl_other__lead {
  text-align: center;
  /* font-size: 1.4rem; */
  line-height: 1.6;
  margin-bottom: 36px;
  color: var(--general);
}

.pl_other__table_wrap {
  overflow-x: auto;
}

.pl_other__table {
  width: 100%;
  border-collapse: collapse;
  /* font-size: 1.4rem; */
}

/* ヘッダー行 */
.pl_other__table thead th {
  font-weight: 700;
  padding: 18px 0px 18px 10px;
  border-bottom: 1px solid var(--line_gray);
  border-top: 1px solid var(--line_gray);
  text-align: center;
}

.pl_other__table thead th:first-child {
  text-align: left;
}

/* ボディ行 */
.pl_other__table tbody td {
  padding: 18px 0px 18px 10px;
  border-bottom: 1px solid var(--line_gray);
  font-weight: 700;
  text-align: center;
}

.pl_other__table tbody td:first-child {
  text-align: left;
  font-weight: 700;
}

/* 総額行 */
.pl_other__total td {
  border-bottom: 1px solid #ddd;
}

.pl_other__table thead th:not(:first-child),
.pl_other__table tbody td:not(:first-child) {
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .pl_other__table {
    font-size: 1.6rem;
  }
  .pl_other__table thead th {
    padding: 24px 0px 24px 30px;
  }
  /* ボディ行 */
  .pl_other__table tbody td {
    padding: 24px 0px 24px 30px;
  }
}


/* ----------------------------------------
   トップバナー2枚並び
---------------------------------------- */
.pl_banner__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 600px) {
  .pl_banner__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

.pl_banner__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ----------------------------------------
   料金一覧セクション：SP時右padding削除
---------------------------------------- */
.pl_card__section {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1025px) {
  .pl_card__section {
    padding-left: var(--side_padding);
    padding-right: var(--side_padding);
  }
}

/* スクロール両端の余白はカードのmarginで制御 */
.pl_card__grid > .pl_card:first-child {
  margin-left: var(--side_padding);
}

.pl_card__grid > .pl_card:last-child {
  margin-right: var(--side_padding);
}

@media (min-width: 1025px) {
  .pl_card__grid > .pl_card:first-child {
    margin-left: 0;
  }
  .pl_card__grid > .pl_card:last-child {
    margin-right: 0;
  }
}

/* ----------------------------------------
   hover（PC）/ active（SP）
---------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .pl_card__btn a:hover { opacity: 0.85; }
  .pl_cta__web_btn:hover { opacity: 0.85; }
  .pl_cta__line_btn:hover { opacity: 0.85; }
}

@media (hover: none) {
  .pl_card__btn a:active { opacity: 0.85; }
  .pl_cta__web_btn:active { opacity: 0.85; }
  .pl_cta__line_btn:active { opacity: 0.85; }
}
