/* =====================================
   Reset
===================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p {
  margin: 0;
}

body {
  min-height: 100vh;
  background: #ffffff;
  color: #17233d;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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


/* =====================================
   Header
===================================== */

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #e8edf4;
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    #237cff 0%,
    #0758d9 100%
  );
  box-shadow:
    0 8px 20px rgba(17, 103, 224, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.brand-mark span {
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.brand-name {
  color: #17233d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.brand-en {
  margin-top: 2px;
  color: #929cad;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
}

.header-label {
  color: #9aa5b5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}


/* =====================================
   Hero
===================================== */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e8edf5;
  background:
    linear-gradient(
      180deg,
      #f4f8ff 0%,
      #f8fbff 70%,
      #ffffff 100%
    );
}

.hero::before {
  position: absolute;
  top: -170px;
  left: 50%;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(28, 118, 244, 0.08);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.hero::after {
  position: absolute;
  top: -95px;
  left: 50%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(28, 118, 244, 0.1);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-decoration-left {
  top: 100px;
  left: -120px;
  width: 300px;
  height: 300px;
  background: rgba(111, 172, 255, 0.11);
}

.hero-decoration-right {
  right: -100px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  background: rgba(40, 116, 231, 0.08);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 105px 0 112px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 13px;
  border: 1px solid rgba(30, 115, 234, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #1767d6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a82f5;
  box-shadow: 0 0 0 4px rgba(42, 130, 245, 0.12);
}

.hero h1 {
  color: #14203a;
  font-size: clamp(35px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.hero h1 span {
  color: #176bdc;
}

.hero-description {
  margin-top: 20px;
  color: #69758a;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.02em;
}

.mobile-break {
  display: none;
}


/* =====================================
   Documents
===================================== */

.documents {
  padding: 88px 0 62px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-label {
  margin-bottom: 5px;
  color: #2879e7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.section-heading h2,
.application-heading h2 {
  color: #17233d;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.section-description {
  color: #7c8798;
  font-size: 13px;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.document-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e9f3;
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 18px 45px rgba(34, 61, 101, 0.07),
    0 2px 8px rgba(34, 61, 101, 0.03);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.document-card:hover {
  transform: translateY(-5px);
  border-color: #cbdcf3;
  box-shadow:
    0 25px 55px rgba(31, 74, 131, 0.11),
    0 4px 12px rgba(31, 74, 131, 0.04);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 32px 0;
}

.document-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid #dce9fb;
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    #f5f9ff,
    #eaf3ff
  );
  color: #1c73e5;
}

.document-icon svg {
  width: 29px;
  height: 29px;
}

.document-number {
  color: #d8e0eb;
  font-family: Arial, sans-serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.card-body {
  flex: 1;
  padding: 27px 32px 31px;
}

.card-label {
  margin-bottom: 7px;
  color: #2a78df;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.card-body h3 {
  margin-bottom: 12px;
  color: #17233d;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.4;
}

.card-description {
  color: #707c8f;
  font-size: 14px;
  line-height: 1.9;
}

.card-footer {
  padding: 0 20px 20px;
}

.download-link {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 14px 13px 21px;
  border-radius: 14px;
  background: #f3f7fc;
  color: #1a355b;
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.download-link:hover {
  background: #176ddd;
  color: #ffffff;
}

.download-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #ffffff;
  color: #176ddd;
  box-shadow: 0 4px 12px rgba(25, 92, 181, 0.11);
}

.download-icon svg {
  width: 17px;
  height: 17px;
}


/* =====================================
   Application
===================================== */

.application-section {
  padding: 25px 0 100px;
}

.application-box {
  padding: 45px;
  border: 1px solid #dee7f2;
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f8fbff 100%
    );
  box-shadow: 0 20px 55px rgba(30, 66, 112, 0.07);
}

.application-heading {
  display: flex;
  align-items: center;
  gap: 17px;
}

.application-heading-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: #176ddd;
  box-shadow: 0 9px 22px rgba(23, 109, 221, 0.19);
  color: #ffffff;
}

.application-heading-icon svg {
  width: 27px;
  height: 27px;
}

.application-introduction {
  margin: 19px 0 27px 71px;
  color: #748096;
  font-size: 14px;
}

.application-list {
  display: grid;
  gap: 13px;
}

.application-item {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.application-item:hover {
  border-color: #cadcf3;
  box-shadow: 0 8px 25px rgba(31, 79, 142, 0.06);
}

.application-item-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.application-check {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #eaf4ff;
  color: #176ddd;
}

.application-check svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.application-item h3 {
  margin-bottom: 3px;
  color: #1b2b45;
  font-size: 16px;
  font-weight: 800;
}

.application-item p {
  color: #8590a1;
  font-size: 12px;
}

.application-download {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid #c8dcf8;
  border-radius: 11px;
  background: #f7fbff;
  color: #176bd9;
  font-size: 12px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.application-download svg {
  width: 16px;
  height: 16px;
}

.application-download:hover {
  border-color: #176bd9;
  background: #176bd9;
  color: #ffffff;
}

.application-status {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #7c8797;
  font-size: 11px;
  font-weight: 700;
}


/* =====================================
   Footer
===================================== */

.site-footer {
  border-top: 1px solid #e6ebf2;
  background: #f8fafc;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #1a69d4;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.footer-brand p {
  color: #26354c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-brand span {
  color: #a0a9b7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.copyright {
  color: #a0a9b7;
  font-size: 10px;
  letter-spacing: 0.08em;
}


/* =====================================
   Tablet
===================================== */

@media screen and (max-width: 820px) {

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

  .document-card {
    min-height: 330px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

}


/* =====================================
   Smartphone
===================================== */

@media screen and (max-width: 600px) {

  .container,
  .header-inner {
    width: min(100% - 28px, 1100px);
  }

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

  .header-label {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 15px;
  }

  .hero-inner {
    padding: 78px 0 82px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero h1 span {
    display: block;
  }

  .hero-description {
    font-size: 13px;
  }

  .mobile-break {
    display: block;
  }

  .documents {
    padding: 64px 0 45px;
  }

  .section-heading h2,
  .application-heading h2 {
    font-size: 23px;
  }

  .section-description {
    font-size: 12px;
  }

  .document-grid {
    gap: 18px;
  }

  .document-card {
    min-height: 0;
    border-radius: 19px;
  }

  .card-top {
    padding: 25px 24px 0;
  }

  .document-icon {
    width: 54px;
    height: 54px;
  }

  .document-number {
    font-size: 27px;
  }

  .card-body {
    padding: 23px 24px 27px;
  }

  .card-body h3 {
    font-size: 22px;
  }

  .card-description {
    font-size: 13px;
  }

  .download-link {
    min-height: 56px;
    padding-left: 17px;
    font-size: 12px;
  }

  .application-section {
    padding-bottom: 75px;
  }

  .application-box {
    padding: 27px 18px;
    border-radius: 21px;
  }

  .application-heading {
    align-items: flex-start;
  }

  .application-heading-icon {
    width: 47px;
    height: 47px;
  }

  .application-introduction {
    margin: 17px 0 22px;
    font-size: 13px;
  }

  .application-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    padding: 18px;
  }

  .application-item-main {
    align-items: flex-start;
  }

  .application-download,
  .application-status {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .application-status {
    border-radius: 10px;
  }

  .footer-inner {
    min-height: 100px;
  }

}

/* =====================================
   Campaign downloads / Preparing state
===================================== */

.card-footer-stack {
  display: grid;
  gap: 16px;
}

.campaign-downloads {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.campaign-downloads-title {
  padding-left: 4px;
  color: #176bd9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.download-link-sub {
  min-height: 54px;
  border: 1px solid #d9e7f9;
  background: #f8fbff;
  font-size: 12px;
}

.download-link-disabled {
  cursor: default;
  background: #f1f3f6;
  color: #8a94a3;
}

.download-link-disabled:hover {
  background: #f1f3f6;
  color: #8a94a3;
}

.preparing-badge {
  flex: 0 0 auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: #e1e6ed;
  color: #707b8b;
  font-size: 10px;
  font-weight: 800;
}

@media screen and (max-width: 600px) {
  .download-link-sub {
    min-height: 52px;
    font-size: 11px;
  }

  .campaign-downloads-title {
    font-size: 10px;
  }
}
