@charset "UTF-8";
/* CSS Document */
:root{
    --font-en:bryant,sans-serif;
    --font-ja:fot-tsukuardgothic-std, sans-serif;
    --font-logotype:space-mono, sans-serif;
    --colorwh:#fff;
    --colorblack:#333;
    --colorglay:#666;
}
html {
    font-size: 62.5%; /* 16px * 62.5% = 10px */
    width: 100%;
    scroll-behavior: smooth;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
body {
    color: #666; /* RGB */
    font-family: "游ゴシック体",YuGothic, "游ゴシック", "Yu Gothic","A1 Gothic R","Hiragino Sans",Meiryo,"MS PGothic",sans-serif;
    font-size: 1.6em;    
    line-height: 2.4rem;
    text-align: center;
    animation: fadeIn 3s forwards;
}    
section h2 {
    font-family: bryant,"游ゴシック体",YuGothic, "游ゴシック", "Yu Gothic","A1 Gothic R","Hiragino Sans",Meiryo,"MS PGothic",sans-serif;
    font-size: 2.4rem;
}
a:hover {
    opacity: 0.5;
}
*, *:before, *:after {
    box-sizing: border-box;
}
/*header*/
.header {
    position: fixed;
    margin: 0 auto;
    width: 100%;
    height: 60px;
    background-color: #fff; 
    z-index: 3000;
}
.header-inner{
    position: fixed;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.logo img{
    width: 100px;
    height: 60px;
}
@media (min-width:600px) {
    .header{
        height: 75px;
    }
    .header-inner{
        width: 93%;
    }
    .logo img{
        width: 140px;
        height: 75px;
    }
}
@media (min-width:960px){
    .header-inner{
        width: 95%;
    }
}
.page_top_btn {  /*戻るボタン*/
    display: inline-block;
    position: fixed;
    bottom: 50px;
    right: 50px;
    padding: 0.7em;
    display: flex;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0.1px solid #999;
    background: rgb(255, 255, 255);
    color: #666;
    transition: 0.3s;
    opacity: 0.5;
    text-decoration: none;
    z-index: 1000;
    transform: rotate(-90deg);
}
  /* マウスオーバー時 */
.page_top_btn:hover {
    background: #e2e2e2;
    color: #666;
    opacity: 1;
}
/*navigation*/
#g-nav{
    position:fixed;
    z-index: 999;
	top:-120%;
    left:0;
	width:100vw;
    height: 100vh;
	background:#fff;
	transition: all 0.6s;
}
#g-nav.panelactive{
    top: 0;
}
#g-nav ul {
    position: absolute;
    left:50%;
    top:10%;
    transform: translate(-50%,0%);
    z-index: 999;
}
#g-nav li{
    width: 375px;
	list-style: none;
    text-align: center; 
}

#g-nav li a{
    width: 100%;
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	letter-spacing: 0.1em;
    font-size: 2.7rem;
	font-family: bryant,sans-serif;
    padding-top:40px;
}
#g-nav li a span{
    transform: translate(20%);
	font-size: 1.4rem;
    line-height: 3.0rem;
    padding-top: 30px;
}
@media (min-width:960px) {
    #g-nav{
        width: 620px;
        height: 95vh;
        margin: 0 auto;
        left: initial;
        right: 10%;
        border-radius: 20px;
        box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
    }
    #g-nav ul {
        position: absolute;
        left:50%;
        top: 50%;
        transform: translate(-35%,-50%);
    }
    #g-nav ul br{
        display: none;
    }
    #g-nav ul li{
        width: 600px;
        text-align: left;
    }
    #g-nav ul li a{
        font-size: 3.0rem;
    }
    #g-nav ul li span{
        padding-left: 50px;
        font-size: 1.8rem;
        letter-spacing: initial;
    }
}
/*========= ボタンのためのCSS ===============*/
.open-button{
	position:-webkit-fixed;
    z-index: 9999;
	top:14px;
	right: 0%;
	cursor: pointer;
    width: 45px;
    height:40px;
}
/*×に変化*/	
.open-button span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    right: 11px;
    height: 1px;
    border-radius: 2px;
	background-color: #666;
    width: 35px;
}
.open-button span:nth-of-type(1) {
	top:23px;	
}
.open-button span:nth-of-type(2) {
	top:33px;
}
.open-button.active span:nth-of-type(1) {
    top: 23px;
    right: 10px;
    transform: translateY(6px) rotate(-45deg);
    width: 45px;
}
.open-button.active span:nth-of-type(2){
    top: 35px;
    right: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 45px;
}
@media (min-width:960px) {
    .open-button{
        border: .5px solid #999;
        position: absolute;
        top: 20px;
    }
    .open-button span:nth-of-type(1) {
        top:13px;	
    }
    .open-button span:nth-of-type(2) {
        top:24px;
    }
    .open-button.active{
        border: none;
    }
    .open-button span{
        width: 30px;
        display: inline-block;
        transition: all .4s;
        position: absolute;
        right: 7px;
        height: 1px;
        border-radius: 2px;
        background-color: #888;
    }
    .open-button.active span:nth-of-type(1) {
        top: 13px;
        right: 10px;
        transform: translateY(6px) rotate(-45deg);
        width: 35px;
    }
    .open-button.active span:nth-of-type(2){
        top: 24px;
        right: 10px;
        transform: translateY(-6px) rotate(45deg);
        width: 35px;
    }
}
.scroll-up {
    opacity: 0; 
    visibility: hidden;
    transform: translateY(50px);
    transition: all 1s;
}
.scroll-up.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}
/*footer*/
.footer {
    margin-top: 0px;
    padding: 50px 0;
    font-size: 1.4rem;
    position: relative;
    background-color: #fff;
}
.footer-content-wrapper {
    margin: 0 auto;
    width: 84%;
    max-width: 350px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    background-color: #E7F0F5;
    position: relative;
}
.footer img{
    width: 90%;
    height: 90%;
    padding-top: 20px;
}
.footer-content-wrapper h2{
    position: absolute;
    top: 30%;
    right: 20%;
    color: #fff;
    font-size: 2.0rem;
    font-family: bryant,sans-serif;
    font-weight: 200;
}
.footer-btn-wrapper{
    margin: 0 auto;
    width: 270px;
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%,0);
    display: flex;
    justify-content: space-between;
}
.btn1,.btn2 {
    padding: 10px 10px;
    background-color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.3rem;
    font-family: var(--font-ja);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #666;
    position: relative;
	overflow: hidden;
    transition: ease .2s;
}
.btn2 img{
    opacity: 0.6;
    width: 18px;
    height: 18px;
    padding-top: 0px;
    margin-bottom: 3px;
    vertical-align: bottom;
}
.btn1 span,.btn2 span{
    position: relative;
    z-index: 3;
    color: #666;
}
.btn2 span{
    padding-left: 5px;
}
.btn1:hover span,.btn2:hover span{
    color: #fff;
}
.bgcenterx:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background: #999;
	width: 100%;
	height: 100%;
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(0, 1);
	transform-origin: right top;
}
.bgcenterx:hover:before{
	transform-origin: left top;
    transform: scale(1,1);
}
.footer__copylight {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}
@media (min-width:600px) {
    .footer-content-wrapper{
        width: 93%;
        max-width: 708px;
    }
    .footer-content-wrapper h2{
        font-size: 3.6rem;
    }
    .footer-btn-wrapper{
        width: 450px;
        top: 70%;
    }
    .btn1,.btn2 {
        padding: 15px 15px;
        border-radius: 15px;
        font-size: 2.0rem;
    }
    .bgcenterx:before {
        border-radius: 15px;
    }
    .btn2 img{
        width: 24px;
        height: 24px;
        vertical-align:bottom;
    }
}

@media (min-width:960px) {
    .footer-content-wrapper{
        width: 76.3%;
        max-width: 1100px;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        padding-bottom: 0px;
        padding: 30px 100px;
    }
    .footer-content-wrapper h2{
        position: absolute;
        top: 20%;
        left: 50%;
        font-size: 4.0rem;
        color: #666;
    }
    .footer picture{
        width: 43%;
        height: auto;
        padding:30px 0;
    }
    .footer-content{
        width: 375px;
    }
    .footer-content-wrapper h2{
        margin-bottom: 10px;
        padding-left: 80px;
        position: absolute;
        left: 60%;
        right: 0%;
        top: 23%;
        transform: translate(-60%,0%);
        font-size: min(2.7vw,4.0rem);
    }
    .footer-btn-wrapper{
        display: block;
        width: auto;
        padding-top: 10px;
        padding-left: 50px;
        position: absolute;
        left: 66%;
        right: 0%;
        top: 35%;
        transform: translate(-66%,0%,0%);
    }
    .btn1 {
        display: block;
        margin-bottom: 7%;
        margin-left: 0;
        font-size: min(1.38vw,1.8rem);
        padding: 10px 30px;
    }
    .btn2{
        display:block;
        padding: 10px 20px;
        font-size: min(1.38vw,1.8rem);
    }
    .btn2 img{
        opacity: 0.8;
        width: 23px;
        height: 23px;
        padding: 0 0;
        margin-right: 20px;
        vertical-align:middle;
    }
    .footer__copylight{
        font-size: 13px;
    }
}
