@charset "UTF-8";

.man3-page { overflow-x: clip; background: #f8f6f0; color: #34483c; }
.man3-page main { font-family: var(--font-round); }
.man3-inner { position: relative; z-index: 2; width: min(1200px, calc(100% - 80px)); margin: 0 auto; }

.man3-hero { position: relative; min-height: 555px; margin-top: -28px; padding-top: 0; background: #f8f6f0; }
.man3-hero__photo { height: 560px; overflow: hidden; }
.man3-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  animation: man3-hero-photo-enter 1.05s cubic-bezier(.22, .75, .28, 1) both;
}
@keyframes man3-hero-photo-enter {
  from {
    opacity: 0;
    transform: translateY(34px) scale(1.025);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .man3-hero__photo img {
    animation: none;
  }
}
.man3-hero::after { content: ""; position: absolute; z-index: 2; left: -5%; right: -5%; top: 380px; height: 270px; border-radius: 50% 50% 0 0 / 70% 70% 0 0; background: #f8f6f0; }
.man3-hero__inner { position: absolute; z-index: 4; inset: 0; width: min(1200px, calc(100% - 80px)); margin: 0 auto; }
.man3-hero .breadcrumb { position: absolute; top: 40px; left: 0; z-index: 3; padding: 7px 13px; border-radius: 18px; background: rgba(255,255,255,.9); }
.man3-hero__copy { position: absolute; top: 366px; left: 50%; width: min(840px, 80%); text-align: center; transform: translateX(-50%); }
.man3-ribbon { position: relative; top: 0; width: fit-content; margin: 0 auto 39px; }
.man3-ribbon .hero__badge-body { padding: 3px 28px; background: #71c171; color: #fff36f; font-size: 20px; }
.man3-ribbon .hero__badge-end { height: 34px; min-height: 0; }
.man3-ribbon .hero__badge-end--left { margin-right: -18px; transform: translateY(17px); }
.man3-ribbon .hero__badge-end--right { margin-left: -18px; transform: translateY(17px); }
.man3-hero__copy.scroll-reveal { transform: translate(-50%, 34px); }
.man3-hero__copy.scroll-reveal.is-visible { transform: translateX(-50%); }
.man3-hero__copy h1 { display: table; margin: 0 auto 22px; padding: 0 8px 15px; border-bottom: 2px dotted #b9b7aa; font-size: 38px; line-height: 1.5; letter-spacing: .07em; }
.hero-title-break { display: none; }
.hero-note-break { display: none; }
.mobile-hidden-punctuation { display: inline; }
.man3-hero__copy p { color: #536055; font-size: 16px; font-weight: 500; line-height: 2; }
.man3-hero__deco { position: absolute; z-index: 5; pointer-events: none; }
.man3-hero__deco--grass-left { left: max(25px, calc(50% - 605px)); top: 495px; width: 36px; }
.man3-hero__deco--slide { left: max(100px, calc(50% - 530px)); top: 360px; width: 240px; }
.man3-hero__deco--flower { right: max(180px, calc(50% - 430px)); top: 420px; width: 38px; }
.man3-hero__deco--grass { right: max(110px, calc(50% - 550px)); top: 480px; width: 36px; }

.man3-features { position: relative; padding: 0 0 120px; background: #f8f6f0; }
.man3-pattern { position: absolute; pointer-events: none; }
.man3-pattern--triangles { left: -60px; top: 410px; width: 280px; opacity: .55; }
.man3-heading { margin-bottom: 42px; text-align: center; }
.man3-heading > p { margin-bottom: 8px; color: #6fc365; font-size: 16px; font-weight: 700; letter-spacing: .14em; }
.man3-heading h2 { margin: 0; font-size: 38px; line-height: 1.5; letter-spacing: .06em; }
.man3-heading > span { display: block; width: 72px; height: 5px; margin: 18px auto 0; border-radius: 4px; background: linear-gradient(90deg,#f8d53a 0 50%,#6fc365 50%); }
.man3-lead { max-width: 880px; margin: 0 auto 70px; color: #536055; font-size: 16px; line-height: 2.1; text-align: center; }
.man3-two-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 52px; margin-bottom: 70px; }
.man3-copy-block__photo { display: block; width: 100%; height: 270px; margin-bottom: 30px; border-radius: 22px; object-fit: cover; }
.man3-copy-block h3 { position: relative; min-height: 72px; margin: 0 0 24px; padding-left: 28px; font-size: 25px; line-height: 1.55; letter-spacing: .04em; }
.man3-copy-block h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(#64c66e 0 50%,#aade89 50%); }
.man3-copy-block p { margin: 0; color: #526055; font-size: 15px; font-weight: 500; line-height: 2.05; }
.man3-copy-block ul, .man3-info-card ul, .man3-bridge ul { display: grid; gap: 7px; margin: 20px 0 0; padding: 18px 22px; border-radius: 16px; background: #fff; list-style: none; }
.man3-copy-block li, .man3-info-card li, .man3-bridge li { position: relative; padding-left: 34px; color: #4a574e; font-size: 18px; font-weight: 700; line-height: 1.7; }
.man3-copy-block li::before, .man3-info-card li::before, .man3-bridge li::before { content: "✓"; position: absolute; left: 0; top: 3px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #86d078; color: #fff; font-size: 15px; }
.man3-main-photo { position: relative; height: 510px; margin: 0 0 50px; }
.man3-main-photo > img:first-child { width: 100%; height: 100%; border-radius: 22px; object-fit: cover; }
.man3-main-photo__flower { position: absolute; right: -45px; bottom: 90px; width: 42px; }
.man3-main-photo__bear { position: absolute; right: -58px; bottom: -72px; width: 125px; }
body.man3-page:not(.hoiku-page):not(.yochien-page) .man3-main-photo__flower {
  right: -72px;
  bottom: 168px;
}
.man3-two-columns--cards { gap: 34px; margin: 5px 0 0; }
.man3-two-columns--lower { margin: 0 0 72px; }
.man3-two-columns--cards .man3-info-card { grid-column: 1 / -1; width: min(1040px, 100%); justify-self: center; }
.man3-info-card { display: grid; grid-template-columns: 42% 1fr; align-items: stretch; gap: 0; padding: 22px; border-radius: 24px; background: #fff; box-shadow: 12px 14px 0 rgba(216,207,188,.55); }
.man3-info-card > img { width: 100%; height: 100%; min-height: 360px; border-radius: 16px; object-fit: cover; }
.man3-info-card > div { display: flex; flex-direction: column; justify-content: center; padding: 28px 34px 28px 46px; }
.man3-info-card ul { background: #f8f6f0; }
.man3-info-card h3 { margin: 0 0 18px; font-size: 23px; line-height: 1.55; }
.man3-info-card p { color: #526055; font-size: 14.5px; line-height: 2; }
.man3-bridge { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 48px; padding: 22px; border-radius: 24px; background: #fff; }
.man3-bridge > img { width: 100%; height: 300px; border-radius: 17px; object-fit: cover; }
.man3-bridge > div { padding: 20px 34px 20px 0; }
.man3-bridge h3 { position: relative; margin: 0 0 22px; padding-left: 24px; font-size: 24px; line-height: 1.55; }
.man3-bridge h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(#64c66e 0 50%,#aade89 50%); }
.man3-bridge p { margin: 0; color: #526055; font-size: 16.5px; line-height: 2.05; }
.man3-bridge ul { background: #f8f6f0; }

.man3-recommend { position: relative; padding: 65px 0 100px; background: #eef5dd; }
.man3-recommend::before { content: ""; position: absolute; top: -25px; left: 0; width: 100%; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath fill='%23eef5dd' d='M0 26V20C80 20 160 4 240 4s160 16 240 16S640 4 720 4s160 16 240 16 160-16 240-16 160 16 240 16v6z'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.man3-recommend__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; max-width: 1120px; margin: 0 auto; padding: 0; list-style: none; }
.man3-recommend__list li { position: relative; padding: 24px 26px 24px 66px; border-radius: 18px; background: #fff; font-size: 18px; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.man3-recommend__list li::before { content: "✓"; position: absolute; left: 26px; top: 50%; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #79c85d; color: #fff; font-size: 15px; line-height: 1; transform: translateY(-50%); }
.man3-recommend__deco { position: absolute; z-index: 3; right: -35px; bottom: -28px; width: 105px; pointer-events: none; }

@media (max-width: 1024px) {
  .policy-page.man3-page .fcontact__wave {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='26' viewBox='0 0 240 26' preserveAspectRatio='none'%3E%3Cpath fill='%23f7f4ea' d='M0,0 H240 V22 C220,18 200,18 180,22 C160,26 140,26 120,22 C100,18 80,18 60,22 C40,26 20,26 0,22 Z'/%3E%3C/svg%3E");
  }
}



@media (max-width: 1024px) {
  .man3-hero { min-height: 610px; }
  .man3-hero__deco { display: none; }
  .man3-two-columns { gap: 40px; }
  .man3-main-photo { height: 420px; }
  .man3-main-photo__bear, .man3-main-photo__flower { display: none; }
}

@media (max-width: 600px) {
  /* 固定ヘッダー下端の波に写真を接続し、ヒーロー上部の空白をなくす */
  .man3-page { padding-top: 95px; }
  .man3-inner { width: calc(100% - 40px); }
  .man3-hero { min-height: 505px; margin-top: 0; }
  body.man3-page:not(.hoiku-page):not(.yochien-page):not(.azukari-page):not(.kagai-page):not(.circle-page):not(.ichiji-page) .man3-hero {
    min-height: 380px;
  }
  body.man3-page:not(.hoiku-page):not(.yochien-page):not(.azukari-page):not(.kagai-page):not(.circle-page):not(.ichiji-page) .man3-features {
    padding-top: 8px;
    padding-bottom: 30px;
  }
  body.man3-page:not(.hoiku-page):not(.yochien-page):not(.azukari-page):not(.kagai-page):not(.circle-page):not(.ichiji-page) .man3-pattern--triangles {
    left: -45px;
    top: 250px;
    width: 160px;
    opacity: .35;
  }
  .man3-hero__photo { height: 340px; }
  .man3-hero::after { top: 250px; height: 170px; }
  .man3-hero__inner { width: calc(100% - 40px); }
  .man3-hero .breadcrumb { top: 14px; }
  .man3-hero__copy { top: 268px; width: 100%; }
  .man3-ribbon { top: 0; margin: 0 auto 14px; }
  .man3-ribbon .hero__badge-body { padding: 3px 18px; font-size: 15px; }
  .man3-ribbon .hero__badge-end { height: 27px; }
  .man3-ribbon .hero__badge-end--left { margin-right: -14px; transform: translateY(13px); }
  .man3-ribbon .hero__badge-end--right { margin-left: -14px; transform: translateY(13px); }
  .man3-hero__copy h1 { margin-bottom: 14px; font-size: 20px !important; }
  .hero-title-break { display: block; }
  .hero-note-break { display: block; }
  .mobile-hidden-punctuation { display: none; }
  .man3-hero__copy p { font-size: 13.5px; line-height: 1.85; }
  .man3-hero__copy h1 + p { text-align: left; }
  .man3-hero__copy p br { display: none; }
  .man3-features { padding: 28px 0 80px; }
  .man3-heading { margin-bottom: 28px; }
  .man3-heading h2 { font-size: 22px; line-height: 1.55; }
  .man3-heading > p { font-size: 13px; }
  .man3-lead { margin-bottom: 45px; font-size: 14px; line-height: 1.95; text-align: left; }
  .man3-two-columns { grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
  .man3-copy-block h3 { min-height: 0; font-size: 19px; }
  .man3-copy-block__photo { height: 230px; margin-bottom: 24px; border-radius: 18px; }
  .man3-copy-block p { font-size: 14px; }
  .man3-main-photo { height: 260px; margin-bottom: 40px; }
  .man3-info-card { grid-template-columns: 1fr; padding: 16px; }
  .man3-info-card > img { height: 220px; min-height: 0; border-radius: 14px; }
  .man3-info-card > div { padding: 26px 10px 16px; }
  .man3-info-card h3 { font-size: 20px; }
  .man3-bridge { grid-template-columns: 1fr; gap: 0; padding: 16px; }
  .man3-bridge > img { height: 220px; }
  .man3-bridge > div { padding: 26px 10px 16px; }
  .man3-bridge h3 { font-size: 18px; }
  .man3-copy-block ul,
  .man3-info-card ul,
  .man3-bridge ul {
    gap: 5px;
    margin-top: 16px;
    padding: 14px 16px;
  }
  .man3-copy-block li,
  .man3-info-card li,
  .man3-bridge li {
    padding-left: 27px;
    font-size: var(--font-body-mobile);
    line-height: 1.65;
  }
  .man3-copy-block li::before,
  .man3-info-card li::before,
  .man3-bridge li::before {
    top: 2px;
    width: 19px;
    height: 19px;
    font-size: 11px;
  }
  .man3-recommend { padding: 72px 0; }
  body.man3-page:not(.hoiku-page):not(.yochien-page):not(.azukari-page):not(.kagai-page):not(.circle-page):not(.ichiji-page) .man3-recommend {
    padding: 40px 0;
  }
  body.man3-page:not(.hoiku-page):not(.yochien-page):not(.azukari-page):not(.kagai-page):not(.circle-page):not(.ichiji-page) .man3-recommend::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='26' viewBox='0 0 240 26' preserveAspectRatio='none'%3E%3Cpath fill='%23eef5dd' d='M0,22 C10,26 20,26 30,22 C40,18 50,18 60,22 C70,26 80,26 90,22 C100,18 110,18 120,22 C130,26 140,26 150,22 C160,18 170,18 180,22 C190,26 200,26 210,22 C220,18 230,18 240,22 V26 H0 Z'/%3E%3C/svg%3E") bottom left / 100% 26px no-repeat !important;
  }
  body.man3-page:not(.hoiku-page):not(.yochien-page):not(.azukari-page):not(.kagai-page):not(.circle-page):not(.ichiji-page) .life__wave {
    display: block;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='26' viewBox='0 0 240 26' preserveAspectRatio='none'%3E%3Cpath fill='%23eef5dd' d='M0,0 H240 V22 C230,18 220,18 210,22 C200,26 190,26 180,22 C170,18 160,18 150,22 C140,26 130,26 120,22 C110,18 100,18 90,22 C80,26 70,26 60,22 C50,18 40,18 30,22 C20,26 10,26 0,22 Z'/%3E%3C/svg%3E") top left / 100% 26px no-repeat !important;
  }
  .man3-recommend .man3-heading h2 { font-size: 22px; }
  .man3-recommend__list { grid-template-columns: 1fr; gap: 12px; }
  .man3-recommend__list li {
    padding: 14px 14px 14px 45px;
    font-size: var(--font-body-mobile);
    line-height: 1.65;
    white-space: normal;
  }
  .man3-recommend__list li::before {
    left: 16px;
    top: 50%;
    width: 19px;
    height: 19px;
    font-size: 11px;
  }
  .man3-recommend__deco { display: none; }
}

/* 満3歳児ページ：説明本文の可読性調整 */
.man3-hero__copy p,
.man3-lead,
.man3-copy-block p,
.man3-info-card p,
.man3-copy-block li,
.man3-info-card li {
  font-size: 16.5px;
}

.man3-page .life-card.is-current {
  position: relative;
  isolation: isolate;
  cursor: default;
}
.man3-page .life-card.is-current::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border: 3px solid #71c171;
  border-radius: 28px;
  background: #f0f8e8;
  pointer-events: none;
}
.man3-page .life-card.is-current:hover {
  transform: none;
}
.man3-page .life-card__current-badge {
  position: absolute;
  top: -35px;
  left: 18px;
  z-index: 2;
  display: block;
  margin: 0;
  padding: 4px 16px;
  border-radius: 999px;
  background: #71c171;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}
.man3-page .life-card.is-current .life-card__text {
  margin-top: 18px;
}

@media (max-width: 1024px) {
  .man3-page .life-card.is-current::before {
    inset: -14px;
    border-width: 2px;
    border-radius: 24px;
  }
  .man3-page .life-card__current-badge {
    top: -27px;
    left: 12px;
  }
}

@media (max-width: 600px) {
  .man3-page .life-card.is-current::before {
    display: none;
  }
  .man3-page .life-card.is-current {
    box-shadow: 0 0 0 2px #71c171, 0 8px 18px rgba(90, 90, 60, .1);
  }
  .man3-page .life-card__current-badge {
    display: none;
  }
  .man3-page .life-card.is-current .life-card__text {
    margin-top: 5px;
  }

  .man3-hero__copy p,
  .man3-lead,
  .man3-copy-block p,
  .man3-info-card p,
  .man3-bridge p,
  .man3-copy-block li,
  .man3-info-card li {
    font-size: var(--font-body-mobile);
  }
}
