/* ==========================================================================
   PIXEL STUDIO - common.css
   全固定ページ共通スタイル（旧: 各テンプレートに重複していたstyleタグを統合）
   対象: reset, base, button, section title, header, hamburger, sp-nav, footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    background-color: #0a0a12;
    color: #ffffff;
    line-height: 1.8;
    overflow-x: hidden;
}
a { color: #00f0ff; text-decoration: none; transition: all 0.3s ease; }
a:hover { opacity: 0.8; text-shadow: 0 0 10px #00f0ff; }
li { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ネオンボタン */
.btn-neon {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #00f0ff;
    color: #00f0ff;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}
.btn-neon:hover {
    background: #00f0ff;
    color: #0a0a12;
    box-shadow: 0 0 30px #00f0ff;
    text-shadow: none;
}

/* セクション共通背景 */
section {
    padding: 120px 0;
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, #071416 0%, #050b14 60%, #0a0a12 100%);
}
section:nth-of-type(even) {
    background: #06060b;
}

.section-title {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    /* 💡 元は60px/70px/50pxとページごとにバラつきがあったため60pxに統一。
       個別ページで変えたい場合はそのページのstyleで上書きしてください */
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}
.section-title span {
    display: block;
    font-size: 1rem;
    color: #00f0ff;
    font-weight: 400;
    margin-top: 5px;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   2. HEADER
   -------------------------------------------------------------------------- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
}
.logo a { display: block; }
.logo a img { height: 80px; width: auto; display: block; transition: all 0.3s ease; }
.logo a:hover img { filter: drop-shadow(0 0 8px #00f0ff); opacity: 0.9; }
.gnav ul { display: flex; align-items: center; gap: 20px; }
.gnav a { color: #fff; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.03em; }
.gnav a:hover { color: #00f0ff; }
.nav-btn .btn-neon { padding: 10px 22px; font-size: 1.05rem; }

/* ハンバーガー */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px; height: 22px;
    background: transparent; border: none; cursor: pointer;
    padding: 0; z-index: 1100; position: relative;
}
.hamburger-btn span { width: 100%; height: 2px; background-color: #ffffff; transition: all 0.3s ease; }
.hamburger-btn.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); background-color: #00f0ff; }
.hamburger-btn.is-active span:nth-child(2) { opacity: 0; }
.hamburger-btn.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background-color: #00f0ff; }

/* ドロワー */
.sp-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(10, 10, 18, 0.98); backdrop-filter: blur(15px);
    z-index: 1050; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-nav.is-active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sp-nav ul { display: flex; flex-direction: column; align-items: center; gap: 25px; text-align: center; }
.sp-nav a { color: #ffffff; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.05em; }
.sp-nav a:hover { color: #00f0ff; }
.sp-nav-btn { margin-top: 15px; }
.sp-nav-btn .btn-neon { font-size: 1.2rem; padding: 12px 40px; }

body.admin-bar header { top: 32px; }
@media (max-width: 782px) { body.admin-bar header { top: 46px; } }

/* --------------------------------------------------------------------------
   3. FOOTER
   -------------------------------------------------------------------------- */
footer {
    background: #05050a;
    padding: 70px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 1.1rem;
    color: #8a8a9e;
    position: relative;
    z-index: 10;
}
.footer-inner { display: flex; justify-content: space-between; margin-bottom: 40px; }
.footer-logo h2 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin-bottom: 15px;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}
.footer-logo p { color: #8a8a9e; }
.footer-links { display: flex; gap: 60px; }
.footer-nav h4 { color: #fff; margin-bottom: 20px; font-size: 1.15rem; letter-spacing: 0.05em; }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: #8a8a9e; transition: color 0.3s ease; }
.footer-nav a:hover { color: #00f0ff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}
.sns-links { display: flex; gap: 20px; }
.sns-links a { color: #8a8a9e; }
.sns-links a:hover { color: #00f0ff; text-shadow: 0 0 8px #00f0ff; }
.copyright { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; color: #5a5a6e; }

/* --------------------------------------------------------------------------
   4. RESPONSIVE（共通部分のみ。ページ固有のレイアウト崩れ対策は各ページ側のCSSで）
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
    .gnav { display: none !important; }
    .hamburger-btn { display: flex !important; }
    .header-inner { padding: 0 20px; }

    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-links { gap: 40px; justify-content: space-between; }
    .footer-bottom { flex-direction: column-reverse; gap: 20px; text-align: center; }
}
@media (max-width: 640px) {
    /* SITEMAP と RESOURCES を左右2列に並べる。見出しと項目の左端もそろえる */
    .footer-links { flex-direction: row; gap: 24px; }
    .footer-nav { flex: 1 1 auto; min-width: 0; }
    .footer-nav ul { padding-left: 0; font-size: 13px; }
}
@media (max-width: 374px) {
    /* 幅の狭いスマホ（iPhone SE など）でも、項目が2行に折り返さないように */
    .footer-links { gap: 16px; }
}