@charset "UTF-8";

footer{
  position: sticky;
  top: 100vh;
  padding-bottom: 50px;
}
.footerContainer {
  width: 100%;
  background-color: #FFF;
  padding-top: 50px;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

/*住所*/
.footerContainer address {
  font-style: normal;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  line-height: 1.3rem;
  word-break: normal;/*区切れで自動改行*/
  height: auto;
  padding-bottom: 2rem;
  text-align: center;
  margin: 0 150px 0 150px;
}

/*電話番号*/
.footerContainer address .tel {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1rem;
  text-decoration: none !important;
  font-size: 0.9rem !important;
}

/*デジタルデザイン*/
.boldSmall {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding-right: 0.5rem;
}

/*フレンドリー*/
.footerContainer h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding-right: 1rem;
  padding-bottom: 0.5rem;
}

/*ライン*/
.line {
  border: solid 0.5px #E4D6D4;
  margin-bottom: 25px;
}

/*注釈見出し*/
.footerContainer h6 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  margin: 0 150px 0 150px;
}

/*注釈本文*/
.annotation {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  text-align: left;
  line-height: 1rem;
  letter-spacing: 0.09rem;
  padding-bottom: 0.5rem;
  text-align: justify;
  margin: 0 150px 0 150px;
}

/*コピーライト*/
.footerWrap p {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  font-size: 0.4rem;
  line-height: 0.9rem;
  padding-bottom: 40px;
}

.footerWrap {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1rem;
  font-size: 0.4rem;
  line-height: 0.9rem;
  text-align: center;
  padding-bottom: 40px;
}



/* スクロールトップ */
.scroll_top {
  position: fixed;
  right: 55px;
  bottom: 15px;
  z-index: 7002;
  width: 57px;
  height: 57px;
  border: 1px solid #484747;
  border-radius: 50%;
  font-size: 19px;
  line-height: 57px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
  opacity: 0;
}

@media (max-width: 768px) {
  .scroll_top {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    line-height: 2.5rem;
    right: 3rem;
  }
}

.scroll_top:hover {
  background-color: #c9c3bb;
}


/******/
.es-banner{
  position: fixed;
  z-index: 10000;
    right: 10px;
    bottom: 10px;
  width: max(12.5rem, 18.518vw);
  container: boardbanner / inline-size;
}
@media (min-width: 540px) {
  .es-banner{
    right: 4rem;
    bottom: 2rem;
  }
}

.board_calc {
  width: max(12.5rem, 18.518vw);
}
.board_calc .board {
  width: max(12.5rem, 18.518vw);
}
.board_calc svg {
  width: max(12.5rem, 18.518vw);
  vertical-align: bottom;
}
.board_calc .text img {
  height: 10.526cqw;
}

.boardWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.boardWrap:hover {
  opacity: 1;
}
.board {
  position: relative;
  width: 100%;
}
.board .white {
  fill: #ffffff;
  transition: all 0.3s ease-in-out;
}
.board:hover .white {
  fill: #FFE55F;
}
.board .text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 21.052cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5789cqw;
  font-size: 5.5262cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #533833;
}
.board .text > img {
  object-fit: contain;
  width: auto;
  display: block;
}
.shadow {
  width: 15cqw;
  height: 6.52612cqw;
  position: relative;
  z-index: -1;
  align-self: center;
  justify-self: flex-start;
  transform-origin: top center;
  transform: translateY(-50%);
}
.shadow img{
  width: 15cqw;
  height: 6.52612cqw;
  display: block;
}
.board_calc {
  transform-origin: center bottom;
  animation: 6.2s boardswing cubic-bezier(0.76, 0.01, 0.79, 1.89) infinite alternate;
}

@keyframes boardswing {
  0% {
    transform: rotate(0deg);
  }
  5% {
    transform: rotate(2.94deg);
  }
  10% {
    transform: rotate(-2.06deg);
  }
  15% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.cmpgn-img {
  margin-bottom: 0.8rem;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  animation: fadeUp 0.3s 1s ease-in forwards;
}
@media (min-width: 768px) {
  .cmpgn-img {
    right: max(2.92rem, 2.6455026455vw);
  }
}
.cmpgn-img > a {
  padding: 0;
  width: 100%;
  height: 100%;
}
.cmpgn-img > a:hover {
  opacity: 1;
}
.cmpgn-img label {
  position: absolute;
  top: 0;
  right: -1rem;
  transform: translateY(-50%);
  background: #533833;
  border-radius: 50%;
  width:1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmpgn-img label img{
  width: 100%;
  height: 100%;
}
.cmpgn-img:has(input[type=checkbox]:checked) {
  height: 0;
  overflow: hidden;
}
@keyframes fadeUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}