/* Who We Are Index Page Styles - ホームページデザインに統一 */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    position: relative;
}

img {
    width: 100%;
    height: auto;
}

/* ヒーローコンテナ - ホームページと同じ構造 */
.hero-container {
    position: relative;
    width: 100%;
}

/* ハンバーガーメニューボタン（右上配置） */
.hamburger-menu {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.hamburger-menu i {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.hamburger-menu.active {
    background: rgba(255, 102, 0, 0.9);
    border-color: #ff6600;
}

.hamburger-menu.active i {
    color: white;
    transform: rotate(90deg);
}

/* ハンバーガーメニューナビゲーション */
.hamburger-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    transition: left 0.3s ease;
    padding-top: 80px;
    backdrop-filter: blur(10px);
}

.hamburger-nav.active {
    left: 0;
}

.hamburger-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hamburger-menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hamburger-menu-list li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.hamburger-menu-list li a:hover {
    background-color: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
}

.hamburger-menu-list li a.active {
    color: #ffcc00;
    background-color: rgba(255, 204, 0, 0.1);
}

/* ロゴ - ホームページと同じ位置 */
.logo {
    position: absolute;
    top: 10px;
    left: 20px;
    height: 100px;
    width: auto;
    z-index: 10;
}

/* ヒーロータイトル - 画像上に配置 */
.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 15;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px 60px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.hero-title h1 {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title p {
    font-size: 20px;
    color: #ffcc00;
    margin: 0;
    font-weight: normal;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* メインコンテンツ */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 地域グリッド */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* 地域カード */
.region-card {
    background-color: #222;
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.region-card:hover {
    background-color: #333;
    border-color: #ffcc00;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.2);
}

/* 地域タイトル */
.region-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffcc00;
    position: relative;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.region-title:hover {
    color: #ffcc00;
}

/* 地域別の色分け */
.region-hokkaido .region-title {
    border-bottom-color: #ff6b6b;
}

.region-tohoku .region-title {
    border-bottom-color: #ffa726;
}

.region-kanto .region-title {
    border-bottom-color: #66bb6a;
}

.region-chubu .region-title {
    border-bottom-color: #ab47bc;
}

.region-kansai .region-title {
    border-bottom-color: #26c6da;
}

.region-chugoku .region-title {
    border-bottom-color: #78909c;
}

.region-shikoku .region-title {
    border-bottom-color: #ff8a65;
}

.region-kyushu .region-title {
    border-bottom-color: #ba68c8;
}

/* 都道府県グリッド */
.prefectures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

/* 都道府県アイテム */
.prefecture-item {
    background-color: #333;
    padding: 15px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.prefecture-item:hover {
    background-color: #ffcc00;
    color: #000;
    border-color: #ffcc00;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.prefecture-item:active {
    transform: scale(0.98);
}

/* フッター */
.footer {
    background-color: #000 !important;
    padding: 40px 0;
    border-top: 2px solid #333;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-text {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-title h1 {
        font-size: 36px;
    }

    .hero-title p {
        font-size: 16px;
    }

    .hero-title {
        padding: 30px 40px;
    }

    .main-container {
        padding: 40px 15px;
    }

    .regions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .region-card {
        padding: 25px 20px;
    }

    .region-title {
        font-size: 24px;
    }

    .prefectures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .prefecture-item {
        padding: 12px 8px;
        font-size: 13px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu li a {
        font-size: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 28px;
    }

    .hero-title p {
        font-size: 14px;
    }

    .hero-title {
        padding: 20px 30px;
    }

    .prefectures-grid {
        grid-template-columns: 1fr;
    }

    .region-title {
        font-size: 20px;
    }

    .prefecture-item {
        padding: 15px 10px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu li a {
        font-size: 14px;
    }
}

/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.region-card {
    animation: fadeInUp 0.6s ease-out;
}

.region-card:nth-child(1) { animation-delay: 0.1s; }
.region-card:nth-child(2) { animation-delay: 0.2s; }
.region-card:nth-child(3) { animation-delay: 0.3s; }
.region-card:nth-child(4) { animation-delay: 0.4s; }
.region-card:nth-child(5) { animation-delay: 0.5s; }
.region-card:nth-child(6) { animation-delay: 0.6s; }
.region-card:nth-child(7) { animation-delay: 0.7s; }
.region-card:nth-child(8) { animation-delay: 0.8s; }

/* ローディング状態 */
.loading {
    opacity: 0;
}

.loaded {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}