@charset "UTF-8";

* {
    font: unset;
    box-sizing: border-box;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
li {
    list-style: none;
}
img {
    vertical-align: top;
    width: 100%;
    height: 100%;
}


.nav-menu-box li a, .header-logo a, .footer-menu-box li a, .footer-logo a {
    text-decoration: none;
}
.side-navi>input {
    display: none;
}

.outline {
    width: 100%;
    min-width: 1250px;
    height: auto;
    background-image: url("../image/main/back-image.png");
    background-size: cover;
    background-position: center top;
    color: #222222;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

/* header start */
.header {
    padding-top: 24px;
}
.header-box {
    min-width: 1250px;
    height: 75px;
    background-color: #222222;
}
.header-logo {
    margin: 0 auto;
    padding: 15px 0 15px;
    width: 1250px;
    font-size: 40px;
    text-align: center;
}
.header-logo a {
    color: #EEEFEF;
}
.text-small {
    font-size: 30px;
}
.wrapper {
    margin: 35px auto;
    width: 1250px;
}
.side-bar {
    width: 310px;
    top: 0;
    position: sticky;
    float: left;
}
.side-navi {
    background-color: #EEEFEF;
}
.nav {
    padding: 20px 17px 40px;
    text-align: center;
}
.p-menu {
    margin-bottom: 17px;
    font-size: 30px;
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    font-style: normal;
}
.nav-menu-box {
    border-top: 2px solid #222222;
}
.nav-menu-box li{
    margin-top: 25px;
    width: 50%;
    font-size: 25px;
    float: left;
}
.nav-menu-box li a {
    color: #222222;
}
.nav-menu-box li a:hover {
    color: maroon;
}

/* main start */
.main {
    width: 900px;
    float: right;
}
.contents-box {
    padding: 32px 45px 65px;
    width: 100%;
    height: fit-content;
    background-color: #EEEFEF;
}
.contents-box:not(:first-child) {
    margin-top: 30px;
}
.contents-box2 {
    margin-top: 30px;
    padding: 45px 48px;
    width: 100%;
    height: fit-content;
    background-color: #EEEFEF;
}
.title-box {
    padding-bottom: 13px;
    border-bottom: 2px solid #222222;
    text-align: center;
    font-family: "Zen Old Mincho", serif;
    font-style: normal;
}
h2 {
    font-size: 20px;
    font-weight: 400; 
}
h2::before {
    content: attr(data-en);
    display: block;
    padding-bottom: 7px;
    font-size: 35px;
    font-weight: 900;
}
.detail-button {
    margin: 30px auto 0;
    width: 275px;
    border: 2px solid #222222;
    border-radius: 15px;
}
.detail-button:hover {
    border-color: maroon;
}
.detail-text {
    text-align: center;
    font-weight: 500;
}
.detail-text a {
    padding: 18px 0;
    display: block;
}
.detail-text a:hover {
    color: maroon;
}

/* footer start */
.footer {
    padding: 45px 0;
    min-width: 1250px;
    height: 325px;
    background-color: #222222;
}
.footer-logo {
    font-size: 40px;
    text-align: center;
}
.footer-logo a {
    color: #EEEFEF;
}
.footer-menu-box {
    margin: 0 auto;
    padding: 55px 0 95px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 700px;
}
.footer-menu-box li{
    font-size: 20px;
}
.footer-menu-box li a {
    color: #EEEFEF;
}
.footer-menu-box li a:hover {
    color: maroon;
}
.copyright {
    text-align: center;
    color: #EEEFEF;
}

/* fonts start */
.zen-antique-soft-regular {
  font-family: "Zen Antique Soft", serif;
  font-weight: 400;
  font-style: normal;
}

@media screen and (max-width:1200px) {
    .outline {
        min-width: 770px;
        font-size: 17px;
    }
    .header {
        padding-top: 22px;
    }
    .header-box {
        min-width: 770px;
        height: 73px;
    }
    .header-logo {
        width: 770px;
        font-size: 37px;
    }
    .text-small {
        font-size: 27px;
    }
    .wrapper {
        width: 770px;
        margin: 25px auto;
    }
    .side-bar {
        width: 220px;
    }
    .p-menu {
        margin-bottom: 12px;
        font-size: 26px;
    }
    .nav-menu-box li {
        font-size: 20px;
    }
    .main {
        width: 525px;
    }
    .contents-box {
        padding: 30px 40px 44px;
    }
    .contents-box:not(:first-child) {
        margin-top: 25px;
    }
    .contents-box2 {
        margin-top: 25px;
        padding: 36px 40px;
    }
    h2 {
        font-size: 17px;
    }
    h2::before {
        padding-bottom: 5px;
        font-size: 30px;
    }
    .detail-button {
        width: 230px;
    }
    .detail-text a {
        padding: 17px 0;
    }
    .footer {
        min-width: 770px;
    }
    .footer-logo {
        font-size: 37px;
    }
    .footer-menu-box {
        width: 600px;
    }
    .footer-menu-box li {
        font-size: 19px;
    }
    .footer-menu-box li:not(:first-child) {
        padding-left: 0;
    }
}

@media screen and (max-width:768px) {
    .outline {
        width: auto;
        min-width: 360px;
        font-size: 16px;
    }
    .side-bar, .main {
        float: none;
    }
    .header {
        padding-top: 20px;
    }
    .header-box {
        width: auto;
        height: 70px;
        min-width: 360px;
    }
    .header-logo {
        width: 360px;
        font-size: 33px;
    }
    .text-small {
        font-size: 25px;
    }
    .wrapper {
        margin: 22px auto;
        width: 360px;
    }
    .side-bar {
        width: 360px;
        position: static;
    }
    .side-navi>.input {
        width: fit-content;
        display: none;
    }
    .button {
        border: 2px solid #222222;
        border-radius: 50%;
        width: 70px;
        height: 70px;
        top: 20px;
        right: 7%;
        background-color: #EEEFEF;
        display: inline-block;
        position: fixed;
        z-index: 999;
    }
    label span {
        position: absolute;
        width: 36px;
        height: 2px;
        border-radius: 2px;
        left: 15px;
        background-color: #222222;
    }
    label span:nth-of-type(1) {
        top: 18px;
    }
    label span:nth-of-type(2) {
        top: 30px;
    }
    label span:nth-of-type(3) {
        bottom: 22px;
    }
    .input ~ label span {
        transform-origin: 0% 50%;
    }
    .input:checked ~ label span:nth-of-type(1) {
        opacity: 1;
        left: 20px;
        transform: rotate(45deg);
    }
    .input:checked ~ label span:nth-of-type(2) {
        opacity: 0;
    }
    .input:checked ~ label span:nth-of-type(3) {
        opacity: 1;
        bottom: 21px;
        left: 20px;
        transform: rotate(-45deg);
    }
    #menu {
        width: 100%;
        height: 100%;
        background-color: #222222;
        top: 0;
        right: 0;
        transform: translateX(100%);
        transition: all 0.5s;
        position: fixed;
        z-index: 888;
    }
    .side-navi>input:checked ~ #menu {
        transform: none;
    }
    .nav {
        padding: 100px 0 0;
    }
    .nav-menu-box {
        margin: 0 auto;
        width: fit-content;
        border-top: 2px solid #EEEFEF;
    }
    .p-menu {
        margin: 0 auto 10px;
        width: 360px;
        font-size: 27px;
        color: #EEEFEF;
    }
    .nav-menu-box li {
        width: 360px;
        font-size: 22px;
        text-align: center;
        float: none;
    }
    .nav-menu-box li a {
        color: #EEEFEF;
    }
    .main {
        margin: 22px auto 0;
        width: 360px;
    }
    .contents-box {
        padding: 30px 40px 42px;
    }
    .contents-box:not(:first-child) {
        margin-top: 22px;
    }
    .contents-box2 {
        margin-top: 22px;
        padding: 28px 26px;
    }
    h2 {
        font-size: 16px;
    }
    h2::before {
        font-size: 28px;
    }
    .detail-button {
        width: 200px;
    }
    .detail-text a {
        padding: 15px 0;
    }
    .footer {
        padding: 40px 0;
        width: auto;
        min-width: 360px;
        height: fit-content;
    }
    .footer-logo {
        font-size: 33px;
    }
    .footer-menu-box {
        padding: 50px 0 85px;
        width: 360px;
        flex-wrap: wrap;
        justify-content: space-around;
        align-content: space-between;
    }
    .footer-menu-box li {
        height: 36px;
        flex-basis: 33.3%;
        text-align: center;
        line-height: 1.6;
        font-size: 18px;
    }
    .footer-menu-box li:not(:first-child) {
        padding-left: 0;
    }

}