@charset "utf-8";

/* ==================== section_01 ==================== */
.sec01 {
    width: 100%;
    height: 100vh; /* 画面の高さにフィット */

}
/* .sec01 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
    rgba(0, 0, 0, 0.1), 
    rgba(0, 0, 0, 0.1)),
    url(../img/top.JPG) no-repeat center/cover;
    text-align: center;
    color: white;
} */
.sec01_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    z-index: 5;
    font-size: 6vw;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    text-shadow: 0px 0px 7px #000000;
}
.sec01_text p {
    font-size: 4vw;
    letter-spacing: 0.3em;
}


.sec01_slider {
    width: 100%;
    height: calc(100vh - 65px);
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin-top: 65px;
}
.sec01_slider div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    animation-name: slide-fade;
    animation-duration: 15s; /* 1枚5秒 × 3枚 */
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
@keyframes slide-fade {
    0% {opacity: 0;}
    20% {opacity: 1;}
    80% {opacity: 0;}
    100% {opacity: 0; z-index: 0;}
}

/* 各スライドの開始タイミングをずらす */
.sec01_slider div:nth-of-type(1) {
    background-image: url(../img/top.JPG);
    animation-delay: 0s;
}
.sec01_slider div:nth-of-type(2) {
    background-image: url(../img/image1.jpg);
    animation-delay: 5s;
}
.sec01_slider div:nth-of-type(3) {
    background-image: url(../img/list_img01.JPG);
    animation-delay: 10s;
}

/* ==================== section_02 ==================== */
#sec02 {
    padding: 160px 40px;
}
.sec02_inner {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
}
.sec02_inner h4 {
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0.08em;
    margin-bottom: 45px;
}
.sec02_inner p {
    display: block;
    width: 672px;
    font-size: 16px;
    line-height: 53px;
    text-align: center;
    letter-spacing: 0.08em;
}

@media screen and (max-width:768px) {
    #sec02 {
        padding: 100px 24px;
    }
    .sec02_inner p {
        display: block;
        width: 100%;
        font-size: 15px;
        line-height: 3;
    }
}

/* ==================== section_03 ==================== */
#sec03 {
    padding: 70px 40px;
    width: 100%;
    height: auto;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 74.5%), url(../img/top_img002.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #464646;
    color: #FFF;
    display: flex;
    align-items: center;
}
.sec03_inner {
    width: 443px;
    margin-left: auto;
}
.sec03_inner p {
    display: block;
    line-height: 39px;
    letter-spacing: 0.06em;
    margin-bottom: 50px;
}

@media screen and (max-width:768px) {
    #sec03 {
        padding: 100px 24px;
        width: 100%;
        height: auto;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 74.5%), url(../img/top_img002.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        background-color: #464646;
        color: #FFF;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .sec03_inner {
        width: 100%;
        margin-left: auto;
    }
    .sec03_inner p {
        display: block;
        line-height: 39px;
        letter-spacing: 0.06em;
        margin-bottom: 50px;
    }
}

/* ==================== section_04 ==================== */
#sec04 {
    padding: 150px 40px;
    width: 100%;
}
.sec04_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}
.sec04_box {
    position: relative;
    width: 100%;
    max-width: 1024px;
    display: flex;
    align-items: center;
    margin-bottom: 200px;
}
.sec04_box:nth-child(odd) {
    flex-direction: row;
}
.sec04_box:nth-child(even) {
    flex-direction: row-reverse;
}
.sec04_box_item {
    width: 600px;
    height: auto;
    position: absolute;
    top: 200px;
    background-color: rgba( 209, 191, 136, 0.8);
    padding: 40px 50px;
    border-radius: 20px;
    color: #FFF;
}
.sec04_box .sec04_box_item {
    right: 0;
}
.sec04_box:nth-child(even) .sec04_box_item {
    left: 0;
}
.sec04_box_item_ttl {
    font-size: 32px;
    border-bottom: 1px solid #fff;
    margin-bottom: 25px;
    line-height: 32px;
    padding-bottom: 25px;
    letter-spacing: 0.08rem;
    color: #fff;
}
.sec04_box_item p {
    width: 100%;
    letter-spacing: 0.08rem;
    line-height: 32px;
    margin-bottom: 40px;
}

.sec04_box_img {
    width: 768px;
    height: 500px;
    overflow: hidden;

}
.sec04_box_img img {
    width: 100%;
    height: auto;
}
@media screen and (max-width:768px) {
    #sec04 {
        padding: 100px 0;
    }
    .sec04_box {
        width: 100%;
        max-width: 1024px;
        height: 600px;
        display: flex;
    }
    .sec04_box:nth-child(odd),
    .sec04_box:nth-child(even) {
        flex-direction: column;
    }
    .sec04_box_item {
        width: 90%;
        height: auto;
        position: absolute;
        top: 200px;
        background-color: rgba( 209, 191, 136, 0.8);
        padding: 40px 50px;
        margin: 0 24px;
        border-radius: 20px;
        color: #FFF;
    }
    .sec04_box .sec04_box_item {
        left: auto !important;
        right: auto !important;
    }
    .sec04_box_item_ttl {
        font-size: 32px;
        border-bottom: 1px solid #fff;
        margin-bottom: 25px;
        line-height: 32px;
        padding-bottom: 25px;
        letter-spacing: 0.08rem;
    }
    .sec04_box_item p {
        width: 100%;
        letter-spacing: 0.08rem;
        line-height: 32px;
        margin:0 auto  40px;
        
    }
    .sec04_box_img {
        width: 100%;
        height: 500px;
        overflow: hidden;
    
    }
}
/* ==================== section_05 ==================== */
#sec05 {
    padding: 150px 40px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 150px;
}

.sec05_inner {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}
.sec05_cont {
    max-width: 768px;
    width: 100%;
    margin-bottom: 100px;    
}

.sec05_cont p {
    line-height: 32px;
    letter-spacing: 0.08rem;
    text-align: center;
}

.sec05_list {
    max-width: 1027px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
    object-fit: cover;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 80px;
}
.sec05_list:after {
    content: "";
    display: block;
    width: 308px;  /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
}
.sec05_list_item {
    width: 308px;
    height: auto;
}
.sec05_list_item_img {
    position: relative;
    max-width: 308px;
    width: 100%;
    height: 216px;
    overflow: hidden;
    margin-bottom: 5px;
}

.sec05_list_item_img img {
    width: 100%;
    height: 216px;
    overflow: hidden;
    margin-bottom: 5px;
}
.sec05_list_item time {
    font-size: 12px;
    margin-bottom: 5px;
}

@media screen and (max-width:768px) {
    #sec05 {
        padding: 65px 24px;
        margin-bottom: 140px;
    }
    .sec05_cont {
        margin-bottom: 70px;    
    }
    .sec05_list {
        max-width: 767px;
        width: 100%;
        gap: 50px 25px;
        margin-bottom: 30px;
    }
}