/* ==========================================================================
   全体・ヘッダーの基本設定
   ========================================================================== */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #EBF3F9; /* 🐳 背景：淡いパステルブルー */
    color: #203246;            /* ⚓ 文字色：濃いネイビーブルー */
}

/* 固定ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.85); /* 透明感のある白 */
    backdrop-filter: blur(5px);
    z-index: 100;
}
.site-title {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

/* 3本線ボタン */
.menu-btn {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 200;
}
.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #203246;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* スライドメニュー */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: #FFFFFF;
    box-shadow: -2px 0 15px rgba(32, 50, 70, 0.15);
    transition: right 0.3s ease;
    z-index: 150;
    padding-top: 80px;
}
.nav-menu.open {
    right: 0;
}
.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-menu ul li a {
    display: block;
    padding: 18px 30px;
    color: #203246;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #E1EBF4;
}
.nav-menu ul li a:hover {
    background-color: #EBF3F9;
}

/* ==========================================================================
   1. トップエリア（写真を1枚ドン！）
   ========================================================================== */
.hero-section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   2. ギャラリーエリア
   ========================================================================== */
.gallery-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0 80px 0;
}
.gallery-container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* セクションの見出し */
.section-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-align: center;
    color: #3B526B;
}

/* 一番オキニの画像枠 */
.main-display {
    width: 100%;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    
    border: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: 0 6px 20px rgba(32, 50, 70, 0.1);
}
.main-display:hover {
    opacity: 0.9;
    transform: scale(1.01);
}
.main-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3×3の小さい画像グリッド */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
}
.thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    cursor: pointer;
    object-fit: cover;
    transition: transform 0.2s, opacity 0.2s;
    
    border: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 10px rgba(32, 50, 70, 0.08);
}
.thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.03);
}

/* パソコン（PC）用の大画面設定 */
@media screen and (min-width: 768px) {
    .gallery-container {
        max-width: 1200px;
        gap: 30px;
    }
    .section-title {
        font-size: 36px;
        margin-bottom: 25px;
    }
    .thumbnail-grid {
        gap: 15px;
    }
}

/* ==========================================================================
   3. プロフィールエリア（🔴 白枠・白背景カードを完全に消去しました）
   ========================================================================== */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0 120px 0;
}
.profile-container {
    width: 100%;
    max-width: 750px;
    padding: 0 15px;
    box-sizing: border-box;
}

/* プロフィール全体の設定（白背景や影を無くしました） */
.profile-card {
    background-color: transparent; /* 透明に */
    border: none;                  /* 枠をなしに */
    padding: 10px 0;
    text-align: center;
}

.profile-text {
    font-size: 20px; /* 少しだけ文字を大きく見やすく */
    margin: 0 0 15px 0;
}
.font-bold {
    font-weight: 700;
}
.font-regular {
    font-weight: 400;
}

/* カード内の可愛い区切り線 */
.profile-divider {
    width: 40px;
    height: 3px;
    background-color: #AECADF;
    border-radius: 3px;
    margin: 20px auto;
}

.profile-subtext {
    font-size: 14px;
    line-height: 1.8;
    margin: 5px 0;
    color: #4A5E75;
}

/* 追加した連絡先用のスタイル */
.profile-contact {
    font-size: 15px;
    font-weight: 700;
    margin: 8px 0;
    color: #203246;
}

.profile-subtext.note {
    font-size: 13px;
    color: #8397AD;
    margin-top: 25px;
}

/* ==========================================================================
   4. 全画面拡大モーダル
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(174, 214, 241, 0.85); 
    justify-content: center;
    align-items: center;
}
.modal-zoom-img {
    max-width: 85%;
    max-height: 80%;
    object-fit: contain;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 6px 30px rgba(32, 50, 70, 0.2);
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 45px;
    font-weight: bold;
    color: #203246;
    cursor: pointer;
    user-select: none;
}
.close-btn:hover {
    color: #3B526B;
}
