.projects-header-title {
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: absolute;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    height: 100%;
    font-size: 5vmax;
    animation: fadeIn ease 2s;
    animation-fill-mode: forwards;
}


/* animation */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.projects-subtext {
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    margin: 5rem auto 0 auto;
    color: white;
    font-size: 2vmax;
    border-radius: 1rem;
}


/* swiper */

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-video {
    text-align: center;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 100px 200px;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* swiper */


/* gym video */

.gymvideo-container {
    display: flex;
    align-items: center;
}


/* video */

.project-title {
    background-color: rgb(58, 58, 58);
    color: white;
    padding: 1vmax 10vmax;
    font-size: 60px;
    font-weight: bold;
}

.video-container {
    display: flex;
    align-items: center;
}

.vcon-left {
    padding: 30px;
    font-size: 20px;
}

.vcon-right {
    position: relative;
    flex: 1;
    width: 1px;
}

.video-silde {
    padding: 100px 200px;
}


/* ^video^ */


/* ad */

#project-ad {
    position: relative;
}

#adbg {
    width: 100%;
}

#project-adbutton {
    width: 30%;
    position: absolute;
    right: 15%;
    bottom: 20%;
}

#project-adbutton a img {
    width: 100%;
    margin: 5%;
}


/* ad */


/* comics */

#comics {
    position: relative;
}

.comics-container {
    display: flex;
}

.ccon {
    position: relative;
    flex: 1;
    width: 1px;
    padding: 20px 30px;
    margin: 5px 30px;
    /* border: black 2px solid; */
    border-radius: 30px;
    transition: black 0.25s;
}

.borderAn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 0;
    height: 0;
    background: transparent;
    border: 2px solid transparent;
}

.borderAn:hover::before {
    animation: animate 1s linear forwards;
}

@keyframes animate {
    0% {
        width: 0;
        height: 0;
        border-top-color: #000;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    50% {
        width: 100%;
        height: 0;
        border-top-color: #000;
        border-right-color: #000;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    100% {
        width: 100%;
        height: 100%;
        border-top-color: #000;
        border-right-color: #000;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
}

.borderAn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 0;
    height: 0;
    background: transparent;
    border: 2px solid transparent;
}

.borderAn:hover::after {
    animation: animate2 1s linear forwards;
    animation-delay: 1s;
}

@keyframes animate2 {
    0% {
        width: 0;
        height: 0;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: #000;
    }
    50% {
        width: 0%;
        height: 100%;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: #000;
        border-left-color: #000;
    }
    100% {
        width: 100%;
        height: 100%;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: #000;
        border-left-color: #000;
    }
}


/* .ccon::before {
    width: 0;
    height: 0;
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    border: 2px solid transparent;
    border-radius: 30px;
}

.ccon:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: black;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-right-color: black;
    transition: width 1s linear, height 1s linear;
}

.ccon::after {
    width: 0;
    height: 0;
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    border: 2px solid transparent;
    border-radius: 30px;
}

.ccon:hover::after {
    width: 100%;
    height: 100%;
    border-top-color: transparent;
    border-left-color: black;
    border-bottom-color: black;
    border-right-color: transparent;
    transition: width 1s linear, height 1s linear;
} */

.comics-silde {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.comic-title {
    font-size: 30px;
    font-weight: bold;
}

.finger {
    position: absolute;
    z-index: 100;
    left: 60%;
    bottom: 10%;
    /* color: black; */
    color: rgb(239, 73, 117);
    animation: silde-finger 2s;
    animation-iteration-count: 3;
    animation-fill-mode: forwards;
}

@keyframes silde-finger {
    0% {
        left: 60%;
    }
    99% {
        opacity: 1;
    }
    100% {
        left: 35%;
        opacity: 0;
    }
}


/* comics */


/* score-ad */

.score {
    width: 100%;
    height: 400px;
    position: relative;
    color: white;
}

.score-bg {
    display: block;
    width: 100%;
    height: 400px;
    background: url("/material/projects/ad_score.jpg") fixed no-repeat 50% 50%;
    background-size: 100% auto;
    position: absolute;
    background-color: black;
}

.score-content {
    position: absolute;
    bottom: 120px;
    right: 5%;
    width: 30%;
}

.score-title {
    font-family: PingFangSC-Regular, sans-serif;
    /* position: absolute; */
    font-size: 30px;
}

.score-title:after {
    content: "";
    /* This is necessary for the pseudo element to work. */
    display: block;
    text-align: left;
    /* Change this to whatever width you want. */
    padding-top: -4px;
    /* This creates some space between the element and the border. */
    border-bottom: 2px solid white;
    /* This creates the border. Replace black with whatever color you want. */
}

.score-contatiner {
    font-family: "ヒラギノ角zゴ Pro W3", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    margin-top: 10px;
    font-size: 20px;
    /* width: 30%; */
}


/* score-ad */


/* travel */

.travel-timeline {
    width: 100%;
    height: 640px;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timeline_line {
    width: 95%;
    height: 3px;
    background-color: black;
    margin: 0px 30px;
    position: absolute;
    z-index: 0;
}

.timeline_points {
    display: flex;
    padding: 0 2.5%;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

#airplane {
    position: absolute;
    top: 80px;
    left: 2.5%;
}

.point {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.point .country {
    text-align: center;
    height: 40%;
    position: relative;
}

.point .country img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.point .cirle {
    width: 36px;
    height: 36px;
    display: flex;
    border-radius: 30px;
    border: black 2px solid;
    background-color: #f8fafc;
    justify-content: center;
    align-items: center;
}

.point .cirle:hover {
    cursor: pointer;
}

.point .cirle .cirle-mid {
    background-color: black;
    border-radius: 50%;
    opacity: 1;
    width: 16px;
    height: 16px;
}

.point .content {
    position: relative;
    height: 40%;
    opacity: 0;
    text-align: center;
    word-wrap: break-word;
}

.point .hidden {
    display: none;
}

.fadeAnimation {
    animation-name: fade;
    animation-duration: 1s;
}


/* .moveKrAnimation {
  animation-name: moveTest;
  animation-duration: 1s;
} */

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.travel-country {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3%;
}

.travel-country .travel-country-image {
    width: 30%;
    position: relative;
}

.travel-country .travel-country-content {
    width: 70%;
}

.travel-country .travel-country-content p {
    padding: 5%;
    font-size: 3vmin;
}

.travel-country .travel-country-image .travel-country-img {
    width: 100%;
}

.travel-country .travel-country-image .travel-country-icon {
    position: absolute;
    top: 0;
    left: 0;
}


/* @keyframes moveTest {
  from {
    transform: translate(2.5%,80px);
  }
  to {
    transform: translate(100%,80px);
  }
} */


/* travel */


/* juggle */

.juggling_back {
    z-index: 0;
    width: 100%;
    position: absolute;
    height: 1000px;
}

.juggling_back img {
    width: 100%;
    height: 1000px;
    object-fit: cover;
    opacity: 0.5;
}

.juggling_front {
    padding: 5%;
    height: 1000px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    min-height: 300px;
    margin: auto;
    opacity: 0;
}

.juggling_front_container {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 100px;
    position: relative;
    object-fit: cover;
    object-position: center;
    height: 92%;
    top: 4%;
}

.juggle_title {
    text-align: center;
    padding: 30px 0;
    font-size: 50px;
    font-weight: bold;
    color: white;
}

.juggle_title::after {
    content: '';
    display: block;
    /* This will put the pseudo element on its own line. */
    margin: 0 auto;
    /* This will center the border. */
    width: 60%;
    /* Change this to whatever width you want. */
    padding-top: -4px;
    /* This creates some space between the element and the border. */
    border-bottom: 2px solid white;
}

.juggle_video {
    text-align: center;
}


/* juggle */

@media only screen and (max-width: 1200px) {
    .vcon-left {
        padding: 30px 0 0 0;
    }
    .video-container {
        display: block;
    }
    .vcon-left {
        text-align: center;
    }
    .vcon-right {
        width: auto;
    }
}

@media only screen and (max-width: 992px) {
    .video-silde {
        padding: 5% 10%;
    }
    .ccon {
        padding: 5px 5px;
    }
    .score-content {
        bottom: 10%;
    }
}

@media only screen and (max-width: 768px) {
    .video-silde {
        padding: 10% 10%;
    }
    .comics-container {
        display: block;
    }
    .ccon {
        width: auto;
    }
    .score-title {
        font-size: 25px;
    }
    .score-contatiner {
        font-size: 18px;
    }
    .score-content {
        width: 40%;
    }
    .travel-country {
        flex-direction: column;
    }
    .travel-country .travel-country-image {
        width: 100%;
    }
    .travel-country .travel-country-content {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    #projectHeader-top {
        font-size: 30px;
    }
    #projectHeader-bottom {
        font-size: 30px;
    }
    .project-title {
        font-size: 40px;
    }
    .juggling_front_container {
        padding: 5%;
    }
}

@media only screen and (max-width: 390px) {
    .project-title {
        padding: 1vmax 5vmax;
    }
    .score-bg {
        height: 450px;
    }
    .juggling_front {
        height: auto;
    }
}