@charset "utf-8";

:root {
    --color-text: #242424;
    --base-offwhite: #F5F2EA;
    --base-gray: #939393;
    --light-gray: #F2F2F2;
    --dark-gray: #424040;
    --accent-red: #EE4848;
    --accent-green: #01C8BD;
    --accent-orange: #FF7E00;
    --accent-purple: #752DB7;
    --accent-lightblue: #008AE6;
    --accent-yellow: #F4CC00;
    --beige: #CFC7BE;
    --gray: #D9D9D9;
}

div {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: 0em;
    color: var(--color-text);
    background: var(--base-offwhite);
}

/* -----------font-----------*/
.afacad {
    font-family: "Afacad", serif;
    font-weight: 400;
    font-style: normal;
}

/* -----------共通-----------*/
img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    display: block;
    color: var(--color-text);
    text-decoration: none;
}

.sp {
    display: none;
}
.pc {
    display: block;
}
@media screen and (max-width:639px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}


/* -----------header-----------*/
header {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    position: fixed;
    z-index: 101;
}
.header_container {
    background: #fff;
    width: 100%;
    border-radius: 100px;
    box-sizing: border-box;
    padding: 15px clamp(40px, calc((100vw / 1440) * 70), 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header_logo {
    width: clamp(120px, calc((100vw / 960) * 120), 140px);
}

.header_right {
    display: flex;
    align-items: center;
    /* PC ナビの padding 化に合わせて圧縮（元: clamp(20px, (100vw/960)*20, 70px)） */
    gap: clamp(10px, calc((100vw / 1440) * 20), 30px);
}
.header_nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
}
.header_nav_item {
    position: relative;
}
.header_nav_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.header_nav_item:nth-child(2) .header_nav_link {
    padding: 0 clamp(8px, calc((100vw / 1440) * 28), 28px);
}
.header_nav_item:nth-child(3) .header_nav_link {
    padding: 0 clamp(8px, calc((100vw / 1440) * 28), 28px);
}

.header_nav_link_img {
    width: 100%;
    height: 40px;
}
.header_nav_link::after {
    content: '';
    display: block;
    width: 100%;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.header_nav_item:nth-of-type(1) .header_nav_link::after {
    background: url(../img/header_ordermade_hover.svg) no-repeat center center / contain;
}
.header_nav_item:nth-of-type(2) .header_nav_link::after {
    background: url(../img/header_products_hover.svg) no-repeat center center / contain;
}
.header_nav_item:nth-of-type(3) .header_nav_link::after {
    background: url(../img/header_case_hover.svg) no-repeat center center / contain;
}
.header_nav_item:nth-of-type(4) .header_nav_link::after {
    background: url(../img/header_support_hover.svg) no-repeat center center / contain;
}
@media (any-hover: hover) {
    .header_nav_item:hover .header_nav_link::after {
        opacity: 1;
    }
}
.header_nav_link p {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.header_nav_sub_nav_container {
    width: clamp(700px, calc((100vw / 1440) * 790), 790px);
    padding-top: 30px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}
ul.header_nav_sub_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: clamp(20px, calc((100vw / 1440) * 30), 30px);
    background: #fff;
    border-radius: 10px;
    gap: clamp(20px, calc((100vw / 1440) * 30), 30px);
    box-sizing: border-box;
}
.header_nav_sub_nav_link {
    width: clamp(150px, calc((100vw / 1440) * 160), 160px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.header_nav_sub_nav_link_img_wrap {
    width: clamp(150px, calc((100vw / 1440) * 160), 160px);
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
}
.header_nav_sub_nav_link_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}
.header_nav_sub_nav_link_text {
    font-size: clamp(13px, calc((100vw / 1440) * 14), 14px);
    font-weight: bold;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
/* クリック/タップで開いた状態（タブレット等の hover 不可デバイス対応） */
.header_nav_item.is-open .header_nav_sub_nav_container {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.header_nav_item.is-open .header_nav_link::after {
    opacity: 1;
}
.header_nav_link.js-nav-toggle {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
@media (any-hover: hover) {
    .header_nav_item:hover .header_nav_sub_nav_container {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    .header_nav_sub_nav_link:hover .header_nav_sub_nav_link_img {
        transform: scale(1.1);
    }
    .header_nav_sub_nav_link:hover .header_nav_sub_nav_link_text {
        color: #939393;
    }
}

.header_info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.header_info_upper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header_info_upper_link {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.header_info_upper_link:last-child {
    font-size: 14px;
}
.header_info_upper_link::after {
    content: '';
    display: block;
    width: 1px;
    height: 10px;
    background: var(--color-text);
}
.header_info_upper_link:last-child::after {
    display: none;
}

.header_info_lower {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header_info_lower_link {
    width: 180px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    box-sizing: border-box;
    background: var(--accent-red);
    border: 2px solid var(--accent-red);
    color: #fff;
    transition: all 0.3s ease;
}
.header_cart_link {
    width: 180px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 100px;
    box-sizing: border-box;
    border: 2px solid var(--color-text);
    transition: all 0.3s ease;
}
@media (any-hover: hover) {
    .header_cart_link:hover {
        background: var(--color-text);
        color: #fff;
    }
    .header_info_lower_link:first-of-type:hover {
        background: #fff;
        color: var(--accent-red);
    }
}


.header_menu {
    display: flex;
    align-items: center;
    gap: 10px;
    display: none;
}
.header_menu_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}
.header_menu_btn_ham {
    width: 30px;
    height: 16px;
    position: relative;
}
.header_menu_btn_ham span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--base-gray);
    border-radius: 10px;
    position: absolute;
    transition: all 0.3s ease;
}
.header_menu_btn_ham span:nth-of-type(1) {
    top: 0;
}
.header_menu_btn_ham span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
}
.header_menu_btn_ham span:nth-of-type(3) {
    bottom: 0;
}
.header_menu_btn_text {
    height: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    color: var(--base-gray);
}

.header_menu_sp {
    display: none;
}

@media screen and (max-width:1200px) {
    .header_container {
        padding: 15px clamp(20px, calc((100vw / 1024) * 40), 40px);
    }
}

@media screen and (max-width:1080px) {
    .header_nav {
        display: none;
    }
    .header_info {
        display: none;
    }
    .header_menu {
        display: flex;
    }
    .header_menu_sp {
        display: flex;
        width: 100%;
        min-height: 100vh;
        max-height: 100vh;
        min-height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 25px 30px;
        box-sizing: border-box;
        position: fixed;
        top: 0;
        left: 0;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.3s ease;
        background: #fff;
        z-index: 100;
    }
    .header_menu_sp_inner {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .header_menu_sp_btn {
        width: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        cursor: pointer;
        margin: 0 0 0 auto;
        position: absolute;
        top: 0;
        right: 0;
    }
    .header_menu_sp_btn_ham {
        width: 30px;
        height: 30px;
        position: relative;
    }
    .header_menu_sp_btn_ham span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--base-gray);
        border-radius: 10px;
        position: absolute;
        transition: all 0.3s ease;
    }
    .header_menu_sp_btn_ham span:nth-of-type(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    .header_menu_sp_btn_ham span:nth-of-type(2) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }
    .header_menu_sp_btn_text {
        height: 8px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        text-align: center;
        color: var(--base-gray);
    }

    .header_nav_sub_nav_container {
        display: none;
    }

    .header_menu_sp_content {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }
    .header_menu_sp_logo {
        width: 150px;
        margin: 0 auto;
    }
    .active .header_menu_sp {
        transform: translateX(0);
        opacity: 1;
    }
    .header_menu_nav {
        width: 100%;
        max-width: 256px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        margin: 0 auto;
    }
    .header_nav_item {
        width: 100%;
    }
    .header_nav_link {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
    .header_nav_link::after {
        content: '';
        display: block;
        width: 60px;
        height: 40px;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    .header_nav_link.clickable_link.active::after {
        opacity: 1;
    }
    .header_nav_link p {
        flex-grow: 1;
    }
    .header_menu_inner_nav_img {
        width: 60px;
        height: 40px;
    }
    .header_menu_inner_nav_arrow {
        width: 15px;
        height: 6px;
        object-fit: contain;
    }

    .header_menu_inner_nav {
        height: 0;
        overflow: hidden;
        padding: 0 0 0 90px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        transition: all 0.3s ease;
    }
    .header_menu_inner_nav_item {
        width: 100%;
    }
    .header_menu_inner_nav_link {
        width: 100%;
        display: flex;
    }
    .header_menu_inner_nav_link p {
        font-size: 14px;
        font-weight: bold;
        letter-spacing: 0.05em;
    }

    .header_menu_sp_info {
        max-width: 200px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin: 0 auto;
    }
    .header_info_upper {
        flex-wrap: wrap;
        justify-content: center;
    }
    .header_info_upper_link {
        font-size: 14px;
    }
    .header_info_upper_link:last-child {
        font-size: 13px;
    }
    .header_info_upper_link:nth-of-type(2)::after,
    .header_info_upper_link:nth-of-type(4)::after {
        display: none;
    }
    .header_info_lower {
        flex-direction: column;
        gap: 20px;
    }
    .header_info_lower .header_info_lower_link,
    .header_info_lower .header_cart_link {
        width: 160px;
        height: 40px;
        font-size: 14px;
    }
}

@media screen and (max-width:767px) {
    header {
        padding: 10px;
    }
    .header_logo {
        width: 80px;
    }
    .header_cart_link {
        width: 105px;
        height: 28px;
        font-size: 12px;
        letter-spacing: 0.05em;
        line-height: 1;
    }
}



/* -----------footer-----------*/
footer {
    padding: clamp(50px, calc((100vw / 1440) * 100), 100px) clamp(70px, calc((100vw / 1440) * 140), 140px);
    background: #fff;
}
.footer_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer_main {
    width: 196px;
    display: flex;
    flex-direction: column;
}
.footer_logo {
    width: 100%;
    margin-bottom: 50px;
}
.footer_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px 20px 20px;
    background-image: repeating-linear-gradient(
        to right,
        var(--light-gray) 0px,
        var(--light-gray) 10px,
        transparent 10px,
        transparent 15px
    );
    background-position: bottom;
    background-size: 100% 2px;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}
.footer_link:last-of-type {
    margin-bottom: 0;
}
.footer_link p {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.footer_arrow {
    width: 36px;
    aspect-ratio: 1;
    flex-shrink: 0;
    border: 2px solid var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.footer_arrow_img {
    width: 16px;
    object-fit: contain;
    transition: all 0.3s ease;
}
@media (any-hover: hover) {
    .footer_link:hover .footer_arrow {
        background: var(--color-text);
    }
    .footer_link:hover .footer_arrow_img {
        filter: brightness(0) invert(1) saturate(0);
    }
}

.footer_nav {
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, calc((100vw / 1440) * 50), 50px);
}
.footer_nav_list_container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.footer_nav_list_container_last {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.footer_nav_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer_nav_list_title {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 5px;
}
.footer_nav_list_title::before {
    content: '';
    display: block;
    width: 10px;
    aspect-ratio: 1;
    background: var(--accent-green);
    border-radius: 50%;
}
.footer_nav_list_inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 15px;
}
.footer_nav_list_link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.footer_nav_list_link_lh {
    line-height: 1.2;
}
.footer_nav_list_series {
    gap: 15px;
}
.footer_nav_list_series .footer_nav_list_inner {
    padding: 0;
    gap: 10px;
}
.footer_nav_list_series .footer_nav_list_link {
    display: flex;
    align-items: center;
    gap: 5px;
}
.footer_nav_list_series .footer_nav_list_link::before {
    content: '';
    display: block;
    width: 15px;
    height: 2px;
    background: var(--accent-green);
}
.footer_nav_list_title_img {
    display: block;
    width: 12px;
    padding: 2px 0 0;
}

.footer_sub {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 70px;
}
.footer_sub_link {
    font-size: 16px;
    font-weight: bold;
    color: var(--dark-gray);
    border-right: 1px solid var(--dark-gray);
    padding: 0 20px;
}
.footer_sub_link:first-of-type {
    padding-left: 0;
}
.footer_sub_link:last-of-type {
    border-right: none;
    padding-right: 0;
}

.footer_copyright {
    display: block;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    color: var(--accent-green);
    border-top: 2px solid var(--light-gray);
}

@media screen and (max-width:1200px) {
    footer {
        padding: 50px;
    }
    .footer_nav {
        gap: 20px;
    }
}

@media screen and (max-width:1024px) {
    .footer_container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

@media screen and (max-width:767px) {
    footer {
        padding: 50px 30px;
    }
    .footer_container {
        gap: 50px;
    }
    .footer_logo {
        margin-bottom: 30px;
    }
    .footer_link {
        padding: 0 20px 10px;
    }
    .footer_link p {
        font-size: 14px;
    }
    .footer_arrow {
        width: 26px;
    }
    .footer_arrow_img {
        width: 12px;
    }

    .footer_nav {
        max-width: 330px;
        flex-wrap: wrap;
        gap: 50px;
        row-gap: 30px;
    }
    .footer_nav_list_container {
        width: calc(50% - 25px);
        gap: 30px;
    }
    .footer_nav_list_title {
        font-size: 14px;
        gap: 5px;
        white-space: nowrap;
    }
    .footer_nav_list_title::before {
        width: 6px;
        flex-shrink: 0;
    }
    .footer_nav_list_link {
        font-size: 12px;
        white-space: nowrap;
    }
    .footer_nav_list_series .footer_nav_list_link {
        gap: 5px;
    }
    .footer_nav_list_series .footer_nav_list_link::before {
        width: 10px;
    }
    .footer_nav_list_container:nth-of-type(3) {
        width: 100%;
        flex-direction: row;
        gap: 50px;
    }
    .footer_nav_list_container:nth-of-type(3) .footer_nav_list {
        width: calc(50% - 25px);
    }
    .footer_nav_list_container:nth-of-type(3) .footer_nav_list_inner {
        padding-left: 11px;
    }
    .footer_nav_list_container:nth-of-type(4) {
        width: 100%;
        flex-direction: row;
        gap: 50px;
    }
    .footer_nav_list_container:nth-of-type(4) .footer_nav_list_container_last {
        width: calc(50% - 25px);
    }

    .footer_sub {
        width: 172px;
        flex-direction: column;
        align-items: center;
        margin: 60px auto 0;
    }
    .footer_sub_link {
        width: 100%;
        font-size: 14px;
        padding: 10px 0;
        padding-left: 10px;
        border-right: none;
        text-align: center;
        border-bottom: 1px solid var(--dark-gray);
    }

    .footer_copyright {
        font-size: 12px;
        padding-top: 20px;
        margin-top: 20px;
    }
}



/* -----------section_wave-----------*/

.section_wave {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 767px) {
    .section_wave {
        margin: 50px 0;
    }
}