@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Oswald:wght@400;500&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-en: 'Oswald', sans-serif;

    --header-h: 80px; /* PCのヘッダー高さ */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;

    padding-top: var(--header-h, 0px);  /* ヘッダー分だけずらす */
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px; /* スマホのヘッダー高さ */
  }
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

address {
  font-style: normal;
}


.container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* スクロール時のアニメーション用クラス */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* メインヘッダー(OTS hair ヘッダー) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.header-logo {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: bold;
}

/* ハンバーガーメニュー */
.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    transition: .3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* ナビゲーションオーバーレイ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.nav-list li {
    margin: 20px 0;
}

.nav-list a {
    font-family: var(--font-en);
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-about {
    margin-top: 40px;
    color: #888;
    font-size: 0.9rem;
    max-width: 300px;
}

.nav-sub-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ccc;
}

.nav-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
}

/* フッター */
.footer {
    background: #fff;
    color: #000;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: bold;
}

/* .footer-nav {
    display: flex; gap: 20px;
    font-family: var(--font-en); font-size: 0.9rem;
    flex-wrap: wrap; justify-content: center;
} */
.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2列に分ける */
    gap: 10px 40px;
    font-family: var(--font-en);
    font-size: 0.9rem;
    text-align: left;
}

.copyright {
    font-size: 0.7rem;
    margin-top: 20px;
    color: #fff;
    background: #000;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

/* 各ページの白帯ヘッダー */
.page-header {
    background-color: #fff;
    color: #000;
    text-align: left;
    padding: 10px 20px;
}

.page-header h2 {
    font-family: var(--font-en);
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0;
}

/* SEO対策用 要素を隠す */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
