
html,body{
      margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
    word-break: break-all;
}

figure{
    all: unset;
}

a{
    color: inherit;
    text-decoration: none;
}

body {
	-webkit-font-feature-settings: 'palt';
	font-feature-settings: 'palt';
    -webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    font-family: "Zen Old Mincho","Noto Sans JP", serif;
    background: url(./img/body_bg.png) repeat-y center center / 100%;
    background-color: #173155ba;
}

body.no-scroll {
    overflow: hidden;
}

img{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

section{
    padding: 6% 0;
}

section figure{
    display: block;
}

h1{
    margin: 0;
    font-size: 32px;
    line-height: 1.4;
}

h2,h3,h4{
    font-weight: 700;
}

h2{
    font-size: 36px;
}

h3{
    font-size: 26px;
}

p{
    font-size: 18px;
    line-height: 1.8;
}

#contents_wrapper{
    max-width: 1520px;
    margin: 0 auto;
    background: url(./img/content_bg.png) repeat-y center center / 100%;
}

.inner{
    padding: 0 6%;
}

.f{
    display: flex;
    flex-wrap: wrap;
}

.f .f_l,
.f .f_r{
    width: 48%;
}

.rel{
    position: relative;
}

.abs{
    position: absolute;
}


.btn a{
    background-color: #901d22;
    display: flex;
    align-items: center;
    padding: 10px 40px;
    color: #fff;
    position: relative;
}

.btn a:hover{
    opacity: 0.8;
    transition: all .3s;
}

.btn a::after{
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.btn a img{
    max-width: 30px;
    margin: 0 10px 0 0;
    vertical-align: middle;
}

/*header*/
header{
    position: fixed;
    margin: 0 auto;
max-width: 1520px;
    width: 100%;
    top: 0;
    z-index: 9999999;
    display: flex;
    justify-content: space-between;
}

header div#top{
    width: 100px;
    margin: 20px 0 0 20px;
    opacity: 0;
    pointer-events: none;
}


header div#top.show{
  opacity: 1;
  transition: all .3s;
  pointer-events: all;
}

header nav{
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 20px;
    border-radius: 50px;
}

header nav p{
    background-color: #947627;
    padding: 6px 40px 6px 20px;
    border-top: 2px solid #947627;
    border-bottom: 2px solid #947627;
    margin-right: -20px;
    border-radius: 50px 0 0 50px;
}

header nav ul{
    display: flex;
    color: #333;
}

header nav ul li{
    padding: 10px;
    background-color: #fff;
    border-top: 2px solid #947627;
    border-bottom: 2px solid #947627;
}

header nav ul li a{
    display: flex;
    gap: 0 6px;
    align-items: center;
}

header nav ul li a span{
    background-image: linear-gradient(#901d22, #901d22);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 0 1px;
    transition: background-size 0.3s;
}
header nav ul li a:hover span{
    background-position: bottom left;
    background-size: 100% 1px;
}

header nav ul li figure{
    width: 25px;
}

header nav ul li figure img{
    vertical-align: text-bottom;
}
header nav ul li span{
    width: calc(100% - 25px);
}

header nav ul li:first-child{

}

header nav ul li:nth-child(2){
    color: #901d22;
    border-radius: 50px 0 0 50px;
    padding: 10px 10px 10px 30px;
}

header nav ul li:nth-child(3){
    color: #b59219;
}
header nav ul li:nth-child(4){
    color: #004324;
}
header nav ul li:nth-child(5){
    color: #113087;
}
header nav ul li:nth-child(6){
    color: #a23c91;
    border-radius: 0 50px 50px 0;
    margin-right: 40px;
    padding: 10px 30px 10px 10px;
}
header nav ul li:last-child{
    border-left: 2px solid #947627;
    border-right: 2px solid #947627;
    border-radius:50px;
    padding: 10px 30px;
    font-weight: 700;
}
header nav ul li:nth-child(2) a span{
    background-image: linear-gradient(#901d22, #901d22);
}
header nav ul li:nth-child(3) a span{
    background-image: linear-gradient(#b59219, #b59219);
}
header nav ul li:nth-child(4) a span{
    background-image: linear-gradient(#004324, #004324);
}
header nav ul li:nth-child(5) a span{
    background-image: linear-gradient(#113087, #113087);
}
header nav ul li:nth-child(6) a span{
    background-image: linear-gradient(#a23c91, #a23c91);
}

header nav ul li:last-child:hover{
    background-color: #947627;
    color: #fff;
    transition: all .3s;
}


header .hamburger {
    display: none;
}

footer{
    background: url(./img/footer_bg.png) no-repeat center bottom / cover;
    color: #fff;
    padding: 4% 0;
}

footer p img{
    max-width: 25px;
    margin-right: 10px;
}

footer .f{
    display: flex;
    justify-content: space-between;
}

footer .f_l p{
    margin: 0 0 6px;
}

footer .f_l p:first-child{
    font-size: 28px;
}

footer .f_r ul{
    display: flex;
    gap: 0 20px;
}

footer .f_r ul li{
    max-width: 64px;
}

footer .f_r ul li a:hover{
    opacity: 0.8;
    transition: all .3s;
}

small.copyright{
    font-size: 12px;
    display: block;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

.pagetop-btn {
    width: 45px;
    height: 45px;
    border: solid 1px #113087;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    margin-right: 20px;
}

.pagetop-btn::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #113087;
    border-top: 2px solid #113087;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -25%) rotate(45deg);
}

.pagetop-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

#pagetop_wrapper {
    position: fixed;
    bottom: 20px;
    width: auto;
    right: 20px;
    display: flex;
    justify-content: flex-end;
    z-index: 9999;
}




.sp{display:none !important;}

@media print, screen and (min-width: 768px) and (max-width: 1279px){
    h1{
        font-size: 28px;
    }
h2 {
    font-size: 26px;
}

footer .f_l p:first-child {
    font-size: 24px;
}

footer .f_r ul{
    justify-content: flex-end;
}

footer .f_r ul li {
    max-width: 50px;
}


}

@media screen and (max-width: 1023px){
/*header*/
header{
    right: 0;
    width: 100%;
    background-color: #434f618a;
    padding: 0 0 10px;
}

header div#top{
    width: 60px;
        margin: 4px 0 0 4px;
}
header nav {
    position: fixed;
    flex-direction: column;
    align-items: flex-start;
    top: 0;
    inset: 0;
    background: #ddd1b0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    border-radius: 0;
    padding: 20% 4% 6%;
    justify-content: flex-start;
}

header nav p{
    margin: 0 0 10px;
    border-radius: 0;
    width: 100%;

}

header nav ul{
    flex-direction: column;
    gap: 10px 0;
    width: 100%;

}

header nav ul li{
    width: 100%;
    padding: 0;
    position: relative;
}

header nav ul li::after{
    content: '▼';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    right: 20px;
}

header nav ul li a{
    padding: 20px 10px;
}

header nav ul li a span,
header nav ul li:nth-child(2) a span,
header nav ul li:nth-child(3) a span,
header nav ul li:nth-child(4) a span,
header nav ul li:nth-child(5) a span,
header nav ul li:nth-child(6) a span{
    background: none;
}

header nav ul li:first-child,
header nav ul li:nth-child(5){
    border-radius: 0;
    padding: 0;
}
header nav ul li:last-child{
    padding: 0;
    text-align: center;
}

header nav ul li:last-child a{
    justify-content: center;
}

header nav.is-open {
    transform: translateX(0);
    overflow-y: scroll;
}

header .hamburger {
    display: block;
    background-color: #947627;
    position: fixed;
    top: 0;
    width: 60px;
    height: 60px;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    border-radius: 0 0 0 10px;
}

.hamburger span{
    position: absolute;
    width: 40px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

header .hamburger span:nth-child(1) { top: 20px; }
header .hamburger span:nth-child(2) { top: 30px; }
header .hamburger span:nth-child(3) { top: 40px; }

header .hamburger.is-open{
    background-color: #333;
}

header .hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg);
    top: 30px;
    left: 20%;
}

header .hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

header .hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 30px;
    left: 20%;
}
header nav ul li:first-child{
    color: #333;
}

header nav ul li:nth-child(2){
    color: #901d22;
            border-radius: 0;
        padding: 0;
}

header nav ul li:nth-child(3){
    color: #b59219;
}
header nav ul li:nth-child(4){
    color: #004324;
}
header nav ul li:nth-child(5){
    color: #113087;
}
header nav ul li:nth-child(6){
    color: #a23c91;
            border-radius: 0;
        padding: 0;
}


}

@media screen and (max-width: 767px){
.sp{display:block !important;}
.pc{display:none !important;}

section{
    padding: 12% 0;
}

.inner{
    padding: 0 4%;
}

.f .f_l, .f .f_r{
    width: 100%;
}

    h1{
        font-size: 24px;
    }

h2{
    font-size: 24px;
}

h3{
    font-size: 21px;
}

p{
    font-size: 16px;
}


footer{
    padding: 6% 0 12%;
}

footer .f{
    flex-direction: column-reverse;
    gap: 20px 0;
}

footer .f_r ul{
    justify-content: center;
}

footer .f_r ul li{
    max-width: 45px;
}

footer .f_l p{
    font-size: 15px;
}

footer .f_l p:first-child{
    font-size: 18px;
}

}