/* メイン */
.main {
    width: calc(100% - 200px);
    margin-left: 200px;
}

.firstview {
    width: 100%;
    margin: 0;
    padding: 0;
}

.firstview_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    gap: 30px;
    margin: 0;
    padding: 0 0 30px;
    box-sizing: border-box;
}

.firstview_video {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    margin: 0;
}

.firstview_title {
    position: relative;
    margin-top: 30px;
    font-size: 24px;
}

.firstview_title::before {
    content: "";
    display: block;
    width: 1px;
    height: 50px;
    background-color: #333;
    margin: 0 auto 20px;
    opacity: 0.5;
}

.firstview_text {
    margin-bottom: 20px;
}

/* pickup */
.pickup {
    background-color: #F6F6F6;
    text-align: center;
}

.pickup_inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 80px;
    box-sizing: border-box;
}

/* スライダー */
.pickup_swiper {
    width: 100%;
    overflow: hidden;
}

.pickup_swiper .swiper-wrapper {
    padding-left: 0;
}

.pickup_swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.pickup_item {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}


.pickup_item a {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pickup_item a:hover {
    opacity: 0.7;
    transition: 0.7s;
}

.pickup_img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.pickup_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pickup_textTitle {
    color: #A88657;
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 8px;
}

.pickup_text {
    font-family: 'Noto Sans JP', sans-serif;
}

/* ドットの位置 */
.pickup_pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* ドットの基本設定 */
.pickup_pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #A88657;
    opacity: 0.35;
    margin: 0 5px;
}

/* 選択中のドット */
.pickup_pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* plan */
.plan {
    padding: 30px 0;
}

.plan_inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.plan_tab {
    width: 100%;
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 50px;
}

.plan_tabTitle {
    width: 100%;
    color: #bbbbbb;
    font-size: 18px;
    font-weight: bold;
    padding: 0 10px 10px;
    background: none;
    cursor: pointer;
}

/* 選択中のタブ */
.plan_tabTitle.is-active {
    color: #A88657;
}

.plan_tabTitle:hover {
    color: #baa281;
    transition: 0.3s;
}

.plan_tabTitle::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #bbbbbb;
    margin: 10px 0 30px;
    opacity: 0.5;
}

/* 選択中のライン */
.plan_tabTitle.is-active::after {
    background-color: #A88657;
    opacity: 0.7;
}

/* 非表示のコンテンツ */
.plan_tabItem[hidden] {
    display: none;
}

.plan_tabItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 80px;
    gap: 10px;
}

/* タブコンテンツの表示アニメーション */
.plan_tabItem {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan_tabItem_img {
    width: 100%;
}

.plan_tabItem_title {
    width: 100%;
    font-size: 20px;
    color: #A88657;
    margin-top: 30px;
}

.plan_tabItem_title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #A88657;
    margin: 10px 0;
    opacity: 0.5;
}

.plan_tabItem_text {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    font-size: 16px;
    display: flex;
    text-align: start;
    margin: 0;
}

.readmore {
    background-color: #A88657;
    color: #fff;
    font-size: 20px;
    padding: 20px 80px;
    margin-top: 40px;
}

.readmore:hover {
    opacity: 0.7;
    transition: 0.7s;
}


/* feature */
.feature {
    padding: 50px;
    background-color: #F6F6F6;
}

.feature_inner {
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature_list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
    margin-top: 40px;
}

.feature_item {
    position: relative;
    width: 100%;
    height: 340px;
}

.feature_itemImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 320px;
    object-fit: cover;
    display: block;
    z-index: 0;
    transform: scaleX(-1);
}

.feature_textContainer {
    position: absolute;
    top: 110px;
    right: 0;
    width: 55%;
    min-height: 230px;
    padding: 30px;
    box-sizing: border-box;
    background-color: #fff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 2段目 */
.feature_item:nth-child(even) .feature_itemImg {
    left: auto;
    right: 0;
    transform: scaleX(-1);
}

.feature_item:nth-child(even) .feature_textContainer {
    right: auto;
    left: 0;
}

.feature_itemTitle {
    text-align: center;
    margin-bottom: 16px;
    color: #A88657;
}

.feature_itemText {
    line-height: 1.8;
}


/* gallery */
.gallery {
    padding: 80px 0;
}

.gallery_inner {
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery_grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 80px;
    gap: 12px;
    margin-top: 40px;
}

.gallery_item {
    overflow: hidden;
}

.gallery_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

/* 1段目 */
.gallery_item:nth-child(1) {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.gallery_item:nth-child(2) {
    grid-column: 5 / 8;
    grid-row: 1 / 3;
}

.gallery_item:nth-child(3) {
    grid-column: 8 / 11;
    grid-row: 1 / 3;
}

.gallery_item:nth-child(4) {
    grid-column: 11 / 13;
    grid-row: 1 / 3;
}

/* 2段目 */
.gallery_item:nth-child(5) {
    grid-column: 1 / 6;
    grid-row: 3 / 6;
}

.gallery_item:nth-child(6) {
    grid-column: 6 / 9;
    grid-row: 3 / 6;
}

.gallery_item:nth-child(7) {
    grid-column: 9 / 13;
    grid-row: 3 / 6;
}

/* 3段目 */
.gallery_item:nth-child(8) {
    grid-column: 1 / 4;
    grid-row: 6 / 8;
}

.gallery_item:nth-child(9) {
    grid-column: 4 / 10;
    grid-row: 6 / 8;
}

.gallery_item:nth-child(10) {
    grid-column: 10 / 13;
    grid-row: 6 / 8;
}

/* 通常画像 */
.gallery_item {
    grid-column: span 3;
}

/* 選択した拡大画像 */
.gallery_item.is-large {
    grid-column: span 6;
    grid-row: span 3;
}

/* Gallery Modal */
.gallery_modal {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;

    justify-content: center;
    align-items: center;

    background-color: rgba(0, 0, 0, 0.6);
    padding: 60px 5%;
    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* モーダル表示 */
.gallery_modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery_modal-content {
    position: relative;
    display: inline-block;
    max-width: 85%;
    max-height: 80vh;
}

/* 拡大画像 */
.gallery_modal-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;

    border: 5px solid #fff;
    box-sizing: border-box;

    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery_modal.is-open .gallery_modal-image {
    opacity: 1;
    transform: scale(1);
}

/* 閉じるボタン */
.gallery_modal-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;

    background-color: #fff;
    color: #A88657;

    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}



/* contact */
.contact {
    width: 100%;
    height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 40px 80px;
    margin-bottom: 20px;
    background-image: url("../image/contact_cta.jpg");
    background-size: cover;
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(51, 51, 51, 0.5);
    z-index: 1;
    pointer-events: none;
}

.contact>* {
    position: relative;
    z-index: 2;
}

.contact_inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 40px;
}

.contact_title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.contact_title-sub {
    color: #fff;
}

.contact_text {
    color: #fff;
    margin-top: 30px;
}

.contact_form {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 80px 0;
    padding: 0 30px;
}

.contact_btn {
    width: 100%;
    padding: 20px 80px;
    background-color: #fff;
    text-align: center;
    font-size: 20px;
    letter-spacing: 0.1em;
}

.contact_btn:hover {
    background-color: #bbbbbb;
    transition: 0.7s;
    opacity: 0.9;
}

/* sns_cta */
.sns_ctaContainer {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.sns_cta {
    width: 100%;
    height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(50%);
    transition: filter 0.7s ease;
    position: relative;
    overflow: hidden;
}

.sns_cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(51, 51, 51, 0.2);
    z-index: 1;
    pointer-events: none;
}

.sns_cta:hover {
    filter: grayscale(0%);
}

/* 背景画像 */
.sns_cta.instagram_cta {
    background-image: url("../image/instagram_cta.jpg");
}

.sns_cta.facebook_cta {
    background-image: url("../image/facebook_cta.jpg");
    background-position: center 70%;
}

.sns_ctaBtn {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.sns_ctaImg {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.sns_ctaText {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}



/* =========================
   PC対応（1920px以下）
========================= */
@media screen and (max-width: 1920px) {
    
    .contact {
        padding: 40px 120px;
    }
    .contact_title {
        font-size: 28px;
    }
    .contact_title-sub {
        font-size: 18px;
    }
    .contact_text {
        font-size: 18px;
    }
    .contact_btn {
        font-size: 24px;
    }
}


/* =========================
   タブレット対応（1024px以下）
========================= */
@media screen and (max-width: 1024px) {

    .pickup_inner {
        padding: 50px 20px;
    }
    .pickup_img img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .plan_inner.u-wrapper {
        padding: 50px 40px;
    }

    .feature {
        padding: 40px 20px;
    }

    .feature_list {
        gap: 50px;
    }

    .feature_item {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 0;
    }

    .feature_itemImg {
        position: static;
        width: 100%;
        height: clamp(220px, 35vw, 350px);
        object-fit: cover;
        transform: none;
    }

    .feature_textContainer {
        position: static;
        width: 100%;
        min-width: 0;
        min-height: auto;
        height: auto;
        padding: clamp(20px, 3vw, 30px);
        padding: 40px 80px;
        box-sizing: border-box;
        background-color: #fff;
    }

    .feature_item:nth-child(even) .feature_itemImg {
        position: static;
        width: 100%;
        transform: none;
    }

    .feature_item:nth-child(even) .feature_textContainer {
        position: static;
        width: 100%;
    }

    .feature_itemTitle {
        margin-bottom: 12px;
        font-size: clamp(18px, 2.5vw, 22px);
        line-height: 1.6;
    }

    .feature_itemText {
        font-size: clamp(14px, 1.8vw, 16px);
        line-height: 1.8;
    }


    .contact_form {
        padding: 0;
    }

    .contact_btn {
        padding: 20px 50px;
        font-size: 18px;
    }
}




/* =========================
   タブレット対応（768px以下）
========================= */
@media screen and (max-width: 768px) {

    .firstview_video {
        width: 100vw;
        height: 55vh;
        min-height: 300px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .pickup {
        padding: 0;
    }

    .pickup_inner {
        padding: 50px 30px;
    }

    .pickup_img {
        width: 100%;
        aspect-ratio: 7 / 5;
        height: auto;
        overflow: hidden;
    }

    .pickup_img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .plan_inner.u-wrapper {
        padding: 50px 0;
    }

    .plan_tabItem {
        padding: 0 50px;
    }
    .plan_tab {
        gap: 30px;
    }
    .plan_tabTitle {
        font-size: 16px;
    }

    .feature {
        padding: 0 0 30px;
    }
    .feature_textContainer {
        padding: 40px 60px;
    }


    .gallery {
        padding: 20px 0 80px;
    }

    .gallery_inner {
        padding: 50px 0;
    }
    .gallery_grid {
        grid-template-rows: 40px;
        gap: 8px;
    }

    .contact {
        padding: 50px 40px;
        gap: 20px;
    }
    .contact_inner {
        padding: 50px 0;
    }
    .contact_title-sub {
        margin-top: 10px;
    }
    
    .contact_text {
        margin-top: 0;
        font-size: 14px;
    }

    .contact_form {
        padding: 0;
    }

    .contact_btn {
        letter-spacing: 0;
        padding: 20px 30px;
        font-size: 16px;
    }
    
}



/* =========================
   スマホ対応（480px以下）
========================= */
@media screen and (max-width: 480px) {

    /* メイン */
    .main {
        width: 100%;
        margin-left: 0;
    }

    /* Firstview */
    .firstview_video {
        position: relative;
        display: block;
        width: 100%;
        height: 100svh;
        min-height: 550px;
        overflow: hidden;
        margin: 0;
    }

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


    .firstview_inner {
        gap: 20px;
        margin-bottom: 30px;
        padding: 0;
        box-sizing: border-box;
    }

    .firstview_title {
        font-size: 20px;
        margin-top: 20px;
    }

    .firstview_text {
        font-size: 13px;
    }


    /* pickup-sp */
    .pickup {
        padding: 0;
    }

    .pickup_item {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .pickup_img {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        overflow: hidden;
    }

    .pickup_img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pickup_textTitle {
        font-size: 16px;
    }

    .pickup_text {
        font-size: 13px;
    }

    /* plan-sp */
    .plan {
        padding: 0 20px;
    }

    .plan_inner {
        padding: 30px 20px;
    }

    .plan_tab {
        gap: 10px;
    }

    .plan_tabTitle {
        font-size: 13px;
        padding: 0 2px 8px;
    }

    .plan_tabItem {
        padding: 0 10px;
        gap: 20px;
    }

    .plan_tabItem_title {
        font-size: 17px;
        margin-top: 20px;
    }

    .plan_tabItem_title::after {
        margin-bottom: 10px;
    }

    .plan_tabItem_text {
        font-size: 13px;
    }

    .readmore {
        font-size: 16px;
        padding: 14px 40px;
        margin-top: 20px;
    }


    /* feature-sp */
    .feature {
        padding: 0;
    }

    .feature_list {
        gap: 40px;
    }

    .feature_item {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 0;
    }

    .feature_itemImg {
        position: static;
        width: 100%;
        height: 220px;
        object-fit: cover;
        transform: none;
    }

    .feature_textContainer {
        position: static;
        width: 100%;
        min-height: auto;
        padding: 25px 20px;
        background-color: #fff;
    }

    .feature_item:nth-child(even) .feature_itemImg {
        position: static;
        width: 100%;
        transform: none;
    }

    .feature_item:nth-child(even) .feature_textContainer {
        position: static;
        width: 100%;
    }

    .feature_itemTitle {
        margin-bottom: 12px;
    }

    .feature_itemText {
        font-size: 14px;
        line-height: 1.8;
    }


    /* gallery-sp */
    .gallery_inner {
        padding: 40px 20px;
    }

    .gallery_grid {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));

        /* 画面幅に合わせて行の高さも縮小 */
        grid-auto-rows: calc((100vw - 95px) / 12);

        gap: 5px;
        margin-top: 20px;
        width: 100%;
    }

    .gallery_item {
        min-width: 0;
        min-height: 0;
        overflow: hidden;
    }

    .gallery_item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery_modal {
        padding: 50px 15px;
    }

    .gallery_modal-content {
        max-width: 95%;
        max-height: 70vh;
    }

    .gallery_modal-image {
        max-width: 100%;
        max-height: 70vh;
    }

    .gallery_modal-close {
        top: -15px;
        right: -12px;
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    /* contact-sp */
    .contact {
        height: auto;
        min-height: 350px;
        grid-template-columns: 1fr;
        padding: 40px 80px;
        box-sizing: border-box;
    }

    .contact_inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .contact_title {
        font-size: 20px;
    }

    .contact_text {
        font-size: 13px;
        margin: 0;
    }

    .contact_form {
        margin: 0 0 20px;
        padding: 20px;
    }

    .contact_btn {
        font-size: 15px;
        padding: 15px 20px;
    }


    /* SNS CTA */
    .sns_ctaContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .sns_cta {
        height: 180px;
    }

    .sns_ctaImg {
        width: 32px;
        height: 32px;
    }

    .sns_ctaText {
        font-size: 14px;
    }

}



/* Firstview 上部の余白を強制的に解除 */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

.main {
    position: relative;
    top: 0 !important;
}
