/* styles.css */
/* グローバルリセットとボックスサイズ調整 */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 横スクロール防止 */
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;                     /* 変更：アンカーリンクを滑らかに */
  scroll-padding-top: calc(60px + 300px);      /* 変更：固定ヘッダー＋アー写分のオフセット */

  
}
body {
  padding-top: calc(60px + 50px);
  margin: 0;
  background-color: rgb(214, 214, 214);
}

#news h2 {
  font-size: 35px;
  padding: 10px 0;
}
/* ヘッダー */
header {
  position: fixed;           /* ヘッダーを画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;             /* 常に最前面 */
  display: flex;             /* ヘッダー内を左右に並べる */
  justify-content: space-between;  /* 左右に要素を配置 */
  align-items: center;       /* 垂直方向中央揃え */
  background: #ffffff;
  color: rgb(134, 134, 134);
  height: 60px;              /* 固定高さ（調整可） */
  padding: 0 1em;            /* 左右にパディング */
  border-bottom: solid 1px #797979;
  
}
header h1 {
  margin: 0;       /* デフォルトマージンをリセット */
  order: 0;        /* 左側に配置 */
  
}
/* ロゴ画像化した場合のサイズ調整 */
#site-title img {
  max-height: 25px;  /* ヘッダー高さに合わせる */
  width: auto;
  vertical-align: middle;
}

nav {
  order: 1;        /* 右側に配置 */
    display: flex;
    
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 22px;
  justify-content: space-between;
  z-index: 1100;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 3px;
  background: rgb(134, 134, 134);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

nav ul {
  display: flex;
  justify-content: flex-end;  /* ナビを右寄せ */
  list-style: none;
  padding: 0;
  margin: 0;                  /* 不要な余白をリセット */
}

nav img:hover{
  opacity: 0.5;
  transition-duration: 0.4s;
}
nav img{
  width: 14px;
  height: 14px;
  vertical-align:  middle;
}

nav li {
  margin: 0 1em;
}
nav a {
  color: rgb(134, 134, 134);
  text-decoration: none;
   transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover {
  /* 文字色をゴールドに */
  color: #23b6fa;
  /* 背景色も変えたい場合はコメントを外して調整 */
  /* background-color: rgba(255, 255, 255, 0.1); */
}


/* 各コンテンツセクション（NEWS, LIVE, ABOUT, CONTACT） */
section {
  position: relative;
  padding: 2em;
  text-align: center;
  background-color: #ffffff;
  z-index: 800;
}

/*▼コンタクトフォーム*/
section#contact{
  position: relative;
  text-align: center;
  background-color: #ffffff;
  z-index: 400;
  padding: 10px;
  margin-top: 5px;
  border-radius: 20px;
  width: 900px;
  margin: 0 auto;
}

.contact-form {
  max-width: 900px;
  margin: 0 auto;
  padding: 1em;
}

.form-group {
  display: flex;
  justify-content: flex-end; /* 入力欄を右寄せ */
  margin-bottom: 1em;
}

.form-group label {
  width: 190px;
  font-size: 15x;
  font-weight: bold;
  padding-right: 10px;
  flex-shrink: 0;
  display:flex;
  text-align: left;
  align-items: center;
}

.form-group input,
.form-group textarea {
  flex: 1;
  padding: 0.5em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button[type="submit"] {
  display: block;
  margin: 2em auto 0;
  padding: 0.6em 2em;
  font-size: 1em;
  background-color: #23b6fa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #1e9ed8;
}

.FAQ {
    display: flex;
    text-align: left;
}

.FAQ_title{
    margin-bottom: 0px;
    margin-top: 40px;
}
h3 {
    border-left: solid 6px #23b6fa;
    padding-left: 10px;
    margin-bottom: 10px;
}
.FAQ ul {
    width: 100%;
    list-style: none;
    padding: 0 1em;
    margin-top: 0px;
}

.FAQ li {
    border-bottom: solid 1px #cacaca;

}

span.answer{
    display: inline-block;
    padding-left: 19px;
}
/* フッター */
footer {
  margin-top: 50px;
  position: relative;
  background: #222;
  color: white;
  text-align: center;
  padding: 1em;
  z-index: 800;
}


/* PC表示（幅769px以上）のときだけ非表示 */
@media screen and (min-width: 769px) {
  nav ul > li.MOVILE_SNS {
    display: none;
  }
}



/* PC表示（幅769px以上）のときだけ非表示 */
@media screen and (min-width: 769px) {
  nav ul > li.MOVILE_SNS {
    display: none;
  }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: calc(60px + 150px);
  }

  body {
    padding-top: calc(65px + 24px);
  }

#news h2 {
  font-size: 35px;
  padding: 10px 0;
}
/* ヘッダー */
header {
  position: fixed;           /* ヘッダーを画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;             /* 常に最前面 */
  display: flex;             /* ヘッダー内を左右に並べる */
  justify-content: space-between;  /* 左右に要素を配置 */
  align-items: center;       /* 垂直方向中央揃え */
  background: #ffffff;
  color: rgb(134, 134, 134);
  height: 60px;              /* 固定高さ（調整可） */
  padding: 0 1em;            /* 左右にパディング */
  border-bottom: solid 1px #797979;
  
}
header h1 {
  margin: 0;       /* デフォルトマージンをリセット */
  order: 0;        /* 左側に配置 */
  
}
/* ロゴ画像化した場合のサイズ調整 */
#site-title img {
  max-height: 25px;  /* ヘッダー高さに合わせる */
  width: auto;
  vertical-align: middle;
}

 nav {
    width: 100%;
  }


  nav ul{
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 53px;
    right: 0;
    background: white;
    width: 100%;
    border-top: solid 1px #ccc;
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
  }

  nav ul.active > li.MOVILE_SNS {
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5em;
  }

  nav li {
    margin: 1em;
    text-align: center;
  }

nav a {
  color: rgb(134, 134, 134);
  text-decoration: none;
   transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover {
  /* 文字色をゴールドに */
  color: #23b6fa;
  /* 背景色も変えたい場合はコメントを外して調整 */
  /* background-color: rgba(255, 255, 255, 0.1); */
}


/* 各コンテンツセクション（NEWS, LIVE, ABOUT, CONTACT） */
section {
  width: 100%;
  position: relative;
  padding: 2em;
  text-align: center;
  background-color: #ffffff;
  z-index: 800;
}

/* 各要素にエリア名を指定 */
/*.release-date {
  grid-area: news-date;
  font-size: 0.75em;
  color: #999;
}*/



section#contact{
  width: 100%;
  position: relative;
  text-align: center;
  background-color: #ffffff;
  z-index: 400;
  padding: 10px;
  margin-top: 5px;

}

.form-group label {
  width: 150px;
  font-size: 12px;
  font-weight: bold;
  padding-right: 10px;
  flex-shrink: 0;
  text-align: left;
  text-wrap: wrap;
}

.form-group {
  display: flex;
  justify-content: flex-end; /* 入力欄を右寄せ */
  margin-bottom: 1em;
}

/* フッター */
footer {
  max-width: 500px;
  position: relative;
  background: #222;
  color: white;
  text-align: center;
  padding: 1em;
  z-index: 800;
}

.hamburger {
    display: block;
    /* 例：右上に固定するなら… */
    position: absolute;
    top: 1em;
    right: 1em;
  }
  .hamburger span {
    display: block;
    width: 25px; height: 3px;
    margin: 4px 0;
    background: #333;
  }

  .hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/*メニューを開いたら後ろが薄黒くなるよ*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}

}