body {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "HGS明朝E", serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  overflow: hidden; /* ページ全体のスクロールを無効化 */
  height: 100vh;
}

header {
  background-color: #000;
  text-align: center;
}

header img {
  max-width: 100%; /* 画像がヘッダー幅に収まるように */
  height: auto;
}

nav {
  background-color: #333;
  color: #fff;
  padding: 10px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav li {
  display: inline-block;
  margin: 0 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
}

main {
  padding: 20px 0; /* 上下のパディングのみ設定 */
}

section {
  margin-bottom: 60px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 1;
  visibility: visible;
}

footer {
  color: #fff;
  padding: 10px;
  text-align: center;
  background-color: transparent;
}

.container {
  position: fixed;
  top: 30vh;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  -ms-overflow-style: none;    /* IE, Edge 対応 */
  scrollbar-width: none;       /* Firefox 対応 */
  padding-top: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 200; /* ヘッダーより上に表示 */
}

/* Webkit（Chrome, Safari）のスクロールバーを非表示 */
.container::-webkit-scrollbar {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1; /* z-indexを高く設定 */
  background-color: #000; /* 背景色を不透明に */
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header h1 {
  margin: 0 auto;
}

.site-header img {
  max-width: 1200px; /* containerの960pxより広く設定 */
  width: 100%;
  object-fit: contain; /* アスペクト比を保持 */
}

.content-wrapper {
  position: fixed; /* fixedに変更 */
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 2;
  margin-top: 30vh;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in, visibility 0.5s ease-in;
}

.message-part {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in, visibility 0.5s ease-in;
}

.fade {
  transition: opacity 0.2s;
  opacity: 1;
}

.fade.hidden {
  opacity: 0;
}

/* レスポンシブデザイン */
@media (max-width: 960px) {
  nav ul {
    text-align: left;
  }

  nav li {
    display: block;
    margin: 10px 0;
  }
}

.ceo-section {
  padding: 40px 0;
}

.ceo-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
}

.ceo-image {
  flex: 0 0 45%;
}

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

.ceo-name {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
    "メイリオ", Meiryo, sans-serif;
  margin-bottom: 2em;
}

.ceo-name h3 {
  font-size: 36px;
  margin: 0 0 0.5em;
  font-weight: 500;
}

.ceo-name p {
  font-size: 24px;
  margin: 0;
  font-weight: 400;
}

.ceo-message {
  flex: 0 0 55%;
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "HGS明朝E", serif;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.05em;
  margin-top: 2em;
  font-weight: 300; /* フォントウェイトを細く */
}

.ceo-message p {
  margin: 0;
  padding: 0;
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "HGS明朝E", serif;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.05em;
  font-weight: 300;
}

.message-section {
  font-size: 22px;
  line-height: 3;
  letter-spacing: 0.1em;
  font-weight: 300; /* フォントウェイトを細く */
}

.message-section p {
  margin: 0;
  padding: 0;
}

.message-part {
  transition: opacity 0.5s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
  margin-bottom: 2em;
}

.policy-section h2,
.service-section h2,
.support-section h2,
.company-section h2 {
  font-family: "Arial Black", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #c4a736;
  margin: 0 0 50px;
  letter-spacing: 0.05em;
  text-align: center;
}

/* service-section の h2 要素と画像のスタイル */
.service-section {
  text-align: center;
  padding: 60px 0;
}

.service-section img {
  max-width: 120px;
  height: auto;
  margin-bottom: 30px;
}

.service-section h2 {
  font-family: "Arial Black", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #c4a736;
  margin: 0 0 50px;
  letter-spacing: 0.05em;
}

.service-section h3 {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "HGS明朝E", serif;
  font-size: 24px;
  color: #fff;
  margin: 40px 0 20px;
  font-weight: 400;
}

.service-section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  text-align: center;
}

.service-section li {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "HGS明朝E", serif;
  font-size: 18px;
  line-height: 2;
  color: #fff;
  font-weight: 300;
}

.service-section hr {
  border: none;
  border-top: 1px solid #333;
  max-width: 670px;
  margin: 40px auto;
}

.service-content {
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 40px 40px 0;
  margin: 40px auto;
  width: 960px;
  max-width: 90%;
  box-sizing: border-box;
}

.service-content h3,
.service-content ul {
  width: 65%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.service-content hr {
  border: none;
  border-top: 1px solid #fff;
  width: 90%;
  margin: 40px auto;
}

.service-content h3 {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "HGS明朝E", serif;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
  /*    margin: 40px 0 20px;*/
  font-weight: 300;
}

.service-content li {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "HGS明朝E", serif;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
  font-weight: 300;
  margin-bottom: 0.5em;
}

.policy-section {
  text-align: center;
  padding: 60px 0;
}

.policy-section p {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "HGS明朝E", serif;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  font-weight: 300;
  margin: 0 auto;
  max-width: 960px;
  padding: 0 20px;
}

/* support-section の h2 要素と画像のスタイル */
.support-section h2 {
  text-align: center;
}

.support-section img {
  max-width: 980px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* company-section の h2 要素と画像のスタイル */
.company-section {
  text-align: center;
  padding: 60px 0;
}

.company-section img {
  max-width: 120px;
  height: auto;
  margin-bottom: 30px;
}

.company-content {
  max-width: 75%;
  margin: 0 auto;
  text-align: left;
  font-size: 20px;
  line-height: 2;
}

.contact-section {
  text-align: center;
  padding: 60px 0;
  font-size: 20px; /* フォントサイズを20pxに設定 */
  line-height: 2;
}

.contact-section p,
.contact-section a {
  display: block;
  margin: 0 auto;
  max-width: 960px;
  padding: 0 20px;
}

.contact-section a {
  color: #fff; /* 色を白色に設定 */
  text-decoration: none;
  font-weight: bold;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
  .content-wrapper {
    margin-top: 20vh;
  }

  .container {
    padding: 0 15px; /* 横幅15pxのpaddingを設定 */
    top: 20vh;
  }


  section {
    margin-bottom: 40px;
  }


  .policy-section h2,
  .service-section h2,
  .support-section h2,
  .company-section h2 {
    font-size: 24px;
    margin: 0 0 30px;
  }

  /* ceo-content のスタイル */
  .ceo-content {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .ceo-image,
  .ceo-message {
    flex: 0 0 100%;
  }

  .ceo-message {
    font-size: 16px;
    line-height: 24px;
  }

  .ceo-message p {
    font-size: 16px;
    line-height: 24px;
  }

  /* message-section のスタイル */
  .message-section {
    font-size: 18px;
    line-height: 36px;
    padding: 0 5%;
  }

  .ceo-name h3 {
    font-size: 24px;
  }

  .ceo-name p {
    font-size: 20px;
  }

  /* service-section のスタイル */
  .service-section {
    padding: 40px 20px;
  }

  .service-section h2 {
    font-size: 24px;
    margin: 0 0 30px;
  }

  .service-section h3 {
    font-size: 20px;
  }

  .service-section li {
    font-size: 16px;
  }

  .service-content {
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
  }

  .service-content hr {
    width: 80%;
  }

  .service-content h3,
  .service-content ul {
    width: 90%;
  }

  .service-content h3 {
    font-size: 24px;
  }

  .service-content li {
    font-size: 20px;
  }

  /* policy-section のスタイル */
  .policy-section p {
    font-size: 18px;
    line-height: 1.8;
  }

  /* company-section のスタイル */
  .company-content {
    font-size: 18px;
    line-height: 1.8;
  }

  /* contact-section のスタイル */
  .contact-section {
    font-size: 18px;
    line-height: 1.8;
  }
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  section {
    margin-bottom: 20px;
  }

  .content-wrapper {
    margin-top: 12vh;
  }

  .container {
    padding: 0 15px; /* 横幅15pxのpaddingを設定 */
    top: 12vh;
  }


  .ceo-name h3 {
    font-size: 20px;
  }

  .ceo-name p {
    font-size: 16px;
  }

  .ceo-message {
    font-size: 14px;
    line-height: 20px;
  }

  .ceo-message p {
    font-size: 14px;
    line-height: 20px;
  }

  .message-section {
    font-size: 16px;
    line-height: 32px;
    padding: 0 10%;
  }

  .service-section h2 {
    font-size: 20px;
    margin: 0 0 20px;
  }

  .service-section h3 {
    font-size: 16px;
  }

  .service-section li {
    font-size: 14px;
  }

  .service-content {
    padding: 10px;
    margin: 10px;
  }

  .service-content h3 {
    font-size: 20px;
  }

  .service-content li {
    font-size: 16px;
  }

  .policy-section p {
    font-size: 16px;
    line-height: 1.6;
  }

  .company-content {
    font-size: 16px;
    line-height: 1.6;
  }

  .contact-section {
    font-size: 16px;
    line-height: 1.6;
  }
  
}

