@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* 共通フッター：横長ロゴの縦横比を維持 */
#footer .logo-footer img.footer-site-logo-image{width:240px;max-width:100%;height:auto!important;max-height:none!important;object-fit:contain;}

/* ホーム：Cocoonの外側レイアウト */
body.home.page #post-2248 > .article-header, body.home.page #post-2248 .toc{display:none!important;}
body.home.page #content{margin-top:15px;}
body.home.page #main{padding-top:15px;}
body.home.page #post-2248 > .entry-content{margin-top:0;}
body.home.page #otc-top{margin-top:0;}

/* ホーム：基本設定 */
.otc-v044{--ink:#302346;--ink2:#514365;--purple:#35244f;--purple2:#7657a6;--accent:#8e6abd;--line:#ddd5e7;--soft:#f7f5fb;--paper:#fff;--violet:#eee7fa;--blue:#eaf5ff;--pink:#fff0f4;--mint:#eafaf2;--yellow:#fff5dc}
.otc-v044, .otc-v044 *, .otc-v044 *::before, .otc-v044 *::after{box-sizing:border-box}
.otc-v044{margin:0;background:#f7f5fb;color:#2c203c!important;font:16px/1.8 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;-webkit-font-smoothing:antialiased;scroll-behavior:smooth;position:relative;isolation:isolate;width:100%;max-width:none;padding-bottom:1px;overflow-x:clip}
.otc-v044 a{color:inherit}
.otc-v044 button, .otc-v044 input{font:inherit}
.otc-v044 button{cursor:pointer}
.otc-v044 img{max-width:100%;height:auto}
.otc-v044 h1, .otc-v044 h2, .otc-v044 h3, .otc-v044 p{margin-top:0}
.otc-v044 p{margin-bottom:0}
.otc-v044 .wrap{width:min(1160px,calc(100% - 42px));margin-inline:auto}
.otc-v044 .main{padding:0;display:block;max-width:none;float:none}
.otc-v044 img{box-shadow:none;}
.otc-v044 .hero-circle img, .otc-v044 .history-top img{max-width:none;}
.otc-v044 a:focus-visible, .otc-v044 button:focus-visible{outline:3px solid #895abb;outline-offset:3px;}
.otc-v044 .ai-lettermark{display:inline-block;
 font-family:Verdana,"DejaVu Sans",Arial,sans-serif;
 font-size:1.12em;
 line-height:1;
 font-weight:900;
 letter-spacing:.09em;
 margin-right:.14em;
 white-space:nowrap;
 font-variant-ligatures:none;}

/* ヒーロー */
.otc-v044 .hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:12px;padding:46px 51px 41px;min-height:446px;background:linear-gradient(124deg,#e8f4ff 0%,#f9ebf2 56%,#fff2df 100%);border:1px solid #e4d5e8;border-top:5px solid var(--purple);border-radius:25px;box-shadow:0 10px 0 rgba(53,36,79,.10)}
.otc-v044 .hero::before{content:"";position:absolute;right:-75px;top:-90px;width:420px;height:420px;border-radius:50%;border:1px dashed rgba(120,98,161,.25)}
.otc-v044 .hero-copy{position:relative;z-index:2}
.otc-v044 .eyebrow{display:inline-flex;align-items:center;padding:7px 13px;background:var(--purple);color:#fff;font-size:12px;font-weight:800;letter-spacing:.02em;border-radius:100px;margin-bottom:17px;line-height:1.45}
.otc-v044 h1{font-size:clamp(32px,3.6vw,48px);letter-spacing:-.035em;line-height:1.26;color:var(--purple);margin:0 0 18px;font-weight:900}
.otc-v044 h1 .hero-first{color:#8660b2;display:block;font-size:.73em;margin-bottom:7px;letter-spacing:-.02em}
.otc-v044 .hero-lead{font-size:17px;line-height:1.9;color:#443654;max-width:550px;margin-bottom:20px}
.otc-v044 .hero-lead strong{color:var(--purple)}
.otc-v044 .hero-buttons{display:flex;gap:10px;flex-wrap:wrap}
.otc-v044 .btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:11px 20px;text-decoration:none;font-size:15px;font-weight:900;line-height:1.5;border-radius:12px;transition:transform .15s,background .15s}
.otc-v044 .btn:hover{transform:translateY(-2px)}
.otc-v044 .btn-main{background:var(--purple);color:#fff;box-shadow:0 5px 0 rgba(53,36,79,.16)}
.otc-v044 .hero-art{position:relative;z-index:1;min-height:310px;display:grid;place-items:center}
.otc-v044 .hero-circle{width:310px;height:310px;border:2px dashed #cbb0da;border-radius:50%;background:rgba(255,255,255,.26);display:grid;place-items:center;position:relative}
.otc-v044 .hero-circle img{width:246px;height:246px;border-radius:50%;object-fit:cover;box-shadow:0 16px 35px rgba(53,36,79,.11);border:6px solid #fff}
.otc-v044 .spark{position:absolute;display:grid;place-items:center;background:#fff;width:57px;height:57px;border-radius:16px;border:1px solid #ece4f5;box-shadow:0 6px 16px #35244f22;font-size:28px}
.otc-v044 .spark.one{left:-26px;top:45px;transform:rotate(-12deg)}
.otc-v044 .spark.two{right:-28px;top:45px;transform:rotate(11deg)}
.otc-v044 .spark.three{left:5px;bottom:12px;transform:rotate(9deg)}
.otc-v044 .spark.four{right:0;bottom:4px;transform:rotate(-8deg)}
.otc-v044 .hero h1{border:0; background:none; padding:0;}
.otc-v044 .hero-lead strong{color:#281637!important;font-weight:800!important;}
.otc-v044 .eyebrow{color:#fff!important;opacity:1!important;}

/* セクション共通 */
.otc-v044 .section{margin-top:56px;}
.otc-v044 .section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:20px}
.otc-v044 .section-heading{min-width:0}
.otc-v044 .section-kicker{display:inline-block;font-size:13px;font-weight:950;letter-spacing:.13em;color:#79549f;margin-bottom:7px}
.otc-v044 .section-heading h2{font-size:clamp(25px,2.5vw,34px);line-height:1.4;letter-spacing:-.025em;margin:0 0 6px;color:var(--purple)}
.otc-v044 .section-heading p{font-size:16px;color:#564861;line-height:1.8}
.otc-v044 .section-side{white-space:nowrap;font-size:13px;color:#6b577f;font-weight:800;background:#f0e8f9;border:1px solid #e2d4ef;padding:8px 14px;border-radius:100px}
.otc-v044 .section-heading h2, .otc-v044 .request h2, .otc-v044 .history h3{border:0; background:none; padding:0;}
.otc-v044 .section-kicker{color:#593876!important;opacity:1!important;font-weight:900!important;}
.otc-v044 .section-side{color:#3d2d50!important;font-weight:800!important;}

/* 6カテゴリー */
.otc-v044 .category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.otc-v044 .category{border:1px solid #d9d1e7;border-top:4px solid var(--purple);background:#fff;border-radius:16px;padding:22px 23px 20px;box-shadow:0 5px 13px #35244f0a;min-height:0;display:flex;flex-direction:column;gap:9px;scroll-margin-top:22px}
.otc-v044 .category-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 2px}
.otc-v044 .category-icon{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:15px;font-size:28px;background:#eef6ff;border:1px solid #d8eafa}
.otc-v044 .category-num{font-size:14px;color:#6a547a;font-weight:900;letter-spacing:.08em}
.otc-v044 .category h3{font-size:20px;line-height:1.5;font-weight:900;margin:0;color:var(--purple);display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.otc-v044 .category p{font-size:16px;line-height:1.8;color:#4d425c;flex:1}
.otc-v044 .category[data-color="pink"]{background:#fff8fa}
.otc-v044 .category[data-color="pink"] .category-icon{background:#fde9f1;border-color:#f8d7e3}
.otc-v044 .category[data-color="lavender"]{background:#faf7ff}
.otc-v044 .category[data-color="lavender"] .category-icon{background:#f0eafb;border-color:#e8def7}
.otc-v044 .category[data-color="yellow"]{background:#fffcf2}
.otc-v044 .category[data-color="yellow"] .category-icon{background:#fff2cf;border-color:#f4e1b9}
.otc-v044 .category[data-color="mint"]{background:#f5fdf9}
.otc-v044 .category[data-color="mint"] .category-icon{background:#e2f8ed;border-color:#ccefdc}
.otc-v044 .category[data-color="blue"]{background:#f5faff}
.otc-v044 .category[data-color="blue"] .category-icon{background:#e4f2ff;border-color:#d6e9f7}
.otc-v044 .category:target{outline:3px solid #8864b2; outline-offset:4px;}
.otc-v044 .category-title-main{display:block; color:#35244f; font-size:20px; font-weight:900; line-height:1.45; letter-spacing:-.01em;}
/* コーナー名ラベル：カードのテーマ色に合わせる */
.otc-v044 .category-title-sub{display:inline-block;font-size:14px;line-height:1.5;font-weight:800;color:#42304f;padding:5px 10px;border-radius:5px;background:var(--otc-label-bg,#e0d0fa);margin:3px 0 2px;}
.otc-v044 .category[data-color="blue"]{--otc-label-bg:#c8e2fb;}
.otc-v044 .category[data-color="pink"]{--otc-label-bg:#f8d1e4;}
.otc-v044 .category[data-color="lavender"]{--otc-label-bg:#e0d0fa;}
.otc-v044 .category[data-color="yellow"]{--otc-label-bg:#ffe5a5;}
.otc-v044 .category[data-color="mint"]{--otc-label-bg:#c4ebd9;}
.otc-v044 .category-grid > article.category.otc-card-linked {position:relative!important;isolation:isolate;min-width:0;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.otc-v044 .category-grid > article.category.otc-card-linked:hover {transform:translateY(-2px);box-shadow:0 8px 21px rgba(53,36,79,.15)}
.otc-v044 .category-grid > article.category.otc-card-linked:focus-within{outline:3px solid #7952a0;outline-offset:3px}
.otc-v044 .category-grid > article.category.otc-card-linked .otc-card-cta,
.otc-v044 .category-grid > article.category.otc-card-linked .otc-card-cta:link,
.otc-v044 .category-grid > article.category.otc-card-linked .otc-card-cta:visited{
 display:block!important;margin-top:auto!important;padding:8px 0 0!important;position:static!important;
 background:none!important;box-shadow:none!important;border:0!important;color:#35244f!important;
 text-align:right!important;text-decoration:underline!important;text-underline-offset:3px!important;
 font-weight:900!important;font-size:14px!important;line-height:1.5!important;cursor:pointer!important
}
/* クリック範囲は親のarticleの矩形。a自身にdiv/h3/pを内包させない。 */
.otc-v044 .category-grid > article.category.otc-card-linked .otc-card-cta::after{
 content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;cursor:pointer
}
.otc-v044 .category-grid > article.category.otc-card-linked .otc-card-cta:focus-visible{outline:none!important}

/* 進化の記録 */
.otc-v044 .history{padding:27px 29px;border-radius:20px;border:2px solid var(--purple);background:linear-gradient(140deg,#faf8ff,#f3f1fb)}
.otc-v044 .history-top{display:flex;align-items:center;gap:22px;margin-bottom:22px}
.otc-v044 .history-top img{border-radius:22px;width:90px;height:90px;border:2px solid #fff;object-fit:cover}
.otc-v044 .history h3{font-size:24px;line-height:1.4;margin:0 0 7px}
.otc-v044 .history p{font-size:16px;color:#514563;line-height:1.8}
.otc-v044 .timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.otc-v044 .timeline .year{border:1.5px solid transparent; border-radius:11px; background:#fff; padding:13px 6px 12px; color:#322146; font-weight:900; font-size:17px; line-height:1.3; text-align:center; box-shadow:0 2px 6px rgba(53,36,79,.045);}
.otc-v044 .timeline .year:nth-child(1){background:#e9f3fe; border-color:#bbd8f1;}
.otc-v044 .timeline .year:nth-child(2){background:#fff0f3; border-color:#edc3d0;}
.otc-v044 .timeline .year:nth-child(3){background:#fff4d9; border-color:#e6d6a4;}
.otc-v044 .timeline .year:nth-child(4){background:#e8f6ed; border-color:#b9dec6;}
.otc-v044 .timeline .year:nth-child(5){background:#f2eafd; border-color:#d5c1ee;}
.otc-v044 .timeline .year small{display:block; margin-top:5px; font-size:13px; font-weight:700; color:#4b385c; line-height:1.45;}

/* メッセージ */
.otc-v044 .request{margin-top:65px;background:var(--purple);color:#fff;border-radius:19px;padding:30px 35px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.otc-v044 .request h2{color:#fff;font-size:24px;margin-bottom:6px;line-height:1.45}
.otc-v044 .request p{color:#f1eaf9;font-size:15px;line-height:1.8}
.otc-v044 .request .request-badge{color:#e6d7f5;padding:0;font-size:14px;font-weight:600;flex:0 0 auto;cursor:default}

/* 文字コントラスト：Cocoonの指定より優先 */
.otc-v044 .hero-lead,
.otc-v044 .section-heading p,
.otc-v044 .category p,
.otc-v044 .history p,
.otc-v044 .history-note,
.otc-v044 .category-note{color:#30263e!important;opacity:1!important;font-weight:600!important;}
.otc-v044 .category-title-main,
.otc-v044 .section-heading h2,
.otc-v044 .history h3{color:#281739!important;opacity:1!important;}
.otc-v044 .category-title-sub,
.otc-v044 .category-foot,
.otc-v044 .category-num{color:#42304f!important;opacity:1!important;font-weight:800!important;}
.otc-v044 .history .year,
.otc-v044 .history .year small{color:#34253f!important;opacity:1!important;}
.otc-v044 .history .year small{font-weight:800!important;}
.otc-v044 .request p{color:#fff!important;opacity:1!important;font-weight:600!important;}
.otc-v044 .section-side, .otc-v044 .history-note, .otc-v044 .request-badge{font-size:14px;}

/* レスポンシブ */
@media (max-width:980px){
.otc-v044 .wrap{width:min(100% - 34px,870px)}
.otc-v044 .hero{grid-template-columns:1.15fr .85fr;padding:40px 30px}
.otc-v044 .hero-circle{width:250px;height:250px}
.otc-v044 .hero-circle img{width:199px;height:199px}
.otc-v044 .spark{width:43px;height:43px;font-size:23px}
.otc-v044 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
.otc-v044{font-size:16px}
.otc-v044 .wrap{width:calc(100% - 28px)}
.otc-v044 .hero{grid-template-columns:1fr;gap:3px;padding:25px 21px 18px;min-height:0;border-radius:19px;box-shadow:0 6px 0 #35244f18}
.otc-v044 .hero-copy{order:0}
.otc-v044 .hero-art{order:1;min-height:210px}
.otc-v044 .hero-circle{width:194px;height:194px}
.otc-v044 .hero-circle img{width:160px;height:160px;border-width:4px}
.otc-v044 .spark{width:38px;height:38px;border-radius:11px;font-size:18px}
.otc-v044 .spark.one{left:-21px}
.otc-v044 .spark.two{right:-21px}
.otc-v044 .spark.three{left:-7px;bottom:4px}
.otc-v044 .spark.four{right:-9px;bottom:5px}
.otc-v044 .eyebrow{font-size:11px;padding:6px 10px;margin-bottom:14px}
.otc-v044 h1{font-size:clamp(29px,8vw,36px);line-height:1.35;margin-bottom:13px}
.otc-v044 h1 .hero-first{font-size:.8em}
.otc-v044 .hero-lead{font-size:16px;line-height:1.85;margin-bottom:16px}
.otc-v044 .hero-buttons{gap:8px}
.otc-v044 .btn{font-size:14px;padding:10px 14px;min-height:46px}
.otc-v044 .section{margin-top:42px;}
.otc-v044 .section-header{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:17px}
.otc-v044 .section-heading h2{font-size:25px}
.otc-v044 .section-heading p{font-size:16px;}
.otc-v044 .section-side{font-size:12px;padding:6px 12px}
.otc-v044 .category-grid{grid-template-columns:1fr;gap:12px}
.otc-v044 .category{min-height:0; padding:18px 19px 17px; gap:8px;}
.otc-v044 .category-top{margin:0}
.otc-v044 .category-icon{width:47px;height:47px;flex-basis:47px;font-size:24px}
.otc-v044 .category h3{font-size:19px;}
.otc-v044 .category p{font-size:16px;}
.otc-v044 .history{padding:22px 16px;border-radius:16px}
.otc-v044 .history-top{gap:12px}
.otc-v044 .history-top img{width:66px;height:66px;border-radius:15px}
.otc-v044 .history h3{font-size:21px}
.otc-v044 .history p{font-size:15px;}
.otc-v044 .category-title-main{font-size:19px;}
.otc-v044 .category-title-sub{font-size:14px;}
.otc-v044 .timeline{grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px;}
.otc-v044 .timeline .year{font-size:16px; padding:11px 5px 10px;}
.otc-v044 .timeline .year small{font-size:13px;}
.otc-v044 .request{padding:23px 20px;flex-direction:column;align-items:flex-start;margin-top:48px}
.otc-v044 .request h2{font-size:22px}
}
@media (max-width:350px){
.otc-v044 .category-title-main{font-size:18px;}
}

/* モーション軽減 */
@media (prefers-reduced-motion:reduce){
.otc-v044{scroll-behavior:auto}
.otc-v044 .btn{transition:none}
}
@media (prefers-reduced-motion: reduce){.otc-v044 .category-grid > article.category.otc-card-linked{transition:none!important}.otc-v044 .category-grid > article.category.otc-card-linked:hover{transform:none!important}}
