﻿@charset "utf-8";


html    ,
body    ,
article ,
section ,
div     ,
h1      ,
h2      ,
h3      ,
h4      ,
h5      ,
dl      ,
dt      ,
dd      ,
ul      ,
ol      ,
li      ,
p {
	margin:0;
	padding:0;
	font-family:'Noto Sans JP', sans-serif, "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-size:16px;
	font-weight:300;
	font-feature-settings:"palt";
    letter-spacing:0.1em;
	color:#595656;
	border:none;}


html {
	overflow-y:scroll;colof
	margin-bottom:1px;
	height:100%;}


body {
	background:#f5f5f5;
	-webkit-text-size-adjust:100%;}


img {
	margin:0;
	padding:0;
	vertical-align:bottom;
	line-height:0;
	border:none;}


ul ,
ol {
	list-style:none;}

li {
	list-style-position:outside;}


table {
	border-collapse:collapse;}


th ,
td {
	padding:0;
	text-align:left;
	vertical-align:top;}


a {
	color:#595656;
	text-decoration:none;
	transition: .2s;}

p {
	text-align:justify;
	text-justify:inter-ideograph;}


::selection {
	background:#ffff9b;}

/* for Firefox */
::-moz-selection {
	background:#ffff9b;}



/* -------------------------------------------------- */

article {width:100%; min-width: 640px;}



/* header */

header {
    width:100%; min-width: 640px;
    display:flex; flex-flow:row wrap; justify-content:space-between; align-content:center; align-items:center;
}
header h1 {
    width:97%;
    padding:5px 0 5px 3%;
    font-size:0.9em;
    font-weight:normal;
    color:#fff;
    display:flex; flex-flow:row wrap; justify-content:flex-start; align-content:center; align-items:center;
    background:#969696;
}
header h1 img {
    max-height:18px;
    margin-right:8px;
}
header h2 {
    padding:30px;
    font-size:1.2em;
    font-weight:bold;
}


@media only screen and (max-width:1000px){

	header {
        display:flex; flex-flow:row wrap; justify-content:center; align-content:center; align-items:center;
    }
    header h2 {
        width:100%;
        padding:20px 0;
        font-size:1.5em;
        line-height:1.3;
        text-align:center;
    }
}



/* nav */

nav {
    padding: 0 20px;
}
nav ul {
    display:flex; flex-flow:row wrap; justify-content:center; align-content:stretch;
}
nav ul li {
    margin:0 5px;
}
nav ul li a {
    padding:3px 10px;
    transition: .3s;
    color:#fff;
    display: block;
    border-radius: 3px;
    background:#dc9c36;
}
nav ul li a:hover {
    background:#595656;
}

@media only screen and (max-width:1000px){

	nav {
        padding: 0 5px;
    }
    nav ul {
        width:88%;
        margin:0 auto 30px;
    }
    nav ul li {
        width:45%;
        margin:8px;
    }
    nav ul li a {
        padding:10px 0;
        font-weight: bold;
        text-align:center;
    }
}



/* footer */

footer {
    width:100%; min-width: 640px;
    margin:100px auto 0;
    padding:50px 0 0;
    border-top:solid 1px #ddd;
}
footer dl {
    margin: 0 auto 50px;
}
footer dl dt {
    padding:0 0 15px;
    font-size: 1.2em;
    font-weight:300;
    text-align:center;
}
footer dl dd {
    padding: 0 0 5px;
    text-align:center;
}
footer p {
    padding:5px 0 8px;
    font-size: 0.9em;
    color:#fff;
    text-align:center;
    background: #969696;
}

#login footer ,
#index footer {
    margin:0 auto;
}


/* ----------------------------------------
	PC
   ---------------------------------------- */

@media only screen and (min-width:641px){

	.sp { display:none;}

}



/* ----------------------------------------
	SP
   ---------------------------------------- */

@media only screen and (max-width:640px){

	.pc { display:none;}

}
