/* --- 基本設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    background-color: #000; /* 画像読み込み前の背景色 */
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden; /* 横スクロール防止 */
}

/* --- 1. ヒーローセクション (ステージ全体) --- */
.hero-stage {
    position: relative;
    height: 100vh; /* 画面全体の高さ */
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;

    /* ★重要★
       ここに、あのビジュアルイメージの画像パスを指定します
    */
    background-image: url('../images/rock-n-code-background.png'); /* 例: 'images/background.jpg' */

    /* 背景画像の設定 */
    background-size: cover;     /* 画面全体を覆う */
    background-position: center center; /* 中央に配置 */
    background-repeat: no-repeat; /* 繰り返さない */
}

/* --- Pytalk特集リンク --- */
.pytalk-feature-link {
    position: absolute;
    bottom: 330px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 15px 30px;
    width: 750px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3) 0%, rgba(255, 0, 255, 0.3) 100%);
    border: 2px solid #00ffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pytalk-feature-link:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.5) 0%, rgba(255, 0, 255, 0.5) 100%);
    border-color: #fff;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

.pytalk-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    padding: 3px 12px;
    border-radius: 12px;
    letter-spacing: 0.15em;
    text-shadow: none;
}

.pytalk-feature-link:hover .pytalk-badge {
    background: linear-gradient(135deg, #fff 0%, #00ffff 100%);
    color: #000;
}

.pytalk-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 0.05em;
}

.pytalk-feature-link:hover .pytalk-text {
    text-shadow: 0 0 15px #fff, 0 0 25px #00ffff;
}

/* --- Paccess特集リンク --- */
.paccess-feature-link {
    position: absolute;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 15px 30px;
    width: 750px;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.3) 0%, rgba(255, 140, 0, 0.3) 100%);
    border: 2px solid #ffaa00;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.paccess-feature-link:hover {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.5) 0%, rgba(255, 140, 0, 0.5) 100%);
    border-color: #fff;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 170, 0, 0.5);
}

.paccess-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, #ffaa00 0%, #ff8c00 100%);
    padding: 3px 12px;
    border-radius: 12px;
    letter-spacing: 0.15em;
    text-shadow: none;
}

.paccess-feature-link:hover .paccess-badge {
    background: linear-gradient(135deg, #fff 0%, #ffaa00 100%);
    color: #000;
}

.paccess-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 10px #ffaa00;
    letter-spacing: 0.05em;
}

.paccess-feature-link:hover .paccess-text {
    text-shadow: 0 0 15px #fff, 0 0 25px #ffaa00;
}

/* --- TORM特集リンク --- */
.torm-feature-link {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 19;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 15px 30px;
    width: 750px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.3) 0%, rgba(255, 0, 255, 0.1) 100%);
    border: 2px solid #ff00ff;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.torm-feature-link:hover {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.5) 0%, rgba(255, 0, 255, 0.2) 100%);
    border-color: #fff;
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.5);
}

.torm-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    background-color: #ff00ff;
    padding: 3px 12px;
    border-radius: 12px;
    letter-spacing: 0.15em;
    text-shadow: none;
}

.torm-feature-link:hover .torm-badge {
    background-color: #fff;
    color: #000;
}

.torm-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 10px #ff00ff;
    letter-spacing: 0.05em;
}

.torm-feature-link:hover .torm-text {
    text-shadow: 0 0 15px #fff, 0 0 25px #ff00ff;
}

/* --- メタアーキテクト特集リンク --- */
.meta-architect-feature-link {
    position: absolute;
    top: 71px;
    right: 25px;
    z-index: 22;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 15px 30px;
    width: auto;
    max-width: 500px;
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.3) 0%, rgba(168, 216, 255, 0.3) 100%);
    border: 2px solid #64c8ff;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.meta-architect-feature-link:hover {
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.5) 0%, rgba(168, 216, 255, 0.5) 100%);
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 200, 255, 0.6);
}

.meta-architect-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, #64c8ff 0%, #a8d8ff 100%);
    padding: 4px 14px;
    border-radius: 12px;
    letter-spacing: 0.15em;
    text-shadow: none;
}

.meta-architect-feature-link:hover .meta-architect-badge {
    background: linear-gradient(135deg, #fff 0%, #64c8ff 100%);
    color: #000;
}

.meta-architect-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 10px #64c8ff;
    letter-spacing: 0.05em;
}

.meta-architect-feature-link:hover .meta-architect-text {
    text-shadow: 0 0 15px #fff, 0 0 25px #64c8ff;
}

/* --- コーナーロゴ --- */
.corner-logo {
    position: absolute;
    bottom: 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    z-index: 15;
    transition: text-shadow 0.3s ease;

    /* メタリックなテキストのグラデーション */
    background: linear-gradient(to bottom, #ffffff 40%, #aaaaaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* ネオンの影 */
    text-shadow:
        0 0 10px #fff,
        0 0 20px #ff00ff,
        0 0 30px #ff00ff,
        0 0 40px #ff00ff;

    /* テキストの影をつけるため、透明色を一時的に上書き */
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: none;
}

.corner-logo-left {
    left: 40px;
}

.corner-logo-right {
    right: 40px;
}

/* --- 2. ギターフレット風ナビゲーション --- */
.fretboard-nav {
    width: 100%;
    background-color: #3d2c1d; /* フレットボードの木目風 */
    border-bottom: 5px solid #aaa; /* ナット(弦の根本) */
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    /* 背景画像になじませるため、少し透明度を持たせるのもアリ */
    /* background-color: rgba(61, 44, 29, 0.9); */
}

/* TOPページ用: 左の余白ブロック */
.nav-spacer {
    flex: 1;
}

.fretboard-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    max-width: 1000px;
}

/* TOPページ用: 言語セレクタを右上に配置（モバイル用デフォルト） */
.hero-stage > .lang-selector {
    position: absolute;
    top: 8px;
    right: 20px;
    z-index: 101;
}

/* TOPページ用: PC版のナビバー高さと言語セレクタ位置調整 */
@media (min-width: 769px) {
    .hero-stage .fretboard-nav {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .hero-stage > .lang-selector {
        top: 12px;
        right: 35px;
    }
}

.fretboard-nav li {
    flex-grow: 1;
    text-align: center;
    /* フレット(金属の仕切り) */
    border-right: 4px solid #c0c0c0;
}

.fretboard-nav li:first-child {
    border-left: 4px solid #c0c0c0;
}

.fretboard-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #f0e0d0;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

.fretboard-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* --- 3. メインコンテンツ (テキスト) --- */
.hero-content {
    /* 背景画像の「ROCK 'N' CODE」の文字があった位置に
       重なるようにマージンを調整します。
    */
    margin-top: 10%; /* この値は画像に合わせて微調整してください */
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-stage-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    position: relative;
    width: 100%;
    transition: filter 0.3s ease;
}

.hero-stage-link:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

.hero-stage-link:hover .main-headline {
    transform: scale(1.05);
}

.hero-stage-link:hover .corner-logo {
    text-shadow:
        0 0 15px #fff,
        0 0 30px #ff00ff,
        0 0 45px #ff00ff,
        0 0 60px #ff00ff;
}

.main-headline {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    transition: transform 0.3s ease;

    /* メタリックなテキストのグラデーション */
    background: linear-gradient(to bottom, #ffffff 40%, #aaaaaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* ネオンの影 (ピンク系) */
    text-shadow:
        0 0 10px #fff,
        0 0 20px #ff00ff,
        0 0 30px #ff00ff,
        0 0 40px #ff00ff;
}

.sub-headline {
    font-size: 1.25rem;
    color: #eee;
    text-shadow: 0 0 5px #fff;
    margin-top: 10px;
}

/*
   --- 削除された要素 ---
   .spotlight, .silhouette-placeholder, .equalizer のCSSは
   背景画像に含まれるため不要になりました。
*/

/* --- 4. コンテンツページ用のヘッダー --- */
.page-header {
    background-color: #3d2c1d;
    border-bottom: 5px solid #aaa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    padding: 15px 0;
}

.logo a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0e0d0;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}

.logo a:hover {
    color: #fff;
}

/* その他ページ用: ロゴ+メニューのコンテナ */
.header-main {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-between;
}

.page-header .fretboard-nav {
    background-color: transparent;
    border: none;
    box-shadow: none;
    width: auto;
}

.page-header .fretboard-nav ul {
    max-width: none;
}

/* アクティブなナビゲーションリンク */
.fretboard-nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 言語セレクタ (その他ページ用: page-header直下) */
.page-header > .lang-selector {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0;
    margin-left: 20px;
}

/* 言語セレクタ共通スタイル */
.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
}

/* カスタムドロップダウン トグルボタン */
.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3) 0%, rgba(199, 21, 133, 0.3) 100%);
    color: #ff99ff;
    border: 2px solid #cc66ff;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 8px rgba(204, 102, 255, 0.4);
}

.lang-dropdown-toggle:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.5) 0%, rgba(199, 21, 133, 0.5) 100%);
    color: #fff;
    box-shadow: 0 0 12px rgba(204, 102, 255, 0.6);
}

.lang-dropdown-toggle .dropdown-arrow {
    font-size: 8px;
    transition: transform 0.2s ease;
}

.lang-selector.open .lang-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

/* カスタムドロップダウン メニュー */
.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    padding: 0;
    list-style: none;
    background: linear-gradient(135deg, #2a1a3a 0%, #1a0a2a 100%);
    border: 2px solid #cc66ff;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(204, 102, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    min-width: 100%;
}

.lang-selector.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    text-decoration: none;
    color: #ff99ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-dropdown-menu li a:hover {
    background: rgba(204, 102, 255, 0.2);
    color: #fff;
}

.lang-dropdown-menu li a.active {
    background: rgba(204, 102, 255, 0.3);
    color: #fff;
}

/* 国旗アイコン */
.flag-icon {
    width: 30px;
    height: 20px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* --- 5. コンテンツページのメインエリア --- */
.content-page {
    min-height: calc(100vh - 120px);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px 20px;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- 6. タイポグラフィ --- */
.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #ff00ff;

    /* メタリックなグラデーション */
    background: linear-gradient(to bottom, #ffffff 40%, #aaaaaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f0e0d0;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #ff00ff;
}

.content-section {
    margin-bottom: 50px;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #ddd;
}

.lead-text {
    font-size: 1.2rem;
    text-align: center;
    color: #eee;
    margin-bottom: 30px;
}

/* --- 7. サービスページ用スタイル --- */
.service-item,
.tech-category {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #c0c0c0;
    transition: all 0.3s ease;
}

.service-item:hover,
.tech-category:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #ff00ff;
    transform: translateX(5px);
}

.service-item h3,
.tech-category h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #f0e0d0;
    margin-bottom: 10px;
}

/* --- 8. 会社概要ページ用スタイル --- */
.philosophy-text {
    font-size: 1.1rem;
    line-height: 2;
}

.company-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.company-info-table th,
.company-info-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.company-info-table th {
    font-weight: bold;
    color: #f0e0d0;
    width: 30%;
    background-color: rgba(255, 255, 255, 0.05);
}

.company-info-table td {
    color: #ddd;
}

.leadership {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.leader-item {
    flex: 1;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
}

.leader-item h3 {
    font-size: 1rem;
    color: #f0e0d0;
    margin-bottom: 10px;
}

.leader-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

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

.client-list li {
    padding: 10px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #ddd;
}

.client-list li:before {
    content: "▶ ";
    color: #ff00ff;
    margin-right: 10px;
}

/* --- 9. 募集ページ用スタイル --- */
.job-posting {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.job-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.job-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #f0e0d0;
    margin-bottom: 8px;
}

.job-item p {
    margin: 0;
}

.job-item.highlight {
    background-color: rgba(255, 0, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    border: 2px solid #ff00ff;
}

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

.philosophy-list li {
    padding: 10px;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.philosophy-list li:before {
    content: "♪";
    color: #ff00ff;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

/* --- 10. お問合せページ用スタイル --- */
.contact-info {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
}

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

.contact-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #f0e0d0;
    margin-bottom: 8px;
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
}

.contact-item a {
    color: #ff00ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ff00ff;
}

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

.inquiry-list li {
    padding: 10px;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: #ddd;
}

.inquiry-list li:before {
    content: "✓";
    color: #ff00ff;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.note {
    background-color: rgba(255, 0, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #ff00ff;
    margin-top: 20px;
    font-style: italic;
}

/* --- 11. CTA（コール・トゥ・アクション） --- */
.cta {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255, 0, 255, 0.1);
    border-radius: 8px;
    margin-top: 40px;
}

.cta-text {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
}

.cta-text a {
    color: #ff00ff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
}

.cta-text a:hover {
    color: #fff;
    text-shadow: 0 0 10px #ff00ff;
}

.phone-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.phone-number a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 10px #ff00ff;
    transition: all 0.2s ease;
}

.phone-number a:hover {
    color: #ff00ff;
}

.email-address {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 20px 0 10px 0;
    color: #fff;
    text-shadow: 0 0 10px #ff00ff;
}

.email-part {
    color: #fff;
}

.email-at {
    color: #ff00ff;
    margin: 0 5px;
}

.email-note {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 10px;
    font-style: italic;
}

/* --- 12. フッター --- */
.page-footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 20px;
    border-top: 3px solid #3d2c1d;
}

.page-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- 13. Pytalk Playground CTA --- */
.playground-cta {
    margin: 30px 0;
    text-align: center;
}

.playground-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3) 0%, rgba(255, 0, 255, 0.3) 100%);
    border: 3px solid #00ffff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.playground-link:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.5) 0%, rgba(255, 0, 255, 0.5) 100%);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.6);
}

.playground-icon {
    font-size: 2rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.playground-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 0.05em;
}

.playground-arrow {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px #00ffff;
}

.playground-link:hover .playground-icon,
.playground-link:hover .playground-text,
.playground-link:hover .playground-arrow {
    text-shadow: 0 0 20px #fff, 0 0 30px #00ffff;
}

/* --- 14. TERIOSページ用スタイル --- */

/* 比較表 */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.comparison-table thead {
    background-color: rgba(61, 44, 29, 0.8);
}

.comparison-table th {
    padding: 15px 10px;
    text-align: center;
    color: #f0e0d0;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Orbitron', sans-serif;
}

.comparison-table th.terios-col {
    background-color: rgba(255, 0, 255, 0.2);
    color: #fff;
}

.comparison-table td {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
}

.comparison-table td.criteria {
    text-align: left;
    font-weight: bold;
    color: #f0e0d0;
    padding-left: 15px;
}

/* 評価記号のスタイル */
.rating-best {
    color: #ff00ff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px #ff00ff;
}

.rating-good {
    color: #00ff00;
    font-size: 1.5rem;
    font-weight: bold;
}

.rating-limited {
    color: #ffff00;
    font-size: 1.5rem;
    font-weight: bold;
}

.rating-poor {
    color: #888;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 凡例 */
.legend {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.legend h3 {
    font-family: 'Orbitron', sans-serif;
    color: #f0e0d0;
    margin-bottom: 15px;
}

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

.legend li {
    padding: 8px 0;
    color: #ddd;
}

/* 評価項目詳細 */
.criteria-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.criteria-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #c0c0c0;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #ff00ff;
    transform: translateY(-3px);
}

.criteria-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #f0e0d0;
    margin-bottom: 10px;
}

.criteria-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* ハイライトセクション */
.highlight-section {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2) 0%, rgba(255, 0, 255, 0.05) 100%);
    padding: 30px;
    border-radius: 8px;
    border: 2px solid #ff00ff;
}

.conclusion-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #fff;
}

/* 優位性グリッド */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.advantage-item {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.15) 0%, rgba(255, 0, 255, 0.05) 100%);
    padding: 25px;
    border-radius: 8px;
    border: 2px solid rgba(255, 0, 255, 0.5);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    border-color: #ff00ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.3);
}

.advantage-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #ff00ff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.advantage-item p {
    line-height: 1.8;
    color: #eee;
}

/* アーキテクチャ比較 */
.architecture-comparison {
    margin-top: 20px;
}

.arch-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #c0c0c0;
}

.arch-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #f0e0d0;
    margin-bottom: 10px;
}

.arch-item p {
    margin-bottom: 8px;
}

.arch-item .limitation {
    color: #aaa;
    font-style: italic;
    margin-top: 5px;
}

.note-text {
    background-color: rgba(255, 255, 0, 0.1);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #ffff00;
    margin-bottom: 20px;
}

/* --- 14. ハンバーガーメニュー --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #c0c0c0;
    border-radius: 4px;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #f0e0d0;
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    border-color: #fff;
}

.hamburger-btn:hover span {
    background-color: #fff;
}

/* ハンバーガーボタン開いた状態 */
.hamburger-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- 15. レスポンシブデザイン --- */
@media (max-width: 768px) {
    /* ハンバーガーボタン表示 */
    .hamburger-btn {
        display: flex;
    }

    /* TOPページ: ナビゲーションのレイアウト */
    .fretboard-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 15px;
        width: 100%;
        z-index: 100;  /* 特集リンク(z-index: 19-22)より高く設定 */
    }

    /* TOPページ用: スマホでは余白ブロックを非表示 */
    .nav-spacer {
        display: none;
    }

    /* TOPページ: ハンバーガーボタンを右側に配置 */
    .fretboard-nav > .hamburger-btn {
        order: 2;
        margin-left: 0;
        margin-right: 10px;
    }

    /* メニューを初期非表示 */
    .fretboard-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #3d2c1d;
        border-top: 2px solid #c0c0c0;
        z-index: 1000;
    }

    /* メニュー展開時 */
    .fretboard-nav ul.open {
        display: flex;
    }

    .fretboard-nav li {
        border-right: none;
        border-bottom: 2px solid #c0c0c0;
    }

    .fretboard-nav li:first-child {
        border-left: none;
    }

    /* TOPページ: 言語セレクタをハンバーガーアイコンの左に配置 */
    .fretboard-nav > .lang-selector {
        display: flex;
        flex: none;
        order: 1;
        margin-left: auto;
        padding-right: 10px;
        position: static;
        width: auto;
        border-top: none;
        background-color: transparent;
    }

    /* TOPページ: ハンバーガーボタンを右寄せ */
    .hero-stage .fretboard-nav .hamburger-btn {
        margin-left: auto;
        order: 2;
    }

    /* TOPページ: 言語セレクタをハンバーガーの左に配置 */
    .hero-stage > .lang-selector {
        top: 15px;
        right: 75px;
    }

    /* その他ページ用 */
    .page-header {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .header-main {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .page-header .fretboard-nav {
        position: static;
        padding: 0;
    }

    .page-header .fretboard-nav ul {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
    }

    /* その他ページ: 言語セレクタをハンバーガーアイコンの左に配置 */
    .page-header > .lang-selector {
        display: flex;
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        padding: 0;
        margin-left: 0;
        border-top: none;
        background-color: transparent;
    }

    /* その他ページ: ハンバーガーボタンを右端に配置 */
    .page-header .fretboard-nav .hamburger-btn {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .content-container {
        padding: 20px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .main-headline {
        font-size: 3rem;
    }

    .corner-logo {
        font-size: 1.5rem;
        bottom: 20px;
    }

    .corner-logo-left {
        left: 20px;
    }

    .corner-logo-right {
        right: 20px;
    }

    /* 特集リンクコンテナ - Flexboxで等間隔配置 */
    .feature-links-container {
        position: absolute;
        top: 45%;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        gap: 8px;
    }

    .pytalk-feature-link,
    .paccess-feature-link,
    .torm-feature-link,
    .meta-architect-feature-link {
        position: static;
        transform: none;
        padding: 12px 20px;
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }

    .pytalk-feature-link:hover,
    .paccess-feature-link:hover,
    .torm-feature-link:hover,
    .meta-architect-feature-link:hover {
        transform: translateY(-3px);
    }

    .pytalk-badge {
        font-size: 0.65rem;
    }

    .pytalk-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .paccess-badge {
        font-size: 0.65rem;
    }

    .paccess-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .torm-badge {
        font-size: 0.7rem;
    }

    .torm-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .meta-architect-badge {
        font-size: 0.65rem;
    }

    .meta-architect-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .playground-link {
        flex-direction: column;
        gap: 10px;
        padding: 15px 25px;
    }

    .playground-icon {
        font-size: 1.5rem;
    }

    .playground-text {
        font-size: 1rem;
    }

    .playground-arrow {
        font-size: 1.2rem;
    }

    .leadership {
        flex-direction: column;
    }

    .company-info-table {
        font-size: 0.9rem;
    }

    .company-info-table th,
    .company-info-table td {
        padding: 10px;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
    }

    .rating-best,
    .rating-good,
    .rating-limited,
    .rating-poor {
        font-size: 1.2rem;
    }

    .advantage-grid,
    .criteria-details {
        grid-template-columns: 1fr;
    }

    .advantage-item,
    .criteria-item {
        transform: none;
    }
}
