p.note, div.note{
  font-size: 14px;
}

/* 「相続のお悩み」から料金プランを探す */
.fee-planhead{
  background: #ebf3f7;
  padding: 40px 0;
  letter-spacing: 0.1em;
}

.fee-planhead .container{
  background: #fff;
  padding: 4em 2em 2em 2em;
  box-sizing: border-box;
  position: relative;
  margin-top: 5em;
}

#content .fee-planhead h2{
  text-align: center;
  font-size: 2em;
  margin-top: 0;
}
#content .fee-planhead h3{
  text-align: center;
  border: 0;
  font-size: 1.5em;
}
#content .fee-planhead h4{
  display: block;
  padding: 0 0 0 0.5em;
  border-left: solid 5px #3f8fb5;
  font-size: 1.2em;
  font-weight: 700;
  margin: 2.3em 0 0.8em 0;
  line-height: 1.4;
}

#content .fee-planhead h4:first-child{
  margin-top: 0;
}

.fee-plan-img {
  width: 18%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -6em;
}

#content .fee-planhead a{
  color: #1f3183;
  text-decoration: underline;
  transition: .3s;
  font-size: 18px;
  margin-right: 1em;
}

#content .fee-planhead a:hover{
  color: #9e8850;
}
#content .fee-planhead a::before{
  content: '';
  background: url(../images/ico_authense_arrow.svg) no-repeat;
  background-size: contain;
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.2em;
}

.cp_box input {
  display: none;
}
@media (max-width: 992px){ 
  .fee-plan-img{
    width: 25%;
  }

} 
@media (max-width: 767px){ 
  #content .fee-planhead h2{
    font-size: 1.8em;
    margin-top: 1.5em;
  }

  #content .fee-planhead .container{
    width: 90%;
    margin: 5em auto;
  }

  .fee-plan-img{
    width: 30%;
    min-width: 140px;
    top: -6em;
  }

  #content .fee-planhead a{
    display: block;
    margin-right: 0;
    position: relative;
    padding-left: 1.3em;
  }

  #content .fee-planhead a::before{
    display: block;
    position: absolute;
    left: 0;
    top: 5px;
  }

  /* 続きを見るアコーディオン */
  .cp_box *, .cp_box *:before, .cp_box *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .cp_box {
    position: relative;
  }
  .cp_box label {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 200px; /* グラデーションの高さ */
    cursor: pointer;
    text-align: center;
    background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgb(255, 255, 255) 55%);
  }
  .cp_box input:checked + label {
    background: inherit; /* 開いた時にグラデーションを消す */
  }
  .cp_box label:after {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 50%;
    width: 100%;
    padding: 1em 0.5em;
    background: url(../images/icon_arrow_down_gray.svg)no-repeat;
    background-size: 3em;
    background-position:right 1em center;
    transform: translate(-50%, 0);
    letter-spacing: 0.05em;
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 100vw;
    border: 2px solid #333;
    background-color: #fff;
    line-height: 1.6;
  }

  .cp_box label.btn-take:after{
    white-space:pre;
    content: ' 遺産相続を受ける方\Aその他の悩みを確認する';
  }

  .cp_box label.btn-give:after{
    white-space:pre;
    content: ' 生前対策したい方\Aその他の悩みを確認する';
  }

  .cp_box .cp_container {
    overflow: hidden;
    height: 400px; /* 開く前に見えている部分の高さ */
    transition: all 0.5s;
  }
  .cp_box input:checked + label {
    /* display: none ; 閉じるボタンを消す場合解放 */
  }
  .cp_box input:checked + label:after {
    content:'一覧をたたむ';
    background: url(../images/icon_arrow_up_gray.svg)no-repeat;
    background-size: 3em;
    background-position:right 1em center;
  }
  .cp_box input:checked ~ .cp_container {
    height: auto;
    padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
    transition: all 0.5s;
  }

} 

/* 「相続のお悩み」から料金プランを探す ここまで */
#content .consultation-contents2 h3{
  text-align: center;
  border: 0;
  font-weight: 400;
  margin-top: 1em;
}
#content .consultation-contents2 p{
  margin-bottom: 0;
  text-align: center;
}
.fee-contents{
  margin-bottom: 80px;
}
#content .fee-contents h2{
  padding-bottom: .5em;
  margin-top: 3em;
  border-bottom: 2px solid #3f8fb5;
  font-size: 30px;
  color: #3f8fb5;
  font-weight: 600;
  margin: 0 0 30px;
  line-height: 1.4;
}
#content .fee-contents h2 span{
  display: block;
  font-size: 16px;
  color: #333;
}

#content .fee-contents h3 {
  font-size: 24px;
}
#content .fee-contents h4 {
  font-size: 20px;
  color: #3f8fb5;
  font-weight: bold;
  margin: 30px 0 20px;
}
.consultation-box p{
  font-size: 14px;
  color: #666;
}
.example-contents .ex-ttl{
  text-decoration: underline;
  margin-bottom: 5px;
  font-size: 20px;
}
.example-contents{
  border: 2px solid #CCC;
  padding: 30px 30px 15px;
  margin: 40px auto 80px;
}
.example-contents p{
  font-size: 18px;
}
.example-contents.mb30{
  margin-bottom: 30px;
}
.consultation-flowbtn{
  text-align: center;
  margin: 1em 0 2em 0;
}
.consultation-flowbtn a{
  background: url("../images/fee/reserve_flow_arw.svg") no-repeat right 1% center #FFF;
  background-size: 30px 20px;
  display: inline-block;
  border: 2px solid #3f8fb5;
  border-radius: 100vh;
  text-align: center;
  padding: 16px 70px;
}
.consultation-flowbtn a:hover{
  background: url("../images/fee/reserve_flow_arw.svg") no-repeat right 1% center #ebf3f7;
  background-size: 30px 20px;
}
.fee-table table{
  border-top: 1px solid #CCC;
  width: 100%;
  margin-bottom: 20px;
}
.fee-table th{
  background: #ebf3f7;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  width: 150px;
}
.fee-table th,.fee-table td{
  padding: 15px;
  border-bottom: 1px solid #CCC;
}
.fee-table td p{
  margin-bottom: 0;
}
.fee-table td strong{
  font-weight: bold;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
.fee-table td strong b{
  font-size: 36px;
  font-family: 'Roboto', sans-serif;
}
.fee-table td .tablelabel{
  background: #ebf3f7;
  display: inline;
  padding: 1px 2px;
  margin-bottom: 10px;
}
.tableinbox{
  margin-bottom: 15px;
}
.planiconlist{
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}
.planiconlist .picon{
  max-width: 195px;
  width: 24%;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}
.planiconlist .picon img{
  margin-bottom: 5px;
}

@media (max-width: 767px){
  .fee-planhead {
    padding: 0.5em 0;
  }
  .fee-planhead .container{
    flex-wrap: wrap;
  }
  .fee-planbtn{
    background: url("../images/fee/planbtn-arw.svg") no-repeat #FFF;
    background-position: calc(50% - 0px) calc(100% - 10px);
    background-size: 20px 10px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 40px;
    cursor: pointer;
    padding: 30px;
  }
  .planbtn-icon{
    position: absolute;
    top: -20px;
  }
  .planbtn-icon img{
    width: 40px;
  }
  .planbtn-ttl{
    font-size: 20px;
    font-weight: bold;
    color: #3f8fb5;
    line-height: 120%;
  }
  .planbtn-ttl span{
    display: block;
    font-size: 12px;
    color: #333;
  }
  .fee-contents{
    margin-bottom: 40px;
  }
  #content .fee-contents h2{
    font-size: 20px;
    padding-bottom: 5px;
    margin-bottom: 20px;
  }
  #content .fee-contents h2 span{
    display: block;
    font-size: 13px;
    color: #333;
  }
  .consultation-contents{
    flex-wrap: wrap;
  }

  #content .consultation-contents p{
    text-align: left;
  }

  #content .fee-contents h3 {
    font-size: 18px;
  }
  #content .fee-contents h4 {
    font-size: 16px;
    color: #3f8fb5;
    font-weight: bold;
    margin: 30px 0 20px;
  }
  .consultation-box p{
    font-size: 14px;
    color: #666;
  }
  .example-contents .ex-ttl{
    text-decoration: underline;
    margin-bottom: 5px;
  }
  .example-contents{
    border: 2px solid #CCC;
    padding: 15px 15px 5px;
    margin: 20px auto 40px;
  }
  .example-contents p{
    font-size: 14px;
  }
  .example-contents.mb30{
    margin-bottom: 30px;
  }
  .consultation-flowbtn{
    text-align: center;
    margin: 1em 0 2em 0;
  }
  .consultation-flowbtn a,.consultation-flowbtn a:hover{
    background-size: 15px 10px;
  }
  .fee-table th{
    font-size: 16px;
    width: 100px;
  }
  .fee-table th,.fee-table td{
    padding: 15px;
    border-bottom: 1px solid #CCC;
  }
  .fee-table td p{
    margin-bottom: 0;
  }
  .fee-table td strong{
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
  }
  .fee-table td strong b{
    font-size: 26px;
  }
  .fee-table td .tablelabel{
    background: #ebf3f7;
    display: inline;
    padding: 1px 2px;
    margin-bottom: 10px;
  }
  .tableinbox{
    margin-bottom: 15px;
  }
  .planiconlist{
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    flex-wrap: wrap;
  }
  .planiconlist .picon{
    max-width: 290px;
    width: 42%;
    font-size: 16px;
    margin-bottom: 20px;
  }
  .planiconlist .picon img{
    margin-bottom: 5px;
  }

}