@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");

:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --primary-gray: #e9ecef;
  --primary-red: #f03e3e;
  --theme-color: #be860b;
  --font-family-jp: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体",
    "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  --font-family-en: "Josefin Sans", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

@media screen and (max-width: 900px) {
}

@media screen and (max-width: 600px) {
  html {
    font-size: clamp(6px, 2.38vw, 16px);
  }
}

body {
  color: var(--primary-black);
  background: var(--primary-white);
  font-size: 1.6rem;
  line-height: 1.8;
  font-family: var(--font-family-jp);
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 2rem;
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.1rem;
  }

  h4 {
    font-size: 1.8rem;
  }
}

a,
a img,
a svg,
input[type="submit"],
input[type="reset"],
button {
  transition: 0.3s;
  opacity: 1;
}

table {
  border-collapse: collapse;
  width: 100%;
}

table,
th,
td {
  font-size: 1.4rem;
  border: solid 1px #bbb;
  padding: 1.5rem 1rem;
}

th {
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  background: #ebebeb;
  vertical-align: middle;
}
/* ---------------

共通

--------------- */

.pc {
  display: inline-block !important;
}

.tab {
  display: inline-block !important;
}

.sp {
  display: none !important;
}

@media screen and (max-width: 900px) {
  .tab {
    display: none !important;
  }
}

@media screen and (max-width: 600px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: inline-block !important;
  }
}

.wrap {
  max-width: 112rem;
  margin: auto;
  padding: 0 1.6rem;
}

.page-wrap {
  max-width: 112rem;
  margin: 0 auto 12rem;
  padding: 0 1.6rem;
}

.common-title {
  margin-bottom: 4rem;
  display: flex;
  column-gap: 2rem;
}

.common-title span {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 700;
  font-family: var(--font-family-en);
  writing-mode: vertical-lr;
  white-space: nowrap;
}

.common-title h2 {
  font-size: 2.2rem;
  font-weight: bold;
  display: inline-block;
  padding-top: 1rem;
  margin-bottom: 0;
}

.second-title {
  margin: 0 calc(50% - 50vw + 5rem);
  background-color: var(--theme-color);
  padding: 4rem 1.6rem;
  margin-bottom: 4rem;
}

.second-title h2 {
  max-width: 112rem;
  margin: 0 auto;
  padding: 0 1.6rem;
  font-size: 2.2rem;
}
@media screen and (max-width: 900px) {
  .second-title {
    margin: 0 calc(50% - 50vw) 4rem;
  }
}

.common-btn {
  position: relative;
  display: block;
  max-width: 27rem;
  width: 100%;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.3em;
  border: solid 0.3rem var(--primary-black);
  background-color: var(--primary-white);
  padding: 1.5rem 4rem 1.5rem 2.5rem;

  &::after {
    content: "";
    width: 2.4rem;
    aspect-ratio: 52 / 31;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.8rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/arrow_bk.png);
  }

  &.bk {
    background-color: var(--primary-black);
    color: var(--primary-white);

    &::after {
      background-image: url(../img/arrow_wh.png);
    }
  }

  &.right {
    margin-left: auto;
  }

  &.center {
    margin-left: auto;
    margin-right: auto;
  }
}

.common-btn__back {
  position: relative;
  display: block;
  max-width: 27rem;
  width: 100%;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.3em;
  border-bottom: solid 0.3rem var(--primary-black);
  padding: 1.5rem 2.5rem 1.5rem 4rem;
  text-align: center;
  background-color: #e9ecef;

  &::before {
    content: "";
    width: 2.4rem;
    aspect-ratio: 52 / 31;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    left: 0.8rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/arrow_bk.png);
  }

  &.center {
    margin: 0 auto;
  }
}

.common-btn360 {
  position: relative;
  display: inline-block;
  padding: 1.5rem 1.5rem 1.5rem 6rem;
  border: solid 0.3rem var(--primary-black);
  background-color: var(--primary-white);
  font-weight: 600;
  min-width: 24rem;
  font-size: 1.4rem;

  &::before {
    content: "";
    display: inline-block;
    width: 4rem;
    aspect-ratio: 81 / 73;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
    background-image: url("../img/room360icon.png");
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.common-btn__ancher {
  position: relative;
  display: block;
  max-width: 30rem;
  width: 100%;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.3em;
  border: solid 0.3rem var(--primary-black);
  background-color: var(--primary-white);
  padding: 1.5rem 4rem 1.5rem 2.5rem;

  &::after {
    content: "";
    width: 2.4rem;
    aspect-ratio: 52 / 31;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    right: 0.8rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/arrow_bk.png);
  }
}

@media (any-hover: hover) {
  .common-btn:hover {
    background-color: var(--theme-color);

    &.bk {
      background-color: var(--primary-black);
      opacity: 0.6;
    }
  }

  .common-btn__back:hover {
    background-color: var(--theme-color);
  }

  .common-btn__ancher:hover {
    background-color: var(--theme-color);
  }
}

.text-link {
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: underline;
  margin: 0.5rem 0;
}

.slideIn {
  position: relative;
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  transition: 0.3s;
  &::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--theme-color);
    transition: 0.3s 0.3s;
    z-index: 2;
  }
}

.slideIn.is-active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  &::before {
    width: 0;
  }
}

.fadeIn {
  opacity: 0;
  transform: translateY(5rem);
  transition: 0.6s;
}

.fadeIn.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------

レイアウト

--------------- */
#body-container {
  display: flex;
  align-items: flex-start;
}

#main-container {
  width: calc(100% - 10rem);
  overflow-x: clip;
}

@media screen and (max-width: 900px) {
  #body-container {
    display: block;
  }

  #main-container {
    width: 100%;
  }
}

/* ---------------

検索フォーム

--------------- */

.fixed-searchform {
  position: fixed;
  top: 0;
  left: 10rem;
  background-color: var(--theme-color);
  padding: 8rem 3rem 4rem;
  width: 29rem;
  display: flex;
  flex-direction: column;
  z-index: 9998;
  height: 100vh;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: 0.3s;
}

.fixed-searchform.is-active {
  transform: translateX(0);
}

.fixed-searchform > form {
  margin-bottom: 4rem;
}

.fixed-searchform legend {
  font-size: 1.4rem;
  font-weight: 600;
}

.checkin {
  margin-bottom: 2rem;
}

.checkin_item {
  position: relative;
  background-color: var(--primary-white);

  &::after {
    content: "";
    display: inline-block;
    width: 2.5rem;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    background-image: url(../img/calendar_icon.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.checkin_date {
  position: relative;
  z-index: 2;
}

.checkin_date input {
  font-family: var(--font-family-en);
  padding: 0 1rem;
  height: 4.5rem;
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.35em;
  border-bottom: solid 0.2rem var(--primary-black);
  cursor: pointer;
}

.stay-btn__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
}

.stay-btn__list input {
  display: none;
}

.stay-btn {
  padding: 0.8rem 1rem;
  text-align: center;
  background-color: #bbb;
  color: var(--primary-white);
  font-size: 1.4rem;
  font-weight: 600;
}

.stay-btn.is-active {
  background-color: var(--primary-black);
}

.nights.is-hide {
  display: none;
}

.searchform__selectbox {
  position: relative;
  border-bottom: solid 0.2rem var(--primary-black);
  z-index: 2;
  margin-bottom: 2rem;
}

.searchform__selectbox legend {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.searchform__selectbox select,
.searchform__selectbox .total-children {
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  padding: 1rem 4rem 1rem 4rem;
  cursor: pointer;
  z-index: 0;
  text-align-last: center;
}

.searchform__selectarrow {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  height: 100%;
  aspect-ratio: 1 / 1;
  z-index: -1;

  &::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-color: var(--primary-black);
    opacity: 0.4;
  }
}

.searchform__selectarrow span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  &::before {
    content: "";
    display: inline-block;
    width: 0.8rem;
    aspect-ratio: 1 / 1;
    border-top: solid 1px var(--primary-black);
    border-right: solid 1px var(--primary-black);
    position: absolute;
    top: calc(50% - 0.5rem);
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  &::after {
    content: "";
    display: inline-block;
    width: 0.8rem;
    aspect-ratio: 1 / 1;
    border-bottom: solid 1px var(--primary-black);
    border-left: solid 1px var(--primary-black);
    position: absolute;
    top: calc(50% + 0.5rem);
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

.select-children__accordion__content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: 0.3s;
}

.select-children__accordion__content.is-active {
  max-height: 100vh;
  opacity: 1;
  margin-bottom: 2rem;
}

.children-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.children-selects > div {
  display: flex;
  align-items: center;
  width: 100%;
  border: solid 0.2rem var(--primary-black);
  padding: 1rem 0.5rem;
  text-align: center;
  line-height: 1.2;
  font-weight: 600;
}

.children-selects label {
  position: relative;
  width: 100%;
  font-size: 1.2rem;
  &::after {
    content: "";
    display: inline-block;
    width: 0.8rem;
    aspect-ratio: 1 / 1;
    position: absolute;
    bottom: 1.5rem;
    right: 0;
    border-bottom: solid 0.2rem var(--primary-black);
    border-right: solid 0.2rem var(--primary-black);
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

.children-selects select {
  position: relative;
  display: block;
  width: 100%;
  font-size: 16px;
  text-align: center;
  margin-top: auto;
  padding: 1rem 2rem;
  border-bottom: solid 0.2rem var(--primary-black);
  cursor: pointer;
  text-align-last: center;
}

@media screen and (max-width: 900px) {
  .fixed-searchform {
    position: fixed;
    top: 7rem;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    padding: 8rem 6rem 12rem;
  }

  .fixed-searchform.is-active {
    transform: translateY(0);
  }
}

/* ---------------

header

--------------- */

header {
  position: sticky;
  top: 0;
  width: fit-content;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid var(--primary-gray);
  z-index: 9999;
  background-color: var(--primary-white);
}

.header__wrap {
  width: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 4rem 1rem 1rem;
}

.header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  row-gap: 4rem;
  height: 100%;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.header__logo {
  width: 6rem;
  margin: 0 auto;
}

.header__logo span {
  display: inline-block;
  margin-top: 1rem;
}

.header__main__list > li {
  margin-bottom: 3rem;
  width: 100%;
}

.header__main__list > li a,
.header__main__list > li button {
  position: relative;
  display: block;
  width: 100%;

  &::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    display: inline-block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--theme-color);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: 0.3s;
  }
}

.header__main__list > li.is-active a {
  &::before {
    opacity: 1;
  }
}

.header__main__list > li .ReserveOpenBtn.is-active {
  &::before {
    opacity: 1;
  }
}

.header__main__item--icon {
  display: block;
  width: 3.2rem;
  text-align: center;
  margin: 0 auto;
}

.header__sub {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.header__sub__list > li {
  margin-bottom: 2rem;
}

.header__sub__list > li:last-of-type {
  margin-bottom: 0;
}

.header__sub__list > li a {
  text-decoration: underline;
}

.header__language {
  overflow: hidden;
}

.header__language__title {
  position: relative;
  padding-right: 2rem;
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;

  &::after {
    content: "";
    display: inline-block;
    width: 1rem;
    aspect-ratio: 1 / 1;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    background-color: var(--primary-black);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
  }
}

.header__language__list {
  padding-top: 1rem;
  opacity: 0;
  max-height: 0;
  transition: 0.3s;
}

.header__language__list.is-active {
  opacity: 1;
  max-height: 100vh;
}

.header-searchform > form {
  margin: auto 0;
}

@media (any-hover: hover) {
  .header__main__list > li a:hover,
  .header__main__list > li button:hover {
    &::before {
      opacity: 1;
    }
  }
}

@media screen and (max-width: 900px) {
  header {
    width: 100%;
    height: auto;
    overflow-y: visible;
    border-right: none;
  }

  .header__wrap {
    width: 100%;
    display: block;
    padding: 1rem 0 1rem 1rem;
  }

  .header__main {
    flex-direction: row;
  }

  .header__logo {
    margin: 0;
  }

  .header__logo span {
    display: none;
  }

  .header__main__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .header__main__list > li {
    margin-bottom: 0;
  }

  .header__main__list > li a,
  .header__main__list > li button {
    &::before {
      border-radius: 0;
    }
  }

  .header__sub {
    display: none;
  }
}

/* ---------------

予約ボタンエリア

--------------- */

.reserve-area {
  position: relative;
  z-index: 2;

  &::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-color: var(--theme-color);
    opacity: 0.8;
    z-index: -1;
  }
}

.reserve-area__inner {
  padding: 2rem 1.6rem;
  text-align: center;
}

.ReserveOpenBtn {
  width: fit-content;
  width: 100%;
  margin: 0 auto;
}

.reserve__open--btn {
  position: relative;
  display: block;
  background-color: var(--primary-white);
  border: solid 0.4rem var(--primary-black);
  font-size: 2.4rem;
  font-weight: bold;
  width: 100%;
  max-width: 65rem;
  margin: 0 auto 1.5rem;
  padding: 1.6rem 4rem;
  letter-spacing: 0.2em;

  &::before {
    content: "";
    display: inline-block;
    width: 2.7rem;
    aspect-ratio: 27 / 23;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 2rem;
    background-image: url(../img/calendar_icon.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.dynamic-package--btn {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  max-width: 55rem;
  width: 100%;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  border: solid 0.2rem var(--primary-black);
  background-color: var(--primary-white);
}

.reserve__cancel--btn {
  position: relative;
  display: block;
  max-width: 45rem;
  background-color: var(--primary-black);
  margin: 0 auto;
  padding: 1rem 4rem;
  color: var(--primary-white);
  letter-spacing: 0.1em;
  font-weight: bold;
  margin-bottom: 1.5rem;

  &::after {
    content: "";
    display: inline-block;
    width: 2.4rem;
    aspect-ratio: 52 / 31;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 2rem;
    background-image: url(../img/arrow_wh.png);
    background-size: contain;
    background-repeat: no-repeat;
  }
}

@media (any-hover: hover) {
  .reserve__open--btn:hover,
  .dynamic-package--btn:hover {
    background-color: var(--theme-color);
  }

  .reserve__cancel--btn:hover {
    opacity: 0.6;
  }
}

@media screen and (max-width: 900px) {
  .reserve-area {
    &::before {
      opacity: 1;
    }
  }
}
/* ---------------

footer

--------------- */

footer .reserve-area {
  &::before {
    background-color: var(--theme-color);
    opacity: 1;
  }
}

.footer-customer {
  padding: 4rem 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 4rem;
}

.footer-customer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
}

.footer-customer__content {
}

.footer-customer__content--name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.footer-customer__content--tel {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2.4rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--font-family-en);

  &::before {
    content: "";
    display: inline-block;
    width: 2.1rem;
    aspect-ratio: 1 / 1;
    background-image: url(../img/tel_icon.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.footer-customer__content--tel span {
  text-decoration: underline;
}

.footer-customer__content__list {
  display: flex;
  flex-wrap: wrap;
  max-width: 30rem;
  column-gap: 3rem;
}

.footer-customer__content__list > li a {
  text-decoration: underline;
  font-size: 1.2rem;
}

.footer-customer__reviews--btn {
  width: 29rem;
}

.footer-customer__banner__list {
  width: 29rem;
}

.footer-customer__banner__list > li {
  margin-bottom: 1rem;
}

.footer-customer__banner__list > li a {
  &.common-btn {
    max-width: 100%;
    letter-spacing: 0.02em;
    text-align: center;

    &.brochure {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    &.brochure::before {
      content: "";
      display: inline-block;
      width: 3rem;
      aspect-ratio: 1 / 1;
      background-image: url("../img/panficon.png");
      background-repeat: no-repeat;
      background-size: contain;
    }
  }
}

.footer-customer__pagetop {
  width: 6rem;
}

.footer-shop {
  border-bottom: solid 1px #e9ecef;
  padding-bottom: 2rem;
}

.footer-shop__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 2fr 2fr;
  gap: 2rem;
}

.footer-company__logo {
  text-align: center;
}

.footer-brand__logo {
  margin-bottom: 2rem;
}

.footer-brand__list {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.footer-brand__list > li {
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 1.2rem;
}

.footer-copy__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.footer-copy__inner a {
  text-decoration: underline;
}

@media (any-hover: hover) {
  .footer-customer__content--tel:hover span {
    text-decoration: none;
  }

  .footer-brand__list > li a:hover {
    text-decoration: underline;
  }

  .footer-copy__inner a:hover {
    text-decoration: none;
  }
}

@media screen and (max-width: 900px) {
  .footer-shop__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-company__logo {
    grid-column: span 2 / span 2;
  }
}

@media screen and (max-width: 600px) {
  .footer-shop__inner {
    display: block;
    text-align: center;
  }

  .footer-copy__inner {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ----- サイト閲覧時表示するモーダルバナー ----- */
#modal-banner {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}

#modal-banner.is-show {
  display: block;
}

#modal-banner.is-show::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary-black);
  opacity: 0.72;
  z-index: -1;
}

.modal-banner__wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 50rem;
  max-height: 50rem;
  width: calc(100% - 6rem);
  text-align: center;
}

#modal-banner__close {
  cursor: pointer;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  transform: translate(50%, -50%);
  width: 6.5rem;
  height: 6.5rem;
  background-color: var(--primary-red);
  border-radius: 50%;
  border: transparent;
}

#modal-banner__close::before,
#modal-banner__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  width: 2rem;
  height: 0.2rem;
  background-color: var(--primary-white);
}

#modal-banner__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#modal-banner__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 600px) {
  #modal-banner__close {
    width: 5.5rem;
    height: 5.5rem;
  }
}

/* ----- サイト閲覧時表示するモーダルバナー ----- */

/* ----- 追従広告 ----- */

#ad-banner {
  display: none;
}

#ad-banner.is-show {
  display: block;
}

.ad-banner__wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 35rem;
  width: calc(100% - 6rem);
  padding: 2.5rem;
  border: solid 0.2rem var(--primary-black);
  background-color: var(--primary-white);
  border-radius: 1.5rem;
  z-index: 9998;
  text-align: center;
}

.ad-banner__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  display: inline;
  background: linear-gradient(transparent 70%, #e0e0e0 20%);
  letter-spacing: 0.05em;
}

.ad-banner__title span {
  display: block;
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #d53636;
}

.ad-banner__discription {
  position: relative;
  width: fit-content;
  margin: 1rem auto;
  padding: 0 1rem;
  line-height: 1.4;
  font-size: 1.2rem;
}

.ad-banner__discription span {
  display: block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1.4rem;
}

.ad-banner__discription::before,
.ad-banner__discription::after {
  content: "";
  position: absolute;
  bottom: 1rem;
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: #d53636;
}

.ad-banner__discription::before {
  transform: translateY(50%) rotate(45deg);
  left: -1rem;
}

.ad-banner__discription::after {
  transform: translateY(50%) rotate(-45deg);
  right: -1rem;
}

.ad-banner__btn_list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ad-banner__btn_list li {
  text-align: center;
  width: 100%;
}

.ad-banner__btn_list li a {
  position: relative;
  display: block;
  padding: 1rem 2.5rem 1rem 0.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  font-size: 1.4rem;
  box-sizing: border-box;
  background-color: var(--primary-red);
  border: solid 0.2rem var(--primary-red);
  color: var(--primary-white);

  &::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-image: url(../img/arrow_wh.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
}

#ad-banner__close {
  cursor: pointer;
  position: absolute;
  top: 0.5rem;
  right: 0;
  transform: translate(15%, -50%);
  width: 5.5rem;
  height: 5.5rem;
  background-color: var(--primary-black);
  border-radius: 50%;
  border: transparent;
}

#ad-banner__close::before,
#ad-banner__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  width: 2rem;
  height: 0.2rem;
  background-color: var(--primary-white);
}

#ad-banner__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#ad-banner__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 600px) {
  .ad-banner__wrap {
    right: 50%;
    max-width: 100%;
    transform: translateX(50%);
  }
}

@media (any-hover: hover) {
  .ad-banner__btn_list li a:hover {
    opacity: 0.4;
  }
}

/* ----- 追従広告ここまで ----- */
