@charset "UTF-8";

/* --- Base Variables & Reset --- */
:root {
    --primary-color: #6EC6E2;
    --primary-hover: #5AA8C0;
    --secondary-color: #1A355B;
    --accent-color: #F06292;
    --bg-light: #F4F9FB;
    --bg-campaign: #EAF6FA;
    
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --max-width: 1100px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* --- Common Components --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
    font-weight: 900;
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #D84F80; 
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(240, 98, 146, 0.3);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

.btn-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    border-top: 4px solid var(--primary-color); 
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary-color); 
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

a.nav-link[style*="color: var(--accent-color)"] {
    color: var(--accent-color) !important; 
}

.header-cta {
    padding: 10px 25px;
    font-size: 0.95rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* --- Main Visual (Hero) --- */
.hero {
    position: relative;
    /* 高さの指定を少し緩めます */
    height: auto; 
    min-height: 600px; /* PCでの最低限の高さを確保 */
    /* max-height は削除します */
    display: flex;
    align-items: center;
    /* PC用の背景画像を指定 */
    background: url('./img/mv.png') no-repeat center center/cover;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.55) 0%, rgba(240,248,255,0.8) 50%, rgba(255,255,255,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-color); 
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--secondary-color); 
    font-weight: 500;
}

.hero-badge {
    position: absolute;
    top: 50px;
    right: 580px;
    background: var(--accent-color); 
    color: var(--white);
    padding: 25px;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1.3;
    box-shadow: 0 10px 20px rgba(240, 98, 146, 0.4);
    z-index: 2;
    transform: rotate(10deg);
    animation: bounceBadge 2s infinite ease-in-out;
}

.hero-badge .badge-small {
    font-size: 1.2rem;
    color: #FFEAA7; 
}

@keyframes bounceBadge {
    0%, 100% { transform: rotate(10deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.05); }
}

/* --- Spring Campaign Section --- */
.campaign-section {
    background-color: var(--bg-campaign); 
    border-top: 5px solid var(--primary-color); 
    border-bottom: 5px solid var(--primary-color);
}

.campaign-header {
    text-align: center;
    margin-bottom: 50px;
}

.campaign-period {
    display: inline-block;
    background-color: var(--secondary-color); 
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.campaign-title {
    font-size: 2.8rem;
    color: var(--secondary-color);
    font-weight: 900;
    margin-bottom: 15px;
}

.campaign-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC時は特典1・2を2カラムに固定 */
    gap: 30px;
    margin-bottom: 50px;
}

/* 特典3のカードを2カラム分ぶち抜き（1段で表示）にする */
.campaign-card.present-card {
    grid-column: span 2; 
}

/* 特典3の画像（2枚横並び固定）のスタイル */
.present-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.present-images .present-img {
    width: 100%;
    max-width: 280px; /* 画像が大きくなりすぎないように制限 */
    object-fit: contain;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
}

.campaign-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 2px solid transparent; /* 特典3のデフォルト（枠なし） */
    transition: var(--transition);
}

/* 特典3のホバー時（青枠） */
.campaign-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color); 
}

/* ▼ 特典1と2（present-card以外）の枠設定 ▼ */
.campaign-grid > .campaign-card:not(.present-card) {
    border: 2px solid var(--primary-color); /* 常時青色枠 */
}

.campaign-grid > .campaign-card:not(.present-card):hover {
    border-color: var(--accent-color); /* ホバーでピンク色枠 */
    box-shadow: 0 10px 25px rgba(240, 98, 146, 0.15); /* 影もピンクがからせて目立たせる */
}

/* ▼ 特典2の独自設定（枠指定は外し、ほんのりピンクの背景色のみ維持） ▼ */
.highlight-card {
    background-color: #FFFDFE; 
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color); 
    color: var(--white);
    padding: 5px 25px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.highlight-card .card-badge {
    background: var(--accent-color);
}

.card-icon {
    text-align: center;
    font-size: 3.5rem;
    color: var(--primary-color); 
    margin-bottom: 20px;
    margin-top: 10px;
}

.highlight-card .card-icon {
    color: var(--accent-color);
}

.card-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.card-title span {
    color: var(--accent-color); 
    font-size: 1.8rem;
}

.card-desc {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.card-note {
    font-size: 0.85rem;
    color: var(--text-light);
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
}

.monitor-conditions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #ccc;
}

.monitor-conditions h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.monitor-conditions ul li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.monitor-conditions ul li i {
    color: var(--accent-color); 
}

.campaign-contact-area {
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid var(--bg-campaign); 
}

.campaign-contact-area p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.tel-link {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color); 
    letter-spacing: 2px;
    transition: var(--transition);
}

.tel-link i {
    color: var(--accent-color);
}

.tel-link:hover {
    color: #D84F80;
    transform: scale(1.05);
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color); 
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color); 
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- Area (Locations) --- */
.area-list {
    display: grid;
    /* PCでは3カラム、タブレットで2カラム、スマホで1カラムに自動可変する設定 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.area-item {
    background: var(--white);
    border: 2px solid #eee;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
    color: var(--text-color);
    text-decoration: none;
}

.area-item:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light); /* ホバー時はほんのり水色背景に */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.area-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.area-name i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.area-address {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    padding-left: 28px; /* アイコンの幅分インデントして、テキストの左端を揃える */
}

/* --- Company & Map --- */
.company-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.company-info {
    flex: 1;
    min-width: 300px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th, .company-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th {
    width: 30%;
    color: var(--secondary-color);
    font-weight: 700;
    background: var(--white);
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid var(--bg-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- CTA Final --- */
.cta-final {
    text-align: center;
    background: url('https://placehold.co/1920x600/1A355B/6EC6E2?text=Music+Life') center/cover;
    position: relative;
    padding: 100px 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 53, 91, 0.85); 
}

.cta-final-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.cta-final h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.cta-final-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.tel-link-white {
    color: var(--white);
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tel-link-white:hover {
    color: var(--primary-color); 
}

/* --- Footer --- */
.footer {
    background-color: var(--secondary-color); 
    color: var(--white);
    padding: 50px 0 20px;
    text-align: center;
    border-top: 5px solid var(--primary-color); 
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo i {
    color: var(--primary-color); 
}

.footer-nav {
    margin-bottom: 30px;
}

.footer-nav a {
    margin: 0 15px;
    color: #ccc;
    transition: var(--transition);
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--primary-color); 
}

.copyright {
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #444;
    padding-top: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .campaign-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-badge {
        width: 120px;
        height: 120px;
        font-size: 0.9rem;
        padding: 15px;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 1.8rem; }
    
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }

    /* ▼▼ モバイル用メインビジュアル設定（追記・上書き） ▼▼ */
    .hero {
        /* スマホ用の縦長背景画像に切り替え */
        background-image: url('./img/mv-sp.png');
        /* 人物が中心に来るように位置を調整（必要に応じて top, bottom などを試してください） */
        background-position: center center;
        /* スマホでは画面の高さいっぱいに表示してインパクトを出す */
        height: 100vh; 
        min-height: auto;
        /* コンテンツを中央揃えではなく上寄せにする（バッジやタイトルの位置調整のため） */
        align-items: flex-start; 
    }

    .hero::before { 
        background: linear-gradient(to right, rgba(255,255,255,0.5) 0%, rgba(240,248,255,0.9) 100%);
    }
    
    .hero-badge {
        position: absolute; 
        top: 100px;
        right: 15px; 
        margin: 0;
        width: 120px;
        height: 120px;
        font-size: 1.0rem;
        padding: 10px;
        line-height: 1.2;
        transform: rotate(10deg);
        animation: bounceBadge 2s infinite ease-in-out;
    }
    .hero-badge .badge-small {
        font-size: 0.9rem;
    }

    .hero-content {
        /* バッジと被らないよう、上部に十分な余白を確保 */
        padding-top: 100px; 
        padding-bottom: 60px;
        /* コンテンツ自体も少し上寄りに配置 */
        justify-content: flex-start; 
    }

    .hero-title { font-size: 2.2rem; }
    
    .tel-link { 
        font-size: 1.8rem; 
        white-space: nowrap; 
    }
    
    .campaign-contact-area {
        padding: 30px 10px; 
    }
    
    .campaign-title { font-size: 1.8rem; }
    .btn-large { padding: 15px 30px; font-size: 1.1rem; }

    /* ▼▼ モバイル用の特典レイアウト調整 ▼▼ */
    .campaign-grid {
        grid-template-columns: 1fr; /* スマホは1カラム（縦積み） */
    }
    
    .campaign-card.present-card {
        grid-column: span 1; /* 全幅ぶち抜き指定を解除 */
    }
    
    .present-images {
        flex-direction: column; /* スマホでは画像も縦並びに */
        gap: 15px;
    }
    /* ▲▲ ここまで ▲▲ */
}