@charset "UTF-8";

.fv_accommodation {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    background-image: url(fac_fv.jpg);
    background-size: cover;
    background-position: center;
    height: 400px;
    width: 100%;
}

.box {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    top: 96%;
}

.fv_area {
    background-color: #FFFAFA;
    position: absolute;
    left: 20px;
    border-radius: 10px 10px 0 0;
    bottom: -19px;
    width: 240px;
}

@media screen and (min-width: 900px){
    .fv_area  {
        width: 250px;
  }
}

@media screen and (min-width: 1000px){
      .fv_area  {
        left: 16px;
    }
}

.fv_accommodation h1 {
    margin: 0 0 0 10px;
    padding: 8px;
}
  
.fv_accommodation .sub-title {
    color: #32865F;
    margin: -20px 0 0 16px;
}

p {
    max-width: 640px;
    margin: 16px auto;
}

nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 0 48px;
}

nav .box {
    position: relative;
    width: 49%;
    margin-bottom: 48px;
    display: block;
}

nav .box::after {
    position: absolute;
    content: '';
    width: 16px;
    height: 32px;
    bottom: -1em;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(bottom_arrow.png);
    background-size: 100%;
    transition: .3s;
}

nav .box:hover::after {
    bottom: -2em;
}

nav img {
    width: 100%;
    height: 140px;;
    border-radius: 24px;
    filter: brightness(75%);
}


nav .box div {
    position: absolute;
    bottom: 1.5em;
    left: .5em;
    padding: 0 8px;
    font-weight: bold;
    color: white;
}

@media screen and (min-width: 600px) {
    nav .box {
        width: 32%;
    }
}

@media screen and (min-width: 1024px) {
    nav .box {
        width: 16%;
    }
}

#accommodation .item {
    margin-bottom: 54px;
}

#accommodation .item .img-wrapper img{
    width: 100%;
    border-radius: 0 36px 36px 36px;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

#accommodation .item h3 {
    font-size: 1.4em;
}

#accommodation .item h3 span {
    color: rgb(50,134,95);
    font-size: 1rem;
    display: block;
}

#accommodation .sub-title {
    font-size: 1.3em;
    font-weight: bold;
    z-index: 30;
    position: relative;
}

#accommodation .sub-title span {
    color: rgb(50,134,95);
}

#accommodation #teraoonsen {
    background: rgb(197,255,226);
    margin: -16px -16px 0;
    padding: 40px 16px 16px;
}

@media screen and (min-width: 900px) {

    #accommodation .item.img-left {
        padding-left: 50%;
        margin: 160px 0 128px auto;
        position: relative;
    }

    #accommodation .item.img-left .img-wrapper {
        position: absolute;
        width: 35%;
        top: 0;
        left: 0;
        margin-top: 16px;
    }

    #accommodation .item.img-right {
        padding-right: 50%;
        margin: 160px auto 128px 0;
        position: relative;
    }

    #accommodation #teraoonsen {
        padding: 64px 50% 64px 0;
    }

    #accommodation .item.img-right .img-wrapper {
        position: absolute;
        width: 35%;
        top: 0;
        right: 0;
        left: auto;
        margin-top: 16px;
    }

    #accommodation .item.img-right .img-wrapper img {
        border-radius: 36px 0 36px 36px;
    }
}

/************************
料金
*/

#price h3 span {
    color: rgb(50,134,95);
    font-size: 1rem;
    padding: 8px 16px;
    display: inline-block;
    width: fit-content;
}

#price .slide {
    font-size: .8em;
    padding-left: 48px;
    position: relative;
}

#price .slide::before {
    position: absolute;
    content: '';
    top: 4px;
    left: 0;
    width: 40px;
    height: 40px;
    background-image: url(bottom_arrow.png);
    background-size: 30%;
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

#price .table-wrapper {
    overflow-x: scroll;
}

table {
    border-collapse: collapse;
    border: solid 1px rgb(50,134,95);
    text-align: center;
    width: 900px;
}

table th {
    background: rgb(50,134,95);
    color: white;
    padding: 8px 16px;
    width: 16%;
    border: solid 1px white;
}

table td {
    border: solid 1px rgb(50,134,95);
    width: 16%;
}

@media screen and (min-width: 900px) {
    #price .table-wrapper {
        overflow-x: unset;
    }

    #price .slide {
        display: none;
    }

    #price table {
        margin: 0 auto;
    }

    #price small {
        max-width: 900px;
        margin: 0 auto;
        display: block;
    }
}

/***************************
キャンセルポリシー
*/

#cancel-poricy dl {
    max-width: 700px;
    margin: 0 auto;
}

#cancel-poricy dl dt {
    width: 100%;
    font-weight: bold;
    color: white;
    background: rgb(50,134,95);
    margin-top: 8px;
    border-radius: 0 16px 16px 16px;
    padding: 4px 16px; 
    display: block;
    width: 6em;
    text-align: center;
}

#cancel-poricy dl dd {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 8px 0;
    border-bottom: dashed rgb(50,134,95);
}