@font-face {
    font-family: "Noto Sans JP";
    src: url("../fonts/noto-sans-jp-0-400-normal.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans JP";
    src: url("../fonts/noto-sans-jp-0-600-normal.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noto Sans JP";
    src: url("../fonts/noto-sans-jp-0-700-normal.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-style: normal;
    font-family: "Noto Sans JP", sans-serif;
    /* background-color: #333; */
}
a {
    text-decoration: none;
    color: inherit;
}
input {
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    @media (max-width: 1024px) {
        max-width: 100%;
        padding: 0 16px;
    }
}

.site-header {
    padding: 10px 0;
    position: relative;
    z-index: 5;
}
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
}
.logo-link {
    display: flex;
    align-items: center;
}
.logo-link img {
    display: block;
}
#mobile-menu-toggle {
    display: none;
}
.nav-wrap {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}
.nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 12px;
    list-style: none;
}
.nav-item {
    position: relative;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 15px;
}
.nav-item + .nav-item {
    margin-left: 5px;
}
.nav-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}
.nav-label {
    display: block;
    color: #1f2430;
    font-size: 14px;
    font-weight: 500;
}
.nav-item-arrow {
    display: block;
    width: 7px;
    height: auto;
    opacity: 0.7;
    transition: transform 0.2s ease;
}
.nav-item.active {
    border-radius: 600px;
    background: #F0F2F4;
}
.nav-item.active .nav-item-arrow {
    opacity: 1;
    transform: rotate(180deg);
}
.desktop-dropdown {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    top: calc(100% + 2px);
    left: -96px;
    width: 414px;
    max-height: 0;
    overflow: hidden;
    padding: 10px 12px 12px;
    border-radius: 0 0 10px 10px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
}
.nav-item.active .desktop-dropdown {
    max-height: 414px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-item.active .desktop-dropdown a:hover {
    text-decoration: underline;
}
.nav-item:last-of-type .desktop-dropdown {
    right: 0;
    transform: translateY(0);
    left: unset;
}
.desktop-dropdown-title {
    font-size: 12px;
    color: #6651ED;
}
.desktop-dropdown p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #1b1b1b;
    border-radius: 8px;
    padding: 10px;
    transition: background-color 0.2s ease;
}
.desktop-dropdown p::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background: url("/uploads/page/index/icon-item.png") center / contain no-repeat;
}
.desktop-dropdown p a {
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 42px;
}
.desktop-dropdown p:first-of-type,
.desktop-dropdown p:hover {
    background: #F9FAFB;
}
.site-footer {
    background: #fff;
    padding: 90px 0 30px;
    border-top: 1px solid #DCDFEB;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding-bottom: 30px;
}
.footer-logo {
    flex: 0 0 auto;
}
.footer-logo img {
    width: 228px;
    height: auto;
    display: block;
}
.footer-intro {
    max-width: 382px;
    font-size: 12px;
    line-height: 1.55;
    color: #6b7280;
}
.footer-links {
    padding: 46px 0;
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
    border-top: 1px solid #F3F4F6;
    border-bottom: 1px solid #F3F4F6;
}
.footer-links a {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}
.footer-bottom {
    padding-top: 40px;
}
.footer-social {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 30px;
}
.footer-social-item {
    display: flex;
    align-items: center;
    min-height: 21px;
}
.footer-social .footer-social-item-x:hover {
    content: url(/uploads/page/index/x-hover.svg);
}
.footer-social .footer-social-item-yt:hover {
    content: url(/uploads/page/index/yt-hover.png);
}
.footer-subscribe {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-subscribe-wrap {
    display: flex;
    gap: 10px;
}
.footer-subscribe-error {
    display: none;
    font-size: 12px;
    color: #ef4444;
    line-height: 1.4;
}
.footer-subscribe input {
    width: 240px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #F3F4F6;
    font-size: 14px;
    color: #111827;
}
.footer-subscribe input::placeholder {
    color: #9ca3af;
}
.footer-subscribe button {
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.footer-subscribe button:hover {
    background: #000;
    color: #c6c6c6;
}
.footer-copy {
    margin-top: 66px;
    text-align: center;
    color: #999;
    font-size: 12px;
    padding-bottom: 12px;
}
@media (max-width: 1024px) {
    .desktop-dropdown {
        width: 350px;
    }
    .header-inner {
        flex-wrap: wrap;
    }
}
@media (max-width: 820px) {
    .site-header {
        padding: 0;
    }
    .site-header .container {
        padding: 0;
    }
    .header-inner {
        display: block;
        min-height: unset;
        overflow: hidden;
    }
    .logo-link {
        height: 54px;
        border-right: 0;
        justify-content: flex-start;
    }
    .logo-link img {
        width: 98px;
    }
    #mobile-menu-toggle {
        top: 50%;
        right: 16px;
        display: block;
        width: 20px;
        height: auto;
        cursor: pointer;
        transform: rotate(180deg);
        transition: transform 0.25s ease;
    }
    .nav-wrap {
        display: none;
    }
    .header-inner.mobile-menu-open #mobile-menu-toggle {
        transform: rotate(0);
    }
    .header-inner.mobile-menu-open .nav-wrap {
        display: block;
    }
    .nav-list {
        display: block;
        padding: 0;
    }
    .nav-item + .nav-item {
        margin-left: 0;
    }
    .nav-item {
        border-bottom: 1px solid #e6e6e6;
        padding: 0;
    }
    .nav-trigger {
        width: 100%;
        justify-content: space-between;
        min-height: auto;
        padding: 20px 40px;
        box-sizing: border-box;
    }
    .nav-label {
        line-height: 1.35;
        font-size: 13px;
        font-weight: 500;
    }
    .nav-item.active {
        background: unset;
        border-radius: 0;
    }
    .nav-item.active .nav-label {
        color: #6651ED;
    }
    .nav-item-arrow {
        display: block;
        width: 10px;
        opacity: 1;
    }
    .nav-item.active .nav-item-arrow {
        transform: rotate(180deg);
    }
    .nav-item.active .desktop-dropdown {
        margin-bottom: 20px;
        max-width: 100%;
    }
    .mobile-menu-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-left {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        border-bottom: 1px solid #e6e6e6;
    }
    .desktop-dropdown-title {
        display: none;
    }
    .desktop-dropdown {
        position: unset;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        box-shadow: none;
        padding: 0 40px 0 60px;
    }
    .desktop-dropdown p {
        font-size: 12px;
        padding: 0;
    }
    .desktop-dropdown p a {
        height: 36px;
    }
    .footer-links {
        gap: 40px;
    }
}
@media (max-width: 600px) {
    .site-footer {
        padding: 20px 0 50px;
    }
    .footer-inner {
        padding: 0 19px;
    }
    .footer-top {
        display: block;
        padding-bottom: 20px;
    }
    .footer-logo img {
        width: 164px;
    }
    .footer-intro {
        margin-top: 28px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.65;
    }
    .footer-links {
        padding: 20px 0;
        display: block;
    }
    .footer-links a:last-child {
        margin-bottom: 0;
    }
    .footer-links a {
        display: block;
        margin-bottom: 24px;
        font-size: 16px;
    }
    .footer-bottom {
        padding-top: 20px;
    }
    .footer-social {
        justify-content: flex-start;
        gap: 42px;
    }
    .footer-copy {
        margin-top: 28px;
        padding-bottom: 0;
        text-align: left;
        font-size: 10px;
    }
}
.mobile-style {
    display: none;
}
@media (max-width: 768px) {
    .pc-style {
        display: none;
    }
    .mobile-style {
        display: block;
    }
}
