:root{
  --main:#cc0033;
  --main-dark:#990026;
  --main-soft:#fff0f4;
  --main-pale:#fff6f8;
  --ink:#111827;
  --muted:#667085;
  --line:#ead6dc;
  --bg:#fff7f9;
  --white:#ffffff;
  --black:#111111;
  --shadow:0 18px 45px rgba(120,0,35,.12);
  --shadow-soft:0 12px 30px rgba(120,0,35,.08);
  --radius:22px;
  --header-h:78px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:var(--header-h);
}

body{
  margin:0;
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.8;
  background:linear-gradient(180deg,#fff 0%,var(--bg) 100%);
}

a{
  color:inherit;
}

img{
  max-width:100%;
  height:auto;
}

.skip-link{
  position:absolute;
  left:12px;
  top:-80px;
  z-index:999;
  padding:10px 14px;
  background:#111111;
  color:#fff;
  border-radius:10px;
}

.skip-link:focus{
  top:12px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Header */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(204,0,51,.18);
}

.top-alert-bar{
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  color:#fff;
  background:linear-gradient(90deg,#990026 0%,#cc0033 55%,#e6003c 100%);
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
  line-height:1;
}

.top-alert-bar span{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.header-inner{
  width:min(1180px,calc(100% - 40px));
  height:var(--header-h);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.02em;
  min-width:0;
}

.logo-mark{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:15px;
  color:#fff;
  background:linear-gradient(135deg,var(--main),#e6003c);
  box-shadow:0 10px 25px rgba(204,0,51,.26);
}

.logo-text{
  display:grid;
  line-height:1.25;
}

.logo-text span{
  white-space:nowrap;
}

.logo-text small{
  font-size:12px;
  color:var(--muted);
  font-weight:700;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:6px;
}

.site-nav a{
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  color:#344054;
  padding:10px 13px;
  border-radius:999px;
  transition:.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active{
  color:var(--main);
  background:var(--main-soft);
}

.nav-toggle{
  display:none;
  width:46px;
  height:46px;
  border:0;
  border-radius:14px;
  background:var(--main-soft);
  cursor:pointer;
}

.nav-toggle span:not(.sr-only){
  display:block;
  width:22px;
  height:2px;
  margin:5px auto;
  background:var(--main);
  border-radius:10px;
}

/* Common layout */

.section-inner{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

.section{
  padding:86px 0;
}

.section-soft{
  background:
    radial-gradient(circle at 10% 10%,rgba(204,0,51,.08),transparent 26%),
    linear-gradient(180deg,#fff7f9 0%,#fff 100%);
}

.section-heading{
  margin-bottom:30px;
}

.section-heading.center{
  text-align:center;
  max-width:820px;
  margin:0 auto 38px;
}

.section-heading.compact{
  margin-bottom:0;
}

.eyebrow,
.section-kicker{
  margin:0 0 10px;
  color:var(--main);
  font-size:13px;
  line-height:1.5;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.section-heading h2{
  margin:0;
  font-size:clamp(26px,3.2vw,42px);
  line-height:1.28;
  letter-spacing:-.03em;
}

.section-heading.compact h2{
  font-size:28px;
}

.section-heading p:not(.section-kicker){
  margin:12px 0 0;
  color:var(--muted);
}

/* Hero */

.hero{
  position:relative;
  overflow:hidden;
  min-height:auto;
  display:grid;
  align-items:center;
  padding:64px 0 72px;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 80% 18%,rgba(204,0,51,.16),transparent 32%),
    radial-gradient(circle at 12% 28%,rgba(17,17,17,.07),transparent 28%),
    linear-gradient(135deg,#fff 0%,#fff6f8 52%,#fff 100%);
}

.hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(204,0,51,.10) 1px,transparent 1px),
    linear-gradient(90deg,rgba(204,0,51,.10) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:linear-gradient(180deg,rgba(0,0,0,.72),transparent 78%);
}

.hero-inner{
  position:relative;
  z-index:1;
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

.hero-title{
  margin-bottom:30px;
}

.hero-title .eyebrow{
  margin-bottom:16px;
}

.hero .hero-title h1{
  max-width:100%;
  margin:0;
  font-size:clamp(30px,4.2vw,52px);
  line-height:1.24;
  letter-spacing:-.03em;
}

.hero-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:32px;
  align-items:stretch;
}

.hero-copy{
  padding:30px 32px;
  border:1px solid rgba(204,0,51,.14);
  border-radius:28px;
  background:rgba(255,255,255,.82);
  box-shadow:var(--shadow-soft);
  backdrop-filter:blur(12px);
}

.lead{
  margin:0;
  max-width:760px;
  color:#475467;
  font-size:18px;
  line-height:1.95;
}

.lead + .lead{
  margin-top:12px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:12px 20px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  transition:.2s ease;
}

.button-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--main),#e6003c);
  box-shadow:0 16px 26px rgba(204,0,51,.25);
}

.button-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 34px rgba(204,0,51,.32);
}

.button-outline{
  color:#111111;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(204,0,51,.28);
}

.button-outline:hover{
  background:#fff;
  border-color:var(--main);
  transform:translateY(-2px);
}

.button.small{
  min-height:42px;
  padding:9px 16px;
  font-size:14px;
}

.hero-panel{
  position:relative;
  padding:28px;
  border-radius:28px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(204,0,51,.16);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
}

.hero-panel::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:22px;
  border:1px dashed rgba(204,0,51,.24);
  pointer-events:none;
}

.status-badge{
  position:relative;
  display:inline-flex;
  color:#fff;
  background:#111111;
  border-radius:999px;
  padding:5px 12px;
  font-size:13px;
  font-weight:900;
}

.key-info{
  position:relative;
  margin:22px 0 0;
  display:grid;
  gap:18px;
}

.key-info div{
  padding:0 0 16px;
  border-bottom:1px solid var(--line);
}

.key-info div:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.key-info dt,
.info-list dt{
  color:var(--muted);
  font-size:14px;
  font-weight:800;
  margin-top:2px;
}

.key-info dd,
.info-list dd{
  margin:0;
  font-weight:800;
}

/* News */

.notice-section{
  margin-top:0;
  position:relative;
  z-index:5;
  padding:36px 0 54px;
}

.notice-card,
.content-card,
.document-card,
.timeline-body{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(204,0,51,.14);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.notice-card{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:24px;
  padding:24px;
}

.news-list{
  list-style:none;
  margin:0;
  padding:0;
}

.news-list li{
  display:flex;
  gap:18px;
  align-items:baseline;
  padding:12px 0;
}

.news-list time{
  color:var(--main);
  font-weight:900;
  white-space:nowrap;
}

/* Cards */

.content-card{
  padding:30px;
}

.content-card p:first-child{
  margin-top:0;
}

.content-card p:last-child{
  margin-bottom:0;
}

/* Documents */

.document-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.document-card{
  padding:24px;
}

.document-card h3,
.timeline-body h3{
  margin:0 0 16px;
  font-size:20px;
  line-height:1.45;
}

.document-card-wide{
  grid-column:span 3;
}

.file-list{
  display:grid;
  gap:10px;
}

.file-link{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto 64px;
  align-items:center;
  gap:16px;
  min-height:76px;
  padding:14px 18px;
  border:1px solid rgba(204,0,51,.18);
  border-radius:18px;
  background:#fff;
  text-decoration:none;
  transition:.2s ease;
}

.file-link:hover{
  border-color:var(--main);
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(204,0,51,.12);
}

.file-name{
  min-width:0;
  color:var(--ink);
  font-weight:800;
  line-height:1.55;
}

.file-link small{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.file-type{
  justify-self:end;
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:16px;
  color:#fff;
  font-size:24px;
  line-height:1;
  box-shadow:0 10px 22px rgba(120,0,35,.14);
}

.file-type i{
  display:block;
  line-height:1;
}

.file-type-pdf{
  background:linear-gradient(135deg,var(--main),#e6003c);
}

.file-type-doc{
  background:linear-gradient(135deg,#111111,#3f3f46);
}

.file-type-xls{
  background:linear-gradient(135deg,#1f2937,#4b5563);
}

.file-type-zip{
  background:linear-gradient(135deg,#6b001b,#cc0033);
}

.file-link.single{
  margin-top:24px;
}

.sub-doc-list{
  margin:2px 0 8px;
  padding-left:1.2em;
  color:#475467;
  font-size:14px;
}

/* Deadline */

.deadline-section{
  background:
    radial-gradient(circle at 12% 20%,rgba(204,0,51,.09),transparent 32%),
    linear-gradient(180deg,#ffffff 0%,#fff6f8 100%);
}

.deadline-card{
  width:100%;
  max-width:none;
  margin:0;
  padding:36px 42px;
  border-radius:28px;
  border:1px solid rgba(204,0,51,.18);
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,246,248,.96));
  box-shadow:0 22px 54px rgba(35,24,28,.08);
}

.deadline-main{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.deadline-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  border-radius:999px;
  background:var(--main);
  color:#fff;
  font-size:.92rem;
  font-weight:800;
  letter-spacing:.08em;
}

.deadline-date{
  margin:0;
  color:#111827;
  font-size:clamp(1.5rem,3vw,2.25rem);
  line-height:1.4;
  font-weight:900;
  letter-spacing:-.02em;
}

.deadline-note{
  margin:20px 0 0;
  padding-top:18px;
  border-top:1px solid rgba(204,0,51,.15);
  color:#4b5563;
  line-height:1.9;
}

/* Timeline */

.timeline{
  display:grid;
  gap:22px;
}

.timeline-item{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  gap:22px;
  align-items:start;
}

.timeline-date{
  position:sticky;
  top:calc(var(--header-h) + 20px);
  padding:12px 14px;
  border-radius:999px;
  color:#fff;
  text-align:center;
  font-weight:900;
  background:linear-gradient(135deg,var(--main),#e6003c);
  box-shadow:0 12px 26px rgba(204,0,51,.22);
}

.timeline-body{
  padding:28px;
}

.timeline-body p{
  margin-top:0;
}

.info-list{
  display:grid;
  gap:10px;
  margin:20px 0;
}

.info-list div{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:16px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.callout{
  margin-top:22px;
  padding:22px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--main-soft),#fff);
}

.callout h4{
  margin:0 0 6px;
}

.callout p{
  margin:0 0 14px;
}

.note,
.edit-note{
  color:var(--muted);
  font-size:14px;
}

.edit-note{
  margin-top:14px;
  padding:10px 12px;
  border-radius:12px;
  background:#f8fafc;
}

/* Deadline reminder */

.deadline-reminder .timeline-date{
  background:linear-gradient(135deg,#111111,#3f3f46);
}

.deadline-reminder-body{
  border-color:rgba(204,0,51,.22);
  background:linear-gradient(135deg,rgba(255,240,244,.92),rgba(255,255,255,.96));
}

.deadline-mini{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:16px;
  padding:18px 20px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(204,0,51,.18);
}

.deadline-mini strong{
  color:#111827;
  font-size:clamp(1.15rem,2vw,1.55rem);
  line-height:1.5;
}

/* Privacy */

#privacy .section-heading,
#contact .section-heading{
  margin-bottom:28px;
}

/* Contact */

.contact-section{
  padding-bottom:120px;
  background:
    radial-gradient(circle at 12% 18%,rgba(204,0,51,.09),transparent 34%),
    linear-gradient(180deg,#fffdfd 0%,#fff6f8 100%);
}

.contact-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:28px;
  padding:34px;
  border:1px solid rgba(204,0,51,.16);
  border-radius:30px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,246,248,.96));
  box-shadow:var(--shadow);
}

.contact-panel-main{
  min-width:0;
}

.contact-lead{
  margin:0 0 22px;
  color:#475467;
  font-weight:700;
}

.contact-address{
  margin:0;
  padding:26px 28px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(204,0,51,.16);
  font-style:normal;
  line-height:2;
  color:#1f2937;
}

.contact-address strong{
  display:inline-block;
  margin-bottom:6px;
  font-size:1.08rem;
  color:#111827;
}

.contact-panel-side{
  display:grid;
  gap:14px;
  align-content:start;
}

.contact-link{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-height:86px;
  padding:18px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(204,0,51,.18);
  text-decoration:none;
  transition:.2s ease;
}

.contact-link:hover{
  transform:translateY(-2px);
  border-color:var(--main);
  box-shadow:0 14px 28px rgba(204,0,51,.12);
}

.contact-icon{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:16px;
  color:#fff;
  font-size:22px;
  background:linear-gradient(135deg,var(--main),#e6003c);
  box-shadow:0 10px 22px rgba(204,0,51,.22);
}

.contact-link.mail .contact-icon{
  background:linear-gradient(135deg,#111111,#3f3f46);
}

.contact-link small{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.contact-link strong{
  display:block;
  margin-top:2px;
  color:#111827;
  font-size:1rem;
  line-height:1.45;
  word-break:break-word;
}

/* Footer */

.site-footer{
  padding:56px 0;
  color:#d1d5db;
  background:#111111;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-inner p{
  margin:0;
}

/* Responsive */

@media (max-width:1100px){
  .site-nav a{
    font-size:13px;
    padding:9px 10px;
  }
}

@media (max-width:900px){
  :root{
    --header-h:70px;
  }

  .site-header{
    height:var(--header-h);
  }

  .nav-toggle{
    display:block;
    flex:0 0 auto;
  }

  .site-nav{
    position:absolute;
    left:20px;
    right:20px;
    top:76px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:14px;
    border:1px solid rgba(204,0,51,.16);
    border-radius:20px;
    background:#fff;
    box-shadow:var(--shadow);
  }

  .site-nav.is-open{
    display:flex;
  }

  .site-nav a{
    padding:12px 14px;
  }

  .hero{
    padding:52px 0 62px;
  }

  .hero-title{
    margin-bottom:26px;
  }

  .hero .hero-title h1{
    font-size:clamp(26px,7vw,40px);
    line-height:1.32;
  }

  .hero-layout{
    grid-template-columns:1fr;
    gap:22px;
  }

  .hero-copy,
  .hero-panel{
    padding:24px;
    border-radius:24px;
  }

  .lead{
    font-size:16px;
  }

  .notice-card{
    grid-template-columns:1fr;
  }

  .section{
    padding:70px 0;
  }

  .document-grid{
    grid-template-columns:1fr;
  }

  .document-card-wide{
    grid-column:auto;
  }

  .timeline-item{
    grid-template-columns:1fr;
  }

  .timeline-date{
    position:static;
    width:max-content;
  }

  .contact-panel{
    grid-template-columns:1fr;
    padding:24px;
    border-radius:24px;
  }

  .contact-panel-side{
    grid-template-columns:1fr;
  }
}

@media (max-width:560px){
  .header-inner,
  .section-inner,
  .hero-inner{
    width:min(100% - 24px,1180px);
  }

  .logo-mark{
    width:42px;
    height:42px;
    border-radius:13px;
  }

  .logo-text span{
    font-size:13px;
  }

  .logo-text small{
    font-size:11px;
  }

  .hero{
    padding:42px 0 54px;
  }

  .hero-copy,
  .hero-panel,
  .content-card,
  .document-card,
  .timeline-body{
    padding:20px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .button{
    width:100%;
  }

  .news-list li{
    display:block;
  }

  .news-list time{
    display:block;
    margin-bottom:4px;
  }

  .info-list div{
    grid-template-columns:1fr;
    gap:2px;
  }

  .file-link{
    grid-template-columns:minmax(0,1fr) 54px;
    gap:10px 12px;
    min-height:68px;
    padding:12px 14px;
  }

  .file-link small{
    grid-column:1;
    grid-row:2;
    margin-top:-4px;
  }

  .file-type{
    grid-column:2;
    grid-row:1 / span 2;
    width:46px;
    height:46px;
    border-radius:14px;
    font-size:21px;
  }

  .deadline-card{
    padding:28px 22px;
    border-radius:22px;
  }

  .deadline-main{
    gap:12px;
  }

  .deadline-date{
    font-size:1.45rem;
  }

  .contact-panel{
    padding:20px;
  }

  .contact-address{
    padding:20px;
    line-height:1.85;
    word-break:break-word;
  }

  .contact-link{
    grid-template-columns:46px minmax(0,1fr);
    min-height:74px;
    padding:14px;
  }

  .contact-icon{
    width:46px;
    height:46px;
    border-radius:14px;
    font-size:19px;
  }

  .footer-inner{
    display:block;
  }

  .footer-inner p + p{
    margin-top:8px;
  }
}
.application-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 18px;
  margin:0 0 22px;
  padding:4px 0 0;
  list-style:none;
}

.application-list li{
  position:relative;
  padding:0 0 0 30px;
  color:#1f2937;
  font-size:14px;
  font-weight:800;
  line-height:1.75;
}

.application-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.45em;
  width:17px;
  height:17px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--main),#e6003c);
  box-shadow:0 5px 12px rgba(204,0,51,.2);
}

.application-list li::after{
  content:"";
  position:absolute;
  left:6px;
  top:calc(.45em + 3px);
  width:4px;
  height:8px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
}