/* ---kv--- */
.kv img{
  width:100%;
}

/* ---section1--- */
.section1{
  padding:80px 100px 130px;
  background-color: #E1F1F9;
}
.section1_head{
  position:relative;
}
.section1_head h3{
  font-size:4rem;
  color:var(--main-color);
  font-weight:var(--font-bold);
}
.section1_head p{
  width:60%;
  margin:80px 0 0 auto;
  font-size:2.2rem;
  line-height: 2;
}
.section1_head p span{
  font-size:1.2rem;
  display: block;
  font-weight:normal;
  line-height: 1.7;
}
[class^="section1_image"]{
  position:absolute;
}
.section1_image1{
  left:-50px;
  top:40px;
}
.section1_image2{
  right:-100px;
  top:-118px;
}
h4.shop_name{
  position:absolute;
  width:100%;
  font-weight:var(--font-bold);
  bottom:-90px;
  left:50%;
  transform: translateX(-50%);
  font-size:11.5rem;
  opacity: 0.1;
}
.section1_table_content{
  margin-top:76px;
  background-color: #fff;
  padding-bottom:1.2rem;
}
.section1_table_content h3{
  color:#fff;
  font-size:3.2rem;
  background-color: #273981;
  padding:0.6em;
  font-weight:var(--font-bold);
}
.section1_table_content h4{
  margin:40px auto 20px;
  font-size:3rem;
  font-weight:var(--font-bold);
}
/* 比較表 */
table.comparison{
  width:calc(100% - 200px);
  margin:0 auto;
}
table.comparison thead tr th{
  color:#fff;
  background-color: #273981;
  text-align: center;
  height:60px;
  font-weight:var(--font-bold);
}
table.comparison thead tr th:first-child{
  background-color: #191F39;
  border-right:1px solid #fff;
  width:23%;
}
table.comparison thead tr th:last-child{
  background-color: #646774;
  border-left:1px solid #fff;
}
table.comparison tbody tr td{
  padding:1.1em;
  font-weight: normal;
  border-bottom:1px solid #C6C9D4;
}
table.comparison tbody tr td:first-child{
  border-right:1px solid #C6C9D4;
  border-left:1px solid #C6C9D4;
}
table.comparison tbody tr td:nth-child(2){
  background-color: rgba(39,57,129,0.1);
}
table.comparison tbody tr td:last-child{
  background-color: rgba(100,103,116,0.1);
  border-right:1px solid #C6C9D4;
  border-left:1px solid #C6C9D4;
}
.section1_table_content p{
  font-size:1.2rem;
  padding-left:100px;
  font-weight:normal;
  text-align: left;
  margin-top:1em;
}

/* ---section2--- */
.section2{
  margin-top:-30px;
}
.section2 h3.clinic_subtitle{
  position: relative;
  display: block;
  width:390px;
  padding: 1rem 0;
  text-align: center;
  background: #25387d;       /* 吹き出しの色 */
  border: 2px solid #fff;    /* 白い枠線 */
  border-radius: 40px;       /* 丸角 */
  color: #fff;               /* 文字色 */
  font-weight: bold;
  z-index: 1;
  font-size:3.2rem;
  margin:0 auto;
}
.section2 h3.clinic_subtitle::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px; /* 三角の高さ分ずらす */
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #25387d; /* 吹き出しの色 */
}
.section2 h3.clinic_subtitle::before{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px; /* 三角の高さ分ずらす */
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #25387d; /* 吹き出しの色 */
}
.section2 h3.clinic_subtitle::before{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px; /* ::afterより少し下に置く */
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #fff; /* 枠線の色 */
}
.clinic_detail_top{
  background: url(../images/section2_bg1.png);
  background-size: cover;
  background-repeat: no-repeat;
  margin:-40px auto 0;
  padding-top:70px;
  color:#fff;
}
.clinic_detail_head{
  display: flex;
  align-items: center;
  width:1040px;
  margin:0 auto;
}
.clinic_detail_head img{
  position:relative;
  z-index: 1;
}
.clinic_detail_head p{
  font-size:3.7rem;
  position:relative;
  background: rgba(39,57,129,0.5);
  padding:1.5rem;
}
.clinic_detail_head p::before{
  content:"";
  position:absolute;
  width:160px;
  height:100%;
  top:0;
  left:-160px;
  background: rgba(39,57,129,0.5);
}
.clinic_detail_bottom{
  padding:1rem;
}
.clinic_detail_bottom p{
  font-size:3rem;
}
.clinic_detail_bottom p.bold{
  font-size:5rem;
  font-weight:var(--font-bold);
  text-decoration: underline;
  text-underline-offset: 0.4em;
  text-decoration-thickness: 5px;
  margin-bottom:2.4rem;
}
.clinic_detail_bottom p.bold sup{
  font-size:1.6rem;
}
span.attention{
  font-size:1.4rem;
  padding-right:1em;
}
.clinic_detail_btn{
  display: flex;
  width:50%;
  margin:48px auto 0;
  justify-content: space-between;
  padding-bottom:60px;

}
.clinic_detail_btn a{
  display: block;
}
.clinic_detail_under{
  padding-top:40px;
  background: url(../images/section2_bg2.png) bottom center no-repeat;
  background-size: cover;
  color: #fff;
}
.clinic_detail_under h3{
  font-size:4rem;
  font-weight:var(--font-bold);
  text-align: center;
  text-decoration: underline;
  text-decoration-color:rgba(255,255,255,0.5);
  text-underline-offset: -0.1em;
  text-decoration-thickness: 15px;
}
.clinic_detail_under h3 span{
  position:relative;
}
.clinic_detail_under h3 span::after{
  content: ''; /* ドットの文字を直接指定 */
  position: absolute; /* 親要素を基準に配置 */
  top: -0.2rem; /* 上方向への調整 */
  left: 50%;
  transform: translateX(-50%);
  width:7px;
  height:7px;
  border-radius: 3.5px;
  background-color: #fff;
}
.clinic_detail_under p{
  font-size:3rem;
  width:57%;
  margin:20px auto 30px;
}

/* ---reason--- */
.reason{
  background: url(../images/reason_bg.png) top center no-repeat;
  padding:0 100px 100px;
}
.reason_head{
  position:relative;
  height:450px
}
.reason_title{
  position:absolute;
  left:0;
  top:28%;
  z-index: 1;
}
.reason_title h3 span{
  padding:0.6rem 2rem;
}
.reason_title h3 span.bg_white{
  font-size:5rem;
  border:1px solid var(--main-color);
  background-color: #fff;
  font-weight:var(--font-bold);
}
.reason_title h3 span.fc_white{
  font-size:6.4rem;
  background-color:  var(--main-color);
  color: #fff;
  margin-left:4rem;
  margin-top:-4px;
  position: relative;
  z-index: 1;
  font-weight:var(--font-bold);
}
.reason_head img{
  position:absolute;
  top:-30px;
  right:20px;
}
.reason_content{
  position:relative;
  width:calc(100% - 20px);
}
.reason_content.re{
  margin:0 0 0 auto;
  width:calc(100% - 40px);
}
.reason_content h4.reason_content_title{
  position:absolute;
  opacity: 0.2;
  color:var(--main-color);
  font-size:7rem;
  top:140px;
  right:-230px;
  transform: rotate(90deg);
  font-weight:var(--font-bold);
}
.reason_inner{
  width:calc(100% - 40px);
  margin:-40px 0 0 auto;
  display: flex;
  background: url(../images/reason_content_bg.jpg) bottom right no-repeat;
  background-size: cover;
  box-shadow: 3px 3px 7px 0px rgba(0, 0, 0, 0.2);
}
.reason_inner img{
  margin:-40px 0 40px -40px;
}
.reason_detail{
  padding:50px;
}
.reason_detail h4.reason_inner_title{
  color:var(--main-color);
  font-size:4rem;
  font-weight:var(--font-bold);
  line-height: 1.3;
}
.reason_detail p{
  font-size:2rem;
  margin-top:50px;
  line-height: 1.6;
}
.reason_detail p span{
  display: block;
  font-size:1.3rem;
  padding-top:1em;
}
.reason_content.re h4.reason_content_title{
  left:-230px;
  top:160px;
  right:inherit;
  transform: rotate(-90deg);
}
.reason_content.re .reason_inner{
  margin:120px auto 0 0;
  flex-direction: row-reverse;
}
.reason_content.re .reason_inner img{
  margin:-40px -40px 40px 0;
}
.reason_content.th .reason_inner{
  margin:120px 0 0 auto;
}

/* ---section3--- */
.section3{
  background: url(../images/section3_bg.png) top center no-repeat;
  background-size: cover;
  padding:65px 100px 120PX;
}
.section3_head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  color:#fff;
}
.section3_head h3{
  font-size:4.4rem;
}
.section3_head p{
  font-size:2rem;
  width:520px;
}
.section3_content{
  margin-top:40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.section3_inner{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  background-color: #fff;
  width:calc(50% - 10px);
}
.section3_detail{
  padding:20px 0 20px 30px;
  margin-right:-50px;
}
.section3_inner h4{
  font-size:2.6rem;
  color:var(--main-color);
  border-bottom: 1px solid var(--main-color);
  padding-bottom:14px;
  font-weight: var(--font-bold);
  width:90%
}
.section3_inner h5{
  font-size:2rem;
  margin:8px auto;
}
.section3_inner p{
  font-size:1.5rem;
}
.section3_inner p span{
  font-size:1rem;
  display: block;
  margin-top:0.5em;
}

/* ---section2.mid--- */
.section2.mid{
  margin-top:-35px;
}
.section2.mid .clinic_detail_under{
  background: url(../images/section4_bg.png) center center no-repeat;
  background-size: cover;
  padding: 82px 0;
}
.section2.mid .clinic_detail_under h3 span{
  font-size:5rem;
}

/* ---point--- */
.point {
  padding: 180px 100px 80px;
  background-color: #fff;
}
.point ul {
  padding: 0 60px 60px;
  background-color: #E1F1F9;
  display: flex;
  justify-content: space-between;
  list-style: none; /* リストの点を非表示に */
}
.point ul li {
  width: calc((100% - 27px) / 4);
  margin-top:-60px;
  background-color: #fff;
  box-shadow: 0px 5px 15px 0px rgba(25, 101, 133, 0.35);
  display: flex;
  flex-direction: column;
}
.point ul li .point_detail {
  padding: 0 10px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.point ul li h3 {
  font-size: 1.5rem;
  color: #fff;
  width: 100px;
  height: 24px;
  border-radius: 12px;
  background-color: var(--main-color);
  text-align: center;
  margin: -12px auto 6px;
  font-weight: var(--font-bold);
  flex-shrink: 0;
}
.point ul li h4 {
  font-size: 2.2rem;
  color: var(--main-color);
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  /* タイトルが複数行になってもp要素の位置を揃えるための設定 */
  min-height: 6.6rem; /* 2行分の高さを確保 (2.2rem * 1.5 * 2) */
}
.point_detail hr {
  margin: 20px auto;
  width:100%;
  background-color: var(--main-color);
  height:2px;
}
.point ul li p {
  font-size: 1.5rem;
  flex-shrink: 0;
  min-height:3em;
  padding:0 0.7em;
}
.card_image {
  margin-top: auto;
  flex-shrink: 0;
}
.card_image img {
  width: 100%;
  height:100%;
}

/* ---greeting--- */
.greeting{
  padding:80px 50px 15px;
  position:relative;
  overflow: hidden;
  background-color: rgba(40, 58, 130, 0.1);
  margin-top:-5px;
}
.greeting::after{
  content:"";
  position:absolute;
  z-index: 0;
  width:1000px;
  height:1000px;
  transform: rotate(60deg);
  background-color: #283A81;
  opacity: 10%;
  right:-30%;
  top:400px;
}
.greeting h2{
  padding:18px 42px;
  color:#fff;
  font-size:4.4rem;
  font-weight:var(--font-bold);
  background-image: linear-gradient(90deg, rgba(39, 57, 129, 1), rgba(255, 255, 255, 0));
  border-radius:53px;
}
.greetin_detail{
  width:55%;
  padding:1.5em 50px;
  font-size:1.8rem;
}
.greetin_detail p{
  line-height: 1.8;
}
.chairman_name{
  font-size:3rem;
  text-align: right;
  font-weight:var(--font-bold);
  margin-top:1rem;
}
.greeting img{
  position:absolute;
  right:13%;
  bottom:0;
  z-index: 1;
}

/* ---price--- */
.price{
  padding:100px 200px;
  background-color: #fff;
}
.price h2 span{
  font-size:2.8rem;
  color:#293B82;
  display: block;
  opacity: 0.5;
  font-weight: var(--font-bold);
}
.price h2{
  font-size:4.8rem;
  color:#2E3538;
  line-height: 1.8;
}
.price_wrapper{
  margin-top:40px;
}
.price_wrapper h3{
  font-size:2.8rem;
  margin-bottom:0.8em;
}
.price_wrapper table{
  width:100%;
  font-size:2rem;
}
.price_wrapper table thead tr th{
  width:50%;
  color:#fff;
  font-weight: var(--font-bold);
  text-align: center;
  padding:0.8em 0;
}
.price_wrapper table thead tr th:first-child{
  background-color: #191F39;
  border-right:1px solid #C6C9D4;
}
.price_wrapper table thead tr th:last-child{
  background-color: #273981;
}
.price_wrapper table tbody tr td{
  height:100px;
  border-bottom:1px solid #C6C9D4;
  border-right:1px solid #C6C9D4;
}
.price_wrapper table tbody tr td:first-child{
  background-color: rgba(39, 57, 129, 0.1);
}
.price_wrapper p{
  font-size: 1.4rem;
  margin-top: 0.6em;
  text-align: left;
  color:#2E3538;
  opacity: 0.6;
}
.price_btn{
  display: inline-block;
  font-size:1.7rem;
  padding:28px 50px;
  border:1px solid #191F39;
  color:#191F39;
  margin-top:48px;
}

/* ---flow--- */
.flow{
  background-color: transparent;
}
.flow h2{
  text-align: center;
}
/* 全体のコンテナ */
.flow-section {
  position: relative;
  max-width: 900px; /* 最大幅を設定 */
  margin: 0 auto;
  padding: 50px 0;
  display: flex; /* 各ステップを縦に並べる */
  flex-direction: column;
}

/* 縦の点線を作成 */
.flow-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100px; /* STEP番号の位置に合わせる */
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    #ddd,
    #ddd 4px,
    transparent 4px,
    transparent 10px
  );
}

/* 各ステップのコンテナ */
/* .flow-step {
  display: flex; 
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
} */
.flow-step {
  position:relative;
  height:210px;
}
/* STEP番号のスタイル */
.flow-number-container {
  flex-shrink: 0; /* 幅を固定 */
  width: 100px;
  position: relative;
  z-index: 4;
}

.flow-number {
  position:relative;
  background-color: #273981; /* 背景色 */
  color: #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 50px;
  white-space: nowrap;
  font-size:3.6rem;
  align-items: center;
  height:100px;
  width:100px;
  padding-top:20px;
  line-height: 1.2;
}
.flow-number span{
  font-size:1.6rem;
  display: block;
}
.flow-number.line::after{
  content:"";
  position:absolute;
  width:2px;
  height:250px;
  left:50%;
  transform: translateX(-50%);
  bottom:-200px;
  background-color: #273981; /* 背景色 */
  z-index: 0;
}
/* コンテンツ部分のコンテナ */
.flow-content-container {
  display: flex; /* テキストと画像を横に並べる */
  width:100%;
  align-items: flex-start;
  height:100%;
  position:absolute;
  top:0;
  left:130px;
}

.flow-text {
  padding-right: 30px;
  width:580px;
  padding-top:25px;
}

.flow-text h3 {
  font-size: 3rem;
  color: #333;
  font-weight: var(--font-bold);
}

.flow-text p {
  font-size: 1.6rem;
  color: #666;
  margin-top: 22px;
}

.flow-image {
  flex-shrink: 0; /* 画像の幅を固定 */
  width: 300px;
}

.flow-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}
/* ---faq--- */
.faq h2{
  text-align: center;
}
.faq dl{
  margin-top:40px;
  font-size:2rem;
  font-weight:var(--font-bold);
}
.faq dl dt,.faq dl dd{
  padding:22px;
  display:flex;
  align-items: center;
}
.faq dl dd{
  align-items: flex-start;
}
.faq dl dt span:first-child,
.faq dl dd span:first-child{
  font-size: 2.8rem;
}
.faq dl dt{
  color:#fff;
  background-color: #273981;
}
.faq dl dd{
  background-color: rgba(100,103,116,0.1);
}
.faq dl dt span,.faq dl dd span{
  padding-right:1.2rem;
}
.faq dl dd span:nth-child(2){
  font-size:1.6rem;
  padding-top:0.2em;
  font-weight:200;
}
.faq dl dd span.attention{
  font-size:1.4rem;
  opacity: 0.6;
  color:#2E3538;
}
/* ---guidance--- */
.guidance{
  padding:100px 200px;
  text-align: center;
  background-color: rgba(39, 57, 129, 0.1);
}
.guidance_content{
  background-color: #fff;
  padding:40px;
  margin-top:40px;
}
.guidance_head{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guidance_info{
  text-align: left;
}
.guidance_info h3{
  font-size:3rem;
  color:#39B6FA;
  margin-bottom: 50px;
}
.address,.tel{
  text-align: left;
  font-size: 1.8rem;;
}
.calender{
  width:550px;
}
.calender h4{
  font-size:2rem;
}
.calender_wrap{
  background-color: #E9EBF2;
  padding:30px;
  margin-top:1.5rem;
}
.calender_wrap table{
  width:100%;
  font-size:2rem;
}
.calender_wrap table tr th{
  padding:0.4em 0;
}
.calender_wrap table tr th.date{
  text-align: center;
}
.calender_wrap table tr:nth-child(2){
  border-top:1px solid #293B82;
  border-bottom:1px solid #293B82;
}
.calender_wrap table tr th:first-child{
  width:146px;
  font-size:1.8rem;
}
.guidance_content iframe{
  margin:40px auto;
  width:100%;
  height:320px;
}
.reserve_btn{
  display: flex;
  justify-content: space-around;
}
.reserve_btn a{
  display: block;
}
.calender_wrap table tr.exec{
  border-bottom:1px solid #293B82;
}
.calender_info{
  display: flex;
  justify-content: space-between;
  margin-top:8px;
}
.calender_info p{
  font-size:1.4rem;
  color:#293B82;
  display: inline;
}
/* 固定追従ボタン */
.fixed-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.fixed-buttons_wrap{
  width:100%;
  max-width:814px;
  margin:0 auto;
  display: flex;
  gap:15px;
  align-items: center;
  justify-content: space-around;
}
.fixed-buttons.show {
  opacity: 1;
  pointer-events: auto;
}
.fixed-buttons a.btn:first-child{
  background-color: #191F39;
}
.fixed-buttons a.btn {
  display: flex;
  font-size:2.2rem;
  height:auto;
  line-height: 1.5;
  width: 50%;
  padding: 12px;
  text-align: center;
  background: #273981;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  margin:48px auto;
  flex-direction: column
}
.fixed-buttons a.btn span{
  font-size:1.8rem;

}
