@charset "utf-8";

/* 共通 */
.btn_box {
    display: flex;
    justify-content: center;
}
.btn_box.more {
    display: flex;
    align-items: center;
    min-width: 140px;
    height: 48px;
    border-radius: 10px;
    font-family: "Hiragino Sans", sans-serif;
    font-size: 1.6rem;
    position: relative;
    margin-left: auto;
    transition: all 0.5s ease;
}
.btn_box.more::after {
    content: "";
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    background-color: #5B4A3E;
    width: 7px;
    height: 7px;
    position: absolute;
    right: 15%;
}

/***FV***/
.top_fv_sec {
    padding: 20px 0 80px;
}

/* TOP FV */
.top_fv {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    z-index: 99;
    position: relative;
}

.top_fv_video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 動画を要素いっぱいに表示し、アスペクト比を維持 */
    transform: translate(-50%, -50%);
    z-index: -1;
}

.top_fv_text_wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 392px;
    background-image: url('../img/top_fv_text_bg.jpg'); /* 背景画像を指定 */
    background-size: cover;
    background-position: center;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top_fv_sec .wrapper {
    display: flex;
    justify-content: space-between;
}
.top_fv_sec .text {
    width: 50%;
    padding-top: 80px;
}
.top_fv_sec .image {
    width: calc(50% - 40px);
    padding-top: 6%;
    position: relative;
}

.top_fv_text {
    color: #fff;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.4;
    z-index: 999;
}

.top_fv_text.big {
    font-family: "Hiragino Sans", sans-serif;
    font-weight: bold;
    font-size: min(3rem, 5.8vw);
    margin-bottom: 40px;
    line-height: 1.8;
}

@media screen and (max-width: 800px) {
    .top_fv {
        height: 70vh;
    }
    
    .top_fv_text_wrapper {
        background-image: url('../img/top_fv_text_bg_sp.jpg'); 
        max-width: 320px;
    }
    
    .top_fv_text {
        font-size: 1.4rem;
    }
    
    .top_fv_text.big {
        font-size: min(2rem, 5.8vw);
    }
   
}

/* Newsセクション */
.top_news_sec {
    padding-top: 40px;
    padding-bottom: 80px;
}

.top_news_sec .wrapper {
    padding: 45px 0;
    border-top: solid 1px #BEB1A9;
    border-bottom: solid 1px #BEB1A9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5rem;
    transition: all 0.5s ease;
}
.top_news_sec .wrapper::before {
    content: "";
    border-top: solid 1px #BEB1A9;
    width: 100%;
    height: 100%;
    position: absolute;
    top: -5px;
    pointer-events: none;
}
.top_news_sec .wrapper::after {
    content: "";
    border-bottom: solid 1px #BEB1A9;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 4px;
    pointer-events: none;
}
.top_news_sec .wrapper:hover {
    opacity: 0.4;
    cursor: pointer;
}
.top_news_sec .section_title.left h2 {
    font-size: 3.6rem;
}
.top_news_sec .section_title.left p {
    font-size: 1.4rem;
}
.top_news_pickup {
    font-family: "Hiragino Sans", sans-serif;
    flex: 1;
}
.top_news_pickup .time {
    margin-bottom: 15px;
}
.top_news_pickup .time span {
    margin-left: 40px;
    padding: 5px;
    background-color: #5B4A3E;
    color: #fff;
    font-size: 1.3rem;
}

@media screen and (max-width: 800px) {
    .top_news_sec {
        padding: 50px 0;
    }
    .top_news_sec .wrapper {
        flex-direction: column;
        align-items: inherit;
        padding-top: 30px;
        padding-bottom: 50px;
        gap: 25px;
    }
    .top_news_sec .section_title.left p {
        font-size: 1.2rem;
    }
    .top_news_pickup {
        font-size: 1.4rem;
    }
    .top_news_pickup .time span {
        font-size: 1.2rem;
    }
}


/* aboutセクション */
.top_about_sec {
    padding-bottom: 80px;
}

.top_about_sec .two_column {
    display: flex;
    gap: 60px;
    padding-bottom: 80px;
}
.top_about_sec .title_wrapper {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}
.top_about_sec .title_wrapper h2 {
    font-size: min(2.8rem, 3vw);
}
.top_about_sec .title_wrapper .sub_title {
    margin-left: 16px;
}
.top_about_sec .content_wrapper {
    height: 100%;
    box-shadow: 6px 6px 6px rgba(91, 74, 62, 0.2);
}
.top_about_sec .content_wrapper:hover {
    cursor: pointer;
    opacity: 0.8;
}
.top_about_sec .content_wrapper a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.top_about_sec .content_wrapper .ex {
    padding: 0 1.5rem;
    margin-top: 16px;
    flex-grow: 1;
}

@media screen and (max-width: 800px) {
    .top_about_sec {
        padding-bottom: 40px;
    }

    .top_about_sec .two_column {
        padding-bottom: 50px;
        flex-direction: column;
        gap: 30px;
    }
    .top_about_sec .title_wrapper h2 {
        font-size: min(3rem, 6vw);
    }
    .top_about_sec .sub_title {
        font-size: 1.2rem;
    }
    .top_about_sec .ex {
        font-size: 1.4rem;
        margin-top: 20px;
    }
    .top_about_sec .title_wrapper {
        align-items: flex-end;
    }
    .top_about_sec .title_wrapper .sub_title {
        margin-left: 10px;
    }

}


/* reasonセクション */
.top_reason_sec {
    padding-bottom: 80px;
    font-family: "Hiragino Sans", sans-serif;
}

.top_reason_sec .sec_header {
    font-size: 2.4rem;
    background-color: #5B4A3E;
    color: #fff;
    font-weight: bold;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.top_reason_sec .sec_bg{
    background-image: url('../img/top_reason_bg.jpg'); 
}
.top_reason_sec .wrapper {
    display: flex;
    gap: 40px;
    padding-top: 84px;
    padding-bottom: 100px;
}
.top_reason_sec h2 {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
}
.reason_list {
    display: flex;
}
.reason_list:not(:last-of-type) {
    padding-bottom: 50px;
}

.reason_list .num {
    font-family: "Hiragino Sans", sans-serif;
    font-size: 3.6rem;
    font-weight: bold;
    background-color: #5B4A3E;
    color: #fff;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
    margin-bottom: -75px;
}

.reason_info_right {
    padding: 40px;
    background-color: #fff;
}
.reason_title {
    font-size: 2.4rem;
    font-weight: bold;
    padding-bottom: 10px;
    padding-left: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #5B4A3E;
    position: relative;
}

.reason_title::before {
    content: "";
    width: 7px;
    height: 7px;
    background-color: #E60716;
    position: absolute;
    left: 0;
}
.reason_title.br::before {
    top: 15%;
}

@media screen and (min-width: 801px) {
    .reason_title {
        font-size: 2rem;
    }
    .reason_title::before {
        top: 12px;
    }
    .reason_text {
        font-size: 1.3rem;
    }
}
@media screen and (min-width: 1024px) {
    .reason_title {
        font-size: 2.4rem;
    }
    .reason_title::before {
        top: 18px;
    }
    .reason_text {
        font-size: 1.6rem;
    }
}

@media screen and (min-width: 801px) {
    .top_reason_sec h2 {
        writing-mode: vertical-rl;
    }
    .reason_info_left {
        width: 40%;
    }
    .reason_info_left figure {
        min-width: 400px;
    }
}

@media screen and (max-width: 800px) {
    .top_reason_sec {
        padding-bottom: 50px;
    }
    .top_reason_sec .sec_header {
        font-size: 1.8rem;
        text-align: center;
        height: 96px;
    }
    .top_reason_sec .sec_bg{
        background-image: url('../img/top_reason_bg.jpg'); 
    }
    .top_reason_sec .wrapper {
        flex-direction: column;
        gap: 30px;
        padding-top: 38px;
        padding-bottom: 50px;
    }
    .top_reason_sec h2 {
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
    }
    .reason_list {
        flex-direction: column;
    }
    .reason_list:not(:last-of-type) {
        padding-bottom: 50px;
    }
    
    .reason_list .num {
        font-size: 2.8rem;
        width: 56px;
        height: 56px;
        margin-bottom: -56px;
    }
    
    .reason_info_right {
        padding: 28px 25px
    }
    .reason_title {
        font-size: 1.8rem;
        padding-bottom: 10px;
        padding-left: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #5B4A3E;
    }
    .reason_text {
        font-size: 1.4rem;
    }
    .reason_title::before {
        top: 12px;
    }
}
