/* 全体 */
:root {
  --dark-color: #333;
  --main-color: #fadeeb;
  --one-color: #DBF5FD;
  --blue-color: #49bbdb;
  --pink-color: #FF629C;
}

body {
  font-family: heisei-maru-gothic-std, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  font-size: clamp(1rem, 0.744rem + 0.71vw, 1.2rem);
  background: var(--main-color);
}

/* スマホ・タブレットのhover処理無効 */
@media (any-hover: hover) {
  .button:hover {
  background-color: red;
  }
}

#top, #about, #kaisai, #club, #sanka, #ask, #info {
  max-width:600px;
}

#keihin, #card {
  max-width:800px;
}

section {
  margin-inline: auto;
  padding: 2rem 1rem;
}

h1 {
  display: none;
}

h2 {
 font-size: clamp(1.1rem, 0.588rem + 1.43vw, 1.5rem);
 font-weight: bold;
 color: var(--pink-color);
 padding-bottom: .5rem;
}

.center {
  text-align: center;
}

.hogan {
  background: #fff;
  background-image: linear-gradient(0deg, transparent calc(100% - 2px), var(--one-color) calc(100% - 2px)),
  linear-gradient(90deg, transparent calc(100% - 2px), var(--one-color) calc(100% - 2px));
  background-size: 2rem 2rem;
  background-repeat: repeat;
  background-position: center center;
}

.highlight {
  background-image: linear-gradient(0deg, #fbbf2480 0.5em, transparent 0.5em);
}

.caution {
  font-size: 0.8rem;
  color: var(--pink-color);
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.caution2 {
  font-size: 0.8rem;
  color: var(--dark-color);
  padding: 1rem;
  margin-top: 1rem;
}


/*========= ヘッダー ===============*/
header {
  padding: 5rem 1rem 2rem 1rem;
  max-width: 600px;
  margin-inline: auto;
}

#header-container {
  position: relative;
}

#header-box {
  margin-inline: auto;
  min-height: 200px;
  position: relative;
  z-index: 1;
  margin: 1rem;
  display: flex;
  border-radius: 10px;
  background-color: var(--main-color);
}

#header-title {
  position: absolute;
  top: -2rem;
  left: 0;
  z-index: 2;
}

/*========= 概要 ===============*/
.mini-container {
  width: 90%;
  margin-inline: auto;
}

.mini-box {
  position: relative;
  overflow: visible;
  border-radius: 30px;
  padding: 2rem 1.5rem 5rem 1.5rem;
  border: 3px solid var(--blue-color);
}

.mini-zuyatae {
  width: 250px;
  position: absolute;
  bottom: -20px;
  right: -10px;
  animation: pikopiko 1s steps(2, start) infinite;
}


/*========= サークルリスト ===============*/
#club {
  margin-inline: auto;
  width: 90%;
}

#club-list {
  margin-inline: auto;
}

#club-list td {
  background: #fff;
}

#club-list, #club-list td, #club-list th{
  border-collapse: collapse;
  border: solid 2px var(--dark-color);
  padding: .2rem .5rem;
}

#club-list tr td:nth-of-type(1){
  text-align:center;
  width: 30%;
}


/*========= 景品 ===============*/
#keihin-list {
  margin-inline: auto;
}

#keihin-list td {
  background: #fff;
}

#keihin-list, #keihin-list td, #keihin-list th{
  border-collapse: collapse;
  border: solid 2px var(--dark-color);
  padding: .2rem .5rem;
}

#keihin-list tr td:nth-of-type(1){
  text-align:center;
  width: 30%;
}

.keihin-container {
  margin-bottom: 1rem;
}

.keihin-img {
  display:inline-block;
  border-radius: 30px;
}

.keihin-comment {
  font-size: 0.8rem;
  margin: .5rem;
}

@media (min-width: 576px) {
  .keihin-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
    gap:1rem;  
  }
}

@media (max-width: 575px) {
  .keihin-container {
    display: block;
    text-align:center;
  }
  
  .keihin-container > img {
    margin-bottom: 1rem;
  }
}

/*========= 参加方法 ===============*/
#sanka {
  padding-bottom: 1rem;
}
.sanka-list {
  list-style-type: disc;
  padding: 1em 1em 1em 2.5em;
  border: 2px solid var(--blue-color);
  background: #fff;
}

.sanka-list li {
  padding: .3em .3em .3em 0;
}

.sanka-list li::marker {
  color: #2589d0;
  font-size: 1.1em;
}

/*========= 入浴券 ===============*/
.mini-ken {
  width: 60px;
  position: absolute;
  bottom: -20px;
  left: -20px;
  animation: pikopiko 1s steps(2, start) infinite;
}

/*========= ローディング ===============*/
#kaiten {
  display: grid;
  place-content: center;
  width: 100%;
  height: 100vh;
  z-index: 9998;
  position: fixed;
  background: var(--main-color);
}

#kaiten_logo {
  max-width: 200px;
  transform: translate(-50%, -50%);
  z-index: 9999;
  animation:3s linear infinite kaiten;
}

@keyframes kaiten{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(360deg); }
}

/*========= 横スクロール文字 ===============*/
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: var(--blue-color);
  color: #fff;
  padding-bottom:.1rem;
  font-size: clamp(0.8rem, 0.288rem + 1.43vw, 1.2rem);
}

.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-animation 20s linear infinite;
}

@keyframes marquee-animation {
  from {
  transform: translateX(0%);
  }
  to {
  transform: translateX(-100%);
  }
}

/*========= ぴこぴこ ===============*/
@keyframes pikopiko {
  0% {
  transform: rotate(5deg);
  }
  to {
  transform: rotate(-5deg);
  }
}

/*========= ヘッダー画像切り替え ===============*/
.header-funwari {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: fuwa 10s 0s infinite;
  animation: fuwa 10s 0s infinite;
}

.header-funwari:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}

/* ふわっと */
@keyframes fuwa {
  0% {
  opacity: 0;
  }
  30% {
  opacity: 1;
  }
  35% {
  opacity: 1;
  }
  50% {
  opacity: 0;
  z-index: 9;
  }
  100% {
  opacity: 0;
  }
}

/*========= 問合せと各種情報 ===============*/
.info-container {
  max-width: 800px;
  display: flex;
}

.info-left img,
.info-right img {
  animation: pikopiko 1s steps(2, start) infinite;
}

.info-left {
  flex: 1;
}

.info-right {
  flex: 1.2;
  padding-left: 1em;
}

.deco-button {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 250px;
  margin-inline: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: .9em 1em;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
}

.ask-button {
  background-color: var(--blue-color);
  color: #fff;
}

.ask-button:hover {
  background-color: #ccc;
}

footer {
  font-size: .8rem;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
