* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #292b47;
  background: #fff;
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Yu Gothic",
    "Meiryo",
    serif;
  line-height: 1.8;
}

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


/* =========================
   HEADER
========================= */

.site-header {
  height: 78px;
  background: rgba(255,255,255,.97);
}

.header-inner {
  max-width: 1420px;
  height: 100%;
  margin: auto;
  padding: 0 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.moon-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dfc3ef;
  position: relative;
}

.moon-mark::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  top: -2px;
  left: 10px;
  border-radius: 50%;
  background: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  color: #292b47;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .05em;
}

.brand-text small {
  margin-top: -3px;
  color: #9895aa;
  font-family: Arial, sans-serif;
  font-size: 7px;
  letter-spacing: .28em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  height: 100%;
}

.main-nav a {
  height: 100%;
  padding-top: 29px;
  color: #4f5065;
  font-family: "Yu Gothic","Meiryo",sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  position: relative;
}

.main-nav a.active {
  color: #6755c8;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  background: #7665d1;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(circle at 10% 20%,
      rgba(200,203,243,.70) 0,
      rgba(200,203,243,.18) 25%,
      transparent 44%),

    radial-gradient(circle at 82% 16%,
      rgba(243,220,231,.55) 0,
      rgba(243,220,231,.16) 27%,
      transparent 47%),

    linear-gradient(
      130deg,
      #eef0fc 0%,
      #faf8fb 46%,
      #f8eef4 100%
    );
}

.hero-inner {
  margin-top: -5px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #292b47;
  font-size: 47px;
  font-weight: 400;
  letter-spacing: .11em;
}

.hero-en {
  display: block;
  margin-top: 2px;
  color: #6e6c82;
  font-family: Arial,sans-serif;
  font-size: 13px;
  letter-spacing: .24em;
}

.short-line {
  display: block;
  width: 45px;
  height: 2px;
  margin: 16px auto 19px;
  background: #c9acec;
}

.hero p {
  margin: 0;
  color: #4c4d65;
  font-family: "Yu Gothic","Meiryo",sans-serif;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: .06em;
}


/* =========================
   CONTACT
========================= */

.contact-wrap {
  max-width: 1180px;
  margin: -34px auto 0;
  padding: 0 32px 36px;
  position: relative;
}

.contact-panel {
  padding: 44px 50px 34px;
  background: rgba(255,255,255,.97);
  border: 1px solid #eeedf3;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(72,69,106,.08);
}

.contact-section {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 30px;
}

.section-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #715dd1;

  background:
    linear-gradient(
      135deg,
      #ebe7ff,
      #f4ebfb
    );
}

.section-icon svg {
  width: 33px;
  height: 33px;
}

.section-body h2 {
  margin: 3px 0 0;
  color: #252841;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: .05em;
}

.heading-line {
  display: block;
  width: 48px;
  height: 2px;
  margin: 13px 0 20px;
  background: #a78be7;
}

.section-body p {
  margin: 0;
  color: #55576d;
  font-family: "Yu Gothic","Meiryo",sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
}

.mail-box {
  min-height: 72px;
  margin: 22px 0 18px;
  padding: 0 32px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  gap: 27px;

  color: #5846bb;
  background:
    linear-gradient(
      90deg,
      #f4f2ff,
      #f3f3fb
    );

  font-family: Arial,"Yu Gothic",sans-serif;
  font-size: 23px;
}

.mail-box svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
}

.note {
  font-size: 12px !important;
}

.contact-divider {
  height: 1px;
  margin: 38px 0 33px;
  background: #e6e5ed;
}


/* =========================
   SUPPORT CARDS
========================= */

.support-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-card {
  min-height: 340px;
  padding: 24px 45px 32px;
  border: 1px solid #e6e4ef;
  border-radius: 8px;
  text-align: center;
  transition: .2s ease;
}

.support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(70,65,105,.09);
}

.faq-card {
  background:
    radial-gradient(circle at 30% 20%,rgba(245,220,235,.5),transparent 46%),
    #fff9fc;
}

.board-card {
  background:
    radial-gradient(circle at 70% 20%,rgba(219,225,252,.62),transparent 48%),
    #f8faff;
}

.support-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #a85caa;
  background: rgba(222,187,221,.45);

  font-family: Arial,sans-serif;
  font-size: 34px;
  font-weight: 300;
}

.board-card .support-icon {
  color: #655ac9;
  background: rgba(196,198,241,.53);
}

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

.support-card h2 {
  margin: 0;
  color: #252841;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: .06em;
}

.card-line {
  display: block;
  width: 50px;
  height: 2px;
  margin: 15px auto 19px;
  background: #bd79b8;
}

.board-card .card-line {
  background: #7e72d8;
}

.support-card p {
  min-height: 79px;
  margin: 0;
  color: #55576d;
  font-family: "Yu Gothic","Meiryo",sans-serif;
  font-size: 14px;
  line-height: 1.75;
}

.support-button {
  max-width: 310px;
  min-height: 53px;
  margin: 20px auto 0;
  padding: 0 28px;

  border-radius: 100px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;

  background:
    linear-gradient(
      90deg,
      #b653a3,
      #c36eaf
    );

  font-family: "Yu Gothic","Meiryo",sans-serif;
  font-size: 14px;
  letter-spacing: .06em;

  position: relative;
}

.board-card .support-button {
  background:
    linear-gradient(
      90deg,
      #7069d1,
      #8983d8
    );
}

.support-button b {
  position: absolute;
  right: 24px;
  font-size: 24px;
  font-weight: 300;
}


/* =========================
   BACK
========================= */

.back-area {
  padding: 27px 0 0;
  text-align: center;
}

.back-button {
  min-width: 345px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid #6658cc;
  border-radius: 100px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;

  color: #5e50c2;

  font-family: "Yu Gothic","Meiryo",sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
}

.back-button span {
  font-size: 25px;
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 27px 20px 29px;
  text-align: center;

  background:
    linear-gradient(
      100deg,
      #f1f1ff,
      #faf8ff,
      #f3edfb
    );
}

.footer-moon {
  width: 29px;
  height: 29px;
  margin: 0 auto 5px;
  border-radius: 50%;
  background: #9386df;
  position: relative;
}

.footer-moon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  left: 10px;
  top: -2px;
  border-radius: 50%;
  background: #f8f6ff;
}

.footer-brand {
  color: #34364e;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: .04em;
}

.footer-brand small {
  display: block;
  margin-top: 2px;
  color: #9b98ae;
  font-family: Arial,sans-serif;
  font-size: 6px;
  letter-spacing: .28em;
}

footer p {
  margin: 10px 0 0;
  color: #89889c;
  font-family: Arial,"Yu Gothic",sans-serif;
  font-size: 10px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 780px) {

  .site-header {
    height: auto;
  }

  .header-inner {
    padding: 16px 18px;
    flex-direction: column;
    gap: 15px;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .main-nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }

  .main-nav a {
    height: auto;
    padding: 5px 2px 10px;
    font-size: 10px;
  }

  .main-nav a.active::after {
    bottom: 1px;
  }

  .hero {
    min-height: 300px;
  }

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

  .hero p {
    font-size: 14px;
  }

  .contact-wrap {
    margin-top: -25px;
    padding: 0 12px 28px;
  }

  .contact-panel {
    padding: 30px 19px;
  }

  .contact-section {
    display: block;
  }

  .section-icon {
    margin-bottom: 18px;
  }

  .section-body h2 {
    font-size: 20px;
    text-align: center;
  }

  .heading-line {
    margin-left: auto;
    margin-right: auto;
  }

  .section-body p {
    font-size: 13px;
  }

  .mail-box {
    padding: 15px 16px;
    gap: 13px;
    font-size: 16px;
    word-break: break-all;
  }

  .mail-box svg {
    width: 25px;
  }

  .pc {
    display: none;
  }

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

  .support-card {
    min-height: auto;
    padding: 27px 20px 30px;
  }

  .back-button {
    min-width: 0;
    width: 100%;
    font-size: 12px;
  }
}
