/* CSS Document */
img {
  width: auto;
}
#header-region {
  position: sticky;
  top: 115px;
  background-color: #fff;
}
#header-region a {
  color: #000;
}
#header-region #booking a {
  color: #fff;
}
#footer-flex {
  display: flex;
  width: 70%;
  margin: auto;
  padding-top: 5%;
  padding-bottom: 5%;
  justify-content: space-between;
  align-items: stretch;
}
#footer-l, #footer-r {
  width: 35%;
}
#footer-l h2 {
  margin-top: 10%;
}
#check {
  padding: 5%;
  margin: 5% auto;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
.check-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.check-l {
  width: 35%;
}
.check-c {
  width: fit-content;
}
.check-r {
  width: fit-content;
}
.check-flex:first-of-type {
  margin-bottom: 3%;
}
@media(max-width:750px) {
  #footer-flex {
    display: block;
    width: 80%;
    padding-top: 10%;
    padding-bottom: 10%;
  }
  .check-l {
    width: 40%;
  }
  #footer-l, #footer-r {
    width: 100%;
  }
}


/*roomスライダ*/

/* スライダーのコンテナ */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    overflow: hidden;
    margin: auto;
}

/* スライダーのラップ */
.slider-wrapper {
    display: flex;
    width: 400%;  /* 画像の数 × 100% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* 各スライド */
.a-slider {
    width: 100%;
    flex: 0 0 100%;
    height: 100%;
    object-fit: cover;
}

/* ラジオボタンのスタイルを非表示 */
input[name="slider"] {
    display: none;
}

/* 各スライドへの切り替え */
#btn1a:checked ~ .slider-container .slider-wrapper {
    transform: translateX(0%);
}
#btn2a:checked ~ .slider-container .slider-wrapper {
    transform: translateX(-100%);
}
#btn3a:checked ~ .slider-container .slider-wrapper {
    transform: translateX(-200%);
}
#btn4a:checked ~ .slider-container .slider-wrapper {
    transform: translateX(-300%);
}

/* ボタンデザイン */
.button-container {
    text-align: center;
    margin-top: 10px;
}

.slider-btn {
    width: 15px;
    height: 15px;
    margin: 5px;
    background-color: #ccc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
}

/* 選択中のボタンのスタイル */
#btn1a:checked ~ .button-container .btn1a,
#btn2a:checked ~ .button-container .btn2a,
#btn3a:checked ~ .button-container .btn3a,
#btn4a:checked ~ .button-container .btn4a {
    background-color: #333;
}




/*room用*/



#roombox * {
  box-sizing: border-box;
  scrollbar-color: transparent transparent; /* thumb and track color */
  scrollbar-width: 0px;
}

#roombox *::-webkit-scrollbar {
  width: 0;
}

#roombox *::-webkit-scrollbar-track {
  background: transparent;
}

#roombox *::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

#roombox * {
  -ms-overflow-style: none;
}

ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  padding-top: 35%;
  perspective: 100px;
    max-width: 950px;
    aspect-ratio: 750 / 450;

}

.carousel__viewport {
    max-width: 950px;
    aspect-ratio: 750 / 450;
    margin: 0;
    padding: 0;    
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  counter-increment: item;
}

.carousel__slide:nth-child(even) {
}

.carousel__slide:before {
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
      max-width: 950px;
    }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}



.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #333;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
  margin-top: 28%;
  width: 4rem;
  height: 4rem;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  /*left: -1rem;*/
}

.carousel::after,
.carousel__next {
  /*right: -1rem;*/
    right: 0rem;
}

.carousel::before,
.carousel::after {
  content: '';
  z-index: 1;
  background-color: #333;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}

#amenity-flex{
    width: 42%!important;
}

#footer-r a{
	color: #1a1a1a;
	text-decoration: underline;
}
#footer-r a,#footer-r p{
	margin-bottom:1vw!important;
	line-height: 2em!important;
	display: block;
}
#check-region{
	color: white;
	padding: 1% 10%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 75%;
}
#footer-flex{
	display: flex;
	width:70%;
	margin: auto;
	padding-top: 5%;
	padding-bottom: 5%;
	justify-content: space-between;
	align-items: center;
}
#footer-l{width:20%;}
#footer-r{width:75%;}
#footer-l h2{margin-top:10%;}
#check{
	padding:5%;
	margin: 5% auto;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}
.check-flex{
	display:flex;
	justify-content: space-between;
	align-items: center;
}
.check-l{
	width:35%;
}
.check-c{
	width:fit-content;
}
.check-r{
	width:fit-content;
}
.check-flex:first-of-type{margin-bottom:3%;}
/*.carousel__slide{scroll-margin-top:500px;}*/
.carousel [id]{scroll-margin-top:200px;}