@charset "UTF-8";
/*
Theme Name: My Custom Theme
*/

/* =========================================
   リセット & 基本設定
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
    color: #001f3f;
    min-height: 100vh;
    padding-top: 80px; /* 通常ページの固定ヘッダー分 */
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: opacity 0.3s; }

/* =========================================
   共通コンポーネント
   ========================================= */
/* =========================================
   紙吹雪（ハート）アニメーション
   ========================================= */
.confetti {
    position: fixed;
    top: -20px;
    z-index: 0;
    pointer-events: none;
    animation: fall-heart linear infinite;
    user-select: none;
    line-height: 1;
    /* font-family の指定行を削除しました */
}

@keyframes fall-heart {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) translateX(25px) rotate(180deg);
    }
    100% {
        transform: translateY(110vh) translateX(-25px) rotate(360deg);
        opacity: 0.6;
    }
}

/* 固定ヘッダー */

.fixed-header {
    position: fixed;
    top: 20px;
    left: 0;
    width: calc(100% - 90px);
    height: 60px;
    background-color: transparent;
    z-index: 900;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 40px;
    pointer-events: none;
}

/* ロゴなどの他のCSSは変更不要なのでそのままでOKです */
.header-logo-img {
    height: 70px;
    width: auto;
    display: block;
    pointer-events: auto;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
}

.hamburger-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    z-index: 999;
    cursor: pointer;
    
    
    /* 1. 背景を強制的に透明にする */
    background: transparent !important;
    background-color: transparent !important;
    
    /* 2. 枠線や影を消す */
    border: none !important;
    box-shadow: none !important;
    
    /* 3. ボタン特有の立体感を消す（スマホ対策） */
    -webkit-appearance: none;
    appearance: none;
    
    /* 4. タップした時の背景色（グレーなど）を消す（スマホ対策） */
    -webkit-tap-highlight-color: transparent;
    
    /* 5. クリック時の青や黒の枠線を消す */
    outline: none;
    

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 6px;
}
.hamburger-btn span {
    display: block;
    width: 100%;
    height: 6px;
    background-color: #FFF;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 10px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.3);
}
.hamburger-btn.active span { 
    background-color: #fff; 
    box-shadow: none;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ナビゲーション */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    min-height: 250px;
    background-color: rgba(70, 93, 170, 0.9);
    z-index: 998;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    visibility: visible; 
    opacity: 1;
}
.global-nav.active { transform: translateY(0); }
.global-nav ul {
    list-style: none;
    width: 80%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 40px;
    text-align: center;
}
.global-nav li { margin: 0; }
.global-nav a {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
    padding: 10px 0;
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
}
.global-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
}
.global-nav a:hover::after { width: 60%; }

/* 暗転オーバーレイ */
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}
.page-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* トップへ戻るボタン */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #001f3f;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 800;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-5px); background-color: #003366; }
.scroll-to-top svg { width: 24px; height: 24px; fill: currentColor; }

/* 共通レイアウト（タイトルエリア） */
.page-title-area {
    text-align: center;
    margin: 50px auto 30px;
    padding: 10px 13px;
    background-color: #ffffff;
    border: 2px solid #001f3f;
    width: fit-content;
    min-width: 300px;
}

.page-title-area .page-title {
    font-size: 4rem; 
    font-weight: 900;
    color: #222222;
    letter-spacing: 0.1em;
    line-height: 1;
}

.page-subtitle {
    font-size: 0.9rem;
    margin-top: 5px;
    color: #666;
    font-weight: 700;
}

/* フッター */
.section.footer-section { background-color: #465DAA	; color: #fff; padding: 0; position: relative; z-index: 2; width: 100%;}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 60px 20px 30px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 50px; }
.footer-brand { margin-bottom: 30px; }
.footer-logo img { width: 400px; max-width: 100%; height: auto; display: block; margin-bottom: 15px;}
.footer-sns { 
	display: flex;
    gap: 15px;
    margin-top: 20px;}
.footer-sns a {
    color: #fff; border: 1px solid rgba(255,255,255,0.3); width: 40px; height: 40px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; transition: all 0.3s;
}
.footer-sns a:hover { background-color: #fff; color: #1a1a1a; }
.footer-sns a svg { width: 18px; height: 18px; fill: currentColor; }
.footer-links { display: flex; gap: 50px; }
.footer-link-group h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.5);
    text-align: left;
    width: 100%;
}
.footer-link-group ul { 
    list-style: none;
    /* ブラウザ標準余白リセット */
    padding: 0; 
    margin: 0; 
}

.footer-link-group li { 
    list-style: none;
    /* 左のインデントを調整 数字をあげるとインデント */
    padding-left: 0; 
    margin-left: 20px;
    text-align: left; 
    /* 項目の間隔を調整*/
    margin-bottom: 12px; 
    /* 行間を調整 */
    line-height: 1.5;
}

/* 最後の項目の下余白を調整*/
.footer-link-group li:last-child {
    margin-bottom: 30px;
}

.footer-link-group a { color: #fff; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 0.5rem; color: rgba(255,255,255,0.4); }
.copyright-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; line-height: 1.4; }


/* =========================================
   ページ専用CSS：参加作家一覧 (page_artists)
   ========================================= */
.artists-container { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 60px 20px 100px;
    position: relative; 
    z-index: 1; 
}
.artists-list { display: flex; flex-direction: column; gap: 0; }
.artist-item { 
    padding: 8px 0 15px; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
    display: flex; flex-direction: column; 
    gap: 5px; 
}
.artist-item:last-child { border-bottom: none; }

.name-row { 
    display: flex; align-items: center; flex-wrap: wrap; gap: 15px;
}
.artist-group { display: flex; flex-direction: column; gap: 7px; }
.work-row { 
    display: flex; align-items: center; flex-wrap: wrap; 
    margin-top: 5px; margin-bottom: 5px; 
    font-size: 1rem; line-height: 1.4; color: #333; 
}
.artist-name { 
    font-size: 2rem; 
    font-weight: 800; 
    color: #001f3f; 
    letter-spacing: 0.07em; 
    padding: 0;        /* 一旦すべて0にする */
	padding: 3px 0 0 0;
}

.artist-name-sub { 
     font-size: 1rem; font-weight: 700; color: #333;
     padding: 0;        /* 一旦すべて0にする */
	 padding:3px 0 0 0;
     }

.honorific { 
	font-size: 0.5em; font-weight: 500; margin-left: 10px; color: #333; }
   
.work-title {
	font-size: 1rem; font-weight: 700; color: #333;
	padding:0px 0 0 0;
    }
    
.publisher-name { font-size: 0.7rem; font-weight: 700; color: #333; }

/* =========================================
   ページ専用CSS：全画面スクロールTOP (front_page)
   ========================================= */
body.home { 
    overflow: hidden; 
    padding-top: 0; 
}
body.home .hamburger-btn span { background-color: #ffffff; }

.scroll-container {
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
}
.scroll-container .section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}
.scroll-container .section.footer-section {
    height: auto; 
    min-height: auto; 
    scroll-snap-align: start;
}

.text-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 20px 5%;

    display: flex;
    justify-content: space-between; /* 左右に離す */
    align-items: flex-end;          /* 下のラインを揃える */
}


/* ページ番号 */
.page-number {
    position: relative; 
    z-index: 10;
    color: #001f3f;
    font-family: "M PLUS 1p", sans-serif;
    display: flex; 
    align-items: baseline; 
    gap: 5px;
    pointer-events: none;
    margin-left: 20px; 
    flex-shrink: 0; /* 画面が狭くなってもページ番号は縮まないようにする */
}

.page-num-current { font-size: 2.5rem; font-weight: 900; line-height: 1; }
.page-num-divider { font-size: 2.5rem; font-weight: 900; }
.page-num-total { font-size: 2.5rem; font-weight: 900; }

.section-link {
    display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
    width: 100%; height: 100%; text-decoration: none; padding-bottom: 12vh;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1; 
}

.section-title {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 3.5rem; font-weight: 800;
    color: #001f3f;
    line-height: 1.4;
    letter-spacing: 0.1em; padding: 0; display: inline-block;
}

/* 背景色設定（パターンC：カラフルなパステルMIX） */
    .scroll-container .section:nth-child(1),
    .scroll-container .section:nth-child(2),
    .scroll-container .section:nth-child(3) {
        background-color: #fff0f5; /* ごく薄いピンク */
        background-image: 
            radial-gradient(#ffb6c1 3px, transparent 3px), 
            radial-gradient(#ffb6c1 3px, transparent 3px);
        background-size: 24px 24px;
        background-position: 0 0, 12px 12px;
        position: relative; /* z-indexを効かせるために必要 */
        z-index: 1;         /* 画像より低い値を設定 */
	}
/* =========================================
   メディアクエリ (レスポンシブ設定)
   ========================================= */

@media (min-width: 769px) {
    .page-title-area { margin-bottom: 90px; }
    .artist-item { padding: 24px 0 45px; }
}

@media (max-width: 768px) {
	.page-title-area .page-title { font-size: 2.5rem; }

    /* ヘッダー */
    .fixed-header { 
        top: 26px; justify-content: center; padding-left: 0; 
        width: calc(100% - 90px); height: 48px;
    }
    .header-logo-img { height: 37px; transform: translateX(6px); }

    /* ナビゲーション */
    .global-nav {
        height: 100%; min-height: auto; transform: translateX(100%);
        transition: transform 0.5s ease;
        display: flex; justify-content: flex-end; align-items: flex-start;
        padding-top: 100px; padding-right: 40px;
        background-color: rgba(70, 93, 170, 0.9);
    }

	.global-nav a {
        color: #fff;
        font-size: 1.2rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        position: relative;
        padding: 10px 0;
        display: block;
        font-family: 'Noto Sans JP', sans-serif;
}

    .global-nav.active { transform: translateX(0); opacity: 1; visibility: visible;}
    .global-nav ul { display: block; text-align: right; gap: 0; width: auto; }

    /* フッター */
    .footer-top, .footer-links { 
        flex-direction: column; align-items: flex-start; text-align: left;
    }
    .footer-links { width: 100%; gap: 30px; }
    .footer-link-group { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; text-align: left; }
    .footer-link-group h3 { text-align: left; width: 100%; }
    .footer-logo img { width: 280px; }
    .footer-link-group:last-child { border-bottom: none; }
    .copyright-list { gap: 5px 12px; font-size: 0.35rem; }

    /* 参加作家ページ */
    .artists-container { padding-top: 40px; }
    .artist-name { font-size: 1.3rem; }
	.artist-name-sub { font-size: 1rem; }
	.honorific { font-size: 0.5em; }
	.work-title { font-size: 1rem; }
	.publisher-name { font-size: 0.7rem; }

   /* TOPページ */
    .section-title { font-size: 1.8rem; }
    .text-content { padding: 20px 5%; }
    .section-logo-img { width: 260px; margin-top: 15px; }
    .page-number { 
        margin-left: 10px;
    }
    .page-num-current, .page-num-divider, .page-num-total { font-size: 1.2rem; }
}

/* =========================================
   画像の出し分け設定
   ========================================= */

/* 基本設定（PC表示）: スマホ画像は隠す */
.sp-img {
    display: none;
}

.pc-img {
    display: block;
}

/* スマホ表示（768px以下）: PC画像は隠して、スマホ画像を出す */
@media (max-width: 768px) {
    .sp-img {
        display: block;
    }
    .pc-img {
        display: none;
    }
}