@charset "UTF-8";

@import url("setting.css");

html {
    scroll-behavior: auto;
    scroll-padding-top: 100px;
}

body {
    color: var(--color-text);
    background: var(--color-white);
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.7;
}

body.is-menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition), background-color var(--transition), color var(--transition);
}

/* a:hover {
    opacity: 0.75;
} */

#container {
    width: 100%;
    overflow: hidden;
}

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: var(--header-height);
    padding: 0 4%;
    background: var(--color-white);
    position: relative;
    z-index: 1000;
}

#header h1 {
    min-width: 180px;
    margin: 0;
    padding: 0 20px 0 0;
    font-size: 0;
}

#header h1 a,
#footer h2 a {
    display: block;
}

#header .pcmenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#header .pcmenu .basic{
    line-height: 1.0;
}

#header .pcmenu .basic a {
    font-size: 12px;
    font-weight: 600;
    /* white-space: nowrap; */
}

#header .pcmenu .line a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: 140px;
    border-radius: 8px;
    color: var(--color-white);
    background: #00c75a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 20px 0 40px;
    position: relative;
}
#header .pcmenu .line a:before{
    content: "";
    background: url("https://linguaclub.jp/wp-content/themes/neve/asset/images/top/icon-line.svg") no-repeat;
    background-size: 100%;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left:0;
    transform: translate(10px,-50%);
}
#header .pcmenu .line a:hover{
    background: #039143;
    text-decoration: none;
}
.anchorMenu {
    position: relative;
}

.anchorMenu .mini-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.hamburger-menu {
    display: none;
}

#footer {
    padding: 70px 20px 0;
    text-align: center;
    background: var(--color-white);
}

#footer h2 {
    width: 190px;
    margin: 0 auto 30px;
    font-size: 0;
}

#footer ul {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 0 0 55px;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

#footer .copy {
    margin: 0 -20px;
    padding: 18px 20px;
    background: var(--color-bg-beige);
    font-size: 12px;
}

#pagetop {
    display: none;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--color-main);
    box-shadow: var(--shadow-soft);
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    font-size: 10px;
    font-weight: 700;
}

#pagetop.is-visible {
    display: flex;
}

section a:hover{
    text-decoration: none;
}

@media screen and (min-width: 769px) {
    #header {
        min-width: 1000px;
    }
    .sp-disp{
        display: none;
    }

    .anchorMenu .mini-menu {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        min-width: 180px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
        z-index: 100;
    }

    .anchorMenu:hover .mini-menu {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .anchorMenu .mini-menu li a {
        display: block;
        padding: 8px 12px;
    }
}

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

    html{
        scroll-padding-top: 80px;
    }

    body {
        font-size: 14px;
    }

    #header {
        height: var(--header-height);
        padding: 10px 18px;
        position: fixed;
    }

    #header h1 {
        width: 160px;
        min-width: unset;
        padding: 30px 0 0;
    }

    #header .pcmenu {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    #menu-btn-check {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        cursor: pointer;
        position: relative;
        z-index: 1002;
    }

    .menu-btn span,
    .menu-btn span::before,
    .menu-btn span::after {
        content: "";
        display: block;
        width: 34px;
        height: 3px;
        background: #666666;
        position: absolute;
        transition: transform var(--transition), background var(--transition);
    }

    .menu-btn span::before {
        transform: translateY(-10px);
    }

    .menu-btn span::after {
        transform: translateY(10px);
    }

    #menu-btn-check:checked + .menu-btn span {
        background: transparent;
    }

    #menu-btn-check:checked + .menu-btn span::before {
        transform: rotate(45deg);
    }

    #menu-btn-check:checked + .menu-btn span::after {
        transform: rotate(-45deg);
    }

    .menu-content {
        width: 100%;
        height: calc(100vh - var(--header-height));
        padding: 30px 24px;
        background: rgba(255, 255, 255, 0.98);
        position: fixed;
        top: var(--header-height);
        right: -100%;
        z-index: 1001;
        overflow-y: auto;
        transition: right var(--transition);
    }

    #menu-btn-check:checked ~ .menu-content {
        right: 0;
    }

    .menu-content ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .menu-content li a {
        display: block;
        padding: 15px 8px;
        border-bottom: 1px solid var(--color-line);
        font-weight: 600;
    }

    .menu-content .line{
        margin: 2rem auto 0;
    }
    
    .menu-content .line a {
        margin-top: 20px;
        border: 0;
        border-radius: 6px;
        color: var(--color-white);
        background: #00c75a;
        text-align: center;
        position: relative;
        width: 90%;
        margin: 0 auto;
    }

    .menu-content .line a:before{
        content: "";
        background: url("https://linguaclub.jp/wp-content/themes/neve/asset/images/top/icon-line.svg") no-repeat;
        background-size: 100%;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 50%;
        left:0;
        transform: translate(40px,-50%);
    }

    .anchorMenu > .anchorMenu-trigger {
        position: relative;
        padding-right: 40px;
    }

    .anchorMenu > .anchorMenu-trigger::after {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid #666;
        border-bottom: 2px solid #666;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.3s;
    }

    .anchorMenu.is-open > .anchorMenu-trigger::after {
        transform: translateY(-30%) rotate(225deg);
    }

    .anchorMenu .mini-menu {
        display: none;
        padding-left: 15px;
    }

    .anchorMenu .mini-menu a {
        font-size: 13px;
        font-weight: 400;
        padding: 12px 8px;
    }

    #footer {
        padding-top: 45px;
    }

    #footer ul {
        flex-wrap: wrap;
        gap: 10px 18px;
        margin-bottom: 35px;
    }

    #pagetop {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 14px;
    }
}
