/* ==========================================================================
   styles.css — PC common (≥1025px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --cream-bg:      #F9F4E5;
  --white:         #FFFFFF;
  --black:         #212121;
  --text-dark:     #212121;
  --text-gray:     #555555;
  --text-light:    #636363;
  --brown-badge:   #A67C4E;
  --blue-primary:  #313C95;
  --yellow-cta:    #FED804;
  --orange-accent: #E86C3A;
  --green-icon:    #A9CE52;
  --bg-01:         #F8FAFB;
  --bg-02:         #EDF1F4;
  --border-main:   #D9D9D9;
  --border-card:   #D9D9D9;
  --border-tag:    #aaaaaa;
  --copy-bg:       #636363;

  /* Font families */
  --font-main: 'Zen Maru Gothic', Meiryo, 'Hiragino Kaku Gothic Pro', sans-serif;
  --font-sub:  'Zen Kaku Gothic New', Meiryo, 'Hiragino Kaku Gothic Pro', sans-serif;
}

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

body {
  background: linear-gradient(to bottom, #e0f4fb 0, #e0f4fb 200px, var(--cream-bg) 200px);
  color: var(--text-dark);
  line-height: 1.6;
  font-family: var(--font-main);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}
.sp{
  display: none;
}
.pc{
  display: block;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.l-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.okane-header {
  position: relative;
  z-index: 1000;
  height: 80px;
  background-color: transparent;
}

.okane-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 42px;
}

.okane-header__logo {
  margin-top: 50px;
}

.okane-header__logo a {
  display: block;
}

.okane-header__logo img {
  height: 37px;
  width: auto;
}

.l-header__hamburger {
  position: fixed;
  top: 18px;
  right: 42px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background-color: #3A98CB;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.l-header__hamburger:hover {
  transform: scale(1.08);
  background-color: #2b84b0;
}

.l-header__hamburger span {
  display: block;
  width: 20px;
  height: 2.2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   TITLE BADGE — inside hero, top-center (Figma: y=1 within hero frame)
   -------------------------------------------------------------------------- */
@keyframes title-badge-slide-down {
  0% {
    transform: translateX(-50%) translateY(-100%);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

.p-title-badge {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  white-space: nowrap;
  text-align: center;
  z-index: 101;
  padding-top: 60px;
  animation: title-badge-slide-down 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.p-title-badge a {
	display: block;
}
.p-title-badge a:hover {
	opacity: 0.8;
}
.p-title-badge__text {
  display: inline-block;
  background-color: var(--brown-badge);
  color: var(--white);
  font-size: min(3vw, 42px);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 15px;
  letter-spacing: 0.3em;
  position: relative;
	border: 3px solid #fff;
	width: 420px;
  height: 96px;
}
.txt_sm {
	font-size: min(2.2vw, 28px);
}

.p-title-badge__text::before,
.p-title-badge__text::after {
  content: '';
  position: absolute;
  top: -63px;
  width: 6px;
  height: 59px;
  background-color: #603813;
}

.p-title-badge__text::before {
  left: 30%;
}

.p-title-badge__text::after {
  right: 30%;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
section.p-hero {
  position: relative;
  background-color: #e1f4fc;
	margin-top: -80px;
  margin-bottom: 0;
}

.p-hero__illust {
  width: 100%;
  line-height: 0;
}

.p-hero__illust img {
  width: 100%;
  height: auto;
}

.p-hero__content {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  bottom: 0;
}

.p-hero__text {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.p-hero__heading {
  font-size: min(3vw, 48px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}

.p-hero__desc {
  font-size: 23px;
  color: var(--text-dark);
  line-height: 2.0;
  letter-spacing: 0.06em;
  text-align: center;
	font-weight: bold;
}

.p-hero__check-left {
  position: absolute;
  top: 37%;
  left: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: balloon-float 3.3s ease-in-out infinite;
  will-change: transform;
}

.p-hero__check-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  font-family: var(--font-sub);
  letter-spacing: 0.04em;
  line-height: 2.5;
}

.p-hero__check-btn {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  font-family: var(--font-main);
  padding-top: 10px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.p-hero__check-right:hover,
.p-hero__check-left:hover {
  animation: bounce .45s ease-out forwards;
}

@keyframes bounce {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-22px) scale(1.04);
  }
  70% {
    transform: translateY(-13px) scale(.99);
  }
  100% {
    transform: translateY(-16px) scale(1);
  }
}

.p-hero__check-btn::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 26px solid var(--white);
}

.p-hero__check-btn span {
	display: block;
	width: 100%;
	text-align: center;
}

.p-hero__check-right {
  position: absolute;
  top: 22%;
  right: 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.p-hero__check-right-label {
	position: relative;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  font-family: var(--font-sub);
  letter-spacing: 0.04em;
  line-height: 2.5;
	padding: 0 30px;
}

.p-hero__check-right-label:before {
	position: absolute;
	content: '';
	top: 60%;
	left: 0;
    width: 28px;
    height: 1px;
    background: #333;
    transform: rotate(60deg);
}

.p-hero__check-right-label:after {
	position: absolute;
	content: '';
	top: 60%;
	right: 0;
    width: 28px;
    height: 1px;
    background: #333;
    transform: rotate(-60deg);
}

@keyframes balloon-float {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(-5px);
  }
  75% {
    transform: translateY(-15px);
  }
}

.p-hero__check-right {
  animation: balloon-float 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes bird-slide-in {
  0% {
    right: 0;
  }
  100% {
    right: 15%;
  }
}

@keyframes bird-rotate {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-10deg);
  }
}

@keyframes bird-fly {
  0%,100% {
    transform: translateY(0) rotate(0);
  }
  20% {
    transform: translateY(-4px) rotate(-2deg);
  }
  40% {
    transform: translateY(-8px) rotate(1deg);
  }
  60% {
    transform: translateY(-4px) rotate(-1deg);
  }
  80% {
    transform: translateY(-2px) rotate(0deg);
  }
}

.hero__bird {
  position: absolute;
  top: 10%;
  right: 15%;
  will-change: right;
}

.hero__bird_left {
  position: absolute;
  top: 5%;
  left: 12%;
  will-change: transform, left;
  z-index: 2;
  transform: scaleX(-1);
}

.hero__bird,
.hero__bird_left {
  will-change: transform;
}

.hero__bird img,
.hero__bird_left img {
  transform-origin: center bottom;
  display: block;
}

.hero__bird.is-moving img,
.hero__bird_left.is-moving img {
  animation: bird-fly 0.8s ease-in-out;
}

@keyframes dinosaurs-slide-in {
  0% {
    left: -10%;
  }
  100% {
    left: 3%;
  }
}

@keyframes man01-slide-in {
  0% {
    left: -10%;
  }
  100% {
    left: 15%;
  }
}

@keyframes man02-slide-in {
  0% {
    right: -10%;
  }
  100% {
    right: 18%;
  }
}

@keyframes dinosaur-bounce {
  0%,100% {
    transform: translateY(0) rotate(0);
  }
  20% {
    transform: translateY(-4px) rotate(-2deg);
  }
  40% {
    transform: translateY(-8px) rotate(1deg);
  }
  60% {
    transform: translateY(-4px) rotate(-1deg);
  }
  80% {
    transform: translateY(-2px) rotate(0deg);
  }
}

@keyframes man01-wiggle {
  0%,100% {
    transform: translateY(0) rotate(0);
  }
  20% {
    transform: translateY(-3px) rotate(1deg);
  }
  40% {
    transform: translateY(-6px) rotate(-1deg);
  }
  60% {
    transform: translateY(-3px) rotate(1deg);
  }
  80% {
    transform: translateY(-1px) rotate(0deg);
  }
}

@keyframes man02-wave {
  0%,100% {
    transform: translateY(0) rotate(0);
  }
  20% {
    transform: translateY(-2px) rotate(-1deg);
  }
  40% {
    transform: translateY(-5px) rotate(2deg);
  }
  60% {
    transform: translateY(-2px) rotate(-1deg);
  }
  80% {
    transform: translateY(-1px) rotate(0deg);
  }
}

.hero__dinosaurs {
  position: absolute;
  top: 30%;
  left: 3%;
  display: inline-block;
  will-change: left;
}

.hero__dinosaurs img {
  transform-origin: center bottom;
  display: block;
}

.hero__dinosaurs.is-moving img {
  animation: dinosaur-bounce 1.5s ease-in-out;
}

.p-hero__man01 {
  position: absolute;
  bottom: 25%;
  left: 15%;
  will-change: left;
  z-index: 1;
}

.p-hero__man01 img {
  width: 16vw;
  transform-origin: center bottom;
  display: block;
}

.p-hero__man01.is-moving img {
  animation: man01-wiggle 1.2s ease-in-out;
}

.p-hero__tree {
  position: absolute;
  bottom: 0%;
  left: -13vw;
  z-index: 2;
}

.p-hero__tree img {
  width: 32vw;
}

.p-hero__tree02 {
  position: absolute;
  bottom: 5%;
  right: 0;
  z-index: 2;
}

.p-hero__tree02 img{
  width: 23vw;
}

.p-hero__man02 {
  position: absolute;
  bottom: 29%;
  right: 18%;
  will-change: right;
  z-index: 1;
}

.p-hero__man02 img {
  width: 10.5vw;
  transform-origin: center bottom;
  display: block;
}

.p-hero__man02.is-moving img {
  animation: man02-wave 1.4s ease-in-out;
}

/* --------------------------------------------------------------------------
   INTRO TEXT
   -------------------------------------------------------------------------- */
.p-intro {
  background-color: var(--cream-bg);
  padding: 60px 0;
}

.p-intro__inner {
  text-align: center;
  top: 43%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 100%;
  position: absolute;
}

.p-intro__body {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

.p-intro__text {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-sub);
  color: var(--text-dark);
  line-height: 2.5;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   DIAGNOSIS
   -------------------------------------------------------------------------- */
.p-diagnosis {
  background-color: var(--cream-bg);
  padding: 60px 0;
  bottom: 0;
  width: 100%;
}
.p-diagnosis__inner {
  position: relative;
  margin: -28% auto 0;
}
.p-diagnosis__card {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--white);
  border: 16px solid #F39F9F;
  border-radius: 40px;
  padding: 48px 0 48px 50px;
}

.p-diagnosis__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-diagnosis__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.p-diagnosis__tag-icon {
  display: flex;
  align-items: center;
}

.p-diagnosis__tag-icon img {
  width: 64px;
  height: 64px;
}

.p-diagnosis__tag-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.1em;
}

.p-diagnosis__heading {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.p-diagnosis__icons {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.p-diagnosis__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 27%;
}

.p-diagnosis__icon-img {
  width: 80px;
  height: 80px;
  display: block;
}

.p-diagnosis__icon-doc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.p-diagnosis__icon-doc svg {
  display: block;
}

.p-diagnosis__icon-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  line-height: 2.1;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-sub);
}

.p-diagnosis__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 96px;
  background-color: var(--yellow-cta);
  color: var(--text-dark);
  font-size: 24px;
  font-weight: 700;
  border-radius: 96px;
  padding: 0 32px;
  transition: opacity 0.2s ease;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(34, 46, 127, 0.08);
  font-family: var(--font-sub);
}

.p-diagnosis__btn:hover {
  opacity: 0.7;
}

.p-diagnosis__btn-icon {
  flex-shrink: 0;
}

.p-diagnosis__right {
  flex: 0 0 40%;
}

.p-diagnosis__right img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   LANDSCAPE DIVIDER
   -------------------------------------------------------------------------- */
.p-landscape {
  position: relative;
  line-height: 0;
  overflow: hidden;
  z-index: 1;
}

.p-landscape .landscape_bg {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 1;
}

@keyframes bird02-slide-in {
  0% {
    left: 0;
  }
  100% {
    left: 12%;
  }
}

.hero__bird_left {
  position: absolute;
  top: 5%;
  left: 12%;
  will-change: transform, left;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   LIBRARY
   -------------------------------------------------------------------------- */
.p-library {
  position: relative;
  padding: 0px 0 0px;
  z-index: 2;
  margin-top: -20px;
}
.p-library::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -50px;
  width: 310px;
  height: 420px;
  background: url('../images/library.svg') no-repeat top center;
  z-index: 1;
}
.p-library::after {
  content: '';
  position: absolute;
  top: -45%;
  right: 2%;
  width: 250px;
  height: 339px;
  background: url('../images/library.svg') no-repeat top center;
  z-index: 1;
}
.p-library__header {
  text-align: center;
  margin-bottom: 32px;
}

.p-library__title-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.p-library__title-icon {
  display: flex;
  align-items: center;
}

.p-library__title-icon img,
.p-library__title-icon svg {
  width: 48px;
}

.p-library__title-label {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.1em;
}

.p-library__heading {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.8;
}

.p-library__keywords-label, .under p.p-library__keywords-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 30px;
  margin-top: 32px;
  text-align: center;
}

.p-library__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 8px;
  justify-content: center;
  max-width: 845px;
  margin: 0 auto;
}

.p-library__tag {
  display: flex;
  align-items: center;
  gap: 3px;
  background-color: var(--white);
  border: 1px solid var(--border-tag);
  border-radius: 50px;
  padding: 2px 7px 2px 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  transition: background-color 0.2s ease, color 0.2s ease;
  font-family: var(--font-sub);
}

.p-library__tag:hover {
  background-color: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
}

.p-library__tag.is-active {
  background-color: #3b9bd1;
  border-color: #333333;
  color: var(--white);
}

.p-library__tag:focus-visible {
  outline: 3px solid rgba(59, 155, 209, 0.35);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   ARTICLES
   -------------------------------------------------------------------------- */
.p-articles {
  padding: 0px 0 80px;
}

.p-articles--new {
  background: linear-gradient(to bottom, #f8f4e8, #f3fbfd);
}
.p-articles__inner {
  padding: 80px 0 0;
}
.p-articles--popular {
  background: #f3fbfd;
}

.p-articles__heading {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 56px;
  text-align: center;
  line-height: 1.8;
  letter-spacing: 0.04em;
  font-family: var(--font-main);
}

.p-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 56px;
}

.p-card {
  background-color: var(--white);
  border: 1px solid #212121;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.p-card:hover {
  background: #ECF7FC;
}

.p-card.is-tag-hidden {
  display: none !important;
}

.p-articles__empty {
  margin: 32px 0;
  text-align: center;
  font-weight: 700;
}
.p-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 64px;
  gap: 24px;
  transition: opacity 0.2s ease;
}

.p-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ffdc50;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 25px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 20px 0 0;
  border-left: 1px solid #212121;
  border-bottom: 1px solid #212121;
  font-family: var(--font-sub);
  white-space: nowrap;
  z-index: 1;
  letter-spacing: -0.01em;
  min-width: 160px;
}

.p-card__thumb {
  position: relative;
  margin: 0 24px;
/*
  border-radius: 20px;
  border: 1px solid #212121;
  overflow: hidden;
  aspect-ratio: 16 / 9;
*/
}

.p-card__thumb img {
  width: 100%;
  height: 100%;
}

.p-card__body {
  padding: 0 24px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-card__title {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.75;
  letter-spacing: 0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-sub);
  font-weight: 700;
}

.p-card .p-library__tag-list{
  justify-content: flex-start;
  margin: 0;
  padding: 20px 24px;
}

.p-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-card__tag {
  display: inline-block;
  font-size: 14px;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--border-tag);
  border-radius: 50px;
  padding: 2px 7px 2px 7px;
  font-family: var(--font-sub);
  font-weight: 700;
}

.p-articles__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.p-pagination__dots {
  display: flex;
  align-items: center;
  gap: 16px;
}

.p-pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-dark);
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.p-pagination__arrow:hover {
  opacity: 0.5;
}

.p-pagination__dot {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background-color: #c1c1c1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.p-pagination__dot--active {
  width: 60px;
  background: #c1c1c1;
  position: relative;
  overflow: hidden;
}

.p-pagination__dot--active::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 0%;
  background: #212121;
}

.p-pagination__dot--active.is-playing::before {
  animation: dot-progress var(--dot-duration, 4s) linear forwards;
}

.p-articles__inner.is-paused .p-pagination__dot--active::before {
  animation-play-state: paused;
}

@keyframes dot-progress {
  from { width: 0%; }
  to   { width: 100%; }
}

.p-pagination__dot:hover:not(.p-pagination__dot--active) {
  background-color: #888888;
}

.p-articles__grid.slick-initialized {
  display: block;
  overflow: visible;
  gap: 0;
  padding: 0;
  scroll-snap-type: none;
}

.p-articles__grid.slick-initialized .slick-list {
  margin: 0 -13px;
  overflow: hidden;
}

.p-articles__grid.slick-initialized .slick-track {
  display: flex;
  align-items: stretch;
}

.p-articles__grid.slick-initialized .slick-slide {
  height: auto;
  float: none;
}

.p-articles__grid.slick-initialized .slick-slide > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.p-articles__grid.slick-initialized .p-card {
  margin: 0 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.p-articles__grid.slick-initialized .p-card__link {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.p-articles__grid.slick-initialized .p-card__body {
  flex: 1;
}

.p-pagination__pause {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.p-pagination__pause:hover {
  opacity: 1;
}

.p-pagination__pause-icon--play {
  display: none;
}

.p-pagination__pause[aria-pressed="true"] .p-pagination__pause-icon--pause {
  display: none;
}

.p-pagination__pause[aria-pressed="true"] .p-pagination__pause-icon--play {
  display: block;
}

/* --------------------------------------------------------------------------
   More button
   -------------------------------------------------------------------------- */
.p-articles__more {
  display: flex;
  justify-content: center;
}

.p-articles__more-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 410px;
  width: 100%;
  height: 72px;
  padding: 0 16px 0 24px;
  background-color: var(--white);
  border: 1px solid #e1e2e2;
  border-radius: 72px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-sub);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.p-articles__more-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #edf1f4;
  flex-shrink: 0;
  transition: all 0.25s ease;
  transform-origin: center center;
}

.p-articles__more-arrow svg path {
  stroke: #212121;
  transition: stroke 0.25s ease;
}

.p-articles__more-btn:hover {
  border-color: #212121;
  box-shadow: none;
  background-color: #ffffff;
}

.p-articles__more-btn:hover .p-articles__more-arrow {
  background-color: #3A98CB;
  transform: scale(1.35);
}

.p-articles__more-btn:hover .p-articles__more-arrow svg path {
  stroke: #ffffff;
}

/* --------------------------------------------------------------------------
   FOOTER ILLUSTRATION
   -------------------------------------------------------------------------- */
.p-footer-illust {
  line-height: 0;
  overflow: hidden;
  background: #f3fbfd;
}

.p-footer-illust img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.l-footer {
  position: relative;
  background-color: var(--white);
  padding-top: 105px;
}

.footer_inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.l-footer__pagetop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.l-footer__pagetop--visible {
  opacity: 1;
  pointer-events: auto;
}

.l-footer__pagetop:hover {
  opacity: 0.75;
}

.l-footer__nav {
  border-top: 1px solid var(--border-main);
  background-color: var(--white);
}

.l-footer__nav-inner {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.l-footer__nav-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.l-footer__nav-col:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 2.5em;
  background-color: var(--border-main);
}

.l-footer__nav-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-primary);
  text-align: center;
  white-space: nowrap;
  line-height: 1.8;
  transition: opacity 0.2s ease;
  font-family: var(--font-sub);
  padding: 24px 16px;
  display: block;
  width: 100%;
}

.l-footer__nav-heading:hover {
  opacity: 0.7;
}

.l-footer__set {
  background-color: var(--bg-01);
  padding: 40px 80px 0;
}

.l-footer__links {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.l-footer__links-col {
	width: calc((100% - 80px)/3);
}

.l-footer__links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.l-footer__links-col li {
  line-height: 2.2;
}

.l-footer__links-col a {
  font-size: 14px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
  font-family: var(--font-sub);
}

.l-footer__links-col a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.l-footer__group {
  margin-bottom: 0;
}

.l-footer__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: var(--bg-02);
  border: 1px solid var(--border-main);
  border-radius: 10px 10px 0 0;
  padding: 15px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-primary);
  transition: background-color 0.2s ease;
  font-family: var(--font-sub);
}

.l-footer__group-toggle:hover {
  background-color: #dce4ea;
}

.l-footer__group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}

.l-footer__group-icon--open {
  transform: rotate(0deg);
}

.l-footer__group-body {
  background-color: var(--white);
  border: 1px solid var(--border-main);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 24px 20px;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  max-height: 400px;
}

.l-footer__group-cols {
  display: flex;
  gap: 20px;
	justify-content: space-between;
}

.l-footer__group-col {
	width: calc((100% - 82px)/3);
}

.l-footer__group-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.l-footer__group-col li {
  line-height: 2.2;
}

.l-footer__group-col a {
  font-size: 14px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
  font-family: var(--font-sub);
}

.l-footer__group-col a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.l-footer__group-col li a span{
  position: relative;
  padding-right: 20px;
}

.l-footer__group-col li a span::after{
  content: '';
  position: absolute;
  bottom: 4px;
  right: 0;
  width: 12px;
  height: 12px;
  background: url('../images/icon_linkout.svg') no-repeat top center;
}

.l-footer__group-col li a:hover span::after{
  transform: scaleX(1);
}

.l-footer__bottom {
  padding: 32px 0 0px;
}

.l-footer__bottom-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.l-footer__logo {
  flex-shrink: 0;
}

.l-footer__logo img {
  height: 44px;
  width: auto;
}

.l-footer__divider {
  width: 1px;
  height: 45px;
  background-color: var(--border-main);
  margin: 0 56px;
  flex-shrink: 0;
}

.l-footer__social {
  display: flex;
  align-items: center;
  gap: 45px;
  flex-shrink: 0;
}

.l-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.l-footer__social-link:hover {
  opacity: 0.8;
}

.l-footer__social-link img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.l-footer__building {
  margin-left: auto;
  flex-shrink: 0;
}

.l-footer__building img {
  height: 134px;
  width: auto;
}

.l-footer__copy {
  background-color: var(--copy-bg);
  padding: 0px 80px;
  height: 80px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}

.l-footer__copy p, .under .l-footer__copy p {
  font-size: 10px;
  color: var(--white);
  line-height: 1.6;
  letter-spacing: -0.01em;
  font-family: var(--font-sub);
  margin-bottom: 0;
}

.l-footer__copy p + p {
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   DRAWER MENU (ピクセルパーフェクト精密調整版)
   -------------------------------------------------------------------------- */
.l-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.l-drawer[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.l-drawer__overlay {
  position: absolute;
  inset: 0;
  background-color: #e0f4fb;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.l-drawer[aria-hidden="false"] .l-drawer__overlay {
  opacity: 1;
}

/* 閉じるボタン */
.l-drawer__close {
  position: fixed;
  top: 18px;
  right: 42px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #3A98CB;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.l-drawer__close:hover {
  transform: scale(1.08);
  background-color: #2b84b0;
}

/* モーダルコンテナ（618px固定） */
.l-drawer__container {
  position: relative;
  z-index: 2005;
  width: min(618px, calc(100% - 40px));
  margin: auto;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.35s ease;
}

.l-drawer[aria-hidden="false"] .l-drawer__container {
  opacity: 1;
  transform: translateY(0);
}

/* 白いモーダルカード（618px × 520px / padding-top: 88pxでテキスト位置を同期） */
.l-drawer__card {
  position: relative;
  background-color: #ffffff;
  border-radius: 28px;
  width: 100%;
  height: 520px;
  padding: 88px 40px 0;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  display: block;
}

/* ナビゲーション領域 */
.l-drawer__body {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
}

/* --- 装飾イラスト（反転デザインの透明像の位置へピクセル指定） --- */

/* 鳥 */
.l-drawer__decor-bird {
  position: absolute;
  top: -25px;
  right: 7px;
  width: 140px;
  z-index: 3;
  pointer-events: none;
}

/* 木 */
.l-drawer__decor-tree {
  position: absolute;
  left: -120px;
  top: 60%;
  transform: translateY(-50%);
  width: 210px;
  z-index: 3;
  pointer-events: none;
}

/* カップル */
.l-drawer__decor-people {
  position: absolute;
  right: -75px;
  bottom: -63px;
  width: 272px;
  z-index: 3;
  pointer-events: none;
}

.l-drawer__decor-bird img,
.l-drawer__decor-tree img,
.l-drawer__decor-people img {
  width: 100%;
  height: auto;
  display: block;
}

/* ナビゲーションリスト */
.l-drawer__nav {
  list-style: none;
  padding: 0;
  margin: 0 0 60px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.l-drawer__item {
  border: none;
  margin: 0;
  padding: 0;
}

.l-drawer__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
  transition: opacity 0.2s ease;
}

.l-drawer__link:hover {
  opacity: 0.75;
}

.l-drawer__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.l-drawer__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.l-drawer__text {
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  font-family: var(--font-main);
  margin-left: 12px;
  margin-right: auto;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.l-drawer__arrow {
  font-size: 14px;
  font-weight: 700;
  color: #313C95;
  font-family: var(--font-sub);
}

/* フッターロゴ */
.l-drawer__logo {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.l-drawer__logo a {
  display: block;
  transition: opacity 0.2s ease;
}

.l-drawer__logo a:hover {
  opacity: 0.75;
}

.l-drawer__logo img {
  width: 170px;
  height: auto;
  display: block;
}
/* --------------------------------------------------------------------------
   UNDER PAGES
   -------------------------------------------------------------------------- */
.under{
	background: #e0f4fb;
}
.under .l-header {
  background: none;
}
.under .l-header.is-scroll {
  background: #e0f4fb;
}

.under .sec_h1 {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: 0;
  text-align: left;
  width:fit-content;
}
.under .sec_h1_02 {
  top: 60%;
}
.h1_tit {
	display: flex;
  gap: 10px;
  align-items: center;
  font-size: min(3vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
	width: 100%;
}
.h1_tit img {
	width: 50px;
  height: 50px;
}
.h1_tit02 {
  font-size: min(3vw, 32px);
  letter-spacing: 0;
  margin-bottom: 0px;
}
.sec_h_list {
	display: flex;
	justify-content: center;
	gap:24px;
}
.sec_h_item {
	width: 167px;
	height: 124px;
	background: #fff;
	border-radius: 14px;
	text-align: center;
	display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
	padding: 10px;
}
.sec_h_item .sec_h_item_img, .sec_h_item .sec_h_item_img1, .sec_h_item .sec_h_item_img2 {
	display: block;
	margin: 0 auto;
}
.sec_h_item span {
	display: block;
	width: 100%;
	font-size: 16px;
	font-weight: bold;
  line-height: 1.4;
}
.p-hero {
  overflow:inherit;
}
.secmain_right {
	background: url('../images/umain_bg01.svg') no-repeat top left;
	width: 202px;
	height: 132px;
	position: absolute;
	right: 7%;
	bottom: -40px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	padding-top: 17px;
	line-height: 1.3em;	
	transition: .3s;
}
.secmain_right:hover {
	background: url('../images/umain_bg01_h.svg') no-repeat top left;
	width: 202px;
}
.secmain_right a {
	display: block;
	padding-left: 60px;
}
.secmain_right_diagnosis {
  background: url('../images/umain_bg02.svg') no-repeat top left;
}

.secmain_right_diagnosis:hover {
  background: url('../images/umain_bg02_h.svg') no-repeat top left;
}

.under .secmain_right p{
line-height: 1.4em;
font-size: 18px;
}
.p-articles__heading.left {
	text-align: left;
  margin-bottom: 30px;
}

.content_main {
  display: flex;
	justify-content: space-between;
	position: relative;
}
.under_ct {
	padding: 10px 0 0;
  font-family: var(--font-sub);
}
.content_inner {
	width: 850px;
}

.r_navi {
	width: 375px!important;
	height: fit-content;
	z-index: 50;
  height: calc(100vh - 90px);
  overflow-y: auto;
  padding: 0 20px;
  box-sizing: border-box;
	position: sticky;
  top: 90px;
}
.r_navi.is-bottom, .r_navi.is-fixed {
	right: inherit!important;
}

.topic_path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.topic_path__item {
  position: relative;
  font-size: 12px;
  color: var(--blue-primary);
  margin-right: 20px;
}
.topic_path__item:last-child {
  margin-right: 0;
}
.topic_path__item:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -13px;
  transform: translateY(-50%);
  content: '/';
}
.topic_path__item a {
  color: var(--text-dark);
}
.topic_path__item a:hover {
  color: var(--blue-primary);
}
.p-articles__grid3 {
	grid-template-columns: repeat(2, 1fr);
}
.p-articles__grid3 .p-card {
	position: relative;
  margin: 0 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card_cate2 {
	background: #3A98CB;
	color: #fff;
}
.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    padding:0px 20px 100px;
}

.page{
    width:30px;
    height:30px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#3A98CB;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    box-shadow:0 4px 4px rgba(0,0,0,.12);
    transition:.3s;
	font-family: var(--font-sub);
  padding-bottom: 3px;
}

.page:hover{
    transform:translateY(-2px);
}

.page.is-current{
    background:#3A98CB;
    color:#fff;
}

.page-dots{
    box-shadow:none;
    background:transparent;
    font-size:30px;
    cursor:default;
	align-items: flex-end;
}

.page-arrow span{
    display:block;
    width: 8px;
  height: 8px;
  border-top: 2px solid #3A98CB;
  border-right: 2px solid #3A98CB;  
}

.page-prev span{
    transform:rotate(-135deg);
}

.page-next span{
    transform:rotate(45deg);
}
.page-first, .page-prev {
	padding-left: 2px;
  padding-bottom: 0;
}

.page-first span{
    transform:rotate(-135deg);
}
.page-last, .page-next {
	padding-right: 2px;
  padding-bottom: 0;
}
.page-last span{
    transform:rotate(45deg);
}

/* r_navi */
.news_menu{
    border-bottom: 1px solid #000;
	padding-bottom: 29px;
  margin-top: 80px;
  transition: margin-top 0.3s ease;
}
.news_menu.news_menu_top {
  margin-top: 0px;
}
.news_menu.is-scroll {
  margin-top: 0px;
}
.news_btn{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    height:89px;
    padding:0 36px 0 22px;
    color:#222;
    font-size:20px;
    font-weight:bold;
    text-decoration:none;
    transition:.3s;
    z-index: 1;
}
.news_menu li {
  position: relative;
  margin: 0 -10px -5px;
  transition:.3s;
}
.news_menu li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 40px;
  height: 89px;
  background: url("../images/r_navi_bg03.png") repeat-x;
}

.news_menu li::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../images/r_navi_bg02.png") left top no-repeat,
    url("../images/r_navi_bg04.png") right top no-repeat;
}

.is-active .news_btn {
	position: relative;
}
.is-active .news_btn::before {
    content:"";
    position:absolute;
    left:9px;
    top:9px;
    width:8px;
    height:72px;
    background:#f6a4b1;
}
.news_menu li.is-active:hover::before {
	background: url("../images/r_navi_bg03.png") repeat-x;
}
.news_menu li.is-active:hover::after {
	background:
    url("../images/r_navi_bg02.png") left top no-repeat,
    url("../images/r_navi_bg04.png") right top no-repeat;
}
.news_menu li:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 40px;
  height: 89px;
  background: url("../images/r_navi_bg03_ov.png") repeat-x;
}

.news_menu li:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../images/r_navi_bg02_ov.png") left top no-repeat,
    url("../images/r_navi_bg04_ov.png") right top no-repeat;
}

.news_menu li.is-active:hover .news_icon {
  transform: scale(1.0);
}

.box_news_icon {
  width: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news_icon {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #3A98CB;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.news_icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-60%, -50%) rotate(45deg);
}

.news_menu li:hover .news_icon {
  transform: scale(1.267);
}

.news_menu li.is-active:hover .news_icon {
  transform: scale(1.0);
}

.news_text{
    line-height:1;
}

.r_navi .p-library__keywords-label {
	text-align: left;
	margin-top: 24px;
}
.r_navi .p-library__tag-list {
	justify-content: flex-start;
}
.btn_acc_more {
	margin-top: 30px;
}
.btn_more{
    position:relative;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    width: 216px;
    height: 42px;
    margin:0 auto 48px;
    background:#fff;
    border:1px solid #d7d7d7;
    border-radius:999px;
    color:#2d3e98;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s;
	padding: 0 0 0 20px;
}

.btn_more:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.btn_more::after{
    content:"";
    position:absolute;
    top:35%;
    right:24px;
    width:9px;
    height:9px;
    border-right:2px solid #2d3e98;
    border-bottom:2px solid #2d3e98;
    transform:rotate(45deg);
    transition:.3s;
}

.btn_more.is-expanded::after{
  top: 46%;
  transform:rotate(-135deg);
}

.btn_more.is-expanded:hover::after{
    transform:translateY(calc(-50% - 2px)) rotate(-135deg);
}

.library_link{
    display:flex;
    align-items:center;
    gap:12px;
    padding:18px 0;
    border-top:1px solid #444;
    border-bottom:1px solid #444;
    text-decoration:none;
    transition:.3s;
}

.library_link:hover .library_icon {
    transform: scale(1.267);
}

.library_icon{
    position:relative;
    width:20px;
    height:20px;
    flex-shrink:0;
    border-radius:50%;
    background:#3A98CB;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.library_icon::before{
    content:"";
    position:absolute;
    left: calc(50% - 4px);
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
    border-top:2px solid #fff;
    border-right:2px solid #fff;
    transform:rotate(45deg);
}

.library_text{
    color:#222;
    font-size:14px;
    font-weight:700;
}
.p-library__tag-list-wrapper {
  position: relative;
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.p-library__tag-list-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #f8f4e7);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#filterModal .p-library__tag-list-wrapper::after {
  background: linear-gradient(to bottom, transparent, #faf5e8);
}

.p-library__tag-list-wrapper.is-expanded {
  max-height: 1000px;
}

.p-library__tag-list-wrapper.is-expanded::after {
  opacity: 0;
}

/* Modal */
.modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:opacity .3s ease, visibility .3s ease;
}

.modal.is-open{
    opacity:1;
    visibility:visible;
}

.modal_overlay{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.55);
    backdrop-filter:blur(10px);
}

.modal_inner{
    position:relative;
    width:min(876px,calc(100% - 40px));
    background:#faf5e8;
    box-shadow:0 18px 45px rgba(0,0,0,.18);
    z-index:2;
}

.modal_body{
    padding:55px 50px 50px;
    text-align:center;
    font-family: var(--font-sub);
}

#filterModal .modal_body {
    text-align: left;
    max-height: 70vh;
    overflow-y: auto;
}

#filterModal .news_menu {
    margin-bottom: 40px;
}

#filterModal .p-library__keywords {
    padding: 0;
}

.modal_icon{
    width:44px;
    margin:0 auto 18px;
}

.modal_icon img{
    width:100%;
}

.modal_subtitle{
    font-size:18px;
    font-weight:700;
    margin-bottom:38px;
}

.modal_title{
    font-size:28px;
    line-height:1.4;
    font-weight:700;
    color:#222;
    margin-bottom:45px;
}

.modal_text{
    text-align:left;
    margin:auto;
}

.modal_text p{
    font-size:16px;
    line-height:2.2;
    color:#333;
}

.modal_footer{
    width:100%;
    height:50px;
    border:none;
    background:none;
    border-top:1px solid #ddd;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    font-family: var(--font-sub);
}
.modal_footer:hover{
    color: #3A98CB;
}
.icon_close{
    position:relative;
    width:22px;
    height:22px;
}

.icon_close::before,
.icon_close::after{
    content:"";
    position:absolute;
    left:10px;
    top:0;
    width:3px;
    height:22px;
    background:#3A98CB;
}

.icon_close::before{
    transform:rotate(45deg);
}

.icon_close::after{
    transform:rotate(-45deg);
}

.modal_close{
    position:absolute;
    right:-18px;
    top:-18px;
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#3A98CB;
    cursor:pointer;
    z-index:5;
}

.modal_close span{
    position:absolute;
    left:19px;
    top:9px;
    width:3px;
    height:24px;
    background:#fff;
}

.modal_close span:first-child{
    transform:rotate(45deg);
}

.modal_close span:last-child{
    transform:rotate(-45deg);
}
.modal_close:hover{
    background-color: #000;
}

.filter_box {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #d5d5d5;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.filter_box:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

@media screen and (min-width: 950px) {
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }
}

.filter_text {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.filter_search {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.search_icon {
    position: relative;
    display: block;
}

.article_card {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.article_image {
    width: 100%;
    overflow: hidden;
/*
    aspect-ratio: 16 / 8.7;
    border: 1px solid #222;
    border-radius: 16px;
    background: #f5f5f5;
*/
}

.article_image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article_tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.article_tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 24px;
    padding: 2px 10px;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.article_card .p-library__tag-list {
  justify-content: flex-start;
  margin-top: 20px;
}
.tag_act .p-library__tag {
    border-color: #333;
    background: #3b9bd1;
    color: #fff;
    padding: 2px 30px 2px 30px;
}

.article_tag--category {
    padding: 3px 18px;
    border-color: #333;
    background: #3b9bd1;
    color: #fff;
    border-radius: 999px;
}

.article_date {
    display: block;
    margin-top: 20px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.article_content {
    margin-top: 42px;
}

.article_content p {
    margin: 0;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.02em;
}

.article-dialogue {
    width: 100%;
    margin: 0 0 60px;
}

.article-dialogue__row {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.article-dialogue__row + .article-dialogue__row {
    margin-top: 32px;
}

.article-dialogue__person {
    position: relative;
    z-index: 1;
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
}

.under .article-dialogue__bubble {
    position: relative;
    z-index: 0;
    flex: 1;
    min-height: 104px;
    margin: 0 0 0 24px;
    padding: 23px 24px;
    border-radius: 8px;
    background: #ffeba3;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.02em;
    box-sizing: border-box;
}

.under .article-dialogue__row--customer .article-dialogue__bubble {
    border-radius: 0 8px 8px 8px;
}

.article-dialogue__row--customer .article-dialogue__bubble::before {
    content: "";
    position: absolute;
    top: 0;
    left: -32px;
    width: 34px;
    height: 32px;
    background: #ffeba3;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.under .article-dialogue__row--staff .article-dialogue__bubble {
    margin: 0 24px 0 0;
    border-radius: 8px 0 8px 8px;
    background: #98def7;
}

.article-dialogue__row--staff .article-dialogue__bubble::after {
    content: "";
    position: absolute;
    top: 0;
    right: -32px;
    width: 34px;
    height: 32px;
    background: #98def7;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.toc {
    width: 100%;
    padding: 26px 26px 20px;
    background: #fff;
    border: 1px solid #222;
    border-radius: 22px;
    margin: 60px 0;
}

.toc_title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #222;
    font-size: 16px;
    font-weight: 700;
}

.toc_book_icon {
    position: relative;
    width: 20px;
    height: 23px;
    display: block;
    border-radius: 2px;
    background: #3b9bd1;
}

.toc_list {
    margin: 18px 0 0;
    padding: 0 0 0 22px;
    list-style: none;
    margin-left: 20px;
}

.toc_list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 5px;
}

.toc_list li:last-child {
    margin-bottom: 0;
}

.toc_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-100%, -50%);
    border-radius: 50%;
    background: #3b9bd1;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.toc_list li::after{
    position: absolute;
    content: "";
    left: -14px;
    top: 14px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(0%, -50%) rotate(45deg);
}

.toc_list a {
    display: inline-block;
    color: #29459a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s;
}

.toc_list a:hover {
    color: #3b9bd1;
}

.section_title {
    position: relative;
    margin: 0 0 40px;
    padding-left: 14px;
    color: #111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
}

.section_title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 6px;
    height: 39px;
    background: #3b9bd1;
}

.section {
  margin-bottom: 60px;
}
.section_in{
  margin-bottom: 40px;
}
.content_under{
  background: linear-gradient(to bottom, #f8f4e8, #f3fbfd);
  padding: 0px 0 80px;
}
.content_under02 {
  padding: 0px 0 50px;
}
.under p {
  font-size: 16px;
  line-height: 1.8em;
  margin-bottom: 1.5em;
}
.under p:last-child {
  margin-bottom: 0;
}
.mb10 {
  margin-bottom: 10px!important;
}
.mb40 {
  margin-bottom: 40px!important;
}
.h3_title01 {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  padding-left: 14px;
  margin-bottom: 24px;
}
.h3_title01::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%; 
    background: #3b9bd1;
    transform: translateY(-50%);
}

.txt_bg span{
  background: #FFCE4E;
}
.list01 {
  margin-bottom: 0;
}
.list01 li {
  position: relative;
  margin-bottom: 7px;
  font-size: 16px;
  padding-left: 14px;
}
.list01 li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 4px;
    height: 4px;
    border-radius: 50%; 
    background: #000;
    transform: translateY(-50%);
}

/* Detail article: interactive checklist */
.article_checklist {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.article_checklist li {
  margin: 0 0 8px;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
}
.article_checklist li:last-child {
  margin-bottom: 0;
}
.article_checklist__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.article_checklist__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.article_checklist__box {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border: 1.5px solid #212121;
  border-radius: 3px;
  background: #fff;
  box-sizing: border-box;
}
.article_checklist__input:checked + .article_checklist__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #212121;
  border-bottom: 2px solid #212121;
  transform: rotate(45deg);
}
.article_checklist__input:focus-visible + .article_checklist__box {
  outline: 3px solid rgba(59, 155, 209, 0.35);
  outline-offset: 2px;
}
.article_checklist__text {
  flex: 1;
  min-width: 0;
}
.bold {
  font-weight: bold;
}
.quote_box {
    position: relative;
    width: 100%;
    padding: 34px 24px 28px;
    background: #f5f1e5;
    border: 1px solid #d8d3c5;
    box-sizing: border-box;
}

.quote_box::after {
    content: "";
    position: absolute;
    top: -12px;
    right: 20px;
    line-height: 1;
    background: url(../images/icon_quote.svg) no-repeat center center;
    background-size: 100%;
    width: 48px;
    height: 45px;
}

.quote_title {
    position: relative;
    margin: 0 0 20px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    z-index: 1;
}

.quote_text {
    position: relative;
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    z-index: 1;
}
.table_wrap {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 60px;
}

.custom_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e3e5e6;
    border-radius: 11px;
    overflow: hidden;
    color: #222;
    font-size: 16px;
}

.custom_table thead th {
    padding: 19px 20px;
    background: #b8dbf3;
    text-align: left;
    font-weight: 700;
    border-right: 1px solid #fff;
    border-left: none;
    border-bottom: none;
    border-top: none;
}

.custom_table thead th:last-child {
    border-right: none;
}

.custom_table tbody th,
.custom_table tbody td {
    padding: 19px 20px;
    text-align: left;
    border-right: 1px solid #e1e2e2;
    border-top: 1px solid #e1e2e2;
    border-left: none;
    border-bottom: none;
}
.custom_table tbody th.th_bg01 {
    background: #edf1f4;
    font-weight: 700;
}

.custom_table tbody th {
    background: #b8dbf3;
    font-weight: 700;
}

.custom_table tbody td {
    background: #fff;
}

.custom_table tbody th:last-child,
.custom_table tbody td:last-child {
    border-right: none;
}
.custom_table1 thead td {
  background: #fff;
}

.custom_table1 tbody th{
    border-top: 1px solid #fff;
    border-left: none;
}
.custom_table1 tbody th:last-child,
.custom_table1 tbody td:last-child {
    border-bottom: none;
}
.custom_table1 thead th, .custom_table1 thead td{
  border-top: none;
  border-left: none;
  border-bottom: none;
  padding: 19px 20px;
}
.custom_table1 thead th{
    border-right: 1px solid #e1e2e2;
}
.custom_table1 thead td:last-child{
    border-right: none;
}
.custom_table tbody th.no_bd_top, .custom_table tbody td.no_bd_top{
    border-top: none;
}

.custom_table thead th:first-child {
    border-top-left-radius: 10px;
}

.custom_table thead th:last-child {
    border-top-right-radius: 10px;
}

.custom_table tbody tr:last-child th:first-child {
    border-bottom-left-radius: 10px;
}

.custom_table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
.sec_01 {
  padding: 20px;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
}
.h4_title01 {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}
.related_pages__list {
    display: flex;
    justify-content: center;
    gap: 18px 20px;
    flex-wrap: wrap;
}

.related_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 48%;
    height: 72px;
    padding: 0 16px 0 24px;
    background-color: var(--white);
    border: 1px solid #e1e2e2;
    border-radius: 72px;
    color: var(--text-dark);
    font-family: var(--font-sub);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all 0.25s ease;
}

.related_link:hover {
    border-color: #212121;
    box-shadow: none;
    background-color: #ffffff;
}

.related_link__text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.related_link__arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #edf1f4;
    flex-shrink: 0;
    transition: all 0.25s ease;
    transform-origin: center center;
}

.related_link__arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 45%;
    width: 7px;
    height: 7px;
    border-top: 2px solid #212121;
    border-right: 2px solid #212121;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: border-color 0.25s ease;
}

.related_link:hover .related_link__arrow {
    background-color: #3A98CB;
    transform: scale(1.35);
}

.related_link:hover .related_link__arrow::after {
    border-color: #ffffff;
}

.related_link:last-child {
    margin-top: 50px;
}

/* Detail article: CTA links and related-page back button */
.article_service_link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: #29459a;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
}
.article_service_link::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.article_service_link:hover {
  opacity: 0.75;
  text-decoration: none;
}

/* Detail article: odd related-page items stay left aligned. */
.under_detail .content_inner .related_pages__list {
  justify-content: flex-start;
}
.under_detail .related_pages__list > .related_link--back {
  margin-left: 26%;
  margin-right: 26%;
}

.articles_slide01 .p-articles__grid {
margin-bottom: 20px;
}
.p-articles__heading_left {
    text-align: left;
    margin-bottom: 30px;
}

.sec_h_list_diagnosis .sec_h_item{
  width: 145px;
  height: 145px;
}
.diagnosis{
    position:relative;
}

.diagnosis_inner{
    position:relative;
    max-width:1100px;
    margin:auto;
    min-height: 780px;
}

.diagnosis_content{
    position:relative;
    z-index:5;
    max-width:547px;
    margin:auto;
    text-align:center;
}

.diagnosis_content p{
    line-height:2.5;
    margin-bottom:50px;
}

.diagnosis_people {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.person {
    position: absolute;
    display: block;
    width: 230px;
    height: 230px;
    pointer-events: auto;
    outline: none;
}

.person__visual {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center bottom;
    will-change: transform;
}

.person.is-moving .person__visual {
    animation: man02-wave 1.4s ease-in-out;
}

/* PC: デザインに合わせて5キャラクターのみ配置 */
.person06 {
    top: 20%;
    left: 2%;
    width: 230px;
    height: 230px;
}

.person08 {
    top: 5%;
    right: 1%;
    width: 235px;
    height: 235px;
}

.person02 {
    top: 69%;
    left: 0;
    width: 230px;
    height: 230px;
}

.person03 {
    top: 45%;
    right: -5%;
    width: 245px;
    height: 235px;
}

.person04 {
    bottom: -15%;
    left: 58%;
    width: 225px;
    height: 225px;
}

.person__balloon {
    position: absolute;
    top: -76px;
    left: 50%;
    z-index: 10;
    min-width: 150px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(33, 33, 33, 0.12);
    color: #212121;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.person__balloon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 18px;
    height: 14px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
}

.person:hover .person__balloon,
.person:focus .person__balloon {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* 顔を隠さないよう、吹き出しを各イラストの上側に配置 */
.person06 .person__balloon { top: -72px; left: 52%; }
.person08 .person__balloon { top: -76px; }
.person02 .person__balloon { top: -76px; left: 52%; }
.person03 .person__balloon { top: -82px; }
.person04 .person__balloon { top: -78px; }

/* 右側のキャラクターは吹き出しを内側へ寄せる */
.person08 .person__balloon,
.person03 .person__balloon {
    left: auto;
    right: 55%;
    transform: translate(0, 8px);
}

.person08:hover .person__balloon,
.person08:focus .person__balloon,
.person03:hover .person__balloon,
.person03:focus .person__balloon {
    transform: translate(0, 0);
}

.person08 .person__balloon::after,
.person03 .person__balloon::after {
    left: auto;
    right: 28px;
    transform: none;
}

.balloon {
    position: absolute;
    display: inline-block;
    padding: 18px;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    top: 0;
}

.balloon::after {
    content: "";
    position: absolute;
    right: 40px;
    bottom: -20px;
    width: 19px;
    height: 20px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0%, 100% 100%);
}
.diagnosis_content .p-articles__heading{
  padding-top: 50px;
  margin-bottom: 30px;
}
.under.assessment_page .sec_h1{
  left: 12%;
  top: 68%;
}
.assessment_page .sec_h1 .h1_tit {
  justify-content: center;
}

/* assessment: question */
.assessment_page .question_box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 24px;
  background: #fff;
  border: 8px solid #ed9999;
  border-radius: 22px;
  box-sizing: border-box;
}

.assessment_page .question_number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ed9999;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.assessment_page .question_title {
  width: 100%;
  margin: 0;
  padding: 0 56px 0 28px;
  color: #222;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

/* assessment: options left / illustration right */
.assessment_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 46px;
  align-items: center;
  margin-top: 14px;
}

.assessment_main {
  min-width: 0;
}

.assessment_page .type_select_title {
  margin: 0 0 18px;
}

.assessment_page .type_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  width: 100%;
}

.assessment_page .type_card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid #222;
  border-radius: 14px;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.assessment_page .type_card p {
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.assessment_page .type_card__label {
  display: none;
}

.assessment_page .type_card.is_active {
  border: 3px solid #ed9999;
  background: #fff5f5;
}

.assessment_page .assessment_img {
  width: 100%;
  margin: 54px 0 0;
  text-align: center;
}

.assessment_page .center.assessment_img img {
  display: inline-block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* assessment: progress and previous button */
.assessment_controls {
  margin-top: 22px;
}

.assessment_progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.assessment_page .progress_bar {
  width: 200px;
  height: 17px;
  padding: 3px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px #d7d7d7;
  box-sizing: border-box;
}

.assessment_page .progress_bar__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: #d8d8d8;
  gap: 0;
}

.assessment_page .progress_bar__item {
  flex: 1;
  display: block;
  min-width: 0;
  height: 100%;
  background: transparent;
}

.assessment_page .progress_bar__item.is_active {
  background: #ed9999;
}

.assessment_page .progress_bar__item:first-child,
.assessment_page .progress_bar__item:last-child {
  border-radius: 0;
}

.progress_count {
  margin: 0;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.related_pages__list02[hidden] {
  display: none !important;
}

.assessment_page .related_pages__list02 {
  margin-top: 26px;
}

.assessment_page .related_pages__list02 .related_link {
  width: 100%;
  max-width: 276px;
  height: 48px;
  margin: 0;
  padding: 0 12px 0 18px;
  border: 1px solid #e1e2e2;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.assessment_page .related_pages__list02 .related_link__text {
  font-size: 13px;
}

.assessment_page .related_pages__list02 .related_link__arrow {
  width: 26px;
  height: 26px;
}

.assessment_page .related_pages__list02 .related_link__arrow::after {
  transform: translate(-50%, -50%) rotate(225deg);
}
.under.result_page .sec_h1 {
  left: 17%;
  top: 55%;
}
.box_inner {
  max-width: 845px;
  margin: 0 auto ;
}
.result-card-stage {
  position: relative;
  width: 100%;
  margin: 10px auto 42px;
  text-align: center;
}

.result-card-stage__lead {
  margin: 0 0 18px;
  color: #212121;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.result-card-stage__name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.result-card-stage__visual {
  position: relative;
  width: min(440px, 66vw);
  margin: 0 auto;
  padding: 0 34px 36px 0;
  perspective: 1800px;
}

.result-card-stage__stack {
  position: absolute;
  z-index: 0;
  top: 18px;
  left: 30px;
  display: block;
  width: calc(100% - 34px);
  height: auto;
  transform: rotate(7deg);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.14));
}

.result_card {
  position: relative;
  z-index: 2;
  width: calc(100% - 34px);
  aspect-ratio: 992 / 1284;
  perspective: 1800px;
}

.result_card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg) scale(0.96);
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  transition: transform 1.25s cubic-bezier(0.22, 0.75, 0.25, 1);
}

.result_card__inner.is-revealed {
  transform: rotateY(0deg) scale(1);
}

.result_card__face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.result_card__face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 13px 14px rgba(0, 0, 0, 0.16));
}

.result_card__front {
  transform: rotateY(0deg);
}

.result_card__back {
  transform: rotateY(180deg);
}

.result_card__back img {
  width: 100%;
  height: 100%;
}

.result-card-kira {
  position: absolute;
  z-index: 4;
  display: block;
  width: 58px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.3) rotate(-12deg);
  transform-origin: center;
}

.result-card-kira--01 {
  top: 14%;
  right: -2%;
}

.result-card-kira--02 {
  bottom: 22%;
  left: -7%;
  width: 42px;
}

.result-card-kira--03 {
  top: 45%;
  right: -10%;
  width: 36px;
}

.result-card-kira--04 {
  top: 30%;
  left: -8%;
  width: 32px;
}

.result-card-stage.is-animated .result-card-kira--01 {
  animation: result-kira-twinkle 1.1s ease-out 0.72s both, result-kira-float 2.6s ease-in-out 1.82s infinite;
}

.result-card-stage.is-animated .result-card-kira--02 {
  animation: result-kira-twinkle 1.05s ease-out 0.92s both, result-kira-float 2.9s ease-in-out 1.97s infinite reverse;
}

.result-card-stage.is-animated .result-card-kira--03 {
  animation: result-kira-twinkle 1s ease-out 1.08s both, result-kira-float 2.4s ease-in-out 2.08s infinite;
}

.result-card-stage.is-animated .result-card-kira--04 {
  animation: result-kira-twinkle 1.08s ease-out 0.82s both, result-kira-float 2.7s ease-in-out 1.90s infinite reverse;
}

@keyframes result-card-flip {
  0% {
    transform: rotateY(180deg) scale(0.96);
  }
  46% {
    transform: rotateY(92deg) scale(1.015);
  }
  72% {
    transform: rotateY(-12deg) scale(1.025);
  }
  88% {
    transform: rotateY(5deg) scale(1);
  }
  100% {
    transform: rotateY(0deg) scale(1);
  }
}

@keyframes result-kira-twinkle {
  0% {
    opacity: 0;
    transform: scale(0.2) rotate(-18deg);
  }
  45% {
    opacity: 1;
    transform: scale(1.18) rotate(8deg);
  }
  72% {
    opacity: 0.72;
    transform: scale(0.88) rotate(-3deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes result-kira-float {
  0%, 100% {
    opacity: 0.78;
    transform: translateY(0) scale(0.96) rotate(-2deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-7px) scale(1.08) rotate(4deg);
  }
}

.result_page .result-recommendations .p-articles__grid.is-single {
  display: grid;
  grid-template-columns: minmax(0, 410px);
  justify-content: center;
  gap: 0;
}

.result_page .p-card__link.is-disabled {
  cursor: default;
}

.result_page .p-card__link.is-disabled:hover {
  opacity: 1;
}

.result_title {
    display: flex;
    background: #FFDC50;
    border: 2px solid #000;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    width: fit-content;
    margin: 0 auto;
}

.result_title span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    box-sizing: border-box;
    border-right: 2px solid #000;
}

.result_title span:last-child {
    border-right: none;
}
.box_result01 {
  position: relative;
  width: 100%;
  padding: 40px 30px 0;
  background: #fff;
  border: 12px solid #ed9999;
  border-radius: 26px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
}
.box_result01 p{
  font-weight: bold;
  margin: 0;
  font-size: 20px;
}
.box_result01 p img{
  display: inline;
}

.under p.box_result01_txt01{
  font-size: 40px;
}
.result_summary_title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 12px;
  color: #212121;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.result_summary_title img {
  display: block;
  width: 48px;
  height: auto;
  flex-shrink: 0;
}
.result_summary_title + .result_table {
  margin-top: 0;
}
.result_table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border: 1px solid #222;
    margin: 60px auto;
}

.result_item {
    min-width: 0;
    border-right: 1px solid #222;
}

.result_item:last-child {
    border-right: none;
}

.result_item__head {
    padding: 32px 15px;
    background: #ffda4d;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #000;
}

.result_item__head img{
  display: inline;
}
.result_item__body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 98px;
    background: #fff;
}

.result_high {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 9px solid #ed9999;
    border-radius: 50%;
    color: #111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.result_low {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 70px;
    color: #111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: #d9d9d9;
    z-index: 1;
    padding-top: 10px;
}
.result_low::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    width: 42px;
    height: 40px;
    background: #fff;
    transform: translateX(-50%);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    z-index: -1;
}
.related_pages__list02.mt0 .related_link{
  margin: 0;
}

.type_subtitle {
  font-size: 0.65em;
  font-weight: normal;
  display: inline-block;
  margin-left: 0.4em;
}

/* --------------------------------------------------------------------------
   ASSESSMENT
   -------------------------------------------------------------------------- */
.type_select_title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 24px !important;
  font-weight: 700;
  color: var(--text-dark);
  margin: 36px 0 24px;
  font-family: var(--font-main);
}

.type_select_title::before,
.type_select_title::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  background-color: #3A98CB;
  border-radius: 1px;
}

.type_select_title::before {
  transform: rotate(55deg);
}

.type_select_title::after {
  transform: rotate(-55deg);
}

/* diagnosis top: SP character auto rotation ---------------------------- */
@media screen and (max-width: 950px) {
  .diagnosis_page .diagnosis_inner {
    min-height: 0;
  }

  .diagnosis_people_sp {
    width: 100vw;
    margin: -32px calc(50% - 50vw) 28px;
    overflow: hidden;
  }

  .diagnosis_people_sp .slick-list {
    overflow: visible;
  }

  .diagnosis_people_sp__item {
    padding: 86px 0 0;
  }

  .person_sp {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 245px;
    outline: none;
  }

  .person_sp__visual-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 205px;
    transform: scale(0.76);
    transform-origin: center bottom;
    opacity: 0.78;
    transition: transform 0.45s ease, opacity 0.45s ease;
  }

  .person_sp .person__visual {
    width: auto;
    max-width: 240px;
    height: 100%;
    max-height: 205px;
    object-fit: contain;
  }

  .diagnosis_people_sp .slick-center .person_sp__visual-wrap,
  .diagnosis_people_sp .person_sp.is-edge-scale-target .person_sp__visual-wrap {
    transform: scale(1);
    opacity: 1;
  }

  .person_sp.is-moving .person__visual {
    animation: man02-wave 1.4s ease-in-out;
  }

  .diagnosis_people_sp .person__balloon {
    top: -38px;
    left: 50%;
    right: auto;
    min-width: 160px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
  }

  .diagnosis_people_sp .person__balloon::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .diagnosis_people_sp .person_sp.is-active .person__balloon {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .diagnosis_page .diagnosis_people_sp + p.sp {
    margin-top: 0;
  }
}

@media screen and (max-width: 500px) {
  .diagnosis_people_sp {
    margin-top: -40px;
  }

  .diagnosis_people_sp__item {
    padding-top: 78px;
  }

  .person_sp {
    min-height: 225px;
  }

  .person_sp__visual-wrap {
    height: 185px;
  }

  .person_sp .person__visual {
    max-width: 210px;
    max-height: 185px;
  }

  .diagnosis_people_sp .person__balloon {
    min-width: 150px;
    padding: 10px 14px;
    font-size: 13px;
  }
}


/* assessment: responsive layout */
@media screen and (max-width: 950px) {
  .assessment_page .question_box {
    padding: 12px 14px;
    border-width: 6px;
    border-radius: 18px;
  }

  .assessment_page .question_number {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .assessment_page .question_title {
    padding: 0 18px;
    font-size: 20px;
  }

  .assessment_layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }

  .assessment_page .type_select_title {
    margin: 0 0 16px;
    font-size: 20px !important;
  }

  .assessment_page .type_list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .assessment_page .type_card {
    min-height: 72px;
    padding: 18px 16px;
  }

  .assessment_page .type_card p {
    font-size: 17px;
  }

  .assessment_page .assessment_img {
    order: 2;
    max-width: 260px;
    margin: 0 auto;
  }

  .assessment_controls {
    margin-top: 20px;
  }

  .assessment_page .progress_bar {
    width: min(58vw, 220px);
  }

  .assessment_page .related_pages__list02 {
    margin-top: 22px;
  }

  .assessment_page .related_pages__list02 .related_link {
    max-width: 300px;
  }
}

@media screen and (max-width: 767px) {
  .result-card-kira--04 {
    top: 31%;
    left: -4%;
    width: 26px;
  }
  .result_page .result-recommendations .p-articles__grid.is-single {
    grid-template-columns: minmax(0, 1fr);
  }
}
