:root {
    --base__color: #c5c59c;
    --light__base: #f0f0dd;
    --heavy__base: #CCCCA0;
    --logo__base: #cccc99;
    --logo__orange: #ff9933;
    --logo__font: #666;
    --font__color: #303030;
    --red: #ee3b3b;
    --pink: #ffb2c4;
    --trans__bg: rgba(255, 255, 255, 0.2);
    --white: #ffffff;
    --box__shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* スクリーンローダー */

body.no__scroll {
    overflow: hidden;
    height: 100vh;
}

.first__mv {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: var(--light__base);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

svg {
    width: 150px;
    height: 150px;
}

/* #gradient {
    animation: fill 50s forwards;
}

@keyframes fill {
    0% {
        fill: url(#SVGID_1_);
    }

    98% {
        fill: #ffa200;
    }

    100% {
        fill: #ffa200;
    }
} */

/* フェードアウト時 */
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.open__page__header {
    opacity: 0;
    animation: open__page__header 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

@keyframes open__page__header {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.open__page__title {
    opacity: 0;
    animation: open__page__title 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes open__page__title {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.open__page__works__title {
    opacity: 0;
    transform: translateX(-50%);
    animation: open__page__works__title 0.8s ease-out forwards;
    animation-delay: 1.3s;
}

@keyframes open__page__works__title {
    0% {
        opacity: 0;
        transform: translateX(-50%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.open__page__works__item {
    opacity: 0;
    transform: translateY(-100px);
    animation: open__page__works__item 0.8s ease-out forwards;
}

.works__item:nth-child(1) {
    animation-delay: 0.5s;
}

.works__item:nth-child(2) {
    animation-delay: 0.7s;
}

.works__item:nth-child(3) {
    animation-delay: 0.9s;
}

.works__item:nth-child(4) {
    animation-delay: 1.1s
}

@keyframes open__page__works__item {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* タイトル */

main {
    min-height: 100vh;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section__title__wrap p {
    font-size: clamp(1.138rem, 1.091rem + 0.23vw, 1.266rem);
}

.section__title {
    padding: 0 0.5em 0 0;
    position: relative;
    width: fit-content;
}

.section__title::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100vh;
    height: 100%;
    background: var(--white);
    z-index: -1;
}

/* Works */

.works {
    padding-top: 2rem;
}

.works__items {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.works__item {
    display: flex;
    gap: 2rem;
    align-items: end;
}

.works__item img {
    width: 100%;
    max-width: 600px;
}

.works__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.works__link__button {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0.5em 1em;
    border-radius: 2em;
    background: var(--light__base);
    font-size: clamp(1.215rem, 1.139rem + 0.38vw, 1.424rem);
    text-align: center;
    box-shadow: var(--box__shadow);
    transition: all 0.3s ease;
}

.works__link__button:hover {
    background: var(--base__color);
    color: var(--white);
}

/* サービス内容 */

.service__items {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0 0 0;
}

.service__item {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.service__item.left {
    grid-template-columns: 1fr 380px;
}

.service__item.right {
    grid-template-columns: 380px 1fr;
    margin-left: auto;
}

.service__item.left .service__img__wrap {
    padding-right: 10%;
}

.service__item.right .service__img__wrap {
    padding-left: 10%;
}

.service__img__wrap img {
    width: 100%;
}

.service__item.left .service__img__wrap img:nth-child(2) {
    transform: translateX(10%) translateY(-20%);
}

.service__item.right .service__img__wrap img:nth-child(2) {
    transform: translateX(-10%) translateY(-20%);
}

.service__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service__text h3 {
    width: fit-content;
    padding: 0 0.2em;
    background: var(--white);
}

.service__text p {
    padding-left: 1em;
}

.service__text a {
    text-align: right;
}

.service__text a i {
    padding-left: 0.5em;
}

/* 費用・工期について */

.price {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.price__category {
    width: fit-content;
    padding: 0 0.2em;
    background: var(--white);
    margin: 2em auto 0 auto;
}

.price__items {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 1rem;
}

.price__item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.price__item__inner {
    width: 100%;
    max-width: 492px;
    height: 100%;
    padding: 2rem;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 80%);
    backdrop-filter: blur(10px);
    box-shadow: inset 0px 0px 20px rgba(255, 255, 255, 0.351),
        0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.price__item__inner img {
    width: 100%;
}

.price__item__inner hr {
    width: 100%;
    height: 3px;
    background: var(--base__color);
    border-radius: 3px;
    border: none;
}

.price__item__price {
    font-size: clamp(1.296rem, 1.185rem + 0.56vw, 1.602rem);
    line-height: 1.6em;
}

.price__item__price .small {
    padding-right: 1rem;
}

.price__item__inner h5 {
    width: 100%;
}

.price__item__inner i {
    color: var(--logo__orange);
    margin-right: 1rem;
}

.price__item__detail ul {
    font-size: clamp(1.138rem, 1.091rem + 0.23vw, 1.266rem);
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    line-height: 1.6em;
}

.price__item__detail ul li span {
    padding-left: 1em;
}

/* 自己紹介 */

.profile__inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0 0 0;
}

.profile__img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 150px;
    margin: 0 auto;
}

.name__wrap {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.name__svg {
    width: 100%;
    max-width: 250px;
}

.name__english {
    font-size: clamp(1.215rem, 1.139rem + 0.38vw, 1.424rem);
}

.profile__inner p {
    margin: 0 auto;
}

/* お問い合わせ */

.contact__inner {
    padding: 2rem 0 0 0;
}

.contact__form {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 80%);
    backdrop-filter: blur(10px);
    box-shadow: inset 0px 0px 20px rgba(255, 255, 255, 0.351),
        0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 0 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: clamp(1.138rem, 1.091rem + 0.23vw, 1.266rem);
}

.contact__form h4 {
    text-align: center;
    margin-top: 2rem;
}

.select__type {
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin: 0 auto;
}

.select__type label {
    cursor: pointer;
}

.privacy__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

.privacy__wrap label {
    cursor: pointer;
}

.check__button {
    background: linear-gradient(115deg, var(--blue), var(--blue), var(--button__yellow), var(--blue), var(--blue));
    background-size: 1000%;
    background-repeat: no-repeat;
    background-position: 0%;
    padding: 0.5em 1em;
    border-radius: 2em;
    animation: button__animation 3s linear infinite;
    transition: all 0.3s linear;
    margin: 2rem auto;
    font-size: clamp(1.296rem, 1.185rem + 0.56vw, 1.602rem);
}

@keyframes button__animation {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 100%;
    }
}

.check__button:hover {
    background: var(--white);
}


@media screen and (max-width: 768px) {

    /* 施工事例 */

    .works__item {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
    }

    /* サービス内容 */

    .service__items {
        gap: 3rem;
    }

    .service__item {
        display: flex;
        gap: 0rem;
    }

    .service__item.left {
        flex-direction: column;
    }

    .service__item.right {
        flex-direction: column-reverse;
    }

    /* 自己紹介 */

    .profile__img {
        width: 200px;
        height: 200px;
    }

    .name__svg {
        width: 140px;
    }
}