@charset "UTF-8";

/*----------------------------------------フォント----------------------------------------*/
body {
  /******ゴシック******/
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN W3",
    "Arial", "Yu Gothic", "Meiryo", sans-serif;
  /* font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif; */
  /******明朝体******/
  /* font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN W3", "Yu Mincho", "MS PMincho", serif; */
  /* font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif; */
  color: var(--font-color);
  font-size: var(--font-size);
}

/*----------------------------------------共通----------------------------------------*/
.container {
  min-height: 100vh;
  position: relative;
  box-sizing: border-box;
}

.inner {
  width: 100%;
  max-width: var(--inner);
  padding: 0 var(--side-padding);
  margin: 0 auto;
}

section {
  padding: var(--section-margin) var(--side-padding);
}

/*----------------------------------------header----------------------------------------*/
header {}

/*----------------------------------------共通----------------------------------------*/


/*----------------------------------------ポップアップ----------------------------------------*/
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: white;
  /* padding: 1em; */
  /* border-radius: 3px; */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  /* font-size: 24px; */
  /* font-weight: bold; */
  /* color: #333; */
  transform: scale(0.8);
  transition: transform 0.2s ease;
  position: relative;
}

.popup-overlay.show .popup-content {
  transform: scale(1);
}

.popup-content img {
  width: 90vw;
  height: 90vh;
  object-fit: cover;
}

.popup-close {
  position: absolute;
  top: 0.05em;
  right: 0.05em;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.popup-close:hover {
  color: #333;
  transform: translateY(0px);
}

.popup-image {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

button {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.5em 3em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

button:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(-2px);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*----------------------------------------footer----------------------------------------*/
footer {
  bottom: 1em;
  right: 1em;
  padding: 0.5em;
  z-index: 1;
}

#nazo01 footer {}

#nazo02 footer {
  background: rgba(255, 255, 255, 0.75);
}

#nazo03 footer {}

#nazo04 footer {
  color: #fff;
}

#nazo05 footer {}

#nazo06 footer {}

#nazo07 footer {}

#nazo08 footer {}

footer .column {}

footer .column .flex {
  gap: 0.5em;
}

footer .column .flex a {}

footer .column .flex a.text {
  font-size: 0.785em;
  font-weight: bold;
  color: #fff;
  background: #888;
  padding: 0.25em 0.5em;
  transition: all 0.2s ease;
}

footer .column .flex a.text:hover {
  background: #000;
}

footer .column .flex a svg {
  width: 2.5em;
  transition: all 0.2s ease;
}

footer .column .flex a.return svg {
  fill: #888;
}

footer .column .flex a.mail svg {
  fill: none;
  stroke: #888;
}

footer .column .flex a.return:hover svg {
  fill: #000;
}

footer .column .flex a.mail:hover svg {
  stroke: #000;
}

footer .column .flex a svg path {}

footer .column .copy {
  font-size: 0.785em;
}


@media (max-width: 768px) {
  footer .column .flex a svg {
    width: 2em;
  }
}
