@charset "UTF-8";

img {
    display: block;
}
.thumbnail-wrapper {
    width: 55vw;
    margin: 0 auto 70px;
    padding-top: 100px;
}
.title-wrapper {
    margin-bottom: 40px;
}
.title-wrapper p {
    text-align: center;
}
.title {
    font-size: 28px;
}
.kind {
    font-size: 16px;
}
.thumbnail {
    aspect-ratio: 249 / 140;
}
.thumbnail-wrapper img {
    width: 100%;
}
.container {
    max-width: 960px;
    margin: 0 auto 140px;
    padding: 0 20px;
    box-sizing: content-box;
}
.comment-wrapper {
    /* max-width: 590px;
    margin: 0 auto 100px; */
    margin-bottom: 100px;
}
.comment-container {
    display: flex;
    padding: 30px 0;
    border-bottom: 2px solid #D5D5D5;
}
.caption {
    position: relative;
    display: inline;
    font-weight: 700;
    color: #03BCCB;
    width: 30%;
}
.check {
    position: relative;
    text-align: center;
    width: 160px;
    border: solid 2px #03BCCB;
    margin: 0 0 0 auto;
    z-index: 1;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 40px;
}
.check a {
    position: relative;
    display: block;
    font-family: futura-pt, sans-serif;
    font-size: 18px;
    color: #03BCCB;
    padding: 14px 0 12px;
    transition: 0.4s cubic-bezier(.4, .4, 0, 1);
}
.check svg {
    margin-left: 4px;
    width: 15px;
    height: 15px;
}
.check svg path {
    stroke-width: 1.5px;
}
.check::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    z-index: -1;
    background: #03BCCB;
    transition: 0.4s cubic-bezier(.4, .4, 0, 1);
}
.comment {
    /* margin: 6px 0 40px; */
    width: 70%;
}
.comp {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}
.link {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 2px #d2d2d2;
    padding-bottom: 20px;
    margin-bottom: 40px;
    align-items: center;
}
.link a {
    font-family: futura-pt-bold, sans-serif;
    font-size: 20px;
    letter-spacing: 0.02em;
    padding: 0;
    position: relative;
    transition: 0.4s cubic-bezier(.4, .4, 0, 1);
}
.link-works a {
    font-family: noto-sans-cjk-jp, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #03BCCB;
}
.link .cls-1 {
    stroke: #404040;
    transition: 0.4s cubic-bezier(.4, .4, 0, 1);
}
.prev svg {
    position: absolute;
    top: 7px;
    left: 0;
    transform: rotate(270deg);
}
.next svg {
    position: absolute;
    top: 7px;
    right: 0;
    transform: rotate(90deg);
}
.prev a {
    padding-left: 25px;
    display: block;
}
.prev a::before {
    right: 64px;
}
.prev a::after {
    right: 68px;
    transform: rotate(225deg);
}
.next a {
    padding-right: 25px;
    display: block;
}
.next a::before {
    left: 69px;
}
.next a::after {
    left: 74px;
    transform: rotate(45deg);
}
.page {
    font-family: futura-pt-bold, sans-serif;
    font-size: 16px;
    text-align: center;
}
.portfolio-sp01,
.portfolio-sp02 {
    border-left: solid 1px #5F5F5F;
    border-right: solid 1px #5F5F5F;
}
.portfolio-sp01 {
    border-top: solid 1px #5F5F5F;
}
.portfolio-sp02 {
    border-bottom: solid 1px #5F5F5F;
}
.url {
    text-decoration: underline #404040;
}
.url svg {
    position: relative;
    top: 5.5px;
    left: 4px;
}
.link-button {
    position: relative;
    width: 64px;
    height: 38px;
    border: solid 2px #404040;
    border-radius: 40px;
}
.link-button svg {
    position: absolute;
    top: 10px;
    left: 21px;
}
.link a:first-child svg {
    rotate: 180deg;
}
.link a {
    display: flex;
    gap: 10px;
    align-items: center;
}
.link p {
    font-family: futura-pt-bold, sans-serif;
    font-size: 20px;
    letter-spacing: 0.02em;
}

@media (hover: hover) and (pointer: fine) {
    .check:hover::after {
        transform: scale(1, 1);
    }
    .check:hover a {
        color: #F3F3F3;
    }
    .check:hover .cls-1 {
        stroke: #F3F3F3;
    }
    .link a:hover {
        opacity: 0.5;
    }
}

@media screen and (max-width: 930px) {
    main img {
        width: 100%;
    }
    .comp {
        flex-direction: column;
    }
    .pc_wrapper {
        margin-bottom: 50px;
    }
    .sp_wrapper {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
}

@media screen and (max-width: 767px) {
    .thumbnail-wrapper {
        width: auto;
        max-width: 960px;
        padding: 0 20px;
        margin: 100px auto 60px;
    }
    .title {
        font-size: 20px;
    }
    .kind {
        font-size: 14px;
    }
    .container {
        margin: 0 auto 120px;
    }
    .comment-wrapper {
        margin: 0 auto 60px;
    }
    .comment-container {
        flex-direction: column;
    }
    .caption {
        width: 100%;
        margin-bottom: 10px;
    }
    .comment {
        margin-bottom: 0;
        width: 100%;
    }
    .check {
        width: 126px;
    }
    .check a {
        font-size: 16px;
        padding: 12px 0 10px;
    }
    .comp {
        margin-bottom: 60px;
    }
    .link a p {
        display: none;
    }
    .link-works a {
        font-size: 18px;
    }
    /* .link {
        flex-wrap: wrap;
    }
    .link_prev {
        order: 1;
        width: 50%;
    }
    .link-works {
        width: 100%;
        margin-bottom: 20px;
    }
    .link-works a {
        justify-content: center;
    }
    .link_next {
        order: 2;
        width: 50%;
        justify-content: flex-end;
    } */
    /* .link {
        margin-bottom: 30px;
    }
    .link p {
        font-size: 14px;
    }
    .link svg {
        top: 4px;
    }
    .prev a {
        padding-left: 22px;
    }
    .prev a::before {
        right: 46px;
    }
    .prev a::after {
        right: 47px;
    }
    .next a {
        padding-right: 22px;
    }
    .next a::before {
        left: 48px;
    }
    .next a::after {
        left: 49px;
    }
    .page {
        font-size: 14px;
    }
    .comp iframe {
        height: 332px !important;
    }
    .portfolio-sp01 {
        border-bottom: solid 1px #5F5F5F;
    }
    .portfolio-sp02 {
        border-top: solid 1px #5F5F5F;
    } */
}