html {
  scroll-behavior: smooth;
}

main {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.contents-wrap {
    width: 100% !important;
    padding: 0 0 40px 0;
}

hr.is-style-default{
width: 100px;
height: 2px;
background-image: linear-gradient(to right bottom, #4DCAC2 20%, #0390DC 80%);
border: none;
}

.contents-wrap.topics {
    padding-bottom: 8vw;
}

.to-contactform {
    margin-top: 8vw;
}

.to-contactform:before {
    z-index: -1;
}

.fv-catchphrase{
color: #fff !important;
    text-align: center;
    font-size: min(3.6vw,24px) !important;
    text-shadow: 0px 0px 5px rgba(0,0,0,1);
position: absolute; 
top: 50%;
left: 50%;
transform: translate(-50%, -50%);  
width: 100%;
}

.fv-wrap p {
   position: static;
   transform: none;
font-size: min(3.6vw,24px) !important;
}

.contents-wrap.affiliated-hotel .affiliated-wrap {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
}
.contents-wrap.affiliated-hotel .affiliated-wrap .img-wrap {
  width: 47%;
  position: relative;
  margin-bottom: 2rem;
}
.contents-wrap.affiliated-hotel .affiliated-wrap .img-wrap:before {
  content: "";
  display: block;
  padding-top: 40%;
  pointer-events: none;
}
.contents-wrap.affiliated-hotel .affiliated-wrap .img-wrap a {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.contents-wrap.affiliated-hotel .affiliated-wrap .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) opacity(60%) brightness(60%);
  transition: 0.4s ease;
}
.contents-wrap.affiliated-hotel .affiliated-wrap .img-wrap img:hover {
  filter: grayscale(0%);
}
.contents-wrap.affiliated-hotel .affiliated-wrap .img-wrap p {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 100%;
  line-height: 1.2;
  color: #fff;
  pointer-events: none;
  font-size: min(3.2vw, 1rem);
}

body.page-template.page-template-page-design02:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background-image: url(https://hotel-ff.sakura.ne.jp/wp/wp-content/uploads/2022/06/topics-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.contents-wrap.topics {
    padding-bottom: calc(8vw + 40px) !important;
}

.link-button.link-button-facilities {
    position: absolute;
    bottom: 0;
    right: 0;
}

.category-wrap a {
    padding: 0.3rem 1rem;
    border-radius: 3px;
    color: #fff;
    background-color: rgba(3, 144, 220, 0.5019607843);
    font-size: 0.5rem;
    transition: all 0.3s ease;
}

@media screen and (min-width: 576px){
.hotelff-post-wrapper main .thumbnail-wrap {
    width: 100%;
    position: relative;
}
}

@media screen and (min-width: 768px){
nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 60%;
}

.contents-wrap.affiliated-hotel .affiliated-wrap .img-wrap {
  width: 30%;
  position: relative;
  margin-bottom: 2rem;
}

.topics-contents-wrap{
width: 30% !important;
}
}


@media screen and (min-width: 992px){

.contents-wrap {
     padding: 0 0 40px 0; 
}

.contents-wrap.guide .texr-wrap.text-wrap-left {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
}

span.position-relative.button-reserve {
    color: #007bff;
    font-weight: 700;
}