@charset "utf-8";


#hermes{
    --h-title-color: #2c3e50;
    --p-text-color: #444;
    --back-color: #2c3e50;
    --cta-color: #9f9d91;
    position: relative;
}

#hermes * {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', serif !important;
    line-height: 0;
    box-sizing: border-box;
}

#hermes img {
    width: 100%;
    height: auto;
}

#hermes ul {
    list-style: none;
}

#hermes a {
    text-decoration: none;
}

#hermes .section_inner {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

#hermes .comma_none{
    display: none;
}

@media screen and (max-width:1024px) {
    #hermes .section_inner {
        padding: 0 2%;
    }
}

@media screen and (max-width:768px) {
    #hermes .sp_none{
        display: none;
    }

    #hermes .comma_none{
        display: inline-block;
    }
}



/*section001*/
#hermes .section001 {
    margin-bottom: 180px;
}

#hermes .section001 .cnt_mv h1 {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto 60px;
    aspect-ratio: 1325 / 582;
}

#hermes .section001 .section_inner p {
    margin-bottom: 60px;
    text-align: center;
    font-size: 18px;
    color: var(--p-text-color);
    line-height: 1.8;
    font-weight: 100;
}

#hermes .section001 .section_inner ul {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-justify-content: center;
    justify-content: center;
    flex-wrap: wrap;
    gap:40px;
}

#hermes .section001 .section_inner ul li {
    position: relative;
    width: calc(calc(100% - 80px) / 3);
    max-width: calc(1020px / 3);
}

#hermes .section001 .section_inner ul li::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--cta-color);
    border-radius: 10px;
    z-index: -1;
    transition: .4s all;
}

#hermes .section001 .section_inner ul li::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(calc(-50% - 2px)) rotate(135deg);
    width: 10px;
    height: 10px;
    border: 2px solid var(--cta-color);
    border-width: 2px 2px 0 0;
    transition: .5s all;
}

#hermes .section001 .section_inner ul li a{
    position: relative;
    display: block;
    width: 100%;
    height: 55px;
    align-items: center;
    background: transparent;
    transition: .5s all;
    border-radius: 10px;
    border: 1px solid var(--cta-color);
    box-sizing: border-box;
    transition: .4s all;
    overflow: hidden;
}

#hermes .section001 .section_inner ul li a::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: .4s all;
    z-index: 0;
}


#hermes .section001 .section_inner ul li a span{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 100%;
    margin-left: 40px;
    color: var(--cta-color);
    font-size: 18px;
    line-height: 1.2;
    transition: .5s all;
}

@media screen and (min-width:1025px) {
    #hermes .section001 .section_inner ul li:hover::after{
        border-color: #fff;
    }

    #hermes .section001 .section_inner ul li a:hover::before{
        width: calc(100% - 50px);
    }

    #hermes .section001 .section_inner ul li a:hover span{
        color: var(--cta-color);
    }

    #hermes .section001 .section_inner ul li a:hover span::before{
        color: var(--cta-color);
    }
}



@media screen and (max-width:1024px) {
    #hermes .section001 {
        margin-bottom: 15%;
    }

    #hermes .section001 .cnt_mv h1 {
        margin-bottom: 6%;
    }

    #hermes .section001 .section_inner p {
        margin-bottom: 6%;
    }
}

@media screen and (max-width:768px) {
    #hermes .section001 {
        margin-bottom: 14%;
    }

    #hermes .section001 .cnt_mv h1 {
        margin-bottom: 8%;
        aspect-ratio: 1 / 1;
    }

    #hermes .section001 .section_inner p {
        margin-bottom: 8%;
        font-size: min(calc(1vw * calc(16 / 3.75)), 23px);
        text-align: left;
    }

    #hermes .section001 .section_inner ul {
        max-width: min(calc(1vw * calc(240 / 3.75)),300px);
        margin: 0 auto;
        gap: 20px;
    }

    #hermes .section001 .section_inner ul li {
        width: 100%;
    }

    #hermes .section001 .section_inner ul li a{
        height: min(calc(1vw * calc(50 / 3.75)),54px);
    }

    #hermes .section001 .section_inner ul li a::after{
        transform: translate(3px, calc(-50% - 2px)) rotate(135deg);
    }

    #hermes .section001 .section_inner ul li a span{
        margin-left: min(calc(1vw * calc(20 / 3.75)),22px);
        font-size: min(calc(1vw * calc(16 / 3.75)),18px);
    }

    #hermes .section001 .section_inner ul li a::after{
        right: 22px;
        width: 8px;
        height: 8px;
    }
    
}



/*section002以降共通*/
#hermes .common_box {
    margin-bottom: 200px;
}

#hermes .common_box .section_inner > div:first-of-type{
    margin-bottom: 60px;
}

#hermes .common_box .section_inner > div:first-of-type > div:first-of-type{
    text-align: center;
    margin-bottom: 40px;
}

#hermes .common_box h2{
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 40px;
    line-height: 1.4;
    color: var(--h-title-color);
    font-weight: 500;
    letter-spacing: 5px;
    text-align: center;
}

#hermes .common_box h2 span{
    position: relative;
}

#hermes .common_box h2 span::before{
    content: "";
    position: absolute;
    bottom: -25px;
    left: 50%;
    display: block;
    width: 100%;
    transform: translateX(-50%);
    font-size: 20px;
    line-height: 1.6;
    color: var(--h-title-color);
}

#hermes .section002.common_box h2 span::before{
    content: "ノワール";
}

#hermes .section003.common_box h2 span::before{
    content: "ゴールド";
}

#hermes .section004.common_box h2 span::before{
    content: "エトゥープ";
}

#hermes .common_box h2 + p{
    margin-bottom: 40px;
    font-size: 20px;
    color: var(--p-text-color);
    line-height: 1.5;
    font-weight: 300;
    text-align: center;
}

#hermes .common_box h2 + p + p{
    font-size: 20px;
    color: var(--p-text-color);
    line-height: 1.6;
    font-weight: 100;
    text-align: center;
}

#hermes .common_box ul{
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-justify-content: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    margin: 0 auto 60px;
}

#hermes .common_box ul li{
    position: relative;
    width: calc(calc(100% - 120px) / 4);
    max-width: calc(980px / 4);
    background: #fff;
    z-index: 10;
}

#hermes .common_box ul li a{
    position: relative;
    display: block;
    padding: 5%;
    transition: .4s all ease-out;
    border-radius: 5px;
    box-sizing: border-box;
    transform-origin: center;
    border-radius: 5px;
    overflow: hidden;

}

#hermes .common_box ul li p{
    font-size: 18px;
    line-height: 1.4;
    color: var(--p-text-color);
    font-weight: 300;
    text-align: center;
}

#hermes .common_btn{
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

#hermes .common_btn a{
    position: relative;
    display: block;
    padding: 10px;
    font-size: 20px;
    line-height: 1.6;
    color: var(--cta-color);
    text-align: center;
    border: 1px solid var(--cta-color);
    border-radius: 5px;
}

#hermes .common_btn a::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border: 1px solid var(--cta-color);
    border-width: 1px 1px 0 0;
    transition: .5s all;
}

#hermes .common_btn.re_btn{
    margin-top: 6%;
}

#hermes .common_btn.re_btn a{
    color: #fff;
    background-color: var(--cta-color);
    text-align: center;
    border: 1px solid var(--cta-color);
    border-radius: 5px;
}

#hermes .common_btn.re_btn a::after{
    border: 1px solid #fff;
    border-width: 1px 1px 0 0;
}

#hermes .common_btn a:hover::after{
    transform: translate(3px,-50%) rotate(45deg);
}

#hermes .all_btn{
    margin-top: 60px;
}

@media screen and (min-width:1025px) {
    #hermes .common_box ul li a:hover{
        transform: translateY(-4px);
        box-shadow: 0 0 5px 2px #ddd;
    }
}


@media screen and (max-width:1024px) {
    #hermes .common_box {
        margin-bottom: 15%;
    }

    #hermes .section005{
        margin-bottom: 15%;
    }


    #hermes .common_box .section_inner > div:first-of-type{
        margin-bottom: 4%;
    }

    #hermes .common_box h2{
        margin-bottom: 2%;
        font-size: min(calc(1vw * calc(37 / 7.69)), 50px);
    }

    #hermes .common_box h2 span::before{
        font-size: min(calc(1vw * calc(16 / 7.69)), 20px);
    }

    #hermes .common_box h2 + p{
        margin-bottom: 3%;
        font-size: min(calc(1vw * calc(19 / 7.69)), 25px);
    }

    #hermes .common_box h2 + p + p{
        font-size: min(calc(1vw * calc(14 / 7.69)), 15px);
    }

    #hermes .common_box ul{
        margin-bottom: 4%;
    }

    #hermes .all_btn{
        margin-top: 6%;
    }
}

@media screen and (max-width:768px) {
    #hermes .common_box .section_inner > div:first-of-type{
        display: block;
        margin-bottom: 6%;
    }

    #hermes .common_box .section_inner > div:first-of-type > div{
        width: 100%;
    }

    #hermes .common_box .section_inner > div:first-of-type > div:first-of-type{
        margin-right: 0;
        margin-bottom: 4%;
    }

    #hermes .common_box h2{
        margin-bottom: 2%;
        padding-bottom: 4%;
        font-size: min(calc(1vw * calc(30 / 3.75)), 37px);
        letter-spacing: min(calc(1vw * calc(5 / 3.75)), 10px);
        text-align: left;
    }

    #hermes .common_box h2 span::before{
        bottom: max(calc(1vw * calc(-15 / 3.75)), -20px);
        font-size: min(calc(1vw * calc(14 / 3.75)), 16px);
    }

    #hermes .common_box h2 + p{
        margin-bottom: 4%;
        font-size: min(calc(1vw * calc(14 / 3.75)), 20px);
        text-align: left
    }

    #hermes .common_box h2 + p + p{
        font-size: min(calc(1vw * calc(14 / 3.75)), 15px);
        text-align: left
    }

    #hermes .common_box ul{
        gap: 20px;
    }

    #hermes .common_box ul li{
        width: calc(calc(100% - 20px) / 2);
        max-width: none;
    }

    #hermes .common_box ul li p:first-of-type{
        font-size: min(calc(1vw * calc(14 / 3.75)), 16px);
    }
}




/*スクロールアニメーション*/
#hermes .common_box h2,
#hermes .common_box h2 span{
    position: relative;
    overflow: hidden;
}

#hermes .common_box h2 span::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(0);
    display: inline-block;
    width: 500px;
    height: calc(100% + 20px);
    background: #fff;
    transition: 1.5s all;
}

#hermes .common_box.active h2 span::after{
    transform: translateX(100%);
}

#hermes .common_box h2 + p{
    opacity: 0;
    transition: .5s .4s all;
}

#hermes .common_box.active h2 + p{
    opacity: 1;
}

#hermes .common_box .list_animation li{
    position: relative;
    opacity: 0;
}

#hermes .common_box.active .list_animation li{
    animation: fadeIn .8s ease-out .4s 1 alternate forwards;
}

@keyframes fadeIn {
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

@media screen and (max-width:768px) {
    #hermes .common_box h2 + p{
        display: block;
    }
}
