:root { --ink:#26332e; --deep:#23473b; --paper:#f8f7f2; --mist:#dce7df; --line:rgba(38,51,46,.2); }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:"Hiragino Mincho ProN","Yu Mincho",serif; line-height:1.9; }
a { color:inherit; text-decoration:none; }
a:focus-visible,button:focus-visible { outline:2px solid #769785; outline-offset:4px; }
header { height:70px; padding:0 5vw; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--line); font-size:12px; }
header a { padding:8px 0; border-bottom:1px solid transparent; }
header a:hover { border-bottom-color:currentColor; }
.page-hero { min-height:62vh; padding:14vh 8vw 10vh; display:grid; align-content:center; text-align:center; }
.page-hero > p { font-family:Arial,sans-serif; font-size:10px; letter-spacing:.22em; }
.page-hero h1 { margin:20px 0 32px; font-size:clamp(38px,6vw,72px); font-weight:400; line-height:1.55; }
.page-hero div { font-size:13px; }
.courses { max-width:1100px; margin:auto; padding:0 5vw 15vh; display:grid; grid-template-columns:1fr 1fr; }
.course { min-height:430px; padding:60px; border:1px solid var(--line); }
a.course { position:relative; padding-bottom:105px; cursor:pointer; transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
a.course::after { content:"ページを開く  →"; position:absolute; left:60px; right:60px; bottom:48px; padding-top:14px; border-top:1px solid currentColor; font-size:11px; }
a.course:hover { transform:translateY(-5px); border-color:#769785; box-shadow:0 18px 42px rgba(38,51,46,.12); }
.course.featured { color:white; background:var(--deep); }
.course.ai-course { background:#eef0e9; }
.course.ai-slide-course { background:#f5eee6; }
.course > span { font-family:Arial,sans-serif; font-size:9px; letter-spacing:.14em; }
.course h2 { margin:35px 0 20px; font-size:25px; font-weight:400; }
.course p { font-size:13px; }
.course-detail-hero { min-height:58vh; background:var(--mist); }
.course-detail { padding:0 6vw 14vh; }
.detail-lead { max-width:820px; margin:0 auto 9vh; padding:56px; background:white; }
.detail-lead p { margin:0 0 22px; font-size:14px; }
.detail-lead p:last-child { margin-bottom:0; }
.detail-grid { max-width:1100px; margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); }
.detail-grid article { padding:48px; background:var(--paper); }
.detail-grid span { font-family:Arial,sans-serif; font-size:9px; letter-spacing:.14em; }
.detail-grid h2,.detail-note h2 { margin:28px 0 20px; font-size:28px; font-weight:400; }
.detail-grid ul { margin:0; padding-left:1.1em; }
.detail-grid li { margin:10px 0; font-size:13px; }
.detail-note { max-width:820px; margin:8vh auto 0; padding:48px; color:white; background:var(--deep); }
.detail-note p { margin:0; font-size:13px; }
.detail-price { max-width:820px; margin:7vh auto 0; display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line); }
.detail-price div { padding:32px; background:white; }
.detail-price span { display:block; font-family:Arial,sans-serif; font-size:9px; letter-spacing:.14em; }
.detail-price strong { display:block; margin-top:12px; font-size:28px; font-weight:400; }
.detail-price a { grid-column:1/-1; padding:20px 28px; color:white; background:#1f8f55; text-align:center; font-size:12px; }
dl { margin-top:45px; }
dl div { display:flex; justify-content:space-between; border-top:1px solid currentColor; padding:10px 0; font-size:11px; }
dt,dd { margin:0; }
button { margin-top:30px; padding:12px 18px; border:1px solid currentColor; color:inherit; background:transparent; font:inherit; font-size:11px; }
.course-movie-link,.course-action { display:inline-block; margin-top:22px; padding:11px 17px; border:1px solid currentColor; font-size:11px; transition:background .2s ease,color .2s ease; }
.course-movie-link:hover,.course-action:hover { color:var(--deep); background:white; }
.coming-soon { display:block; margin-top:28px; padding-top:13px; border-top:1px solid currentColor; font-size:10px; opacity:.6; }
.quiet-note { padding:12vh 24px; text-align:center; background:var(--mist); font-size:13px; }
.external-link { display:inline-block; margin-top:22px; padding-bottom:4px; border-bottom:1px solid currentColor; font-size:11px; }
.library-page { background:#e9e3d9; }
.featured-story { margin-bottom:12vh; display:grid; grid-template-columns:1.35fr .65fr; color:#f4e7bd; background:#0e2139; }
.featured-story-visual { min-height:650px; position:relative; overflow:hidden; background:#09182b; }
.featured-story-visual img { display:block; position:absolute; object-fit:cover; transition:transform .6s ease,opacity .6s ease; }
.featured-story-cover { inset:0; width:100%; height:100%; object-position:center; }
.featured-story-scene { right:4%; bottom:5%; width:36%; aspect-ratio:16/9; border:1px solid rgba(244,231,189,.55); box-shadow:0 22px 55px rgba(0,0,0,.38); }
.featured-story-visual:hover .featured-story-cover { transform:scale(1.015); }
.featured-story-visual:hover .featured-story-scene { transform:translateY(-6px); }
.featured-story-copy { padding:8vw 6vw; display:flex; flex-direction:column; justify-content:center; background:linear-gradient(145deg,#102641,#0b1b30); }
.featured-story-copy > p { margin:0 0 26px; font-family:Arial,sans-serif; font-size:9px; letter-spacing:.2em; color:rgba(244,231,189,.68); }
.featured-story-copy > span { width:max-content; padding:6px 10px; border:1px solid rgba(244,231,189,.45); font-size:9px; letter-spacing:.12em; }
.featured-story-copy h2 { margin:32px 0 18px; font-size:clamp(38px,5vw,68px); font-weight:400; line-height:1.4; }
.featured-story-copy h3 { margin:0 0 28px; font-size:clamp(18px,2vw,27px); font-weight:400; line-height:1.8; }
.featured-story-copy > div { font-size:12px; color:rgba(244,239,220,.78); }
.featured-story-link { margin-top:42px; padding:15px 0; border-top:1px solid rgba(244,231,189,.5); border-bottom:1px solid rgba(244,231,189,.5); font-size:11px; transition:padding-left .25s ease,color .25s ease; }
.featured-story-link:hover { padding-left:10px; color:white; }
.library-group { padding:0 5vw 10vh; }
.shelf-heading { max-width:1100px; margin:0 auto 24px; }
.shelf-heading p { margin:0; font-family:Arial,sans-serif; font-size:9px; letter-spacing:.22em; }
.shelf-heading h2 { margin:10px 0 0; font-size:clamp(24px,3vw,38px); font-weight:400; }
.shelf-heading > span { display:block; margin-top:12px; font-size:12px; }
.core-theory-shelf { padding-top:12vh; padding-bottom:13vh; background:#eef2ec; }
.core-theory-cards { max-width:1200px; margin:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.core-theory-cards a { display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line); background:rgba(255,255,255,.74); transition:transform .25s ease,box-shadow .25s ease,background .25s ease; }
.core-theory-cards a:hover { transform:translateY(-5px); background:white; box-shadow:0 18px 42px rgba(38,51,46,.12); }
.core-theory-cards img { width:100%; aspect-ratio:4/5; display:block; object-fit:cover; object-position:top center; background:white; }
.core-theory-cards div { min-height:300px; padding:32px; display:flex; flex-direction:column; }
.core-theory-cards span { font-family:Arial,sans-serif; font-size:9px; letter-spacing:.13em; }
.core-theory-cards h2 { margin:28px 0 15px; font-size:24px; font-weight:400; line-height:1.6; }
.core-theory-cards p { margin:0; font-size:11px; }
.core-theory-cards strong { margin-top:auto; padding-top:16px; border-top:1px solid var(--line); font-size:11px; font-weight:400; }
.books { max-width:1200px; margin:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.books a,.books .book-unavailable { min-height:360px; padding:48px; display:flex; flex-direction:column; justify-content:flex-end; background:rgba(255,255,255,.66); }
.books a { position:relative; padding-bottom:92px; cursor:pointer; transition:transform .25s ease,box-shadow .25s ease,background .25s ease; }
.books a::after { content:"読む  →"; position:absolute; left:48px; right:48px; bottom:36px; padding-top:12px; border-top:1px solid var(--line); font-size:11px; }
.books a:hover { transform:translateY(-5px); background:white; box-shadow:0 18px 42px rgba(38,51,46,.12); }
.books .book-unavailable { opacity:.55; }
.books .book-unavailable small { margin-top:24px; padding-top:12px; border-top:1px solid var(--line); font-size:10px; }
.compact-books a { min-height:280px; }
.books span { margin-bottom:auto; font-family:Arial,sans-serif; font-size:10px; }
.books h2 { font-size:25px; font-weight:400; line-height:1.5; }
.books p { font-size:11px; }
.video-shelf { padding:13vh 8vw; display:grid; grid-template-columns:.8fr 1.2fr; gap:8vw; align-items:center; color:#f1eee5; background:#111b31; }
.video-shelf.first-movie-shelf { color:#405344; background:#e2eadf; }
.video-shelf.first-movie-shelf > div > span { color:#68796a; }
.video-shelf.first-movie-shelf .video-book { color:#f4f4eb; background:#526d57; }
.video-shelf.youtube-shelf { color:#35453c; background:#e6ece6; }
.video-shelf.youtube-shelf > div > span { color:#66766d; }
.video-shelf.youtube-shelf .video-book { color:#f5f1e8; background:#3e5649; }
.video-shelf > div > p { font-family:Arial,sans-serif; font-size:9px; letter-spacing:.2em; }
.video-shelf h2 { margin:18px 0; font-size:clamp(34px,5vw,62px); font-weight:400; }
.video-shelf > div > span { font-size:12px; color:#b7bdc7; }
.video-book { display:grid; grid-template-columns:1.2fr .8fr; min-height:300px; background:#f1eee5; color:var(--ink); transition:transform .25s ease,box-shadow .25s ease; }
.video-book:hover { transform:translateY(-5px); box-shadow:0 18px 42px rgba(0,0,0,.18); }
.video-book img { width:100%; height:100%; object-fit:cover; }
.video-book div { padding:32px; display:flex; flex-direction:column; justify-content:center; }
.video-book span,.video-book p { font-family:Arial,sans-serif; font-size:9px; letter-spacing:.12em; }
.video-book h3 { margin:18px 0; font-size:24px; font-weight:400; }
.promo-movie {
  padding: 13vh 8vw;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 7vw;
  align-items: center;
  color: #f6f2ea;
  background: #23332e;
}
.promo-movie p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .2em;
}
.promo-movie h2 { margin: 18px 0; font-size: clamp(34px,5vw,62px); font-weight: 400; line-height: 1.45; }
.promo-movie span { font-size: 12px; color: rgba(246,242,234,.78); }
.movie-placeholder {
  width: 100%;
  min-height: 380px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f6f2ea;
  background:
    linear-gradient(rgba(16,24,21,.28), rgba(16,24,21,.82)),
    radial-gradient(circle at 75% 28%, rgba(209,228,202,.28), transparent 34%),
    #101815;
}
.movie-placeholder span,
.movie-placeholder small {
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .13em;
  color: rgba(246,242,234,.72);
}
.movie-placeholder strong {
  margin: 18px 0 10px;
  font-size: clamp(26px,3.5vw,44px);
  font-weight: 400;
  line-height: 1.45;
}
.movie-placeholder video { width:100%; max-height:70svh; display:block; background:#07100c; }
.movie-placeholder small a { border-bottom:1px solid currentColor; }
.special-movie { margin:0 5vw 12vh; min-height:560px; display:grid; grid-template-columns:.85fr 1.15fr; color:#f6f2ea; background:#152019; }
.special-movie-copy { padding:8vw 6vw; display:flex; flex-direction:column; justify-content:center; }
.special-movie-copy p,.special-movie-door span,.special-movie-door small { font-family:Arial,sans-serif; font-size:9px; letter-spacing:.18em; }
.special-movie-copy p { color:#bdd4c1; }
.special-movie-copy h2 { margin:18px 0 26px; font-size:clamp(38px,5vw,68px); font-weight:400; line-height:1.5; }
.special-movie-copy span { color:rgba(246,242,234,.72); font-size:12px; }
.special-movie-copy a { align-self:flex-start; margin-top:40px; padding-bottom:4px; border-bottom:1px solid currentColor; font-size:11px; }
.special-movie-door { padding:6vw; display:flex; flex-direction:column; justify-content:space-between; border-left:1px solid rgba(246,242,234,.16); background:linear-gradient(rgba(13,22,16,.68),rgba(13,22,16,.9)),url("assets/ai-daily/36.jpg") center/cover; }
.special-movie-door { transition:filter .25s ease,transform .25s ease; }
.special-movie-door:hover { filter:brightness(1.16); transform:translateY(-4px); }
.special-movie-door strong { font-size:clamp(32px,4.5vw,62px); font-weight:400; line-height:1.6; }
.special-movie-door small,.special-movie-door span { color:rgba(246,242,234,.72); }
.next-path { padding:13vh 6vw; text-align:center; background:var(--mist); }
.next-path > p { margin:0; font-family:Arial,sans-serif; font-size:9px; letter-spacing:.22em; }
.next-path > h2 { margin:18px 0 7vh; font-size:clamp(31px,4.5vw,58px); font-weight:400; line-height:1.6; }
.path-links { max-width:1050px; margin:auto; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; text-align:left; }
.path-links.three { max-width:1200px; grid-template-columns:repeat(3,1fr); }
.path-links a { min-height:155px; padding:30px; display:flex; flex-direction:column; justify-content:space-between; border:1px solid var(--line); background:rgba(255,255,255,.58); transition:transform .2s ease,background .2s ease,box-shadow .2s ease; }
.path-links a.primary { color:white; background:var(--deep); }
.path-links a:hover { transform:translateY(-3px); background:white; box-shadow:0 15px 34px rgba(38,51,46,.1); }
.path-links a.primary:hover { background:#315c4d; }
.path-links span { font-size:10px; opacity:.72; }
.path-links strong { margin-top:22px; font-size:15px; font-weight:400; }
.line-float { position:fixed; right:18px; bottom:18px; z-index:50; padding:12px 18px; color:white; background:#1f8f55; border-radius:4px; box-shadow:0 8px 24px rgba(31,90,61,.24); font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; font-size:11px; line-height:1.4; }
.line-float:hover { background:#187645; }
.theory-gateway { padding:13vh 6vw; background:#eef2ec; }
.theory-heading { max-width:760px; margin:0 auto 7vh; text-align:center; }
.theory-heading p,.kana-care-pick > div > p { margin:0; font-family:Arial,sans-serif; font-size:9px; letter-spacing:.22em; }
.theory-heading h2,.kana-care-pick h2 { margin:18px 0 24px; font-size:clamp(32px,4.8vw,60px); font-weight:400; line-height:1.6; }
.theory-heading span,.kana-care-pick > div > span { font-size:12px; }
.theory-links { max-width:1200px; margin:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.theory-links a { min-height:390px; padding:40px 34px; display:flex; flex-direction:column; border:1px solid var(--line); background:rgba(255,255,255,.72); transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.theory-links a:hover { transform:translateY(-4px); background:white; box-shadow:0 17px 38px rgba(38,51,46,.1); }
.theory-links span { font-family:Arial,sans-serif; font-size:9px; letter-spacing:.13em; }
.theory-links h3 { margin:55px 0 20px; font-size:24px; font-weight:400; line-height:1.7; }
.theory-links p { font-size:12px; }
.theory-links strong { margin-top:auto; padding-top:17px; border-top:1px solid var(--line); font-size:11px; font-weight:400; }
.kana-care-pick { padding:13vh 8vw; display:grid; grid-template-columns:.85fr 1.15fr; gap:8vw; align-items:center; background:#f3eee5; }
.kana-care-pick > div { max-width:560px; }
.kana-care-pick > div > a { display:inline-block; margin-top:35px; padding:12px 18px; border:1px solid currentColor; font-size:11px; }
.care-pick-card { min-height:440px; padding:50px; display:flex; flex-direction:column; justify-content:space-between; color:white; background:#526c5d; transition:transform .2s ease,box-shadow .2s ease; }
.care-pick-card:hover { transform:translateY(-4px); box-shadow:0 18px 40px rgba(38,51,46,.16); }
.care-pick-card span,.care-pick-card small { font-family:Arial,sans-serif; font-size:9px; letter-spacing:.15em; }
.care-pick-card strong { font-size:clamp(29px,4vw,50px); font-weight:400; line-height:1.65; }
@media(max-width:720px) {
  header { height:60px; padding:0 20px; }
  .page-hero { min-height:58svh; padding:10vh 24px; }
  .page-hero h1 { font-size:37px; }
  .courses { padding:0 20px 10vh; grid-template-columns:1fr; }
  .library-group { padding:0 20px 9vh; }
  .featured-story { margin-bottom:10vh; grid-template-columns:1fr; }
  .featured-story-visual { min-height:auto; aspect-ratio:4/3; }
  .featured-story-cover { object-fit:cover; }
  .featured-story-scene { right:16px; bottom:16px; width:42%; }
  .featured-story-copy { padding:60px 24px 66px; }
  .featured-story-copy h2 { font-size:39px; }
  .featured-story-copy h3 { font-size:19px; }
  .core-theory-shelf { padding-top:10vh; }
  .core-theory-cards { grid-template-columns:1fr; }
  .core-theory-cards img { aspect-ratio:4/3; object-fit:contain; }
  .core-theory-cards div { min-height:240px; padding:28px; }
  .books { grid-template-columns:1fr; }
  .course { min-height:380px; padding:45px 28px; }
  .detail-lead,.detail-grid article,.detail-note { padding:32px 27px; }
  .detail-grid,.detail-price { grid-template-columns:1fr; }
  .detail-price a { padding:18px 20px; }
  a.course { padding-bottom:95px; }
  a.course::after { left:28px; right:28px; bottom:38px; }
  .books a,.books .book-unavailable { min-height:300px; padding:35px 28px; }
  .books a { padding-bottom:82px; }
  .books a::after { left:28px; right:28px; bottom:30px; }
  .video-shelf { padding:11vh 20px; grid-template-columns:1fr; gap:40px; }
  .video-book { grid-template-columns:1fr; }
  .video-book img { aspect-ratio:16/9; }
  .promo-movie { padding: 11vh 20px; grid-template-columns: 1fr; gap: 34px; }
  .movie-placeholder { min-height: 300px; padding: 30px; }
  .special-movie { margin:0 20px 10vh; min-height:0; grid-template-columns:1fr; }
  .special-movie-copy { padding:70px 28px; }
  .special-movie-door { min-height:390px; padding:34px 28px; border-left:0; border-top:1px solid rgba(246,242,234,.16); }
  .next-path { padding:10vh 20px; }
  .path-links,.path-links.three { grid-template-columns:1fr; }
  .path-links a { min-height:130px; padding:25px; }
  .line-float { right:12px; bottom:12px; min-height:auto; padding:12px 15px; }
  .theory-gateway { padding:10vh 20px; }
  .theory-links { grid-template-columns:1fr; }
  .theory-links a { min-height:300px; padding:32px 27px; }
  .theory-links h3 { margin-top:35px; }
  .kana-care-pick { padding:10vh 20px; grid-template-columns:1fr; gap:45px; }
  .care-pick-card { min-height:330px; padding:32px 27px; }
}
