@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Oswald:wght@400;500;700&display=swap');

/* ===== Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #3a2315;
    background-color: #b44b21;
    overflow-x: clip;
}
img,
svg,
video {
    max-width: 100%;
    vertical-align: bottom;
}
a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
a:hover {
    opacity: 0.75;
}
ul,
ol,
dl,
dd {
    margin: 0;
    padding: 0;
    list-style: none;
}
p {
    margin: 0;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
}

/* ===== Utility ===== */
.contents {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}
.text-center {
    text-align: center;
}
.pc { display: block !important; }
.sp { display: none !important; }
@media (max-width: 768px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

.fixed-corner-wave {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 200px;
    height: auto;
    z-index: 40;
    pointer-events: none;
}
@media (max-width: 768px) {
    .fixed-corner-wave {
        width: 100px;
    }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 50;
}
.nav-trigger {
    width: 62px;
    height: 62px;
    background: #b44b21;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    border: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.nav-trigger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff5dc;
    border-radius: 2px;
}
@media (max-width: 768px) {
    .header {
        top: 12px;
        right: 12px;
    }
    .nav-trigger {
        width: 50px;
        height: 50px;
        gap: 5px;
    }
    .nav-trigger span {
        width: 22px;
        height: 2.5px;
    }
}

/* ===== menu =====*/
.hmenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    background: #b44b21;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    padding: 30px 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.hmenu.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s;
}
body.is-hmenu-open {
    overflow: hidden;
}

.hmenu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    z-index: 5;
}
.hmenu-close::before,
.hmenu-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 3px;
    background: #fff5dc;
    transform-origin: center;
    border-radius: 2px;
}
.hmenu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.hmenu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hmenu-logo {
    text-align: center;
    margin: 10px auto 25px;
    flex: 0 0 auto;
}
.hmenu-logo img {
    width: 170px;
    max-width: 40vw;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hmenu-frame {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.hmenu-top,
.hmenu-bottom {
    flex: 0 0 auto;
    display: block;
    width: 100%;
    height: auto;
}
.hmenu-middle {
    flex: 1 1 auto;
    width: 100%;
    background-image: url('../imgs/menu/hmenu_roop.svg');
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
    position: relative;
    min-height: 200px;
    margin: -1px 0;
}
.hmenu-inner {
    width: 100%;
    height: 100%;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hmenu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.hmenu-list li {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid #fff5dc;
}
.hmenu-list li:nth-child(3n) {
    border-right: 0;
}
.hmenu-list li a {
    display: inline-block;
}
.hmenu-list li a img {
    height: 70px;
    width: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hmenu {
        padding: 20px 20px 30px;
    }
    .hmenu-close {
        top: 18px;
        right: 18px;
        width: 38px;
        height: 38px;
    }
    .hmenu-close::before,
    .hmenu-close::after {
        width: 30px;
    }
    .hmenu-logo {
        margin: 8px auto 20px;
    }
    .hmenu-logo img {
        width: 140px;
        max-width: 45vw;
    }
    .hmenu-frame {
        max-width: 100%;
    }
    .hmenu-middle {
        min-height: 400px;
    }
    .hmenu-inner {
        padding: 30px 20px;
    }
    /* SP = 縦1列 */
    .hmenu-list {
        grid-template-columns: 1fr;
        gap: 35px 0;
        max-width: 100%;
    }
    .hmenu-list li {
        padding: 0;
        border-right: 0;
    }
    .hmenu-list li a img {
        height: 55px;
    }
}

.frame {
    position: relative;
    background-color: #fff5dc;
    border-radius: 4px;
}
.frame::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2.5px solid #1e3a57;
    pointer-events: none;
    z-index: 1;
    border-radius: 2px;
}
.corner {
    position: absolute;
    width: 70px;
    height: auto;
    z-index: 3;
    pointer-events: none;
}
.corner-tl { top: 0px;    left: 0px; }
.corner-tr { top: 0px;    right: 0px; }
.corner-bl { bottom: 0px; left: 0px; }
.corner-br { bottom: 0px; right: 0px; }
@media (max-width: 768px) {
    .corner { width: 45px; }
}

/* ===== Section ===== */
section {
    padding: 60px 30px;
    position: relative;
}
section > .frame {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0 60px;
}
section > .frame > .contents {
    width: 100%;
    max-width: 1050px;
    padding: 0 60px;
}
@media (max-width: 768px) {
    section {
        padding: 30px 15px;
    }
    section > .frame {
        padding: 40px 15px;
    }
    section > .frame > .contents {
        padding: 0 15px;
    }
}

#kv,
#kv-media {
    padding: 0;
    background: #b44b21;
}

.titleimg {
    display: block;
    margin: 0 auto 40px;
    width: 280px;
    height: auto;
}
@media (max-width: 768px) {
    .titleimg {
        width: 55%;
        max-width: 220px;
        margin-bottom: 25px;
    }
}

/* ===== Footer =====*/
.footer {
    text-align: center;
    background: #fff5dc;
}
.footer-inner {
    background: #fff5dc;
    padding: 60px 20px;
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-logo img {
    width: 150px;
    height: auto;
}
.footer-host {
    font-size: 0.9em;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    color: #b44b21;
}
.footer-copy {
    font-size: 0.7em;
    font-weight: 500;
    color: #b44b21;
}

.footer-illust {
    width: 100%;
    line-height: 0;
}
.footer-illust img {
    width: 100%;
    height: auto;
}
.footer-illust-pc {
    display: block;
}
.footer-illust-sp {
    display: none;
}
@media (max-width: 768px) {
    .footer-illust-pc { display: none; }
    .footer-illust-sp { display: block; }

    .footer-logo img {
        width: 90px;
    }
    .footer-host {
        font-size: 0.85rem;
    }
    .footer-copy {
        font-size: 0.7rem;
    }
    .footer-inner {
        padding: 20px 20px 25px;
    }
}
