/*====================
キービジュアル
====================*/

.kv {
    position: relative;
    width: 100%;
    height: var(--kv-height);
    display: flex;
    margin: 0 0 0 auto;
    align-items: center;
    overflow: hidden;
}

.kv__txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-family-en);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-align: center;
    z-index: 10;
}

.kv__txt-title {
    font-size: 72px;
    margin-bottom: 32px;
}

.kv__txt-desc {
    font-size: 32px;
    word-break: auto-phrase;
}

.kv__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black-main);
    opacity: 0.5;
    z-index: 3;
}

.kv__img {
    position: relative;
    height: 960px;
    width: 100%;
    background-color: var(--color-black-main);
    background-image: url('../img/topKv.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.kv__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.kv__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .kv__img {
        height: 720px;
    }
}

@media screen and (max-width: 480px) {
    .kv__txt-title {
        font-size: 64px;
    }

    .kv__txt-desc {
        font-size: 24px;
    }
}



/*====================
MISSION
====================*/

.mission {
    background-image: url('../img/topSectionBg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0 240px;
}

.mission .container {
    max-width: 960px;
}

.mission__title h2 {
    font-size: 112px;
    font-family: var(--font-family-en);
    line-height: var(--line-height-zero);
    color: var(--color-gold-60);
    margin-bottom: 40px;
}

.mission__txt {
    color: var(--color-green-main);
    width: 520px;
    margin-right: 0;
    margin-left: auto;
    word-break: auto-phrase;
    line-height: var(--line-height-md);
}

.mission__txt-en {
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

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

    .mission .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mission__title h2 {
        font-size: 88px;
        text-align: center;
    }

    .mission__txt {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
        width: 480px;
    }
}


@media screen and (max-width: 768px) {
    .mission__title h2 {
        font-size: 64px;
    }

    .mission__txt {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .mission__title h2 {
        font-size: 48px;
    }
}


/*====================
お見積り
====================*/

.estimate {
    position: relative;
    min-height: 400px;
}

.estimate__img {
    display: none;
}

.estimate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw;
    height: 100%;
    background-image: url('../img/topEstimate.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.estimate__content {
    position: relative;
    width: 480px;
    margin-right: 0;
    margin-left: auto;
    padding: 80px 0;
    z-index: 2;
}

.estimate__txt {
    margin: 48px 0;
    line-height: var(--line-height-md);
    color: var(--color-green-main);
}

.estimate__txt-en {
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

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

    .estimate {
        padding-top: 0;
        padding-bottom: 0px;
    }

    .estimate::before {
        display: none;
    }

    .estimate__img {
        display: block;
        height: 600px;
        width: 100%;
    }

    .estimate__img img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .estimate__content {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding: 40px 0;
    }
}

@media screen and (max-width: 768px) {
    .estimate__img{
        height: 400px;
    }
}


/*====================
私たちについて
====================*/

.about {
    background-image: url('../img/topAbout.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 240px 0;
    position: relative;
}

.about__content {
    position: relative;
    z-index: 10;
}

.about .section__title{
    text-shadow: 0 0 16px var(--color-black-80);
}

.about__txt {
    width: 480px;
    margin: 48px 0;
    line-height: var(--line-height-md);
    color: var(--color-white);
    text-shadow: 0 0 8px var(--color-black-main);
    word-break: auto-phrase;
}

.about__txt-en {
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

.about__overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at left bottom, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: 5;
}

.about__overlay-black {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black-main);
    opacity: 0.3;
    z-index: 2;
}

@media screen and (max-width: 992px) {
    .about{
        background-position: right;
    }

    .about__txt {
        width: 100%;
        margin: 48px 0;
    }
}   

@media screen and (max-width: 768px) {
    .about {
        padding: 120px 0;
        background-position: center;
    }
}

@media screen and (max-width: 480px) {
    .about {
        padding: 80px 0;
        background-position: right;
    }
}


/*====================
よくある質問
====================*/
.faq {
    background-color: var(--color-green-main);
    background-image: var(--background-noise);
    padding: 80px 0;
}

.faq__wrap {
    max-width: 1200px;
    margin: 40px auto 0;
}

.faq__en {
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
}

.faq__item {
    width: 100%;
    margin-bottom: 32px;
    border-radius: 8px;
    box-shadow: 0 8px 16px -5px rgb(0 0 0 / 5%);
    background-color: var(--color-white);
}

.faq__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    background-color: var(--color-green-main);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    margin-right: 16px;
    vertical-align: middle;
    flex-shrink: 0;
}

span.faq__item-answer {
    background-color: var(--color-gold-main);
}

.faq__item summary {
    display: flex;
    align-items: center;
    position: relative;
    padding: 16px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    line-height: 1.5;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 8px;
    height: 8px;
    position: absolute;
    right: 24px;
    border-bottom: 2px solid var(--color-black-main);
    border-right: 2px solid var(--color-black-main);
    content: '';
    transition: transform .3s;
}

.faq__item[open] summary::after {
    transform: rotate(225deg);
}

.faq__item p {
    display: flex;
    align-items: center;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 16px;
    transition: transform .5s, opacity .5s;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}

.faq__item[open] p {
    transform: none;
    opacity: 1;
}

/*====================
お知らせ
====================*/

.news {
    background-image: url('../img/topSectionBg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.news__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 40px auto 0;
}

.news__item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-black-20);
    color: var(--color-black-main);
}

.news__item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news__item-date {
    color: var(--color-green-main);
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
    width: 96px;
}

.news__item-category {
    padding: 4px 8px;
    font-size: 14px;
    background-color: var(--color-red-main);
    color: var(--color-white);
    border-radius: 4px;
}

.news__item-title {
    flex: 1;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
}

.news__item-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.news__item-title a:hover {
    color: var(--color-red-main);
}

.news__btn {
    margin-top: 40px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .news__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news__item-meta {
        gap: 0px;
    }

    .news__item-date {
        font-size: 14px;
    }

    .news__item-category {
        font-size: 12px;
    }


}