/*
Theme Name: demo1
Theme URI:
Description:
Author:
Tags:
Version: 0.6.1
*/

@charset "utf-8";

body {
    padding-bottom: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Zen Maru Gothic', sans-serif;
}

button {
    font-family: 'Zen Maru Gothic', sans-serif;
}

@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('fonts/ZenMaruGothic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('fonts/ZenMaruGothic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('fonts/ZenMaruGothic-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('fonts/ZenMaruGothic-Black.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


a,
p,
ul,
li,
h1,
h2,
h3,
h4,
h5,
div,
section,
figure {
    text-decoration: none;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #202020;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
}

a:hover {
    opacity: 0.7;
}

section {
    margin: 0;
}

.sp-nav,
.black-bg {
    position: fixed;
    right: -100%;
    display: none;
}

/* header */
header {
    position: fixed;
    top: 0;
    height: 80px;
    width: 100%;
    background-color: #E3251E;
    z-index: 2;
}

.header-box {
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

h1 a img {
    height: 30px;
}

.h1-link {
    color: #fff;
    position: relative;
    padding-left: 85px;
}

.h1-link::before {
    position: absolute;
    content: "";
    background-image: url(https://kodai.cloudfree.jp/test_wp/wp-content/uploads/2025/01/logo.png);
    background-size: cover;
    display: inline-block;
    width: 65px;
    height: 65px;
    bottom: -7px;
    left: 0;
}

.header-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.header-item {
    margin: 0 auto;
    width: 60px;
}

.header-item a {
    width: 60px;
}

.hamburger-ill,
.hamburger-sns-list {
    display: none;
}

.main-sec {
    width: 80%;
    margin: 0 0 0 20%;
    background-color: #FFFAF6;
}

.pc-sns-icon {
    display: block;
    width: 100%;
}

/* footer */
footer {
    padding: 20px 0 50px 0;
    background-color: #B31A14;
}

.footer-logo {
    margin: 0 auto;
    text-align: center;
}

.footer-logo a img {
    width: 50%;
    max-width: 300px;
}

.footer-tel {
    font-size: 30px;
    text-align: center;
    margin: 20px 0 30px;
    color: #fff;
}

.footer-tel a {
    color: #fff;
}

.copyright {
    font-size: 10px;
    text-align: center;
    color: #fff;
}

/* sidebar */
.wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
}

.side-menu-box {
    display: block;
    position: fixed;
    left: 0;
    top: 80px;
    height: 100%;
    width: 20%;
    background-color: #B31A14;
}

.side-menu-item a p {
    color: #fff;
    text-align: center;
    font-size: 20px;
    border-bottom: 0.1px solid;
    width: 65%;
    margin: 55px auto 5px auto;
}

.side-imgtxt-1,
.side-imgtxt-2,
.side-imgtxt-3,
.side-imgtxt-5 {
    width: 50%;
    max-width: 80px;
    margin: 0 auto;
}

.side-imgtxt-4 {
    width: 65%;
    max-width: 105px;
    margin: 0 auto;
}

.side-imgtxt-6 {
    width: 80%;
    margin: 0 auto;
}

.side-img-ill {
    width: 100%;
}

.last-side-menu-item {
    margin-top: 25px;
}

@media screen and (max-width: 768px) {
    .wrapper {
        display: block;
    }

    /* header */
    header {
        height: 60px;
    }

    .header-box {
        height: 60px;
        width: 95%;
    }

    h1 {
        margin: auto 0;
        display: flex;
        align-items: center;
    }

    .h1-link {
        font-size: 5.3vw;
        padding-left: 55px;
    }

    h1 a img {
        height: 25px;
        margin-bottom: 1px;
    }

    .h1-link::before {
        width: 45px;
        height: 45px;
        bottom: 2px;
    }

    .hamburger-ill,
    .hamburger-sns-list {
        display: block;
    }

    .side-imgtxt-1-sp,
    .side-imgtxt-2-sp,
    .side-imgtxt-3-sp,
    .side-imgtxt-5-sp {
        width: 30%;
        max-width: 100px;
        margin: 0 auto;
    }

    .side-imgtxt-4-sp {
        width: 38%;
        max-width: 125px;
        margin: 0 auto;
    }

    .side-imgtxt-6-sp {
        width: 20%;
        max-width: 70px;
        margin: 0 auto;
    }

    /* main */
    .main-sec {
        width: 100%;
        margin: 0 auto;
    }

    /* sidebar */
    .side-menu-box {
        display: none;
    }

    .side-menu-item a p::after {
        display: none;
    }

    /* footer */
    .footer-tel {
        font-size: 6vw;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        position: fixed;
        right: 15px;
        top: 15px;
        width: 50px;
        height: 40px;
        cursor: pointer;
        z-index: 300;
    }

    .hamburger__line {
        position: absolute;
        width: 40px;
        height: 2px;
        right: 0;
        background-color: #fff;
        transition: all 0.5s;
    }

    .hamburger__line--1 {
        top: 1px;
    }

    .hamburger__line--2 {
        top: 14px;
        width: 30px;
        right: 5px;
    }

    .hamburger__line--3 {
        top: 28px;
    }

    .open .hamburger__line--1 {
        transform: rotate(-45deg);
        top: 11px;
    }

    .open .hamburger__line--2 {
        opacity: 0;
    }

    .open .hamburger__line--3 {
        transform: rotate(45deg);
        top: 11px;
    }

    /* sp-nav */
    .sp-nav {
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: #B31A14;
        transition: all 0.5s;
        z-index: 200;
        overflow-y: auto;
        display: block;
    }

    .open .sp-nav {
        right: 0;
    }

    .black-bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 5;
        background-color: #000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s;
        cursor: pointer;
        z-index: 100;
    }

    .open .black-bg {
        opacity: 0.3;
        visibility: visible;
    }

    .side-menu-item a p {
        color: #fff;
        text-align: center;
        font-size: 24px;
        border-bottom: 0.1px solid;
        width: 70%;
        margin: 35px auto 0 auto;
    }

    .hamburger-sns-list {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .header-item {
        display: none;
    }

    .hamburger-sns-item {
        display: block;
        margin: 30px 0 0 0;
        width: 60px;
        z-index: 202;
    }

    .hamburger-ill {
        text-align: center;
        z-index: 201;
    }

    .hamburger-ill img {
        width: 75%;
        max-width: 350px;
        margin-top: 15px;
    }
}

@media screen and (max-width: 500px) {
    .h1-link::before {
        width: 45px;
        height: 45px;
        bottom: -6px;
    }

    h1 a img {
        height: 20px;
        margin-bottom: -2px;
    }
}

@media screen and (max-width: 360px) {
    h1 a img {
        height: 18px;
    }
}