/* ベーススタイル */
body.en {
  font-family: 'Cormorant Garamond', serif;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  background-image: url("../img/background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  position: relative;
}

/* 背景暗転オーバーレイ */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/noise.png");
  background-size: cover;
  opacity: 0.08;
  animation: noiseMove 0.6s steps(1) infinite;
  z-index: 0;
  pointer-events: none;
  
}

body * {
  position: relative;
}
html {
  overflow-y: scroll;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.91);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  z-index: 1000;
  box-sizing: border-box;
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center; /* ← 中央揃え。上下ズレ防止 */
}

.logo-mark {
  height: 73px;
  width: auto;
}

.name-decoration {
  height: 55px;
  width: auto;
  margin-left: 0.5rem;
}

.logo img {
  display: block;
}

/* ナビゲーション */
.menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  display: none;
}
nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  list-style: none;
  margin: 0;
  margin-right: 1rem;
  padding: 0;
  display: flex;
  gap: 1.2rem;
  flex-wrap: nowrap;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
  white-space: nowrap; 
}

nav a:hover {
  color: #ccc;
}

/* メインエリア */
main {
  padding-top: 135px;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 6rem;
}

@keyframes noiseMove {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-0.5px, 0.9px); }
  50%  { transform: translate(0.7px, -1.1px); }
  75%  { transform: translate(-0.6px, 0.8px); }
  100% { transform: translate(0, 0); }
}


/* キャッチコピー用（indexトップにのみ使用） */
.catchphrase {
  font-family: 'Zen Old Mincho', serif;
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin-bottom: 4.5rem;
}

/* セクションの中見出し用（各コーナー） */
.section-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid #ccc;
  padding-left: 0.6rem;
}

/* 本文用（段落・リスト・説明など） */
.body-text {
  font-family: 'Zen Old Mincho', serif;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 1rem;
}

h1.section-title {
  border-left: 4px solid #ccc;
  padding-left: 0.6rem;
}

h2.section-title {
  border-left: none;
  padding-left: 0;
}
iframe {
  border-radius: 8px;
  z-index: 1;
}
.apple-music-player {
  height: 600px;        
  max-width: 900px;      
}



@media (max-width: 768px) {
  
  .catchphrase {
    font-size: 2rem;
    line-height: 1.3;
  }

  .section-title {
    font-size: 1.05rem;
  }
  body::before {
    background-color: rgba(0, 0, 0, 0.1); /* ← スマホはもっと明るく */
  }

  .body-text {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  body {
    font-size: 0.95rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  header {
    flex-wrap: nowrap;
    padding: 0.3rem 1rem;
  }

  .logo {
    height: 44px;
    margin-left: 0;
  }
.logo-mark {
    height: 48px;
    width: auto;
  }
  .name-decoration {
    height: 28px;
    margin-left: 0.4rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-start;
  }

  main {
    padding-top: 140px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  iframe {
    height: 160px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
  }

  nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    padding: 0 1rem;
    z-index: 1001;
  }

  nav.active {
    max-height: 500px; /* メニューが広がる高さ。要調整 */
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  nav ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 1rem;
  }

  nav ul li a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
  }
  .work-gallery > div[style*="display: flex"] {
    display: block !important;
  }

  .work-gallery > div[style*="display: flex"] > div {
    width: 100%;
    padding: 0.5rem 0;
  }

 .work-gallery iframe {
  width: 90%;
  max-width: 660px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}
}