/* ================================================================
   template-top.php 専用CSS（TOPページだけで使う演出・セクション）
   ================================================================ */

/* 2026-09-04: TOP右下カレンダーを非表示（HTML/JSは残置。復活時はこの1行を削除） */
.nh-page .top-calendar{display:none !important;}

/* ===== HERO ===== */
.nh-page .hero{
  position:relative;min-height:100vh;
  display:flex;align-items:flex-end;
  padding-bottom:90px;
  overflow:hidden;
  /* 背景写真が読み込まれる前でも白くチラつかないよう、濃紺を敷いておく */
  background:#17263c;
  font-family:'Zen Kaku Gothic New','Noto Sans JP',sans-serif;
}
.nh-page .hero-bg{position:absolute;inset:0;z-index:0;overflow:hidden;background:#17263c;}
.nh-page .hero-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:heroPhotoCycle 18s infinite ease-in-out;}
.nh-page .hero-bg img:nth-child(1){animation-delay:0s;}
.nh-page .hero-bg img:nth-child(2){animation-delay:6s;}
.nh-page .hero-bg img:nth-child(3){animation-delay:12s;}
@keyframes heroPhotoCycle{
  0%{opacity:0;transform:scale(1.04);}
  3%{opacity:1;}
  33%{opacity:1;}
  36%{opacity:0;transform:scale(1.14);}
  100%{opacity:0;transform:scale(1.14);}
}
.nh-page .hero-gradient{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg, rgba(23,38,60,.35) 0%, rgba(23,38,60,.55) 55%, rgba(23,38,60,.93) 100%);
}
@media (prefers-reduced-motion:reduce){.nh-page .hero-bg img{animation:none;opacity:0;}.nh-page .hero-bg img:first-child{opacity:1;}}
.nh-page .hero::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(120deg, rgba(242,102,29,.22), transparent 55%);
  pointer-events:none;
}
.nh-page .hero-inner{position:relative;z-index:2;color:#fff;max-width:820px;padding:0 32px;}
.nh-page .hero-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Inter',sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.16em;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);
  padding:7px 16px;border-radius:30px;margin-bottom:26px;backdrop-filter:blur(4px);
}
.nh-page .hero h1{
  font-size:clamp(26px,4.6vw,56px);
  font-weight:900;line-height:1.34;letter-spacing:.01em;
  text-shadow:0 6px 30px rgba(0,0,0,.35);
  white-space:nowrap;
}
.nh-page .hero h1 .accent{
  background:linear-gradient(100deg,var(--glow),var(--peach-deep) 60%,var(--coral-deep));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.nh-page .hero p{margin-top:22px;font-size:16px;color:#e9e4d8;max-width:600px;}
.nh-page .hero p .line{white-space:nowrap;}
.nh-page .hero-cta{display:flex;gap:16px;margin-top:38px;flex-wrap:wrap;}
.nh-page .scroll-cue{
  position:absolute;right:36px;bottom:26px;z-index:2;color:#f4efe4;
  writing-mode:vertical-rl;font-size:11px;letter-spacing:.3em;display:flex;align-items:center;gap:10px;
  opacity:.85;font-family:'Inter',sans-serif;
}
.nh-page .scroll-cue::after{content:"";width:1px;height:46px;background:#f4efe4;animation:scrollLine 1.8s infinite;}
@keyframes scrollLine{0%{transform:scaleY(0);transform-origin:top;}50%{transform:scaleY(1);transform-origin:top;}51%{transform-origin:bottom;}100%{transform:scaleY(0);transform-origin:bottom;}}
@media (max-width:480px){
  .nh-page .hero h1{white-space:normal;font-size:clamp(24px,7vw,32px);}
  .nh-page .hero p .line{white-space:normal;}
}

/* ===== HERO 健康宣言バナー =====
   位置は右下のまま（従来どおり）。右下の「SCROLL」縦書き表示（scroll-cue：right:36px）
   と重ならないよう、scroll-cueより十分左（right:78px）に置く。この右オフセットは画面幅に
   関係なく一定なので、幅が変わってもSCROLLとは重ならない。
   大きさは旧サイズ(220px)の1.5倍=330pxを上限に、画面幅に応じて自動で縮小する。 */
.nh-page .hero-health-badge{
  position:absolute;
  right:78px;
  bottom:100px;
  z-index:3;
  display:block;
  width:clamp(130px, 28vw, 330px);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(0,0,0,.32);
  border:1px solid rgba(255,255,255,.25);
  transition:transform .25s ease, box-shadow .25s ease;
}
.nh-page .hero-health-badge:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(0,0,0,.4);}
.nh-page .hero-health-badge img{width:100%;height:auto;display:block;}
@media (max-width:480px){
  /* スマホ幅は「事業内容を見る」ボタンと同じ高さに小さく並べる（縦のすき間が本文と重なってしまうため） */
  .nh-page .hero-health-badge{left:auto;right:16px;top:84px;bottom:auto;width:clamp(140px, 44vw, 200px);}
}

/* ===== HERO NEWS ===== */
.nh-page .hero-news{
  position:absolute;left:50%;bottom:26px;z-index:3;transform:translateX(-50%);
  display:flex;align-items:center;gap:9px;white-space:nowrap;
  background:rgba(255,255,255,.14);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.32);border-radius:30px;padding:9px 18px;
  opacity:0;animation:heroNewsIn .9s ease .9s forwards;
}
.nh-page .hero-news-tag{font-family:'Inter',sans-serif;font-size:10px;font-weight:700;letter-spacing:.08em;color:#fff;background:rgba(255,255,255,.22);padding:3px 10px;border-radius:20px;flex-shrink:0;}
.nh-page .hero-news-text{font-size:12px;color:#fff;}
@keyframes heroNewsIn{from{opacity:0;transform:translate(-50%,10px);}to{opacity:1;transform:translate(-50%,0);}}
/* スマホでは折り返して縦に伸びると、下に重なっているCTAボタン等が
   押せなくなってしまうため、1行固定＋はみ出し部分は「…」で省略する。 */
@media (max-width:600px){
  .nh-page .hero-news{
    max-width:90%;
    white-space:nowrap;
    padding:6px 14px;
    gap:6px;
    bottom:16px;
  }
  .nh-page .hero-news-tag{font-size:8.5px;padding:2px 8px;}
  .nh-page .hero-news-text{
    font-size:10px;
    overflow:hidden;
    text-overflow:ellipsis;
    min-width:0;
  }
}

/* ===== MARQUEE ===== */
.nh-page .marquee-strip{background:var(--paper);color:var(--ink);overflow:hidden;white-space:nowrap;padding:15px 0;border-block:1px solid var(--line);}
.nh-page .marquee-track{display:inline-block;padding-left:100%;animation:marquee 220s linear infinite;}
.nh-page .marquee-track span{font-family:'Inter',sans-serif;font-size:13.5px;font-weight:700;letter-spacing:.12em;margin-right:32px;color:var(--ink-soft);}
.nh-page .marquee-track span.dot{color:var(--coral-deep);}
@keyframes marquee{0%{transform:translateX(0);}100%{transform:translateX(-100%);}}

/* ===== ABOUT ===== */
.nh-page .about{background:var(--mint-deep);}
.nh-page .about .sec-title{color:#fff;}
.nh-page .about .sec-title .thin{color:var(--ink-on-dark);}
.nh-page .about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;}
.nh-page .about-copy p{color:var(--ink-on-dark);font-size:15.5px;margin-bottom:16px;}
.nh-page .stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px;}
.nh-page .stat-card{background:var(--paper);border:1.5px solid var(--line);border-radius:var(--r-md);padding:22px 16px;text-align:center;}
.nh-page .stat-num{font-family:'Inter',sans-serif;font-weight:800;font-size:28px;color:var(--coral-deep);}
.nh-page .stat-num sup{font-size:13px;}
.nh-page .stat-label{font-size:12px;color:var(--ink-soft);margin-top:6px;}
.nh-page .about-photo{position:relative;height:420px;box-shadow:0 24px 48px rgba(0,0,0,.25);}
/* 握手している親指の少し上から、事業案内の飛び出し演出と同じ効果でハートを出す（カーソルを乗せた時のみ／PC想定） */
.nh-page .about-heart{position:absolute;left:50%;top:26%;width:60px;transform:translateX(-50%);pointer-events:none;z-index:3;}
.nh-page .about-heart img{
  display:block;width:100%;height:auto;object-fit:contain;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.35));
  opacity:0;
  transform:translateY(40px) scale(.7);
  transition:opacity .5s ease, transform .75s cubic-bezier(.22,1.68,.4,1);
}
.nh-page .about-photo:hover .about-heart img{opacity:1;transform:translateY(0) scale(1);}

/* ===== SERVICES ===== */
.nh-page .services{background:var(--paper);}
.nh-page .service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.nh-page .service-card{border-radius:var(--r-md);padding:30px 24px;transition:transform .3s ease;display:flex;flex-direction:column;}
.nh-page .service-card:hover{transform:translateY(-8px);}
.nh-page .service-card.is-clickable{cursor:pointer;}
.nh-page .service-card.c1{background:var(--peach);}
.nh-page .service-card.c2{background:var(--mint);}
.nh-page .service-card.c3{background:var(--peach);}
.nh-page .service-card.c4{background:var(--mint);}
.nh-page .service-icon{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:20px;box-shadow:0 8px 18px rgba(150,110,70,.15);color:#fff;}
.nh-page .service-icon svg{width:26px;height:26px;}
.nh-page .service-card.c1 .service-icon,.nh-page .service-card.c3 .service-icon{background:var(--peach-deep);}
.nh-page .service-card.c2 .service-icon,.nh-page .service-card.c4 .service-icon{background:var(--mint-deep);}
.nh-page .service-en{font-family:'Inter',sans-serif;font-size:11px;letter-spacing:.14em;color:var(--ink-soft);text-transform:uppercase;}
.nh-page .service-title{font-size:17.5px;font-weight:900;margin:8px 0 14px;}
.nh-page .service-list{font-size:12.5px;color:var(--ink-soft);flex:1;}
.nh-page .service-list li{list-style:none;padding-left:16px;position:relative;margin-bottom:6px;}
.nh-page .service-list li::before{content:"○";position:absolute;left:0;color:var(--coral-deep);font-size:10px;top:5px;}
.nh-page .service-link{display:inline-flex;align-items:center;gap:4px;margin-top:18px;font-size:12.5px;font-weight:700;color:var(--coral-deep);}
.nh-page .services .deco-icon{top:20px;right:20px;width:170px;height:170px;color:var(--ink-soft);}

/* ===== 事業案内：カーソルを乗せると、その項目の素材（最大4枚・位置=上/中/下・大きさ=大/中/小）が最背面に浮かび上がる（PC/マウス操作のみ） ===== */
.nh-page .services{position:relative;}
.nh-page .services .wrap{position:relative;z-index:2;}
.nh-page .services-pop-bg{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;}
.nh-page .services-pop-bg .pop-layer{position:absolute;inset:0;}
/* left/top はJSでカード位置・位置指定（上/中/下）にあわせて設定 */
.nh-page .services-pop-bg .pop-img{position:absolute;}
.nh-page .services-pop-bg .pop-img img{
  display:block;width:auto;height:auto;object-fit:contain;
  filter:drop-shadow(0 16px 22px rgba(23,38,60,.3));
  opacity:0;
  transform:translateY(120px) scale(.72);
  transition:opacity .5s ease, transform .75s cubic-bezier(.22,1.68,.4,1);
}
.nh-page .services-pop-bg .pop-img[data-size="lg"] img{max-width:380px;max-height:440px;}
.nh-page .services-pop-bg .pop-img[data-size="lg80"] img{max-width:300px;max-height:350px;}
.nh-page .services-pop-bg .pop-img[data-size="md"] img{max-width:260px;max-height:300px;}
.nh-page .services-pop-bg .pop-img[data-size="md-lg"] img{max-width:300px;max-height:400px;}
.nh-page .services-pop-bg .pop-img[data-size="sm"] img{max-width:170px;max-height:190px;}
.nh-page .services-pop-bg .pop-img[data-size="sm-lg"] img{max-width:215px;max-height:240px;}
.nh-page .services-pop-bg .pop-img[data-size="sm-wide"] img{max-width:210px;max-height:185px;}
.nh-page .services-pop-bg .pop-img[data-size="xs"] img{max-width:175px;max-height:160px;}
.nh-page .services-pop-bg .pop-img[data-size="flat"] img{max-width:254px;max-height:143px;}
.nh-page .services-pop-bg .pop-img[data-size="ph"] img{max-width:189px;max-height:210px;}
.nh-page .services-pop-bg .pop-img[data-size="md140"] img{max-width:364px;max-height:420px;}

.nh-page .services-pop-bg .pop-layer.is-active .pop-img img{opacity:1;transform:translateY(0) scale(1);}

.nh-page .service-card{position:relative;z-index:1;transition:transform .3s ease, opacity .45s ease, background .45s ease, box-shadow .45s ease;}
.nh-page .services.pop-on .service-card{opacity:.5;}
.nh-page .services.pop-on .service-card.is-active{opacity:1;}
.nh-page .service-card.is-active{box-shadow:0 22px 46px rgba(23,38,60,.22);}

/* ===== RECRUIT ===== */
.nh-page .recruit{background:var(--mint-deep);position:relative;overflow:hidden;}
.nh-page .recruit .deco-icon{top:30px;right:30px;width:190px;height:190px;color:var(--sky-deep);opacity:.28;}
.nh-page .recruit-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;position:relative;z-index:1;}
.nh-page .recruit .sec-title{color:#fff;}
.nh-page .recruit .sec-title .thin{color:var(--ink-on-dark);}
.nh-page .recruit p.lead{color:var(--ink-on-dark);font-size:15.5px;margin-top:14px;max-width:560px;}
.nh-page .chip-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px;}
.nh-page .chip{font-size:13px;font-weight:700;padding:9px 18px;border-radius:30px;background:#fff;color:var(--mint-deep);box-shadow:0 6px 14px rgba(0,0,0,.18);}
.nh-page .recruit-photo-single{position:relative;height:420px;box-shadow:0 16px 34px rgba(60,120,150,.16);}
/* 若手社員の吹き出し（カーソルを乗せた時だけ、ゆっくりフェードイン／PC想定） */
.nh-page .recruit-speech{
  position:absolute;left:6%;top:8%;max-width:270px;
  background:#fff;color:var(--ink);font-size:13.5px;font-weight:700;line-height:1.65;
  padding:16px 20px;border-radius:20px;
  box-shadow:0 14px 28px rgba(20,30,50,.24);
  opacity:0;transform:translateY(14px);
  transition:opacity 1s ease, transform 1s ease;
  pointer-events:none;z-index:3;
}
.nh-page .recruit-speech::after{
  content:'';position:absolute;right:36px;bottom:-11px;
  width:0;height:0;border-left:11px solid transparent;border-right:3px solid transparent;border-top:14px solid #fff;
}
.nh-page .recruit-photo-single:hover .recruit-speech{opacity:1;transform:translateY(0);}
.nh-page .recruit-benefit{margin-top:20px;gap:12px;align-items:flex-start;}
.nh-page .recruit-benefit-icon{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.16);color:var(--peach);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.nh-page .recruit-benefit-icon svg{width:17px;height:17px;}
.nh-page .recruit-benefit .info-value{color:var(--ink-on-dark);font-size:13.5px;line-height:1.6;padding-top:6px;}
.nh-page .new-badge{display:inline-block;color:#ff3b30;font-weight:900;margin-right:6px;animation:newBlink 1.1s ease-in-out infinite;}
@keyframes newBlink{0%,100%{opacity:1;}50%{opacity:.25;}}
.nh-page .recruit-cta{margin-top:32px;}

/* ===== VOICES ===== */
.nh-page .voices{background:var(--paper);}
.nh-page .voice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.nh-page .voice-card{border-radius:var(--r-md);padding:28px 26px;position:relative;padding-bottom:210px;min-height:250px;}
.nh-page .voice-card:nth-child(1){background:var(--peach);}
.nh-page .voice-card:nth-child(2){background:var(--mint);}
.nh-page .voice-card:nth-child(3){background:var(--lav);}
.nh-page .voice-text{font-size:18px;font-weight:700;line-height:1.7;color:var(--ink);}
.nh-page .voice-who{font-size:12.5px;color:var(--ink-soft);font-weight:700;margin-top:14px;}
.nh-page .voice-link{display:inline-flex;align-items:center;gap:4px;margin-top:10px;font-size:12px;font-weight:700;color:var(--coral-deep);}
.nh-page .voice-photo{position:absolute;bottom:20px;right:20px;width:180px;height:180px;border-radius:32px;overflow:hidden;border:4px solid #fff;box-shadow:0 16px 32px rgba(0,0,0,.2);}
.nh-page .voices .deco-icon{top:10px;right:24px;width:160px;height:160px;color:var(--ink-soft);}

/* ===== GALLERY ===== */
.nh-page .gallery{background:var(--mint-deep);}
.nh-page .gallery .sec-title{color:#fff;}
.nh-page .gallery-slider{overflow:hidden;}
.nh-page .gallery-track{display:flex;gap:20px;width:max-content;animation:gallerySlide 32s linear infinite;}
.nh-page .gallery-slider:hover .gallery-track{animation-play-state:paused;}
.nh-page .gallery-track .g{flex:0 0 auto;width:400px;height:340px;border-radius:28px;overflow:hidden;box-shadow:0 16px 34px rgba(60,120,90,.2);}
@keyframes gallerySlide{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}
.nh-page .gallery .deco-icon{top:20px;left:30px;width:170px;height:170px;color:var(--sky-deep);opacity:.28;}

/* ===== CONTACT（お問い合わせ） ===== */
.nh-page #contact{background:var(--paper);}

.nh-page .cable-wrap{position:absolute;top:0;left:14px;width:70px;z-index:1;pointer-events:none;}
.nh-page .cable-wrap svg{display:block;width:100%;height:100%;overflow:visible;}
.nh-page .cable-path{fill:none;stroke:#3FB6E0;stroke-width:6;stroke-linecap:round;opacity:.1;}
.nh-page .cable-tip{fill:#3FB6E0;opacity:.1;}
@media (max-width:640px){ .nh-page .cable-wrap{display:none;} }

/* ===== LANケーブル スクロール進捗ライン（SCROLLギミックの応用・Pattern D） ===== */
.nh-page .scroll-progress{position:fixed;top:0;bottom:0;right:26px;width:2px;background:rgba(120,110,90,.18);z-index:60;pointer-events:none;}
.nh-page .scroll-progress-fill{position:absolute;left:0;top:0;width:100%;height:0%;background:var(--coral-deep);}
.nh-page .scroll-progress-tip{position:absolute;left:50%;top:0%;transform:translate(-50%,-50%);filter:drop-shadow(0 2px 5px rgba(0,0,0,.28));}
@media (max-width:640px){ .nh-page .scroll-progress{display:none;} }

/* ===== TOP右下カレンダー（パターンA・ペーパーカード） ===== */
.nh-page{--sat-blue:#3b6ea5;--ok-green:#2f9e5c;}
.nh-page .top-calendar{
  position:fixed;z-index:70;background:var(--paper);border-radius:16px;
  box-shadow:0 14px 30px rgba(0,0,0,.22);overflow:hidden;
  opacity:0;transform:translateY(14px);pointer-events:none;
  transition:opacity .45s ease,transform .45s ease;
}
.nh-page .top-calendar.visible{opacity:1;transform:translateY(0);pointer-events:auto;}
.nh-page .top-calendar.desktop{width:258px;right:56px;bottom:110px;}
.nh-page .top-calendar .cal-close{
  position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:50%;
  border:none;background:transparent;color:var(--ink-soft);font-size:15px;line-height:1;
  cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:1;
}
.nh-page .top-calendar .cal-close:hover{background:rgba(217,80,15,.14);color:var(--coral-deep);}
.nh-page .top-calendar .cal-head{background:var(--cream);padding:11px 30px 9px 14px;border-bottom:1px solid var(--line);display:flex;align-items:baseline;justify-content:space-between;}
.nh-page .top-calendar .cal-month{font-family:'Zen Kaku Gothic New','Noto Sans JP',sans-serif;font-size:17px;font-weight:900;color:var(--ink);}
.nh-page .top-calendar .cal-year{font-size:10px;color:var(--ink-soft);font-weight:700;}
.nh-page .top-calendar .cal-weekdays{display:grid;grid-template-columns:repeat(7,1fr);padding:8px 7px 0;font-size:9px;font-weight:700;color:var(--ink-soft);text-align:center;}
.nh-page .top-calendar .cal-weekdays .is-sun{color:var(--coral-deep);}
.nh-page .top-calendar .cal-weekdays .is-sat{color:var(--sat-blue);}
.nh-page .top-calendar .cal-grid{display:grid;grid-template-columns:repeat(7,1fr);padding:4px 6px 8px;gap:1px;}
.nh-page .top-calendar .cal-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:7px;font-size:10px;color:var(--ink);position:relative;}
.nh-page .top-calendar .cal-cell.is-blank{visibility:hidden;}
.nh-page .top-calendar .cal-cell.is-sun .num{color:var(--coral-deep);}
.nh-page .top-calendar .cal-cell.is-sat .num{color:var(--sat-blue);}
.nh-page .top-calendar .cal-cell.is-holiday{background:rgba(217,80,15,.08);}
.nh-page .top-calendar .cal-cell.is-holiday .num{color:var(--coral-deep);font-weight:700;}
.nh-page .top-calendar .cal-cell.is-today{background:var(--coral-deep);}
.nh-page .top-calendar .cal-cell.is-today .num{color:#fff;font-weight:900;}
.nh-page .top-calendar .cal-cell .tag{font-size:5px;color:var(--coral-deep);line-height:1;}
.nh-page .top-calendar .cal-legend{padding:7px 12px 10px;font-size:8.5px;color:var(--ink-soft);border-top:1px solid var(--line);}

/* デスクトップ版のみ約130%に拡大（角丸の半径はそのまま／正方形の升目の形は変えない） */
.nh-page .top-calendar.desktop .cal-close{width:29px;height:29px;font-size:20px;top:8px;right:8px;}
.nh-page .top-calendar.desktop .cal-head{padding:14px 39px 12px 18px;}
.nh-page .top-calendar.desktop .cal-month{font-size:22px;}
.nh-page .top-calendar.desktop .cal-year{font-size:13px;}
.nh-page .top-calendar.desktop .cal-weekdays{padding:10px 9px 0;font-size:12px;}
.nh-page .top-calendar.desktop .cal-grid{padding:5px 8px 10px;gap:2px;}
.nh-page .top-calendar.desktop .cal-cell{font-size:13px;}
.nh-page .top-calendar.desktop .cal-cell .tag{font-size:7px;}
.nh-page .top-calendar.desktop .cal-legend{padding:9px 16px 13px;font-size:11px;}

.nh-page .top-calendar.mobile{display:none;right:14px;bottom:70px;border-radius:30px;width:auto;}
.nh-page .top-calendar.mobile[open]{border-radius:16px;width:180px;}
.nh-page .top-calendar.mobile summary{list-style:none;cursor:pointer;padding:9px 14px 9px 10px;display:flex;align-items:center;gap:8px;}
.nh-page .top-calendar.mobile summary::-webkit-details-marker{display:none;}
.nh-page .top-calendar.mobile .pill-date{font-family:'Zen Kaku Gothic New','Noto Sans JP',sans-serif;font-size:16px;font-weight:900;color:var(--coral-deep);line-height:1;}
.nh-page .top-calendar.mobile .pill-info{display:flex;flex-direction:column;}
.nh-page .top-calendar.mobile .pill-dow{font-size:8.5px;color:var(--ink-soft);font-weight:700;}
.nh-page .top-calendar.mobile .pill-status{font-size:8px;font-weight:700;color:var(--ok-green);display:flex;align-items:center;gap:3px;white-space:nowrap;}
.nh-page .top-calendar.mobile .pill-status::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--ok-green);}
.nh-page .top-calendar.mobile .pill-status.is-closed{color:var(--coral-deep);}
.nh-page .top-calendar.mobile .pill-status.is-closed::before{background:var(--coral-deep);}
.nh-page .top-calendar.mobile .cal-head{padding:8px 26px 2px 10px;}
.nh-page .top-calendar.mobile .cal-month{font-size:13px;}
@media (max-width:640px){
  .nh-page .top-calendar.desktop{display:none;}
  .nh-page .top-calendar.mobile{display:block;}
}

/* ===== RESPONSIVE ===== */
@media (max-width:920px){
  .nh-page .about-grid,.nh-page .recruit-grid{grid-template-columns:1fr;}
  .nh-page .service-grid{grid-template-columns:repeat(2,1fr);}
  .nh-page .voice-grid{grid-template-columns:1fr;}
  .nh-page .gallery-track .g{width:260px;height:220px;}
  .nh-page .recruit-photo-single{height:260px;}
  .nh-page .recruit-speech{max-width:78%;font-size:12.5px;padding:13px 16px;}
  .nh-page .voice-photo{width:144px;height:144px;}
  .nh-page .voice-card{padding-bottom:180px;}
}


/* 2026-09-25 スマホ：採用写真の吹き出しを顔に被らないよう左上に改行配置 */
@media (max-width:640px){
  .nh-page .recruit-speech{left:4%;top:5%;max-width:46%;font-size:11.5px;line-height:1.55;padding:10px 12px;border-radius:14px;word-break:keep-all;overflow-wrap:normal;}
  .nh-page .recruit-speech::after{right:22px;}
}
