:root{
  --bg:#eaf2fa;
  --paper:#ffffff;
  --ink:#172638;
  --muted:#4f6174;
  --line:#c8d6e6;
  --blue: #1f67d2;
  --blue2: #0d9bd7;

  --dark:#0c233d;
  --dark2:#154067;

  --accent:#2f8fdd;
  --accent2:#ffffff;

  --radius:14px;
  --radius2:18px;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --max: 980px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  color:var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height:1.65;
  padding-top: var(--topbar-h, 0px);
}

a{ color: inherit; text-decoration: underline; text-underline-offset: 2px; }
a:hover{ opacity:.9; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Topbar */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(12,35,61,.94);
  color: #fff;
  border-bottom: 1px solid rgba(173,210,245,.35);
  backdrop-filter: blur(10px);
}

/* Fixed header offset for in-page anchors */
section[id], main[id]{
  scroll-margin-top: calc(var(--topbar-h, 0px) + 12px);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  color:#fff;
  text-decoration:none;
  min-width: 240px;
}
.brand__logo{
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.22);
}
.brand__text{ display:flex; flex-direction:column; line-height:1.7; }
.brand__name{ font-weight: 800; font-size: 24px; letter-spacing:.2px; }
.brand__sub{ font-weight: 650; opacity:.9; }
.brand__tag{ font-size: 16px; opacity: .82; }

.topnav{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.topnav a{
  color: rgba(255,255,255,.86);
  text-decoration:none;
  font-size: 18px;
  padding: 8px 10px;
  border-radius: 10px;
}
.topnav a:hover{
  background: rgba(173,210,245,.22);
  color: #fff;
}

.topbar__cta{
  display:flex;
  gap: 10px;
  align-items:center;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(173,210,245,.45);
  background: rgba(173,210,245,.16);
  color: #fff;
  text-decoration:none;
  font-weight: 750;
  font-size: 16px;
  cursor:pointer;
}
.btn:hover{ background: rgba(71, 50, 255, 0.8); }
.btn--primary{
  background: var(--accent);
  border-color: rgba(173,210,245,.55);
  color: #fff;
}
.btn--primary:hover{ filter: brightness(.98); }
.btn--ghost{
  background: transparent;
}

.hero__inner .btn{ font-size: 18px; margin-left: 20px; }
.campaign__main .btn{ font-size: 18px; padding: 6px 16px; margin-left: 6px;}

/* Hero */
.hero{
  position: relative;
  min-height: 500px;
  color: #fff;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0, 20, 60, 0.4) 0%, rgba(15, 40, 80, 0.4) 50%);
}

.hero__inner{
  position: relative;
  padding: 60px 0px 80px 24px;
}
.hero__headline{
  max-width: 800px;
  margin-bottom: 20px;
}
.pill{
  display:inline-block;
  background: rgba(36,119,191,.9);
  border: 1px solid rgba(173,210,245,.45);
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: .2px;
}
.hero h1{
  margin: 60px 0 40px;
  font-size: 60px;
  line-height: 1.12;
  letter-spacing: .4px;
}
.hero h2 {
  margin: 30px 20px 0;
  font-weight: 650;
  font-size: 24px;
  letter-spacing: .2px;
}

.hero .jp{ font-weight: 800; }
.hero__lead{
  margin: 0;
  font-size: 16px;
}
.hero__badges{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.badge{
  display:inline-block;
  background: var(--accent);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.badge--light{
  background: rgba(255,255,255,.16);
  color:#fff;
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 700;
}
.hero__actions{
  display:flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero__actions .btn{
  border-color: rgba(255,255,255,.22);
}

/* Sections */
.section{
  padding: 32px 0;
}
.section--soft{
  background: #deebf8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--paper{
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__title{
  margin: 30px 0 6px;
  font-size: 24px;
  letter-spacing: .2px;
}
.section__desc{
  margin: 0 0 0 10px;
  font-size: 16px;
}

/* Block split */
.block{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 14px;
  margin: 8px 0 18px;
}
.block--split{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.media{
  overflow:hidden;
  border: 1px solid var(--line);
  background: #edf4fb;
  position:relative;
  min-height: 420px;
}
.media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* Prefer showing the whole image (no crop) when needed */
.media--contain img{
  object-fit: contain;
}
.media__cap{
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.08);
  font-size: 12px;
  color: #2a2a2a;
}

.listbox{
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px;
  background: #f8fbff;
}
.listbox__title{
  margin: 0 0 8px;
  font-size: 15px;
}
.check{
  margin: 0;
  padding-left: 18px;
}
.check li{ margin: 6px 0; }
.note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #edf5ff;
  border: 1px dashed rgba(20,70,120,.28);
  font-size: 12px;
  color: #1f3850;
}

.notice {
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  font-size: 13px;
}
/* Campaign */
.headlineRow{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.campaign{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
}
.campaign__main, .campaign__side{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 14px;
}
.campaign__subTitle {
  margin-left: 10px;
  font-size: 16px;
}
.campaign__mainTitle {
  margin-left: 10px;
  font-weight: 800;
  font-size: 24px;
}
.campaign__pill{
  display:inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: #12365a;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
.campaign__lead{ margin: 10px 0 8px; color: var(--muted); font-size: 13px; }
.priceRow{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}
.priceBox{
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 20px 0;
  padding: 10px 10px;
  background: #f2f8ff;
}
.priceBox__label{ font-size: 20px; font-weight: 800; color: var(--accent)}
.priceBox__value{ font-size: 24px; font-weight: 900; letter-spacing: .2px; margin: 2px auto 10px 80px; }
.priceBox__option{ font-size: 16px; font-weight: 600; margin-left: 50px;}
.priceBox__note{ font-size: 16px; font-weight: 400; margin-left: 42px;}
.metaRow{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.meta{
  font-size: 12px;
  color: #1f3850;
  background: #f6faff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
}
.smallLine{
  margin: 10px 0 0 10px;
  font-size: 13px;
  color: #2a2a2a;
}
.campaign__sideTitle{ margin: 0 0 10px; font-size: 14px; }
.dot{
  margin: 0;
  padding-left: 18px;
  color: #2a2a2a;
  font-size: 13px;
}
.dot li{ margin: 6px 0; }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card img{
  width:100%;
  height: 220px;
  object-fit: cover;
  display:block;
  background: #edf4fb;
  border-bottom: 1px solid var(--line);
}
.card h3{
  margin: 12px 12px 6px;
  font-size: 14px;
}
.card p{
  margin: 0 12px 12px;
  color: var(--muted);
  font-size: 12px;
}

/* Accordion */
.accordionWrap{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 8px;
  box-shadow: var(--shadow);
}
.accordion{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  background: #fff;
  overflow:hidden;
}
.accordion + .accordion{ margin-top: 8px; }
.accordion summary{
  list-style:none;
  cursor:pointer;
  padding: 12px 12px;
  font-weight: 850;
  background: #f2f8ff;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.accordion summary::-webkit-details-marker{ display:none; }
.accordion summary::after{
  content: "▾";
  position:absolute;
  right: 12px;
  top: 10px;
  font-size: 16px;
  opacity: .75;
  transform: rotate(0deg);
  transition: transform .14s ease;
}
.accordion[open] summary::after{
  transform: rotate(180deg);
}
.accordion__body{
  padding: 12px 12px 14px;
  color: #2a2a2a;
}
.accordion__body h4{
  margin: 12px 0 6px;
  font-size: 13px;
}
.plain{
  margin: 0;
  padding-left: 18px;
  color: #2a2a2a;
  font-size: 12px;
}
.plain li{ margin: 6px 0; }

.muted{ color: var(--muted); }

/* Contact */
.contact {
  text-align: center;
  margin: 32px 0 0 50px;
}

.section--contact {
  padding: 54px 0;
  background: rgba(12,35,61,.94);
}

.contact__logo {
  width: min(240px, 70%);
  margin: 80px 0 6px 40px;
  display: block;
}

.contact__name {
  font-size: 28px;
  font-weight: 900;
}

.contact__link {
  color: rgba(255, 255, 255, .86);
}

.contact__row {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, .86fr);
  gap: 44px;
  align-items: start;
}

.contact-copy {
  display: grid;
  align-content: start;
}

.contact-copy .eyebrow {
  color: var(--yellow);
}

.contact-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
}

.contact-copy p {
  margin: 16px 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, .78);
}

.contact-copy .contact-accordion {
  margin-top: 28px;
}

.contact-layout>.contact {
  margin-top: 0;
}

.contact-accordion {
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.contact-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 22px 64px 22px 24px;
  cursor: pointer;
  list-style: none;
  background: #fff;
}

.contact-accordion summary::-webkit-details-marker {
  display: none;
}

.contact-accordion summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.contact-accordion[open] summary::after {
  content: "-";
}

.contact-accordion summary strong,
.contact-accordion summary small {
  display: block;
}

.contact-accordion summary strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.contact-accordion summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: #f7faff;
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #f9fbfe;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 155, 215, .16);
}

.contact-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__submit {
  justify-self: start;
  min-width: 150px;
  border: 0;
}

/* Footer */
.footer{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap:wrap;
  font-size: 12px;
  color: var(--muted);
}
.footer__left strong{ color: var(--ink); }

/* Downloads page: make buttons readable on light background */
.downloads .btn{
  color: #fff;
  border-color: rgba(0,0,0,.10);
  background: #12365a;
}
.downloads .btn:hover{ background: #1b4a77; }
.downloads .btn--primary{
  background: var(--accent);
  color: #fff;
}
.downloads .btn--ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.downloads .btn--ghost:hover{ background: rgba(0,0,0,.04); }

.downloads__cardMeta{
  margin: 0 12px 10px;
  font-size: 12px;
}
.downloads__cardActions{
  margin: 0 12px 12px;
}
.downloads__cardList{
  margin: 0 12px 12px;
}

/* Responsive */
@media (max-width: 920px){
  .topnav{ display:none; }
  .hero h1{ font-size: 34px; }
  .block--split{ grid-template-columns: 1fr; }
  .campaign{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .contact-layout{ grid-template-columns: 1fr; gap: 24px; }
  .contact-layout>.contact{ margin: 0; }
  .contact__logo{ margin: 24px auto 6px; }
}

@media (max-width: 620px){
  .topbar__inner{ gap: 6px; }
  .brand{ min-width: 0; }
  .brand__logo{ width: 44px; height: 44px; }
  .brand__name{ font-size: 18px; white-space: nowrap; }
  .brand__tag,
  .topbar__cta .btn:not(.btn--language){ display: none; }
  .topbar__cta .btn{ padding: 8px 10px; font-size: 14px; }
}
