@charset "UTF-8";
@import url("grid.css");

/*モーダル*/
.modal_pop{
    width: 100vw;
    height: 100vh;
    position:fixed;
    top: 0;
    left:0;
    z-index:9997!important;
}
.bg{
    background-color: #1119;
    width: 100%;
    height: 100%;
    position:fixed;
    z-index:9998!important;
}
.modal_pop img{
    height:80vh;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index:9999!important;
}



img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
header img {
    width: auto;
    padding: 0;
}
a {
    display:inline;
    color: #666;
    text-decoration-line: none;
}
a:hover {
    color: #999;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}
b {
    color: #9be9ec;
    font-size: 600;
}
strong {
    color: #352daa;
}
figcaption {
    color: #FF6600;
    text-align: center;
}
.caution a{
    color: #352daa;
    text-align: center;
    font-weight: 600;
}
a:hover {
    background-color: #fcdaa8;
}

/*ヘッダー
-------------------------------------*/
header {
    position: fixed;
    width: 100%;
    z-index: 1;
    background: #052758;
}
header p {
    color:#9be9ec;
padding:0;
margin:0;
}
.header {
	display: flex;
    color: white;
    text-align: center;
    flex-direction: row;
    justify-content: space-around;
    padding: 1.2rem 0 1.2rem 0;
}
.header span{
	display: flex;
    color: white;
    text-align: center;
    flex-direction: row;
    justify-content: space-around;
    padding: 1.2rem 0 1.2rem 0;
}
.contact-button {
	padding: 0.2rem 1.0rem;
	border: 2px solid #000;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
    color: #ffffff;
    text-align: center;
}
nav li a {
    color: #ffffff;
    padding: 1rem 2rem;
    justify-content: center;
    text-align: center;
}
nav a:hover {
    color: white;
    background-color: #255291;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
    #open,#close {
        display: none !important;
    }
    #navi {
        display: block !important;
    }
}

@media screen and (max-width: 700px){
/* スマホ時の表示 */
.header {
    font-size: 1.5rem;
    height: 80px;
	flex-direction: column;
    margin-right: 60px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img{
    width: 100vw;
    padding: 0;
    margin-top: 106px;
}
@media screen and (max-width: 700px){
    /* スマホ時の表示 */
    .mainimg img {
        padding: 0;
        margin-top: 80px;
    }
}

/*メインコンテンツ
-------------------------------------*/
main {
    width: 100%;
    margin: 0 auto;
}
section {
    width: 75%;
    min-width: 1000px;
	margin: 0 auto;
	padding:  0 0 3.0rem;
    opacity: 0;
    transform : translate(0, 50px);
    transition : all 1500ms;
}
section.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

/*キャッチコピー
-------------------------------------*/
.catch {
    width: 70%;
    min-width: 360px;
    margin: 5.0rem auto;
    text-align: left;
}

/*アコーディオンメニュー
-------------------------------------*/
#acMenu {
    margin: 0 auto;
    text-align: left;
}
#acMenu dt{
    font-size: 2.0rem;
    font-weight: 400;
    padding: 1.5rem 2rem;
    margin: 0.5rem;
    color: #232323;
    background: #e8f1ff;
    border-left: solid 1rem #37359e;
    border-right: solid 1rem #37359e;
    cursor:pointer;
}
#acMenu dd{
    display:none;
    font-size: 1.5rem;
    margin: 0rem 0.5rem;
    padding: 2.5rem 5.0rem;
    background: #f8f8f8;
}
.ans {
    color: #a00303;
    font-size: 2.0rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
dd p {
    padding: 0 0 2.0rem;
    line-height: 2.0;
    text-align: left;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background: #272727;
}
.copyright a {
    color: #fff;
    text-decoration: none;
	display: inline;
}
.copyright p {
    color: #fff;
    text-decoration: none;
    text-align: center;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    color: #fff;
    background-color: #37359e;
    width: 80px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    color: #fff;
    background: #b8b8b8;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}
section {
    width: 95%;
    min-width: 400px;
}
}