.awl-member-account,.awl-members-bar{--awl-member-blue:#155b91;--awl-member-line:#d9e7f3;--awl-member-soft:#f3f9fe;color:#17324d;font-size:16px;line-height:1.8}
.awl-member-account *,.awl-members-bar *{box-sizing:border-box}
.awl-member-account [hidden],.awl-members-bar [hidden]{display:none!important}
.awl-member-account{width:100%;max-width:960px;margin:0 auto 32px}
.awl-members-bar{margin:18px 0 22px;padding-top:12px;border-top:1px solid var(--awl-member-line);clear:both}
.awl-members-bar-actions,.awl-member-actions,.awl-member-account-head{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.awl-member-account-head{justify-content:space-between;padding:8px 0 14px}.awl-member-account-head p{margin:0}
.awl-member-actions{justify-content:flex-start}
.awl-member-account .awl-member-button,.awl-members-bar .awl-member-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;margin:0;padding:9px 15px;border:1px solid #b5cfe4;border-radius:8px;background:#fff;color:var(--awl-member-blue);font:inherit;font-weight:600;line-height:1.5;text-align:center;text-decoration:none;cursor:pointer;box-shadow:0 2px 5px rgba(20,69,101,.04);transition:transform .15s,box-shadow .15s,background-color .15s}
.awl-member-account .awl-member-button:hover,.awl-members-bar .awl-member-button:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(20,69,101,.13);background:var(--awl-member-soft);text-decoration:none}
.awl-member-account .awl-member-button:disabled,.awl-members-bar .awl-member-button:disabled{cursor:wait;opacity:.65;transform:none;box-shadow:none}
.awl-member-account .awl-member-primary{background:var(--awl-member-blue);color:#fff;border-color:var(--awl-member-blue)}
.awl-member-account .awl-member-primary:hover{background:#104b79;color:#fff}
.awl-member-account a,.awl-members-bar a{color:var(--awl-member-blue);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.awl-member-account :is(a,button,input,summary):focus-visible,.awl-members-bar :is(a,button):focus-visible{outline:3px solid #2d82bd;outline-offset:3px}
.awl-member-icon,.awl-member-nav-link .awl-member-icon{display:inline-block;width:18px!important;height:18px!important;min-width:18px;max-width:18px;max-height:18px!important;flex:0 0 18px;vertical-align:middle}
.awl-members-bar .is-saved{background:var(--awl-member-soft);border-color:var(--awl-member-blue)}
.awl-members-bar .is-saved .awl-member-icon{fill:currentColor}
.awl-member-list-link{padding:8px 0;min-height:44px;display:inline-flex;align-items:center}
/* Lightning uses width:min-content on the menu and flex-wrap:wrap on its links.
   Keep this utility link wide enough for its label, even when theme CSS loads later. */
.awl-member-menu-item{flex:0 0 auto}
.awl-member-menu-item>.awl-member-nav-link{display:flex!important;flex-flow:row nowrap;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:max-content;white-space:nowrap}
.awl-member-menu-item>.awl-member-nav-link>span{flex:0 0 auto;white-space:nowrap}
#vk-mobile-nav .awl-member-menu-item>.awl-member-nav-link,.vk-mobile-nav .awl-member-menu-item>.awl-member-nav-link{justify-content:flex-start}
.awl-member-card{padding:24px;margin:0 0 22px;border:1px solid var(--awl-member-line);border-radius:12px;background:#fff;box-shadow:0 3px 12px rgba(20,69,101,.04)}
.awl-member-card h2{padding:0 0 10px!important;margin:0 0 18px!important;border:0!important;border-bottom:1px solid #d9e1e7!important;background:none!important;color:#17324d;font-size:1.3rem;line-height:1.6;box-shadow:none!important}
.awl-member-card h2::before,.awl-member-card h2::after{display:none!important}
.awl-member-card h2>span{display:inline;padding-bottom:11px;border-bottom:3px solid #2d82bd;box-decoration-break:clone;-webkit-box-decoration-break:clone}
/* 1.3.28: 未ログインのマイページで、保存される機能と無料会員登録の価値を明確にする。 */
.awl-member-guest-lead{margin:0 0 14px}
.awl-member-guest-privacy{margin:0 0 18px;padding:11px 13px;border-left:4px solid #2d82bd;border-radius:7px;background:#f3f9fe;color:#23465f}
.awl-member-benefit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}
.awl-member-benefit{padding:15px 16px;border:1px solid #dce7ef;border-radius:10px;background:#fbfdff;line-height:1.65}
.awl-member-benefit strong{display:block;margin:0 0 4px;color:#174f78}
.awl-member-benefit span{display:block;color:#52697d;font-size:.94rem}
.awl-member-guest-actions{margin-top:2px}
.awl-member-guest-note,.awl-member-guest-reset{margin:12px 0 0}
@media(max-width:600px){.awl-member-benefit-grid{grid-template-columns:minmax(0,1fr)}.awl-member-guest-actions .awl-member-button{flex:1 1 100%}}
.awl-member-muted,.awl-member-path{color:#52697d}
.awl-member-tabs{display:flex;gap:8px;padding:0 0 18px;flex-wrap:wrap}
.awl-member-tabs a{flex:0 0 auto;min-height:44px;padding:8px 18px;border-radius:8px;text-decoration:none;border:1px solid var(--awl-member-line);white-space:nowrap}
.awl-member-tabs a[aria-current=page]{background:var(--awl-member-soft);border-color:var(--awl-member-blue);font-weight:700}
.awl-member-list{list-style:none!important;margin:12px 0!important;padding:0!important}
.awl-member-row{display:flex;gap:16px;align-items:center;padding:16px 0;margin:0!important;border-bottom:1px solid var(--awl-member-line)}
.awl-member-row-main{min-width:0;flex:1}.awl-member-row-main>a{font-weight:600}.awl-member-path{display:block;margin-top:4px;font-size:.9em;overflow-wrap:anywhere}
.awl-member-row>.awl-member-button{flex:none}
.awl-member-status:empty{display:none}.awl-member-status,.awl-member-notice{padding:10px 14px;border-left:4px solid #18735f;background:#f0faf7;border-radius:6px;color:#155e4e;margin:14px 0;overflow-wrap:anywhere}
.awl-member-undo{margin-bottom:12px!important}
.awl-member-form{display:grid;gap:16px;max-width:540px;margin:16px 0}
.awl-member-form label{display:grid;gap:6px;font-weight:600}
.awl-member-form input:not([type=hidden]){width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #b5cfe4;border-radius:8px;background:#fff;color:#17324d;font:inherit;line-height:1.5}
.awl-member-form p{margin:0}.awl-member-form button{justify-self:start}
.awl-member-withdraw summary{cursor:pointer;min-height:44px;padding:8px 0;font-weight:600;color:#8e3434}
.awl-member-account .awl-member-danger{border-color:#b54747;color:#8e2727}.awl-member-account .awl-member-danger:hover{background:#fff3f3}
@media(max-width:600px){.awl-member-card{padding:18px}.awl-members-bar-actions{justify-content:flex-start}.awl-member-row{flex-wrap:wrap;gap:8px}.awl-member-row-main{flex-basis:100%}.awl-member-row>.awl-member-button{margin-left:auto}.awl-member-account-head{align-items:flex-start}.awl-member-account-head p{overflow-wrap:anywhere;min-width:0;flex:1}}
@media(prefers-reduced-motion:reduce){.awl-member-account .awl-member-button,.awl-members-bar .awl-member-button{transition:none}.awl-member-account .awl-member-button:hover,.awl-members-bar .awl-member-button:hover{transform:none}}

/* 1.2.1: マイページのダッシュボード、閲覧履歴、自動検索履歴 */
.awl-member-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}
.awl-member-dashboard-grid>.awl-member-card{min-width:0}
.awl-member-continue-title{margin:0 0 4px;font-size:1.12rem;font-weight:700}
.awl-member-continue-position{margin:12px 0 16px;padding:10px 12px;border-left:4px solid #2d82bd;background:var(--awl-member-soft);border-radius:6px}
.awl-member-compact-list{list-style:none!important;margin:0!important;padding:0!important}
.awl-member-compact-list>li{margin:0!important;padding:10px 0;border-bottom:1px solid var(--awl-member-line)}
.awl-member-compact-list>li:last-child{border-bottom:0}
.awl-member-compact-list a{font-weight:600}
.awl-member-card-link{margin:16px 0 0}
.awl-member-history-list .awl-member-row-main>a{font-weight:700}
.awl-member-search-type{display:inline-flex;align-items:center;width:max-content;margin:0 8px 4px 0;padding:2px 8px;border:1px solid #c8dceb;border-radius:999px;background:#f4f9fd;color:#315c7a;font-size:.78rem;font-weight:700;line-height:1.5;vertical-align:middle}
@media(max-width:760px){.awl-member-dashboard-grid{grid-template-columns:1fr}}

/* 1.2.2: 検索欄クリックで直近の検索履歴を表示し、その場で個別削除する。 */
.awl-search-history-popover{position:fixed;z-index:10050;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto;padding:8px;border:1px solid #c8dceb;border-radius:10px;background:#fff;color:#17324d;font-size:15px;line-height:1.5;box-shadow:0 10px 28px rgba(20,69,101,.18)}
.awl-search-history-popover[hidden]{display:none!important}
.awl-search-history-popover-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 8px 7px;border-bottom:1px solid #e4edf4}
.awl-search-history-popover-head strong{font-size:.92rem}.awl-search-history-popover-head span{color:#667b8d;font-size:.78rem}
.awl-search-history-popover-list{list-style:none!important;margin:4px 0 0!important;padding:0!important}
.awl-search-history-popover-row{display:flex;align-items:center;gap:4px;margin:0!important;padding:0!important;border-bottom:1px solid #eef3f7}
.awl-search-history-popover-row:last-child{border-bottom:0}
.awl-search-history-choice{display:block;min-width:0;flex:1;margin:0;padding:10px 9px;border:0;background:transparent;color:#17324d;font:inherit;font-weight:600;line-height:1.45;text-align:left;overflow-wrap:anywhere;cursor:pointer;border-radius:7px}
.awl-search-history-choice:hover,.awl-search-history-choice:focus-visible{background:#f3f9fe;color:#155b91;outline:none}
.awl-search-history-delete{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#5d7182;font:700 22px/1 sans-serif;cursor:pointer}
.awl-search-history-delete:hover,.awl-search-history-delete:focus-visible{background:#fff1f1;color:#9a3434;outline:2px solid #d47a7a;outline-offset:1px}
.awl-search-history-delete:disabled{cursor:wait;opacity:.5}
.awl-search-history-popover-empty{margin:0!important;padding:10px 9px;color:#667b8d;font-size:.88rem}
@media(max-width:600px){.awl-search-history-popover{font-size:14px}.awl-search-history-choice{padding:11px 8px}.awl-search-history-delete{flex-basis:40px;width:40px;height:40px}}
.awl-search-history-choice{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.awl-search-history-source{display:inline-flex;align-items:center;padding:1px 6px;border:1px solid #d5e3ed;border-radius:999px;background:#f6fafc;color:#527087;font-size:.72rem;font-weight:700;line-height:1.45}
.awl-search-history-query{display:block;max-width:100%;overflow-wrap:anywhere}


/* 1.2.6: マイページはダッシュボードとして1カラム化する。
   金融知識ページ用の「このページの目次」「すべて開く／すべて閉じる」は表示しない。 */
body.awl-member-account-page .sub-section,
body.awl-member-account-page .sub-section--col--two,
body.awl-member-account-page .awl-sidebar-page-toc,
body.awl-member-account-page .awl-sidebar-group-controls{display:none!important}

body.awl-member-account-page .main-section,
body.awl-member-account-page .main-section--col--two,
body.awl-member-account-page .main-section--col--one{
  width:100%!important;
  max-width:100%!important;
  flex:0 0 100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

body.awl-member-account-page .site-body-container>.row{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
\n\n/* 1.3.0: 更新ウォッチ */\n.awl-member-update-notice{display:flex;align-items:flex-start;gap:10px;margin:0 0 12px;padding:10px 12px;border:1px solid #c8dceb;border-left:4px solid #2d82bd;border-radius:8px;background:#f3f9fe;color:#23465f;line-height:1.6}\n.awl-member-update-notice strong{flex:0 0 auto;color:#155b91;font-size:.84rem;letter-spacing:.02em}\n.awl-member-update-notice span{min-width:0;overflow-wrap:anywhere}\n.awl-member-watch-card{background:linear-gradient(135deg,#f7fbfe 0%,#fff 70%)}\n.awl-member-watch-summary{margin:0 0 12px;color:#174f78}\n.awl-member-update-badge{display:inline-flex;align-items:center;width:max-content;margin:0 8px 4px 0;padding:2px 8px;border:1px solid #9fc3df;border-radius:999px;background:#eef7fd;color:#155b91;font-size:.76rem;font-weight:800;line-height:1.5;vertical-align:middle}\n.awl-member-update-list .awl-member-row-main>a,.awl-member-update-list>li .awl-member-row-main>a{font-weight:700}\n.awl-member-watch-baseline{margin-top:18px;font-size:.88rem}\n@media(max-width:600px){.awl-member-update-notice{display:block}.awl-member-update-notice strong{display:block;margin-bottom:2px}.awl-member-update-badge{display:flex;margin-bottom:5px}}\n
/* 1.3.4: 見出しブックマークを「リンクをコピー」と同一UIへ統一 */
.awl-section-copy-heading>button.awl-heading-bookmark-button,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:1.72em!important;
  height:1.72em!important;
  min-width:0!important;
  min-height:0!important;
  margin:0 0 0 .42em!important;
  padding:0!important;
  border:1px solid #bfd0dc!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#567285!important;
  font:inherit!important;
  font-size:.68em!important;
  line-height:1!important;
  vertical-align:.12em!important;
  cursor:pointer!important;
  opacity:.72!important;
  box-shadow:none!important;
  transform:none!important;
  transition:opacity .15s ease,border-color .15s ease,background-color .15s ease!important;
}
.awl-section-copy-heading>button.awl-heading-bookmark-button svg,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button svg{
  display:block!important;
  width:1.05em!important;
  height:1.05em!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}
.awl-section-copy-heading>button.awl-heading-bookmark-button:hover,
.awl-section-copy-heading>button.awl-heading-bookmark-button:focus-visible,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button:hover,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button:focus-visible{
  opacity:1!important;
  border-color:#7fa6bf!important;
  background:#f5f9fc!important;
  color:#155b91!important;
}
.awl-section-copy-heading>button.awl-heading-bookmark-button:focus-visible,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button:focus-visible{
  outline:3px solid #155b91!important;
  outline-offset:3px!important;
}
.awl-section-copy-heading>button.awl-heading-bookmark-button.is-saved,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button.is-saved{
  background:#fff!important;
  border-color:#bfd0dc!important;
  color:#155b91!important;
  opacity:.92!important;
}
.awl-section-copy-heading>button.awl-heading-bookmark-button.is-saved:hover,
.awl-section-copy-heading>button.awl-heading-bookmark-button.is-saved:focus-visible,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button.is-saved:hover,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button.is-saved:focus-visible{
  opacity:1!important;
  border-color:#7fa6bf!important;
  background:#f5f9fc!important;
  color:#155b91!important;
}
.awl-section-copy-heading>button.awl-heading-bookmark-button.is-saved svg,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button.is-saved svg{fill:currentColor!important}
.awl-section-copy-heading>button.awl-heading-bookmark-button:disabled,
.awl-heading-bookmark-target>button.awl-heading-bookmark-button:disabled{cursor:wait!important;opacity:.55!important}
@media(max-width:767px){
  .awl-section-copy-heading>button.awl-heading-bookmark-button,
  .awl-heading-bookmark-target>button.awl-heading-bookmark-button{opacity:.82!important}
}
/* 1.3.5: 会員操作の通知を「リンクをコピー」と同じ右下トーストへ統一。
   site-search.cssが同じクラスを持つが、マイページ単独でも同じ見た目になるようフォールバックを置く。 */
.awl-section-copy-toast{position:fixed;right:22px;bottom:22px;z-index:100000;max-width:min(420px,calc(100vw - 32px));padding:11px 15px;border-radius:9px;background:#17384f;color:#fff;font-size:.92rem;font-weight:700;box-shadow:0 10px 30px rgba(17,36,50,.22);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .16s ease,transform .16s ease}
.awl-section-copy-toast.is-visible{opacity:1;transform:translateY(0)}
@media(max-width:767px){.awl-section-copy-toast{right:12px;bottom:12px;max-width:calc(100vw - 24px)}}

.awl-member-heading-bookmark-list .awl-member-row-main>a{font-weight:700}


/* 1.3.6: ページと見出しを同じ「お気に入り」として表示する。 */
.awl-member-favorite-breadcrumb{display:inline;min-width:0}
.awl-member-favorite-breadcrumb>a{display:inline}

/* 1.3.7: お気に入り一覧はページ名と見出し名を同じ文字ウェイトで表示する。 */
.awl-member-list[data-awl-favorites-list] .awl-member-row-main>a,
.awl-member-list[data-awl-favorites-list] .awl-member-favorite-breadcrumb>a{
  font-weight:400;
}


/* 1.3.8: お気に入りに自分用メモを付ける。編集・削除はお気に入り一覧内で完結する。 */
.awl-member-favorite-note{margin:9px 0 0;padding:9px 11px;border-left:3px solid #9fc3df;border-radius:5px;background:#f7fbfe;color:#334f63;font-size:.92rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.awl-member-favorite-note-compact{display:block;margin-top:6px;padding:6px 9px;font-size:.86rem}
.awl-member-favorite-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex:0 0 auto}
.awl-member-note-editor{margin-top:12px;padding:14px;border:1px solid #d5e3ed;border-radius:9px;background:#fbfdff}
.awl-member-note-editor label{display:grid;gap:6px;font-weight:600}
.awl-member-note-editor textarea{width:100%;max-width:100%;min-height:112px;resize:vertical;padding:10px 12px;border:1px solid #b5cfe4;border-radius:8px;background:#fff;color:#17324d;font:inherit;line-height:1.6}
.awl-member-note-editor textarea:focus-visible{outline:3px solid #2d82bd;outline-offset:2px}
.awl-member-note-editor-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
@media(max-width:600px){.awl-member-favorite-actions{width:100%;justify-content:flex-start}.awl-member-row>.awl-member-favorite-actions{margin-left:0}.awl-member-note-editor-actions .awl-member-button{flex:1 1 auto}}

/* 1.3.9: Q&A・用語集の項目も既存の「お気に入り」へ統合。星ボタンは見出しのお気に入りと同じUI。 */
.awl-qa-item summary.awl-heading-bookmark-target>.awl-item-favorite-button{
  flex:0 0 auto!important;
  margin-left:auto!important;
}
.awl-qa-item summary.awl-heading-bookmark-target>.awl-qa-question{min-width:0;flex:1 1 auto}
.awl-glossary-card>h3.awl-heading-bookmark-target>.awl-item-favorite-button{vertical-align:.1em!important}

/* 1.3.22: shared Web PREMIUM membership / Stripe Customer Portal */
.awl-member-plan-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.awl-member-plan-status p{margin:0}
.awl-member-plan-badge{display:inline-flex;align-items:center;justify-content:center;min-width:86px;padding:6px 12px;border-radius:999px;font-size:.88rem;font-weight:800;letter-spacing:.03em}
.awl-member-plan-badge-premium{background:#f3ebfb;color:#5c318f;border:1px solid #d8c8e8}
.awl-member-plan-badge-free{background:#eef3f7;color:#3f5568;border:1px solid #d6e0e8}
.awl-member-plan-meta{margin:12px 0 16px;padding:12px 14px;border:1px solid #e2e8ed;border-radius:8px;background:#f8fafb}
.awl-member-plan-meta p{margin:4px 0}


/* 1.3.23: PREMIUM signup from My Page using the shared Stripe price catalog */
.awl-member-premium-offer{margin:22px 0 18px;padding:20px;border:1px solid #e0d5ec;border-radius:12px;background:linear-gradient(135deg,#faf7fd 0%,#fff 100%)}
.awl-member-premium-offer>h3{margin:0 0 8px;color:#4d2778;font-size:1.14rem}
.awl-member-premium-lead{margin:0 0 18px;line-height:1.8;color:#4b4354}
.awl-member-premium-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.awl-member-premium-plan{position:relative;display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid #ddd3e8;border-radius:11px;background:#fff;text-align:center}
.awl-member-premium-plan-recommended{border:2px solid #6f42a5;box-shadow:0 5px 16px rgba(75,46,110,.10)}
.awl-member-premium-recommend{position:absolute;top:-12px;left:50%;transform:translateX(-50%);padding:3px 12px;border-radius:999px;background:#6f42a5;color:#fff;font-size:.78rem;font-weight:800;white-space:nowrap}
.awl-member-premium-plan h4{margin:0 0 8px;color:#3f3550;font-size:1rem}
.awl-member-premium-price{margin:0 0 8px;color:#4d2778;font-size:1.32rem;font-weight:850}
.awl-member-premium-detail{min-height:3.2em;margin:0 0 14px;color:#6a6172;font-size:.88rem;line-height:1.6}
.awl-member-premium-start{display:flex!important;justify-content:center;margin-top:auto}
.awl-member-premium-disabled{display:flex!important;justify-content:center;margin-top:auto;background:#9d91a8!important;color:#fff!important;cursor:not-allowed;opacity:.82}
.awl-member-premium-note{margin:14px 0 0;text-align:center;color:#655a70;font-size:.9rem;font-weight:700}
.awl-member-premium-manage{margin-top:16px}
@media(max-width:720px){.awl-member-premium-offer{padding:18px 14px}.awl-member-premium-plans{grid-template-columns:1fr}.awl-member-premium-detail{min-height:0}}
