.main {
    margin: 0 auto;
}

/*---------------------------------
               共通
-----------------------------------*/
.profile-index h2,
.gallery-index h2,
.plan-index h2,
.otherworks-index h2,
.contact-index h2 {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.profile-index p,
.gallery-index p,
.plan-index p,
.otherworks-index p,
.contact-index p {
    font-size: 1.8rem;
    margin-bottom: 10px;
}


/*ボタン*/
.btn {
    overflow: hidden;
    padding: 1.5rem 6rem 1.5rem 5rem;
    color: #fff;
    border-radius: 0;
    border: solid 1px #707070;
    position: relative;
    width: 240px;
    font-size: 2.0rem;
    color: #333;
    opacity: 1.0;
    display: block;
    margin: 0 auto 140px;
    text-align: center;
}

.btn::after {
    /* 擬似要素で矢印アイコンをつくる */
    content: '';
    border: 0;
    border-top: solid 1px #333;
    border-right: solid 1px #333;
    display: inline-block;
    width: 10px;
    height: 10px;
    /* 矢印アイコンの位置を設定 */
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%) rotate(45deg);
    /* rotate(45deg)で矢印を回転（向きを変更）させる */
}

.btn:hover {
    background-color: #F4DB22;
    opacity: 1.0;

}



/*---------------------------------
               Top
-----------------------------------*/
.top {
    max-width: 100%;
    margin: 0 auto 220px;

}

.slider img {
    object-fit: cover;
    width: 100%;
    height: 300px;

}

.slider-2 img {
    object-fit: cover;
    width: 100%;
    height: 300px;

}

.back-image {
    position: relative;
    width: 100%;
}

.back-image::after {
    /* contentプロパティは必須 */
    content: "";
    /* divを起点に位置を調整する */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* オーバーレイを作成 */
    background: #333;
    opacity: 0.4;
}

.top-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 100;
    display: block;
    width: 100%;
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -44%);
    color: #ffffff;
    z-index: 10;
}

.subtitle {
    text-align: center;
    font-size: 2.0rem;
    font-weight: 100;
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -54%);
    color: #ffffff;
    z-index: 10;
}

.top-sentence {
    max-width: 80%;
    margin: 0 auto;
}

.top-sentence h1 {
    font-size: 2.0rem;
    line-height: 2.0;
    letter-spacing: 1px;
    margin: 30px auto 0;
    text-align: left;
}

.top-subtitle {
    font-size: 1.4rem;
    font-weight: 100;
    line-height: 1.2rem;
}

.scrolldown {
    position: absolute;
    left: 50%;
    height: 50px;
}


/* 線の描写 */
.scrolldown::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 100px;
    background: #333;
    animation: pathmove 1.8s ease-in-out infinite;
    opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    50% {
        height: 50px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 100px;
        opacity: 0;
    }
}


@media(min-width:600px) {
    .top-sentence {
        max-width: 90%;

    }

    .sp-br {
        display: none;
    }

    .top-sentence h1 {
        font-size: 2.4rem;
        line-height: 2.0;
        letter-spacing: 1px;
    }

    .top-sentence h1 span {
        font-size: 1.8rem;
    }

    .scrolldown {
        display: none;
    }
}

@media(min-width:960px) {
    .top-title {
        font-size: 5.5rem;

    }

    .subtitle {
        font-size: 2.8rem;

    }
}

@media(min-width:1280px) {
    .top {
        max-width: 1280px;
        margin-bottom: 180px;

    }

    .top-sentence {
        max-width: 1280px;
    }

}



/*---------------------------------
              Profile
-----------------------------------*/
.profile {
    margin: 0 auto;
}

.profile-container {
    max-width: 95%;
    margin: 0 auto;
}

.profile-index {
    text-align: right;
}

.profile-index::after {
    display: inline-block;
    content: "";
    width: 300px;
    height: 1px;
    background-color: #707070;
    margin-right: -10%;
}

.profile-photo1 {
    margin-bottom: 70px;
    width: 70%;
}


.profile-description h3 {
    margin-top: 50px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.6;
}

.profile-description p {
    font-size: 1.6rem;
    margin-bottom: 50px;
    line-height: 2.2;
}

.PC {
    display: none;
}

.sp {
    display: block;
}


@media(min-width:600px) {
    .profile-container {
        max-width: 95%;
        display: flex;
        flex-flow: row-reverse;
        justify-content: space-between;
        margin: 0 auto 100px;
    }

    .profile-index {
        text-align: left;
    }

    .profile-index::after {
        margin-right: 0;
    }

    .profile-description h3 {
        font-size: 2.5rem;
    }

    .profile-photo1 {
        width: 50%;
    }

    .PC {
        display: block;
    }

    .sp {
        display: none;
    }

    .sp-br {
        display: none;
    }
}

@media(min-width:960px) {
    .profile-index::after {
        width: 450px;
    }

}

@media(min-width:1280px) {
    .profile {
        max-width: 1280px;
    }

    .profile-container {
        max-width: 1280px;
    }

    .profile-photo1 {
        margin-left: -15%;
    }
}



/*---------------------------------
              Gallery
-----------------------------------*/
.gallery {
    /*position: relative;*/
    margin: 0 auto;
}

.gallery-index {
    text-align: left;
    position: relative;
}

.gallery-index::before {
    display: inline-block;
    content: "";
    height: 280px;
    width: 1px;
    background-color: #707070;
    position: absolute;
    top: 0;
}

.gallery-index h2 {
    writing-mode: vertical-lr;
    display: inline-block;
    margin-left: 20px;
    padding-bottom: 124px;
}

.gallery-index p {
    writing-mode: vertical-lr;
    display: inline-block;
    padding-bottom: 180px;
    line-height: 2.2;
    margin-left: -10px;
}

.gallery-description h3 {
    margin-top: 25px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.6;
}

.gallery-description p {
    font-size: 1.4rem;
    margin-bottom: 90px;
    line-height: 2.2;
}

.gallery-photo1 {
    margin-top: 70px;
    width: 80%;
    margin-left: 20%;
    position: relative;
}



.gallery-photo2 {
    margin-top: 70px;
    width: 70%;
    margin-bottom: 80px;

}

.gallery::after {
    content: "";
    width: 60%;
    height: 300px;
    background-color: #e6e6e6;
    position: absolute;
    right: 0%;
    top: 55%;
    z-index: -1;

}

.PC-br {
    display: none;
}

@media(min-width:600px) {
    .gallery-container {
        max-width: 95%;
        position: relative;
        margin: 0 auto 100px;
    }

    .gallery-index::before {
        height: 300px;

    }

    .gallery-description {
        width: 390px;
        /*60%*/
        position: absolute;
        top: 0;
        left: 28%;
    }

    .gallery-description h3 {
        font-size: 2.5rem;
    }

    .gallery-description p {
        font-size: 1.6rem;
    }

    .gallery-photo1 {
        position: absolute;
        top: 12%;
        right: 0%;
        width: 37%;
    }

    .gallery-photo2 {
        position: absolute;
        top: 35%;
        left: 26%;
        width: 33%;
    }

    .gallery::after {
        width: 600px;
        height: 260px;
        top: 30%;

    }

    .button-gallery {
        display: inline-block;
        margin-top: 40%;
        margin-left: 10%;

    }

}

@media(min-width:960px) {
    .gallery-index::before {
        height: 450px;

    }

    .gallery-photo1 {
        top: -3%;
        right: 0%;
        width: 40%;

    }

    .gallery-description {
        left: 20%;
    }


}

@media(min-width:1280px) {
    .gallery {
        max-width: 1440px;
    }

    .gallery-container {
        max-width: 1280px;
    }

    .gallery::after {
        width: 690px;
        height: 260px;
        right: 3%;
        top: 30%;

    }
}



/*---------------------------------
               Plan
-----------------------------------*/
.plan {
    /*position: relative;*/
    margin: 0 auto;
}


.plan-index {
    text-align: left;
}

.plan-index h2 {
    padding-left: 10%;
}

.plan-index p {
    padding-left: 10%;
}

.plan-index::after {
    display: inline-block;
    content: "";
    width: 300px;
    height: 1px;
    background: #707070;
    text-align: right;
    margin-left: -10%;
}

.plan-description h3 {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.6;
}

.plan-description p {
    font-size: 1.4rem;
    margin-bottom: 90px;
    line-height: 2.2;
}

.plan-photo1 {
    margin-top: 50px;
    margin-bottom: 80px;
    margin-left: 20%;
}

@media(min-width:600px) {
    .plan-container {
        max-width: 95%;
        display: flex;
        justify-content: space-between;
        margin: 0 auto 180px;
    }


    .plan-index h2 {
        padding-left: 0;
    }

    .plan-index p {
        padding-left: 0;
    }

    .plan-index::after {
        margin-left: 0;
    }


    .plan-description h3 {
        font-size: 2.5rem;
    }

    .plan-description p {
        font-size: 1.6rem;
        margin-bottom: 50px;
    }

    .plan-photo1 {
        margin-left: 0;
    }

    .button-plan {
        display: inline-block;
        margin-left: 20%;

    }

    .sp {
        display: none;
    }
}

@media(min-width: 960px) {
    .plan-index::after {
        width: 450px;
    }

}

@media(min-width: 1280px) {
    .plan {
        max-width: 1440px;
    }

    .plan-container {
        max-width: 1280px;
    }
}


/*---------------------------------
            Other Works
-----------------------------------*/
.otherworks {
    position: relative;
    margin: 0 auto;
}

.otherworks-index {
    text-align: right;
    margin-right: 10%;
}

.otherworks-index::after {
    display: inline-block;
    content: "";
    width: 354px;
    height: 1px;
    background: #707070;
    margin-right: -10%;
}

.otherworks-description h3 {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.6;
}

.otherworks-description p {
    font-size: 1.4rem;
    margin-bottom: 90px;
    line-height: 2.2;
}

.photos {
    position: relative;
}

.otherworks-photo1 {
    width: 80%;
    margin-bottom: 80px;
}


.otherworks-photo2 {
    margin-top: 70px;
    margin-left: 20%;
    width: 80%;
    margin-bottom: 80px;
}

.otherworks::after {
    content: "";
    width: 100%;
    height: 400px;
    background-color: #e6e6e6;
    position: absolute;
    top: 40%;
    z-index: -1;
}


@media(min-width:600px) {
    .otherworks-container {
        max-width: 95%;
        display: flex;
        justify-content: space-between;
        flex-flow: row-reverse;
        margin: 0 auto 180px;
    }


    .otherworks-index {
        text-align: left;
    }

    .otherworks-index::after {
        margin-left: 0;
        width: 305px;

    }

    .otherworks-description h3 {
        font-size: 2.5rem;
    }

    .otherworks-description p {
        font-size: 1.6rem;
        margin-bottom: 50px;
    }

    .otherworks-photo1 {
        width: 60%;
    }

    .otherworks-photo2 {
        width: 60%;
    }

    .otherworks::after {
        width: 300px;
        height: 270px;
        top: 10%;
    }
}

@media(min-width:960px) {
    .otherworks-index::after {
        width: 450px;
    }

    .otherworks-photo2 {
        margin-left: 30%;
    }

    .otherworks::after {
        width: 400px;
        height: 320px;
        top: 20%;
    }


}

@media(min-width:1280px) {
    .otherworks {
        max-width: 1440px;
    }

    .otherworks-container {
        max-width: 1280px;

    }


    .otherworks::after {
        width: 620px;
        top: 30%;

    }

}


/*---------------------------------
              Contact
-----------------------------------*/
.contact {
    margin: 0 auto;
}

.contact-index {
    text-align: left;
}

.contact-index h2 {
    padding-left: 10%
}

.contact-index p {
    padding-left: 10%
}

.contact-index::after {
    display: inline-block;
    content: "";
    width: 300px;
    height: 1px;
    background: #707070;
    text-align: right;
    margin-left: -10%;
}


.contact-description h3 {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.6;

}

.contact-description p {
    font-size: 1.4rem;
    margin-bottom: 90px;
    line-height: 2.2;
}

.contact-photo1 {
    width: 80%;
    margin-bottom: 80px;
    margin-left: 20%;
}

@media(min-width:600px) {
    .contact-container {
        max-width: 95%;
        margin: 0 auto 210px;
        display: flex;
        justify-content: space-between;
    }

    .contact-index h2 {
        padding-left: 0;
    }

    .contact-index p {
        padding-left: 0;
    }

    .contact-index::after {
        margin-left: 0;
    }

    .contact-description h3 {
        font-size: 2.5rem;
    }

    .contact-description p {
        font-size: 1.6rem;
    }

    .contact-photo1 {
        width: 50%;
        margin-top: 9%;
        margin-left: 0;


    }

    .button-contact {
        display: inline-block;
        margin-left: 20%;
    }

    .sp {
        display: none;
    }


}

@media(min-width:960px) {
    .contact-index::after {
        width: 450px;
    }


}

@media(min-width:1280px) {
    .contact {
        max-width: 1440px;
    }

    .contact-container {
        max-width: 1280px;
    }

    .contact-description p {
        margin-bottom: 50px;


    }

    .contact-photo1 {
        margin-right: calc(50% - 50vw);


    }

}