@charset "utf-8";
@import url("common.css");

/*=======================
mainvisual
=======================*/
.contents .mainvisual {
  position: relative;
}
.contents .mainvisual ul {
  list-style: none;
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  position: absolute;
  z-index: 2;
}
.contents .mainvisual ul.nav_01 {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  bottom: 0px;
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}
.contents .mainvisual ul.nav_01 li {
  width: 17%;
  text-align: center;
  position: relative;
}
.contents .mainvisual ul.nav_01 li:last-child {
  width: 19%;
  background-color: rgb(142, 97, 38, 1);
  display: block;
}
.contents .mainvisual ul.nav_01 li:hover {
  background-color: rgba(100, 100, 100, 0.7);
}
.contents .mainvisual ul.nav_01 li:last-child:hover {
  background-color: #aa895c;
}

.contents .mainvisual ul li a {
  font-size: 15px;
  display: block;
  width: 100%;
  text-decoration: none;
}
.contents .mainvisual ul.nav_01 li a {
  padding: 23.5px 0px;
  color: #fff;
  letter-spacing: 2px;
}
.contents .mainvisual ul.nav_01 li:before {
  content: "";
  position: absolute;
  display: block;
  width: 1px;
  height: 12px;
  top: 30px;
  background-color: rgba(229, 229, 229, 0.5);
  left: 0;
}
.contents .mainvisual ul.nav_01 li:last-child:before,
.contents .mainvisual ul.nav_01 li:first-child:before {
  content: none;
}
.contents .mainvisual .out label span {
  display: block;
  width: 12px;
  height: 12px;
  padding: 7px;
  margin: -107px 0 0;
  border-radius: 100%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
/*ページ内リンクヘッダー隠れ調整*/
.contents #link_charm_breakfast {
  padding-top: 100px;
  margin-top: -100px;
}
.contents #link_service {
  padding-top: 100px;
  margin-top: -20px;
}

/**************************
	.contents slide
**************************/
.contents.main_slide {
  position: relative;
}
.contents.main_slide:after {
  position: static;
}
.contents .out {
  position: relative;
}
.contents .in img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.5s;
  z-index: 0;
}
.contents.main_slide img {
  display: block;
  width: 100%;
  height: auto;
}
.contents input {
  display: none;
}
.contents .in {
  display: flex;
  justify-content: center;
  height: 30px;
  align-items: center;
}
.contents .in a:hover {
  opacity: 1;
}
.contents label span {
  display: block;
  width: 12px;
  height: 12px;
  margin: -45px 10px 0;
  border-radius: 100%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.contents label span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 1;
  border-radius: 100%;
}
.contents input:nth-of-type(1):checked ~ .in label:nth-of-type(1) span::before,
.contents input:nth-of-type(2):checked ~ .in label:nth-of-type(2) span::before,
.contents input:nth-of-type(3):checked ~ .in label:nth-of-type(3) span::before,
.contents input:nth-of-type(4):checked ~ .in label:nth-of-type(4) span::before {
  background: var(--yellow);
  opacity: 1;
}
.contents label span::before {
  animation: slidebutton 14s infinite;
}
@keyframes slidebutton {
  0% {
    opacity: 1;
    background: #fff;
  }
  3.5% {
    opacity: 1;
    background: var(--yellow);
  } /* b÷x×100=y */
  25% {
    opacity: 1;
    background: var(--yellow);
  } /* 100÷c=z */
  28.5% {
    opacity: 1;
    background: #fff;
  } /* y+z */
}
.contents label:nth-of-type(2) span::before,
.contents label:nth-of-type(2) img {
  animation-delay: 3.5s;
}
.contents label:nth-of-type(3) span::before,
.contents label:nth-of-type(3) img {
  animation-delay: 7s;
}
.contents label:nth-of-type(4) span::before,
.contents label:nth-of-type(4) img {
  animation-delay: 10.5s;
}
.contents input:nth-of-type(1):checked ~ .in label:nth-of-type(1) img,
.contents input:nth-of-type(2):checked ~ .in label:nth-of-type(2) img,
.contents input:nth-of-type(3):checked ~ .in label:nth-of-type(3) img,
.contents input:nth-of-type(4):checked ~ .in label:nth-of-type(4) img {
  opacity: 1;
  z-index: 1;
}
.contents .in img {
  animation: slide 14s infinite; /* (a+b)×c=x */
  opacity: 0;
}
@keyframes slide {
  0% {
    opacity: 0;
  }
  3.5% {
    opacity: 1;
    z-index: 1;
  } /* b÷x×100=y */
  25% {
    opacity: 1;
  } /* 100÷c=z */
  28.5% {
    opacity: 0;
    z-index: 0;
  } /* y+z */
}
.contents input:checked ~ .in img,
.contents input:checked ~ .in span::before {
  animation: none;
}
.contents .in:hover img,
.contents .in:hover span::before {
  animation-play-state: paused; /* マウスを載せると一時停止 */
}
.contents .mainvisual:before {
  content: "";
  background-image: url(https://www.granbellhotel.jp/otaru/rakuten/top/img/logo_board.png);
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: 177px;
  height: 130px;
  z-index: 5;
  background-size: contain;
  background-repeat: no-repeat;
}
/* mainVisual_caption */

.contents .mainVisual_caption {
  position: absolute;
  inset: 0 0 0 0;
  z-index: 2;
  height: fit-content;
  -moz-height: fit-content;
  margin: auto;
  color: #fff;
  text-align: center;
  text-shadow: 0px 0px 7px rgba(36, 36, 34, 1);
  font-size: 33px;
  max-width: fit-content;
  line-height: 1.7;
  font-feature-settings: "palt";
  letter-spacing: 0.01em;
  padding-inline: 10px;
}
.contents .mainVisual_logo_W {
  min-width: 191px;
  width: 60%;
  margin: 0 auto 0.5em;
  filter: drop-shadow(0px 0px 5px rgba(36, 36, 34, 1));
}
/* charm */
.charm_list {
  display: grid;
  row-gap: 50px;
}
.charm_item {
  position: relative;
  padding-bottom: 60px;
  z-index: 1;
}
.charm_item_image {
  width: 64%;
}
.charm_item_content {
  width: 95%;
  display: flex;
  gap: 30px;
  align-items: center;
}
.charm_item:nth-child(odd) .charm_item_content {
  flex-direction: row-reverse;
}
.charm_item:nth-child(odd) {
  display: grid;
  justify-items: end;
}
.charm_item:nth-child(even) .charm_item_text {
  padding-left: 5%;
  justify-items: end;
  text-align: right;
}
.charm_item:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  background: var(--yellow);
  height: 78%;
}
.charm_item:nth-child(odd) .charm_item_image {
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}
.charm_item:nth-child(even) .charm_item_image {
  border-radius: 0 20px 20px 0;
  overflow: hidden;
}
.charm_item_text {
  display: block;
  margin-top: 20px;
}
.charm_item_body {
  margin-top: 1.2em;
}
.charm_item_link {
  margin-top: 20px;
  display: inline-block;
}
.charm_item_text {
  margin-top: 135px;
  max-width: 450px;
  width: 38%;
}
.charm_item:nth-child(even) .charm_item_text {
  padding-left: 0;
  text-align: left;
}

/*.hotelInfo*/
.contents .hotelInfo_section {
  border-top: 1px solid var(--gray);
  padding-top: 60px;
}
.contents .hotelInfo_name {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}
.contents .hotelInfo_inner {
  display: grid;
  grid-template-columns: auto auto;
  gap: 45px;
  justify-content: center;
}
.contents .hotelInfo_heading {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}
.contents .hotelInfo_item {
  display: flex;
}
