/*
==================================================
1. 基本設定とリセット
==============	====================================
*/
:root {
    --primary-color: #0A1931; /* 深いネイビー */
    --secondary-color: #185ADB; /* やや明るいブルー */
    --accent-color: #00BFFF;   /* エレクトリックブルー */
    --text-color: #FFFFFF;
    --text-color-dark: #333333;
    --base-font-family: 'Noto Sans JP', sans-serif;
}

/* box-sizingを適用してレイアウト計算を容易に */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--base-font-family);
    background-color: #f4f7f6;
    color: var(--text-color-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*
==================================================
2. ヘッダー
==================================================
*/
.site-header {
    background-color: rgba(10, 25, 49, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo a {
    display: flex; /* 画像の上下に余白ができないようにする */
    align-items: center;
}

.logo img {
    height: 40px; /* ロゴの高さを指定。ヘッダーの高さに合わせて調整してください */
    width: auto;  /* 高さに合わせて幅を自動調整（縦横比を維持） */
}

.main-nav a {
    margin: 0 15px;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.header-actions {
    display: flex;
    align-items: center;
}

.contact-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: var(--text-color);
}

.lang-switch {
    margin-left: 20px;
    font-weight: 700;
    padding: 10px;
}
.lang-switch:hover {
    color: var(--accent-color);
}

/* モバイル用のメニューはPCでは非表示 */
.menu-toggle,
.mobile-nav {
    display: none;
}

/*
==================================================
3. ヒーローセクション
==================================================
*/
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
}

.slideshow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center center;
    opacity: 0;
    animation: slide-zoom-fast 12s infinite; 
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 4s; }
.slide:nth-child(3) { animation-delay: 8s; }

@keyframes slide-zoom-fast {
    0%   { opacity: 0; transform: scale(1.0); }
    5%   { opacity: 1; }
    33%  { opacity: 1; }
    38%  { opacity: 0; }
    100% { opacity: 0; transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(10, 25, 49, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.4;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.3s;
}

/*
==================================================
4. ニュースセクション
==================================================
*/
/* ▼▼▼ ここから変更 ▼▼▼ */
.news-section {
    padding: 15px 0; /* 上下の余白を縮小 */
    background-color: #fff;
}

.news-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px; /* タイトル下の余白を縮小 */
}

.news-section ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px; /* リスト下の余白を縮小 */
    max-width: 800px;
}

.news-section li {
    display: flex;
    align-items: baseline;
    padding: 15px 0; /* 各項目の上下の余白を縮小 */
    border-bottom: 1px solid #e0e0e0;
}
/* ▲▲▲ ここまで変更 ▲▲▲ */

.news-section time {
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 30px;
}

.news-section li a:hover {
    color: var(--secondary-color);
}

.view-all-button {
    display: block;
    text-align: center;
    font-weight: 700;
    color: var(--secondary-color);
}

.view-all-button:hover {
    text-decoration: underline;
}

/*
==================================================
5. パーパスセクション
==================================================
*/
.purpose-section {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 100px 0;
    text-align: center;
}

.purpose-section .container {
    max-width: 900px;
}

.purpose-section h2 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.purpose-section .purpose-quote {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #ffffff;
}

.purpose-section .purpose-text {
    font-size: 1.1rem;
    line-height: 2.0;
    color: #c0c0c0;
    margin-bottom: 50px;
}

/*
==================================================
6. フッター
==================================================
*/
.site-footer {
    background-color: var(--primary-color);
    color: #a0a0a0;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/*
==================================================
7. 音楽事業部ページ スタイル
==================================================
*/

/* ▼▼▼ このセクションを丸ごと置き換え ▼▼▼ */

/* --- ページ全体の基本設定 --- */
.music-page {
    background-color: #FDFCF7; /* 温かみのあるオフホワイト */
    color: #3a3a3a; /* 少し柔らかい黒 */
}

/* ...省略... */

/* --- ページ全体の背景ビデオ --- */
.page-background-video-wrapper {
    /* ▼▼▼ ここから変更 ▼▼▼ */
    position: absolute; /* 「fixed」から「absolute」に変更 */
    height: 100%;       /* 「100vh」から「100%」に変更 */
    /* ▲▲▲ ここまで変更 ▲▲▲ */
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-background-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* アスペクト比を保ちつつ、コンテナを完全に覆う */
    /* 補足：縦長の動画の場合、PCでは左右がカットされ中央が拡大表示されます */
}

.page-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 明るい背景色に合わせた半透明のオーバーレイ */
    background-color: rgba(253, 252, 247, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- コンテンツが背景動画より手前に来るように設定 --- */
.music-page main {
    position: relative;
    z-index: 1;
}

/* --- 各セクションの背景を透過させる --- */
.music-hero,
.featured-release-section,
.discography-section {
    background: transparent;
}

/* --- フッターのスタイル --- */
.music-page .site-footer {
    background-color: rgba(240, 240, 240, 0.8); /* コンテンツエリアと区別するための背景色 */
    color: #555;
    border-top: 1px solid #e0e0e0;
}

/* --- 現在ページのリンク色 --- */
.music-page .current-page {
    color: #FF4136; /* アクセントの赤 */
}

.music-page .main-nav a.current-page::after {
    background-color: #FF4136;
}

/* --- セクションタイトル --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    color: #333;
}

.section-title span {
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FF4136;
}

/* --- ヒーローセクション --- */
.music-hero {
    /* 高さを少し広げて、より開放的に */
    min-height: 90vh;
    padding-top: 80px; /* ヘッダーの高さを考慮 */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.music-hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
}

.music-hero .label {
    font-size: 1rem;
    color: #FF4136;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.music-hero h1 {
    font-size: 3.2rem;
    margin: 0;
    line-height: 1.4;
    color: #222; /* メインのテキストカラー */
}

.music-hero .subtitle {
    font-size: 1.1rem;
    color: #555; /* サブのテキストカラー */
    margin-top: 20px;
    line-height: 1.7;
}

/* --- 新譜紹介セクション --- */
.featured-release-section {
    padding: 100px 0;
}

.featured-release-content {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: rgba(255, 255, 255, 0.5); /* コンテンツが読みやすいように少しだけ背景色を敷く */
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.artwork-wrapper {
    flex-shrink: 0;
}

.artwork-wrapper img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    /* 明るい背景に合わせた、淡く赤いシャドウ */
    box-shadow: 0 10px 40px rgba(255, 65, 54, 0.15);
}

.info-wrapper .artist-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.info-wrapper .song-title {
    font-size: 3rem;
    font-weight: 700;
    color: #FF4136;
    margin: 10px 0;
}

.info-wrapper .release-date {
    color: #888;
    margin-bottom: 30px;
}

.info-wrapper .description {
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    color: #444;
}

.streaming-links .listen-now {
    font-weight: 700;
    margin-bottom: 15px;
}

.links-container {
    display: flex;
    gap: 15px;
}

.stream-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    color: #333;
    border: 1px solid #ccc;
    background-color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.stream-link:hover {
    background-color: #FF4136;
    border-color: #FF4136;
    color: #ffffff;
}

.stream-link i {
    font-size: 1.2rem;
}

/* --- ディスコグラフィーセクション --- */
.discography-section {
    padding: 100px 0;
}

.discography-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.release-card {
    cursor: pointer;
}

.card-artwork {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: box-shadow 0.4s ease;
}

.release-card:hover .card-artwork {
    box-shadow: 0 8px 30px rgba(255, 65, 54, 0.25);
}

.card-artwork img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.release-card:hover .card-artwork img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(255,65,54,0.7) 0%, rgba(255,65,54,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.release-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.card-info .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    transition: color 0.3s ease;
}

.release-card:hover .card-info .card-title {
    color: #FF4136;
}

.card-info .card-artist {
    color: #888;
    margin: 5px 0 0;
}
/* ▲▲▲ ここまで置き換え ▲▲▲ */
==================================================
8. 個別ページへのリンクターゲット設定
==================================================
*/

/* --- 「音楽事業部」リンクのスタイル --- */

/* PC用とモバイル用の両方で、常に赤文字で表示 */
.site-header .main-nav a[href="music.html"],
.site-header .mobile-nav a[href="music.html"] {
    color: #FF4136;
    font-weight: 700; /* 少し太字にして、他の項目より目立たせる（推奨） */
}

/* PC用：ホバー時の下線の色も赤に */
.site-header .main-nav a[href="music.html"]:hover::after {
    background-color: #FF4136;
}

/* PC用：ホバー時に文字色が白に戻らないように、念のため色を再指定 */
.site-header .main-nav a[href="music.html"]:hover {
    color: #FF4136;
}
/*
==================================================
9. レスポンシブ対応スタイル（集約）
==================================================
*/

/* --- タブレット向け (画面幅が 1024px 以下の場合) --- */
@media (max-width: 1024px) {
    /* ヘッダー */
    .header-container { padding: 0 30px; }
    .main-nav a { margin: 0 10px; }
    
    /* ヒーロー */
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1.1rem; }

    /* 音楽ページ */
    .featured-release-content { flex-direction: column; text-align: center; }
    .links-container { justify-content: center; }
}


/* --- スマートフォン向け (画面幅が 768px 以下の場合) --- */
@media (max-width: 768px) {
    /* ヘッダー */
    .main-nav, .header-actions { display: none; }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 2000;
    }

    .menu-toggle span {
        width: 30px;
        height: 3px;
        background: var(--text-color);
        border-radius: 10px;
        transition: all 0.3s ease-in-out;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        z-index: 1500;
    }

    .mobile-nav a { font-size: 1.5rem; margin: 20px 0; color: var(--text-color); }
    
    .contact-button-mobile {
        border: 2px solid var(--accent-color);
        padding: 10px 25px;
        border-radius: 5px;
        margin-top: 30px;
    }

    body.menu-open { overflow: hidden; }
    body.menu-open .mobile-nav { transform: translateX(0); }
    body.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
    body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    body.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

    /* ヒーロー */
    .hero-content h1 { font-size: 2.2rem; line-height: 1.5; }
    .hero-content p { font-size: 1rem; padding: 0 15px; }

    /* ニュース */
    .news-section { padding: 60px 0; }
    .news-section ul { padding: 0 20px; }
    .news-section li { flex-direction: column; align-items: flex-start; }
    .news-section time { margin-right: 0; margin-bottom: 8px; }

    /* パーパス */
    .purpose-section { padding: 80px 20px; }
    .purpose-section .purpose-quote { font-size: 1.5rem; }
    .purpose-section .purpose-text { font-size: 1rem; }

    /* 音楽ページ */
    .section-title { font-size: 2rem; }
    .music-hero { height: 70vh; }
    .music-hero h1 { font-size: 2.2rem; }
    .music-hero .subtitle { font-size: 1rem; }
    .featured-release-section, .discography-section { padding: 80px 0; }
    .artwork-wrapper img { width: 300px; height: 300px; }
    .info-wrapper .song-title { font-size: 2.5rem; }
    .links-container { flex-direction: column; align-items: center; }
    .stream-link { width: 80%; justify-content: center; }
    .discography-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
}

/*
==================================================
10. 下層ページ共通スタイル
==================================================
*/
/* ヘッダーの現在地表示 */
.sub-page .current-page {
    color: var(--accent-color);
}
.sub-page .main-nav a.current-page::after {
    width: 100%;
}
.sub-page .mobile-nav a.current-page {
    color: var(--accent-color);
}

/* ページヘッダー */
.page-header {
    padding: 160px 0 80px;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    margin: 0;
}
.page-header p {
    font-size: 1rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-top: 10px;
}

/* ページコンテンツエリア */
.page-content {
    padding: 80px 0;
    background-color: #ffffff;
}
.content-section {
    margin-bottom: 80px;
}
.content-title {
    font-size: 2rem;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 40px;
}

/* 会社概要テーブル */
.profile-table {
    width: 100%;
    border-collapse: collapse;
}
.profile-table th, .profile-table td {
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}
.profile-table th {
    width: 25%;
    font-weight: 700;
    background-color: #f9f9f9;
}
.profile-table ul {
    margin: 0;
    padding-left: 20px;
}

/* 役員紹介 */
.officer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.officer-item {
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid var(--accent-color);
}
.officer-item .position {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 5px;
}
.officer-item .name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

/* 沿革 */
.history-list {
    list-style: none;
    padding: 0;
    position: relative;
    border-left: 3px solid #e0e0e0;
    margin-left: 40px;
}
.history-list li {
    padding: 20px 0 20px 40px;
    position: relative;
}
.history-list li::before {
    content: '';
    position: absolute;
    left: -11px; /* (円の半径 + ボーダー幅) / 2 */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 3px solid #ffffff;
}
.history-list .year {
    font-weight: 700;
    margin-right: 20px;
}

/*
==================================================
11. 下層ページ レスポンシブ対応
==================================================
*/
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
    .page-content {
        padding: 60px 0;
    }
    .content-title {
        font-size: 1.8rem;
    }

    /* 会社概要テーブル */
    .profile-table th, .profile-table td {
        display: block;
        width: 100%;
        padding: 15px;
    }
    .profile-table th {
        background-color: transparent;
        border-bottom: none;
        padding-bottom: 5px;
    }
    .profile-table td {
        padding-top: 0;
    }
}

/*
==================================================
12. 会社情報ページ個別スタイル
==================================================
*/

/* --- ページヘッダーの背景画像設定 --- */
.about-page .page-header {
    position: relative; /* オーバーレイの基準点にする */
    background-image: url('img/about-header-bg.jpg'); /* 背景画像を指定 */
    background-size: cover; /* 領域全体を覆うように表示 */
    background-position: center; /* 画像の中央を基準に表示 */
    background-color: transparent; /* 元の背景色は不要にする */
}

/* --- 画像の上に半透明のオーバーレイを追加 --- */
.about-page .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 会社のブランドカラー（深いネイビー）を半透明で重ねて文字を読みやすくする */
    background-color: rgba(10, 25, 49, 0.6); 
    z-index: 0; /* テキストより下に配置 */
}

/* --- ヘッダー内のテキストがオーバーレイより手前に来るように設定 --- */
.about-page .page-header h1,
.about-page .page-header p {
    position: relative;
    z-index: 1;
}

/* css.html の末尾に追記してください */

/*
==================================================
13. お問い合わせフォーム スタイル
==================================================
*/
.form-container {
    max-width: 800px; /* フォームが横に広がりすぎるのを防ぐ */
    margin-left: auto;
    margin-right: auto;
}

.form-intro {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 50px;
}

.contact-form .form-group {
    margin-bottom: 30px; /* 各項目間の余白を確保 */
}

/* --- ラベルと必須/任意バッジのスタイル --- */
.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* ラベルが長い場合に改行を許容 */
}

.form-label::after {
    font-size: 0.75rem;
    font-weight: 400;
    padding: 3px 10px;
    margin-left: 15px;
    border-radius: 3px;
    color: #fff;
}

/* 必須項目のバッジ */
.form-label.required::after {
    content: '必須';
    background-color: var(--secondary-color);
}

/* 任意項目のバッジ (必須クラスが付いていないラベルに適用) */
.contact-form .form-label:not(.required)::after {
    content: '任意';
    background-color: #999;
}

/* --- 入力欄の共通スタイル --- */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* 入力欄のフォーカス時スタイル */
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(24, 90, 219, 0.3); /* secondary-colorの淡い影 */
}

/* 入力補助テキストのスタイル */
.form-note {
    font-size: 0.9rem;
    color: #666;
    margin: 8px 0 0;
}

/* --- 個人情報保護方針エリア --- */
.privacy-agreement {
    margin-top: 50px;
    padding: 30px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.privacy-title {
    margin: 0 0 15px;
    text-align: center;
}
.privacy-text {
    line-height: 1.7;
    font-size: 0.95rem;
}
.privacy-agreement a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.privacy-agreement a:hover {
    text-decoration: none;
}
.checkbox-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}
.checkbox-area input[type="checkbox"] {
    /* デフォルトのチェックボックスを非表示 */
    appearance: none;
    -webkit-appearance: none;
    width: 1.3em;
    height: 1.3em;
    border: 2px solid #999;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    top: -2px;
    transition: background-color 0.2s, border-color 0.2s;
}
/* チェックボックスのチェック時 */
.checkbox-area input[type="checkbox"]:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
/* チェックマークのスタイル */
.checkbox-area input[type="checkbox"]:checked::before {
    content: '\2713'; /* Unicodeのチェックマーク */
    display: block;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}
.checkbox-area label {
    font-weight: 700;
    cursor: pointer;
}
.checkbox-area label.required::after {
    /* 同意チェックのラベルには「必須」バッジは不要なため非表示に */
    display: none;
}


/* --- 送信ボタン --- */
.submit-button-wrapper {
    margin-top: 40px;
    text-align: center;
}
.submit-button {
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 60px;
    border-radius: 50px; /* 角を丸くして柔らかい印象に */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}
.submit-button:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px); /* 少し浮き上がるエフェクト */
}

/*
==================================================
14. お問い合わせフォーム レスポンシブ対応
==================================================
*/
@media (max-width: 768px) {
    .form-label {
        font-size: 0.9rem;
    }
    .form-label::after {
        margin-left: 10px;
    }
    .privacy-agreement {
        padding: 20px;
    }
}

/* css.html の末尾に追記してください */

/*
==================================================
15. お問い合わせページ個別スタイル
==================================================
*/

/* --- ページヘッダーの背景画像設定 --- */
.contact-page .page-header {
    position: relative; /* オーバーレイの基準点にする */
    
    /* ▼▼▼ ここにお手持ちのAI画像のパスを指定してください ▼▼▼ */
    background-image: url('img/contact-header-ai-bg.jpg'); /* 背景画像を指定 */
    
    background-size: cover; /* 領域全体を覆うように表示 */
    background-position: center; /* 画像の中央を基準に表示 */
    background-color: transparent; /* 元の背景色は不要にする */
}

/* --- 画像の上に半透明のオーバーレイを追加 --- */
.contact-page .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 会社のブランドカラー（深いネイビー）を半透明で重ねて文字を読みやすくする */
    background-color: rgba(10, 25, 49, 0.7); 
    z-index: 0; /* テキストより下に配置 */
}

/* --- ヘッダー内のテキストがオーバーレイより手前に来るように設定 --- */
.contact-page .page-header h1,
.contact-page .page-header p {
    position: relative;
    z-index: 1;
}

/* css.html の末尾に追記してください */

/*
==================================================
16. プライバシーポリシー等 テキストページスタイル
==================================================
*/
.text-content-container {
    max-width: 800px; /* 文章が読みやすいように最大幅を設定 */
}

.privacy-content {
    line-height: 1.8;
    color: #333;
}

.privacy-content .enactment-date,
.privacy-content .representative-name {
    text-align: right;
    margin-bottom: 2em;
}

.privacy-content p {
    margin-bottom: 1.5em;
}

.privacy-heading {
    font-size: 1.6rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    margin: 60px 0 25px 0;
}

.privacy-sub-heading {
    font-size: 1.2rem;
    padding-left: 1em;
    border-left: 4px solid var(--secondary-color);
    margin: 30px 0 20px 0;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
}

.privacy-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.8em;
}

.privacy-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.privacy-contact-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 700;
}

.privacy-contact-link:hover {
    text-decoration: none;
}

/* css.html の末尾に追記してください */

/*
==================================================
17. テキストベースの下層ページ 微調整スタイル
==================================================
*/

/*
  「テクノロジー」や「サステナビリティ」などのテキスト中心のページで、
  情報のまとまりを良く見せるための微調整です。
*/

/* content-title (大見出し) を持たないセクションの上の余白を少し詰める */
.content-section:not(:has(.content-title)) {
    margin-top: -30px;
}

/* ページ内の最初のセクションには上記のスタイルを適用しない */
.page-content .container > .content-section:first-child {
    margin-top: 0;
}

/* css.html の末尾に追記してください */

/*
==================================================
18. ソリューションページ スタイル
==================================================
*/
.solution-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.solution-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-bottom: 5px solid transparent;
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-bottom-color: var(--secondary-color);
}

.solution-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.solution-title {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    color: var(--primary-color);
}

.solution-text {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
    color: #555;
}