/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

:root {
    --main-color: #000;
    --text-color: #fff;
    --accent-yellow: #FFD700;
    --service-bg: #fff;
    --service-text: #000;
    --transition: all 0.3s ease;
}

body {
    background-color: #fff;
    color: #000;
    line-height: 1.6;
}

a {
    color: white;
    text-decoration: none;
}

/* ヘッダー */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

#header.scrolled {
    background-color: rgba(0, 0, 0, 1);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

/* ロゴ画像のスタイル */
.logo-image {
    height: 40px;
    width: auto;
    margin-right: 12px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1); /* 白色にする */
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

/* ホバーエフェクト */
.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo:hover .logo-text {
    color: var(--accent-yellow);
}

.nav-pc ul {
    display: flex;
    list-style: none;
}

.nav-pc ul li {
    margin-left: 30px;
}

/* ヘッダーメニューのリンク（初期状態を白に） */
.nav-pc ul li a {
    color: var(--text-color);  /* = 白 */
    position: relative;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ホバー時の黄色文字と下線アニメーション */
.nav-pc ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow); /* 黄色下線 */
    transition: width 0.3s ease;
}

.nav-pc ul li a:hover {
    color: var(--accent-yellow); /* 黄色文字に変化 */
}

.nav-pc ul li a:hover::after {
    width: 100%; /* 下線が表示される */
}


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

.hamburger.active {
    position: fixed;         /* オーバーレイ上に固定表示 */
    top: 16px;
    right: 16px;
  }

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-sp {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}


.nav-sp ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    list-style: none;
}

.nav-sp ul li {
    margin: 15px 0;
}

.nav-sp ul li a {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ハンバーガーメニュー開閉時 */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ヘッダー */
.header {
    background-color: #000;
    color: #fff;
    padding: 80px 0 60px 160px;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.header h2 {
    font-size: 14px;
    font-weight: 400;
}

/* コンテナ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* メンバーグリッド */
.member-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 40px;
}

/* メンバーカード */
.member-card {
    margin-bottom: 40px;
}

.member-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #000;
    margin-bottom: 15px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-image:hover img {
    transform: scale(1.05);
}

.member-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #333;
}

/* ソーシャルアイコン */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 1;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .member-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header {
        padding: 70px 0 40px 40px;
    }

    .header h1{
        font-size: 24px;

    }

    .hamburger {
        display: flex;
    }

    .nav-pc {
        display: none;
    }
}

@media (max-width: 480px) {
    .member-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 70px 0 30px 30px;
    }
}

/* フッターセクション */
.footer-section {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
    font-family: 'Noto Sans JP', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 40px;
}

/* 左側：会社情報 */
.footer-left {
    flex: 1;
    max-width: 400px;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.company-address {
    margin-bottom: 20px;
}

.company-address p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.footer-policy a {
    font-size: 0.9rem;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policy a:hover {
    color: #fff;
}

/* 右側：ナビゲーション（2列構成） */
.footer-right {
    flex: 1;
    display: flex;
    gap: 80px;
    max-width: 500px;
}

.footer-nav-column {
    flex: 1;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list > li {
    margin-bottom: 15px;
}

.footer-nav-list > li > a {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav-list > li > a:hover {
    color: #ccc;
}

/* サブメニュー */
.submenu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.submenu li {
    margin-bottom: 8px;
}

.submenu li a {
    font-size: 0.9rem;
    color: #999;
    text-decoration: none;
    padding-left: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.submenu li a::before {
    content: "└";
    position: absolute;
    left: 0;
    color: #666;
}

.submenu li a:hover {
    color: #ccc;
}

/* フッター下部 */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.copyright {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    text-align: left;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-right {
        flex-direction: column;
        gap: 30px;
        max-width: none;
    }

    .footer-left {
        max-width: none;
    }

    .footer-logo a {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-right {
        gap: 20px;
    }

    .submenu li a {
        padding-left: 10px;
    }
}

/* SPメニューの表示を有効化＆最前面に */
.nav-sp.active {
    display: block;          /* ← これが無いと表示されない */
    opacity: 1;
    visibility: visible;
  }
  
  .nav-sp {
    z-index: 2000;           /* ヘッダー(1000)やプログレスバー(1000)より上に */
  }