:root {
  --bg: #eceff3;
  --surface: #ffffff;
  --surface-soft: #f0f3f6;
  --line: #d7dde4;
  --text: #212427;
  --muted: #5f6670;
  --primary: #bf5a5a;
  --primary-deep: #a64646;
  --shadow-soft: 0 10px 28px rgba(15, 20, 28, 0.08);
  --shadow-strong: 0 18px 40px rgba(15, 20, 28, 0.13);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #eff2f6 52%, #ffffff 100%);
  line-height: 1.75;
}

a {
  color: var(--primary-deep);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(20, 23, 31, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-image {
  display: block;
  width: auto;
  height: 42px;
}

.global-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
}

.nav-toggle {
  display: none;
  position: relative;
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.6rem;
  width: 44px;
  height: 40px;
  padding: 0.5rem;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(15, 20, 28, 0.06);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-deep);
  transform-origin: center;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, -7px);
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, 0);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, 7px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}

.global-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--primary);
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: linear-gradient(180deg, #eceff3 0%, #f8fafc 100%);
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 3px solid #da8383;
  padding-bottom: 0.15rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
}

.hero {
  padding-top: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-areas:
    "head visual"
    "body card";
  gap: 2rem;
  align-items: stretch;
}

.hero-head {
  grid-area: head;
}

.hero-body {
  grid-area: body;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #f2dddd;
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 0.8rem;
}

.lead {
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-visual {
  grid-area: visual;
}

.hero-side-card {
  grid-area: card;
}

.hero-card {
  width: 100%;
  padding: 1.4rem;
  border: 1px solid #e3e1e1;
  border-radius: 1rem;
  background: linear-gradient(160deg, #ffffff 0%, #f7f8f9 100%);
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: #d7cece;
}

.media-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.image-row {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.image-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-slot {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f3f5f7 100%);
  box-shadow: 0 8px 22px rgba(10, 18, 26, 0.07);
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partners-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.partners-intro-card {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  text-align: left;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 0.9rem;
  background: linear-gradient(165deg, #ffffff 0%, #f6f7f9 100%);
  box-shadow: 0 10px 24px rgba(10, 18, 26, 0.08);
  padding: 1.15rem 1.1rem;
}

.partners-intro-card p {
  margin: 0;
}

.partners-tags {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45rem;
}

.partners-tags span {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #d9dfe5;
  background: #ffffff;
  color: #4f5965;
  font-size: 0.82rem;
  font-weight: 500;
}

.partner-checklist {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  list-style: none;
  padding: 0;
}

.partner-checklist li {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 8px 20px rgba(10, 18, 26, 0.05);
  padding: 0.75rem 0.85rem 0.75rem 2.1rem;
  position: relative;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.partner-checklist li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #d98383 0%, #bf5a5a 100%);
  box-shadow: 0 0 0 3px rgba(191, 90, 90, 0.16);
}

.partner-checklist li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 18, 26, 0.11);
  border-color: #cfd7df;
}

.partners-contact {
  margin-top: 1rem;
  border: 1px solid #dbdfdf;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  padding: 0.9rem 1rem;
  box-shadow: 0 8px 20px rgba(10, 18, 26, 0.05);
}

.partners-contact-title {
  margin: 0;
  color: var(--primary-deep);
  font-weight: 700;
}

.partners-contact p {
  margin: 0.25rem 0 0;
}

.image-placeholder {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.4rem;
  padding: 1rem;
  background: repeating-linear-gradient(
    -45deg,
    #f9fbfc,
    #f9fbfc 10px,
    #f3f5f8 10px,
    #f3f5f8 20px
  );
}

.slot-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary-deep);
  border: 1px solid #e4c6c6;
  background: #f8eeee;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}

.slot-label {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.slot-hint {
  color: var(--muted);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  margin-top: 0;
  color: var(--muted);
}

.hero-card dl {
  margin: 1rem 0 0;
}

.hero-card div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.hero-card dt {
  color: var(--muted);
}

.info-list,
.bullet-list,
.step-list {
  margin: 0;
  padding-left: 1.2rem;
}

.info-list li,
.bullet-list li,
.step-list li {
  margin-top: 0.45rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(10, 18, 26, 0.05);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 18, 26, 0.12);
  border-color: #d0d5db;
}

.panel h4 {
  margin-bottom: 0.35rem;
}

.step-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.step-list li {
  margin: 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 0.6rem;
  padding: 0.8rem 0.9rem;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(10, 18, 26, 0.05);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.step-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(10, 18, 26, 0.1);
}

.step-num {
  display: block;
  font-size: 0.75rem;
  color: var(--primary-deep);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.95rem 1rem;
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(10, 18, 26, 0.04);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 18, 26, 0.1);
  border-color: #d0d5db;
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-item p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(10, 18, 26, 0.05);
}

.company-table th,
.company-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 28%;
  background: var(--surface-soft);
}

.company-table tr {
  transition: background-color 160ms ease;
}

.company-table tr:hover {
  background: #fafbfc;
}

.map-container {
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  min-height: 280px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(10, 18, 26, 0.05);
}

.map-placeholder {
  margin: 0;
  padding: 1.1rem;
  color: var(--muted);
}

.map-container iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.map-note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8c5c1;
  border-radius: 0.5rem;
  padding: 0.72rem;
  font: inherit;
  background: #fff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #c96d6d;
  box-shadow: 0 0 0 3px rgba(191, 90, 90, 0.16);
}

.contact-form .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

.contact-form .checkbox input {
  width: auto;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#turnstile-slot {
  min-height: 65px;
}

#turnstile-slot .spam-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form button {
  appearance: none;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.72rem 1rem;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(166, 70, 70, 0.24);
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(166, 70, 70, 0.3);
}

.contact-note {
  margin-top: 0.9rem;
  color: var(--muted);
}

.warning {
  color: #a14f4f;
}

.site-footer {
  padding: 1.6rem 0;
  background: #eceff3;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.section .container > * {
  animation: fade-up 520ms ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0ms !important;
  }
}

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

@media (max-width: 820px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .global-nav {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.4rem;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    transition:
      max-height 240ms ease,
      opacity 220ms ease,
      padding 220ms ease,
      border-color 220ms ease;
  }

  .global-nav.is-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding: 0.4rem;
    border-color: var(--line);
  }

  .global-nav a {
    display: block;
    width: 100%;
    padding: 0.5rem 0.55rem;
    border-radius: 0.45rem;
  }

  .global-nav a:hover,
  .global-nav a:focus-visible {
    background: #f6f7f9;
  }

  .hero-grid,
  .media-split,
  .partners-layout,
  .grid-2,
  .grid-3,
  .step-list,
  .image-row-3,
  .partner-checklist {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-areas:
      "head"
      "visual"
      "body"
      "card";
    gap: 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    border-bottom: 0;
    padding-bottom: 0.2rem;
  }

  .company-table td {
    padding-top: 0.2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
