@charset "UTF-8";
/*
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template:   cocoon-master
Version:    1.1.4
*/

/* ===================================================
   【0】基本設定
   =================================================== */
:root {
    --ait-navy: #0e2a47;   /* 新ロゴの濃紺 */
    --ait-yellow: #f0b32f; /* 新ロゴの黄色 */
    --ait-cyan: #2c7da0;   /* 記事内アクセント用シアン */
    --ait-orange: #e67e22; /* CTAボタン用オレンジ */
}

/* ===================================================
   【1】リスト内ボックスの強制解除（最強補正版）
   =================================================== */
.entry-content ul .ait-cta-simple,
.entry-content ul .ait-cta-rich,
.entry-content ol .ait-cta-simple,
.entry-content ol .ait-cta-rich,
.entry-content li .ait-cta-simple,
.entry-content li .ait-cta-rich {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    left: -2em;
    width: calc(100% + 2em) !important;
    max-width: 200% !important;
    box-sizing: border-box !important;
}

@media screen and (max-width: 480px) {
    .entry-content li .ait-cta-simple,
    .entry-content li .ait-cta-rich {
        left: -1.5em;
        width: calc(100% + 1.5em) !important;
    }
}

/* ===================================================
   【2】ヘッダーナビゲーション
   =================================================== */
#navi {
    background-color: var(--ait-navy) !important;
    border-bottom: 3px solid var(--ait-yellow) !important;
}
#navi .navi-in {
    background-color: transparent !important;
    border-bottom: none !important;
}
#navi .navi-in > ul > li > a,
#navi .navi-in > ul > li > a .item-label,
#navi .navi-in > ul > li > a .item-caption {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
}
.menu-item-has-children > a > .fa,
.menu-item-has-children > a > .fas,
.menu-item-has-children > a > .far {
    color: var(--ait-yellow) !important;
}
#navi .navi-in > ul > li > a:hover {
    background-color: #081a2e !important;
    color: var(--ait-yellow) !important;
    transition: 0.3s;
}

/* ===================================================
   【3】見出し（テーマ標準 H2, H3）
   =================================================== */
/* 記事全体の基本H2 */
.article h2 {
    background: #f7f9fb;
    padding: 15px 20px;
    border: none;
    border-left: 6px solid var(--ait-navy);
    color: var(--ait-navy);
    font-size: 24px;
    position: relative;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border-radius: 0 5px 5px 0;
    z-index: 0;
}
.article h2::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* ウィジェットタイトル */
.custom-banner-widget .widget-title {
    background: #f7f9fb;
    padding: 15px 20px;
    border: none;
    border-left: 6px solid var(--ait-navy);
    color: var(--ait-navy);
    font-size: 18px;
    font-weight: bold;
    position: relative;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border-radius: 0 5px 5px 0;
    z-index: 0;
    margin-bottom: 20px;
    margin-top: 0;
}
.custom-banner-widget .widget-title::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
    border-radius: 0 5px 5px 0;
}

/* 記事全体の基本H3 */
.article h3 {
    padding: 8px 10px;
    border: none;
    border-bottom: 3px solid var(--ait-navy);
    position: relative;
    font-size: 21px;
    background: transparent;
    color: var(--ait-navy);
    margin-top: 40px;
}
.article h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 30%;
    width: 70%;
    height: 3px;
    background-color: var(--ait-yellow);
    z-index: 1;
}

/* ===================================================
   【4】目次（TOC）
   =================================================== */
.toc {
    border: 2px solid var(--ait-navy);
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(14, 42, 71, 0.1);
    margin: 40px auto;
    max-width: 600px;
}
.toc-title {
    background: var(--ait-navy);
    color: #fff;
    padding: 4px 25px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    top: -38px;
    margin-bottom: -20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toc-list > li a {
    color: var(--ait-navy);
    font-weight: 600;
    border-bottom: 1px dashed #ccc;
    padding: 8px 0;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s;
}
.toc-list > li a:hover {
    color: var(--ait-navy);
    background-color: rgba(240, 179, 47, 0.1);
    transform: translateX(10px);
}

/* ===================================================
   【5】ブログカード
   =================================================== */
.blogcard-wrap {
    margin-top: 20px;
    margin-bottom: 20px;
}
.blogcard {
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    background: #fff;
}
.blogcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(14, 42, 71, 0.2);
    border-color: var(--ait-yellow) !important;
}
.blogcard-title {
    color: var(--ait-navy);
    font-weight: bold;
}

/* ===================================================
   【6】スマホメニュー・フッター
   =================================================== */
/* フッターボタン */
#footer-mobile-buttons,
.mobile-footer-menu-buttons {
    background-color: var(--ait-navy) !important;
    border-top: 3px solid var(--ait-yellow) !important;
    color: #fff !important;
}
.mobile-footer-menu-buttons .menu-button a,
.mobile-footer-menu-buttons .menu-button span,
.mobile-footer-menu-buttons .menu-icon,
.mobile-footer-menu-buttons .menu-caption,
.mobile-footer-menu-buttons .fa {
    color: #ffffff !important;
    background: transparent !important;
}
.mobile-footer-menu-buttons .menu-button:active,
.mobile-footer-menu-buttons .menu-button a:active {
    background-color: #081a2e !important;
}

/* ハンバーガーメニュー */
.mobile-menu-buttons .menu-button,
.mobile-menu-buttons .menu-icon,
.mobile-menu-buttons .menu-caption {
    color: var(--ait-navy) !important; 
}
#header .mobile-menu-buttons .menu-button,
#header .mobile-menu-buttons .menu-icon {
     color: #ffffff !important;
}
.menu-drawer,
.menu-drawer .navi-in,
ul.menu-mobile {
    background-color: var(--ait-navy) !important;
}
.menu-drawer .menu-item > a,
.menu-drawer .menu-item .item-label {
    color: #ffffff !important;
    background-color: var(--ait-navy) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
.menu-drawer .submenu-toggle-button {
    color: var(--ait-yellow) !important;
    background-color: rgba(255,255,255,0.05) !important;
    width: 50px !important;
}
.menu-drawer .sub-menu,
.menu-drawer .sub-menu li,
.menu-drawer .sub-menu li a {
    background-color: #081a2e !important;
    color: #cccccc !important;
}

/* ===================================================
   【7】AIT独自コンポーネント（LP/トップページ用）
   =================================================== */
/* ボタン共通 */
.ait-btn {
    display: block;
    width: 90%;
    max-width: 340px;
    margin: 20px auto 0;
    padding: 18px 20px;
    background-color: var(--ait-yellow);
    color: var(--ait-navy);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 0 #c28e1f;
    transition: all 0.3s;
    font-size: 20px;
    line-height: 1.4;
}
.ait-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #c28e1f;
    background-color: #ffc54d;
    color: var(--ait-navy);
    text-decoration: none;
}
.ait-btn i { margin-right: 8px; }

/* パターンA：濃紺背景 */
.ait-cta-rich {
    background-color: var(--ait-navy);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    margin: 50px auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    clear: both;
}
.ait-cta-rich::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    transform: rotate(45deg);
}
.ait-micro-copy-rich {
    display: inline-block;
    background-color: #fff;
    color: var(--ait-navy);
    font-size: 16px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    position: relative;
}
.ait-micro-copy-rich::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 6px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}
.ait-main-copy {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 15px;
}
@media screen and (max-width: 480px) {
    .ait-main-copy { font-size: 20px; }
}
.ait-sub-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* パターンB：シンプル */
.ait-cta-simple {
    text-align: center;
    margin: 50px auto;
    padding: 30px 20px;
    border: 3px solid #f0f2f5;
    border-radius: 10px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    clear: both;
}
.ait-micro-copy-text {
    color: var(--ait-navy);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
.ait-micro-copy-text span {
    color: var(--ait-yellow);
    font-size: 1.2em;
}
.ait-arrow-down {
    color: var(--ait-yellow);
    font-size: 24px;
    animation: bounce 1.5s infinite;
    display: block;
    margin-bottom: 10px;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* デモLPリンク */
.ait-demo-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 15px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    color: #fff !important;
    font-size: 0.9em;
    text-decoration: none;
    transition: 0.3s;
    background-color: rgba(0, 0, 0, 0.1);
}
.ait-demo-link:hover {
    background-color: #fff;
    color: #003366 !important;
    border-color: #fff;
    text-decoration: none;
}

/* 自作 vs 委託 選択ボタン */
.ait-choice-wrap {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 20px 0 40px;
}
.ait-choice-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 25px 15px !important;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    box-sizing: border-box;
}
.ait-choice-diy {
    background-color: #fff;
    border: 2px solid var(--ait-navy);
    color: var(--ait-navy) !important;
}
.ait-choice-diy:hover {
    background-color: #f7f9fb;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.ait-choice-pro {
    background-color: var(--ait-navy);
    border: 2px solid var(--ait-navy);
    color: #fff !important;
}
.ait-choice-pro:hover {
    background-color: #081a2e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(14, 42, 71, 0.3);
}
.choice-sub {
    font-size: 15px !important;
    font-weight: bold;
    margin-bottom: 8px !important;
    opacity: 1 !important;
    letter-spacing: 0.05em;
}
.ait-choice-diy .choice-sub { color: #666; }
.ait-choice-pro .choice-sub { color: var(--ait-yellow); }

.choice-main {
    font-size: 24px !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}
.choice-main i { font-size: 28px !important; }

@media screen and (max-width: 480px) {
    .ait-choice-wrap { flex-direction: column; gap: 15px; }
    .choice-sub { font-size: 14px !important; }
    .choice-main { font-size: 22px !important; }
}

/* コンセプトエリア */
.ait-concept-box {
    background-color: #fff;
    border: 2px solid var(--ait-navy);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(14, 42, 71, 0.1);
}
.ait-concept-header {
    background-color: var(--ait-navy);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 0.1em;
}
.ait-concept-header span { color: var(--ait-yellow); }

.ait-concept-lead {
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    color: var(--ait-navy);
    margin: 30px 20px 20px;
    line-height: 1.6;
}
.ait-concept-lead span {
    background: linear-gradient(transparent 60%, #fff3cd 60%);
}
.ait-concept-body {
    padding: 0 30px 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.ait-features-wrap {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 30px 0;
}
.ait-feature-item {
    background: #f7f9fb;
    border: 1px solid #dae1e8;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    width: 32%;
    box-sizing: border-box;
}
.ait-feature-icon {
    font-size: 30px;
    color: var(--ait-navy);
    margin-bottom: 10px;
}
.ait-feature-title {
    font-weight: bold;
    color: var(--ait-navy);
    font-size: 14px;
    margin-bottom: 5px;
    display: inline-block;
    border-bottom: 2px solid var(--ait-yellow);
    padding-bottom: 3px;
}
.ait-feature-desc {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    display: block;
}
@media screen and (max-width: 600px) {
    .ait-concept-lead { font-size: 1.1em; }
    .ait-features-wrap { flex-direction: column; }
    .ait-feature-item { width: 100%; display: flex; align-items: center; gap: 15px; text-align: left; padding: 15px; }
    .ait-feature-icon { margin-bottom: 0; font-size: 24px; width: 30px;}
    .ait-feature-desc { margin-top: 0; margin-left: auto;}
}

/* ページ内ナビ（目的別） */
.ait-page-nav {
    background-color: #f7f9fb;
    border: 2px solid var(--ait-navy);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
}
.ait-nav-title {
    font-weight: bold;
    color: var(--ait-navy);
    margin-bottom: 15px;
    display: block;
    font-size: 1.1em;
}
.ait-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.ait-nav-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: var(--ait-navy);
    border: 1px solid var(--ait-navy);
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.ait-nav-btn:hover {
    background: var(--ait-navy);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(14, 42, 71, 0.2);
}
.ait-nav-btn i {
    margin-right: 5px;
    color: var(--ait-yellow);
}

/* その他Topページ用調整 */
.home .date-tags { display: none !important; }
.search-inner {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 5px 10px;
    background: #fff;
}
.search-icon { color: #999; padding-left: 8px; }
.search-field {
    border: none !important;
    background: transparent !important;
    width: 100%;
    outline: none;
}
.search-submit {
    border-radius: 50px;
    background: #1f2d52;
    color: #fff;
    border: none;
    padding: 8px 15px;
    font-size: 12px;
    cursor: pointer;
}

/* バナーカード */
.banner-card {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}
.banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.banner-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.banner-text { padding: 10px 15px; }
.banner-text strong {
    display: block;
    color: #333;
    font-size: 15px;
    margin-bottom: 4px;
}
.banner-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
}
.banner-card a { text-decoration: none !important; }
@media screen and (max-width: 768px) {
    .banner-card img { height: 150px; }
    .banner-text strong { font-size: 14px; }
}


/* ===================================================
   【8】新記事用コンポーネント（現実・CV設定・プロフィール）
   ※ここにあった重複をすべて整理・統合しました
   =================================================== */

/* --- 記事ラッパー --- */
.post-content-area {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
}

/* 記事内の画像レスポンシブ */
.post-content-area img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- 見出し（記事内専用オーバーライド） --- */
.post-content-area h2 {
    background: #f4f8fa;
    border-left: 5px solid var(--ait-cyan); /* シアン系 */
    padding: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: bold;
    /* テーマのh2スタイルを一部上書き */
    border-radius: 0;
    box-shadow: none;
}
.post-content-area h2::after {
    background-image: none; /* テーマの斜め線背景を消す */
}

/* --- ボックスデザイン集 --- */

/* 1. 現実の厳しさボックス（ピンク） */
.reality-box {
    background-color: #fff4f4;
    border: 2px solid #eebdbd;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}
.reality-box p { margin: 0; }
.reality-title {
    font-weight: bold;
    color: #c0392b;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* 2. ストーリー枠（点線） */
.story-box {
    background-color: #fff;
    border: 1px dashed var(--ait-cyan);
    padding: 25px;
    margin: 30px 0;
    position: relative;
    border-radius: 8px;
}
.story-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--ait-cyan);
    color: #fff;
    padding: 2px 10px;
    font-size: 0.8em;
    border-radius: 3px;
}

/* 3. アラートボックス（シンプル黄色） */
.alert-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    font-size: 0.9em;
    color: #856404;
}

/* 4. 引用風ボックス */
.quote-box {
    background: #f9f9f9;
    border-left: 4px solid #ccc;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* 5. プロフィール導入ボックス */
.profile-intro {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

/* --- リストデザイン集 --- */

/* おすすめリスト（チェックマーク付き） */
.recommend-list,
.check-list {
    margin: 30px 0;
}
.recommend-list {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
}
.recommend-list ul,
.check-list {
    margin: 0;
    padding-left: 20px;
    list-style: none; /* デフォルトの点を消す */
}
.recommend-list li,
.check-list li {
    margin-bottom: 10px;
    position: relative;
    font-weight: bold;
}
/* 共通チェックマーク */
.recommend-list li::before,
.check-list li::before {
    content: "✔";
    color: var(--ait-cyan);
    position: absolute;
    left: -20px; /* 左にずらす */
    font-weight: bold;
}

/* --- レイアウトユーティリティ --- */

/* 2カラム（PC用） */
.two-column-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.two-column-box ul {
    flex: 1 1 45%;
    min-width: 250px;
}

/* 補足エリア（小文字） */
.note-area {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
    background: #fff;
    padding: 10px;
    border-top: 1px dotted #ccc;
}
.note-area a {
    color: var(--ait-cyan);
    text-decoration: underline;
}
.note-area a:hover { text-decoration: none; }

/* マーカー（黄色ライン） */
.marker-yellow {
    background: linear-gradient(transparent 60%, #fff3cd 60%);
    font-weight: bold;
}

/* --- ボタンリンク類 --- */

/* CTAボタン（オレンジ） */
.cta-button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    padding: 15px;
    background-color: var(--ait-orange);
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.cta-button:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

/* テキストリンクボタン（シアン） */
.btn-link {
    display: inline-block;
    background: var(--ait-cyan);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 10px;
    transition: 0.3s;
}
.btn-link:hover {
    background: #1e5f7a;
    opacity: 0.9;
}