/* 規約同意（CF7含む） */
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 14px; }
.privacy-check .form-checkbox { margin-top: 2px; width: 18px; height: 18px; accent-color: #ff6600; }
.privacy-check .checkbox-label { font-size: 14px; line-height: 1.5; color: #555; }
.privacy-check .checkbox-label a { color: #ff6600; text-decoration: underline; }
/* エラー時の強調 */
.privacy-check.privacy-error { outline: 2px solid #ff6600; outline-offset: 4px; border-radius: 4px; padding: 6px; }
@media (max-width: 480px) {
  .privacy-check { flex-direction: column; gap: 6px; }
}
/*
Theme Name: Komekami Theme
Description: SODO creativeのWordPressテーマ
Version: 1.0
Author: SODO creative
Author URI: https://sodocreative.com
Text Domain: komekami
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ヘッダー */
.header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(224, 224, 224, 0.8) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

/* スクロール時のヘッダー効果 */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.15) !important;
}

/* 固定ヘッダーの強制適用 */
html body .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
}

/* さらに強力な固定ヘッダー設定 */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(224, 224, 224, 0.8) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    transform: translateY(0) !important; /* 常に表示 */
    visibility: visible !important; /* 常に表示 */
    opacity: 1 !important; /* 常に表示 */
}

.header-container {
    width: 100%;
    margin: 0;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.logo-main {
    font-size: 32px;
    font-weight: 900;
    color: #333;
    line-height: 0.9;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 12px;
    color: #666;
    margin-top: -3px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    display: block;
}

.nav-link:hover {
    color: #ff6600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6600;
    transition: width 0.3s ease;
}

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

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルメニューオーバーレイ */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    font-weight: bold;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ff6600;
}

/* メインビジュアル */
.hero {
    margin-top: 90px !important; /* ヘッダーバーの高さ分の余白 */
    position: relative;
    height: 150px; /* テスト用：300px → 150pxに低く */
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('../images/bg_page.png') center/cover;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* トップページ専用メインビジュアル */
.hero.index-hero {
    margin-top: 90px !important; /* ヘッダーバーの高さ分の余白 */
    height: 750px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('../images/mv01.png') center/cover;
    background-attachment: fixed;
}



.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* ヒーローは背景に mv01.png、中央にロゴを重ねるデフォルトを使用 */

.title-main {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0;
    line-height: 1;
    font-family: 'Comic Sans MS', cursive;
}

.title-sub {
    font-size: 24px; /* 50%に変更 */
    font-weight: bold;
    color: #ff69b4;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    line-height: 1;
    font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif;
    text-align: center;
    display: block;
    width: 100%;
}

/* メインコンテンツ */
.main-content {
    width: 100%;
    margin: 0;
    padding: 20px 20px 20px 20px;
    margin-top: 0px !important; /* ヘッダービジュアルの下に配置 */
}

/* トップページ専用の上余白調整 */
body.home .main-content {
    margin-top: 0px !important; /* ヘッダービジュアルの下に配置 */
    padding-top: 10px !important;
}

.content-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.content-container.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 70%;
    max-width: 70%;
}

/* セクションヘッダー */
    .section-header {
        background-image: linear-gradient(rgba(255, 102, 0, 0.6), rgba(255, 102, 0, 0.6)), url('../images/bg_page.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important;
        padding: 15px 25px;
        margin-top: 0px;
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 30px;
        padding-right: 30px;
    }

.section-header h2 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.section-icon {
    flex-shrink: 0;
}

/* 左カラム */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* アニメセクション */
.anime-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.anime-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.anime-header h3 {
    font-size: 30px;
    font-weight: bold;
    color: #333;
}

/* アニメセクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .pink-underline h3,
    .pink-underline h3:first-child,
    .pink-underline h3:last-child,
    .anime-section .pink-underline h3,
    .anime-content .pink-underline h3 {
        font-size: 14px !important; /* セミナー・イベントと同じサイズ */
        font-size: 14px !important; /* 強制適用 */
    }
}

@media (max-width: 480px) {
    .pink-underline h3,
    .pink-underline h3:first-child,
    .pink-underline h3:last-child,
    .anime-section .pink-underline h3,
    .anime-content .pink-underline h3 {
        font-size: 14px !important; /* セミナー・イベントと同じサイズ */
        font-size: 14px !important; /* 強制適用 */
    }
}

.anime-logo-image {
    height: 180px;
    width: auto;
    max-width: 900px;
    object-fit: contain;
}

/* アニメロゴ画像のレスポンシブ時のセンタリング */
@media (max-width: 768px) {
    .anime-logo-image {
        height: 120px;
        max-width: 500px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    .anime-header {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .anime-logo-image {
        height: 100px;
        max-width: 400px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
    
    .anime-header {
        text-align: center;
    }
}

.anime-logo-small {
    width: 80px;
    height: 40px;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    border-radius: 8px;
    position: relative;
}

.anime-logo-small::before {
    content: "Girls";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.anime-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ピンクアンダーライン装飾 */
.pink-underline {
    position: relative;
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.1));
    border-radius: 12px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
    transition: all 0.3s ease;
}

.pink-underline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.pink-underline:hover::before {
    opacity: 0.2;
}

.pink-underline h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pink-underline h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #ff69b4, #ff1493, #ff69b4);
    border-radius: 2px;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ボタン */
.btn-details, .btn-view-all {
    background-color: #66aa33;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.btn-details {
    margin-left: auto;
    margin-right: auto;
}

.btn-details:hover, .btn-view-all:hover {
    background-color: #558822;
}

.arrow {
    font-size: 16px;
}

/* キャラクター行 */
.character-row {
    display: flex;
    justify-content: center;
    margin: 20px 0 0 0;
    align-items: center;
}

.character-all-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.character {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffb6c1, #ff69b4);
    position: relative;
}

.chibi-1 { background: linear-gradient(45deg, #ffb6c1, #ff69b4); }
.chibi-2 { background: linear-gradient(45deg, #dda0dd, #9370db); }
.chibi-3 { background: linear-gradient(45deg, #f0e68c, #daa520); }
.chibi-4 { background: linear-gradient(45deg, #add8e6, #4169e1); }
.chibi-5 { background: linear-gradient(45deg, #98fb98, #32cd32); }
.chibi-6 { background: linear-gradient(45deg, #ffa07a, #ff6347); }
.chibi-7 { background: linear-gradient(45deg, #d8bfd8, #9932cc); }

/* お知らせセクション */
.news-section-top {
    padding: 60px 0 10px 0;
    background-color: #f8f9fa;
}

.news-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.news-lead {
    margin-bottom: 40px;
    text-align: center;
}

.news-lead p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.news-content {
    width: 100%;
    background-color: transparent;
    padding: 0;
    border: none;
}

.news-list {
    width: 100%;
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.news-list > div {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    border-left: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.news-list > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-width: 0;
}

/* トップページお知らせ専用スタイル */
.news-section-top .news-date {
    font-size: 12px;
    color: #ff6600;
    font-weight: bold;
    display: inline-block;
    margin-right: 15px;
    background: rgba(255, 102, 0, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.news-section-top .news-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

.news-item {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    align-items: flex-start;
}

.news-thumbnail {
    flex-shrink: 0;
    width: 200px;
    padding: 20px 0;
}

.news-thumbnail .image-placeholder {
    width: 200px;
    height: 150px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    font-weight: bold;
    gap: 8px;
    border-radius: 8px;
}

.news-thumbnail .image-placeholder::after {
    content: "推奨サイズ: 200 × 150px";
    font-size: 12px;
    color: #bbb;
    font-weight: normal;
}

.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.news-category {
    font-size: 12px;
    color: #ff6600;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-title::before {
    content: attr(data-date);
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.news-text {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-view-all:active {
    transform: translateY(0);
}

.btn-view-all .arrow {
    font-size: 16px;
    font-weight: bold;
}

/* 右カラム */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* セミナーセクション */
.seminar-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.seminar-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.seminar-layout {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

/* セミナー・イベントセクションのレスポンシブ時のセンタリング */
@media (max-width: 768px) {
    .seminar-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .seminar-thumbnail {
        width: 100%;
        max-width: 216px; /* 120px × 1.8 = 216px */
        text-align: center;
    }
    
    .seminar-text {
        text-align: center;
    }
    
    .seminar-text h3 {
        text-align: center;
    }
    
    .seminar-text p {
        text-align: center;
    }
}

.seminar-thumbnail {
    flex-shrink: 0;
    width: 80px;
}

.seminar-text {
    flex: 1;
}

.seminar-text h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    margin-top: 0;
}

.seminar-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

.seminar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.seminar-item h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.seminar-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.seminar-image {
    width: 100%;
    height: 60px;
    border-radius: 6px;
    margin-top: 0;
}

/* セミナーリンクのホバーエフェクト */
.seminar-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.seminar-link:hover {
    text-decoration: none;
    color: inherit;
}

.book-image {
    background: linear-gradient(45deg, #c0c0c0, #a0a0a0);
    position: relative;
}

.book-image::before {
    content: "📚";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.exhibition-image {
    background: linear-gradient(45deg, #8b4513, #a0522d);
    position: relative;
}

.exhibition-image::before {
    content: "🏛️";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

/* リンクセクション */
.links-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.link-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.link-layout {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

/* レスポンシブ時のセンタリング */
@media (max-width: 768px) {
    .link-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .link-thumbnail {
        width: 100%;
        max-width: 180px; /* 120px × 1.5 = 180px */
        text-align: center;
    }
    
    .link-text {
        text-align: center;
    }
    
    .link-text h3 {
        text-align: center;
        font-size: 14px !important; /* セミナー・イベントと同じサイズ */
    }
    
    .link-text p {
        text-align: center;
        font-size: 13px; /* セミナー・イベントと同じサイズ */
    }
}

.link-thumbnail {
    flex-shrink: 0;
    width: 80px;
}

.link-text {
    flex: 1;
}

.link-text h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    margin-top: 0;
}

.link-text p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

.link-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.link-item h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.link-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.link-image {
    width: 100%;
    height: auto;
    max-height: 60px;
    border-radius: 6px;
    margin-top: 0;
    object-fit: contain;
}

.komekami-site {
    background: linear-gradient(45deg, #ff69b4, #ff8fa3);
    position: relative;
}

.komekami-site::before {
    content: "🌸";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.manga-association {
    background: linear-gradient(45deg, #4a90e2, #6bb6ff);
    position: relative;
}

.manga-association::before {
    content: "📖";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.kodansha-site {
    background: linear-gradient(45deg, #34c759, #5ad673);
    position: relative;
}

.kodansha-site::before {
    content: "📚";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

/* フッター */
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/bg_page.png') center/cover;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    margin-top: 50px;
    position: relative;
}

.footer-container {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
    text-align: center;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff6600;
}

.copyright {
    color: #ccc;
    font-size: 12px;
}

/* 上に戻るボタン */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
}

.scroll-to-top-btn.show {
    display: flex;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 8px;
    }
    
    .logo-image {
        height: 40px;
        max-width: 160px;
    }
    
    .logo-main {
        font-size: 28px;
    }
    
    .logo-sub {
        font-size: 11px;
    }
    
    .navigation {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .content-container {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .content-container.two-column {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .hero {
        height: 120px; /* テスト用：250px → 120pxに低く */
        margin-top: 70px !important; /* モバイルヘッダーの高さ分 */
    }
    
    .hero.index-hero {
        height: 500px;
        margin-top: 70px !important; /* モバイルヘッダーの高さ分 */
    }
    
    .hero-title {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .title-main {
        font-size: 24px;
    }
    
    .title-sub {
        font-size: 18px; /* 50%に変更 */
        text-align: center;
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    .character-row {
        justify-content: center;
    }
    
    .character-all-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .character {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 140px;
    }
    
    .character-all-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .main-content {
        padding: 20px 0 !important;
    }
    
    .hero {
        height: 80px; /* テスト用：200px → 80pxに低く */
        margin-top: 0;
    }
    
    .hero.index-hero {
        height: 400px;
    }
    
    .hero-title {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .title-main {
        font-size: 20px;
    }
    
    .title-sub {
        font-size: 14px; /* 50%に変更 */
        text-align: center;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    .anime-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .anime-logo-image {
        height: 45px;
        max-width: 200px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .news-date {
        min-width: auto;
        margin-right: 0;
    }
    
    /* お知らせセクションのレスポンシブ */
    .news-section-top {
        padding: 40px 0;
    }
    
    .news-container {
        width: 90%;
        max-width: none;
    }
    
    .news-list > div {
        padding: 12px 15px;
        margin-bottom: 12px;
    }
    
    .news-section-top .news-date {
        font-size: 11px;
        padding: 3px 6px;
        margin-right: 10px;
    }
    
    .news-section-top .news-text {
        font-size: 13px;
    }
    
    .breadcrumb {
        margin-top: 70px;
    }
}

/* ========================================
   日本文化ページ専用スタイル
   ======================================== */







/* 日本文化セクション */
.culture-section {
    margin-bottom: 40px;
}

.culture-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

/* 文化アイテム */
.culture-item {
    margin-bottom: 30px;
}

.culture-item:last-child {
    margin-bottom: 0;
}

/* 左右二分割レイアウト */
.culture-item .item-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.culture-item .item-content .text-content {
    flex: 1;
}

.culture-item .item-content .image-content {
    flex: 0 0 30%;
    min-width: 0;
}

/* フルワイドテキスト用 */
.culture-item .item-content.full-width {
    display: block;
}

.culture-item .item-content.full-width .text-content {
    width: 100%;
}

/* セクションヘッダー（統一済み） */

/* アイテムヘッダー */
.item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* オレンジバーの共通スタイル - 強制的にオレンジ色に設定 */
.orange-bar {
    background-color: #ff6600 !important;
    background-image: none !important;
    border-left: 4px solid #ff6600 !important;
}

/* オレンジバーの基本設定 */
.orange-bar {
    width: 4px;
    height: 20px;
    background-color: #ff6600;
    border-radius: 0;
}

.item-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* アイテムコンテンツ */
.item-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 15px 0;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    font-weight: bold;
    gap: 8px;
}

.image-placeholder::after {
    content: none;
    font-size: 12px;
    color: #bbb;
    font-weight: normal;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.image-placeholder .placeholder-text {
    font-size: 18px;
    color: #999;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-placeholder .image-size-info {
    font-size: 10px;
    color: #bbb;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0.3px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .content-container.two-column {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 90%;
    }
    
    .content-container {
        width: 90% !important;
        max-width: 1200px !important;
    }
    
    /* お知らせセクションの幅を最大限広げる */
    .news-container {
        width: 90% !important;
        max-width: 90% !important;
    }
    
    /* セミナー・イベントと関連リンク情報の見出しサイズを統一（タブレット） */
    .seminar-section .section-header h2,
    .related-contents .section-header h2 {
        font-size: 18px !important;
    }
    
    /* セミナー・イベントセクションの幅をお知らせセクションに合わせる（タブレット） */
    .content-container.two-column .left-column .seminar-section,
    .content-container.two-column .left-column,
    .content-container.two-column {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
    
    .anime-logo-image {
        height: 150px;
        max-width: 700px;
    }
    
    .pink-underline {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    /* ヘッダー */
    .header-container {
        padding: 15px 20px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .navigation {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* メインビジュアル */
    .hero.index-hero {
        height: 500px;
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    /* アニメセクション */
    .anime-logo-image {
        height: 120px;
        max-width: 500px;
        display: block !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .anime-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        align-items: center;
    }
    
    .anime-header h3 {
        font-size: 24px !important; /* タブレット用に調整 */
    }
    
    .pink-underline {
        padding: 15px 25px;
        max-width: 100%;
    }
    
    .pink-underline h3 {
        font-size: 20px !important; /* タブレット用に調整 */
    }
    
    /* お知らせセクション */
    .news-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .news-date {
        font-size: 12px;
    }
    
    .news-title {
        font-size: 14px;
    }
    
    /* セミナー・イベント */
    .seminar-layout {
        flex-direction: column;
        gap: 10px;
    }
    
    .seminar-thumbnail {
        width: 100%;
    }
    
    .seminar-image {
        height: 50px;
    }
    
    /* 関連リンク情報 */
    .link-layout {
        flex-direction: column;
        gap: 10px;
    }
    
    .link-thumbnail {
        width: 100%;
    }
    
    .link-image {
        height: auto;
        max-height: 50px;
        object-fit: contain;
    }
    
    /* セクションヘッダー */
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 16px;
    }
    
    /* パンクズとシェアボタン */
    .breadcrumbs-wrapper {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 15px;
        padding: 0 5px;
        flex-wrap: nowrap !important;
    }
    
    .breadcrumbs {
        font-size: 13px;
        gap: 6px;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .share-buttons {
        flex-shrink: 0;
    }
    
    .share-button {
        padding: 6px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .share-icon {
        width: 14px;
        height: 14px;
    }
    
    /* コンテンツ */
    .culture-item {
        margin-bottom: 25px;
    }
    
    .item-title {
        font-size: 16px;
    }
    
    .item-content p {
        font-size: 13px;
    }
    
    /* Cultureページの段積レイアウト */
    .culture-item .item-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .culture-item .item-content .text-content {
        flex: none;
        width: 100%;
    }
    
    .culture-item .item-content .image-content {
        flex: none;
        width: 100%;
        order: 2; /* 画像を下に配置 */
    }
    
    .culture-item .item-content .image-placeholder {
        height: 180px;
    }
    
    /* メインコンテンツ */
    .main-content {
        padding: 20px 0;
    }
    
    .content-container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}

@media (max-width: 480px) {
    /* ヘッダー */
    .header-container {
        padding: 10px 15px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    /* メインビジュアル */
    .hero.index-hero {
        height: 400px;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    /* アニメセクション */
    .anime-logo-image {
        height: 100px;
        max-width: 400px;
    }
    
    .pink-underline {
        padding: 12px 20px;
    }
    
    .pink-underline h3 {
        font-size: 16px;
    }
    
    /* お知らせセクション */
    .news-date {
        font-size: 11px;
    }
    
    .news-title {
        font-size: 13px;
    }
    
    /* セミナー・イベント */
    .seminar-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .seminar-thumbnail {
        width: 100%;
        max-width: 180px; /* 100px × 1.8 = 180px */
        text-align: center;
    }
    
    .seminar-text {
        text-align: center;
    }
    
    .seminar-text h3 {
        text-align: center;
        font-size: 14px;
    }
    
    .seminar-text p {
        text-align: center;
        font-size: 12px;
    }
    
    .seminar-image {
        height: auto;
        max-height: 60px; /* 40px × 1.5 = 60px */
        object-fit: contain;
    }
    
    /* 関連リンク情報 */
    .link-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .link-thumbnail {
        width: 100%;
        max-width: 150px; /* 100px × 1.5 = 150px */
        text-align: center;
    }
    
    .link-text {
        text-align: center;
    }
    
    .link-text h3 {
        text-align: center;
        font-size: 14px !important; /* セミナー・イベントと同じサイズ */
    }
    
    .link-text p {
        text-align: center;
        font-size: 12px; /* セミナー・イベントと同じサイズ */
    }
    
    .link-image {
        height: auto;
        max-height: 60px; /* 40px × 1.5 = 60px */
        object-fit: contain;
    }
    
    /* セクションヘッダー */
    .section-header h2 {
        font-size: 15px;
    }
    
    /* コンテンツ */
    .culture-item {
        margin-bottom: 20px;
    }
    
    .item-title {
        font-size: 15px;
    }
    
    .item-content p {
        font-size: 12px;
    }
    
    /* メインコンテンツ */
    .main-content {
        padding: 10px 0;
    }
    
    .content-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    /* 提携先・メディア掲載セクションの画面いっぱい表示（小画面） */
    .additional-info-wrapper {
        padding: 0 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .partners-section,
    .media-section-left {
        padding: 15px !important;
        border-radius: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    /* 会社情報テーブルの段積みレイアウト（小画面） */
    .info-table {
        margin: 0 10px;
    }
    
    .table-row {
        margin-bottom: 12px;
    }
    
    .table-label {
        padding: 12px 15px 6px;
        font-size: 12px;
        background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
        background-size: 100% 100%;
        box-sizing: border-box;
    }
    
    .table-value {
        padding: 10px 15px 12px;
        font-size: 13px;
    }
    
    .address-block {
        gap: 4px;
    }
    
    .postal-code {
        font-size: 12px;
    }
    
    .address {
        font-size: 13px;
    }
    
    /* Cultureページの段積レイアウト（小画面） */
    .culture-item .item-content .image-placeholder {
        height: 150px;
    }
    
    /* パンクズとシェアボタン（小画面） */
    .breadcrumbs-wrapper {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 2px;
        gap: 10px;
        flex-wrap: nowrap !important;
    }
    
    .breadcrumbs {
        font-size: 12px;
        gap: 4px;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .share-buttons {
        flex-shrink: 0;
    }
    
    .share-button {
        padding: 5px 10px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .share-icon {
        width: 12px;
        height: 12px;
    }
}

/* アクティブなナビゲーションリンク */
.nav-link.active {
    color: #ff6600;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}







/* ========================================
   企業情報ページ専用スタイル
   ======================================== */

/* 企業情報ページのレスポンシブ対応 */
@media (max-width: 768px) {
    .company-info-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .company-details,
    .company-visual {
        flex: none;
        width: 100%;
    }
    
    .company-table {
        border-radius: 8px;
    }
    
    .table-label {
        width: 100%;
        padding: 15px 15px;
        font-size: 13px;
        background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
        background-size: 100% 100%;
        box-sizing: border-box;
    }
    
    .table-value {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .additional-info-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .partners-section,
    .media-section-left {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        flex: none !important;
    }
    
    .company-header-image {
        width: 100%;
        padding: 15px 0;
    }
    
    .company-header-image .image-placeholder {
        width: 100%;
        height: 200px;
    }
}



/* 企業情報セクション */
.company-section {
    margin: 20px 0;
}

.company-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

/* 企業情報セクション */
.company-section {
    margin: 20px 0;
}

/* 企業情報ヘッダー */
.company-header {
    margin-bottom: 30px;
}

.company-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* リード文 */
.company-lead {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.company-header-image {
    width: 100%;
    margin: 30px 0;
}

.company-header-image .image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    font-weight: bold;
    gap: 8px;
    border-radius: 8px;
}

.company-header-image .image-placeholder::after {
    content: "推奨サイズ: 700px × 300px";
    font-size: 12px;
    color: #bbb;
    font-weight: normal;
}

.company-header-image-actual {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 企業情報ラッパー */
.company-info-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.company-details {
    flex: 1;
    min-width: 0;
}

.company-details.full-width {
    flex: none;
    width: 100%;
}

.company-visual {
    flex: 1;
    min-width: 0;
}

/* おしゃれなテーブル */
.company-table {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.table-row {
    border-bottom: 1px solid #f0f0f0;
}

.table-row:last-child {
    border-bottom: none;
}

.table-label {
    padding: 18px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #ff6600;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
    border-right: 2px solid rgba(255, 102, 0, 0.2);
    width: 130px;
    vertical-align: top;
    position: relative;
}

.table-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6600 0%, #ff8533 100%);
}

.table-value {
    padding: 18px 25px;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
    vertical-align: top;
}

/* 住所ブロック */
.address-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* レスポンシブ時の段積みレイアウト */
@media (max-width: 768px) {
    .info-table {
        display: block;
        width: 100%;
    }
    
    .table-row {
        display: block;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        margin-bottom: 15px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .table-label {
        display: block;
        width: 100%;
        padding: 15px 20px 8px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 102, 0, 0.2);
        background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
        background-size: 100% 100%;
        border-radius: 8px 8px 0 0;
        font-size: 13px;
        box-sizing: border-box;
    }
    
    .table-value {
        display: block;
        width: 100%;
        padding: 12px 20px 15px;
        border-radius: 0 0 8px 8px;
        font-size: 14px;
    }
    
    .address-block {
        gap: 6px;
    }
    
    .postal-code {
        font-size: 13px;
    }
    
    .address {
        font-size: 14px;
    }
}

.postal-code {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.address {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* 追加情報ラッパー（左右二分割） */
.additional-info-wrapper {
    display: flex;
    gap: 30px;
}

.partners-section {
    flex: 1;
    min-width: 0;
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.media-section-left {
    flex: 1;
    min-width: 0;
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

/* レスポンシブ時の画面いっぱい表示 */
@media (max-width: 768px) {
    .additional-info-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .partners-section,
    .media-section-left {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        flex: none !important;
    }
    
    .partners-section {
        margin-bottom: 0 !important;
    }
    
    .media-section-left {
        margin-top: 0 !important;
    }
}

.partners-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.media-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-icon {
    flex-shrink: 0;
}

.partners-list {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.media-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.media-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.media-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    min-width: 100px;
    flex-shrink: 0;
}

.media-link {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    line-height: 1.4;
    word-break: break-all;
}

.media-link:hover {
    text-decoration: underline;
}

/* 企業ビジュアル */
.company-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 企業画像 */
.company-image {
    width: 100%;
    max-width: 300px;
    height: 300px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ホワイトペーパーセクション */
.whitepaper-section {
    margin-top: 40px;
}

.whitepaper-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.whitepaper-description {
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

/* ダウンロードボタン */
.btn-download {
    background-color: #66aa33;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background-color: #558822;
}

.btn-download .arrow {
    font-size: 16px;
}

/* 企業情報ページ用レスポンシブデザイン */
@media (max-width: 768px) {
    .company-info-wrapper {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .additional-info-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .company-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .company-lead {
        font-size: 13px;
        margin: 0 0 15px 0;
    }
    
    .company-image {
        height: 250px;
        max-width: 280px;
    }
    
    .table-label {
        padding: 12px 12px;
        font-size: 12px;
        width: 90px;
    }
    
    .table-value {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .postal-code {
        font-size: 12px;
    }
    
    .address {
        font-size: 13px;
    }
    
    .partners-section,
    .media-section-left {
        padding: 12px;
    }
    
    .partners-title,
    .media-title {
        font-size: 14px;
        gap: 5px;
    }
    
    .title-icon {
        width: 16px;
        height: 16px;
    }
    
    .media-item {
        flex-direction: column;
        gap: 3px;
    }
    
    .media-name {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .company-info-wrapper {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .additional-info-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .company-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .company-lead {
        font-size: 12px;
        margin: 0 0 12px 0;
        line-height: 1.5;
    }
    
    .company-image {
        height: 200px;
        max-width: 250px;
    }
    
    .table-label {
        padding: 10px 10px;
        font-size: 11px;
        width: 80px;
    }
    
    .table-value {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .postal-code {
        font-size: 11px;
    }
    
    .address {
        font-size: 12px;
    }
    
    .partners-list,
    .media-name,
    .media-link {
        font-size: 12px;
    }
    
    .btn-download {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .partners-section,
    .media-section-left {
        padding: 10px;
    }
    
    .partners-title,
    .media-title {
        font-size: 13px;
        gap: 4px;
    }
    
    .title-icon {
        width: 14px;
        height: 14px;
    }
    
    .whitepaper-section {
        margin-top: 30px;
    }
}

/* Philosophy Page Styles */
.philosophy-section,
.business-section {
    margin-bottom: 40px;
}

.philosophy-content,
.business-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.philosophy-item,
.business-item {
    margin-bottom: 30px;
}

.philosophy-item:last-child,
.business-item:last-child {
    margin-bottom: 0;
}

/* 左右二分割レイアウト（philosophyページ用） */
.philosophy-item .item-content,
.business-item .item-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.philosophy-item .item-content .text-content,
.business-item .item-content .text-content {
    flex: 1;
}

.philosophy-item .item-content .image-content,
.business-item .item-content .image-content {
    flex: 0 0 30%;
    min-width: 0;
}

/* セクションヘッダー（統一済み） */

/* アイテムスタイル（統一済み） */

/* レスポンシブスタイル（統一済み） */

/* ポリシー・プライバシーページスタイル（統一済み） */

.privacy-item {
    margin-bottom: 50px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.privacy-item ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
    margin: 20px 0;
}



.contact-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

/* Contact Form Styles */
.contact-lead {
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.03) 0%, rgba(255, 102, 0, 0.01) 100%);
    border-radius: 6px;
    border-left: 3px solid #ff6600;
}

.contact-lead p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #ff6600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* プライバシー同意チェックボックス */
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.form-checkbox {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #ff6600;
    cursor: pointer;
    flex-shrink: 0;
    display: block;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}

.checkbox-label {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    cursor: pointer;
    flex: 1;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-label a {
    color: #ff6600;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* お問い合わせページのレスポンシブ対応 */
@media (max-width: 768px) {
    .contact-content {
        padding: 0 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    
    .privacy-check {
        padding: 12px;
        margin-top: 15px;
    }
    
    .checkbox-label {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Contact Info Styles */
.contact-info {
    margin-top: 20px;
}

.contact-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Policy, Privacy, Contact Page Responsive */
@media (max-width: 768px) {
    .policy-content,
    .privacy-content,
    .contact-content {
        padding: 0 20px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    .btn-submit {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .info-item h4 {
        font-size: 16px;
    }
    
    .info-item p,
    .access-info p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .policy-content,
    .privacy-content,
    .contact-content {
        padding: 0 15px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px;
        padding: 8px 10px;
    }
    
    .btn-submit {
        padding: 10px 25px;
        font-size: 15px;
    }
    
    .info-item h4 {
        font-size: 15px;
    }
    
    .info-item p,
    .access-info p {
        font-size: 14px;
    }
    
    .map-placeholder {
        padding: 30px 20px;
    }
}

/* News Page Styles */
.news-hero {
    margin: 40px 0;
    text-align: center;
}

.news-section {
    margin: 60px 0;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.news-item {
    margin-bottom: 50px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
    display: flex;
    gap: 25px;
}

.news-thumbnail {
    flex-shrink: 0;
    width: 200px;
    padding-left: 12px;
    padding-top: 25px;
}

.thumbnail-placeholder {
    width: 200px;
    height: 200px;
    background-color: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.news-content-wrapper {
    flex: 1;
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.news-category {
    font-size: 12px;
    color: #ff6600;
    background-color: rgba(255, 102, 0, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.news-item .item-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0 0 20px 0;
    flex: 1;
}

.news-link {
    text-align: right;
}

.btn-read-more {
    display: inline-block;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

.btn-read-more:active {
    transform: translateY(0);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.pagination-info {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.current-page {
    color: #ff6600;
    font-weight: bold;
}

.pagination-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination-link {
    display: inline-block;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.pagination-link:hover:not(.disabled) {
    border-color: #ff6600;
    color: #ff6600;
    background-color: rgba(255, 102, 0, 0.05);
}

.pagination-link.active {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    border-color: #ff6600;
    color: white;
}

.pagination-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-link.prev,
.pagination-link.next {
    min-width: 60px;
}

/* News Page Responsive */
@media (max-width: 768px) {
    .news-content {
        padding: 0 20px;
    }
    
    .news-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-thumbnail {
        width: 100%;
        padding-left: 0;
        padding-top: 0;
    }
    
    .thumbnail-placeholder {
        width: 100%;
        height: 250px;
    }
    
    .news-content-wrapper {
        padding: 20px 20px 20px 20px;
    }
    
    .news-meta {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    
    .news-item .item-title {
        font-size: 16px;
    }
    
    .news-excerpt {
        font-size: 15px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .pagination-links {
        gap: 8px;
    }
    
    .pagination-link {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 35px;
    }
    
    .pagination-link.prev,
    .pagination-link.next {
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 0 15px;
    }
    
    .news-item {
        gap: 15px;
    }
    
    .thumbnail-placeholder {
        height: 200px;
    }
    
    .news-content-wrapper {
        padding: 15px 15px 15px 15px;
    }
    
    .news-meta {
        gap: 8px;
    }
    
    .news-date {
        font-size: 13px;
    }
    
    .news-category {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .news-item .item-title {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 14px;
    }
    
    .btn-read-more {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .pagination {
        padding: 15px;
    }
    
    .pagination-info {
        font-size: 14px;
    }
    
    .pagination-links {
        gap: 6px;
    }
    
    .pagination-link {
        padding: 5px 8px;
        font-size: 12px;
        min-width: 30px;
    }
    
    .pagination-link.prev,
    .pagination-link.next {
        min-width: 45px;
    }
}

/* News Detail Page Styles */
.news-detail-hero {
    margin: 40px 0;
    text-align: center;
}

.news-detail-section {
    margin: 0px 0;
}

.news-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.news-detail-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.news-detail-item .item-header {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    gap: 15px;
}

.news-detail-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-width: 120px;
}

.news-detail-item .item-content {
    padding: 25px;
}

.news-detail-image {
    margin-bottom: 30px;
    text-align: center;
}

.detail-image-placeholder {
    width: 100%;
    max-width: 800px;
    height: 500px;
    background-color: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.news-detail-text {
    line-height: 1.8;
    color: #555;
}

.news-detail-text p {
    font-size: 16px;
    margin-bottom: 20px;
}

.news-detail-text h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 30px 0 15px 0;
    padding-left: 15px;
    border-left: 4px solid #ff6600;
}

.news-detail-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.news-detail-text li {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-detail-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.news-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* 前後の記事ナビゲーション */
.news-navigation {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.nav-prev,
.nav-next {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 45%;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: #ff6600;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15);
    transform: translateY(-2px);
}

.nav-prev.disabled,
.nav-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    border-radius: 50%;
    flex-shrink: 0;
}

.nav-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.nav-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-next {
    text-align: right;
}

.nav-next .nav-content {
    align-items: flex-end;
}

.nav-next .nav-arrow {
    order: 2;
}

.news-tags {
    margin-bottom: 25px;
}

.tag {
    display: inline-block;
    background-color: rgba(255, 102, 0, 0.1);
    color: #ff6600;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.news-navigation {
    text-align: center;
}

.btn-back {
    display: inline-block;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

.btn-back:active {
    transform: translateY(0);
}

/* News Detail Page Responsive */
@media (max-width: 768px) {
    .news-detail-content {
        padding: 0 20px;
    }
    
    .news-detail-item .item-header {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }
    
    .news-detail-meta {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        min-width: auto;
    }
    
    .news-detail-item .item-content {
        padding: 20px;
    }
    
    .detail-image-placeholder {
        height: 300px;
    }
    
    .news-detail-text h4 {
        font-size: 18px;
    }
    
    .news-detail-text p,
    .news-detail-text li {
        font-size: 15px;
    }
    
    .btn-back {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .news-detail-content {
        padding: 0 15px;
    }
    
    .news-detail-item .item-header {
        padding: 12px 15px;
    }
    
    .news-detail-meta {
        gap: 8px;
    }
    
    .news-detail-item .item-content {
        padding: 15px;
    }
    
    .detail-image-placeholder {
        height: 200px;
    }
    
    .news-detail-text h4 {
        font-size: 16px;
        margin: 25px 0 12px 0;
    }
    
    .news-detail-text p,
    .news-detail-text li {
        font-size: 14px;
    }
    
    .tag {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .btn-back {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Contents Page Styles */
.contents-hero {
    margin: 40px 0;
    text-align: center;
}

.contents-section {
    margin: 20px 0;
}



.contents-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
}

.contents-item {
    margin-bottom: 50px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.contents-item .item-header {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    gap: 15px;
}



.item-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.item-content {
    padding: 30px;
}

.item-content.full-width {
    padding: 0;
}

.contents-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 30px auto;
    text-align: center;
}

.contents-image-actual {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.contents-text {
    padding: 30px;
}

.contents-text h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin: 25px 0 15px 0;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid #ff6600;
}

.contents-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.contents-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.contents-text li {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.features-table tr {
    border-bottom: 1px solid #e9ecef;
}

.features-table tr:last-child {
    border-bottom: none;
}

.feature-label {
    background: #eee;
    color: #333;
    font-weight: bold;
    padding: 15px 20px;
    width: 30%;
    vertical-align: top;
}

.feature-value {
    padding: 15px 20px;
    color: #333;
    line-height: 1.6;
}

.contents-link {
    text-align: center;
    margin-top: 30px;
}

.btn-read-more {
    display: inline-block;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
    color: #fff;
    text-decoration: none;
}

.related-contents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-image {
    width: 100%;
    height: 200px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-image-placeholder {
    text-align: center;
    color: #666;
}

.placeholder-text {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.image-size-info {
    font-size: 0.8rem;
    opacity: 0.7;
}

.related-text {
    padding: 20px;
}

.related-text h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.related-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.anime-overview {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.anime-logo-large {
    max-width: 100%;
    height: auto;
}

.anime-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.anime-info .info-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.anime-info .info-item:last-child {
    border-bottom: none;
}

.anime-info .info-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-right: 20px;
    min-width: 100px;
}

.anime-info .info-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.story-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.story-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.story-character-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.characters-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.character-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.character-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.character-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-info {
    padding: 20px;
}

.character-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.character-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.staff-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.staff-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.staff-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.staff-item h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 10px;
}

.staff-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.related-links {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.link-card {
    display: block;
    padding: 25px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
    color: #fff;
    text-decoration: none;
}

.link-card h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.link-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contents-content {
        max-width: 100%;
    }
    
    .item-header {
        padding: 15px 20px;
    }
    
    .item-title {
        font-size: 1.2rem;
    }
    
    .item-content {
        padding: 20px;
    }
    
    .contents-text {
        padding: 20px;
    }
    
    .related-contents {
        grid-template-columns: 1fr;
    }
    
    .features-table {
        font-size: 14px;
    }
    
    .feature-label {
        padding: 12px 15px;
    }
    
    .feature-value {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .contents-content {
        max-width: 100%;
    }
    
    .item-header {
        padding: 12px 15px;
    }
    
    .item-title {
        font-size: 1.1rem;
    }
    
    .item-content {
        padding: 15px;
    }
    
    .contents-text {
        padding: 15px;
    }
    
    .features-table {
        font-size: 13px;
    }
    
    .feature-label {
        padding: 10px 12px;
        width: 35%;
    }
    
    .feature-value {
        padding: 10px 12px;
    }
}

/* 企業理念・事業案内ページスタイル */
.main-content {
    padding: 60px 0;
    background-color: #fff;
}

.content-container {
    max-width: 70%;
    margin: 0 auto;
        padding: 0 20px;
    }
    
.philosophy-section,
.business-section {
    margin-bottom: 60px;
}

.section-header {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    padding: 20px 30px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.section-icon {
    flex-shrink: 0;
}

.section-header h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.philosophy-content,
.business-content {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.philosophy-item,
.business-item {
    border-bottom: 1px solid #e0e0e0;
}

.philosophy-item:last-child,
.business-item:last-child {
    border-bottom: none;
}

.item-header {
    background: #f8f9fa;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}



.item-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.item-content {
    padding: 30px;
}

.item-content.full-width {
        width: 100%;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.text-content p:last-child {
        margin-bottom: 0;
    }
    
/* 日本文化ページスタイル */
.culture-section {
    margin-bottom: 40px;
}

/* contentsページの関連コンテンツセクションを非表示 */
.page-template-page-contents .related-contents,
.related-contents {
    display: none !important;
}

.related-item {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.related-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-image {
    height: 200px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

.related-image-placeholder {
        text-align: center;
    }
    
.placeholder-text {
    font-weight: bold;
    margin-bottom: 5px;
}

.image-size-info {
    font-size: 0.8rem;
    color: #999;
}

.related-text {
    padding: 20px;
}

.related-text h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.related-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contents-link {
    margin-top: 30px;
    text-align: center;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

/* インデントテキスト */
.indent-text {
    text-indent: 2em;
    padding-left: 2em;
}

.culture-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.culture-item {
    margin-bottom: 30px;
}

.culture-item:last-child {
    margin-bottom: 0;
}

    .culture-item .item-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    }
    
    .culture-item .item-content .text-content {
    flex: 1;
    }
    
    .culture-item .item-content .image-content {
    flex: 0 0 30%;
    min-width: 0;
}

.culture-item .item-content.full-width {
    display: block;
}

.culture-item .item-content.full-width .text-content {
    width: 100%;
}

/* 企業理念・事業案内ページのレスポンシブ対応 */
@media (max-width: 768px) {
    .philosophy-header-container {
        padding: 0 15px;
    }
    
    .philosophy-title {
        font-size: 2rem;
    }
    
    .philosophy-subtitle {
        font-size: 1rem;
    }
    
    .philosophy-container {
        padding: 0 15px;
    }
    
    .section-content {
        padding: 0 15px;
    }
    
    .content-title {
        font-size: 1rem;
    }
    
    .content-text p {
        font-size: 0.95rem;
    }
    
    .section-header {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 480px) {
    .philosophy-title {
        font-size: 1.8rem;
    }
    
    .philosophy-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .content-title {
        font-size: 0.95rem;
    }
    
    .content-text p {
        font-size: 0.9rem;
    }
    
    .section-header {
        max-width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
}
/* ========================================
   企業情報ページ専用スタイル
   ======================================== */

/* 企業情報セクション */
.company-section {
    margin: 60px 0;
}

.company-section .section-header {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.company-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

    .company-header {
        padding: 40px 0;
        text-align: center;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-bottom: 1px solid #e9ecef;
    }

.company-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
        margin-bottom: 20px;
    }
    
.company-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-header-image {
    margin-top: 30px;
}

.company-header-image-actual {
    max-width: 300px;
    height: auto;
        display: block;
    margin: 0 auto;
}

/* 企業情報テーブル */
.company-info-wrapper {
    padding: 40px 30px;
}

.company-details {
        width: 100%;
}

.company-table {
    width: 100%;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.table-row {
    border-bottom: 1px solid #e9ecef;
}

.table-row:last-child {
    border-bottom: none;
}

.table-label {
    background: #eee;
    color: #333;
    font-weight: bold;
    padding: 20px 25px;
    width: 25%;
    vertical-align: top;
    font-size: 1rem;
}

.table-value {
    padding: 20px 25px;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
    background: #fff;
}

.address-block {
    display: flex;
        flex-direction: column;
    gap: 5px;
}

.postal-code {
    font-weight: bold;
    color: #666;
}

.address {
    color: #333;
}

/* 追加情報セクション */
.additional-info-wrapper {
    padding: 40px 30px;
    background: transparent;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.partners-section {
    flex: 1;
        margin-bottom: 0;
    }
    
.partners-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.title-icon {
    width: 20px;
    height: 20px;
}

.partners-list {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.media-section-left {
    flex: 1;
    margin-top: 0;
}

.media-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.media-list {
    display: flex;
    flex-direction: column;
        gap: 15px;
    }
    
.media-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.media-name {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.media-link {
    color: #ff6600;
    text-decoration: none;
    font-size: 0.95rem;
    word-break: break-all;
    transition: color 0.3s ease;
}

.media-link:hover {
    color: #ff8533;
    text-decoration: underline;
}

/* ホワイトペーパーセクション */
.whitepaper-section {
    margin: 60px 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.whitepaper-section .section-header {
    display: flex;
    align-items: center;
        gap: 15px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.whitepaper-section .section-header h2 {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
}

.whitepaper-content {
    padding: 40px 30px;
    text-align: center;
}

.whitepaper-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
        margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
}

.btn-download .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-download:hover .arrow {
    transform: translateX(5px);
}

/* 企業情報ページのレスポンシブ対応 */
@media (max-width: 768px) {
    .company-header {
        padding: 30px 20px;
    }
    
    .company-title {
        font-size: 1.8rem;
    }
    
    .company-lead {
        font-size: 1rem;
    }
    
    .company-info-wrapper {
        padding: 30px 20px;
    }
    
    .table-label,
    .table-value {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .additional-info-wrapper {
        padding: 30px 20px;
    }
    
    .whitepaper-content {
        padding: 30px 20px;
    }
    
    .whitepaper-description {
        font-size: 1rem;
    }
    
    .btn-download {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .company-title {
        font-size: 1.6rem;
    }
    
    .company-lead {
        font-size: 0.95rem;
    }
    
    .table-label {
        width: 30%;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .table-value {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .partners-title,
    .media-title {
        font-size: 1.1rem;
    }
    
    .whitepaper-section .section-header h2 {
        font-size: 1.2rem;
    }
}

/* ========================================
   お問い合わせページ専用スタイル
   ======================================== */

/* お問い合わせセクション */
.contact-section {
    margin: 60px 0;
}

.contact-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.contact-item {
    margin-bottom: 0;
}

.contact-item .item-header {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    gap: 15px;
}

.contact-item .item-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.contact-lead {
        margin-bottom: 30px;
    }
    
.contact-lead p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
        margin-bottom: 0;
    }
    
/* お問い合わせフォーム */
.contact-form,
.contact-form-fallback {
    max-width: 100%;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
        display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group .required {
    color: #ff6600;
}

.form-group input,
.form-group textarea {
        width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6600;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
        width: 100%;
    max-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
}

/* Contact Form 7のカスタマイズ */
.wpcf7-form {
    max-width: 100%;
    margin: 0;
}

.wpcf7-form .form-group {
    margin-bottom: 25px;
}

.wpcf7-form label {
        display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
    }
    
.wpcf7-form input,
.wpcf7-form textarea {
        width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #ff6600;
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7-form .wpcf7-submit {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
        width: 100%;
    max-width: 200px;
}

.wpcf7-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
}

/* お問い合わせページのレスポンシブ対応 */
@media (max-width: 768px) {
    .contact-item .item-header {
        padding: 15px 20px;
    }
    
    .contact-item .item-title {
        font-size: 1.2rem;
    }
    
    .contact-lead p {
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-item .item-title {
        font-size: 1.1rem;
    }
    
    .contact-lead p {
        font-size: 0.95rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
/* 送信ボタンのレスポンシブ対応 - センタリング */
@media (max-width: 768px) {
    .submit-btn,
    .contact-form .submit-btn,
    .contact-form-fallback .submit-btn,
    .wpcf7-form .wpcf7-submit {
        width: 100%;
        max-width: 300px;
        padding: 15px;
        font-size: 16px;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .submit-btn,
    .contact-form .submit-btn,
    .contact-form-fallback .submit-btn,
    .wpcf7-form .wpcf7-submit {
        max-width: 250px;
        padding: 10px 20px;
        font-size: 0.95rem;
        display: block;
        margin: 0 auto;
    }
}

/* ========================================
   プライバシーポリシーページ専用スタイル
   ======================================== */

/* プライバシーポリシーセクション */
.privacy-section {
    margin: 20px 0;
}



.privacy-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.privacy-item {
    margin-bottom: 0;
}

.privacy-item .item-content {
    padding: 30px;
}

.privacy-item .item-content.full-width {
    padding: 30px;
}

.privacy-item .item-header {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    gap: 15px;
}

.privacy-item .item-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.privacy-lead {
    margin-bottom: 30px;
}

.privacy-lead p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

.privacy-section-item {
    margin-bottom: 30px;
}

.privacy-section-item:last-child {
    margin-bottom: 0;
}

.privacy-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff6600;
}

.privacy-section-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
        margin-bottom: 15px;
}

.privacy-section-item ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section-item li {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.privacy-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.privacy-footer p {
    margin-bottom: 5px;
    color: #666;
    font-size: 0.95rem;
}

/* プライバシーポリシーページのレスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-item .item-header {
        padding: 15px 20px;
    }
    
    .privacy-item .item-title {
        font-size: 1.2rem;
    }
    
    .privacy-lead p {
        font-size: 1rem;
    }
    
    .privacy-subtitle {
        font-size: 1.1rem;
    }
    
    .privacy-section-item p,
    .privacy-section-item li {
        font-size: 0.95rem;
    }
    
    .contact-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .privacy-item .item-title {
        font-size: 1.1rem;
    }
    
    .privacy-lead p {
        font-size: 0.95rem;
    }
    
    .privacy-subtitle {
        font-size: 1rem;
    }
    
    .privacy-section-item p,
    .privacy-section-item li {
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 12px;
    }
    
    .privacy-footer p {
        font-size: 0.9rem;
    }
}

/* ========================================
   お知らせ一覧ページ専用スタイル
   ======================================== */

/* お知らせ一覧セクション */
.news-section {
    margin: 60px 0;
}

.news-section .section-header {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.news-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px;
}

.news-item {
    margin-bottom: 50px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
        border: 1px solid #e9ecef;
}

.news-item .item-header {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    gap: 15px;
}

.news-item .item-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.news-item .item-content {
    padding: 30px;
}

.news-item .item-content.full-width {
    padding: 30px;
}



.news-lead {
    margin-bottom: 30px;
    padding: 0 30px;
}

.news-lead p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 25px;
        background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    background: #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
        color: #666;
    font-size: 0.9rem;
}

.news-info {
    flex: 1;
}

.news-category {
    font-size: 0.8rem;
    color: #ff6600;
    font-weight: bold;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
        line-height: 1.4;
    }
    
.news-title::before {
    content: attr(data-date);
        display: block;
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
    margin-bottom: 5px;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.news-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #ff6600;
}

.news-thumbnail {
    flex: 0 0 120px;
    height: 80px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-excerpt {
    margin-bottom: 15px;
}

.news-excerpt p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.news-meta {
    text-align: right;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff6600;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #ff8533;
}

.read-more-link .arrow {
    transition: transform 0.3s ease;
}

.read-more-link:hover .arrow {
    transform: translateX(3px);
}

/* ページネーション */
.news-pagination {
    margin-top: 40px;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

.news-pagination .prev,
.news-pagination .next {
    width: auto;
    padding: 0 15px;
    font-size: 0.9rem;
}

/* ニュースがない場合 */
.no-news {
    text-align: center;
    padding: 40px 20px;
}

.no-news p {
    font-size: 1.1rem;
    color: #666;
        margin: 0;
    }
    
/* お知らせ一覧ページのレスポンシブ対応 */
@media (max-width: 768px) {
    .news-item .item-header {
        padding: 15px 20px;
    }
    
    .news-item .item-title {
        font-size: 1.2rem;
    }
    
    .news-item .item-content {
        padding: 20px;
    }
    
    .news-lead p {
        font-size: 1rem;
    }
    
    .news-article {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .news-thumbnail {
        flex: 0 0 auto;
        width: 100%;
        height: 120px;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-excerpt p {
        font-size: 0.95rem;
    }
    
    .news-pagination .page-numbers {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .news-pagination .prev,
    .news-pagination .next {
        padding: 0 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .news-item .item-title {
        font-size: 1.1rem;
    }
    
    .news-item .item-content {
        padding: 15px;
    }
    
    .news-lead p {
        font-size: 0.95rem;
    }
    
    .news-article {
        padding: 15px;
        flex-direction: column;
        gap: 12px;
    }
    
    .news-thumbnail {
        height: 100px;
    }
    
    .news-title {
        font-size: 1rem;
    }
    
    .news-excerpt p {
        font-size: 0.9rem;
    }
    
    .read-more-link {
        font-size: 0.9rem;
    }
    
    .news-pagination .page-numbers {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        margin: 0 3px;
    }
    
    .news-pagination .prev,
    .news-pagination .next {
        padding: 0 10px;
        font-size: 0.8rem;
    }
}

/* ========================================
   記事詳細ページ専用スタイル
   ======================================== */

/* 記事詳細セクション */
.news-detail-section {
    margin: 0px 0;
}

.news-detail-section .section-header {
    background-image: linear-gradient(rgba(255, 102, 0, 0.6), rgba(255, 102, 0, 0.6)), url('../images/bg_page.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

.news-detail-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.news-detail-item {
    margin-bottom: 0;
}

.news-detail-item .item-header {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    gap: 15px;
}

.news-detail-item .item-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.news-detail-item .item-content {
    padding: 30px;
}

.news-detail-item .item-content.full-width {
    padding: 30px;
}

/* 記事メタ情報 */
.news-detail-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.news-detail-meta .news-date {
    margin-bottom: 10px;
}

.news-detail-meta .news-date time {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.news-detail-meta .news-category {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-meta .category-label {
    font-size: 0.9rem;
    color: #666;
}

.news-detail-meta .category-name {
    font-size: 0.9rem;
    color: #ff6600;
    font-weight: 600;
    background: #fff3e0;
    padding: 4px 8px;
    border-radius: 4px;
}

/* 記事画像 */
.news-detail-image {
    margin-bottom: 30px;
        text-align: center;
    }
    
.news-detail-image img,
.news-detail-image .featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-detail-image img:hover,
.news-detail-image .featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-image-container {
    position: relative;
    margin-bottom: 20px;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 15px 15px;
    border-radius: 0 0 8px 8px;
    text-align: center;
}

.caption-text {
        font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.news-detail-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    font-weight: bold;
    gap: 8px;
}

.news-detail-image .placeholder-text {
    font-size: 18px;
    color: #999;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-detail-image .image-size-info {
    font-size: 12px;
    color: #bbb;
    font-weight: normal;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.news-detail-image .upload-hint {
    font-size: 11px;
    color: #999;
    font-weight: normal;
    background-color: rgba(255, 102, 0, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 102, 0, 0.2);
    margin-top: 10px;
}

/* 記事本文 */
.news-detail-body {
    margin-bottom: 40px;
}

.news-detail-body p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.news-detail-body h1,
.news-detail-body h2,
.news-detail-body h3,
.news-detail-body h4,
.news-detail-body h5,
.news-detail-body h6 {
    font-weight: bold;
    color: #333;
    margin: 30px 0 15px 0;
}

.news-detail-body h1 { font-size: 1.8rem; }
.news-detail-body h2 { font-size: 1.6rem; }
.news-detail-body h3 { font-size: 1.4rem; }
.news-detail-body h4 { font-size: 1.2rem; }
.news-detail-body h5 { font-size: 1.1rem; }
.news-detail-body h6 { font-size: 1rem; }

.news-detail-body ul,
.news-detail-body ol {
    margin: 20px 0;
    padding-left: 20px;
}

.news-detail-body li {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.news-detail-body blockquote {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #ff6600;
    border-radius: 4px;
    font-style: italic;
}

.news-detail-body blockquote p {
    margin: 0;
    color: #666;
}

/* 記事フッター */
.news-detail-footer {
        text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6600;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border: 2px solid #ff6600;
    border-radius: 6px;
}

.back-to-news:hover {
    background: #ff6600;
    color: #fff;
}

/* 記事詳細ページのレスポンシブ対応 */
@media (max-width: 768px) {
    .news-detail-item .item-header {
        padding: 15px 20px;
    }
    
    .news-detail-item .item-title {
        font-size: 1.2rem;
    }
    
    .news-detail-item .item-content {
        padding: 20px;
    }
    
    .news-detail-image .image-placeholder {
        height: 300px;
    }
    
    .featured-image-container {
        margin-bottom: 15px;
    }
    
    .image-caption {
        padding: 15px 10px 10px;
    }
    
    .caption-text {
        font-size: 13px;
    }
    
    .news-detail-body h1 { font-size: 1.6rem; }
    .news-detail-body h2 { font-size: 1.4rem; }
    .news-detail-body h3 { font-size: 1.2rem; }
    .news-detail-body h4 { font-size: 1.1rem; }
    .news-detail-body h5 { font-size: 1rem; }
    .news-detail-body h6 { font-size: 0.95rem; }
    
    .back-to-news {
        font-size: 0.95rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .news-detail-item .item-title {
        font-size: 1.1rem;
    }
    
    .news-detail-item .item-content {
        padding: 15px;
    }
    
    .news-detail-image .image-placeholder {
        height: 200px;
    }
    
    .featured-image-container {
        margin-bottom: 10px;
    }
    
    .image-caption {
        padding: 10px 8px 8px;
    }
    
    .caption-text {
        font-size: 12px;
    }
    
    .news-detail-body p {
        font-size: 0.95rem;
    }
    
    .news-detail-body h1 { font-size: 1.4rem; }
    .news-detail-body h2 { font-size: 1.3rem; }
    .news-detail-body h3 { font-size: 1.2rem; }
    .news-detail-body h4 { font-size: 1.1rem; }
    .news-detail-body h5 { font-size: 1rem; }
    .news-detail-body h6 { font-size: 0.9rem; }
    
    .back-to-news {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

/* コンテンツページレスポンシブ（統一済み） */ 

/* セミナー・イベントセクション */
.seminar-section {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 関連リンク情報セクション */
.links-section {
    margin-top: 10px;
}

/* お知らせセクションヘッダーのボタンスタイル */
.news-section-top .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-section-top .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-view-all-header {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-all-header:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* アニメセクションヘッダーのボタンスタイル */
.anime-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.anime-section .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-details-header {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-details-header:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* お知らせセクションの新しいリストスタイル */
.news-list-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.news-list-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background-color: #f8f9fa;
}

.news-date {
    color: #888;
    font-size: 14px;
    font-weight: normal;
    min-width: 80px;
    margin-right: 20px;
}

.news-title {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
}

/* レスポンシブ対応 - お知らせセクション */
@media (max-width: 768px) {
    .news-list-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 12px 15px;
    }
    
    .news-date {
        min-width: 70px;
        margin-right: 15px;
        font-size: 13px;
        flex-shrink: 0;
        order: 1;
    }
    
    .news-title {
        font-size: 14px;
        flex: 1;
        order: 2;
        text-align: left;
    }
    
    /* オレンジバーのレスポンシブ対応 */
    .orange-bar {
        width: 6px;
        height: 25px;
        background-size: cover;
        background-position: center;
        border-radius: 3px;
    }
    
    /* お知らせセクションヘッダーのレスポンシブ対応 */
    .news-section-top .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .news-section-top .header-left h2 {
        font-size: 18px;
        white-space: nowrap;
    }
    
    .btn-view-all-header {
        font-size: 13px;
        padding: 6px 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* セミナー・イベントと関連リンク情報の見出しサイズを統一 */
    .seminar-section .section-header h2,
    .related-contents .section-header h2 {
        font-size: 18px !important;
    }
    
    /* セミナー・イベントセクションの幅をお知らせセクションに合わせる */
    .content-container.two-column .left-column .seminar-section,
    .content-container.two-column .left-column,
    .content-container.two-column {
        width: 95% !important;
        max-width: 95% !important;
        margin: 0 auto !important;
    }
    
    /* アニメセクションの幅をお知らせセクションに合わせる */
    .content-container {
        width: 80% !important;
        max-width: 1200px !important;
    }
    
    /* お知らせセクションの幅を最大限広げる */
    .news-container {
        width: 95% !important;
        max-width: 95% !important;
    }
}

@media (max-width: 480px) {
    .news-list-item {
        padding: 10px 12px;
    }
    
    .news-date {
        min-width: 60px;
        margin-right: 12px;
        font-size: 12px;
    }
    
    .news-title {
        font-size: 13px;
    }
    
    /* オレンジバーのレスポンシブ対応（小画面） */
    .orange-bar {
        width: 5px;
        height: 20px;
        background-size: cover;
        background-position: center;
        border-radius: 2px;
    }
    
    /* お知らせセクションヘッダーのレスポンシブ対応（小画面） */
    .news-section-top .section-header {
        gap: 10px;
    }
    
    .news-section-top .header-left h2 {
        font-size: 16px;
    }
    
    .btn-view-all-header {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    /* セミナー・イベントと関連リンク情報の見出しサイズを統一（小画面） */
    .seminar-section .section-header h2,
    .related-contents .section-header h2 {
        font-size: 16px !important;
    }
    
    /* セミナー・イベントセクションの幅をお知らせセクションに合わせる（小画面） */
    .content-container.two-column .left-column .seminar-section,
    .content-container.two-column .left-column,
    .content-container.two-column {
        width: 98% !important;
        max-width: 98% !important;
        margin: 0 auto !important;
    }
    
    /* アニメセクションの幅をお知らせセクションに合わせる */
    .content-container {
        width: 80% !important;
        max-width: 1200px !important;
    }
    
    /* お知らせセクションの幅を最大限広げる */
    .news-container {
        width: 98% !important;
        max-width: 98% !important;
    }
}

/* ========================================
   各ページの上余白強制調整（最終手段）
   ======================================== */
/* Contactページ (page-id-31) */
body.page-id-31 .main-content,
.page-id-31 .main-content {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* Companyページ (page-id-28) */
body.page-id-28 .main-content,
.page-id-28 .main-content {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* Contentsページ (page-id-30) */
body.page-id-30 .main-content,
.page-id-30 .main-content {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* 共通のページテンプレート */
body.page-template-default .main-content,
.page-template-default .main-content {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* セクション共通調整 */
.contact-section,
.company-section,
.contents-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* より強力なセレクタ */
html body.page-id-31 .main-content,
html body.page-id-28 .main-content,
html body.page-id-30 .main-content,
html body.page-template-default .main-content {
    padding-top: 20px !important;
}

/* ========================================
   パンクズセクションとシェアボタン
   ======================================== */
.breadcrumbs-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
    margin-bottom: 0;
}

.breadcrumbs-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: nowrap !important;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #ff6600;
}

.breadcrumb-separator {
    color: #ccc;
    margin: 0 4px;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.share-buttons {
    display: flex;
    align-items: center;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #ff6600;
    border: 2px solid #ff6600;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-button:hover {
    transform: translateY(-2px);
    background: #ff6600;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.share-icon {
    width: 16px;
    height: 16px;
}

/* シェアポップアップ */
.share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.share-popup.active {
    display: flex;
}

.share-popup-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

.share-popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.share-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.share-popup-close:hover {
    background-color: #f0f0f0;
}

.share-popup-buttons {
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.share-popup-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.share-popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-popup-button.twitter:hover {
    background-color: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.share-popup-button.facebook:hover {
    background-color: #1877F2;
    color: white;
    border-color: #1877F2;
}

.share-popup-button.line:hover {
    background-color: #00B900;
    color: white;
    border-color: #00B900;
}

.share-popup-button.copy:hover {
    background-color: #666;
    color: white;
    border-color: #666;
}

/* ========================================
   お知らせ一覧ページスタイル（新デザイン）
   ======================================== */
.news-archive-section {
    margin: 0px 0;
}

.news-archive-section .section-header {
    background-image: linear-gradient(rgba(255, 102, 0, 0.6), rgba(255, 102, 0, 0.6)), url('../images/bg_page.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}



.news-archive-intro {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 102, 0, 0.02) 100%);
    border: 1px solid rgba(255, 102, 0, 0.1);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 40px;
    text-align: center;
}

.news-archive-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-archive-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    backdrop-filter: blur(10px);
    height: 200px;
}

.news-archive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-archive-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.15);
    border-color: #ff6600;
}

.news-archive-card:hover::before {
    transform: scaleX(1);
}

.news-archive-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
    align-items: stretch;
    cursor: pointer;
}

.news-archive-image {
    width: 200px;
    min-width: 200px;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.news-archive-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-archive-card:hover .news-archive-thumbnail {
    transform: scale(1.08);
}

.news-archive-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-archive-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
}

.news-archive-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: -8px;
}

.news-archive-date {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}



.news-archive-badge {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

.news-archive-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.news-archive-card:hover .news-archive-badge::before {
    left: 100%;
}

.news-archive-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.news-archive-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 12px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}



/* 空の状態 */
.news-archive-empty {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border: 2px dashed #e9ecef;
    border-radius: 12px;
}

.empty-icon {
    margin-bottom: 20px;
    opacity: 0.6;
}

.news-archive-empty h3 {
    font-size: 20px;
    color: #666;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.news-archive-empty p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* ページネーション */
.news-archive-pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.pagination-list li {
    margin: 0;
}

.pagination-list .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    gap: 6px;
}

.pagination-list .page-numbers:hover,
.pagination-list .page-numbers.current {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    border-color: #ff6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.pagination-list .prev,
.pagination-list .next {
    min-width: 80px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .news-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .news-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .news-archive-intro {
        padding: 20px 25px;
        margin-bottom: 30px;
    }
    
    .news-archive-intro p {
        font-size: 15px;
    }
    
    .news-archive-content {
        padding: 20px;
    }
    
    .news-archive-title {
        font-size: 16px;
    }
    
    .news-archive-excerpt {
        font-size: 13px;
    }
    
    .news-archive-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .news-archive-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-archive-intro {
        padding: 18px 20px;
        margin-bottom: 25px;
    }
    
    .news-archive-intro p {
        font-size: 14px;
    }
    
    .news-archive-content {
        padding: 18px;
    }
    
    .news-archive-title {
        font-size: 15px;
    }
    
    .news-archive-excerpt {
        font-size: 12px;
    }
    
    .news-archive-image {
        height: 180px;
    }
    
    .pagination-list .page-numbers {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }
    
    .pagination-list .prev,
    .pagination-list .next {
        min-width: 70px;
    }
}

/* ========================================
   お知らせグリッドスタイル（旧デザイン）
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.news-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-thumbnail-image {
    transform: scale(1.05);
}

.news-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.news-card-content {
    padding: 20px;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-card-date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.news-card-category {
    background: #ff6600;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.news-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ページネーション */
.news-pagination {
    margin-top: 40px;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: #ff6600;
    color: white;
    border-color: #ff6600;
}

.news-pagination .prev,
.news-pagination .next {
    width: auto;
    padding: 0 16px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .news-card-content {
        padding: 16px;
    }
    
    .news-card-title {
        font-size: 15px;
    }
    
    .news-card-excerpt {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-card-content {
        padding: 14px;
    }
    
    .news-card-title {
        font-size: 14px;
    }
    
    .news-card-excerpt {
        font-size: 12px;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .breadcrumbs-wrapper {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .share-popup-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .share-popup-content {
        width: 95%;
        margin: 20px;
    }
    
    /* お知らせアーカイブのタブレット対応 */
    .news-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .news-archive-card {
        height: 180px;
    }
    
    .news-archive-image {
        width: 150px;
        min-width: 150px;
    }
    
    .news-archive-content {
        padding: 20px;
    }
    
    .news-archive-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .breadcrumbs {
        font-size: 13px;
    }
    
    .share-button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .share-popup-header {
        padding: 16px 20px;
    }
    
    .share-popup-buttons {
        padding: 16px 20px;
    }
    
    /* お知らせアーカイブのレスポンシブ対応 */
    .news-archive-card {
        height: auto;
        flex-direction: column;
    }
    
    .news-archive-link {
        flex-direction: column;
    }
    
    .news-archive-image {
        width: 100%;
        height: 180px;
        min-width: auto;
    }
    
    .news-archive-content {
        padding: 20px;
    }
    
    .news-archive-title {
        font-size: 16px;
    }
    
    .news-archive-excerpt {
        font-size: 13px;
    }
}

/* ========================================
   Companyページの画像拡大（1.5倍）と位置調整
   ======================================== */
/* Companyページのヘッダー画像を1.5倍に拡大 */
body.page-id-28 .company-header-image-actual,
.page-id-28 .company-header-image-actual {
    transform: scale(1.5) !important;
    transform-origin: center center;
}

/* Companyページの画像とテキストの間隔調整 */
body.page-id-28 .company-header-image,
.page-id-28 .company-header-image {
    margin-bottom: 30px !important;
    text-align: center;
}

body.page-id-28 .company-lead,
.page-id-28 .company-lead {
    margin-top: 20px !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    body.page-id-28 .company-header-image-actual,
    .page-id-28 .company-header-image-actual {
        transform: scale(1.3) !important;
    }
    
    body.page-id-28 .company-header-image,
    .page-id-28 .company-header-image {
        margin-bottom: 25px !important;
    }
}

@media (max-width: 480px) {
    body.page-id-28 .company-header-image-actual,
    .page-id-28 .company-header-image-actual {
        transform: scale(1.2) !important;
    }
    
    body.page-id-28 .company-header-image,
    .page-id-28 .company-header-image {
        margin-bottom: 20px !important;
    }
} 

/* レスポンシブ対応 - セミナー・イベントセクションの幅を強制的に調整 */
@media (max-width: 1024px) {
    .content-container.two-column .left-column .seminar-section,
    .content-container.two-column .left-column,
    .content-container.two-column,
    main .content-container.two-column .left-column .seminar-section,
    .seminar-section {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .content-container.two-column .left-column .seminar-section,
    .content-container.two-column .left-column,
    .content-container.two-column,
    main .content-container.two-column .left-column .seminar-section,
    .seminar-section {
        width: 95% !important;
        max-width: 95% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .content-container.two-column .left-column .seminar-section,
    .content-container.two-column .left-column,
    .content-container.two-column,
    main .content-container.two-column .left-column .seminar-section,
    .seminar-section {
        width: 98% !important;
        max-width: 98% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
} 

/* オレンジバーに重ねている見出しのフォントサイズを強制的に16ptに設定 - 全ページ共通 */
.item-title,
.orange-bar + .item-title,
.orange-bar ~ .item-title,
.item-header .item-title,
.seminar-item .item-title,
.link-item .item-title,
.news-item .item-title,
.contact-item .item-title,
.privacy-item .item-title,
.news-detail-item .item-title {
    font-size: 16px !important;
    font-weight: bold !important;
}

/* レスポンシブ対応でも16ptを維持 - 全ページ共通 */
@media (max-width: 1024px) {
    .item-title,
    .orange-bar + .item-title,
    .orange-bar ~ .item-title,
    .item-header .item-title,
    .seminar-item .item-title,
    .link-item .item-title,
    .news-item .item-title,
    .contact-item .item-title,
    .privacy-item .item-title,
    .news-detail-item .item-title {
        font-size: 16px !important;
        font-weight: bold !important;
    }
}

@media (max-width: 768px) {
    .item-title,
    .orange-bar + .item-title,
    .orange-bar ~ .item-title,
    .item-header .item-title,
    .seminar-item .item-title,
    .link-item .item-title,
    .news-item .item-title,
    .contact-item .item-title,
    .privacy-item .item-title,
    .news-detail-item .item-title {
        font-size: 16px !important;
        font-weight: bold !important;
    }
}

@media (max-width: 480px) {
    .item-title,
    .orange-bar + .item-title,
    .orange-bar ~ .item-title,
    .item-header .item-title,
    .seminar-item .item-title,
    .link-item .item-title,
    .news-item .item-title,
    .contact-item .item-title,
    .privacy-item .item-title,
    .news-detail-item .item-title {
        font-size: 16px !important;
        font-weight: bold !important;
    }
}

/* レスポンシブ時、セミナー・イベントセクションのSVG+h2を一行で表示 */
@media (max-width: 1024px) {
    .seminar-section .section-header,
    .links-section .section-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        white-space: nowrap !important;
    }
    
    .seminar-section .section-header .section-icon,
    .links-section .section-header .section-icon {
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    .seminar-section .section-header h2,
    .links-section .section-header h2 {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .seminar-section .section-header,
    .links-section .section-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        white-space: nowrap !important;
    }
    
    .seminar-section .section-header .section-icon,
    .links-section .section-header .section-icon {
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    .seminar-section .section-header h2,
    .links-section .section-header h2 {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .seminar-section .section-header,
    .links-section .section-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        white-space: nowrap !important;
    }
    
    .seminar-section .section-header .section-icon,
    .links-section .section-header .section-icon {
        flex-shrink: 0 !important;
        width: 18px !important;
        height: 18px !important;
    }
    
    .seminar-section .section-header h2,
    .links-section .section-header h2 {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }
}

/* レスポンシブ時、セミナー・イベントと関連リンク情報のSVG+h2を一行で表示 - 強制適用 */
@media (max-width: 1024px) {
    .seminar-section .section-header,
    .links-section .section-header,
    .related-contents .section-header,
    .content-container.two-column .left-column .seminar-section .section-header,
    .content-container.two-column .right-column .links-section .section-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
    }
    
    .seminar-section .section-header .section-icon,
    .links-section .section-header .section-icon,
    .related-contents .section-header .section-icon,
    .content-container.two-column .left-column .seminar-section .section-header .section-icon,
    .content-container.two-column .right-column .links-section .section-header .section-icon {
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }
    
    .seminar-section .section-header h2,
    .links-section .section-header h2,
    .related-contents .section-header h2,
    .content-container.two-column .left-column .seminar-section .section-header h2,
    .content-container.two-column .right-column .links-section .section-header h2 {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        overflow: visible !important;
    }
}

@media (max-width: 768px) {
    .seminar-section .section-header,
    .links-section .section-header,
    .related-contents .section-header,
    .content-container.two-column .left-column .seminar-section .section-header,
    .content-container.two-column .right-column .links-section .section-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
    }
    
    .seminar-section .section-header .section-icon,
    .links-section .section-header .section-icon,
    .related-contents .section-header .section-icon,
    .content-container.two-column .left-column .seminar-section .section-header .section-icon,
    .content-container.two-column .right-column .links-section .section-header .section-icon {
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
    }
    
    .seminar-section .section-header h2,
    .links-section .section-header h2,
    .related-contents .section-header h2,
    .content-container.two-column .left-column .seminar-section .section-header h2,
    .content-container.two-column .right-column .links-section .section-header h2 {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        overflow: visible !important;
    }
}

@media (max-width: 480px) {
    .seminar-section .section-header,
    .links-section .section-header,
    .related-contents .section-header,
    .content-container.two-column .left-column .seminar-section .section-header,
    .content-container.two-column .right-column .links-section .section-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
    }
    
    .seminar-section .section-header .section-icon,
    .links-section .section-header .section-icon,
    .related-contents .section-header .section-icon,
    .content-container.two-column .left-column .seminar-section .section-header .section-icon,
    .content-container.two-column .right-column .links-section .section-header .section-icon {
        flex-shrink: 0 !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
    }
    
    .seminar-section .section-header h2,
    .links-section .section-header h2,
    .related-contents .section-header h2,
    .content-container.two-column .left-column .seminar-section .section-header h2,
    .content-container.two-column .right-column .links-section .section-header h2 {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        overflow: visible !important;
    }
}

/* PC版は元の状態を維持、レスポンシブ時のみ幅を統一 */



/* レスポンシブ対応 - 段積みレイアウトとコンテンツ幅の統一 */
@media (max-width: 1024px) {
    /* 二分割レイアウトを段積みに変更 */
    .content-container.two-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .content-container.two-column .left-column,
    .content-container.two-column .right-column {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* コンテンツ幅の統一 */
    .news-container,
    .content-container,
    .content-container.two-column,
    .seminar-section,
    .links-section,
    .anime-section {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    /* 二分割レイアウトを段積みに変更 */
    .content-container.two-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
    
    .content-container.two-column .left-column,
    .content-container.two-column .right-column {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* コンテンツ幅の統一 */
    .news-container,
    .content-container,
    .content-container.two-column,
    .seminar-section,
    .links-section,
    .anime-section {
        width: 95% !important;
        max-width: 95% !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    /* 二分割レイアウトを段積みに変更 */
    .content-container.two-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .content-container.two-column .left-column,
    .content-container.two-column .right-column {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* コンテンツ幅の統一 */
    .news-container,
    .content-container,
    .content-container.two-column,
    .seminar-section,
    .links-section,
    .anime-section {
        width: 98% !important;
        max-width: 98% !important;
        margin: 0 auto !important;
    }
}

/* 超強制的なアニメセクションの見出しサイズ設定 */
@media (max-width: 768px) {
    .pink-underline h3,
    .pink-underline h3:first-child,
    .pink-underline h3:last-child,
    .pink-underline h3:only-child,
    .anime-section .pink-underline h3,
    .anime-content .pink-underline h3 {
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .pink-underline h3,
    .pink-underline h3:first-child,
    .pink-underline h3:last-child,
    .pink-underline h3:only-child,
    .anime-section .pink-underline h3,
    .anime-content .pink-underline h3 {
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
    }
}

/* フッターSNSセクションのレスポンシブスタイル */
@media (max-width: 768px) {
    .footer-band {
        padding: 15px 0 !important;
    }
    
    .footer-band-content {
        max-width: 280px !important;
        gap: 20px !important;
        justify-content: center !important;
    }
    
    .sns-icon {
        margin: 0 10px !important;
    }
    
    .sns-icon img {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 480px) {
    .footer-band {
        padding: 12px 0 !important;
    }
    
    .footer-band-content {
        max-width: 250px !important;
        gap: 15px !important;
        justify-content: center !important;
    }
    
    .sns-icon {
        margin: 0 8px !important;
    }
    
    .sns-icon img {
        width: 24px !important;
        height: 24px !important;
    }
}

/* 関連リンク情報セクションの見出しサイズを強制的に統一 */
@media (max-width: 768px) {
    .link-text h3,
    .link-text h3:first-child,
    .link-text h3:last-child,
    .link-text h3:only-child,
    .links-section .link-text h3,
    .right-column .link-text h3,
    .link-item .link-text h3,
    .link-layout .link-text h3 {
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .link-text h3,
    .link-text h3:first-child,
    .link-text h3:last-child,
    .link-text h3:only-child,
    .links-section .link-text h3,
    .right-column .link-text h3,
    .link-item .link-text h3,
    .link-layout .link-text h3 {
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
    }
}

/* 最終的な強制設定 - 関連リンク情報セクションの見出しサイズ */
@media (max-width: 768px) {
    html body .links-section .link-text h3,
    html body .right-column .link-text h3,
    html body .link-item .link-text h3,
    html body .link-layout .link-text h3,
    html body .link-text h3,
    .links-section .link-text h3,
    .right-column .link-text h3,
    .link-item .link-text h3,
    .link-layout .link-text h3,
    .link-text h3 {
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    html body .links-section .link-text h3,
    html body .right-column .link-text h3,
    html body .link-item .link-text h3,
    html body .link-layout .link-text h3,
    html body .link-text h3,
    .links-section .link-text h3,
    .right-column .link-text h3,
    .link-item .link-text h3,
    .link-layout .link-text h3,
    .link-text h3 {
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
        font-size: 14px !important;
    }
}