@charset "UTF-8";

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

body {
  background-color: #2d242a;
  background-image: url("img/body-sp.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  background-attachment: fixed;
  line-height: 2;
  overflow-x: hidden;
  color: #fff;
}

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

.wrapper {
  margin: 0 15px;
}

.sponly {
  display: block;
}

.pconly {
  display: none;
}

.logo {
  width: 100%;
  border-style: outset;
  border-color: #b5b5b5;
  border-width: 5px;
  margin: 10px auto;
  display: block;
}

.logo:hover {
  transform: translateY(3px);
}


h2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 23px;
  text-align: center;
}

h3 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  text-align: center;
}

a {
  text-decoration: none;
}

p,
h4 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}

img {
  max-width: 100%;
}

/*トップメニュー*/
.top {
  display: flex;
  flex-direction: column;
}

* {
  box-sizing: border-box;
}

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


/* ========================================
   ヒーロー
======================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}


/* ========================================
   背景画像
======================================== */

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomLoop 15s ease-in-out infinite alternate;
}

@keyframes zoomLoop {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}


/* ========================================
   暗幕
======================================== */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.12) 35%,
      rgba(0, 0, 0, 0.28) 100%);
}


/* ========================================
   ヘッダー
======================================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 5;
}


/* タイトル */

.site-header h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 10vw, 4rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5);
}


/* ========================================
   English
======================================== */

.english-link {
  margin-top: 3px;
  color: #a9f6ff;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s ease;
}

.english-link:hover {
  opacity: 0.65;
}

.lang-select {
  position: absolute;
  top: 15px;
  right: 20px;
  text-decoration: underline;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
}

.lang-select a {
  text-decoration: none;
  color: #ffffff;
}

.lang-select a:hover {
  opacity: 0.65;
}

/* ========================================
   メニュー
======================================== */

.main-menu {
  position: absolute;
  z-index: 5;
  left: 20px;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* ========================================
   ボタン共通
======================================== */

.menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 12px 20px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.menu-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.menu-button:active {
  transform: translateY(0);
}


/* ========================================
   ボタンカラー
======================================== */

.area-button {
  background: rgba(111, 59, 118, 0.92);
}

.museum-button {
  background: rgba(105, 79, 51, 0.92);
}

.project-button {
  background: rgba(0, 88, 166, 0.92);
}

.contact-button {
  background: rgba(76, 60, 46, 0.98);
}


/* ========================================
   メニューボタン
======================================== */

.detail-menu-button {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(143, 122, 154, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 10002;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2);
  transition:
    background 0.3s ease;
}


/* 三本線 */

.detail-menu-button span {
  display: block;
  width: 21px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;

}


/* ========================================
   ☰ → ×
======================================== */

.detail-menu-button.active span:nth-child(1) {
  transform:
    translateY(7px) rotate(45deg);
}

.detail-menu-button.active span:nth-child(2) {
  opacity: 0;
}

.detail-menu-button.active span:nth-child(3) {
  transform:
    translateY(-7px) rotate(-45deg);

}


/* ========================================
   背景
======================================== */

.detail-menu-overlay {
  position: fixed;
  inset: 0;
  background:
    rgba(20, 12, 25, 0.55);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;

}


.detail-menu-overlay.open {

  opacity: 1;
  visibility: visible;

}


/* ========================================
   メニューパネル
======================================== */

.detail-menu-panel {
  position: fixed;
  top: 78px;
  left: 15px;
  right: 15px;
  padding: 12px;
  background:
    rgba(52, 39, 57, 0.97);
  border:
    1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform:
    translateY(-15px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;

}


.detail-menu-panel.open {
  opacity: 1;
  visibility: visible;
  transform:
    translateY(0);

}


/* ========================================
   メニューリンク
======================================== */

.detail-menu-panel a {
  display: block;
  padding: 15px 12px;
  margin-bottom: 6px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family:
    "Zen Kaku Gothic New",
    sans-serif;
  font-size: 15px;
  background:
    rgba(255, 255, 255, 0.08);
  transition:
    background 0.2s ease,
    transform 0.2s ease;

}


.detail-menu-panel a:last-child {
  margin-bottom: 0;
}


.detail-menu-panel a:hover {
  background:
    rgba(255, 255, 255, 0.16);
}


.detail-menu-panel a.current {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==================================================
   ページイントロ
================================================== */

.page-intro {
  width: calc(100% - 30px);
  max-width: 1000px;
  margin: 80px auto;
  text-align: center;
}

.page-intro h1 {
  margin: 0 0 35px;
  font-size: 38px;
  font-weight: 700;
}

.page-intro p {
  margin: 12px 0;
  font-size: 18px;
}

.page-intro .intro-lead {
  margin-top: 30px;
  font-size: 21px;
  font-weight: 500;
}

.intro-main {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.8;
}

.intro-sub {
  margin: 30px 0 0;
  font-size: 17px;
}



/* ==================================================
   地域ストーリー
   Mobile First
================================================== */

.region-story {
  width: calc(100% - 30px);
  max-width: 1100px;
  margin: 0 auto 90px;
  overflow: hidden;
  border-radius: 28px;
  background: #906da8;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.20);
  overflow: hidden;
}


/* スマホでは画像 → 文章 */

.story-image {
  width: 100%;
}

.story-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


/* 文章 */

.story-text {
  padding: 35px 25px 40px;
}

.story-number {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 28px;
}

.story-text h2 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.4;
}

.story-lead {
  margin: 0 0 25px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

.story-text p {
  font-size: 16px;
}

.highlight {
  margin-top: 30px;
  padding: 20px;
  border-left: 5px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.10);
  font-size: 18px;
  font-weight: 700;
}


/* ==================================================
   砂丘の連想
================================================== */

.association {
  margin: 25px 0;
  text-align: center;
  font-size: 23px !important;
  font-weight: 700;
  line-height: 1.5;
}


/* ==================================================
   まとめ
================================================== */

.reborn-section {
  width: calc(100% - 30px);
  max-width: 1100px;
  margin: 110px auto 0;
  text-align: center;
}

.reborn-small {
  margin-bottom: 35px;
  font-size: 19px;
  font-weight: 500;
}


/* スマホでは縦並び */

.connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 50px;
}

.connection-item {
  width: 100%;
  max-width: 300px;
  padding: 18px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
}

.connection-item span {
  display: block;
  font-size: 16px;
}

.connection-item strong {
  display: block;
  margin-top: 5px;
  font-size: 23px;
}

.connection-line {
  font-size: 24px;
  opacity: 0.7;
}


/* ==================================================
   Reborn メッセージ
================================================== */

.reborn-question {
  margin: 60px 0 25px;
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 35px;
  font-style: italic;
}

.reborn-message {
  margin: 0 auto 60px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}


/* ==================================================
   博物館への導線
================================================== */

.museum-teaser {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #735238;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.25);
}

.museum-teaser img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.72;
}


/* スマホでは画像の下に文章 */

.museum-teaser-text {
  padding: 30px 20px 40px;
}

.museum-teaser-text p {
  margin: 0 0 10px;
  font-size: 17px;
}

.museum-teaser-text h2 {
  margin: 0 0 25px;
  font-size: 27px;
}

.museum-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  background: #fff;
  color: #735238;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.museum-link:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}






/* ==================================================
   Museum Concept
================================================== */

.museum-concept {
  width: calc(100% - 30px);
  max-width: 1100px;
  margin: 0 auto 110px;
  overflow: hidden;
  border-radius: 30px;
  background: #735238;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.20);
}

.concept-image img {
  display: block;
  width: 100%;
  height: auto;
}

.concept-text {
  padding: 30px 25px 40px;
}

.concept-label {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.concept-text h2 {
  margin: 0 0 25px;
  font-size: 30px;
  text-align: left;
}

.concept-text p {
  margin: 10px 0;
  font-size: 16px;
}


/* ==================================================
   Museum Zone
================================================== */

.museum-zone {
  width: calc(100% - 30px);
  max-width: 1100px;
  margin: 0 auto 110px;
}


/* ==================================================
   Zone Heading
================================================== */

.zone-heading {
  margin-bottom: 35px;
  text-align: center;
}

.zone-number {
  display: block;
  margin-bottom: 5px;
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-style: italic;
  opacity: 0.6;
}

.zone-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
}

.zone-heading p {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-style: italic;
  opacity: 0.75;
}


/* ==================================================
   Gallery
   モバイル：2列
================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}


/* ==================================================
   Gallery Item
================================================== */

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition:
    background 0.25s ease;
}

.gallery-item:hover::after {
  background: rgba(255, 255, 255, 0.15);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}


/* ==================================================
   Museum Ending
================================================== */

.museum-ending {
  width: calc(100% - 30px);
  max-width: 900px;
  margin: 140px auto 0;
  padding: 70px 20px;
  text-align: center;
  border-top:
    1px solid rgba(255, 255, 255, 0.2);
}

.museum-ending p {
  margin: 0;
  font-size: 18px;
}

.museum-ending h2 {
  margin: 20px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 55px;
  font-style: italic;
}

.museum-ending .ending-message {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}


/* ==================================================
   Image Modal
================================================== */

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 15px 30px;
  background:
    rgba(20, 15, 25, 0.94);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.image-modal.is-open {
  opacity: 1;
  visibility: visible;
}


/* ==================================================
   Modal Content
================================================== */

.modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-content img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.5);
}

.modal-info {
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  opacity: 0.8;
}


/* ==================================================
   Modal Buttons
================================================== */

.modal-close,
.modal-prev,
.modal-next {
  position: absolute;
  z-index: 2;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
}


/* 閉じる */

.modal-close {
  top: 10px;
  right: 15px;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}


/* 前へ */

.modal-prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 55px;
  line-height: 1;
}


/* 次へ */

.modal-next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 55px;
  line-height: 1;
}

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover {
  opacity: 0.65;
}

/* ==================================================
   Related Project Link
================================================== */

.related-project-link {
  width: calc(100% - 30px);
  max-width: 900px;
  margin: 20px auto 0px;
  padding: 55px 25px 60px;
  text-align: center;
  background: #0058A6;
  border-radius: 30px;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.18);
}


/* ラベル */

.related-project-label {
  margin: 0 0 15px;
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.12em;
  opacity: 0.8;
}


/* 見出し */

.related-project-link h2 {
  margin: 0 0 25px;
  font-size: 28px;
  line-height: 1.5;
}


/* 説明 */

.related-project-text {
  margin: 0 0 35px;
  font-size: 16px;
  line-height: 1.9;
}


/* ボタン */

.related-project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 240px;
  padding: 15px 24px;
  border: 2px solid #fff;
  border-radius: 50px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}


/* 矢印 */

.related-project-button span {
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 25px;
  line-height: 1;
  transition:
    transform 0.25s ease;
}


/* hover */

.related-project-button:hover {
  background: #fff;
  color: #0058A6;
  transform: translateY(-3px);
}

.related-project-button:hover span {
  transform: translateX(5px);
}




/* =========================
   作成者について
========================= */
.creator-info {
  text-align: center;
  padding: 30px 20px;
  color: #ffffff;
  /* 明るい水色 */
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  /* 背景に映える */
}

.creator-info a {
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
}

.creator-info a:hover {
  color: #b7b7b7;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.creator-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.creator-name-large {
  font-size: 3rem;
  font-weight: bold;
}

.creator-profile {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 12px;
}


.creator-contact {
  margin-bottom: 8px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 100px;
  padding: 12px 30px;
  background: #87b7dc;
  color: white;
  text-decoration: none;
  border-radius: 30px;
}

.btn:hover {
  transform: scale(1.1);
}

.btn2 {
  display: inline-block;
  background-color: #3e7bff;
  color: #fff;
  border-radius: 8px;
  padding: .75rem .8rem;
  margin: 0 .2;
}

.btn2:hover {
  opacity: 0.7;
}

/*タブ*/
.btn-yoko {
  display: block;
  list-style: none;
  padding: 0;
  margin: auto;
}

.btn-yoko li {
  border-bottom: 1.5px solid #111;
  padding: 5px 10px;
}

.btn-yoko li:hover {
  transform: translateY(2px);
  box-shadow: none;
}

.btn-box {
  display: block;
  list-style: none;
  padding: 0px;
}

.btn-box-inside {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.btn-yajirusi {
  width: 32px;
  margin-top: 11px;
  color: #000;
}

.btn-img {
  height: 60px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
}

.btn-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.btn-p {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin: 0;
}

.top {
  text-align: center;
}

.downl {
  display: inline-block;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 3px;
  text-align: center;
  margin: 50px auto;
  transition: transform .6s ease;
  /* ゆっくり変化させる */
}

.downl p {
  color: #000000;
  font-size: 16px;
}

.downl:hover {
  transform: scale(1.1);
}

/* =========================
   モーダル全体
========================= */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  visibility: hidden;
  opacity: 0;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}


/* 開いた状態 */

.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
}


/* =========================
   背景
========================= */

.contact-modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(76, 60, 46, 0.443);

  backdrop-filter: blur(4px);
}


/* =========================
   モーダル本体
========================= */

.contact-modal-content {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 50px 25px 35px;
  background: #4C3C2E;
  color: #fff;
  border-radius: 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(25px) scale(0.97);
  transition:
    transform 0.3s ease;
}


/* 開いたとき */

.contact-modal.is-open .contact-modal-content {
  transform: translateY(0) scale(1);
}


/* =========================
   閉じるボタン
========================= */

.contact-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-modal-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(90deg);
}


/* =========================
   タイトル
========================= */

.contact-modal-content h2 {
  margin: 0 0 30px;

  text-align: center;

  font-family:
    "Zen Kaku Gothic New",
    sans-serif;

  font-size: 28px;
  font-weight: 700;
}


/* =========================
   スクロールバー
========================= */

.contact-modal-content::-webkit-scrollbar {
  width: 8px;
}

.contact-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.contact-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}

/* ==================================================
   関連プロジェクト
   Mobile First
================================================== */


/* =========================================
   Intro
========================================= */

.project-intro {
  width: calc(100% - 30px);
  max-width: 950px;
  margin: 0 auto;
  padding: 70px 0 90px;
  text-align: center;
}

.project-label {
  margin: 0 0 18px;
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 17px;
  font-style: italic;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.project-intro h1 {
  margin: 0 0 35px;
  font-size: 40px;
  line-height: 1.5;
  font-weight: 700;
}

.project-lead {
  margin: 0;
  font-size: 18px;
  line-height: 2;
}


/* =========================================
   Ancient San-in
========================================= */

.ancient-san-in {
  width: calc(100% - 30px);
  max-width: 1050px;
  margin: 0 auto 120px;
}


/* -----------------------------------------
   Text
----------------------------------------- */

.project-text {
  margin-bottom: 45px;
}

.project-text h2 {
  margin: 0 0 30px;
  font-size: 29px;
  line-height: 1.6;
}

.project-text p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 2;
}


/* -----------------------------------------
   Images
----------------------------------------- */

.project-images {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-image {
  overflow: hidden;
  border-radius: 15px;
}

.project-image img {
  display: block;
  width: 100%;
  height: auto;
  transition:
    transform 0.35s ease;
}

.project-image:hover img {
  transform: scale(1.03);
}


/* =========================================
   History District
========================================= */

.history-district {
  width: calc(100% - 30px);
  max-width: 1050px;
  margin: 0 auto 120px;
  padding: 55px 20px 60px;
  background: #0058A6;
  border-radius: 30px;
  text-align: center;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.18);
}


/* -----------------------------------------
   Label
----------------------------------------- */

.district-label {
  margin: 0 0 20px;
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.1em;
  opacity: 0.8;
}


/* -----------------------------------------
   Heading
----------------------------------------- */

.history-district h2 {
  margin: 0 0 30px;
  font-size: 29px;
  line-height: 1.6;
}


/* -----------------------------------------
   Text
----------------------------------------- */

.district-text {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 2;
}


/* -----------------------------------------
   Main Image
----------------------------------------- */

.district-image {
  width: 100%;
  margin: 0 auto 45px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.district-image img {
  display: block;
  width: 100%;
  height: auto;
}


/* -----------------------------------------
   Message
----------------------------------------- */

.district-message {
  margin: 0 auto;
  padding-top: 10px;
}

.district-message p {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}

.district-message span {
  font-size: 16px;
  opacity: 0.9;
}


/* =========================================
   More Link
========================================= */

.project-more {
  width: calc(100% - 30px);
  max-width: 800px;
  margin: 0 auto 120px;
  padding: 60px 20px;
  text-align: center;
  border-top:
    1px solid rgba(255, 255, 255, 0.25);
  border-bottom:
    1px solid rgba(255, 255, 255, 0.25);
}


/* -----------------------------------------
   Label
----------------------------------------- */

.project-more-label {
  margin: 0 0 18px;
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.1em;
  opacity: 0.7;
}


/* -----------------------------------------
   Heading
----------------------------------------- */

.project-more h2 {
  margin: 0 0 25px;
  font-size: 29px;
  line-height: 1.6;
}


/* -----------------------------------------
   Text
----------------------------------------- */

.project-more p {
  margin: 0 0 35px;
  font-size: 16px;
  line-height: 1.9;
}


/* -----------------------------------------
   Button
----------------------------------------- */

.project-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 250px;
  padding: 15px 25px;
  border:
    2px solid #fff;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.project-more-button span {
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 25px;
  line-height: 1;
  transition:
    transform 0.25s ease;
}

.project-more-button:hover {
  background: #fff;
  color: #0058A6;
  transform: translateY(-3px);
}

.project-more-button:hover span {
  transform: translateX(5px);
}

/* ==================================================
   山陰Reborn_ Epilogue
================================================== */

.reborn-epilogue {
  width: calc(100% - 30px);
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 15px 120px;
  text-align: center;
  border-top:
    1px solid rgba(255, 255, 255, 0.22);
}


/* -----------------------------------------
   最初のメッセージ
----------------------------------------- */

.reborn-epilogue-lead {
  margin: 0 0 30px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
}


/* -----------------------------------------
   山陰Reborn_
----------------------------------------- */

.reborn-epilogue h2 {
  margin: 0 0 30px;
  font-family:
    "Cormorant Garamond",
    serif;
  font-size: 45px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}


/* -----------------------------------------
   最後のメッセージ
----------------------------------------- */

.reborn-epilogue-message {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.75;
}




footer {
  background-color: #fff;
  padding: 0 20px;
  font-size: small;
}

footer {
  padding: 0 20px;
  font-family: "Kiwi Maru", serif;
  font-weight: 300;
  font-style: normal;
  color: #000;
}

/* -----------------------------------------
   English Hero
----------------------------------------- */

.english-hero {
  width: calc(100% - 30px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 0 60px;
  text-align: center;
}

.english-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
}

.english-hero p {
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 1.8;
}


/* -----------------------------------------
   English Section
----------------------------------------- */

.english-section {
  width: calc(100% - 30px);
  max-width: 1000px;
  margin: 0 auto 70px;
}

.english-section-title {
  margin: 0 0 30px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.3;
}

.english-section-lead {
  max-width: 750px;
  margin: 0 auto 35px;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
}


/* -----------------------------------------
   Idea Card
----------------------------------------- */

.idea-card {
  margin-bottom: 20px;
  padding: 25px 20px;
  background: rgba(255, 255, 255, 0.08);
  border:
    1px solid rgba(255, 255, 255, 0.16);

  border-radius: 18px;
}

.idea-card h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.35;
}

.idea-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}


/* -----------------------------------------
   Big Message
----------------------------------------- */

.big-message {
  width: calc(100% - 30px);
  max-width: 850px;
  margin: 80px auto;
  text-align: center;
}

.big-message p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
}


/* -----------------------------------------
   Museum Zone
----------------------------------------- */

.museum-zone {
  margin-bottom: 35px;
  padding: 25px 20px;
  background: rgba(255, 255, 255, 0.06);
  border:
    1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
}

.museum-zone h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.3;
}

.museum-zone p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
}


/* -----------------------------------------
   Museum Gallery
----------------------------------------- */

.museum-gallery {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.museum-gallery-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.museum-gallery-image:hover {
  opacity: 0.8;
}

/* -----------------------------------------
   Project Link
----------------------------------------- */

.idea-link {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 14px 25px;
  background: #0058A6;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.idea-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}


/* -----------------------------------------
   Reborn Epilogue
----------------------------------------- */

.reborn-epilogue {
  width: calc(100% - 30px);
  max-width: 900px;

  margin: 100px auto 0;
  padding: 80px 15px 120px;

  text-align: center;

  border-top:
    1px solid rgba(255, 255, 255, 0.2);
}

.reborn-epilogue-lead {
  margin: 0 0 25px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
}

.reborn-epilogue h2 {
  margin: 0 0 25px;
  font-family: "Cormorant Garamond", serif;
  font-size: 46px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
}

.reborn-epilogue-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.75;
}



/* ========================================
   タブレット以上
======================================== */

@media (min-width: 600px) {

  .main-menu {
    left: 5%;
    right: 5%;
    bottom: 40px;

    display: grid;

    grid-template-columns:
      repeat(2, minmax(180px, 1fr));

    gap: 15px;
  }

}

/* ========================================
   PC
======================================== */

@media (min-width: 821px) {
  body {
    background-image: url("img/body-pc.png");
  }

  .site-header {
    padding: 22px 5%;
  }

  .site-header h1 {
    font-size: clamp(3rem, 4vw, 4.5rem);
  }

  .english-link,
  .lang-select {
    font-size: 1.25rem;
  }

  /* ----------------------------------------
     ボタンをCanva案のように配置
  ---------------------------------------- */

  .main-menu {
    left: 4%;
    right: 4%;
    bottom: 5%;
    display: block;
  }

  .menu-button {
    position: absolute;
    width: auto;
    min-height: 0;
    padding: 15px 25px;
    border-radius: 17px;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    white-space: nowrap;
  }

  /* 左下 */
  .area-button {
    left: 0;
    bottom: 90px;
  }


  /* 中央下 */
  .museum-button {
    left: 27%;
    bottom: 50px;
  }

  /* 右寄り */
  .project-button {
    right: 27%;
    bottom: 10px;
  }

  /* 右下 */
  .contact-button {
    right: 0;
    bottom: -30px;
  }

  .sponly {
    display: none;
  }

  .pconly {
    display: inline;
  }

  .wrapper {
    margin: 0 50px;
  }


  .logo {
    width: 500px;
  }

  .detail-menu-button {
    position: absolute;
    top: 30px;
    right: 35px;
    left: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .detail-menu-panel {
    top: 120px;
    right: 35px;
    left: auto;
    width: 290px;
  }


  .detail-menu-panel.open {
    transform:
      translateY(0);
  }

  /* =========================
     Intro
  ========================== */

  .page-intro {
    margin-bottom: 110px;
  }

  .page-intro h1 {
    font-size: 50px;
  }

  .page-intro p {
    font-size: 20px;
  }

  .intro-main {
    font-size: 30px;
  }

  .intro-sub {
    font-size: 19px;
  }


  /* =========================
     Stories
  ========================== */

  .region-story {
    display: grid;
    grid-template-columns:
      1fr 1fr;
    min-height: 500px;
    border-radius: 35px;
  }


  .story-image {
    height: 100%;
  }

  .story-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
  }

  /* 2つ目だけ左右反転 */

  .story-02 .story-image {
    order: 2;
  }

  .story-02 .story-text {
    order: 1;
  }


  .story-text h2 {
    font-size: 38px;
  }

  .story-lead {
    font-size: 26px;
  }

  .story-text p {
    font-size: 17px;
  }


  /* =========================
     Connection
  ========================== */

  .connection {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .connection-item {
    width: 280px;
  }

  .connection-line {
    font-size: 30px;
  }


  /* =========================
     Reborn Message
  ========================== */

  .reborn-message {
    font-size: 30px;
  }


  /* =========================
     Museum Teaser
  ========================== */

  .museum-teaser-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background:
      linear-gradient(rgba(70, 45, 35, 0.25),
        rgba(70, 45, 35, 0.55));
  }

  .museum-teaser-text p {
    font-size: 20px;
  }

  .museum-teaser-text h2 {
    font-size: 40px;
  }

  /* ------------------------------
     Concept
  ------------------------------ */

  .museum-concept {
    display: grid;

    grid-template-columns:
      1.4fr 1fr;

    align-items: stretch;
  }

  .concept-image {
    height: 100%;
  }

  .concept-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .concept-text {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 55px;
  }

  .concept-text h2 {
    font-size: 38px;
  }

  .concept-text p {
    font-size: 17px;
  }


  /* ------------------------------
     Zone
  ------------------------------ */

  .museum-zone {
    margin-bottom: 140px;
  }

  .zone-heading {
    margin-bottom: 50px;
  }

  .zone-heading h2 {
    font-size: 40px;
  }


  /* ------------------------------
     Gallery
     PC：3列
  ------------------------------ */

  .gallery {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 15px;
  }


  /* ------------------------------
     Modal
  ------------------------------ */

  .modal-prev {
    left: 30px;
    font-size: 70px;
  }

  .modal-next {
    right: 30px;
    font-size: 70px;
  }

  .modal-close {
    top: 20px;
    right: 30px;
    font-size: 50px;
  }

  .related-project-link {
    margin-top: 40px;
    margin-bottom: 160px;
    padding: 75px 40px 80px;
    border-radius: 35px;
  }

  .related-project-label {
    font-size: 19px;
  }

  .related-project-link h2 {
    font-size: 40px;
  }

  .related-project-text {
    font-size: 18px;
    margin-bottom: 40px;
  }


  .related-project-button {
    min-width: 280px;
    padding: 17px 30px;
    font-size: 18px;
  }

  /* -----------------------------------------
     Intro
  ----------------------------------------- */

  .project-intro {
    padding-top: 110px;
    padding-bottom: 130px;
  }

  .project-intro h1 {
    font-size: 55px;
  }

  .project-lead {
    font-size: 20px;
  }


  /* -----------------------------------------
     Ancient San-in
  ----------------------------------------- */

  .ancient-san-in {
    margin-bottom: 160px;
  }

  .project-text {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
  }

  .project-text h2 {
    font-size: 40px;
  }

  .project-text p {
    font-size: 18px;
  }


  /* -----------------------------------------
     Images
  ----------------------------------------- */

  .project-images {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
    gap: 15px;
  }


  /* -----------------------------------------
     History District
  ----------------------------------------- */

  .history-district {
    padding: 80px 60px 90px;
    border-radius: 35px;
  }

  .district-label {
    font-size: 18px;
  }

  .history-district h2 {
    font-size: 40px;
  }

  .district-text {
    font-size: 18px;
  }

  .district-message p {
    font-size: 32px;
  }


  /* -----------------------------------------
     More
  ----------------------------------------- */

  .project-more {
    margin-bottom: 170px;
    padding: 90px 30px;
  }

  .project-more h2 {
    font-size: 40px;
  }

  .project-more p {
    font-size: 18px;
  }

  .project-more-button {
    min-width: 290px;
    padding: 17px 30px;
    font-size: 18px;
  }

  .reborn-epilogue {
    padding-top: 130px;
    padding-bottom: 170px;
  }

  .reborn-epilogue-lead {
    margin-bottom: 35px;
    font-size: 30px;
  }

  .reborn-epilogue h2 {
    margin-bottom: 35px;
    font-size: 70px;
  }

  .reborn-epilogue-message {
    font-size: 19px;
  }

  /* ------------------------------
     タブ
  ------------------------------ */

  .btn-yoko {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1rem;
    width: 90%;
    margin: 1rem auto;
  }

  .btn-yoko li {
    list-style: none;
    box-shadow: 0 2px 0 #777777;
    border: #000 1px solid;
  }

  .btn-yoko li:hover {
    transform: translateY(2px);
    box-shadow: none;
  }

  .btn-box {
    display: block;
    list-style: none;
    padding: 0px;
  }

  .btn-box-inside {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .contact-modal-content {
    width: min(700px, 80vw);
  }

  .contact-modal-content h2 {
    font-size: 32px;
  }

  footer {
    padding: 0 50px;
  }

  .english-hero {
    padding: 120px 0 90px;
  }

  .english-hero h1 {
    font-size: 68px;
  }

  .english-hero p {
    font-size: 17px;
  }

  .english-section {
    margin-bottom: 110px;
  }

  .english-section-title {
    font-size: 48px;
  }

  .english-section-lead {
    font-size: 17px;
  }

  .idea-card {
    padding: 35px 40px;
  }

  .idea-card h3 {
    font-size: 34px;
  }

  .idea-card p {
    font-size: 16px;
  }

  .museum-zone {
    padding: 35px;
  }


  .museum-zone h3 {
    font-size: 36px;
  }

  .museum-zone p {
    font-size: 16px;
  }

  .museum-gallery {
    grid-template-columns:
      repeat(3, 1fr);
    gap: 12px;
  }

  .big-message {
    margin: 120px auto;
  }

  .big-message p {
    font-size: 40px;
  }

  .reborn-epilogue {
    margin-top: 130px;
    padding-top: 120px;
    padding-bottom: 170px;
  }

  .reborn-epilogue-lead {
    font-size: 28px;
  }

  .reborn-epilogue h2 {
    font-size: 70px;
  }

  .reborn-epilogue-message {
    font-size: 17px;
  }

}

/* ========================================
   大型PC
======================================== */

@media (min-width: 1200px) {

  .site-header {
    padding-left: 10%;
    padding-right: 3%;
  }

  .main-menu {
    left: 4.5%;
    right: 4.5%;
  }

}