/* ======== .plan-table=============== */

.plan-table tbody tr:nth-child(even) {
  /* background: #F3F3F3; */
}

.plan-table tbody tr:nth-child(odd) {
  /* background: #fff; */
}

.plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  /* enable fixed layout so th width works */
  border-radius: 16px;
  overflow: hidden;
}

.plan-table th,
.plan-table td {
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.plan-table td {
  padding: 20px 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  /* font-weight: var(--font-semibold); */
  border-right: 1px solid #C9C9C9;
  /* 右側だけ線 → 重なり防止 */
  border-bottom: 1px solid #C9C9C9;
  /* 下側だけ線 */
}

.plan-table td .sub {
  font-size: 10px;
  line-height: 1.4;
  color: #666;
}

.plan-table tr>td:first-child {
  border-left: 1px solid #C9C9C9;
}

.plan-table tbody tr:last-child>td {
  border-bottom: 1px solid #C9C9C9;
}

.plan-table .th-first {
  border-radius: 16px 0 0 0;
  border: 1px solid #C9C9C9;
}

.plan-table .th-last {
  border-radius: 0 0 0 16px;
}

.plan-table .td-last {
  border-radius: 0 0 16px 0;
}

.plan-table .th-blank {
  background: transparent;
  border-right: none;
  border-bottom: none;
  width: 180px;
  border: none;
}

.plan-table thead th.th-head {
  width: calc((100% - 180px) / 3);
  height: 60px;
  padding-top: 10px;
  text-align: center;
}

.plan-table .th-head {
  position: relative;
}

.plan-table .th-head .txt {
  z-index: 2;
  position: relative;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}
.plan-table .th-head .txt .sub{
  font-size: 14px;
}

.plan-table .th-head:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  border: 2px solid #C9C9C9;
  background: #fff;
  border-radius: 16px 16px 0 0;
}
/* スタートプラン列の色枠 */
.th-head.plan_1:before {
  border: 2px solid #00CEDF; /* 水色 */
  background: #00CEDF;
}
.plan-table .plan_1:not(.th-head){
  /* border-right: 4px solid #00CEDF;
  border-left: 4px solid #00CEDF; */
  background-color: #F2FDFF;
}
.plan-table tr:last-child .plan_1{
  /* border-bottom: 4px solid #00CEDF; */
}
.th-head.plan_1 {
  border-right: none;
  border-left: none;
}
/* スタートプラン列の色枠 */
.th-head.plan_2:before {
  border: 4px solid #008CF8; /* 水色 */
  background: #008CF8;
}
.plan-table .plan_2:not(.th-head){
  /* border-right: 4px solid #008CF8;
  border-left: 4px solid #008CF8; */
  background-color: #EFFAFF;
}
.plan-table tr:last-child .plan_2{
  /* border-bottom: 4px solid #008CF8; */
}
.th-head.plan_2 {
  border-right: none;
  border-left: none;
}
/* スタートプラン列の色枠 */
.th-head.plan_3:before {
  border: 4px solid #7F14F0; /* 水色 */
  background: #7F14F0;
}
.plan-table .plan_3:not(.th-head){
  /* border-right: 4px solid #7F14F0;
  border-left: 4px solid #7F14F0; */
  background-color: #F7F0FF;
}
.plan-table tr:last-child .plan_3{
  /* border-bottom: 4px solid #7F14F0; */
}
.th-head.plan_4 {
  border-right: none;
  border-left: none;
}

.th-head.plan_4:before {
  border: 4px solid #E014A4; /* 水色 */
  background: #E014A4;
}
.plan-table .plan_4:not(.th-head){
  /* border-right: 4px solid #7F14F0;
  border-left: 4px solid #7F14F0; */
  background-color: #FFF2FA;
}







.plan-table tbody th {
  background: #fff;
  font-weight: var(--font-medium);
  text-align: left;
  font-size: 13px;
  border-right: 1px solid #C9C9C9;
  border-bottom: 1px solid #C9C9C9;
  border-left: 1px solid #C9C9C9;
  width: 140px;
  line-height: 1.4;
  padding: 20px 16px;
}

.plan-table tbody th .sub {
  font-size: 12px;
}


.plan-table .badge {
  display: block;
  margin: 0 auto;
}


.plan-table .badge_txt {
  display: block;
  margin-top: 6px;
  line-height: 1.7;
}


.plan-table .badge.circle {
  position: relative;
  width: 30px;
  height: 30px;
  border: 3px solid #111;
  border-radius: 50%
}

.plan-table .badge.circle--double::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	width: 14px;
	height: 14px;
	border: 3px solid #111;
	border-radius: 50%;
	/* transform: translate(-50%, -50%); */
}

.plan-table .badge.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 26px 15px;
  border-color: transparent transparent #A8A8A8 transparent;
  /* Equilateral: height = base * sqrt(3) / 2. For height 48px, base ≈ 56px */
  /* border-left: 28px solid transparent; */
  /* half base ≈ 28px */
  /* border-right: 28px solid transparent; */
  /* half base ≈ 28px */
  /* border-bottom: 48px solid #111; */
  /* height = 48px */
}

.plan-table .badge.ring {
  position: relative;
  width: 48px;
  height: 48px;
  border: 3px solid #111;
  border-radius: 50%;
}

.plan-table .badge.ring:after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 3px solid #111;
  border-radius: 50%;
}


/* brand column: cross (×) */
.plan-table .badge.cross {
  position: relative;
  width: 30px;
  height: 30px
}

.plan-table .badge.cross:before,
.plan-table .badge.cross:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 4px;
  background: #A8A8A8;
}

.plan-table .badge.cross:before {
  transform: translate(-50%, -50%) rotate(45deg)
}

.plan-table .badge.cross:after {
  transform: translate(-50%, -50%) rotate(-45deg)
}

.plan-table .badge.minus {
  position: relative;
  /* width: 48px;
  height: 48px */
}


.plan-table .badge.minus::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;      /* 既存と同じ太さ */
  height: 4px;      /* 既存と同じ線の厚み */
  background: #A8A8A8; /* 同じ色 */
  transform: translate(-50%, -50%);
}


@media (max-width: 1060px) {
  .plan-table tbody th {
    width: 140px;
  }

  .plan-table .th-blank {
    width: 140px;
  }
}

/* Responsive - small screens scrollable */
@media (max-width: 940px) {
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .plan-table tbody th {
    font-size: 14px;
  }

  .plan-table {
    min-width: 980px;
    /* keep layout and enable horizontal scroll */
    font-size: 13px;
    display: table !important;
    table-layout: fixed;
  }

  .plan-table thead {
    display: table-header-group !important
  }

  .plan-table tbody {
    display: table-row-group !important
  }

  .plan-table tr {
    display: table-row !important
  }

  .plan-table th,
  .plan-table td {
    display: table-cell !important;
    padding: 12px 10px;
  }

}

@media (max-width: 767px) {
  /* badge sizes - half on mobile */
  .plan-table .badge.circle {
    width: 24px;
    height: 24px;
    border-width: 2px;
  }

  .plan-table .badge.circle--double::before {
    width: 12px;
    height: 12px;
    top: 4px;
    left: 4px;
    border-width: 2px;
  }

  .plan-table .badge.ring {
    width: 24px;
    height: 24px;
    border-width: 2px;
  }

  .plan-table .badge.ring:after {
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-width: 2px;
  }

  .plan-table .badge.triangle {
    border-left-width: 14px;
    border-right-width: 14px;
    border-bottom-width: 24px;
  }

  .plan-table .badge.cross {
    width: 24px;
    height: 24px;
  }

  .plan-table .badge.cross:before,
  .plan-table .badge.cross:after {
    width: 24px;
    height: 3px;
  }
}

@media (max-width: 767px) {
  .plan-table{
    min-width: 500px;
  }
  .plan-table.plan-table--sns{
    min-width: 550px;
  }
  .plan-table th,
  .plan-table td {
    font-size: 10px;
    padding: 8px;
  }

  .plan-table tbody th {
    padding: 8px;
    font-size: 12px;
    width: 80px;
  }

  .plan-table .th-blank {
    width: 80px !important;
  }

  .plan-table .th-head .txt{
    font-size: 10px;
    width: 100%;
  }
  .plan-table .th-head .txt .sub{
    font-size: 10px;
  }
  .plan-table tbody th {
    width: 80px;
  }
  .plan-table thead th.th-head{
    min-width: 130px;
    height: 34px;
    padding: 0 8px;
    padding-top: 4px;
  }
  .plan-table .th-head:before{
    height: 30px;
  }
}


.plan-table tbody tr:nth-child(odd) td {
  /* background: #fff; */
}

.table_note {
  font-size: 12px;
  color: #666;
  margin-top: 16px;
  text-align: left;
  text-indent: -1em;
  padding-left: 1em;
}