@charset "utf-8";


#valentine{
    --h-title-color: #9E5D5D;
    --p-text-color: #4A2828;
    --back-color: #E5D1D0;
    --cta-color: #C9A66B;
    position: relative;
}

#valentine * {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', serif !important;
    line-height: 0;
    box-sizing: border-box;
}

#valentine img {
    width: 100%;
    height: auto;
}

#valentine ul {
    list-style: none;
}

#valentine a {
    text-decoration: none;
}

#valentine .section_inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

#valentine .comma_none{
    display: none;
}

@media screen and (max-width:1024px) {
    #valentine .section_inner {
        padding: 0 2%;
    }
}

@media screen and (max-width:768px) {
    #valentine .sp_none{
        display: none;
    }

    #valentine .comma_none{
        display: inline-block;
    }
}



/*section001*/
#valentine .section001 {
    margin-bottom: 200px;
}

#valentine .section001 .cnt_mv h1 {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto 60px;
    aspect-ratio: 1325 / 582;
}

#valentine .section001 .section_inner p {
    margin-bottom: 60px;
    text-align: center;
    font-size: 20px;
    color: var(--p-text-color);
    line-height: 1.8;
    font-weight: 100;
}

#valentine .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;
}

#valentine .section001 .section_inner ul li {
    width: calc(100% / 4);
    max-width: calc(1200px / 4);
}

#valentine .section001 .section_inner ul li:not(:last-of-type) {
    margin-right: 40px;
}

#valentine .section001 .section_inner ul li a{
    position: relative;
    display: block;
    height: 60px;
    align-items: center;
    background: var(--cta-color);
    transition: .5s all;
    border-radius: 100px;
    border: 1px solid var(--cta-color);
    box-sizing: border-box;
}

#valentine .section001 .section_inner ul li a::before,
#valentine .section001 .section_inner ul li a::after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: .5s all;
}

#valentine .section001 .section_inner ul li a::before{
    right: 4px;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid var(--cta-color);
    box-sizing: border-box;
    border-radius: 50px;
}

#valentine .section001 .section_inner ul li a::after{
    transform: translateY(-50%) rotate(45deg);
    right: 24px;
    width: 12px;
    height: 12px;
    border: 1px solid var(--cta-color);
    border-width: 1px 1px 0 0;
}

#valentine .section001 .section_inner ul li a span{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 100%;
    margin-left: 26px;
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
    transition: .5s all;
}

@media screen and (min-width:1025px) {
    #valentine .section001 .section_inner ul li a:hover{
        background: #fff;
    }

    #valentine .section001 .section_inner ul li a:hover::before{
        box-shadow: inset 0px 0px 3px 0px rgb(113,75,35,.5);
    }

    #valentine .section001 .section_inner ul li a:hover::after{
        transform: translate(3px,calc(-50% - 2px)) rotate(135deg);
    }

    #valentine .section001 .section_inner ul li a:hover span{
        color: var(--cta-color);
    }

    #valentine .section001 .section_inner ul li a:hover span::before{
        color: var(--cta-color);
    }
}

@media screen and (max-width:1600px) {
    #valentine .section001 .section_inner ul{
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }

    #valentine .section001 .section_inner ul li{
        width: calc(96% / 2);
    }

    #valentine .section001 .section_inner ul li:not(:nth-of-type(2n)){
        margin-right: 4%;
    }

    #valentine .section001 .section_inner ul li:nth-of-type(2n){
        margin-right: 0;
    }

    #valentine .section001 .section_inner ul li:not(:nth-of-type(n + 3)){
        margin-bottom: 4%;
    }
}


@media screen and (max-width:1024px) {
    #valentine .section001 {
        margin-bottom: 15%;
    }

    #valentine .section001 .cnt_mv h1 {
        margin-bottom: 6%;
    }

    #valentine .section001 .section_inner p {
        margin-bottom: 6%;
    }

    #valentine .section001 .section_inner ul {
        max-width: 600px;
        margin: 0 auto;
    }

    #valentine .section001 .section_inner ul li {
        width: calc(96% / 2);
        max-width: none;
    }

    #valentine .section001 .section_inner ul li:not(:last-of-type) {
        margin-right: 0;
    }

    #valentine .section001 .section_inner ul li:not(:nth-of-type(2n)) {
        margin-right: 4%;
    }

    #valentine .section001 .section_inner ul li:not(:nth-of-type(n + 3)) {
        margin-bottom: 4%;
    }

    #valentine .section001 .section_inner ul li a::after{
        transform: translate(2px,calc(-50% - 2px)) rotate(135deg);
    }
}

@media screen and (max-width:768px) {
    #valentine .section001 {
        margin-bottom: 14%;
    }

    #valentine .section001 .cnt_mv h1 {
        margin-bottom: 8%;
        aspect-ratio: 1 / 1;
    }

    #valentine .section001 .section_inner p {
        margin-bottom: 8%;
        font-size: min(calc(1vw * calc(16 / 3.75)), 23px);
        text-align: left;
    }

    #valentine .section001 .section_inner ul {
        max-width: min(calc(1vw * calc(240 / 3.75)),300px);
    }

    #valentine .section001 .section_inner ul li {
        width: 100%;
    }

    #valentine .section001 .section_inner ul li:not(:nth-of-type(2n)) {
        margin-right: 0;
    }

    #valentine .section001 .section_inner ul li:not(:nth-of-type(n + 3)) {
        margin-bottom: 0;
    }

    #valentine .section001 .section_inner ul li:not(:last-of-type) {
        margin-bottom: 4%;
    }

    #valentine .section001 .section_inner ul li a{
        height: min(calc(1vw * calc(50 / 3.75)),54px);
    }

    #valentine .section001 .section_inner ul li a::before{
        width: min(calc(1vw * calc(40 / 3.75)),44px);
        height: min(calc(1vw * calc(40 / 3.75)),44px);
    }

    #valentine .section001 .section_inner ul li a::after{
        transform: translate(3px, calc(-50% - 2px)) rotate(135deg);
    }

    #valentine .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);
    }

    #valentine .section001 .section_inner ul li a::after{
        right: 22px;
        width: 8px;
        height: 8px;
    }
    
}



/*section002以降共通*/
#valentine .common_box {
    margin-bottom: 200px;
}

#valentine .common_box .section_inner > div:first-of-type{
    margin-bottom: 60px;
}

#valentine .common_box .section_inner > div:first-of-type > div:first-of-type{
    text-align: center;
    margin-bottom: 40px;
}

#valentine .common_box h2{
    position: relative;
    margin-bottom: 20px;
    font-size: 40px;
    line-height: 1.4;
    color: var(--h-title-color);
    font-weight: 500;
    letter-spacing: 5px;
    text-align: center;
}

#valentine .common_box h2 + p{
    margin-bottom: 30px;
    font-size: 25px;
    color: var(--p-text-color);
    line-height: 1.5;
    font-weight: 300;
    text-align: center;
}

#valentine .common_box h2 + p + p{
    font-size: 20px;
    color: var(--p-text-color);
    line-height: 1.6;
    font-weight: 100;
    text-align: center;
}

#valentine .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;
    width: 100%;
    margin: 0 auto 60px;
}

#valentine .common_box ul li{
    position: relative;
    width: calc(100% / 3);
    max-width: calc(1400px / 3);
    background: #fff;
    z-index: 10;
}

#valentine .common_box ul li:not(:nth-of-type(3n)){
    margin-right: 80px;
}

#valentine .common_box ul li:nth-last-of-type(n + 4){
    margin-bottom: 80px;
}

#valentine .common_box ul li a{
    position: relative;
    display: block;
    /*padding: 4%;*/
    transition: .4s all ease-out;
    border-radius: 5px;
    box-sizing: border-box;
    transform-origin: center;

}

#valentine .common_box ul li a::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    transform-origin: center;
    display: block;
    width: 100%;
    height: 100%;
    background: var(--back-color);
    z-index: -1;
    transition: .4s all ease-out;
}

#valentine .common_box ul li div:first-of-type{
    padding-bottom: 20px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    transition: .4s .2s all;
}

#valentine .common_box ul li div:last-of-type{
    position: relative;
    padding: 0 15px 15px;
    background: #fff;
    transition: .4s .2s all;
}

#valentine .common_box ul li div:last-of-type::before{
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    display: block;
    width: 100%;
    height: 10px;
    background: #fff;
}

#valentine .common_box ul li div img{
    position: relative;
    transition: .4s all;
    transform-origin: center;
}

#valentine .common_box ul li p:first-of-type{
    margin-bottom: 20px;
    font-size: 23px;
    line-height: 1.4;
    color: var(--p-text-color);
    font-weight: 300;
    text-align: center;
}

#valentine .common_box ul li p:last-of-type{
    font-size: 18px;
    line-height: 1.6;
    color: var(--p-text-color);
    font-weight: 100;
    text-align: center;
}

#valentine .common_btn{
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

#valentine .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;
}

#valentine .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;
}

#valentine .common_btn.re_btn{
    margin-top: 6%;
}

#valentine .common_btn.re_btn a{
    color: #fff;
    background-color: var(--cta-color);
    text-align: center;
    border: 1px solid var(--cta-color);
    border-radius: 5px;
}

#valentine .common_btn.re_btn a::after{
    border: 1px solid #fff;
    border-width: 1px 1px 0 0;
}

#valentine .common_btn a:hover::after{
    transform: translate(3px,-50%) rotate(45deg);
}

#valentine .all_btn{
    margin-top: 60px;
}

@media screen and (min-width:1025px) {
    #valentine .common_box ul li a:hover{
        /*transform: translateY(-5px);
        box-shadow: 0 0 5px 2px #ddd;*/
        transform: translateX(-5px) rotate(-3deg);
    }

    #valentine .common_box ul li a:hover::after{
        /*transform: translateY(-5px);
        box-shadow: 0 0 5px 2px #ddd;*/
        transform: translateX(15px) rotate(6deg);
    }

    #valentine .common_box ul li a:hover div:first-of-type{
        box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, .1);
    }

    #valentine .common_box ul li a:hover div:last-of-type{
        box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, .1);
    }
}

@media screen and (max-width:1620px) {
    #valentine .common_box ul li{
        width: calc(88% / 3);
    }

    #valentine .common_box ul li:not(:nth-of-type(3n)){
        margin-right: 6%;
    }

    #valentine .common_box ul li:nth-last-of-type(n + 4){
        margin-bottom: 6%;
    }
}

@media screen and (max-width:1024px) {
    #valentine .common_box {
        margin-bottom: 15%;
    }

    #valentine .section005{
        margin-bottom: 15%;
    }


    #valentine .common_box .section_inner > div:first-of-type{
        margin-bottom: 4%;
    }

    #valentine .common_box h2{
        margin-bottom: 2%;
        font-size: min(calc(1vw * calc(37 / 7.69)), 50px);
    }

    #valentine .common_box h2 + p{
        margin-bottom: 3%;
        font-size: min(calc(1vw * calc(19 / 7.69)), 25px);
    }

    #valentine .common_box h2 + p + p{
        font-size: min(calc(1vw * calc(14 / 7.69)), 15px);
    }

    #valentine .common_box ul{
        margin-bottom: 4%;
    }

    #valentine .common_box ul li:not(:nth-of-type(3n)){
        margin-right: 3%;
    }

    #valentine .common_box ul li:nth-last-of-type(n + 4){
        margin-bottom: 3%;
    }

    #valentine .common_box ul li a::after{
        transform: translate(10px, 10px);
    }

    #valentine .all_btn{
        margin-top: 6%;
    }
}

@media screen and (max-width:768px) {
    #valentine .common_box .section_inner > div:first-of-type{
        display: block;
        margin-bottom: 6%;
    }

    #valentine .common_box .section_inner > div:first-of-type > div{
        width: 100%;
    }

    #valentine .common_box .section_inner > div:first-of-type > div:first-of-type{
        margin-right: 0;
        margin-bottom: 4%;
    }

    #valentine .common_box h2{
        margin-bottom: 2%;
        font-size: min(calc(1vw * calc(30 / 3.75)), 37px);
        letter-spacing: min(calc(1vw * calc(5 / 3.75)), 10px);
        text-align: left;
    }

    #valentine .common_box h2 + p{
        margin-bottom: 4%;
        font-size: min(calc(1vw * calc(16 / 3.75)), 20px);
        text-align: left
    }

    #valentine .common_box h2 + p + p{
        font-size: min(calc(1vw * calc(14 / 3.75)), 15px);
        text-align: left
    }

    #valentine .common_box ul li{
        width: calc(96% / 2);
        max-width: none;
    }

    #valentine .common_box ul li:not(:nth-of-type(3),:last-of-type){
        margin-right: 0;
    }

    #valentine .common_box ul li:nth-last-of-type(n + 4){
        margin-bottom: 0;
    }

    #valentine .common_box ul li:not(:nth-of-type(2n),:last-of-type){
        margin-right: 4%;
    }

    #valentine .common_box ul li:nth-last-of-type(n + 2){
        margin-bottom: 4%;
    }

    #valentine .common_box ul li a::after{
        display: none;
        transform: translate(5px, 5px);
    }

    #valentine .common_box ul li div:first-of-type{
        padding-bottom: 3%;
    }

    #valentine .common_box ul li p:first-of-type{
        margin-bottom: 2%;
        font-size: min(calc(1vw * calc(14 / 3.75)), 16px);
    }

    #valentine .common_box ul li p:last-of-type{
        font-size: min(calc(1vw * calc(12 / 3.75)), 14px);
    }
}




/*スクロールアニメーション*/
#valentine .common_box h2,
#valentine .common_box h2 span{
    position: relative;
    overflow: hidden;
}

#valentine .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;
}

#valentine .common_box.active h2 span::after{
    transform: translateX(100%);
}

#valentine .common_box h2 + p{
    opacity: 0;
    transition: .5s .4s all;
}

#valentine .common_box.active h2 + p{
    opacity: 1;
}

#valentine .common_box .list_animation li{
    position: relative;
    opacity: 0;
}

#valentine .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) {
    #valentine .common_box h2 + p{
        display: block;
    }
}
