/* O-TECH CREATE | Article Writer + FAQ widgets
   The homepage theme owns --otch-font. The fallback mirrors its exact stack.
   No external font is requested by these widgets. */
:where(.otcl-article-writer,.otcl-article-faq){
  --otcl-article-widget-font:var(--otch-font,"Noto Sans JP","Noto Sans CJK JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif);
  font-family:var(--otcl-article-widget-font);
  color:#626b7d;
  width:100%;
  max-width:100%;
  min-width:0;
  -webkit-font-smoothing:antialiased;
}
.otcl-article-writer *,
.otcl-article-writer *::before,
.otcl-article-writer *::after,
.otcl-article-faq *,
.otcl-article-faq *::before,
.otcl-article-faq *::after{box-sizing:border-box}
.otcl-article-writer :where(p,li,a,h2,h3,h4,blockquote,figcaption,td,th),
.otcl-article-faq :where(p,li,a,h2,h3,summary,button){font-family:inherit}

/* Article writer */
.otcl-article-writer{margin:0;color:#626b7d;font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.otcl-article-writer__intro{margin:0 0 24px;color:#263a4e;font-size:19px;font-weight:500;line-height:1.85}
.otcl-article-writer__intro p{margin:0 0 12px;color:inherit;font:inherit;line-height:inherit}
.otcl-article-writer__intro p:last-child{margin-bottom:0}
.otcl-article-writer__body{min-width:0;color:#626b7d;font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.otcl-article-writer__body>*:first-child{margin-top:0}
.otcl-article-writer__body h2{margin:36px 0 12px;padding:0;color:#191d28;font-size:27px;font-weight:800;line-height:1.48;letter-spacing:-.018em;scroll-margin-top:110px}
.otcl-article-writer__body h2:first-child{margin-top:0}
.otcl-article-writer__body h3{margin:27px 0 10px;padding:0;color:#263a4e;font-size:22px;font-weight:700;line-height:1.5;letter-spacing:-.01em;scroll-margin-top:110px}
.otcl-article-writer__body h4{margin:22px 0 8px;color:#263a4e;font-size:18px;font-weight:700;line-height:1.5}
.otcl-article-writer__body h4{scroll-margin-top:110px}
.otcl-article-writer__body ul,.otcl-article-writer__body ol{font-family:inherit}
.otcl-article-writer__body figcaption{font-family:inherit}
.otcl-article-writer__body table th,.otcl-article-writer__body table td{font-family:inherit}
.otcl-article-writer__body p{margin:0 0 18px;color:inherit;font-size:inherit;line-height:inherit}
.otcl-article-writer__body ul,.otcl-article-writer__body ol{margin:12px 0 22px;padding-left:1.5em;color:inherit}
.otcl-article-writer__body li{margin:0 0 8px;padding-left:2px;line-height:1.8}
.otcl-article-writer__body a{color:#173d99;text-decoration:underline;text-underline-offset:3px}
.otcl-article-writer__body a:hover{color:#0867a5}
.otcl-article-writer__body img{display:inline-block;max-width:100%;height:auto;border-radius:8px}
.otcl-article-writer__body figure{max-width:100%;margin:26px 0}
.otcl-article-writer__body figcaption{margin-top:8px;color:#737d8c;font-size:13px;line-height:1.6}
.otcl-article-writer__body blockquote{margin:28px 0;padding:18px 24px;border-left:4px solid #1d3b96;background:#f4f5f6;color:#4e5869}
.otcl-article-writer__body table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:15px}
.otcl-article-writer__body th,.otcl-article-writer__body td{padding:11px 13px;border:1px solid #dfe3e8;text-align:left;vertical-align:top}
.otcl-article-writer__body th{background:#f4f5f6;color:#191d28;font-weight:700}
.otcl-article-writer__body hr{margin:32px 0;border:0;border-top:1px solid #e5e8ec}
.otcl-article-writer__references{margin:34px 0 0;padding-top:22px;border-top:1px solid #e5e8ec}
.otcl-article-writer__references h2{margin:0 0 12px;color:#191d28;font-size:21px;font-weight:800;line-height:1.5;scroll-margin-top:110px}
.otcl-article-writer__references ul{margin:0;padding-left:1.4em}
.otcl-article-writer__references li{margin:0 0 8px}
.otcl-article-writer__placeholder,.otcl-article-faq__placeholder{padding:20px 22px;border:1px dashed #b9c8d6;border-radius:8px;background:#f7fafc;color:#263a4e;font-family:var(--otcl-article-widget-font)}
.otcl-article-writer__placeholder p,.otcl-article-faq__placeholder p{margin:7px 0 0;color:#626b7d;font-size:14px;line-height:1.7}

/* FAQ: native details accordion, with heading semantics for the automatic article TOC. */
.otcl-article-faq{margin:38px 0 0;padding:0;background:#fff;color:#263a4e}
.otcl-article-faq__header{margin:0 0 20px}
.otcl-article-faq__title{margin:0 0 8px;padding:0;color:#191d28;font-size:27px;font-weight:800;line-height:1.45;letter-spacing:-.015em;scroll-margin-top:110px}
.otcl-article-faq__description{margin:0;color:#626b7d;font-size:15px;line-height:1.8}
.otcl-article-faq__list{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0}
.otcl-article-faq__item{display:block;width:100%;margin:0;padding:0;overflow:hidden;border:1px solid #dde4ea;border-radius:6px;background:#fff;color:#263a4e;transition:background-color .2s ease,border-color .2s ease}
.otcl-article-faq__item[open]{background:#f4f7fa;border-color:#cbd8e3}
.otcl-article-faq__question{display:grid;grid-template-columns:34px minmax(0,1fr) 26px;align-items:center;gap:14px;width:100%;min-height:64px;margin:0;padding:17px 21px;cursor:pointer;list-style:none;color:#263a4e}
.otcl-article-faq__question::-webkit-details-marker{display:none}
.otcl-article-faq__question::marker{content:""}
.otcl-article-faq__number{display:block;color:var(--otcl-faq-accent,#086eaf);font-size:13px;font-weight:700;line-height:1.5;font-variant-numeric:tabular-nums}
.otcl-article-faq__question-title{display:block;min-width:0;color:#263a4e;font-size:16px;font-weight:700;line-height:1.65;overflow-wrap:anywhere}
.otcl-article-faq__icon{position:relative;display:grid;place-items:center;justify-self:end;width:25px;height:25px;border:1px solid #c9d3dc;border-radius:50%;color:var(--otcl-faq-accent,#086eaf);transition:border-color .2s ease,background-color .2s ease}
.otcl-article-faq__icon span{position:absolute;display:block;width:10px;height:1.5px;border-radius:2px;background:currentColor;transition:transform .2s ease,opacity .2s ease}
.otcl-article-faq__icon span+span{transform:rotate(90deg)}
.otcl-article-faq__item[open] .otcl-article-faq__icon{border-color:var(--otcl-faq-accent,#086eaf)}
.otcl-article-faq__item[open] .otcl-article-faq__icon span+span{transform:rotate(0);opacity:0}
.otcl-article-faq__question:focus-visible{outline:2px solid var(--otcl-faq-accent,#086eaf);outline-offset:-3px;border-radius:3px}
.otcl-article-faq__answer{padding:0 21px 19px 69px;color:#626b7d}
.otcl-article-faq__answer-inner{padding-top:15px;border-top:1px solid rgba(38,58,78,.13);font-size:15px;line-height:1.85}
.otcl-article-faq__answer-inner>*:first-child{margin-top:0}
.otcl-article-faq__answer-inner>*:last-child{margin-bottom:0}
.otcl-article-faq__answer-inner p{margin:0 0 12px;color:inherit;font:inherit;line-height:inherit}
.otcl-article-faq__answer-inner ul,.otcl-article-faq__answer-inner ol{margin:10px 0 14px;padding-left:1.4em}
.otcl-article-faq__answer-inner li{margin-bottom:6px}
.otcl-article-faq__answer-inner a{color:#173d99;text-decoration:underline;text-underline-offset:3px}
.otcl-article-faq__answer-inner a:hover{color:#0867a5}
.otcl-article-faq__empty{margin:0;padding:14px 18px;border:1px dashed #b9c8d6;border-radius:6px;color:#626b7d;font-size:14px}

@media(max-width:767px){
 .otcl-article-writer{font-size:15px;line-height:1.8}
 .otcl-article-writer__intro{font-size:16px;line-height:1.8}
 .otcl-article-writer__body{font-size:15px;line-height:1.8}
 .otcl-article-writer__body h2{margin-top:28px;font-size:21px;line-height:1.5}
 .otcl-article-writer__body h3{margin-top:22px;font-size:19px}
 .otcl-article-writer__body p{font-size:inherit;line-height:inherit}
 .otcl-article-writer__body blockquote{padding:16px 18px}
 .otcl-article-faq{margin-top:30px}
 .otcl-article-faq__title{font-size:21px}
 .otcl-article-faq__description{font-size:13px}
 .otcl-article-faq__question{grid-template-columns:25px minmax(0,1fr) 23px;gap:9px;min-height:58px;padding:14px}
 .otcl-article-faq__question-title{font-size:14px;line-height:1.65}
 .otcl-article-faq__answer{padding:0 14px 15px 48px}
 .otcl-article-faq__answer-inner{padding-top:12px;font-size:13px;line-height:1.8}
}
@media(prefers-reduced-motion:reduce){.otcl-article-faq__item,.otcl-article-faq__icon,.otcl-article-faq__icon span{transition:none}}
