:root {
  --bg: #ffffff;
  --bg-soft: #f7f8f8;
  --ink: #101315;
  --ink-deep: #06301f;
  --on-deep: #a3b8ab;
  --accent-on-deep: #6ee7a0;
  --ink-2: #3d454a;
  --mute: #687176;
  --line: #e4e7e9;
  --line-2: #eef0f1;
  --line-ui: #7b848a;
  --accent: #0b7a3d;
  --accent-ink: #065c2d;
  --accent-soft: #eef6f1;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: "Inter Variable", "Noto Sans JP Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-jp: "Noto Sans JP Variable", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 700px) {
  .wrap {
    padding: 0 20px;
  }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--ink-deep);
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  text-decoration: none;
}
.skip:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s;
}
header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}
.hbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 26px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .logo img {
    height: 20px;
  }
}
nav.main {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav.main a {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-decoration: none;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
nav.main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
nav.main a:hover {
  color: var(--accent);
}
nav.main a:hover::after {
  width: 100%;
}
nav.main a.btn-contact {
  border: 1px solid var(--ink-deep);
  padding: 10px calc(22px - 0.08em) 10px 22px;
  border-radius: 99px;
  font-size: 12px;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: 0.25s var(--ease);
  white-space: nowrap;
}

nav.main a.btn-contact::after {
  content: none;
}
nav.main a.btn-contact:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: #fff;
}
.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}
@media (max-width: 1040px) {
  nav.main {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    z-index: -1;
  }
  nav.main.open {
    z-index: 1;
  }
  nav.main.open {
    transform: translateY(0);
  }
  nav.main a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
  }
  nav.main a.btn-contact {
    margin-top: 16px;
    text-align: center;
    padding: 14px calc(22px - 0.08em) 14px 22px;
    border: 1px solid var(--ink-deep);
  }
  .burger {
    display: block;
  }
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 101;
  width: 0;
}

/* ---------- hero ---------- */
.hero {
  padding: 190px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/hero-dx.jpg") no-repeat right center/cover;
  opacity: 0.5;
  filter: saturate(0.8);
  mask-image: linear-gradient(95deg, transparent 34%, rgba(0, 0, 0, 0.4) 58%, #000 84%);
  -webkit-mask-image: linear-gradient(95deg, transparent 34%, rgba(0, 0, 0, 0.4) 58%, #000 84%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 75% 60% at 72% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 72% 30%, #000 0%, transparent 72%);
}
@media (max-width: 860px) {
  .hero {
    padding: 150px 0 86px;
  }
  .hero::before {
    background-image: url("../img/hero-dx-sp.jpg");
    opacity: 0.12;
    mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  }
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}
h1.hero-t {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  line-height: 1.34;
  letter-spacing: 0.005em;
  margin: 0 0 34px;
}
h1.hero-t em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.hero-lead {
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 46px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 99px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: 0.3s var(--ease);
}
.btn-fill {
  background: var(--ink-deep);
  color: #fff;
}
.btn-fill:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.btn-line {
  border: 1px solid var(--line-ui);
  color: var(--ink);
}
.btn-line:hover {
  border-color: var(--ink-deep);
  transform: translateY(-2px);
}
button.btn-line {
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.btn .ar {
  transition: transform 0.3s var(--ease);
}
.btn:hover .ar {
  transform: translateX(4px);
}

/* ---------- 日本語の改行制御 ---------- */

h1.hero-t,
section h2,
.cta h2,
.sub-head h3,
.solu h3 {
  text-wrap: balance;
  word-break: auto-phrase;
}
.card h3,
.pat h3,
.gbox h3,
.fl h4,
.stk h4,
.ni h3 {
  word-break: auto-phrase;
}

.pat h3,
.card h3 {
  text-wrap: balance;
}

.nb {
  white-space: nowrap;
}
.unit {
  display: inline-block;
}

h1 em,
h2 em,
h3 em {
  white-space: nowrap;
}

p,
li,
dd,
label,
.tl-d,
.pat .rel {
  text-wrap: pretty;
  word-break: auto-phrase;
}

@media (max-width: 700px) {
  br.pc {
    display: none;
  }
}

.ln {
  display: block;
}

/* ---------- sections ---------- */
section {
  padding: 118px 0;
}
section.tight {
  padding: 88px 0;
}
.sec-head {
  margin-bottom: 62px;
  max-width: 780px;
}
.sec-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.sec-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}
h2 {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.46;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
}
.sec-head p {
  color: var(--ink-2);
  margin: 0;
  font-size: 15px;
}

/* ---------- timeline (社名の変遷) ---------- */
.why {
  background: var(--ink-deep);
  color: #fff;
}
.why .sec-label {
  color: var(--accent-on-deep);
}
.why .sec-label::before {
  background: var(--accent-on-deep);
}
.why h2 {
  color: #fff;
}
.why .sec-head p {
  color: var(--on-deep);
}
.tl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 14px;
  position: relative;
}
.tl::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.tl-i {
  padding: 0 36px 0 0;
  position: relative;
}
.tl-yr {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-on-deep);
  margin-bottom: 22px;
}
.tl-plate {
  background: #fff;
  border-radius: 4px;
  padding: 18px 20px;
  margin-bottom: 22px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 36px;
}
.tl-plate img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  display: block;
}
.lockup {
  display: flex;
  align-items: center;
  gap: 13px;
}
.lockup .mk {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
}
.lockup .wm {
  height: 21px;
  width: auto;
  flex: 0 1 auto;
  min-width: 0;
  object-fit: contain;
}
@media (max-width: 860px) {
  .tl-plate {
    margin-right: 0;
  }
}
.tl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-on-deep);
  position: relative;
  z-index: 2;
  margin-bottom: 26px;
  box-shadow: 0 0 0 6px var(--ink-deep);
}
.tl-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 6px;
  font-family: var(--font-jp);
}
.tl-cap {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-on-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tl-d {
  font-size: 14px;
  color: var(--on-deep);
  line-height: 1.9;
  padding-right: 14px;
}
@media (max-width: 860px) {
  .tl {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tl::before {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .tl-i {
    padding: 0 0 42px 34px;
  }
  .tl-dot {
    position: absolute;
    left: 0;
    top: 6px;
    margin: 0;
  }
  .tl-yr {
    margin-bottom: 8px;
  }
}

/* ---------- strengths ---------- */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 900px) {
  .two {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
.prob {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 34px;
  background: var(--bg-soft);
}
.prob h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 22px;
  font-family: var(--font-jp);
}
.prob ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.prob li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.prob li:first-child {
  border-top: 0;
}
.prob li b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 3px;
}
.solu h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 20px;
  font-family: var(--font-jp);
}
.solu h3 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.solu p {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0 0 26px;
}
.chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chain span {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-2);
  background: #fff;
}

.sub-head {
  margin: 84px 0 36px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.sub-head h3 {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.5;
  margin: 0 0 14px;
}
.sub-head p {
  color: var(--ink-2);
  margin: 0;
  font-size: 15px;
  max-width: 760px;
}
@media (max-width: 700px) {
  .sub-head {
    margin: 56px 0 30px;
    padding-top: 40px;
  }
}

/* ---------- tech stack ---------- */
.stack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.stk {
  background: #fff;
  padding: 30px 24px;
}
.stk .no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.stk h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.55;
  font-family: var(--font-jp);
}
.stk ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stk li {
  font-size: 12px;
  color: var(--mute);
  line-height: 2.05;
  letter-spacing: 0.01em;
}
@media (max-width: 1000px) {
  .stack {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .stack {
    grid-template-columns: 1fr;
  }
}

/* ---------- cases ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 99px;
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--ink-2);
  font-family: inherit;
  transition: 0.24s var(--ease);
}

.fbreak {
  display: none;
}
@media (min-width: 1180px) {
  .fbreak {
    display: block;
    flex-basis: 100%;
    height: 0;
    margin-top: -8px;
  }
}
.chip:hover {
  border-color: var(--ink-deep);
}
.chip.on {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: #fff;
}
.chip .c {
  opacity: 0.55;
  margin-left: 6px;
  font-size: 11px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 214px;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.card-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  margin: 0 0 10px;
  font-family: var(--font-jp);
}
.card p {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.8;
  margin: 0 0 16px;
  flex: 1;
}
.kws {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.kws i {
  font-style: normal;
  font-size: 11px;
  color: var(--mute);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 2px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line-2);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.case-link + .case-link {
  margin-top: 7px;
  padding-top: 0;
  border-top: 0;
}

.pat .case-link {
  margin-top: 13px;
  padding-top: 0;
  border-top: 0;
}
.case-link:hover {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.case-link .ar {
  transition: transform 0.25s var(--ease);
}
.case-link:hover .ar {
  transform: translateX(3px);
}
.more {
  margin-top: 44px;
  text-align: center;
}
.note {
  margin-top: 26px;
  font-size: 12px;
  color: var(--mute);
  border-left: 2px solid var(--line);
  padding: 2px 0 2px 16px;
  line-height: 1.9;
}

/* ---------- patents ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
}
.pat {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 30px 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pat.pending {
  background: var(--bg-soft);
  border-style: dashed;
}
.pat-no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 3px;
  align-self: flex-start;
  margin-bottom: 18px;
}
.pat.pending .pat-no {
  color: #8a6d1f;
  background: #fdf6e0;
}
.pat h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  margin: 0 0 8px;
  font-family: var(--font-jp);
}
.pat .meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute);
  margin: 0 0 14px;
}
.pat p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 18px;
  line-height: 1.9;
  flex: 1;
}
.pat .rel {
  font-size: 12px;
  color: var(--mute);
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
}
.pat .rel b {
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- news ---------- */
.news-list {
  border-top: 1px solid var(--line);
}
.ni {
  display: grid;
  grid-template-columns: 104px 108px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: 0.25s var(--ease);
}
.ni:hover {
  background: var(--bg-soft);
  padding-left: 12px;
  padding-right: 12px;
}
.ni time {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ni .nt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 4px 0;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}
.ni .nt.k-rel {
  border-color: var(--accent);
  color: var(--accent);
}
.ni .nt.k-pat {
  border-color: #8a6d1f;
  color: #8a6d1f;
}
.ni h3 {
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  line-height: 1.7;
  font-family: var(--font-jp);
}
.ni .ar {
  color: var(--mute);
  font-size: 13px;
  transition: transform 0.25s var(--ease);
}
.ni:hover .ar {
  transform: translateX(4px);
  color: var(--accent);
}
.ni.hide {
  display: none;
}

.ni.is-plain {
  cursor: default;
}
.ni.is-plain:hover {
  background: none;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 760px) {
  .ni {
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
    padding: 17px 0;
  }
  .ni .nt {
    grid-row: 1;
    justify-self: start;
    padding: 4px 10px;
  }
  .ni h3 {
    grid-column: 1/-1;
  }
  .ni .ar {
    display: none;
  }
}

/* ---------- flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.fl {
  background: #fff;
  padding: 30px 22px 26px;
}
.fl .no {
  font-size: 32px;
  font-weight: 200;
  color: #8b969d;
  line-height: 1;
  margin-bottom: 16px;
}
.fl h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  font-family: var(--font-jp);
}
.fl .meta {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.fl p {
  font-size: 13px;
  color: var(--mute);
  margin: 0;
  line-height: 1.85;
}
@media (max-width: 1000px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

/* ---------- group ---------- */
.group {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gwrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .gwrap {
    grid-template-columns: 1fr;
  }
}
.gbox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 30px;
}
.gbox .rk {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.group h2 .op {
  display: block;
  color: var(--accent);
  font-size: 0.74em;
  font-weight: 400;
  line-height: 1.3;
  margin: 0.1em 0;
}
.gbox h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
  font-family: var(--font-jp);
}
.gbox ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gbox li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
}
.gbox li:first-child {
  border-top: 0;
}

.gplus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #b7c2bb;
  font-weight: 200;
}

/* ---------- company ---------- */
.dl {
  border-top: 1px solid var(--line);
}
.dl-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.dl-row dt {
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.06em;
  margin: 0;
}
.dl-row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

.dl-row dd a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dl-row dd a:hover {
  color: var(--accent-ink);
}
@media (max-width: 700px) {
  .dl-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

.dd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dd-list li {
  padding: 3px 0;
  line-height: 1.8;
  padding-left: 1em;
  text-indent: -1em;
}
.dd-list .no {
  color: var(--mute);
  margin-right: 0.6em;
  white-space: nowrap;
}

/* ---------- careers ---------- */
.careers {
  background: var(--ink-deep);
  color: #fff;
}
.careers .sec-label {
  color: var(--accent-on-deep);
}
.careers .sec-label::before {
  background: var(--accent-on-deep);
}
.careers h2 {
  color: #fff;
}
.crec {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 34px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.crec p {
  margin: 0;
  font-size: 15px;
  color: var(--on-deep);
  max-width: 560px;
}
.crec b {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
}
.btn-green {
  background: var(--accent-on-deep);
  color: var(--ink-deep);
  font-weight: 600;
}
.btn-green:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* ---------- contact form ---------- */
.cta {
  padding: 118px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.cta .sec-head {
  text-align: center;
  margin: 0 auto 54px;
}
.cta .sec-head .sec-label {
  justify-content: center;
}
.cta .sec-head p {
  margin: 0 auto;
}
.form-card {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 46px 46px 40px;
}
@media (max-width: 640px) {
  .form-card {
    padding: 30px 22px 26px;
  }
  .cta {
    padding: 78px 0;
  }
}
.fgrid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
@media (max-width: 640px) {
  .fgrid2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fld.full {
  grid-column: 1/-1;
}
.fld label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.req {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  padding: 2px 7px;
  border-radius: 2px;
}
.opt {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mute);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: 2px;
}
.fld input,
.fld select,
.fld textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 14px;
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.fld textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.85;
}
.fld select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%237b848a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 38px;
  cursor: pointer;
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.fld input::placeholder,
.fld textarea::placeholder {
  color: #b4bbbf;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  grid-column: 1/-1;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 3px;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--accent-ink);
  line-height: 1.85;
}
.notice a {
  color: var(--accent-ink);
  font-weight: 500;
}
.notice.hide {
  display: none;
}
.consent {
  grid-column: 1/-1;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 4px;
}
.consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent label {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.consent label a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.fsubmit {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.fsubmit button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  padding: 16px 46px;
}
.fsubmit button:disabled {
  background: var(--line);
  color: var(--mute);
  cursor: not-allowed;
  transform: none;
}
.fnote {
  font-size: 12px;
  color: var(--mute);
  text-align: center;
  line-height: 1.85;
}
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 12px;
  color: var(--mute);
}
.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 44px;
}
@media (max-width: 800px) {
  .fgrid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 400px) {
  .fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fgrid > :first-child {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
}
.fgrid h5 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 600;
}
.fgrid a {
  display: block;
  text-decoration: none;
  color: var(--mute);
  padding: 5px 0;
  transition: color 0.2s;
}
.fgrid a:hover {
  color: var(--accent);
}
.fbot {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- external links ---------- */
.ext {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.exticon {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 7px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3h8v8h-2.2V6.75l-9.9 9.9-1.55-1.55 9.9-9.9H13V3z'/%3E%3Cpath d='M19 19.2H4.8V5h6.4V2.8H4.8A2 2 0 0 0 2.8 4.8v14.4a2 2 0 0 0 2 2h14.4a2 2 0 0 0 2-2v-6.4H19v6.4z'/%3E%3C/svg%3E")
    no-repeat center/contain;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3h8v8h-2.2V6.75l-9.9 9.9-1.55-1.55 9.9-9.9H13V3z'/%3E%3Cpath d='M19 19.2H4.8V5h6.4V2.8H4.8A2 2 0 0 0 2.8 4.8v14.4a2 2 0 0 0 2 2h14.4a2 2 0 0 0 2-2v-6.4H19v6.4z'/%3E%3C/svg%3E")
    no-repeat center/contain;
}
.ext::after {
  content: attr(data-ext);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--ink-deep);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  white-space: nowrap;
  padding: 6px 11px;
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 30;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0.22s;
}
.ext:hover::after,
.ext:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.careers .ext::after,
.btn-green::after {
  background: #fff;
  color: var(--ink-deep);
}
@media (hover: none) {
  .ext::after {
    display: none;
  }
}

/* ---------- reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- 汎用 ---------- */

[hidden] {
  display: none !important;
}

.card.is-hidden {
  display: none;
}

/* ---------- privacy policy ---------- */
.policy {
  padding: 150px 0 110px;
}
.policy .wrap {
  max-width: 860px;
}
.policy h1 {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.46;
  margin: 0 0 20px;
  text-wrap: balance;
  word-break: auto-phrase;
}
.policy .lead {
  color: var(--ink-2);
  font-size: 0.97rem;
  margin: 0 0 54px;
}
.policy ol {
  counter-reset: p;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.policy ol li {
  counter-increment: p;
  position: relative;
  padding: 22px 0 22px 46px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.95;
}
.policy ol li::before {
  content: counter(p);
  position: absolute;
  left: 0;
  top: 23px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sign {
  margin-top: 46px;
  text-align: right;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 2;
}
.sign b {
  display: block;
  color: var(--ink);
  font-weight: 500;
}
.policy h2 {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1.5;
  margin: 0 0 14px;
  padding-top: 54px;
  margin-top: 84px;
  border-top: 1px solid var(--line);
  text-wrap: balance;
  word-break: auto-phrase;
}
.policy h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin: 34px 0 10px;
  font-family: var(--font-jp);
}
.policy p {
  font-size: 0.94rem;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.policy ul.plain {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.policy ul.plain li {
  font-size: 0.94rem;
  color: var(--ink-2);
  padding: 5px 0 5px 1em;
  text-indent: -1em;
  line-height: 1.9;
}
.policy ul.plain li::before {
  content: "・";
  color: var(--accent);
}
