@charset "utf-8";

/*----reset----*/

 *, *::before,*::after {
    margin: 0;
    padding: 0;
    line-height: 150%;
    box-sizing: border-box;
}
ul{list-style: none;}
a{text-decoration: none;font-size: 1rem; color: #333;padding: 10px;border-radius: 6px;cursor : pointer;}
a:hover {background-color:rgba(0, 0, 0, 0.1);transition: 1s;}
p{font-size: 1rem;color: #333;}

/*----body----*/

html{
    font-size: 20px;
}
body{
    background-color: rgb(243, 243, 243);
    font-family:  'Noto Serif JP',serif;
    letter-spacing: 0.1em;
    color: #333;
    font-size: 1rem;
    line-height: 1.85;
    -webkit-font-smoothing:antialiased;
    -webkit-text-size-adjust: 100%;
    word-wrap: break-word;
}
h2{word-wrap: none;}
/*----function----*/

.top-button{
    width: 50px;
    height: 50px;
    position: fixed;
    z-index: 99;
    bottom: 20px;
    right: 20px;
    font-size: 0.8rem;
    letter-spacing: -1px;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.arrow{
    width: 0px;
    border-color: #d9534f;
    border-style: solid;
    border-width: 10px;
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
}
.first:first-letter {
    font-size: 2em;
    color: red;
  }
.red{color: red;}
.df{display: flex;justify-content: center;align-items: flex-end;flex-wrap: wrap;}



.swiper-container{
    width: 100%;
    height: 90vh;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}
.swiper-wrapper{
    width: 100%;
}
.swiper-slide {
    width: 100%;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.swiper-slide img{
    width: 100%;
max-width: 100%;
max-height: 100%;
align-self: center;
object-fit:cover;
}
/* ----header---- */

header{
    width: 250px;
    height: 100vh;
    min-height: 700px;
    padding: 50px 0;
    position: fixed;
    left: 0;
    z-index: 98;
    background-color: #fff;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
header div{
    width: 100%;
    display: flex;
    justify-content:space-between;
    align-items: center;    
}
header h1{
    font-size: 1.2rem;
    letter-spacing: 1rem;    
}
header span{
    display: flex;
    flex-flow: column;
}
.rogo{
    width: 80px;
}
.sns li{
    margin: 15px;
}
.sns img{
    width: 25px;
    height: 25px;
}

/* ----nav---- */

nav{
    width: 100%-250px;
    height: 10vh;
    margin-left: 250px;
    padding: 0 20px;
}
.nav{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.nav ul{
    display: flex;
    margin-right: 50px;
}
.nav a{
    margin: 0 8px;
}
.tel{
    display:flex;
    flex-flow: column;/*flexの縦表示*/
}
.tel p{
    display: flex;
    justify-content: center;
    font-size: 15px;
}
.tel h3{
    display: flex;
    justify-content: center;
    font-size: 1.2rem;
}

/* ----main---- */

main{
    width: 100%-250px;
    margin-left: 250px;    
}
main h2{
    display: flex;
    height: 10rem;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    margin-top: 60px;
    margin-bottom: 60px;
}
.top{
    width: 100%;
    height: 90vh;
    background-color: aqua;
}


.lead{
    width: 100%;
    height: 100vh;
    margin-top: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    background-image: url("../img/Mt_fuji.png");
    background-size: cover;
    color: #fff;
    /*margin-bottom: 15vh;*/
   
}
.lead h2{
    margin: 0;
    height: auto;
}
.lead p{
    line-height: 2.5;
    margin-right: 50px;
    color: #fff;
}
.menu{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;  
    margin-bottom: 20px; 
}
.kizi{
    display: flex;   
    flex-flow: column;
    width: 100%;
    height: 50vh;
}
.kizi img{
    display:flex;
    width: 50%;
    height: 50vh;
    object-fit:cover;
}

.menu-box{
    width: 50%;
    height: 40vh;
    display: flex;
    flex-flow: column;
    justify-content: center;   
}
.menu-box p,.menu-box h3{
    height: 30vh;
    display: flex;
    line-height: 2.5;
    margin: 10vh 15px;
}
.menu-box h3{
    font-size: 1.4rem;
}
.gyaku{
    flex-direction:column-reverse;
}
.infection{
    margin-top: 100px;
    padding-top: 10px;
    margin-bottom: 100px;
    
}
.infection h2{
    display: flex;
    justify-content: center;
    height: auto;
    margin-bottom: 50px;
    text-align: center;
}
.infection p{
    display: flex;
    justify-content: center;
    margin: 0 10px;
    margin-bottom: 20px;
}
.infection ul{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.infection li{
    display: flex;
    
   
}
.infection img{
    margin: 10px 10px;
}
.infection a{
   
    display: flex;
    justify-content: center;
    margin: 20px auto;
}

.news{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 50px;   
}
.news h2{
    margin-top: 0;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.news ul{
    margin-bottom: 100px;
    width: 100%;
    height:470px;
    margin: 0 20px;
   
 
    
}
.news a{
    display: flex;
    flex-flow: column;
    margin-left: 50px;
    margin-right: 50px;
}
.news h3{
    margin-left: 10px;
}
.access{
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-top: 10vh;
}
.access h2{
    margin-top: 0;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.access iframe{
    display: flex;
    margin: 0 auto;
    margin-bottom: 5vh;
}
.access a{
    display: flex;
    flex-flow: column;
    justify-content: center;
    margin-top: 20px;
    
}
.access h3{
    display: flex;
    justify-content: center;
    margin-top: 4vh;
    font-size: 2rem;
}
.eigyou{
    margin-top: 50px;
    width: 50%;

}
.eigyou p{
    margin: 5px auto;
    
    display: flex;
    justify-content: center;
    font-size: 2rem;
}
.triangle{
    height: 50px;
    width: 50px;
    margin: 0 auto;
  border-top: 50px solid #F0897F;
  border-right: 50px solid transparent;
  border-bottom: 0px solid transparent;
  border-left: 50px solid transparent;
}
.utikesi{
    text-decoration: line-through;
}
.senn {
    margin-bottom: 5px;
    margin-left: 20px;
    position: relative;
    padding: 0.25em 0;
  }
  .senn:after {
    content: "";
    display: block;
    height: 4px;
    background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
    background: linear-gradient(to right, rgb(230, 90, 90), transparent);
  }

  .inf{
    width: 600px;
    margin: 0 auto;
    text-align:left;
}
.inf h2{
    margin-top: 0;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* ----footre---- */

footer{
    width: 100%-250px;
    margin-top: 5vh;
    margin-left: 250px;
    padding-top: 20px;
    background-color: rgba(68, 68, 68, 0.4);
    
}
.footer{
    display: flex;
    justify-content: center;
    align-items: center;

}footer p{
    display: flex;
    justify-content: center;
    margin-top: 50px;
    font-size: 00.8rem;
}





/*1280px_css*/
@media screen and (max-width: 1280px){

header{
    display: none;
}
nav,main,footer{
    margin-left: 0px;
}

.swiper-container{

    height: auto;

}    
/*
body{
    margin-top: 100px;
}
*/





/*780px_css*/
@media screen and (max-width: 780px){


    html{
        font-size: 16px;
    }


    .nav{
        display: none;
    }
    main h2{
        display: flex;
        height: 10rem;
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .lead{
        height: 50vh;
    }
    .lead p{
        line-height: 2;
        margin-right: 10px;
    }
    
    .menu{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;   
    }
    .kizi{
        display: flex;
        align-items: center;   
        flex-flow: row nowrap;
        width: 100%;
        height: 100vh;
    }
    .kizi img{
        display:flex;
        width: 100%;
        height: 50vh;
        object-fit:cover;
    }
    
    .menu-box{
        width: 50%;
        height: 40vh;
        display: flex;
        flex-flow: column;
        justify-content: center;   
    }
    .menu-box p,.menu-box h3{
        height: 40vh;
        display: flex;
        line-height: 2.5;
        margin: 5vh 0px;
    }
    .menu-box h3{
        font-size: 1.2rem;
    }
    .gyaku{
        flex-direction:row;
    }
    .infection img{
        margin: 5px;
        width: 40%;
    }
    .infection li{
        display: flex;
        justify-content: center;
        
       
    }
    
