/* ============================================================
   待合室ナラブル 新UI
   採用画像（PC: approved-desktop / スマホ: approved-mobile）を実装したもの。
   すべて .nr-page 配下にスコープする。
   ============================================================ */

/* 採用画像から実測した色に合わせる。
   淡青はヒーロー図(PNG)の地色 #EBF8FE と揃え、図の四角い継ぎ目を出さない。 */
.nr-page{
  --nr-ice:#EBF7FD;
  /* 濃紺は白ロゴPNGの地色 #01194D に合わせる（ロゴの四角い縁を出さないため） */
  --nr-cta:#01194D;
  font-family:var(--nr-font);
  color:var(--nr-navy);
  font-size:16px;
  line-height:1.75;
  background:var(--nr-white);
  -webkit-text-size-adjust:100%;
}
.nr-page *{box-sizing:border-box}
/* 素の要素向けの初期化。:where() で詳細度を0にして、
   個々の部品のクラス指定が必ず勝つようにする */
:where(.nr-page) :where(img){max-width:100%;height:auto;display:block}
:where(.nr-page) :where(h1,h2,h3,h4,p,ul,ol,figure){margin:0}
:where(.nr-page) :where(ul,ol){padding:0;list-style:none}
:where(.nr-page) :where(a){color:var(--nr-blue)}
.nr-page :focus-visible{outline:3px solid var(--nr-teal);outline-offset:3px}
.nr-container{width:min(calc(100% - 96px),1340px);margin-inline:auto}
.nr-mobile-only{display:none}
.nr-skip{position:absolute;left:-9999px;top:0;background:var(--nr-navy);color:#fff;padding:10px 18px;z-index:200}
.nr-skip:focus{left:12px;top:12px}

/* ---------------------------------------------------------- ヘッダー */
.nr-header-wrap{background:var(--nr-white);border-bottom:1px solid var(--nr-border);position:sticky;top:0;z-index:100}
.nr-header{height:80px;display:flex;align-items:center;gap:24px}
/* ロゴは既存の正式ロゴPNG。比率は変えず contain のみ */
.nr-logo{display:inline-flex;align-items:center;gap:10px;color:var(--nr-navy);
  font-size:26px;font-weight:800;letter-spacing:-.01em;text-decoration:none;white-space:nowrap;flex:none}
.nr-logo img{width:196px;height:auto;object-fit:contain}
.nr-nav{display:flex;align-items:center;gap:28px;margin-left:auto}
.nr-nav a{color:var(--nr-navy);text-decoration:none;font-size:15px;font-weight:700;white-space:nowrap}
.nr-nav a:hover{color:var(--nr-blue)}
.nr-header-act{display:flex;align-items:center;gap:12px;margin-left:28px}
/* 3本線は必ず縦に積む。flex-direction を省くと横一列になり、
   1本の長い線に見えてしまう */
.nr-burger{display:none;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  margin-left:auto;width:44px;height:44px;background:none;border:0;cursor:pointer;padding:0}
.nr-burger span{display:block;width:26px;height:3px;flex:none;border-radius:2px;
  background:var(--nr-navy);transition:transform .2s,opacity .2s}
/* 線の間隔は 3px + gap 6px = 9px。閉じるときは同じ9pxだけ寄せて中央で交差させる */
.nr-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(9px) rotate(45deg)}
.nr-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.nr-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
.nr-drawer{display:none;border-top:1px solid var(--nr-border);background:var(--nr-white)}
.nr-drawer nav{display:flex;flex-direction:column;padding:6px 0 18px}
.nr-drawer a{padding:14px 0;border-bottom:1px solid var(--nr-border);color:var(--nr-navy);
  text-decoration:none;font-weight:700;font-size:16px}
.nr-drawer .nr-button{margin-top:16px}

/* ---------------------------------------------------------- ボタン */
.nr-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:56px;padding:12px 28px;border:2px solid var(--nr-blue);border-radius:8px;
  background:var(--nr-blue);color:#fff;font-size:17px;font-weight:700;
  text-decoration:none;text-align:center;cursor:pointer;transition:.15s}
.nr-button:hover{filter:brightness(1.08)}
.nr-button.secondary{background:var(--nr-white);color:var(--nr-blue)}
.nr-button.white{background:#fff;color:var(--nr-blue);border-color:#fff}
.nr-button.sm{min-height:44px;font-size:15px;padding:8px 20px;border-width:1.5px}
.nr-button .nr-ar{font-size:1.05em;line-height:1}

/* ---------------------------------------------------------- ヒーロー */
.nr-hero{background:var(--nr-ice)}
.nr-hero-grid{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);
  align-items:center;gap:20px;padding-block:40px 36px}
.nr-eyebrow{color:var(--nr-teal);font-size:16px;font-weight:700;letter-spacing:.01em}
.nr-h1{font-size:clamp(38px,4.35vw,62px);font-weight:800;letter-spacing:-.045em;line-height:1.22;margin:14px 0 20px}
.nr-h1 span{display:block}
.nr-h1 .accent{color:var(--nr-blue)}
.nr-hero-lead{font-size:17px;line-height:1.85;color:var(--nr-navy);max-width:30em}
.nr-hero-btns{display:flex;gap:16px;flex-wrap:wrap;margin-top:26px}
.nr-hero-checks{display:flex;gap:28px;flex-wrap:wrap;margin-top:22px}
.nr-hero-checks li{display:flex;align-items:center;gap:9px;font-size:15.5px;font-weight:700}
.nr-tick{flex:none;width:22px;height:22px;border-radius:50%;background:var(--nr-teal);
  display:inline-flex;align-items:center;justify-content:center}
.nr-tick svg{width:13px;height:13px;stroke:#fff;stroke-width:3.2;fill:none;
  stroke-linecap:round;stroke-linejoin:round}
.nr-hero-art{margin:0;min-width:0}
.nr-hero-art img{width:100%;object-fit:contain}
.nr-hero-art figcaption{text-align:right;font-size:12px;color:var(--nr-muted);margin-top:4px}

/* ---------------------------------------------------------- 価格の横帯 */
.nr-band{border-bottom:1px solid var(--nr-border);background:var(--nr-white)}
.nr-band-in{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;padding-block:26px}
.nr-band-item{display:flex;align-items:center;gap:16px;padding-inline:22px}
.nr-band-item+.nr-band-item{border-left:1px solid var(--nr-border)}
.nr-band-item img{width:44px;height:44px;flex:none}
.nr-band-sub{font-size:13.5px;color:var(--nr-muted);line-height:1.5}
.nr-band-main{font-size:17px;font-weight:700;line-height:1.4}
.nr-band-main b{font-size:32px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}

/* ---------------------------------------------------------- セクション */
.nr-section{padding-block:56px}
.nr-section.ice{background:var(--nr-ice)}
.nr-kicker{font-size:13px;font-weight:800;letter-spacing:.14em;color:var(--nr-teal);margin-bottom:10px}
.nr-section h2{font-size:clamp(30px,3.1vw,40px);line-height:1.4;letter-spacing:-.03em;
  font-weight:800;margin:0 0 10px;word-break:auto-phrase}
.nr-sub{font-size:16px;color:var(--nr-muted);line-height:1.8}
.nr-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:30px}
.nr-morelink{font-weight:700;text-decoration:none;white-space:nowrap;font-size:15px}
.nr-morelink:hover{text-decoration:underline}

/* ---------------------------------------------------------- 手順（PC） */
.nr-steps{display:grid;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr) 52px minmax(0,1fr);
  align-items:start;gap:10px}
.nr-step-arrow{color:#5E93CE;font-size:34px;font-weight:300;text-align:center;line-height:1;padding-top:118px}
.nr-step-h{display:flex;align-items:center;gap:14px;margin-bottom:14px;min-height:44px}
.nr-step-num{flex:none;width:44px;height:44px;border-radius:50%;background:var(--nr-ice);
  color:var(--nr-blue);font-size:16px;font-weight:800;display:flex;align-items:center;justify-content:center;
  font-variant-numeric:tabular-nums}
.nr-step h3{font-size:20px;font-weight:800;line-height:1.4;letter-spacing:-.02em}
.nr-step img{width:100%;height:180px;object-fit:contain}
.nr-step p{font-size:15px;line-height:1.85;color:var(--nr-navy);margin-top:16px}

/* ---------------------------------------------------------- 仕組み（スマホ） */
.nr-flow{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr) 26px minmax(0,1fr);
  align-items:start;gap:4px;margin-bottom:18px}
.nr-flow-item{text-align:center}
.nr-flow-item img{width:46px;height:46px;margin:0 auto 8px}
.nr-flow-item span{font-size:13.5px;font-weight:700;line-height:1.4;display:block}
.nr-flow-arrow{align-self:start;padding-top:14px;text-align:center;color:#7FA9DC;font-size:19px;line-height:1}
.nr-flow-note{font-size:15px;line-height:1.8;text-align:center;color:var(--nr-navy)}

/* ---------------------------------------------------------- 機能 */
.nr-feature-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.nr-feature{display:grid;grid-template-columns:124px minmax(0,1fr);gap:18px;align-items:start;
  background:var(--nr-white);border:1px solid var(--nr-border);border-radius:var(--nr-radius);padding:22px 20px}
.nr-feature.main{grid-column:span 2;order:var(--o-pc,1)}
.nr-feature.sub{grid-column:span 3;order:var(--o-pc,9);grid-template-columns:56px minmax(0,1fr);
  gap:16px;align-items:center;padding:18px 20px}
.nr-feature h3{font-size:19px;font-weight:800;line-height:1.5;letter-spacing:-.02em;margin:0 0 8px}
.nr-feature p{font-size:14.5px;line-height:1.8;color:var(--nr-navy);margin:0}
.nr-feature-icon{width:124px;height:110px;object-fit:contain}
.nr-feature.sub .nr-feature-icon{width:56px;height:56px}
.nr-feature-icon.mobile{display:none}
.nr-note{font-size:13px;color:var(--nr-muted);margin-top:18px;line-height:1.7}

/* ---------------------------------------------------------- 導入ステップ */
.nr-setup{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nr-setup li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start}
.nr-setup .n{flex:none;width:44px;height:44px;border-radius:50%;background:var(--nr-blue);color:#fff;
  font-size:15px;font-weight:800;display:flex;align-items:center;justify-content:center;
  font-variant-numeric:tabular-nums}
.nr-setup h3{font-size:18px;font-weight:800;line-height:1.5;margin:0 0 4px}
.nr-setup p{font-size:15px;line-height:1.75;color:var(--nr-muted);margin:0}

/* ---------------------------------------------------------- 料金 */
.nr-price{border-top:1px solid var(--nr-border)}
.nr-price-row{padding:16px 14px;border-bottom:1px solid var(--nr-border)}
.nr-price-row.reco{background:var(--nr-ice)}
.nr-price-top{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap}
.nr-price-name{font-size:19px;font-weight:800;letter-spacing:-.01em}
.nr-price-row strong{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.nr-price-row p{margin:3px 0 0;font-size:14.5px;color:var(--nr-muted)}
.nr-price-cta{display:flex;justify-content:center;margin-top:24px}

/* ---------------------------------------------------------- FAQ */
.nr-faq{display:flex;flex-direction:column;gap:12px}
.nr-faq details{border:1px solid var(--nr-border);border-radius:10px;background:var(--nr-white)}
.nr-faq summary{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:16px 18px;cursor:pointer;font-weight:700;font-size:16px;list-style:none}
.nr-faq summary::-webkit-details-marker{display:none}
.nr-faq summary::after{content:"";flex:none;width:11px;height:11px;
  border-right:2.4px solid var(--nr-muted);border-bottom:2.4px solid var(--nr-muted);
  transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s}
.nr-faq details[open] summary::after{transform:rotate(225deg) translate(-2px,-2px)}
.nr-faq .a{padding:0 18px 18px;font-size:15px;line-height:1.85;color:var(--nr-navy)}
.nr-faq-more{margin-top:20px;text-align:center}

/* ---------------------------------------------------------- CTA */
.nr-cta{background:var(--nr-cta);color:#fff;padding-block:48px;overflow:hidden}
.nr-cta-inner{display:flex;align-items:center;gap:36px;position:relative}
.nr-cta h2{font-size:clamp(28px,3vw,36px);font-weight:800;letter-spacing:-.03em;line-height:1.4;margin:0 0 8px}
.nr-cta p{font-size:15.5px;color:#C6D8EE;line-height:1.75;margin:0}
.nr-cta-txt{min-width:0}
.nr-cta-decoration{width:280px;margin-left:auto;flex:none;opacity:.95}
.nr-cta .nr-button{flex:none}

/* ---------------------------------------------------------- フッター */
.nr-footer{background:var(--nr-cta);color:#fff;padding-block:36px 30px}
.nr-footer .nr-logo{color:#fff;font-size:22px}
.nr-footer .nr-logo img{width:180px}
.nr-footer-nav{display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:20px}
.nr-footer-nav a{color:#C6D8EE;text-decoration:none;font-size:14px}
.nr-footer-nav a:hover{color:#fff;text-decoration:underline}
.nr-copy{margin-top:24px;font-size:12.5px;color:#8FA9C6}

/* ============================================================ タブレット */
@media(max-width:1023px) and (min-width:768px){
  .nr-container{width:calc(100% - 48px)}
  .nr-nav{gap:18px}
  .nr-nav a{font-size:14px}
  .nr-header-act{margin-left:16px}
  .nr-header-act .nr-button.sm{padding:8px 14px;font-size:14px}
  .nr-hero-grid{gap:18px}
  .nr-h1{font-size:38px}
  .nr-band-item{padding-inline:14px;gap:12px}
  .nr-band-main b{font-size:26px}
  .nr-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nr-feature.main,.nr-feature.sub{grid-column:span 1}
  .nr-feature.main{grid-template-columns:86px minmax(0,1fr)}
  .nr-feature-icon{width:86px;height:80px}
  .nr-steps{grid-template-columns:1fr;gap:26px}
  .nr-step-arrow{display:none}
  .nr-step img{height:150px}
  .nr-setup{grid-template-columns:1fr;gap:16px}
  .nr-cta-decoration{width:170px}
}

/* ============================================================ スマホ */
@media(max-width:767px){
  .nr-page{font-size:15px;line-height:1.75}
  .nr-container{width:calc(100% - 40px)}
  .nr-mobile-only{display:block}
  .nr-desktop-only{display:none!important}

  .nr-header{height:60px}
  .nr-logo{font-size:20px;gap:8px}
  .nr-logo img{width:142px}
  .nr-nav,.nr-header-act{display:none}
  .nr-burger{display:flex}
  .nr-drawer[data-open="1"]{display:block}

  .nr-hero-grid{display:block;padding-block:22px 26px}
  .nr-eyebrow{display:none}
  .nr-h1{font-size:clamp(24px,7.15vw,30px);line-height:1.42;letter-spacing:-.035em;margin:0 0 10px}
  .nr-h1 .accent{color:var(--nr-navy)}
  .nr-hero-lead{font-size:15px;line-height:1.75;color:var(--nr-navy);max-width:none}
  .nr-hero-art{display:none!important}
  .nr-hero-btns{margin-top:18px;gap:10px}
  .nr-button{width:100%;font-size:16px;min-height:48px;padding:10px 14px}
  .nr-hero-btns .nr-button.secondary{display:none}
  .nr-hero-note{font-size:13px;color:var(--nr-muted);text-align:center;margin-top:10px}
  .nr-hero-checks{display:none}

  .nr-band{display:none}

  .nr-section{padding-block:28px}
  .nr-section h2{font-size:23px;line-height:1.45;letter-spacing:-.03em;margin-bottom:16px}
  .nr-kicker{display:none}
  .nr-sec-head{display:block;margin-bottom:16px}
  .nr-sub{font-size:15px}
  .nr-morelink{display:inline-block;margin-top:10px}

  .nr-feature-grid{display:flex;flex-direction:column;gap:0}
  .nr-feature,.nr-feature.main,.nr-feature.sub{
    grid-column:auto;order:var(--o-sp,1);display:grid;
    grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:start;
    background:transparent;border:0;border-radius:0;padding:14px 0}
  .nr-feature+.nr-feature{border-top:1px solid var(--nr-border)}
  .nr-feature h3{font-size:17px;line-height:1.5;margin:0 0 4px}
  .nr-feature p{font-size:15px;line-height:1.75;overflow-wrap:break-word;word-break:normal}
  .nr-feature-icon{display:none}
  .nr-feature-icon.mobile{display:block;width:32px;height:32px;margin-top:3px}
  .nr-note{font-size:13px;margin-top:14px}

  .nr-setup{display:flex;flex-direction:column;gap:0}
  .nr-setup li{padding:12px 0;grid-template-columns:38px minmax(0,1fr);gap:12px;position:relative}
  .nr-setup li:not(:last-child)::before{content:"";position:absolute;left:18px;top:48px;bottom:0;
    width:2px;background:var(--nr-border)}
  .nr-setup .n{width:38px;height:38px;font-size:14px}
  .nr-setup h3{font-size:16.5px}
  .nr-setup p{font-size:14.5px}

  .nr-price-row{padding:12px 0}
  .nr-price-row.reco{padding-inline:12px}
  .nr-price-name{font-size:17px}
  .nr-price-row strong{font-size:18px}
  .nr-price-row p{font-size:13.5px}
  .nr-price-cta{margin-top:18px}

  .nr-faq summary{font-size:15px;padding:14px 16px}
  .nr-faq .a{font-size:14.5px;padding:0 16px 16px}

  .nr-cta{padding-block:28px}
  .nr-cta-inner{display:block;text-align:center}
  .nr-cta h2{font-size:23px;margin-bottom:14px}
  .nr-cta p{display:none}
  .nr-cta-decoration{display:none}
  .nr-cta .nr-button{margin-top:4px}

  .nr-footer{padding-block:26px}
  .nr-footer-inner{text-align:center}
  .nr-footer .nr-logo{font-size:19px;justify-content:center}
  .nr-footer .nr-logo img{width:150px;margin-inline:auto}
  .nr-footer-nav{justify-content:center;gap:10px 18px;margin-top:14px}
  .nr-copy{margin-top:16px}
}

/* 320px級のごく狭い端末 */
@media(max-width:359px){
  .nr-container{width:calc(100% - 28px)}
  .nr-h1{font-size:23px}
  .nr-price-top{gap:6px}
  .nr-price-name{font-size:16px}
  .nr-price-row strong{font-size:17px}
  .nr-flow-item span{font-size:12px}
}

@media(prefers-reduced-motion:reduce){
  .nr-page *,.nr-page *::before,.nr-page *::after{transition:none!important;animation:none!important}
}
