/* NextScale YouTube（楽々Edit様のHTML案 2026-09-25 をもとに実装）。SWELLの本文スタイルに負けないよう body .nsyt で囲む。 */
body .nsyt{--nsyt-ink:#191919;--nsyt-navy:#0e254d;--nsyt-orange:#e68d19;--nsyt-sub:#606873;--nsyt-line:#d9dfe8;color:var(--nsyt-ink);font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6}
body .nsyt *,body .nsyt *::before,body .nsyt *::after{box-sizing:border-box}
body .nsyt a{color:inherit;text-decoration:none}
body .nsyt button{font:inherit;cursor:pointer;color:inherit}
body .nsyt a:focus-visible,body .nsyt button:focus-visible,body .nsyt [tabindex]:focus-visible{outline:3px solid var(--nsyt-orange);outline-offset:4px}
body .nsyt p{margin:0}
body .nsyt img{max-width:none}
body .nsyt .nsyt-h1,body .nsyt .nsyt-h2,body .nsyt .nsyt-card__title{background:none;border:0;padding:0;margin:0;color:inherit;box-shadow:none;position:static}
body .nsyt .nsyt-h1::before,body .nsyt .nsyt-h1::after,body .nsyt .nsyt-h2::before,body .nsyt .nsyt-h2::after,body .nsyt .nsyt-card__title::before,body .nsyt .nsyt-card__title::after{content:none;display:none}
body .nsyt .nsyt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* 見出し上の小ラベル */
body .nsyt .nsyt-eyebrow{font:700 12px/1 Arial,sans-serif;letter-spacing:.16em;display:flex;align-items:center;gap:12px;color:var(--nsyt-navy);margin:0 0 15px}
body .nsyt .nsyt-eyebrow::before{content:"";width:28px;height:3px;background:linear-gradient(90deg,#eaa418,#d81e18)}
body .nsyt .nsyt-eyebrow--light{color:#fff}

/* サムネイル（16:9） */
body .nsyt .nsyt-thumb{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--nsyt-navy)}
body .nsyt .nsyt-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
body .nsyt .nsyt-thumb .nsyt-play{position:absolute;left:50%;top:50%;width:56px;height:40px;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 8px #0004);opacity:.92;transition:transform .18s,opacity .18s}
body .nsyt .nsyt-thumb__badge{position:absolute;right:8px;bottom:8px;background:#000b;color:#fff;font:11px/1.4 Arial,"Noto Sans JP",sans-serif;padding:3px 6px;border-radius:2px}
body .nsyt .nsyt-card:hover .nsyt-thumb img{transform:scale(1.03)}
body .nsyt .nsyt-card:hover .nsyt-play{opacity:1;transform:translate(-50%,-50%) scale(1.08)}

/* カード */
body .nsyt .nsyt-card{min-width:0}
body .nsyt .nsyt-card__meta{margin:14px 0 6px;font-size:12px;color:var(--nsyt-sub)}
body .nsyt .nsyt-card__title{font-size:16px;line-height:1.7;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body .nsyt .nsyt-card__title a:hover{text-decoration:underline}

/* ---------- トップページのセクション ---------- */
body .nsyt-top{position:relative;overflow:hidden;background:#eef2f7;padding:62px 0 58px;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
body .nsyt-top::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(128deg,transparent 12%,#fff6 12%,#fff6 24%,transparent 24%,transparent 80%,#ffffff65 80%,#ffffff65 90%,transparent 90%)}
body .nsyt-top .nsyt-top__inner{position:relative;max-width:1160px;width:calc(100% - 64px);margin:auto}
body .nsyt-top .nsyt-top__heading{text-align:center;margin-bottom:32px}
body .nsyt-top .nsyt-eyebrow{justify-content:center}
body .nsyt-top .nsyt-h2{font-size:clamp(26px,3vw,36px);line-height:1.5;letter-spacing:.025em;font-weight:800;margin:0 0 14px}
body .nsyt-top .nsyt-top__intro{font-size:14px;line-height:1.9;color:var(--nsyt-sub)}
body .nsyt-top .nsyt-slider{position:relative}
body .nsyt-top .nsyt-track{display:flex;gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 8px;overscroll-behavior-x:contain}
body .nsyt-top .nsyt-track::-webkit-scrollbar{display:none}
body .nsyt-top .nsyt-card{flex:0 0 calc((100% - 28px)/2);scroll-snap-align:start}
/* 1画面に収まる本数のときは中央に並べ、矢印・自動再生の操作は出さない */
body .nsyt-top .nsyt-slider.is-static .nsyt-track{justify-content:center}
body .nsyt-top .nsyt-slider.is-static .nsyt-arrow,body .nsyt-top .nsyt-slider.is-static .nsyt-controls{display:none}
body .nsyt-top .nsyt-slider.is-static{margin-bottom:30px}
body .nsyt-top .nsyt-arrow{position:absolute;top:var(--nsyt-arrow-top,140px);transform:translateY(-50%);width:46px;height:46px;display:grid;place-items:center;border:1px solid var(--nsyt-line);border-radius:50%;background:#fff;color:var(--nsyt-navy);box-shadow:0 3px 15px #0e254d14;z-index:3;font-size:23px;line-height:1;padding:0}
body .nsyt-top .nsyt-arrow--prev{left:-23px}
body .nsyt-top .nsyt-arrow--next{right:-23px}
body .nsyt-top .nsyt-controls{display:flex;justify-content:center;align-items:center;gap:14px;margin:23px 0 26px}
body .nsyt-top .nsyt-dots{display:flex;align-items:center;gap:9px}
body .nsyt-top .nsyt-dot{width:28px;height:24px;border:0;background:none;padding:10px 3px}
body .nsyt-top .nsyt-dot::before{content:"";display:block;height:4px;background:#c3cddd;border-radius:4px}
body .nsyt-top .nsyt-dot[aria-current="true"]::before{background:var(--nsyt-navy)}
body .nsyt-top .nsyt-pause{border:1px solid var(--nsyt-line);background:#fff;color:var(--nsyt-navy);font-size:11px;padding:4px 10px;border-radius:2px;line-height:1.5}
body .nsyt-top .nsyt-pause:hover{border-color:var(--nsyt-navy)}
body .nsyt-top .nsyt-cta{display:flex;align-items:center;justify-content:center;gap:26px;margin:auto;width:fit-content;min-width:350px;padding:18px 28px;background:var(--nsyt-navy);color:#fff;font-size:14px;font-weight:700;transition:background .18s}
body .nsyt-top .nsyt-cta:hover{background:#1b3965;color:#fff}

/* ---------- 動画一覧ページ ---------- */
/* SWELLは body_class を #body_wrap に付けるため body を付けない */
.nsyt-list-page #content.l-content{padding-top:0;margin-top:0}
.nsyt-list-page .l-mainContent__inner>.post_content{margin-top:0}
.nsyt-list-page #breadcrumb.p-breadcrumb{margin-bottom:0}
body .nsyt-list{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
body .nsyt-list .nsyt-wrap{max-width:1160px;width:calc(100% - 80px);margin:auto}
body .nsyt-list .nsyt-hero{position:relative;overflow:hidden;background:var(--nsyt-navy);color:#fff;padding:44px 0 40px}
body .nsyt-list .nsyt-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(130deg,transparent 66%,#ffffff05 66%,#ffffff0b 86%,transparent 86%)}
body .nsyt-list .nsyt-hero .nsyt-wrap{position:relative}
body .nsyt-list .nsyt-h1{font-size:38px;line-height:1.45;letter-spacing:.025em;font-weight:800;margin:0 0 10px;color:#fff}
body .nsyt-list .nsyt-hero__intro{font-size:13px;line-height:1.9;color:#dce3ed;max-width:880px}
body .nsyt-list .nsyt-videos{padding:48px 0 64px}
body .nsyt-list .nsyt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px}
body .nsyt-list .nsyt-grid .nsyt-card[hidden]{display:none}
body .nsyt-list .nsyt-empty{text-align:center;color:var(--nsyt-sub);font-size:14px}
body .nsyt-list .nsyt-more{display:flex;align-items:center;justify-content:center;gap:14px;min-width:260px;background:#fff;border:1px solid var(--nsyt-navy);color:var(--nsyt-navy);padding:15px 30px;margin:36px auto 0;font-size:13px;font-weight:700}
body .nsyt-list .nsyt-more[hidden]{display:none}
body .nsyt-list .nsyt-more:hover{background:#f4f6f9}
body .nsyt-list .nsyt-channel{background:#eef2f7;border-top:1px solid #e2e8f0}
body .nsyt-list .nsyt-channel__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}
body .nsyt-list .nsyt-channel p{font-size:12px;line-height:1.9;color:#666}
body .nsyt-list .nsyt-channel p strong{display:block;color:var(--nsyt-ink);font-size:14px}
body .nsyt-list .nsyt-channel__button{display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;background:var(--nsyt-navy);color:#fff;padding:12px 18px;font-size:12px;font-weight:700;transition:background .18s}
body .nsyt-list .nsyt-channel__button:hover{background:#1b3965;color:#fff}
body .nsyt-list .nsyt-channel__button .nsyt-play{width:28px;height:20px;flex-shrink:0}
body .nsyt-list .nsyt-contact{background:#071126;scroll-margin-top:85px}
body .nsyt-list .nsyt-contact__inner{max-width:1348px;margin:auto;padding:72px 4.55%}
body .nsyt-list .nsyt-contact__card{max-width:1042px;margin:auto;padding:60px 20px;background:#fff;color:#1a1a1a}
body .nsyt-list .nsyt-contact__en{font:700 47px/1.2 Arial,sans-serif;color:#000;text-align:center;margin:6px 0 14px}
body .nsyt-list .nsyt-contact__ja{text-align:center;font-size:16px;margin:0 0 28px;color:#000}
body .nsyt-list .nsyt-contact__caution{text-align:center;color:#c8352b;font-size:16px;font-weight:700;line-height:1.7;margin:0 auto 40px;max-width:700px}
body .nsyt-list .nsyt-contact__form{max-width:620px;margin:auto}

@media (max-width:1150px){
	body .nsyt-list .nsyt-wrap{width:calc(100% - 56px)}
}
@media (max-width:850px){
	body .nsyt-list .nsyt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	body .nsyt-list .nsyt-h1{font-size:34px}
}
@media (max-width:680px){
	body .nsyt-top{padding:38px 0 36px}
	body .nsyt-top .nsyt-top__inner{width:calc(100% - 40px)}
	body .nsyt-top .nsyt-top__heading{margin-bottom:24px}
	body .nsyt-top .nsyt-h2{font-size:26px}
	body .nsyt-top .nsyt-top__intro{font-size:12px}
	body .nsyt-top .nsyt-track{gap:20px}
	body .nsyt-top .nsyt-card{flex-basis:100%}
	body .nsyt-top .nsyt-arrow{width:36px;height:36px;font-size:19px}
	body .nsyt-top .nsyt-arrow--prev{left:-13px}
	body .nsyt-top .nsyt-arrow--next{right:-13px}
	body .nsyt-top .nsyt-controls{margin:16px 0 20px;flex-wrap:wrap}
	body .nsyt-top .nsyt-cta{width:100%;min-width:0;font-size:13px;padding:16px;gap:20px}
	body .nsyt .nsyt-card__title{font-size:15px}
}
@media (max-width:560px){
	body .nsyt-list .nsyt-wrap{width:calc(100% - 40px)}
	body .nsyt-list .nsyt-hero{padding:30px 0 26px}
	body .nsyt-list .nsyt-h1{font-size:28px}
	body .nsyt-list .nsyt-hero__intro{font-size:12px}
	body .nsyt-list .nsyt-videos{padding:28px 0 42px}
	body .nsyt-list .nsyt-grid{grid-template-columns:1fr;gap:28px}
	body .nsyt-list .nsyt-channel__inner{display:block;padding:22px 0}
	body .nsyt-list .nsyt-channel__button{margin-top:14px;width:100%}
	body .nsyt-list .nsyt-contact__inner{padding:34px 20px}
	body .nsyt-list .nsyt-contact__card{padding:32px 20px}
	body .nsyt-list .nsyt-contact__en{font-size:34px}
	body .nsyt-list .nsyt-contact__ja{font-size:14px;margin-bottom:22px}
	body .nsyt-list .nsyt-contact__caution{font-size:12px;margin-bottom:28px}
}
@media (prefers-reduced-motion:reduce){
	body .nsyt *{transition:none!important}
	body .nsyt .nsyt-card:hover .nsyt-thumb img{transform:none}
}

/* 0.3.3 問い合わせ：HubSpot埋め込みの代わりに独自フォームページへのボタン */
body .nsyt-list .nsyt-contact__lead{text-align:center;font-size:16px;line-height:1.8;margin:0 auto 28px;max-width:620px;color:#1a1a1a}
body .nsyt-list .nsyt-contact__buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
body .nsyt-list .nsyt-contact__button{display:inline-flex;align-items:center;justify-content:center;min-width:280px;min-height:56px;padding:14px 28px;border:2px solid var(--nsyt-navy);border-radius:6px;background:#fff;color:var(--nsyt-navy);font-size:16px;font-weight:700;text-decoration:none;line-height:1.4}
body .nsyt-list .nsyt-contact__button:hover{background:#f4f6f9;color:var(--nsyt-navy)}
body .nsyt-list .nsyt-contact__button--primary{background:var(--nsyt-orange);border-color:var(--nsyt-orange);color:#fff}
body .nsyt-list .nsyt-contact__button--primary:hover{background:#d2621a;border-color:#d2621a;color:#fff}
@media (max-width:767px){body .nsyt-list .nsyt-contact__lead{font-size:14px;margin-bottom:20px}body .nsyt-list .nsyt-contact__button{width:100%;min-width:0}}
