html,
body {
  margin: 0;
  padding: 0;
  color: #1f1930;
  font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

body.about-page {
  min-height: 100dvh;
  background-color: #e8ddff;
  background-image:
    radial-gradient(1200px 820px at 8% 16%, rgba(112, 195, 255, 0.72) 0%, rgba(112, 195, 255, 0) 58%),
    radial-gradient(980px 740px at 86% 8%, rgba(252, 132, 202, 0.62) 0%, rgba(252, 132, 202, 0) 56%),
    radial-gradient(1160px 760px at 18% 92%, rgba(174, 255, 169, 0.58) 0%, rgba(174, 255, 169, 0) 54%),
    radial-gradient(1400px 920px at 88% 94%, rgba(255, 216, 144, 0.72) 0%, rgba(255, 216, 144, 0) 62%),
    linear-gradient(142deg, #93b0ff 0%, #b9b8ef 32%, #e0a5d9 56%, #f1b2ad 74%, #f6d79d 100%);
  background-attachment: fixed;
}

/* about1 only: match custom index.php background */
body.about-page.about-page--indexbg {
  background-color: #5a2499;
  background-image:
    radial-gradient(72% 40% at 16% 8%, rgba(196, 146, 250, 0.32) 0%, rgba(120, 70, 196, 0.16) 36%, rgba(0, 0, 0, 0) 74%),
    radial-gradient(68% 42% at 88% 12%, rgba(244, 128, 206, 0.24) 0%, rgba(154, 56, 150, 0.14) 38%, rgba(0, 0, 0, 0) 76%),
    linear-gradient(180deg, #200838 0%, #2f0f56 18%, #5e2b97 38%, #7a37ad 62%, #9448b4 82%, #a55cad 100%);
  background-attachment: fixed;
}

body.about-page.about-page--indexbg .about1-space {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  pointer-events: none;
  z-index: 0;
}

body.about-page.about-page--indexbg .about1-twinkle-layer,
body.about-page.about-page--indexbg .about1-meteor-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

body.about-page.about-page--indexbg .about1-twinkle {
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(235, 245, 255, 0.92);
  box-shadow: 0 0 4px rgba(170, 210, 255, 0.45);
  opacity: 0.28;
  animation: about1-twinkle var(--tw-dur, 3.4s) ease-in-out infinite;
  animation-delay: var(--tw-delay, 0s);
  will-change: opacity, transform;
}

@keyframes about1-twinkle {
  0%, 100% { opacity: 0.22; transform: scale(0.9); }
  45% { opacity: 1; transform: scale(1.35); }
  70% { opacity: 0.34; transform: scale(1); }
}

body.about-page.about-page--indexbg .about1-meteor {
  position: absolute;
  left: 0;
  top: 0;
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(206,226,255,0.92) 55%, rgba(255,255,255,1) 100%);
  box-shadow: 0 0 8px rgba(176, 220, 255, 0.48);
  opacity: 0;
  will-change: transform, opacity;
}

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

.public-head {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  z-index: 200;
}

.about-header-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 59px;
  pointer-events: none;
  z-index: 150;
  background: transparent;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%),
    url('/_images/bg/topbg.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  background-blend-mode: overlay;
}

.public-head--border {
  border-top: 5px solid #8a4dff;
}

.public-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #2f2458;
  font-weight: 700;
  font-size: 16px;
}

.public-logo img {
  height: 30px;
  width: auto;
}

.about-wrap {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 0 48px;
  position: relative;
  z-index: 2;
}

.about-back-wrap {
  margin: 80px 0;
  display: flex;
  justify-content: center;
}

.about-back-wrap--top {
  margin: 50px 0;
}

.about-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  width: auto;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #4a2b86;
  background: color-mix(in srgb, #8a4dff 14%, #fff);
  border: 1px solid rgba(138, 77, 255, 0.2);
}

.about-card {
  border: none;
  border-radius: 0;
  padding: 14px 0 0;
  background: transparent;
}

.about-title-logo-wrap {
  margin: 20px 0;
  text-align: center;
}

.about-title-logo {
  display: inline-block;
  max-width: min(180px, 58%);
  height: auto;
}

.about-title {
  margin: 30px 0 50px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #cbb8ff;
  text-align: center;
}

.about-title-small {
  display: block;
  font-size: 16px;
}

.about-title-large {
  display: block;
  margin-top: 8px;
  font-size: 34px;
}

.about-section-title {
  margin: 70px 0 32px;
  font-size: 24px;
  line-height: 1.6;
  color: #cbb8ff;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.about-body h2 {
  text-align: center;
}

.about-body h3 {
  color: #cbb8ff;
  text-align: left;
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.7;
}

.about-paragraph + .about-section-title {
  margin-top: 70px;
}

.about-section-title i {
  font-size: 0.95em;
  line-height: 1;
}

.about-paragraph {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.85;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
}

.mini {
  font-size: 10px;
  color: #ffffff;
  line-height: 1.4;
}

.about-body .mini,
.about-paragraph .mini {
  font-size: 10px !important;
  color: #ffffff !important;
  font-weight: 400 !important;
}

.about-cta-wrap {
  margin: 30px 0 20px;
  text-align: center;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(520px, 100%);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #4c2d75;
  background: linear-gradient(
    90deg,
    #ffd7e7 0%,
    #ffe7c7 20%,
    #fff7bf 40%,
    #d9ffd8 60%,
    #d6ecff 80%,
    #e8d9ff 100%
  );
  box-shadow: 0 8px 20px rgba(140, 104, 180, 0.24);
}

@media (max-width: 640px) {
  .about-wrap {
    max-width: none;
    padding: 60px 20px 34px;
  }

  .about-title {
    margin: 30px 0 50px;
  }

  .about-title-small {
    font-size: 13px;
  }

  .about-title-large {
    font-size: 28px;
  }

  .about-section-title {
    font-size: 21px;
  }

  .about-paragraph {
    font-size: 16px;
  }

  .about-cta-btn {
    width: 100%;
    min-width: 0;
  }
}
