@charset "UTF-8";

.mv_box {
    position: relative;
    background: #3c3d45;
}

.img_txt {
    position: absolute;
    top: 0;
    left: 0;
}

.top_text {
    max-width: 700px;
    margin: 0 auto;
}

.mt20 {
    margin-top: 20px;
}

.mt40 {
    margin-top: 40px;
}

.mb40 {
    margin-bottom: 40px;
}

.cont_section {
    padding: 80px 0;
}

.logo-container {
    position: absolute;
    display: inline-block;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 43%;
}

.cont_link > li {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: calc(100% - 60px);
}

.cont_link > li:nth-of-type(n + 2) {
    margin-top: 40px;
}

.cont_link > li:nth-of-type(odd) {
    margin-left: auto;
}

.cont_link_img {
    width: 50%;
}

.cont_link_img img {
    object-fit: cover;
    height: 100%;
}

.cont_link_txt {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.cont_link_txt > div {
    width: 100%;
    padding: 20px 0;
}

.cont_link_ttl {
    width: 100%;
    text-align: center;
    line-height: 1.8;
    font-size: clamp(14px, 2vw, 20px);
}

.cont_link_subttl {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid;
    padding-top: 1.8em;
    margin-top: 30px;
    font-size: clamp(16px, 2.5vw, 22px);
}

.cont_link01 {
    background: #fce7d8;
}

.cont_link02 {
    background: #e9f1fa;
}

.cont_link03 {
    background: #fcedec;
}

.cont_link04 {
    background: #f8f3da;
}

.cont_link05 {
    background: #d0ebe9;
}

.top_more_btn {
    width: 145px;
    margin: 50px auto 0;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    transition-duration: 0.6s;
}

.top_more_btn:hover {
    opacity: 0.6;
}

.top_more_btn:hover .arrow {
    animation: hover_arrow 0.2s linear forwards;
}

.cont_txt01 {
    margin: 20px auto -40px;
    width: 80%;
    max-width: 240px;
    display: block;
}

.arrow {
    position: absolute;
    left: 60px;
    top: 50%;
    width: 85px;
    height: 1px;
    background: #000;
    transition: width 0.6s ease;
    animation: loop_arrow 3s linear infinite;
    z-index: 1;
}

.arrow::after {
    content: "";
    position: absolute;
    right: -15px;
    top: -5px;
    background: url(../img/common/btn_arrow.svg) no-repeat;
    width: 16px;
    height: 6px;
}

.logo-text {
    display: block;
    opacity: 0;
    width: 100%;
}

.is-show .logo-text {
    animation: fadeInUp 1.2s ease-out 0s forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loop_arrow {
    0% {
        width: 60px;
    }
    50% {
        width: 85px;
    }
    100% {
        width: 60px;
    }
}

@keyframes hover_arrow {
    100% {
        width: 85px;
    }
}


.shine-wrap-top {
    position: absolute;
    width: 6%;
    /* 初期状態は隠しておく */
    opacity: 0;
    transform: scale(0);
}

.shine-img-top {
    width: 100%;
    height: auto;
    display: block;
}


.shine-left-pos {
    left: -4%;
    top: -29%;
}

.shine-right-pos {
    right: -2%;
    top: -4%;
}


.is-show .shine-left-pos {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 1.5s;
    opacity: 0;
    transform: scale(0);
}

.is-show .shine-right-pos {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 1.6s;
    opacity: 0;
    transform: scale(0);
}


.is-show .shine-img-top {
    animation-name: markSway;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    transform: translate(0, 0) scale(0.8);
}

.is-show .shine-left-pos .shine-img-top {
    animation-duration: 3.2s;
    animation-delay: 2.2s;
}

.is-show .shine-right-pos .shine-img-top {
    animation-duration: 2.8s;
    animation-delay: 2.3s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    60% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.codawari_flex {
    display: flex;
    align-items: center;
}

.codawari_flex_txt {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.codawari_flex_img {
    width: 50%;
}

.codawari_flex_txt .logo-container {
    position: relative;
    margin-top: 30px;
    transform: initial;
    left: initial;
}


.animation-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 200 / 226;
    background: url(../img/top/codawari_bg01.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
}

.cycle-diagram-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    background: transparent;
    margin: 0;
}

.inner-content {
    width: 100%;
    height: 100%;
    position: relative;
    top: 20px;
}


.diagram-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.line {
    stroke: #fff;
    stroke-width: 1;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}


.item-box {
    position: absolute;
    width: 21.7%;
    aspect-ratio: 1 / 1;
    z-index: 2;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.main-circle {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.pos-top {
    left: 50%;
    top: 16.66%;
}

.pos-tr {
    left: 80%;
    top: 36.66%;
}

.pos-br {
    left: 66.66%;
    top: 75%;
}

.pos-bl {
    left: 33.33%;
    top: 75%;
}

.pos-tl {
    left: 20%;
    top: 36.66%;
}


.shine-wrapper {
    position: absolute;
    width: 40%;
    height: auto;
    opacity: 0;
    transform: scale(0);
    z-index: 3;
    pointer-events: none;
}

.shine-img {
    width: 100%;
    height: auto;
    display: block;
}


.shine-pos-top {
    top: -30%;
    left: 25%;
}

.shine-pos-tr {
    top: -13%;
    right: -13%;
}

.shine-pos-br {
    bottom: -12%;
    right: -20%;
}

.shine-pos-bl {
    bottom: -13%;
    left: -13%;
}

.shine-pos-tl {
    top: -11%;
    left: -30%;
}


.center-text {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 38%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    z-index: 10;
    opacity: 0;
    white-space: nowrap;
}


@keyframes popInResponsive {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes popInCenter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes popInShine {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    60% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


@keyframes markSway {
    0% {
        transform: translate(0, 0) scale(0.8);
    }
    50% {
        transform: translate(0, -5px) scale(1.1);
    }
    100% {
        transform: translate(0, 0) scale(0.8);
    }
}


.is-show .pos-top {
    animation: popInResponsive 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0s forwards;
}

.is-show .line-1 {
    animation: drawLine 0.4s linear 0.4s forwards;
}

.is-show .pos-tr {
    animation: popInResponsive 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

.is-show .line-2 {
    animation: drawLine 0.4s linear 1.1s forwards;
}

.is-show .pos-br {
    animation: popInResponsive 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards;
}

.is-show .line-3 {
    animation: drawLine 0.4s linear 1.8s forwards;
}

.is-show .pos-bl {
    animation: popInResponsive 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.1s forwards;
}

.is-show .line-4 {
    animation: drawLine 0.4s linear 2.5s forwards;
}

.is-show .pos-tl {
    animation: popInResponsive 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.8s forwards;
}

.is-show .line-5 {
    animation: drawLine 0.4s linear 3.2s forwards;
}


.is-show .shine-wrapper {
    animation: popInShine 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 3.5s forwards;
}


/* .is-show .shine-img {
    animation: markSway 3s ease-in-out infinite;
    animation-delay: 4.2s; 
} */


.is-show .shine-img {
    animation-name: markSway;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    transform: translate(0, 0) scale(0.8);
}


.is-show .pos-top .shine-img {
    animation-duration: 3.0s;
    animation-delay: 4.2s;
}


.is-show .pos-tr .shine-img {
    animation-duration: 3.5s;
    animation-delay: 4.5s;
}


.is-show .pos-br .shine-img {
    animation-duration: 2.5s;
    animation-delay: 4.3s;
}


.is-show .pos-bl .shine-img {
    animation-duration: 3.2s;
    animation-delay: 4.6s;
}


.is-show .pos-tl .shine-img {
    animation-duration: 2.8s;
    animation-delay: 4.4s;
}


.is-show .center-text {
    animation: popInCenter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 3.8s forwards;
}


.link_soon{
    pointer-events: none;
    opacity: 0.6 !important;
}
.link_soon .arrow{
    animation: none;
    width: 20px !important;
    right: 0;
    left: initial;
}

@media screen and (max-width: 650px) {
    .cont_section {
        padding: 60px 0;
    }
    .codawari_flex {
        flex-wrap: wrap;
    }
    .codawari_flex_txt {
        width: 100%;
    }
    .codawari_flex_txt > p {
        font-size: 14px;
    }
    .codawari_flex_img {
        width: 100%;
        margin-top: 60px;
    }
    .cont_link > li {
        width: calc(100% - 20px);
    }
    .cont_link > li:nth-of-type(n + 2) {
        margin-top: 20px;
    }
    .top_more_btn {
        width: 95px;
        margin: 50px auto 0;
        font-size: 12px;
    }
    .arrow {
        left: 50px;
        width: 55px;
    }
    .arrow::after {
        right: -3px;
        top: -4px;
        width: 14px;
        height: 5px;
    }
    @keyframes loop_arrow {
        0% {
            width: 40px;
        }
        50% {
            width: 55px;
        }
        100% {
            width: 40px;
        }
    }
    @keyframes hover_arrow {
        100% {
            width: 55px;
        }
    }
}