/* =========================
  Service Plan
  navy: #1d2088
  light: #d8f2fb
  yellow: #ffd84d
========================= */

.lp-plan{
  padding: clamp(40px, 6vw, 72px) 0;
  background: #ffffff;
}

.lp-plan__inner{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* Section head */
.lp-plan__head{
  text-align: center;
  margin-bottom: 18px;
}
.lp-section-head__title{
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: #1d2088;
  letter-spacing: .04em;
  margin: 0;
}
.lp-section-head__underline{
  display: inline-block;
  width: 120px;
  height: 10px;
  border-radius: 999px;
  background: #ffd84d;
  margin-top: 10px;
}

/* Tabs (忠実: 左寄せ・丸み・色) */
.lp-plan-tabs{
  display: inline-flex;
  gap: 12px;
  margin: 10px 0 0 26px; /* デザインの左寄せ感 */
}

.lp-plan-tabs__btn{
  appearance: none;
  border: none;
  border-bottom: none;
  background: #d8f2fb; /* 非アクティブ（薄水色） */
  color: #1d2088;
  font-weight: 900;
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 14px 14px 0 0;
  cursor: pointer;
  line-height: 1;
}
.lp-plan-tabs__btn.plan_business {
  background: #1d2088; /* 非アクティブ（薄水色） */
  color: #FFF;
}

/* Panels */
.lp-plan-panel{ display:none; }
.lp-plan-panel.is-active{ display:block; }

/* Content area */
.lp-plan-area{
  position: relative;
  border-radius: 18px;
  padding: clamp(28px, 3.6vw, 44px);
}

.lp-plan-area--personal{
  background: #d8f2fb;
}

/* business background: 指定 #1d2088 */
.lp-plan-area--business{
  background: #1d2088;
  color: #fff;
}
.lp-plan-placeholder{
  margin: 0;
  font-weight: 800;
}

/* Cat (右上) */
.lp-plan-cat{
  position: absolute;
  right: clamp(10px, 2vw, 22px);
  top: clamp(-34px, -3vw, -18px);
  width: clamp(80px, 12vw, 130px);
  pointer-events: none;
  z-index: 2;
}
.lp-plan-cat img{
  width: 100%;
  height: auto;
  display: block;
}

/* Group */
.lp-plan-group + .lp-plan-group{
  margin-top: clamp(26px, 3vw, 38px);
}

.lp-plan-group__head{
  position: relative;
}

.lp-plan-group__bar{
  width: 100%;
  background: #1d2088;
  border-radius: 999px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lp-plan-group__bar--center{
  justify-content: center;
}

.lp-plan-group__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  flex: 0 0 auto;
}

.lp-plan-group__title{
  margin: 0;
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: .02em;
}

/* sub line (吹き出しが左に被る) */
.lp-plan-group__sub {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 0;
    padding-left: 6px;
    justify-content: center;
}

.lp-plan-badge{
  width: 86px; /* デザインの存在感 */
  flex: 0 0 auto;
  transform: translateY(-6px);
}
.lp-plan-badge img{
  width: 100%;
  height: auto;
  display: block;
}

.lp-plan-group__subtext{
  margin: 0;
  font-weight: 900;
  color: #1d2088;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.3;
  position: relative;
  display: inline-block;
  padding: 0 6px;
}
.lp-plan-group__subtext::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 10px;
  background: #ffd84d;
  z-index: -1;
  border-radius: 2px;
}

/* Cards grid */
.lp-plan-cards{
  margin-top: 18px;
  display: grid;
  gap: 18px;
}
.lp-plan-cards--4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lp-plan-card{
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

.lp-plan-card__icon{
  width: 86px;
  height: 60px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
}
.lp-plan-card__icon--home{
  width: 64px;
  height: 56px;
}

.lp-plan-card__icon img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.lp-plan-card__title{
  margin: 0;
  color: #1d2088;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: .02em;
}
.lp-plan-card__title--single{
  font-size: 22px;
  letter-spacing: .06em;
}

.lp-plan-card__price{
  margin: 10px 0 0;
  color: #1d2088;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .02em;
}

/* List box */
.lp-plan-list{
  margin-top: 18px;
  background: rgba(255,255,255,.85);
  border-radius: 14px;
  padding: 18px 18px;
}

.lp-plan-list__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lp-plan-list__col{ margin: 0; }

.lp-plan-list__row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(0,0,0,.18);
}
.lp-plan-list__row dt,
.lp-plan-list__row dd{
  margin: 0;
  font-size: 16px;
  color: #222;
  font-weight: 700;
}
.lp-plan-list__row dd{ font-weight: 800; }

/* Responsive: PC4列 → SP2列（要望） */
@media (max-width: 860px){
  .lp-plan-cards--4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-plan-list__grid{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 520px){
  .lp-plan-tabs{
    margin-left: 14px;
    gap: 10px;
  }
  .lp-plan-tabs__btn{
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 12px 12px 0 0;
  }
  .lp-plan-badge{
    width: 74px;
  }
}


.lp-plan-group__subtext{
  position: relative;
  display: inline-block; /* ← これ超重要 */
  font-weight: 900;
  color: #1d2088;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.3;
  padding: 0 6px;
  z-index: 1;
}

.lp-plan-group__subtext::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;        /* 少しだけ文字に近づける */
  width: 100%;
  height: 10px;
  background: #ffd84d;
  z-index: -1;         /* ← 背面に回す */
  border-radius: 2px;
}

/* =========================================
   Plan - Business tab
========================================= */
.lp-plan-area--business{
  background:#1d2088;
  border-radius:22px;
  padding:34px 18px 26px;
  position:relative;
  overflow:hidden;
}

/* 上の白い吹き出し */
.lp-plan-biz__balloon{
  background:#fff;
  color:#1d2088;
  font-weight:700;
  text-align:center;
  border-radius:999px;
  padding:14px 16px;
  max-width:720px;
  margin:0 auto 18px;
  position:relative;
}
.lp-plan-biz__balloon::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-12px;
  width:0;height:0;
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  border-top:12px solid #fff;
}

/* 業種カード（3列→SPは2列） */
.lp-plan-biz__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px 16px;
  max-width:860px;
  margin:22px auto 18px;
}
.lp-plan-bizcard{
  background:#fff;
  border-radius:10px;
  padding:18px 10px 14px;
  text-align:center;
}
.lp-plan-bizcard__icon{
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
}
.lp-plan-bizcard__icon img{
  max-height:44px;
  width:auto;
}
.lp-plan-bizcard__label{
  margin:0;
  font-weight:700;
  color:#1d2088;
  font-size:14px;
}

/* コミコミ帯 */
.lp-plan-biz__komikomi{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:6px auto 14px;
  max-width:860px;
  color:#fff;
}
.lp-plan-biz__komikomi-badge img{
  width:84px;
  height:auto;
  display:block;
}
.lp-plan-biz__komikomi-note{
  margin:10px 0 0;
  font-weight:700;
  color:#fff;
}

/* スポット回収（黄色BOX） */
.lp-plan-bizspot{
  max-width:860px;
  margin:16px auto 10px;
}
.lp-plan-bizspot__inner{
  background:#f5e17a;
  border-radius:14px;
  padding:20px 16px 18px;
  position:relative;
  text-align:center;
}
.lp-plan-bizspot__title{
  margin:0 0 10px;
  font-weight:900;
  color:#1d2088;
}
.lp-plan-bizspot__price{
  margin:0 0 8px;
  font-weight:900;
  font-size:34px;
  color:#1d2088;
  letter-spacing:.02em;
  font-family:"DIN 2014", "DIN Alternate", "DIN", "Oswald", system-ui, sans-serif;
}
.lp-plan-bizspot__desc{
  margin:0;
  font-weight:700;
  color:#1d2088;
  font-size:12px;
}
.lp-plan-bizspot__cat{
  position:absolute;
  right:12px;
  bottom:10px;
  width:86px;
}
.lp-plan-bizspot__cat img{width:100%;height:auto;display:block;}
.lp-plan-bizspot__foot{
  margin:10px 0 0;
  text-align:center;
  color:#fff;
  font-size:12px;
  opacity:.9;
}

/* ご契約の流れ 見出し */
.lp-plan-bizflow{
  max-width:860px;
  margin:22px auto 0;
}
.lp-plan-bizflow__head{
  background:#fff;
  border-radius:999px;
  padding:12px 16px;
  text-align:center;
  font-weight:900;
  color:#1d2088;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:16px;
}
.lp-plan-bizflow__dot{
  width:10px;height:10px;border-radius:50%;
  background:#1d2088;
  display:inline-block;
}

/* flow row */
.lp-plan-flowrow{
  display:grid;
  grid-template-columns:88px 1fr;
  gap:14px;
  align-items:start;
  margin:14px 0;
}
.lp-plan-flowrow__step{
  width:72px;
  height:72px;
  border-radius:50%;
  background:#cfeeff;
  color:#1d2088;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  font-weight:900;
}
.lp-plan-flowrow__step.is-yellow{
  background:#f5e17a;
}
.lp-plan-flowrow__step span{
  font-size:12px;
  line-height:1;
}
.lp-plan-flowrow__step strong{
  font-size:22px;
  line-height:1;
  margin-top:4px;
  font-family:"DIN 2014", "DIN Alternate", "DIN", system-ui, sans-serif;
}

.lp-plan-flowrow__card{
  background:#fff;
  border-radius:10px;
  padding:16px 16px;
  display:flex;
  gap:14px;
  align-items:center;
}
.lp-plan-flowrow__icon{
  width:54px;
  flex:0 0 54px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.lp-plan-flowrow__icon img{max-width:54px;height:auto;display:block;}
.lp-plan-flowrow__title{
  margin:0 0 6px;
  font-weight:900;
  color:#1d2088;
}
.lp-plan-flowrow__desc{
  margin:0;
  font-size:12px;
  color:#333;
  line-height:1.7;
}

/* Responsive */
@media (max-width: 768px){
  .lp-plan-biz__grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .lp-plan-flowrow{grid-template-columns:76px 1fr;}
  .lp-plan-flowrow__card{padding:14px 12px;}
  .lp-plan-bizspot__cat{width:74px;}
}

/* 法人タブ デコレーション */
.lp-plan-area--business{
  position:relative;
}

.lp-plan-deco{
  position:absolute;
  width:42px;
  height:auto;
  z-index:1;
}

.lp-plan-deco--left{
  top:22px;
  left:16px;
}

.lp-plan-deco--right{
  top:22px;
  right:16px;
}

@media (max-width:768px){
  .lp-plan-deco{
    width:32px;
  }
}
/* =========================
   Utilities
========================= */
.lp-u-underline{
  position: relative;
  display: inline-block;
  z-index: 0;
}
/* 数字をDIN系に寄せる（※フォントが読み込まれていれば反映） */
.lp-price{
  font-family: "DIN 2014","DIN","Oswald","Montserrat",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  letter-spacing: 0.02em;
}

/* =========================
   Business Panel
========================= */
.lp-plan-area--business{
  padding: clamp(26px, 3.6vw, 40px);
}

.lp-biz{
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.lp-biz__tri{
  position: absolute;
  top: 0px;
  width: 56px;
  height: auto;
  opacity: 1;
  pointer-events: none;
}
.lp-biz__tri--left{ left: 8px; }
.lp-biz__tri--right{ right: 8px; }

.lp-biz__headline{
  position: relative;
  margin: 10px auto 22px;
  width: min(720px, 100%);
  background: #fff;
  color: #1d2088;
  font-weight: 800;
  text-align: center;
  padding: 14px 18px;
  border-radius: 9999px;
  line-height: 1.4;
}
.lp-biz__headline::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
  width:0;height:0;
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  border-top:12px solid #fff;
}

.lp-biz-types{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto 22px;
}
.lp-biz-type{
  background:#fff;
  border-radius: 10px;
  padding: 16px 14px 14px;
  text-align:center;
}
.lp-biz-type img{
  width: 54px;
  height: auto;
  display:block;
  margin: 0 auto 8px;
}
.lp-biz-type p{
  margin:0;
  color:#1d2088;
  font-weight: 700;
  font-size: 14px;
}

.lp-biz-copy{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  margin: 6px 0 18px;
}
.lp-biz-copy__fukidashi{
  width: 74px;
  height: auto;
  flex: 0 0 auto;
}
.lp-biz-copy__text{ text-align:left; }
.lp-biz-copy__main{
  margin:0 0 6px;
  font-weight: 900;
  color:#fff;
}
.lp-biz-copy__sub{
  margin:0;
  font-weight: 800;
  color:#fff;
}

.lp-biz-spot{
  background:#f6e27d;
  border-radius: 12px;
  padding: 18px 18px;
  position: relative;
  overflow: hidden;
  margin: 0 0 10px;
}
.lp-biz-spot__inner{
  text-align:center;
  color:#1d2088;
}
.lp-biz-spot__label{
  margin: 0 0 8px;
  font-weight: 900;
}
.lp-biz-spot__price{
  margin: 0 0 8px;
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 34px);
}
.lp-biz-spot__note{
  margin:0;
  font-size: 12px;
  font-weight: 700;
}
.lp-biz-spot__cat{
  position:absolute;
  right: 12px;
  bottom: 10px;
  width: 100px;
  height: auto;
}

.lp-biz__small-note{
  margin: 6px 0 22px;
  font-size: 12px;
  color:#fff;
  text-align:center;
}

.lp-biz-flow-title{
  background:#fff;
  color:#1d2088;
  border-radius: 9999px;
  padding: 14px 18px;
  font-weight: 900;
  text-align:center;
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 10px;
  margin: 0 0 18px;
}
.lp-biz-flow-title__dot{
  width:10px;height:10px;
  border-radius:50%;
  background:#1d2088;
}

/* steps (崩れ対策：幅100%固定＋badge絶対配置) */
.lp-biz-steps{
  list-style:none;
  padding:0;
  margin: 0;
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.lp-biz-step{
  position: relative;
  background:#fff;
  border-radius: 14px;
  padding: 22px 22px 22px 112px; /* badge分 */
  min-height: 92px;
  width: 100%;
  box-sizing: border-box;
}
.lp-biz-step__badge{
  position:absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: auto;
}
.lp-biz-step__body h4{
  margin: 0 0 8px;
  color:#1d2088;
  font-weight: 900;
  font-size: 18px;
}
.lp-biz-step__body p{
  margin: 0;
  color:#111;
  line-height: 1.7;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px){
  .lp-biz__tri{ top: 26px; width: 46px; }
  .lp-biz-types{ grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .lp-biz-copy{ justify-content:flex-start; }
  .lp-biz-copy__text{ text-align:left; }
  .lp-biz-spot__cat{ width: 60px;bottom: 43px; }
}
@media (max-width: 520px){
  .lp-biz-types{ grid-template-columns: repeat(2, 1fr); }
  .lp-biz-step{ padding: 18px 16px 18px 80px; }
  .lp-biz-step__badge{ left: 14px; width: 58px; }
}
