html {
  overflow-x: hidden;
}

@font-face {
  font-family: 'CineCaption';
  src: url('cinecaption226.ttf');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  color: #333333;
  font-family: 'Zen Maru Gothic', sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* ヘッダーのスタイル */
.site-header {
  position: relative;
  width: 100%;
  height: 400px;
  background-image: url('https://blogger.googleusercontent.com/img/a/AVvXsEjLg1CHZw7k2MukVCBMpRc9ArlFyaySkILcw4x0GnNPq4icQ3GRsAU4dPu1Ih4DIeKEDkGkepM-gogD6OUbqCAgr807lvXhz9kgCKWnmb7WY_KkhzuVuNttfJgq8u1g7C8dOMqacQO6dfawkmWiTDMwXiQA7bIE1iyR4fcHCEnCkJAg4S42QcRtDWsgqOSH');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.header-logo-img {
  width: 440px;
  max-width: 85%;
  height: auto;
  display: block;
}

.nav-menu {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(128, 128, 128, 0.5);
  backdrop-filter: blur(4px);
  padding: 17px 0;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu a {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  margin: 0 20px;
  font-size: 1.3rem;
  font-weight: 500;
  font-family: 'CineCaption', sans-serif;
  letter-spacing: 0.05em;
  padding-top: 2px;
  padding-bottom: 6px;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'CineCaption', sans-serif;
  margin-bottom: 45px;
  letter-spacing: 0.1em;
}

/* --- 共通のセクション・タイトルのベース --- */
.section-container {
  width: 100%;
  padding: clamp(30px, 4vw, 60px) clamp(10px, 2vw, 20px);
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: clamp(20px, 3vw, 30px);
  letter-spacing: 0.1em;
  font-family: 'CineCaption', sans-serif;
  color: #000000;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
}

/* --- 動画セクション専用の背景とタイトル調整 --- */
.video-section {
  background-image: url('https://blogger.googleusercontent.com/img/a/AVvXsEgA2zKB2Kz1VSB2JiQXOnAx3NveWHjy83cVT0-b1hQQjyynT3H6UYrIlA1XBVloQIR4wBEGEzvBKUgiTiKfRU7QSi7nooY_gJLi3zCyGcQAj0Rr2PdDDnFIpEFrQ_HJU1goHNG0hOeBS9eRG1lp4RZtpYut4f8gF6Q2DganjQJfSpK3ispL-jVkCfNNYXec');
  background-repeat: no-repeat;
  padding: clamp(30px, 4vw, 60px) clamp(10px, 2vw, 20px) clamp(45px, 6vw, 90px) clamp(10px, 2vw, 20px);
}

.video-section .section-title {
  color: #000000;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.1);
}

.video-wrapper {
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 3px solid #333;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- ギャラリー＆その他のセクション用スタイル --- */
.gallery-content-bg {
  background-image: url('https://blogger.googleusercontent.com/img/a/AVvXsEipiPQvf56vFAr7cIat0NmCmTyIttPEucoYdNnT63OfaHx3CjvaAcq2xhN5iYmz9zbt_7uUcFWTOKmahuYIWpQXNt7E91ACd60rYClYZTuWubB814tCUhmoIfgFHHDzyOv8VK9FdwYTsWJXlRbw-qS29EgKyzdplKq2MuM8ob_yblhxta1nDbTAW0nI-6ZN');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding: clamp(30px, 4vw, 50px) clamp(10px, 2vw, 20px);
  box-sizing: border-box;
}

.gallery-info-area {
  max-width: 800px;
  margin: 0 auto 15px auto;
  text-align: left;
  color: #000000;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-family: 'DotGothic16', sans-serif;
  line-height: 1.7;
}

.gallery-info-area h3 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 8px;
}

.gallery-info-area ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 6px;
}

.gallery-info-area li {
  font-weight: bold;
  margin-bottom: 6px;
}

.gallery-info-area a {
  color: #111111;
  font-weight: bold;
  text-decoration: underline;
}

.gallery-subnote {
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
  color: #555555;
  margin-top: 0px;
  margin-bottom: 20px;
}

.gallery-grid-title {
  max-width: 800px;
  margin: 0 auto 12px auto;
  text-align: left;
  color: #000000;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-family: 'DotGothic16', sans-serif;
}

.gallery-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 1.5vw, 15px) clamp(6px, 1.2vw, 12px);
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border: 1px solid #ccc;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-thumb-wrap:hover img {
  opacity: 0.35;
  transform: scale(1.03);
}

.gallery-item-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  font-size: clamp(0.6rem, 1vw, 0.95rem);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: #222222;
  text-align: center;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.9);
}

.gallery-thumb-wrap:hover .gallery-item-title {
  opacity: 1;
}

.old-gallery-section {
  background-color: #ffffff;
}

.read-more-wrapper {
  text-align: center;
  width: 100%;
  margin-top: clamp(20px, 3vw, 30px);
  margin-bottom: clamp(40px, 6vw, 60px);
}

.read-more-btn {
  display: inline-block;
  padding: clamp(8px, 1.2vw, 10px) clamp(24px, 3vw, 32px);
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 8px;
  color: #808080;
  text-decoration: none !important;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  cursor: pointer;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500 !important;
}

.read-more-btn:hover {
  color: #333333;
}

/* --- モーダルウィンドウのスタイル --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.modal.is-active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-title {
  color: #ffffff;
  font-size: 0.98rem;
  margin-top: 20px;
  letter-spacing: 0.05em;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* 子ページタイトル */
.page-title {
  font-size: 2rem;
  margin-bottom: 45px;
  letter-spacing: 0.1em;
  font-family: 'CineCaption', sans-serif;
}

/* メインコンテンツ（プロフィール部分） */
.about-main {
  width: 100%;
  padding: 70px 20px 50px 20px;
  max-width: 650px;
  margin: 0 auto;
}

.profile-img-wrap {
  width: 260px;
  height: 260px;
  margin: 0 auto 30px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 35px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.profile-text {
  text-align: justify;
  font-size: 1rem;
  color: #808080;
  line-height: 2.1;
  margin-bottom: 70px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

/* コンタクトセクション */
.contact-section {
  position: relative;
  width: 100%;
  background-image: url('https://github.com/Yubico-Tsumugine/image-storage/blob/main/mousou.png?raw=true');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 20px 90px 20px;
  box-sizing: border-box;
  text-align: left;
}

.contact-inner {
  max-width: 650px;
  margin: 0 auto;
}

.contact-title {
  font-size: 2rem;
  font-weight: 600;
  font-family: 'CineCaption', sans-serif;
  color: #222;
  margin-bottom: 45px;
  letter-spacing: 0.1em;
}

.contact-box {
  background: #ffffff;
  padding: 45px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-box p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 25px;
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.9;
  text-align: justify;
}

/* メインコンテンツ（リンク部分） */
.link-main {
  width: 100%;
  padding: 70px 20px 90px 20px;
  max-width: 740px;
  margin: 0 auto;
}

.link-intro {
  font-size: 0.95rem;
  color: #a9a9a9;
  line-height: 2.1;
  margin-bottom: 60px;
  text-align: center;
}

.link-hr {
  border: none;
  border-top: 1px dotted #888888;
  margin: 60px 0;
}

.link-item {
  margin-bottom: 35px;
}

.link-banner {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}

.link-banner img {
  height: auto;
  display: block;
  margin: 0 auto;
}

.banner-top {
  width: 120px;
}

.banner-mid {
  width: 570px;
}

.banner-btm {
  width: 230px;
}

.link-item-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  font-family: "Shippori Mincho", serif;
}

.link-item-title-yururi {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f2a6bb;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.link-desc-box {
  background-color: #f7f5f0;
  padding: 20px 15px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #696969;
  line-height: 1.9;
  text-align: center;
  max-width: 600px;
  width: 90%;
  margin: 30px auto 0 auto;
  box-sizing: border-box;
}


/* フッダーのスタイル */
.footer-container {
  width: 100%;
  background-color: #111111;
  color: #888888;
  padding: 35px 20px;
  font-size: 0.9rem;
  line-height: 1.8;
  border-top: 1px solid #222222;
  text-align: center;
}

.footer-credit {
  color: #cccccc;
  font-size: 1rem;
  margin-bottom: 8px;
}

@media (max-width: 820px) {
  .site-header {
    height: 150px;
  }

  .header-logo-img {
    width: 130px;
    margin-bottom: 30px;
  }

  .nav-menu {
    padding: 8px 0;
  }

  .nav-menu a {
    margin: 0 10px;
    font-size: 0.95rem;
    padding-top: 0;
    padding-bottom: 2px;
  }

  /* モバイル時のタイトルを1行に収める */
  .section-title {
    font-size: 1rem;
  }

  /* モバイル時だけ動画セクションの左右にゆとりを持たせる */
  .video-section {
    padding-left: 50px;
    padding-right: 50px;
  }

  /* モバイル時にサブタイトルをメインタイトルより小さくする */
  .gallery-info-area h3 {
    font-size: 0.75rem;
  }

  .gallery-grid-title {
    font-size: 0.75rem;
  }

  .gallery-info-area {
    font-size: 0.60rem;
  }

  .gallery-subnote {
    font-size: 0.55rem;
  }

  /* モバイル時だけギャラリー背景の左右にゆとりを持たせる */
  .gallery-content-bg {
    padding-left: 50px;
    padding-right: 50px;
  }

  .section-container-old-gallery-section {
    padding-left: 50px;
    padding-right: 50px;
  }

  /* モバイルでもギャラリーグリッドを4列（4x4）に固定する */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* モバイル時にRead Moreボタンを小さくする */
  .read-more-btn {
    font-size: 0.65rem;
    padding: 5px 15px;
  }

  /* モバイル時に子ページタイトルを小さくする */
  .page-title {
  font-size: 1.2rem;
  margin-bottom: 45px;
  letter-spacing: 0.1em;
  }

   /* モバイル時にプロフィール全体を小さくする */
  .profile-img-wrap {
    width: 200px;
    height: 200px;
  }

  .profile-name {
    font-size: 1rem;
  }

  .about-main {
    padding-left: 55px;
    padding-right: 55px;
  }

.profile-text {
    font-size: 0.75rem;
  }

  /* モバイル時にコンタクトエリア全体をコンパクトにする */
  .contact-section {
    padding: 40px 55px 60px 55px;
  }

  .contact-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .contact-box {
    padding: 30px 20px;
  }

  .contact-box p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

/* リンクページ全体のモバイル調整 */
  .link-main {
    padding: 40px 35% 60px 35px;
  }

  .link-intro {
    font-size: 0.75rem;
    margin-bottom: 40px;
  }

  .link-hr {
    margin: 40px 0;
  }

  .link-item {
    margin-bottom: 25px;
  }

  /* スマホではみ出さないようにバナー幅を縮小 */
  .banner-top {
    width: 90px;
  }

  .banner-mid {
    width: 100%;
    max-width: 280px;
  }

  .banner-btm {
    width: 160px;
  }

  .link-item-title {
    font-size: 1rem;
  }

  .link-item-title-yururi {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .link-desc-box {
    font-size: 0.75rem;
    padding: 15px 20px;
    margin-top: 20px;
  }

}