@charset "UTF-8";

/* ----- .plan-detail ----- */
.plan-detail {
  position: relative;
}
.plan-detail h4 {
  background: #fff;
  padding: 2rem 1.5rem 2rem 11rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.plan-detail h4 span {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.5;
  padding-left: 1.5rem;
  border-left: 0.1rem #ccc solid;
}
.plan-detail h4::before {
  content: "選択中";
  font-size: 1.8rem;
  color: var(--bred);
  position: absolute;
  top: 50%;
  left: 3.5rem;
  transform: translateY(-50%);
}
.plan-detail h4 span::after {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  background: var(--bred);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
}

/* 月掛金　SP
-----------------------------------*/
.plan-detail .premium{
  background: #fff;
  padding: 1.2rem;
  position: absolute;
  top: -8rem;
  right: 1rem;
}
.plan-detail .premium p:first-child {
  font-weight: 700;
  line-height: 1;
}
.plan-detail .premium p:first-child span:first-child {
  display: inline-block;
  background: var(--green);
  font-size: 1.4rem;
  color: #fff;
  padding: 0.2rem 0.4rem;
  border-radius: 0.2rem;
}
.plan-detail .premium p:first-child strong {
  font-family: "Roboto", sans-serif;
  font-size: 2.4rem;
  color: var(--bgreen);
  margin-left: 1rem;
}
.plan-detail .premium p:last-child {
  font-size: 1.3rem;
  font-weight: 700;
}

/* 月掛金-02　SP
-----------------------------------*/
.plan-detail .premium-02{
  display: flex;
  flex-direction: row;
  padding: 1rem 2rem;
  line-height: 1.5;
  background: #fff;
  position: absolute;
  top: -8rem;
  right: 0;
}
.plan-detail .premium-02 p{
  width: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 0;
  border-radius: 0.2rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
}
.premium-02-in{
  width: calc(100% - 7rem);
}
.premium-02-in dl{
  display: flex;
  align-items: flex-end;
  padding: 0 0 0 1rem;
  line-height: 1.4;
  font-size: 1.4rem;
}
.premium-02-in dl dt{
  width: 8rem;
  padding: 0;
  text-align: right;
}
.premium-02-in dl dd{
  width: calc(100% - 8rem);
}
.premium-02-in dl dd strong{
  padding-right: 0.2rem;
  font-size: 1.8rem;
  font-weight: 700;
  color:var(--green);
}


/* PC / SP 共通・切り替え
--------------------------*/
.plan-table-sp {
  font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
}
.plan-table-pc {
  display: none;
  font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
}



/* 切り替えタブ SP
--------------------------*/
ul.tab-area {
  display: flex;
  max-width: 120rem;
  margin: 0 auto 2rem;
  border: 0.3rem var(--green) solid;
  border-radius: 0.5rem;
  cursor: pointer;/* カーソルポインターに */
  background: #fff;
}
ul.tab-area li {
  padding: 1rem 0;
  text-align: center;
  border-right: 0.2rem var(--green) dashed;
  color: #34847d;
  background: transparent;
  font-size: 1.2rem;
  font-weight: bold;
  position: relative;
}
ul.tab-area.tb-wh20 li {
  width: 20%;
}

ul.tab-area li p:first-child strong {
  font-size: 1.6rem;
}
@media screen and (max-width:389px) {
  ul.tab-area li p:first-child strong {
    font-size: 1.4rem;
  }
}
ul.tab-area li p:first-child span {
  font-size: 1.3rem;
}
ul.tab-area li p:last-child {
  display: none;
}

/* 動き SP */
ul.tab-area li.tab.active {
  background: var(--green);
  color: #fff;
}
ul.tab-area.tb-wh20 li.tab:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
  margin-left: -0.2rem;
  width: calc( 20% + 0.2rem );
}
ul.tab-area.tb-wh20 li.tab:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
  margin-right: -0.2rem;
  width: calc( 20% + 0.2rem );
}
ul.tab-area li.tab.active p:last-child {
  display: block;
  width: 100%;  
  position: absolute;
  bottom: -1rem;
  left: 0;
}
ul.tab-area li.tab.active p:last-child span {
  display: block;
  width: 1.5rem;
  margin: 0 auto;
}

.panel {
  display: none;
}
.panel.active {
  display: block;
}


/* パネル内table SP
--------------------------*/
.plantb {
  width: 100%;
  border-collapse: separate;
  border: 0.3rem var(--green) solid;
  border-radius: 1rem;
  border-spacing: 0;
  line-height: 1.5;
  overflow: hidden;
}

/* 共通 SP
--------------------------*/
.plantb th, .plantb td {
  border-right: 0.1rem var(--green) solid;
  text-align: left;
  vertical-align: middle;
  padding: 1rem;
}

/* 1行目 SP
--------------------------*/
.plantb tr:first-child th {
  background: var(--tbbggn);
  padding: 1.2rem 1rem 1.2rem;
  font-size: 1.4rem;
  font-weight: 700;
  border-right: none;
  border-bottom: 0.1rem var(--green) solid;
}
.plantb tr:first-child th.row-top strong {
  font-size: 1.8rem;
}
.plantb tr:first-child th span{
  padding: 0 0 0 1.5rem;
}
.plantb tr:first-child th span strong{
  font-size: 1.6rem;
}


/* 2行目〜 SP
--------------------------*/
.plantb th {
  width: 28%;
  font-size: 1.4rem;
  border-bottom: 0.1rem var(--green) solid;
}
.plantb td:first-of-type {
  width: 46%;
}
.plantb td:last-of-type {
  width: 26%;
}
.plantb td {
  width: 38%;
  font-size: 1.2rem;
  border-bottom: 0.1rem var(--green) solid;
}
.plantb tr:nth-child(9) td,
.plantb tr:nth-child(11) td,
.plantb tr:nth-child(12) td {
  border-bottom-style: dashed;
}

/* 追加保障なし Ver
----------------------------*/
.plantb.plantb-02 tr:nth-child(8) td,
.plantb.plantb-02 tr:nth-child(10) td,
.plantb.plantb-02 tr:nth-child(11) td {
  border-bottom-style: dashed;
}
.plantb.plantb-02 tr:nth-child(9) td{
  border-bottom-style: solid;
}


.plantb td[colspan="2"] {
  background: var(--tbbgbl);
  font-size: 1rem;
  padding: 0.5rem 1rem 0.5rem 0;
  border-bottom: none;
}
.plantb td[colspan="2"] span.day {
  font-size: 1.2rem;
  font-weight: 700;
}
.plantb td span.num {
  font-size: 1.4rem;
  font-weight: 700;
}
.plantb td:last-child {
  width: 32%;
  font-size: 1.2rem;
  text-align: right;
  padding-right: 1rem;
  border-right: none;
}
.plantb td:last-child span {
  font-size: 1.6rem;
}
.plantb td.t-center{
  text-align: center;
}


.plantb tr span.paren {
  display: block;
  font-size: 1.1rem;
}
.plantb tr span.paren2 {
  font-size: 1.1rem;
}
.plantb tr span.note {
  font-size: 1rem;
}

/* 最終行 SP
--------------------------*/
.plantb th[rowspan="3"], .plantb tr:last-child td {
  border-bottom: none;
}

/* セルの背景色 SP
--------------------------*/
.plantb tr:nth-child(1),
.plantb tr:nth-child(3), .plantb tr:nth-child(4),
.plantb tr:nth-child(7),
.plantb tr:nth-child(9), .plantb tr:nth-child(10) {
  background: var(--tbbggn);
}
.plantb tr:nth-child(2),
.plantb tr:nth-child(5), .plantb tr:nth-child(6),
.plantb tr:nth-child(8),
.plantb tr:nth-child(11), .plantb tr:nth-child(12), .plantb tr:nth-child(13) {
  background: #fff;
}

/* セルの背景色 SP 追加保障なし ver
---------------------------------------*/
.plantb.plantb-02 tr:nth-child(2),
.plantb.plantb-02 tr:nth-child(3),
.plantb.plantb-02 tr:nth-child(6),
.plantb.plantb-02 tr:nth-child(8),
.plantb.plantb-02 tr:nth-child(9){
  background: #fff;
}
.plantb.plantb-02 tr:nth-child(1),
.plantb.plantb-02 tr:nth-child(4),
.plantb.plantb-02 tr:nth-child(5),
.plantb.plantb-02 tr:nth-child(10),
.plantb.plantb-02 tr:nth-child(11),
.plantb.plantb-02 tr:nth-child(12) {
  background: var(--tbbggn);
}


/* コメント SP
--------------------------*/
.comment-box {
  margin-top: 2rem;
}
.comment-box ul {
  font-size: 1.2rem;
}
.comment-box li span {
  padding-right: 1em;
}



