/* サブページメイン画像とタイトル */
.subimg {
    display: flex;
	position: relative;
}
.subtext {
    width: calc(35% + 30px);
    margin-right: -30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.subtext::after {
    content: "";
    position: absolute;
    top: calc(-100% + 90px);
    right: 0%;
    width: 150%;
    height: 200%;
    background: linear-gradient(180deg, #f5fee4 0%,#e1f6d4 100%); 
    border-radius: 50%;
}
.subtext_box {
    text-align: center;
    margin-right: 15px;
    z-index: 1;
}
p.category_name {
	font-size: 18px;
    line-height: 100%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: bold;
	color: #222;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 15px;
    position: relative;
    letter-spacing: 0.02em;
}
p.category_name:before {
    background-color: #64b414;
    display: inline-block;
    width: 30px;
    height: 5px;
    border-radius: 2.5px;
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
h1.page_title {
	font-size: 24px;
    line-height: 130%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 600;
    text-align: center;
	color: #64b414;
}
h1.page_title .pt_sml {
	font-size: 16px;
    letter-spacing: -0.08em;
    font-feature-settings: "palt";
}
.subpic {
    width: 65%;
}
.subpic img {
	height: 180px;
	object-fit: cover;
}
@media screen and (min-width: 768px){ 
.subtext {
    width: calc(40% + 40px);
    margin-right: -40px;
}
.subtext::after {
    top: calc(-100% + 125px);
}
p.category_name {
	font-size: 22px;
    padding-bottom: 25px;
    margin-bottom: 25px;
}
h1.page_title {
	font-size: 28px;
}
h1.page_title .pt_sml {
	font-size: 20px;
}
.subpic {
    width: 60%;
}
.subpic img {
    height: 250px;
}
}
@media screen and (min-width: 1000px){ 
.subtext {
    width: calc(30% + 60px);
    margin-right: -60px;
}
.subtext::after {
    top: calc(-100% + 175px);
}
p.category_name {
	font-size: 24px;
    margin-bottom: 30px;
}
h1.page_title {
	font-size: 32px;
}
h1.page_title .pt_sml {
	font-size: 22px;
}
.subpic {
    width: 70%;
}
.subpic img {
    height: 350px;
}
}
@media screen and (min-width: 1200px){ 
.subtext::after {
    top: calc(-150% + 175px);
    width: 125%;
    height: 300%;
}
}


/* サブボックス */
.subbox {
    padding: 30px 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media screen and (min-width: 768px){
.subbox {
    padding: 50px 0 180px;
}
}
@media screen and (min-width: 1000px){
.subbox {
    padding: 80px 0 180px;
}
}
@media screen and (min-width: 1200px){
.subbox {
    padding: 100px 0 200px;
}
}


/* 2カラム */
.clm_box {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
}
.clm_boxL {
    margin-top: 50px;
}
@media screen and (min-width: 1000px) {
.clm_box {
    justify-content: space-between;
    flex-direction: row;
}
.clm_boxL {
    width: 240px;
    margin-top: 0;
}
.clm_boxR {
    width: calc(100% - 240px - 50px);
    margin-left: 50px;
}
.stick {
    position: sticky;
    top: 100px;
}
}
@media screen and (min-width: 1100px) {
.clm_boxL {
    width: 260px;
}
.clm_boxR {
    width: calc(100% - 260px - 60px);
    margin-left: 60px;
}
}
@media screen and (min-width: 1200px) {
.clm_boxL {
    width: 300px;
}
.clm_boxR {
    width: calc(100% - 300px - 75px);
    margin-left: 75px;
}
}

/* 左カラム */
/* メニューリスト */
.stick_in {
    background: #fff;
    border: 2px solid #64b414;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.visually_hidden { /* スクリーンリーダー用の魔法のテクニック */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.clm_article {
    font-size: 17px;
    line-height: 100%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 800;
    color: #fff;
    background-color: #64b414;
    border-radius: 6px 6px 0 0;
    padding: 15px 15px 20px;
}
ul.clm_list li {
    margin: 0;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}
a.clm_title {
    font-size: 18px;
    line-height: 120%;
    border-bottom: solid 1px #64b414;
    background-color: #fff;
    padding: 15px;
    display: block;
    position: relative;
}
a.clm_title i {
    color: #64b414;
    position: absolute;
    right: 15px;
    top: calc(50% - 9px);
}
ul.clm_list li:last-of-type {
    margin-bottom: 0;
}
ul li:last-of-type a.clm_title {
    border-bottom: 0;
    border-radius: 0 0 6px 6px;
    margin-bottom: 0;
}
a.clm_title.tit_now {
    background-color: #ebfadc;
}
@media screen and (min-width: 1000px){
.clm_article {
    font-size: 18px;
}
a.clm_title {
    transition: all 0.2s ease;
}
a.clm_title:hover {
    background-color: #ebfadc;
}
a.clm_title i {
    transition: all 0.3s ease;
}
a.clm_title:hover i {
    transform: translateX(5px);
}
ul.clm_list .clm_title {
    padding: 17px 15px;
}
.clm_box.yesPC1000 .clm_list a.active {
    background-color: #ebfadc;
}
}


/* 右カラム */
.sb01 {
    padding: 0 0 60px;
}
.sb01:last-of-type {
    padding: 0;
}
.sb02 {
    padding: 0 0 30px;
}
@media screen and (min-width: 1000px){
.sb01 {
    padding: 0 0 100px;
}
.sb01:last-of-type {
    padding: 0;
}
.sb02 {
    padding: 0 0 40px;
}
}


/* タイトル */
/* h2.h2_sub_t01 {
    font-size: 24px;
    line-height: 100%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 800;
    text-align: left;
    color: #64b414;
    padding-bottom: 15px;
    margin-bottom: 30px;
    position: relative;
}
h2.h2_sub_t01::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #7cbe1e, #4caa0a);
    border-radius: 2.5px;
} */
 .headline_wrap {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}
.h2_sub_t01 {
    font-size: 24px;
    line-height: 100%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 700;
    text-align: left;
    color: #64b414;
    margin-bottom: 10px;
}
.h2_sub_t02 {
    font-size: 24px;
    line-height: 140%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 700;
    text-align: left;
    color: #64b414;
    margin-bottom: 10px;
}
.h2_line_wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.h2_line {
    flex-grow: 1;
    height: 5px;
    background: linear-gradient(to right, #7cbe1e, #4caa0a);
    border-radius: 2.5px;
    margin-right: 6px;
}
.dots {
    display: inline-block;
    width: 17px; /* ●2つぶん+間のマージンぶん */
    height: 6px;
    position: relative;
}
.dots::before,
.dots::after {
    content: "";
    position: absolute;
    top: 0;
    width: 6px;
    height: 6px;
    background: #4caa0a;
    border-radius: 3px;
}
.dots::before {
  left: 0;
}
.dots::after {
  right: 0;
}





.sub_title01 {
    font-size: 20px;
    line-height: 100%;
    font-weight: bold;
    color: #64b414;
    margin-bottom: 8px;
}
.sub_title01 {
    font-size: 20px;
    line-height: 100%;
    font-weight: bold;
    color: #64b414;
    margin-bottom: 8px;
}
.sub_title02 {
    font-size: 18px;
    line-height: 100%;
    font-weight: bold;
    color: #64b414;
    margin-bottom: 8px;
}

.pic_cap {
    text-align: right;
    margin-top: 5px;
}
.boss_name {
    line-height: 150%;
    text-align: right;
    margin-top: 10px;
}
.boss_name span {
    font-size: 18px;
}
@media screen and (min-width: 768px){
.sub_title02 {
    font-size: 20px;
}
}
@media screen and (min-width: 1000px){
.h2_sub_t01, .h2_sub_t02 {
    font-size: 27px;
}
}


.pic_bd01 {
    border: solid 1px #bbb;;
}



/* table */
.tbl500 {
    max-width: 500px;
}
.tbl700 {
    max-width: 700px;
}

/* table01一生横並びサブカラー太 */
.tbl01 {
	border: solid 2px #fa8796;
	border-spacing: 0;
	border-collapse: separate;
	border-radius: 10px;
}
.tbl01 tr:first-of-type th {
    border-radius: 10px 0 0 0;/* 左上 */
}
.tbl01 tr:first-of-type td:last-of-type {
    border-radius: 0 10px 0 0;/* 右上 */
}
.tbl01 tr:last-of-type td:last-of-type {
    border-radius: 0 0 10px 0;/* 右下 */
}
.tbl01 tr:last-of-type th {
    border-radius: 0 0 0 10px;/* 左下 */
}
.tbl01 tr:first-of-type th.th04 {
    border-radius: 10px 10px 0 0;/* 左上右上 */
}
.tbl01 tr.solo:first-of-type th {
    border-radius: 10px 0 0 10px;/* 左上右下 */
}
.tbl01 tr.solo:first-of-type td {
    border-radius: 0 10px 10px 0;/* 右上 */
}
.tbl01 th, .tbl01 td {
    padding: 10px;
    border-bottom: solid 1px #fa8796;
    font-feature-settings: "palt";
}
.tbl01 tr:last-of-type th, 
.tbl01 tr:last-of-type td {
    border-bottom: 0;
}


.tbl01 tr {
}
.tbl01 tr.tr00 {
    border: 0;
}
.tbl01 tr.tr01 {
}
.tbl01 th {
    font-weight: 700;
    text-align: center;
    background-color: #ebfadc;
    border-right: solid 1px #ebfadc;
    white-space: nowrap;
}
.tbl01 th.th00 {
}
.tbl01 th.th01 {
    color: #f67b8a;
    background-color: #fce6eb;
    border-right: solid 1px #fa8796;
}
.tbl01 th.th02 {

}
.tbl01 th.th03 {

}
.tbl01 td {
    line-height: 140%;
    text-align: justify;
    background-color: #fff;
}
.tbl01 td.td01 {
    text-align: center;
    color: #f67b8a;
    background-color: #fce6eb;
    border-right: solid 1px #fa8796;
}
.tbl01 td.td02 {
    text-align: center;
    border-right: solid 1px #fa8796;
}
.tbl01 td.td01:last-of-type, 
.tbl01 td.td02:last-of-type {
    border-right: 0;
}
.tbl01 td.td04 {
    line-height: 160%;
}
a.tbl_tel {
	font-size: 28px;
    line-height: 100%;
	font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: #64b414;
    letter-spacing: 0.03em;
}
@media screen and (min-width: 399px) {
.tbl01 td.td03 {
    text-align: center;
}
}
@media screen and (min-width: 768px) {
.tbl01 th, .tbl01 td {
    padding: 15px;
}
}


/* table02一生横並びメインカラー細 */
.tbl02 {
	border: solid 1px #64b414;
	border-spacing: 0;
	border-collapse: separate;
	border-radius: 10px;
}
.tbl02 tr:first-of-type th {
    border-radius: 10px 0 0 0;/* 左上 */
}
.tbl02 tr:first-of-type td:last-of-type {
    border-radius: 0 10px 0 0;/* 右上 */
}
.tbl02 tr:last-of-type td:last-of-type {
    border-radius: 0 0 10px 0;/* 右下 */
}
.tbl02 tr:last-of-type th {
    border-radius: 0 0 0 10px;/* 左下 */
}
.tbl02 tr:first-of-type th.th04 {
    border-radius: 10px 10px 0 0;/* 左上右上 */
}
.tbl02 tr.solo:first-of-type th {
    border-radius: 10px 0 0 10px;/* 左上右下 */
}
.tbl02 tr.solo:first-of-type td {
    border-radius: 0 10px 10px 0;/* 右上 */
}
.tbl02 th, .tbl02 td {
    padding: 10px;
    border-bottom: solid 1px #64b414;
    font-feature-settings: "palt";
}
.tbl02 tr:last-of-type th, 
.tbl02 tr:last-of-type td {
    border-bottom: 0;
}


.tbl02 tr {
}
.tbl02 tr.tr00 {
    border: 0;
}
.tbl02 tr.tr01 {
}
.tbl02 th {
    font-weight: 700;
    text-align: center;
    background-color: #ebfadc;
    border-right: solid 1px #ebfadc;
    white-space: nowrap;
}
.tbl02 th.th01 {
    font-size: 16px;
    line-height: 140%;
    color: #64b414;
    background-color: #f5fee4;
    border-right: solid 1px #64b414;
    padding: 10px 5px;
}
.tbl02 td {
    line-height: 140%;
    text-align: justify;
    background-color: #fff;
}
.tbl02 td.td01 {
    font-size: 16px;
    padding: 10px 5px;
}
.tbl02 td.td01:last-of-type, 
.tbl02 td.td02:last-of-type {
    border-right: 0;
}
a.tbl_tel {
	font-size: 28px;
    line-height: 100%;
	font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: #64b414;
    letter-spacing: 0.03em;
}
@media screen and (min-width: 399px) {
.tbl02 td.td01 {
    font-size: 17px;
    padding: 10px;
}
}
@media screen and (min-width: 768px) {
.tbl02 th, .tbl02 td {
    padding: 15px;
}
.tbl02 th.th01, .tbl02 td.td01 {
    font-size: 17px;
    padding: 15px;
}
}


/* table02 */
.tbl03 tr {
    border: solid 1px #bbb;
}
.tbl03 th {
    text-align: center;
    background-color: #ebf5e6;
    display: block;
    padding: 10px;
    white-space: nowrap;
}
.tbl03 th.th02 {
    font-size: 15px;
    line-height: 140%;
    font-weight: 700;
    text-align: left;
    padding: 5px 10px;
}
.tbl03 td {
    font-size: 16px;
    line-height: 150%;
    text-align: justify;
    background-color: #fff;
    display: block;
    padding: 10px;
}

.tbl03 td.td02 {
    font-size: 16px;
    padding: 5px 10px 10px;
}

@media screen and (min-width: 768px) {
.tbl03 th {
    border-right: solid 1px #bbb;
    display: table-cell;
}
.tbl03 th.th02 {
    text-align: center;
    width: 170px;
    padding: 10px;
}
.tbl03 td {
    display: table-cell;
}
.tbl03 td.td02 {
    padding: 10px;
}
}

/* リンクボタン */
.sub_link_btn01, 
.sub_link_btn02, 
.sub_link_btn03 {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}
.sub_link_btn01 {
    max-width: 280px;
    color: #fff;
    background-color: #fa8796;
    border-radius: 25px;
}
.sub_link_btn02 {
    max-width: 400px;
    color: #64b414;
    background-color: #fff;
    border: solid 1px #64b414;
    border-radius: 5px;
}
.sub_link_btn03 {
    color: #fff;
    background-color: #ebfadc;
    border-bottom: solid 1px #64b414;
    border-left: solid 10px #64b414;
    padding: 0 7px 0 10px;
    justify-content: space-between;
}
.sub_link_btn01:after, 
.sub_link_btn02:after, 
.sub_link_btn03:after {
    font-family: "FontAwesome";
    content: "\f138";
    margin-top: 2px;
    margin-left: 7px;
    transition: all 0.2s ease;
}
.sub_link_btn01:after {
    color: #fff;
}
.sub_link_btn02:after {
    color: #64b414;
}
.sub_link_btn03:after {
    color: #64b414;
}
@media screen and (min-width: 768px){
.sub_link_btn01 {
    width: 350px;
}
.sub_link_btn03 {
    padding: 0 10px;
}
}
@media screen and (min-width: 1000px){
.sub_link_btn01:hover {
    background-color: #f67b8a;
}
.sub_link_btn02:hover {
    background-color: #ebfadc;
}
.sub_link_btn03:hover {
    background-color: #ebfadc;
    border-bottom: solid 1px #64b414;
}
.sub_link_btn01:hover:after, 
.sub_link_btn02:hover:after, 
.sub_link_btn03:hover:after {
    transform: translateX(5px);
}
}

/* サービス内容 */
h3.h3_sub_sc {
    font-size: 20px;
    line-height: 100%;
    font-weight: 700;
    text-align: left;
    color: #64b414;
    margin-bottom: 15px;
    position: relative;
}
h3.h3_sub_sc_bd {
    font-size: 20px;
    line-height: 130%;
    font-weight: 700;
    text-align: left;
    color: #64b414;
    border-bottom: solid 1px #64b414;
    padding-bottom: 12px;
    margin-bottom: 15px;
    position: relative;
}
h3.h3_sub_philo {
    font-size: 20px;
    line-height: 200%;
    font-weight: 700;
    text-align: left;
    color: #222;
    margin-left: 5px;
}
.sc_box {
    background-color: #ebfadc;
    padding: 20px 15px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.sc_box:last-of-type {
    margin-bottom: 0;
}
.sc_border {
    border: solid 1px #64b414;
    padding: 20px 15px;
    border-radius: 10px;
}
@media screen and (min-width: 768px) {
h3.h3_sub_sc, h3.h3_sub_sc_bd {
    font-size: 21px;
}
.sc_box, .sc_border {
    padding: 25px 30px;
}
}
@media screen and (min-width: 1000px) {
h3.h3_sub_philo {
    line-height: 220%;
}
}
@media screen and (min-width: 1100px) {
.sc_box, .sc_border {
    padding: 30px;
    border-radius: 20px;
}
}


/* リハビリテーションのロードマップ */
.roadmap {
    position: relative;
}
.roadmap::before {
    content: "";
    position: absolute;
    top: 20%; 
    left: calc(50% - 40% / 2);
    width: 40%;
    height: 60%;
    background: linear-gradient(to bottom, #dcebfa, #ebfadc, #fff0dc, #fce6eb);
    z-index: -1;
}
.roadmap-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.roadmap-card {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 2px rgba(0,0,0,0.3);
}
.card-header {
    font-weight: bold;
    color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.card-header::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 11px 10px 0 10px;
    border-style: solid;
}
/* STEPヘッダー色 */
.step1 .card-header { background: #1E8CE1; }
.step2 .card-header { background: #64b414; }
.step3 .card-header { background: #ffaa28; }
.step4 .card-header { background: #fa8796; }
/* STEPごとに三角の色も直接指定 */
.step1 .card-header::after { border-color: #1E8CE1 transparent transparent transparent; }
.step2 .card-header::after { border-color: #64b414 transparent transparent transparent; }
.step3 .card-header::after { border-color: #ffaa28 transparent transparent transparent; }
.step4 .card-header::after { border-color: #fa8796 transparent transparent transparent; }



.step-label {
  font-size: 14px;
  margin-bottom: 5px;
}
.step-number {
  font-size: 28px;
}

.card_body {
    padding: 25px 15px 15px ;
}
.roadmap-card h3 {
  font-size: 21px;
  line-height: 130%;
  font-weight: bold;
  margin-bottom: 15px;
}
.roadmap-card p {
    margin: 0 auto;
    display: inline-block;
}
/* ステップごとの色 */
.step1 h3 { color: #1E8CE1; } /* ピンク */
.step2 h3 { color: #64b414; } /* オレンジ */
.step3 h3 { color: #ffaa28; } /* イエロー */
.step4 h3 { color: #fa8796; } /* グリーン */

/* レスポンシブ */
@media (min-width: 768px) {
.roadmap::before {
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
}
.roadmap-steps {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 1200px) {
.roadmap-steps {
/*     gap: 20px;
    grid-template-columns: repeat(4, 1fr); */
}
.roadmap::before {
/*   top: calc(50% - 30% / 2);
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to right, #dcebfa, #ebfadc, #fff0dc, #fce6eb); */
}
.card-header {
    padding: 20px;
}
.card_body {
    padding: 25px 15px 20px ;
}
}










/* 施設概要、関連施設リンク */
.with_link {
    font-size: 14px;
    line-height: 100%;
    color: #64b414;
    border: solid 1px #64b414;
    display: inline-block;
    padding: 6px 10px 8px;
    margin-top: 5px;
}
.with_link i {
    margin-left: 5px;
}
.with_link, .a_link {
    transition: all 0.2s ease;
}
@media screen and (min-width: 1000px) {
.with_link:hover {
    background-color: #ebf5e6;
}
.a_link:hover {
    color: #64b414;
}
}
@media screen and (min-width: 1000px) {
.with_link {
    margin-top: 0;
    margin-left: 20px;
}
}

/* フレックスボックス */
.sf03_L {
    margin-bottom: 20px
}
.sf11_L {
    margin-bottom: 20px
}
.sub_flex11cr {
    display: flex;
    flex-direction: column-reverse;
}
.sf04_L, .sf11cr_L {
    margin-top: 20px;
}

.sf01_L {
    margin-bottom: 20px
}
.sf01_L img {
    border-radius: 10px;
}
.sf01_L_boss {
    margin-bottom: 30px
}
.sf01_R img {
    border-radius: 10px;
}
.sf01_R_boss img  {
    max-width: 200px;
    margin: 0 0 0 auto;
}
.sf11cr_R img {
    border-radius: 10px;
}
.sf02_L {
    margin-bottom: 20px;
}
@media screen and (min-width: 599px){
.sub_flex03 {
    display: flex;
    justify-content: flex-start;
}
.sf03_L {
    margin-bottom: 0;
    margin-right: 30px;
}
}
@media screen and (min-width: 768px){
.sub_flex02 {
    display: flex;
    justify-content: flex-start;
}
.sf02_L {
    margin-bottom: 0;
    margin-right: 30px;
}
.sub_flex04 {
    display: flex;
    justify-content: space-between;
}
.sf04_L {
    width: 65%;
    margin-top: 0;
}
.sf04_R  {
    width: 35%;
    border-radius: 20px;
    margin-left: 40px;
}
}
@media screen and (min-width: 1000px){
.sub_flex01 {
    display: flex;
    justify-content: space-between;
}
.sf01_L {
    width: calc(50% - 20px);
    margin-bottom: 0;
}
.sf01_R  {
    width: calc(50% - 20px);
    margin-left: 40px;
}
.sf01_L img, .sf01_R img {
    border-radius: 20px;
}
.sf01_L_boss {
    width: calc(70% - 20px);
    margin-bottom: 0;
}
.sf01_R_boss  {
    width: calc(30% - 20px);
    margin-left: 40px;
}
.sf01_R_boss img  {
    max-width: 250px;
}
}
@media screen and (min-width: 1100px){
.sub_flex11 {
    display: flex;
    justify-content: space-between;
}
.sf11_L {
    width: 50%;
    margin-bottom: 0;
}
.sf11_R  {
    width: 50%;
    margin-left: 40px;
}
.sub_flex11cr {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.sf11cr_L {
    width: 50%;
    margin-top: 0;
}
.sf11cr_R  {
    width: 50%;
    border-radius: 20px;
    margin-left: 40px;
}
}


/* 背景色ボックス */
.sub_bg_mainclr_light {
    background-color: #ebf5e6;
    padding: 25px 15px;
}
.sub_bg_subclr_light {
    background-color: #fae6eb;
    padding: 25px 15px;
}
@media screen and (min-width: 768px){
.sub_bg_mainclr_light, 
.sub_bg_subclr_light {
    padding: 30px 40px;
}
}
@media screen and (min-width: 1100px){
.sub_bg_mainclr_light, 
.sub_bg_subclr_light {
    padding: 35px 50px;
}
}


/* 画像 */
.sub_intr_map {
    border-radius: 10px;
    margin-bottom: 20px;
}
.sub_intr_map:last-of-type {
    margin-bottom: 0;
}
@media screen and (min-width: 1000px){
.sub_intr_map {
    margin-bottom: 50px;
}
}


/* 料金シミュレーション（プログラム化する） */
/* サービス選択 */
.sim_services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}
.sim_services .serv {
    font-size: 18px;
    font-weight: 600;
    height: 70px;
    background: #ebfadc;
    border: solid 1px #64b414;
    border-radius: 10px;
    padding: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.sim_services .serv:nth-child(4),
.sim_services .serv:nth-child(6) {
    grid-column: 1; /* ← 2段目・3段目の先頭に強制配置 */
}
.sim_services .sim_now {
    color: #fff;
    background-color: #64b414;
}
.sim_services .serv .inner {
    line-height: 140%;
    font-feature-settings: "palt";
}
@media screen and (min-width: 768px) {
.sim_services {
    gap: 15px;
    margin-bottom: 50px;
}
}
 @media screen and (min-width: 1000px) {
.sim_services .serv:hover {
    color: #fff;
    background-color: #64b414;
}
}


/* 選択と結果 */
.sim_container {
    gap: 30px;
}
.sim_result {
    border: solid 2px #fa8796;
    border-radius: 8px;
    padding: 20px;
    background: #fff5f7;
}
@media screen and (min-width: 701px) { /* iframe前は1100px */
.sim_container {
    display: flex;
}
.sim_form {
    flex: 1 1 55%;
}
.sim_result {
    flex: 1 1 45%;
    position: sticky;
    top: 100px; /* 全ページiframe後はこっち */
    /* top: 0; */ /* 一部iframe時はこっちだったけどx */
    align-self: flex-start;
}
}

/* 基本 */
.sim_box {
    margin-bottom: 30px;
}
.label_title {
    font-size: 18px;
    line-height: 100%;
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
}
select {
    font-size: 18px;
    background-color: #fff;
    border: 2px solid #bbb;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
  /* 下矢印 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fa8796" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 35px;
    cursor: pointer;
}
/* フォーカス時 */
select:focus {
    outline: none;
    border-color: #fa8796;
    box-shadow: 0 0 0 3px rgba(250,220,225,0.8);
}
select,
select option {
    color: #222;
}

/* オプション */
.option_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.option_item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* ✅ チェック時・ホバー時の背景＆枠共通 */
.option_item:has(input[type="checkbox"]:checked) {
    background-color: #fce6eb;
    border-color: #fa8796;
}

/* デフォルトのチェックボックスを隠す */
.option_item input[type="checkbox"] {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    appearance: none;
    border: 2px solid #fa8796;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    margin-top: -1px;
}

/* チェック時の背景＆Vマーク */
.option_item input[type="checkbox"]:checked {
    background-color: #fa8796;
    border-color: #fa8796;
}
.option_item input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.option_item span.op_title {
    font-size: 17px;
    line-height: 100%;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}
.option_item span.op_details {
    font-size: 15px;
    line-height: 150%;
    text-align: justify;
}

/* SPだけpadding小さめ */
@media screen and (min-width: 768px) {
.option_item {
    padding: 15px;
}
}
@media screen and (min-width: 1025px) {
.option_item:hover {
    background-color: #fce6eb;
    border-color: #fa8796;
}
}
@media screen and (min-width: 1100px) {
.sim_box:last-of-type {
    margin-bottom: 0;
}
}


 /* 計算するボタン */
.btn_calc {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background-color: #fa8796; /* ピンク系メインカラー */
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.btn_calc i {
    margin-right: 10px;
}
.btn_calc:active {
    transform: scale(0.98);
}
@media screen and (min-width: 768px) {
.btn_calc:hover {
    background-color: #f67b8a;
}
}
/* .btn_calc:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(250, 135, 150, 0.4);
} */




/* 見出し */
.sim_result h3 {
    font-size: 18px;
    border-bottom: solid 2px #222;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

/* 料金 */
p.result {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    font-feature-settings: "palt";
}
.result_price {
    font-size: 30px;
    color: #f67b8a;
    vertical-align: -2px;
}
.result_yen {
    color: #f67b8a;
}


/* 内訳ボタン */
.btn-toggle {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    font-size: 16px;
    font-weight: 600;
    color: #fa8796;
    background-color: #fff;
    border: 2px solid #fa8796;
    border-radius: 8px;
    padding: 0;
    width: 100%;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}

.btn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
}

.plus-icon {
    position: relative;
    width: 14px;
    height: 14px;
}

.plus-icon .p_line {
    position: absolute;
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
    background-color: #fa8796;
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.plus-icon .p_line:last-child {
    transform: rotate(90deg);
}

.btn-toggle.open .plus-icon .p_line:last-child {
    transform: rotate(0deg);
}

/* アコーディオン内訳 */
.price-details {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    clip-path: inset(0 0 100% 0);
    transform-origin: top;
    transition:
        max-height 0.35s ease,
        clip-path 0.35s ease,
        margin 0.35s ease,
        padding 0.35s ease,
        border-top 0.35s ease;
    cursor: auto; /* ← 指マークにならないようにする */
}
.btn-toggle.open .price-details {
    max-height: 1000px;
    border-top: 1px dashed #fa8796;
    padding: 10px;
    clip-path: inset(0 0 0 0);
}
p.price_txt {
    font-size: 16px;
    line-height: 140%;
    font-weight: normal;
    margin-bottom: 5px;
}
p.price_txt:last-of-type {
    margin-bottom: 0;
}






/* 関連施設 */
.related_box {
    display: grid;
    gap: 20px;
}
.line_box_related {
    background-color: #fff;
    border: solid 1px #241a08;
    /* padding: 10px 15px 10px; */
    display: block;
}
h3.h3_related_name {
    font-size: 18px;
    line-height: 120%;
    font-weight: 700;
    text-align: left;
    color: #64b414;
    font-feature-settings: "palt";
    letter-spacing: 0.04em;
}
.rlated_ad {
    padding: 10px 10px 15px 20px;
}
@media screen and (min-width: 768px){
.related_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
}





/* サブペのTEL */
a.sub_tel {
    font-size: 32px;
    line-height: 100%;
	font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: #64b414;
    letter-spacing: 0.03em;
}
a.sub_tel i {
	font-size: 23px;
	margin-right: 5px;
    vertical-align: 2px;
}
a.sub_tel_big {
    font-size: 36px;
    line-height: 100%;
	font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: #64b414;
    letter-spacing: 0.05em;
}
a.sub_tel_big i {
	font-size: 28px;
	margin-right: 5px;
    vertical-align: 2px;
}
.c_time_box {
    display: flex;
    align-items: center;
}
.c_time {
    font-size: 14px;
    line-height: 100%;
    font-weight: 600;
    color: #64b414;
    background-color: #ebfadc;
    border: solid 1px #64b414;
    border-radius: 5px;
    padding: 5px 7px;
    margin-right: 10px;
    display: flex;
    align-items: center;
}
@media screen and (min-width: 1000px) {
a.sub_tel {
	font-size: 36px;
}
a.sub_tel i {
	font-size: 26px;
}
a.sub_tel_big {
    font-size: 40px;
}
a.sub_tel_big i {
	font-size: 30px;
}
}



/* 入所までの流れページ */
.flow {
    position: relative;
}
.flow::before {
    content: "";
    position: absolute;
    top: 35px;
    left: calc(35px - 2px);
    width: 4px;
    height: calc(100% - 35px);
    background: #e1f6d4;
    z-index: 0;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 40px;
}
.flow-step:last-child {
    padding-bottom: 0;
}

.step-num {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #7cbe1e, #4caa0a);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1; /* 縦線より前に出す */
}
.step-num span {
    font-size: 24px;
    margin-top: 5px;
}

.step-content {
    text-align: left;
    margin-left: 15px;
    flex: 1;
}
.step-content h3 {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    color: #64b414;
    margin-top: 5px;
    margin-bottom: 10px;
}

.step_tel {
  font-weight: bold;
  color: #333;
}
@media screen and (min-width: 1000px) {
.flow::before {
    top: 45px;
    left: calc(45px - 2px);
    height: calc(100% - 50px);
}
.flow-step {
    padding-bottom: 70px;
}
.step-num {
    font-size: 15px;
    width: 90px;
    height: 90px;
}
.step-num span {
    font-size: 30px;
}
}





/* アクセス */
h3.h3_sub_ac {
    font-size: 20px;
    line-height: 100%;
    font-weight: 700;
    text-align: left;
    color: #64b414;
    margin-bottom: 15px;
    position: relative;
    font-feature-settings: "palt";
    letter-spacing: 0.02em;
}
.accsmap iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 10px;
}
@media screen and (min-width: 390px){
h3.h3_sub_ac {
    letter-spacing: 0.05em;
}
}
@media screen and (min-width: 768px){
.accsmap iframe {
    height: 400px;
}
}
@media screen and (min-width: 1000px){
.accsmap iframe {
    height: 500px;
    border-radius: 20px;
}
}


/* lightbox01 img-img[画像大量並べlightbox] */
.lightbox01 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.lightbox01_img {
    position: relative;
}
.lightbox01_img a {
    border-radius: 10px;
    display: block;
    position: relative;
    overflow: hidden;
}
.zoom01 {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
.lightbox01_img i {
    font-size: 22px;
    color: #fff;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.3));
}
p.p_cap {
    font-feature-settings: "palt";
}
@media screen and (min-width: 768px){
.lightbox01 {
    gap: 30px;
}
}
@media screen and (min-width: 1000px){
.lightbox01 {
    gap: 40px;
}
.lightbox01_img a img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.lightbox01_img a:hover img {
  transform: scale(1.02);
  filter: brightness(0.8);
}
}
/* lightbox01ここまで --- */
