 /* Custom styles for specific component needs */
 @import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700;900&display=swap');

 body {
     font-family: 'Zen Kaku Gothic New', sans-serif;
     background-color: #faf9f6;
     /* Warm neutral */
 }

 html {
     scroll-behavior: smooth;
 }

 h1, h2 {
    /* 1.3がタイトルとして非常にバランスが良い数値です */
    line-height: 1.2 !important; 
}

.text-xl{
    line-height: 1.4 !important; 
}
 .hero-title {
     font-size: 3rem;
     font-weight: 900;
     /* ↓ スマホ時の行間を調整（1.2〜1.5くらいが一般的） */
     line-height: 1.2;
     margin-bottom: 2rem;
 }

 @media (min-width: 768px) {
     .hero-title {
         font-size: 4.5rem;
         /* ↓ デスクトップ表示（大きな文字）での行間を調整 */
         /* 文字が大きい時は 1.1〜1.2 くらいに詰めるとカッコよく見えます */
         line-height: 1.3;
     }
 }

 .chart-container {
     position: relative;
     width: 100%;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
     height: 300px;
     max-height: 400px;
 }

 /* Hide scrollbar for clean horizontal scrolling if needed */
 .no-scrollbar::-webkit-scrollbar {
     display: none;
 }

 .no-scrollbar {
     -ms-overflow-style: none;
     scrollbar-width: none;
 }

 /* Dynamic Theme Variables - will be updated by JS */
 :root {
     --oshi-color: #ec4899;
     /* Default Pink */
     --oshi-light: #ffe6f4;
 }

 .text-oshi {
     color: var(--oshi-color);
 }

 .bg-oshi {
     background-color: var(--oshi-color);
 }

 .bg-oshi-light {
     background-color: var(--oshi-light);
 }

 .border-oshi {
     border-color: var(--oshi-color);
 }

 .hover-bg-oshi:hover {
     background-color: var(--oshi-color);
 }

 .glass-panel {
     background: rgba(255, 255, 255, 0.9);
     backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.5);
     box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
 }

 /* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700;900&display=swap');

/* --- 変数・基本設定 --- */
:root {
    --oshi-color: #ec4899; /* デフォルト：ピンク */
    /* --oshi-light: #fbcfe8;*/
    --oshi-light:#ffe6f4;
    --bg-neutral: #faf9f6;
    --text-main: #1f2937;
    --text-muted: #4b5563;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    background-color: var(--bg-neutral);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --- ユーティリティ --- */
.text-oshi { color: var(--oshi-color); }
.bg-oshi { background-color: var(--oshi-color); }
.bg-oshi-light { background-color: var(--oshi-light); }
.border-oshi { border-color: var(--oshi-color); }

.container {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* --- ナビゲーション --- */
.sp-header-cta{
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f3f4f6;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
.sp-header-cta{
    display: block!important;
}
.pc-header-cta{
    display: none;
}
.sp-nav{
    text-align: right;
}
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-link {
    color: var(--text-muted);
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.nav-link:hover { color: var(--oshi-color); }

.nav-btn {
    background: var(--oshi-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* --- ヒーローセクション --- */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero { padding-top: 12rem; padding-bottom: 8rem; }
}

/* .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.1;
    background: radial-gradient(ellipse at top right, var(--oshi-light), #f3f4f6, transparent);
} */

/* ヒーロー背景をよりライブ会場風に */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3; /* 少し強める */
    background: 
        radial-gradient(circle at 20% 30%, var(--oshi-light), transparent 50%),
        radial-gradient(circle at 80% 70%, #e0f2fe, transparent 50%), /* 青系の光を追加 */
        radial-gradient(circle at 50% 50%, #faf9f6, transparent);
    filter: blur(60px); /* ぼかしを強くして光を混ぜる */
}


.badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.25rem 1rem;
    background: var(--oshi-light);
    color: var(--oshi-color);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1; /* ここで調整可能 */
    margin-bottom: 2rem;
    color: #111827;
}

@media (min-width: 768px) {
    .hero-title { font-size: 4.5rem; }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* --- カラーピッカー --- */
.picker-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 32rem;
    margin: 0 auto 3rem;
    border: 1px solid #f3f4f6;
}

/* --- セクション共通 --- */
.section { padding: 5rem 0; }
.section-white { background: white; }
.section-gray { background: #f9fafb; }

.section-title {
    font-size: 1.875rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title { font-size: 2.25rem; }
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 48rem;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
}

/* --- カード・グリッド --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
}

.data-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* --- シミュレーター --- */
.sim-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #f3f4f6;
}

.sim-content { padding: 2rem; }

.result-box {
    background: #111827;
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(to right, #3b82f6, #ec4899, #eab308);
}

/* --- カレンダー --- */
.calendar-wrapper {
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 2px solid #f3f4f6;
    transform: rotate(1deg);
    transition: 0.5s;
}

.calendar-wrapper:hover { transform: rotate(0deg); }


/* --- CTA --- */
.cta {
    padding: 6rem 0;
    background: #111827;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background: radial-gradient(circle at center, var(--oshi-color), transparent);
}

.btn-large {
    background: var(--oshi-color);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 9999px;
    font-size: 1.5rem;
    font-weight: 900;
    border: 4px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

.btn-large:hover {
    background: white;
    color: var(--oshi-color);
    border-color: var(--oshi-color);
    transform: scale(1.05);
}

/* --- アニメーション --- */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cta-title {
    font-size: 2.25rem; /* スマホ時のサイズ (text-4xl相当) */
    font-weight: 900;
    margin-bottom: 2rem;
    /* ↓ ここでスマホ時の行間を指定 */
    line-height: 1.3;
}

/* style.css に追加 */

/* スケジュールのタイムライン風装飾 */
.timeline-item {
    border-left: 4px solid #e5e7eb;
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--oshi-color);
}

.timeline-week {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
}

.highlight-oshi { color: var(--oshi-color); }
.highlight-live { color: #3b82f6; } /* 青色など別色でライブ感を演出 */

/* カレンダーカードの装飾強化 */
.calendar-card-premium {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 40px 60px -15px rgba(0,0,0,0.1);
    border: 1px solid #f3f4f6;
}

.calendar-grid-modern {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 1.5rem;
}

.monthly-total {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px dashed #eee;
    font-size: 1.25rem;
    font-weight: 900;
    text-align: right;
}

/* カレンダーの各セル */
.calendar-day {
    aspect-ratio: 1 / 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4px 2px;
    font-size: 0.75rem;
    border-radius: 0.75rem;
    position: relative;
    transition: all 0.3s;
}

/* スケジュールラベル */
.schedule-label {
    width: 100%;
    font-size: 9px;
    padding: 1px 0;
    text-align: center;
    border-radius: 4px;
    margin-top: 2px;
    font-weight: 900;
    line-height: 1;
}

/* 夜勤：青系 */
.type-night {
    background-color: #3b82f6;
    color: white;
}

/* 明け：水色系 */
.type-after-night {
    background-color: #bfdbfe;
    color: #1e40af;
}

/* 遠征・ライブ：推しカラー */
.type-oshi {
    background-color: var(--oshi-color);
    color: white;
}

/* 休み・移動：グレー */
.type-trip {
    background-color: #e5e7eb;
    color: #4b5563;
}

/* 生誕祭：特別感のあるゴールド */
.type-birthday {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: white;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: shine 2s infinite;
}

/* グッズ販売：購買意欲をそそるオレンジ・赤系 */
.type-goods {
    background-color: #f97316;
    color: white;
}

@keyframes shine {
    0% { opacity: 0.8; }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.8; }
}

/* 移動日：グレーと白のストライプなどで「移動中」を表現 */
.type-trip {
    background: repeating-linear-gradient(
        45deg,
        #f3f4f6,
        #f3f4f6 5px,
        #e5e7eb 5px,
        #e5e7eb 10px
    );
    color: #4b5563;
    border: 1px solid #d1d5db;
}


input[type="submit"] {
    background-color: var(--oshi-color);
    color: #fff;
    transition: 0.3s ease-in-out;
    /* align-items: center; */
    /* margin-left: auto; */
    /* margin-right: auto; */
    margin-top: 50px;
    text-align: center;
    font-size: 1.5rem;
    /* width: 360px; */
    border-radius: 30px;
    border: grey;
    padding: 10px 20px;
    font-weight:900;
}

/* ==========================================================================
   OSHIGOTO - Optimized Master Style Sheet
   ========================================================================== */

/* --- 1. 変数・フォント設定 --- */

:root {
    --oshi-color: #ec4899;
    --oshi-light: #fbcfe8;
    --bg-neutral: #faf9f6;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

/* --- 2. ベース設定 --- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    background-color: var(--bg-neutral);
    color: var(--text-main);
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --- 3. 共通パーツ & ユーティリティ --- */
.hero-title, .section-title, .cta-title, .form-label {
    line-height: 1.3 !important;
    font-weight: 900;
}

.text-oshi { color: var(--oshi-color); }
.bg-oshi { background-color: var(--oshi-color); }
.bg-oshi-light { background-color: var(--oshi-light); }
.border-oshi { border-color: var(--oshi-color); }

.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.5); */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- 4. ナビゲーション --- */
.navbar { position: fixed; top: 0; width: 100%; z-index: 50; }
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 4rem; }
.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.05em; }

/* --- 5. ヒーローセクション --- */
.hero { text-align: center; padding: 10rem 0 6rem; }
.hero-title { font-size: 4.5rem; margin-bottom: 1.5rem; }
.hero-description { font-size: 1.25rem; max-width: 800px; margin: 0 auto; }

/* --- 6. カレンダー --- */
#calendarGrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.calendar-day {
    height: 70px; border-radius: 12px; font-size: 10px;
    font-weight: 900; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
}

/* --- 7. 応募フォーム（TABLE） --- */
form[action*="hm-f.jp"] {
    max-width: 800px; margin: 2rem auto; background: white;
    padding: 3rem; border-radius: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

form[action*="hm-f.jp"] table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
form[action*="hm-f.jp"] tr { border-bottom: 1px solid #f3f4f6; }

/* ラベル列（左側）：PC時は右寄せ */
form[action*="hm-f.jp"] td:first-child {
    width: 35%; text-align: right; padding: 1.5rem 2rem 1.5rem 0.5rem;
    font-weight: 900; color: var(--text-main); vertical-align: middle;
}

/* 入力列（右側）：左寄せ */
form[action*="hm-f.jp"] td:last-child {
    width: 65%; text-align: left; padding: 1.5rem 0.5rem;
    vertical-align: middle;
    font-weight: 700; /* 「年・月・日」のテキストを強調 */
    color:#000;
}

/* 各入力要素の装飾 */
form[action*="hm-f.jp"] input[type="text"],
form[action*="hm-f.jp"] select,
form[action*="hm-f.jp"] textarea {
    padding: 0.85rem 1rem; border: 2px solid var(--border-color);
    border-radius: 12px; font-family: inherit; font-size: 1rem;
    background: #f9fafb; transition: all 0.3s ease; box-sizing: border-box;
}

/* 通常のテキスト入力欄（メール・電話など）は幅広に */
form[action*="hm-f.jp"] input[type="text"]:not([name*="_12_"]) {
    width: 100%; max-width: 500px;
}

form[action*="hm-f.jp"] input[type="text"]:focus,
form[action*="hm-f.jp"] select:focus,
form[action*="hm-f.jp"] textarea:focus {
    outline: none; border-color: var(--oshi-color);
    background: white; box-shadow: 0 0 0 4px var(--oshi-light);
}

/* 生年月日エリア：サイズを統一して横並びに */
form[action*="hm-f.jp"] input[name="propval_12_y"],
form[action*="hm-f.jp"] select[name="propval_12_m"],
form[action*="hm-f.jp"] select[name="propval_12_d"] {
    display: inline-block !important;
    width: 100px !important; /* 年・月・日すべて100pxに統一 */
    height: 3.5rem;
    margin: 5px 4px !important;
    text-align: center;
    vertical-align: middle;
}

/* 応募ボタン */
form[action*="hm-f.jp"] input[type="submit"] {
    display: block; width: 100%; max-width: 400px;
    margin: 3rem auto 0; background: var(--oshi-color);
    color: white; font-size: 1.25rem; font-weight: 900;
    padding: 1.25rem 2rem; border-radius: 9999px; border: none;
    cursor: pointer; box-shadow: 0 10px 15px -3px rgba(236, 72, 153, 0.4);
    transition: all 0.3s; appearance: none;
}

form[action*="hm-f.jp"] input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(236, 72, 153, 0.5);
}

/* --- 8. レスポンシブ対応（スマホ） --- */
@media (max-width: 767px) {
    .hero { padding: 6rem 0 4rem; }
    .hero-title { font-size: 2.5rem; }
    .calendar-day { height: 55px; border-radius: 8px; font-size: 9px; }

    /* フォームの縦積み化 */
    form[action*="hm-f.jp"] { padding: 1.5rem; }
    form[action*="hm-f.jp"] table, 
    form[action*="hm-f.jp"] tbody, 
    form[action*="hm-f.jp"] tr, 
    form[action*="hm-f.jp"] td {
        display: block; width: 100% !important;
    }
    
    form[action*="hm-f.jp"] td:first-child {
        text-align: left !important; padding: 1.5rem 0 0.5rem 0;
    }
    form[action*="hm-f.jp"] td:last-child { 
        padding: 0 0 1rem 0; 
        display: block; /* 年月日のテキストノードが折り返さないように */
    }

    /* スマホ用生年月日：幅を調整して「年・月・日」のテキストが入るスペースを確保 */
    form[action*="hm-f.jp"] input[name="propval_12_y"],
    form[action*="hm-f.jp"] select[name="propval_12_m"],
    form[action*="hm-f.jp"] select[name="propval_12_d"] {
        width: 75px !important; /* スマホ画面に合わせて少し小さく */
        margin: 4px 2px !important;
    }
}

/* 【重要】メール、名前、電話、および「詳細」テキストエリアの幅を500pxで統一 */
form[action*="hm-f.jp"] input[type="text"]:not([name*="_12_"]),
form[action*="hm-f.jp"] select[name="propval_36[]"],
form[action*="hm-f.jp"] textarea {
    width: 100%;
    max-width: 500px; /* 他の要素と同じ幅に制限 */
    display: block;
}

.apply-form-title{
    font-weight: 900!important;
}

.form-span{
    color: red;
}

/* 開始ハンバーガーメニュー */
/* 350px以下での微調整 */
    @media (max-width: 350px) {
        .text-xl { font-size: 1.1rem; }
        .px-4 { padding-left: 0.75rem; padding-right: 0.75rem; }
    }

    /* 行間1.2の徹底 */
    .hm_title, .message, .leading-custom {
        line-height: 1.2 !important;
        margin-bottom: 1.2em;
    }

    /* 350px以下のレスポンシブ微調整 */
    @media (max-width: 350px) {
        .text-xl { font-size: 0.95rem !important; }
        .gap-2 { gap: 0.25rem; }
        .px-3 { padding-left: 0.5rem; padding-right: 0.5rem; }
        button {
            padding-left: 0.5rem !important;
            padding-right: 0.5rem !important;
            font-size: 9px !important;
            border-radius: 30px;
        }
    }

/* 終了ハンバーガーメニュー */

/* 規約 */
.policy__title {
    text-align: center;
    font-weight: bold;
    font-size: 35px;
    margin: 30px auto 20px auto;
}

#policy {
    width: 60%;
    margin: 0px auto;
}

.footer__info {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 13px;
    margin: 20px auto;
}

.footer__list {
    display: flex;
    width: 50%;
    align-items: center;
    justify-content: space-around;
    margin: 20px auto;
    font-size: 13px;
}
.copyrights {
    background-color: #1D1D1D;
    color: #FFF;
    font-size: 10px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footer__info {
        flex-flow: column;
        align-items: center;
    }

        .footer__list {
        /* display: flex; */
        width: 100%;
        /* justify-content: space-between; */
        margin: 20px 0px;
        font-size: 11px;
        flex-wrap: wrap;
        padding-left: 0;
    }
    
}
/* 終了規約 */