@charset "UTF-8";

/* header */
.header {
    width: 100%;
    box-sizing: border-box;
}

.mainVisual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main_logo {
    color: var(--primary-white);
}

.logo {
    position: absolute;
    width: 100%;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: bold;
    z-index: 10;
    overflow: hidden;
}

.logo::after {
    content: "";
    display: block;
    width: 0;
    height: 1.5px;
    background-color: var(--primary-white);
    margin: 0 auto;
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.logo h1 {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 8px;
}

.logo p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0.7px;
    margin-bottom: 20px;
}

.image {
    background-image: url(../image/gallery/Jogashima/AC_00268.jpg);
    position: absolute;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.image_title {
    background-color: var(--primary-gold);
    color: var(--primary-white);
    padding: 5px 20px; /* 横幅を適度に調整 */
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: 1.15px;
    white-space: nowrap; /* テキストを1行に収める */

    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content; /* 内容に応じた幅にする */
}

@media screen and (min-width: 769px) {
    .logo::after{
        height: 3px;
    }

    .logo h1 {
        font-size: 4rem;
        line-height: 45px;
        margin-bottom: 10px;
    }
    
    .logo p {
        font-size: 2rem;
        line-height: 25px; /* 125% */
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .image {
        background-position: 0% 72%;
    }

    .image_title {
        padding: 9px 13%;
        font-size: 2.3rem;
        letter-spacing: 2px;

        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
    }
}/* pc 769px */

/* main */
.main_top {
    padding: 100px 7% 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_top h2 {
    text-align: left;
    font-size: 2rem;
    font-weight: 700;
}

@media screen and (min-width:769px){
    .main_top {
        padding: 200px 10.4% 20px;
    }

    .main_top h2 {
        font-size: 2.5rem;
        letter-spacing: 18.5px;
    }
}/* pc 769px */

/* PLAN */
.set_title {
    margin-top: 60px;
}

.set_title h2 {
    font-family: var(--primary-font);
    font-size: 1.5rem;
    letter-spacing: 1.8px;
    border-bottom: 1px solid var(--primary-black);
    padding-bottom: 10px;
    text-align: center;
}

.set_title p {
    font-family: var(--primary-font);
    font-size: 1.3rem;
    letter-spacing: 3.9px;
    text-align: right;
    margin-right: 20px;
}

.plan_box {
    padding: 0 5.1%;
    font-family: var(--primary-font);
    margin-top: 30px;
}

.plan_title {
    font-family: var(--primary-font);
    background-color: var(--primary-gold);
    color: var(--primary-white);
    font-size: 1.3rem;
    text-align: center;
    padding: 5px 0;
    letter-spacing: 2px;
    line-height: 25px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 5.1%;
    margin-right: 5.1%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    margin: auto;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.active {
    opacity: 1;
}

.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail {
    width: 80px;
    height: 50px;
    margin: 5px;
    cursor: pointer;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
}

.plan_price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-top: 15px;
}

.plan_price span {
    font-size: 2.2rem;
    letter-spacing: 2.5px;
}

.plan_price p {
    font-size: 1.3rem;
    line-height: 45px;
    letter-spacing: 1.8px;
}

.plan_txt {
    font-size: 3vw;
    line-height: 25px;
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.plan_section {
    padding: 30px 5%;
}

.plan_section p {
    font-family: var(--primary-font);
}

.plan_detail {
    background-color: var(--primary-beige);
    padding: 15px 5%;
    margin-bottom: 20px;
}

.detail_box {
    display: flex;
    align-items: baseline;
}

.plan_sab_title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-right: 15px;
}

.plan_sab_txt {
    font-size: 1.1rem;
}

.detail_item {
    width: 100%;
    font-size: 1.4rem;
    background-color: var(--primary-white);
    padding: 8px 0%;
    text-align: center;
    margin-bottom: 13px;
}

.plan_option {
    background-color: var(--primary-beige);
    padding: 15px 5%;
    margin-bottom: 20px;
}

.option_item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    background-color: var(--primary-white);
    padding: 10px 10%;
    text-align: center;
    margin-bottom: 13px;
}

.option_title {
    font-size: 1.4rem;
}

.option_price {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.option_sob {
    width: 100%;
    font-family: var(--primary-font);
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-align: center;
    border-top: 1px solid var(--primary-black);
    padding-top: 5px;
    margin-top: 5px;
}

@media screen and (min-width:769px){
    .sab_title{
        margin-top: 0px;
        padding-left: 0px;
    }

    .set_title {
        margin-top: 0px;
    }
    
    .set_title h2 {
        font-size: 1.8rem;
        letter-spacing: 0px;
        padding-bottom: 10px;
    }
    
    .set_title p {
        font-size: 2rem;
        letter-spacing: 8px;
    }

    .plan_article {
        display: flex;
        justify-content: space-between;
        padding: 0 7%;
    }

    .plan_item {
        width: 100%;
    }

    .plan_box {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .slider-container {
        display: flex;
        justify-content: center;
        height: 340px;
    }

    .slider-container {
        display: flex;
        justify-content: center;
        height: 520px;
    }

    .thumbnail {
        width: 146px;
        height: 90px;
    }

    .thumbnails {
        gap: 40px;
        margin-top: 20px;
    }
    
    .main-image {
        width: 80%;
    }
    
    .plan_title {
        font-size: 1.8rem;
        padding: 10px 0;
        margin-top: 20px;
    }

    .plan_txt {
        font-size: 1.6rem;
        margin-top: 25px;
    }

    .plan_section {
        display: flex;
        justify-content: space-between;
        padding: 30px 7% 80px;
    }

    .set_box {
        width: 90%;
        gap: 5%;
        display: flex;
        justify-content: space-between;
    }

    .plan_set {
        width: 100%;
        margin-top: 60px;
    }

    .plan_detail,
    .plan_option {
        width: 48%;
        height: 100%;
        padding: 25px 5%;
        margin-bottom: 0;
    }

    .detail_box {
        margin-bottom: 5px;
    }

    .plan_sab_title {
        font-size: 2rem;
    }

    .plan_sab_txt {
        font-size: 1.4rem;
    }

    .detail_item {
        font-size: 1.5rem;
        padding: 15px 0;
        margin-bottom: 17px;
    }

    .option_item {
        margin-bottom: 17px;
        align-items: baseline;
    }

    .option_title {
        font-size: 1.5rem;
        padding: 10px 0;
    }

    .option_price {
        font-size: 1.8rem;
    }

    .option_sob {
        font-size: 1.4rem;
        letter-spacing: 2px;
        text-align: left;
        margin-top: 0px;
    }
}/* pc 769px */

/* contents */
.section--contents {
    padding: 1px 0px 60px;
    background-color: var(--primary-beige);
}

.contents {
    padding: 50px 5% 0px;
}

.contents_item {
    padding: 20px;
    background-color: var(--primary-white);
    margin-bottom: 20px;
    border: 1px solid var(--primary-black);
}

.contents_item:last-of-type {
    margin-bottom: 0;
}

.contents_item a{
    display: flex;
    align-items: center;
}

.contents_item img {
    width: 60%;
    height: 110px;
    object-fit: cover;
}

.contents_txt {
    margin-left: 3.8%;
}

.contents_txt h3 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.contents_txt p {
    color: var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1.2px;
}

@media screen and (min-width:769px){
    .section--contents {
        padding: 80px 0px 80px 5%;
    }
    
    .contents {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 50px 5% 0px 0px;
        gap: 30px;
    }
    
    .contents_item {
        width: calc(50% - 15px);
        margin-bottom: 0px;
    }

    .contents_item img {
        height: 160px;
    }

    .contents_txt h3 {
        font-size: 2rem;
    }

    .contents_txt p {
        font-size: 1.5rem;
    }
}/* pc 769px */