@charset "utf-8";
/* {outline: 1px solid magenta;}*/
:root{
	--black: rgba(51,51,51,1);
    --gray: rgba(170,170,170,1);
    --dgray: rgba(131,131,131,1);
	--yellow: rgba(242,232,0,1);
	--blue: rgba(0,68,191,1);
    --back: rgba(240,240,240,1);
    --header-h: 0px;
    --red: #d30000;
}
* {
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-feature-settings: "palt";
    color: var(--black);
}
.serif{
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-weight: 400;
    color: var(--black);
}
:root { 
    --anchor-offset: 100px;
}
:where([id]) { 
    scroll-margin-top: var(--anchor-offset);
}
html {
    scroll-behavior: smooth;
}

p,dt,dd,tr,th,td,li,a,b,em,span,strong,div,img,header,section,article,nav,footer,h1,h2,h3,h4,h5,h6,button{
	font-size: clamp(14px, 1.2vw, 16px);
	line-height: 1.6;
}
small{
	font-size: clamp(11px, 1.1vw, 13px);
	line-height: 1.3;
}
li{
	line-height: 1.5;
}
p{
	line-height: 1.6;
	margin: 0 0 1em;
}
p:last-child{
	margin-bottom: 0;
}
body {
	position: relative;
	width: 100%;
}
.wrapper{
	width: 95%;
	margin-inline: auto !important;
}
.wrap{
	width: 95%;
	max-width: 1480px;
	margin-inline: auto !important;
}
.contents{
    background: #ffff;
    position: relative;
    margin-top: -5px;
    z-index: 2;
}
.link{
    display: block;
    overflow: hidden;
    transition: 0.3s all ease;
    position: relative;
}
.link:after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    transition: 0.3s all ease;
}
.link .linkimg{
    transition: 0.3s all ease;
}
.link:hover{
    filter: drop-shadow(0 3px 3px rgba(0,0,0,0.3));
}
.link:hover .linkimg{
    transform: scale(1.03, 1.03);
}
.link:hover:after{
    background: rgba(0,0,0,0.1);
}
.link.none{
    pointer-events: none;
}
.shadow{
	filter: drop-shadow(0 5px 5px rgba(0,0,0,0.3));
}
.page-h2{
    font-size: clamp(28px, 3vw, 48px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
}
.page-h2:before,
.page-h2:after{
    content: "";
    width: 3em;
    height: 1px;
    background: var(--black);
    margin: 0 5px;
}
.page-h3{
    font-size: clamp(21px, 2.1vw, 38px);
    margin-bottom: 0.3em;
    line-height: 1.2;
}
.arrow{
	position: relative;
	display: inline-block;
	padding: 0 0 0 16px;
	color: #000;
	vertical-align: middle;
	text-decoration: none;
	font-size: 15px;
    margin: 0 2px 2px;
    display: none;
}
.arrow::before,
.arrow::after{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}
.arrow:before{
	width: 14px;
	height: 15px;
	background: var(--gray);
}
.arrow:after{
	left: 6px;
	box-sizing: border-box;
	width: 3px;
	height: 3px;
	border: 3px solid transparent;
	border-left: 4px solid #fff;
}
.arrow:hover:before{
    background: var(--blue);
}
.support .arrow:before{
    background: #fff;
}
.support .arrow:after{
	border-left: 4px solid var(--gray);
}
@media (max-width: 680px){
    .page-h2:before,
    .page-h2:after{
        width: 2em;
    }
    .arrow{
        display: inline-block;
    }
}


/*HEADER*/
.header{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 7px solid var(--yellow);
    padding: 1em;
    background: #fff;
    z-index: 999999;
}
.header-title{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.header-h1{
    width: clamp(150px, 20vw, 160px);
    margin-right: 1em;
}
.header-h2{
    color: var(--blue);
    border: 1px solid var(--blue);
    padding: 0.3em 1em 0.2em;
    line-height: 1;
    font-size: clamp(16px, 1.2vw, 18px);
    margin-right: 1em;
}
.header-gnav{
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 5px;
}
.header-gnav a{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: var(--back);
    padding: 5px;
}
.header-gnav a span{
    display: block;
    width: 2em;
    height: 2em;
    background: #fff;
    padding: 5px;
    line-height: 0;
    margin-right: 5px;
}
.header-gnav a b{
    flex: 1;
    color: #000;
    line-height: 1.2;
    font-size: clamp(12px, 1.2vw, 15px);
}
.header-gnav a b br{
    display: none;
}
.header-gnav a:hover{
    background: var(--blue);
}
.header-gnav a:hover b{
    color: #fff;
}
.header-gnav a.clicked{
    background: var(--yellow);
}
.header-trigar{
    display: none;
}
@media screen and (max-width: 1280px) {
    .header-h2{
        padding: 0.3em 0.5em 0.2em;
    }
    /*
    .header-gnav{
        grid-template-columns: 8em 8em 8em 1fr 1fr 1fr;
    }*/
}
@media screen and (max-width: 1180px) {
    /*.header-gnav a:nth-child(n+4) b br{
        display: block;
    }*/
    .header-gnav a b br{
        display: block;
    }
}
@media screen and (max-width: 980px) {
    .header-h2{
        margin-right: 0;
    }
    .header-trigar{
        display: block;
        position: relative;
        cursor: pointer;
		width: 40px;
        height: 25px;
		margin-left: 1em;
        z-index: 1000;
    }
	.header-trigar span{
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--blue);
        transition: 0.3s ease;
	}
    .header-trigar.clicked span{
        background: #fff;
    }
    .header-trigar span:nth-of-type(1) {
        top: 0;
    }
    .header-trigar span:nth-of-type(2) {
        top: 11px;
        width: 80%;
        left: inherit;
        right: 0;
    }
    .header-trigar span:nth-of-type(3) {
        top: 22px;
        width: 60%;
        left: inherit;
        right: 0;
    }
    .header-trigar.clicked span:nth-of-type(1) {
        transform: rotate(405deg);
        top: 11px;
    }
    .header-trigar.clicked span:nth-of-type(2) {
        opacity: 0;
    }
    .header-trigar.clicked span:nth-of-type(3) {
        transform: rotate(-405deg);
        top: 11px;
        width: 100%;
    }
    .header-gnav{
        flex: inherit;
        width: 18em;
        height: 100vh;
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        background: var(--blue);
        padding: 70px 0;
        transition: 0.2s all;
    }
    .header-gnav.clicked{
        right: 0;
    }
    .header-gnav a{
        padding: 1em;
        background: rgba(255,255,255,0.1);
        margin-bottom: 2px;
    }
    .header-gnav a b{
        color: #fff;
        font-size: 16px;
    }
    .header-gnav a b br{
        display: none !important;
    }
    .header-gnav a.clicked b{
        color: var(--black);
    }
}

/*FOOTER*/
.fnav{
    position: sticky;
    bottom: 0;
    width: 680px;
    margin: 0 auto 3px;
    display: flex;
    justify-content: space-between;
    z-index: 999;
}
.fnav-a{
    background: var(--yellow);
    width: 33%;
    padding: 1em 0;
    text-align: center;
    color: var(--black);
    font-size: clamp(13px, 1.1vw, 15px);
}
.fnav-a br{
    display: none;
}
.fnav-a:hover{
    background: var(--blue);
    color: #fff;
}
.footer{
    background: var(--black);
    padding: 0 1em 2em;
}
.footer-address{
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 2em;
    width: 680px;
    margin: 0 auto 2em;
}
.footer-address address{
    display: inline-block;
    text-align: left;
    color: #fff;
}
.footer-address address a{
    color: #fff;
    padding: 0 0.5em;
}
.footer-address small{
    color: #fff;
}
.footer-sns{
    display: flex;
    justify-content: center;
    margin-top: 1em;
}
.footer-sns a{
    width: 2em;
    margin: 0 5px;
}
.footer-sns a:hover{
    opacity: 0.5;
}
.footer .copy{
    display: block;
    text-align: center;
    color: #fff;
    font-size: 12px;
}
.footer .copy a{
    width: 20em;
    display: block;
    text-align: center;
    color: #fff;
    margin: 1em auto;
    border: 1px solid #fff;
    padding: 0.5em 0;
    background: rgba(255,255,255,0.1);
}
.footer .copy a:hover{
    background: var(--yellow);
    color: #000;
}
@media screen and (max-width: 780px) {
    .fnav{
        width: 85%;
    }
    .fnav-a{
        width: 32.3%;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1.3;
    }
    .fnav-a br{
        display: block;
    }
    .footer-address{
        width: 100%;
    }
    .footer-address address{
        line-height: 1.8;
    }
    .footer-address small{
        display: block;
        margin-bottom: 0.5em;
    }
    .footer-address small + br{
        display: none;
    }
}

#totop{
    position: fixed;
    bottom: 1em;
    right: 1em;
    display: block;
    opacity: 0;
    z-index: 999999;
    transition: 0.3s all ease;
}
#totop:before{
    content: "";
    display: block;
    width: 0.5em;
    height: 0.5em;
    padding: 0.5em;
    border-top: 5px solid var(--blue);
    border-right: 5px solid var(--blue);
    transform: rotate(-45deg);
    transition: 0.3s all ease;
}
#totop:hover:before{
    border-top: 5px solid var(--yellow);
    border-right: 5px solid var(--yellow);
}
#totop.is-visible{
    opacity: 1;
}
@media screen and (max-width: 780px) {
    #totop:before{
        width: 0.2em;
        height: 0.2em;
    }
    #totop{
        right: 0.5em;
        bottom: 0.5em;
    }
}







