body {
    font-family: sans-serif;
    overflow-x: hidden !important;
}

.f-serif {
    font-family: serif;
}

.lh-20 {
    line-height: 2;
}

.text-shadow {
    text-shadow: 2px 2px 4px black;
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.w-fit {
    width: fit-content;
}



.fadeup {
    transform: translateY(30px);
    opacity: 0;
    transition: .7s all ease-in-out;
}

.fadeup.isPlay {
    transform: translateY(0%);
    opacity: 1;
}

.ps-100 {
    padding-left: 100px;
}

.vertical-text {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

/* 特定箇所修正 */
.sec1 {
    height: 65vh;
}

.video {
    min-height: 30vh;
    max-height: 80vh;
}

.video-text {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.make.sec1 {
    background-image: url(../img/webp/make.webp);
    background-size: cover;
    background-position: center;
    height: 50vh;
}

.lecture.sec1 {
    background-image: url(../img/webp/lecture_1.webp);
    background-size: cover;
    background-position: center;
    height: 50vh;
}

.works.sec1 {
    background-image: url(../img/webp/work.webp);
    background-size: cover;
    background-position: center;
    height: 50vh;
}

.edit.sec1 {
    background-image: url(../img/webp/edit.webp);
    background-size: cover;
    background-position: center;
    height: 50vh;
}

.qa.sec1 {
    background-image: url(../img/webp/qanda_mobile.webp);
    background-size: cover;
    background-position: center;
    height: 50vh;
}

.lecture-img-1 {
    height: 50vh;
    object-position: bottom;
}

section.about {
    height: 20vh !important;
}

section.about2 {
    height: 70vh !important;
}

.list-img-wrapper {
    height: 20vh;
}

.lec-img-2 {
    margin-top: 10vh;
    height: 40vh;
}

.lec-img-2>img {
    height: 100%;
    object-fit: cover;
}

.sec1-context>div:nth-child(1) {
    font-size: 2.4em;
    font-family: serif;
    z-index: 99;
    top: 18vh;
    text-shadow: 2px 2px 4px black;
    left: 50%;
    transform: translateX(-50%);
}

.sec1-context>div:nth-child(2) {
    font-size: 1.3em;
    font-family: serif;
    text-shadow: 2px 2px 4px black;
    padding: 10px;
    z-index: 99;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
    top: 30vh;
}

.sec1-context>div:nth-child(3) {
    font-size: 1.3em;
    font-family: serif;
    padding: 10px;
    z-index: 99;
    top: 40vh;
    left: 50%;
    transform: translateX(-50%);
}

.sec1-context>div:nth-child(3)>a {
    width: fit-content;
    margin: 0 auto;
}

.sec2 {
    word-break: break-all;
    padding-top: 5vh;
    background: repeating-linear-gradient(45deg, transparent, transparent 15px, currentColor 15px, currentColor calc(2 * 10px));
    color: rgba(220, 220, 220, 0.3);
}

.sec2.qa {
    background: white;
    color: black;
}

.sec2.qa>div {
    border-top: 5px solid black;
}

.sec2.works {
    background: white;
}

.make.sec2>div>div {
    border: 10px solid rgba(128, 128, 128, 0.489);
}

.tags {
    width: fit-content;
    padding: 3px;
}

.tags>div {
    padding: 3px;
}

.small-text {
    font-size: .6em;
}

.list-border {
    border: 3px solid rgb(176, 176, 176);
    transition: .3s ease-in-out all;
}

.list-border:hover {
    background-color: rgba(197, 197, 197, 0.8);
}

.review-area {
    border: 1px solid rgb(232, 232, 232);
    border-radius: 10px;
}

.sec3 {
    background-image: url(../img/webp/camera.webp);
    background-size: cover;
    background-position: center;
}

.make.sec3 {
    background: white;
}

.sec3.edit {
    background: rgb(255, 255, 225) !important;
    padding: 10vh;
}

.candosec {
    /* background: linear-gradient(135deg, currentColor 25%, transparent 25%) -10px 0, linear-gradient(225deg, currentColor 25%, transparent 25%) -10px 0, linear-gradient(315deg, currentColor 25%, transparent 25%), linear-gradient(45deg, currentColor 25%, transparent 25%); */
    background-color: rgb(255, 255, 255);
    color: rgb(244, 244, 244);
    background-size: auto, auto, auto, auto;
    background-size: calc(2 * 10px) calc(3 * 10px);
    position: relative !important;
}

.make.sec3>div {
    height: 70vh;
}

.make-img>img {
    object-fit: cover;
    object-position: right;
}

.sec3-inner {
    background: rgba(0, 0, 0, 0.406);
}

.sec3-links>a {
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 1em;
    text-decoration: none;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 10px;
    display: block;
    white-space: nowrap;
}

.sec3-links>div {
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 1em;
    text-decoration: none;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 10px;
    display: block;
    white-space: nowrap;
}

.sec3-links>a:hover {
    color: white;
}

.sec3-links>a::after {
    content: '';
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0);
    transition: .3s all ease-in-out;
    width: 0px;
}

.sec3-links>a:hover::after {
    width: 100%;
    border: 1px solid rgb(255, 255, 255);
}

.stretch-btn {
    /*線の基点とするためrelativeを指定*/
    position: relative;
    padding: 10px 30px;

    display: inline-block;
    text-decoration: none;
    outline: none;
    font-size: 1.5em;
    transition: .3s all ease-in-out;
}

.stretch-btn:hover {
    background: rgb(209, 209, 209);
}

/*線の設定*/
.stretch-btn::before,
.stretch-btn::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    /*事前に出現させる線の形状*/
    border: solid #333;
    width: 20px;
    height: 20px;
    /*アニメーションの指定*/
    transition: all 0.3s ease-in-out;
}

.stretch-btn::before {
    /*事前に出現させる線の位置*/
    top: 0;
    left: 0;
    /*事前に出現させる線の形状*/
    border-width: 2px 0 0 2px;
}

.stretch-btn::after {
    /*事前に出現させる線の位置*/
    bottom: 0;
    right: 0;
    /*事前に出現させる線の形状*/
    border-width: 0 2px 2px 0;
}

/*hoverした際の線の形状*/
.stretch-btn:hover::before,
.stretch-btn:hover::after {
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border-color: #666;
}

.sec6 {
    background: repeating-linear-gradient(45deg, transparent, transparent 15px, currentColor 15px, currentColor calc(2 * 10px));
    color: rgba(220, 220, 220, 0.3);
}

.sec6>div {
    color: black !important;
    border: 10px solid rgb(205, 205, 205);
}

.contact-btn {
    width: fit-content;
}

.b1-wrapper {
    height: 15vh;
}

.b1 {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;

    /* 文字のサイズ → 1.2em */
    font-size: 1.2em;

    /* 文字の色 → 黒*/
    color: black;

    /* 枠の色 → 黒 */
    outline: 2px solid black;
    padding: 15px 30px;
    overflow: hidden;
    transition: color .4s ease-in;
    transform: translateX(-50%);
    display: inline;
    position: absolute;
    top: 20px;
    left: 50%;

}

/* カーソル(マウス)がボタンの上に来た時 */
.b1:hover {
    /* 文字の色 → 白 */
    color: white;
}

.b1::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50px;
    width: 0;
    height: 100%;

    /* 背景の色 →　黒*/
    background-color: black;

    transform: skewX(35deg);
    z-index: -1;
    transition: .6s width ease;
}

.b1:hover::before {
    width: 150%;
}

.bi-lightbulb-fill {
    fill: rgb(255, 255, 0);
    -webkit-text-stroke: 1px black;
}

.about-fadein-up {
    overflow: hidden;
}

.about-fadein-up>span.about1 {
    display: block;
    transform: translate(10px, 80%);
    transition: all cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
    opacity: 0;
}

.about-fadein-up.-visible>span.about1 {
    opacity: 1 !important;
}

.about-fadein-up.-visible span.about1 {
    transform: translate(0, 0);
}

.about-fadein-up span.about1:nth-child(1) {
    transition-delay: 0s;
}

.about-fadein-up span.about1:nth-child(2) {
    transition-delay: 0.10s;
}

.about-fadein-up span.about1:nth-child(3) {
    transition-delay: 0.20s;

}

.about-fadein-up span.about1:nth-child(4) {
    transition-delay: 0.30s;
}

.about-fadein-up span.about1:nth-child(5) {
    transition-delay: 0.40s;
}

.about-fadein-up span.about1:nth-child(6) {
    transition-delay: 0.50s;
}

.about-fadein-up span.about1:nth-child(7) {
    transition-delay: 0.60s;
}

.about-fadein-up span.about1:nth-child(8) {
    transition-delay: 0.70s;
}

.about-fadein-up span.about1:nth-child(9) {
    transition-delay: 0.80s;
}

.about-fadein-up span.about1:nth-child(10) {
    transition-delay: 0.90s;
}

.about-fadein-up span.about1:nth-child(11) {
    transition-delay: 1.00s;
}

.about-fadein-up span.about1:nth-child(12) {
    transition-delay: 1.10s;
}

.about-fadein-up span.about1:nth-child(13) {
    transition-delay: 1.20s;
}

.about-fadein-up span.about1:nth-child(14) {
    transition-delay: 1.30s;
}

.about-img-wrapper {
    height: 90vh;
}

.about-img-1 {
    left: 10%;
    width: 30%
}

.about-img-2 {
    right: 10%;
    top: 40vh;
    width: 35%
}

.about-img-3 {
    left: 30%;
    top: 80vh;
    width: 30%
}


.x-scroll {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
}

.x-scroll::-webkit-scrollbar {
    /* Chrome, Safari 対応 */
    display: none;
}

.x-scroll .slide {
    flex: none;
    height: 100%;
    box-sizing: border-box;
    display: inline-block;
}

footer {
    background-color: rgb(63, 63, 63);
    color: white;
    width: 100%;
}

.footer-link {
    margin-top: 20px;
    display: block;
    width: fit-content;
}

.reflection {
    position: relative;
    overflow: hidden;
}

.reflection:hover::after {
    content: "";
    display: block;
    width: 30px;
    height: 100%;
    position: absolute;
    top: -180px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.847);
    opacity: 0;
    transform: rotate(45deg);
    animation: reflect 2s ease-in-out;
    -webkit-transform: rotate(45deg);
    -webkit-animation: reflect 2s ease-in-out;
}

@keyframes reflect {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    20% {
        transform: scale(30) rotate(45deg);
        opacity: 1;
    }

    50% {
        transform: scale(40) rotate(45deg);
        opacity: 0.1;
    }

    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

@-webkit-keyframes reflect {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }

    81% {
        transform: scale(4) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

.coutain {
    width: 100%;
    position: relative;
    height: auto;
    overflow: hidden;
}

.coutain:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(192, 192, 192);
    transition: 1s all cubic-bezier(0.7, 0, 0.2, 1);
}


.coutain.isPlay:before {
    transform: translate3d(100%, 0, 0);
}

.toright {
    transform: translateX(-20%);
    transition: .6s all ease-in-out;
    filter: blur(10px);
    opacity: 0;
}

.toright.isPlay {
    transform: translateX(0%);
    filter: blur(0px);
    opacity: 1;
}

.lecture-trans-text {
    transform: translateY(-200px);
}

.iframe-wrapper {
    height: 50vh;
}

.success {
    border: 3px solid green;
}

.false {
    border: 3px solid red;
}

.sns-wrapper {
    border-radius: 50%;
    padding: 7%;
}

.insta {
    border: 3px solid purple;
    transition: .3s all ease-in-out;
}

.youtube {
    border: 3px solid red;
}

.bi-instagram {
    transition: .3s all ease-in-out;
}

.bi-youtube {
    transition: .3s all ease-in-out;
}

.bi-instagram.active {
    transform: scale(1.2);
}

.bi-youtube.active {
    transform: scale(1.2);
}