@charset "utf-8";
:root{
    --white: #ffffff;
    --black: #333333;
    --orange: #f46e45;
    --orangeOff: #ea8a59;
    --navy: #2a315b;
    --gray: #717070;
    --gray-b3: #b3b3b3;
    --warm-gray: #e1d8d1;
    --cream: #fdf5e8;
    --info-title: #f9ebd7;

    --Caslon: 'Libre Caslon Text',serif;
    --ZenKakuGothicNew: "Zen Kaku Gothic New","Yu Gothic","Meiryo","Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
    --NotoSansJP: "Noto Sans JP","Yu Gothic","Meiryo","Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
}
/* topページのローディングのためのcssを打ち消し。全下層ページに必要 */
#header,#mainvisual,main,footer{opacity: 1;}

#trailer_house{
    width: 100%;
    background: var(--cream);
    padding: 8rem 0 0;
    line-height: 0;
    position: relative;

    hgroup{
        width: 80%;
        margin: 0 auto 11.8rem;
        text-align: center;
        h2{
            width: 347px;
            aspect-ratio: 347/49;
            margin: 0 auto 2rem;
        }
        h3{
            width: fit-content;
            margin: 0 auto;
        }
        .wave-line-gray{
            width: 160px;
            margin: 1rem auto 2rem;
        }
        p{
            width: 90%;
            margin: 0 auto;
            line-height: 3.1;
        }
    }

    .sec-card{
        width: min(1280px,90%);
        height: auto;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
        row-gap: 4rem;
        column-gap: 1.16rem;

        .card-item{
            width: 306px;
            height: auto;
            text-align: center;
            line-height: 1.8;
            display: flex;
            flex-direction: column;

            .item-img{
                height: auto;
                aspect-ratio: 1;
                margin: 0 auto 0.5rem;
                position: relative;
                overflow: hidden;

                img{
                    object-fit: cover;
                }
                .label{
                    width: 22.8%;
                    height: auto;
                    align-self: 106/141;
                    position: absolute;
                    top: -1px;
                    right: 0;
                }
            }

            .item-text{
                width: 100%;
                margin: 0 auto;
                flex: 1;

                span{
                    font-family: var(--Caslon);
                    font-weight: 500;
                }
                
                h4{
                    font-size: 18px;
                    /* font-size: 1.13rem; */
                    margin: 0 auto;
                    letter-spacing: 0;
                    color: var(--orange);
                }

                .wave-line-gray{
                    width: 94%;
                    margin: 0 auto 1rem;
                }

                p{
                    font-size: 1rem;
                }

                small{
                    color: var(--orangeOff);
                }
            }

            .btn-more{
                margin-top: auto;
            }
        }
    }
}

@media screen and (max-width:1240px){
    main{
        #room-facility{
            padding: 8rem 0 10rem; 
        }
        #sec-wide{
            .sec-inner{
                margin: 0 auto 8rem;
            }
        }
    }
}
@media screen and (max-width:820px){
    #trailer_house{
        hgroup{
            width: 100%;
            margin: 0 auto 10rem;
            h2{
                width: 195.14px;
            }
            .wave-line-gray{
                width: min(290.01px, 80%);
            }
        }
    }

    #room-facility{
        hgroup{
            width: 100%;
            margin: 0 auto 3rem;
            text-align: center;
        }
    }
    
    #midashi-wide .sec-inner hgroup{
        width: 100%;
        .meal{
            width: 233.9px;
        }
        .wave-line-gray{
            width: min(290.01px, 80%);
        }
    }
    #midashi-wide .sec-inner hgroup{
        .faclity{
            width: 93.06px;
        }
    }
}
@media screen and (max-width:540px){
    #trailer_house{
        padding: 6rem 0 0;
        hgroup {
            margin: 0 auto 6rem;
        }
    }
    #room-facility{
        padding: 6rem 0 8rem; 
    }
    #sec-wide{
        .sec-inner{
            margin: 0 auto 6rem;
        }
    }
}