p.note, div.note {
  font-size: 14px;
}
.fee-planhead {
  background: #f4f4f4;
  padding: 40px 0;
  letter-spacing: 0.1em;
}
.fee-planhead .container {
  background: #fff;
  padding: 4.5em 2.25em 2.25em 2.25em;
  box-sizing: border-box;
  position: relative;
  margin-top: 3em;
}
#content .fee-planhead h2 {
  text-align: center;
  border: 0;
  font-size: 1.688em;
	margin-bottom: 0;
}
#content .fee-planhead h3 {
  display: block;
  padding: 0 0 0 0.5em;
  border-left: solid 5px #1f3183;
  font-size: 1.375em;
  font-weight: 700;
  margin: 2.3em 0 0.8em 0;
  line-height: 1.4;
}
#content .fee-planhead h3::before {
	display: none;
}
#content .fee-planhead h3: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.6em;
    margin-top: 0;
		margin-bottom: .5em;
  }
  #content .fee-planhead .container {
    width: 90%;
    margin: 5em auto;
		padding-top: 2.25em;
  }
  .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: ' 類型別・罪状別プランを確認する';
  }
  .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;
    transition: all 0.5s;
  }
}
#content .fee-contents .consultation-contents2 h3 {
  text-align: center;
  border: 0;
  font-weight: 400;
  margin-top: 1em;
	margin-bottom: 0;
	display: block;
}
#content .consultation-contents2 h3::before{
	display: none;
}
#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 #1f3183;
	border-left: 0;
  font-size: 30px;
  color: #1f3183;
  font-weight: 600;
  margin: 0 0 30px;
	padding: 0 0 .5em 0;
  line-height: 1.4;
}
#content .fee-contents h2 span {
  display: block;
  font-size: 16px;
  color: #333;
}
#content .fee-contents h3 {
  font-size: 24px;
	border-left: solid 5px #1f3183;
	padding: 0 0 0 .5em;
}
#content .fee-contents h3::before{
	display: none;
}
#content .fee-contents h4 {
  font-size: 20px;
  color: #1f3183;
  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: 14px;
}
.example-contents.mb30 {
  margin-bottom: 30px;
}
.consultation-flowbtn {
  text-align: center;
  margin: 1em 0 2em 0;
}
.fee-table table {
  border-top: 1px solid #CCC;
  width: 100%;
  margin-bottom: 20px;
}
.fee-table th {
  background: #f4f4f4;
  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: #f4f4f4;
  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;
}
.fee-contents .cost_example .cost_exampleflex{
	display: flex;
	justify-content: center;
	gap:30px;
	flex-wrap: wrap;
}
.fee-contents .cost_example .cost_exampleflex .flexitem{
	flex: 1;
	max-width: 32%;
}
.fee-contents .cost_example .cost_exampleflex .flexitem .aligncenter{
	text-align: center;
}
.fee-contents .cost_example .cost_exampleflex .flexitem{
	text-align: center;
  margin-bottom: 10px;
}
.fee-contents .cost_example .cost_exampleflex .flexitem p strong{
	font-size: 24px;
}
.fee-contents .cost_example .cost_exampleflex .flexitem img{
	width: 100%;
  height: 166px;
  object-fit: contain;
  font-family: 'object-fit: contain;';
	margin-bottom: 10px;
}
.fee-contents p strong {
  font-size: 16px;
  color: #1f3183;
  font-weight: bold;
}


@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: #1f3183;
    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: #1f3183;
    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: 12px;
  }
  .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: #f4f4f4;
    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;
  }
	.fee-contents .cost_example .cost_exampleflex{
		display: block;
	}
	.fee-contents .cost_example .cost_exampleflex .flexitem{
		max-width: 100%;
		margin-bottom: 20px;
	}
	.fee-contents .cost_example .cost_exampleflex .flexitem p strong{
		font-size: 20px;
	}
}