@charset "UTF-8";
/* CSS Document */

*{
	margin: 0;
	padding: 0;
}

section{
	width: 90%;
	margin: 0 auto;
	margin-bottom: 40px;
}

.rogo{
	text-align: center;
	background-color: #DCD5CB;
	width: 100%;
	height: 100%;
}

.rogo img{
	width: 50%;
	height: auto;
	margin-top: -60px;
	margin-bottom: 10px;
	
}

section h2{
	margin-bottom: 60px;
	text-align: center;
	color: #1F1F63;
	font-family: 'Playfair Display', serif;
}

a {
    text-decoration:none; 
	color: #1F1F63;
}

/*バナー*/

nav ul{
	display: flex;
}

nav li{
	list-style: none;
	width: 20%;
	text-align: center;
}

nav li a{
	display: block;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
	text-decoration: none;
}

nav li a:hover{
	color: wheat;
}

.banner{
	background-color: #A2A2AD;
	color: #1F1F63;
	font-size: 17px;
	padding-top: 25px;
	padding-bottom: 25px;
	width: 100%;
	font-family: 'Playfair Display', serif;
}


.wrap {
	display: flex;
	height: 340px;
	overflow: hidden;
}

.wrap div {
	width: 80%;
}

.slide{
	display: flex;
	animation: loop-slide 20s infinite linear 1s both;
}

.slide-size {
	width: 100%;
	margin-top: -40px;
}

.content {
	width: 400px;
	height: 200px;
}


.slide img{
	width: 100%;
}

@keyframes loop-slide {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-100%);
	}
}

body{
	background-color: #DCD5CB;
}

.word p{
    color: #1F1F63;
	letter-spacing: 5px;
	line-height: 30px;
	font-weight: 400;
}

.word{
	text-align: center;
	font-size: 16px;
	margin-top: 70px;
	margin-bottom: 70px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.menu{
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
}

.menu p{
	color: #1F1F63;
	letter-spacing: 2px;
	line-height: 25px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	margin-top: 10px;
	font-weight: 300;
}

.menu div{
	width: 100%;
	height: 70%;
	margin-bottom: 40px;
	text-align: center;
}

.menu img{
    aspect-ratio: 1 / 1;
    width: 70%;
	object-fit: cover;
	text-align: center;
}

.more{
	text-align: right;
	color: #1F1F63;
	font-family: 'Playfair Display', serif;
	margin-bottom: 30px;
	margin-top: -20px;
	position: relative;
	padding: 10px 40px 5px 20px;
	display: inline-block;
	text-decoration: none;
	outline: none;
}

.more::before,
.more::after {
	content: '';
	position:absolute;
    z-index:1;
    bottom:0;
    left:0;
	background:#1F1F63;
    width:100%;
    height:2px;
	transition:all 0.3s ease-in-out;
}

.more::after{
    width:0;
    background:#A2A2AD;
}

 /*hover時に100%に伸びる*/   
.more:hover::after {
    width:100%;
}

 /*矢印の設定*/   
.more span::after {
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top: 1.3em;
    right: 20px;
    /*矢印の形状*/   
    width: 5px;
    height: 5px;
    border-top: 1px solid #1F1F63;
    border-right: 1px solid #1F1F63;
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hover時に矢印が移動*/   
.more:hover span::after {
    right:10px;
}

body{
    vertical-align: baseline; 
    padding: 100px 0;
	text-align: right;
}


.staff p{
	font-size: 17px;
	color: #1F1F63;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.staff div{
	width: 100%;
	height: 70%;
	margin-bottom: 20px;
	margin-top: 20px;
	text-align: center;
}

.staff img{
	aspect-ratio: 1 / 1;
	width: 70%;
	text-align: center;
	object-fit: cover;
}

.staff-text {
	font-size: 12px;
	text-align: left;
	width: 80%;
	margin: 0 auto;
	letter-spacing: 3px;
	font-weight: 200;
	margin-bottom: 70px;
}

.p-name {
	font-size: 17px;
	font-weight: 700;
	margin-top: 30px;
	margin-bottom: 30px;
	line-height: 35px;
}

.photo{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
}

.photo div{
	width: 45%;
	margin-bottom: 25px;
}

.photo img{
    aspect-ratio: 1 / 1;
    width: 100%;
	object-fit: cover;
}

.insut {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
}

.insut p{
	color: #1F1F63;
	letter-spacing: 2px;
	line-height: 25px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 300;
	font-size: 13px;
}

.insut div {
	margin-bottom: 40px;
	text-align: center;
	vertical-align: top;
	}

.insut2 {
	width: 33%;
	margin-top: 20px;
}

.insut2 img {
	width: 53px;
}

.line {
	width: 33%;
	margin-top: 20px;
}

.line img {
	width: 53px;
}

.online {
	width: 33%;
	margin-top: 20px;
}

.online img {
	width: 53px;
}

.contact{
	text-align: center;
}

.contact p{
	font-size: 17px;
	color: #1F1F63;
	letter-spacing: 3px;
	text-align: center;
	line-height: 20px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.contact div{
	width: 90%;
	margin: 0 auto;
	margin-bottom: 20px;
	text-align: center;
}

table{
	width: 80%;
	font-size: 80%;
	border-collapse: collapse;
	color: #1F1F63;
	margin: auto;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	margin-top: 5px;
}

th{
	vertical-align: top;
	text-align: left;
	padding: 5px;
	width: 30%;
	border-bottom: solid 1px #A2A2Ad;
	color: #1F1F63;
}

td{
	vertical-align: top;
	text-align: left;
	padding: 5px;
	width: 70%;
	border-bottom: solid 1px #A2A2Ad;
	color: #1F1F63;
}


/*フッター*/
.footer{
	background-color: #A2A2AD;
	width: 100%;
	height: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer{
	text-align: center;
}

.footer img{
	width: 40%;
	text-align: center;
}

.footer{
	margin-bottom: -100px;
}


/*600px以上*/

@media screen and (min-width:600px) {
	
	section {
		margin-bottom: 90px;
	}
	
	.slide-size {
	margin-top: -90px;
}
	
	section h2{
	margin-bottom: 100px;
	text-align: center;
	color: #1F1F63;
	font-family: 'Playfair Display', serif;
	font-size: 30px;
}

.rogo img{
	width: 35%;
	height: auto;
	margin-top: -60px;
	margin-bottom: -30px;	
}
	
.banner{
	background-color: #A2A2AD;
	color: #1F1F63;
	font-size: 20px;
	padding-top: 25px;
	padding-bottom: 25px;
	width: 100%;
	font-family: 'Playfair Display', serif;
}
	
.word p{
    color: #1F1F63;
	letter-spacing: 8px;
	line-height: 40px;
	font-weight: 400;
}

.word{
	text-align: center;
	font-size: 20px;
	margin-top: 70px;
	margin-bottom: 70px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}
	
.menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
	max-width: 65%;
	margin: 0 auto;
}

.menu div {
	width: 45%;
	margin-bottom: 50px;
	text-align: center;
	vertical-align: top;
	}
	
.menu img {
		aspect-ratio: 1 / 1;
        width: 100%;
	    object-fit: cover;
		margin-right:10px;
	    vertical-align: middle;
		margin-bottom: 5px;
	}
	
.menu p{
	color: #1F1F63;
	letter-spacing: 2px;
	line-height: 25px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 300;
	font-size: 18px;
}
	
.more {
		font-size: 18px;
		max-width: 680px;
		margin-bottom: 5px;
	}
	
.more span {
		max-width: 680px;
	}
	
.staff {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		max-width: 680px;
		margin: 0 auto;
	}
	
.p-name {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 30px;
	margin-top: -10px;
	line-height: 35px;
}
	
.staff-text {
	font-size: 25px;
	text-align: left;
	width: 80%;
	margin: 0 auto;
	letter-spacing: 5px;
	font-weight: 200;
	line-height: 25px;
}
	
.staff div {
		max-width: 300px;
	    width: 45%;
	    text-align: center;
	    vertical-align: top;
	}
	
.staff img {
		aspect-ratio: 1 / 1;
        width: 100%;
	    object-fit: cover;
		margin-right:10px;
	    vertical-align: middle;
	}
	
	.photo {
		max-width: 65%;
		margin: 0 auto;
	}	
	
.photo div {
	    width: 45%;
	    text-align: center;
	    vertical-align: top;
	}
	
.photo img {
		aspect-ratio: 1 / 1;
        width: 100%;
	    object-fit: cover;
		margin-right:10px;
	    vertical-align: middle;
		margin-bottom: 25px;
	}
	
.insut {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
}

.insut p{
	color: #1F1F63;
	letter-spacing: 2px;
	line-height: 25px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 300;
	font-size: 17px;
	margin-top: 5px;
}

.insut div {
	text-align: center;
	vertical-align: top;
	margin-top: 90px;
	}

.insut2 {
	width: 33%;
	margin-top: 20px;
}

.insut2 img {
	width: 65px;
}

.line {
	width: 33%;
	margin-top: 20px;
}

.line img {
	width: 65px;
}

.online {
	width: 33%;
	margin-top: 20px;
}

.online img {
	width: 65px;
}

.contact {
        display: flex;
		flex-wrap: wrap;
	    justify-content: space-between;
		max-width: 680px;
		margin: 0 auto;
	}
	
.contact div{
		max-width: 300px;
	    width: 45%;
	    margin-bottom: 40px;
	    text-align: center;
	    vertical-align: top;
	}
	
.contact p{
	    font-size: 40px;
	    color: #1F1F63;
	    letter-spacing: 7px;
	    text-align: center;
	    line-height: 20px;
	    font-family: 'M PLUS Rounded 1c', sans-serif;
    }
	
table{
	width: 90%;
	height: 60%;
	font-size: 14px;
	border-collapse: collapse;
	color: #1F1F63;
	margin: auto;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	margin-top: 40px;
}

th{
	vertical-align: center;
	text-align: left;
	padding: 10px 25px;
	width: 40%;
	border-bottom: solid 1px #A2A2Ad;
	color: #1F1F63;
}

td{
	vertical-align: top;
	text-align: left;
	padding: 10px 20px;
	width: 90%;
	border-bottom: solid 1px #A2A2Ad;
	color: #1F1F63;
}
	
.footer {
		margin-top: -20px;
	}	
	
.footer img{
	width: 30%;
	text-align: center;
		margin-top: 1-px;
}
	
}





	
