/* === 基本設定 & スクロールスナップ === */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  background-color: #fff;
  color: #111;
  text-align: center;
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

/* === 各セクション共通 === */
.fullscreen-section {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.top-section {
  background-color: #ffffff;
}

.message {
  background-color: #f7f7f7;
}

.contacts {
  background-color: #f7f7f7;
}

/* === タイトル（修正・追加） === */
header {
  /* 既存の font-size 等は残しても問題ありませんが、画像にするので不要になります */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-logo {
  max-width: 800px; /* PCでのロゴの最大横幅。お好みで調整してください */
  width: 80%;       /* 画面幅に対してのサイズ */
  height: auto;     /* 比率を維持 */
}

/* === レスポンシブ対応（メディアクエリ内に追加） === */
@media (max-width: 768px) {
  /* ...既存のコード... */

  .top-logo {
    max-width: 400px; /* スマホ時の最大横幅 */
    width: 90%;
  }
}

/* === コンテンツエリア共通 === */
.content {
  max-width: 1000px;
  width: 100%;
}

/* === メッセージセクションのテキスト調整 === */
.message .content p {
  margin: 10px 0;
}

.message .content p:first-child {
  font-size: 1.7rem;
  margin-bottom: 40px;
}

.message .content p:last-child {
  font-size: 1.5rem;
}

/* === 動画セクション === */
.video-section {
  padding: 80px 20px;
}

.video-section iframe {
  width: 1000px;
  height: 562.5px;
  border: none;
  border-radius: 10px;
  max-width: 100%;
}

.lang-switch {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.lang-button {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lang-button:hover {
  background-color: #0056b3;
}

.lang-button.active {
  background-color: #cccccc;
  color: #666;
  cursor: default;
}

.lang-button.active:hover {
  background-color: #cccccc;
}

/* === Contacts セクション === */
.contacts-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

.contact-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
  gap: 50px;
}

.contacts h2 {
  font-size: 3rem;
  margin: 0;
}

.email-icon {
  display: inline-block;
  transition: transform 0.2s;
}

.email-icon:hover {
  transform: scale(1.1);
}

.email-icon svg {
  display: block;
  margin: 0 auto;
}

/* フッター（セクション内） */
.footer-inside {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 10px;
}

/* === レスポンシブ対応 === */
@media (max-width: 768px) {
  header {
    font-size: 3rem;
  }

  .message .content p:first-child {
    font-size: 1.4rem;
  }

  .message .content p:last-child {
    font-size: 1.2rem;
  }

  .video-section iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .contacts h2 {
    font-size: 2rem;
  }

  .email-icon svg {
    width: 48px;
    height: 48px;
  }
}
