@charset "utf-8";

/* ====================================
   基本設定
   ==================================== */
* {
    box-sizing: border-box;
}

body {         
    background-color: #FFE9F3;
    text-align: center;
    font-family: "Zen Maru Gothic", serif;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding-top: 60px; /* ヘッダーの高さ分空ける */
}

a {
    color: #7a6eb8;
    transition: 0.3s;
}
a:hover {
    opacity: 0.7;
}

/* ====================================
   ヘッダー & ハンバーガーメニュー
   ==================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-title {
    font-family: "Dela Gothic One", sans-serif;
    font-size: 24px;
    color: #b7abe9;
    margin: 0;
}

/* ナビゲーション（PC用） */
.navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navigation a {
    text-decoration: none;
    font-weight: bold;
    color: #b7abe9;
    font-family: "Dela Gothic One", sans-serif;
}

/* ハンバーガーボタン（デフォルトは非表示、スマホで表示） */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #b7abe9;
    position: absolute;
    transition: 0.3s;
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 11px; }
.hamburger-line:nth-child(3) { bottom: 0; }

/* メニューが開いた時のアニメーション */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}
.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* スマホ用のレスポンシブ設定 */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #FFE9F3;
        transition: 0.4s;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 99;
    }

    .navigation.active {
        right: 0;
    }

    .navigation ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .navigation a {
        font-size: 24px;
    }
}

/* ====================================
   メインコンテンツ
   ==================================== */
h2.heading-40 {
    font-family: "Dela Gothic One", sans-serif;
    display: inline-block;
    margin-top: 60px;
    padding: .5em 1em;
    background-image: linear-gradient(45deg, #b7ade912 25%, transparent 25%, transparent 50%, #b7ade912 50%, #b7ade912 75%, transparent 75%, transparent);
    background-color: #ffffff;
    background-size: 20px 20px;
    color: #b7ade9;
    border-radius: 10px;
}

h3 {
    margin-top: 40px;
    color: #888;
    font-family: "Dela Gothic One", sans-serif;
    font-size: 1.5rem;
}

h4 {
    border-bottom: 6px double #b7abe9;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: #555;
}

.box-003 {
    max-width: 800px;
    width: 90%;
    margin: 20px auto;
    padding: 2em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background-image: linear-gradient(transparent calc(100% - 1px), #e6edf3 50%, #e6edf3), linear-gradient(90deg, transparent calc(100% - 1px), #e6edf3 50%, #e6edf3);
    background-size: 20px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    text-align: left;
}
.box-003.center { text-align: center; }

/* プロフィールなどは中央寄せ */
#about .box-003, #contact .box-003 {
    text-align: center;
}

/* バンド名の修正（文字つぶれ解消） */
.band-name {
    font-family: "Dela Gothic One", serif;
    font-weight: normal; /* 太字解除 */
    color: #b7abe9;
    font-size: 1.4rem;
    letter-spacing: 0.1em; /* 文字間隔 */
    line-height: 1.6;
    display: block;
    margin: 15px 0;
    text-shadow: 2px 2px 0px #fff;
}

.hint-text {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

/* ====================================
   作品画像のスタイル
   ==================================== */
.work-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 5px;
    border: 2px solid #eee;
    margin: 10px 0;
    background: #fff;
}

.work-img.small {
    max-width: 200px;
}

.img-container {
    text-align: center;
}

.sub-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

/* クリック可能な画像のスタイル */
.clickable-img {
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}
.clickable-img:hover {
    transform: scale(1.03);
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(183, 171, 233, 0.4);
}

.link-btn {
    display: inline-block;
    padding: 5px 15px;
    background: #b7abe9;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 10px;
}
.link-btn:hover {
    background: #9d8fd6;
    color: #fff;
}

.skill-list dt {
    font-weight: bold;
    color: #b7abe9;
    margin-top: 15px;
    border-left: 4px solid #b7abe9;
    padding-left: 10px;
}
.skill-list dd {
    margin-left: 15px;
    margin-bottom: 10px;
    font-size: 0.95em;
}

/* ====================================
   フッター
   ==================================== */
.footer-001 {
    margin-top: 60px;
    padding: 40px 10px;
    background-color: #b7abe9;
    color: white;
}
.heading-footer {
    font-family: "Dela Gothic One", sans-serif;
    color: white;
    font-size: 24px;
}
.footer-001__link {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: underline;
}

/* ====================================
   ページトップボタン
   ==================================== */
html { scroll-behavior: smooth; }

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #fff;
    border: solid 2px #b7abe9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    transition: 0.3s;
}
.pagetop:hover {
    background: #b7abe9;
}
.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #b7abe9;
    border-right: 3px solid #b7abe9;
    transform: translateY(20%) rotate(-45deg);
}
.pagetop:hover .pagetop__arrow {
    border-color: #fff;
}

/* ====================================
   モーダル（ポップアップ）
   ==================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    text-align: left;
    box-shadow: 0 0 20px rgba(183, 171, 233, 0.5);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #b7abe9;
    font-family: "Dela Gothic One", sans-serif;
    background: none;
    border: none;
}

.modal-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 2px solid #eee;
}

.modal-title {
    font-family: "Dela Gothic One", sans-serif;
    color: #b7abe9;
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 4px double #b7abe9;
}

.modal-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
}