/*
 * ======================================================
 * CSSファイル全体の構成
 * ======================================================
 * 1. 全体的なリセットと基本設定
 * 2. ヘッダーセクション
 * 3. メインビジュアルセクション (index.html)
 * 4. AI動画アピールセクション (index.html)
 * 5. 共通セクションスタイル (各セクションに共通する余白など)
 * 6. 「多様なビジネスの課題を解決」セクション (index.html)
 * 7. 「選ばれる理由 / 私たちの強み」セクション (index.html)
 * 8. サービス概要セクション (index.html)
 * 9. CTAフッターセクション (index.html)
 * 10. フッターセクション
 * 11. ページごとの専用スタイル
 * 12. レスポンシブデザインの調整 (全てのメディアクエリをまとめる)
 */

/*
 * ======================================================
 * 1. 全体的なリセットと基本設定
 * ======================================================
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* paddingやborderを含めて要素の幅と高さを計算する */
}

html {
    scroll-behavior: smooth; /* スムーズスクロールを有効にする */
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333; /* 基本の文字色 */
    background-color: #f8f8f8; /* サイト全体の背景色 */
    line-height: 1.6; /* 文字の行間 */
    -webkit-font-smoothing: antialiased; /* フォントのアンチエイリアシング */
    -moz-osx-font-smoothing: grayscale; /* フォントのアンチエイリアシング */
}

/* コンテンツの最大幅と中央寄せ */
.container {
    max-width: 1200px; /* コンテンツの最大幅 */
    margin: 0 auto; /* 中央寄せ */
    padding: 0 20px; /* 左右の余白 */
}

/* 見出しの共通スタイル */
h1, h2, h3, h4, h5, h6 {
    color: #222; /* 見出しの基本色 */
    margin-bottom: 1em;
    font-weight: 700; /* 見出しを太字に */
}

h1 {
    font-size: 3.5em; /* トップページのメインキャッチコピー用 */
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 1em; /* お問い合わせページの調整に合わせる */
    color: #333;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 1em;
}

a {
    color: #007bff; /* リンクの基本色（青系のアクセントカラー） */
    text-decoration: none; /* 下線をなくす */
    transition: color 0.3s ease; /* ホバー時の色変化を滑らかに */
}

a:hover {
    color: #0056b3; /* ホバー時の色 */
    text-decoration: none;
}

/* ボタンの共通スタイル */
.button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff; /* CTAボタンの背景色（鮮やかな青） */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none; /* aタグで使用する場合の下線削除 */
}

.button:hover {
    background-color: #004085; /* ホバー時の色を少し濃く */
    transform: translateY(-2px); /* 軽く浮き上がるアニメーション */
}

/* ======================================================
 * 2. ヘッダーセクション（完成版）
 * ====================================================== */
header {
    background-color: #e13837;
    padding: 10px 0; /* 上下の余白 */
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ画像の大きさ */
header .logo img {
    height: 60px; /* ロゴの高さを60pxに設定 */
    vertical-align: middle;
}

/* PC表示のナビゲーションメニュー */
header .global-nav ul {
    display: flex;
    list-style: none; /* リストの「・」を消す */
    align-items: center; /* メニューとボタンの高さを揃える */
}

header .global-nav ul li {
    margin-left: 30px; /* メニュー間の余白 */
}

/* 通常のメニューリンク */
header .global-nav ul li a {
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
    text-decoration: none;
}

header .global-nav ul li a:hover {
    color: #FFFFFF; /* ホバー時も文字色は白のまま */
}

/* ホバー時の下線アニメーション */
header .global-nav ul li a:not(.contact-button)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

header .global-nav ul li a:not(.contact-button):hover::after {
    width: 100%;
}

/* ★★★ お問い合わせボタン（修正版） ★★★ */
header .global-nav ul li a.contact-button {
    background-color: #FFFFFF;
    color: #e13837; /* 赤文字 */
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
    border: 1px solid #e13837;
    transition: all 0.3s ease;
}

header .global-nav ul li a.contact-button:hover {
    background-color: #e13837;
    color: #FFFFFF; /* 白文字 */
    border: 1px solid #FFFFFF;
}

/* PC表示ではハンバーガーメニューを非表示に */
.hamburger-menu {
    display: none;
}


/* --- スマートフォン表示のスタイル --- */
@media (max-width: 768px) {
    /* PC用のナビゲーションを非表示に */
    header .global-nav {
        display: none;
    }
    
    /* ハンバーガーアイコンを表示 */
    .hamburger-menu {
        display: block;
        cursor: pointer;
        background: none;
        border: none;
        padding: 10px;
        z-index: 1001;
    }
    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
    }

    /* is-activeクラスが付いた時のメニュー表示 */
    .global-nav.is-active {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        padding-top: 80px;
        z-index: 1000;
    }

    .global-nav.is-active ul {
        flex-direction: column;
        align-items: center;
    }
    .global-nav.is-active ul li {
        margin: 15px 0;
    }
    
    .global-nav.is-active .contact-button {
        margin-top: 20px;
    }

/* ハンバーガーアイコンがアクティブになった時のアニメーション（×印に）と位置 */
.hamburger-menu.is-active {
    position: fixed; /* 画面に固定 */
    top: 20px;       /* 画面の上から20pxの位置 */
    right: 20px;      /* 画面の右から20pxの位置 */
}
.hamburger-menu.is-active span:nth-of-type(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.is-active span:nth-of-type(2) {
    opacity: 0;
}
.hamburger-menu.is-active span:nth-of-type(3) {
    transform: translateY(-8px) rotate(-45deg);
}

}

/*
 * ======================================================
 * 3. メインビジュアルセクション (index.html)
 * ======================================================
 */
#main-visual {
    color: #ffffff; /* テキストの色は白で維持 */
    text-align: center;
    padding: 180px 20px;
    background-image: url('../images/テラアセンダントAI画像.jpg'); /* あなたの画像ファイル名に合わせてください */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* 最小高さを設定 */
}

#main-visual::before { /* 画像の上に重ねる半透明のオーバーレイ */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* 半透明の黒（65%の濃さ）。必要に応じて調整 */
    z-index: 1;
}

#main-visual .container {
    position: relative;
    z-index: 2; /* テキストをオーバーレイより手前に表示 */
}

#main-visual h1 {
    color: #ffffff; /* 文字色を白に */
    font-size: 4em;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#main-visual .subtitle { /* サブコピー用のクラス */
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 300;
}

#main-visual .description { /* 説明文用のクラス */
    font-size: 1.2em;
    margin-bottom: 25px;
    font-weight: 300;
}

#main-visual .button {
    padding: 18px 40px;
    font-size: 1.2em;
    background-color: #007bff; /* より目立つ青系のボタン */
    border-radius: 50px;
}

/*
 * ======================================================
 * 4. AI動画アピールセクション (index.html)
 * ======================================================
 */
#ai-video-showcase {
    background-color: #f0f4f8; /* 背景色を少し変えて、他のセクションと区別 */
    text-align: center;
    padding: 80px 0;
}

#ai-video-showcase h2 {
    color: #0056b3; /* アクセントカラーで見出しを強調 */
    margin-bottom: 1em;
}

#ai-video-showcase .section-description {
    max-width: 800px;
    margin: 0 auto 3em auto;
    font-size: 1.1em;
    color: #555;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 のアスペクト比を維持 (YouTube標準) */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* 動画プレーヤーの最大幅 */
    margin: 0 auto 3em auto; /* 中央寄せと下の余白 */
    background-color: #333; /* 動画読み込み中の背景色など */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-wrapper iframe,
.video-wrapper video, /* videoタグを使う場合も考慮 */
.video-wrapper .video-placeholder { /* プレースホルダーのスタイル */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #ccc;
}

#ai-video-showcase .button {
    margin-top: 30px; /* ボタンの上の余白 */
}

/*
 * ======================================================
 * 5. 共通セクションスタイル (各セクションに共通する余白など)
 * ======================================================
 */
section {
    padding: 100px 0; /* 上下の余白 */
    overflow: hidden; /* コンテンツがはみ出さないように */
}

/*
 * ======================================================
 * 6. 「多様なビジネスの課題を解決」セクション (index.html)
 * ======================================================
 */
#problems {
    background-color: #ffffff; /* 白い背景 */
    padding-top: 80px; /* 上下の余白を少し調整 */
    padding-bottom: 80px;
}

#problems h2 {
    margin-bottom: 1em; /* 見出しの下の余白 */
    color: #222; /* 見出しの色 */
}

#problems .section-description {
    max-width: 900px;
    margin: 0 auto 3em auto; /* 見出しとグリッドの間の余白 */
    text-align: center;
    font-size: 1.1em;
    color: #555;
}

.problem-solution-grid {
    display: grid; /* CSS Grid レイアウトを使用 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3列（小さい画面では自動調整） */
    gap: 30px; /* グリッドアイテム間の間隔 */
    max-width: 1000px; /* グリッド全体の最大幅 */
    margin: 0 auto; /* 中央寄せ */
}

.problem-item {
    background-color: #ffffff; /* 四角の背景色 */
    border: 1px solid #e0e0e0; /* 四角の枠線 */
    border-radius: 10px; /* 角丸 */
    padding: 30px; /* 内側の余白 */
    box-shadow: 0 6px 12px rgba(0,0,0,0.05); /* 影 */
    text-align: center; /* アイコン、見出し、テキストを中央揃え */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* アイコン、見出し、テキストをFlexで縦に並べる */
    flex-direction: column;
    align-items: center; /* 垂直方向にも中央揃え */
}

.problem-item:hover {
    transform: translateY(-8px); /* ホバーで少し浮き上がる */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* ホバー時の影を強調 */
}

.problem-item .icon-placeholder {
    font-size: 3em; /* アイコンのサイズ */
    margin-bottom: 15px;
    color: #007bff; /* アイコンの色 */
    height: 1.5em; /* アイコンの高さの揃え（絵文字の場合は不要なことも） */
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-item h3 {
    font-size: 1.5em;
    color: #0056b3; /* 見出しの色 */
    margin-bottom: 10px;
    line-height: 1.3;
}

.problem-item p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 0; /* 説明文の下の余白は不要 */
}

.problem-item img { /* もし画像アイコンを入れる場合のスタイル */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px; /* 上のテキストとの余白 */
}

/*
 * ========================================
 * 7. 「選ばれる理由 / 私たちの強み」セクション (index.html)
 * ========================================
 */
#strengths {
    background-color: #f0f0f0; /* やや明るいグレーの背景 */
    text-align: center;
}

#strengths .strength-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

#strengths .strength-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 35px 25px;
    margin: 15px;
    width: calc(25% - 30px); /* 4列表示（余白を考慮） */
    min-width: 250px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    vertical-align: top;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#strengths .strength-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

#strengths .strength-item .material-icons {
    font-size: 3.5em; /* アイコンのサイズ */
    margin-bottom: 20px;
    color: #007bff; /* アイコンの色 */
}

#strengths .strength-item h3 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 1.4em;
}

#strengths .strength-item p {
    font-size: 0.95em;
    color: #555;
    flex-grow: 1; /* コンテンツが少ない要素でも高さを揃える */
}

/*
 * ========================================
 * 8. サービス概要セクション (index.html)
 * ========================================
 */
#services {
    background-color: #ffffff;
    text-align: center;
}

#services .service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

#services .service-item {
    display: inline-block;
    vertical-align: top;
    width: calc(33.33% - 40px); /* 3列表示 */
    margin: 20px;
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#services .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

#services .service-item h3 {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 1.5em;
}

#services .service-item p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* コンテンツが少ない要素でも高さを揃える */
}

#services .service-item .button {
    padding: 12px 25px;
    font-size: 0.9em;
    background-color: #6c757d; /* 詳細を見るボタンの色を少し抑える */
    border-radius: 5px;
}

#services .service-item .button:hover {
    background-color: #5a6268;
}

/*
 * ========================================
 * 9. CTAフッターセクション
 * ========================================
 */
#cta-footer {
    background-color: #222; /* 暗めの背景色 */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

#cta-footer h2 {
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 40px;
}

#cta-footer .button {
    background-color: #007bff; /* メインビジュアルと同じ青系のボタン */
    padding: 20px 50px;
    font-size: 1.4em;
    border-radius: 50px;
}

/*
 * ========================================
 * フッターセクション
 * ========================================
 */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.85em;
}

footer .footer-nav ul {
    display: flex;
    justify-content: center; /* 中央寄せ */
    flex-wrap: wrap; /* ★これが重要。必ずここに記述されていることを確認。なければ追加★ */
    gap: 0; /* ★gapを0に設定し、liのmarginで間隔を制御★ */
    margin-bottom: 20px;
    list-style: none; /* リストマーカーを非表示にする */
    padding: 0;
    max-width: 800px; /* フッターメニューの最大幅 */
    margin-left: auto;
    margin-right: auto;
}

footer .footer-nav ul li {
    margin: 0 10px; /* ★左右のmarginを10pxに調整★ */
    margin-bottom: 10px; /* 折り返した時の下の余白 */
}

footer .footer-nav ul li a {
    color: #ccc;
    transition: color 0.3s ease;
    padding: 8px 10px; /* 適切なパディング */
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

footer .footer-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

footer .footer-nav ul li a:hover::after {
    width: 100%;
}

/* --- フッターのYouTube赤いボタン風スタイル --- */

footer .footer-nav ul li .youtube-red-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FF0000;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1em;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

footer .footer-nav ul li .youtube-red-button:hover {
    background-color: #CC0000;
    transform: translateY(-1px);
}

/* 再生ボタンのアイコンのスタイル */
.youtube-red-button .youtube-icon {
    font-size: 1.2em;
    line-height: 1;
    color: #FFFFFF;
    transform: translateX(-2px);
}

/* --- フッターメニュー改行用スタイル --- */

footer .footer-nav ul li.footer-break {
    flex-basis: 100%; /* Flexアイテムの幅を100%にして、強制的に改行させる */
    height: 0; /* 高さは不要なので0 */
    margin: 10px 0; /* 改行された行の上下余白を調整 */
}

/*
 * ========================================
 * 11. ページごとの専用スタイル
 * ========================================
 */

/* --- サービス詳細ページ (`service.html`) 専用スタイル --- */

/* ページごとのヒーローセクション */
#page-hero {
    background-color: #f0f4f8; /* 少し明るい青みがかったグレー */
    color: #333;
    text-align: center;
    padding: 100px 20px;
    border-bottom: 1px solid #e0e0e0;
}

#page-hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #0056b3; /* アクセントカラーで見出しを強調 */
}

#page-hero p {
    font-size: 1.2em;
    color: #555;
}

/* 各サービス詳細ブロックのレイアウト */
.service-content-block {
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    gap: 50px; /* 画像とテキストの間の余白 */
    margin-bottom: 80px; /* 各ブロックの下の余白 */
    flex-wrap: wrap; /* 小さい画面で折り返す */
}

.service-content-block:last-of-type {
    margin-bottom: 0; /* 最後のブロックの下の余白は不要 */
}

.service-content-block .image-area {
    flex: 1; /* 利用可能なスペースを均等に配分 */
    min-width: 300px; /* 画像エリアの最小幅 */
    text-align: center;
}

.service-content-block .image-area img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.service-content-block .text-area {
    flex: 1; /* 利用可能なスペースを均等に配分 */
    min-width: 300px; /* テキストエリアの最小幅 */
}

.service-content-block .text-area h3 {
    font-size: 2em;
    color: #0056b3;
    margin-bottom: 20px;
}

.service-content-block .text-area p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 15px;
}

.service-content-block .text-area ul {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.service-content-block .text-area ul li {
    font-size: 1em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.service-content-block .text-area ul li::before {
    content: '✅'; /* チェックマークのアイコン */
    position: absolute;
    left: 0;
    color: #28a745; /* 緑色 */
    font-size: 1.1em;
}

/* 画像とテキストの並び順を反転させるためのクラス */
.service-content-block.reverse {
    flex-direction: row-reverse; /* 並び順を反転 */
}

/* お問い合わせCTA（サービスページ下部） */
#cta-bottom {
    background-color: #f0f0f0; /* 少し明るいグレーの背景 */
    text-align: center;
    padding: 80px 20px;
    border-top: 1px solid #e0e0e0;
}

#cta-bottom h2 {
    color: #222;
    margin-bottom: 20px;
}

#cta-bottom p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

#cta-bottom .button {
    background-color: #007bff;
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 50px;
}


/* --- 料金ページ (`price.html`) 専用スタイル --- */

#pricing-plans .section-description,
#workshop-pricing .section-description {
    max-width: 800px;
    margin: 0 auto 3em auto;
    text-align: center;
    font-size: 1.1em;
    color: #555;
}

.plans-grid {
    display: flex;
    justify-content: center;
    gap: 30px; /* プラン間の余白 */
    flex-wrap: wrap; /* 折り返しを許可 */
    margin-bottom: 50px;
}

.plan-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px;
    width: calc(50% - 30px); /* 2列表示 */
    min-width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column; /* 要素を縦に並べる */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-item.highlight {
    border-color: #007bff; /* ハイライトカラーのボーダー */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px); /* 少し浮き上がらせる */
}

.plan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.plan-item h3 {
    font-size: 2em;
    color: #0056b3;
    margin-bottom: 20px;
}

.plan-item .price {
    font-size: 2.8em;
    font-weight: bold;
    color: #222;
    margin-bottom: 25px;
    line-height: 1;
}

.plan-item .price span {
    font-size: 1.2em;
    color: #007bff;
}

.plan-item .price small {
    font-size: 0.5em;
    vertical-align: super;
    color: #555;
}

.plan-item .plan-description {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 30px;
    flex-grow: 1; /* 内容の少ないプランでも高さを揃える */
}

.plan-item h4 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
    text-align: left; /* リストの見出しは左寄せ */
}

.plan-item ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    text-align: left; /* リスト項目は左寄せ */
}

.plan-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.plan-item ul li::before {
    content: '✔️'; /* チェックマーク */
    position: absolute;
    left: 0;
    color: #28a745; /* 緑色 */
    font-size: 1.1em;
}

.plan-item .button {
    margin-top: auto; /* ボタンを一番下に配置 */
    width: 100%; /* ボタンを横幅いっぱいに */
    padding: 15px 20px;
    font-size: 1em;
}

/* 料金に関する補足事項 */
.note-section {
    background-color: #fdfdfd;
    border: 1px dashed #ddd; /* 点線ボーダー */
    border-radius: 8px;
    padding: 30px;
    margin-top: 50px;
    color: #444;
}

.note-section h3 {
    font-size: 1.5em;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
}

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

.note-section ul li {
    font-size: 0.95em;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.note-section ul li::before {
    content: '※'; /* 注釈マーク */
    position: absolute;
    left: 0;
    color: #666;
}

/* オンラインワークショップセクション */
#workshop-pricing {
    background-color: #f8f8f8; /* 背景色 */
    text-align: center;
}

.workshop-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px;
    max-width: 600px; /* 幅を制限 */
    margin: 0 auto; /* 中央寄せ */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.workshop-item h3 {
    font-size: 2em;
    color: #0056b3;
    margin-bottom: 20px;
}

.workshop-item .price {
    font-size: 2.8em;
    font-weight: bold;
    color: #222;
    margin-bottom: 25px;
    line-height: 1;
}

.workshop-item .price span {
    font-size: 1.2em;
    color: #007bff;
}

.workshop-item .price small {
    font-size: 0.5em;
    vertical-align: super;
    color: #555;
}

.workshop-item .workshop-description {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 30px;
}

.workshop-item ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
    text-align: left;
}

.workshop-item ul li {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.workshop-item ul li::before {
    content: '✅'; /* チェックマーク */
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 1.1em;
}

.workshop-item .button {
    width: auto; /* ボタンの幅はコンテンツに合わせる */
    padding: 15px 30px;
}


/* レスポンシブデザインの調整 */
@media (max-width: 992px) { /* タブレット対応 */
    .plan-item {
        width: calc(80% - 30px); /* 縦に並べる（中央寄せ） */
    }
}

@media (max-width: 768px) { /* スマートフォン対応 */
    #pricing-plans .section-description,
    #workshop-pricing .section-description {
        font-size: 1em;
        margin-bottom: 2em;
    }
    .plan-item {
        width: calc(100% - 30px); /* 1列表示 */
        padding: 30px;
    }
    .plan-item h3,
    .workshop-item h3 {
        font-size: 1.8em;
    }
    .plan-item .price,
    .workshop-item .price {
        font-size: 2.2em;
    }
    .plan-item .plan-description,
    .workshop-item .workshop-description {
        font-size: 1em;
    }
    .note-section {
        padding: 20px;
    }
    .note-section ul li {
        font-size: 0.9em;
    }
    .workshop-item {
        padding: 30px;
    }
}

/* --- お問い合わせページ (`contact.html`) 専用スタイル --- */

#contact-form-section .section-description {
    max-width: 700px;
    margin: 0 auto 3em auto;
    text-align: center;
    font-size: 1.1em;
    color: #555;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px; /* フォームと直接連絡先の間隔 */
    flex-wrap: wrap; /* 小さい画面で折り返す */
}

.method-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1; /* スペースを均等に配分 */
    min-width: 300px; /* 最小幅 */
    max-width: 500px; /* 最大幅 */
    display: flex;
    flex-direction: column; /* 縦並び */
}

.method-item h3 {
    font-size: 1.8em;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
}

.method-item p {
    font-size: 1em;
    color: #444;
    margin-bottom: 15px;
}

/* お問い合わせフォームのスタイル */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 各フォームグループの間隔 */
}

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

.form-group label {
    display: block; /* ラベルをブロック要素にして上に配置 */
    font-size: 0.95em;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group .required {
    color: #dc3545; /* 必須マークを赤色に */
    font-size: 0.8em;
    margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    background-color: #fcfcfc;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff; /* フォーカス時に青色に */
    box-shadow: 0 0 5px rgba(0,123,255,0.25);
}

.form-group textarea {
    resize: vertical; /* 縦方向のみリサイズ可能に */
    min-height: 120px;
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.form-group.checkbox-group input[type="checkbox"] {
    width: auto; /* チェックボックスの幅を自動調整 */
    margin: 0;
}

.form-group.checkbox-group label {
    display: inline-block; /* ラベルとチェックボックスを横並びにする */
    margin-bottom: 0;
    font-weight: normal;
}

.form-group.checkbox-group label a {
    color: #0056b3;
    text-decoration: underline;
}

.contact-form .button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.1em;
    background-color: #0056b3; /* お問い合わせボタンは落ち着いた青 */
}

.contact-form .button:hover {
    background-color: #004085;
}

/* 直接連絡先のスタイル */
.method-item .contact-info {
    font-size: 1.05em;
    color: #333;
    margin-bottom: 10px;
}

.method-item .contact-info strong {
    color: #0056b3;
    display: inline-block;
    width: 80px; /* ラベルの幅を揃える */
}

.method-item .contact-info a {
    color: #007bff;
    text-decoration: underline;
}

.method-item .contact-info small {
    display: block;
    font-size: 0.85em;
    color: #777;
    margin-left: 80px; /* 電話番号の下に揃える */
}

/* レスポンシブデザインの調整 */
@media (max-width: 992px) { /* タブレット対応 */
    .contact-methods {
        flex-direction: column; /* フォームと連絡先を縦並びに */
        align-items: center;
    }
    .method-item {
        width: calc(100% - 40px); /* 幅を広げる */
        max-width: 600px; /* 最大幅を調整 */
    }
}

@media (max-width: 768px) { /* スマートフォン対応 */
    #contact-form-section .section-description {
        font-size: 1em;
        margin-bottom: 2em;
    }
    .method-item {
        padding: 20px;
    }
    .method-item h3 {
        font-size: 1.6em;
    }
    .form-group label {
        font-size: 0.9em;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95em;
    }
    .contact-form .button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .method-item .contact-info {
        font-size: 0.95em;
    }
}


/* --- 会社概要ページ (`company.html`) 専用スタイル --- */

#company-info-section {
    background-color: #ffffff;
}

#company-info-section h2 {
    text-align: center;
    margin-bottom: 1.5em;
    color: #0056b3; /* 各セクションのタイトルを強調 */
}

#company-info-section .content-block {
    max-width: 800px;
    margin: 0 auto 3em auto; /* 下の余白を調整 */
    text-align: justify; /* テキストを両端揃えに */
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

#company-info-section .content-block p {
    margin-bottom: 1.5em;
}


/* 会社情報のテーブルスタイル */
.company-details {
    max-width: 800px;
    margin: 0 auto 4em auto; /* 下の余白を調整 */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* 角丸のためにはみ出しを隠す */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.company-details table {
    width: 100%;
    border-collapse: collapse; /* 罫線を結合 */
}

.company-details table tr {
    border-bottom: 1px solid #eee;
}

.company-details table tr:last-child {
    border-bottom: none; /* 最後の行の下線はなし */
}

.company-details table th,
.company-details table td {
    padding: 18px 25px;
    vertical-align: top; /* 上揃え */
    font-size: 1em;
    line-height: 1.6;
}

.company-details table th {
    background-color: #f5f5f5; /* 見出しセルの背景色 */
    text-align: left;
    width: 150px; /* 見出し列の幅を固定 */
    color: #333;
    font-weight: bold;
}

.company-details table td {
    background-color: #ffffff;
    color: #555;
}

.company-details table td ul {
    list-style: none; /* リストの記号をなくす */
    padding: 0;
    margin: 0;
}

.company-details table td ul li {
    margin-bottom: 5px;
}
.company-details table td ul li:last-child {
    margin-bottom: 0;
}

/* アクセスマップ */
.access-map {
    text-align: center;
    margin-top: 50px;
}

.access-map iframe {
    width: 100%;
    max-width: 800px; /* 地図の最大幅 */
    height: 450px; /* 地図の高さ */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.access-map .map-placeholder {
    background-color: #e0e0e0; /* 地図がない場合のプレースホルダー背景 */
    color: #666;
    padding: 100px 20px;
    margin: 0 auto;
    max-width: 800px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    text-align: center;
}


.access-map .map-note {
    font-size: 0.9em;
    color: #777;
}

/* レスポンシブデザインの調整 */
@media (max-width: 768px) { /* スマートフォン対応 */
    #company-info-section .content-block {
        font-size: 1em;
        text-align: left; /* スマホでは左寄せに */
    }

    .company-details table th,
    .company-details table td {
        display: block; /* テーブルのセルを縦に並べる */
        width: 100%; /* 幅を100%に */
        padding: 10px 15px;
    }

    .company-details table th {
        background-color: #f0f0f0; /* 見出しセルの背景色を強調 */
        font-size: 0.95em;
        padding-bottom: 5px; /* 下のtdとの間隔を調整 */
    }

    .company-details table td {
        font-size: 0.9em;
        padding-top: 5px; /* 上のthとの間隔を調整 */
        border-bottom: 1px dashed #eee; /* 各項目間に点線を入れる */
    }

    .company-details table tr:last-child td:last-child {
        border-bottom: none; /* 最後の項目は下線なし */
    }
    .company-details table tr { /* 各行の間の線は不要になる */
        border-bottom: none;
    }
    .company-details table td ul {
        margin-top: 5px; /* リストの上の余白 */
    }
    .company-details table td ul li {
        margin-bottom: 3px;
    }

    .access-map iframe,
    .access-map .map-placeholder {
        height: 300px; /* スマホでの地図の高さを調整 */
    }
}

/* --- お問い合わせ完了ページ (`contact_thanks.html`) 専用スタイル --- */

#thanks-message {
    background-color: #ffffff;
    text-align: center;
    padding: 100px 20px;
}

#thanks-message h2 {
    color: #28a745; /* 成功メッセージは緑色に */
    font-size: 2em;
    margin-bottom: 30px;
}

#thanks-message p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

#thanks-message .button {
    margin-top: 40px;
    padding: 18px 40px;
    font-size: 1.2em;
}

/* ハニーポットフィールドを完全に非表示にする */
.honeypot-field {
    position: absolute; /* 絶対位置指定 */
    left: -9999px;     /* 画面外に飛ばす */
    width: 1px;        /* 幅を最小限に */
    height: 1px;       /* 高さを最小限に */
    overflow: hidden;  /* はみ出しを隠す */
    opacity: 0;        /* 透明にする */
    pointer-events: none; /* マウスイベントを無効にする (念のため) */
}

/* お問い合わせページ内の画像ブロックのスタイル */
.contact-intro-image-block {
    text-align: center; /* 画像とキャプションを中央揃え */
    margin: 3em auto 4em auto; /* 上:3em, 左右:auto(中央), 下:4em の余白を調整 */
    max-width: 600px; /* 画像ブロック自体の最大幅 */
}

.contact-intro-image-block img {
    max-width: 80%; /* 画像を親ブロックの80%に縮小（小さくする調整） */
    height: auto; /* 比率を維持 */
    border-radius: 10px; /* 角丸 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* 影を少し強めに */
}

.contact-intro-image-block .image-caption {
    font-size: 1em;
    color: #555;
    margin-top: 20px;
    line-height: 1.5;
}

/* レスポンシブ調整 - スマホでの画像の見た目 */
@media (max-width: 768px) {
    .contact-intro-image-block {
        margin: 2em auto 3em auto; /* スマホでは余白を調整 */
        max-width: 90%; /* スマホではブロックの幅を少し広げる */
    }
    .contact-intro-image-block img {
        max-width: 90%; /* スマホでは画像を少し大きく見せる（必要であれば） */
    }
    .contact-intro-image-block .image-caption {
        font-size: 0.9em;
    }
}

/* --- AI動画アピールセクション (`index.html`) 専用スタイル --- */

#ai-video-showcase {
    background-color: #f0f4f8; /* 背景色を少し変えて、他のセクションと区別 */
    text-align: center;
    padding: 80px 0;
}

#ai-video-showcase h2 {
    color: #0056b3; /* アクセントカラーで見出しを強調 */
    margin-bottom: 1em;
}

#ai-video-showcase .section-description {
    max-width: 800px;
    margin: 0 auto 3em auto;
    font-size: 1.1em;
    color: #555;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 のアスペクト比を維持 (YouTube標準) */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* 動画プレーヤーの最大幅 */
    margin: 0 auto 3em auto; /* 中央寄せと下の余白 */
    background-color: #333; /* 動画読み込み中の背景色など */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-wrapper iframe,
.video-wrapper video, /* videoタグを使う場合も考慮 */
.video-wrapper .video-placeholder { /* プレースホルダーのスタイル */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #ccc;
}

#ai-video-showcase .button {
    margin-top: 30px; /* ボタンの上の余白 */
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    #ai-video-showcase {
        padding: 60px 0;
    }
    #ai-video-showcase h2 {
        font-size: 1.8em;
    }
    #ai-video-showcase .section-description {
        font-size: 1em;
        margin-bottom: 2em;
    }
    .video-wrapper {
        margin-bottom: 2em;
    }
    
    /* レスポンシブ調整 - ヘッダーのスマートフォン対応 */
    header .container {
        flex-direction: column;
        align-items: center;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    header nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        padding-right: 0;
    }
    header nav ul li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    header .contact-button {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

        
        /* メインビジュアルのレスポンシブスタイルを再掲 */
        #main-visual {
            padding: 100px 20px;
            min-height: 400px;
        }
        #main-visual .subtitle,
        #main-visual .description {
            font-size: 1em;
        }
        #main-visual .button {
            padding: 15px 30px;
            font-size: 1.1em;
        }
        /* その他、各セクションのスマホ向けスタイルを再掲 */
        #problems ul li,
        #strengths .strength-item,
        #services .service-item {
            width: calc(100% - 30px);
            margin: 15px auto;
        }
        #cta-footer h2 {
            font-size: 1.8em;
        }
        #cta-footer .button {
            padding: 15px 30px;
            font-size: 1.2em;
        }
        footer .footer-nav ul {
            flex-direction: column;
        }
        footer .footer-nav ul li {
            margin: 5px 0;
        }
        /* サービス詳細ページのスマホ向けスタイルを再掲 */
        #page-hero h1 {
            font-size: 2.2em;
        }
        #page-hero p {
            font-size: 1em;
        }
        .service-content-block {
            flex-direction: column;
            gap: 30px;
        }
        .service-content-block.reverse {
            flex-direction: column;
        }
        .service-content-block .image-area,
        .service-content-block .text-area {
            min-width: unset;
            width: 100%;
        }
        .service-content-block .text-area h3 {
            font-size: 1.6em;
        }
        .service-content-block .text-area p {
            font-size: 1em;
        }
        #cta-bottom h2 {
            font-size: 1.8em;
        }
        #cta-bottom .button {
            padding: 15px 30px;
            font-size: 1.1em;
        }
        /* 料金ページのスマホ向けスタイルを再掲 */
        #pricing-plans .section-description,
        #workshop-pricing .section-description {
            font-size: 1em;
            margin-bottom: 2em;
        }
        .plan-item {
            width: calc(100% - 30px);
            padding: 30px;
        }
        .plan-item h3,
        .workshop-item h3 {
            font-size: 1.8em;
        }
        .plan-item .price,
        .workshop-item .price {
            font-size: 2.2em;
        }
        .plan-item .plan-description,
        .workshop-item .workshop-description {
            font-size: 1em;
        }
        .note-section {
            padding: 20px;
        }
        .note-section ul li {
            font-size: 0.9em;
        }
        .workshop-item {
            padding: 30px;
        }
        /* お問い合わせページのスマホ向けスタイルを再掲 */
        #contact-form-section .section-description {
            font-size: 1em;
            margin-bottom: 2em;
        }
        .method-item {
            padding: 20px;
        }
        .method-item h3 {
            font-size: 1.6em;
        }
        .form-group label {
            font-size: 0.9em;
        }
        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 10px;
            font-size: 0.95em;
        }
        .contact-form .button {
            padding: 12px 25px;
            font-size: 1em;
        }
        .method-item .contact-info {
            font-size: 0.95em;
        }
        /* 会社概要ページのスマホ向けスタイルを再掲 */
        #company-info-section .content-block {
            font-size: 1em;
            text-align: left;
        }
        .company-details table th,
        .company-details table td {
            display: block;
            width: 100%;
            padding: 10px 15px;
        }
        .company-details table th {
            background-color: #f0f0f0;
            font-size: 0.95em;
            padding-bottom: 5px;
        }
        .company-details table td {
            font-size: 0.9em;
            padding-top: 5px;
            border-bottom: 1px dashed #eee;
        }
        .company-details table tr:last-child td:last-child {
            border-bottom: none;
        }
        .company-details table tr {
            border-bottom: none;
        }
        .company-details table td ul {
            margin-top: 5px;
        }
        .company-details table td ul li {
            margin-bottom: 3px;
        }
        .access-map iframe,
        .access-map .map-placeholder {
            height: 300px;
        }
    } /* <- ここ！この閉じ括弧が @media (max-width: 768px) の正しい閉じ括弧です！ */

        header .logo img {
            height: 85px; /* ロゴの高さを50pxに指定 */
            vertical-align: middle; /* 画像とテキストが並んだ際の縦位置を中央に */
}

/* フッターのソーシャルアイコンの共通スタイル */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle; /* 他の要素との縦位置を揃える */
}

/* Xアイコン画像のサイズ調整 */
.social-icon img {
  height: 28px; /* 高さを28pxに調整 */
  width: auto;
  transition: opacity 0.3s ease;
}

/* マウスを重ねた時に少し薄くする */
.social-icon:hover img {
  opacity: 0.8;
}

/* ニュースページのセクション */
#news-section {
    padding: 80px 0;
}

/* 埋め込んだGravニュース用のiframeのスタイル */
.grav-news-frame {
    width: 100%;
    height: 1200px;
    border: none;
}

/* --- AIニュース（Grav連携）のデザイン --- */

/* ニュース記事一つ一つのコンテナ */
#grav-news-content .card {
    border-bottom: 1px solid #eee; /* 記事ごとの区切り線 */
    padding: 25px 10px;
    margin-bottom: 20px;
}

/* 最後の記事の下線だけ消す */
#grav-news-content .card:last-child {
    border-bottom: none;
}

/* 日付のスタイル */
#grav-news-content .blog-date {
    font-size: 0.85em;
    color: #888; /* 日付を少し薄いグレーに */
}

/* ★★★ h5のスタイルを追加 ★★★ */
#grav-news-content .card-title h5 {
    font-size: 1.6em;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* 記事タイトル（リンク）のスタイル */
#grav-news-content .card-title h5 a {
    color: #333; /* リンク色をデフォルトの青から黒っぽい色に */
    text-decoration: none; /* 下線を消す */
}

/* 記事タイトルにマウスを重ねた時のスタイル */
#grav-news-content .card-title h5 a:hover {
    color: #e13837; /* ホバー時にサイトのテーマカラー（赤）に */
}

/* 記事本文の抜粋のスタイル */
#grav-news-content .card-body p {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
}

/* ...前のCSSコード... */
#grav-news-content .card-body p {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
}

/* --- 会社概要ページ コンテンツ紹介セクション --- */
#company-content {
    background-color: #f8f8f8; /* 背景色 */
    padding: 80px 0; /* 上下の余白 */
}

/* カードを並べるための設定 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; /* カードとカードの間の隙間 */
}

/* カード一枚一枚のデザイン */
.content-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* カード内の見出しのスタイル */
.content-item h3 {
    color: #0056b3;
    font-size: 1.5em;
    margin-top: 10px; /* カテゴリーとの間に余白 */
    margin-bottom: 15px;
}

/* カード内の説明文のスタイル */
.content-item p {
    font-size: 0.95em;
    color: #555;
    flex-grow: 1; 
    margin-bottom: 20px;
}

/* 「YouTubeドラマ」などのカテゴリーラベル */
.content-item .content-category {
    font-size: 0.8em;
    font-weight: bold;
    color: #fff;
    padding: 3px 10px;
    border-radius: 15px;
    margin-bottom: 15px;
    display: inline-block;
    width: auto;
}

.content-item .content-category.youtube {
    background-color: #FF0000;
}

.content-item .content-category.blog {
    background-color: #007bff;
}

/* 「公開準備中」ボタンのスタイル */
.content-item .button:disabled {
    background-color: #ccc; /* 背景をグレーに */
    cursor: not-allowed;
    color: #666; /* 文字色を少し濃く */
}

.content-item .button:disabled:hover {
    background-color: #ccc;
    transform: none; /* ホバーしても動かないように */
}
/* --- プラン比較表のスタイル --- */
#plan-comparison {
    background-color: #f8f8f8;
    padding-top: 40px; /* ← この一行を追加 */
}

.table-wrapper {
    overflow-x: auto; /* スマホで見た時にはみ出したら横スクロールさせる */
}

#plan-comparison table {
    width: 100%;
    min-width: 600px; /* テーブルの最小幅 */
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden; /* 角丸デザインのため */
}

#plan-comparison th,
#plan-comparison td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

#plan-comparison thead th {
    background-color: #f0f4f8;
    font-size: 1.1em;
    color: #0056b3;
}

#plan-comparison tbody th {
    text-align: left;
    font-weight: bold;
    color: #333;
}

#plan-comparison td.supported {
    color: #28a745; /* 緑色 */
    font-size: 1.8em;
    font-weight: bold;
}

#plan-comparison td.not-supported {
    color: #ccc;
    font-size: 1.5em;
}
/* --- 技術紹介ページ (`technology.html`) のスタイル --- */
#tech-details .tech-item {
    background-color: #fff;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#tech-details .tech-item h2 {
    text-align: left;
    color: #0056b3;
    font-size: 2em;
    border-bottom: 2px solid #f0f4f8;
    padding-bottom: 15px;
}

#tech-details .tech-item p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

#tech-details .tech-item ul {
    list-style: none;
    padding-left: 0;
}

#tech-details .tech-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

#tech-details .tech-item ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #007bff;
}

/* --- 新しい料金プランのスタイル --- */
.price-structure {
    margin-bottom: 25px;
    text-align: left; /* ← 左揃えに変更 */
}
.price-initial {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 5px !important;
}
.price-initial span {
    font-size: 1.3em;
    font-weight: bold;
    color: #28a745; /* ← 緑色に変更 */
}
.price-monthly {
    font-size: 1.4em;
    font-weight: bold;
    color: #222;
    line-height: 1;
}
.price-monthly span {
    font-size: 2.0em;
    color: #28a745; /* ← 緑色に変更 */
}
.price-monthly small {
    font-size: 0.5em;
    color: #555;
}
.plan-exclusions {
    font-size: 0.8em;
    color: #777;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.plan-item h4 {
    text-align: left;
    margin-bottom: 15px;
}
/* --- 技術スタック紹介セクション（表） --- */
#tech-stack {
    background-color: #f8f8f8;
    padding: 40px 0 80px 0; /* 上の余白だけを狭くする */
}

#tech-stack .table-wrapper {
    overflow-x: auto;
}

#tech-stack table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-top: 40px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#tech-stack th, 
#tech-stack td {
    border: 1px solid #e9ecef;
    padding: 15px 20px;
    text-align: left;
}

#tech-stack th {
    background-color: #f8f9fa;
    width: 30%;
    font-weight: bold;
    color: #343a40;
}

#tech-stack td {
    color: #495057;
}

#tech-stack tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}
#tech-details .tech-item:last-child {
    margin-bottom: 0;
}

/* 「技術詳細」セクションの上の余白を狭くする */
#tech-details {
    padding-top: 30px;
}