﻿/* Navigation */
.flexbox{
    display: flex;
    width: 1fr;
}
.menu{
    width: 255px;
    height: 100vh;
    background-color: #fff;
}
.menu header{
    position: fixed;
    left: 0;
    top: 0;
}
.head__logo{
    width: 250px;
    margin: 100px auto 50px;
    text-align: center;
}
.navigation{
    width: 250px;
}
.nav__ul{
    margin: o;
    padding: 0;
}
.li__item{
    list-style-type: none;
    list-style-position: outside;
    font-size: 17px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1em;
}
.MenuEng{
    font-size: 0.8em;
}
.copy{
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 10px 20px;
    margin-top: 1fr;
}
.lts{
    font-size: 12px;
    line-height: 1.5em;
}
/* Main Space */
.main{
    flex: 1;
    position: relative;
	font-size:18px;
    border-left: 1px solid #666;
}
.main .center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.Tops{
    position: relative;/
}

.Tops p {
    position: absolute;
    color: white;
    font-weight: bold;
    font-size: 2em;
    font-family :Quicksand, sans-serif;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0;
    letter-spacing: 3px;
    text-shadow: 1px 1px 1px #000; 
}

/*Photo Change*/
.photo_img {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background:#fff;
    z-index:-1;
}

.photo_img li {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    -webkit-animation: anime 40s linear 0s infinite ;
    animation: anime 40s linear 0s infinite ;
}


.photo_img li:nth-child(1) { 
	background-image: url(../images/slide1.jpg);
}
.photo_img li:nth-child(2) {
	background-image: url(../images/slide2.jpg);
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}
.photo_img li:nth-child(3) {
	background-image: url(../images/slide3.jpg);
    -webkit-animation-delay: 20s;
    animation-delay: 20s;
}
.photo_img li:nth-child(4) {
	background-image: url(../images/slide4.jpg);
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}
@-webkit-keyframes anime { 
	0% {
	    -webkit-animation-timing-function: ease-in;
		opacity: 0;
	}
	10% {
	    -webkit-transform: scale(1.1);
		opacity: 1;
	}
	40% {
	    -webkit-transform: scale(1.2);
            -webkit-animation-timing-function: ease-out;
		opacity: 1;
	}
	50% {
	    -webkit-transform: scale(1.3);
		opacity: 0;
	}
	100% { opacity: 0 }
}
@keyframes anime { 
	0% {
	    animation-timing-function: ease-in;
		opacity: 0;
	}
	10% {
	    transform: scale(1.1);
		opacity: 1;
	}
	40% {
	    transform: scale(1.2);
            animation-timing-function: ease-out;
		opacity: 1;
	}
	50% {
	    transform: scale(1.3);
		opacity: 0;
	}
	100% { opacity: 0 }
}

/*MAIN*/
.mainframe{
    display: grid;
    grid-template-columns: 190px 1fr;
    grid-template-rows: 1fr;
}
.head{
    margin: 20px;
    width: 150px;
    height: 150px;
    background-color: #1e90ff;
    border-radius: 75px;
    font-size: 26px;
    font-weight: bold;
    color:#fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 1px 1px 1px #000; 
}
.contents{
    padding: 20px;
	width: 80%;
	margin: 0 auto 0 0;
}
.contents h2{
    margin-top: 30px;
}
.contents p{
	margin-top: 20px;
	margin-left: 25px;
	line-height: 1.5em;
}

.TopImage{
	width: 100%;
	height: 250px;
}

.ProFFF{
	width: 100%;
    margin: 20px 0 80px;
}

.ProFFF th{
	width: 150px;
	background: #DFF;
	font-weight: bold;
	padding: 7px 15px 3px;
	border: 1px solid #000;
}
.ProFFF td{
	padding: 7px 15px 3px;
	border: 1px solid #000;
}

.MojiBig{
	font-weight: bold;
}


.ProList{
	margin-left:40px;
	list-style-type: disc;
}

.Eng{
	color: #999;
    font-size: 0.9em;
}

.PriList{
    margin-left: 30px;
    margin-top: 40px;
    list-style-type: decimal;
    list-style-position: inside;
}

.PriList li{
    margin: 20px 0;
    padding: 0;
    line-height: 1.3em;
}

.PriList li p{
    text-indent: none;
    margin: 10px 0 0;
    padding-left: 2em;
    line-height: 1.5em;
}


.griditem {
	margin: 30px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 10px;
}

.item{
	text-align: center;
	font-size: 0.9em;
}

.item img{
	width:250px;
}


/*テーブル*/
.box01{
	margin: 30px 20px;
	width: 100%;
}
.box01 th{
	padding: 6px;
	background-color: #f0f8ff;
	text-align: center;
	color:red;
	border: 1px solid #333;
}
.box01 td{
	padding: 6px;
	background-color: #FFF;
	border: 1px solid #333;
}



.gridprof {
	margin: 30px 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 10px;
}

.prof{
	text-align: center;
	font-size: 0.9em;
}

.prof img{
	width:250px;
}

.foot{
    margin-top: 70px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9em;
}



/*LINK*/
a{
    color: #333;
    text-decoration: none;
}
a:hover{
    color: #bbb;
}


#page-top a {
    background-color: #1cb4d3;
    bottom: 0;
    color: #fff;
    padding: 20px;
    position: fixed;
    right: 0;
  }