@charset "UTF-8";

:root{
    --topColor:#2b2a2a;
    --textColor:#000;
    --btnColor:#72521a;
    --hoverColor: #3f2c11;
    --shadowColor:#c3b073; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 10px;
}
body{
    background-image: url(../image/gbPc.jpg);
}
body,footer{
    font-size: 1.6em;
    line-height: 1.5;
    font-family: "Kiwi Maru", serif;
    color: var(--textColor);
}
.eng{
    font-family: "Comfortaa", sans-serif;
}
img{
    max-width: 100%;
} 
a{
    text-decoration: none;
}
main{padding: 0 5em;
}
h2{
    font-weight: normal;
}
h3{
    font-weight: normal;
    margin-bottom: 1em;
}
h4{
    font-weight: normal;
}

/***HEADER***/
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    padding: 1.5em 0;
    background-image:linear-gradient(0deg,transparent,#fff,80% ,#fff) ;
    transition: 0.5s;
}
header .nav{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}
header .logo img{
    width: 10em;
}
header ul{
    display: flex;
    gap: 1em;
    font-size: 1.5em;
    list-style: none;
}
header ul li a{
    color: var(--textColor);
}
header ul li a:hover{
    color: var(--btnColor);
}
#Hbg,
#Hbg+label {
    display: none;
}
/***MAIN***/
#NEWS{
    background: url(../image/topBgNews.jpg) no-repeat center bottom/cover;
    width: calc(100% + 10em);
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3em;
    margin-left: -5em;
    position: relative;
}
#NEWS h1{
    font-family: "Dancing Script", cursive;
    color: #fff;
    font-size: 6em;
    position: absolute;
    top: 35%;
    left: 75%;
    text-shadow:
    1px 1px 2px var(--textColor),
    0 0 1em var(--topColor),
    0 0 0.2em var(--topColor);
}
#newsMain{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

#newsMain ul{
    list-style: none;
    margin-bottom: 1.5em;
    line-height: 2.5em;
    font-size: 1.2em;
}
li>a{
    color: inherit;
}
aside:has(dl) {
	width: 22%;
	text-align: center;
    min-width: 250px;
}
aside dl {
	margin-bottom: 5em;
    background-color: var(--shadowColor);
    border-radius: 20px;
    padding: 1.5em;
}
aside dl dt {
	font-size: 1.5em;
	margin-bottom: .25em;
}
aside dl dd {
	border-bottom: 1px solid #998361;
}
aside dl dd a {
	display: block;
	padding: 1em 0;
    color: var(--btnColor);
}
aside dl dd a:hover {
	color: var(--hoverColor);
}



/***FOOTER***/
footer .logo{
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
}
footer .logo img{
    width: 10em;
}
footer .footerLink{
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
    border-top: 1px solid var(--hoverColor);
    padding-top: 1em;
}
footer .footerLink ul{
    list-style: none;
    width: 270px;
    display: flex;
    justify-content: space-between;
    gap:1.25em;
    }
footer .footerLink ul li{
    display: block;
    width: 80px;
    font-size: .6em;
}
footer .footerLink ul li a{
    color: #000;
}
.footer small{
    display: block;
    background-color: var(--btnColor);
    color: #fff;
    text-align: center;
    padding: 0.5em 0;
    font-size: .5em;
}
/***1220px以下***/
@media (max-width: 1220px) {
    .mailform table th {
        width: 33%;
        padding-right: 4%;
    }
}
/* **960px以下***/ 
@media (max-width: 960px) {
    .conceptSub .catch h3 {
        width: 100%;
        padding: 0 1em;
    }
    .btn{
        flex-flow: column;
        gap: 0;
        margin-top: 0;
    }
    .inner {
        margin: 5%;
    }
    #NEWS h1 {
        right: 11%;
        left: auto;
    }
    main {
        padding: 5%;
    }
    #Hbg+label {
    display: flex;
    align-items: center;
    width: 3em;
    aspect-ratio: 4/3;
    position: absolute;
    top: 2.25em;
    right: 1em;
    }
    #Hbg+label span,
    #Hbg+label::before,
    #Hbg+label::after{
    content: "";
    display: block;
    background: var(--textColor);
    width: 100%;
    height: 4px;
    transition: .5s;
    }
    #Hbg+label::before,
    #Hbg+label::after{
    position: absolute;
    }
    #Hbg+label::before{
    top: 0;
    }
    #Hbg+label::after{
    bottom: 0;
    }
    #Hbg:checked+label span {
    background: transparent;
    }
    #Hbg:checked+label::before{
    top: calc(50% - 2px);
    rotate: 45deg;
    }
    #Hbg:checked+label::after{
    bottom: calc(50% - 2px);
    rotate: -45deg;
    }
    body>header div nav ul {
    gap: 1.25em;
    font-size: 2em;
    padding: 1.5em 0;
    background: var(--hoverColor);
    opacity: .7;
    flex-flow: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 80%;
    left: 100%;
    transition: .5s;
    }
    body>header div nav ul li a {
    color: #fff;
    }
    #Hbg:checked~ul {
    left: 0;
    }
    footer .footerLink{
        max-width: 1000px;
        padding-top: 0.5em;
    }
    footer .logo img{
        width: 5em;
    }
    footer .footerLink ul{
        width: 120px;
        gap:1.5em 1em;
        }
    footer .footerLink ul li{
        width: 50px;
        font-size: .4em;
    }
    body {
        background-image: url(../image/gbSp.jpg);
    }
    main {
        padding: 0 2em;
    }
}
/***799px以下***/
@media (max-width: 799px) {
    #NEWS {
        background: url(../image/topBgNews_S.jpg) no-repeat center bottom/cover;
    }
    #NEWS h1 {
        right: 11%;
        left: auto;
    }
    #newsMain{
        flex-flow: column;
    }
    aside {
        flex-flow: column;
        width: 100% !important;
    }
    article header h2 {
        font-size: 1.5em;
    }
    aside dl {
        margin-top: 5em;
    }
    #newsMain ul {
        list-style: none;
        line-height: 1.5em;
        font-size: 1em;}
}
/***430px以下***/
@media (max-width: 430px) {
    footer .footerLink{
        max-width: 500px;
        padding-top: 0.2em;
    }
    footer .logo img{
        width: 3em;
    }
    footer .footerLink ul{
        justify-content: center;
        gap:0em 0.5em;
        }
    footer .footerLink ul li{
        width: 50px;
        font-size: .3em;
        text-align: center;
    }
    footer ul li img{
        height: 3em;
    }
    h3{
        font-size: 1.4em;
    }
}