@charset "euc-jp";

header {
    position: fixed;
    box-sizing: border-box;
    top: 28px;
    left: 0;
    width: 100%;
    z-index: 999999999;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px auto 0;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 20px 0 rgb(0 0 0 / 10%);
    max-width: 1280px; 
    background: var(--basic-color-white);
    border-radius: 10px;
}

.nav-bar {
    padding: 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0 auto;
    justify-content: flex-end;
    align-items: center;
    line-height: 1;
}

.nav-menu a {
    text-decoration: none;
    color: var(--basic-color-black);
}

.nav-menu a:hover {
    color: var(--basic-main-color);
}

.nav-menu p.navi-sub-top-link{
    width: 100%;
}

.nav-menu p.navi-sub-top-link a {
    color: var(--basic-color-white);
    line-height: 1;
    height: auto;
    padding: 12px 40px 12px 24px;
    position: relative;
    display: block;
    width: fit-content;
    translate: -12px;
    font-size: 90%;
}

.nav-menu p.navi-sub-top-link a:hover {
    color: var(--basic-color-white);
}

.nav-menu p.navi-sub-top-link a:after {
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    background-image: url(https://dev-www.makeshop.jp/main/images/nav/arrow.svg);
    background-position: center;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
}

.nav-item {
    align-items: center;
    display: flex;
    font-size: 16px;
}

.nav-item.new-membership-tel {
    line-height: 1.2;
    font-weight: 700;
    padding: 0;
    font-size: 120%;
    margin: 0;
}

.nav-item.new-membership-tel span {
    font-weight: normal;
    font-size: 11px;
}

.nav-item.new-membership-tel .new-membership-tel-icon {
    width: 40px;
}

.nav-item.new-membership-tel .new-membership-tel-text {
    display: inline-grid;
    text-align: left;
    margin: 0 0 0 8px;
}

.nav-item.partner-casestudy a:hover  {
    color: var(--basic-color-black);   
}

.nav-name,
.nav-name-link {
    position: relative;
    display: inline-block;
}

.nav-name:after,
.nav-name-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: var(--basic-main-color);
    transition: width 0.3s ease;
}

.nav-name:hover:after,
.nav-name-link:hover:after {
    width: 100%;
}

.nav-name:hover,
.nav-name-link:hover {
    cursor: pointer;
}

.nav-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    border-left: 1px solid var(--basic-color-black);
    padding-left: 20px;
}

.nav-actions a.link-partner {
    position: relative;
    color: var(--basic-color-black);
}

.nav-actions a.link-partner::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: var(--basic-color-black);
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}

.nav-actions a.link-partner:hover::after {
    transform: scale(1, 1);
}

.nav-actions a {
    text-decoration: none;
    border-radius: 30px;
}

.nav-actions a.btn:hover {
    opacity: 0.8;
}

.dropdown {
    display: none;
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: var(--basic-color-black);
    padding: 50px;
    z-index: 1000;
    width: 1280px;
    width: 100%;
    box-shadow: 0 10px 20px 0 rgb(0 0 0 / 5%);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
}

.dropdown.show {
    display: block;
    opacity: 1;
    max-height: 1200px;
    line-height: 225%;
}

.dropdown.show .dropdown-wrapper {
    transform: translateY(0);
}

.dropdown-wrapper {
    transform: translateY(0);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.dropdown-content-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: calc((100% / 2) - 150px);
}

.dropdown-content-right {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 46px;
    border-left: 1px solid var(--complementary-color-grey-10);
    padding: 0 0 0 40px;
    align-content: flex-start;
}

.dropdown-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-title {
    font-size: 200%;
    color: var(--basic-main-color);
    line-height: 1;
}

.dropdown-title+p {
    position: relative;
    margin-right: 30px;
}

.dropdown-title+p::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../images/nav/arrow.svg');
    background-position: center;
    background-size: contain;
    position: absolute;
    top: 5px;
    right: -30px;
}

.dropdown-title a{
    color: var(--basic-main-color);
}

.dropdown-section {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
}

.dropdown-section p {
    border: none;
    padding: 0;
}

.dropdown-section a {
    margin: 0;
}

.secondary-content {
    margin: 38px 0 0 0;
}

.dropdown-section-title {
    color: var(--basic-main-color);
    pointer-events: none;
}

.dropdown .box-container-wrapper {
    text-align: left;
}

.dropdown .dropdown-container {
    display: flex;
    gap: 14px;
    margin: 10px 0;
    justify-content: space-between;
    align-items: flex-start;
}

.dropdown .dropdown-container .box {
    flex: 1;
    max-width: 243px;
    margin: 0 0 10px;
}

.dropdown .dropdown-container .box img {
    border-radius: 1rem;
}

.dropdown .icon-container {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 150px;
}

.dropdown .icon-container .icon span {
    background: var(--complementary-color-blue-5);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: block;
    position: relative;
}

.dropdown .icon-container .icon span img {
    width: 45%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.dropdown .icon-container .icon+p {
    line-height: 1.8;
    font-size: 90%;
}

.dropdown .icon-container .icon+p span{
    font-size: 70%;
}

.dropdown .dropdown-container .campaign-title {
    margin: 0 0 10px 0;
    line-height: 190%;
}

.dropdown .dropdown-container .campaign-title span {
    display: block;
    color: var(--complementary-color-grey-50);
    font-size: 75%;
    line-height: 1.5;
}

.dropdown .dropdown-container h3 {
    color: var(--basic-color-black);
}

.secondary-accordion-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    font-size: 90%;
}

.overlay {
    display: none;
}

.logo-makeshop {
    width: 184px;
}

.logo-partner {
    width: 285px;
}

/*電話番号ドロップダウン追加*/
.nav-tel-area{
    margin: 0 24px 0 0;
}
.nav-tel-area .nav-name p:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 32px;
    height: 32px;
    background: url(../function/amazonpayments/images/tel.svg) no-repeat center center;
    transition: width 0.3s ease;
    background-size: cover;
    transform: translate(-120%, -50%);
}

.nav-tel-area .dropdown-title-wrapper {
    margin: 0 0 24px 0;
}

.tel-number-wrapper {
    display: flex;
    padding: 16px 0;
}

.tel-number-wrapper + p {
    text-align: left;
    padding: 0;
}

.tel-number-wrapper dl {
    text-align: left;
    padding: 0 24px;
    border-right: 1px solid #8888;
}

.tel-number-wrapper dl:first-of-type {
    padding-left: 0;
}

.tel-number-wrapper dl:last-of-type {
    border-right: none;
}

.nav-tel-area .tel-number-wrapper dl dt {
    font-size: 16px;
    font-weight: normal;
}

.nav-tel-area .tel-number-wrapper dl dd {
    color: #2389ca;
    font-size: 42px;
}
.nav-tel-area .tel-number-wrapper dl dd a{
    color: #2389ca;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-out;
}
.nav-tel-area .tel-number-wrapper dl dd a:hover{
    opacity: 0.8;
    transition: all 0.2s ease-out;
}

.nav-tel-area .tel-number-wrapper:last-of-type dl dt {
    font-size: 14px;
    font-weight: normal;
}

.nav-tel-area .tel-number-wrapper:last-of-type dl dd {
    color: #2389ca;
    font-size: 34px;
}

@media screen and (min-width:1280px) and (max-width:1386px) {
    .nav-right {
        gap: 15px
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-actions {
        gap: 15px;
        padding-left: 15px;
    }
}


@media screen and (min-width:1024px) and (max-width:1280px) {
    .nav-wrap {
        padding: 10px 0;
    }

    .nav-bar {
        padding: 0 10px;
        width: 100%;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-right {
        gap: 15px;
        font-size: 90%;
    }

    .nav-menu a {
        text-decoration: none;
        color: var(--basic-color-black);
    }
    
    .nav-item {
        font-size: 1.25vw;
    }

    .nav-item.new-membership-tel {
        font-size: 1.25vw;
        margin: 0;
    }

    .nav-actions {
        gap: 10px;
        font-size: 1.25vw;
        padding-left: 15px;
    }
    
}



@media screen and (max-width:1024px) {
    header {
        top: 0;
    }

    .logo-partner {
        width: 280px;
    }

    @media screen and (min-width:768px) and (max-width:1023px) {
        header {
            top: 30px;
        }
    }

    /*=============================
  Hamburger Menu
=============================*/
    .drawer-menu {
        position: relative;
        width: 20px;
        cursor: pointer;
    }

    .drawer-menu div {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--complementary-color-grey-50);
        border-radius: 4px;
    }

    .drawer-menu,
    .drawer-menu div {
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
    }

    .drawer-menu div:nth-of-type(1) {
        top: 0;
    }

    .drawer-menu div:nth-of-type(2) {
        top: 6px;
    }

    .drawer-menu div:nth-of-type(3) {
        bottom: 4px;
    }

    #open-btn.active div:nth-of-type(1) {
        -webkit-transform: translateY(4px) rotate(-45deg);
        transform: translateY(4px) rotate(-45deg);
    }

    #open-btn.active div:nth-of-type(2) {
        opacity: 0;
    }

    #open-btn.active div:nth-of-type(3) {
        -webkit-transform: translateY(10px) rotate(45deg);
        transform: translateY(10px) rotate(45deg);
    }

    .nav-bar {
        padding: 0;
        z-index: 100;
    }

    .nav-right {
        justify-content: flex-end;
        margin: 0;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-end;
        margin: 0 auto;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu a {
        width: 100%;
    }

    .nav-menu.show {
        display: block;
    }

    .nav-actions {
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        padding: 20px 0;
        gap: 20px 10px;
        border: none;
    }

    .nav-actions li:nth-child(3) {
        width: 100%;
    }

    .nav-actions li {
        width: calc(100% / 2 - 10px);
    }

    .nav-actions li a.btn {
        font-size: 90%;
        height: 46px;
        color: #ffffff;
    }

    .nav-actions p {
        font-size: 90%;
        line-height: 150%;
        border: 1px solid var(--complementary-color-grey-30);
        padding: 10px;
        margin: 20px 0 0 0;
    }

    .nav-actions p span {
        display: block;
        font-size: 75%;
    }

    .nav-wrap {
        box-shadow: none;
        padding: 0;
        max-width: 95%;
        background: none;
        box-shadow: 0 10px 20px 0 rgb(0 0 0 / 10%);
        margin: 10px auto;
    }

    .nav-left {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background: var(--basic-color-white);
        width: 100%;
        z-index: 1000;
        border-radius: 10px;
    }

    .nav-menu {
        flex-direction: column;
        top: 60px;
        background-color: white;
        width: 100%;
        height: 100vh;
        box-shadow: unset;
        z-index: 99999999;
        gap: 0;
        padding-right: 0;
        border-right: none;
        font-size: 120%;
        padding: 20px;
        align-items: flex-start;
        overflow-y: scroll;
        list-style-type: none;
        padding: 0;
        margin: -10px 0 0;
    }

    .nav-menu.show {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 20px;
    }

    .nav-menu {
        transform: translateX(100vw);
        transition: all .3s linear;
    }

    .nav-menu.show {
        transform: translateX(0);
    }

    .nav-item {
        border-bottom: 1px solid var(--complementary-color-grey-10);
        width: 100%;
        display: block;
    }

    .nav-name,
    .nav-name-link {
        padding: 20px 15px;
        text-decoration: none;
        cursor: pointer;
        text-align: left;
        position: relative;
        width: 100%;
    }

    .nav-name::before,
    .nav-name::after {
        position: absolute;
        content: '';
        top: 1px;
        right: 15px;
        bottom: 0;
        left: auto;
        width: 12px;
        height: 2px;
        margin: auto;
        background: var(--complementary-color-grey-50);
    }

    .nav-name::after {
        transform: rotate(-90deg);
        transition: transform 0.3s;
    }

    .nav-name.active::after {
        transform: rotate(0deg);
    }

    .nav-name:hover:after {
        width: 12px;
    }

    .nav-name-link::after {
        position: unset;
    }

    .dropdown {
        display: none;
        position: unset;
        transform: unset;
        padding: 50px;
        z-index: 1000;
        width: 100%;
        max-height: 0;
        box-shadow: unset;
        border-radius: 0;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: transform 0.3s;
        font-size: 80%;
    }

    .nav-menu .dropdown-container a {
        width: 48%;
    }

    .nav-item.new-membership-tel {
        line-height: 1.2;
        font-weight: 700;
        padding: 10px;
        font-size: 120%;
        display: flex;
        margin: 0;
    }

    .nav-item.open {
        border-bottom: none;
    }

    .nav-item.open .dropdown {
        animation: fadeIn 0.5s ease;
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
            transform: translateY(-10px);
        }

        100% {
            opacity: 1;
            transform: none;
        }
    }

    .dropdown-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .dropdown .dropdown-container {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 5px 0 15px;
    }

    .dropdown .icon-container {
        flex-direction: column;
        min-width: 30%;
        gap: 3px;
    }

    .dropdown-content-left {
        width: 100%;
        gap: 10px;
    }

    .dropdown-content-right {
        padding: 15px 0 0 0;
        flex-direction: column;
        border-left: none;
        gap: 15px;
        align-content: normal;
    }

    .nav-menu p.navi-sub-top-link a {
        width: 100%;
        translate: 0;
        margin-bottom: 16px;
    }

    .dropdown.show {
        max-height: 1000px;
        padding: 0 15px;
        border-left: 2px solid var(--basic-main-color);
        margin: 0 0 15px 15px;
        width: 95%;
    }

    .dropdown-title {
        font-size: 100%;
    }

    .dropdown .dropdown-container .box {
        border-radius: 1rem;
        flex: 1;
        width: 100%;
        height: auto;
        margin: 0 0 10px;
    }

    .secondary-content {
        margin: 0;
    }

    .secondary-accordion-content {
        display: none;
        padding: 0;
        font-size: 100%;
        width: 100%;
    }

    .secondary-accordion-header {
        padding: 0 0 15px 0;
        transition: background .3s ease;
        cursor: pointer;
        position: relative;
        width: 100%;
        border-bottom: 1px solid var(--complementary-color-grey-10);
        pointer-events: auto;
    }

    .secondary-accordion-header::before,
    .secondary-accordion-header::after {
        position: absolute;
        content: '';
        top: -10px;
        right: 0;
        bottom: 0;
        width: 12px;
        height: 2px;
        margin: auto;
        background: var(--complementary-color-grey-50);
    }

    .secondary-accordion-header::after {
        transform: rotate(-90deg);
        transition: transform 0.3s;
    }

    .secondary-accordion-header.active::after {
        transform: rotate(0deg);
    }

    .dropdown-section:first-child .dropdown-section-title.secondary-accordion-header {
        border-top: 1px solid var(--complementary-color-grey-10);
        padding: 15px 0;
        pointer-events: auto;
    }

    .dropdown-section p {
        padding: 7px 0;
        border-bottom: 1px solid var(--complementary-color-grey-10);
        width: 100%;
    }

    .dropdown .arrow {
        position: relative;
        display: inline-block;
        padding: 0;
        color: var(--complementary-color-grey-80);
        vertical-align: middle;
        text-decoration: none;
    }

    .dropdown .arrow::before,
    .dropdown .arrow::after {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        content: "";
        vertical-align: middle;
    }

    .dropdown .link-arrow::before {
        right: 3px;
        width: 10px;
        height: 2px;
        background: var(--basic-main-color);
    }

    .dropdown .link-arrow::after {
        right: 2px;
        width: 8px;
        height: 8px;
        border-top: 2px solid var(--basic-main-color);
        border-right: 2px solid var(--basic-main-color);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    body.menu-active {
        overflow: hidden;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
        transition: all 0.6s;
    }

    body.menu-active .overlay {
        display: block;
    }

    /*電話番号ドロップダウン追加*/
    .nav-tel-area {
        margin: 0;
    }
    .nav-tel-area .nav-name {
        padding-left: 40px;
    }
    .nav-tel-area .nav-name p:before {
        transform: translate(0%, -50%);
    }
    .nav-tel-area .dropdown-title-wrapper {
        margin: 12px 0 24px;
    }
    .tel-number-wrapper {
        padding: 0;
        flex-direction: column;
    }
    .tel-number-wrapper dl {
        padding: 0 0 16px 0;
        border: none;
    }
    .nav-tel-area .tel-number-wrapper dl dt {
        font-size: 13px;
        padding: 0 0 6px 0;
        line-height: 1;
    }
    .nav-tel-area .tel-number-wrapper dl dd {
        font-size: 28px;
    }
    .nav-tel-area .tel-number-wrapper:last-of-type dl dt {
        font-size: 11px;
    }
    .nav-tel-area .tel-number-wrapper:last-of-type dl dd {
        font-size: 22px;
    }
}


@media screen and (max-width:430px) {
    .dropdown .icon-container .icon+p {
        font-size: 80%;
    }
}