
/*全体の設定
---------------------------------------------------------------------------*/

html{
	scroll-behavior: smooth;
}
html,
body {
    height: 100%;
}
body {
    margin: 0px;
    padding: 0px;
    color: #333;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 2;
    background: #fff;
    -webkit-text-size-adjust: none;
}
a,
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure,
form {
	color: #666;
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    font-weight: normal;
}
ul {
    list-style-type: none;
}

img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
table {
    border-collapse: collapse;
    font-size: 100%;
    border-spacing: 0;
}
iframe {
    width: 100%;
}


a {
    transition: 0.3s;
}


/*header
---------------------------------------------------------------------------*/
.container{
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}



header{
	text-align: center;
}

.logo{
	width: 400px;
	margin: 40px auto;
}

.mainimg{
	border-radius: 10px;
	margin-bottom: 34px;
}


/* nav
---------------------------------------------------------------------------*/
nav{
	text-align: center;
	margin-bottom: 34px;
}

nav ul li{
	display: inline;
	list-style: none;	
	font-size: 17px;
}
nav li a{
	padding: 15px 30px;
	text-decoration: none;
}

nav li a:hover {
	border-bottom: 4px solid #d08047;
}

/* News
---------------------------------------------------------------------------*/



dl {
	padding: 0px 20px;	
	margin-bottom: 20px;	
}

dt {
	font-weight: bold;	
	float: left;
	width: 8em;
	/* margin-left:  20px; */
	text-align: center;
}

dd {
	padding-left: 8em;
}




/* contents
---------------------------------------------------------------------------*/

h2{
	color: #fff;
	background: #d08047;
	padding: 10px 20px;
	border-radius: 10px;
	font-size: 16px;
	margin-bottom: 20px;
}

section ul{
	margin-bottom: 20px;
	line-height: 2;
}

h3{
	margin-bottom: 20px;
	padding: 8px 20px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 10px;
	font-size: 16px;

}

p{
	padding:0 20px 20px ;
}


a:hover{
	color: #d08047;
}



/* footer
---------------------------------------------------------------------------*/

footer{
	font-size: 13px;
	text-align: center;
	padding: 30px 0 10px;
	margin-top: auto;
}

footer a{
	text-decoration: none;
}
.footer-under{
	font-size: 12px;
}



/* Aboutページ
---------------------------------------------------------------------------*/

/* table1
---------------------------------------------------------------------------*/
.table1 caption{
	border: 1px solid #999;
	border-bottom: none;
	text-align: left;
	background: #eee;
	font-weight: bold;
	padding: 10px;
}
.table1, .table1 th, .table1 td{
	border: 1px solid #999;
	padding: 10px;
	word-break: break-all;
}

.table1{
	table-layout: auto;
	width: 100%;
	margin: 0 auto 20px;
	color: #666;
}

.table1 th{
	width: 30%;
	text-align: center;
	border-right: 1px solid #999;;
}

/*galleryページ
---------------------------------------------------------------------------*/
.gallery{
	margin-bottom: 40px;
}

.list {
    border-bottom: 1px solid #ccc;
    padding: 20px;
    overflow: hidden;
    line-height: 1.5;
}


.list img {
    float: left;
    width: 20%;
    margin-right: 3%;
	border-radius: 3px;
}

.list h4 {
	color: #d08047;
	margin-bottom: 10px;
}

.list p {
    padding: 0 !important;
}

/*linkページ
---------------------------------------------------------------------------*/

.link img{
	width: 100%;
	margin: 0 auto;
}




/* その他装飾
---------------------------------------------------------------------------*/
.point{
	color: #d08047;
	font-weight: bold;
}

.shadow{
	border-radius: 4px;
	background: #E5E5E5;
	padding: 5px 10px;
}

.color1{
	color: #d08047;
}

.bold{
	font-weight: bold;
}

/*レスポンシブ
------------------------------------------------------------------------------------------------------------------------------------------------------*/


@media screen and (max-width: 639px) {
	body {
		font-size: 12px;	
		line-height: 1.5;	
	}

	nav ul li {
		display: block;	
		margin-bottom: 10px;
	}
	nav li a {
		padding: 8px 30px;	
	}

	.list {
		padding: 6px;	
	}
	.list img{
		margin-top: 3px;
	}
}