﻿@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/*----- common -----*/

#wrap{
    font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
.font_bold{font-weight: 900;}
#loader{
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 9998;
    position: fixed;
    transition: ease 1.0s;
}
.loader.logo{
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.loader.logo::before,.loader.logo::after{
    content: "";
    width: 100%;
    height: 100%;
    position:absolute;
    top: 0;
    left: 0;
    background-color: #fff;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}
.loader.logo::before{
    animation-name: loader1;
	animation-duration: 0.5s;
    transform: translateX(0);
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}
.loader.logo::after{
    animation-name: loader2;
    animation-delay:1.0s;
	animation-duration: 0.3s;
    transform: translateX(100%);
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}
h1{
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    box-sizing: border-box; 
    z-index: 2;
    text-align: center;
}
h1 a{
    display: block;
    padding: 30px;
}
h1 img{max-width: 250px;}
header #header{position: relative;}
header #header #main_menu{justify-content: flex-end;width: 70%;margin-left: 30%;}
header #header #main_menu li a{
	display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
    align-items: center;
	flex-direction: row;
}
header #header #main_menu li a{padding: 10px 15px;box-sizing: border-box;} 
header #header #main_menu li a img{width: 32px;}
header #header #main_menu li:not(.page08_link) a span{transition: ease 0.3s;} 
header #header #main_menu li:not(.page08_link) a:hover span{transform: translateY(-3px);opacity: 0.5;}
header #header #main_menu li.page08_link a{transition: ease 0.3s;}
header #header #main_menu li.page08_link a:hover{opacity: 0.8;}
footer{
    background-position: center center;
    background-size: cover;
    position: relative;
}
footer::after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
footer #footer{
    position: relative;
    z-index: 2;
    padding: 50px;
    box-sizing: border-box;
}
footer #footer #map iframe{
    width: 80%;
    height: 500px;
    margin: 0 auto;
}
footer #footer #footer_txt .logo{
    width: 50%;
    max-width: 300px;
    margin: 0 auto;
}
footer #footer #footer_txt .sns_link li{
    width: 40px;
}
footer #copyright{position: relative;z-index: 2;}
#page-top{position: fixed;width: 54px;height: 54px;right: 0;bottom: 0;z-index: 97;cursor: pointer;font-size: 20px;box-shadow: 0,0,5px,rgba(0,0,0,0.5);}

.menu_bt{
    width: 30px;
    height: 26px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 50px;
}
.menu_bt span{
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    left: 0;
    transition: ease 0.3s;
}
.menu_bt span:nth-of-type(1){top: 50%;transform: translateY(-50%);}
.menu_bt span:nth-of-type(2){top: 0;}
.menu_bt span:nth-of-type(3){bottom: 0;}
.menu_bt.active span:nth-of-type(1){opacity: 0;}
.menu_bt.active span:nth-of-type(2){top: 50%;transform: translateY(-50%) rotate(45deg);}
.menu_bt.active span:nth-of-type(3){bottom: 50%;transform: translateY(50%) rotate(-45deg);}
.menu_bt.point_none{pointer-events: none;}
#main_nav{left: 0;height: 100%;z-index: 999;transform: translateX(-100%);transition: ease 0.3s;}
#main_nav.active{transform: translateX(0);}
#main_nav li{margin-bottom: 50px;line-height: 1;}
#main_nav li a span{display: block;font-weight: bold;font-size: 24px;}

#sc_menu {position: fixed;top: 0;left: 0;width: 100%;z-index: 999;transform: translateY(-100%);transition: ease 0.5s;}
#sc_menu.active {transform: translateY(0);}
#sc_menu .logo a{padding: 10px 20px;display: block;}
#sc_menu .logo img{max-width: 150px;}

#sc_menu li a{
	display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
    align-items: center;
	flex-direction: row;
}
#sc_menu li a{padding: 10px 15px;box-sizing: border-box;} 
#sc_menu li a img{width: 32px;}
#sc_menu li:not(.page08_link) a span{transition: ease 0.3s;} 
#sc_menu li:not(.page08_link) a:hover span{transform: translateY(-3px);opacity: 0.5;}
#sc_menu li.page08_link a{transition: ease 0.3s;}
#sc_menu li.page08_link a:hover{opacity: 0.8;}

/*----- index -----*/
#main_img{position: relative;}
#main_img #catch{
    width: 30%;
    min-width: 400px;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 50px;
    box-sizing: border-box;
}
#main_img #catch h2{
    position: absolute;
    top: 50px;
    left: 50px;
    border: 2px solid #fff;
    box-sizing: border-box;
    word-break: keep-all;
    letter-spacing: 5px;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(0,0,0,0.3);
}
#main_img #catch h2 span{padding: 10px 30px;}
#main_img #catch p{padding-top: 100px;}
#main_img .slick{margin-left: 20%;}
#main_img .slick .slick-arrow{display: none!important;}

#intro{
    background-image: url("../img/bg_line.png");
    background-position: center top;
    background-repeat: repeat;
    background-size: 128px auto;
    padding-bottom: 300px;
}
#intro .box_wrap .box{
    width: 45%;
}
#intro .box_wrap .box > div{
    background-color: rgba(255,255,255,0.9);
    width: 90%;
    margin-left: 10%;
    transform: translateY(-30px);
    box-sizing: border-box;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
#intro .box_wrap .box > div span{
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 40px 40px 0 0;
    position: absolute;
}
#contents_links{}
#contents_links .square_box{
    max-width: 400px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(-50%);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
#contents_links .square_box a{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    box-sizing: border-box;
	transition: ease 0.3s;
}
#contents_links .square_box a:hover{
	background-color:  rgba(0,0,0,0.2);
}
#contents_links .square_box a p{
    position: absolute;
    top: 5%;
    left: 5%;
    padding: 15px;
    line-height: 1;
}
#contents_links .square_box a h4{
    position: absolute;
    bottom: 5%;
    right: 5%;
    padding: 15px;
    line-height: 1;
}
#contents_links .square_box a::before{
    content: "";
    position: absolute;
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    border: 3px solid #fff;
    box-sizing: border-box;
	transition: ease 0.3s;
}
#contents_links .square_box a:hover::before{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
#contents{
    background-position: center center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
}
#contents .d_flex > div{
    position: relative;
    z-index: 3;
    padding: 100px;
}
#contents::before{
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
}
#contents::before{width: 100%;}
#contents .contents_txt{background-color: rgba(0,0,0,0.5);}
#contents .contents_txt > div{
    padding: 50px;
}
#contents .contents_txt h3{
    min-width: 80%;
    position: relative;
    transform: translate(10px,10px);
	opacity: 1!important;
}
#contents .contents_txt h3::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid #fff;
    box-sizing: border-box;
}
#contents .contents_txt h3 span,#contents .contents_txt h3::after{
	transition: ease 0.5s;
}
#contents .contents_txt h3.active span,#contents .contents_txt h3.active::after{
    transform: translate(-10px,-10px);
}

#top_cms .top_cms_box .top_cms_title p{transform: translateY(20px)}
#top_cms .top_cms_box .more a{padding: 5px;transition: ease 0.3s;}
#top_cms .top_cms_box .more a:hover{padding: 0px;}
#top_cms .top_cms_box .more a span{border: 2px solid #fff;padding: 10px 20px;transition: ease 0.3s;}
#top_cms .top_cms_box .more a:hover span{padding: 15px 25px;}
/*----- other -----*/
#page_title{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
#page_title::after{
    content: "";
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#page_title > div{
    position: relative;
    z-index: 2;
}
.pager li{margin: 0 20px;line-height: 1;}
.pager li a{padding: 20px;transition: ease 0.3s;display: block;}
.pager li:not(.prev) a{border: none;}
.pager li a:hover{opacity: 0.5;transform: translateY(-5px);}
.cate_list li a{transition:ease 0.3s;display: inline-block;}
.cate_list li a:hover{opacity: 0.5;transform: translateX(-5px);}
.cate_list li a::before{content: "・";}

#page07 .box:nth-of-type(odd){background-color: #fff;}
#page08 .contact_wrap > div .contact_box:nth-of-type(5) .input_box{margin-bottom: -10px;}
#page08 .contact_wrap .width_300{height: 80px;border: none;position: relative;cursor: pointer;}
#page08 .contact_wrap .width_300::after{content: "";position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);width: 280px;height: 60px;border: 2px solid #fff;z-index: 1;transition: ease 0.3s;}
#page08 .contact_wrap .width_300.disabled{opacity: 0.5;}
#page08 .contact_wrap .width_300:not(.disabled):hover::after{width: 300px;height: 80px;}
#page08 .contact_wrap .width_300 input{position: absolute;top: 0;left: 0;width: 100%;height: 100%;background-color: transparent;border: none;z-index: 2;cursor: pointer;line-height: 1;}
#page10 ul li a .sub_title,#page10 ul li a .title i{transition: ease 0.3s;}
#page10 ul li a:hover .sub_title{transform: translateX(5px);opacity: 0.5;}
#page10 ul li a:hover .title i{transform: translateX(5px);}

/*----- animation -----*/
.sc_anime.fadein.active{
	animation-name: fadein;
	animation-duration: 1.0s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}
.sc_anime.left_anime.active,#catch span.left_anime.active{
	animation-name: leftin;
	animation-duration: 1.0s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}
.sc_anime.right_anime.active,#page_title.active::after,#page_title > div.active{
	animation-name: rightin;
	animation-duration: 1.0s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
}

@keyframes fadein {
	0% {opacity:0;}
	100% {opacity:1;}
}
@keyframes leftin {
	0% {opacity:0;transform: translate(-100px,0);}
	100% {opacity:1;transform: translate(0,0);}
}
@keyframes rightin {
	0% {opacity:0;transform: translate(100px,0);}
	100% {opacity:1;transform: translate(0,0);}
}
@keyframes loader1{
	0% {transform: translateX(0)}
    100% {transform: translateX(-100%)}
}
@keyframes loader2{
	0% {transform: translateX(100%)}
    100% {transform: translateX(0)}
}
/* ---------- PC 1280px~ ---------- */
@media screen and (max-width: 1280px){
    h1{
        width: 25%;
    }
    h1 a{
        padding: 20px;
    }
    h1 img{max-width: 200px;}
    header #header #main_menu{width: 75%;margin-left: 25%;}
    header #header #main_menu li a{font-size: 14px;}
    #sc_menu .logo img{max-width: 100px;}
    #sc_menu li a{font-size: 13px;}
    #sc_menu li a{padding: 5px 8px;} 
    #sc_menu li a img{width: 24px;}
    
/*----- index -----*/
    #main_img #catch h2{font-size: 24px;}
}

/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
    #sub_menu li{margin-right: 14px;}
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
    /*----- common -----*/
    header{position: fixed;width: 100%;top: 0;left: 0;z-index: 999;}
    h1{
        position: static;
        width: 30%;
        margin: 0 auto;
    }
    h1 a{
        padding: 20px;
    }
    h1 img{max-width: 250px;}
    footer #footer #map iframe{
        width: 100%;
        height: 300px;
        margin: 0 auto 50px;
    }
    /*----- index -----*/
    #main_img{position: relative;}
    #main_img #catch{
        width: 80%;
        min-width: 400px;
        position: static;
        transform: translateY(-30px);
        padding-top: 0px!important;
    }
    #main_img #catch h2{
        position: static;
        word-break: break-all;
        transform: translateY(-30px);
    }
    #main_img #catch p{padding-top: 0px;}
    #main_img .slick{margin-left: 0;}
    #main_img .slick .slick-arrow{display: none!important;}
    #intro{padding-bottom: 200px;}
    #intro .box_wrap .box > div{
        transform: translateY(-30px);
        box-sizing: border-box;
        padding: 20px;
        position: relative;
    }
    #intro .box_wrap .box > div span{
        border-width: 20px 20px 0 0;
    }
    #contents .logo{height: 400px;}

    /*----- other -----*/
    .pager li:not(.prev) a{display: none;}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
/*----- common -----*/
    h1{
        width: 40%;
    }
    h1 a{
        padding: 15px 20px;
    }
    h1 img{max-width: 180px;}
    footer #footer{
        padding: 50px 30px 30px;
    }
    footer #footer #footer_txt .sns_link li{width: 30px;}
    .menu_bt{right: 30px;height: 22px;}
    #main_nav{left: 0;overflow: auto; z-index: 999;box-sizing: border-box;}
    #main_nav li{margin-bottom: 15px;line-height: 1;}
    #main_nav li a span{display: block;font-weight: bold;font-size: 16px;margin-bottom: 5px;padding: 10px;}
	#copyright{padding:0 40px;}
	#page-top{width: 42px;height: 42px;font-size: 16px;}
    /*----- index -----*/
    #main_img #catch{
        width: 100%;
    }
    #main_img #catch{
        padding: 30px;
        box-sizing: border-box;
        min-width: 300px;
    }
    #main_img #catch h2{letter-spacing: 2px;font-size: 20px;transform: translateY(-20px);}
    #main_img #catch h2 span{padding: 5px 10px;}
    #intro{padding-top: 50px;padding-bottom: 50px;}
    #contents_links{padding: 50px 0;}
    #contents_links .square_box{height: 250px!important;transform: translateY(0);}
    #contents .d_flex > div{
        position: relative;
        z-index: 3;
        padding: 30px;
    }
    #contents{background-position: top center;background-size: auto 70%;}
    #contents .logo{height: 200px;}
    #contents .contents_txt{background-color: rgba(0,0,0,0.5);}
    #contents .contents_txt > div{
        padding: 20px 0;
    }
    #contents .contents_txt h3{
        min-width: 100%;
        box-sizing: border-box;
    }
    #contents .contents_txt h3 span,#contents .contents_txt h3::after{
        transform: translate(-5px,-5px);
    }
    #top_cms .top_cms_box .more a{padding: 3px;transition: ease 0.3s;font-size: 14px;font-weight: normal;}
    #top_cms .top_cms_box .more a:hover{padding: 0px;}
    #top_cms .top_cms_box .more a span{border: 1px solid #fff;padding: 5px 10px;transition: ease 0.3s;}
    #top_cms .top_cms_box .more a:hover span{padding: 10px 15px;}

    /*----- other -----*/
    .pager li{margin: 0 10px;}
    .pager li a{padding: 10px 15px;}
    #page08 .contact_wrap .width_300{height: 80px;width: 240px;}
    #page08 .contact_wrap .width_300::after{width: 220px;height: 60px;border: 1px solid #fff;}
    #page08 .contact_wrap .width_300:hover::after{width: 240px;height: 60px;}
    #page10 ul li a .sub_title{padding: 0px 8px;}
}