*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
:root{
  --red:#c8102e;--red-d:#9e0c24;--red-pale:#fdf0f2;
  --navy:#0d2558;
  --white:#fff;--off:#f8f9fb;--gray:#e5e8ee;
  --text:#111827;--muted:#6b7280;
}
body{font-family:"YakuHanJP","Noto Serif JP",serif;color:var(--text);background:var(--white);line-height:1.7}

/* NAV */
#nav{position:fixed;top:0;left:0;right:0;z-index:100;background:#fff;border-bottom:1px solid var(--gray);display:flex;align-items:center;justify-content:space-between;padding:0 2.5rem;height:60px;transition:box-shadow .25s}
#nav.scrolled{box-shadow:0 2px 16px rgba(0,0,0,.08)}
.nav-logo{display:flex;align-items:center;gap:.7rem;text-decoration:none}
.nav-logo svg{width:30px;height:30px;fill:var(--red)}
.nav-logo-txt{font-family:'YakuHanJP','Noto Serif JP',serif;font-size:clamp(0.8rem, 0.76rem + 0.2vw, 1rem);font-weight:700;color:var(--navy);line-height:1}
.nav-logo-txt br{display:none}
@media (min-width: 901px) and (max-width: 1100px) {
  .nav-logo-txt{font-size:0.8rem;font-weight:700;line-height:1.25;margin-top:0.3rem !important}
  .nav-logo-txt br{display:inline}
}
.nav-links{display:flex;gap:1.4rem;list-style:none}
@media (min-width: 1101px) and (max-width: 1200px) {
.nav-links{gap:1.1rem !important}
}
@media (min-width: 901px) and (max-width: 1100px) {
.nav-links{gap:0.7rem !important}
}
.nav-links a{color:var(--muted);text-decoration:none;font-size:.78rem;letter-spacing:.04em;transition:color .2s;white-space:nowrap}
.nav-links a:hover{color:var(--navy)}
.nav-cta{background:var(--red);color:#fff!important;padding:.34rem .9rem;border-radius:2px;font-weight:700!important;transition:background .2s!important}
.nav-cta:hover{background:var(--red-d)!important}
.hbg{display:none;flex-direction:column;gap:5px;cursor:pointer}
.hbg span{display:block;width:24px;height:2px;background:var(--text);border-radius:2px}

/* HERO */
#hero{padding:85px 2rem 25px !important;min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f4f5f7}
@media (max-width: 600px){
  #hero{padding:60px 0rem 25px !important;}
}
.hero-l{background:var(--navy);display:flex;align-items:center;padding:5rem 4rem;position:relative;overflow:hidden}
.hero-l::after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--red)}
.hero-logo-bg{position:absolute;right:-8%;top:50%;transform:translateY(-50%);width:72%;opacity:.06;pointer-events:none;z-index:1}
.hero-logo-bg img{width:100%;height:auto;filter:brightness(0) invert(1)}
.hero-l-inner{position:relative;z-index:2}
.hero-eyebrow{font-size:.9rem;font-weight:700;letter-spacing:.1em;color:var(--red);margin-bottom:1.2rem;display:flex;align-items:center;gap:.6rem}
.hero-eyebrow::before{content:'';width:22px;height:2px;background:var(--red)}
.hero-num{line-height:1.1;margin-bottom:.7rem;display:flex;align-items:baseline;gap:.3rem}
.hero-num .kanji{font-family:'Noto Serif JP',serif;font-size:clamp(.9rem,1.4vw,1.1rem);color:rgba(255,255,255,.75);font-weight:400;letter-spacing:.1em}
.hero-num .digits{font-family:'Spectral',serif;font-size:clamp(2rem,3.5vw,3rem);color:#fff;font-weight:700;letter-spacing:.04em;line-height:1}
.hero-ttl{font-family:'Noto Serif JP',serif;font-size:clamp(1.6rem,3.2vw,2.6rem);color:#fff;font-weight:900;letter-spacing:.06em;line-height:1.45;margin-bottom:2rem}
.hero-r{background:#fafafa;display:flex;flex-direction:column;justify-content:center;padding:4rem 3.5rem;gap:2rem}
.hero-r-top{display:flex;flex-direction:column;gap:.5rem}
.r-label{font-size:.68rem;font-weight:700;letter-spacing:.2em;color:var(--red);margin-bottom:.5rem}
.date-big{margin-bottom:.8rem}
.date-year{font-size:.78rem;color:var(--muted);letter-spacing:.08em;display:block;margin-bottom:.1rem}
.date-main{display:flex;align-items:flex-end;gap:0;line-height:1}
.date-num{font-family:'Spectral',serif;font-weight:700;color:var(--navy);font-size:clamp(2.8rem,4.5vw,3.8rem);line-height:1;display:block}
.date-unit{font-family:'Noto Serif JP',serif;font-size:.85rem;color:var(--navy);font-weight:600;line-height:1;margin-bottom:.5rem}
.date-sep{font-size:1.2rem;color:var(--gray);margin:0 .2rem;line-height:1;margin-bottom:.35rem}
.date-fri{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.1em;padding:.22rem .7rem;border-radius:2px;margin-left:.6rem;margin-bottom:.35rem}
.time-venue-box{display:flex;flex-direction:column;gap:.55rem}
.time-row{display:flex;align-items:center;gap:.7rem;background:#fff;border:1px solid var(--gray);padding:.65rem 1rem}
.time-icon{font-size:.85rem;flex-shrink:0;opacity:.5}
.time-lbl{font-size:.62rem;font-weight:700;letter-spacing:.12em;color:var(--muted);display:block;margin-bottom:.15rem}
.time-val{font-size:.88rem;font-weight:700;color:var(--navy);display:block;line-height:1.2}
.time-val span{font-family:'Spectral',serif;font-size:1rem}
.venue-row{display:flex;flex-direction:column;background:#fff;border:1px solid var(--gray);padding:.65rem 1rem;gap:.2rem}
.venue-name-big{font-size:.97rem;font-weight:700;color:var(--navy)}
.venue-sub{font-size:.72rem;color:var(--muted);margin-left:.35rem}
.venue-addr-sm{font-size:.7rem;color:var(--muted);margin-top:-.35rem}
.hero-divider{width:100%;height:1px;background:var(--gray)}
.deadline-box{background:#fff;border:1px solid var(--gray);border-left:3px solid var(--red);padding:1rem 1.4rem}
.dl-lbl{font-size:.68rem;font-weight:700;letter-spacing:.14em;color:var(--red);margin-bottom:.25rem}
.dl-val{font-size:.95rem;font-weight:700;color:var(--navy)}
.hero-btns{display:flex;flex-direction:column;gap:.75rem}
.btn-main{display:flex;align-items:center;justify-content:space-between;background:var(--red);color:#fff;padding:.9rem 1.5rem;font-family:'Noto Serif JP',serif;font-size:.97rem;font-weight:700;text-decoration:none;border-radius:2px;letter-spacing:.04em;transition:background .2s}
.btn-main:hover{background:var(--red-d)}
.btn-main-arrow{font-size:1.2rem;font-weight:300}
.entry-note{font-size:.8rem;color:var(--navy);margin:-.25rem 0 0 0.35em;line-height:1.6}
.entry-note a{color:var(--navy);text-decoration:underline}
.btn-sub{display:flex;align-items:center;justify-content:space-between;background:#fff;color:var(--navy);padding:.85rem 1.5rem;font-size:.9rem;text-decoration:none;border:1px solid var(--gray);border-radius:2px;letter-spacing:.04em;transition:background .2s,border-color .2s}
.btn-sub:hover{background:var(--gray);border-color:#ccc}

/* COMMON */
section{padding:5rem 2rem}
.container{max-width:1100px;margin:0 auto}
.sec-header{display:flex;align-items:baseline;gap:1.5rem;margin-bottom:2.5rem}
.sec-en{font-family:'Spectral',serif;font-size:clamp(2rem,4vw,3.5rem);color:var(--gray);line-height:1;font-weight:700}
.sec-ja{font-family:'Noto Serif JP',serif;font-size:1rem;font-weight:700;color:var(--navy);letter-spacing:.08em}
.fade{opacity:0;transform:translateY(20px);transition:opacity .55s,transform .55s}
.fade.in{opacity:1;transform:none}

/* ABOUT */
#about{background:var(--off)}
.about-grid{display:grid;grid-template-columns:3fr 2fr;gap:3rem;align-items:start}
.about-txt p{font-size:.94rem;line-height:1.95;color:#374151;margin-bottom:1rem}
.info-box{background:#fff;border:1px solid var(--gray)}
.info-row{display:flex;gap:0rem;padding:.9rem 1.3rem;border-bottom:1px solid var(--gray);font-size:.88rem}
.info-row:last-child{border-bottom:none}
.info-k{font-weight:700;color:var(--navy);min-width:68px;font-size:.78rem;letter-spacing:.05em;padding-top:.1rem;flex-shrink:0}
.info-v{color:#374151;line-height:1.65}

/* DIVISIONS */
#divisions{background:#fff}
.div-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--gray)}
.div-card{background:#fff;padding:2.2rem;position:relative}
.div-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--red)}
.div-ab{font-family:'Spectral',serif;font-size:2.2rem;color:var(--navy);font-weight:700;line-height:1;margin-bottom:.3rem}
.div-nm{font-size:.75rem;color:var(--muted);letter-spacing:.08em;margin-bottom:.9rem}
.div-venue{display:inline-block;background:var(--red-pale);color:var(--red-d);padding:.18rem .65rem;font-size:.73rem;font-weight:700;letter-spacing:.04em;margin-bottom:1rem}
.div-desc{font-size:.84rem;line-height:1.8;color:#4b5563;border-top:1px solid var(--gray);padding-top:.9rem}
.div-desc strong{color:var(--navy)}

/* PROGRAM */
#program{background:var(--off)}
.prog-cols{display:grid;grid-template-columns:1fr 1fr;gap:0 3rem;align-items:start}
.prog-col-label{font-size:.68rem;font-weight:700;letter-spacing:.16em;color:var(--white);background:var(--navy);padding:.45rem .9rem;margin-bottom:.3rem;display:inline-block}
.prog-item{display:flex;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--gray);align-items:flex-start}
.prog-item:last-child{border-bottom:none}
.prog-time{font-family:'Spectral',serif;font-size:.88rem;font-weight:700;min-width:116px;flex-shrink:0;letter-spacing:.02em;padding-top:.05rem}
.prog-label{font-size:.88rem;font-weight:500;line-height:1.4}
.prog-sub{display:block;font-size:.74rem;color:var(--muted);font-weight:400;margin-top:.2rem}
.prog-item .prog-time{color:var(--muted)}
.prog-item .prog-label{color:var(--muted);font-weight:400}
.prog-item.is-session .prog-time{color:var(--red)}
.prog-item.is-session .prog-label{color:var(--red);font-weight:600}
.prog-item.is-event .prog-time{color:var(--navy)}
.prog-item.is-event .prog-label{color:var(--navy);font-weight:700}

/* COMPANIES */
#companies{background:#fff}
.tabs{
  display:flex;
  box-shadow:0 2px 0 0 var(--gray);
  margin-bottom:2rem;
  gap:0;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.tabs::-webkit-scrollbar{display:none}
.tab{
  background:var(--off);
  border:none;
  cursor:pointer;
  padding:.7rem 1.4rem;
  font-family:'Noto Sans JP',sans-serif;
  font-size:.84rem;
  font-weight:700;
  color:var(--muted);
  position:relative;
  white-space:nowrap;
  flex-shrink:0;
  transition:color .2s,background .2s;
  letter-spacing:.02em;
  border-radius:4px 4px 0 0;
}
.tab::after{
  content:'';
  position:absolute;
  bottom: 0;
  left:0;right:0;
  height:2px;
  background:transparent;
  transition:background .2s;
}
.tab.on{color:var(--navy);background:#fff}
.tab.on::after{background:var(--red)}
.panel{display:none}
.panel.on{display:block}
.reg-blk{margin-bottom:1.8rem}
.reg-lbl{font-size:.73rem;font-weight:700;letter-spacing:.12em;color:var(--muted);margin-bottom:.7rem;display:flex;align-items:center;gap:.5rem}
.reg-lbl::after{content:'';flex:1;height:1px;background:var(--gray)}
.co-grid{display:flex;flex-wrap:wrap;gap:.5rem}
.co-tag{background:var(--off);border:1px solid var(--gray);padding:.35rem .85rem;font-size:.83rem;font-weight:500;color:var(--text);transition:background .2s,border-color .2s}
.co-tag:hover{background:var(--red-pale);border-color:#f0c0c8}

/* REGISTRATION */
#registration{background:var(--red)}
#registration .sec-header .sec-en{color:rgba(255,255,255,.15)}
#registration .sec-header .sec-ja{color:#fff}
.reg-layout{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}
.reg-fee-box{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.2);padding:2rem}
.reg-fee-ttl{font-size:.68rem;font-weight:700;letter-spacing:.18em;color:rgba(255,255,255,.8);margin-bottom:1.2rem}
.reg-fee-row{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid rgba(255,255,255,.15)}
.reg-fee-row:last-child{border-bottom:none}
.reg-fee-name{font-size:.85rem;color:#fff}
.reg-fee-price{font-family:'Spectral',serif;font-size:1.3rem;font-weight:700;color:#fff;white-space:nowrap}
.reg-fee-price .unit{font-family:'Noto Sans JP',sans-serif;font-size:.72rem;font-weight:400;color:rgba(255,255,255,.85);margin-left:.2rem}
.reg-right{display:flex;flex-direction:column;gap:1.5rem}
.reg-how-box{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.2);padding:1.8rem}
.reg-how-ttl{font-size:.68rem;font-weight:700;letter-spacing:.18em;color:rgba(255,255,255,.8);margin-bottom:1rem}
.reg-how-txt{font-size:.87rem;color:#fff;line-height:1.85}
.reg-how-note{font-size:.76rem;color:rgba(255,255,255,.9);margin-top:.7rem;line-height:1.7}
.reg-how-note a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.reg-cta-area{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.2);padding:1.8rem;text-align:center}
.reg-deadline-lbl{font-size:.65rem;font-weight:700;letter-spacing:.16em;color:rgba(255,255,255,.8);margin-bottom:.3rem}
.reg-deadline-val{font-family:'Spectral',serif;font-size:1.25rem;font-weight:700;color:#fff;margin-bottom:1.4rem}
.btn-white{display:flex;align-items:center;justify-content:space-between;background:#fff;color:var(--red);padding:.9rem 1.5rem;font-family:'Noto Serif JP',serif;font-size:.97rem;font-weight:700;text-decoration:none;border-radius:2px;letter-spacing:.04em;transition:background .2s}
.btn-white:hover{background:rgba(255,255,255,.9)}

/* ACCESS */
#access{background:var(--off)}
.access-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.map-wrap{overflow:hidden;border:1px solid var(--gray)}
.map-wrap iframe{width:100%;height:380px;border:none;display:block}
.venue-name{font-family:'Noto Serif JP',serif;font-size:1.3rem;font-weight:700;color:var(--navy);margin-bottom:.3rem}
.venue-addr{font-size:.84rem;color:var(--muted);line-height:1.75;margin-bottom:1.4rem}
.way{display:flex;gap:.9rem;background:#fff;border:1px solid var(--gray);padding:.9rem 1.1rem;margin-bottom:.7rem}
.way-ic{font-size:1.1rem;flex-shrink:0}
.way-lbl{font-size:.7rem;font-weight:700;color:var(--muted);letter-spacing:.1em;display:block;margin-bottom:.15rem}
.way-txt{font-size:.87rem;font-weight:500;color:var(--text)}

/* CONTACT */
#contact{background:var(--white)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.contact-card{background:#fff;border:1px solid var(--gray);border-top:3px solid var(--navy);padding:2rem}
.contact-card-ttl{font-size:.7rem;font-weight:700;letter-spacing:.16em;color:var(--red);margin-bottom:1.2rem}
.contact-card-name{font-family:'Noto Serif JP',serif;font-size:1rem;font-weight:700;color:var(--navy);margin-bottom:.5rem;line-height:1.5}
.contact-card-row{font-size:.84rem;color:var(--muted);line-height:1.95}
.contact-card-row a{color:var(--navy);text-decoration:none;font-weight:500}
.contact-card-row a:hover{color:var(--red)}

/* SCROLL TOP */
#scroll-top{
  position:fixed;
  bottom:2rem;
  right:2rem;
  width:48px;
  height:48px;
  background:var(--navy);
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .3s,transform .3s,visibility .3s,background .2s;
  z-index:99;
  box-shadow:0 4px 16px rgba(0,0,0,.2);
}
#scroll-top.show{opacity:1;visibility:visible;transform:translateY(0)}
#scroll-top:hover{background:var(--red)}
#scroll-top svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}

/* FOOTER */
footer{background:var(--navy);color:rgba(255,255,255,.35);text-align:center;padding:2rem;font-size:.76rem;letter-spacing:.06em;line-height:1.9}
footer strong{color:rgba(255,255,255,.6)}

/* RESPONSIVE */
@media(max-width:900px){
  #hero{grid-template-columns:1fr}
  .hero-r{padding:2.5rem 2rem}
  .hero-l{padding:3rem 2rem;min-height:50vh}
  .nav-links{display:none}
  .nav-links.open{display:flex;flex-direction:column;position:absolute;top:60px;left:0;right:0;background:#fff;padding:1rem 2rem 1.5rem;gap:.8rem;border-bottom:2px solid var(--gray);box-shadow:0 8px 20px rgba(0,0,0,.08)}
  .hbg{display:flex}
  .about-grid{grid-template-columns:1fr}
  .div-cards{grid-template-columns:1fr;gap:1px}
  .prog-cols{grid-template-columns:1fr}
  .reg-layout{grid-template-columns:1fr}
  .access-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  section{padding:3.5rem 1.2rem}
  #nav{padding:0 1.2rem}
  .tabs{overflow-x:auto}
}
