/* 新TOPページ専用CSS（nn-top.php） */
:root{--teal:#1b9fa3; --teal-d:#0d7479; --teal-dd:#0a4f53; --teal-l:#e5f4f4;
  --red:#e02020; --ink:#1d2427; --ink-2:#465157; --muted:#6c777d; --line:#dde3e5; --bg:#f3f6f6; --white:#fff;
  --font:"Noto Sans JP","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  --num:"Barlow Semi Condensed","Noto Sans JP",sans-serif;
  --w:1240px;}
body.nn-top *{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body.nn-top{margin:0;font-family:var(--font);color:var(--ink);background:var(--white);font-size:16px;line-height:1.75;}
body.nn-top a{color:inherit;text-decoration:none;}
body.nn-top img{max-width:100%;display:block;}
body.nn-top .wrap{max-width:var(--w);margin:0 auto;padding:0 24px;}
body.nn-top .num{font-family:var(--num);font-variant-numeric:tabular-nums;letter-spacing:.01em;}
body.nn-top .hd{position:sticky;top:0;z-index:50;background:var(--white);border-bottom:1px solid var(--line);}
body.nn-top .hd .wrap{display:flex;align-items:center;gap:20px;height:76px;}
body.nn-top .hd-logo{display:flex;align-items:center;gap:14px;flex:none;}
body.nn-top .hd-logo img{height:44px;width:auto;}
body.nn-top .hd-logo small{font-size:12px;color:var(--muted);line-height:1.4;border-left:1px solid var(--line);padding-left:14px;}
body.nn-top .hd-nav{display:flex;gap:4px;margin-left:auto;}
body.nn-top .hd-nav a{white-space:nowrap;font-size:15px;font-weight:700;padding:8px 10px;border-radius:4px;color:var(--ink-2);}
body.nn-top .hd-nav a:hover{color:var(--teal-d);background:var(--teal-l);}
body.nn-top .hd-act{display:flex;align-items:center;gap:10px;flex:none;}
body.nn-top .hd-tel{flex:none;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-end;line-height:1.15;}
body.nn-top .hd-tel b{font-family:var(--num);font-size:24px;font-weight:700;color:var(--ink);}
body.nn-top .hd-tel small{font-size:11px;color:var(--muted);}
body.nn-top .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;border-radius:4px;padding:12px 20px;font-size:15px;line-height:1.2;cursor:pointer;border:0;font-family:inherit;}
body.nn-top .btn-teal{background:var(--teal-d);color:#fff;}
body.nn-top .btn-teal:hover{background:var(--teal-dd);}
body.nn-top .btn-line{background:#fff;color:var(--teal-d);border:1.5px solid var(--teal-d);}
body.nn-top .hd-fav{position:relative;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--teal-d);}
body.nn-top .hd-fav i{position:absolute;top:-3px;right:-3px;background:var(--red);color:#fff;font-style:normal;font-family:var(--num);font-weight:700;font-size:12px;min-width:19px;height:19px;border-radius:10px;display:grid;place-items:center;padding:0 5px;}
body.nn-top .hd-menu{display:none;}
body.nn-top .sc{color:var(--ink);background:var(--white);border-radius:6px;padding:22px 24px 20px;box-shadow:0 18px 40px rgba(10,40,45,.18);}
body.nn-top .sc-ttl{display:flex;align-items:baseline;gap:10px;margin:0 0 14px;font-size:17px;font-weight:900;}
body.nn-top .sc-ttl small{font-size:13px;font-weight:500;color:var(--muted);}
body.nn-top .sc-row{display:grid;grid-template-columns:1fr 1fr 1.3fr auto;gap:10px;}
body.nn-top .sc label{display:block;font-size:12px;font-weight:700;color:var(--muted);margin:0 0 4px;}
body.nn-top .sc select,body.nn-top .sc input{width:100%;height:50px;border:1.5px solid var(--line);border-radius:4px;padding:0 14px;font-size:15.5px;font-family:inherit;color:var(--ink);background:#fff;}
body.nn-top .sc select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink-2) 50%),linear-gradient(135deg,var(--ink-2) 50%,transparent 50%);background-position:calc(100% - 20px) 22px,calc(100% - 15px) 22px;background-size:5px 5px;background-repeat:no-repeat;}
body.nn-top .sc select:focus,body.nn-top .sc input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px var(--teal-l);}
body.nn-top .sc .btn{height:50px;align-self:end;padding:0 28px;font-size:16px;}
body.nn-top .sc-tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;font-size:13.5px;align-items:center;}
body.nn-top .sc-tags span{color:var(--muted);font-size:12.5px;margin-right:2px;}
body.nn-top .sc-tags a{padding:4px 12px;border-radius:14px;background:var(--bg);color:var(--ink-2);font-weight:500;}
body.nn-top .sc-tags a:hover{background:var(--teal-l);color:var(--teal-d);}
body.nn-top .facts{display:grid;grid-template-columns:repeat(4,1fr);}
body.nn-top .fact{padding:20px 24px;display:flex;flex-direction:column;gap:2px;}
body.nn-top .fact + .fact{border-left:1px solid rgba(255,255,255,.18);}
body.nn-top .fact-l{font-size:13px;opacity:.85;}
body.nn-top .fact-v{font-size:20px;font-weight:900;line-height:1.3;}
body.nn-top .fact-v .num{font-size:42px;font-weight:700;line-height:1;margin-right:3px;}
@keyframes nnPop{0%{transform:scale(1);}40%{transform:scale(1.08);}100%{transform:scale(1);}}
body.nn-top .fact-v .num{display:inline-block;min-width:1ch;}
body.nn-top .fact-v .num.is-done{animation:nnPop .45s ease-out;}
body.nn-top .sec{padding:88px 0;}
body.nn-top .sec-alt{background:var(--bg);}
body.nn-top .sec-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 30px;}
body.nn-top .sec-hd h2{margin:0;font-size:30px;font-weight:900;line-height:1.35;letter-spacing:.02em;}
body.nn-top .sec-hd p{margin:6px 0 0;color:var(--muted);font-size:15px;}
body.nn-top .more{font-size:15px;font-weight:700;color:var(--teal-d);white-space:nowrap;border-bottom:2px solid currentColor;padding-bottom:2px;}
body.nn-top .cats{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
body.nn-top .cat{background:var(--white);border:1px solid var(--line);border-radius:6px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .15s,transform .15s;}
body.nn-top .cat:hover{border-color:var(--teal);transform:translateY(-2px);}
body.nn-top .cat-img{aspect-ratio:1/1;background:var(--bg);overflow:hidden;}
body.nn-top .cat-img img{width:100%;height:100%;object-fit:cover;}
body.nn-top .cat-b{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding:10px 12px 12px;}
body.nn-top .cat-n{font-size:14px;letter-spacing:-.01em;font-weight:700;line-height:1.4;}
body.nn-top .cat-c{font-family:var(--num);font-weight:700;font-size:20px;color:var(--teal-d);white-space:nowrap;}
body.nn-top .cat-c small{font-family:var(--font);font-size:11px;font-weight:500;color:var(--muted);margin-left:1px;}
body.nn-top .chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;}
body.nn-top .chip{display:inline-flex;align-items:baseline;gap:6px;padding:7px 14px;border:1px solid var(--line);border-radius:20px;background:#fff;font-size:14px;font-weight:500;}
body.nn-top .chip b{font-family:var(--num);font-weight:700;color:var(--teal-d);}
body.nn-top .chip:hover{border-color:var(--teal);}
body.nn-top .makers{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;margin-top:44px;}
body.nn-top .makers-ttl{grid-column:1/-1;font-size:18px;font-weight:900;margin:0 0 4px;}
body.nn-top .mk{background:#fff;border:1px solid var(--line);border-radius:6px;padding:14px 10px;text-align:center;}
body.nn-top .mk:hover{border-color:var(--teal);}
body.nn-top .mk b{display:block;font-family:var(--num);font-size:17px;font-weight:700;letter-spacing:.04em;}
body.nn-top .mk span{font-family:var(--num);font-size:14px;color:var(--muted);}
body.nn-top .items{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
body.nn-top .it{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden;}
body.nn-top .it:hover{border-color:var(--teal);}
body.nn-top .it-img{position:relative;aspect-ratio:4/3;background:var(--bg);}
body.nn-top .it-img img{width:100%;height:100%;object-fit:cover;}
body.nn-top .it-new{position:absolute;top:10px;left:10px;background:var(--teal-d);color:#fff;font-family:var(--num);font-weight:700;font-size:13px;letter-spacing:.08em;padding:2px 9px;border-radius:3px;}
body.nn-top .it-b{padding:14px 16px 16px;display:flex;flex-direction:column;gap:4px;flex:1;}
body.nn-top .it-mk{font-size:12.5px;color:var(--muted);}
body.nn-top .it-md{font-family:var(--num);font-size:24px;font-weight:700;line-height:1.15;}
body.nn-top .it-sp{display:flex;gap:14px;font-size:13px;color:var(--ink-2);margin-top:2px;}
body.nn-top .it-sp b{font-family:var(--num);font-weight:600;font-size:15px;color:var(--ink);margin-left:3px;}
body.nn-top .it-pr{margin-top:auto;padding-top:10px;border-top:1px solid var(--line);display:flex;align-items:baseline;justify-content:flex-end;gap:4px;}
body.nn-top .it-pr b{font-family:var(--num);font-size:26px;font-weight:700;color:var(--red);}
body.nn-top .it-pr small{font-size:12px;color:var(--muted);}
body.nn-top .svcs{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
body.nn-top .svc{position:relative;border-radius:6px;overflow:hidden;background:var(--ink);color:#fff;min-height:330px;display:flex;flex-direction:column;justify-content:flex-end;}
body.nn-top .svc img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.62;transition:opacity .2s,transform .4s;}
body.nn-top .svc:hover img{opacity:.5;transform:scale(1.03);}
body.nn-top .svc-b{position:relative;padding:22px 22px 24px;background:linear-gradient(transparent,rgba(8,30,33,.85) 45%);}
body.nn-top .svc-b h3{margin:0 0 6px;font-size:23px;font-weight:900;}
body.nn-top .svc-b p{margin:0 0 12px;font-size:14px;line-height:1.7;opacity:.92;}
body.nn-top .svc-b span{font-size:14px;font-weight:700;border-bottom:2px solid var(--teal);padding-bottom:2px;}
body.nn-top .why{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;}
body.nn-top .why-img{border-radius:6px;overflow:hidden;aspect-ratio:4/3;}
body.nn-top .why-img img{width:100%;height:100%;object-fit:cover;}
body.nn-top .why ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:22px;}
body.nn-top .why li{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;}
body.nn-top .why li .dot{grid-row:span 2;width:12px;height:12px;border-radius:2px;background:var(--teal);margin-top:9px;}
body.nn-top .why h3{margin:0;font-size:19px;font-weight:900;}
body.nn-top .why p{margin:0;color:var(--ink-2);font-size:15px;}
body.nn-top .bases{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
body.nn-top .base{background:#fff;border:1px solid var(--line);border-top:3px solid var(--teal);border-radius:4px;padding:18px 20px;}
body.nn-top .base h3{margin:0 0 4px;font-size:16.5px;font-weight:900;}
body.nn-top .base p{margin:0;font-size:13.5px;color:var(--ink-2);line-height:1.7;}
body.nn-top .base b{display:block;font-family:var(--num);font-size:22px;font-weight:700;margin-top:8px;}
body.nn-top .cta{background:var(--teal-dd);color:#fff;}
body.nn-top .cta .wrap{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;padding-top:56px;padding-bottom:56px;}
body.nn-top .cta h2{margin:0 0 6px;font-size:28px;font-weight:900;line-height:1.4;}
body.nn-top .cta p{margin:0;opacity:.85;font-size:15px;}
body.nn-top .cta-acts{display:grid;grid-template-columns:1fr;gap:10px;}
body.nn-top .cta-tel{display:flex;align-items:center;justify-content:space-between;background:#fff;color:var(--ink);border-radius:6px;padding:14px 20px;}
body.nn-top .cta-tel b{font-family:var(--num);font-size:34px;font-weight:700;line-height:1;}
body.nn-top .cta-tel small{font-size:12.5px;color:var(--muted);text-align:right;line-height:1.5;}
body.nn-top .cta-2{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
body.nn-top .cta-2 .btn{height:52px;font-size:15.5px;}
body.nn-top .btn-wh{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.7);}
body.nn-top .btn-wh:hover{background:rgba(255,255,255,.1);}
body.nn-top .btn-lg{background:#06c755;color:#fff;}
body.nn-top .news{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
body.nn-top .news h2{font-size:20px;margin:0 0 10px;font-weight:900;}
body.nn-top .news ul{list-style:none;margin:0;padding:0;}
body.nn-top .news li{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px;}
body.nn-top .news time{font-family:var(--num);color:var(--muted);font-weight:600;flex:none;}
body.nn-top .partners{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
body.nn-top .partners a{display:block;border:1px solid var(--line);border-radius:4px;padding:16px 18px;font-size:14.5px;}
body.nn-top .partners b{display:block;font-size:15.5px;}
body.nn-top .partners span{color:var(--muted);font-size:13px;}
body.nn-top .ft{background:var(--ink);color:#c9d1d4;font-size:13.5px;}
body.nn-top .ft .wrap{display:flex;justify-content:space-between;gap:20px;padding-top:28px;padding-bottom:28px;}
body.nn-top .ft b{color:#fff;}
body.nn-top .it-sn{font-family:var(--num);font-size:14px;font-weight:500;color:var(--muted);margin-left:8px;}
body.nn-top .it-boxes,body.nn-top .it-up{display:none;}
body.nn-top .sec-tools{display:flex;align-items:center;gap:20px;}
body.nn-top .vt{display:inline-flex;border:1px solid var(--line);border-radius:6px;padding:3px;background:#fff;}
body.nn-top .vt-b{display:inline-flex;align-items:center;gap:6px;border:0;background:none;font-family:inherit;font-size:14px;font-weight:700;color:var(--muted);padding:7px 14px;border-radius:4px;cursor:pointer;}
body.nn-top .vt-b:hover{color:var(--ink);}
body.nn-top .vt-b[aria-pressed="true"]{background:var(--teal-d);color:#fff;}
body.nn-top .vt-b:focus-visible{outline:2px solid var(--teal);outline-offset:2px;}
body.nn-top .items.is-list{grid-template-columns:1fr;gap:14px;}
body.nn-top .is-list .it{flex-direction:row;}
body.nn-top .is-list .it-img{flex:0 0 300px;aspect-ratio:4/3;}
body.nn-top .is-list .it-b{display:grid;grid-template-columns:1fr auto;grid-template-areas:"mk pr" "md pr" "bx bx" "sp sp" "up up";align-content:start;gap:2px 20px;padding:18px 24px;}
body.nn-top .is-list .it-mk{grid-area:mk;font-size:13.5px;}
body.nn-top .is-list .it-md{grid-area:md;font-size:30px;}
body.nn-top .is-list .it-sp{display:none;}
body.nn-top .is-list .it-boxes{grid-area:bx;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px;}
body.nn-top .it-box{background:var(--bg);border-radius:4px;padding:8px 12px;font-family:var(--num);font-size:18px;font-weight:600;line-height:1.3;}
body.nn-top .it-box small{display:block;font-family:var(--font);font-size:11.5px;font-weight:500;color:var(--muted);}
body.nn-top .is-list .it-up{grid-area:up;display:block;text-align:right;font-size:12.5px;color:var(--muted);margin-top:10px;padding-top:10px;border-top:1px solid var(--line);}
body.nn-top .is-list .it-pr{grid-area:pr;border:0;padding:0;margin:0;align-self:start;}
body.nn-top .is-list .it-pr b{font-size:34px;}
body.nn-top .cat-img .cm-il,body.nn-top .chip .cm-il{display:none;}
body.nn-top .cats-illust .cat-img .cm-ph{display:none;}
body.nn-top .cats-illust .cat-img .cm-il,body.nn-top .chips-illust .chip .cm-il{display:block;}
body.nn-top .cats-illust .cat-img{aspect-ratio:auto;height:128px;display:grid;place-items:center;background:var(--teal-l);}
body.nn-top .cats-illust .cat-img img{width:104px;height:104px;object-fit:contain;}
body.nn-top .cats-illust .cat-img img,body.nn-top .chip img{filter:brightness(0) invert(29%) sepia(60%) saturate(900%) hue-rotate(145deg) brightness(.95);}
body.nn-top .cats-illust .cat:hover .cat-img{background:#d3eded;}
body.nn-top .chip img{width:26px;height:26px;object-fit:contain;align-self:center;margin:-4px 0;}
body.nn-top .mk-logo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 8px;}
body.nn-top .mk-logo img{height:34px;width:auto;max-width:100%;object-fit:contain;}
@media (max-width:1320px){body.nn-top .hd-logo small{display:none;}}
@media (max-width:1100px){body.nn-top .hd-nav{display:none;}
body.nn-top .hd-menu{display:grid;place-items:center;width:44px;height:44px;border-radius:4px;border:1px solid var(--line);background:#fff;}
body.nn-top .hd-act{margin-left:auto;}
body.nn-top .cats{grid-template-columns:repeat(4,1fr);}
body.nn-top .makers{grid-template-columns:repeat(4,1fr);}
body.nn-top .items,body.nn-top .svcs,body.nn-top .bases{grid-template-columns:repeat(2,1fr);}}
@media (max-width:760px){body.nn-top{font-size:15px;}
body.nn-top .wrap{padding:0 16px;}
body.nn-top .hd .wrap{height:60px;gap:10px;}
body.nn-top .hd-logo img{height:32px;}
body.nn-top .hd-logo small,body.nn-top .hd-tel,body.nn-top .hd-act .btn{display:none;}
body.nn-top .sc{padding:16px;}
body.nn-top .sc-row{grid-template-columns:1fr 1fr;}
body.nn-top .sc-row .kw{grid-column:1/-1;}
body.nn-top .sc .btn{grid-column:1/-1;width:100%;}
body.nn-top .facts{grid-template-columns:1fr 1fr;}
body.nn-top .fact{padding:14px 16px;}
body.nn-top .fact:nth-child(3){border-left:0;}
body.nn-top .fact:nth-child(n+3){border-top:1px solid rgba(255,255,255,.18);}
body.nn-top .fact-v .num{font-size:32px;}
body.nn-top .fact-v{font-size:16px;}
body.nn-top .sec{padding:56px 0;}
body.nn-top .sec-hd{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:20px;}
body.nn-top .sec-hd h2{font-size:23px;}
body.nn-top .cats{grid-template-columns:repeat(3,1fr);gap:8px;}
body.nn-top .cat-b{flex-direction:column;align-items:flex-start;gap:0;padding:8px 9px 10px;}
body.nn-top .cat-n{font-size:12px;letter-spacing:-.02em;}
body.nn-top .cat-c{font-size:17px;}
body.nn-top .makers{grid-template-columns:repeat(4,1fr);gap:6px;}
body.nn-top .mk{padding:10px 4px;}
body.nn-top .mk b{font-size:13.5px;}
body.nn-top .items{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -16px;padding:0 16px 8px;}
body.nn-top .it{flex:0 0 72%;scroll-snap-align:start;}
body.nn-top .sec-tools{width:100%;justify-content:space-between;}
body.nn-top .items.is-list{display:grid;overflow:visible;margin:0;padding:0;gap:10px;}
body.nn-top .is-list .it{flex:none;}
body.nn-top .is-list .it-img{flex:0 0 128px;aspect-ratio:auto;}
body.nn-top .is-list .it-b{grid-template-areas:"mk mk" "md md" "bx bx" "sp sp" "pr pr";padding:10px 12px;gap:0;}
body.nn-top .is-list .it-md{font-size:20px;}
body.nn-top .is-list .it-sn{display:block;margin:0;font-size:12px;}
body.nn-top .is-list .it-boxes{grid-template-columns:1fr 1fr;gap:4px;margin-top:6px;}
body.nn-top .it-box{font-size:14px;padding:4px 8px;}
body.nn-top .it-box small{font-size:10px;}
body.nn-top .is-list .it-up{display:none;}
body.nn-top .is-list .it-pr{justify-self:end;margin-top:6px;}
body.nn-top .is-list .it-pr b{font-size:22px;}
body.nn-top .cats-illust .cat-img{height:92px;}
body.nn-top .cats-illust .cat-img img{width:76px;height:76px;}
body.nn-top .mk-logo img{height:24px;}
body.nn-top .svcs{grid-template-columns:1fr;gap:12px;}
body.nn-top .svc{min-height:200px;}
body.nn-top .why{grid-template-columns:1fr;gap:28px;}
body.nn-top .bases{grid-template-columns:1fr;gap:10px;}
body.nn-top .cta .wrap{grid-template-columns:1fr;gap:24px;padding-top:40px;padding-bottom:40px;}
body.nn-top .cta h2{font-size:22px;}
body.nn-top .news,body.nn-top .partners{grid-template-columns:1fr;gap:24px;}
body.nn-top .ft .wrap{flex-direction:column;}}
body.nn-top .ha{background:var(--teal-d);color:#fff;position:relative;}
body.nn-top .ha-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);min-height:520px;}
body.nn-top .ha-copy{padding:72px 48px 140px max(24px, calc((100vw - var(--w))/2 + 24px));display:flex;flex-direction:column;justify-content:center;}
body.nn-top .ha-eye{display:inline-flex;align-items:center;gap:10px;margin:0 0 22px;font-size:14px;font-weight:700;}
body.nn-top .ha-eye span{background:#fff;color:var(--teal-d);font-family:var(--num);font-weight:700;letter-spacing:.12em;font-size:13px;padding:3px 10px;border-radius:3px;}
body.nn-top .ha h1{margin:0 0 20px;font-size:54px;font-weight:900;line-height:1.28;letter-spacing:.02em;}
body.nn-top .ha-lead{margin:0;font-size:16.5px;line-height:1.9;opacity:.92;}
body.nn-top .ha-photo{position:relative;overflow:hidden;clip-path:polygon(9% 0,100% 0,100% 100%,0 100%);}
body.nn-top .ha-photo img{width:100%;height:100%;object-fit:cover;}
body.nn-top .ha-search{position:relative;z-index:2;margin-top:-104px;}
body.nn-top .ha-facts{background:var(--teal-dd);margin-top:-60px;padding-top:60px;}
@media (max-width:1100px){body.nn-top .ha-grid{grid-template-columns:1fr;}
body.nn-top .ha-copy{padding:44px 24px 24px;}
body.nn-top .ha-photo{clip-path:none;height:300px;}
body.nn-top .ha-search{margin-top:-60px;}}
@media (max-width:760px){body.nn-top .ha-copy{padding:32px 16px 20px;}
body.nn-top .ha h1{font-size:33px;margin-bottom:14px;}
body.nn-top .ha-lead{font-size:14.5px;}
body.nn-top .ha-lead br{display:none;}
body.nn-top .ha-eye{margin-bottom:14px;font-size:13px;}
body.nn-top .ha-photo{height:200px;}
body.nn-top .ha-search{margin-top:-40px;}}
/* ===== 本番用の追加 ===== */
body.nn-top{-webkit-font-smoothing:antialiased;}
body.nn-top h1,body.nn-top h2,body.nn-top h3,body.nn-top p,body.nn-top ul,body.nn-top ol{font-family:var(--font);}
body.nn-top main{display:block;}
body.nn-top [hidden]{display:none !important;}
body.nn-top .hd-nav-sp{display:none;}
body.nn-top .hd-fav i[hidden]{display:none;}
body.nn-top .makers-ttl{font-size:18px;font-weight:900;margin:0 0 4px;line-height:1.5;}
body.nn-top .base-tel{display:block;font-family:var(--num);font-size:22px;font-weight:700;margin-top:8px;color:var(--ink);}
body.nn-top .base-map{display:inline-block;margin-top:6px;font-size:13px;font-weight:700;color:var(--teal-d);border-bottom:1px solid currentColor;}
body.nn-top .bases-note{margin:14px 0 0;font-size:13px;color:var(--muted);}
body.nn-top .news-more{display:inline-block;margin-top:14px;}
body.nn-top .news li a:hover{color:var(--teal-d);}
body.nn-top .it-new{background:var(--teal-d);}
body.nn-top .ft{background:var(--ink);color:#c9d1d4;font-size:13.5px;}
body.nn-top .ft .ft-top{display:grid;grid-template-columns:auto 1fr;gap:48px;padding-top:44px;padding-bottom:36px;justify-content:normal;}
body.nn-top .ft-brand img{height:40px;width:auto;background:#fff;padding:6px 10px;border-radius:4px;box-sizing:content-box;}
body.nn-top .ft-brand p{margin:14px 0 0;line-height:1.8;}
body.nn-top .ft-sns{display:flex;gap:14px;margin-top:14px;}
body.nn-top .ft-sns a{color:#fff;font-weight:700;border-bottom:1px solid rgba(255,255,255,.4);}
body.nn-top .ft-nav{display:grid;grid-template-columns:repeat(4,max-content);gap:12px 36px;align-content:start;justify-content:end;}
body.nn-top .ft-nav a{color:#e6ecee;}
body.nn-top .ft-nav a:hover{color:#fff;text-decoration:underline;}
body.nn-top .ft-copy{border-top:1px solid rgba(255,255,255,.12);}
body.nn-top .ft-copy .wrap{display:block;padding-top:16px;padding-bottom:16px;font-size:12.5px;}
@media (max-width:1100px){
  body.nn-top .hd-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(0,0,0,.08);padding:6px 16px 14px;}
  body.nn-top .hd-nav.is-open{display:flex;}
  body.nn-top .hd-nav a{padding:13px 4px;border-bottom:1px solid var(--line);border-radius:0;font-size:16px;}
  body.nn-top .hd-nav a:last-child{border-bottom:0;}
  body.nn-top .hd-nav-sp{display:block;}
  body.nn-top .hd .wrap{position:relative;}
  body.nn-top .ft .ft-top{grid-template-columns:1fr;gap:28px;}
  body.nn-top .ft-nav{grid-template-columns:repeat(2,1fr);justify-content:start;}
}
@media (prefers-reduced-motion:reduce){
  body.nn-top *{transition:none !important;animation:none !important;}
}

/* 会員機能（TCD Membership）のログイン画面は新デザインでは使わない（親テーマのCSSを外したため、そのままだと画面下に表示されてしまう） */
body.nn-top #modal_overlay{display:none !important;}

/* 買取への導線（建機販売ページ・TOP） */
body.nn-top .buyband{background:var(--ink);color:#fff;}
body.nn-top .buyband .wrap{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding-top:28px;padding-bottom:28px;}
body.nn-top .buyband-ic{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.1);display:grid;place-items:center;}
body.nn-top .buyband h2{margin:0;font-size:21px;font-weight:900;line-height:1.4;color:#fff;}
body.nn-top .buyband p{margin:4px 0 0;font-size:14px;color:#c9d1d4;}
body.nn-top .buyband .btn{height:50px;padding:0 24px;background:#fff;color:var(--ink);white-space:nowrap;}
body.nn-top .buyband .btn:hover{background:var(--teal-l);}
@media (max-width:760px){
  body.nn-top .buyband .wrap{grid-template-columns:1fr;gap:14px;padding-top:24px;padding-bottom:24px;}
  body.nn-top .buyband-ic{display:none;}
  body.nn-top .buyband h2{font-size:18px;}
  body.nn-top .buyband .btn{width:100%;}
}

/* ===== 右下のボタン（目次・ページの先頭へ）・写真の拡大（js/nn-front.js が作る） ===== */
.nn-fab{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;align-items:center;gap:10px;font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;}
.nn-fab button{border:0;cursor:pointer;font-family:inherit;}
.nn-fab-toc{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 20px;border-radius:24px;background:#fff;color:#1d2427;font-size:15px;font-weight:700;box-shadow:0 6px 20px rgba(10,40,45,.18);}
.nn-fab-toc:hover{background:#e5f4f4;}
.nn-fab-top{width:52px;height:52px;border-radius:50%;background:#1d2427;color:#fff;display:grid;place-items:center;box-shadow:0 6px 20px rgba(10,40,45,.25);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s;}
.nn-fab.is-scrolled .nn-fab-top{opacity:1;visibility:visible;transform:none;}
.nn-fab-top:hover{background:#0d7479;}
.nn-fab button:focus-visible{outline:3px solid #1b9fa3;outline-offset:2px;}
.nn-toc{position:absolute;right:0;bottom:62px;width:300px;max-height:min(70vh,560px);overflow:auto;background:#fff;border:1px solid #dde3e5;border-radius:8px;box-shadow:0 18px 40px rgba(10,40,45,.22);padding:14px 8px 10px;}
.nn-toc[hidden]{display:none;}
.nn-toc-ttl{margin:0 12px 6px;font-size:12.5px;font-weight:700;color:#6c777d;}
.nn-toc ol{list-style:none;margin:0;padding:0;}
.nn-toc a{display:block;padding:8px 12px;border-radius:4px;color:#1d2427;font-size:14.5px;font-weight:700;line-height:1.45;text-decoration:none;}
.nn-toc a:hover{background:#e5f4f4;color:#0d7479;}
.nn-toc a[aria-current]{color:#0d7479;background:#e5f4f4;}
.nn-toc-sub{margin:0 0 6px 12px !important;border-left:2px solid #dde3e5;}
.nn-toc-sub a{font-size:13px;font-weight:500;padding:5px 10px;}
dialog.nn-zoom{border:0;padding:0;background:transparent;max-width:min(92vw,1100px);max-height:90vh;overflow:visible;}
dialog.nn-zoom::backdrop{background:rgba(10,20,22,.82);}
dialog.nn-zoom img{display:block;max-width:min(92vw,1100px);max-height:86vh;border-radius:6px;background:#fff;}
dialog.nn-zoom button{position:absolute;border:0;cursor:pointer;background:rgba(255,255,255,.95);color:#1d2427;border-radius:50%;width:44px;height:44px;font-size:24px;line-height:1;}
.nn-zoom-x{top:-14px;right:-14px;}
.nn-zoom-p{left:-22px;top:50%;transform:translateY(-50%);}
.nn-zoom-n{right:-22px;top:50%;transform:translateY(-50%);}
.nn-zoom button[hidden]{display:none;}
@media (max-width:760px){
  .nn-fab{right:12px;bottom:12px;gap:8px;}
  .nn-fab-toc{height:44px;padding:0 16px;font-size:14px;}
  .nn-fab-top{width:46px;height:46px;}
  .nn-toc{width:calc(100vw - 24px);bottom:56px;}
  .nn-zoom-x{top:-52px;right:0;}
  .nn-zoom-p{left:4px;}
  .nn-zoom-n{right:4px;}
}
@media (prefers-reduced-motion:reduce){ .nn-fab-top{transition:none;} }
@media print{ .nn-fab{display:none;} }
body.nn-top main [id]{scroll-margin-top:92px;}
@media (max-width:760px){ body.nn-top main [id]{scroll-margin-top:72px;} }

/* ===== 背景：幾何学模様 ===== */
/* 幾何学模様（セクション角にフェード配置） ===== */
body.nn-top main > section.sec{position:relative;isolation:isolate;}
body.nn-top main > section.sec::before{content:"";position:absolute;z-index:-1;pointer-events:none;top:0;right:0;width:58%;height:min(500px,100%);}
body.nn-top main > section.sec:nth-of-type(3n+1)::before{background-image:linear-gradient(rgba(13,116,121,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(13,116,121,.11) 1px,transparent 1px);background-size:28px 28px;background-position:right top;-webkit-mask-image:radial-gradient(90% 100% at 100% 0,#000 25%,transparent 85%);mask-image:radial-gradient(90% 100% at 100% 0,#000 25%,transparent 85%);}
body.nn-top main > section.sec:nth-of-type(3n+2)::before{right:auto;left:0;width:50%;background-image:radial-gradient(rgba(13,116,121,.30) 1.3px,transparent 1.6px);background-size:20px 20px;-webkit-mask-image:radial-gradient(90% 100% at 0 0,#000 20%,transparent 80%);mask-image:radial-gradient(90% 100% at 0 0,#000 20%,transparent 80%);}
body.nn-top main > section.sec:nth-of-type(3n)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='69.28' viewBox='0 0 40 69.28'%3E%3Cpath d='M0 0L40 69.28M40 0L0 69.28M0 0H40M0 34.64H40' fill='none' stroke='%230d7479' stroke-opacity='.16' stroke-width='1'/%3E%3C/svg%3E");background-size:40px 69.28px;background-position:right top;-webkit-mask-image:radial-gradient(90% 100% at 100% 0,#000 20%,transparent 80%);mask-image:radial-gradient(90% 100% at 100% 0,#000 20%,transparent 80%);}
@media (max-width:760px){ body.nn-top main > section.sec::before{width:80%;height:min(320px,100%);} }
@media print{ body.nn-top main > section.sec::before{display:none;} }

/* ===== フッター：カテゴリ・メーカーへのリンクと拠点一覧 ===== */
body.nn-top .ft .ft-links{display:grid;grid-template-columns:1fr 1fr;gap:28px 48px;padding-top:0;padding-bottom:28px;}
body.nn-top .ft-lk h3{margin:0 0 10px;font-size:13px;font-weight:700;color:#fff;letter-spacing:.04em;}
body.nn-top .ft-lk p{margin:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;line-height:1.6;}
body.nn-top .ft-lk a{color:#aeb9bd;}
body.nn-top .ft-lk a:hover{color:#fff;text-decoration:underline;}
body.nn-top .ft .ft-bases{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 24px;padding-top:24px;padding-bottom:28px;border-top:1px solid rgba(255,255,255,.12);}
body.nn-top .ft-base{display:flex;flex-direction:column;font-size:12.5px;line-height:1.6;color:#aeb9bd;}
body.nn-top .ft-base b{color:#fff;font-size:13px;}
body.nn-top .ft-base a{color:#e6ecee;font-family:var(--num);font-size:15px;font-weight:600;margin-top:2px;}
body.nn-top .ft-hours{grid-column:1/-1;margin:0;font-size:12.5px;color:#aeb9bd;}
@media (max-width:1100px){ body.nn-top .ft .ft-bases{grid-template-columns:repeat(2,1fr);} }
@media (max-width:760px){ body.nn-top .ft .ft-links,body.nn-top .ft .ft-bases{grid-template-columns:1fr;} }

/* ===== 言語切り替え（日本語 / English） ===== */
body.nn-top .hd-lang{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:700;color:var(--ink-2);white-space:nowrap;flex:none;text-decoration:none;}
body.nn-top .hd-lang:hover{color:var(--teal-d);border-color:var(--teal-d);background:var(--teal-l);}
@media (max-width:760px){ body.nn-top .hd-lang{height:36px;padding:0 10px;font-size:12px;} }
body.nn-top .en-about{margin:0 0 16px;padding-left:1.2em;line-height:1.9;}
body.nn-en .ha h1{font-size:clamp(30px,2.6vw,46px);line-height:1.18;letter-spacing:0;}
/* 新着：仕様の行と「さらに表示」 */
body.nn-top .it-spec{margin:6px 0 2px;font-size:13px;line-height:1.6;color:var(--ink-2);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;}
body.nn-top .it-spec small{font-size:11.5px;font-weight:700;color:var(--muted);margin-right:8px;}
body.nn-top .is-list .it-spec{grid-area:sp;margin:10px 0 0;font-size:14px;-webkit-line-clamp:3;}
body.nn-top .it-morewrap{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:28px;}
body.nn-top .it-more{min-width:260px;height:50px;font-size:15.5px;}
body.nn-top .it-more:hover{background:var(--teal-l);}
body.nn-top .it-more:focus-visible{outline:2px solid var(--teal);outline-offset:2px;}
body.nn-top .it-more[aria-busy="true"]{opacity:.6;cursor:progress;}
body.nn-top .it-moreerr{margin:0;font-size:13.5px;color:var(--red);}
body.nn-top .it.it-in{animation:nn-it-in .5s cubic-bezier(.2,.7,.3,1) both;}
@keyframes nn-it-in{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){body.nn-top .it.it-in{animation:none;}}
@media (max-width:760px){
body.nn-top .is-list .it-spec{margin-top:6px;font-size:12.5px;-webkit-line-clamp:2;}
body.nn-top .it-more{width:100%;min-width:0;}
}
/* 英語版：スマホでロゴが横にはみ出さないように（英語ロゴは横長） */
@media (max-width:760px){ body.nn-top .hd-logo img[src*="logo_nannichi_en"]{width:min(218px,calc(100vw - 210px))!important;height:auto!important;} body.nn-top .hd-lang svg{display:none;} }
/* 英語版：ドルの参考価格 */
body.nn-top .it-pr{flex-wrap:wrap;}
body.nn-top .it-usd{flex-basis:100%;text-align:right;font-family:var(--num);font-size:14px;font-weight:600;color:var(--ink-2);line-height:1.2;}

/* 日本語ロゴ：赤い「ナンニチ」部分だけを表示（上の英字表記を隠す） */
.hd-logo img[src*="logo_en_100x368"],.ft-brand img[src*="logo_en_100x368"]{object-fit:cover;object-position:50% 100%;}
.hd-logo img[src*="logo_en_100x368"]{height:34px!important;width:172px!important;}
.ft-brand img[src*="logo_en_100x368"]{height:30px!important;width:152px!important;}
@media (max-width:760px){.hd-logo img[src*="logo_en_100x368"]{height:26px!important;width:132px!important;}}
/* フッターのロゴと説明文の間隔 */
.ft-brand img + p{margin-top:22px!important;}
/* logo-edge */ html body .mk.mk-logo img{height:auto;max-height:34px;width:auto;max-width:100%;object-fit:fill;clip-path:inset(2px);}@media (max-width:760px){html body .mk.mk-logo img{max-height:24px;}}
/* maker-kana */ html body .mk.mk-logo .mk-kana{font-style:normal;}@media (max-width:760px){html body .mk.mk-logo .mk-kana{display:block;line-height:1.35;white-space:nowrap;font-size:.9em;letter-spacing:-.04em;}}
