@charset "UTF-8";

:root {
  --color-main: #1a365d;
  --color-main-deep: #10243f;
  --color-accent: #e67e22;
  --color-text: #2d3748;
  --color-muted: #64748b;
  --color-line: #dbe5f2;
  --color-bg: #ffffff;
  --color-tint: #f5f8fc;
  --shadow: 0 24px 70px rgba(26, 54, 93, 0.12);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: var(--color-bg);
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 242, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 2px;
  color: var(--color-main);
  line-height: 1.35;
}

.brand__eyebrow {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.brand__name {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  color: var(--color-main);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  content: "";
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  color: var(--color-main);
  background: rgba(26, 54, 93, 0.04);
  border: 1px solid rgba(26, 54, 93, 0.14);
  border-radius: 999px;
}

.site-nav .nav-archive-link::after {
  display: none;
}

.site-nav .nav-archive-link:hover,
.site-nav .nav-archive-link:focus-visible {
  background: rgba(26, 54, 93, 0.08);
  border-color: rgba(26, 54, 93, 0.22);
}

.nav-archive-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-button {
  display: none;
}

.hero {
  position: relative;
  min-height: min(700px, calc(100svh - 92px));
  padding-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.86) 34%, rgba(255, 255, 255, 0.18) 72%);
}

.hero__content {
  width: min(650px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 120px);
  padding-top: clamp(72px, 12vh, 140px);
}

.hero__label {
  width: fit-content;
  margin: 0 0 22px;
  padding: 6px 14px;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(26, 54, 93, 0.08);
}

.hero h1 {
  margin: 0;
  color: var(--color-main);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero__lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--color-main-deep);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  color: var(--color-main);
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary,
.button--submit {
  color: #fff;
  background: var(--color-accent);
  box-shadow: 0 16px 30px rgba(230, 126, 34, 0.26);
}

.button--primary:hover,
.button--primary:focus-visible,
.button--submit:hover,
.button--submit:focus-visible {
  background: #d46f17;
}

.button--ghost {
  background: #fff;
  border-color: var(--color-line);
  box-shadow: 0 12px 28px rgba(26, 54, 93, 0.08);
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section--tint {
  background: var(--color-tint);
}

.section__label {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 800;
}

.section h2,
.site-footer h2 {
  margin: 0;
  color: var(--color-main);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.3;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.intro__text p {
  margin: 0;
}

.intro__text p + p {
  margin-top: 18px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.case-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(26, 54, 93, 0.07);
}

.case-card summary {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 20px 56px 20px 22px;
  color: var(--color-main);
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.case-card summary::-webkit-details-marker {
  display: none;
}

.case-card summary::after {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 18px;
  height: 18px;
  content: "";
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.case-card[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.case-card ul {
  margin: 0;
  padding: 0 22px 24px 42px;
}

.case-card li + li {
  margin-top: 8px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 260px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flow-list__step {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 3px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: var(--color-main);
  border-radius: 999px;
}

.flow-list h3 {
  margin: 0 0 12px;
  color: var(--color-main);
  font-size: 20px;
  line-height: 1.45;
}

.flow-list p {
  margin: 0;
  color: var(--color-muted);
}

.section--contact {
  background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy__lead {
  color: var(--color-main-deep);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label,
.contact-form fieldset {
  display: grid;
  gap: 9px;
  margin: 0;
}

.contact-form span,
.contact-form legend {
  color: var(--color-main);
  font-size: 14px;
  font-weight: 800;
}

.contact-form strong {
  color: var(--color-accent);
  font-size: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--color-text);
  background: #f8fafc;
  border: 1px solid #cbd8e8;
  border-radius: 6px;
  outline: none;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 10px 13px;
}

.contact-form textarea {
  min-height: 170px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.14);
}

.contact-form fieldset {
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.contact-form fieldset.is-invalid {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.14);
}

.check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--color-text);
  font-weight: 500;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin: 5px 0 0;
  accent-color: var(--color-accent);
}

.button--submit {
  width: 100%;
  min-height: 58px;
  cursor: pointer;
  border: 0;
}

.button--submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-message {
  display: none;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
}

.form-message:not(:empty) {
  display: block;
}

.form-message[data-type="success"] {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.form-message[data-type="error"] {
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fdba74;
}

.flow-list a {
  color: var(--color-main);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(230, 126, 34, 0.75);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 58px 0 22px;
  color: #dce7f4;
  background: var(--color-main-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 6vw, 80px);
}

.site-footer h2 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 20px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.footer-privacy-text {
  color: #aebed2;
  max-width: 70%;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(230, 126, 34, 0.75);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffb26f;
}

.footer-partners {
  margin-top: 20px !important;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 38px auto 0 !important;
  padding-top: 20px;
  color: #9db1ca;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.archive-hero {
  padding: calc(var(--header-height) + 82px) 0 72px;
  color: var(--color-main);
  background: #f8fbff;
  border-bottom: 1px solid var(--color-line);
}

.archive-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.archive-hero p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.auth-panel,
.archive-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-panel {
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 42px);
}

.auth-panel h2 {
  margin: 0 0 10px;
  color: var(--color-main);
  font-size: 26px;
  line-height: 1.45;
}

.auth-panel p {
  margin: 0 0 24px;
  color: var(--color-muted);
}

.auth-panel form {
  display: grid;
  gap: 18px;
}

.auth-panel label {
  display: grid;
  gap: 8px;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 800;
}

.auth-panel input {
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid #cbd8e8;
  border-radius: 6px;
  outline: none;
}

.auth-panel input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.14);
}

.auth-panel__message {
  min-height: 1.8em;
  margin: 0 !important;
  color: #b54810 !important;
  font-weight: 800;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.archive-card {
  overflow: hidden;
}

.video-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 22px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--color-main), #2b6cb0);
}

.video-placeholder iframe{
  width: 100%;
}

.archive-card h3,
.archive-card h4 {
  margin: 24px 24px 24px;
  color: var(--color-main);
  font-size: 20px;
  line-height: 1.45;
}

.archive-card p {
  margin: 0 24px 24px;
}

.archive-card__meta {
  color: var(--color-accent);
  font-weight: 800;
}

.archive-docs {
  margin-top: 64px;
}

.document-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-list a {
  display: block;
  padding: 18px 20px;
  color: var(--color-main);
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  transition: 0.2s ease;
}

@media (hover: hover){
  .document-list a:hover{
    background: var(--color-line);
  }
}

h3.archive-title{
  margin: 0 0 12px;
  padding: 0 0 12px;
  color: var(--color-main);
  font-size: 20px;
  line-height: 1.45;
  border-bottom: solid 2px var(--color-accent);
}

.floating-cta {
  position: fixed;
  z-index: 15;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 52px;
  padding: 12px 18px;
  color: #fff;
  font-weight: 800;
  background: var(--color-accent);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(230, 126, 34, 0.35);
}

@media (max-width: 1024px) {
  .site-nav {
    gap: 16px;
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list li {
    min-height: 220px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, 640px);
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand__eyebrow {
    font-size: 10px;
  }

  .brand__name {
    font-size: 17px;
  }

  .nav-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    position: relative;
    z-index: 30;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 6px;
    cursor: pointer;
  }

  .nav-button span {
    width: 20px;
    height: 2px;
    display: block;
    background: var(--color-main);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-header.is-nav-open .nav-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-button span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 25;
    display: grid;
    gap: 0;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 18px 40px rgba(26, 54, 93, 0.12);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .site-nav--simple {
    position: static;
    display: flex;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    box-shadow: none;
    border-bottom: 0;
  }

  .site-nav--simple a {
    border-bottom: 0;
  }

  .site-header.is-nav-open .site-nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.is-nav-open {
    overflow: visible;
  }

  .site-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid #eef3f9;
  }

  .site-nav .nav-archive-link {
    justify-content: center;
    margin-top: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(26, 54, 93, 0.14);
    border-radius: 8px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: auto;
    padding-top: var(--header-height);
    padding-bottom: 56px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(255, 255, 255, 0.24) 76%);
  }

  .hero__image img {
    object-position: center 60%;
  }

  .hero__content {
    width: min(100% - 28px, 560px);
    margin-inline: auto;
    padding-top: clamp(34px, 7vh, 56px);
  }

  .hero__label {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(25px, 7vw, 30px);
  }

  .hero__lead {
    margin-top: 14px;
    font-size: 16px;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .hero__actions .button {
    width: auto;
    flex: 1 1 calc(50% - 7px);
    min-width: 0;
    padding-inline: 12px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .intro.section {
    padding-top: 72px;
  }

  .intro__grid,
  .case-grid,
  .flow-list,
  .form-grid,
  .footer-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .footer-privacy-text {
    max-width: 100%;
  }

  .archive-hero {
    padding: calc(var(--header-height) + 58px) 0 56px;
  }

  .archive-hero p:last-child {
    font-size: 16px;
  }

  .archive-hero h1 {
    font-size: clamp(26px, 7vw, 32px);
  }

  .flow-list li {
    min-height: auto;
  }

  .contact-form {
    padding: 20px;
  }

  .floating-cta {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    min-width: 104px;
    min-height: 46px;
    padding: 10px 16px;
  }
}

@media (max-width: 600px) {
  .container,
  .hero__content {
    width: min(calc(100vw - 28px), 362px);
    margin-left: 14px;
    margin-right: 14px;
  }

  .site-header {
    max-width: 100vw;
    overflow: visible;
  }

  .brand__eyebrow {
    max-width: 220px;
  }

  .brand__name {
    max-width: 220px;
  }

  .site-nav--simple {
    gap: 8px;
    font-size: 12px;
  }

  .archive-hero h1,
  .auth-panel h2 {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero__lead {
    font-size: 14px;
  }

  .floating-cta {
    right: 14px;
    left: auto;
    width: auto;
    min-width: 104px;
    border-radius: 999px;
  }

  .hero__actions {
    gap: 10px;
  }

  .case-card summary {
    min-height: 68px;
    padding: 16px 48px 16px 18px;
  }

  .case-card ul {
    padding: 0 18px 20px 36px;
  }
}

.mt36{
  margin-top: 36px !important;
}