/* ------------------------------
   1) グローバルスタイル (body等)
------------------------------- */
body {
  margin: 0;
  padding: 0;
  color: #1c1c1c;
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  background: url("images/hyousiback.jpg") no-repeat center center fixed;
  background-size: cover;
  /* 背景色を重ねたい場合（透明度付き）を加えるなら:
     background: rgba(216,216,216,0.253) url("images/hyousiback.jpg") no-repeat center center fixed; */
}

/* 全ページ共通のmain */
main {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 150px;
}

/* ------------------------------
   2) ロゴ画面関連 (#logo-screen)
------------------------------- */
#logo-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-container h1 {
  font-family: "futura-pt-bold", sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #333;
}

/* ------------------------------
   3) スクロール矢印関連
------------------------------- */
.scroll-arrow-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.scroll-line {
  width: 1.6px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.726);
  position: relative;
  margin-bottom: 5px;
}
.scroll-circle {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.397);
  position: absolute;
  left: 63%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0;
  animation: slideDown 2s infinite;
  z-index: 1000;
}
@keyframes slideDown {
  0%   { top: 0;    opacity: 0; }
  30%  { opacity: 1; }
  70%  { top: 43px; opacity: 1; }
  100% { top: 43px; opacity: 0; }
}
.scroll-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.5rem;
  letter-spacing: 2.2px;
  margin-left: 14px; 
  margin-bottom: 2px;
}

/* ------------------------------
   4) フェードインアニメーション
------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   5) aboutセクション
------------------------------- */
#about {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 0 20px;
  background-color: #ffffffcc;
  text-align: center;
  margin-bottom: 250px;
}
#about h2 {
  font-family: "futura-pt", sans-serif;
  font-size: 2.7rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 40px;
}
.about-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 30px;
  max-width: 70%;
  width: 100%;
}
.about-text p {
  max-width: 600px;
  line-height: 1.6;
  color: #555;
  font-family: "futura-pt", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  text-align: left;
  white-space: normal;
}
.about-icon img {
  border-radius: 50%;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border: 3px solid #eee;
  margin-top: 30px;
}
.text-boxes {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.text-box {
  max-width: 300px;
  padding: 20px;
  border-radius: 10px;
}
.text-box h3 {
  margin-top: 20px;
  font-size: 1.5rem;
  color: #333;
  font-family: yu-gothic-pr6n, sans-serif;
  font-weight: 400;
}
.text-box p {
  color: #555;
}

/* ------------------------------
   6) ヘッダー・ナビゲーション
------------------------------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px; 
  padding: 10px 40px;
  background-color: rgba(51, 51, 51, 0.096);
  backdrop-filter: blur(10px);
}
.header-content a {
  font-size: 1.3rem;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  color: #8b8b8bd5;
  letter-spacing: 2px;
  text-decoration: none;
}
.header-logo {
  height: 30px;
  margin-left: -20px;
}
.nav-desktop {
  display: flex;
  margin-right: 3%;
}
.nav-desktop a {
  margin-right: 40px;
  color: #7c7c7c;
  position: relative;
  padding-bottom: 4px;
}
.nav-desktop a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px;
  background-color: #6b6b6b;
  transition: width 0.3s;
}
.nav-desktop a:hover::after {
  width: 100%;
}
.hamburger-menu {
  display: none;
  position: fixed;
  top: 10px; right: 10px;
  cursor: pointer;
  z-index: 10001;
}
.hamburger-menu .bar {
  width: 25px; height: 3px;
  margin: 5px 0;
  transition: transform 0.5s, opacity 0.5s;
}
.hamburger-menu .bar:nth-child(1) { background-color: #97959b; }
.hamburger-menu .bar:nth-child(2) { background-color: #626064; }
.hamburger-menu .bar:nth-child(3) { background-color: #202022; }
.hamburger-menu.open .bar:nth-child(1) {
  transform: rotate(55deg) translate(5px, 6px);
}
.hamburger-menu.open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.open .bar:nth-child(3) {
  transform: rotate(-55deg) translate(5px, -6px);
}
.nav-mobile {
  letter-spacing: 5px;
  margin-bottom: 30px;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
}
.nav-mobile a {
  position: relative;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
}
.nav-mobile a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background-color: #333;
  transition: width 0.3s;
}
.nav-mobile a:hover::after {
  width: 100%;
}
.overlay-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: -100%;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  transition: right 0.3s ease-in-out;
  z-index: 1001;
}
.overlay-menu.show {
  right: 0;
}

/* レスポンシブナビ */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .hamburger-menu {
    display: block;
  }
  .header-logo {
    margin-bottom: 10px;
    height: 33px;
  }
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------
   7) モーダルウィンドウ（ポップアップ）
------------------------------- */
.modal {
  display: none;
  position: fixed; z-index: 1;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: auto;
}
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* ------------------------------
   8) ギャラリー
------------------------------- */
.gallery-h2,
.galleryother-h2 {
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  font-size: 2.7rem;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

/* gallery-container を Flexbox に */
.gallery-container {
  display: flex;
  gap: 30px;
  padding: 50px 0 40px;
}
.gallery-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* 画像にフェードイン用のクラスだけを残す */
.gallery-column img {
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: opacity 0.5s ease-out;
  opacity: 0;
}
.gallery-column img.visible {
  opacity: 1;
}

.view-more-button-container {
  text-align: center;
  margin: 60px 0 80px;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
}
.view-more-button {
  display: inline-block;
  padding: 12px 50px;
  background-color: #8b8b8b98;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-size: 18px;
  letter-spacing: 3px;
}
.view-more-button:hover {
  background-color: #555;
}

/* works-disclaimer */
.works-disclaimer {
  text-align: center;
  margin: 20px;
  font-size: 0.9rem;
  color: #1b1b1b;
}

/* レスポンシブ：幅 768px 以下で縦並び */
@media (max-width: 768px) {
  .gallery-container {
    flex-direction: column;
  }
  header {
    flex-direction: column;
    text-align: center;
  }
}

/* さらに大きい画面での余白調整例 */
@media (min-width: 960px) {
  .gallery-container {
    gap: 20px;
  }
}

/* ------------------------------
   9) フッター
------------------------------- */
footer {
  background-color: #f4f4f463;
  padding: 20px;
  text-align: center;
}
.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  width: auto;
  height: 36px;
}
.footer-text {
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  color: #4e4e4ec0;
  font-size: 16px;
  letter-spacing: 1px;
  padding-right: 13px;
}
.sns-icons {
  display: flex;
  gap: 20px;
}
.sns-icon {
  height: 30px;
  width: auto;
}

/* ------------------------------
  10) ポップアップ関連
------------------------------- */
.overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  z-index: 899;
  display: none;
}
.popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  border-radius: 8px;
  z-index: 900;
  background-color: #fff;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
}
.popup-image-container {
  display: flex;
  overflow: hidden;
  justify-content: center;
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}
.popup-image {
  flex: 0 0 auto;
  max-width: 86vw;
  max-height: 86vh;
  object-fit: contain;
  display: none; /* JS で制御 */
  margin: 0 10px;
}
.popup-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: transparent;
  padding: 10px;
  z-index: 1001;
}
.popup-arrow.left-arrow {
  left: 10px;
}
.popup-arrow.right-arrow {
  right: 10px;
}
.image-count-display {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #6d6d6d;
  background-color: transparent;
  padding: 5px;
  border-radius: 5px;
  font-size: 26px;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: transparent;
  color: rgb(109, 109, 109);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
}
.information-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 5px;
  border-radius: 5px;
  color: #080808;
  font-size: 16px;
  max-width: 90%;
}
.popup-date {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1rem;
  color: #8b8b8b;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
}
@media (max-width: 768px) {
  .popup {
    width: 90%;
    max-width: 90%;
  }
  .popup-image {
    max-width: 100%;
    max-height: 70vh;
  }
  .popup-close {
    top: 5px;
    right: 5px;
    font-size: 20px;
  }
  .image-count-display {
    font-size: 18px;
  }
  .information-text {
    font-size: 13px;
  }
  .popup-arrow {
    transform: translateY(-50%) scale(0.7);
  }
}

/* ------------------------------
  11) contact セクション
------------------------------- */
#contact {
  background-color: rgba(255, 255, 255, 0.61);
  padding: 150px 20px;
  text-align: center;
}
.contact-head {
  font-size: 2.7rem;
  font-weight: 500;
  color: #333;
  font-family: "futura-pt", sans-serif;
  margin-bottom: 40px;
}
.contact-button-container {
  text-align: center;
  margin-top: 20px;
}
.contact-button {
  display: inline-block;
  padding: 12px 50px;
  background-color: #8b8b8b98;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-size: 17px;
  letter-spacing: 3px;
  font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 500;
}
.contact-button:hover {
  background-color: #555;
}
.google-forms-notice {
  text-align: center;
  margin-top: 10px;
}

/* ------------------------------
  12) パーティクルやスノーフレーク（オプションで off/on 制御できるように）
------------------------------- */
/* 省略：必要に応じて canvas 描画を無効化、または軽量化処理を実装してください */
