
:root{--cream:#fffdf7;--ink:#403c35;--green:#b8dc9c;--orange:#ffc477;--line:#eee5d5;--shadow:0 10px 28px rgba(105,87,51,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--cream);line-height:1.75}a{color:inherit;text-decoration:none}
.container{width:min(1120px,calc(100% - 32px));margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,250,242,.95);border-bottom:1px solid var(--line)}.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-weight:800}.brand small{display:block;font-size:.7rem;color:#777}.nav{display:flex;gap:14px;font-size:.84rem;flex-wrap:wrap;justify-content:flex-end}.menu-btn{display:none}
.hero{min-height:62vh;display:grid;place-items:center;text-align:center;color:#fff;background:linear-gradient(rgba(40,40,35,.28),rgba(40,40,35,.42)),linear-gradient(135deg,#8eaa78,#e4a364 55%,#d58c9d)}.hero-content{padding:70px 20px}.hero h1{font-size:clamp(2.1rem,5vw,4.2rem);line-height:1.35;margin:.2em 0}.hero-school{min-height:50vh}.hero-dai1{background:linear-gradient(rgba(52,43,27,.3),rgba(52,43,27,.4)),linear-gradient(135deg,#f0ae63,#9cc37e)}.hero-dai2{background:linear-gradient(rgba(52,43,27,.3),rgba(52,43,27,.4)),linear-gradient(135deg,#ea9aaa,#efb16a)}.hero-uji{background:linear-gradient(rgba(34,53,31,.26),rgba(34,53,31,.42)),linear-gradient(135deg,#6b9a62,#c5c56d)}.hero-hoiku{background:linear-gradient(rgba(54,40,44,.25),rgba(54,40,44,.4)),linear-gradient(135deg,#e890a1,#f0c269)}
.portal .hero{background:linear-gradient(rgba(40,40,35,.14),rgba(40,40,35,.24)),linear-gradient(135deg,#a9c78f,#f2bb7a 55%,#e6a6b5)}
.section{padding:70px 0}.section.alt{background:#fff}.section-title{text-align:center;margin-bottom:34px}.section-title .eyebrow{color:var(--orange);font-size:.8rem;letter-spacing:.15em;font-weight:700}.section-title h2{font-size:clamp(1.7rem,3.5vw,2.5rem);margin:4px 0}.grid{display:grid;gap:22px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}.card,.info-box,.season{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.card{overflow:hidden}.card-body,.info-box,.season{padding:24px}.photo{aspect-ratio:4/3;display:grid;place-items:center;text-align:center;color:#fff;font-weight:700;background:linear-gradient(135deg,#9fb985,#e7ad6e)}.photo.dai2{background:linear-gradient(135deg,#e5a0ad,#efbd7a)}.photo.uji{background:linear-gradient(135deg,#75a86c,#c7c778)}.photo.hoiku{background:linear-gradient(135deg,#e89ba9,#f0c678)}
.message,.instagram{display:grid;grid-template-columns:1fr 1.2fr;gap:32px;align-items:center}.portrait{aspect-ratio:4/3;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#f6d3a6,#c9dfa9);box-shadow:var(--shadow)}.feature-list,.events{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.feature{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.tag{display:inline-block;padding:5px 10px;border-radius:999px;background:#fff2df;color:#b56a2d;font-size:.78rem;font-weight:700}.btn{display:inline-block;padding:12px 20px;border-radius:999px;background:var(--orange);color:#fff;font-weight:700}.btn.secondary{background:var(--green)}.insta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.insta-item{aspect-ratio:1;border-radius:12px;background:linear-gradient(135deg,#f2b47c,#d98aa9,#8a87ce)}.map{min-height:300px;border-radius:20px;background:linear-gradient(135deg,#dbe8d0,#f1dfbd);display:grid;place-items:center;text-align:center;border:1px solid var(--line)}.footer{background:#4d4a42;color:#fff;padding:38px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.school-cards{margin-top:-50px;position:relative;z-index:2}.school-card:hover{transform:translateY(-5px)}.school-card{transition:.2s}.portal .site-header{position:absolute;left:0;right:0;background:transparent;border:0;color:#fff}.portal .brand small{color:#fff}
@media(max-width:900px){.nav{display:none}.menu-btn{display:block}.grid-4,.events,.feature-list{grid-template-columns:repeat(2,1fr)}.message,.instagram{grid-template-columns:1fr}}@media(max-width:600px){.grid-4,.grid-2,.events,.feature-list{grid-template-columns:1fr}.section{padding:54px 0}}

.timeline{max-width:820px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:10px 24px;box-shadow:var(--shadow)}
.timeline-row{display:grid;grid-template-columns:110px 1fr;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}
.timeline-row:last-child{border-bottom:0}
.timeline-row strong{color:var(--orange)}
.list-clean{margin:0;padding-left:1.2em}
.notice{background:#fff4e6;border-left:5px solid var(--orange);padding:16px 18px;border-radius:10px}
.placeholder{color:#8b8379;font-style:italic}
.school-detail{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media(max-width:800px){.school-detail{grid-template-columns:1fr}.timeline-row{grid-template-columns:80px 1fr}}

/* 2026 complete package additions */
.hero-dai1{background-image:linear-gradient(90deg,rgba(31,63,43,.38),rgba(31,63,43,.08)),url('images/dai1-hero.jpg')!important;background-size:cover;background-position:center}
.hero-dai2{background-image:linear-gradient(90deg,rgba(31,63,43,.38),rgba(31,63,43,.08)),url('images/dai2-hero.jpg')!important;background-size:cover;background-position:center}
.hero-uji{background-image:linear-gradient(90deg,rgba(31,63,43,.38),rgba(31,63,43,.08)),url('images/uji-hero.jpg')!important;background-size:cover;background-position:center}
.hero-hoiku{background-image:linear-gradient(90deg,rgba(31,63,43,.38),rgba(31,63,43,.07)),url('images/hoiku-hero.jpg')!important;background-size:cover;background-position:center}
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0 44px}
.photo-grid figure{margin:0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.08)}
.photo-grid img{display:block;width:100%;height:240px;object-fit:cover}
.photo-grid figcaption{padding:12px 16px;font-weight:700}
.facility-heading{margin-top:42px;font-size:1.65rem}
.cooperation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.cooperation-grid .info-box{height:100%}
.cooperation-grid .btn{margin-top:10px}
.bus-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px;margin-left:auto;margin-right:auto}
.footer a{color:#fff}
@media(max-width:850px){.photo-grid,.cooperation-grid,.bus-grid{grid-template-columns:1fr 1fr}.photo-grid img{height:210px}}
@media(max-width:560px){.photo-grid,.cooperation-grid,.bus-grid{grid-template-columns:1fr}.photo-grid img{height:230px}.nav{overflow-x:auto;white-space:nowrap;padding-bottom:8px}.hero-school{min-height:440px}}
.school-card .photo img{width:100%;height:100%;object-fit:cover;display:block}


/* Entrance and bus pages */
.page-hero{padding:72px 20px;background:linear-gradient(135deg,#f28c28,#f6b64b);color:#fff;text-align:center}
.page-hero.uji{background:linear-gradient(135deg,#5b9b50,#88bd67)}
.page-hero h1{font-size:clamp(2rem,5vw,3.5rem);margin:.3em 0}
.subnav{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;padding:16px;background:#fff;box-shadow:0 3px 18px #0001}
.subnav a{padding:9px 15px;border-radius:999px;background:#fff4e6;color:#7b451a;text-decoration:none;font-weight:700}
.steps{counter-reset:step;display:grid;gap:18px}
.step{counter-increment:step;background:#fff;border-radius:18px;padding:24px;border-left:6px solid #ee8a27;box-shadow:0 8px 28px #57300c12}
.step h3:before{content:"STEP " counter(step);display:block;font-size:.72rem;letter-spacing:.12em;color:#c7680d;margin-bottom:5px}
.price-table{width:100%;border-collapse:collapse;background:#fff}
.price-table th,.price-table td{padding:12px;border:1px solid #eadbc9;text-align:left}
.price-table th{background:#fff3df}
.price-table td:last-child{text-align:right;white-space:nowrap}
.bus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.bus-card{overflow:hidden;background:#fff;border-radius:20px;box-shadow:0 8px 28px #57300c18}
.bus-card img{display:block;width:100%;height:230px;object-fit:contain;background:#f8f7f3}
.bus-card div{padding:18px}.bus-card h3{margin:0 0 8px}
.area-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;list-style:none;padding:0}
.area-list li{padding:16px;border-radius:14px;background:#fff3df;text-align:center;font-weight:700}
.important-note{padding:18px;border-radius:14px;background:#fff7d7;border:1px solid #eed374}
@media(max-width:720px){.bus-grid,.area-list{grid-template-columns:1fr}.bus-card img{height:auto}}
.table-scroll{overflow-x:auto;margin:18px 0}
.table-scroll .price-table{min-width:640px}
.niconico-news{background:linear-gradient(135deg,#fff8f2,#fff)}
.schedule-list{display:grid;gap:12px;max-width:860px;margin:0 auto 24px}
.schedule-item{display:grid;grid-template-columns:minmax(170px,220px) 1fr;gap:18px;align-items:center;padding:18px 22px;background:#fff;border-left:6px solid #f08a99;border-radius:14px;box-shadow:0 8px 26px #7b384012}
.schedule-item time{font-weight:800;color:#b94e61}.schedule-item p{margin:.3em 0 0}
.niconico-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:22px}
@media(max-width:600px){.schedule-item{grid-template-columns:1fr;gap:5px}}
.corporate-disclosure{padding:14px 0;background:#f7f5ef;border-top:1px solid rgba(67,76,67,.12);font-size:.78rem;color:#777}
.corporate-disclosure .container{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;align-items:center}
.corporate-disclosure span{color:#999}
.corporate-disclosure a{color:#777;text-decoration:underline;text-underline-offset:3px}
.corporate-disclosure a:hover{color:#3f6d52}
.message{grid-template-columns:150px 1fr}
.portrait{width:150px;aspect-ratio:1;overflow:hidden;border-radius:18px}
.portrait img{display:block;width:100%;height:100%;object-fit:cover}
.event-photo-card{overflow:hidden}
.event-photo-card>img{display:block;width:calc(100% + 40px);max-width:none;height:150px;object-fit:cover;margin:-20px -20px 18px}
.info-box.event-photo-card>img{width:calc(100% + 48px);height:180px;margin:-24px -24px 20px}
.wide-event-photo{margin:0 0 24px;border-radius:20px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.wide-event-photo img{display:block;width:100%;max-height:520px;object-fit:cover}
.wide-event-photo figcaption{padding:10px 18px;text-align:center;font-size:.9rem;color:#71685e}
.event-pair{display:grid;grid-template-columns:1fr 1fr;gap:4px}.event-pair img{width:100%;height:170px;object-fit:cover}
.event-subtitle{margin-top:36px}
.art-exhibition-photo{max-width:480px;margin-left:auto;margin-right:auto}
.seasonal-photo-events .season img{display:block;width:100%;height:120px;object-fit:cover;border-radius:10px;margin:8px 0 12px}
.featured-bus{max-width:420px;margin:0 auto 20px;text-align:center}.featured-bus img{display:block;width:100%;height:auto;border-radius:16px}.featured-bus figcaption{margin-top:8px;font-weight:700}.bus-intro{max-width:760px;margin:0 auto 28px;text-align:center}
.instagram-qr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:top;margin-left:18px;gap:5px}.instagram-qr img{width:112px;height:112px;background:#fff;padding:5px;border-radius:10px;border:1px solid var(--line)}.instagram-qr small{font-size:.7rem;color:#666}@media(max-width:560px){.instagram-qr{display:flex;width:max-content;margin:18px 0 0}}

/* Brighter palette: shared across all pages, with readable dark labels. */
.site-header{background:rgba(255,253,247,.97)}
.portal .hero{background:linear-gradient(135deg,#d8ebbf,#ffe0a8 55%,#f8d1d9);color:#464033}
.portal .hero-content p{color:#464033!important}
.portal .site-header,.portal .brand small{color:#464033}
.hero-school .hero-content{ text-shadow:0 2px 5px rgba(0,0,0,.8),0 0 18px rgba(0,0,0,.35)}
.btn{color:#58370d;background:var(--orange)}
.btn.secondary{color:#2e4926;background:var(--green)}
.btn:hover{filter:brightness(1.04)}
.section-title .eyebrow,.timeline-row strong{color:#946017}
.tag{background:#fff0ce;color:#87531d}
.page-hero{background:linear-gradient(135deg,#ffcf89,#ffe7b6);color:#583d1c}
.page-hero.uji{background:linear-gradient(135deg,#c8e6af,#e7f3cd);color:#34522c}
.footer{background:#e7efd9;color:#3d5034}
.footer a{color:#3d5034}
.niconico-news{background:linear-gradient(135deg,#fff4df,#fffdf8)}
.notice,.subnav a{background:#fff4db}
.important-note{background:#fff8d9;border-color:#eddfa0}
.corporate-disclosure{background:#f5f8ee}
