:root{
  --bg:#f3f1ec;
  --paper:#ffffff;
  --ink:#1f2328;
  --muted:#5b6470;
  --line:#d9d5cd;

  --dark:#0f141c;
  --dark2:#1a2331;

  --accent:#f3b34b;     /* flyerっぽい暖色 */
  --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(15,20,28,.92);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  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(255,255,255,.10);
  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 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color: #fff;
  text-decoration:none;
  font-weight: 750;
  font-size: 16px;
  cursor:pointer;
}
.btn:hover{ background: rgba(255,255,255,.14); }
.btn--primary{
  background: var(--accent);
  border-color: rgba(255,255,255,.22);
  color: #1a1a1a;
}
.btn--primary:hover{ filter: brightness(.98); }
.btn--ghost{
  background: transparent;
}

/* Hero */
.hero{
  position: relative;
  min-height: 650px;
  color: #fff;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
}
.hero__overlay{
  position:absolute;
  inset:0;
}
.hero__inner{
  position:relative;
  padding: 450px 0px 0px 420px;
}
.hero__headline{
  max-width: 700px;
}
.pill{
  display:inline-block;
  background: rgba(255, 217, 0, 0.7);
  border: 1px solid rgba(255,255,255,.22);
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: .2px;
}
.hero h1{
  margin: 12px 0 10px;
  font-size: 45px;
  line-height: 1.12;
  letter-spacing: .4px;
}
.hero .thin{ font-weight: 650; opacity:.95; }
.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: rgba(243,179,75,.92);
  color: #1a1a1a;
  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: #efe9df;
  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: 0 0 6px;
  font-size: 24px;
  letter-spacing: .2px;
}
.section__desc{
  margin: 0 0 18px;
  font-size: 16px;
}

/* Block split */
.block{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 14px;
}
.block--split{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.media{
  overflow:hidden;
  border: 1px solid var(--line);
  background: #faf7f2;
  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: #fff;
}
.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: #fbf6ec;
  border: 1px dashed rgba(0,0,0,.20);
  font-size: 12px;
  color: #3a3a3a;
}

/* 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__pill{
  display:inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: #1f2328;
  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-bottom: 10px;
  padding: 10px 10px;
  background: #faf7f2;
}
.priceBox__label{ font-size: 20px; font-weight: 800; color: #f3b34b}
.priceBox__value{ font-size: 20px; font-weight: 900; letter-spacing: .2px; margin-top: 2px; }
.metaRow{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.meta{
  font-size: 12px;
  color: #2a2a2a;
  background: #fff;
  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: 160px;
  object-fit: cover;
  display:block;
  background: #faf7f2;
  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: #faf7f2;
  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{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.contact__box{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 14px;
}
.contact__name{
  font-weight: 900;
  margin-bottom: 8px;
}
.contact__row{
  font-size: 13px;
  color: #2a2a2a;
  margin: 4px 0;
}
.contact__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.contact__actions .btn{
  color: #fff;
  border-color: rgba(0,0,0,.10);
  background: #1f2328;
}
.contact__actions .btn:hover{ background: #2a2f37; }
.contact__actions .btn--primary{
  background: var(--accent);
  color: #1a1a1a;
}

/* 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: #1f2328;
}
.downloads .btn:hover{ background: #2a2f37; }
.downloads .btn--primary{
  background: var(--accent);
  color: #1a1a1a;
}
.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{ grid-template-columns: 1fr; }
}
