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

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


/*ホームページの色合い*/
:root {
    --color0:#FFF3E0;/*とても薄い 50-200*/
    --color1:#FFB74D;/*薄い 300-400*/
    --color2:#FF9800;/*メイン 500-600*/
    --color3:#F57C00;/*濃い 700-900*/
    --color4:#00BFA5;/*アクセント 反対色*/
    --color5:#E0E0E0;/*グレー*/
    --color6:#212121;/*ブラック*/
    /*以下任意で変える*/
    --color7:#fdefec;/*会話左,QandAのA背景 */
    --color7sub:#ff886f;/*QandAのA文字*/ 
    --color8:#aee0f9;/*会話右*/ 
}

h2:first-child {margin-top:0 !important;}

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

.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.3rem !important;
    }
    h3{
        font-size: 1.2rem !important;
    }    
}

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;
    }
}

body{
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size:17px !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
    color: var(--color6);
    text-align: left;
    background-color: #fff; 
    letter-spacing: .4px;
}

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

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(--color2); 
}

.container a{
    color: var(--color6);   
}
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;
}

@media only screen and (max-width:992px) {
.mt-65 {
	margin-top: 75px;
}}


li{
    list-style: none;
}

ul{
    padding: 0;
    margin:0;
}

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

p{
    line-height: 1.7;
}

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


#subpage 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 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-color: #ffd740;
}

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

.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(--color6);
}

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(--color3) !important;
    border-color:  var(--color0) !important;
}


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

.back-btn{
    background-color:var(--color2) !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%;
    max-width:230px;
    border-radius: 3px;
    margin-right: 16px;
    float: left;
}

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

@media only screen and (max-width:992px) {
.menu li img {
    width: 100%;
    max-width: 310px;
    border-radius: 3px;
    margin-right: 16px;
    float: left;
    }
}

.list_item {
    float: left;
    padding: 16px;
    width: 48%;
    margin-bottom: 2em;
    border: solid 1px var(--color5);
    margin-left: 8px;
    min-height: 118px;
    border-radius: 3px;
    background:#fff;
}

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

.list_item {
    float: left;
    padding: 8px;
    width: 47%;
    margin-bottom:1em;
    border: solid 1px var(--color5);
    margin-left: 8px;
    min-height:220px;
    border-radius: 3px;
}

}


@media only screen and (min-width:501px) and (max-width:1024px) {
    .list_item {
        float: left;
        padding:16px;
        width: 47%;
        margin-bottom: 1em;
        border: solid 1px var(--color5);
        margin-left: 8px;
        min-height:280px;
        border-radius: 3px;
    }
}

.menulistTit {
    display: block;
    font-size:20px;
    color: var(--color2);
    font-weight: 500;
    letter-spacing: -1px;
    padding: 4px 0px;
}
.menulistSt {
    display: block;
    font-size: 14px;
    letter-spacing: 0;
    font-feature-settings: "palt";
    line-height:1.2;
    color:#757575;
}

@media only screen and (max-width:500px) {
.menulistTit {
    display: block;
    font-size:16px;
    color: var(--color2);
    font-weight: 500;
    letter-spacing: -1px;
    padding: 4px 0px;
}    

}

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

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

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

/*選ばれる理由*/
.reason-vertical {
    display: table;
    height: 90px;
}
.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(--color3);
    margin-bottom: 16px;
    line-height: 0.5;
    text-align: center;
}
.reason-tt {
padding: 16px 0px 0px 8px;
    font-size: 30px;
    font-weight: 400;
    color: #333;
    display: table-cell;
    vertical-align: middle;
    line-height: 1.2;
    font-weight: bold;
}
.reason-tt p{
line-height: 1.2;	
}

@media (max-width: 763px) {
.reason-tt {
padding:8px 0px 0px 8px;
    font-size: 22px;
    letter-spacing: -1px;
}
.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: 12px;
    display: block;
    margin-bottom:20px;
    text-align: center;
	letter-spacing: -1px;
}

@media (max-width: 763px) {
 .reason {
    font-size: 11px;
    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(--color2);
}

@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);
}

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

.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;
    }
}

.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:13px 0px 8px 50px;
    line-height: 2;
    font-size: 19px;
    font-weight: 400;
 background: url(/wp-content/uploads/checkmark.png) left / auto auto no-repeat scroll padding-box border-box transparent;    
}

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

@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 32px;
    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 var(--color0);
}

.check-only li {
list-style: none;
    padding: 4px 0px 4px 72px;
    line-height: 2.4;
    font-size: 20px;
    font-weight: 400;
    text-indent: -24px;
    border-bottom: dotted 2px #e0e0e0;
    background: url(https://kiyama.waiwai-karada-lob.com/wp-content/uploads/checkmark.png) left / auto auto no-repeat scroll padding-box border-box transparent;
}

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

@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 42px;
    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 {
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    background: #f9f9f9;
    padding: 1em 1.2em;
    font-size: .9em;
    color: var(--color6);
    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: 16px;
}

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

}

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


/*予約ボタン*/

#contact .btn{
  font-size: 1.6rem;
  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:640px;
}

#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: #E53935;
    color: #fff;
}

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

#contact .blue,#header .blue{
    background: #1976D2;
    color: #fff;
}
#contact .blue span,#header .blue span{
    color: #FFEB3B;
    padding: 0 24px;    
}
#contact .light-blue,#header .light-blue{
    background: #29B6F6;
    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: #019245;
    padding: 0 24px;    
}

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

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

#contact .deep-pink,#header .deep-pink{
    background: #C2185B;
    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: #ff8a8b  !important; /* Old browsers */
background: -moz-linear-gradient(top,  #ff8a8b 0%, #fd6b6c 30%, #ea4445 100%) !important; /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #ff8a8b 0%,#fd6b6c 30%,#ea4445 100%) !important; /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #ff8a8b 0%,#fd6b6c 30%,#ea4445 100%) !important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
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,  #64b5f6 0%, #2196f3 30%, #1976d2 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #64b5f6 0%,#2196f3 30%,#1976d2 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #64b5f6 0%,#2196f3 30%,#1976d2 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: #bff2fa; /* Old browsers */
background: -moz-linear-gradient(top,  #bff2fa 0%, #b0ecf7 30%, #6dd9ef 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #bff2fa 0%,#b0ecf7 30%,#6dd9ef 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #bff2fa 0%,#b0ecf7 30%,#6dd9ef 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,  #fff899 0%, #fff45e 30%, #fff100 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #fff899 0%,#fff45e 30%,#fff100 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #fff899 0%,#fff45e 30%,#fff100 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;
}

/*背景矢印*/
.arrow::before{
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: solid 6px transparent;
    border-left: solid 8px  var(--color4);
    top: 33%;
    left: -3px;
    margin-top: 0px;
}

.arrow:nth-child(1)::before {
display: none;
}

@media only screen and (max-width: 500px) {
.arrow::before{
    top: 22%;
    display: none;
}    
.arrow:nth-child(2n+1)::before {
display: none;
}
}

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

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

.tokuten span{
background: var(--color3);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    font-size: 24px;
    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: 2em 50px 1em;
  padding: 0 2rem;
  text-align: center;
  color: #fff;
  background:#fa4141;
      font-size: 24px;
    font-weight: 600;
}

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

.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 #fa4141;
}   
    
.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(--color2);
    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{
    margin-bottom:8px;
}

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

/*フッター部分*/

.footer{
    color:#757575;
}

.footer a{
    color:#757575;
}

.footer ul{
    line-height:2.4;
}

.footer-title{
font-weight: 500;
    font-size: 20px;
    color: var(--color6);
    border-bottom: solid 2px var(--color5);
}
.f-tt {
    background: var(--color1);
    padding: 0px 8px;
    border-radius: 3px;
    margin-right: 8px;
    color: #fff;
}

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

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

.head-parking {
    background: #ffffff;
    padding: 0 8px;
    color: var(--color2);
    border: solid 1px var(--color2);
    border-radius: 4px;
    font-size: 14px;
    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: 3px solid var(--color2);
  padding-bottom: 10px;
}

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

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

.border-double{
  border-bottom: 6px double var(--color2);
  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(--color2);
}

.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: 4px solid var(--color2);
}

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

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

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

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

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

.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(--color2);
  border-bottom: 3px solid  var(--color2);
}

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

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

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

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

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

.null{
    border: none;
    background: none;
}

.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(--color2);
    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(--color3);
  border-left: 10px solid transparent;
}

.ribon2:after {
  right: 0;
  bottom: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid  var(--color3);
  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 var(--color1);
    border-radius: 3px;
}

.list-box li{

}

.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; /*数字を一旦消す*/    
    padding-left: 16px;
    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:  var(--color1);
    color: white;
    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: var(--color7);
    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(--color8);
    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 var(--color7);
    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(--color8);
    top: 15px;
    right: -19px;
}

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


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

.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: 5px 10px 10px 80px;
    font-weight: 600;
    margin: 0;
}

.qanda dt:before {
    position: absolute;
    top: 10px;
    left: 0;
    display: block;
    width: 55px;
    height: 55px;
    content: "Q";
    text-align: center;
    color:#fff;
    border: 4px solid #eeeeee;
    border-radius: 33px;
    background: var(--color3);
    font-family: RexBold, Open Sans, Noto Sans Japanese, Ã¦Â¸Â¸Ã£â€šÂ´Ã£â€šÂ·Ã£Æ’Æ’Ã£â€šÂ¯Ã¤Â½â€œ, Yu Gothic, YuGothic, Ã£Æ’â€™Ã£Æ’Â©Ã£â€šÂ®Ã£Æ’Å½Ã¨Â§â€™Ã£â€šÂ´ ProN W3, Hiragino Kaku Gothic ProN, Ã£Æ’Â¡Ã£â€šÂ¤Ã£Æ’ÂªÃ£â€šÂª, Meiryo, sans-serif;
    font-size: 40px;
    font-size: 32px;
    line-height: 48px;
        font-weight: 500;
}

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

.qanda dd:before {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 55px;
    height: 55px;
    content: "A";
    text-align: center;
    color:#ff886f;
    border: 4px solid #eeeeee;
    border-radius: 33px;
    font-family: RexBold, Open Sans, Noto Sans Japanese, Ã¦Â¸Â¸Ã£â€šÂ´Ã£â€šÂ·Ã£Æ’Æ’Ã£â€šÂ¯Ã¤Â½â€œ, Yu Gothic, YuGothic, Ã£Æ’â€™Ã£Æ’Â©Ã£â€šÂ®Ã£Æ’Å½Ã¨Â§â€™Ã£â€šÂ´ ProN W3, Hiragino Kaku Gothic ProN, Ã£Æ’Â¡Ã£â€šÂ¤Ã£Æ’ÂªÃ£â€šÂª, Meiryo, sans-serif;
    font-size: 40px;
    font-size: 32px;
    line-height: 56px;
    background-color:#fdefec;
        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-family: RexBold, Open Sans, Noto Sans Japanese, Ã¦Â¸Â¸Ã£â€šÂ´Ã£â€šÂ·Ã£Æ’Æ’Ã£â€šÂ¯Ã¤Â½â€œ, Yu Gothic, YuGothic, Ã£Æ’â€™Ã£Æ’Â©Ã£â€šÂ®Ã£Æ’Å½Ã¨Â§â€™Ã£â€šÂ´ ProN W3, Hiragino Kaku Gothic ProN, Ã£Æ’Â¡Ã£â€šÂ¤Ã£Æ’ÂªÃ£â€šÂª, Meiryo, sans-serif;
        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-family: RexBold, Open Sans, Noto Sans Japanese, Ã¦Â¸Â¸Ã£â€šÂ´Ã£â€šÂ·Ã£Æ’Æ’Ã£â€šÂ¯Ã¤Â½â€œ, Yu Gothic, YuGothic, Ã£Æ’â€™Ã£Æ’Â©Ã£â€šÂ®Ã£Æ’Å½Ã¨Â§â€™Ã£â€šÂ´ ProN W3, Hiragino Kaku Gothic ProN, Ã£Æ’Â¡Ã£â€šÂ¤Ã£Æ’ÂªÃ£â€šÂª, Meiryo, sans-serif;
        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:56px;
    height:56px;
    text-align: center;
    font-size:28px;
    font-weight: 500;
    left: 8px;
    top: -5px;
}

/*ボックス*/

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

.box-solid{
padding: 0.5em 1em;
margin-bottom: 2em;
    border: solid 3px var(--color0);
}
.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(--color3);
    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:#fff8e8;
    border: dashed 2px var(--color1);/*点線*/
}
.box-fusen{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: var(--color6);
    background: #fff8e8;
    border-left: solid 10px #ffc06e;
}

.box-fukidashi{
    position: relative;
    padding: 0.8em 0.7em;
    margin: 1em 0;
    background: var(--color0);
    color: var(--color2);
    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 0;
    padding: 0.5em 1em;
    border: solid 3px var(--color4);
    border-radius: 8px;
}
.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(--color4);
    font-weight: bold;
}

.box-title2 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px var(--color4);
}
.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(--color4);
    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(--color4);
}
.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(--color4);
    color: #ffffff;
    font-weight: bold;
}

.box-title4 {
    margin: 2em 0;
    background:#fff8e8;
}
.box-title4 .box-title {
    font-size: 1.2em;
    background: var(--color1);
    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-bottom: 1.5em;
    padding: 1em;
    background: #ffebeb;
    color:  var(--color6);
    margin-left: auto;
    margin-right: auto;
    border: solid 2px #ff8376;
}

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

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

}
}

.tyui_title {
    margin-bottom: 5px;
    color: #ff8376;
    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: #ff8376;
    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(--color2) !important;
    border-color:var(--color2) !important;
}

.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(--color1);
    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(--color3);
    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: 11px;
    display: inline-block; 
    font-weight: 500;
}


@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;
}

/*メニュー部分スクロールした位置調整*/
#menu{padding-top:50px !important;margin-top:-50px !important;}
#hajimete{padding-top:50px !important;margin-top:-50px !important;}
#access{padding-top:50px !important;margin-top:-50px !important;}
#shop{padding-top:50px !important;margin-top:-50px !important;}

.grecaptcha-badge { visibility: hidden; }

/*===「産後の骨盤矯正」=============================================*/
.txt_B {
	font-size: 1.2em;
	font-weight: bold;
	background: linear-gradient(transparent 60%, #ffff66 60%);
}

.box6040 {
	display: flex;
	flex-direction: row;
	margin: 0 auto;
	width: 80%;
}

.box6040_L {
	width: 56%;
	margin: 0 1%;
	padding: 1%;
}

.box6040_R {
	width: 36%;
	margin: 0 1%;
	padding: 1%;
}

@media screen and (max-width: 768px){
	.box6040 {
		flex-direction: column;
		width: 98%;
	}
	
	.box6040_L {
		width: 96%;
		margin: 0 1%;
		padding: 1%;
	}
	
	.box6040_R {
		width: 96%;
		margin: 0 1%;
		padding: 1%;
	}
}

.waku_pink {
	border: 2px solid #f48fb1;
	background-color: #fff;
	border-radius: 5px;
}

.osusume_waku {
	border: 2px solid #f48fb1;
	background-color: #fff;
	border-radius: 5px;
	max-width: 800px;
	padding: 15px;
	margin: 0 auto 30px auto;
}

.m0_bn {
	margin: 0;
	border: none;
}

/*流れ(STEP)----------------------------------------------------------------------------*/

.step_box {
    width: 100%;
	background-color: #fff;
}

.stepimg {
    text-align: center;
}

.step_in {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.step_in ul li {
    width: 25%;
    margin-left: auto;
    float: left;
    margin-right: auto;
    position: relative;
    margin: 0;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.5;
    padding: 8px 17px;
    min-height: 350px;
}

/*
.step_in ul li:nth-child(4){
    padding: 8px 0;
}


.step_in ul li:nth-child(8){
    padding: 8px 0;
}
*/

@media (max-width:1028px) and (min-width: 764px) {
    .step_in ul li {
        width: 30%;
        min-height: 245px;
    }

}

.step_in ul:after,
.step_in ul:before {
    clear: both;
    content: "";
    display: block;
}

.step_in ul li p {
padding: 0 8px;
    margin: 0;
    margin-top: 0;
    font-size: 16px;
}
@media (max-width: 763px) {
.step_in ul li p {
    padding: 0 8px;
    margin: 0;
    margin-top: 0;
    font-size: 16px;
    float: left;
	}
}

.stepNumber {
    top: 0;
    left: 0;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 5%;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.29;
    background: #f48fb1;
    float: left;
}

@media (max-width: 763px) {
    .stepNumber {
        top: -25px;
    }
}

@media (max-width: 763px) {
    .step_in ul li {
        width: 90%;
        margin-left: auto;
        float: none;
        margin-right: auto;
        position: relative;
        margin: 8px auto;
        background-position: bottom;
        padding: 0px 0 0px 0;
    min-height: unset;
                margin-bottom: 32px;
    }

    .step_in ul li:first-child {
        margin-top: 2.5em;
    }

    .step_in ul li:second-child {
        margin-top: 2.5em;
    }
}

.stepTitle {
background-color: #ffffff;
    color: #f48fb1;
    font-weight: 400;
    font-size: 20px;
    line-height: 0;
    letter-spacing: 0;
    /* display: block; */
    padding: 4px;
    border-radius: 3px;
    width: 100%;
    float: left;
    text-align: left;
    line-height: 1.2;
	min-height: 43px;
	border: solid 1px #f48fb1;
}

.stepimg img{
    margin-top: 8px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
	.stepTitle {
		font-size: 24px;
	}
	
	.stepimg img {
		float: left;
		margin: 8px auto;
		width: 100%;
	}    
}

.sango_innai {
	display: flex;
	flex-direction: row;
	width: 100%;
}

.sango_innai_in {
	width: 48%;
	margin: 1% auto;
	text-align: center;
	padding: 1%;
	border: 2px solid #f48fb1;
	background-color: #fff;
	border-radius: 5px;
}

.sango_innai_h3 {
	padding: 0.5em;
    margin: 10px auto 0 auto;
    width: 96%;
    letter-spacing: 0;
    font-size: 24px;
    color: #ec407a;
    font-weight: 500;
}

/*========「交通事故の慰謝料計算ツール」======================================*/
.dformat {
	display: none;
}

.r {
	display: none;
}

.jiko_keisan {
	max-width: 600px;
	border: solid 1px #000000;
	padding: 20px;
	border-radius: 10px;
	background-color: #fffff3;
	margin: 0 auto;
}

.calculate-button {
	width: 100% !important;
	background-color: #6fa1ff !important;
	color: #fff !important;
	box-shadow: 0 5px #0023b7 !important;
	border-radius: 5px !important;
	border: none !important;
	margin: 0 0 20px 0 !important;
}

.calculate-button:hover {
	opacity: 0.6;
}

.codepeoplecalculatedfield {
	text-align: right !important;
	width: 100% !important;
	border: none !important;
	font-size: 2em !important;
	font-weight: bold !important;
	color: red !important;
	background-color: #fff !important;
}

.keisan_midashi {
	font-weight: bold;
	font-size: 1.5em;
}

  .line-btn-wrapper {
    min-height: 47px; /* スマホでの高さに合わせて確保！ */
  }
}

.fadeInUp {
  animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/*==================================================
ふわっ
===================================*/

.fade-in-on-scroll {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in-on-scroll.fade-in {
  opacity: 1;
}



/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:1;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUtrigger{
    opacity: 0;
}

.fadeUp-fv{
animation-name:fadeUpAnime;
animation-duration:3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUp-fvAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:2s;
animation-fill-mode:forwards;
opacity:1;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 1;
	transform: translateX(-50px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}


.fadeLtrigger{
    opacity: 0;
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:2s;
animation-fill-mode:forwards;
opacity:1;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
	transform: translateX(50px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

.fadeRight-fv{
animation-name:fadeRightAnime;
animation-duration:3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRight-fvAnime{
  from {
    opacity: 0;
	transform: translateX(50px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}


.fadeRtrigger{
    opacity: 0;
}

/* 上から */

.fadeDtrigger{
    opacity: 0;
}

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:1;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*========= タイピング ===============*/

.TextTyping span {
  display: none;
}

/*文字列後ろの線の設定*/
.TextTyping::after {
  content: "|";
  animation: typinganime .8s ease infinite;
}

@keyframes typinganime{
  from{opacity:0}
  to{opacity:1}
}
.rep-tt {
    text-align: center;
    top: 28%;
    max-width: 980px;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 50px;
    font-family: "ryo-gothic-plusn", sans-serif;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -1.5px;
	color:#FF4F23;
}
#fv{
	min-height:100vh;
}

.fv-container{
	text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(110vh - 100px);
}
.fv-box{
    max-width: 1180px;
    margin: auto;	
}

.fv-tt{
font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    line-height: 1.25;
    color:#1d1d1f;
    font-weight: 500;
    letter-spacing: -2px;
}


@media (max-width: 763px) {
.fv-tt {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.25;
    color: #1d1d1f;
    font-weight: 500;
    letter-spacing: -1px;
}
	}

.waves {
	position: absolute; 
	bottom: 0px;
    left: 0;
    width: 100%;
	height:150px;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    height:30vh;
  }
}

.full-width-block {
    position: relative;
    width: 100%; 
    margin-left: -15px;
    margin-right: -15px; 
	padding-left: 0;
    padding-right: 0;
}


.container .full-width-block {
    margin-left: -15px;
    margin-right: -15px;
	width: auto;
	overflow:hidden;
}

/*========= 流れるテキスト ===============*/

/*全共通*/

.slide-in {
  overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
  display: inline-block;

}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
  animation-name:slideTextX100;
  animation-duration:0.8s;
  animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
  transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
  transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
  animation-name:slideTextX-100;
  animation-duration:0.8s;
  animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
  transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
  transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}



/*
 * =========================================
 * 画像を重ねるためのスタイル (PC版)
 * =========================================
 */
.fadeUp .image-overlay,
.fadeRight .image-overlay {
	position: absolute; 
	top: 50%;
	left: 50%;
  transform: translate(-50%, -50%);
  
  /* PC版：枠(コンテナ)の横幅 */
  width: 750px;
}

/* PC版：重ねる画像の設定 */
.image-overlay img {
  width: 100%;    
  height: auto;   
  display: block; 
}


/*
 * =========================================
 * スマホ版 重ねた画像の崩れ調整 (763px以下)
 * =========================================
 */
@media (max-width: 763px) {
    .fadeUp .image-overlay,
    .fadeRight .image-overlay {
		top: auto;
        left: auto;
        transform: none;
        bottom: 10px;
        right: 10px;
        width: auto; 
    }

    .fadeUp .image-overlay img,
    .fadeRight .image-overlay img {
        width: 300px !important; 
    }
}


/* スマホ版TOPの余白をなくす */
.fadeUtrigger.sp {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    
    max-width: none !important;
}


/* パソコン版TOPの余白をなくす */

  @media (min-width: 992px) {
	  #subpage .img-rep-wrapper ,
    .full-width-block {
        width: 100vw !important; 
        max-width: 100vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative;
        left: 50%;
        transform: translateX(-50vw);
    }
}

/* slide */
.img-rep {
    width: 100%;
    height: 320px;
    background-image: url(https://nakatsu.waiwai-karada-lob.com/wp-content/uploads/slide.png);
    background-repeat: repeat-x;
    background-size: 1920px 240px;
    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: 225px;

}
}	

.top-first {
    background: url(https://nakatsu.waiwai-karada-lob.com/wp-content/uploads/top_slide.gif);
    background-size: cover!important;
    background-position: center!important;
	background-attachment: fixed;
}

.first-text {
    height: 100vh;
    display: flex;
    align-items: center;
}


.top-first .text-overlay {
    position: unset;
    transform: none !important;
    margin: auto;
}

.second-text {
    background: #eff5ff;
    max-width: 960px;
    border-radius: 10px;
}

@media only screen and (max-width: 500px) {
	.top-first {
		background: url(https://nakatsu.waiwai-karada-lob.com/wp-content/uploads/top_slide_sp.gif);
		max-height: 65vh;
        overflow-y: auto;
	}
	
	.first-text {
		height: 70vh;
	}
	
	.second-text {
    width: 90%;
}
}

/* ここからループ */
#typing-container {
    position: relative;
    /* 必要に応じてフォントサイズや色を調整してください */
    font-family: sans-serif;
    color: #333;
    line-height: 1.5;
}

/* スライド（文章の塊）は初期状態で非表示にする */
.typing-slide {
    display: none;
}

/* アクティブなスライドだけ表示 */
.typing-slide.active {
    display: block;
}

/* タイピングカーソルのアニメーション */
.cursor {
    display: inline-block;
    width: 2px;
    background-color: #333; /* 文字色に合わせる */
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/*
 * =========================================
 * 修正版：TextTyping JSと連動するスタイル
 * =========================================
 */
 
/* 1. 親 (.text-overlay) のスタイル */
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)!important;
  width: 90%; 
  text-align: center;
}

/* 2. H2 (見出し) のスタイル */
/* ★ セレクタを .text-overlay h2 に変更 ★ */
.text-overlay h2 {
  font-family: "ryo-gothic-plusn", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
  font-size: 60px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  margin: 0 0 15px 0;
  padding: 0;
}
    
/* 3. P (段落) のスタイル */
/* ★ セレクタを .text-overlay p に変更 ★ */
.text-overlay p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  line-height: 1.5;
  font-size: 40px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin: 0;
  padding: 0;
}

/* 4. ★最重要★ 文字色を「JSが生成するspan」に指定 */
/*
 * JSは <h2><span>文</span><span>字</span></h2>
 * という構造を作るため、色指定はspanタグに行います
 */
.text-overlay h2 span,
.text-overlay p span {
    color: white !important; /* !importantで黒を上書き */
}

/* 5. カーソルのCSS (カーソルが必要な場合) */
/* * 新しいJSではカーソルが自動で出ないため、
 * .TextTyping に直接カーソルを追加します
 */
.TextTyping::after {
  content: "|";
  animation: typinganime .8s ease infinite;
  /* (↓ JSでタイピング完了後にこれを消す処理が必要です) */
}
.TextTyping span {
  display: none; /* JSでfadeInさせるため最初は非表示 */
}
@keyframes typinganime{
  from{opacity:0}
  to{opacity:1}
}
    
/* 6. スマホ対応 (763px以下) */
@media (max-width: 763px) {
  /* ★ セレクタを変更 ★ */
  .text-overlay h2 {
    font-size: 2.4rem !important; 
    letter-spacing: normal;
	  font-family: "ryo-gothic-plusn", sans-serif;
  }
  .text-overlay p {
    font-size: 1.8rem;
  }
}

/* =========================================
   修正：カーソル非表示とスライド表示の制御
   ========================================= */

/* 1. カーソル（縦棒）を消す */
.TextTyping::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

/* 2. スライドの基本設定（念のため上書き） */
.typing-slide {
    display: none; /* 基本は非表示 */
}
.typing-slide.active {
    display: block; /* activeがついた時だけ表示 */
}

/* =========================================
   トップ画像・テキスト位置の強制修正
   ========================================= */

/* 1. 親枠の設定：余計な隙間を削除 */
.hero-section {
    position: relative !important;
    width: 100%;
    line-height: 0 !important; /* 画像下の謎の隙間を消す魔法 */
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. 画像の設定：隙間なく配置 */
.hero-section img {
    width: 100%;
    height: auto;
    vertical-align: bottom !important; /* 画像下の隙間を完全に消す */
    object-fit: cover;
}
#main-hero-img {
    /* 必要であれば高さを固定できますが、基本はautoでOK */
    /* height: 100vh; */ 
}

/* 3. テキストエリア：強制的に中央配置 */
.text-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important; /* 横幅は90%確保 */
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10;
    
    /* line-height:0の影響を打ち消して文字間を戻す */
    line-height: 1.5 !important; 
    
    /* Flexboxを使って中身も中央寄せにする（念には念を） */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 4. 見出しと段落の余白調整 */
/* 上下に余白がありすぎると、見た目の中心がズレるため調整 */
.text-overlay h2 {
    margin: 0 0 15px 0 !important; /* 下にだけ少し余白 */
    width: 100%;
}
.text-overlay p {
    margin: 0 !important; /* 余白なし */
    width: 100%;
}
