:root {
    --mfs: rgba(239, 73, 117, 1);
}

.nav-dropdown-link.nav-disable,
.nav-menu-bar .nav-link.nav-disable {
    color: #636363;
    pointer-events: none;
}


/* nav */

.summer {
    background-color: #f06f2e;
    border-radius: 10px;
}

.summer a {
    color: white !important;
}

button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: inherit;
}

.nav-btn {
    display: block;
    background-color: #2b72fb;
    color: white;
    text-align: center;
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
}

.nav-icon {
    padding: 0.5rem;
    background-color: #eeeeee;
    border-radius: 10px;
    width: 60px;
    height: 60px;
}

.nav-logo {
    margin-right: 1.5rem;
}

#nav-menu {
    border-bottom: 1px solid #eeeeee;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 2rem;
    height: 90px;
    padding: 1.2rem 3rem;
}

.nav-menu-bar {
    margin: 0;
    list-style: none;
}

.nav-menu {
    position: relative;
    /* background: white; */
}

.nav-menu-bar li:first-child .nav-dropdown {
    flex-direction: initial;
    min-width: 480px;
}

.nav-border-bottom-line {
    border-bottom: 1px solid #eeeeee;
}

.nav-menu-bar .nav-dropdown-link-title {
    font-weight: 600;
    text-decoration: underline;
}

.nav-menu-bar .nav-link {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.6px;
    padding: 0.3rem;
    margin: 0 0.6rem;
    color: black;
}

.nav-menu-bar .nav-link:focus,
.nav-menu-bar .nav-link:hover,
.nav-dropdown-link:hover {
    color: var(--mfs);
}

.nav-start,
.nav-end,
.nav-menu-bar,
.right-nav-container,
.right-nav-container .nav-search {
    display: flex;
    align-items: center;
}

.nav-dropdown {
    display: flex;
    flex-direction: column;
    min-width: 230px;
    background-color: white;
    border-radius: 10px;
    position: absolute;
    top: 36px;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transform: scale(0.97) translateX(-5px);
    transition: 0.1s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.nav-dropdown.active {
    visibility: visible;
    opacity: 1;
    transform: scale(1) translateX(5px);
}

.nav-dropdown ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.2rem;
    font-size: 0.95rem;
    list-style: none;
    text-decoration: none;
}

.nav-dropdown ul li a {
    list-style: none;
    text-decoration: none;
    color: black;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.15rem;
}

.nav-dropdown-link {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-radius: 7px;
    transition: 0.1s ease-in-out;
}

.nav-dropdown-link p {
    font-size: 0.8rem;
    color: #636363;
}

.right-nav-container {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.right-nav-container .nav-search {
    position: relative;
}

.right-nav-container img {
    border-radius: 50%;
}

.nav-search input {
    background-color: #f4f4f4;
    border: none;
    border-radius: 6px;
    padding: 0.7rem;
    padding-left: 2.4rem;
    font-size: 16px;
    width: 100%;
    border: 1px solid #eeeeee;
}

.nav-search .bx-search {
    position: absolute;
    left: 10px;
    top: 50%;
    font-size: 1.3rem;
    transform: translateY(-50%);
    opacity: 0.6;
}

#nav-hamburger {
    display: none;
    padding: 0.1rem;
    margin-left: 1rem;
    font-size: 1.9rem;
}

.nav-container .checkbox {
    /* position: absolute; */
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    /* position: absolute; */
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
}

.nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

.nav-container button:active::after.menu-items {
    transform: translateX(0);
}

.nav-container button:active::after.hamburger-lines .line1 {
    transform: rotate(45deg);
}

.nav-container button:active::after~.hamburger-lines .line2 {
    transform: scaleY(0);
}

.nav-container button:active::after~.hamburger-lines .line3 {
    transform: rotate(-45deg);
}

.nav-container button:active::after~.logo {
    display: none;
}


/* nav */

.header {
    position: relative;
    max-height: 700px;
    width: 100%;
}

.header-bg {
    position: relative;
    margin-top: 90px;
    text-align: center;
    max-height: 700px;
    width: 100%;
}


/* .header-bg::after {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: ' ';
    opacity: 0.3;
    position: absolute;
    background-color: black;
} */

.header-bgimg {
    min-height: 320px;
    max-height: 700px;
    width: 100%;
    object-fit: cover;
}

.cover-bg {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0 2rem;
    /* margin: auto; */
    border-radius: 1rem;
    color: white;
}


/* footer */

footer {
    position: relative;
}

footer:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("/material/footer/footer.jpg") no-repeat center;
    background-size: cover;
}

#footer-bg {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

#footer-container {
    position: relative;
    color: white;
    /* background-color: #0d47a1; */
    /* color: white; */
}

.footer-container-top {
    padding-top: 1rem;
}

.footer-container-top-title {
    text-align: center;
    font-size: 30px;
    font-family: "ヒラギノ角zゴ Pro W3", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
}

.footer-container-top-flex {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-container-top-flex div {
    flex: 1;
}

.footer-flex {
    padding: 2rem;
}

.footer-flex-title {
    font-size: 20px;
    font-weight: bold;
}

.footer-flex-link {
    text-decoration: none;
    color: white;
}

.footer-flex-link:hover {
    color: rgba( 239, 73, 117, 1);
}

#footer-container-bottom {
    /* display: flex; */
    /* justify-content: center; */
    padding-bottom: 5px;
    text-align: center;
}

#footer-container-bottom-right {
    position: absolute;
    display: flex;
    right: 10px;
    font-size: 12px;
}

#footer-tac {
    border-right: 1px solid white;
    padding-right: 5px;
}

#footer-pp {
    padding-left: 5px;
}

#footer-tac a,
#footer-pp a {
    color: white;
}

#footer-tac a:hover,
#footer-pp a :hover {
    color: white;
    text-decoration: none;
}

#footer {
    padding-right: 3%;
    width: 50%;
}

#footer-top-title {
    font-size: 30px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

#footer-top-table {
    font-size: 18px;
}

.table-tr:hover {
    cursor: pointer;
    background-color: rgba(239, 73, 117, 1);
}

.footer-icon,
.footer-content {
    margin: 10px;
}

@media only screen and (max-width: 440px) {
    #nav-logo{
        height: 40px !important;
    }
}

@media only screen and (max-width: 768px) {
    /* #header #header-top #header-desktop {
        display: none;
    }
    .desktop_navbar {
        display: none;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger {
        display: block;
        cursor: pointer;
    } */
    .social-btn {
        color: black;
        border: black 1px solid;
        margin: 0 10px 0 10px;
    }
    .social-btn:hover {
        color: black;
    }
    .footer-container-top-flex {
        flex-direction: column;
    }
    .footer-flex {
        padding: 0 2rem;
    }
}


/* style.css */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

@media (max-width: 1374px) {
    #nav-hamburger {
        display: block;
    }
    .nav-container {
        padding: 1.2rem 3rem;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 87px;
        left: 0;
        min-height: 100vh;
        width: 100vw;
        z-index: 2;
        background-color: white;
    }
    .nav-menu-bar li:first-child ul:nth-child(1) {
        border-right: none;
        border-bottom: 1px solid #eeeeee;
        ;
    }
    .nav-dropdown {
        display: none;
        min-width: 100%;
        border: none !important;
        border-radius: 5px;
        position: static;
        top: 0;
        left: 0;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
    }
    .nav-menu.show,
    .nav-dropdown.active {
        display: block;
    }
    .nav-dropdown ul {
        padding-left: 0.3rem;
    }
    .nav-menu-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        row-gap: 1rem;
        padding: 1rem;
    }
    .nav-menu-bar .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        font-weight: 600;
        font-size: 1.2rem;
        margin: 0;
    }
    .nav-menu-bar li:first-child .nav-dropdown {
        min-width: 100%;
    }
    .nav-menu-bar>li:not(:last-child) {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eeeeee;
    }
}

@media (max-width: 400px) {
    .nav-container {
        padding: 1.2rem 1rem;
    }
}


/* font */

@font-face {
    font-family: Wong;
    src: url('../../fonts/wong/wong.ttf');
}

@font-face {
    font-family: Futura-Conden;
    src: url('../../fonts/futura/Futura-CondensedLight.otf');
}

@font-face {
    font-family: Futura-Med-Iat;
    src: url('../../fonts/futura/Futura\ Medium\ Italic\ font.ttf');
}

@font-face {
    font-family: Mic-Black;
    src: url('../../fonts/black/black.ttf');
}