/* グローバルスタイル */
* {
    margin: 0;
    padding: 0;
}

.font-gothic {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.font-mincho {
    font-family: "Zen Mincho", serif;
}

.font-playfair {
    font-family: "Playfair Display", serif;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

/* ページタイトル */
.page-top {
    width: 100%;

    .page-top-area {
        width: 100%;
        max-width: 1180px;
        margin: 0 auto;
        margin-top: 150px;
        display: flex;
        gap: 20px;
        align-items: center;

        .page-title-area {

            /* フォントサイズ64→30 */
            .page-title {
                color: #454545;
                font-size: 30px;
            }

            /* フォントサイズ24→15 */
            .page-sub-title {
                text-align: center;
                font-size: 15px;
            }
        }

        .page-top-line {
            border-bottom: #8C0404 solid 3px;
            width: 100%;
        }
    }
}

/* ヘッダースタイル */
header {

    /* pc用 */
    .pc-ver {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        background-color: #8C0404;

        .header-logo {
            a {
                color: #fff;

                img {
                    height: 20px;
                }
            }
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 20px;
            font-size: .8em;

            li {


                p {
                    color: #fff;
                }

                .contact-nav {
                    color: #fff;
                }
            }
        }
    }

    /* モバイル用 */
    .phone-ver {
        display: none;
        background-color: #8C0404;

        .phone-ver-area {
            display: flex;
            justify-content: space-between;

            .header-logo {
                a {
                    color: #fff;
                }
            }

            .hamburger {
                width: 40px;
                height: 32px;
                position: relative;

                button {
                    .hamburger-bar {
                        display: block;
                        width: 100%;
                        height: 4px;
                        right: 0;
                        position: absolute;
                        background: #000;
                    }

                    .hamburger-bar:nth-child(1) {
                        top: 0;
                    }

                    .hamburger-bar:nth-child(2) {
                        top: 10px;
                    }

                    .hamburger-bar:nth-child(3) {
                        top: 20px;
                    }
                }
            }
        }
    }

}

.custom-header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1111111;
}

.header-pc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #8C0404;
    padding: 15px 40px;
}

.logo-area {
    width: 149px;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* モバイル */
.header-mobile {
    display: none;
}

@media screen and (max-width: 1024px) {
    .header-pc {
        display: none;
    }

    .header-mobile {
        display: block;
    }

    .mobile-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #8C0404;
        padding: 12px 16px;
    }

    .logo-area-small {
        width: 150px;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .logo-area-small .logo-img {
        width: 100%;
        height: auto;
        display: block;
    }

    .menu-btn {
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .hamburger {
        width: 24px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .line {
        width: 100%;
        height: 2px;
        background-color: white;
        transition: 0.3s ease;
    }

    .hamburger.active .line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        background-color: #8C0404;
        z-index: 50;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .mobile-menu.active {
        opacity: 1;
        transform: translateX(0);
    }

    .close-area {
        display: flex;
        justify-content: flex-end;
        padding: 16px;
    }

    .close-icon {
        position: relative;
        width: 24px;
        height: 24px;
    }

    .close-icon span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 24px;
        height: 2px;
        background-color: white;
        transform-origin: center;
    }

    .close-icon span:first-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .close-icon span:last-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .mobile-nav ul {
        padding: 32px;
        list-style: none;
        text-align: center;
    }

    .mobile-nav li {
        margin-bottom: 24px;
    }

    .mobile-nav a {
        color: white;
        font-size: 1.25rem;
        text-decoration: none;
        transition: opacity 0.3s;
    }

    .mobile-nav a:hover {
        opacity: 0.8;
    }
}


/* コンタクトナビ */
.contact-nav-area {
    width: 70%;
    margin: 0 auto;
    margin-top: 180px;
    background-color: #F7DDDD;

    .contact-nav {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        padding: 40px;

        .contact-nav-title-area {
            border-bottom: #666666 solid 1px;
            width: 70%;
            margin: 0 auto;

            .contact-nav-title {
                h3 {
                    font-size: 20px;
                    letter-spacing: 10px
                }
            }

            .contact-nav-sub-title {
                padding-bottom: 30px;
                font-size: 15px;

                p {
                    color: #666666;
                }
            }
        }

        .contact-nav-link {
            width: 40%;
            margin: 0 auto;
            margin-top: 30px;
            padding: 10px;
            background-color: #8C0404;

            a {
                color: #fff;
            }
        }
    }
}

/* フッター */
footer {
    background-color: #EFEFEF;
    width: 100%;
    margin-top: 100px;

    .footer-content {
        padding: 30px 0;
        width: 65%;
        margin: 0 auto;

        .footer-content-area {
            .company-detail-area {
                display: flex;
                justify-content: space-between;
                align-items: center;

                .company-detail-text-area {

                    /* フォントサイズ30px→15px*/
                    .company-detail-title {
                        font-size: 20px;
                    }

                    .company-detail {
                        color: #444444;
                        margin-top: 20px;
                        font-size: 10px;

                        .company-detail-text {
                            li {
                                p {
                                    font-size: var(--font-xs);
                                }
                            }

                            .company-address {
                                padding: 5px 0;


                            }
                        }
                    }
                }

                .company-link-area {
                    .company-link {
                        text-align: center;


                        li {
                            line-height: 2.5;
                            font-size: var(--font-xs);

                            a {
                                color: #000;
                            }
                        }
                    }
                }
            }
        }
    }

    .copy-right {
        background-color: #8C0404;
        text-align: center;
        padding: 8px 0;
        color: #fff;
    }
}