@charset "UTF-8";

/* =========================
   ABOUT PAGE
========================= */

.about-page,
.youfo-about-page {
  background: #f7f9fc;
  color: #111827;
}

.about-page *,
.youfo-about-page * {
  box-sizing: border-box;
}

.about-page img,
.youfo-about-page img {
  max-width: 100%;
  height: auto;
}

.about-page a,
.youfo-about-page a {
  text-decoration: none;
}

.about-page .inner,
.youfo-about-page .inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.about-page section,
.youfo-about-page section {
  position: relative;
}

/* =========================
   COMMON
========================= */

.section-heading {
  text-align: center !important;
  margin-bottom: 40px;
}

.section-eyebrow {
  display: block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e53935;
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  text-align: center;
}

.section-lead {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: #475569;
  text-align: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.28s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #fff;
  box-shadow: 0 14px 28px rgba(229, 57, 53, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(229, 57, 53, 0.28);
}

.btn-secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

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

.about-hero {
  overflow: hidden;
  padding: 120px 0 96px;
  background:
    linear-gradient(135deg, rgba(8, 15, 34, 0.84), rgba(12, 35, 74, 0.74)),
    url("http://youfo.or.jp/wp-content/uploads/2026/04/set.jpg") center center / cover no-repeat;
  color: #fff;
}

.about-hero__bg,
.about-hero__overlay {
  display: none;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.about-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.about-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
}

.about-lead {
  margin: 22px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.about-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* =========================
   INTRO
========================= */

.about-intro {
  padding: 88px 0 24px;
}

.about-intro__body {
  max-width: 860px;
  margin: 0 auto;
}

.about-intro__body p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 2;
  color: #334155;
}

.about-intro__body p:last-child {
  margin-bottom: 0;
}

/* =========================
   VIDEO
========================= */

.about-video {
  padding: 64px 0 40px;
}

.about-video__embed {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  background: #000;
}

.about-video__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-video__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px auto 0;
  max-width: 920px;
}

.about-video__points li {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
}

/* =========================
   FEATURES
========================= */

.about-features {
  padding: 72px 0;
}

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

.feature-card {
  padding: 28px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.feature-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.1);
  color: #e53935;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 18px 0 12px;
  font-size: 22px;
  line-height: 1.4;
  color: #0f172a;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #475569;
}

/* =========================
   RECOMMEND
========================= */

.about-recommend {
  padding: 8px 0 72px;
}

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

.recommend-item {
  position: relative;
  padding: 22px 22px 22px 54px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: #0f172a;
}

.recommend-item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e53935, #c62828);
  box-shadow: 0 0 0 6px rgba(229, 57, 53, 0.12);
}

/* =========================
   JAPAN / NEXT
========================= */

.about-japan,
.about-next {
  padding: 72px 0;
}

.about-japan__body,
.about-next__lead {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  line-height: 2;
  color: #334155;
}

.about-japan__body p {
  margin: 0 0 16px;
}

.about-japan__body p:last-child {
  margin-bottom: 0;
}

.about-next__buttons {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* =========================
   FAQ
========================= */

.about-faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #dbe5ef;
  border-radius: 20px;
  background: #f8fafc;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item + .faq-item {
  margin-top: 14px;
}

.faq-question {
  position: relative;
  display: block;
  width: 100%;
  padding: 22px 64px 22px 28px;
  background: #f8fafc;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.25s ease;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: #eef4fb;
}

.faq-question::before,
.faq-question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 16px;
  height: 2px;
  background: #2b6cb0;
  transform: translateY(-50%);
  transition: all 0.25s ease;
}

.faq-question::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] .faq-question {
  background: #eef4fb;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(-6px);
}

.faq-item[open] .faq-answer {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  padding: 18px 28px 22px;
  background: #fff;
  border-top: 1px solid #e5edf5;
}

.faq-answer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* =========================
   CTA
========================= */

.about-cta {
  padding: 24px 0 96px;
}

.about-cta__box {
  padding: 40px 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
  text-align: center;
  color: #fff;
}

.about-cta__box h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.3;
  color: #fff;
}

.about-cta__box p {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
}

.about-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.about-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}

.about-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
  .about-hero {
    padding: 108px 0 84px;
  }

  .about-features__grid,
  .about-recommend__list,
  .about-video__points {
    grid-template-columns: 1fr 1fr;
  }

  .about-video__points li:last-child {
    grid-column: 1 / -1;
  }
}

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

@media (max-width: 767px) {
  .about-page .inner,
  .youfo-about-page .inner {
    width: min(100% - 24px, 1120px);
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-lead {
    font-size: 15px;
    line-height: 1.8;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 15px;
  }

  .about-hero {
    padding: 92px 0 72px;
    background-position: center center;
  }

  .about-title {
    font-size: 38px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }

  .about-lead {
    font-size: 15px;
    line-height: 1.85;
  }

  .about-hero__buttons,
  .about-cta__buttons {
    flex-direction: column;
  }

  .about-intro {
    padding: 68px 0 16px;
  }

  .about-intro__body p,
  .about-japan__body,
  .about-next__lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .about-video,
  .about-features,
  .about-japan,
  .about-next,
  .about-faq {
    padding: 56px 0;
  }

  .about-recommend {
    padding: 0 0 56px;
  }

  .about-video__embed {
    border-radius: 20px;
  }

  .about-features__grid,
  .about-recommend__list,
  .about-video__points {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-video__points li:last-child {
    grid-column: auto;
  }

  .feature-card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .feature-card h3 {
    font-size: 20px;
  }

  .recommend-item {
    padding: 18px 18px 18px 48px;
    font-size: 15px;
    line-height: 1.8;
  }

  .recommend-item::before {
    top: 21px;
    left: 18px;
    width: 14px;
    height: 14px;
    box-shadow: 0 0 0 5px rgba(229, 57, 53, 0.12);
  }

  .faq-question {
    padding: 18px 54px 18px 18px;
    font-size: 15px;
    line-height: 1.7;
  }

  .faq-question::before,
  .faq-question::after {
    right: 18px;
  }

  .faq-item[open] .faq-answer {
    padding: 16px 18px 18px;
  }

  .faq-answer p {
    font-size: 14px;
    line-height: 1.85;
  }

  .about-cta {
    padding: 8px 0 72px;
  }

  .about-cta__box {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .about-cta__box h2 {
    font-size: 28px;
  }

  .about-cta__box p {
    font-size: 15px;
    line-height: 1.85;
  }
}

/* =========================
   SECTION TITLE CENTER FIX
========================= */

.youfo-about-page .section-heading,
.about-page .section-heading {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 40px !important;
  text-align: center !important;
}

.youfo-about-page .section-heading > *,
.about-page .section-heading > * {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  text-align: center !important;
}

.youfo-about-page .section-eyebrow,
.about-page .section-eyebrow {
  display: block !important;
  width: 100% !important;
  margin: 0 auto 12px !important;
  text-align: center !important;
}

.youfo-about-page .section-title,
.about-page .section-title {
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.youfo-about-page .section-lead,
.about-page .section-lead {
  display: block !important;
  max-width: 760px !important;
  width: 100% !important;
  margin: 18px auto 0 !important;
  text-align: center !important;
}