.jp h2,
.jp h3 {
  line-height: 1.2;
  margin: 0;
}
.jp h2 {
  font-size: 35px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.jp h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
.jp p {
  margin: 0 0 1em;
}
.jp a {
  color: #910a67;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.jp a:hover {
  color: #ff6c2c;
}
.jp :focus-visible {
  outline: 3px solid #ff6c2c;
  outline-offset: 3px;
  border-radius: 4px;
}
.jp-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
}
.jp-sec {
  padding: 50px 0;
}
.jp-lead {
  color: #5d4d69;
  font-size: 1.08rem;
}

/* 1 · Intro */
.jp-intro .jp-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}
.jp-intro h2 {
  margin-bottom: 24px;
}
.jp-intro aside {
  background: linear-gradient(160deg, #3c0753, #720455);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.jp-intro aside::after {
  content: "日本";
  position: absolute;
  right: -8px;
  bottom: -34px;
  font: 900 8rem/1 "Zen Kaku Gothic New";
  color: rgba(255, 255, 255, 0.07);
}
.jp-intro aside h3 {
  margin-bottom: 16px;
}
.jp-intro ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.jp-intro li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 500;
}
.jp-intro li:last-child {
  border: 0;
}
.jp-intro li b {
  color: #ff6c2c;
}

/* 2 · Locations (signature element: oversized kanji) */
.jp-loc {
  background: #fff;
  border-block: 1px solid #e3d9ea;
}
.jp-head {
  margin-bottom: 44px;
}
.jp-head p {
  margin: 14px 0 0;
}
.jp-cities {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.jp-city {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 30px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s;
}
.jp-city:nth-child(1) {
  background: linear-gradient(155deg, #3c0753, #910a67);
}
.jp-city:nth-child(2) {
  background: linear-gradient(155deg, #720455, #3c0753);
}
.jp-city:nth-child(3) {
  background: linear-gradient(155deg, #910a67, #720455);
}
.jp-city .kj {
  position: absolute;
  right: -6px;
  top: -18px;
  z-index: -1;
  font: 900 9rem/1 "Zen Kaku Gothic New";
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: -0.05em;
}
.jp-city h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.jp-city p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  flex: 1;
}
.jp-city a.go {
  align-self: flex-start;
  background: #ff6c2c;
  color: #1e1028;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
}
.jp-city a.go:hover {
  background: #fff;
  color: #3c0753;
}
.jp-city:hover {
  transform: translateY(-4px);
}

/* 3 · Hardware */
.jp-hw .jp-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}
.jp-hw .jp-head {
  position: sticky;
  top: 24px;
  align-self: start;
}
.jp-specs {
  display: grid;
  gap: 14px;
  margin: 0;
}
.jp-spec {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid #e3d9ea;
  border-left: 6px solid #910a67;
  border-radius: 14px;
  padding: 20px 24px;
}
.jp-spec:nth-child(2) {
  border-left-color: #720455;
}
.jp-spec:nth-child(3) {
  border-left-color: #3c0753;
}
.jp-spec:nth-child(4) {
  border-left-color: #ff6c2c;
}
.jp-spec dt {
  font-weight: 900;
  font-size: 1.1rem;
  color: #3c0753;
}
.jp-spec dd {
  margin: 0;
  color: #5d4d69;
}
.jp-tip {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #fff2ea;
  border: 1px solid #ffd2b8;
  font-size: 0.97rem;
}
.jp-tip p {
  margin: 0 0 0.6em;
}
.jp-tip p:last-child {
  margin: 0;
}

/* 4 · Network (dark band) */
.jp-net {
  background: #3c0753;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.jp-net::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      600px 300px at 90% 0,
      rgba(255, 108, 44, 0.28),
      transparent 70%
    ),
    radial-gradient(
      500px 300px at 0 100%,
      rgba(145, 10, 103, 0.55),
      transparent 70%
    );
}
.jp-net .jp-wrap {
  position: relative;
}
.jp-net .jp-lead {
  color: rgba(255, 255, 255, 0.8);
}
.jp-ports {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 40px;
}
.jp-ports span {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
}
.jp-ports span:first-child {
  background: #ff6c2c;
  border-color: #ff6c2c;
  color: #1e1028;
}
.jp-fact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.jp-fact div {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 24px;
}
.jp-fact h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #ff6c2c;
}
.jp-fact p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.jp-note {
  margin: 30px 0 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* 5 · Workloads (interactive tabs) */
.jp-use .jp-tabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid #e3d9ea;
  border-radius: 22px;
  padding: 14px;
}
.jp-tablist {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jp-tablist button {
  font: 700 0.98rem "Manrope";
  text-align: left;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #1e1028;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s, color 0.2s;
}
.jp-tablist button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3d9ea;
  flex: none;
  transition: background 0.2s;
}
.jp-tablist button:hover {
  background: #f7f4fa;
}
.jp-tablist button[aria-selected="true"] {
  background: linear-gradient(90deg, #3c0753, #910a67);
  color: #fff;
}
.jp-tablist button[aria-selected="true"]::before {
  background: #ff6c2c;
}
.jp-panel {
  padding: 30px 26px 20px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.jp-panel[hidden] {
  display: none;
}
.jp-panel h3 {
  font-size: 1.6rem;
  color: #3c0753;
  margin-bottom: 14px;
}
.jp-panel p {
  color: #5d4d69;
  font-size: 1.05rem;
}

/* 6 · Security */
.jp-sec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.jp-sec-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #f7f4fa;
  border: 1px solid #e3d9ea;
  border-radius: 14px;
  padding: 18px 20px;
  font-weight: 500;
}
.jp-sec-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: #910a67
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center/14px no-repeat;
}
.jp-sec-note {
  margin: 26px 0 0;
  color: #5d4d69;
}

/* 7 · Why KW */
.jp-why {
  background: linear-gradient(
    135deg,
    #3c0753 0%,
    #720455 60%,
    #910a67 100%
  );
  color: #fff;
}
.jp-why .jp-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.jp-why .jp-lead {
  color: rgba(255, 255, 255, 0.85);
}
.jp-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.jp-why-list li {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 20px 22px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.jp-why-list b {
  display: block;
  font: 700 1.05rem "Zen Kaku Gothic New";
  color: #fff;
  margin-bottom: 4px;
}
.jp .jp-btn {
  display: inline-block;
  margin-top: 12px;
  background: #ff6c2c;
  color: #1e1028;
  text-decoration: none;
  font-weight: 800;
  padding: 15px 30px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.jp .jp-btn:hover {
  background: #fff;
  color: #3c0753;
  transform: translateY(-2px);
}

/* 8 · FAQ */
.jp-faq details {
  background: #fff;
  border: 1px solid #e3d9ea;
  border-radius: 14px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.jp-faq details[open] {
  border-color: #910a67;
  box-shadow: 0 0 0 1px #910a67;
}
.jp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 64px 20px 24px;
  position: relative;
  font: 700 1.08rem "Zen Kaku Gothic New";
}
.jp-faq summary::-webkit-details-marker {
  display: none;
}
.jp-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f7f4fa;
  color: #910a67;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: rotate 0.25s, background 0.2s;
}
.jp-faq details[open] summary::after {
  rotate: 45deg;
  background: #ff6c2c;
  color: #1e1028;
}
.jp-faq details p {
  padding: 0 24px 22px;
  color: #5d4d69;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .jp-intro .jp-wrap,
  .jp-hw .jp-wrap,
  .jp-why .jp-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .jp-hw .jp-head {
    position: static;
  }
  .jp-cities,
  .jp-sec-list {
    grid-template-columns: 1fr 1fr;
  }
  .jp-fact {
    grid-template-columns: 1fr 1fr;
  }
  .jp-use .jp-tabs {
    grid-template-columns: 1fr;
  }
  .jp-tablist {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .jp-tablist button {
    white-space: nowrap;
  }
  .jp-panel {
    padding: 10px 14px 18px;
  }
}
@media (max-width: 620px) {
  .jp-sec {
    padding: 40px 0;
  }
  .jp-cities,
  .jp-sec-list,
  .jp-fact,
  .jp-why-list {
    grid-template-columns: 1fr;
  }
  .jp-spec {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .jp-city {
    min-height: 300px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jp * {
    transition: none !important;
  }
}
