html{scroll-behavior:smooth}
body{margin:0;background:#F6F4EF}
a{color:#9C4F1C}
a:hover{color:#6E3712}
.rk-hero{background-image:linear-gradient(rgba(246,244,239,0.86),rgba(246,244,239,0.86)),url("img/blueprint.jpg");background-size:cover;background-position:center}
.rk-grid{background-image:linear-gradient(rgba(22,35,58,0.06) 1px,transparent 1px),linear-gradient(90deg,rgba(22,35,58,0.06) 1px,transparent 1px);background-size:24px 24px}
@keyframes rk-draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes rk-fade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes rk-show{from{opacity:0}to{opacity:1}}
@keyframes rk-up{from{transform:translateY(105%)}to{transform:none}}
@keyframes rk-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.rk-mask{display:block;overflow:hidden;padding-bottom:.06em}
.rk-mask>span{display:block;transform:translateY(105%);animation:rk-up 1s cubic-bezier(.2,.8,.2,1) forwards}
.rk-m1>span{animation-delay:.15s}
.rk-m2>span{animation-delay:.35s}
.rk-line{stroke-dasharray:100;stroke-dashoffset:100;animation:rk-draw 1.3s cubic-bezier(.6,0,.2,1) forwards}
.rk-l1{animation-delay:.8s}
.rk-l2{animation-delay:1.1s}
.rk-l3{animation-delay:1.4s}
.rk-in{opacity:0;animation:rk-fade .9s ease-out forwards}
.rk-d1{animation-delay:.6s}
.rk-d2{animation-delay:1s}
.rk-d3{animation-delay:1.4s}
.rk-dots{opacity:0;animation:rk-show 1s ease-out 2.4s forwards}
.rk-ticker{display:flex;width:max-content;animation:rk-marquee 48s linear infinite}
.rk-door{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
.rk-door:hover{transform:translate(-4px,-4px);box-shadow:14px 14px 0 #16233A}
.rk-door .rk-arrow{transition:transform .35s}
.rk-door:hover .rk-arrow{transform:translateX(8px)}
.rk-rule{display:block;height:2px;width:120px;background:#9C4F1C;transform-origin:left}
@keyframes rk-rise{from{opacity:.15;transform:translateY(56px)}to{opacity:1;transform:none}}
@keyframes rk-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (prefers-reduced-motion: reduce){
  .rk-mask>span,.rk-in{animation:none;transform:none;opacity:1}
  .rk-line{animation:none;stroke-dashoffset:0}
  .rk-dots{display:none}
  .rk-ticker{animation:none}
  .rk-reveal,.rk-rule{animation:none!important;opacity:1;transform:none}
}
.rk-line{stroke-dasharray:100;stroke-dashoffset:100;animation:rk-draw 1.4s cubic-bezier(.6,0,.2,1) forwards}
.rk-l1{animation-delay:.9s}
.rk-l2{animation-delay:1.2s}
.rk-l3{animation-delay:1.5s}
.rk-l4{animation-delay:1.8s}
.rk-l5{animation-delay:2.2s}
.rk-l6{animation-delay:2.5s}
.rk-d2{animation-delay:1.9s}
.rk-d3{animation-delay:2.8s}
.rk-dots{opacity:0;animation:rk-show 1s ease-out 3.6s forwards}
.rk-ticker{display:flex;width:max-content;animation:rk-marquee 44s linear infinite}
@keyframes rk-light{from{opacity:.2}to{opacity:1}}
@media (prefers-reduced-motion: reduce){
  .rk-mask>span,.rk-in{animation:none;transform:none;opacity:1}
  .rk-line{animation:none;stroke-dashoffset:0}
  .rk-dots{display:none}
  .rk-ticker{animation:none}
  .rk-reveal,.rk-rule,.rk-step{animation:none!important;opacity:1;transform:none}
}
.rk-l4{animation-delay:2.1s}
.rk-l5{animation-delay:2.4s}
.rk-d3{animation-delay:2.9s}
.rk-strike{position:relative;display:inline}
.rk-strike::after{content:"";position:absolute;left:0;right:0;top:55%;height:3px;background:#E0A578;transform-origin:left}
@media (prefers-reduced-motion: reduce){
  .rk-mask>span,.rk-in{animation:none;transform:none;opacity:1}
  .rk-line{animation:none;stroke-dashoffset:0}
  .rk-dots{display:none}
  .rk-ticker{animation:none}
  .rk-reveal,.rk-rule,.rk-strike::after{animation:none!important;opacity:1;transform:none}
}
/* 画面の下にある要素だけ、いったん「待ち」の形にして、画面に入ったら動かす。
   判定できないブラウザでは何もしない（最初から全部見えている） */
.rk-reveal{transition:opacity .9s ease-out,transform .9s cubic-bezier(.2,.7,.2,1)}
.rk-reveal.rk-wait{opacity:.12;transform:translateY(56px)}
.rk-rule{transition:transform 1s cubic-bezier(.2,.7,.2,1) .35s}
.rk-wait .rk-rule{transform:scaleX(0)}
.rk-step{transition:opacity .8s ease-out}
.rk-wait .rk-step{opacity:.2}
.rk-go .rk-s2{transition-delay:.7s}.rk-go .rk-s3{transition-delay:1.4s}
/* 取り消し線：引く → 少し止まる → 消える → また引く、を繰り返す（3枚で少しずつずらす） */
@keyframes rk-strike{0%,12%{transform:scaleX(0);opacity:1}38%{transform:scaleX(1);opacity:1}80%{transform:scaleX(1);opacity:1}92%{transform:scaleX(1);opacity:0}100%{transform:scaleX(0);opacity:0}}
.rk-strike::after{transform:scaleX(0);animation:rk-strike 4.8s cubic-bezier(.45,0,.2,1) infinite}
.rk-k2::after{animation-delay:.8s}
.rk-k3::after{animation-delay:1.6s}
@media (prefers-reduced-motion: reduce){.rk-strike::after{animation:none;transform:none;opacity:1}}
@media (prefers-reduced-motion: reduce){
  .rk-reveal,.rk-rule,.rk-step,.rk-strike::after{transition:none!important}
}
/* ===== 残りのページ用（2026-11-29） ===== */
[hidden]{display:none!important}
.rk-page{font-family:'Zen Kaku Gothic New',sans-serif;color:#16233A;background:#F6F4EF;line-height:1.8;overflow-x:hidden}
.rk-wrap{max-width:1240px;margin:0 auto;padding:100px 24px;display:flex;flex-direction:column;gap:40px;box-sizing:border-box}
.rk-head{display:flex;flex-direction:column;gap:12px}
.rk-label{margin:0;font-family:'IBM Plex Mono',monospace;font-size:13px;letter-spacing:.14em;color:#9C4F1C}
.rk-h1{margin:0;font-weight:900;font-size:clamp(32px,5.4vw,68px);line-height:1.28}
.rk-h2{margin:0;font-weight:900;font-size:clamp(26px,3.8vw,44px);line-height:1.4}
.rk-h3{margin:0;font-weight:900;font-size:21px;line-height:1.5}
.rk-lead{margin:0;max-width:760px;font-size:17px;color:#2E3B52}
.rk-note{margin:0;font-size:14px;color:#4A5568}
.rk-dark{background:#16233A;color:#F6F4EF}
.rk-dark .rk-label{color:#E0A578}
.rk-dark .rk-lead,.rk-dark .rk-note{color:#C9D1DE}
.rk-alt{background:#EFECE4;border-top:1px solid #D8D2C6;border-bottom:1px solid #D8D2C6}
.rk-card{background:#FBFAF7;border:1px solid #16233A;box-shadow:6px 6px 0 #16233A;padding:26px 28px;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;min-width:0}
.rk-card.rk-accent{box-shadow:6px 6px 0 #9C4F1C}
.rk-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}
.rk-num{font-family:'Barlow Condensed',sans-serif;font-weight:700;line-height:.9;color:#D6CFC1}
.rk-tag{align-self:flex-start;font-family:'IBM Plex Mono',monospace;font-size:12px;padding:2px 10px;border:1px solid currentColor}
.rk-btn{background:#9C4F1C;color:#FFFFFF;text-decoration:none;padding:16px 28px;font-weight:900;font-size:16px;min-height:52px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;font-family:inherit;align-self:flex-start}
.rk-btn:hover{background:#6E3712;color:#FFFFFF}
.rk-btn2{border:1px solid #16233A;color:#16233A;background:#F6F4EF;text-decoration:none;padding:16px 28px;min-height:52px;box-sizing:border-box;display:inline-flex;align-items:center;font-family:inherit;font-size:16px;align-self:flex-start}
.rk-more{align-self:flex-start;font-size:14px;color:#9C4F1C;text-decoration:none;border-bottom:1px solid #9C4F1C;font-weight:700}
.rk-dark .rk-more{color:#E0A578;border-color:#E0A578}
.rk-form{display:flex;flex-direction:column;gap:20px;max-width:760px}
.rk-form label,.rk-form fieldset>legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-weight:700;font-size:15px}
.rk-form label{flex-direction:column;align-items:stretch}
.rk-form fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.rk-form input[type=text],.rk-form input[type=email],.rk-form input[type=tel],.rk-form input[type=url],.rk-form textarea{font:inherit;font-weight:400;font-size:16px;padding:12px 14px;border:1px solid #16233A;background:#FFFFFF;color:#16233A;min-height:48px;box-sizing:border-box;width:100%}
.rk-form textarea{min-height:120px;resize:vertical}
.rk-form input:focus,.rk-form textarea:focus{outline:2px solid #9C4F1C;outline-offset:1px}
.rk-choice{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px;font-weight:400!important;padding:12px 14px;border:1px solid #C9C2B4;background:#FFFFFF;cursor:pointer;min-height:48px;box-sizing:border-box}
.rk-choice input{width:18px;height:18px;accent-color:#9C4F1C;margin:0}
.rk-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.rk-req,.rk-opt{font-size:12px;font-weight:700;padding:1px 8px;line-height:1.6}
.rk-req{color:#FFFFFF;background:#9C4F1C}
.rk-opt{color:#5B6474;border:1px solid #B9B2A4}
.rk-lbl{display:flex;align-items:center;gap:8px}
.rk-hint{font-size:13px;font-weight:400;color:#5B6474}
.rk-demo{font-size:13px;color:#9C4F1C;border:1px dashed #9C4F1C;padding:8px 12px;background:#FBF3EC}
.rk-table{width:100%;border-collapse:collapse;background:#FBFAF7;border:1px solid #16233A;font-size:15px}
.rk-table th,.rk-table td{text-align:left;vertical-align:top;padding:16px 20px;border-bottom:1px solid #D8D2C6}
.rk-table th{width:22%;font-size:14px;color:#5B6474;font-weight:700;white-space:nowrap}
.rk-table tr:last-child th,.rk-table tr:last-child td{border-bottom:0}
.rk-list{margin:0;padding-left:1.2em;display:flex;flex-direction:column;gap:4px}
.rk-foot a{color:#C9D1DE;text-decoration:none}
.rk-foot a:hover{color:#E0A578}
/* コラムの記事本文 */
.rk-article{max-width:760px;margin:0 auto;padding:56px 24px 96px;box-sizing:border-box;font-size:17px;line-height:2}
.rk-article p{margin:0 0 1.6em}
.rk-article h2{margin:2.4em 0 .9em;font-weight:900;font-size:clamp(21px,2.6vw,26px);line-height:1.5;padding-left:14px;border-left:4px solid #9C4F1C}
.rk-article h3{margin:2em 0 .6em;font-weight:700;font-size:19px;line-height:1.6}
.rk-article strong{font-weight:700;background:linear-gradient(transparent 62%,#F1DCCB 62%)}
.rk-article ol,.rk-article ul{margin:0 0 1.6em;padding-left:1.4em}
.rk-article li{margin:.3em 0}
.rk-article blockquote{margin:0 0 1.6em;padding:18px 22px;background:#FBFAF7;border:1px solid #C9C2B4;border-left:4px solid #16233A;font-size:16px;line-height:1.9}
.rk-table-wrap{overflow-x:auto;margin:0 0 1.8em}
.rk-atable{width:100%;min-width:480px;border-collapse:collapse;background:#FBFAF7;border:1px solid #16233A;font-size:15px;line-height:1.7}
.rk-atable th,.rk-atable td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid #D8D2C6}
.rk-atable th{background:#16233A;color:#F6F4EF;font-weight:700;font-size:14px}
.rk-atable td:first-child{font-weight:700;white-space:nowrap}
.rk-col-list a{color:inherit;text-decoration:none}
.rk-col-list a:hover h2{color:#9C4F1C}
@media (max-width:640px){
  .rk-article{padding:40px 16px 72px;font-size:16px}
  .rk-atable td:first-child{white-space:normal}
  .rk-wrap{padding:72px 16px}
  .rk-table th,.rk-table td{display:block;width:auto;padding:10px 16px}
  .rk-table th{border-bottom:0;padding-bottom:0}
}
