:root {
  --blue: #168dcc;
  --blue-dark: #0872ad;
  --blue-light: #edf8fd;
  --red: #e84b4f;
  --ink: #21313b;
  --text: #56656e;
  --line: #dce8ee;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(19, 90, 127, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.45;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 232, 238, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 36px;
}

.site-logo {
  flex: 0 0 auto;
  width: 155px;
}

.site-logo img,
.footer-logo img {
  width: 100%;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.global-nav a {
  transition: color 0.2s ease;
}

.global-nav a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 30px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 9px 22px rgba(22, 141, 204, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(22, 141, 204, 0.3);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 9px 21px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 100px;
  background:
    radial-gradient(circle at 86% 12%, rgba(22, 141, 204, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4fbff 100%);
}

.hero::before {
  position: absolute;
  top: -100px;
  right: -120px;
  width: 390px;
  height: 390px;
  border: 50px solid rgba(22, 141, 204, 0.05);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.eyebrow,
.section-label {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lead {
  margin-bottom: 34px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.image-frame {
  position: relative;
  padding: 16px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.image-frame::after {
  position: absolute;
  right: -20px;
  bottom: -22px;
  z-index: -1;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--blue) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  content: "";
  opacity: 0.25;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.section {
  padding: 104px 0;
}

.section-light {
  background: #f8fbfc;
}

.section-blue {
  background: var(--blue-light);
}

.section-heading {
  margin-bottom: 52px;
  text-align: center;
}

.section-heading h2,
.product-content h2,
.contact-inner h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.03em;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

.about-grid,
.benefit-grid,
.flow-grid {
  display: grid;
  gap: 24px;
}

.about-grid,
.flow-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.flow-card,
.benefit-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.feature-card {
  padding: 38px 32px 32px;
}

.feature-number {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3,
.flow-card h3,
.benefit-panel h3 {
  margin-bottom: 14px;
  font-size: 21px;
}

.feature-card p,
.flow-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.benefit-grid {
  grid-template-columns: repeat(2, 1fr);
}

.benefit-panel {
  padding: 42px;
  box-shadow: 0 12px 35px rgba(19, 90, 127, 0.07);
}

.benefit-for {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 31px;
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 18px;
  height: 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  content: "✓";
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.flow-card {
  position: relative;
  padding: 42px 30px 34px;
  text-align: center;
}

.flow-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -18px;
  z-index: 2;
  width: 34px;
  height: 34px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "›";
  font-size: 25px;
  line-height: 29px;
}

.flow-step {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 15px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 72px;
}

.product-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.product-intro {
  margin-bottom: 30px;
}

.spec-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--ink);
  font-weight: 700;
}

.spec-list dd {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-list summary {
  position: relative;
  padding: 21px 55px 21px 24px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--blue);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
}

.contact-section {
  padding: 84px 0;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
}

.contact-section .section-label,
.contact-section h2 {
  color: var(--white);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.contact-inner h2 {
  margin-bottom: 10px;
}

.contact-inner p:last-child {
  margin-bottom: 0;
}

.button-white {
  flex: 0 0 auto;
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 45, 70, 0.2);
}

.button-white:hover {
  color: var(--blue-dark);
  background: #f5fbff;
}

.site-footer {
  padding: 42px 0;
  background: #ffffff;
}

/* Contact page */
.contact-hero {
  padding: 72px 0 68px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 15%, rgba(22, 141, 204, 0.14), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #edf8fd 100%);
}

.contact-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 54px);
  letter-spacing: -0.04em;
}

.contact-hero p:last-child {
  margin-bottom: 0;
}

.contact-page-section {
  padding: 88px 0 110px;
  background: #f8fbfc;
}

.contact-page-container {
  width: min(860px, calc(100% - 48px));
  padding: 54px 64px 64px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-page-heading {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-page-heading p {
  margin-bottom: 0;
  font-size: 14px;
}

.required-mark {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: 0.1em;
}

.form-errors {
  margin-bottom: 30px;
  padding: 20px 24px;
  color: #9c292d;
  background: #fff4f4;
  border: 1px solid #efc7c8;
  border-radius: 12px;
}

.form-errors p {
  margin-bottom: 6px;
  color: #8f2024;
  font-weight: 700;
}

.form-errors ul {
  margin: 0;
  padding-left: 1.4em;
}

.contact-form {
  display: grid;
}

.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.form-row > label {
  color: var(--ink);
  font-weight: 700;
}

.form-row-message {
  align-items: start;
}

.form-row-message > label {
  padding-top: 11px;
}

.form-control-wrap input,
.form-control-wrap select,
.form-control-wrap textarea {
  width: 100%;
  color: var(--ink);
  background: #fbfdfe;
  border: 1px solid #cbdbe3;
  border-radius: 9px;
  font: inherit;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control-wrap input,
.form-control-wrap select {
  min-height: 50px;
  padding: 10px 14px;
}

.form-control-wrap textarea {
  min-height: 210px;
  padding: 13px 14px;
  resize: vertical;
}

.form-control-wrap input:focus,
.form-control-wrap select:focus,
.form-control-wrap textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 141, 204, 0.13);
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-summary {
  margin-top: 36px;
  padding: 22px 24px;
  background: var(--blue-light);
  border-radius: 12px;
}

.privacy-summary h2 {
  margin-bottom: 8px;
  font-size: 17px;
}

.privacy-summary p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.8;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  margin-top: 28px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.consent-check input {
  width: 19px;
  height: 19px;
  margin: 4px 0 0;
  accent-color: var(--blue);
}

.consent-check .required-mark {
  margin-left: 5px;
}

.form-submit {
  margin-top: 34px;
  text-align: center;
}

.form-submit .button {
  min-width: 270px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.contact-complete {
  padding: 30px 0 18px;
  text-align: center;
}

.complete-icon {
  display: inline-grid;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 700;
}

.contact-complete h2 {
  margin-bottom: 14px;
  font-size: 30px;
}

.contact-complete p {
  margin-bottom: 30px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  width: 150px;
}

.footer-company {
  text-align: right;
}

.footer-company p {
  margin-bottom: 3px;
  font-size: 13px;
}

.copyright {
  color: #89969d;
}

@media screen and (max-width: 960px) {
  .global-nav {
    display: none;
  }

  .header-inner {
    min-height: 72px;
  }

  .header-inner .button {
    margin-left: auto;
  }

  .hero {
    padding: 68px 0 80px;
  }

  .hero-inner,
  .product-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 42px;
  }

  .hero-lead br {
    display: none;
  }

  .about-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-card:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -18px;
    transform: translateX(50%) rotate(90deg);
  }
}

@media screen and (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 32px, 1120px);
  }

  .site-logo {
    width: 124px;
  }

  .button-small {
    min-height: 40px;
    padding: 8px 15px;
    font-size: 12px;
  }

  .hero {
    padding: 50px 0 70px;
  }

  .hero-inner,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    margin-bottom: 20px;
  font-size: clamp(32px, 10vw, 42px);
  }

  .hero-actions {
    flex-direction: column;
    gap: 17px;
  }

  .hero-image {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .image-frame img {
    aspect-ratio: 4 / 4.5;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .product-content h2,
  .contact-inner h2 {
    font-size: 30px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-panel {
    padding: 32px 25px;
  }

  .product-image {
    order: 2;
  }

  .spec-list div {
    grid-template-columns: 95px 1fr;
    gap: 12px;
  }

  .contact-inner,
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-inner {
    gap: 30px;
  }

  .button-white {
    width: 100%;
  }

  .contact-hero {
    padding: 54px 0 50px;
  }

  .contact-page-section {
    padding: 50px 0 70px;
  }

  .contact-page-container {
    width: min(100% - 24px, 860px);
    padding: 32px 20px 40px;
    border-radius: 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 18px 0;
  }

  .form-row-message > label {
    padding-top: 0;
  }

  .privacy-summary {
    margin-top: 28px;
    padding: 19px 18px;
  }

  .consent-check {
    justify-content: flex-start;
  }

  .form-submit .button {
    width: 100%;
    min-width: 0;
  }

  .footer-company {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
