/* 基本設定 */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    /* --main-bg: #ebebeb; */
    --main-bg: #f9f8f4;
    --text-color: #111;
    --accent-color: #d1b17c;
    --dummy-color: #cccccc;
}

html {
    /* 常にスクロールバーの領域を確保しておくことで、
       overflow: hidden に切り替わった時の横ズレを最小限にします */
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Kiwi Maru', 'Noto Serif JP', serif;
    background-color: var(--main-bg);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    padding-right: 0 !important; /* スクロール禁止時の強制パディングを防ぐ */
}
/* --- Top News Bar --- */
.top-news-bar {
    width: 100%;
    background-color: #111;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 10; /* 最前面 */
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.news-track {
    display: flex;
    white-space: nowrap;
    animation: marquee-top 20s linear infinite;
}

.news-track span {
    margin-right: 50px;
}

@keyframes marquee-top {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* --- ハンバーガーメニュー --- */
.menu-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 2100; /* メニュー(2000)より上に配置 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s;
}

/* メニューが開いているときはボタンの背景を少し出すと操作しやすくなります */
.menu-btn.open {
    background: rgba(130, 31, 0, 0.1); 
}
.menu-btn span {
    width: 25px;
    height: 2px;
    background: #821f00;
    margin: 3px 0;
    transition: 0.3s;
}
.menu-btn.open span {
    background: #821f00; 
}
.menu-btn.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* style.css */

/* 初期状態：画面の上に隠しておく */
.sticky-icon {
    position: fixed;
    top: -85px; /* 最初は画面外 */
    left: 50%;
    transform: translateX(-50%);
    width: 257px; /* 小さくしたサイズ */
    height: auto;
    z-index: 2000;
    transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;/* 弾むような動き */
    pointer-events: none; /* クリックを邪魔しない */
    mix-blend-mode: difference; /* 差の絶対値 */
    filter: invert(1);
}

.sticky-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

/* クラスがついた時に表示される */
.sticky-icon.is-active {
    top: 9px; /* 画面内に降りてくる */
}
.nav-menu {
    position: fixed;
    top: 0;
    left: 0; /* rightではなくleft固定 */
    width: 100%;
    height: 100vh;
    background: rgba(253, 250, 245, 0.98); 
    z-index: 2000;
    
    /* right: -100% の代わりに transform を使用（これが滑らかさの肝です） */
    transform: translateX(100%); 
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); /* より滑らかなイージング */
    
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.nav-menu.active { transform: translateX(0); }
.nav-menu ul { list-style: none; padding: 0; text-align: center; }
.nav-menu ul li { 
    margin: 40px 0; 
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
 }
.nav-menu ul li:nth-child(1) { transition-delay: 0.1s; }
.nav-menu ul li:nth-child(2) { transition-delay: 0.2s; }
.nav-menu ul li:nth-child(3) { transition-delay: 0.3s; }

.nav-menu.active ul li {
    opacity: 1;
    transform: translateY(0);
    /* transition-delay: 0.4s; */
}
.nav-menu a { text-decoration: none; color: var(--text-color); font-size: 2.5rem; font-weight: bold; position: relative; }
.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    /* background: var(--accent-color); */
    background: #821f00;
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* --- ヘッダー（アイコン） --- */
header {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}
.header-left {
    position: relative;
    z-index: 1001; /* ローダーよりは下、通常のセクションよりは上 */
}
.profile-thumb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #821f00;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1002;
}

.profile-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* --- ヒーローセクション装飾 --- */

.hero {
    height: calc(100vh - 100px); 
    max-height: 800px; /* 大きなモニターでも広がりすぎないように制限 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 中身を上下中央に */
    align-items: center;
    overflow: hidden; /* はみ出し防止 */
    padding: 20px;
    /* background-color: #821f00; */
}

.hero h1 { font-size: 4rem; margin-bottom: 10px; }
.hero p{color: #821f00;}


/* ヘッダーの中央配置 */
/* --- POPEYE Header & Overlap Layout --- */

.popeye-header-main {
    width: 100%;
    padding: 40px 0 20px; /* 上に十分な余白 */
    text-align: center;
    position: relative;
    z-index: 100; /* 画像より上にくるように */
}

.popeye-logo-img {
    width: 80%;
    max-width: 700px; /* ロゴの表示サイズ調整 */
    height: auto;
    /* display: inline-block; */
    display: block;              /* ブロック要素にする */
    margin: 0 auto;
    transform: translateX(-21px);
}

/* 画像セクションをロゴに食い込ませる */
.hero-overlap {
    margin-top: -80px; /* ここでロゴの下部に画像を潜り込ませる */
    position: relative;
    z-index: 20;
    padding: 0 5% 10px;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-img-box {
    width: 100%;
    height: 70vh; /* 画面の高さに収める調整 */
    max-height: 600px;
    border: 2px solid #333; /* 雑誌の枠線のような効果 */
    overflow: hidden;
    background-color: #ccc;
    box-sizing: border-box;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠いっぱいに綺麗に表示 */
}

/* スマホ用の調整 */
@media (max-width: 768px) {
    /* .popeye-header-main { padding: 40px 0 10px; } */
    .hero-overlap { margin-top: -40px; }
    .hero-img-box { height: 50vh; }
}
/* 右端 Follow us */
.hero-follow {
    position: fixed;
    /* 1. ハンバーガーメニューの中心（右端から60px）に配置 */
    right: 30px; 
    top: 50%;
    /* 2. translateは上下中央揃え(-50%)のみにし、左右は left: 50% 的な考え方で固定 */
    transform: translateY(-50%);
    /* 3. 縦書きモードを解除（これがズレの最大の原因です） */
    writing-mode: horizontal-tb;
    /* 4. フレックスボックスで「垂直方向」に「中央揃え」で並べる */
    display: flex;
    flex-direction: column;
    align-items: center; /* これでテキストとアイコンが一直線になります */
    gap: 20px;
    z-index: 1000;
    /* 要素自体の幅を0にして、中心線を right: 60px に一致させる */
    width: 0; 
    white-space: nowrap;
    transition: opacity 0.3s ease; /* 消えるアニメーション */
}

body.menu-open .hero-follow {
    opacity: 0;
    pointer-events: none;
}
.hero-follow span{
    color: #821f00;
    font-weight: bold;
    /* 5. 文字を1文字ずつ縦に並べるための設定 */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
    margin: 0;
}

.hero-content {
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

/* ヘッダー画像のサイズ制限 */
.hero-content img {
    max-width: 100%;    /* 横幅がはみ出さないように */
    max-height: 60vh;   /* 画面の高さの60%までに抑える（重要！） */
    object-fit: contain; /* アスペクト比を維持して収める */
    margin-bottom: 20px;
}

/* タイポグラフィの調整 */
.hero-title {
    font-size: clamp(2rem, 8vw, 5rem); /* 画面サイズに合わせて可変 */
    line-height: 1;
    margin: 10px 0;
}
.hero-content h1{
    color: #821f00;
    height: 100%;
}
.sns {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 縦書きのラインからずれないようマージンをリセット */
    margin: 0;
}
.sns img{
    width: 100%;  /* 円に対して少し余白を持たせると綺麗です */
    height: 100%;
    object-fit: contain;
    
}
/* 左下 縦書き */
.hero-bottom-left {
    position: absolute;
    left: 30px;
    bottom: 50px;
    writing-mode: vertical-rl;
    z-index: 100;
    text-orientation: upright;
}
.hero-caption1{
    font-size: 1.15rem; 
    line-height: 1.8;
    font-family: 'Kiwi Maru', serif; 
    color: #821f00; 
    letter-spacing: 0.2em;
    font-feature-settings: "palt";
    background-color: #f9f8f4;
}
/* 右下 横書き */
.hero-bottom-right {
    position: absolute;
    right: 18px;
    bottom: 65px;
    text-align: right;
    line-height: 1.6;
    z-index: 100;
}
.hero-caption2 {
    font-size: 1.2rem;       /* サイズ感：少し主張させる */
    font-weight: 500;        /* 太さ：細すぎず太すぎず */
    line-height: 1.8;        /* 行間：ゆったりと */
    font-family: 'Kiwi Maru', serif; /* フォント：丸明朝で「人間味」を */
    color: #821f00;          /* 色：アクセントカラー */
    letter-spacing: 0.1em;   /* 文字間隔：少し広げて読みやすく */
    font-feature-settings: "palt";
    margin: 0;
    background-color: #f9f8f4;
}
@media (max-width: 768px) {
/* キャプションの位置調整 */
    .hero-bottom-left {
        left: -6px;
        bottom: 121px;
        /* display: flex; */
    }
    .hero-caption1{
        font-size: 0.8rem;
        /* padding-bottom: 20px; */
    }
    .hero-bottom-right {
        right: -1px;
        bottom: 48px;

    }
    .hero-caption2{
        font-size: 1rem;
    }
}

/* たいやきアニメーション */
.swimming-object {
    width: 120px;
    height: 80px;
    background-image: url(images/754d1dbb1962bf485d04a998c60dbc25.jpeg);
    background-size: cover;
    position: absolute;
    bottom: 25%;
    left: -150px;
    border-radius: 50% 50% 40% 40%;
    animation: swim 12s linear infinite;
}

@keyframes swim {
    0% { left: -150px; transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
    100% { left: 110%; transform: translateY(0) rotate(0); }
}



/* セクション間の固定背景エリア */
.fixed-bg-section {
    height: 500px; /* 少し高めにすると演出が映えます */
    background-image: url('images/film2.jpg'); /* 背景画像 */
    background-attachment: fixed;
    background-size: contain;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    overflow: hidden;
    /* JSで操作するので初期値は0付近にするか、JSに任せる */
    opacity: 0; 
    /* transition: opacity 0.1s linear; */
    will-change: opacity;
}
/* パララックス画像だけは、遅延（時間差）なしで即座に反応させる */
#parallaxSection {
    transition: opacity 0.1s linear !important;
}
/* .fixed-bg-content p {
    color: rgb(0, 0, 0);
    background-color: #fff;
    font-size: 2rem;
    letter-spacing: 0.3em;
    font-family: 'Kiwi Maru', serif;   
} */
/* モバイル端末では background-attachment: fixed が重い・動かない場合があるための対策 */
@media (max-width: 768px) {
    .fixed-bg-section {
        background-attachment: scroll;
        height: 250px;
    }
}

/* マーキー全体のコンテナ */
.marquee-container {
    width: 100%;
    overflow: hidden; /* はみ出た文字を隠す */
    background-color: #fff; 
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 15px 0;
    margin-top: 50px;
    margin-bottom: 20px; /* Aboutとの間隔 */
    transform: rotate(-1deg);
    z-index: 10;
}
@media (max-width: 768px) {
    .marquee-container {
        margin-top: 65px; /* スマホならこれくらいが適当 65 */
    }
}
/* 流れる中身 */
.marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee-infinite 55s linear infinite; /* 30秒で一周 */
}

.marquee-content span {
    font-family: 'Kiwi Maru', serif;
    font-size: 1rem;
    font-weight: 500;
    margin-right: 50px; /* 文言の間の余白 */
    letter-spacing: 0.05em;
    color: #221a68;
}
@media (max-width: 768px){
    .marquee-content{
        animation: marquee-infinite 55s linear infinite; 

    }
    .marquee-content span{
        font-size: 0.8rem;
    }
}

/* 右から左へ流れるアニメーション */
@keyframes marquee-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* コンテンツの半分（繰り返し分）まで来たら戻る */
    }
}

/* マウスを乗せた時に少しゆっくりにする演出（お好みで） */
.marquee-container:hover
.marquee-content {
    animation-play-state: paused;
}
.marquee2-container {
    width: 100vw;
    transform: translateX(-50%);
    margin-left: calc(50% - 50vw);
    overflow: hidden; /* はみ出た文字を隠す */
    background-color: #fff; 
    border-top: 0.5px solid #333;
    border-bottom: 0.5px solid #333;
    padding: 15px 0;
    margin-top: 15px;
    margin-bottom: 20px; /* Aboutとの間隔 */
    transform: rotate(3deg);
    z-index: 10;
}

/* --- Opening Loader Styles --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1); /* 上にスライドして消える */
}

/* 読み込み完了後のアニメーション */
#loader.loaded {
    transform: translateY(-100%);
}

.loader-logo {
    width: 250px; /* ロゴのサイズはお好みで */
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.95);
    animation: loader-fade-in 1s ease forwards 0.2s;
}

.loader-logo img {
    width: 100%;
    height: auto;
}

/* 線（プログレスバー）のコンテナ */
.loader-line-container {
    width: 200px;
    height: 1px;
    background: rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* 線が伸びるアニメーション */
.loader-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #333; /* 線の色 */
    animation: line-grow 1.8s ease-in-out forwards;
}

.loader-text {
    margin-top: 15px;
    font-size: 0.6rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #999;
    text-transform: uppercase;
}

@keyframes loader-fade-in {
    to { opacity: 1; transform: scale(1); }
}

@keyframes line-grow {
    0% { width: 0; left: 0; }
    50% { width: 100%; left: 0; }
    /* 最後に少し加速して終わる感じ */
    100% { width: 100%; left: 0; }
}

/* コンテンツ側の制御：最初は隠しておく */
body:not(.is-loaded) > *:not(#loader) {
    opacity: 0;
    visibility: hidden;
}

/* 読み込み完了後 */
body.is-loaded > *:not(#loader) {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease 0.5s;
}

/* about */
/* --- Magazine Profile Style --- */

#about {
    /* 背景パターンは削除し、白場を活かす */
    background: transparent;
    padding: 100px 0;
}

.about-header-line {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    font-family: 'Noto Serif JP', serif;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 900;
    white-space: nowrap;
    margin-right: 20px;
    letter-spacing: 0.1em;
}

.section-deco-line {
    width: 100%;
    height: 1px;
    background-color: #333;
}

/* グリッドレイアウト */
.magazine-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* 写真 1 : 文章 1.5 */
    gap: 60px;
    align-items: start;
}

/* 左：写真エリア */
.profile-visual {
    position: relative;
    text-align: center;
}

.img-frame {
    /* 写真をポラロイドや切り抜きではなく、しっかりとした矩形で */
    border: 1px solid #333;
    padding: 10px;
    background: #fff;
    /* 少しだけ傾けて「置かれた写真」感を出す */
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.img-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.portrait {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%); /* モノクロにしてクールに */
    transition: filter 0.5s ease;
}

/* ホバーでカラーに戻る演出 */
.img-frame:hover .portrait {
    filter: grayscale(0%);
}

.handwritten-caption {
    font-family: 'Gochi Hand', cursive;
    font-size: 1.7rem;
    color: #821f00;
    position: absolute;
    bottom: -30px;
    right: -20px;
    transform: rotate(-5deg);
    line-height: 1.2;
}
@media (max-width: 768px){
    .handwritten-caption{
        font-size: 1.2rem;
    }
}

/* 右：テキストエリア */
.profile-content {
    padding-top: 10px;
}

.editor-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.jp-name {
    display: block;
    font-size: 1rem;
    margin-top: 10px;
    font-weight: normal;
    font-family: 'Noto Serif JP', serif;
    color: #666;
}

.editor-bio {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 40px;
    text-align: justify; /* 両端揃えで雑誌本文っぽく */
}

/* スペック表スタイル */
.specs-container {
    border-top: 2px solid #333;
    padding-top: 20px;
}

.specs-title {
    font-size: 0.7rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

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

.specs-list li {
    display: flex;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-family: 'Oswald', sans-serif; 
    font-weight: 500; /* 数字がクッキリ見える太さ */
    letter-spacing: 0.05em;
    font-size: 1.1rem;
}

.spec-label {
    width: 50px;
    font-weight: bold;
    color: #821f00;
}

.spec-value {
    flex: 1;
    font-size: 0.9rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .magazine-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .editor-name {
        font-size: 2.2rem;
    }
}



/* --- WORKS POPEYE MAX COPY STYLE --- */
/* --- WORKS POPEYE WEB STYLE (REFORMED) --- */

/* 外枠の設定（既存維持） */
.works-outer-frame {
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid #333;
    border-radius: 20px; /* 角丸を少し小さくしてWebサイトっぽく */
    background-color: #fff;
    padding: 50px 40px;
    position: relative;
    box-shadow: 10px 10px 0 rgba(0,0,0,0.05); /* 影をつけて立体感を出す */
}
.circular-marquee text {
    font-family: 'Kiwi Maru', serif;
    /* font-size: 8.5px; */
    font-size: 7.5px; /* ← 8.5pxだと少し大きいので、7.5pxくらいが上品です */
    font-weight: bold;
    fill: #362ea9;
    /* letter-spacing: 2px; */ 
    letter-spacing: 0px; /* ← textLengthを使う場合、ここは0pxにするか削除した方がブラウザ計算と喧嘩しません */
}
/* ヘッダーエリア */
.works-header-area {
    text-align: center;
    margin-bottom: 40px;
}

.works-main-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1;
    border-bottom: none; /* 下線を消す */
    display: block;
}

.works-subtitle {
    font-size: 0.8rem;
    color: #821f00;
    font-weight: bold;
    margin-top: 10px;
    letter-spacing: 0.1em;
}

/* グリッドレイアウト */
.popeye-index-grid {
    display: grid;
    /* 画面幅に応じてカラム数を自動調整（最小260px） */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px; /* カード間の余白 */
    margin-bottom: 40px;
}

/* カードスタイル */
.popeye-index-card {
    display: flex;
    flex-direction: column;
}

.card-link {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    
}

/* ビジュアル（画像）エリア */
.card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2; /* 写真の比率を固定（POPEYE風） */
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #333; /* 画像に細い枠線 */
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ホバー時に画像をズーム */
.card-link:hover .card-img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: #f1e05a; /* POPEYEらしいイエロー */
    color: #111;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 6px 12px;
    letter-spacing: 0.1em;
    z-index: 2;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    font-family: 'Noto Serif JP', serif; /* あえて明朝やSerifにする */
}
.card-visual::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 半透明の黒で少しトーンを落とす */
    background: rgba(0,0,0,0.05);
    pointer-events: none;
    z-index: 1;
}
/* テキスト情報エリア */
.card-info {
    padding: 0 5px;
}

.card-date {
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 8px;
    font-family: 'Kiwi Maru', serif;
}

.card-title {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Noto Serif JP', serif; /* 明朝体で雑誌感を出す */
    font-weight: 700;
    transition: color 0.3s;
}

/* ホバー時にタイトルの色を変える */
.card-link:hover .card-title {
    color: #821f00;
    text-decoration: underline;
}

/* フッター（View Allボタン） */
.works-footer {
    text-align: center;
    margin-top: 20px;
}

/* 既存の .view-more スタイルを少し調整 */
.view-more {
    display: inline-block;
    font-weight: 900;
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s;
    background: #fff;
    font-size: 0.9rem;
}

.view-more:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .popeye-index-grid {
        gap: 30px;
        grid-template-columns: 1fr; /* スマホでは1列 */
    }
    .works-main-title {
        font-size: 2rem;
    }
}
/* --- TOPページのContactセクション調整 --- */
#contact,
#contact-page{
    background-image: url(images/film.JPG);
    background-repeat: no-repeat;
    background-size: cover;
    /* opacity: 0.8; */
    position: relative;
}
.contact-index-box {
    background-color: #fff;
    padding: 60px;
    position: relative;
    border: 2px solid #333; /* 他の枠より少し強調 */
    box-shadow: 10px 10px 0px rgba(0,0,0,0.05);
}


.contact-flex-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.pop-badge-small {
    position: absolute;
    top: 0px;
    right: 40px;
    background: #f1e05a;
    border: 2px solid #333;
    padding: 10px 20px;
    font-weight: 900;
    font-size: 0.8rem;
    transform: rotate(5deg);
}

.link-btn {
    display: flex;
    text-decoration: none;
    margin-top: 30px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .contact-flex-layout {
        flex-direction: column;
        text-align: center;
    }
    .pop-submit-btn {
        justify-content: center;
        gap: 20px;
    }
}

/* --- Magazine Footer Style (New) --- */
.site-footer {
    background-color: #fff;
    /* 上のボーダーを二重線にして雑誌感を出す */
    border-top: 4px double #333; 
    padding-top: 80px;
    margin-top: 100px;
    color: #111;
}

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

.footer-col {
    flex: 1;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'Noto Serif JP', serif; /* 明朝体でシックに */
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #821f00;
    text-decoration: underline;
}

.info-col .footer-address {
    font-size: 0.85rem;
    line-height: 1.8;
    font-family: 'Noto Serif JP', serif;
}

/* 巨大ロゴエリア */
.footer-bottom-area {
    border-top: 1px solid #333;
    text-align: center;
    padding-bottom: 20px;
    overflow: hidden; /* はみ出し防止 */
}

.big-footer-logo {
    font-family: 'Gochi Hand', cursive; /* 手書き風フォントか、太いゴシックで */
    font-size: 15vw; /* 画面幅に合わせて巨大化 */
    line-height: 1.4;
    color: #333;
    opacity: 0.1; /* 薄くして背景っぽく */
    margin-top: -3vw; /* 少し上に食い込ませる */
    margin-bottom: -2vw;
    pointer-events: none;
    user-select: none;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 10;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 50px;
    }
    .footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .big-footer-logo {
        font-size: 25vw; /* スマホだともっと大きく */
        margin-top: 0;
    }
}

/* --- Record Widget Style --- */
.record-widget-wrapper {
    position: fixed;
    bottom: 20px; /* 下からの距離 */
    right: 20px;  /* 右からの距離 */
    width: 140px; /* 少し小さめにリサイズ */
    height: auto;
    z-index: 1500; /* コンテンツより上、メニューより下 */
    /* マウスを乗せた時にちょっと拡大 */
    transition: transform 0.3s ease;
    transform: translateX(200%);
    opacity: 0;
    /* 2. 動きをヌルッとさせる設定 */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275)!important;;
    cursor: pointer;
}
.record-widget-wrapper.is-active {
    transform: translateX(0);
    opacity: 1;
}
.record-widget-wrapper.is-active:hover {
    transform: scale(1.1); /* 出てきた後は拡大できるように */
}
@media (max-width: 768px) {
    .record-widget-wrapper {
        width: 90px;
        bottom: 20px;
        right: 15px;
    }
    .music-bubble {
        display: none;
    }
    /* 3. 「押した感」を出す（タップした瞬間にギュッと縮む演出） */
    .record-widget-wrapper:active {
        transform: scale(0.95) !important;
        transition: transform 0.1s;
    }
    /* 4. 針のサイズも微調整 */
    .record-needle {
        bottom: -5px;
        right: -10px;
    }
}
.record-widget-wrapper:hover {
    transform: scale(1.1);
}
/* 逆回転（バックスピン）用のアニメーションクラス */
.record-disk.is-rewinding {
    animation: rewind-spin 0.5s linear infinite !important; /* 既存の回転を上書き */
}

@keyframes rewind-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); } /* マイナスで逆回転 */
}
.record-widget-wrapper:hover .music-text::after {
    content: "\A (逆再生/Click to Top)";
    white-space: pre;
    font-size: 0.8em;
    opacity: 0.7;
}
/* 既存クラスの調整（上書き） */
.record-player-obj {
    margin: 0 !important; /* Aboutでのマージンをリセット */
    width: 100%;
    height: auto;
}

/* 針の位置調整（サイズ変更に合わせて微調整が必要かも） */
.record-needle {
    width: 45%;
    bottom: -10px;
    right: -20px;
}

/* おまけ：吹き出しのスタイル */
.music-bubble {
    position: absolute;
    top: -72px;
    right: 10px;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}
/* 吹き出しのしっぽ */
.music-bubble::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 20px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
}

/* ホバーで吹き出しを表示 */
.record-widget-wrapper:hover .music-bubble {
    opacity: 1;
    transform: translateY(0);
}
/* --- Missing Record Styles (復活させる設定) --- */

/* レコード画像のサイズを強制的に枠に合わせる */
.record-wrap {
    width: 100%;
    position: relative;
    line-height: 0; /* 画像下の隙間を消す */
}

.record-disk {
    width: 100%;
    height: auto;
    border-radius: 50%;
    /* 回転アニメーション */
    animation: rotate-record 10s linear infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* 針の配置設定 */
/* teststyle.cssの下の方にある .record-needle に position: absolute が足りていませんでした */
.record-needle {
    position: absolute !important; /* 強制的に重ねる */
    z-index: 10;
    /* 位置の微調整（既存の記述と合わせて調整） */
    width: 45%;
    bottom: -10px;
    right: -20px;
    pointer-events: none; /* クリックを邪魔しない */
}

/* 回転アニメーションの定義 */
@keyframes rotate-record {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .header-left{
        left: -12px;
    }
    .menu-btn{
        right: 7px;
    }
    .profile-thumb{
        width: 65px;
        height: 65px;

    }
    /* 1. ヒーローセクションの中央揃えを解除し、上詰めに変更 */
    .hero {
        justify-content: flex-start; 
        padding-top: 0px; /* ★ここを調整して、ロゴの開始位置（高さ）を決めてください */
        height: auto; 
        min-height: 80vh; 
    }
    /* 2. ロゴ自体の余計な上余白をリセット */
    .popeye-header-main {
        padding-bottom: 61px; /* 画像との距離感はここで調整 */
        padding-top: 19px;
        transform: translateX(6px);
    }
    /* （もし以前の記述で margin-top が残っていたらリセット） */
    .hero-overlap {
        margin-top: 0;
    }

    /* コンテナの余白を広げる */
    .container {
        padding: 60px 20px; /* 上下60px, 左右20px */
        max-width: 100%;
    }

    /* 作品詳細（Works）の外枠も広げる */
    .works-outer-frame {
        padding: 40px 20px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 50px;
        /* ↓ これが重要！左寄せ設定を中央に変更 */
        align-items: center; 
        text-align: center;
    }
    
    .footer-col {
        width: 100%; /* 幅を広げて中央揃えを有効に */
    }

    /* 巨大ロゴのサイズ調整 */
    .big-footer-logo {
        font-size: 20vw; /* 少し控えめに */
        margin-top: 0;
        margin-bottom: 10px;
    }
    
    /* コピーライトも縦並びにして中央へ */
    .footer-copyright {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding-bottom: 40px; /* 下に余裕をもたせる */
    }
    /* Aboutグリッドを縦並びに */
    .magazine-profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* 写真エリアを中央寄せ */
    .profile-visual {
        margin: 0 auto;
        max-width: 300px; /* 写真がデカすぎないように制限 */
    }

    /* テキストエリアも中央寄せ */
    .profile-content {
        text-align: center;
    }

    /* 本文だけは読みやすく「左揃え」か「両端揃え」のままにする */
    .editor-bio {
        text-align: justify; 
        margin: 0 20px 5px 20px;
    }
    
    /* スペック表の文字サイズ調整 */
    .specs-list li {
        font-size: 1rem;
    }
    /* hero */
    /* ロゴ周りの余白調整 */
    

    /* 追従アイコン（kawano magazineロゴ）を少し小さく */
    .sticky-icon {
        width: 120px; 
    }

    /* 右端のFollow usはスマホでは消す（または下部に移動） */
    /* 画面が狭くなるので非表示にするのが一般的です */
    .hero-follow {
        display: none; 
    }

    
}

/* --- Bio Modal Style (Magazine Column Taste) --- */

/* 続きを読むボタン（リンク風） */
.read-more-trigger {
    display: block;        /* ブロック要素にして改行させる */
    width: fit-content;    /* 幅を文字数に合わせる（重要：これで下線が伸びすぎるのを防ぐ） */
    margin-left: auto;     /* 左側の余白を自動で埋める＝右寄せになる */
    margin-top: 15px;
    font-weight: 900;
    color: #821f00; /* アクセントカラー */
    cursor: pointer;
    border-bottom: 2px solid #821f00;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    line-height: 1.2;
    transition: all 0.3s;

}
.read-more-trigger:hover {
    background-color: #821f00;
    color: #fff;
    padding: 0 5px;
}
@media (max-width: 768px){
    .read-more-trigger{
        margin-bottom: 30px;
    }
}

/* モーダル背景（オーバーレイ） */
.bio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.85); /* 濃いめの黒背景 */
    z-index: 9999; /* 最前面 */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

/* 表示時のクラス */
.bio-modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* モーダル本体（紙っぽいデザイン） */
.bio-modal-paper {
    background-color: #f9f8f4; /* サイト背景と同じクリーム色 */
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    padding: 50px 40px;
    border: 2px solid #333;
    position: relative;
    transform: translateY(20px) rotate(-1deg); /* 少し傾けて雑誌っぽく */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto; /* スマホで縦長になったらスクロール */
    box-shadow: 15px 15px 0 rgba(0,0,0,0.5); /* 濃い影 */
}

.bio-modal-overlay.is-open .bio-modal-paper {
    transform: translateY(0) rotate(-1deg);
}

/* 閉じるボタン */
.bio-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: 2px solid #333;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
    color: #333;
}
.bio-modal-close:hover {
    background: #333;
    color: #fff;
    transform: rotate(90deg);
}

/* 中身の装飾 */
.bio-column-tag {
    display: inline-block;
    background: #333;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 4px 10px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.bio-modal-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    line-height: 1.4;
    margin: 0 0 30px 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.bio-modal-text p {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
}
.bio-modal-img img{
    height: 40vh;
}
/* 署名エリア */
.bio-modal-sign {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 40px;
    gap: 15px;
}
.bio-modal-sign img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #333;
    filter: grayscale(100%);
}
.bio-modal-sign span {
    font-family: 'Gochi Hand', cursive;
    font-size: 1.5rem;
    color: #821f00;
}
/* --- 新規：モーダル内のQ&Aスタイル（雑誌インタビュー風） --- */
.bio-qa-list {
    margin-top: 30px;
    border-top: 1px solid #333; /* 区切り線 */
    padding-top: 20px;
}

.bio-qa-item {
    margin-bottom: 25px;
}

.bio-q {
    font-family: 'Kiwi Maru', serif;
    font-weight: bold;
    color: #821f00;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.bio-q::before {
    content: "Q.";
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-right: 10px;
    line-height: 1;
    color: #333;
}

.bio-a {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 35px; /* Qの文字分インデント */
    color: #111;
    text-align: justify;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .bio-modal-paper {
        padding: 40px 25px;
        width: 95%;
        transform: translateY(20px) rotate(0deg); /* スマホでは傾きなし */
    }
    .bio-modal-overlay.is-open .bio-modal-paper {
        transform: translateY(0) rotate(0deg);
    }
    .bio-modal-title {
        font-size: 1.5rem;
    }
}




/* --- 以下、共通レイアウト --- */
.container { padding: 100px 10%; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2.5rem; border-bottom: 2px solid var(--accent-color); display: inline-block; margin-bottom: 50px; }
.dummy-img { background-color: var(--dummy-color); display: flex; align-items: center; justify-content: center; }
.about-flex { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.profile-img { background-image: url(images/pro.jpg); background-size: cover; width: 300px; height: 300px; border-radius: 50%; }
.works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.work-thumb { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; transition: transform 0.3s ease; }
.work-item:hover .work-thumb { transform: scale(1.05); }
.contact-box { text-align: center; background: #fff; padding: 60px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.btn { display: inline-block; margin-top: 30px; padding: 15px 40px; background-color: var(--accent-color); color: white; text-decoration: none; border-radius: 30px; transition: background 0.3s; }
.btn:hover { background-color: #821f00; }
footer { text-align: center; padding: 40px; font-size: 0.8rem; }



/* worksページ */

/* --- POPEYE Web Category Page Style --- */

.category-header {
    padding: 40px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 40px;
}

.breadcrumb {
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.category-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.category-description {
    font-size: 0.85rem;
    color: #666;
}

/* グリッドレイアウト：POPEYE Webは2列〜3列の綺麗な並び */
.popeye-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px 20px; /* 縦の余白を多めに */
}

@media (max-width: 768px) {
    .popeye-works-grid {
        /* 320pxの制限を解除し、単なる1列（1fr）にする */
        grid-template-columns: 1fr;
        /* ついでに左右の隙間設定もリセット */
        gap: 40px; 
    }

}
.popeye-work-item .item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ビジュアル部分 */
.item-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2; /* POPEYE Webの記事サムネイル比率 */
    overflow: hidden;
    background-color: #eee;
    margin-bottom: 15px;
}
.photo-image{
    width: 100%;
    height: auto;
}
.logo-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠に合わせて綺麗に切り抜く設定 */
}
.hamburger-image{
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}
.item-visual .dummy-img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.item-link:hover .dummy-img {
    transform: scale(1.05); /* 控えめな拡大 */
}

.item-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #333;
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 6px;
    font-weight: bold;
}

/* テキスト情報部分 */
.item-info {
    padding: 0 5px;
}

.item-date {
    display: block;
    font-size: 0.7rem;
    font-weight: bold;
    color: #999;
    margin-bottom: 5px;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.3s;
}

.item-link:hover .item-title {
    text-decoration: underline;
    color: #821f00; /* アクセントカラー */
}

/* ページネーション */
.popeye-pagination {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

.popeye-pagination a {
    text-decoration: none;
    color: #ccc;
}

.popeye-pagination .page-current {
    color: #333;
}

.next-page {
    margin-left: auto;
    color: #333 !important;
}
/* ズーム用モーダルの背景 */
.image-modal {
    display: none; /* 初期は非表示 */
    position: fixed;
    z-index: 3000; /* メニューより上に */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    cursor: zoom-out;
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}
.modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1000px;
}
.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 50%;
    z-index: 3100;
}
.modal-prev:hover, .modal-next:hover { background: rgba(255,255,255,0.5); }
.modal-prev { left: -60px; }
.modal-next { right: -60px; }

/* キャプション */
.modal-caption {
    margin-top: 15px;
    color: white;
    font-size: 1rem;
    font-family: 'Kiwi Maru', serif;
}

/* スマホではボタンを画像内に配置 */
@media (max-width: 768px) {
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
}
/* 拡大される画像 */
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoom-animation 0.3s ease-out;
}

/* 閉じるボタン */
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoom-animation {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* 説明文の初期状態：2行目以降を隠す設定 */
.popeye-work-item p {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 最初に表示したい行数（例: 2行） */
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer; /* クリック可能であることを示す */
    transition: background-color 0.2s;
    padding: 5px;
    border-radius: 4px;
}

/* ホバー時に少し背景色を変えて、クリックできることを強調（任意） */
.popeye-work-item p:hover {
    background-color: rgba(130, 31, 0, 0.05);
}

/* 展開時のスタイル */
.popeye-work-item p.is-expanded {
    display: block; /* 制限を解除 */
    -webkit-line-clamp: unset;
}
.popeye-work-item p {
    position: relative; /* 疑似要素の基準 */
    padding-bottom: 25px; /* アイコン表示用のスペース */
    transition: all 0.3s ease;
}

/* 閉じている時のグラデーション隠し */
.popeye-work-item p:not(.is-expanded)::after {
    content: "＋ read more"; /* 文字を出す */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* グラデーションの高さ */
    background: linear-gradient(transparent, var(--main-bg) 80%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: #821f00;
    letter-spacing: 0.1em;
    pointer-events: none; /* クリックを邪魔しない */
}

/* 展開時はグラデーションを消して「ー」にする */
.popeye-work-item p.is-expanded::after {
    content: "ー close";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: bold;
    color: #999;
}

/* --- Worksページ内レコードプレーヤー専用調整 --- */
.work-record-adjust {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4; /* 背景を少しグレーにして馴染ませる */
    overflow: hidden; /* 針のはみ出し防止 */
}

/* カード内のレコードサイズ調整 */
.work-record-adjust .record-player-obj {
    width: 60%; /* 枠いっぱいだと窮屈なので少し小さく */
    height: auto;
    position: relative; /* 針の絶対配置の基準点にする */
}

/* カード内の針の位置微調整 */
.work-record-adjust .record-needle {
    width: 45%;
    bottom: -5%; /* カード内に収まるように位置を調整 */
    right: -22%;
    z-index: 2;
}
/* モーダル内のレコード全体（円盤＋針）のサイズと位置 */
#modalCustomContent .record-player-obj{
    width: 70% ;
    margin: 0 auto;
    position: relative;
}
/* モーダル内の針の「位置」の微調整 */
#modalCustomContent .record-needle{
    right: -22%;
}





/* contactページ */

/* --- Contact Pop Style --- */

.contact-pop {
    background-color: #fff;
    padding: 80px 60px;
    overflow: visible; /* バッジをはみ出させるため */
}

/* 回転バッジ装飾 */
.contact-badge {
    position: absolute;
    top: -50px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: #f1e05a; /* ポップなイエロー */
    border-radius: 50%;
    border: 2px solid #333;
    animation: rotate-circle 10s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-badge text {
    font-size: 10px;
    font-weight: 900;
    fill: #333;
}

.tag-identity {
    background: #333;
    color: #fff;
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.main-title-pop {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.5rem;
    line-height: 1;
    margin: 0 0 40px 0;
    letter-spacing: -0.02em;
}

/* フォームの構成 */
.contact-content-flex {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.contact-intro { flex: 1; }
.popeye-pop-form { flex: 1.5; }

.handwriting {
    font-family: 'Kiwi Maru', serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #821f00;
    transform: rotate(-3deg);
    margin-bottom: 20px;
}

.description-small {
    font-size: 0.8rem;
    line-height: 1.6;
}

/* 入力エリアのポップな装飾 */
.form-group-pop {
    margin-bottom: 25px;
    border-bottom: 2px solid #333; /* 下線を目立たせる */
}

.form-group-pop label {
    font-size: 0.7rem;
    font-weight: 900;
    display: block;
}

.form-group-pop input,
.form-group-pop textarea {
    width: 100%;
    border: none;
    padding: 10px 0;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

/* 送信ボタン：POPEYE風の極太 */
.pop-submit-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 20px 40px;
    width: 100%;
    font-weight: 900;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pop-submit-btn:hover {
    background: #821f00;
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0 #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .contact-content-flex { flex-direction: column; }
    .main-title-pop { font-size: 2.5rem; }
}
/* --- Sub Page Footer (Mini Version) --- */

/* 1. 余白を全体的に半分にする */
.site-footer.sub-footer {
    margin-top: 50px;  /* 100pxから半減 */
    padding-top: 40px; /* 80pxから半減 */
    border-top: 1px solid #333; /* 二重線(double)をやめて一本線でスッキリ */
}

/* 2. 中の要素の隙間も詰める */
.site-footer.sub-footer .footer-inner {
    margin-bottom: 40px; /* 80pxから半減 */
    padding-bottom: 0;   /* 下の余白をカット */
}

/* 3. 【重要】巨大ロゴエリアを非表示にする、または超小型化する */
.site-footer.sub-footer .footer-bottom-area {
    border-top: none; /* 区切り線を消す */
    padding-top: 0;
}

/* 巨大ロゴ（THANK YOU / TAIYAKI）を消す場合 */
.site-footer.sub-footer .big-footer-logo {
    display: none; 
}

/* コピーライトだけ残してシンプルに */
.site-footer.sub-footer .footer-copyright {
    padding: 10px 0;
    justify-content: center; /* 中央寄せ */
}

/* スマホ対応の微調整 */
@media (max-width: 768px) {
    .site-footer.sub-footer .footer-inner {
        gap: 30px; /* 間隔を少し詰める */
    }
}
