/*
Theme Name: Yuimaru
Author: kabuyuimaru
Description: WEB集客に強い、治療院・美容室向けのテンプレートです。PC、スマホ、タブレットに対応したレスポンシブデザイン。
Tags: 整骨院、整体院
Version: 3.0
*/

@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}


/* ================================================================================================
//
//  color-template.php - ホームページ全体の色合い指定//
//
// ============================================================================================== */

:root {
    --color0:#FFF3E0;/*light*/
    --color1:#FFB74D;/*main*/
    --color2:#FF9800;/*dark*/
    --colorG:#E0E0E0;/*グレー*/
    --colorB:#595959;/*ブラック*/
}


/* ================================================================================================
//
//  body - ホームページ全体の指定//
//
// ============================================================================================== */

body{
    margin: 0;
    font-size:16px !important;
    line-height: 1.7 !important;
    color: var(--colorB) !important;
    text-align: left;
    background-color: #fff;
    letter-spacing: .4px;
	font-weight:500 !important;
}

@media only screen and (max-width:500px) {
body{    padding-bottom: 80px;
}
}

.main-content{
    max-width:640px;
    width:100%;
    margin:0 auto;
    background:#fff;
	box-shadow: 0 0 14px rgba(0, 0, 0, .2);
	position:relative;
	z-index:1;
	border-radius:22px 22px 0 0;
}


/* 大きいモニター */
@media (min-width:1600px){
    .main-content{
        margin:0 auto;
    }
}


@media (min-width:1440px) and (max-width:1599px){
    .main-content{
        margin-left:auto;
		max-width:560px;
    }
}

@media (min-width:1200px) and (max-width:1439px){
    .main-content{
        margin-left:auto;
		max-width:560px;
    }
}

@media only screen and (max-width:500px) {
    .main-content{
	border-radius:0;
    }
}
}


/* ================================================================================================
//
//  見出し - h2,h3,h4//
//
// ============================================================================================== */

h2{
    font-weight: bold !important;
	font-size:1.5rem !important;
}

h2:first-of-type{
 margin-top:8px !important;
}

.menu_sub_tt{
text-align: center;
    background: #1f2a44;
    color: #fff;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 700;
	width:70%;
}

@media (max-width: 500px){
.menu_sub_tt{
    font-size: 20px;
    width: 80%;
}
}

h3{
    font-weight: bold !important;
	font-size:1.2rem !important;
}

.toph2 {
    position: relative;
    width: 100%;
    margin: 50px 0;
    padding: 20px 0;/*ボーダーとテキストに空間をあける為のpadding*/
    text-align: center;
    font-weight: bold;
}

.toph2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    margin: 0 auto;
    text-align: center;
    background: #fff; /*この部分は後にlinear-gradientへ*/
}

.toph2::before {
    background-image: -webkit-linear-gradient(left, transparent, #212121 25%, #212121 75%, transparent);
    background-image: linear-gradient(to right, transparent, #212121 25%, #212121 75%, transparent);
    background-position: center;
    background-repeat: no-repeat;
}

@media only screen and (max-width:500px) {
    h2{
        font-size: 1.5rem !important;
    }
    h3{
        font-size: 1.2rem !important;
    }
}


.under_bar {
    position: relative;
    padding: 0 0 16px 0px;
    font-size: 24px;
  text-align: center;
}

.under_bar:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background:var(--color1);
}
@media (max-width: 763px){
.under_bar:before {
  bottom: 0px;
}	
}

h4{
    font-size: 1.06rem !important;
    display: -webkit-inline-box;
}

@media only screen and (max-width:991px) {
    .dis-none-tab{
display: none;
    }
}

@media only screen and (min-width:992px) {
    .dis-none-pc{
display: none !important;
    }
}

b,strong{
    font-weight: 600 !important;
}


img.alignright { display: block; margin: 0 0 0 auto!important;}
img.alignleft { display: block; margin: 0 auto 0 0!important;}
img.aligncenter { display: block; margin: 0 auto!important;}

.nav-bg{
    background: var(--color1);
}

.container a{
    color: var(--colorB);
}
header a:hover{
    color: var(--color1);
    text-decoration: underline;
}
.container a:hover{
    color: var(--color1);
    text-decoration: underline;
}

.container .nav-link:hover {
    text-decoration: none;
}

li{
    list-style: none;
}

ul{
    padding: 0;
    margin:0;
}

.menu a:hover{
    text-decoration: none;
}

p{
    line-height: 1.75;
	padding-left: 8px;
    padding-right: 8px;
	padding-bottom:16px;
}

#lp p{
padding-left: 1rem!important;
padding-right: 1rem!important;
}

@media only screen and (max-width:500px) {
    #lp p{
padding-left: 0.5rem!important;
padding-right: 0.5rem!important;
}

}

#subpage tr,td{
    border:solid 1px var(--color0);
}

#subpage .time tr,td{
    border:solid 1px var(--color1);
}

.marker_yellow {
background: linear-gradient(transparent 60%, #fff0da 60%);
    font-weight: bold;
}

.blog-list-link a{
    color: var(--colorB);
}

.nav-btn{
    font-size: 20px;
    text-align: center;
        border-right: solid var(--color0) 1px;
}

@media only screen and (max-width:1024px) {
 .nav-btn {
    font-size: 16px;
    text-align: center;
    border-right: solid var(--color0) 1px;
}
}

.nav li:first-child{
    border-left: solid var(--color0) 1px;
}

.nav-btn a{
    color: var(--colorB);
}

element.style {
    background: #1976d2;
    border: none;
}

.fixed {
    position: fixed;
    top: 0;
    padding: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0.9;
}

.sp-menu-fixed{
        position: fixed;
    top: 0;
    padding: 0;
    width: 100%;
    z-index: 1000;
    opacity: 0.97;
}

.clear{
    clear: both;
}

.container .btn-color{
    background:  var(--color2) !important;
    border-color:  var(--color0) !important;
}


.head-map-a{
    color:  var(--color1);
}

.back-btn{
    background-color:var(--color1) !important:
}



/*HOMEメインイメージ*/
.main_img_bg{
    background-position: center top;
}

.blog-cat{
    position: absolute;
    margin-top: 0px;
    z-index: 2;
    background: var(--color1);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    padding: 2px 4px;
}

/*メニュー*/
.menu li img {
    width: 100%;
    border-radius: 3px;
}

@media only screen and (max-width:500px) {
 .menu li img {
    width: 100%;
    border-radius: 3px;
    margin-right: 0;
    float: none;
}
}


.menulistTit {
    display: block;
    font-size:24px;
    color: var(--color1);
    font-weight: 600;
    letter-spacing: -1px;
    padding:16px 16px 8px;
	text-align:center;
}
.menulistSt {
    display: block;
	font-size: 14px;
    letter-spacing: 0;
    font-feature-settings: "palt";
    line-height:1.75;
}

@media (max-width: 500px){
.menulistSt {
	font-size: 12px;
	line-height:1.3;
}

}


}

.me-btn{
text-align: center;
        margin-top: 16px;
}

@media (max-width: 763px) {
.me-btn {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
}
}

.kuwashiku {
    font-size: 16px;
    text-align: right;
    background: var(--color2);
    border-radius: 4px;
	padding:12px 50px;
    color: #fff;
    margin-bottom: 8px;
}

/*選ばれる理由*/

.reason-box {
    background: #fff;
    border-radius: 3px;
    padding: 16px 32px;
margin-bottom: 32px;
}
@media (max-width: 763px) {
 .reason-box {
    background: #fff;
    border-radius: 3px;
    padding: 16px 8px;
    margin-bottom: 16px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
}

.inner .reason-box p{
    margin:16px 0 0px;
    padding: 0 32px 0 0px;
}

@media (max-width: 763px) {
.inner .reason-box p {
    margin: 8px 0 0px;
    padding: 0 0px 0 0px;
}
}

.reason-number-tt {
    font-size: 75px;
    float: left;
    padding: 0px 0 0px;
    font-weight: 500;
    color: var(--color2);
    margin-bottom: 16px;
    line-height: 0.5;
    text-align: center;
}
.reason-tt {
    font-size: 30px;
        line-height: 1.4;
        font-weight: bold;
color: #1f2a44;
}

@media (max-width: 763px) {
.reason-tt {
    font-size: 20px;
    letter-spacing: 0;
}
.reason-tt p{
    line-height: 1.2;
}

}

@media only screen and (min-width:501px) and (max-width:1024px) {
 .reason-tt {
    padding: 0px 34px 0px 24px;
}
}

.reason {
    font-size: 14px;
    display: block;
    margin-bottom:20px;
    text-align: center;
}

@media (max-width: 763px) {
 .reason {
    font-size: 12px;
    letter-spacing: 0;
    display: block;
    margin-bottom:12px;
    text-align: center;
}
}

.reason-number{
font-size: 56px;
    padding: 4px 10px 4px;
    letter-spacing: -2px;
    font-family: 'Trebuchet MS',sans-serif;
    background: var(--color0);
    border-radius: 50%;
    color: var(--color1);
}

@media (max-width: 763px) {
.reason-number {
    font-size: 48px;
    letter-spacing: -2px;
    font-family: 'Trebuchet MS',sans-serif;
}
}

.bg-white{
    background: #fff
}

/*チェックボックス*/
.CheckBox {
margin: 2em 0;
    background: #ffffff;
    width:100%;
    margin-left: auto;
    margin-right: auto;
    border: solid 1px  var(--color1);
	max-width:580px;
}

@media (max-width:736px) {
    .CheckBox {
        margin: 0em 0 24px;
        width:100%;
        margin-left: auto;
        margin-right: auto;
        border-radius: 3px;
    }
}

.CheckBox li{
	padding-bottom:14px;
}

.CheckBox .CheckBox-title {
font-size: 24px;
    background: var(--color1);
    color: #fff;
    padding: 4px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.05em;
    padding: 16px 0px;
    line-height: 1.7;
}

@media (max-width:736px) {
    .CheckBox .CheckBox-title {
        font-size: 16px;
    }
}

#main .CheckBox p {
    padding: 15px 20px;
    margin: 0;
}

@media (max-width: 763px) {
    #main .CheckBox p {
        padding: 8px 16px 0;
        margin: 0px 0;
    }
}

.CheckBox ul li{
	
}

.Checklist {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 0;
}

@media (max-width: 763px) {
    .Checklist {
        padding: 16px 0;
        width: 95%;
    }
}

.Checklist li {
    list-style: none;
    padding: 3px 0px 3px 32px;
    line-height: 1.7;
    background-position-y: 2px;
    border-bottom: dotted 2px #fcd69e;
    font-size: 22px;
}

@media (max-width: 763px) {
    .Checklist li {
        padding: 8px 0 8px 25px;
        font-size: 14px;
        line-height: 1.7;
    }

}

.Checklist li:before {
    margin-left: -25px;
    position: absolute;
    font-family: FontAwesome;
    content: '\f14a';
    color: #ff9800;
}



.check_left {
float: left;
    width: 55%;
    margin-top: 5px;
    padding: 0 8px 0 16px;
}

.check_right {
    float: right;
    width: 40%;
    padding: 16px;
}

.check_left li {
    list-style: none;
    padding: 8px 0px 8px 72px;
    line-height: 2.4;
    font-size: 19px;
    font-weight: 400;
    text-indent: 0px;
}

.check_left li p{
	display: inline;
}

.check-color{
    color: var(--color2);
}

@media (max-width: 763px) {
.check_left {
float: none;
    width: 100%;
    margin-top: 5px;
    padding: 0 8px;
}

.check_right {
    float: none;
    width: 95%;
    padding: 16px 0 16px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    text-align: center;
}


.check_right img{
    width: 100%;
}

.check_left li {
    list-style: none;
    padding: 3px 0px 3px 0px;
    line-height: 3;
    background-size: 25px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 16px;
    text-indent: unset;
}

}

.check-only {
float:none;
    width:85%;
    margin-top: 5px;
    padding:16px 8px 16px 42px;
    margin-left:auto;
    margin-right:auto;
    border: solid 16px #eee;
}

.check-only li {
list-style: none;
    padding: 4px 14px 4px 0px;
    line-height: 2.4;
    font-size: 20px;
    font-weight: 400;
    text-indent: 0px;
    border-bottom: dotted 2px #e0e0e0;
}

.check-color{
    color: var(--color1);
}

@media (max-width: 763px) {
.check-only {
    float: none;
    width: 100%;
    margin-top: 5px;
    padding: 16px 8px 16px 16px;
    margin-left: auto;
    margin-right: auto;
    border: solid 6px var(--color0);
}

.check-only li {
list-style: none;
    padding: 10px 0px 10px 0px;
    line-height: 3;
    background-size: 25px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0px;
    text-indent: 0px;
}

}

/*店内の雰囲気*/
.tennai_box {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
margin-top: 56px;
    margin-bottom: 56px;
}

@media (max-width: 763px) {
.tennai_box {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
    margin-bottom: 32px;
}

}

/*Google map レスポンシブ*/
.gmap {
position: relative;
padding-bottom: 60%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}

.movie {
    padding: 1em 1.2em;
    font-size: .9em;
    color: var(--colorB);
    margin: 1em auto 2em;
    border-radius: 3px;
    max-width: 600px;
    font-weight: 400;
}
.movie iframe {
max-width: 100%;
}


/*TOPブログサムネイル*/
.blog-list-left{
     float: left;
    width: 100%;
}

.blog-list-right{
    float: left;
    width:100%;
    padding: 0 8px;
}


@media only screen and (max-width: 500px) {
.blog-list-left{
     float: left;
    width: 40%;
}

.blog-list-right{
    float: left;
    width: 60%;
    padding: 0 8px;
}


.blog-list-right p{
    font-size: 14px;
    color: #757575;
}

.blog-title{
    font-size: 14px !important;
    line-height: 1.5;
}

.blog-p {
    font-size: 14px;
}

	.old-list a{
		font-size:14px;
		letter-spacing:-1px;
	}
	
}

.date{
    font-size: 13px;
    color: #757575;
}


/*予約ボタン*/

#contact .btn{
  font-size: 1.4rem;
  font-weight:500;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  padding: 2rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
    width: 100%;
    max-width:560px;
    box-shadow: 0 0 10px rgba(0 0 0 / .2);
}

#contact .btn:hover{
    opacity: 0.8;
}
@media only screen and (max-width: 500px) {

#contact .btn{
    font-size: 16px;
    padding: 1.7rem 1rem;
}
}


#contact .fa-position-left {
  position: absolute;
  top: calc(50% - 0.5em);
  left: 1rem;
      font-size: 48px;
}

#contact .fa-position-right {
  position: absolute;
  top: calc(50% - 0.5em);
  right: 1rem;
}

@media only screen and (max-width: 500px) {

#contact .fa-position-left {
    font-size: 32px;
    left: 8px;
}

}


#contact .red,#header .red{
    background: #cc0000;
    color: #fff;
	border: solid 2px #900;
}

#contact .red span,#header .red span{
    color: #FFEB3B;
    padding: 0 24px;
}

#contact .blue,#header .blue{
    background: #266fbc;
    color: #fff;
}
#contact .blue span,#header .blue span{
    color: #FFEB3B;
    padding: 0 24px;
}
#contact .light-blue,#header .light-blue{
    background: #72c9f3;
    color: #fff;
}
#contact .light-blue span,#header .light-blue span{
    color: #FFEB3B;
    padding: 0 24px;
}
#contact .green,#header .green{
    background: #07b53b;
    color: #fff;
}
#contact .green span,#header .green span{
    color: #FFEB3B;
    padding: 0 24px;
}

#contact .deep-green,#header .deep-green{
    background: #019245;
    color: #fff;
}
#contact .deep-green span,#header .deep-green span{
    color: #FFEB3B;
    padding: 0 24px;
}

#contact .yellow,#header .yellow{
    background: #eaaa00;
    color: #212121;
}
#contact .yellowue span,#header .yellow span{
    color: #212121;
    padding: 0 24px;
}

#contact .pink,#header .pink{
    background: #ec407a;
    color: #fff;
}
#contact .pink span,#header .pink span{
    color: #FFEB3B;
    padding: 0 24px;
}

#contact .deep-pink,#header .deep-pink{
    background: #98014e;
    color: #fff;
}
#contact .deep-pink span,#header .deep-pink span{
    color: #FFEB3B;
    padding: 0 24px;
}

#contact .orange,#header .orange{
    background: #eb6100;
    color: #fff;
}
#contact .orange span,#header .orange span{
    color: #FFEB3B;
    padding: 0 24px;
}

#contact .white,#header .white{
    background: #F5F5F5;
    color: #212121;
}



#contact .grad-red,#header .grad-red{
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ff8a8b+0,fd6b6c+30,ea4445+100 */
background: #cc0000  !important; /* Old browsers */
background: -moz-linear-gradient(top,  #f88 0%,#f55 30%,#cc0000 100%) !important; /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #f88 0%,#f55 30%,#cc0000 100%) !important; /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #f88 0%,#f55 30%,#cc0000 100%) !important;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8a8b', endColorstr='#ea4445',GradientType=0 ); /* IE6-9 */
color:#fff;
}

#contact .grad-red span,#header .grad-red span{
    background: unset !important;
    color: #FFEB3B;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
    box-shadow: none;
}

#contact .grad-blue,#header .grad-blue{
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#64b5f6+0,2196f3+30,1976d2+100 */
background: #64b5f6; /* Old browsers */
background: -moz-linear-gradient(top,  #84b4e6 0%,#2f80d5 30%,#266fbc 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #84b4e6 0%,#2f80d5 30%,#266fbc 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #84b4e6 0%,#2f80d5 30%,#266fbc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#64b5f6', endColorstr='#1976d2',GradientType=0 ); /* IE6-9 */
color:#fff;
}

#contact .grad-blue span,#header .grad-blue span{
    background: unset !important;
    color: #FFEB3B;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}

#contact .grad-light-blue,#header .grad-light-blue{
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bff2fa+0,b0ecf7+30,6dd9ef+100 */
background: #72c9f3; /* Old browsers */
background: -moz-linear-gradient(top,  #d0edfb 0%,#91d5f6 30%,#72c9f3 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #d0edfb 0%,#91d5f6 30%,#72c9f3 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #d0edfb 0%,#91d5f6 30%,#72c9f3 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bff2fa', endColorstr='#6dd9ef',GradientType=0 ); /* IE6-9 */
color:#1c505a;
}

#contact .grad-light-blue span,#header .grad-light-blue span{
    background: unset !important;
    color:#1c505a;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}

#contact .grad-yellow,#header .grad-yellow{
    color: #212121;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fff899+0,fff45e+30,fff100+100 */
background: #fff899; /* Old browsers */
background: -moz-linear-gradient(top,  #fff0c8 0%,#ffbd0d 30%,#eaaa00 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #fff0c8 0%,#ffbd0d 30%,#eaaa00 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #fff0c8 0%,#ffbd0d 30%,#eaaa00 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff899', endColorstr='#fff100',GradientType=0 ); /* IE6-9 */
}


#contact .grad-green,#header .grad-green{
    color: #fff;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#14e458+0,00cd43+30,00be3e+100 */
background: #07b53b; /* Old browsers */
background: -moz-linear-gradient(top,  #0bdc49 0%, #00cd43 30%, #07b53b 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #0bdc49 0%,#00cd43 30%,#07b53b 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #0bdc49 0%,#00cd43 30%,#07b53b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#14e458', endColorstr='#00be3e',GradientType=0 ); /* IE6-9 */
}

#contact .grad-green span,#header .grad-green span{
    background: unset !important;
    color: #FFEB3B;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}

#contact .grad-deep-green,#header .grad-deep-green{
color: #fff;
    background: #14e458;
    background: -moz-linear-gradient(top, #14e458 0%, #00cd43 30%, #00be3e 100%);
    background: -webkit-linear-gradient(top, #14e458 0%,#00cd43 30%,#00be3e 100%);
    background: linear-gradient(to bottom, #14e458 0%,#00cd43 30%,#00be3e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#14e458', endColorstr='#00be3e',GradientType=0 );
    background: #1b7e40;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(50%, #1b7e40), to(#20b958));
    background: -webkit-linear-gradient(bottom, #1b7e40 50%, #20b958 100%);
    background: linear-gradient(0deg, #1b7e40 50%, #20b958 100%);
}

#contact .grad-deep-green span,#header .grad-deep-green span {
    background: unset !important;
    color: #FFEB3B;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}

#contact .grad-pink,#header .grad-pink{
    color: #fff;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fe95a8+0,ff758d+31,f5586b+100 */
background: #fe95a8; /* Old browsers */
background: -moz-linear-gradient(top,  #fe95a8 0%, #ff758d 31%, #f5586b 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #fe95a8 0%,#ff758d 31%,#f5586b 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #fe95a8 0%,#ff758d 31%,#f5586b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fe95a8', endColorstr='#f5586b',GradientType=0 ); /* IE6-9 */
}

#contact .grad-pink span,#header .grad-pink span{
    background: unset !important;
    color: #FFEB3B;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}

#contact .grad-deep-pink,#header .grad-deep-pink{
    color: #fff;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e12a5d+0,c52955+30,a61f45+100 */
background: #e12a5d; /* Old browsers */
background: -moz-linear-gradient(top,  #e12a5d 0%, #c52955 30%, #a61f45 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #e12a5d 0%,#c52955 30%,#a61f45 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #e12a5d 0%,#c52955 30%,#a61f45 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e12a5d', endColorstr='#a61f45',GradientType=0 ); /* IE6-9 */
}

#contact .grad-deep-pink span,#header .grad-deep-pink span {
    background: unset !important;
    color: #FFEB3B;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}


#contact .grad-orange,#header .grad-orange{
    color: #fff;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffa000+0,ff8f00+30,ff6f00+100 */
background: #ffa000; /* Old browsers */
background: -moz-linear-gradient(top,  #ffa000 0%, #ff8f00 30%, #ff6f00 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #ffa000 0%,#ff8f00 30%,#ff6f00 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #ffa000 0%,#ff8f00 30%,#ff6f00 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffa000', endColorstr='#ff6f00',GradientType=0 ); /* IE6-9 */
}

#contact .grad-orange span,#header .grad-orange span{
    background: unset !important;
    color: #FFEB3B;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}

#contact .grad-gold,#header .grad-gold{
background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    color: #5a3201;
}

#contact .grad-gold span,#header .grad-gold span{
    background: unset !important;
    color: #5a3201;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}

#contact .grad-white,#header .grad-white{
background: #f1e767;
  background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
  background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
  background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
    color: #212121;
}

#contact .grad-white span,#header .grad-white span {
    background: unset !important;
    color:#212121;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 700;
}



/*LINE*/
.linebg{
 background: #FFFDE7;
}

.tokuten{
   font-size:15px;
    margin-bottom:16px;
}

.tokuten span{
background: var(--color2);
    padding: 8px 8px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 15px;
    color: #fff;
}

@media only screen and (max-width: 500px) {

 .tokuten {
    font-size: 14px;
    margin-bottom: 16px;
}

.tokuten span {
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 14px;
}
}

.line-tt {
  line-height: 60px;
  position: relative;
  height: 60px;
  margin: 1em 50px 1em;
  padding: 0 2rem;
  text-align: center;
  color: #fff;
  background:#fa4141;
      font-size:18px;
    font-weight: 600;
}

.line-tt:before,
.line-tt:after {
  position: absolute;
  top: 0;
  display: block;
  height: 48px;
  content: '';
  border: 30px solid #bf1a2f;
}

.line-tt:before {
  left: -40px;
  border-left-width: 15px;
  border-left-color: transparent;
}

.line-tt:after {
  right: -40px;
  border-right-width: 15px;
  border-right-color: transparent;
}

.line-tt span {
  position: relative;
  display: block;
font-size:18px;
    font-weight:600;
}

@media only screen and (max-width: 500px) {
.line-tt {
    line-height:20px;
    position: relative;
    height: 60px;
    margin: 1em 30px 1em;
    padding: 10px 0rem 0;
    text-align: center;
    color: #fff;
    background: #fa4141;
    font-size: 15px !important;
}


.line-tt:before, .line-tt:after {
    position: absolute;
    top: 0;
    display: block;
    height: 40px;
    content: '';
    border: 30px solid #bf1a2f;
}

.line-tt:before {
    left: -40px;
    border-left-width: 15px;
    border-left-color: transparent;
}

.line-tt:after {
    right: -40px;
    border-right-width: 15px;
    border-right-color: transparent;
}


.line-tt span {
font-size: 15px;
}

}

/*予約部分*/

.Mi1 {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
        margin-bottom: 0;
}

.Mi2 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-align: center;
}

@media only screen and (max-width: 500px) {
.Mi1 {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
}
.Mi2 {
    margin-bottom: 10px;
    font-size:14px;
    text-align: center;
}

}

.time{
width: 100%;
    border: solid 1px var(--color1);
    text-align: center;
    font-weight: 300;
    color:var(--color1);
    line-height:2.5;
}

.time tr{
border-bottom: solid 1px var(--color1);
font-weight: 300;
}

.time th{
     border-right: solid 1px var(--color1);
     font-weight: 300;
}

.time td{
     border-right: solid 1px var(--color1);
     font-weight: 300;
}

.other-li{
}

.other-tt{
    background: var(--color2);
    padding:4px 8px;
    border-radius: 5px;
    color: #fff;
    margin-right: 8px;
}

/*フッター部分*/

.footer{
	max-width:560px;
    color:#757575;
}

.footer a{
    color:#757575;
}

.footer ul{
    line-height:2.4;
}

.footer-title{
font-weight: 500;
    font-size: 20px;
    color: var(--colorB);
    border-bottom: solid 2px var(--colorG);
}
.f-tt {
    background:#2F4067;
    padding: 4px 8px;
    border-radius: 3px;
    margin-right: 8px;
    color: #fff;
	font-size:14px;
}

.cp{
    background: var(--color2);
    color:#fff;
}

/*ヘッダー*/
.head-h1 {
    font-size: 14px;
    font-weight: 400;
	padding-top: 20px;
}

.head-parking {
    background: #ffffff;
    padding: 0 8px;
    color: var(--color1);
    border: solid 1px var(--color1);
    border-radius: 4px;
    font-size: 13px;
    margin-right: 8px;
    margin-left: 8px;
    font-weight: 500;
    display: inline-block;
}

#header .btn{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  padding:12px 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
    width: 100%;
}



/*ナビメニュー*/

.nav-link{
position: relative;
}
.navmenu ul li a::before,
.navmenu ul li a::after {
  border-bottom: solid 2px var(--color1);
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  width: 0;
}
.navmenu ul li a::before {
  left: 49%;
}
.navmenu ul li a::after {
  right: 49%;
}
.navmenu ul li a:hover::before,
.navmenu ul li a:hover::after {
  width: 50%;
}

/*見出し h2*/
.border-solid{
  border-bottom:2px solid #b7c3de;
  padding-bottom: 10px;
}

.border-dot {
  border-bottom: 3px dotted var(--color1);
  padding-bottom: 10px;
}

.border-dashed{
      border-bottom: 3px dashed var(--color1);
      padding-bottom: 10px;
}

.border-double{
  border-bottom: 6px double var(--color1);
  padding-bottom: 10px;
}

.border-under-two {
  position: relative;
  padding: 1rem 0;
  border-bottom: 3px solid  var(--color0);
}

.border-under-two:before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 20%;
  height: 3px;
  content: '';
  background:  var(--color1);
}

.border-under-strip{
      position: relative;
  padding: 1.5rem 0;
}

.border-under-strip:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, var(--color1), var(--color1) 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg,  var(--color1), var(--color1) 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.border-left-single {
  padding: 1rem 1rem;
  border-left: 6px solid var(--color1);
}

.border-left-double {
  padding: 1rem 1rem;
  border-left: 6px double  var(--color1);
}

.border-kakomi {
  padding: 1rem 1rem;
  border: 3px solid  var(--color1);
}

.border-kakomi-dot {
  padding: 1rem 1rem;
  border: 3px dotted  var(--color1);
}

.border-kakomi-hasen {
  padding: 1rem 1rem;
  border: 3px dashed var(--color1);
}

.border-kakomi-double {
   position: relative;
  padding: 1rem 1rem;
  border: 4px solid  var(--color1);
}

.border-kakomi-double:before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  content: '';
  border: 2px solid  var(--color1);
}

.tb-border {
  padding: 1rem 1rem;
  border-top: 3px solid  var(--color1);
  border-bottom: 3px solid  var(--color1);
}

.tb-double {
padding: 1rem 1rem;
  border-top: 6px double  var(--color1);
  border-bottom: 6px double  var(--color1);
}

.bg-fill{
  padding: 1rem 1rem;
  background:var(--color1);
  color:#fff;
border-radius: 3px;
}

.bg-left{
  padding: 1rem 1rem;
  border-left: 5px solid  var(--color1);
  background:var(--color0);
  color: var(--color2);
}

.bg-top{
   padding: 1rem 1rem;
  border-top: 3px solid  var(--color1);
  background:var(--color0);
  color: var(--color2);
}

.bg-under{
  padding: 1rem 1rem;
  border-bottom: 3px solid  var(--color1);
  background:var(--color0);
  color: var(--color2);
}

.null{
    border: none;
    background: none;
	text-align:center;
}

.null:before{
    display: none;
}

.ribon1 {
  line-height: 60px;
  position: relative;
  height: 60px;
  margin: 2em 50px 1em;
  padding: 0 2rem;
  text-align: center;
  color: #fff;
  background:#fa4141;
      font-size: 24px;
    font-weight: 600;
}

.ribon1:before,
.ribon1:after {
  position: absolute;
  top: 0;
  display: block;
  height: 48px;
  content: '';
  border: 30px solid #fa4141;
}

.ribon1:before {
  left: -40px;
  border-left-width: 15px;
  border-left-color: transparent;
}

.ribon1:after {
  right: -40px;
  border-right-width: 15px;
  border-right-color: transparent;
}

.ribon1 span {
  position: relative;
  display: block;
font-size:18px;
    font-weight:600;
}

@media only screen and (max-width:500px) {

    .ribon1 {
    line-height: 20px;
    position: relative;
    height: 60px;
    margin: 1em 45px 1em;
    padding: 18px 0rem 0;
    text-align: center;
    color: #fff;
    background: #fa4141;
    font-size: 16px !important;
}

.ribon1:before {
  left: -44px;
  border-left-width: 15px;
  border-left-color: transparent;
}

.ribon1:after {
  right: -44px;
  border-right-width: 15px;
  border-right-color: transparent;
}

}

.ribon2 {
  position: relative;
  margin: 1rem -35px;
  padding: 1rem 2rem;
    background: var(--color1);
    color: #fff;
    text-align:center;
}

.ribon2:before,
.ribon2:after {
  position: absolute;
  content: '';
}

.ribon2:before {
  bottom: -10px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 10px solid  var(--color2);
  border-left: 10px solid transparent;
}

.ribon2:after {
  right: 0;
  bottom: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid  var(--color2);
  border-right: 10px solid transparent;
}

@media only screen and (max-width:500px) {
.ribon2 {
  position: relative;
  margin: 1rem -10px;
  padding: 1rem 1rem;
  text-align:center;
}

}

@media only screen and (min-width:501px) and (max-width:1024px) {
 .ribon2 {
  position: relative;
  margin: 1rem -25px;
  padding: 1rem 1rem;
  text-align:center;
}
}

.img-sentenceBoxL{
float: left;
width: 40%;
}

.img-sentenceBoxR{
float:left;
width: 60%;
}

.img-sentenceBoxL2{
float: left;
width: 60%;
}

.img-sentenceBoxR2{
float:left;
width: 40%;
}

@media only screen and (max-width:500px) {
.img-sentenceBoxL,.img-sentenceBoxR,.img-sentenceBoxL2,.img-sentenceBoxR2{
float: none;
width: 100%;
}

}


.list-box {
    position: relative;
    border: solid 3px #DAE0EE;
    border-radius: 3px;
}

#subpage .list-box p{
padding:0 !important;
margin-bottom: 0 !important;
}

.list-box ul{
    margin:0;
}

.list-box .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: var(--color1);
    font-weight: bold;
}

.li-numb ol {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
    margin-bottom: 0;
}

@media only screen and (max-width:500px) {
    .li-numb ol {
    padding-left:0px;
    margin-bottom: 0;
}
}

.li-numb ol li {
    position: relative;
    padding-left: 30px;
    line-height: 1.5em;
    padding: 0.5em 0.5em 0.5em 30px;
    list-style: none;
}

.li-numb ol li:before {
    position: absolute;
    counter-increment: number;
    content: counter(number);
    display: inline-block;
    background:#DAE0EE;
    color:#2f4067;
    font-family: 'Avenir', 'Arial Black', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 15px;
    border-radius: 50%;
    left: 0;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/*チャット風会話文----------------------------------------------------*/
.kaiwa {
    margin-bottom: 25px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 763px) {
    .kaiwa {
        width: 95%;
    }
}

/* 左画像 */
.kaiwa-img-left {
    margin: 0;
    float: left;
    width: 60px;
    height: 60px;
    margin-right: -70px;
}

/* 右画像 */
.kaiwa-img-right {
    margin: 0;
    float: right;
    width: 60px;
    height: 60px;
    margin-left: -70px;
}

.kaiwa figure img {
    width: 100%;
    height: 100%;
    border: 1px solid #aaa;
    border-radius: 50%;
    margin: 0;
}

@media (max-width: 763px) {
    .kaiwa figure img {
        width: 80%;
        height: 80%;
    }
}

/* 画像の下のテキスト */
.kaiwa-img-description {
    padding: 5px 0 0;
    font-size: 10px;
    text-align: center;
    position: relative;
    bottom: 15px;
}

/* 左からの吹き出しテキスト */
.kaiwa-text-right {
    position: relative;
    margin-left: 80px;
    padding: 10px;
    border-radius: 10px;
    background:#eee;
    margin-right: 12%;
    float: left;
}

@media (max-width: 763px) {
    .kaiwa-text-right {
        position: relative;
        margin-left: 65px;
        padding: 10px;
        border-radius: 10px;
        margin-right: 5%;
        float: left;
    }
}

/* 右からの吹き出しテキスト */
.kaiwa-text-left {
    position: relative;
    margin-right: 80px;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--color0);
    margin-left: 12%;
    float: right;
}

@media (max-width: 763px) {
    .kaiwa-text-left {
        position: relative;
        margin-right: 75px;
        padding: 10px;
        border-radius: 10px;
        margin-left: 5%;
        float: right;
    }
}

#mian p.kaiwa-text {
    margin: 0 0 20px;
}

#mian p.kaiwa-text:last-child {
    margin-bottom: 0;
}

/* 左の三角形を作る */
.kaiwa-text-right:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    top: 15px;
    left: -20px;
}

.kaiwa-text-right:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #eee;
    top: 15px;
    left: -19px;
}

/* 右の三角形を作る */
.kaiwa-text-left:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    top: 15px;
    right: -20px;
}

.kaiwa-text-left:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid var(--color0);
    top: 15px;
    right: -19px;
}

/* 回り込み解除 */
.kaiwa:after,
.kaiwa:before {
    clear: both;
    content: "";
    display: block;
}


/*Q and A*/
.qanda {
width: 100%;
    margin: 10px;
    padding: 0px 0px;
    background: #fff;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
    border-bottom: solid 1px var(--colorG);
    max-width: 560px;
}

.qanda:last-child {
    border-bottom:none;
}


.qanda dt span {
    display: table-cell;
    vertical-align: middle;
    text-align: left;
    font-size: 18px;
}

dd p {
    font-size: 16px;
    text-align: left;
    line-height: 1.75em;
}

.qanda dt {
    position: relative;
    display: table;
    width: 91%;
    min-height: 76px;
    padding:20px 10px 10px 60px;
    font-weight: 600;
    margin: 0;
}

.qanda dt:before {
position: absolute;
    top: 10px;
    left: 0;
    display: block;
    width: 45px;
    height: 45px;
    content: "Q";
    text-align: center;
    color: #fff;
    border: 4px solid #eeeeee;
    border-radius: 33px;
    background: var(--color2);
    font-size: 40px;
    font-size: 18px;
    line-height: 38px;
    font-weight: 500;
}

.qanda dd {
    position: relative;
    display: table;
    min-height: 76px;
    padding: 10px 10px 20px 60px;
    margin-left: 0;
}

.qanda dd:before {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 45px;
    height: 45px;
    content: "A";
    text-align: center;
    color: var(--color2);
    border: 4px solid #eeeeee;
    border-radius: 33px;
    font-size: 40px;
    font-size: 22px;
    line-height: 56px;
    background-color: var(--color0);
        font-weight: 500;
}

@media (max-width: 763px) {
    .qanda {
    width: 100%;
    margin: 10px;
    padding: 0px 8px;
    background: #fff;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
    }

    .qanda dt {
    position: relative;
    display: table;
    width: 100%;
    padding: 12px 10px 10px 48px;
    font-weight: 600;
    margin: 8px 0;
    font-size: 16px;
    min-height: auto;
    }

    .qanda dt:before {
        position: absolute;
        top: 9px;
        left: 0;
        display: block;
        width: 35px;
        height: 35px;
        content: "Q";
        text-align: center;
        border: 3px solid #eeeeee;
        border-radius: 33px;
        font-size: 18px;
        line-height: 28px;
    }

    .qanda dt span {
        display: table-cell;
        vertical-align: middle;
        text-align: left;
        font-size: 16px;
    }

    .qanda dd {
    position: relative;
    display: table;
    min-height: 76px;
    padding: 6px 10px 0px 32px;
    }

    .qanda dd:before {
        position: absolute;
        top: 5px;
        left: 0px;
        display: block;
        width: 35px;
        height: 35px;
        content: "A";
        text-align: center;
        border: 4px solid #eeeeee;
        border-radius: 33px;
        font-size: 40px;
        font-size: 24px;
        line-height: 28px;
    }

    .qanda dd p {
        padding: 0;
        margin: 0px 0 16px 0;
    }
}

.step_list p{
line-height: 1.5;
}

.step_numb {
position: absolute;
    background: var(--color1);
    color: #ffffff;
    border: solid 3px var(--color0);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    top: -15px;
    line-height: 2.6;
}

/*ボックス*/

.box p{
    margin:0;
    padding:0;
}

.box-solid{
padding: 0.5em 1em;
margin-bottom: 2em;
    border: solid 3px var(--color1);
}
.box-round{
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color:  var(--color1);/*文字色*/
    background: #FFF;
    border: solid 3px  var(--color1);/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box-fill{
padding: 0.5em 1em;
    margin: 2em 0;
    color: var(--color2);
    background: var(--color0);
}
.box-double{
    padding: 0.5em 1em;
    margin: 2em 0;
    border: double 5px  var(--color1);
}
.box-dashed{
    padding: 0.5em 1em;
    margin: 2em 0;
    background:var(--color0);
    border: dashed 2px var(--color1);/*点線*/
}
.box-fusen{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: var(--colorB);
    background: #fff8e8;
    border-left: solid 10px #ffc06e;
}

.box-fukidashi{
    position: relative;
    padding: 0.8em 0.7em;
    margin: 1em 0;
    background: var(--color0);
    color: var(--color1);
    font-weight: bold;
    font-size: 20px;
    border-radius: 3px;
}
.box-fukidashi:after{
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 15px solid transparent;
    border-top: 15px solid var(--color0);
    width: 0;
    height: 0;
}

.box-fukidashi p{
    line-height:1.3 !important;
}

.box-title1 {
position: relative;
    margin: 2em auto;
    padding: 0.5em 1em;
    border: solid 3px var(--color2);
    border-radius: 8px;
    max-width: 560px;
}
.box-title1 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: var(--color2);
    font-weight: bold;
}

.box-title2 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px var(--color2);
}
.box-title2 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: var(--color2);
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

.box-title3 {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px var(--color2);
}
.box-title3 .box-title{
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background:var(--color2);
    color: #ffffff;
    font-weight: bold;
}

.box-title4 {
    margin: 2em 0;
    background:var(--color0);
}
.box-title4 .box-title {
    font-size: 1.2em;
    background: var(--color2);
    padding:0px 4px 4px 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.box-title4 p {
    padding: 15px 20px;
    margin: 0;
}

.box-title5 {
    margin: 2em 0;
    background: #dcefff;
}
.box-title5 .box-title {
    font-size: 1.2em;
    background: #5fb3f5;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.box-title5 p {
    padding: 15px 20px;
    margin: 0;
}

.tyui {
margin-top: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #fff5f0;
    border: 1px solid #f2d6ca;
}

.tyui li{
    list-style: disc;
    list-style-position: inside;
    padding-left: 16px;
    line-height: 1.7;
}

#subpage .tyui p{
padding:0 !important;
}


@media only screen and (max-width:500px) {
.tyui li{
    padding-left: 8px;

}
}

.tyui_title {
    margin-bottom: 5px;
    color:#b35c44;
    font-size: 1.2em;
    font-weight: bold;
}

.tyui_title:before {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 3px 0 0;
    border-radius: 50%;
    background: #ff8376;
    color: #fff;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
}

#main .tyui p {
    margin: 0 0 0em;
    line-height: 1.75;
    padding: 0px 16px;
}

.attention{
    background:#b35c44;
    width: 36px;
    height: 36px;
    text-align: center;
    padding: 8px;
    border-radius: 50%;
    margin-right: 8px;
    color: #fff;
}

.main-lp-img img{
width: 100%;
}

/*TOPへ戻るボタン*/
.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display:none;
    border-radius:50% !important;
    background:var(--color1) !important;
    border-color:var(--color1) !important;
}

@media (max-width: 763px) {
	.back-to-top {
		bottom:20px;
		right: 10px;
	}
}


.glyphicon-chevron-up::before {
    content: "\f106";
    font-family:'Font Awesome 5 Free';
    font-weight:900;
}

/* 必須マーク */
.must{
    color: #fff;
    margin-right: 10px;
    padding: 6px 10px;
    background: #F92931;
    border-radius: 20px;
}

/* 任意マーク */
.free {
    color: #fff;
    margin-right: 10px;
    padding: 6px 10px;
    background: #424242;
    border-radius: 20px;
}

/* 項目名を太字にする */
form p {
    font-weight: 600;
}

/* 入力項目を見やすくする */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 8px 15px;
    margin-right: 10px;
    margin-top: 10px;
    border: 1px solid #d0d5d8;
    border-radius: 3px;
}
textarea.wpcf7-form-control.wpcf7-textarea {
    height: 200px;
}

/* 必須項目の入力欄を黄色にする */
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    background: rgba(255, 255, 142, 0.46);
}

/* 送信ボタンを見やすくする */
input.wpcf7-submit {
width: 100%;
    height: 80px;
    background: #27c038;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    border: solid 3px #3da949;
    border-radius: 3px;
}

/* エラーメッセージを見やすくする */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
    color: red;
    font-weight: 600;
}

.form-w{
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.blog-list-left img{
border: none;
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

/*スマホ固定バナー*/
.sp_banner{
    position: fixed;
    bottom: 0;
    z-index: 999;
    left:0;
}

.text-center{
     margin-left: auto;
    margin-right: auto;
}

.price-tt{
    background: var(--color2);
    padding: 8px 16px;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

.price-price{
    border:solid 1px var(--color1);
    padding: 8px;
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
}

.n-p{
    font-size: 20px;
    padding: 0 8px;
}

@media only screen and (max-width:500px) {
    .n-p{
display: block;
}
}

.f-p{
    font-size:28px;
    padding: 0 8px;
    font-weight: 600;
    color: #F44336;
        display: block;
}

.pn_btn a{
background: var(--color2);
    padding: 2px 6px;
    border-radius: 5px;
    color: #fff;
}

.col-text{
     display: block;
    font-size: 14px;
    margin-top: 8px;
}

.nav-con{
    line-height: 1;
    font-size: 16px;
    display: inline-block;
    font-weight: 500;
    padding: 16px 16px;
    border-radius: 80px;
}


@media only screen and (min-width:501px) and (max-width:1024px) {
    .nav-con{
    line-height: 1;
    font-size: 20px;
    display: inline-block;
    font-weight: 500;
}
}

/* PC,SP表示切り替え　
========================================================================== */

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}


@media only screen and (max-width: 680px) {
    .pc {
        display: block !important;
    }

    .sp {
        display: none !important;
    }
}

@media (max-width: 500px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}



.sns__container {
    display: flex;
}

.sns__container a {
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0.5rem 0;
}

.sns__container a:hover {
    opacity: 0.6;
}

.sns__twitter {
    background: #55acee;
}

.sns__facebook {
    background: #3b5998;
}

.sns__pocket {
    background: #ef3f56;
}

.sns__line {
    background: #1dcd00;
}

.sns__hatena {
    background: #00a5de;
}


.grecaptcha-badge { visibility: hidden; }


/* ================================================================================================
//
//  TOPPAGE - SLIDE
//
// ============================================================================================== */
.swiper-container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    overflow: hidden;
}

.swiper-container .swiper-slide .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* ================================================================================================
//
//  SINGLE PAGE - 執筆者項目
//
// ============================================================================================== */
.profile-wrapper {
border: solid 3px #F4F7FD;
    border-radius: 3px;
    max-width: 850px;
    font-size: 14px;
}

.profile-tt{
     background:#F4F7FD;
    font-size: 18px;
    font-weight: bold;
}

.profile-wrapper .text-wrap {
    width: calc( 100% - 200px );
    padding-right: 4rem;
}

.profile-wrapper .text-wrap .profile-name {

}

.profile-wrapper .text-wrap .text-area {
    margin-top: 2rem;
}

#subpage .profile-wrapper .text-wrap .text-area {
    padding: 0!important;
}

.profile-wrapper .img-wrap {
    width: 200px;
}

.profile-wrapper .img-wrap .img {
    position: relative;
    padding-top: 100%;
}

.profile-wrapper .img-wrap .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.profile-wrapper .img-wrap .profile_btn {

}

.profile-wrapper .img-wrap .profile_btn span{

}

.profile-name{
    font-size: 20px;
}

.profile-img{
    max-width: 200px;
}


/* ================================================================================================
//
//  Yoast - パンくずリスト//
//
// ============================================================================================== */

#breadcrumbs{
    color: var(--color1);
}

@media (max-width: 500px) {
#breadcrumbs{
    color: var(--color1);
    font-size: 12px;
}
}

.fa-home{
    color: var(--color1) !important;
}



/* ================================================================================================
//
//  TOPページ - メインイメージスライダーのスタイリング//
//
// ============================================================================================== */

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    color: #fff;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    color: #fff;
}
.swiper-pagination-bullet-active{
    background: #212121;
}



/* ================================================================================================
//
//  share - シェアボタン single.php
//
// ============================================================================================== */

.sns__container {
    display: flex;
}

.sns__container a {
    text-decoration: none;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 2rem;
    max-width: 180px;
}

.sns__container a:hover {
    opacity: 0.6;
}

.sns__twitter {
    background: #55acee;
}

.sns__facebook {
    background: #3b5998;
}

.sns__pocket {
    background: #ef3f56;
}

.sns__line {
    background: #1dcd00;
}
/* =====ここから「このWPへの追記」==================================================*/
/*h1を非表示にする場合は使用
h1 {
	display: none;
}

@media (max-width: 500px) {
	.main_img_bg img {
		margin-top: 5px;
	}
}
*/

/*---「LINE特典：リボンの色&文字色の変更」※1262、1304も変更---------------------*/
.line-tt {
    color: #fff;
    background: #bf1a2f;
}

@media only screen and (max-width: 500px) {
	.line-tt {
		color: #fff;
		background: #bf1a2f;
	}
}

/*---「ページ内スクロールの調整」-------------------*/
#offer {
	padding-top: 30px;
    margin-top: -30px;
}


/*-----「お客様の声」-----*/
.voice_title {
	border-left: solid 5px #f68e33;
	font-size: 1.2em;
	font-weight: bold;
}

.voice_cc {
	background-color: #fff1d3;
	color: #f57c12;
	font-weight: bold;
}

/*---------------その他対応メニュー------------------*/
#taiou .btnn {
	font-size: 1.6rem;
	display:block;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    padding: 2rem 4rem;
    cursor: pointer;
    letter-spacing: 0.1em;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 800px;
	margin-top:-16px;
	background:#1976d2;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

	@media only screen and (max-width: 500px){
#taiou .btnn {
    font-size: 20px;
    padding: 1.7rem 1rem;
	margin-top:-8px;
	}}

#taiou .fa-position-right {
    position: absolute;
    top: calc(50% - 0.5em);
    right: 1rem;
}
/*========== ここから「よくある質問」  ==========*/

/*----Q＆Aアイコン修正----*/

.qanda dd:before {
	line-height: 38px;
}

@media (max-width: 763px){
	.qanda dd:before {
		line-height: 24px;
	}
}

/*========== ここから「料金表」  ==========*/
.tableBasic01 table {
    border-collapse: collapse;
    font-size: 95%;
    border-spacing: 0;
    margin-left: auto;
    margin-right: auto;
}

.tableBasic01 table {
    border-style: solid;
    border-color: #f3f3f3;
    border-size: 1px;
    width: 100%;
}

.tableBasic01 td {
    padding: 10px;
    line-height: 2em;
}

.tableBasic01 tr {
    padding: 10px;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px dotted #e1e1e1;
}

.tableBasic01 {
    padding: 8px;
	max-width: 800px;
	margin: 0 auto;
}


.tableBasic01 table th {
    background: #f4f4f4;
    text-align: center;
    padding: 16px 5px;
    border-right: 1px dotted #fff;
    border: 1px solid #ddd;
}

.tableBasic01 table td {
    background: #fff;
    text-align: center;
    padding: 10px 5px;
    border: 1px solid #ddd;
    text-align: left;
}

.taC {
    text-align: center !important;
}

.w25per {
    width: 25% !important;
}

.w50per {
    width: 50% !important;
}

@media only screen and (max-width: 991px){
.dis-none-tab {
    display: none;
}
}

/*========== ここから「お客様の声」  ==========*/
.voice_title {
    border-left: solid 5px  var(--color2);
    font-size: 1.2em;
    font-weight: bold;
}
.voice_cc {
    background-color: var(--color0);
    color: var(--color2);
    letter-spacing: -1px;
}

.voice_list p{
	margin-bottom:0 !important;
	font-size:15px;
}
/*==========　アコーディオン（症状メニュー） ==========*/
/*
<div class="cp_box">
<input id="cp01" type="checkbox" autocomplete="off"><label for="cp01"></label>
<div class="cp_container"> 
★隠すコンテンツ★
</div>
</div>
*/

.cp_box {
    position: relative;
    margin-bottom: 2em;
}

.cp_box input {
    display: none;
}

.cp_box label {
    position: absolute;
    z-index: 1;
    bottom: -10px;
    width: 100%;
	height: 100px;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}

.cp_box label::after {
    line-height: 2.5rem;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    width: 16rem;
    font-family: FontAwesome;
	content: "施術の流れを見る";
    transform: translate(-50%, 0px);
    letter-spacing: 0.05em;
    color: rgb(255, 255, 255);
    background-color: #f68e33;
    border-radius: 20px;
}

.cp_box input:checked + label::after {
    font-family: FontAwesome;
    content:"閉じる";
}

.cp_box input:checked~.cp_container {
    height: auto;
    padding-bottom: 80px;
    transition: all 0.5s;
}

.cp_box input:checked+label {
    background: inherit;
}

.cp_box .cp_container {
    overflow: hidden;
	height: 350px;
    transition: all 0.5s;
}


@media (max-width: 480px){
.cp_box .cp_container {
    overflow: hidden;
    height: 500px;
    transition: all 0.5s;
}
}

/*「施術の流れ」余白調整（STEPコンテンツ）*/
.step_list {
	margin-bottom: 25px;
}

/*「メールフォーム」サイズ調整（プルダウン）*/
select {
    min-height: 35px;
}


/* ================================================================================================
//
// Topスライド
//
// ============================================================================================== */
.img-rep {
    width: 100%;
height:360px;
	background-size: cover;
    background-image: url(/wp-content/uploads/slide.png);
    background-repeat: repeat-x;
    animation-name: warning;
	animation-duration: 50s; 
    animation-timing-function: linear;
    animation-iteration-count: infinite;
        animation-direction: reverse;
}

@keyframes warning {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position:1920px 0;
  }
}

@media only screen and (max-width: 500px) {
.img-rep {
	height: 245px;
}
}


/* ================================================================================================
//
// 改善事例TOP（ブログ形式）
//
// ============================================================================================== */
/* カテゴリ一覧 */
.kaizen-cat-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.kaizen-cat-item{
  display: inline-block;
  padding: 16px 10px;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}
.kaizen-cat-item:hover{
  text-decoration: underline;
}

/* 一覧：メディア型 */
.kaizen-list{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.kaizen-item{
  border-bottom: 1px solid #eee;
  padding-bottom: 18px;
}

.kaizen-thumb{
  flex: 0 0 200px;
  max-width: 200px;
}
.kaizen-thumb img{
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.kaizen-body{
  flex: 1;
  min-width: 0;
}
.kaizen-cat{
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}

.kaizen-title{
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 8px;
}
.kaizen-excerpt{
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 10px;
}
.kaizen-meta{
  font-size: 12px;
  color: #777;
}
.kaizen-link:hover .kaizen-title{
  text-decoration: underline;
}

.kaizen-card { text-decoration: none; color: inherit; }
.kaizen-card-title { font-weight: 700; line-height: 1.4; }

.kaizen-text-list { list-style: none; padding-left: 0; margin: 0; }
.kaizen-text-item a { text-decoration: none; color: inherit; }
.kaizen-text-item a:hover { text-decoration: underline; }
.kaizen-text-date { color: #777;     font-size: 0.65rem;
    opacity: 0.8; white-space: nowrap; }
/* サムネ付き改善事例：更新日を極小・控えめに */
.kaizen-card-date{
  display: block;
  font-size: 0.7rem;      /* かなり小さく */
  line-height: 1.2;
  color: #999;            /* 薄いグレー */
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* スマホではさらに目立たなく */
@media (max-width: 767.98px){
  .kaizen-card-date{
    font-size: 0.65rem;
    opacity: 0.8;
  }
}
/* 改善事例一覧ボタン（中央・シンプル） */
.kaizen-more-wrap{
  text-align: center;
  margin-top: 24px;
}

.kaizen-more-btn{
  display: inline-block;
  padding: 10px 28px;
  font-size: 0.95rem;
  color: #333;
  border: 1px solid #333;
  text-decoration: none;
  border-radius: 3px;
  transition: all .25s ease;
}

/* ホバーはほんのり */
.kaizen-more-btn:hover{
  background: #333;
  color: #fff;
}

/* スマホは少しだけ小さく */
@media (max-width: 767.98px){
  .kaizen-more-btn{
    font-size: 0.9rem;
    padding: 9px 22px;
  }

.kaizen-text-item {
	font-size:12px;
}	
.kaizen-card-title {
	font-size:12px;
}
}

/* ===============================
   SP：改善事例 1記事レイアウト
   [サムネ][カテゴリ・タイトル]
   [抜粋]
   [更新日]
================================ */
@media (max-width: 767.98px){

  /* 記事リンク全体をグリッド化 */
  .kaizen-link{
    display: grid;
    grid-template-columns: 38% 1fr;
    grid-template-areas:
      "thumb body"
      "excerpt excerpt"
      "meta meta";
    column-gap: 12px;
    row-gap: 6px;
    text-decoration: none;
    color: inherit;
  }

  /* 各エリア割当 */
  .kaizen-thumb{ grid-area: thumb; }
  .kaizen-body{ grid-area: body; }
  .kaizen-excerpt{ grid-area: excerpt; }
  .kaizen-meta{ grid-area: meta; }

  /* サムネ */
  .kaizen-thumb img{
    width: 100%;
    height: auto;
    display: block;
  }

  /* カテゴリー */
  .kaizen-cat{
    font-size: 0.7rem;
    opacity: .8;
    margin-bottom: 2px;
  }

  /* タイトル */
  .kaizen-title{
    font-size: 0.95rem;
    line-height: 1.35;
    margin: 0;
  }

  /* 抜粋 */
  .kaizen-excerpt{
    font-size: 0.85rem;
    line-height: 1.45;
    margin-top: 4px;
  }

  /* 更新日（かなり小さく） */
  .kaizen-date{
    font-size: 0.7rem;
    opacity: .7;
  }
}
.kaizen-card-excerpt{
  font-size: 12px;
  line-height: 1.4;
  margin-top: 6px;
  opacity: .85;
}

.kaizen-text-excerpt{
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
  opacity: .85;
}
.kaizen-text-item{
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.kaizen-text-title{
  display:block;
  font-weight: 700;
  line-height: 1.4;
  text-decoration:none;
}

.kaizen-text-date{
  display:block;
  margin-top: 2px;
  font-size: 10px;   /* 超小さく */
  opacity: .6;
}

.kaizen-text-excerpt{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
  opacity: .85;
}
/* テキスト3件：1行目[タイトル][更新日] / 2行目[抜粋] */
.kaizen-text-item{
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

/* 1行目：タイトル左・日付右 */
.kaizen-text-head{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 10px;
}

/* タイトル */
.kaizen-text-title{
  display: block;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  color: inherit;
}
.kaizen-text-title:hover{ text-decoration: underline; }

/* 更新日：極小・右寄せ */
.kaizen-text-date{
  white-space: nowrap;
  font-size: 10px;
  opacity: .6;
}

/* 抜粋 */
.kaizen-text-excerpt{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.55;
  opacity: .85;
}

/* =========================================
   改善事例一覧：PCもSPも gridで固定
   PC： [サムネ][カテゴリ+タイトル]
        [サムネ][抜粋]
        [サムネ][更新日]
   SP： [サムネ][カテゴリ+タイトル]
        [抜粋]
        [更新日]
========================================= */

.kaizen-link{
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas:
    "thumb body"
    "thumb excerpt"
    "thumb meta";
  column-gap: 16px;
  row-gap: 8px;
  text-decoration: none;
  color: inherit;
}

.kaizen-thumb{ grid-area: thumb; max-width: 200px; }
.kaizen-body{ grid-area: body; min-width: 0; }
.kaizen-excerpt{ grid-area: excerpt; margin: 0; }
.kaizen-meta{ grid-area: meta; }

.kaizen-thumb img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.kaizen-title{
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

.kaizen-link:hover .kaizen-title{ text-decoration: underline; }

/* SP：指定どおり */
@media (max-width: 767.98px){
  .kaizen-link{
    grid-template-columns: 38% 1fr;
    grid-template-areas:
      "thumb body"
      "excerpt excerpt"
      "meta meta";
    column-gap: 12px;
    row-gap: 6px;
  }

  .kaizen-thumb{ max-width: none; }
  .kaizen-cat{ font-size: 0.7rem; opacity: .8; margin-bottom: 2px; }
  .kaizen-title{ font-size: 0.95rem; }
  .kaizen-excerpt{ font-size: 0.85rem; line-height: 1.45; }
  .kaizen-date{ font-size: 0.7rem; opacity: .7; }
}
/* =========================================
   改善事例一覧：PCもSPも gridで固定
   PC： [サムネ][カテゴリ+タイトル]
        [サムネ][抜粋]
        [サムネ][更新日]
   SP： [サムネ][カテゴリ+タイトル]
        [抜粋]
        [更新日]
========================================= */

.kaizen-link{
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-areas:
    "thumb body"
    "thumb excerpt"
    "thumb meta";
  column-gap: 16px;
  row-gap: 8px;
  text-decoration: none;
  color: inherit;
}

.kaizen-item a:hover {
    color: #555;
    text-decoration: none;
}

.kaizen-item a:hover .kaizen-title{
    text-decoration: underline;
}

.kaizen-thumb{ grid-area: thumb; max-width: 200px; }
.kaizen-body{ grid-area: body; min-width: 0; }
.kaizen-excerpt{ grid-area: excerpt; margin: 0; }
.kaizen-meta{ grid-area: meta; }

.kaizen-thumb img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.kaizen-title{
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

.kaizen-link:hover .kaizen-title{ text-decoration: underline; }

/* SP：指定どおり */
@media (max-width: 767.98px){
  .kaizen-link{
    grid-template-columns: 38% 1fr;
    grid-template-areas:
      "thumb body"
      "excerpt excerpt"
      "meta meta";
    column-gap: 12px;
    row-gap: 6px;
  }

  .kaizen-thumb{ max-width: none; }
  .kaizen-cat{ font-size: 0.7rem; opacity: .8; margin-bottom: 2px; }
  .kaizen-title{ font-size: 0.95rem; }
  .kaizen-excerpt{ font-size: 0.85rem; line-height: 1.45; }
  .kaizen-date{ font-size: 0.7rem; opacity: .7; }
}

.single-kaizen h1{
	font-size:28px !important;
}

@media (max-width: 767.98px){
.single-kaizen h1{
	font-size:18px !important;
}
	
.single-kaizen p{
	font-size:14px !important;
}
}

.btn-monotone {
            padding: 15px 30px;
            font-weight: bold;
            border-radius: 8px;
            transition: all 0.3s ease;
            background-color: #fff;
            border: 2px solid #333 !important; /* 太めの境界線でシンプルさを強調 */
            color: #333 !important;
        }

        /* ホバー時の挙動：薄くなる（不透明度を下げる） */
        .btn-monotone:hover {
            opacity: 0.6; /* 60%の薄さにする */
            background-color: #fff !important; /* 背景は白のまま固定 */
            color: #333 !important;
            transform: translateY(-1px);
            text-decoration: none;
            box-shadow: none; /* シンプルにするため影を消す */
        }

        /* ボタンコンテナの幅調整 */
        .button-container .btn {
            width: 100%; /* スマホ時は全幅 */
        }

        @media (min-width: 768px) {
            .button-container .btn {
                width: auto; /* PC時は文字幅 */
                min-width: 250px;
            }
        }

/* サムネ枠を基準にする */
.kaizen-card-thumb{
  position: relative;
}

/* NEWバッジ */
.kaizen-new-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #ff6b8b;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

@media (max-width: 767.98px){
	.kaizen-new-badge {
    position: absolute;
    top: -12px;
    left: -5px;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background: #ff6b8b;
    color: #fff;
    font-weight: 700;
    font-size: 8px;
    letter-spacing: .08em;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .18);
	}
}

/* 画像の角丸があるなら、バッジも馴染むように微調整（任意） */
.kaizen-card-thumb img{
  display: block;
}
/* ========== サムネ演出（SBC風） ========== */
.kaizen-card-thumb{
  position: relative;
  padding: 0 28px 24px 16px; /* 右下に余白を作って“後ろ”を見せる */
  flex-shrink: 0;
}

/* メイン */
.kaizen-thumb-main{
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

@media (max-width: 767.98px){
.kaizen-thumb-main{
  border-radius: 3px;
}	
}

/* 後ろぼかし */
.kaizen-thumb-blur{
  position: absolute;
  right: -30px;
  bottom: 0;
  opacity: .35;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  z-index: 0;
  pointer-events: none;
  transform: scale(1.02);
}

.kaizen-thumb-blur img{
  width: 100%;
  display: block;
  border-radius: 12px;
}



/* SPは控えめに（余白＆ぼかしを弱く） */
@media (max-width: 767.98px){
  .kaizen-card-thumb{
    padding: 0 14px 12px 8px;
  }
  .kaizen-thumb-blur{
    opacity: .25;
    filter: blur(6px);
    -webkit-filter: blur(6px);
  }
}
/* ==========================
   SPでは後ろぼかしを非表示
   ========================== */
@media (max-width: 767.98px){
  .kaizen-thumb-blur{
    display: none;
  }

  /* ついでに余白も詰める（おすすめ） */
  .kaizen-card-thumb{
    padding: 0;
  }

  /* メイン画像だけをスッキリ見せる */
  .kaizen-thumb-main{
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
  }
}


/* ==========================
モバイルファーストナビメニュー
========================== */
/* メニューのスライドインアニメーション用 */
        #mobile-menu {
            transition: transform 0.3s ease-in-out;
            transform: translateX(100%);
        }

        #mobile-menu.open {
            transform: translateX(0);
        }

        /* 背景のオーバーレイ */
        #menu-overlay {
            transition: opacity 0.3s ease-in-out;
            opacity: 0;
            pointer-events: none;
        }

        #menu-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        /* ロゴのフォントスタイル調整 */
        .logo-text {
            font-family: 'Arial Black', sans-serif;
            letter-spacing: 0.05em;
        }
        .logo-subtext {
            font-size: 0.5rem;
            letter-spacing: 0.1em;
            display: block;
            margin-top: -2px;
        }

        /* NEW バッジのスタイル */
        .badge-new {
            background-color: #ff5a36;
            color: white;
            font-size: 0.6rem;
            padding: 2px 6px;
            border-radius: 10px;
            margin-left: 8px;
            font-weight: bold;
        }

/* モバイルファースト背景メニュー */
.pc-side-menu{
  position: fixed;
  top: 0;
  height: 100vh;
  z-index: 30;
  display: flex;
  flex-direction: column;
}


@media (max-width:1199px){
	.pc-side-menu{
display:none;
}
}
	
.pc-side-menu.left{
left: 80px;
    top: 50%;
    transform: translateY(-50%);
    padding: 50px;
    align-items: flex-start;
    background: rgb(255 255 255 / 60%);
    max-height: 680px;
    border-radius: 40px;
    box-shadow: 0 0 25px 0px rgb(229 229 229 / 54%);
	width: clamp(23%, 3vw, 100%);
}
@media (max-height:800px){
    .pc-side-menu.left{
        padding:40px 50px;
        top:50%;
        transform:translateY(-50%) scale(.8);
        transform-origin:left center;
    }
}
.side-logo{
  width: 280px;
  height: auto;
  margin-bottom: 24px;
}

.pc-side-menu.left ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-side-menu.left li{
  margin-bottom:8px;
}

.pc-side-menu.left a{
  color: #666;
  font-size:16px;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
}


.pc-side-menu.left .side_tel a{
  color: #666;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: .05em;
    text-decoration: none;
}

.pc-side-menu.right{
  right: 40px;
  bottom: 90px;
  top: auto;
  height: auto;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1599px) {
.pc-side-menu.right{
  right: 10px;
	bottom:20px;
}
	
}

.qr-box{
  width: 260px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  color: #333;
  font-weight: 700;
  text-align: center;
}

.side-btn{
  width: 220px;
  padding: 14px 20px;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}

.side-btn.gray{
  background: #8fa0ad;
}

.side-btn.blue{
  background: #5aa7d8;
}

/* スマホでは非表示 */
@media (max-width: 1024px){
  .pc-side-menu{
    display: none;
  }
}


/* QRコード自動生成部分 */
.qr-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.75);
  border-radius: 18px;
  padding: 16px 18px;
}

@media (max-width: 1439px) {
  .qr-box{
	 width:130px;
  }
}

@media (max-width: 1599px) {

  .qr-box{
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px;
	 width:100%;
  }

  .qr-text{
    order: 1;
  }

  .qr-box img{
    order: 2;
  }

}

.qr-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
}

.qr-text small {
  font-size: 8px;
  color: #4c8db7;
  font-weight: 600;
}

.qr-box img {
  width: 72px;
  height: 72px;
}


.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 20px;
}

.menu .list_item {
	border-radius:10px;
	background:#fff;
}

.menu .list_item a {
    display: block;
}

.menu .list_item img {
    width: 100%;
    height: auto;
    display: block;
	border-radius:10px 10px 0 0;
}

/* 経歴 */

.keireki_box{
    border-radius: 10px;
    line-height: 2.3;
    font-size: 15px;
}

/* お問い合わせ見出し */
.contact_tt{
	font-size:2rem;
}

/* 道案内テキスト */
@media (max-width: 767.98px){
.ac_text{
	font-size:14px;
}
}

/* フッターメニューリスト */
.footer_list{
columns: 3;
    column-gap: 10px;
    font-size: 13px;
}


.header-logo {
  max-width: 220px;
}

.nav-con {
  width:130px;
  height:48px;
	border-radius:2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;

}

.menu-circle {
  width: 48px;
  height: 48px;
}

.menu-circle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  margin-bottom: 6px;
}

.menu-circle span:last-child {
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .header-logo {
    max-width: 160px;
  }

  .nav-con {
    width: 76px;
    height:40px;
    font-size: 13px;
    padding: 0 8px;
  }

  .nav-con .pl-2 {
    padding-left: 4px !important;
  }

  .menu-circle {
    width: 42px;
    height: 42px;
  }

  .menu-circle span {
    width: 21px;
  }
}

@media (max-width: 374px) {
  .header-logo {
    max-width: 145px;
  }

  .nav-con {
    width: 68px;
    height: 50px;
    font-size: 12px;
  }

  .menu-circle {
    width: 38px;
    height: 38px;
  }
}

/*ドット背景*/
.dots {
  background-color: #ffffff;
  background-image:radial-gradient(circle, rgb(183 195 222 / 34%) 2.5px, transparent 2.5px);
  background-position: 0 0;
  background-size: 13px 13px;
}

/*モーコンイラスト*/
.mocon{

}

@media (max-width:768px) {
.mocon{
max-width:160px !important;

}	
}

        :root {
            --primary-color: #0ea5e9; /* Light Blue */
            --secondary-color: #10b981; /* Emerald Green */
            --text-color: #334155; /* Slate 700 */
            --bg-color: #f8fafc; /* Slate 50 */
        }

.main-heading {
            position: relative;
            z-index: 1;
            font-size: clamp(1.5rem, 4vw, 2rem) !important;
            font-weight: 900 !important;
            line-height: 1.4;
            margin: 0;
            color: var(--text-color);
            letter-spacing: 0.02em;
        }

        .highlight-number {
display: inline-block;
    font-size: clamp(3rem, 6vw, 4rem);
    line-height: 1;
color: #f28c28;
    background-clip: text;
    padding: 0 5px;
    transform: translateY(4px);
        }


        /* カードのスタイル */
        .doctor-card {
            border: none;
            border-radius: 1rem;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            background-color: #fff;
            overflow: hidden; /* 角丸を適用するため */
        }

        /* 「医師コメント」のリボン風バッジ */
        .doctor-comment-badge {
            background-color: #ff7f9f; /* ピンク色 */
            color: white;
            font-weight: bold;
            padding: 0.5rem 1rem;
            position: relative;
            display: inline-block;
            margin-bottom: 1rem;
            /* 左側のリボン形状 */
            clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
            padding-right: 1.5rem; /* 右側の切り欠き分パディングを追加 */
        }
        /* より単純な矩形で良ければ clip-path を削除し、border-radius を調整してください */


        /* タイトルのスタイル */
        .card-title-text {
            color: #ff7f9f;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        /* タイトル下の黄色い線 */
        .title-underline {
            height: 3px;
            background-color: #ffc107; /* Bootstrapのwarning色 */
            width: 100%;
            border: none;
            margin-top: 0;
            margin-bottom: 1rem;
        }

        /* 医師の名前 */
        .doctor-name {
            font-size: 1.5rem;
            font-weight: bold;
        }
        .doctor-name .title {
            font-size: 1rem;
            font-weight: normal;
            margin-left: 0.5rem;
        }

        /* 医師の画像コンテナ（トリミング用） */
        .doctor-image-container {
            width: 100%;
            height: 0;
            padding-bottom: 120%; /* アスペクト比を調整 */
            position: relative;
            overflow: hidden;
            border-radius: 0.5rem;
        }

        /* 医師の画像 */
        .doctor-image-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* 画像をコンテナに合わせてトリミング */
            object-position: center top; /* 顔を中心に調整 */
        }

        /* 下部のコメントテキスト */
        .comment-text {
            line-height: 1.8;
            color: #333;
        }

        /* 注釈テキスト */
        .note-text {
            font-size: 0.85rem;
            color: #6c757d; /* Bootstrapのtext-muted色 */
        }

        /* レスポンシブ調整 */
        @media (max-width: 767.98px) {
            .doctor-image-container {
                padding-bottom: 100%; /* モバイルでのアスペクト比調整 */
                margin-bottom: 1rem;
            }
            .title-underline {
                width: 100%;
            }
        }

       .heading-eng {
            font-size: 2.5rem; /* Adjusted for impact */
            font-weight: 900;
            color: #7ba7cf;
            text-align: center;
            letter-spacing: 0.05em;
            line-height: 1;
            margin-bottom: 0.25rem;
        }

        .heading-jp {
            font-size: 1rem;
            font-weight: 700;
            color: #8db8d8;
            text-align: center;
            margin-bottom: 2rem;
            letter-spacing: 0.1em;
        }

        .swiper-container-wrapper {
            padding: 0 20px; /* Padding on sides of the slider */
        }

        .card-wrapper {
            background-color: white;
            border-radius: 20px 20px 20px 20px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft shadow */
        }

        .card-image-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 60%; /* Aspect ratio roughly 5:3 */
            overflow: hidden;
        }

        .card-image-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Gradient overlay for text readability if needed, though original doesn't seem to have much, maybe slight vignette */
        .card-image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.1) 100%);
            pointer-events: none;
        }

        .card-content {
            padding: 2rem 1rem;
            text-align: center;
        }

        .step-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #555;
            margin-bottom: 1rem;
            display: inline-block;
            position: relative;
        }

        /* Dotted line under title */
        .step-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            border-bottom: 1px dotted #8db8d8;
        }

        .step-description {
            font-size: 0.95rem;
            color: #666;
            line-height: 1.8;
            text-align: left; /* Image shows roughly centered or slightly left justified text block */
            display: inline-block; /* To center the block itself while keeping text somewhat flowy */
            max-width:100%;
        }

        .notes-section {
            padding: 0 20px 30px;
        }

        .note-item {
            font-size: 0.8rem;
            color: #777;
            margin-bottom: 0.4rem;
            line-height: 1.5;
            text-indent: -1em; /* Pull asterisk back */
        }

        .swiper-button-next,
        .swiper-button-prev {
            color: white !important;
            opacity: 0.8;
            background-color: transparent; /* Assuming they are just icons over image */
            top: 40% !important; /* Center vertically on the image part */
        }
        
        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 1.5rem !important;
            font-weight: bold;
            text-shadow: 0 0 5px rgba(0,0,0,0.3); /* Ensure visibility against light backgrounds */
        }

        .swiper-button-next { right: 10px !important; }
        .swiper-button-prev { left: 10px !important; }

        /* Hide buttons on mobile if desired, or make smaller */
        @media (max-width: 480px) {
            .swiper-button-next:after,
            .swiper-button-prev:after {
                font-size: 1.2rem !important;
            }
        }

.swiper-container-wrapper svg{
	display:none;
}


/* 019 */
.button019 a {
    background: #1f2a44;
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 420px;
    padding: 16px 25px;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .button019 a {
        font-size: 17px;
    }
}

.button019 a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.button019 a:hover {
  background:#3F558A;
  color: #FFF !important;
	text-decoration:none !important;
}
.button019 a:hover:after {
  right: 1.4rem;
}

/* 019 */
.button019B a {
    position: relative;
    /* display: inline-block; */
    padding: 1.25em 0.5em;
    text-decoration: none;
    color: #FFF;
    background: #fd9535;
    border-radius: 64px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.05);
    font-weight: bold;
    border: solid 2px #d27d00;
}
.button019B a {
    background:#F28C28;
    border-radius:150px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 420px;
    font-size: 18px;
}
.button019B a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 1rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 10px;
  height: 10px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.button019B a:hover {
  background:#fbb672;
  color: #FFF !important;
	text-decoration:none !important;
}
.button019B a:hover:after {
  right: 1.4rem;
}

.btn_019B_pre {
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #1f2a44;
    padding-bottom: 8px;
}


        .faq-section {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-title {
            font-size: 2rem;
            font-weight: 700;
            color: #1e3a8a;
            text-align: center;
            margin-bottom: 15px;
            position: relative;
            padding-bottom: 15px;
        }

        .faq-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: #3b82f6;
            border-radius: 2px;
        }

        .faq-subtitle {
            text-align: center;
            color: #6b7280;
            font-size: 1rem;
            margin-bottom: 50px;
        }

        /* アコーディオンカスタムスタイル */
        .faq-accordion .card {
            border: none;
            border-radius: 12px !important;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            margin-bottom: 20px;
            overflow: hidden;
            background-color: #ffffff;
            transition: all 0.3s ease;
        }

        .faq-accordion .card:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            transform: translateY(-2px);
        }

        .faq-accordion .card-header {
            background-color: #ffffff;
            border-bottom: none;
            padding: 0;
        }

        .faq-btn {
            width: 100%;
            text-align: left;
            padding: 24px 30px;
            font-size: 1.15rem;
            font-weight: 700;
            color: #1f2937;
            background: none;
            border: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            white-space: normal;
            transition: color 0.2s ease, background-color 0.2s ease;
            position: relative;
        }

        /* Qマークの追加 */
        .faq-btn::before {
            content: "Q";
            font-size: 1.4rem;
            font-weight: 900;
            color:#b7c3de;
            margin-right: 15px;
            display: inline-block;
            vertical-align: middle;
        }

        /* 質問テキストのラッパー */
        .faq-question-text {
            flex-grow: 1;
            padding-right: 15px;
            line-height: 1.5;
        }

        .faq-btn:focus, .faq-btn:active {
            outline: none;
            box-shadow: none;
            text-decoration: none;
        }

        .faq-btn:hover {
            text-decoration: none;
        }

        /* アイコンのアニメーション */
        .faq-icon {
            font-size: 1rem;
            color: #9ca3af;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        /* 開いている状態のスタイル */
        .faq-btn[aria-expanded="true"] {
        }

        .faq-btn[aria-expanded="true"] .faq-icon {
            transform: rotate(180s);
            /* 回転させるための個別設定 */
            -webkit-transform: rotate(180deg);
            -moz-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            -o-transform: rotate(180deg);
            transform: rotate(180deg);
        }

        /* 回答（ボディ）のスタイル */
        .faq-body {
            padding: 0 30px 30px 30px;
            color: #4b5563;
            font-size: 1rem;
            line-height: 1.8;
            background-color: #ffffff;
            display: flex;
            align-items: flex-start;
        }

        /* Aマークの追加 */
        .faq-answer-badge {
            font-size: 1.4rem;
            font-weight: 900;
            color: #F59E47;
            margin-right: 15px;
            line-height: 1.8;
            user-select: none;
        }

        .faq-answer-text {
            flex-grow: 1;
        }

        /* 背景がアクティブな時のボディー調整 */
        .collapse.show {
        }
        
        .collapse.show .faq-body {
        }

        /* レスポンシブ調整 */
        @media (max-width: 576px) {
            .faq-title {
                font-size: 1.6rem;
            }
            .faq-btn {
                padding: 18px 20px;
                font-size: 1rem;
            }
            .faq-body {
                padding: 0 20px 20px 20px;
                font-size: 0.95rem;
            }
            .faq-btn::before, .faq-answer-badge {
                font-size: 1.2rem;
                margin-right: 10px;
            }
        }

.collapse {
    visibility:unset!important;
}


.other-li{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:10px;
}

.other-tt{
    flex:0 0 90px;      /* ラベル幅固定 */
    background:#2F4067;
    color:#fff;
    padding:4px 10px;
    border-radius:4px;
    text-align:center;
}

.other-text{
    flex:1;
    min-width:0;
    word-break:break-word;
}

.info-li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
	line-height:1.7;
}

.f-tt{
    flex: 0 0 80px;   /* ラベル幅を固定 */
}

.info-text{
    flex: 1;
    min-width: 0;
    word-break: break-word;
}


/*single.php 関連記事*/
.related-posts-row{
  row-gap:24px;
}

.blog-list-link a{
  display:block;
  height:100%;
  padding:14px;
  border:1px solid #eee;
  border-radius:16px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  transition:.25s;
}

.blog-list-link a:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  text-decoration:none;
}

.blog-list-left img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:12px;
}

.blog-title{
  font-size:16px;
  line-height:1.6;
  font-weight:700;
  color:#222;
}

.blog-list-link a:hover .blog-title{
  color:#1e3159;
  text-decoration:none;
}

.post-nav-row{
  border-top:1px solid #eee;
  padding-top:24px;
}

.pn_btn a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:9px 16px;
  border-radius:999px;
  background:#1e3159;
  color:#fff;
  font-weight:700;
  text-decoration:none;
}

.pn_btn a:hover{
  color:#fff;
  text-decoration:none;
  opacity:.85;
}

.side_category {
    position: fixed;
    right: 10%;
    top:7%;
}

@media (max-width:1599px){
.side_category {
    position: fixed;
    right: 3%;
    top: 6%;
}
}
@media (max-width:1279px){
.side_category {
position:unset;
}
}
.side_category a:hover{
text-decoration:none;		

	}

/*スクロール*/
.selfHairMarquee {
  position:fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  display: flex;
}

.selfHairMarquee__track {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  animation: selfHairMarqueeScroll 40s linear infinite;
}

.selfHairMarquee__text {
  font-size: 3.125rem;
  font-weight:500;
  color:#B7C3DE;
  line-height: 1.5;
  letter-spacing: 6px;
  flex-shrink: 0;
	
background: linear-gradient(
    90deg,
    #dce5f4 0%,
    #b7c3de 35%,
    #8f9fc4 65%,
    #dce5f4 100%
);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;	
	
}

@keyframes selfHairMarqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.marquee-parent {
  position: relative;
  overflow: hidden;
}

.kirakira-bg {
  position:fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.sparkle {
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;
  opacity: 0;
  animation: sparkleTwinkle 4s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: #dfe6f4;
  border-radius: 999px;
}

.sparkle::before {
  width: 100%;
  height: 18%;
}

.sparkle::after {
  width: 18%;
  height: 100%;
}

.sparkle-01 {
  top: 18%;
  left: 8%;
  width: 30px;
  height: 30px;
  animation-delay: 0s;
}

.sparkle-02 {
  top: 9%;
  right: 18%;
  width: 16px;
  height: 16px;
  animation-delay: 1.2s;
}

.sparkle-03 {
  bottom: 24%;
  left: 10%;
  width: 18px;
  height: 18px;
  animation-delay: 2s;
}

.sparkle-04 {
  top: 45%;
  right: 8%;
  width: 12px;
  height: 12px;
  animation-delay: .6s;
}

.sparkle-05 {
  bottom: 12%;
  right: 22%;
  width: 14px;
  height: 14px;
  animation-delay: 2.8s;
}

@keyframes sparkleTwinkle {
  0% {
    opacity: 0;
    transform: scale(.4) rotate(0deg);
    filter: blur(1px);
  }

  35% {
    opacity: .75;
    transform: scale(1) rotate(45deg);
    filter: blur(0);
  }

  70% {
    opacity: .25;
    transform: scale(.75) rotate(90deg);
  }

  100% {
    opacity: 0;
    transform: scale(.4) rotate(135deg);
    filter: blur(1px);
  }
}

/*ふわっと*/
.fadeUp {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: opacity, transform;
}

.fadeUp.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* 上からふわっと */
.fadeDown {
    opacity: 0;
    transform: translateY(-40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: opacity, transform;
}

.fadeDown.is-show {
    opacity: 1;
    transform: translateY(0);
}

.fadeIn {
    opacity: 0;
    transition: opacity .8s ease;
}

.fadeIn.is-show {
    opacity: 1;
}

.fadeinLT {
    opacity: 0;
    transform: translate(-8px, -8px) scale(0.985);
    filter: blur(5px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.16,1,.3,1),
        filter 0.9s ease;

    will-change: opacity, transform, filter;
}

.fadeinLT.is-show {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    filter: blur(0);
}

/*料金プランページ*/
.self-price-section {
  background: linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
  color: #333;
}

.self-price-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.self-price-title {
  text-align: center;
  font-size: 36px;
  letter-spacing: 0.08em;
  margin-bottom: 50px;
  color:#1f2a44;
}

.self-price-title span {
  display: block;
  font-size: 14px;
  margin-top: 10px;
  color: #7b89a8;
}

.price-block {
  margin-bottom: 56px;
}

.price-block h3 {
position: relative;
    margin: 0 0 14px;
    padding-left: 18px;
    color: #1d2946;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
}
.price-block h3::before{
content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f28a23;
    box-shadow: 0 0 0 5px rgba(242, 138, 35, 0.12);
}
.price-grid {
  display: grid;
  gap:12px;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(63, 79, 112, 0.08);
}

.price-card + .price-card {
  margin-top: 16px;
}

.price-grid .price-card + .price-card {
  margin-top: 0;
}

.price-card.featured {
  border: 2px solid #b7c3de;
}

.price-card.premium {
  background: linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%);
}
	
/*料金プラン*/
	.price-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.price-card {
    width: 100%;
    padding: 16px 22px;
    box-sizing: border-box;
}

.price-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.price-name,
.price-name-2 {
    min-width: 0;
    margin: 0;
    color: #1f2a44;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.price-name span,
.price-name-2 span {
    display: inline;
    margin-left: 8px;
    color: #7182a6;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.price-yen {
    flex-shrink: 0;
    margin: 0;
    color: #5570aa;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.price-yen span {
    margin-left: 2px;
    font-size: 17px;
}

.price-description {
    margin: 8px 0 0;
    padding: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.price-notes {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.8;
}
}

.price-name {
  font-size: 22px;
  font-weight: 700;
  color:#1f2a44;
}

.price-name span {
  font-size: 13px;
  font-weight: 500;
  color: #7b89a8;
  margin-top: 6px;
}

.price-name-2 {
  font-size:16px;
  font-weight: 700;
  color:#1f2a44;
}

.price-name-2 span {
  font-size: 13px;
  font-weight: 500;
  color: #7b89a8;
}

.price-yen {
  font-size: 34px;
  font-weight: 800;
  color: #536a9e;
}


.price-yen span{
  font-size:20px;
  font-weight: 800;
  color: #536a9e;
}

.price-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

.badge {
  position: absolute;
  top: -14px;
  right: 18px;
  background: #536a9e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
}

/* スマホ */
@media (max-width: 768px) {
  .self-price-section {
    padding: 56px 16px;
  }

  .self-price-title {
    font-size: 28px;
    margin-bottom: 36px;
  }

  .price-block {
    margin-bottom: 44px;
  }

  .price-block h3 {
    font-size: 20px;
  }

  .price-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .price-name {
    font-size: 20px;
  }

  .price-yen {
    font-size: 30px;
  }
}

.circle-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    right: -5%;
    top:40px;
}

@media (max-width: 768px) {
.circle-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    right: -1%;
    top: 60px;
}	
}

.circle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
background:#f1f2f6;
}

/*このような方におすすめ*/
/* 1カラムの横長レイアウト */
.recommend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* 横長カード */
.recommend-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 28px;
  row-gap: 8px;
  align-items: center;

  padding: 28px 32px;
  text-align: left;

  background: #fff;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(20, 33, 61, 0.06);
}

/* 左側の丸アイコン */
.recommend-icon {
  grid-column: 1;
  grid-row: 1 / 3;

  width: 110px;
  height: 110px;
  margin: 0;

  border-radius: 50%;
  background: #f3f7fb;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  flex-shrink: 0;
}

/* 番号 */
.recommend-icon span {
  width: 34px;
  height: 34px;
  margin: 0;

  position: absolute;
  top: 0;
  left: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #ff8a1f;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

/* 見出し */
.recommend-item h3 {
  grid-column: 2;
  grid-row: 1;

  width: 100%;
  margin: 0;
  padding: 0 0 12px;

  font-size: 20px !important;
  line-height: 1.5;
  font-weight: 800;
  color: #14213d;
  position: relative;
}

/* 両端がフェードする下線 */
.recommend-item h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  max-width: 460px;
  height: 2px;

  border: 0;
  transform: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    #c9ced6 12%,
    #c9ced6 88%,
    transparent 100%
  );
}

/* 説明文 */
.recommend-item p {
  grid-column: 2;
  grid-row: 2;

  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #14213d;
}

@media (max-width: 768px) {
  .recommend-grid {
    gap: 16px;
  }

  .recommend-item {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 12px;

    padding: 20px 18px;
    border-radius: 16px;
    align-items: center;
  }

  .recommend-icon {
    grid-column: 1;
    grid-row: 1;

    width: 58px;
    height: 58px;
  }

  .recommend-icon span {
width: 22px;
        height: 22px;
        font-size: 11px;
        top: -8px;
  }

  .recommend-item h3 {
    grid-column: 2;
    grid-row: 1;

    padding-bottom: 10px;
    font-size: 16px !important;
  }

  .recommend-item h3::after {
    width: 100%;
    max-width: none;
  }

  .recommend-item p {
    grid-column: 1 / 3;
    grid-row: 2;

    font-size: 13px;
    line-height: 1.7;
  }
}


/*雲*/
.moco1{
position: absolute;
    width: 26%;
    top: -50px;
    left: -70px;
}

.moco2{
    position: absolute;
    right: -70px;
    bottom: -70px;
    width:26%;
}

.moco3{
    position: absolute;
    left: -70px;
    bottom: -70px;
    width:26%;
}
.moco4{
    position: absolute;
    right: -70px;
    bottom: -70px;
    width:26%;
}

@media (max-width: 768px) {
.moco1{
position: absolute;
    width: 32%;
    top: -40px;
    left: -40px;	
}

.moco2{
        position: absolute;
        right: -40px;
        bottom: -40px;
        width: 30%;
}	
.moco3{
position: absolute;
        width: 30%;
        bottom: -50px;
        left: -60px;
}
	
	.moco4{
position: absolute;
        width: 30%;
        bottom: -50px;
        right: -60px;
}	
	
}

/*選ばれる理由*/
.reason-list {
  max-width: 900px;
  margin: 0 auto;
	background: #fff;
}

.reason-item {
  padding:16px 0;
}

.reason-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom:0px;
}

.reason-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #2f4067;
    color: #fff;
    font-size:20px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.reason-title h3 {
  margin: 0;
  color: #1b2948;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.reason-item p {
  margin: 0 0 0 64px;
  color: #5b6474;
  line-height: 2;
  font-size: 15px;
	padding:0;
}

@media (max-width: 768px) {
  .reason-item {
    padding: 26px 0;
  }

  .reason-number {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .reason-title {
    gap: 14px;
    align-items: flex-start;
  }

  .reason-title h3 {
    font-size: 19px;
  }

  .reason-item p {
    margin-left: 58px;
    font-size: 14px;
  }
}

.datsumo-compare {

}

.compare-inner {
  max-width: 980px;
  margin: 0 auto;
}

.compare-inner h2 {
  margin: 0 0 34px;
  text-align: center;
  color: #182846;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 20px 16px;
  text-align: center;
  border-bottom: 1px solid #e3e8f2;
  color: #26334d;
  font-size: 15px;
  line-height: 1.6;
}

.compare-table th {
  background: #182846;
  color: #fff;
  font-weight: 800;
}

.compare-table th:nth-child(2) {
  background: #ff9626;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: #182846;
  background: #f8faff;
}

.compare-table td:nth-child(2) {
  background: #fff8ef;
  font-weight: 800;
  color: #ff7f00;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .good {
  font-size: 18px;
  font-weight: 800;
}

.compare-table .bad {
  color: #9aa3b2;
  font-weight: 700;
}

.compare-table .normal {
  color: #7d8796;
  font-weight: 700;
}

.compare-table small {
  font-size: 12px;
}

@media (max-width: 768px) {
  .datsumo-compare {
    padding: 60px 14px;
  }

  .compare-inner h2 {
    font-size: 22px;
  }

  .compare-table {
    min-width: 620px;
    border-radius: 18px;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 10px;
    font-size: 13px;
  }
}


#subpage .compare-table tr, td {
 border: none;
}
#subpage .compare-table tr, td {
 border:none;
}

/* 各セクションの間隔 */
    .feature-item {
      margin-bottom:70px;
    }
@media (max-width: 768px) {
    .feature-item {
      margin-bottom: 20px;
    }
}

    .feature-item:last-child {
      margin-bottom: 0;
    }

    /* 画像とバッジを包む要素 */
    .feature-image-wrapper {
      position: relative;
      margin-bottom: 30px;
    }

    .feature-image-wrapper img {
      width: 100%;
      height: auto;
      aspect-ratio: 6 / 4;
      object-fit: cover;
      display: block;
    }

@media (max-width: 768px) {
    /* 画像の基本スタイル */
    .feature-image-wrapper img {
      width: 100%;
      height: auto;
      aspect-ratio: 4 / 4;
      object-fit: cover;
      display: block;
    }
}

    /* =========================================
       1枚目の画像（左寄せ）のスタイル
       ========================================= */
    .align-left .feature-image-wrapper {
      margin-left: -25px; /* コンテナの左余白を打ち消して左端にくっつける */
      margin-right: 9%;  /* 右側に空間を作る */
    }
    .align-left .feature-image-wrapper img {
      border-radius: 0 15px 15px 0; /* 右側だけ角丸 */
    }
    .align-left .feature-badge {
      right: -25px; /* 画像の右端の境界線上に配置 */
    }

    /* =========================================
       2枚目の画像（右寄せ）のスタイル
       ========================================= */
    .align-right .feature-image-wrapper {
      margin-left: 9%;   /* 左側に空間を作る */
      margin-right: -25px; /* コンテナの右余白を打ち消して右端にくっつける */
    }
    .align-right .feature-image-wrapper img {
      border-radius: 15px 0 0 15px; /* 左側だけ角丸 */
    }
    .align-right .feature-badge {
      right: 15px; /* 画像の右上に配置 */
    }

    /* 右上のひし形アイコン（01, 02） */
    .feature-badge {
      position: absolute;
      top: -15px;
      width: 50px;
      height: 50px;
      background-color: #f1f6fa; /* 背景色と同化させる */
      border: 1.5px solid #75aadb;
      transform: rotate(45deg);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
    }

    /* アイコン内の数字をまっすぐに戻す */
    .feature-badge span {
      transform: rotate(-45deg);
      color: #75aadb;
      font-size: 18px;
      font-weight: 600;
      font-family: "Futura", "Century Gothic", Arial, sans-serif;
      letter-spacing: 1px;
    }

    /* 見出しのラッパー（中央寄せ） */
    .feature-title-wrapper {
      text-align: center;
      margin-bottom: 20px;
    }

    /* 見出しと点線 */
    .feature-title {
      display: inline-block;
      font-size: 16px;
      font-weight: bold;
      color: #444;
      margin: 0;
      padding-bottom: 8px;
      border-bottom: 2px dotted #666;
      letter-spacing: 1px;
    }

    /* テキスト本文 */
    .feature-description {
      line-height: 1.8;
      color: #555;
    }

    .feature-description p {
      margin-top: 0;
      margin-bottom: 15px;
    }

    /* リスト（箇条書き）のスタイル */
    .feature-list {
      list-style-type: none;
      padding: 0;
      margin: 0 0 15px 0;
    }

    .feature-list li {
      position: relative;
      padding-left: 1.5em;
      margin-bottom: 5px;
    }

    /* 箇条書きの「・」の装飾 */
    .feature-list li::before {
      content: "・";
      position: absolute;
      left: 0;
      color: #555;
    }

    .feature-conclusion {
      margin-top: 20px;
    }

.datsumo-note-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  color: #333;
}

.datsumo-note-inner {
  max-width: 980px;
  margin: 0 auto;
}

.datsumo-note-head {
  text-align: center;
  margin-bottom:16px;
}

.datsumo-note-label {
  display:none;
  margin-bottom:0px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #B7C3DE;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.datsumo-note-head h2 {
  position: relative;
  padding-bottom: 24px;
	margin-bottom:62px;
  text-align: center;
	font-size:25px;
	font-weight:600;
}

.datsumo-note-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(720px,100%);
  height:3px;
  transform: translateX(-50%);
background: linear-gradient(90deg, transparent 0%, #b7c3de 20%, #b7c3de 80%, transparent 100%);
}

@media screen and (max-width: 768px) {
.datsumo-note-head h2 {
font-size: 22px !important;
}
}

.datsumo-note-head p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #555;
}

.datsumo-note-list {
  display: grid;
  gap: 20px;
}

.datsumo-note-card {
  display: flex;
  gap: 22px;
  padding: 28px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(183, 195, 222, 0.45);
	margin-bottom:10px;
}

.datsumo-note-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B7C3DE, #dce4f5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.datsumo-note-card h3 {
  margin:0;
  font-size:18px !important;
  line-height: 1.6;
  color: #3f4c66;
  font-weight: 700;
	
}

.datsumo-note-card p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #555;
	padding-bottom:0;
}

.datsumo-note-card p + p {
  margin-top: 8px;
}

.datsumo-note-small {
  color: #777;
  font-size: 14px !important;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .datsumo-note-section {
    padding: 55px 16px;
  }

  .datsumo-note-head {
    margin-bottom:0px;
  }

  .datsumo-note-head h2 {
    font-size: 25px;
  }

  .datsumo-note-head p {
    font-size: 15px;
  }

  .datsumo-note-card {
    gap: 15px;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .datsumo-note-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    font-size: 13px;
  }

  .datsumo-note-card h3 {
    font-size: 18px;
  }

  .datsumo-note-card p {
    font-size: 14px;
  }
}

.datsumo-check {
  position: relative !important;
  display: inline-block !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  background: #B7C3DE !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.datsumo-check::after {
  content: "" !important;
  position: absolute !important;
  left: 9px !important;
  top:11px !important;
  width: 12px !important;
  height: 7px !important;
  border-left: 3px solid #fff !important;
  border-bottom: 3px solid #fff !important;
  transform: rotate(-45deg) !important;
  box-sizing: border-box !important;
}

.related-links {
    max-width: 900px;
    margin:auto;
    padding: 0 16px;
}

.related-title {
    text-align: center;
    font-size:1.4rem !important;
    font-weight: 700;
    margin-bottom: 28px;
    color:#1F2A44;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.related-item {
    position: relative;
    display: block;
    padding: 18px 48px 18px 22px;
    background: #fff;
    border: 1px solid #dfe5f2;
    border-radius: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
	font-size:15px;
    box-shadow: 0 8px 24px rgba(183, 195, 222, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-item::after {
    content: "▶";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #B7C3DE;
    font-size: 13px;
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(183, 195, 222, 0.38);
}

@media (max-width: 768px) {
    .related-title {
        font-size: 23px;
    }

    .related-list {
        grid-template-columns: 1fr;
    }

    .related-item {
        padding: 16px 44px 16px 18px;
        border-radius: 12px;
    }
}

/**********************************************************
 * ********************************************************
 * 
 * 利用の流れページ
 * 
 * *********************************************************
 * **********************************************************/



:root {	
  --main: #B7C3DE;
  --main-dark: #7e8eb2;
  --sub: #f7efe8;
  --sub-2: #fffaf6;
  --accent: #e6b8a2;
  --text: #333846;
  --muted: #6f7482;
  --white: #ffffff;
  --border: #eadfd8;
  --shadow: 0 18px 45px rgba(65, 65, 80, 0.08);
  --radius: 22px;
}

.datsumo-flow {
  color: var(--text);
  background: linear-gradient(180deg, #fffaf6 0%, #ffffff 50%, #f8f9fc 100%);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
  overflow: hidden;
}

.datsumo-flow *,
.datsumo-flow *::before,
.datsumo-flow *::after {
  box-sizing: border-box;
}

.datsumo-flow a {
  color: inherit;
  text-decoration: none;
}

.datsumo-flow__section {
  padding: 72px 20px;
  position: relative;
}

.datsumo-flow__section--important {
  background:
    radial-gradient(circle at top left, rgba(183, 195, 222, 0.35), transparent 34%),
    linear-gradient(135deg, #fffaf6 0%, #f7efe8 100%);
}

.datsumo-flow__section--steps {
}

.datsumo-flow__section--check {
  background: linear-gradient(135deg, rgba(183, 195, 222, 0.22), rgba(255, 250, 246, 1));
}

.datsumo-flow__section--faq {
  background: #fbfbfd;
}

.datsumo-flow__section--cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8), transparent 28%),
    linear-gradient(135deg, #B7C3DE 0%, #d7dfef 100%);
}

.datsumo-flow__section--related {
  background: #ffffff;
}

.datsumo-flow__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.datsumo-flow__heading-block {
  text-align: center;
  margin-bottom: 34px;
}

.datsumo-flow__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 6px 16px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--main-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 24px rgba(126, 142, 178, 0.14);
}

.datsumo-flow__title {
  margin: 0;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.datsumo-flow__lead {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.datsumo-flow__important-card,
.datsumo-flow__support-card {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.datsumo-flow__image-placeholder {
  min-height: 260px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(183, 195, 222, 0.34), rgba(230, 184, 162, 0.18)),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.35) 0,
      rgba(255,255,255,0.35) 10px,
      rgba(255,255,255,0.16) 10px,
      rgba(255,255,255,0.16) 20px
    );
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--main-dark);
  font-weight: 700;
}

.datsumo-flow__image-placeholder span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.datsumo-flow__image-placeholder--qr {
width: 100%;
    min-height: 150px;
    max-width: 150px;
    margin: auto;
}

.datsumo-flow__text-box {
  padding: 4px;
}

.datsumo-flow__text-box p,
.datsumo-flow__support-card p {
  margin: 0 0 14px;
}

.datsumo-flow__note {
  color: var(--muted);
  font-size: 14px;
}

.datsumo-flow__small-text {
  margin: 26px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.datsumo-flow__time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.datsumo-flow__time-card {
  position: relative;
  padding: 28px 16px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}


.datsumo-flow__time-card h3 {
  margin: 0 0 10px;
	padding:0 0 0 24px;
  font-size: 21px;
}

.datsumo-flow__time-card h3::before {
    content: "";
    position: absolute;
    top:1.8em;
    left:18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f28a23;
    box-shadow: 0 0 0 5px rgba(242, 138, 35, 0.12);
}

.datsumo-flow__time-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.datsumo-flow__time-main {
  color: var(--main-dark) !important;
  font-size:20px !important;
  font-weight: 800;
	line-height:1.4;
}

.datsumo-flow__steps {
  display: grid;
  gap: 26px;
}

.datsumo-flow__step-card {
  border-radius: var(--radius);
}

.datsumo-flow__step-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.datsumo-flow__step-head span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: 999px;
  color:#b7c3de;
	border:solid 1px #b7c3de;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.datsumo-flow__step-head h3 {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.5;
}

.datsumo-flow__step-layout {
  display: grid;
  align-items: start;
}



.datsumo-flow__step-layout p {
padding:0 !important;
}

.datsumo-flow__list {
  margin: 16px 0;
  padding-left: 1.75em;
}

.datsumo-flow__list li {
  margin-bottom: 8px;
	list-style:auto;
}

.datsumo-flow__text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--main-dark);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.datsumo-flow__text-link::after {
  content: "→";
}

.datsumo-flow__alert {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff5f0;
  border: 1px solid #f2d6ca;
}

.datsumo-flow__alert strong {
  display: block;
  margin-bottom: 6px;
  color: #b35c44;
}

.datsumo-flow__alert p {
  margin: 0;
  color: #705048;
  font-size: 14px;
}

.datsumo-flow__equipment {
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  background: var(--sub-2);
  border: 1px solid var(--border);
}

.datsumo-flow__equipment h4 {
  margin: 0 0 12px;
  font-size: 17px;
}

.datsumo-flow__equipment ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.datsumo-flow__equipment li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.datsumo-flow__equipment li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--main);
  position: absolute;
  left: 0;
  top: 0.75em;
}

.datsumo-flow__check-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.datsumo-flow__check-list li {
  position: relative;
  padding: 18px 20px 18px 54px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(65, 65, 80, 0.06);
  border: 1px solid var(--border);
  font-weight: 700;
}

.datsumo-flow__check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  display: grid;
  place-items: center;
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
}

.datsumo-flow__support-card {
  grid-template-columns: 1.15fr 0.85fr;
}

.datsumo-flow__faq {
  display: grid;
  gap: 14px;
}

.datsumo-flow__faq details {
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(65, 65, 80, 0.06);
  overflow: hidden;
}

.datsumo-flow__faq summary {
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 800;
  position: relative;
  list-style: none;
}

.datsumo-flow__faq summary::-webkit-details-marker {
  display: none;
}

.datsumo-flow__faq summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  display: grid;
  place-items: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
}

.datsumo-flow__faq details[open] summary::after {
  content: "−";
}

.datsumo-flow__faq details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.datsumo-flow__cta-box {
  max-width: 880px;
  margin: 0 auto;
  padding: 46px 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.datsumo-flow__cta-box h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.45;
}

.datsumo-flow__cta-box p {
  max-width: 720px;
  margin: 0 auto 18px;
  color: var(--muted);
	text-align:left;
}

.datsumo-flow__cta-box ul {
  display: inline-grid;
  gap: 8px;
  margin: 10px auto 24px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.datsumo-flow__cta-box li {
  position: relative;
  padding-left: 22px;
  font-weight: 700;
}

.datsumo-flow__cta-box li::before {
  content: "●";
  color: var(--main-dark);
  position: absolute;
  left: 0;
  top: 0;
}

.datsumo-flow__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--main-dark);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(126, 142, 178, 0.34);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.datsumo-flow__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(126, 142, 178, 0.42);
}

.datsumo-flow__related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.datsumo-flow__related-grid a {
  min-height: 96px;
  padding: 18px;
  border-radius: 18px;
  background: var(--sub-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  color: var(--text);
  transition: transform 0.25s ease, background 0.25s ease;
}

.datsumo-flow__related-grid a:hover {
  transform: translateY(-3px);
  background: #f1f4fb;
}


/* 画像を入れる場合 */
.datsumo-flow__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}


/* タブレット */
@media (max-width: 900px) {
  .datsumo-flow__important-card,
  .datsumo-flow__support-card,
  .datsumo-flow__step-layout {
    grid-template-columns: 1fr;
  }

  .datsumo-flow__time-grid {
    grid-template-columns: 1fr;
  }

  .datsumo-flow__related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* スマホ */
@media (max-width: 600px) {
  .datsumo-flow__section {
    padding: 54px 16px;
  }

  .datsumo-flow__heading-block {
    text-align: left;
    margin-bottom: 26px;
  }

  .datsumo-flow__lead {
    font-size: 15px;
  }

  .datsumo-flow__important-card,
  .datsumo-flow__support-card,
  .datsumo-flow__step-card,
  .datsumo-flow__cta-box {
    padding:12px 10px;
    border-radius: 20px;
  }

  .datsumo-flow__step-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .datsumo-flow__equipment ul {
    grid-template-columns: 1fr;
  }

  .datsumo-flow__check-list li {
    padding: 16px 16px 16px 50px;
    font-size: 14px;
  }

  .datsumo-flow__faq summary {
    padding: 18px 50px 18px 18px;
  }

  .datsumo-flow__related-grid {
    grid-template-columns: 1fr;
  }

  .datsumo-flow__button {
    width: 100%;
    padding-inline: 18px;
  }
}

/*ビフォーアフター*/
.ba-section {
    padding: 64px 0;
}

.ba-inner {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.ba-filter {
    margin-bottom: 48px;
}

.ba-heading {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

.ba-lead {
    line-height: 1.9;
    margin-bottom: 28px;
}

.ba-filter-box {
    display: grid;
    gap: 22px;
    padding: 24px;
    border-radius: 24px;
    background: #f7f8fb;
}

.ba-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ba-filter-group p{
	padding:0;
}

.ba-filter-label {
    width: 100%;
    font-weight: 700;
}

.ba-filter-btn {
    border: 1px solid #B7C3DE;
    background: #fff;
    color: #333;
    border-radius: 999px;
    padding: 8px 18px;
    cursor: pointer;
}

.ba-filter-btn.is-active {
    background: #B7C3DE;
    color: #fff;
}

.ba-case-list {
    display: grid;
    gap: 32px;
}

.ba-case-card {
    padding: 32px;
    border-radius: 28px;
    background:#f0f3fa;
}

.ba-case-no {
    color: #B7C3DE;
    font-weight: 700;
    margin-bottom: 6px;
	padding:0;
}

.ba-case-title {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 14px;
}

.ba-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ba-tags span {
border-radius: 999px;
    background: #bec9e1;
    padding: 6px 12px;
    font-size: 13px;
    color: #fff;
}

.ba-photo-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap:8px;
    align-items: center;
    margin-bottom: 28px;
}

.ba-photo-item p {
    text-align: center;
    font-weight: 700;
    margin-bottom: 8px;
	padding-bottom:0;
}

.ba-photo{
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.ba-no-photo p{
	font-size:12px;
	padding-top:8px;
}

.ba-illustration {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
	max-width:180px;
	margin:auto;
}

.ba-arrow {
    font-size: 28px;
    color: #B7C3DE;
    font-weight: 700;
}

.ba-no-photo {
    padding: 24px;
    border-radius: 20px;
    background: #f7f8fb;
    text-align: center;
    margin-bottom: 28px;
}

.ba-data dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ba-data dl div {
    padding: 14px;
    border-radius: 14px;
    background: #fff;
}

@media screen and (max-width: 768px) {
.ba-data dl div {
    padding: 14px;
    border-radius: 14px;
	font-size:11px;
}	
}

.ba-data dt {
    font-size: 13px;
    color: #667;
    margin-bottom: 4px;
}

.ba-data dd {
    font-weight: 700;
}

.ba-text-box,
.ba-comment {
    margin-top: 24px;
    padding: 22px;
    border-radius: 20px;
    background:#ffffff;
    line-height: 1.9;
	font-size:14px;
}

.ba-text-box p{
	padding:0;
}

.ba-comment h4, .ba-text-box h4{
	font-weight:bold;
	color: #b7c3de;
}

.ba-comment {
    background:#ffffff;
}

.ba-comment p{
 padding:0;
}

.ba-note {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.ba-no-result {
    padding: 20px;
    border-radius: 16px;
    background: #f7f8fb;
    text-align: center;
}

@media (max-width: 768px) {
    .ba-section {
        padding: 48px 0;
    }

    .ba-case-card {
        padding: 24px 18px;
    }

    .ba-photo-compare {
        grid-template-columns: 1fr;
    }

    .ba-arrow {
        text-align: center;
        transform: rotate(90deg);
    }

}

   /* メインコンテナのスタイル */
    .datsumo-slider-container {
      position: relative;
      width: 100%;
      /* aspect-ratio: 9 / 16; 削除：手前の画像の比率に自動で合わせるため */
      overflow: hidden;
      background-color: #fff;
    }

    /* 背景スライダー（背面のフェード画像群）のラッパー */
    .datsumo-bg-slider-wrapper {
      position: absolute;
      inset: 0;
      width: 100%;
		height: 113vh;
      z-index: 0;
    }

    /* 個々の背景画像 */
    .datsumo-bg-slide {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0; /* 初期状態は透明 */
    }

    /* 前景レイヤー（透過画像）のラッパー */
    .datsumo-foreground-wrapper {
      position: relative; /* absoluteから変更：この要素でコンテナの高さを決める */
      z-index: 10;
      pointer-events: none; /* 下の画像への操作を貫通させる */
    }

    /* 前景の透過画像 */
    .datsumo-foreground-img {
      display: block;
      width: 100%; /* 横幅いっぱいに広げる（左右の余白をなくす） */
      height: auto; /* 高さは画像の比率を維持 */
      /* object-fit: contain; や absolute を削除 */
    }

@media only screen and (max-width:390px) {
.datsumo-bg-slider-wrapper {
    height:70vh;

}	
}
@media only screen and (max-width:376px) {
.datsumo-bg-slider-wrapper {
    height:70vh;

}	
}

/* iPhone SE 第2世代・第3世代含む小さめスマホ */
@media screen and (max-width: 375px) {
.datsumo-bg-slider-wrapper {
    height:80vh;
}	
}

/*特商法ページ*/
.datsumo-law-section {
  background: #f7f9fe;
  color: #2f3747;
}

.datsumo-law-inner {
  max-width: 760px;
  margin: 0 auto;
}

.section-label {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #d8e2f7;
  color: #627295;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.law-title {
  margin: 0;
  text-align: center;
  color: #1d2946;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 800;
}

.law-lead {
  margin: 16px auto 32px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.9;
}

.law-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 8px 28px;
}

.law-item {
  padding: 26px 0;
  border-bottom: 1px solid #e8eef8;
}

.law-item:last-child {
  border-bottom: none;
}

.law-item h3 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 18px;
  color: #1d2946;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}

.law-item h3::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f28a23;
  box-shadow: 0 0 0 5px rgba(242, 138, 35, 0.12);
}

.law-item p {
  margin: 0 0 12px;
  color: #4b5563;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.law-item p:last-child {
  margin-bottom: 0;
}

.law-item a {
  color: #1d2946;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  word-break: break-all;
}

.law-note {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f4f7fd;
  color: #667085 !important;
  font-size: 13px !important;
}

.law-item ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.law-item li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 1.3em;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.9;
}

.law-item li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #f28a23;
  font-weight: 700;
}

.law-mini-box {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #f7f9fe;
  border: 1px solid #e2e9f5;
}

.law-mini-box h4 {
  margin: 0 0 6px;
  color: #1d2946;
  font-size: 14px;
  font-weight: 800;
}

.law-mini-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.law-date {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #eef4ff;
  text-align: center;
}

.law-date p {
  margin: 4px 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

/* スマホ調整 */
@media (max-width: 768px) {

  .law-title {
    font-size: 21px;
  }

  .law-lead {
    font-size: 13px;
    text-align: left;
  }

  .law-card {
    padding: 4px 18px;
    border-radius: 20px;
  }

  .law-item {
    padding: 24px 0;
  }

  .law-item h3 {
    font-size: 16px;
  }

  .law-item p,
  .law-item li {
    font-size: 13px;
  }

  .law-note {
    font-size: 12.5px !important;
  }
}


.menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    list-style: none;
}

.menu .list_item {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.menu .list_item a {
    display: grid;
    grid-template-columns: 42% 58%;
    color: inherit;
    text-decoration: none;
}

.menu .list_item img {
    width: 100%;
    height: 100%;
    min-height:160px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:6px;
    padding:20px;
}

.menulistTit {
    display: block;
    padding: 0;
    color: var(--color1);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -1px;
    text-align: center;
}

.me-btn {
    margin: 0;
    padding: 0;
    text-align: center;
}

.kuwashiku {
    display: inline-block;
    min-width:100px;
    padding: 8px10px;
    border-radius: 4px;
    background: var(--color2);
    color: #fff;
    font-size: 12px;
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .menu .list_item a {
        grid-template-columns: 35% 65%;
    }

    .menu .list_item img {
        min-height: 120px;
    }

    .menu-content {
        gap:0px;
        padding: 10px 12px;
    }

    .menulistTit {
        font-size:18px;
    }

    .kuwashiku {
        min-width: 0;
        padding:2px 10px;
        font-size: 12px;
    }
}

.reason-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap:20px;
}

.reason-moco {
    flex-shrink: 0;
}

.reason-moco .mocon {
    display: block;
    width:120px;
    height: auto;
}

@media (max-width: 768px) {
.reason-moco .mocon {
    display: block;
    width:80px;
    height: auto;
}	
	
}

.reason-title-wrap .reason-tt {
    margin: 0;
    text-align: left;
}


.usage-step-list {
    max-width: 720px;
    margin: 0 auto;
    padding: 35px 24px;
    border-radius: 16px;
}

.usage-step-item {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding-bottom: 52px;
}

.usage-step-item:last-child {
    padding-bottom: 0;
}


/* 左側 */

.usage-step-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-self: stretch;
}

.usage-step-image {
    position: relative;
    z-index: 2;
    width: 145px;
    height: 145px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #fff;
}

.usage-step-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 画像同士をつなぐ点線 */

.usage-step-item:not(:last-child) .usage-step-visual::after {
    content: "";
    position: absolute;
    top: 154px;
    bottom: -43px;
    left: 50%;
    border-left: 2px dotted #bcc0c9;
    transform: translateX(-50%);
}


/* 右側 */

.usage-step-content {
    min-width: 0;
}

.usage-step-label {
    display: inline-block;
    min-width: 105px;
    margin-bottom: 8px;
    padding: 5px 18px;
    color:#1f2a44;
    font-size: 15px;
    line-height: 1;
    text-align: center;
    background-color:#fff;
    border-radius: 999px;
}

.usage-step-title {
    margin: 0;
    padding-bottom: 7px;
    color: #172127;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
}

.usage-step-description {
    margin-top: 10px;
    color: #455359;
    font-size: 15px;
    line-height: 1.9;
}

@media screen and (max-width: 991px) {
    .usage-step-list {
        max-width: 680px;
        padding: 36px 24px;
    }

    .usage-step-item {
        grid-template-columns: 135px minmax(0, 1fr);
        gap: 22px;
        padding-bottom: 50px;
    }

    .usage-step-image {
        width: 125px;
		height:125px;
    }

    .usage-step-item:not(:last-child) .usage-step-visual::after {
        top: 135px;
        bottom: -40px;
    }

    .usage-step-title {
        font-size: 21px;
    }
}

@media screen and (max-width: 575px) {
    .usage-step-list {
        padding: 28px 0px;
        border-radius: 12px;
    }

    .usage-step-item {
        grid-template-columns:80px minmax(0, 1fr);
        gap: 13px;
        align-items: center;
        padding-bottom: 42px;
    }

    .usage-step-image {
        width:78px;
		height:78px;
    }

    .usage-step-item:not(:last-child) .usage-step-visual::after {
        top: 76px;
        bottom: -44px;
        border-left-width: 3px;
    }

    .usage-step-label {
        min-width: 76px;
        margin-bottom: 6px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .usage-step-title {
        padding-bottom: 5px;
        font-size: 17px;
        line-height: 1.35;
    }

    .usage-step-description {
        margin-top: 7px;
        font-size: 12px;
        line-height: 1.65;
    }
}

@media screen and (max-width: 374px) {
    .usage-step-list {
        padding-right: 8px;
        padding-left: 8px;
    }

    .usage-step-item {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 10px;
    }

    .usage-step-image {
        width: 74px;
    }

    .usage-step-item:not(:last-child) .usage-step-visual::after {
        top: 82px;
    }

    .usage-step-title {
        font-size: 15px;
    }

    .usage-step-description {
        font-size: 11px;
    }
}

.usage-step-content {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap:8px;
}

.usage-step-label {
    display: inline-block;
    min-width:50px;
    margin-bottom: 0;
    padding: 5px 12px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    background-color:#2f4067;
    border-radius: 999px;
}

.usage-step-title {
    margin: 0;
    padding-bottom: 0px;
    color: #172127;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
}

.usage-step-description {
    grid-column: 1 / -1;
    margin-top: 12px;
}


/*TOPメニュー*/
/* ========================================
   メニュー共通
======================================== */

.menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.menu .list_item {
    overflow: hidden;
    background-color: #fff;
    border-radius: 10px;
}

.menu .list_item > a {
    display: flex;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.menu-image-wrap {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.menu-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
}

.menulistTit {
    display: block;
    margin-bottom: 8px;
    color: #1f2a44;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.menulistSt {
    display: block;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.me-btn {
    margin-top: 12px;
}

.kuwashiku {
    display: inline-block;
    padding: 5px 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    background-color: #1f2a44;
    border-radius: 4px;
}


/* ========================================
   パターン1
   画像小さめ＋右側にタイトル
======================================== */

.menu-layout-side .list_item {
    min-height: 135px;
}

.menu-layout-side .list_item > a {
    flex-direction: row;
}

.menu-layout-side .menu-image-wrap {
    width: 34%;
    max-width: 190px;
}


/* ========================================
   パターン2
   画像を大きくしてタイトルを重ねる
======================================== */

.menu-layout-overlay .list_item {
    min-height: 135px;
}

.menu-layout-overlay .list_item > a {
    flex-direction: row;
}

.menu-layout-overlay .menu-image-wrap {
    width: 55%;
    max-width: 240px;
}

.menu-layout-overlay .menu-content {
    padding-right: 14px;
    padding-left: 14px;
}

.menu-layout-overlay .menulistTit-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    margin: 0;
    padding: 7px 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    background-color: rgba(31, 42, 68, 0.9);
}


/* ========================================
   スマホ
======================================== */

@media screen and (max-width: 575px) {

    .menu {
        gap: 22px;
    }

    .menu-layout-side .list_item,
    .menu-layout-overlay .list_item {
        min-height: 130px;
    }

    .menu-layout-side .menu-image-wrap {
        width: 34%;
        max-width: 130px;
    }

    .menu-layout-overlay .menu-image-wrap {
        width: 55%;
        max-width: none;
    }

    .menu-content {
        padding: 12px 10px;
    }

    .menulistTit {
        margin-bottom: 6px;
        font-size: 17px;
    }

    .menulistSt {
        font-size: 12px;
        line-height: 1.55;
    }

    .menu-layout-overlay .menulistTit-overlay {
        padding: 6px 4px;
        font-size: 14px;
        line-height: 1.35;
    }

    .me-btn {
        margin-top: 10px;
    }

    .kuwashiku {
        padding: 5px 12px;
        font-size: 12px;
    }
}


.single table{
	margin-bottom:16px;
	width:95%;
	margin-left:auto;
	margin-right:auto;
}
.single th,tr,td{
	padding:8px;
	font-size:14px;
	border-right: 1px solid #ebeef6;
}

.reason-list {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
}

.reason-item {
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 18px;
  align-items: start;
  padding: 32px 0;
}

@media screen and (max-width: 575px) {
.reason-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 18px;
  align-items: start;
  padding: 32px 0;
}
}

.reason-item:last-child {
  border-bottom: 0;
}

/* reason-contentの囲いをレイアウト上なくす */
.reason-content {
  display: contents;
}

/* タイトルを上段いっぱいに配置 */
.reason-title {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
	margin-bottom:24px;
	border-bottom: 3px dotted #d9e1ef;
	padding-bottom:10px;
}

.reason-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2f4067;
  color: #fff;
  font-size: 20px;
  font-weight: 700;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.reason-title h3 {
  margin: 0;
  color: #1b2948;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

/* 左下に画像 */
.reason-image {
  grid-column: 1;
  grid-row: 2;

  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f5f8;
}

.reason-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右下に説明文 */
.reason-item p {
  grid-column: 2;
  grid-row: 2;

  margin: 0;
  padding: 0;
  color: #5b6474;
  font-size: 15px;
  line-height: 2;
}
@media (max-width: 768px) {
  .reason-item {
    grid-template-columns: 105px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 14px;
    padding: 24px 0;
  }

  .reason-title {
    gap: 10px;
	  margin-bottom:14px;
	  border-bottom: 2px dotted #d9e1ef;
  }

  .reason-number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .reason-title h3 {
    font-size: 17px;
  }

  .reason-image {
    aspect-ratio:4 / 4;
    border-radius: 10px;
  }

  .reason-item p {
    font-size: 13px;
    line-height: 1.75;
  }

  .reason-item p br {
    display: none;
  }
}