/*! ANGE エッセイ v1.0.0 — 代表紹介ページと同じトークン */
.ae{background:#FFFFFF;color:#364151;font-family:"BIZ UDPGothic","Noto Sans JP","Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;font-size:16px;line-height:2.05;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;line-break:strict;overflow-wrap:anywhere}
.ae *,.ae *::before,.ae *::after{box-sizing:border-box}
.ae p{margin:0}
.ae img{max-width:100%;height:auto;display:block}
.ae h1,.ae h2,.ae h3,.ae-card__title,.ae-writer__name,.ae-cta h2,.ae-toc a,.ae-btn{word-break:keep-all;overflow-wrap:anywhere;font-feature-settings:"palt" 1}

/* common */
.ae-crumb{max-width:1200px;margin:0 auto;padding:14px 40px;font-family:"Noto Sans JP",sans-serif;font-size:12px;color:#7A8699;line-height:1.7}
.ae-crumb a{color:#123F96;text-decoration:none}
.ae-eyebrow{display:inline-flex;align-self:flex-start;padding:4px 16px;border-radius:999px;background:rgba(255,100,31,.1);color:#D94A0C;font-family:"Noto Sans JP",sans-serif;font-weight:800;font-size:13px;letter-spacing:.18em;line-height:1.7}
.ae-card{border-radius:22px;background:#FFFFFF;border:1px solid #E3EAF4;box-shadow:0 10px 28px rgba(17,53,117,.07)}
.ae-text{display:flex;flex-direction:column;gap:1.5em}
.ae-eyecatch{position:relative;aspect-ratio:16/9;border-radius:22px;background:#EEF5FF;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#5A6B85;font-family:"Noto Sans JP",sans-serif;font-size:13px;overflow:hidden}
.ae-eyecatch svg{width:40px;height:40px}
.ae-date{font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:13px;letter-spacing:.06em;color:#0B839F}

/* list page */
.ae-head{position:relative;overflow:hidden;background:#F8FBFF}
.ae-head::before{content:"";position:absolute;right:-140px;top:-220px;width:520px;height:520px;border-radius:50%;background:#EEF5FF}
.ae-head__inner{position:relative;max-width:1200px;margin:0 auto;padding:56px 40px 72px;display:flex;flex-direction:column;gap:18px}
.ae-head h1{margin:0;font-family:"Noto Serif JP",serif;font-weight:700;font-size:48px;line-height:1.4;letter-spacing:.08em;color:#123F96}
.ae-list{padding:80px 40px 104px}
.ae-list__inner{max-width:1200px;margin:0 auto}
.ae-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.ae-card--post{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:inherit}
.ae-card--post .ae-eyecatch{border-radius:0}
.ae-card__body{padding:26px 30px 30px;display:flex;flex-direction:column;gap:12px}
.ae-card__title{font-family:"Noto Serif JP",serif;font-weight:700;font-size:21px;line-height:1.65;color:#061F49}
.ae-card__excerpt{font-size:15px;line-height:1.95;color:#364151;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ae-card__more{align-self:flex-end;font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:14px;color:#123F96}
.ae-card--soon{opacity:.55;box-shadow:none;border-style:dashed}
.ae-card--soon .ae-card__title{color:#7A8699}

/* writer */
.ae-writer-sec{padding:72px 40px;background:#F7F9FC}
.ae-writer{max-width:760px;margin:0 auto;padding:28px 32px;display:flex;align-items:center;gap:24px}
.ae-writer img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex-shrink:0}
.ae-writer__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.ae-writer__label{font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:12px;letter-spacing:.08em;color:#0B839F}
.ae-writer__name{font-family:"Noto Serif JP",serif;font-weight:700;font-size:22px;letter-spacing:.14em;color:#061F49;line-height:1.5}
.ae-writer__link{margin-top:4px;font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:14px;color:#123F96;text-decoration:none}

/* post page */
.ae-post{padding:40px 40px 104px}
.ae-post__head{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.ae-post__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font-family:"Noto Sans JP",sans-serif;font-size:13px;color:#5A6B85}
.ae-post__title{margin:0;font-family:"Noto Serif JP",serif;font-weight:700;font-size:36px;line-height:1.6;letter-spacing:.04em;color:#061F49}
.ae-post__title small{display:block;margin-top:6px;font-size:.62em;letter-spacing:.06em;color:#123F96}
.ae-post__eyecatch{margin-top:12px}
.ae-post__body{max-width:760px;margin:48px auto 0}
.ae-toc{padding:30px 34px;border-radius:22px;background:#F7F9FC;border:1px solid #E3EAF4}
.ae-toc__title{font-family:"Noto Serif JP",serif;font-weight:700;font-size:18px;color:#061F49;margin-bottom:10px}
.ae-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.ae-toc a{display:flex;gap:14px;padding:10px 0;border-bottom:1px dashed #DCE8F6;font-family:"Noto Sans JP",sans-serif;font-size:15px;line-height:1.6;color:#25364D;text-decoration:none}
.ae-toc li:last-child a{border-bottom:0}
.ae-toc__no{flex:0 0 26px;height:26px;border-radius:50%;background:#123F96;color:#FFFFFF;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;margin-top:-1px}
.ae-toc__no.is-blank{background:#DCE8F6;color:#123F96}
.ae-content h2{margin:0;display:flex;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:2px solid #E3EAF4;font-family:"Noto Serif JP",serif;font-weight:700;font-size:26px;line-height:1.55;color:#061F49}
.ae-content h2 .ae-num{flex:0 0 44px;height:44px;border-radius:50%;background:#123F96;color:#FFFFFF;font-size:20px;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.ae-content ul,.ae-content ol{list-style:none;margin:0;padding:22px 26px;border-radius:16px;background:#F7F9FC;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.9}
.ae-content ul > li,.ae-content ol > li{position:relative;padding-left:20px}
.ae-content ul > li::before{content:"";position:absolute;left:2px;top:.8em;width:7px;height:7px;border-radius:50%;background:#F25612}
.ae-content li b,.ae-content li strong{color:#061F49}
.ae-post__foot{max-width:760px;margin:72px auto 0;display:flex;flex-direction:column;gap:28px}
.ae-post__foot .ae-writer{max-width:none;margin:0}
.ae-back{align-self:center;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 32px;border-radius:999px;border:2px solid #123F96;color:#123F96;font-family:"Noto Sans JP",sans-serif;font-weight:800;font-size:15px;text-decoration:none}

/* CTA（代表紹介ページと同じ） */
.ae-cta{padding:96px 40px;background:#EEF5FF}
.ae-cta__box{max-width:960px;margin:0 auto;padding:60px 56px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.ae-cta h2{margin:0;font-family:"Noto Serif JP",serif;font-weight:700;font-size:34px;line-height:1.5;letter-spacing:.06em;color:#123F96}
.ae-cta__tags{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.ae-cta__tags span{padding:4px 14px;border-radius:999px;background:#EAF8F0;font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:13px;color:#0A6E86}
.ae-cta__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:8px}
.ae-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:56px;padding:12px 36px;border-radius:999px;border:2px solid rgba(255,202,78,.92);background:radial-gradient(circle at 14% 12%,rgba(255,236,121,.42) 0,rgba(255,236,121,.42) 8%,rgba(0,0,0,0) 24%),linear-gradient(135deg,#FFB300 0%,#FF7A00 45%,#EA6500 100%);box-shadow:0 12px 18px rgba(122,73,8,.16),inset 0 3px 0 rgba(255,255,255,.4),inset 0 -8px 16px rgba(116,43,0,.14);color:#FFFFFF;font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:16px;text-decoration:none;white-space:nowrap}
.ae-btn::after{content:"›";font-size:22px;line-height:1}
.ae-btn--line{border-color:#06A84D;background:#06A84D;box-shadow:0 10px 18px rgba(6,120,60,.16)}
.ae-btn--line::after{content:none}

/* ---------- SP ---------- */
@media (max-width: 760px){
  .ae{line-height:1.95}
  .ae-crumb{padding:12px 20px}
  .ae-eyebrow{font-size:12px;letter-spacing:.14em;padding:3px 13px}
  .ae-head::before{width:300px;height:300px;right:-120px;top:-130px}
  .ae-head__inner{padding:32px 20px 44px;gap:12px}
  .ae-head h1{font-size:clamp(30px,9vw,36px)}
  .ae-list{padding:44px 16px 72px}
  .ae-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .ae-card__body{padding:20px 20px 24px;gap:10px}
  .ae-card__title{font-size:clamp(17px,5.2vw,19px)}
  .ae-writer-sec{padding:48px 16px}
  .ae-writer{padding:20px;gap:16px}
  .ae-writer img{width:72px;height:72px}
  .ae-writer__name{font-size:19px}
  .ae-post{padding:24px 20px 72px}
  .ae-post__head{gap:14px}
  .ae-post__title{font-size:clamp(20px,6.2vw,24px)}
  .ae-post__eyecatch{margin:4px -20px 0;border-radius:0}
  .ae-post__body{margin-top:32px}
  .ae-toc{padding:22px 20px}
  .ae-toc a{font-size:14px;gap:12px}
  .ae-content h2{font-size:clamp(18px,5.6vw,21px);gap:12px;padding-bottom:12px}
  .ae-content h2 .ae-num{flex-basis:34px;height:34px;font-size:16px}
  .ae-content ul,.ae-content ol{padding:18px 18px;font-size:14.5px}
  .ae-post__foot{margin-top:56px}
  .ae-cta{padding:64px 16px}
  .ae-cta__box{padding:40px 20px}
  .ae-cta h2{font-size:clamp(21px,7vw,26px)}
  .ae-cta__btns{flex-direction:column;align-self:stretch}
  .ae-btn{white-space:normal;font-size:15px;padding:10px 22px}
}
@media (max-width: 360px){
  .ae-list,.ae-writer-sec{padding-left:12px;padding-right:12px}
  .ae-post{padding-left:16px;padding-right:16px}
  .ae-post__eyecatch{margin-left:-16px;margin-right:-16px}
}

/* =========================================================
   WordPress 実装用
   ========================================================= */
:root{--ae-header-h:92px}
@media (max-width:1440px){:root{--ae-header-h:78px}}
.ae{padding-top:var(--ae-header-h)}
.ae [id]{scroll-margin-top:calc(var(--ae-header-h) + 24px)}
.ae a:focus-visible{outline:3px solid #FFB300;outline-offset:3px}
.ae-head h1 budoux-ja,.ae-post__title budoux-ja{display:inline}
/* 本文（ブロックエディタの出力） */
.ae .ae-content > *{margin-top:0;margin-bottom:0}
.ae .ae-content > * + *{margin-top:1.5em}
.ae .ae-content > .ae-toc{margin-top:2.6em}
.ae .ae-content > h2{margin-top:2.8em}
.ae .ae-content > .ae-toc + h2{margin-top:2.6em}
.ae-content h2 .ae-h2__label{flex:1 1 auto;min-width:0}
.ae-content ol{list-style:decimal;padding-left:2.4em}
.ae-content ol > li{padding-left:.2em}
.ae-content a{color:#123F96;text-decoration:underline;text-underline-offset:3px}
.ae-content strong,.ae-content b{color:#061F49}
.ae-content h3{margin:2em 0 0;font-family:"Noto Serif JP",serif;font-weight:700;font-size:20px;line-height:1.6;color:#061F49}
.ae-content blockquote{margin:0;padding:20px 24px;border-radius:16px;background:#F7F9FC;border:0;font-style:normal}
.ae-content img{border-radius:16px}
.ae .ae-toc ol{list-style:none;margin:0;padding:0;background:none;border-radius:0;gap:0}
.ae .ae-toc li{padding:0}
.ae .ae-toc li::before{content:none}
.ae .ae-toc a{text-decoration:none}
.ae-toc__label{flex:1 1 auto;min-width:0}
/* 前後のエッセイ／ページ送り */
.ae-nextprev{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ae-np{display:flex;flex-direction:column;gap:4px;padding:18px 22px;border-radius:16px;border:1px solid #E3EAF4;background:#FFFFFF;text-decoration:none;color:#5A6B85;font-family:"Noto Sans JP",sans-serif;font-size:13px}
.ae-np b{font-family:"Noto Serif JP",serif;font-size:15px;line-height:1.6;color:#061F49}
.ae-np--next{text-align:right;grid-column:2}
.ae-pager{margin-top:48px}
.ae-pager ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:8px}
.ae-pager a,.ae-pager span{min-width:44px;height:44px;padding:0 10px;border-radius:12px;border:1px solid #DCE8F6;display:inline-flex;align-items:center;justify-content:center;font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:14px;color:#123F96;text-decoration:none;background:#FFFFFF}
.ae-pager .current{background:#123F96;border-color:#123F96;color:#FFFFFF}
.ae-empty{text-align:center;color:#5A6B85}
@media (max-width:760px){
  .ae-nextprev{grid-template-columns:minmax(0,1fr)}
  .ae-np--next{grid-column:auto}
  .ae .ae-content > h2{margin-top:2.4em}
  .ae-content h3{font-size:18px}
}

/* =========================================================
   既存サイトのヘッダー（トップページと同一）
   ========================================================= */
.ange-header{position:fixed;top:0;left:0;z-index:9999;width:100%;background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #E3EAF4;box-shadow:0 4px 20px rgba(17,53,117,.06);font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif}
.ange-header,.ange-header *,.ange-header *::before,.ange-header *::after{box-sizing:border-box}
.ange-header__inner{width:min(1560px,100% - 40px);height:92px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:28px}
.ange-header__logo{flex:0 0 auto;display:inline-flex;align-items:center;text-decoration:none}
.ange-header__logo img{width:150px;height:auto;display:block}
.ange-header__menu{flex:1 1 auto;display:flex;align-items:center;justify-content:flex-end;gap:18px}
.ange-header__nav{display:flex;align-items:center;justify-content:center;gap:16px}
.ange-header__nav a{position:relative;color:#1F2D3D;text-decoration:none;font-size:14px;line-height:1.4;font-weight:800;letter-spacing:.03em;white-space:nowrap;transition:color .2s}
.ange-header__nav a:hover{color:var(--ange-navy,#123F96)}
.ange-header__nav a::after{content:"";position:absolute;left:50%;bottom:-12px;width:0;height:3px;border-radius:999px;background:var(--ange-navy,#123F96);transform:translateX(-50%);transition:width .2s}
.ange-header__nav a:hover::after{width:100%}
.ange-header__nav a[aria-current="page"]{color:var(--ange-navy,#123F96)}
.ange-header__nav a[aria-current="page"]::after{width:100%}
.ange-header__actions{display:flex;align-items:center;gap:10px}
.ange-header__btn{min-height:46px;padding:0 14px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-size:14px;line-height:1.4;font-weight:900;white-space:nowrap;box-shadow:0 8px 20px rgba(17,53,117,.1);transition:transform .2s,opacity .2s;color:#FFFFFF!important}
.ange-header__btn:hover{transform:translateY(-2px);opacity:.96}
.ange-header__btn--orange{background:linear-gradient(135deg,#FF641F,#F25612)}
.ange-header__btn--line{background:linear-gradient(135deg,#17B63D,#0EA233)}
.ange-header__line-icon{width:28px;height:28px;border-radius:50%;background:#FFFFFF;color:#17B63D;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:900}
.ange-header__toggle{display:none}
.ange-header__hamburger{display:none}
@media (max-width:1440px){
  .ange-header__inner{width:calc(100% - 28px);height:78px}
  .ange-header__logo img{width:132px}
  .ange-header__hamburger{flex:0 0 auto;width:46px;height:46px;border:1px solid #D8E6FB;border-radius:14px;background:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;cursor:pointer;box-shadow:0 6px 18px rgba(17,53,117,.08)}
  .ange-header__hamburger span{width:22px;height:2px;border-radius:999px;background:var(--ange-navy,#123F96);transition:transform .2s,opacity .2s}
  .ange-header__menu{position:fixed;top:78px;left:0;width:100%;max-height:calc(100vh - 78px);overflow-y:auto;display:block;background:rgba(255,255,255,.98);border-bottom:1px solid #E3EAF4;box-shadow:0 14px 30px rgba(17,53,117,.12);padding:20px 20px 24px;opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .2s,transform .2s,visibility .2s}
  .ange-header__nav{display:grid;grid-template-columns:1fr;gap:0;width:min(520px,100%);margin:0 auto}
  .ange-header__nav a{padding:16px 4px;border-bottom:1px solid #EEF3FA;color:#1F2D3D;font-size:15px;text-align:left}
  .ange-header__nav a::after{display:none}
  .ange-header__actions{width:min(520px,100%);margin:18px auto 0;display:grid;grid-template-columns:1fr;gap:12px}
  .ange-header__btn{width:100%;min-height:52px;font-size:13px}
  .ange-header__toggle:checked ~ .ange-header__menu{opacity:1;visibility:visible;transform:translateY(0)}
  .ange-header__toggle:checked + .ange-header__hamburger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
  .ange-header__toggle:checked + .ange-header__hamburger span:nth-child(2){opacity:0}
  .ange-header__toggle:checked + .ange-header__hamburger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
}
@media (max-width:420px){
  .ange-header__logo img{width:122px}
  .ange-header__inner{width:calc(100% - 22px)}
}

/* =========================================================
   既存サイトのフッター（規約リンク）
   ========================================================= */
.ange-footer-legal{position:relative;z-index:2;text-align:center;padding:20px 16px 28px;font-size:13px;line-height:1.8;background:#FFFFFF;border-top:1px solid #E3EAF4;font-family:"Noto Sans JP",sans-serif}
.ange-footer-legal a{color:#4B6475;text-decoration:underline}
.ange-footer-legal span{margin:0 10px;color:#9AA7B0}
.ange-footer-legal__copy{margin:6px 0 0;color:#7A8699;font-size:12px}
@media (max-width:768px){
  .ange-footer-legal{padding-bottom:24px;font-size:12px}
  .ange-footer-legal span{margin:0 6px}
}
