@charset "UTF-8";
/* CSS Document */
/* 全体リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 背景 */
body {
  color: #fff;
  font-family: 'MS Mincho', 'Hiragino Mincho Pro', 'IPA Mincho', serif;
  margin: 0;
  height: 100vh;
  background:
    repeating-linear-gradient(45deg, #8B0000, #8B0000 1px, rgba(40, 0, 0, 0.7) 1px, rgba(0, 0, 0, 0.7) 320px, #8B0000 160px), repeating-linear-gradient(-45deg, #8B0000, #8B0000 1px, rgba(40, 0, 0, 0.7) 1px, rgba(0, 0, 0, 0.7) 320px, #8B0000 160px);
  background-attachment: fixed;
  background-size: 100% 100%;
  background-color: #000000;
}
/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, .1);
  z-index: 100;
}
/* タイトル・サブタイトル */
.site-header {
  background-color: #000;
  padding: 0 0;
  text-align: center;
}
.site-title {
  color: #ff3c00;
  font-size: 36px;
  letter-spacing: 2px;
  padding-top: 20px;
}
.site-title a {
  text-decoration: none;
  color: inherit
}
.site-subtitle {
  color: #ff3c00;
  font-size: 16px;
  margin-top: 5px;
}
/* ナビゲーション */
.site-nav {
  margin-top: 20px;
}
.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
}
.site-nav li {
  flex: 1;
}
.site-nav a {
  display: block;
  width: 100%;
  text-align: center;
  color: #d9d6c1;
  text-decoration: none;
  font-size: 16px;
  padding: 15px 0;
  background-color: #3d402a;
  transition: background-color 0.3s;
}
.site-nav a:hover {
  background-color: #5a5d3b;
}
/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: absolute;
  top: 30px;
  right: 20px;
  z-index: 200;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: #ff3c00;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}
/* ハンバーガーがアクティブのとき「×」に変形 */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
/* レスポンシブ */
@media (max-width: 960px) {
  .site-nav ul {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .site-nav ul.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav a {
    width: 100%;
    border: none;
    border-bottom: 1px solid #555;
    background: none;
  }
  .menu-toggle {
    display: flex;
  }
}
/* メイン */
main {
  margin-top: 260px;
}
@media (max-width: 960px) {
  main {
    margin-top: 80px;
  }
}
/* フッター */
.footer {
  background-color: #000;
  color: #ccc;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}
/* フッター内容 */
.footer .footer-content {
  margin: 0 auto;
}
@media (max-width: 960px) {
  .site-header {
    padding: 20px 0;
  }
  .site-title {
    padding-top: 0;
  }
  /* ヘッダー */
  .site-header {
    padding: 10px 0;
  }
  .site-title {
    font-size: 24px;
  }
  .site-subtitle {
    font-size: 12px;
    margin-top: 3px;
  }
  /* ナビゲーション */
  .site-nav ul {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .site-nav ul.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav a {
    font-size: 14px;
    padding: 12px 0;
  }
  .menu-toggle {
    display: flex;
  }
  /* フッター */
  .footer {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  /* ヘッダー */
  .site-header {
    padding: 10px 0;
  }
  .site-title {
    font-size: 24px;
  }
  .site-subtitle {
    font-size: 12px;
    margin-top: 3px;
  }
  /* ナビゲーション */
  .site-nav ul {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-20px);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .site-nav ul.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .site-nav a {
    font-size: 14px;
    padding: 12px 0;
  }
  .menu-toggle {
    display: flex;
  }
  /* フッター */
  .footer {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
  }
}