@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&family=Sawarabi+Mincho&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sawarabi Mincho', serif;
}

.tel p ,nav a span{
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

img{
    width: 100%;
}

body{
    background-image: url(../images2/backimage2.jpg);
}

.wrapper{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

header{
    margin-bottom: 30px;
    text-align: center;
}

h1 ,nav{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

h1{
    width: 550px;
    padding-top: 30px;
    padding-bottom: 30px;
}

nav{
    margin-top: 20px;
}

nav ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

nav ul li{
    margin-right: 3em;
    writing-mode: vertical-rl;
}

nav ul li a{
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    transition: .3s;
    -webkit-transform: scale(1);
    transform: scale(1);
}

nav ul li a:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
nav ul .sns{
    display: flex;
}

.tel{
    position: fixed;
    right: 0;
    top: 0;
    text-decoration: none;
    border: 3px double;
    border-bottom: 0.1875em solid #5f1e19;
	background-color:#af352c;
	color: #fff;
	display: inline-block;
	padding: 0.6em 0.6em;
	margin: 0 0 1em;
	cursor: pointer;
	transition: all 0.3s ease 0s;
    z-index:10;
}

.tel p{
    font-size: 20px;
    writing-mode: vertical-rl;
    padding: 10px 0;
}

.tel:hover{
    border-bottom-color: transparent;
	transform: translateY(0.1875em);
}
.main-v{
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
}


.about{
    margin-top: 40px;
    margin-bottom: 40px;
}

#about1{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.a-inner{
    text-align: center;
    align-items: center;
}

.a-inner h2{
    font-size: 30px;
    display: inline-block;
    padding: 5px 10px;
    border-bottom: 2px dotted;
    margin-bottom: 30px;
}

.a-inner p{
    line-height: 2em;
    padding-bottom: 30px;
}
.reserve{
    justify-content: center;
}

.re1 ,.re2{
    display: column;
    align-items: center;
    justify-content: center;
}

.reserve img{
    width: 80px;
    background-color:#fff;
    border: #000 2px solid;
    padding: 15px;
    border-radius: 50px;
    margin-right: 30px;
}

.re2 img{
    margin-right: 0;
}
.reserve a{
    text-decoration: none;
}

.re1:hover{
    opacity: 0.7;
}

.re2:hover{
    opacity: 0.7;
}

.a-img{
    border-radius: 50px;
    opacity: 0.7;
}

.about ,.course{
    background-color: rgba(255, 255, 255, 0.6);
    width: 100%;
}

#about1 ,#menu1 ,#course1 ,#tenpo1{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
#about1{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.tenpo-img img{
    width: 400px;
    height: 500px;
}

.menu{
    margin-top: 60px;
}

#menu1{
    display: flex;
    justify-content: space-around;
}

.slide {
    position: relative;
    overflow: hidden;
    width: 450px;
    height: 350px;
  }

  .slide img {
    position: absolute;
    width: inherit;
    height: inherit;
    left: 100%;
    animation: slide-anime 25s ease infinite;
  }
  .slide img:nth-of-type(1) {animation-delay: 0s;}
  .slide img:nth-of-type(2) {animation-delay: 5s;}
  .slide img:nth-of-type(3) {animation-delay: 10s;}
  .slide img:nth-of-type(4) {animation-delay: 15s;}
  .slide img:nth-of-type(5) {animation-delay: 20s;}
   
  @keyframes slide-anime{
    0% {left: 100%;}
    2% {left: 0;}
    18% {left: 0;}
    20% {left: -100%;}
    100% {left: -100%;}
  }

.menu img{
    width: 450px;
    height: 350px;
}

#course1{
    padding-top: 30px;
    padding-bottom: 30px;
}

.c-inner{
    text-align: center;
}

h3{
    font-size: 30px;
    display: inline-block;
    border-bottom: 2px dotted;
    padding: 0 10px;
    margin-bottom: 30px;
}


.c-box ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.c-box li{
    margin-right: 20px;
    background-color:#fff;
}

.c-box{
    margin-bottom: 20px;
}

.menu p ,.c-box p{
    justify-content: center;
}

.m-inner p ,.c-inner p{
    line-height: 2em;
    margin-bottom: 1em;
}

.kasou{
    
    text-decoration: none;
    border:1px solid #000;
    border-bottom: 0.1875em solid #000;
	background-color: none;
	color: #000;
	display: inline-block;
	padding: 0.6em 3em;
	margin: 0 0 1em;
    margin-top: 20px;
	cursor: pointer;
	transition: all 0.3s ease 0s;
}

.kasou:hover{
    border-bottom-color: transparent;
	transform: translateY(0.1875em);
}

.c-box img{
    width: 300px;
    height: 250px;
}
.course{
    margin-top: 60px;
    margin-bottom: 50px;
}

footer{
    margin-top: 60px;
}

#tenpo1{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-bottom: 50px;
}

.t-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.t-table{
    margin-top: 30px;
}

.t-table tr{
    line-height: 2.5em;
    vertical-align: top;
}

.t-table th{
    width: 100px;
}

.m-inner{
    margin-top: 30px;
    margin-bottom: 50pxs;
    text-align: center;
}

footer{
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

#tenpo1{
    justify-content: space-between;
}

footer p{
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* responsive */
@media only screen and (max-width:900px){
    body{
        width: 100%;
        box-sizing: border-box;
    }

    .main-v img{
        width: 100%;
    }
    img{
        max-width: 100%;
        height: auto;
    }
    h1{
        width: 70%;
    }
    .tel p{
        font-size: 16px;
    }

    #about1{
        display: block;

    }
    .a-inner p{
        padding: 0 30px;
        margin-bottom: 20px;
    }

    .tenpo-img{
        display: flex ;
        justify-content:center;
        margin-top: 20px;
    }

    .tenpo-img img{
        width: 300px;
        height: 400px;
        
    }

    .reserve img{
        width: 65px;
    }

    #menu1{
        display: block;
    }

    #menu1 img{
        width: 450px;
        height: 300px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .c-box ul{
        display: block;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }

    .c-box li{
        background-color: #fff;
        padding:10px;
        margin-bottom: 10px;
    }

    #tenpo1{
            display: block;
        }
    .tenpo{
            margin-bottom: 10px;
        }

    .t-inner{
            margin-bottom: 20px;
        }
    .map{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    }


@media only screen and (max-width:450px){
    body{
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .main-v img{
        width:100%;
    }
    img{
        max-width: 100%;
        height: auto;
    }
    .main-v{
        padding-bottom: 0;
    }

    h1{
        width: 70%;
    }
    
    .tel p{
        font-size: 12px;
    }
    .tel{
        position: fixed;
        right: 0;
        top: 0;
        text-decoration: none;
        border: 3px double;
        border-bottom: 0.1875em solid #5f1e19;
        background-color:#af352c;
        color: #fff;
        display: inline-block;
        padding: 0.3em 0.3em;
        margin: 0 0 1em;
        cursor: pointer;
        transition: all 0.3s ease 0s;
        z-index:10;
        box-sizing:border-box;
    }

    nav{
        display: block;
    }

    nav ul{
        justify-content: center;
    }

    nav ul li{
        font-size: 12px;
        writing-mode: sideways-lr;
        margin-right: 2em;
    }

    #about1{
        display: block;

    }
    .a-inner p{
        padding: 0 30px;

    }
    .tenpo-img{
        display: flex ;
        justify-content:center;
        margin-top: 20px;
    }

    .tenpo-img img{
        width: 300px;
        height: 400px;
        
    }

    .reserve img{
        width: 65px;
    }

    #menu1{
        display: block;
    }

    #menu1 img{
        width: 450px;
        height: 300px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .slide{
        margin-left: 20px;
    }

    .c-box ul{
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .c-box li{
        background-color: #fff;
        padding:10px;
        margin-bottom: 10px;
        margin-right: 0px;;
    }

    #tenpo1{
        display: block;
    }
    .tenpo{
        margin-bottom: 10px;
    }

    .t-inner h3{
        margin-bottom: 0;
    }

    iframe {
        width: 100%;
        aspect-ratio: 16/9; 
      }
    
    .map{
        display: block;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    footer p{
        margin-bottom: 5px;
    }
}