.tab {
  list-style-type: none;
  margin-left: 350px;
}
.tab li { /*タブ部分*/
  float: left;
  color: #000;
  margin: 0 2px;
  padding: 3px 7px;
  background: #fff;
  width: 200px;
  text-align: center;
}
.tab li.active { /*選択中のタブ*/
  background: #fff;
  border: 1px solid #999;
  border-bottom-color: transparent; 
}
.tab_area { /*切り替え部分非表示*/
    display: none;
}
.tab_content { /*内容*/
    clear: both;
    padding: 20px;
}

/*新しいやつはここから下*/

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 10px;
  margin: 0 auto;
}
.tab_item_show{
  display: none;
}
/*タブのスタイル*/
.tab_item {
  box-sizing: border-box;
  width: 460px;
  height: 70px;
  border: #77c2fd 3px solid;
  border-radius: 10px 10px 0 0;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #042A4C;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  line-height:20px;
  margin-right: 30px;
  margin-left: 30px;
  border-bottom: none;
  padding-top: 22px;
  background-color: #fff;
}
.tab_item2 {
  box-sizing: border-box;
  width: 460px;
  height: 70px;
  border: #042A4C 3px solid;
  border-radius: 10px 10px 0 0;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #042A4C;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  line-height:20px;
  margin-right: 30px;
  margin-left: 30px;
  border-bottom: none;
  padding-top: 22px;
  background-color: #fff;
  position: relative;
}
.tab_item2::before{
  background-image: url(https://d1e4giw8bkqfro.cloudfront.net/images/recommended-plan.png);
  position: absolute;
  top: -5px;
  right: -26px;
  display: inline-block;
  width: 171px;
  height: 52px;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(24deg);
}
.tab_name {
  font-size: 24px;
}
.tab_name_des {
  font-size: 14px;
}
/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}
/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 10px 0px 0;
  clear: both;
  text-align: left;
}
.tab-area {
  padding-left: 20%;
}
/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
  display: block;
}
/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
    width: 563px;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    box-shadow: 0px 0px 10px rgba(119, 194, 253, 0.812), inset 1px 0px 3px 0px rgba(0, 0, 0, 0.1);
    border: #77C2FD 3px solid;
}
.tabs input:checked + .tab_item::after {
    position: absolute;
    z-index: 1;
    content: "";
    width: 557px;
    height: 20px;
    background-color: #fff;
    bottom: -14px;
    left: 0;
}

.tabs input:checked + .tab_item2 {
    width: 560px;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    box-shadow: 0px 0px 10px rgba(4, 42, 76, 0.812), inset 1px 0px 3px 0px rgba(0, 0, 0, 0.1);
    border: #042a4c 3px solid;
}
.tabs input:checked + .tab_item2::after {
  position: absolute;
  z-index: 1;
  content: "";
  width: 554px;
  height: 20px;
  background-color: #fff;
  bottom: -14px;
  right: 0;
}

#all_content{
  max-width: 1080px;
  height: auto;
  border: #77c2fd 3px solid;
  border-radius: 0 10px 10px 10px; 
  background-color: #fff;   
  box-sizing: border-box;
  box-shadow: 0px 0px 10px rgba(119, 194, 253, 0.812), inset 1px 0px 3px 0px rgba(0, 0, 0, 0.1);
}
#programming_content{
  max-width: 1080px;
  height: auto;
  box-shadow: 0px 0px 10px rgba(4, 42, 76, 0.812), inset 1px 0px 3px 0px rgba(0, 0, 0, 0.1);
  border: #042a4c 3px solid;
  border-radius: 10px 0 10px 10px;
  background-color: #fff;
  box-sizing: border-box;
}
#tab_area1,
#tab_area3{
  width: 1048px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.pricing_plan_header{
  width: 690px;
  display: flex;
  justify-content: space-between;
  margin: 10px 40px 10px auto;
  background-color: #fff;
}
.pricing_plan_header li{
  width: 210px;
  text-align: center;
  font-weight: 700;
  text-align: center;
}
.plan_detail_area .pricing_plan_header span{
  font-size: 18px;
}
.plan_detail_area .pricing_plan_header li{
  width: 210px;
  border-bottom: 7px solid #77C2FD;
}
.plan_detail_area .pricing_plan_header li:first-child{
  border-bottom: 7px solid #e2e2e2;
}
/* チェックボックス */
 /* .plan_toggle {
    display: none;
} */
/* ラベル */
.plan_label {		
  padding: 25px 10px 8px;
  display: block;
  color: #042A4C;
  font-weight: 700;
  background:#fff;
  position: relative;
  border-bottom: #042A4C solid 1px;
  font-size: 18px;
}
/* 下矢印 */
/* .plan_label::before{
    content:"";
    width: 6px;
    height: 6px;
    border-top: 2px solid #042A4C;
    border-right: 2px solid #042A4C;
    position: absolute;
    top: calc( 50% - 3px );
    right: 20px;
    transform: rotate(135deg);
  transition: all .3s;
} */
/* アコーディオンの本文部分 */
/* .pricing_plan_wrap .content {
  display: none;
} */
/* アコーディオンを開いた時のスタイル */
/* :checkedが付いたチェックボックスの直接の兄弟要素にスタイルを当てる */
/* .plan_toggle:checked + .plan_label + .content {	
  display: block;
    transition: all 1.0s;
} */
/* アコーディオンを開いた時の下矢印（180度回転させる） */
/* .plan_toggle:checked + .plan_label::before {
    transform: rotate(-45deg);
  transition: all .3s;
} */

.plan_detail{
  margin: 100px auto 35px;
  font-weight: 700;
}
.plan_detail span{
  position: relative;
}
.plan_detail span::before{
  content: "";
  width: 19px;
  height: 24px;
  background-image: url(https://d1e4giw8bkqfro.cloudfront.net/images/hidari.png);
  background-size: cover;
  position: absolute;
  left: -50px;
  top: 1px;
}
.plan_detail span::after{
  content: "";
  width: 19px;
  height: 24px;
  background-image: url(https://d1e4giw8bkqfro.cloudfront.net/images/migi.png);
  background-size: cover;
  position: absolute;
  right: -50px;
  top: 1px;
}
.pricing_plan_wrap{
  max-width: 1050px;
  margin: 0 auto 20px;
  height: auto;
}
.pricing_plan_wrap .functionListItem.functionListItem--content .helpLnk{
  color: #10bbf1;
}
.plan_header_wrap{
  right: 0;
  z-index: 1;
  width: 100%;
}
.pricing_plan_left{
  padding-left: 10px;
}
.pricing_plan_right{
  display: flex;
  justify-content: space-between;
  width: 690px;
  margin-right: 30px;
}
.pricing_plan_wrap .content li:nth-child(even){
  background-color: #F3F4F5;
}
.content .functionListItem{
  display: flex;
  justify-content: space-between;
  height: 30px;
  font-size: 16px;
  border: none;
}
.tabsForWideWindow{
  position: relative;
  background: none;
  max-width: 1100px;
  margin: 10px auto 0;
}
.tabsForWideWindow::after{
  width: 200vw;
  height: 100%;
  position: absolute;
  content: "";
  top: -25px;
  left: -50%;
  z-index: -1;
  padding-top: 60px;
  background-color: #F3F4F5;
}
.accordionForNarrowWindow .tab_content.business,
.accordionForNarrowWindow .tab_content.enterprise_sp{
  display: none;
}
.accordionForNarrowWindow .tab_content.business.opened,
.accordionForNarrowWindow .tab_content.enterprise_sp.opened{
  display: block;
}
.pricing_plan_left a span{
  z-index: 1;
}



@media (max-width: 1100px) { 
  .tab_item_show {
    display: block;
    text-align: center;
    color: #696969;
    text-decoration: underline;
  }
  .tab {
    margin-left: 15px;
    margin-right: 10px;
  }
  .tab li {
    width: 42%;
    height: 0px;
    line-height: 0px;
  }
  .tab_content {
    width: 100%;
    padding: 0;
  }
  .tab_item {
    width: 100%;
    font-size: 15px;
    margin-left: 0;
    margin-bottom: 20px;
    height: 140px;
    padding-top: 30px;
    background-color: #ffffff;
  }
  .accordionForNarrowWindow .enterprise {
    width: 100%;
    font-size: 15px;
    margin-left: 0;
    margin-bottom: 20px;
    height: 140px;
    padding-top: 30px;
    background-color: #ffffff;
  }
  .tabs input:checked + .tab_item {
    border-bottom: 3px solid #258ccc;
  }
  .tabs input:checked + .tab_item2 {
    border-bottom: 3px solid #258ccc;
  }
  .tab-area {
    padding-left: 0;
  }
  .tab_name {
    font-size: 22px;
  }
  .tab_name_des {
    font-size: 16px;
  }
  .accordionForNarrowWindow{
    width: 100%;
  }
  .tab_item{
    border: none;
    border-radius: 10px;
    box-shadow: none;
    margin: 30px 20px 0px;
    width: 90%;
    float: none;
    background-color: none;
  }
  .tab_item2{
    float: none;
    border: none;
    box-shadow: none;
    background: none;
  }
  .accordionForNarrowWindow .enterprise_sp,
  .accordionForNarrowWindow .business{
    height: auto;
    width: 100%;
    margin: 0px;
    padding: 30px 0 20px;
  }
  .tab_name{
    color: #042A4C;
  }
  .tab_name_des{
    color: #042A4C;
    padding-top: 15px;
  }
  .tab_item_show{
    color: #042A4C;
    font-weight: 100;
    margin-top: 10px;
    font-size: 16px;
  }
  .sp_ent_description p{
    text-align: center;
    font-size: 14px;
  }
  #tab_area1, #tab_area3{
    width: 100%;
    flex-flow: column;
    padding-bottom: 20px;
    margin-bottom: 20px;
    gap: 20px;
  }
  .pricing_plan_wrap{
    width: 95%;
    height: auto;
    padding-bottom: 20px;
    margin-bottom: 0;
  }
  .pricing_plan_wrap .content{
    padding: 0;
    width: 100%;
    margin: 0 auto;
    max-height: none;
    overflow: visible;
  }
  .pricing_plan_header{
    width: 95%;
    margin: 0 auto;
    font-size: 13px;
  }
  .pricing_plan_header li{
    width: calc(100% / 3 -5px);
    margin: 0 2px;
    border-bottom: #77C2FD solid 8px;
  }
  .pricing_plan_header span{
    background: none;
  }
  .pricing_plan_left{
    font-size: 14px;
    }
  .pricing_plan_left_bold{
    font-weight: 700;
  }
  .plan_detail_area .pricing_plan_header span{
        font-size: 14px;
    }
  .content .functionListItem{
    flex-flow: column;
    height: 65px;
  }
  
  .pricing_plan_right{
        width: 95%;
    margin: 0 auto;
    padding-bottom: 10px;
    }
  .plan_label{
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
  }
  #all_content_for_narrow{
    border: #042A4C 3px solid;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(74, 74, 74, 0.812), inset 1px 0px 3px 0px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }
  .plan_detail{
        margin: 100px auto 20px;
    }
  .tab_content_description{
    height: auto;
  }
  .sp-tab-item-wrapper{
    box-shadow: 0px 0px 10px rgba(119, 194, 253, 0.812), inset 1px 0px 3px 0px rgba(0, 0, 0, 0.1);
    border: #77C2FD 3px solid;
    width: 70%;
    margin: 0 auto;
    border-radius: 10px;
    background-color: #fff;

  }
  .sp-tab-item-wrapper:has(.tab_item2){
    box-shadow: 0px 0px 5px rgba(74, 74, 74, 0.812), inset 1px 0px 3px 0px rgba(0, 0, 0, 0.1);
    border: #042A4C 3px solid;
    margin-top: 40px;
  }
  .tab_content.business.opened,
  .tab_content.hide.enterprise_sp.opened{
    height: auto;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
    position: relative;
 }
 .tab_content.business.opened::after,
 .tab_content.hide.enterprise_sp.opened::after{
    display: none;
 }
 .plan_detail_area{
  width: 70%;
  margin: 0 auto;
 }
 .tabs{
  padding-bottom: 20px;
 }
  
  }

  @media (max-width: 600px) {
    .pricing_plan_wrap{
      width: 100%;
    }
    .pricing_plan_header{
      width: 100%;
    }
    .plan_detail_area{
      width: 94%;
    }
    .plan_detail{
      font-size: 18px;
      margin-top: 40px;
    }
    .sp-tab-item-wrapper{
      width: 92%;
    }
    .tab_item2::before{
      top: 3px;
      right: 26%;
      display: inline-block;
      width: 163px;
      height: 52px;
      transform: rotate(0);
      left: 50%;
      transform: translateY(-50%) translateX(-50%);
    }
   }

