@media screen and (min-width: 951px){
.under .p-title-badge {
  top: 44px;
}
}
@media screen and (min-width: 951px) and (max-width: 1600px) {
  .under .p-title-badge__text {
		width: 320px;
  height: 78px;
		text-align: center;
    font-size: min(3vw, 30px);
    padding: 12px 20px;
	}
  .under .p-title-badge{
	top: -37px;
}

.h1_tit02 {
    font-size: min(1.8vw, 30px);
}

.news_btn{
  font-size: 18px;
}
.under.assessment_page .sec_h1{
  left: 5%;
  top: 68%;
}
}
@media screen and (max-width: 1600px) {
  .l-inner {
    max-width: 1200px;
    padding: 0;
  }
  .l-header__inner {
    padding: 0 20px;
  }
  section.p-hero {
    overflow: inherit;
    margin-top: 0px;
  }
  .p-hero__text {
    top: 12%;
  }
  .p-library::before {
    top: -15%;
    left: -7%;
    background-size: 90%;
  }
  .p-library::after {
    top: -25%;
    right: 0%;
    background-size: 80%;
  }
  .p-title-badge {
    position: absolute;
    top: -20px;
  }
  .p-intro__text {
    font-size: 16px;
  }
  .p-intro__body {
    gap: 30px;
  }
  .p-hero__check-right {
    position: absolute;
    top: 19%;
    right: 3.5%;
  }
  .p-hero__check-left {
    top: 35%;
    left: 3%;
  }

  .hero__bird {
    top: 7%;
    right: 13%;
  }
  .p-articles__inner {
    padding: 80px 0 0;
  }
  @keyframes bird02-slide-in {
    0% {
      left: 0;
    }
    100% {
      left: 8%;
    }
  }
  .hero__bird_left {
    top: 2%;
    left: 8%;
    animation: bird02-slide-in 2s ease-out forwards;
  }
	.hero__dinosaurs img {
		width: 140px;
	}
  .l-footer__nav-inner {
    max-width: 1100px;
    padding: 0 20px;
  }

  .l-footer__set {
    padding: 40px 20px 0;
  }

  .l-footer__copy {
    padding: 0 20px;
  }
  .footer_inner {
    max-width: 1100px;
  }
  .l-footer__links {
    gap: 10px;
  }

  .under_ct {
    width: 100%;
    max-width: 1256px;
    padding: 10px 0 0;
  }
  .content_main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }
	
	.under .txt_sm {
    font-size: min(3vw, 22px);
  }
	.under .sec_h1 {
    top: 45%;
  }
  .under .sec_h1_02{
    top: 60%;
  }
	.secmain_right {
    right: 4%;
	}
  .p-articles__grid3 {
    gap: 20px;
  }
  .p-articles__grid3 .p-card {
    margin: 0;
  }
  .under.result_page .sec_h1 {
    top: 50%;
  }
}

@media screen and (max-width: 1280px) {
  .under_ct {
    width: 100%;
    max-width: 1200px;
    padding: 10px 0 0;
  }
  .p-library::before {
    top: -15%;
    left: -7%;
    background-size: 60%;
  }
  .p-library::after {
    top: -25%;
    right: 0%;
    background-size: 60%;
  }
}

@media screen and (min-width: 951px) and (max-width: 1200px) {
  .l-inner {
    max-width: 1100px;
    padding: 0;
  }
}

/* --------------------------------------------------------------------------
   TABLET (768px – 1024px)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 951px) and (max-width: 1024px) {
  .l-inner {
    padding: 0 40px;
  }

  .okane-header {
    height: 56px;
  }

  .okane-header__logo img {
    height: 30px;
  }

  .p-title-badge__text {
    font-size: 1.6rem;
    padding: 9px 28px;
  }

  .p-hero__text {
    max-width: 380px;
  }

  .p-diagnosis__card {
    padding: 36px 40px;
    gap: 24px;
  }

  .p-diagnosis__heading {
    font-size: 2.6rem;
  }

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

  .p-diagnosis__btn {
    font-size: 1.8rem;
    padding: 16px 24px;
  }

  .p-library {
    padding: 56px 0;
  }

  .p-articles {
    padding: 56px 0;
  }

  .p-articles__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .p-articles__grid.slick-initialized .slick-list {
    margin: 0 -10px;
  }

  .p-articles__grid.slick-initialized .p-card {
    margin: 0 10px;
  }

  .p-card__body {
    gap: 16px;
  }

  .l-footer__set {
    padding: 40px 40px 0;
  }

  .l-footer__links {
    gap: 24px;
  }

  .l-footer__group-cols {
    gap: 24px;
  }

  .l-footer__copy {
    padding: 24px 40px;
  }

  .l-footer__nav-inner {
    padding: 0 40px;
  }
}

/* --------------------------------------------------------------------------
   SP (≤950px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 950px) {
  .l-inner {
    padding: 0 16px;
  }

  .okane-header {
    height: 50px;
    z-index: 300;
    background-color: transparent;
  }

  .okane-header.is-scroll {
    background-color: transparent;
  }

  .okane-header__inner {
    padding: 0 16px;
  }

  .okane-header__logo img {
    height: 22px;
  }

.l-header__hamburger {
    top: 6px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .l-header__hamburger span {
    width: 17px;
  }

  section.p-hero {
    background: #f8f5e6;
  }

  .p-hero__content {
    background: linear-gradient(to bottom,#e1f4fc 50%,#f8f5e6 100%);
  }

  .p-hero__content,.p-title-badge,.p-hero__text, .p-intro__inner{
    position: relative;
    overflow: hidden;
  }

  .p-title-badge {
    top: 10px;
    width: 200px;
  }

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

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

  .p-title-badge__text {
    display: inherit;
    padding: 4px 10px;
    width: 200px;
    height: 51px;
    letter-spacing: 0.2em;
    font-size: 21px;
    margin: 0 auto;
  }

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

  .txt_sm {
    font-size: 16px;
  }

  .p-hero__text {
    top: 30px;
  }

  .p-intro__inner{
    background: url(../images/main_bg_sp.jpg) no-repeat center top / cover;
    margin-top: 6%;
  }

  .p-hero__heading {
    font-size:30px;
    margin-bottom: 8px;
  }

  .p-hero__desc {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .hero__bird img {
    width: 55px;
  }

  .hero__bird {
    top: 100px;
    right: 5%;
  }

  .p-hero__check-left {
    left: 3%;
    z-index: 1;
    top: 35%;
  }

  .p-hero__check-right {
    top: 34%;
    right: 3%;
    z-index: 1;
  }

  .p-hero__check-btn {
    width: 78px;
    height: 78px;
    font-size: 14px;
  }

  .p-hero__check-btn::after {
    bottom: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 11px solid var(--white);
  }

  .p-hero__check-btn img{
    width: 28px;
  }

  .p-hero__check-right-label {
    display: none;
  }

  .hero__dinosaurs {
    top: 24%;
    left: 0;
    display: inline-block;
    z-index: 1;
  }

  .hero__dinosaurs img {
    width: 79px;
  }

  .p-hero__man01 {
    bottom: 1%;
    left: -10%;
    z-index: 1;
  }

  .p-hero__man01 img {
    width: 39vw;
  }

  .p-hero__tree {
    z-index: 0;
  }

  .p-hero__tree02 {
    display: none;
  }

  .p-hero__man02 {
    bottom: 5%;
    right: -3%;
  }

  .p-hero__man02 img {
    width: 22vw;
  }

  .p-intro {
    padding: 40px 0;
  }

  .p-intro__body {
    gap: 20px;
    padding: 60% 0 58%;
  }

  .p-intro__text {
    font-size: min(3vw, 20px);
  }

  .p-diagnosis__btn-icon {
    width: 20px;
    height: auto;
  }

  .p-diagnosis {
    padding: 0px 0 40px;
  }

  .p-diagnosis__inner {
    margin: -40px auto 0;
  }

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

  .p-diagnosis__tag-text {
    font-size: 19px;
  }

  .p-diagnosis__left {
    width: 100%;
    gap: 10px;
  }

  .p-diagnosis__card {
    flex-direction: column;
    padding: 28px 10px;
    gap: 20px;
    border: 8px solid #F39F9F;
    border-radius: 20px;
  }

  .p-diagnosis__heading {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
  }

  .p-diagnosis__icons {
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
  }

  .p-diagnosis__icon-img,
  .p-diagnosis__icon-doc svg {
    width: 60px;
    height: 60px;
  }

  .p-diagnosis__icon-doc {
    width: 60px;
    height: 60px;
  }

  .p-diagnosis__icon-label {
    font-size: 15px;
    line-height: 1.5;
  }

  .p-diagnosis__btn {
    font-size: 14px;
    padding: 16px 20px;
    border-radius: 40px;
    max-width: 288px;
    height: 56px;
    margin: 0 auto;
  }

  .p-diagnosis__right {
    flex: none;
    width: 100%;
    margin-right: -21px;
  }

  .under .p-hero__content {
    background: #e1f4fc url(../images/under_main_bg_sp.svg) no-repeat bottom center / contain; 
    padding-bottom: 55%;
  }

  .p-library {
    padding: 60px 0;
    margin-top: -40px;
    overflow: hidden;
  }

  .p-library__tag-list-wrapper {
    max-height: none;
    overflow: visible;
  }

  .p-library__tag-list-wrapper::after {
    display: none;
  }

  .btn_acc_more {
    display: none;
  }

  .p-library__tag-list {
    gap: 8px;
    justify-content: flex-start;
  }

  .p-library__title-label {
    font-size: 19px;
  }

  .p-library__title-icon img {
    width: 40px;
  }

  .p-library__heading {
    font-size: 28px;
  }

  .p-library::before {
    top: 5%;
    left: -28vw;
    background-size: 100%;
    width: 36vw;
    height: 49vw;
  }

  .p-library::after {
    top: 0;
    right: -10vw;
    background-size: 100%;
    width: 23vw;
    height: 33vw;
  }

  .hero__bird_left img {
    width: 48px;
  }

  .p-articles {
    padding: 0px 0 40px;
  }

  .p-articles__heading {
    font-size: 26px;
    margin-bottom: 20px;
    padding: 0;
  }

  .p-articles__inner {
    padding: 0px 0 40px;
  }

  .p-articles__grid{
    margin-bottom: 20px;
  }

  .p-articles__inner > .p-articles__heading,
  .p-articles__inner > .p-articles__pagination,
  .p-articles__inner > .p-articles__more {
    padding-left: 16px;
    padding-right: 16px;
  }

  .p-articles__grid:not(.slick-initialized) {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 15px 16px;
    margin-bottom: 12px;
    scrollbar-width: none;
  }

  .p-articles__grid:not(.slick-initialized)::-webkit-scrollbar {
    display: none;
  }

  .p-articles__grid:not(.slick-initialized) .p-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .p-articles__grid.slick-initialized {
    padding: 0;
  }

  .p-articles__grid.slick-initialized .slick-list {
    margin: 0 -6px;
  }

  .p-articles__grid.slick-initialized .p-card {
    margin: 0 6px;
  }

  .p-articles__pagination {
    gap: 16px;
    margin-bottom: 12px;
  }

  .p-pagination__dots {
    gap: 10px;
  }

  .p-card__body {
    gap: 12px;
  }

  .p-articles__more-btn {
    font-size: 16px;
    height: 60px;
    padding: 0 16px 0 20px;
  }

  .under p.modal-label {
    font-size: 19px;
    font-family: var(--font-sub);
    text-align: center;
    padding: 20px 0;
    font-weight: bold;
    margin: 0;
  }

  .news_menu {
    margin-top: 0;
  }

  .l-footer {
    padding-top: 80px;
  }

  .l-footer__pagetop {
    bottom: 20px;
    right: 16px;
  }

  .l-footer__nav-inner{
    display: block;
  }

  .l-footer__nav-heading{
    white-space:inherit;
    font-size: 15px;
    text-align: left;
    padding: 20px 0;
  }

  .l-footer__nav-col:not(:first-child)::before {
    display: none;
  }

  .l-footer__nav-col {
    display: block;
    position: relative;
    border-bottom: 1px solid var(--border-main);
  }

  .l-footer__nav-col:last-child {
    border-bottom: none;
  }

  .l-footer__set {
    padding: 24px 16px 0;
  }

  .l-footer__links {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .l-footer__links-col a {
    font-size: 12px;
    line-height: 1.6;
  }

  .l-footer__links-col ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .l-footer__links-col {
    width: 100%;
  }

  .l-footer__links-col li {
    line-height: 2.2;
    width: calc(50% - 20px);
  }

  .l-footer__group-toggle {
    font-size: 15px;
    padding: 12px 16px;
  }

  .l-footer__group-body {
    padding: 16px;
  }

  .l-footer__group-col {
    width: 100%;
  }

  .l-footer__group-cols {
    flex-direction: column;
    gap: 0;
  }

  .l-footer__group-col a {
    font-size: 14px;
  }

  .l-footer__logo {
    margin: 0 auto;
  }

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

  .l-footer__social-link img {
    width: 32px;
    height: auto;
  }

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

  .l-footer__bottom-inner {
    flex-wrap: wrap;
    gap: 25px;
  }

  .l-footer__divider {
    display: none;
  }

  .l-footer__social {
    gap: 20px;
    margin: 0 auto;
  }

  .l-footer__building {
    display: none;
  }

  .l-footer__copy {
    height: auto;
    padding: 25px 20px;
  }

  .l-footer__copy p {
    font-size: 10px;
  }

  .pc{
    display: none;
  }

  .sp{
    display: block;
  }

  .under_ct {
    padding: 0 3%;
  }

  .p-intro__body {
    gap: 20px;
    padding: 60% 0 40%;
  }

  .p-articles__grid:not(.slick-initialized) {
    display: flex;
    flex-direction: column;
    overflow: visible;
    scroll-snap-type: none;
    gap: 16px;
  }

  .under .p-articles__grid:not(.slick-initialized) {
    padding: 0 0 16px;
  }

  .p-articles__grid:not(.slick-initialized) .p-card {
    flex: none;
    width: 100%;
  }

  .p-articles__grid:not(.slick-initialized) .p-card:nth-child(n+9) {
    display: none;
  }

  .p-articles__pagination {
    display: none;
  }

  .articles_slide01 + .p-articles__pagination {
    display: flex;
  }

  .hero__dinosaurs {
    top: 26%;
  }

  .content_under{
    padding: 0px 0 40px;
  }

  .inner {
    width: 100%;
    padding: 0 3%;
  }

  .sp_none {
    display: none;
  }

  .under .sec_h1 {
    position: relative;
    top: 30px;
    left: 0;
    width: 100%;
    padding: 0 3%;
  }

  .under .h1_tit {
    display: block;
    text-align: center;
    font-size: min(6vw, 32px);
    margin-bottom: 20px;
  }

  .under .h1_tit img {
    margin: 0 auto 10px;
    height: 33px;
    display: block;
  }

  .under .p-hero__content {
    overflow: visible;
  }

  .secmain_right {
    background: url('../images/umain_bg01.svg') no-repeat top left;
    background-size: contain;
    width: 134px;
    height: 92px;
    position: absolute;
    right: 3%;
    bottom: -7px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    padding-left: 40px;
    padding-top: 12px;
    line-height: 1.3em;
  }


.secmain_right:hover {
	background: url('../images/umain_bg01.svg') no-repeat top left;
    background-size: contain;
	width: 134px;
}

.secmain_right_diagnosis {
  background: url('../images/umain_bg02.svg') no-repeat top left;
    background-size: contain;
}

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

  .under .secmain_right p {
    font-size: 13px;
    line-height: 1.3em;
  }

  .secmain_right a {
    padding-left: 0px;
  }

  .sec_h_item {
    width: 144px;
    height: 107px;
    padding: 8px;
  }

  .sec_h_item_img img {
    width: 57px;
  }

  .sec_h_item span {
    font-size: 14px;
  }

  .topic_path {
    margin-bottom: 30px;
    margin-top: -50px;
    padding: 0;
  }

  .p-articles__heading.left {
    text-align: center;
  }

  .content_main {
    flex-wrap: wrap;
  }

  .content_inner {
    width: 100%;
    order: 2;
  }

  .r_navi{
    order: 1;
    width: 100%;
    position: static;
    height: auto;
    margin: 0 auto;
  }

  .r_navi .news_menu,
  .r_navi .p-library__keywords {
    display: none;
  }

  .library_link {
    display: flex;
    align-items: center;
    justify-content: center;
    border:none;
  }

  .news_btn{
    width: auto;
    height: 92px;
    font-size:20px;
    gap:14px;
    padding:0 24px 0 18px;
  }

  .under p.p-library__keywords-label{
    text-align: left;
  }

  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0px 10px 0px;
  }

  .page-dots {
    font-size: 24px;
  }

  .modal_body{
    padding:35px 25px;
  }

  .modal_title{
    font-size:28px;
  }

  .modal_subtitle{
    font-size:16px;
  }

  .modal_footer{
    height:58px;
    font-size:15px;
  }

  .news_btn.is-active::before {
    display: none;
  }

  .related_pages {
    padding: 40px 20px 30px;
  }

  .related_pages__title {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .related_pages__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related_link {
    min-height: 52px;
    width: 100%;
  }

  .related_back {
    width: 100%;
    max-width: 310px;
    margin-top: 40px;
  }

  .section {
    margin-bottom: 40px;
  }

  .section_in {
    margin-bottom: 30px;
  }

  .table_wrap {
    margin-bottom: 40px;
  }

  .custom_table thead th, .custom_table tbody th, .custom_table tbody td {
    padding: 16px 15px;
  }

  .custom_table1 thead th, .custom_table1 thead td{
    padding: 16px 15px;
    width: 50%;
  }

  .custom_table1 thead td, .custom_table1 tbody td {
    border-right: none;
  }

  .custom_table2 {
    display: block;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
  }

  .custom_table2 thead,
  .custom_table2 tbody,
  .custom_table2 tr {
    display: block;
    width: 100%;
  }

  .custom_table2 tbody th, .custom_table2 tbody td {
    border-right:none;
  }

  .custom_table2 tbody th:first-child {
    border-top: none;
  }

  .custom_table tbody td.no_bd_r{
    border-right: none;
  }

  .custom_table2 thead {
    display: none;
  }

  .custom_table2 tbody tr {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  .custom_table2 tbody td {
    display: block;
    width: 100%;
    padding: 16px 15px;
    display: flex;
    align-items: center;
    border-right: none;
  }

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

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

  .under_detail .r_navi {
    order: 2;
    width: 100%;
  }

  .under_detail .content_inner {
    width: 100%;
    order: 1;
  }

  .quote_box::after{
    width: 33px;
    height: 31px;
    background: url(../images/icon_quote.svg) no-repeat center center;
    background-size: contain;
    top: -20px;
    right: 10px;
  }

  .filter_box {
    height: 64px;
  }

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

  .list01 li {
    font-size: 14px;
  }

  .custom_table {
    font-size: 14px;
  }

  .under.diagnosis .p-hero__content {
    background: #e1f4fc url(../images/under_main_bg01_sp.svg) no-repeat bottom center / contain;
  }

  .under.diagnosis_page .sec_h1, .under.result_page .sec_h1 {
    left: 0;
  }

  .under.result_page .sec_h1{
    top: 30px;
  }

  .sec_h_list_diagnosis .sec_h_item {
    width: 107px;
    height: 107px;
  }

  .sec_h_item .sec_h_item_img, .sec_h_item .sec_h_item_img1, .sec_h_item .sec_h_item_img2 {
    display: flex;
    margin: 0 auto;
    height: 53px;
    align-items: center;
  }

  .sec_h_list_diagnosis .sec_h_item_img img {
    width: 53px;
  }

  .sec_h_list_diagnosis .sec_h_item_img1 img {
    width: 59px;
  }

  .sec_h_list_diagnosis .sec_h_item_img2 img {
    width: 48px;
  }

  .sec_h_list {
    gap: 15px;
  }

  .sec_h_list_diagnosis .sec_h_item span {
    font-size: 11px;
  }

  .diagnosis_content .p-articles__heading{
    padding-top: 0;
  }

  .balloon {
    position: relative;
    left: calc(50% - 87px);
    margin-bottom: 15px;
  }

  .balloon::after {
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }

  .under .diagnosis_content p{
    font-size: 15px;
  }

  .icon_man_sp img{
    max-width: 547px;
    margin: 0 auto;
  }

  .under p.icon_man_sp {
    margin-bottom: 50px;
  }

  .under.assessment_page .sec_h1 {
    top: 30px;
    left: 0;
  }

  .progress_bar {
    width: 100%;
    max-width: 700px;
    height: 36px;
    padding: 6px;
    margin: 0 auto;
  }

  .question_box {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 90px;
    padding: 15px 18px;
    border-width: 8px;
  }

  .question_number {
    width: 56px;
    height: 56px;
    font-size: 22px;
    margin-bottom: 10px;
  }

  .question_title {
    padding: 0;
    font-size: 24px;
  }

  .assessment_img {
    margin-top: 20px;
  }

  .type_list {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .type_card {
    padding: 65px 20px 35px;
  }

  .type_card p {
    font-size: 20px;
  }

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

  .result_item {
    display: flex;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #000;
  }

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

  .result_item__head {
    min-height: 75px;
    font-size: 16px;
    width: 70%;
    border: none;
    border-right: 1px solid #000;
  }

  .result_item__body {
    height: 90px;
    width: 30%;
  }

  .result-card-stage {
    margin: 6px auto 32px;
  }

  .result-card-stage__lead {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .result-card-stage__visual {
    width: min(350px, 88vw);
    padding: 0 24px 28px 0;
  }

  .result-card-stage__stack {
    top: 14px;
    left: 21px;
    width: calc(100% - 24px);
    transform: rotate(6deg);
  }

  .result_card {
    width: calc(100% - 24px);
  }

  .result-card-kira--01 {
    top: 12%;
    right: -2%;
    width: 44px;
  }

  .result-card-kira--02 {
    bottom: 23%;
    left: -4%;
    width: 34px;
  }

  .result-card-kira--03 {
    top: 47%;
    right: -6%;
    width: 28px;
  }

  .result_summary_title {
    gap: 8px;
    margin: 24px 0 10px;
    font-size: 16px;
  }

  .result_summary_title img {
    width: 38px;
  }

  .result_low {
    font-size: 24px;
  }

  .result_high {
    width: 64px;
    height: 64px;
  }

  .assessment_img img {
   width:100%;
  }


/* --------------------------------------------------------------------------
   DRAWER MENU (SP: 950px以下 / デザインカンプ基準)
   -------------------------------------------------------------------------- */
.l-drawer {
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  overscroll-behavior: none;
}

  .article-dialogue {
    margin-bottom: 44px;
  }

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

  .article-dialogue__person {
    flex-basis: 80px;
    width: 80px;
    height: 80px;
  }

  .under .article-dialogue__bubble {
    min-height: 80px;
    margin-left: 24px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  .under .article-dialogue__row--staff .article-dialogue__bubble {
    margin-right: 24px;
  }

  .article-dialogue__row--customer .article-dialogue__bubble::before {
    left: -24px;
    width: 26px;
    height: 24px;
  }

  .article-dialogue__row--staff .article-dialogue__bubble::after {
    right: -24px;
    width: 26px;
    height: 24px;
  }

.l-drawer__container {
  width: calc(100% - 40px);
  max-width: 360px;
  margin: clamp(72px, 23.4vw, 88px) auto 0;
  flex: 0 0 auto;
}

.l-drawer__card {
  height: clamp(465px, calc((100vw - 40px) * 1.452), 520px);
  height: min(
    clamp(465px, calc((100vw - 40px) * 1.452), 520px),
    calc(100dvh - 176px)
  );
  min-height: 0;
  padding: clamp(80px, 22.6vw, 88px) 20px 0;
  box-sizing: border-box;
  border-radius: 24px;
}

.l-drawer__body {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 0;
  transform: none;
}

.l-drawer__nav {
  gap: clamp(26px, 8.5vw, 32px);
  margin-bottom: clamp(48px, 16vw, 60px);
}

.l-drawer__icon {
  width: clamp(40px, 11.7vw, 44px);
  height: clamp(40px, 11.7vw, 44px);
}

.l-drawer__text {
  font-size: clamp(16px, 4.8vw, 18px);
  margin-left: 10px;
}

/* フッターロゴ */
.l-drawer__logo {
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin-top: 0;
  transform: none;
}

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

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

.l-drawer__logo img {
  width: clamp(140px, 40.4vw, 152px);
  height: auto;
  display: block;
}

/* 装飾イラスト */
.l-drawer__decor-bird {
  top: -13px;
  right: -1px;
  width: 90px;
}

.l-drawer__decor-tree {
  left: -37px;
  top: auto;
  bottom: -76px;
  transform: none;
  width: 122px;
}

/* カップル */
.l-drawer__decor-people {
  right: -57px;
  bottom: -86px;
  width: 220px;
}

.l-drawer__close {
  top: 6px;
  right: 16px;
  width: 38px;
  height: 38px;
}

/* 開閉時に丸ボタンの位置・大きさを変えない */
.l-header__hamburger:hover,
.l-drawer__close:hover {
  transform: none;
  background-color: #3A98CB;
}

}

@media screen and (max-width: 700px) {
  .hero__dinosaurs {
    top: 26%;
  }
}

@media screen and (max-width: 600px) {
  .p-intro__body {
    padding: 60% 0 34%;
  }
  .hero__dinosaurs {
    top: 29%;
  }
}

@media screen and (max-width: 500px) {
  .p-hero__check-right {
    top: 40%;
  }
  .p-hero__check-left {
    top: 41%;
  }
  .p-intro__inner {
    background: url(../images/main_bg_sp.jpg) no-repeat center top / cover;
    margin-top: 10%;
  }
  .hero__dinosaurs {
    top: 33%;
  }
}

@media screen and (max-width: 420px) {
  @keyframes dinosaurs-slide-in {
    0% {
      left: -10%;
    }
    100% {
      left: -5%;
    }
  }
  .hero__dinosaurs {
    top: 35%;
    left: -5%;
  }
}

@media screen and (max-width: 400px) {
  .p-intro__text {
    font-size: 3.3vw;
  }
  .p-intro__body {
    padding: 60% 0 24%;
  }
}

@media screen and (max-width: 375px) {
  .p-intro__body {
    padding: 60% 0 24%;
  }
  .l-footer__links-col ul {
    gap: 10px;
  }
  .l-footer__links-col li {
    width: calc(50% - 10px);
  }
  .hero__dinosaurs {
    top: 36%;
  }
  .l-drawer__nav {
    gap: clamp(20px, 5.5vw, 22px);
    margin-bottom: clamp(36px, 12vw, 40px);
  }

  .l-drawer__decor-bird {
    top: -13px;
    right: -1px;
    width: 90px;
  }

  .l-drawer__decor-tree {
    left: -37px;
    top: auto;
    bottom: -76px;
    transform: none;
    width: 122px;
}

  .l-drawer__decor-people {
    right: -57px;
    bottom: -86px;
    width: 180px;
  }

}

@media screen and (max-width: 360px) {
  .p-diagnosis__heading {
    font-size: 25px;
  }
  .okane-header__logo img {
    height: 23px;
  }
  .hero__dinosaurs {
    top: 37%;
  }
}

/* --------------------------------------------------------------------------
   ASSESSMENT - SP DESIGN (2026-09-19)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 767px) {
  .assessment_page .under_ct {
    padding-left: 14px;
    padding-right: 14px;
  }

  .assessment_page .question_box {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    min-height: 0;
    padding: 10px 14px;
    border-width: 6px;
    border-radius: 22px;
  }

  .assessment_page .question_number {
    width: 38px;
    height: 38px;
    margin: 0;
    font-size: 15px;
  }

  .assessment_page .question_title {
    margin: 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.5;
    text-align: left;
  }

  .assessment_page .assessment_layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 14px;
  }

  .assessment_page .assessment_img {
    order: 1;
    width: 100%;
    max-width: 188px;
    margin: 0 auto 8px;
  }

  .assessment_page .center.assessment_img img,
  .assessment_page .assessment_img img {
    display: block;
    width: 100%;
    max-width: 188px;
    height: auto;
    margin: 0 auto;
  }

  .assessment_page .assessment_main {
    order: 2;
    width: 100%;
  }

  .assessment_page .type_select_title {
    gap: 8px;
    margin: 0 0 12px;
    font-size: 16px !important;
    line-height: 1.5;
  }

  .assessment_page .type_select_title::before,
  .assessment_page .type_select_title::after {
    width: 20px;
    height: 2px;
  }

  .assessment_page .type_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .assessment_page .type_card {
    min-height: 56px;
    padding: 13px 12px;
    border-width: 1px;
    border-radius: 12px;
  }

  .assessment_page .type_card p {
    font-size: 15px;
    line-height: 1.45;
  }

  .assessment_page .assessment_controls {
    margin-top: 12px;
  }

  .assessment_page .assessment_progress {
    gap: 10px;
    padding: 0 20px;
  }

  .assessment_page .progress_bar {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    height: 12px;
    padding: 3px;
    margin: 0;
  }

  .assessment_page .progress_count {
    min-width: 46px;
    font-size: 12px;
    text-align: left;
  }

  .assessment_page .related_pages__list02 {
    width: 100%;
    margin-top: 18px;
  }

  .assessment_page .related_pages__list02 .related_link {
    width: 100%;
    max-width: none;
    height: 56px;
    padding: 0 12px 0 18px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  }

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

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

/* --------------------------------------------------------------------------
   TOP ARTICLES SLIDER (SP)
   Keep side margins and show the original slider controller on TOP only.
   -------------------------------------------------------------------------- */
@media screen and (max-width: 950px) {
  .p-articles--new .p-articles__grid.slick-initialized {
    padding-left: 10px;
    padding-right: 10px;
  }

  .p-articles--new .p-articles__grid.slick-initialized .slick-list {
    margin-left: 0;
    margin-right: 0;
  }

  .p-articles--new .p-articles__pagination {
    display: flex;
  }
}
