/*-----------------------------------------------------------
* Template Name    : Kerri | Responsive Bootstrap 4 Personal Template
* Author           : SRBThemes
* Version          : 1.0.0
* Created          : March 2018
* File Description : Main css file of the template
*------------------------------------------------------------
*/


/***********************
    1.BASIC
    2.HELPER
    3.NAVBAR
    4.HOME
    5.ABOUT 
    6.SERVICES
    7.CLIENT
    8.WORK
    9.CONTACT
    10.FOOTER
    11.RESPONSIVE
************************/

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600|Nunito:400,600,700');
@import url('https://fonts.googleapis.com/css?family=M+PLUS+1p');
/*======================
        1.BASIC
========================*/

body {
    font-family: 'M PLUS 1p', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'M PLUS 1p', sans-serif;
}

a,
a:hover,
a:focus,
button,
button:focus {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

::selection {
    background: rgba(166, 175, 189, 0.3);
}

::-moz-selection {
    background: rgba(166, 175, 189, 0.3);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999999;
}

#status {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
}

.spinner {
    margin: 0 auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid rgba(0, 0, 0, 0.2);
    border-right: 5px solid rgba(0, 0, 0, 0.2);
    border-bottom: 5px solid rgba(0, 0, 0, 0.2);
    border-left: 5px solid #000;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

.english {
display: block;
font-size: 1.2rem;
margin-bottom: 18px;
font-weight: bold;
}

.japan {
    display: block;
    font-size: 0.8rem;
    }

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.back_top {
    text-align: center;
    position: fixed;
    bottom: 15px;
    height: 35px;
    width: 35px;
    display: none;
    z-index: 10000;
    border-radius: 3px;
    right: 20px;
    transition: all 0.5s;
}

.back_top i {
    color: #fff;
    line-height: 35px;
    font-size: 32px;
    display: block;
}


@font-face {
    font-family: 'MyFont3';
    src: url(../fonts/UtsukushiFONT.otf);
  }








/*==========================
        2.HELPER
============================*/

.section {
    padding-top: 70px;
    padding-bottom: 100px;
    position: relative;
    background-color: #fff;
}
.section-top {
    padding-top: 70px;
}
.section-1 {
    padding-top: 10px;
}



.section-hari {
    padding-top:15px;
    padding-bottom: 100px;
    position: relative;
    background-color: #fff;
}
.section-2 {
    padding-top: 70px;
    padding-bottom: 50px;
    position: relative;
    background-color: #fff;
}

.h-100vh {
    height: 100vh;
}

.z-index {
    z-index: 2;
}

.clippath_none {
    clip-path: none !important;
}

.section-subtitle {
    max-width: 500px;
}

.btn {
    padding: 15px 32px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.5s;
    letter-spacing: 0.6px;
    /* color: #fff; */
    box-shadow: none !important;
    text-transform: uppercase;
    outline: none !important;
}

.btn-round {
    border-radius: 30px;
}

.btn-custom{
    border:1px solid;   
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.btn-custom.focus,
.btn-custom:active,
.btn-custom:focus,
.btn-custom:hover,
.open > .dropdown-toggle.btn-custom {
    color: #f3f3f3;
}

.btn-outline-custom {
    border: 2px solid #f5f5f5;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus,
.btn-outline-custom:active,
.btn-outline-custom.active,
.btn-outline-custom.focus,
.btn-outline-custom:active,
.btn-outline-custom:focus,
.btn-outline-custom:hover,
.open > .dropdown-toggle.btn-outline-custom {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.bg-overlay {
    background-color: rgba(0, 0, 0, 0.69);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.bg-color{
    background-color: #faf8f2;
}

/*==========================
        ナブバー
============================*/

.custom-nav {
    background-color: transparent;
    padding: 20px 0px;
    width: 100%;
    border-radius: 0px;
    z-index: 999;
    margin-bottom: 0px;
    transition: all 0.5s ease-in-out;
}

.custom-nav .navbar-nav li a {
    color: #333 !important;
    font-size: 15px;
    background-color: transparent !important;
    margin: 0 7px;
    letter-spacing: 0.05em;
    line-height: 24px;
    transition: all 0.5s;
    font-weight: 500;
}


.sns{
    display: block;
}


.custom-nav .navbar-brand .logo-light,
.custom-nav .navbar-brand .logo-dark {
    height: 27px;
}
.nav-li{
    font-family: 'M PLUS 1p', sans-serif;
    
}

.logo .logo-light {
    display: inline-block;
}

.stickyadd .logo .logo-dark {
    display: inline-block;
}

.stickyadd .logo .logo-light {
    display: none;
}

.logo .logo-dark {
    display: none;
}

.custom-nav .navbar-brand {
    color: #fff !important;
    text-transform: uppercase;
}

.custom-nav .navbar-toggler {
    color: #000;
    font-size: 35px;
    padding-right: 2px;
}

.custom-nav.stickyadd {
    background-color: #fff !important;
    box-shadow: 0 1px 8px 3px rgba(0, 0, 0, 0.050980392156862744);
    padding: 10px 0px;
}

.custom-nav.stickyadd .navbar-nav li a {
    color: #000 !important;
    font-size: 13px;
}



.tokubetu{
    color: #000;
}
/*===========================
        4.TOP
=============================*/

/* .box {
    width: 100vw;
    height: auto;
    min-height: 100vh;    
  } */
  
  .box {
    width: auto;
    height: 100vh; 
  }
   
 



.header-h1{
    margin-top: 10px;
    letter-spacing: 0.2em;
    font-family: 'M PLUS 1p', sans-serif;
    }

.header-bg-img {
    background-image: url(../images/bg3.jpg);
    position: relative;
    background-size: cover;
    background-position: center;
}



@media (max-width: 1024px){
    .header-bg-img {
        background-image: url(../images/bg-tb.jpg);
        position: relative;
        background-size: cover;
        background-position: center bottom;
    }
    }
@media (max-width: 500px){
.header-bg-img {
    background-image: url(../images/bg-mb2.jpg);
    position: relative;
    background-size: cover;
    background-position: center bottom;


}
}




.header-img{
  width: 350px;
    display: block;
    margin-right: auto;
    margin-left: auto;
}


@media (max-width: 767px) {
    .header-img{
        width: 270px;
    }
  }
 
/* #top-img{
    display: none;
} */
.header-content {
    max-width: 800px;
}




.header-name {
    font-size: 42px;
}

.header-desc {
    max-width: 500px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 1) !important;
}
.top-p{
    letter-spacing: 0.3em;
    font-family: 'MyFont3', sans-serif;
    font-size: 28px;
    font-weight: 600;
    
}
@media (max-width: 767px) {
    .top-p {
      font-size: 22px;
    }
  }

.scroll_down {
    position: absolute;
    bottom: 5vh;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 13px;
    z-index: 8;
}
.scroll-p{
    position: absolute;
        bottom: 1vh;
        font-size: 18px;
        margin-bottom: 0;
        left: 0;
  right: 0;
  margin: auto;
}
.scroll_down i {
    position: relative;
    -webkit-animation: bounce 2s infinite; 
    animation: bounce 2s infinite; 
    height: 28px;
    width: 28px;
    line-height: 54px;
    border-radius: 30px;
    border: 2px solid #ffffff;
    display: inline-block;
    color: #fff;
    font-size: 10px;
}

.top-logo{
   text-align: center;
}

/* .scroll_down i {
    position: absolute;
    top: 0;
    -webkit-animation: bounce 2s infinite; 
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    display: inline-block;
    box-sizing: border-box;
} */


.scroll_down i:after {
    content: "";
    position: absolute;
    top: -5px;
    left: 11px;
    border-radius: 2px;
    z-index: -1;
    bottom: 0px;
    transition: all .2s;
    height: 13px;
    width: 3px;
    background: #fff;
}

/* .scroll-2-a{
    position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  text-decoration: none;
  padding-top: 70px;
}

.scroll-2-span{
    position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb 1.5s infinite;
  animation: sdb 1.5s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
    0% {
      -webkit-transform: rotate(-45deg) translate(0, 0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      -webkit-transform: rotate(-45deg) translate(-20px, 20px);
      opacity: 0;
    }
  }
  @keyframes sdb {
    0% {
      transform: rotate(-45deg) translate(0, 0);
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      transform: rotate(-45deg) translate(-20px, 20px);
      opacity: 0;
    }
  } */
/*HOME 4*/

.curv-img {
    position: absolute;
    width: 100%;
    bottom: 0px;
    z-index: 1;
}

.curv-img svg {
    display: block;
}

/*HOME 7*/

.clip-home {
    clip-path: polygon(0 0, 100% 0, 100% 83%, 50% 100%, 0 83%);
    position: relative;
}

/*DEMO 16*/

.wave_sec {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.wave_sec svg {
  height: 180px;
}

.about-social li img {
    display: inline-block;
    height: 40px;
    width: 40px;  
    
}

@media screen and (max-width: 414px) {
    .about-social li img {
        height: 37px;
        width: 37px;        
    }
}
.sns-icon {
    margin-top: auto;
}

/*===========================
    診療時間
=============================*/

.mukyu-container{
    margin-top: -20px;
}
.heading04 {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.3rem;
	text-align: center;
    margin-top: 70px;
}

.heading04::before,
.heading04::after {
	content: '';
	width: 3px;
	height: 35px;
	background-color: #e54e96;
}

.heading04::before {
	margin-right: 30px;
	transform: rotate(-35deg)
}
.heading04::after {
	margin-left: 30px;
	transform: rotate(35deg)
}

@media (max-width: 767px) {
    .heading04 {
      font-size: 1.1rem;
    }
    .heading04::before,
    .heading04::after {
 
        height: 30px;
        
    }
  }


.about-img{
    width: 80%;
}
.about-h2{
    font-family: 'M PLUS 1p', sans-serif;
}

.about-p{
    font-family: 'M PLUS 1p', sans-serif;
    line-height: 1.7;
    color: #000;
}

.about-h3{
    border-bottom: 1px solid red;
  letter-spacing: 0.15em;
}



.biz-hour {
    margin-top: 40px;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
  }
  @media screen and (max-width: 414px) {
    .biz-hour {/* スマホのときだけ親要素いっぱいに */
      width: 100%;
 
    }

   
  }
  .biz-hour th {
    /* １番上の線 */
    /* #A28C63っていうのが色の名前なので、ここをお好みで */
    border-top: 1px solid #A28C63;
  }
  .biz-hour th, .biz-hour td {
      font-size: 14px;
    padding: 10px 10px;
    text-align: center;
    /* ２番目以降の線 */
    /* 色はお好みで */
    border-bottom: 1px solid #A28C63;
  }


  /* 上段の背景色 */
  .biz-hour th {
    /* background: pink; */
    font-weight: normal;
  }
  
  /* 土曜日の文字色 */
  .biz-hour th.sat {
    color: #3db2da;
  }
  
  /* 日曜日の文字色 */
  .biz-hour th.sun {
    color: #e66a6a;
  }


.time-come{
    text-align: right;
    padding-right: 100px;
    font-size: 14px;
}
@media (max-width: 767px) {
    .time-come {
        text-align: right;
        padding-right: 10px;
    }
  }

.tel-row{
    padding-left: 60px;
    
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 919px) {
    .tel-row {
        padding-right: 30px;
    }
  }

@media (max-width: 767px) {
    .tel-row {
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 15px;
        text-align: center;
    }
  }
 .tel-container{
    width: 70%;
    max-width: 1100px;
    margin: auto;
    background-color: #e3e1cf;
    border-radius: 9px;
    }
@media (max-width: 767px) {
        .tel-container {
          width: 90%;
        }
      }

.time-tel{
    color: #555;
   
}

.time-tel h4{
        font-size: 2.3vw;
        font-weight: normal;
    }
    @media (max-width: 767px) {
       .time-tel h4 {
         font-size: 25px;
       }
     }



.tel-l{
    margin-top: 20px;
    
}
@media (max-width: 767px) {
    .tel-l{
      margin-top: 0px;
      margin-bottom: 5px;
    }
  }

.tel-l p{
    font-size: 0.9rem;
}
@media (max-width: 767px) {
    .tel-l p {
      font-size: 0.8rem;
    }
  }

.tel-r a{
color: #555;
font-size: 3.5vw;
text-decoration: none;
}
@media (max-width: 767px) {
    .tel-r a {
      font-size: 34px;
    }
  }



.tel-r p{
    font-size: 0.7rem;
}
@media (max-width: 767px) {
    .tel-r p {
      font-size: 0.7rem;
    }
  }


.tel-p{
    margin-bottom: 5px;
}









  /*===========================
    診療内容 services
=============================*/

.sinryotitle-container{
    width: 70%;
    max-width: 1100px;
    margin: auto;
    background-color: #e3e1cf;
    border-radius: 9px;
    margin-top: -150px;
    margin-bottom: 60px;
    }
@media (max-width: 767px) {
        .tel-container {
          width: 90%;
        }
      }





      .heading05 {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.3rem;
        text-align: center;
        
        
    }
    
    .heading05::before,
    .heading05::after {
        content: '';
        width: 3px;
        height: 35px;
        background-color: #6db1a0;
    }
    
    .heading05::before {
        margin-right: 30px;
        transform: rotate(-35deg)
    }
    .heading05::after {
        margin-left: 30px;
        transform: rotate(35deg)
    }
    
    @media (max-width: 767px) {
        .heading05 {
          font-size: 1.3rem;
        }
        .heading05::before,
        .heading05::after {     
            width: 3px;          
        }
        .heading05::before {
            margin-right: 20px;
            
        }
        .heading05::after {
            margin-left: 20px;
            
        }
      }




.sikaku{
    margin-top: 50px;
    margin-bottom: 100px;
    color: #555;
 
}
.sikaku-card{
    background-color: #fff;
    width: 100%;
    height: 80px;
    border-radius: 5%;
}

.sikaku-p{
    padding-top: 30px;
    font-size: 1rem;
}
@media (max-width: 767px) {
    .sikaku-p {
        font-size: 0.9rem;
    }
  }
.sikaku-p-anma{
    padding-top: 35px;
    font-size: 0.9rem;
}
@media (max-width: 767px) {
    .sikaku-p-anma {
        padding-top: 28px;
        font-size: 0.8rem;
    }
  }

.sikaku-p-josyu{
    padding-top: 30px;
    font-size: 1rem;
}
@media (max-width: 767px) {
    .sikaku-p-josyu {
        font-size: 0.8rem;
        padding-top: 32px;
    }
  }

.fusen{
    
    width: 30%;
    height: 20px;
    margin: auto;      
    margin-top: -90px;
    opacity: 0.7;
    border-radius: 5%;
}
.sikaku-col{
    padding-right: 7px;
    padding-left: 7px;
}
.sikaku-col-under{
    padding-right: 7px;
    padding-left: 7px;    
}
@media (max-width: 767px) {
    .sikaku-col-under {
        margin-top: 100px;
    }
  }

  .services-in img{
    width: 90%;
   margin: auto;
  }

  /* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 500px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}



.sv-h3 {
    font-family: 'MyFont3', sans-serif;
    font-size: 50px;
    margin-bottom: 100px;
    font-weight: 600;
}
@media (max-width: 991px){
    .sv-h3 {
        font-size: 30px;
    margin-bottom: 20px;
    }
    }
@media (max-width: 500px){
.sv-h3 {
    font-size: 30px;
    margin-bottom: 100px;
}
}

.sv-h5 {
    font-size: 18px;
}
@media (max-width: 991px){
    .sv-h5 {
        font-size: 16px;
    }
    }
@media (max-width: 500px){
.sv-h5 {
    font-size: 16px;
}
}

.sv-p {
    font-size: 14px;
}
@media (max-width: 991px){
    .sv-p {
        font-size: 12px;
    }
    }
@media (max-width: 500px){
.sv-p {
    font-size: 12px;
}
}



.sinryo-h3{
    font-size: 4.5rem;
    color: #777;
    margin-bottom: -25px;
}


.sinryo-h5{
    font-size: 1.8rem;
    color: #555;
    margin-top: 0px;
    font-weight: bold;
    font-family: 'MyFont3', sans-serif;
}

.sinryo-h5-long{
    margin-top: 4px;
    color: #555;
    font-weight: bold;
    font-family: 'MyFont3', sans-serif;
    font-size: 1.5rem;
}

.sinryo-container{
    width: 90%;
        max-width: 1280px;
        margin: auto;
}

.sinryo-img{
    width: 90%;
    height: auto;
    border-radius: 25px;
}

@media (max-width: 767px) {
    .sinryo-img{
      width: 100%;
    }
  }


.sinryo-p {
    font-size: 0.8rem;
}


.button03 a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 1em 1.8em;
    width: 210px;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #555;
    border-radius: 9px;
  }
  
  .button03 a::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #555;
    border-right: 3px solid #555;
    transform: rotate(45deg);
  }
  
  .button03 a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #888;
    border: 1px solid #888;
  }
  
  .button03 a:hover::after {
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
  }




  /*===========================
    スタッフ
=============================*/
.staff-container{
    width: 90%;
    max-width: 1150px;
    margin: auto;
  
    }
@media (max-width: 767px) {
        .staff-container {
          width: 90%;
        }
      }


.ani{
    transition: 1s all;
    opacity: 0;
}
 
.ani.move{
    opacity: 1;
}

.staff-h5{
    font-size: 1rem;
}
.staff-h4{
    font-size: 1.2rem;
    font-family: 'MyFont3', sans-serif;
    display: inline-block;
    /* border-bottom: 1.5px solid #555; */
    padding: 10px 20px 10px 30px;
    border-left: 5px solid #4792c5;
    background: #faf8f3;
  letter-spacing: 0.5em;
  font-weight: bold;
}

@media only screen and (max-width: 767px){
    .staff-h4{
        margin-top: 20px;
        text-align: center;
    }
}

.staff-p{
    font-size: 1rem;
    font-family: 'MyFont3', sans-serif;    
}
@media only screen and (max-width: 767px){
    .staff-p{          
        text-align: left;   
    }
}

.staff-r{
    margin-top: 70px;
}

@media only screen and (max-width: 767px){
    .staff-r{
        margin-top: 10px;
        text-align: center;
    }
}


.staff-btn {
    margin-top: 40px;
  }
  
  @media (max-width: 1087px) {
    .staff-btn {
      margin-top: 40px;
    }
  }
  
  @media (max-width: 767px) {
    .staff-btn {
      margin-top: 40px;
    }
  }
  
  .staff-btn a {
    background-color: #62b2d1;
    padding: 15px 50px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border-radius: 12px;
  }
  
  @media (max-width: 767px) {
    .staff-btn a {
      font-size: 16px;
      padding: 12px 48px;
    }
  }
  
  .staff-btn a {
    margin-left: 0px;  
    transform: translateY(3px);
  }
  
  @media (max-width: 767px) {
    .staff-btn a {
      margin-right: -40px;
      transform: translateY(5px);
    }
  }






/*=========================
      お問い合わせ
===========================*/
.section-contact {
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    background-color: #fff;
}
.contact-h2{
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 40px;
}

.form-kerri .form-control {
    box-shadow: none !important;
    height: 50px;
    border: 2px solid #e0e0e0;
}

.form-kerri textarea.form-control {
    height: auto;
}

.contact_detail-title {
    font-size: 18px;
}

.error {
    margin: 8px 0px;
    display: none;
    color: #ec5f79;
}

.error_msg {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    color: #ec5f79;
    font-weight: 700;
}

.gig_loader {
    display: none;
}

#success_msg {
    text-align: center;
    margin-bottom: 20px;
}

#success_msg h3 {
    color: #64d674;
    font-size: 22px;
}

/*=========================
   マップ
===========================*/

.access {    
    padding-bottom: 8px;
  }
  
  .access h2 {
    text-align: center;
   margin-bottom: 60px;   
   position: relative;
  }
  
  .access h2:after {
    position: absolute;
    content: "";
    background-color: #323232;
    height: 1px;
    width: 80px;
    bottom: -23px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  @media (max-width: 767px) {
    .access h2:after {
      bottom: -23px;
    }
  }
  
  /* @media (max-width: 1087px) {
    .access h2 {
      font-size: 46px;
    }
  } */
  
  @media (max-width: 767px) {
    .access h2 {
      /* font-size: 46px; */
      margin-bottom: 65px;
    }
  }
  
  .access .access-container {
    width: 700px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 88px;
  }
  

  @media (max-width: 1087px) {
    .access .access-container {
      max-width: 95%;
    }
  }
  
  .access .access-container .map {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    /* = height ÷ width × 100 */
  }
  @media (max-width: 767px) {
    .access .access-container .map {
        position: relative;
        width: 100%;
        padding-top: 100%;
        /* = height ÷ width × 100 */
    }
  }
  .access .access-container .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  

  
  


  
  .access .access-container .access-btn {
    margin-top: 40px;
    text-align: center;
  }
  
  @media (max-width: 1087px) {
    .access .access-container .access-btn {
      margin-top: 60px;
    }
  }
  
  @media (max-width: 767px) {
    .access .access-container .access-btn {
      margin-top: 30px;
    }
  }
  
  .access .access-container .access-btn a {
    background-color: #63b7ea;
    padding: 15px 59px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
  }
  
  @media (max-width: 767px) {
    .access .access-container .access-btn a {
      font-size: 16px;
      padding: 13px 48px;
    }
  }
  
  .access .access-container .access-btn a img {
    margin-left: 30px;
    margin-right: -46px;
    transform: translateY(3px);
  }
  
  @media (max-width: 767px) {
    .access .access-container .access-btn a img {
      margin-right: -40px;
      transform: translateY(5px);
    }
  }





/*======================
FOOTER
========================*/

.footer {
    padding: 20px 0px;
    background-color: #e3e1cf !important;
    
}
.footer2 {
    padding: 20px 0px;
    background-color: #faf8f2 !important;
    
}

.footer-logo{
    width: 260px;
}

.footer-p{
    font-size: 0.8em;
}

footer p{
    font-size: 0.9em;
    color: #555;
}



.up-btn{
    background-color: #bcbcbc;
}
 
.footter-copy{
    font-size: 12px;
}

/*===========================
        11.RESPONSIVE
=============================*/
/* ipad用レスポンシブ */
@media only screen and (max-width: 991px){
   .about-container{
       width: 80%;
       margin: auto;
   }

    .services-container{
        padding-bottom: 20px;
    }
 


  
  
  

    .section-y{
        padding-top: 0px;
    }
}


/* モバイル用レスポンシブ */
@media only screen and (max-width: 767px){
    






.topic{
    margin-top: 0px;
    margin-bottom: 80px;
}
.topic-container{
    width: 90%;
    margin: auto;
}
.topic-p{
    font-size: 14px;
}
.topic-p2{
    margin-top: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}
.topic-h2{
    font-family: 'M PLUS 1p', sans-serif;
    margin-bottom: 40px;
    font-size: 36px;
}
.topic-img{
    width: 80%;
}

.topic-2{
    margin-top: 60px;
}
.topic-p3{
    margin-top: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.about-h2{
    margin-top: 30px;
}
.about-h3{
    font-size: 1.4em;
  letter-spacing: 0.03em;
}

.about-p{
    font-size: 0.9em;
}

.about-container{
    width: 90%;
    margin: auto;
}


.services-container{
    width: 100%;
    margin: auto;
    margin-bottom: -60px;
    padding-bottom: 0px;
}
.services-container-under{
    width: 100%;
    margin: auto;
   margin-bottom: 0px;
}

.no-gutters {
  margin:0;
  padding:0;
}




.no-gutters > .col,
.no-gutters > [class*="col-"] {
  margin:0;
  padding:0;
}

.section-y{
    padding-top: 30px;
}
.yamayatext{
    font-size: 0.8rem;
    line-height: 1.8;
}

.shop-category{
    margin-top: 30px;
}
.shop-c{
    margin-bottom: 0;
}


/* モバイル用レスポンシブの商品詳細ページ */

.amazon-mrc{
    text-align: center;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    height: 30px;
    width: 30px;    
    background-color: rgba(0, 0, 0, 0.3);
    background-size: 40%;
    border-radius: 50%;    
}
.akamaru{  
    width: 14px;
    height: 14px;     
}
.konmaru{  
    width: 14px;
    height: 14px;     
}
.siromaru{  
    width: 14px;
    height: 14px;     
}
.pinkmaru{  
    width: 14px;
    height: 14px;     
}
}

@media (min-width: 200px) and (max-width: 768px) {
    .custom-nav {
        background-color: #fff !important;
        padding: 10px 0px !important;
    }
    .custom-nav .container {
        width: 85%;
    }
    .custom-nav .navbar-toggler {
        color: #000;
        font-size: 32px;
        border: none;
    }
    .custom-nav .logo .logo-dark {
        display: inline-block;
    }
    .custom-nav .navbar-nav li a {
        color: rgba(0, 0, 0, 0.6) !important;
    }
    .custom-nav .logo .logo-light {
        display: none;
    }
    .h-100vh {
        height: auto;
        padding: 120px 0 140px;
    }
    .header-bg-img {
        clip-path: none;
        padding: 120px 0 140px;
    }
    .wave-home.h-100vh{
        height: auto;
        padding: 120px 0 190px;
    }
    .custom-nav .navbar-nav li a {
        margin: 0 0px;
        line-height: 15px;
    }
    .header-name {
        font-size: 32px;
    }
    .clip-home{
        clip-path: none;
    }
}

@media (max-width: 2560px) {
    .home-bg .curv-img {
        bottom: -5px;
    }
}


.nav-b{
    margin-bottom: 60px;
}
@supports (-ms-ime-align: auto) {
   
}



/*===========================
    あいさつ
=============================*/
.aisatsu{
    background-color: #e3e1cf;
}

.pankuzu-a{
    color: #212529;
}
.pankuzu-under{
    color: #f0952e;
}
.aisatsu-uper{
    margin: auto;
    margin-top: 10px;
    width: 50%;
    max-width: 600px;
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    .aisatsu-uper{
      width: 85%;
      margin-top: 0px;
      margin-bottom: 0px;
    }
  }

.aisatsu-h1{
    font-family: 'MyFont3', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    position: relative;
    padding: 0.6em;
    background: #a6d3c8;
    color: white;
}
@media (max-width: 767px) {
    .aisatsu-h1{        
        font-size: 1.3rem;
    }
}
  .aisatsu-h1::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 30px rgb(149, 158, 155);
  }

.aisatsu-under{
background-color: #fff;
width: 90%;
margin: auto;
margin-top: 40px;
padding: 20px;
box-shadow: 2px 2px #ababab;
border-radius: 10px;
}
@media (max-width: 767px) {
    .aisatsu-under{        
        width: 100%;
    }
}

.incho-syokai{
    padding-bottom: 15px;
    padding-left: 10px;
    border-bottom: 2px solid #A28C63;
    font-size: 1.4rem;
    margin-bottom: 40px;
}
@media (max-width: 767px) {
    .incho-syokai{        
        font-size: 1.2rem;
        margin-bottom: 0px;
    }
}

.aisatsu-under img{
    width: 90%;    
}
@media (max-width: 767px) {
    .aisatsu-under img{        
        width: 95%;
    }
}

@media (max-width: 767px) {
    .keireki{
        margin-top: 15px;
    }
}


.name-rubi{
    font-size: 0.8rem;
    margin-bottom: -0.1rem;
}
@media (max-width: 767px) {
    .name-rubi{     
        font-size: 0.6rem;
        }
}
.name-kanji{
margin-bottom: 20px;
font-size: 1.4rem;
}
@media (max-width: 767px) {
    .name-kanji{     
        font-size: 1.2rem;
        }
}

.keireki h5{
    font-size: 1.1rem;
}




.aisatsu-honbun{    
    width: 90%;
    margin: auto;
    margin-top: 50px;      
}
@media (max-width: 767px) {
    .aisatsu-honbun{     
        margin-top: 40px;
        padding-top: 37px;
        border-top: 1px solid #A28C63;
        letter-spacing: 1.5px;  
        }
}


.aisatsu-p{
    font-size: 0.9rem;
    line-height: 1.7em;
    
}

/*===========================
  料金一覧
=============================*/
.service-bg{
   background: #e3e1cf; 
    background: -webkit-linear-gradient(to right, #faf8f3, #e3e1cf);  
    background: linear-gradient(to right, #faf8f3, #e3e1cf); 
   }

   .service-container-top{
    width: 80%;
    max-width: 960px;
    margin: auto;   
    padding-top: 10px;
    font-size: 0.9rem;
}
@media (max-width: 767px) {
    .service-container-top{     
        width: 100%;
        padding-top: 10px;
        padding-left: 30px;   
        font-size: 0.9rem;     
        }
}

.service-container1{
    width: 80%;
    max-width: 960px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 30px;
    margin-top: 20px;
    /* background: #a1d3d1; 
    background: -webkit-linear-gradient(to right, #d1ede0, #a1d3d1);  
    background: linear-gradient(to right, #d1ede0, #a1d3d1);  */
    box-shadow: 2px 2px #ababab;
}
@media (max-width: 767px) {
    .service-container1{     
        width: 90%;
        padding: 40px 20px;
        margin-top: 20px;
        }
}

.service-container2{
    width: 80%;
    max-width: 960px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 30px;
    margin-top: -120px;
    box-shadow: 2px 2px #ababab;
}
@media (max-width: 767px) {
    .service-container2{     
        width: 90%;
        padding: 40px 20px;
        }
}



.supesu{
    background: #000;

}


.service-h2{
    font-family: 'MyFont3', sans-serif;
    font-size: 1.6rem;
}
@media (max-width: 919px) {
    .service-h2{   
        font-size: 1.4rem;
        }
}
@media (max-width: 767px) {
    .service-h2{     
        text-align: center;
        font-size: 1.4rem;
        }
}
.service-h2-2{
    font-family: 'MyFont3', sans-serif;
    font-size: 1.6rem;
}
@media (max-width: 919px) {
    .service-h2-2{   
        font-size: 1.2rem;
        }
}
@media (max-width: 767px) {
    .service-h2-2{     
        text-align: center;
        font-size: 1.3rem;
        }
}
.service-img{
    width: 100%;
    border-radius: 20px;
    margin-top: 10px;
}
@media (max-width: 767px) {
    .service-img{     
        width: 100%;
        }
}


.kakaku{
    text-align: right;
}


.kakaku-p{     
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10px;
}
@media (max-width: 767px) {
    .kakaku {
        font-size: 0.7rem;
    }
    .kakaku-p{     
        width: 100%;   
        font-size: 0.8rem;
        text-align: center;
        }
}
.kakaku-p-u{     
    text-align: center;
    font-size: 0.9rem;
    margin-top: -10px;
}
@media (max-width: 767px) {
    .kakaku-p-u{     
        width: 100%;   
        font-size: 0.8rem;
        text-align: center;
        }
}


.cource-p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  padding-left: 20px;
  text-align: center;
  font-size: 0.9rem;
  margin-top: -10px;
}
.cource-p .head {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  width: 70%;
  text-align: left;
}
.cource-p .head .small {
  font-size: 0.8rem;
}
.cource-p .body {
  width: 30%;
  font-size: 1rem;
  text-aligh: right:
}
@media (max-width: 1050px) {
  .cource-p {
    padding-left: 0;
  }
}
@media (max-width: 767px) {
  .cource-p {
    padding-left: 0;
  }
  .cource-p .head {
    padding: 0;
    padding-left: 10px;
  }
  .cource-p {
    width: 100%;   
    font-size: 0.8rem;
    text-align: center;
  }
}

.outer {
  display: block;
  margin: 0 auto;
}
.hari-title-p {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 600;
}
.hari-title-p:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  margin-right: 10px;
  background: #128d6ace;
}
.hari-title-p:after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  margin-left: 10px;
  background: #128d6ace;
}
.course-table {
}
.hari-p{
    width: 90%;
    text-align: left;
    font-size: 0.9rem;
    margin: 1rem auto;
}

@media (max-width: 767px) {
    .course-table {
      width: 100%;
    }
    .hari-p{     
        width: 100%;   
        font-size: 0.8rem;
        text-align: left;
    }
}


.kakaku-span{
    font-size: 0.6rem;
}



.service-p{
    margin-top: 30px;
    font-size: 0.9rem;
}
.service-p2{
    margin-top: 0px;
    font-size: 1rem;
   
}


table {
    border-collapse: collapse;
    margin: 0 auto;
    padding: 0;
    width: 460px;
    table-layout: fixed;
    
  }
  @media only screen and (max-width: 991px){
    table{
        width: 100%;       
    }
}

  @media (max-width: 767px) {
    table{     
        width: 100%;
        }
}

.kakakutable{
    margin-top: 60px;
}
@media (max-width: 767px) {
    .kakakutable{     
        margin-top: 0px;
        }
}




@media (max-width: 767px) {
    .sekkotsu{
        font-size: 0.8rem;
    }
}

.sekkotsu-p{
    color: #666;
    font-size: 1.2rem;
    margin-bottom: -3px;
    padding-left: 20px;
}
@media (max-width: 767px) {
    .sekkotsu-p{
        padding-left: 10px;
       
    }
}

.font8 {
  font-size: 0.8rem !important;
}
.font75 {
  font-size: 0.75rem !important;
}
.font7 {
  font-size: 0.7rem !important;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: -3px;
  padding-left: 20px;
}
@media (max-width: 1050px) {
  .subtitle {
    padding-left: 0;
  }
}
@media (max-width: 767px) {
  .subtitle {
    padding-left: 10px;
  }
}



.simei{
    text-align: center;
    margin-top: 12px;
}
@media (max-width: 1000px) {
    .simei{
        font-size: 0.9rem;
    }
}

  table tr {
    padding: .35em;
    border-bottom: 1px dotted #128d6a;
  }
  table tr:last-child{
     border-bottom: 2px solid #128d6a;
  }

  .sv1{
    color: #128d6ace;
}

.sv2{
    color: #4d7ce0d7;
}
  table .tr2 {
    padding: .35em;
    border-bottom: 1px dotted #4d7ce0;
  }
  table .tr2:last-child{
     border-bottom: 2px solid #4d7ce0;
  }

  .sv3{
    color: #d35ea2ce;
}
  table .tr3 {
    padding: .35em;
    border-bottom: 1px dotted #d35ea2;
  }
  table .tr3:last-child{
     border-bottom: 2px solid #d35ea2;
  }

  .sv4{
    color: #eb711fc7;
}
  table .tr4 {
    padding: .35em;
    border-bottom: 1px dotted #eb701f;
  }
  table .tr4:last-child{
     border-bottom: 2px solid #eb701f;
  }

  .sv5{
    color: #3b38dfbb;
}
  table .tr5 {
    padding: .35em;
    border-bottom: 1px dotted #3a38dfde;
  }
  table .tr5:last-child{
     border-bottom: 2px solid #3a38dfde;
  }

  .sv6{
    color: #0d9fc4d0;
}
  table .tr6 {
    padding: .35em;
    border-bottom: 1px dotted #0d9fc4;
  }
  table .tr6:last-child{
     border-bottom: 2px solid #0d9fc4;
  }

  table th,
  table td {
    padding: 10px 10px 10px 10px;
  }
  table th:first-child,
  table td:first-child {
    padding-right: 0;
  }

  .txt{
     text-align: left;
     font-size: .85em;
     
  }
  .price{
     text-align: right;
  }
  
  .ddd{
    height:300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  @media (max-width: 991px) {
    .ddd{     
        height: auto;
        }
}
  @media (max-width: 767px) {
    .ddd{     
        height: auto;
        }
}

.eee{   
   margin-top: 60px;
   text-align: center;
  }
  @media (max-width: 767px) {
    .eee{     
        margin-top: 40px;
        }
}

.tokuten-container{
    width: 88%;
    text-align: left;
    margin: auto;
    margin-left: 30px;
}
@media (max-width: 767px) {
    .tokuten-container{     
        width: 100%;
        margin-left: 0px;
        }
}


.button04 a {
    display: flex;
    justify-content: space-between;
    align-items: center;   
    padding: 0.6em 1.8em;
    width: 240px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #a6d3c8;
    border-radius: 9px;
    margin: auto;
    margin-top: 40px;
    background: #a6d3c8;
  }
  @media (max-width: 767px) {
    .button04 a{     
        margin-top: 20px;
        }
}
  .button04 a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
  }
  
  .button04 a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #a6d3c8;
    border: 1px solid #a6d3c8;
    opacity: 0.6;
  }
  
  .button04 a:hover::after {
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
  }

  .tokuten-p1{
    font-size: 1.4rem;
    
}
.tokuten-p2{
    font-size: 1.8rem;
    /* color: #6db1a0 */
}
.tokuten-p3{
    font-size: 0.9rem;
   line-height: 1.6;
}

.kakaku-tel{
    font-size: 2rem;
    color: rgb(26, 104, 192);
}
@media (max-width: 991px) {
    .kakaku-tel{     
       font-size: 1.8rem;
        }
}
@media (max-width: 767px) {
    .kakaku-tel{     
       font-size: 1.6rem;
        }
}

.paypay{
    background-color: white;
    width: 30%;
    margin: auto;    
   border-radius: 10px;
   box-shadow: 2px 2px #ababab;
   margin-top: 30px;
   margin-bottom: 30px;
}

@media only screen and (max-width: 991px){
    .paypay{
        width: 40%;  
        margin-top: 50px;     
        margin-bottom: 40px;
    }
}
@media (max-width: 767px) {
    .paypay{     
       width: 75%;
       margin-top: 35px;
        }
}
.paypay-img{
   width: 100px;
}

.ichigyou img{
    vertical-align: middle;
    display: inline-block;
}
.ichigyou span{
    display: inline-block;
    font-size: 1rem;
    font-family: 'M PLUS 1p', sans-serif;
    line-height: 55px;
}
@media (max-width: 767px) {
    .ichigyou span{     
       font-size: 0.9rem;
        }
}


/* .sub-container{
    width: 90%;
} */

.white-id{
    margin-top: 250px;
}
@media (max-width: 767px) {
    .white-id{     
        margin-top: 0px;
        }
}

.massage-id{
    margin-top: 140px;
}
@media (max-width: 767px) {
    .massage-id{     
        margin-top: 0px;
        }
}


.heading055 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #555;
}

.heading055::before,
.heading055::after {
    content: '';
    width: 3px;
    height: 35px;
    background-color: #e54e96;
}

.heading055::before {
    margin-right: 30px;
    transform: rotate(-35deg)
}
.heading055::after {
    margin-left: 30px;
    transform: rotate(35deg)
}

@media (max-width: 767px) {
    .heading055 {
      font-size: 1.1rem;
      margin-bottom: 8px;
    }
    .heading055::before,
    .heading055::after {     
        width: 3px;          
    }
    .heading055::before {
        margin-right: 13px;
        
    }
    .heading055::after {
        margin-left: 10px;
        
    }
  }

  .kessai-container{
    width: 90%;
    max-width: 800px;
    margin: auto;
}


.kessai-col{
  padding: 0;
  margin-top: 10px;
}

.kessai-img{
  width: 60px;
}
@media (max-width: 991px) {
  .kessai-img {
      width: 45px;             
}
}


.makura-p{
    font-size: 1.5rem;
    color: rgb(84, 170, 185);
}

.makura-p2{
    font-size: 0.9rem;
    color: rgb(84, 170, 185);
}

.kakakuhennkou{
    font-size: 0.8rem;
    color: #555;
}
@media (max-width: 767px) {
    .kakakuhennkou {
        font-size: 0.8rem;  
        line-height: 1.4;       
  }
  }
  @media screen and (min-width: 768px){
    .br-sp {display: none; }
    }

    .modere-container{
        text-align: center;
        margin-top: 20px;
    }

    .modere-container img{
        width: 100%;
    }
/* パソコンで見たときは"m-pc"のclassがついた画像が表示される */
    .m-pc { display: block !important; }
    .m-sp { display: none !important; }
     
    /* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
    @media only screen and (max-width: 750px) {
        .m-pc { display: none !important; }
        .m-sp { display: block !important; }
    }

    @media screen and (min-width: 768px){
        .br-spm {display: none; }
        }

        @media screen and (min-width: 1000px){
            .br-spmm {display: none; }
            
            }

.bigan{
    font-size: 0.7rem;
}

.komoji{
    font-size: 0.7rem;
}

.footer-name{
    color: #555;
  }
/* 2026-01-27 Added: Official Online Shop Banner */
.online-shop-banner-container {
    text-align: center;
    margin: 40px auto 20px;
    padding: 0 15px;
}

.online-shop-btn {
    display: inline-block;
    background-color: #fff;
    color: #333 !important;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    font-family: 'M PLUS 1p', sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.online-shop-btn:hover {
    background-color: #f4f4f4;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 1; /* Resetting opacity since we use background change */
}

@media (max-width: 768px) {
    .online-shop-btn {
        width: 100%;
        max-width: 350px;
        padding: 15px 0;
        font-size: 16px;
    }
}

/* 2026-01-27 Added: Circle badge for course titles */
.circle-badge {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    background-color: #d63384;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-right: 5px;
    vertical-align: middle;
}
