@media(max-width:480px){
    br{ display: none; }
}

.skip-link{
  position:fixed;
  top:-80px;
  left:1rem;
  z-index:1000;
  padding:.65rem 1rem;
  border-radius:0 0 10px 10px;
  color:#fff;
  background:#173042;
  text-decoration:none;
  transition:top .2s;
}
.skip-link:focus{top:0;}
.nav-logo{display:block;}
.nav-mobile-cta{display:none;}

@media(max-width:768px){
  .nav-cta{display:none;}
  .nav-links.is-open{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    position:fixed;
    top:60px;
    left:0;
    right:0;
    padding:1rem 2rem 1.5rem;
    gap:.7rem;
    background:#fff;
    border-bottom:1px solid var(--border);
    box-shadow:0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.is-open a{padding:.55rem .25rem;}
  .nav-links.is-open .nav-mobile-cta{
    display:block;
    margin-top:.35rem;
    padding:.7rem 1rem;
    border-radius:999px;
    color:#fff;
    background:var(--teal);
    text-align:center;
  }
}


.hero-robot-image img{position:absolute;bottom:0;width:clamp(105px,11vw,150px);z-index:1;right:18px;}
.hero-robot-image2 img{position:absolute;bottom:0;width:clamp(120px,13vw,170px);z-index:1;right:18px;}

#daily,#security{position:relative;overflow:hidden;}
#daily .section-wrap,#security .section-wrap{position:relative;z-index:1;}
.section-mascot{position:absolute;z-index:0;pointer-events:none;}
.section-mascot img{display:block;width:clamp(95px,11vw,145px);height:auto;}
.mascot-daily{top:2rem;right:max(1.25rem,calc((100vw - 1120px)/2));}
.mascot-security{top:2rem;right:max(1.25rem,calc((100vw - 1120px)/2));}

.hire-avatar img{height:64px;object-fit:contain;object-position:center;}

@media(max-width:700px){
  .hero-robot-image img{width:92px;right:8px;}
  .hero-robot-image2 img{width:105px;right:6px;}
  .section-mascot{top:1rem;right:.75rem;opacity:.82;}
  .section-mascot img{width:76px;}
}

/* ── メインページの可読性 ──
   本文・操作要素は16px以上、補足ラベル・注釈は13pxに統一する。 */
body{font-size:16px;}

body p,
body a,
body button,
body li,
body th,
body td{font-size:16px!important;}

.nav-links a,
.nav-cta,
.hero-sub,
.btn-primary,
.btn-secondary,
.trust-label,
.trust-item,
.section-lead,
.problem-title,
.problem-body,
.problem-quote,
.feature-text h3,
.feature-text p,
.flow-step-text,
.feat-card h3,
.feat-card p,
.safety-lead,
.safety-card h3,
.safety-card p,
.voice-quote,
.agenda-label,
.mp-text h4,
.mp-text p,
.cta-sub,
.cta-btn-white,
.cta-btn-outline,
.footer-col h4,
.footer-col a,
.hire-name,
.hire-desc,
.hire-spec,
.hire-btn,
.pain-card h3,
.pain-card p,
.pain-quote,
.func-item h3,
.func-item p,
.daily-card h3,
.daily-item,
.daily-text,
.asset-step h4,
.asset-step p,
.kpi-label,
.voice-q,
.bucket-title,
.bucket-body,
.benefit-card h3,
.benefit-card p,
.pillar h3,
.pillar p,
.proof-label,
.step-row h4,
.step-row p,
.final-promise p{font-size:16px!important;}

/* 補足・注釈・短いステータスラベル */
.hero-eyebrow,
.floating-badge,
.section-eyebrow,
.problem-note,
.flow-num,
.flow-step-sub,
.feat-badge,
.feat-tag,
.voice-name,
.agenda-priority,
.agenda-badge,
.agenda-reason,
.meeting-cta-note,
.meeting-point-badge,
.mp-month,
.cta-note,
.footer-tagline,
.footer-copy,
.hire-role,
.salary-label,
.salary-compare,
.pain-note,
.func-label,
.func-tag,
.daily-label,
.daily-time,
.daily-meta,
.asset-step-label,
.kpi-unit,
.voice-who,
.benefit-num,
.benefit-tag,
.proof-unit,
.step-badge{font-size:13px!important;}

/* CSSで構成した画面イメージ内の文字 */
.phone-greeting,
.phone-si-label,
.phone-si-trend,
.phone-card-title,
.phone-tag,
.phone-motiv-label{font-size:13px!important;}

.phone-name,
.phone-card-body,
.phone-motiv-msg{font-size:16px!important;}

/* ヒーロー内の画面イメージも13px未満にしない */
.phone-mock [style*="font-size:7px"],
.phone-mock [style*="font-size:8px"],
.phone-mock [style*="font-size:9px"],
.phone-mock [style*="font-size:10px"]{font-size:13px!important;}

.phone-mock [style*="font-size:12px"],
.phone-mock [style*="font-size:15px"]{font-size:16px!important;}

/* ── 実画面キャプチャ ── */
.hero-visual-wrap .phone-mock{display:none;}
.actual-screen-hero{
  width:min(330px,100%);
  margin-inline:auto;
  padding:8px;
  overflow:hidden;
  border-radius:32px;
  background:#fff;
  box-shadow:0 28px 70px rgba(0,0,0,.16),0 4px 16px rgba(0,0,0,.08);
  outline:1px solid rgba(0,0,0,.06);
}
.actual-screen-hero img{display:block;width:100%;height:auto;border-radius:24px;}

.screens-section{padding:5rem 2rem;background:#fff;}
.screen-group{margin-top:3rem;}
.screen-group + .screen-group{margin-top:5rem;}
.screen-group-heading{display:grid;grid-template-columns:150px 1fr;gap:1.5rem;align-items:start;margin-bottom:1.5rem;}
.screen-group-heading h3{margin:0 0 .35rem;font-size:1.25rem;color:var(--text);}
.screen-group-heading p{margin:0;max-width:720px;color:var(--text2);line-height:1.8;}
.screen-role{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:.45rem .85rem;border-radius:999px;font-size:13px!important;font-weight:700;}
.screen-role.hygienist{color:#07599f;background:#e8f4ff;border:1px solid #b9dcf8;}
.screen-role.director{color:#a9000b;background:#fff0f1;border:1px solid #f4b9bd;}
.screen-grid{display:grid;gap:1.25rem;align-items:stretch;}
.screen-grid-mobile{grid-template-columns:repeat(3,minmax(0,1fr));}
.screen-grid-desktop{grid-template-columns:repeat(2,minmax(0,1fr));}
.screen-card{display:flex;flex-direction:column;overflow:hidden;margin:0;background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 10px 30px rgba(26,58,74,.08);transition:transform .25s,box-shadow .25s;}
.screen-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(26,58,74,.14);}
.screen-card > a{display:flex;align-items:flex-start;justify-content:center;overflow:hidden;background:linear-gradient(145deg,#edf4f8,#f8fbfd);border-bottom:1px solid var(--border);}
.screen-grid-mobile .screen-card > a{height:430px;}
.screen-grid-desktop .screen-card > a{height:330px;}
.screen-card img{display:block;width:100%;height:100%;object-fit:contain;object-position:top center;transition:transform .3s;}
.screen-card:hover img{transform:scale(1.015);}
.screen-card > a{position:relative;cursor:zoom-in;}
.screen-card > a::after{
  content:'拡大して見る';
  position:absolute;
  right:.75rem;
  bottom:.75rem;
  padding:.4rem .7rem;
  border-radius:999px;
  color:#fff;
  background:rgba(23,48,66,.84);
  box-shadow:0 4px 12px rgba(0,0,0,.18);
  font-size:13px;
  font-weight:700;
  opacity:0;
  transform:translateY(5px);
  transition:opacity .2s,transform .2s;
}
.screen-card > a:hover::after,.screen-card > a:focus-visible::after{opacity:1;transform:translateY(0);}
.screen-card figcaption{padding:1.15rem 1.25rem 1.3rem;}
.screen-card h3{margin:0 0 .35rem;font-size:1rem;color:var(--text);}
.screen-card p{margin:0;color:var(--text2);line-height:1.75;}

.screen-lightbox{
  width:min(94vw,1120px);
  max-width:none;
  height:min(92vh,900px);
  max-height:none;
  margin:auto;
  padding:3.5rem 1.25rem 1rem;
  overflow:hidden;
  border:0;
  border-radius:20px;
  background:#fff;
  box-shadow:0 28px 80px rgba(0,0,0,.3);
}
.screen-lightbox::backdrop{background:rgba(12,27,38,.78);backdrop-filter:blur(5px);}
.screen-lightbox-close{
  position:absolute;
  top:.65rem;
  right:.75rem;
  z-index:2;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:0;
  border-radius:50%;
  color:#173042;
  background:#edf3f6;
  font-size:28px!important;
  line-height:1;
  cursor:pointer;
  transition:background .2s,transform .2s;
}
.screen-lightbox-close:hover,.screen-lightbox-close:focus-visible{background:#dce9ef;transform:scale(1.06);}
.screen-lightbox-body{display:flex;align-items:center;justify-content:center;width:100%;height:calc(100% - 2.4rem);overflow:auto;}
.screen-lightbox-body img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;}
.screen-lightbox-caption{margin:.6rem 0 0;text-align:center;font-weight:700;color:var(--text);}

@media(max-width:900px){
  .screen-grid-mobile{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .screens-section{padding:4rem 1.2rem;}
  .screen-group-heading{grid-template-columns:1fr;gap:.8rem;}
  .screen-grid-mobile,.screen-grid-desktop{grid-template-columns:1fr;}
  .screen-grid-mobile .screen-card > a,.screen-grid-desktop .screen-card > a{height:auto;max-height:560px;}
  .screen-card img{height:auto;max-height:560px;}
  .screen-card > a::after{opacity:1;transform:none;}
  .screen-lightbox{width:96vw;height:94vh;padding:3.5rem .7rem .8rem;border-radius:16px;}
}
