@charset "UTF-8";

:root {
  --footer-purple: rgba(144, 91, 162, 0.79);
  --text-color: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--text-color);
  background: #8c579f;
  font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sp-block,
.sp-note {
  display: none;
}

.teaser {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background-image: url("../images/back_pc.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero {
  position: absolute;
  inset: 0 0 19.15%;
}

.preparing-message {
  position: absolute;
  top: 8.45%;
  left: 50%;
  width: min(92%, 1450px);
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(18px, 1.563vw, 30px);
  line-height: 1.75;
  letter-spacing: 0.055em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.preparing-message p + p {
  margin-top: 0.18em;
}

.temple-logo {
  position: absolute;
  top: 47.15%;
  left: 50%;
  width: clamp(250px, 18.7vw, 359px);
  transform: translateX(-50%);
}

.temple-logo img {
  width: 100%;
}

.temple-description {
  position: absolute;
  top: 73.45%;
  left: 50%;
  width: min(92%, 900px);
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.42);
}

.site-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 19.15%;
  min-height: 175px;
  background: var(--footer-purple);
}

.footer-inner {
  display: grid;
  grid-template-columns: 350px minmax(560px, 650px);
  column-gap: 52px;
  align-items: center;
  justify-content: center;
  width: min(94%, 1100px);
  height: 100%;
  margin: 0 auto;
  font-size: clamp(14px, 1.042vw, 20px);
  line-height: 1.65;
  letter-spacing: 0.025em;
}

.footer-brand {
  text-align: center;
  white-space: nowrap;
}

.instagram-link {
  display: inline-block;
  margin-top: 20px;
  border-radius: 5px;
  transition: opacity 0.2s ease;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  opacity: 0.72;
}

.instagram-link img {
  width: 26px;
  height: 26px;
}

.footer-info {
  margin: 0;
  font-style: normal;
  white-space: nowrap;
}

.footer-info a {
  text-decoration: none;
}

.footer-info a:hover,
.footer-info a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 300px minmax(450px, 560px);
    column-gap: 28px;
  }
}

@media (max-width: 767px) {
  .pc-inline {
    display: none;
  }

  .sp-block,
  .sp-note {
    display: block;
  }

  .teaser {
    min-height: max(100svh, calc(100vw * 820 / 375));
    background-image: url("../images/back_sp.jpg");
    background-position: center top;
    background-size: 100% auto;
    background-color: #8c579f;
  }

  .hero {
    inset: 0 0 auto;
    height: calc(100vw * 580 / 375);
  }

  .preparing-message {
    top: calc(27 / 375 * 100vw);
    width: calc(100% - 32px);
    font-size: clamp(13px, 4.267vw, 16px);
    line-height: 1.55;
    letter-spacing: 0.025em;
    white-space: normal;
  }

  .preparing-message p + p {
    margin-top: 0.28em;
  }

  .temple-logo {
    top: calc(150 / 375 * 100vw);
    width: calc(200 / 375 * 100vw);
    max-width: 220px;
  }

  .temple-description {
    top: calc(386 / 375 * 100vw);
    width: calc(100% - 24px);
    font-size: clamp(12px, 3.733vw, 14px);
    line-height: 1.48;
    letter-spacing: 0.02em;
  }

  .site-footer {
    top: calc(580 / 375 * 100vw);
    right: 0;
    bottom: auto;
    left: 0;
    height: auto;
    min-height: calc(240 / 375 * 100vw);
    padding: calc(21 / 375 * 100vw) 16px calc(20 / 375 * 100vw);
    background: #8c579f;
  }

  .footer-inner {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    font-size: clamp(12px, 3.467vw, 13px);
    line-height: 1.8;
    letter-spacing: 0;
  }

  .footer-brand {
    text-align: left;
    white-space: normal;
  }

  .instagram-link {
    margin-top: calc(10 / 375 * 100vw);
  }

  .instagram-link img {
    width: 16px;
    height: 16px;
  }

  .footer-info {
    margin-top: calc(13 / 375 * 100vw);
    white-space: normal;
  }

  .footer-info p {
    margin: 0;
  }

  .footer-info .sp-note {
    padding-left: 5.2em;
    line-height: 1.45;
  }
}

@media (max-width: 340px) {
  .preparing-message {
    font-size: 12px;
  }

  .footer-inner {
    font-size: 11.5px;
  }
}
