@charset "utf-8";

/* =========================
*  基本（PC/SP共通）
========================= */
html {
  font-size: 62.5%;
}

body {
  background: #101313;
  color: #ffffff;
  font-family: "yu-mincho-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  /* font-size: 62.5%; */
}

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

/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #101313;
  text-align: center;
  color: #fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width: 100%;
}

/* fadeUpをするアイコンの動き */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 2.0s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#wrap {
  overflow: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  position: fixed;
  z-index: 100;
  width: 100%;
  background: #101313;
  height: 75px;
}

h1 {
  width: 30%;
}

nav ul {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: #c1a586;
}

nav li {
  margin: 0 2rem 0 0;
}

/*
nav li:last-child {
  margin: 0;
}
*/

main {
  padding: 75px 0 0;
}

section {
  padding: 75px 0 0;
}

#hd {
  /* background: url(../img/hd_bg_2.jpg) top center no-repeat; */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
  text-align: center;
  z-index: 1;
  aspect-ratio: 16/9;
  width: 100%;
  height: 100%;
}

#hd .bg_cvr {
  padding: 90px 0;
}

#hd .txt {
  position: relative;
  z-index: 3;
  font-size: 2.4rem;
}

#hd .txt span {
  font-size: 3.6rem;
}

#hd .eyes {
  position: absolute;
  width: 12%;
  top: 5vw;
  right: calc(53% - 14%);
  animation: changeOpacity 8s infinite;
  z-index: 2;
}

#hd .logo {
  position: relative;
  z-index: 4;
  width: 60%;
  margin: 60px auto;
}

#hd .logo img {
  filter: drop-shadow(4px 4px 4px black);
}

.box {
  padding: 45px 0;
  width: 1280px;
  margin: 0 auto;
}

h2 {
  font-size: 4.2rem;
  text-align: center;
  margin: 0 0 0.75em;
}

#about p {
  font-size: 1.6rem;
  text-align: center;
  line-height: 3em;
}

.youtube {
  width: 960px;
  aspect-ratio: 16 / 9;
  margin: 60px auto 0;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

#ticket .items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  /* width: 1280px; */
  margin: 0 auto;
}

#ticket .item {
  width: 32%;
}

.inner {
  font-size: 1.6rem;
  line-height: 2em;
  padding: 1em 0.5em;
}

h3 {
  font-size: 1.8rem;
  color: #c1a586;
  padding: 0.5em 0;
  margin: 0 auto 1em;
  width: 100%;
  border: solid 1px #c1a586;
  text-align: center;
}

a[href="https://www.sado-kinzan.com/mirrorge/reservation/"] {
  text-decoration: underline;
}

.note--1 {
  margin: 1em 0 0;
  font-size: 1.2rem;
  line-height: 2em;
}

/*===============
 * 冬季休館対応 *
===============*/
.note--1 .closed {
  display: inline-block;
  font-size: 1.4rem;
  border: 1px solid;
  padding: 0.5em 1em;
  margin: 0.5em 0 0;
}

.guide {
  font-size: 1.6rem;
  margin: 2em 0 0;
}

h4 {
  font-size: 1.8rem;
}

.note--2 {
  margin: 1em 0 0;
  font-size: 1.4rem;
  line-height: 2em;
}

.gmap {
  position: relative;
  width: 100%;
  height: 24vw;
  min-height: 300px;
  /*
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  */
}

.gmap iframe {
  width: 100%;
  height: 100%;
}

.access_detail {
  display: block;
  margin: 30px auto 0;
  width: 320px;
  font-size: 1.6rem;
  padding: 0.5em 0;
  text-align: center;
  border: solid 1px white;
  transition: all 0.5s ease;
  color: white;
}

.contact_detail {
  width: 560px;
  margin: 0 auto;
  border: solid 1px white;
  padding: 2em;
  font-size: 1.8rem;
  line-height: 2em;
}

.contact_detail p:first-child {
  text-align: center;
  font-size: 2.1rem;
}

.contact_detail ul {
  display: flex;
}

.contact_detail li:first-child {
  margin: 0 1em 0 0;
}

footer {
  width: 960px;
  margin: 0 auto;
  padding: 120px 0 60px;
}

footer ul {
  display: flex;
  justify-content: center;
}

footer li {
  margin: 0 60px 0 0;
}

footer li:last-child {
  margin: 0;
}

footer img {
  height: 45px;
}

footer .copy {
  text-align: center;
  font-size: 1.4rem;
  padding: 60px 0 0;
}

@keyframes changeOpacity {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none !important;
  }
}

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

  header {
    display: block;
    padding: 1rem;
    height: auto;
  }

  h1 {
    width: 75%;
    margin: 0 auto;
    text-align: center;
  }

  h1 img {
    max-height: 34px;
  }

  nav {
    margin: 1rem 0 0;
  }

  nav ul {
    align-items: center;
    font-size: 1.0rem;
    justify-content: center;
  }

  nav li {
    margin: 0;
    width: 25%;
    text-align: center;
  }

  #hd {
    padding: 90px 0;
    aspect-ratio: 1;
  }

  #hd .bg_cvr {
    padding: 0;
  }

  #hd .txt {
    font-size: 1.8rem;
  }

  #hd .txt span {
    font-size: 2.4rem;
  }

  #hd .logo {
    width: 75%;
    margin: 30px auto;
  }

  .box {
    width: auto;
    padding: 30px 1.5rem;
  }

  h2 {
    font-size: 3.6rem;
  }

  #about p {
    font-size: 1.4rem;
  }

  .youtube {
    width: auto;
    margin: 30px auto 0;
  }

  #ticket .items {
    display: block;
  }

  #ticket .item {
    width: auto;
  }

  /*===============
  * 冬季休館対応 *
  ===============*/
  .note--1 .closed {
    padding: 0.5em;
  }

  .contact_detail {
    width: auto;
    padding: 1em;
    font-size: 1.4rem;
  }

  .contact_detail p:first-child {
    font-size: 1.8rem;
  }

  footer {
    width: auto;
    padding: 60px 0 30px;
  }

  footer li {
    text-align: center;
    width: 30%;
    margin: 0 1.5rem;
  }

  footer li:last-child {
    margin: 0 1.5rem;
  }

  footer .copy {
    font-size: 1.0rem;
    padding: 30px 0 0;
  }

}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 100;
}

.modal-content {
  background-color: #ffffff;
  color: #1f2937;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  max-width: 64rem;
  width: 100%;
}

@media (min-width: 768px) {
  .modal-content {
    padding: 3rem;
  }
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .modal-title {
    font-size: 2.4rem;
  }
}

.modal-body {
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .modal-body {
    font-size: 1.6rem;
  }
}

.modal-body p:not(:first-child) {
  margin-top: 1rem;
}

.notice-box {
  background-color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.375rem;
  margin: 1.25rem 0;
  font-size: 1.6rem;
}

@media (min-width: 768px) {
  .notice-box {
    font-size: 1.8rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
  }
}

.notice-box .heading {
  font-weight: 700;
  text-align: center;
}

.notice-box .date {
  text-align: center;
  font-weight: 700;
  margin-top: 0.25rem;
}

.modal-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.close-btn {
  background-color: #c1a586;
  color: #ffffff;
  font-weight: 700;
  padding: 0.5rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 300ms ease-in-out;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .close-btn {
    font-size: 1.4rem;
  }
}

.close-btn:hover {
  background-color: #155e75;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.5s ease-out forwards;
}