@charset "utf-8";


/* plan_desc */
#plan_list{
  padding-top:60px;
}
#plan_list > div{
  padding:0px 0;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.plan_tags{
  max-width: 400px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  flex-wrap: wrap;
  gap:5px;
  margin-bottom:30px;
  height: fit-content;
  justify-content: center;
}
.plan_tags p{
  text-align: center;
  display: block;
  padding:5px 7px;
  font-size: 14px;
  cursor: pointer;
  border:solid 1px #D3B268;
  color:#fff;
  transition: all 0.4s;
}
.plan_tags p.selected{
  background: #D3B268;
  color:#fff;
}
.plan_tags p:hover{
  background: #D3B268;
  transition: all 0.4s;
}
.plan_tags p.off{
  display: none;
}
.plan_l{
  width: 100%;
  max-width: 500px;
  padding: 0 20px;
}
/* .plan_l h3{
  font-family: 'Noto Serif JP', serif;
  position: relative;
  font-size: 20px;
  padding-left: 20px;
  color:#fff;
  margin-bottom: 20px;
  &:before{
    content:"";
    position: absolute;
    height: 100%;
    width: 5px;
    left: 0;
    top:0;
    bottom:0;
    margin: auto;
    background: #A58D5E;
  }
} */
.plan_l h3{
  font-size: 24px;
      line-height: 1.2em;
      color: #fff;
      font-family: 'Noto Serif JP', serif;
      transform: rotate(.03deg);
      position: relative;
      border-left: 5px solid #e5a74a;
      margin-bottom: 10px;
      padding: 0 5px;
}
.plan_ttl{
  position: relative;
}
.plan_ttl .plan_form_sel{
  position: absolute;
  top:4px;
  bottom:0;
  margin: auto;
  right:0;
  background: #fff;
  z-index: 5;
}
.plan_ttl .plan_form_sel select{
  color:#D3B268;
  border: solid 1px #A58D5E;
  border-radius: 2px;
  padding:6px 5px;
  font-size: 10px;
  -webkit-appearance: none;
  appearance: none; /* デフォルトの矢印を非表示 */
  padding-left: 10px;
  width: 100px;
  background: transparent;

}
.plan_form_sel select::-ms-expand {
  display: none; /* デフォルトの矢印を非表示(IE用) */
}
.plan_form_sel::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 17px;
  height: 21px;
  background: #A58D5E;
  z-index: -5;
}
.plan_form_sel::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #fff;
  content: "";
  position: absolute;
  right: 5px;
  top: 9px;
  width: 0;
  z-index: -5;
}
.plan_price{
  font-size: 20px;
  font-weight: bold;
  text-align: right;
  letter-spacing: 0.004em;
}
.plan_price span{
  font-size: 10px;
}

.plan_desc{
  border-top: solid 1px;
  padding:20px 0;
  display: none;
  color: #fff;
}
.plan_desc.on{
  display: block;
}
.plan_desc:last-of-type{
  border-bottom: solid 1px;
}
.plan_desc > .grid{
  display: grid;
  grid-template-columns: 100px 1fr;
  gap:20px;
  position: relative;
  margin-bottom:35px;
  cursor: pointer;
}
.plan_desc > .grid:after{
  position: absolute;
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  border: 2px solid;
  border-color: transparent transparent #fff #fff;
  transform: rotate(-45deg);
  right: 0;
  left: 0;
  bottom: -15px;
  margin: auto;
}
.plan_desc > .grid.on:after{
  transform: rotate(135deg);
  bottom:-20px;
}
.plan_desc > .grid > div img{
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.plan_accord {
  display: none;
}
.plan_accord > .pan_overview{
  display: grid;
  padding:15px;
  grid-template-columns: 60% 125px;
  margin-bottom:10px;
  background: #070302;
  justify-content:space-between;
  cursor: pointer;
  transition: all 0.4s;
}
.plan_accord > .pan_overview:hover{
  opacity: 0.4;
}
.plan_accord > .pan_overview .plan_price{
  margin-bottom:10px;
}
.plan_accord > .pan_overview .box_in_btn{
  max-width: 100%;
  text-align: center;
  border: none;
  color:#fff;
  padding:5px 0;
  margin-block-start: 0;
  margin-block-end: 0;
  border: 1px solid #D3B268;
}
.plan_accord > .pan_overview .box_in_btn.arrow_white:after{
  width: 10px;
  height: 10px;
  background-size:cover;
  right:5px;
}

.priice_ico_plus {
    position: relative;
    height: 25px;
    margin-bottom:20px;
}
.priice_ico_plus::before,
.priice_ico_plus::after  {
    content: '';
    display: inline-block;
    position: absolute;
    width: 4px;
    height: 25px;
    left: 0;
    right:0;
    margin:auto;
    background-color: #000;
}
.priice_ico_plus::after {
    transform: rotate(90deg);
}

/* モーダル */
.plan_desc_overlay{
  position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      visibility: hidden;
      opacity: 0;
      min-height: 0vh;
      padding: 0 10%;
      padding-top: 120px;
      background: #898989;
      transition: .2s;
      z-index: 8600;
}
.plan_desc_overlay.on{
  width: 100%;
  min-height: 100vh;
  visibility: visible;
  opacity: 0.95;
  transition: .2s;
  overflow: scroll;
}
.plan_close{
  position: fixed;
  right: 30px;
  top: 35px;
  cursor: pointer;
  display: block;
  width: 25px;
  height: 24px;
  pointer-events: none;
}
.plan_close::before,
.plan_close::after {
  content: "";
  position: absolute;
  top: 44%;
  left: 43%;
  width: 1px;
  height: 30px;
  background: #fff;
}
.plan_close::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
.plan_close::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

.plan_modal{
  width: 85%;
  max-width: 350px;
  height: fit-content;
  max-height: 90vh;
  background: #222222;
  padding-bottom: 20px;
  position: fixed;
  top: 5%;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  overflow: scroll;
  opacity: 0;
  visibility: hidden;
  z-index: 9000;
}
.plan_modal.on{
  opacity: 1;
  visibility: visible;
}
.plan_modal > p{
  text-align: center;
  padding:5px;
  color:#fff;
  background: #d1b26c;
  font-size: 16px;
  font-family: 'Noto Serif JP', serif;
}
.plan_modal_inner{
  padding:20px;
  background: #222222;
}
.plan_modal img{
  display: block;
  margin: auto;
}
.plan_slide{
  margin-bottom:40px;
}
.plan_modal_inner .grid{
  margin-bottom:15px;
  display: grid;
  grid-template-columns: 60% 1fr;
  align-items: flex-end;
}
.plan_modal dl{
  border-top:solid 1px;#000;
  padding:10px 0;
}
.plan_modal dl:last-of-type{
  border-bottom:solid 1px;#000;
}
.plan_modal dl dt,
.plan_modal dl dd{
  padding:0 20px;
}
.plan_modal dl dt{
  font-size: 14px;
  font-weight: bold;
  position: relative;
  cursor: pointer;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
}
.plan_modal dl dt:after{
  position: absolute;
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  border: 2px solid;
  border-color: transparent transparent #fff #fff;
  transform: rotate(-45deg);
  right: 20px;
  bottom: 3px;
  top: 0;
  margin: auto;
}
.plan_modal dl dt.on:after{
  transform: rotate(135deg);
}
.plan_modal dl dd{
  display: none;
  font-size: 12px;
  line-height: 2;
  white-space: pre-wrap;
}
.plan_modal dl:first-of-type dd{
  display: block;
}

.plan_modal .btn_red01{
  padding-left:18px;
  margin: auto;
  display: block;
  width: fit-content;
  padding: 15px 30px;
  border: 4px solid #97731a;
  background: linear-gradient(to bottom, rgba(156, 126, 33, 1) 0%, rgba(239, 188, 66, 1) 44%, rgba(239, 188, 66, 1) 44%, rgba(239, 188, 66, 1) 54%, rgba(178, 129, 14, 1) 100%);
}
.plan_modal .btn_red01 span:before{
  content:none;
}
.plan_modal a:link{
  color: #fff;
}
@media screen and (min-width: 1020px) {
  #plan_list > div {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
  }
  .plan_tags {
    width: 100%;
    max-width: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 50px;
  }
  .plan_form_sel::before {
    right: 2px;
    top: 2px;
    width: 17px;
    height: 21px;
  }

  .plan_desc {
    padding: 20px 30px;
  }
  .plan_modal.on {
    width: 85%;
    max-width: 560px;
    max-height: fit-content;
    overflow: visible;
  }
  .plan_close {
    position: absolute;
    right: 0px;
    top: -35px;
    cursor: pointer;
    display: block;
    width: 25px;
    height: 24px;
}
  .plan_modal{
    overflow-y: scroll;
    overflow-x: visible;
    padding-bottom:0;
  }
  .plan_modal > p{

  }
  .plan_modal > div{
    overflow-y: scroll;
    max-height: 80vh;

  }
  .plan_modal > div::-webkit-scrollbar{
      width: 3px;

  }
  .plan_modal > div::-webkit-scrollbar-track{
    border-radius: 10px;
  }
  .plan_modal > div::-webkit-scrollbar-thumb{
    background: var(--color-brown03);
    border: solid var(--color-brown03);
    border-radius: 10px;
  }
  .plan_modal > div::-webkit-scrollbar-track-piece{
    background: inherit;
  }
}
