@charset "utf-8";

body{
    font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
  margin: 0px;
  background-color: #ffffff
  
}

html, body {
  overflow-x: hidden;
}

.top{
   margin-bottom: 0%;
   position: relative; /* ←追加 */
  z-index: 10;        /* ←画像より前に */
}



.fhone a{
    color: #F8B62D;
}
@media (min-width: 1024px) {
    a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    }
    }
.logo{
    margin-top: 0%;
}
.top-image {
    margin-top: 2%;
}
.top-image .img2{
    text-align: right;
    margin-top: -50px;
}

header .top{
    margin-top: 0%;
    margin-bottom: 0%;
}

/*navタブレット */
@media (min-width: 1024px){
    .inner{
        display: flex;
        justify-content: space-around;
        align-items: center;
        min-height: 10vh;
        position: fixed;
        border: solid;
        background: linear-gradient(to right,#0095d980 , #f3d95b80);
        border: none;
    
        border-radius: 0 0 20px 20px;
        margin-left: 34vw;
        z-index: 20;
        padding-left: 0;
        box-shadow: 0 3px 4px rgba(18, 16, 16, 0.32);/*影*/
    }
    .nav-links{
        display: flex;
        justify-content: space-around;
        width: 63vw;
        padding-left: 0;
        
    }
    .nav-links li{
        list-style: none;
    }
    .nav-links a{
        text-decoration: none;
        color: #333;
        font-weight: bold;

    }

    .top,.live{
    color:#333333;
    font-size: 20px;
     position: relative;  /* ←追加：これでz-indexが効く */
  z-index: 10;
   
}
.top .fhone{
    position: relative;  /* ←追加：これでz-indexが効く */
  z-index: 10;
    font-size: 30px;
    font-weight: bold;

}
.top .fhone a{
    color: #F8B62D;
}
.live, .fhone{
    left: 3%;
}

.yoyaku{
     position: relative;  /* ←追加：これでz-indexが効く */
  z-index: 10;
  margin-top: 2%;
  left: 5%;

}

    .yoyaku a{
    text-decoration: none;
    color:#ffffff;
    font-size: 25px;
    font-weight: bold;
    border: solid;
    border-color:#F8B62D ;
    background-color:#F8B62D;
    border-radius: 20px;
    padding: 10px 50px ;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
   
}
.catchcopy {
  position: absolute;
  top: 150%;    /* 画像の上に配置 */
  left: 5%;
  color: #1E90FF;
  text-align: left;
  font-size: 2.5vw;
  font-family: "Yomogi", cursive;
  font-weight: bold;
  text-shadow:
  #ffffff 2px 2px 4px,
  #ffffff 4px 4px 10px;

  z-index: 2;   /* 画像より前に表示 */
  background: rgba(255,255,255,0); /* 背景を透明にする */
}
}
/*navスマホ*/
@media (max-width: 1024px){
    nav{
        font-size: 20px;
        line-height: 30px;
        display: block;
        width: 100%;
        position: fixed;
        background-color: #ffffff;
        top: -500px;
        z-index: 3;
        bottom: 0;
        text-align: center;
        transition: all 0.5s;
        opacity: 0;
    }
    .open nav{
        top: 0;
        opacity: 1;
        z-index: 50;
    }

    nav .inner ul{
        list-style: none;
        padding: 25px;
    }
    nav .inner ul li{
        border-bottom: 1px solid #333333;
    }
    nav .inner ul li a{
        display: block;
        text-decoration: none;
        color: #333333;
        padding: 1rem;
        transition-duration: 0.4s;
    }
    nav .inner ul li a:hover{
        background-color: #e4e4e4;
    }
    .toggle-btn{
        display: block;
        position: fixed;
        top: 20px;
        right: 30px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 110;
    }
    .toggle-btn span{
        position: absolute;
        display: block;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #333333;
        transition: all 0.5s;
        border-radius: 4px;
        box-shadow: 0 3px 4px rgba(18, 16, 16, 0.32);/*影*/
    }
    .toggle-btn span:nth-child(1){
        top: 4px;
    }
    .toggle-btn span:nth-child(2){
        top: 14px;
    }
    .toggle-btn span:nth-child(3){
        bottom: 4px;
    }
    .open .toggle-btn{
        z-index: 50;
    }
    .open .toggle-btn span:nth-child(1){
        transform: translateY(10px) rotate(-315deg);
    }
    .open .toggle-btn span:nth-child(2){
        transform: translateY(10px) rotate(-315deg);
        opacity: 0;
    }
    .open .toggle-btn span:nth-child(3){
        transform: translateY(-10px) rotate(315deg);
    }

    .top,.live{
    color:#333333;
    font-size: 8px;
     position: relative;  /* ←追加：これでz-indexが効く */
  z-index: 10;
   
}
.top .fhone{
    margin-right: 5px;
    position: relative;  /* ←追加：これでz-indexが効く */
  z-index: 10;
    font-size: 16px;
    font-weight: bold;

}
.live, .fhone{
    left: 2%;
}
.top .fhone a{
    color: #F8B62D;
}
.yoyaku{
     position: relative;  /* ←追加：これでz-indexが効く */
  z-index: 10;
  margin-top: 3%;
  left: 5%;

}

    .yoyaku a{
    text-decoration: none;
    color:#ffffff;
    font-size: 16px;
    font-weight: bold;
    border: solid;
    border-color:#F8B62D ;
    background-color:#F8B62D;
    border-radius: 10px;
    padding: 5px 10px ;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
    
    
}

.catchcopy {
  position: absolute;
  top: 120%;    /* 画像の上に配置 */
  left: 5%;
  color: #1E90FF;
  text-align: left;
  font-size: 2.5vw;
  font-family: "Yomogi", cursive;
  font-weight: bold;
  text-shadow:
  #ffffff 2px 2px 4px,
  #ffffff 4px 4px 10px;

  z-index: 2;   /* 画像より前に表示 */
  background: rgba(255,255,255,0); /* 背景を透明にする */
}
    
}
header,.top{
    background-color: #ffffff;
}
.slideshow-fade {

  width: 100%;
  max-width: 100%;
  margin-top: 0%;
  overflow:hidden;
}

.slideshow-fade li {
  list-style: none;
  position: absolute;  /* 重ねて配置 */
  width: 100%;
  /*height: 100%;*/
  top: 0;
  left: 0;

}

.slideshow-fade li img {
  display: block;
  height: auto;
  top: 0;
  width: 100%;
}






.pic1{
    margin-top: 30px;
}
main{
    margin: 5% 0% 5% 0%;
}
.concept {
    margin: 70% 5% 5% 5%;
}
.concept p{
    color: #333333;
}
.concept h1{
    display: block;
  width: 100%;
  border-bottom: 6px solid;
  border-image: linear-gradient(to right, #0095d980 0%, #f3d95b80 100%);
  border-image-slice: 1;
}

.concept span {
  background: linear-gradient(90deg, #0095d980, #f3d95b80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  font-size: 2.5rem;
}
.concept h2{
    font-weight: bold;
    background-color: white;
    color: #1E90FF;
    margin-bottom: 0%;
}
.concept p{
    margin-top: 0%;
}
main{
   /* background-image: url(../images/afloimagemart_155838567.jpg);
    background-repeat: no-repeat;
    background-size: contain;*/
    background-color: #D8DEF2;
}

.shinryo h1{
    font-size: 3rem;
    color: #333333;
    margin: 5%;
}
main, footer{
    z-index: 10;
    position: relative;
}

/*診療１*/
.shinryo{
    margin-top: 0%;
}
.shinryo .shinryoannai .treat img{
    border-radius: 100px;
    box-shadow: 0 3px 4px rgba(18, 16, 16, 0.32);/*影*/
}
.shinryo .shinryoannai{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px 5%;
    justify-items: center;
}
.shinryo h2{
    margin: 5%;
    color: #333333;
    background-image: url(../images/スクリーンショット\ 2025-02-16\ 195717.png );
    background-repeat: no-repeat;
    background-size: 160px;
    background-position: center;
}

/*stage*/
.shinryo .stage img{
    text-align: center;
    margin: 5px;
    width: 130px;
    height: 110px;
    -webkit-transform: rotate(5deg); /* 回転 */
  -moz-transform: rotate(5deg);
  -ms-transform: rotate(52deg);
  transform: rotate(5deg);

}
.shinryo .stage {
    margin: 10%;
    border-radius: 10px;
    border: solid;
    border-color: #ffffff;
    background-color: #ffffff;
    box-shadow: 0 3px 4px rgba(18, 16, 16, 0.32);/*影*/
    -moz-transform: rotate(5deg);
  -ms-transform: rotate(5deg);
  transform: rotate(5deg);

}
.shinryo .stage:nth-child(8){
    -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  transform: rotate(-10deg);
  position: relative;
  top: -5px;

}
.shinryo .stage:nth-child(5n){
    -webkit-transform: rotate(-20deg);
  -moz-transform: rotate(-20deg);
  transform: rotate(-20deg);
    position: relative;
  top: 10px;
  left: 10px;
}
.shinryo .stage:nth-child(2n+1){
    -webkit-transform: rotate(20deg);
  -moz-transform: rotate(20deg);
  transform: rotate(20deg);
  position: relative;
  top: -10px;
  left: 30px;

}
.shinryo .stage:nth-child(2n+2){
    position: relative;
  top: -10px;
  left: 10px;

}
.shinryo a, .stage p{
    text-decoration: none;
}

.shinryo .life{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 5%;
    justify-items: center;
    margin-right: 5%;
}
.shinryo .life img{
    margin-bottom: 0%;
}
.shinryo .detail{
    color: #333333;
    text-align: center;
    font-size: 13px;
    margin: 2%;
}
.notice h1{
    font-size: 50px;
    color:#3565F2;
    margin: 5%;
}
.notice {
    border: solid 6px  ;
    border-color:  #ffffff;
    margin:5%;
    padding: 5%;
    background-color: #ffffff;
    border-radius: 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.32);/*影*/
}
.notice .part1{
    color:#3565F2;
    text-align: left;
    margin: 5%;
}
.notice .part1 img{
    width: 80px;
    height: 80px;
}
.notice a,p{
    color: #3565F2;
}
.notice .part2{
    color: #3565F2;
    text-align: left;
    margin: 5%;
    
}
.notice .part2 .text_date{
    color: #3565F2;
    margin-bottom: 0%;
}
.notice .part2 .text_date time{
    color: #333;
}
/*instagram*/
.instagram1 h1{
    text-align: center;
    color:#ececc6;
   font-size: 55px;
    margin: 5%;
}
.instagram1 .carousel{
    position: relative;
    overflow: hidden;
    max-width: 100%;
}
.instagram-introduce{
   margin-left: 3%;
   display: flex;
}
.instagram1 .carousel .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border-radius: 100%;
    border: none;
    color: white;
    cursor: pointer;
    padding: 20px;
    font-size: 24px;
}
.instagram-introduce img {
     width: 300px;
    height: 350px;
    margin-right: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.32);/*影*/
}


.instagram2{
    text-align: center;
    margin-top: 5%;
}
.instagram2 a{
    text-decoration: none;
    color: #333333;
    font-weight: bold;
    border: solid;
    border-color: #ececc6;
    background-color: #ececc6;
    border-radius: 50px;
    padding: 10px 50px ;
    box-shadow: 0 3px 4px rgba(18, 16, 16, 0.32);/*影*/
}
/*footer*/
footer{
    background-image: url(../images/afloimagemart_190365142.jpg);
    background-size: contain;
    
}
footer .fot{
    text-align: center;
    color: #F8B62D;
    border: solid;
    border-color: #fffaf0;
    background-color: #fffaf0;
    font-weight: bold;
    
}

footer .time{
    text-align: center;
    border: solid;
    border-radius: 70px;
    border-color:#fffaf0;
    margin: 5%;
    background-color: #fffaf0;
    padding: 0% 5% 5% 5%;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
}

footer h2{
    color: #333333;
    border-bottom: solid;
    border-color: #333333;
    margin: 5% 20% 5% 20%;
    text-align: center;
    margin: 5%;
}
footer .week{
    text-decoration:underline wavy #F8B62D;
}
footer .telefone{
    
    z-index: 10;
    position: relative; 
}
footer .telefone a{
    font-size: 30px;
    font-weight: bold;
    color: #F8B62D;
}

footer .apointment{
    color: #F8B62D;
    font-size: 18px;
    font-weight: bold;
}
footer .out{
    position: relative;
    display: flex; /* 親要素にflexboxレイアウトを適用 */
  justify-content: center; /* 横方向（左右）中央揃え */
  align-items: center; /* 縦方向（上下）中央揃え */
  /* 必要に応じて親要素の高さと幅を設定 */   
}




   
