@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Sans+JP:wght@400;500;600&family=Poppins:wght@500;600&display=swap");

/* =========================================================
   Hi-QUBO Minimal - main.css
   flat / square corners
   - JP font: Plex Sans JP
   - No shadows
   - No rounded corners
   ========================================================= */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}


:root{
  /* Colors */
  --bg:#ffffff;
  --ink:#161616;
  --muted:#161616;
  --line:#e0e0e0;

  --brand:#0f62fe;
  --brand-2:#0043ce;
  --ink-2:#0b1a3a;

  --hq-accent: var(--brand, #0f62fe);

  /* Layout */
  K60px;
  --gutter: clamp(20px, 3.2vw, 48px);

  /* Square */
  --radius: 0px;

  /* Focus */
  --focus: 0 0 0 3px rgba(15,98,254,.22);

  /* Type scale */
  Opx;
  Lpx;
  --fz-kicker: 14px;
  --fz-hero: clamp(38px, 4.8vw, 80px);
  --fz-hero-sub: clamp(16px, 1.8vw, 40px);
  --fz-h2: clamp(24px, 2.6vw, 36px);
  Rpx;
  --fz-lead: clamp(30px, 3.8vw, 52px);
  --fz-head: clamp(20px, 2vw, 28px);
  --lh: 1.7;
  --lh-tight: 1.15;
}

/* Reset-ish */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  overflow-x:hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans JP","IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial,
               "Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic", Meiryo, sans-serif;
  font-size: var(--fz-base);
  line-height: var(--lh);
  letter-spacing: .01em;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ color:inherit; }

a:focus-visible,
button:focus-visible{
  outline:none;
  box-shadow: var(--focus);
}

/* Containers (header/footer use .container, page uses .hq-container) */
.container,
.hq-container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}


/* Helpers */
.hq-en{ font-family: "Poppins", "IBM Plex Sans", sans-serif; }

/* =========================================================
   Header
   ========================================================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand{
  flex: 0 0 auto;
  font-size: 25px;
  font-family: "Poppins", "IBM Plex Sans", sans-serif;
  font-weight: 500;
}

.brand a{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

/* ナビ */
.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav__link{
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: var(--fz-small);
  transition: color .18s ease;
}

/* 下線 */
.nav__link::after{
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.nav__link:hover,
.nav__link[aria-current="page"]{
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after{
  transform: scaleX(1);
}

@media (max-width: 620px) {
    .nav.is-open .nav__link {
        width: 100%;
        padding: 10px 0;
        justify-content: center;
        text-align: center;
        font-weight: 600;
    }
}

/* CTA */
.header-cta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-cta .btn{
  white-space: nowrap;
}

/* ハンバーガーはPCでは隠す */
.nav-toggle{
  display: none;
}




/* =========================
   style
   ========================= */

.wp-block-heading {
    padding-top: 50px;
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

section {
    display: block;
    unicode-bidi: isolate;
}

div {
    display: block;
    unicode-bidi: isolate;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}


ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}
ul {
    list-style-type: disc;
}
li {
    display: list-item;
    unicode-bidi: isolate;
}

/* =========================
   News archive page
   ========================= */

.hq-newsArchive__pager .page-numbers{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hq-newsArchive__section{
  padding: 0 0 72px;
  background: transparent;
}

.hq-newsArchive__list{
  list-style: none;
  margin: 64px 0;
  padding: 0;
}

.hq-newsArchive__item{
  border-bottom: 1px solid var(--line);
}

.hq-newsArchive__link{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  color: var(--ink);
  text-decoration: none;
}

.hq-newsArchive__link:hover{
  background: transparent;
}

.hq-newsArchive__meta{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hq-newsArchive__date{
  font-family: "IBM Plex Sans", "Poppins", sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  flex: 0 0 auto;
}

.hq-newsArchive__label{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(15,98,254,.35);
  background: rgba(15,98,254,.08);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

.hq-newsArchive__title{
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
  min-width: 0;
}

.hq-newsArchive__pager{
  margin-top: 32px;
}

.hq-newsArchive__pager .page-numbers{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hq-newsArchive__pager .page-numbers a,
.hq-newsArchive__pager .page-numbers span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.hq-newsArchive__pager .page-numbers .current{
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

@media (max-width: 980px){
  .hq-newsArchive__link{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.hq-backLink{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.hq-backLink:hover{
  color: var(--brand-2);
}

.hq-backLink__text{
  text-decoration: none;
}

.hq-backLink:hover .hq-backLink__text{
  text-decoration: underline;
}

.hq-backLink__arrow::before{
  content: "\f060";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  line-height: 1;
}
.hq-backLinkWrap{
  margin: 32px 0;
}
.hq-backLinkWrap{
  margin-top: 24px;
}

.hq-backLinkWrap--left{
  display: flex;
  justify-content: flex-start;
}

.hq-backLink{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.hq-backLink:hover{
  color: var(--brand-2);
}

.hq-backLink__text{
  text-decoration: none;
}

.hq-backLink:hover .hq-backLink__text{
  text-decoration: underline;
}

/* 既存: 左矢印 */
.hq-backLink__arrow::before{
  content: "\f060";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  line-height: 1;
}

/* 右矢印版 */
.hq-backLink--next .hq-backLink__arrow::before{
  content: "\f061";
}
/* =========================
   Small desktop / tablet
   ========================= */
@media (max-width: 1180px){
  .header-cta{
    display: none;
  }

  .header-inner{
    gap: 14px;
  }

  .nav{
    gap: 10px;
  }

  .nav__link{
    font-size: 14px;
    padding: 10px 6px;
    letter-spacing: 0;
  }

  .nav__link::after{
    left: 6px;
    right: 6px;
  }
}

@media (max-width: 1024px){
  .header-inner{
    gap: 10px;
    min-height: 76px;
  }

  .nav{
    gap: 4px;
  }

  .nav__link{
    font-size: 15px;
    padding: 10px 5px;
  }

  .nav__link::after{
    left: 5px;
    right: 5px;
  }
}


/* =========================
   Post Page
   ========================= */

.single-header{
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter) 16px;
  box-sizing: border-box;
}

.single-meta{
  margin: 8px 0 0;
  color: var(--hcb--line-numbers--c);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 800;
}

.single-content{
  /*  max-width: 72ch; */
}
/* =========================
   Mobile
   ========================= */
@media (max-width: 620px){
  .header-inner{
    min-height: 64px;
    position: relative;
  }

  .nav{
    display: none;
  }

  .nav.is-open{
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .nav.is-open .nav__link{
    width: 100%;
    padding: 10px 0;
  }

  .nav.is-open .nav__link::after{
    display: none;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta{
    display: none;
  }
}

/* Mobile menu button */
.nav-toggle{
  display:none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  width: 18px;
  margin: 4px auto;
  background: var(--ink);
  opacity:.85;
}
/* =========================================================
   Post table
   ========================================================= */
.single-content table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  margin: 24px 0;
  background: #fff;
}

.single-content table tr{
  border-bottom: 1px solid var(--line);
}

.single-content table tr:first-child{
  border-top: 1px solid var(--line);
}

.single-content table th,
.single-content table td{
  padding: 18px 16px;
  vertical-align: top;
  text-align: left;
  border: 0;
  line-height: 1.8;
  word-break: break-word;
}

/* 左列：th がある場合 */
.single-content table th{
  width: 20%;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* WordPress標準テーブルブロック対策：左列も td の場合 */
.single-content table td:first-child{
  width: 20%;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* 右列 */
.single-content table td:last-child{
  width: 80%;
  color: var(--muted);
}

.single-content table a{
  color: var(--brand);
  text-decoration: none;
}

.single-content table a:hover{
  text-decoration: underline;
}

/* スマホ */
@media (max-width: 640px){
  .single-content table th,
  .single-content table td{
    padding: 14px 12px;
    font-size: 14px;
    line-height: 1.7;
  }

  .single-content table th,
  .single-content table td:first-child{
    width: 22%;
  }

  .single-content table td:last-child{
    width: 78%;
  }
}
/* =========================================================
   Buttons (header uses .btn, page uses .hq-btn)
   - Primary hover: darken bg only; keep white text
   - Square corners
   ========================================================= */
.btn,
.hq-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  border: 1px solid transparent;
  background: transparent;

  font-size: var(--fz-small);
  font-weight: 600;

  padding: 12px 16px;
  cursor:pointer;

  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.btn:hover,
.hq-btn:hover{ transform: none; }

.btn--primary,
.hq-btn--primary{
  background: var(--brand);
  border-color: var(--brand);
  color:#fff;
}
.btn--primary:hover,
.hq-btn--primary:hover{
  background: var(--brand-2);
  border-color: var(--brand-2);
  color:#fff;
}

.btn--outline,
.hq-btn--outline{
  background:#fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover,
.hq-btn--outline:hover{
  background: rgba(15,98,254,.06);
  border-color: rgba(15,98,254,.45);
  color: var(--ink);
}

/* link button (text + arrow; underline on hover text only) */
.hq-linkArrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: var(--brand);
  font-weight: 600;
}
.hq-linkArrow:hover{ color: var(--brand-2); }
.hq-linkArrow__text{ text-decoration: none; }
.hq-linkArrow:hover .hq-linkArrow__text{ text-decoration: underline; }
.hq-linkArrow svg{ width: 18px; height: 18px; flex: 0 0 auto; }

/* =========================================================
   Page sections
   ========================================================= */
.hq{ background: var(--bg); }

.hq-section{
  padding-top: 50px;
  padding-bottom: 10px;
}
.hq-section__title{
  margin: 0 0 22px;
  font-size: var(--fz-h2);
  line-height: 1.25;
  letter-spacing: 0;
}

.hq-section:last-child{
  padding-top: 50px;
  padding-bottom: 100px;
}



/* =========================================================
   Hero
   ========================================================= */
.hq-hero{
  padding: clamp(52px, 6vw, 92px) 0 72px;
  background: #fff;
}
.hq-hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 36px);
  align-items:start;
}
.hq-kicker{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: var(--fz-kicker);
}

/* Gradient title text (blue × dark) */
.hq-hero__title{
  margin: 0 0 18px;
  line-height: var(--lh-tight);
  letter-spacing: .02em;
  font-weight: 500;

  background: linear-gradient(90deg, var(--brand) 0%, var(--ink-2) 56%, var(--ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hq-hero__title .hq-hero__main{
  display: inline-block;
  font-size: var(--fz-hero);
}
.hq-hero__title .hq-hero__sub{
  display: block;
  margin-top: 10px;
  font-size: var(--fz-hero-sub);
  letter-spacing: 0.01em;
  font-weight: 600;
}

.hq-hero__lead{
  margin: 22px 0;
}

.hq-hero__lead p{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: var(--fz-base);
  max-width: 68ch;
}
.hq-hero__actions{ margin-top: 30px; }

.hq-hero__img{
  width: 100%;
  /* border: 1px solid var(--line); */
  object-fit: cover;
  /* aspect-ratio: 16 / 10; */
}

/* =========================================================
   Split layout (image left / content right)
   ========================================================= */
.hq-split{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(18px, 3vw, 34px);
  align-items:start;
}
.hq-split__media img{
  width: 100%;
  /* border: 1px solid var(--line); */
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.hq-panel{
  background:#fff;
  border: 1px solid var(--line);
  padding: 18px;
}
.hq-panel p{
  margin: 0 0 14px;
  color: var(--muted);
}
.hq-split__content .hq-panel{
  padding: 0;
  border: 0;
  background: transparent;
}

/* =========================================================
   Feature list (flat)
   ========================================================= */
.hq-features{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.hq-feature{
  grid-column: span 4;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.hq-feature__head{
  display:flex;
  align-items:flex-start;
  gap: 10px;
}
.hq-feature__icon{
  width: 28px;
  height: 28px;
  color: var(--brand);
  flex: 0 0 auto;
}
.hq-feature__title{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.hq-feature__desc{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: var(--fz-base);
}

/* =========================================================
   Banner section (promo strip)
   ========================================================= */
.hq-banner{
  margin: 56px 0 0;
  background: #f4f4f4;
}
.hq-banner__inner{
  display: grid;
  grid-template-columns: 1.05fr 1.3fr auto;
  gap: clamp(14px, 2.2vw, 22px);
  align-items: center;
  padding: 28px 0;
}

.hq-banner__graphic {
    padding: 0;
}
.hq-banner__graphicImg{
  display:block;
  width: 100%;
  height: auto;
}

.hq-banner__graphic svg{
  width: 100%;
  height: auto;
  display:block;
}
.hq-banner__kicker{
  margin: 0 0 6px;
  color: var(--muted);
  font-size: var(--fz-small);
  font-weight: 600;
}
.hq-banner__title{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.hq-banner__desc{
  margin: 0;
  color: var(--muted);
}
.hq-banner__cta{
  justify-self:end;
}




/* =========================================================
   NEW: Latest News (WP posts) section (list strip)
   ========================================================= */
.hq-news{
  background:#f2f4f8;
  padding: 18px 0;
}
.hq-news__list{
  list-style:none;
  margin: 0;
  padding: 0;
}
.hq-news__item + .hq-news__item{
  border-top: 1px solid var(--line);
}
.hq-news__link{
  display:grid;
  grid-template-columns: 200px 1fr auto;
  gap: 16px;
  align-items:center;
  padding: 20px 0;
  color: var(--ink);
}
.hq-news__link:hover{
  background: rgba(255,255,255,.6);
}
.hq-news__meta{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.hq-news__date{
  font-family: "IBM Plex Sans", "Poppins", sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
  flex: 0 0 auto;
}
.hq-news__label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(15,98,254,.35);
  background: rgba(15,98,254,.08);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.hq-news__title{
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
  min-width: 0;
}
.hq-news__cta{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.hq-news__ctaText{
  color: var(--ink);
  font-size: 14px;
}
.hq-news__ctaIcon{
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  display:grid;
  place-items:center;
}
.hq-news__ctaIcon svg{
  width: 16px;
  height: 16px;
}
.hq-news__link:hover .hq-news__ctaIcon{
  background: rgba(15,98,254,.08);
  border-color: var(--brand-2);
  color: var(--brand-2);
}
@media (max-width: 980px){
  .hq-news__link{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }
  .hq-news__ctaText{ color: var(--brand); }
  .hq-news__ctaIcon{ border-color: var(--brand); color: var(--brand); }
}

/* =========================================================
   NEW: Quickstart + Use-cases list section
   ========================================================= */
.hq-highlight{
  margin-top: 64px;
}
.hq-highlight__inner{
  /* kept for backward compatibility; do not add width/padding here */
}
.hq-highlight__grid{
  display:grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hq-highlight__media{
  position: relative;
  border-right: 1px solid var(--line);
  min-height: 520px;
  background: #fff;
}
.hq-highlight__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  min-height: 520px;
}
.hq-highlight__card{
  position:absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 88%);
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: 18px;
}
.hq-highlight__label{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: var(--fz-small);
  font-weight: 600;
}
.hq-highlight__cardTitle{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.hq-highlight__cardLink{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding-top: 10px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--brand);
  font-weight: 600;
}
.hq-highlight__cardLink:hover{ color: var(--brand-2); }
.hq-highlight__cardLink span{ text-decoration:none; }
.hq-highlight__cardLink:hover span{ text-decoration: underline; }
.hq-highlight__cardLink svg{ width: 18px; height: 18px; }

.hq-highlight__side{
  background:#fff;
  padding: 22px 0 0;
}
.hq-highlight__sideInner{
  padding: 0 0 0 0;
}
.hq-highlight__sideTitle{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  padding: 0 0 12px 22px;
}
.hq-highlight__list{
  list-style:none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.hq-highlight__item{
  border-bottom: 1px solid var(--line);
}
.hq-highlight__item:last-child{
  border-bottom: 0;
}
.hq-highlight__link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 22px;
  color: var(--brand);
  font-weight: 500;
}
.hq-highlight__link:hover{ color: var(--brand-2); }
.hq-highlight__linkText{
  text-decoration:none;
}
.hq-highlight__link:hover .hq-highlight__linkText{
  text-decoration: underline;
}
.hq-highlight__link svg{ width: 18px; height: 18px; flex: 0 0 auto; }


/* =========================================
   Highlight section mobile fix
   ========================================= */
@media (max-width: 620px){

  /* 右側タイトルを確実に表示 */
  .hq-highlight__side{
    display: block;
    padding-top: 0;
    background: #fff;
  }

  .hq-highlight__sideInner{
    display: block;
  }

  .hq-highlight__sideTitle{
    display: block;
    visibility: visible;
    opacity: 1;
    margin: 0;
    padding: 16px 18px 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  /* 一覧の余白をスマホ向けに少し詰める */
  .hq-highlight__link{
    padding: 14px 18px;
  }

  /* クイックスタートのリンクはスマホ時だけ下線を付ける */
  .hq-highlight__cardLink{
    text-decoration: none;
  }

  .hq-highlight__cardLink span:first-child{
    text-underline-offset: 0.14em;
  }
}



/* =========================================================
   NEW: Large lead statement (2-col)
   ========================================================= */
.hq-lead{
  padding: 78px 0;
  /* border-bottom: 1px solid var(--line); */
}
.hq-lead__grid{
  display:grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(22rem, 1.2fr);
  gap: clamp(16px, 3vw, 34px);
  align-items:start;
}
.hq-lead__title{
  margin: 0;
  font-size: var(--fz-lead);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0;
}
.hq-lead__copy{
  color: var(--ink);
}
.hq-lead__copy p{
  margin: 0 0 14px;
  color: var(--ink);
}

/* =========================================================
   Download cards (square, image top, separators)
   - No grey full-width background
   - No section heading here
   ========================================================= */
/* Grid wrapper */
.hq-formCards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(0,0,0,.14);
  border-left: 1px solid rgba(0,0,0,.14);
}

.hq-formCard{
  display: block;
  color: inherit;
  text-decoration: none;
  background: #fff;
  min-height: 240px;
  border-right: 1px solid rgba(0,0,0,.14);
  border-bottom: 1px solid rgba(0,0,0,.14);
}

.hq-formCard__inner{
  height: 100%;
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.hq-formCard__title{
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 600;
}

.hq-formCard__copy{
  margin: 0;
  max-width: 56ch;
  line-height: 1.65;
  color: rgba(0,0,0,.78);
}

.hq-formCard__footer{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand, #0f62fe);
  font-weight: 600;
}

.hq-formCard__cta{
  font-size: .95rem;
  color: inherit;
}

.hq-formCard__arrow{
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hq-formCard__arrow .hq-linkArrow__icon,
.hq-formCard__arrow .hq-linkArrow__icon::before{
  color: inherit;
}

.hq-formCard:hover{
  background: #fff;
}

.hq-formCard:hover .hq-formCard__inner{
  background: rgba(0,0,0,.01);
}

.hq-formCard:focus-visible{
  outline: 2px solid var(--brand, #0f62fe);
  outline-offset: -2px;
}

/* tablet */
@media (max-width: 1024px){
  .hq-formCards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* mobile */
@media (max-width: 640px){
  .hq-formCards{
    grid-template-columns: 1fr;
  }

  .hq-formCard{
    min-height: 220px;
  }

  .hq-formCard__inner{
    padding: 18px;
  }
}


/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: #0f0f0f;
  color: #f4f4f4;
  padding: 58px 0 26px;
}

.footer-inner{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand,
.footer-links,
.footer-meta{
  width: 100%;
}

/* 左カラム */
.footer-brand{
  max-width: 34ch;
  justify-self: start;
  text-align: left;
}

.footer-brand__name{
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 25px;
  font-family: "Poppins", "IBM Plex Sans", sans-serif;
  font-weight: 500;
}

.footer-brand__desc{
  margin: 0;
  color: rgba(255,255,255,.78);
}

/* 真ん中カラム */
.footer-links{
  max-width: 120px;
  justify-self: center;
  text-align: left;
}

.footer-links a{
  display: block;
  color: rgba(255,255,255,.78);
  margin-bottom: 8px;
  font-size: var(--fz-small);
}

.footer-links a:hover{
  color: #fff;
  text-decoration: underline;
}

/* 右カラム：真ん中と同じく中央配置、文字は左 */
.footer-meta{
  max-width: 120px;
  justify-self: center;
  text-align: left;
}

.footer-meta a{
  display: block;
  color: rgba(255,255,255,.78);
  margin-bottom: 8px;
  font-size: var(--fz-small);
}

.footer-meta a:hover{
  color: #fff;
  text-decoration: underline;
}

/* 最下部 */
.footer-bottom{
  padding-top: 18px;
}

.copyright{
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

/* =========================
   Tablet / Mobile
   ========================= */
@media (max-width: 980px){
  .footer-inner{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand{
    justify-self: start;
    max-width: 34ch;
    text-align: left;
  }

  .footer-links,
  .footer-meta{
    justify-self: center;
    max-width: none;
    text-align: center;
  }

  .footer-links a,
  .footer-meta a{
    margin-bottom: 10px;
  }
}
/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1120px){
  .hq-highlight__grid{ grid-template-columns: 1.4fr 1fr; }
  .hq-highlight__media{ min-height: 480px; }
  .hq-highlight__img{ min-height: 480px; }
}
@media (max-width: 980px){
  .hq-hero__grid{ grid-template-columns: 1fr; }
  .hq-split{ grid-template-columns: 1fr; }
  .hq-features .hq-feature{ grid-column: span 6; }

  .hq-highlight__grid{ grid-template-columns: 1fr; }
  .hq-highlight__media{ border-right: 0; /* border-right: 1px solid var(--line); */ }
  .hq-highlight__card{ right: 0; width: min(520px, 92%); }
  .hq-highlight__sideTitle{ padding-left: 20px; }
  .hq-highlight__link{ padding: 16px 20px; }

  .hq-lead__grid{ grid-template-columns: 1fr; gap: 18px; }
  .hq-banner { padding-bottom: 20px; }
  .hq-banner__inner{ grid-template-columns: 1fr; }
  .hq-banner__cta{ justify-self:start; }
  .footer-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 620px){
  .nav{ display:none; }
  .nav.is-open{
    display:flex;
    position:absolute;
    left: 0;
    right: 0;
    top: 60px;
    background:#fff;
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter);
    flex-direction: column;
    gap: 6px;
  }
  .header-inner{ position: relative; }
  .nav-toggle{ display:block; }
  .header-cta{ display:none; }

  .hq-features .hq-feature{ grid-column: span 12; }

  .hq-btn{ width: 100%; }
  .hq-highlight__card{ position: static; width: 100%; border-left: 0; }
  .hq-highlight__media{ min-height: auto; }
  .hq-highlight__img{ min-height: auto; aspect-ratio: 16 / 10; }
}









/* === FORCE GUTTER (override) =================== */
:root{
  --container: 1500px;                 /* 必要なら 1200〜1280で調整 */
  --gutter: clamp(16px, 2.6vw, 36px);
}

/* containerの左右余白を強制 */
.container,
.hq-container,
.site-header .container,
.site-footer .container{
  max-width: var(--container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
  width: 100%;
}



/* Banner: 画像の上下余白を0にして背景とツライチに */
.hq-banner__inner{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  /* 横の余白は残す（必要なら数値調整） */
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;

  align-items: stretch; /* 高さを揃える */
}

.hq-banner__graphic{
  align-self: stretch;   /* バナーの高さに合わせる */
  display: flex;
}

.hq-banner__graphicImg{
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: cover;     /* 余白を作らず面で埋める */
}

/* Banner: 画像は上下ツライチ、右側は縦中央 */
.hq-banner__inner{
  align-items: stretch; /* 画像ツライチ維持 */
}

/* 右側（文章＋ボタン）をまとめて縦中央に */
.hq-banner__right{
  align-self: center;              /* ←これが縦中央の決め手 */
  display: flex;
  align-items: center;             /* copy と cta の縦位置を揃える */
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

/* 右側の中で、文章を伸ばす */
.hq-banner__copy{
  flex: 1 1 auto;
  min-width: 0;
}

/* ボタン領域 */
.hq-banner__cta{
  flex: 0 0 auto;
}

@media (max-width: 640px){
  .hq-banner__right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
  }

  .hq-banner__copy{
    width: 100%;
  }

  .hq-banner__cta{
    width: 100%;
  }

  .hq-banner__cta .hq-btn{
    width: 100%;
    justify-content: center;
  }
}






/* =========================================================
   About page (QUBO++とは)
   ========================================================= */
.hq-about .hq-section{
  padding-top: 50px;
  padding-bottom: 10px;
}

/* section separators */
.hq-about__sectionLine{
  border-top: 1px solid var(--line);
}

/* body text tone */
.hq-about__text p{
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 78ch;
}

/* lists */
.hq-about__list{
  margin: 10px 0 14px;
  padding-left: 1.2em;
  color: var(--muted);
}
.hq-about__list li{
  margin: 6px 0;
}

/* steps */
.hq-about__steps{
  margin: 10px 0 14px;
  padding-left: 1.2em;
  color: var(--muted);
}
.hq-about__steps li{
  margin: 6px 0;
}

/* split tweak (image + panel spacing) */
.hq-about__split{
  align-items: start;
}
.hq-about__split .hq-panel{
  padding: 0;
}

/* flow (4 steps) */
.hq-about__flow{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.hq-about__flowItem{
  grid-column: span 6;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.hq-about__flowItem p{
  margin: 10px 0 0;
  color: var(--muted);
}

/* headings inside section */
.hq-about__h3{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.hq-about__h3Space{
  margin-top: 34px;
}
.hq-about__h4{
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 600;
}

/* table */
.hq-about__tableWrap{
  margin-top: 14px;
  border: 1px solid var(--line);
  overflow-x: auto;
  background: #fff;
}
.hq-about__table{
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.hq-about__table th,
.hq-about__table td{
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.hq-about__table th{
  color: var(--ink);
  font-weight: 600;
  background: #f4f4f4;
}
.hq-about__table td{
  color: var(--muted);
}

/* code */
.hq-about__code{
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #0f0f0f;
  color: #f4f4f4;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}
.hq-about__code code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* math blocks */
.hq-about__math{
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.hq-about__math p{
  margin: 0 0 6px;
  color: var(--muted);
}
.hq-about__math p:last-child{
  margin-bottom: 0;
}

/* responsive */
@media (max-width: 980px){
  .hq-about__flowItem{ grid-column: span 12; }
}






/* =========================================================
   About page (QUBO++とは)
   ========================================================= */
.hq-about .hq-section{ padding-top: 50px; padding-bottom: 10px;}
.hq-about__sectionLine{ border-top: 1px solid var(--line); }

/* text */
.hq-about__text p{
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 78ch;
}

/* lists & steps */
.hq-about__list,
.hq-about__steps{
  margin: 10px 0 14px;
  padding-left: 1.2em;
  color: var(--muted);
}
.hq-about__list li,
.hq-about__steps li{ margin: 6px 0; }

/* split: image + content */
.hq-about__split{
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: start;
}
.hq-about__media{ border-top: 1px solid var(--line); padding-top: 14px; }
.hq-about__img{
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
}

/* flow (4 steps) */
.hq-about__flow{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.hq-about__flowItem{
  grid-column: span 6;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.hq-about__flowItem p{ margin: 10px 0 0; color: var(--muted); }

/* headings */
.hq-about__h3{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.hq-about__h3Space{ margin-top: 34px; }
.hq-about__h4{
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 600;
}

/* table */
.hq-about__tableWrap{
  margin-top: 14px;
  border: 1px solid var(--line);
  overflow-x: auto;
  background: #fff;
}
.hq-about__table{
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.hq-about__table th,
.hq-about__table td{
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.hq-about__table th{
  color: var(--ink);
  font-weight: 600;
  background: #f4f4f4;
}
.hq-about__table td{ color: var(--muted); }

/* code blocks */
.hq-about__code{
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #0f0f0f;
  color: #f4f4f4;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}
.hq-about__code code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* math blocks */
.hq-about__math{
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.hq-about__math p{ margin: 0 0 6px; color: var(--muted); }
.hq-about__math p:last-child{ margin-bottom: 0; }

@media (max-width: 980px){
  .hq-about__split{ grid-template-columns: 1fr; }
  .hq-about__flowItem{ grid-column: span 12; }
}

/* 投稿ページのタイトルだけコンテナ幅に揃える */
.single .site-main > .page-title {
  max-width: var(--container);
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 64px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
}
h1.page-title {
    font-size: 20px;
}

.hq-inlineMark{
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  vertical-align: middle;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 56%, var(--ink) 100%);
}
.hq-feature__iconWrap{
  position: relative;
}

.hq-feature__iconMark{
  display: block;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 56%, var(--ink) 100%);
}
.hq-linkArrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
}

.hq-linkArrow__icon::before{
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  line-height: 1;
}

.hq-pageHero{
  padding: 64px 0 50px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hq-pageHero__kicker{
  margin: 0 0 10px;
  font-size: var(--fz-small);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Poppins", "IBM Plex Sans", sans-serif;
}

.hq-pageHero__title{
  margin: 0 0 10px;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hq-pageHero__head{
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: var(--fz-head);
  line-height: 1.65;
}


.hq-checkLine{
  position: relative;
  margin: 12px 0 0;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  line-height: 1.7;
}

.hq-checkLine i{
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 14px;
  line-height: 1;
}