/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@media (min-width: 992px) {    body:not(.home):not(.blog):not(.single-post):not(.archive) .site-body-container

 {
        width: 100%;
        max-width: 950px;
        margin-right: auto;
        margin-left: auto;
    }
}

/*スマホ横向き調整*/
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}


.global-nav-list > li .global-nav-name, .global-nav-list .sub-menu li a {
    font-size: 16px;
}


.apu-talk-box,.contact-box {
    width: 100%;
    max-width: 920px;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box;
}

.top-point-box {
  max-width: 920px;
  margin: 0 auto;
  gap: 24px !important;
}

.top-point-box .vk_gridcolcard_item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.top-point-box .vk_gridcolcard_item_header {
  overflow: hidden;
}

.top-point-box .vk_gridcolcard_item_header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.top-point-box .vk_gridcolcard_item:hover .vk_gridcolcard_item_header img {
  transform: scale(1.06);
}

.top-point-box .vk_gridcolcard_item_body {
  padding: 16px 18px 18px;
  border-top: 5px solid #aa003e;
}

.top-point-box .vk_gridcolcard_item_body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.top-point-box .vk_gridcolcard_item_body p:empty {
  display: none;
}

@media (max-width: 767px) {
  .top-point-box {
    gap: 20px !important;
  }

  .top-point-box .vk_gridcolcard_item_body {
    padding: 14px 16px 16px;
  }

  .top-point-box .vk_gridcolcard_item_body h3 {
    font-size: 18px;
  }
}



@media (min-width: 992px) {

  #site-header-container {
    align-items: center;
    row-gap: 20px;
  }

  #site-header-container .site-header-logo,
  #site-header-container .header-small-banners,
  #site-header-container .site-header-sub {
    align-self: center;
    padding-bottom: 0;
  }


  #site-header-container .header-small-banners,
  #site-header-container .site-header-sub {
    transform: translateY(14px);
  }

}

/*モバイルメニュー*/

.vk-mobile-nav-menu-btn {
  text-indent: 2px;
  font-size: 10px;
  padding-top: 26px;
  overflow: visible;
  border: none;
  background-position: top;
  height: 40px;
}
.vk-mobile-nav-menu-btn.menu-open {
  border: none;
}
.vk-mobile-nav {
  padding-top: 50px;
}

/*画像スマホ順序調整*/
@media screen and (max-width: 781.98px) {
 .order01 {
    order: 1;
  }
  .order02 {
    order: 2;
  }
}

/* 画像回り込み解除 */
@media (max-width: 768.98px) {

  figure.wp-block-image.alignleft,
  figure.wp-block-image.alignright {
    float: none !important;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 20px !important;
  }

  figure.wp-block-image.alignleft img,
  figure.wp-block-image.alignright img {
    display: block;
    margin: 0 auto !important;
  }
}

/* ヘッダーバナー */

@media (max-width: 992.98px) {
  .header-small-banners {
    display: none;
  }
}

@media (min-width: 993px) {
  #site-header-container {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    column-gap: 12px;
  }

  #site-header-container .site-header-logo {
    width: auto;
    margin: 0;
  }

  #site-header-container .header-small-banners {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    margin: 0 0 0 30px;
  }

  #site-header-container .header-small-banners img {
    display: block;
    width: auto;
    max-height: 60px;
  }

  #site-header-container .site-header-sub {
    width: auto;
    margin-left: auto;
    justify-self: end;
  }

#site-header-container .global-nav {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  left: auto;
  right: auto;
  transform: none;
  justify-self: stretch;
  background-color: #aa003e;
  box-shadow: 0 0 0 100vmax #aa003e;
  clip-path: inset(0 -100vmax);
}
}

@media (min-width: 992px) {
  #global-nav .global-nav-list > li {
    border-right: 1px solid rgba(255, 255, 255, .45);
  }

  #global-nav .global-nav-list > li:first-child {
    border-left: 1px solid rgba(255, 255, 255, .45);
  }

  #global-nav .global-nav-list > li > a,
  #global-nav .global-nav-list > li > a:visited {
    color: #fff;
  }
}

.header-button .vk_button_link,
.header-button .vk_button_link:visited {
  background-color: #7bb426 !important;
  color: #fff !important;
	border-color: #4f7418;
}

.header-button .vk_button_link:hover,
.header-button .vk_button_link:focus {
  background-color: #66951f !important;
  color: #fff !important;
border-color: #3f5d13;
}

.header_scrolled .header-small-banners {
  display: none !important;
}



/* ヘッダーSNS */

.header-top {
  padding-bottom: 2px;
}
.menu-headertopnav-container .menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.menu-headertopnav-container .menu > li {
  margin: 0;
  padding: 0;
}

.menu-headertopnav-container .menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 24px;
  padding: 0;
}

.menu-headertopnav-container .menu i {
  font-size: 20px;
  line-height: 1;
}

.menu-headertopnav-container .menu img {
  display: block;
  width: 34px;
  height: auto !important;
  max-width: none;
}

.menu-headertopnav-container .menu > li:last-child > a {
  width: auto;
  padding-left: 14px;
  padding-right: 0;
  white-space: nowrap;
}


.fa-solid.fa-house{
	margin-right:0;
}


@media (min-width: 992px) {


  #global-nav .global-nav-list > li:first-child {
    flex: 0 0 70px;
  }

  #global-nav .global-nav-list > li:not(:first-child) {
    flex: 1 1 0;
  }

}


@media (min-width: 991.99px) {
  .footer-extra-links {
    display: none;
  }
}

@media (max-width: 991.98px) {

  .footer-extra-links {
    padding: 30px 15px 22px;
    text-align: center;
  }

  .footer-small-banners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
  }

  .footer-small-banners img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 60px;
    object-fit: contain;
  }

  .footer-social-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .footer-social-nav li {
    margin: 0;
    padding: 0;
  }

  .footer-social-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .footer-social-nav i {
    font-size: 18px;
    line-height: 1;
  }

  .footer-note-link img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
  }
}

@media (max-width: 767px) {

  .footer-extra-links {
    padding: 25px 15px 20px;
  }

  .footer-small-banners {
    gap: 8px;
  }

  .footer-small-banners img {
    height: 50px;
  }

  .footer-social-nav ul {
    gap: 15px;
  }
}

.site-footer{
	border-top:0;
}

.lead-h2 {
    font-size: 2.3rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
}

.lead-h2 .large {
    color: #aa003e;
    font-size: 3rem;
}

.lead2-h2 {
    font-size: 3rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
}

.lead2-h2 .large {
    color: #aa003e;
    font-size:3rem;
}

.lead3-h2 {
    font-size: 2.5rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
	color: #aa003e;
}

.lead4-h2 {
    font-size: 3rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
}

.lead4-h2 .large {
    color: #aa003e;
    font-size: 3rem;
}

.lead5-h2 {
    font-size: 3rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
}

.lead5-h2 .large {
    color: #aa003e;
    font-size: 3rem;
}

@media (max-width: 992.98px) {
	
	.lead2-h2 {
    font-size: 2.5rem;

}

.lead2-h2 .large {

    font-size:2.5rem;
}
}

@media (max-width: 782.98px) {
	.lead-h2 {
		font-size: 1.8rem;}
	
	.lead-h2 .large {

    font-size: 2.2rem;
}
	
		.lead2-h2 {
    font-size: 2rem;

}

.lead2-h2 .large {

    font-size:inherit;
}
	
	
	.lead3-h2{

    font-size: 1.5rem;

}
	
	.lead4-h2 {
    font-size: 2rem;

}

.lead4-h2 .large {

    font-size:inherit;
}
	
			.lead5-h2 {
		font-size: 1.4rem;}
	
		.lead5-h2 .large {

    font-size:inherit;
}
	
}

/*下線*/
.marker {
  background: linear-gradient(
    transparent 60%,
    rgba(170, 0, 62, .22) 60%
  );
}


.carousel-slide > .swiper-wrapper > .swiper-slide {
  height: auto !important;
}

.carousel-slide .vk_slider_item {
  aspect-ratio: 16 / 9;
  min-height: 0 !important;
  background-size: 96% auto !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* POINT */

.point-box {
  max-width: 920px;
  margin: 0 auto !important;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
	  padding: 14px 0 !important;
}

.point-box + .point-box {
  margin-top: 16px !important;
}

.point-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.11);
}

.point-box > .wp-block-column {
  margin: 0 !important;
}

.point-box > .wp-block-column > .wp-block-columns {
  display: grid !important;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0 !important;
  margin: 0 !important;
}

.point-box > .wp-block-column > .wp-block-columns > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}


.point-box > .wp-block-column > .wp-block-columns > .wp-block-column:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  border-right: 1px solid #ddd;
}

.point-box .vk_icon,
.point-box .vk_icon_frame {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 !important;
}

.point-box .vk_icon_border {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 !important;
  border-radius: 50%;
  background: #aa003e !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.point-box .vk_icon_font {
  color: #fff;
  font-size: 32px;
}


.point-box > .wp-block-column > .wp-block-columns > .wp-block-column:last-child {
  display: block !important;
  padding: 20px 26px !important;
}

.point-box > .wp-block-column > .wp-block-columns > .wp-block-column:last-child > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* 見出し */
.point-box h3 {
  position: relative;
  margin: 0 0 14px !important;
  padding: 0 0 10px !important;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.4;
  border-bottom: 1px solid #ddd;
}

.point-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 3px;
  background: #aa003e;
}

/* 本文 */
.point-box p {
  margin: 0 !important;
  font-size: 17px;
  line-height: 1.7;
}

/* スマホ */
@media (max-width: 782.98px) {

  .point-box + .point-box {
    margin-top: 14px !important;
  }

  .point-box {
    padding: 18px 20px !important;
  }

  .point-box > .wp-block-column > .wp-block-columns {
    display: block !important;
    margin: 0 !important;
  }

  .point-box > .wp-block-column > .wp-block-columns > .wp-block-column:first-child {
    display: flex !important;
    justify-content: center !important;
    padding: 0 0 16px !important;
    border-right: 0;
  }

  .point-box .vk_icon_border {
    width: 58px;
    height: 58px;
  }

  .point-box .vk_icon_font {
    font-size: 25px;
  }

  .point-box > .wp-block-column > .wp-block-columns > .wp-block-column:last-child {
    padding: 0 !important;
    text-align: left;
  }

  .point-box h3 {
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
    font-size: 19px;
    line-height: 1.5;
    text-align: left;
  }

  .point-box h3::after {
    left: 0;
    transform: none;
  }

  .point-box p {
    margin: 0 !important;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
  }
}

/* プロフィール */

.wp-block-columns.profile-box {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.pinyon-script-regular {
  font-family: "Pinyon Script", cursive;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
}

.wp-block-columns.profile-box > .wp-block-column {
  background-color: rgba(255, 255, 255, .86);
  border: 1px solid rgba(31, 53, 89, .10);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(31, 53, 89, .07);
  overflow: hidden;
}

.wp-block-columns.profile-box > .right-content-box {
  padding: 2rem 1.4rem !important;
}

.profile-box > .wp-block-column:first-child figure {
  margin: 0;
}

.profile-box > .wp-block-column:first-child img {
  display: block;
  width: 100%;
  height: auto;
}

.profile-box > .wp-block-column:first-child h3 {
  margin: 12px 0 0 !important;
  padding: 0 !important;
  color: #333;
  line-height: 1.45;
}

.profile-box > .wp-block-column:first-child .title1 {
  font-size: 16px;
}

.profile-box > .wp-block-column:first-child .name1 {
  font-size: 22px;
}


/* PC */
@media (min-width: 992px) {

  .wp-block-columns.profile-box {
    align-items: stretch !important;
  }

  .wp-block-columns.profile-box > .wp-block-column:first-child {
    display: flex;
    flex-direction: column;
    flex: 0 0 300px !important;
    padding: 0 !important;
    background-color: #f5f5f5;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .wp-block-columns.profile-box > .wp-block-column:first-child img {
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(31, 53, 89, .08);
  }

  .wp-block-columns.profile-box > .right-content-box {
    display: flex;
    flex: 1 1 0 !important;
    align-items: center;
  }
}


/* スマホ */
@media (max-width: 991.98px) {

  .wp-block-columns.profile-box {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 24px;
  }

  .wp-block-columns.profile-box > .wp-block-column {
    flex-basis: auto !important;
    width: 100%;
    max-width: none;
  }

  .wp-block-columns.profile-box > .wp-block-column:first-child {
    width: 85%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 !important;
		background-color: #f5f5f5;
border: 0;
border-radius: 0;
box-shadow: none;
overflow: visible;
  }

  .wp-block-columns.profile-box > .right-content-box {
    padding: 1.5rem !important;
  }

  .pinyon-script-regular {
    font-size: 22px;
  }
	.wp-block-columns.profile-box > .wp-block-column:first-child img {
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(31, 53, 89, .08);
}
}

@media (max-width: 575.98px) {
  .profile-box > .wp-block-column:first-child .title1 {
    font-size: 14px;
  }

  .profile-box > .wp-block-column:first-child .name1 {
    font-size: 20px;
  }

  .profile-box > .wp-block-column:first-child .pinyon-script-regular {
    font-size: 20px;
  }
}

/* 書籍一覧 */

.book-box {
  width: 100%;
  margin: 0 auto;
}

.book-box > .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0;
}

.book-box .vk_gridColumn_item {
  padding: 0 !important;
}

.book-box figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.book-box img {
  display: block;
  width: 100%;
  height: 305px;
  object-fit: contain;
}

/* PC：5冊横並び */
@media (min-width: 992px) {
  .book-box .vk_gridColumn_item {
    flex: 0 0 calc((100% - 80px) / 5) !important;
    width: calc((100% - 80px) / 5) !important;
    max-width: calc((100% - 80px) / 5) !important;
  }
}

/* タブレット：3冊 */
@media (min-width: 576px) and (max-width: 991.98px) {
  .book-box .vk_gridColumn_item {
    flex: 0 0 calc((100% - 40px) / 3) !important;
    width: calc((100% - 40px) / 3) !important;
    max-width: calc((100% - 40px) / 3) !important;
  }

  .book-box img {
    height: 280px;
  }
}

/* スマホ：2冊 */
@media (max-width: 575.98px) {
  .book-box > .row {
    gap: 16px;
  }

  .book-box .vk_gridColumn_item {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    width: calc((100% - 16px) / 2) !important;
    max-width: calc((100% - 16px) / 2) !important;
  }

  .book-box img {
    height: 220px;
  }
}

.book-caption {
  width: 100%;
  max-width: 1140px;
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 5px solid #ddd;
  text-align: center;
  color: #333;
}

.book-caption-main {
  display: block;
  margin-bottom: 5px;
  font-size: 28px !important;
  font-weight: 700;
  color: #aa003e;
	  line-height: 1.5;
}

.book-caption-sub {
  display: block;
  font-size: 26px !important;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .book-caption {
    margin-top: 16px;
    padding-top: 14px;
  }

  .book-caption-main {
    font-size: 16px;
  }

  .book-caption-sub {
    font-size: 14px;
  }
}

/* スラッシュ */
.slash-wrap,.slash2-wrap {
  text-align: center;
}


.slash-p {
  position: relative;
  display: inline-block; 
  line-height: 1.6;
  font-size: 2.5rem;
  padding: 0 2em;
  margin: 0 auto;

	    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
	color:#173a5e;
}

.slash2-p {
  position: relative;
  display: inline-block; 
  line-height: 1.6;
  font-size: 2rem;
  padding: 0 2em;
  margin: 0 auto;
	font-weight:bold;
	    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
	color:#173a5e;
}



.slash-p::before,
.slash-p::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: #173a5e;
}

.slash-p::before {
  left: 0;
  transform: rotate(-35deg);
  transform-origin: top left;
}

.slash-p::after {
  right: 0;
  transform: rotate(35deg);
  transform-origin: top right;
}

.slash2-p::before,
.slash2-p::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background:#173a5e;
}

.slash2-p::before {
  left: 0;
  transform: rotate(-35deg);
  transform-origin: top left;
}

.slash2-p::after {
  right: 0;
  transform: rotate(35deg);
  transform-origin: top right;
}

.slash3-wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
}

.slash3-p {
  position: relative;
  display: inline-block;
  margin: 0 auto;
padding: 0 1.15em;
  color: #173a5e;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;

}

.slash3-p::before,
.slash3-p::after {
  content: "";
  position: absolute;
  top: 54%;
  width: 2px;
  height: 100%;
  background: #173a5e;
}

.slash3-p::before {
  left: 0;
  transform: translateY(-50%) rotate(-34deg);
}

.slash3-p::after {
  right: 0;
  transform: translateY(-50%) rotate(34deg);
}
.p-center {
    text-align: center;
    font-size: 2rem;
    line-height: 1.65 !important;
    letter-spacing: 0.05em;
    margin: 1.1em auto;
		    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
}

@media (max-width: 768.98px) {
		.slash-p{
		font-size:2.2rem;
		  line-height: 1.5;
	}
		.slash2-p {
				font-size:1.5rem;
		  line-height: 1.5;
	}
}

@media (max-width: 767.98px) {

	
	.slash2-p {
				font-size:1rem;
		  line-height: 1.5;
	}
	
	
	.p-center {
		font-size: 1.3rem;
	}
	
}

@media screen and (max-width: 1199.98px) {
	.header-button .vk_button_link_txt{
		font-size:0.8rem;
	}
	.header-button a{
		padding:0.5rem 1rem !important;
	}
}
@media screen and (max-width: 781.98px) {
    .apply-button .vk_button_link_txt {
        font-size: 1.4rem;
    }
	
}

/* お悩み */

.worries-box {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  gap: 18px !important;
  align-items: stretch !important;
}

.worries-box + .worries-box {
  margin-top: 18px !important;
}

.worries-box > .wp-block-column {
  display: flex;
  min-width: 0;
}

.worries-box .vk_animation {
  width: 100%;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.worries-box .vk_animation:hover {
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.09);
}

.worries-box h3 {
  margin: 0 0 14px !important;
  padding: 0 0 12px !important;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
  color: #aa003e;
  border-bottom: 1px solid #ddd;
}

.worries-box p {
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

@media (max-width: 782.98px) {

  .worries-box {
    gap: 14px !important;
  }

  .worries-box + .worries-box {
    margin-top: 14px !important;
  }

  .worries-box .vk_animation {
    padding: 20px;
  }

  .worries-box h3 {
    font-size: 19px;
  }

  .worries-box p {
    font-size: 15px;
  }
}



/* メディアロゴ */

.media-box {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.media-box > .row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0;
}

.media-box .vk_gridColumn_item {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

.media-box figure {
  width: 100%;
  margin: 0;
  aspect-ratio: 3 / 2;
  background: #fff;
  border: 1px solid #e5e5e5;
  overflow: hidden;
}

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


/* タブレット */
@media (max-width: 991.98px) {
  .media-box {
    max-width: 760px;
  }

  .media-box > .row {
    grid-template-columns: repeat(4, 1fr);
  }
	
}

@media (max-width: 782.98px) {
	  .slash3-p {

    font-size: 2.2rem;

  }
}


/* スマホ */

@media (max-width: 575.98px) {
  .media-box > .row {
    grid-template-columns: repeat(3, 1fr);
  }
	
	  .slash-p {
    font-size: 1.5rem;
			padding: 0 1.2em;
  }

  .slash3-p {
    padding: 0 2.2em;
    font-size: 1.25rem;
    line-height: 1.45;
  }
}

/* 講師紹介 */

.tutor-box {
  max-width: 760px;
  margin: 0 auto !important;
  padding: 20px 28px !important;
  background: #f5f5f5;
  align-items: center !important;
}

.tutor-box > .wp-block-column {
  margin: 0 !important;
}

.tutor-box > .wp-block-column:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutor-box > .wp-block-column:last-child {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tutor-box p {
  margin: 0 !important;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  color: #333;
}

.tutor-box figure {
  margin: 0 !important;
  text-align: center;
}

.tutor-box .wp-block-image img {
  display: block;
  width: auto !important;
  height: 200px !important;
  max-width: none !important;
  margin: 0 auto;
  object-fit: contain;
}

@media (min-width: 783px) {
  .tutor-box > .wp-block-column:first-child {
    flex-basis: 72% !important;
  }

  .tutor-box > .wp-block-column:last-child {
    flex-basis: 28% !important;
  }

  .tutor-box p {
    font-size: 30px;
    white-space: nowrap;
  }
}

@media (max-width: 782.98px) {
  .tutor-box {
    max-width: 100%;
    padding: 22px 20px !important;
    gap: 16px !important;
  }

  .tutor-box p {
    font-size: 21px;
  }

  .tutor-box .wp-block-image img {
    height: 145px !important;
  }
}

@media (max-width: 575.98px) {
  .tutor-box {
    padding: 20px 0 !important;
  }

  .tutor-box p {
    font-size: 1.5rem;
  }

  .tutor-box .wp-block-image img {
    height: 135px !important;
  }
}

/* 対談写真 */

.dialogue-section {
	position: relative;
  max-width: 820px;
  margin: 32px auto 40px !important;
  gap: 48px !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
}

.dialogue-section > .wp-block-column {
  flex: 1 1 0 !important;
  min-width: 0;
  text-align: center;
}

.dialogue-section figure {
  width: 220px;
  max-width: 100%;
  margin: 0 auto 14px !important;
}

.dialogue-section img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(31, 53, 89, .10);
}

.dialogue-section p {
  margin: 0 !important;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.dialogue-section::before {
  content: "×";
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #aa003e;
  font-family: Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

/* タブレット */
@media (max-width: 782.98px) {
  .dialogue-section {
    gap: 28px !important;
  }

  .dialogue-section figure {
    width: 180px;
  }

  .dialogue-section p {
    font-size: 14px;
  }
	  .dialogue-role {
    font-size: 13px !important;

  }
	
	.dialogue-section::before {
    top: 90px;
    font-size: 48px;
  }
	
	
}



/* スマホ */
@media (max-width: 575.98px) {
  .dialogue-section {
    gap: 16px !important;
    margin: 24px auto 32px !important;
  }

  .dialogue-section figure {
    width: 135px;
    margin-bottom: 10px !important;
  }

  .dialogue-section p {
    font-size: 12px !important;
    line-height: 1.5;
  }
	
	.dialogue-section::before {
    top: 67.5px;
    font-size: 36px;
  }
	
}

.dialogue-caption {
  margin: 0 !important;
  text-align: center;
  line-height: 1.5;
}

.dialogue-role {
  display: block;
  color: #555;
  font-size: 12px !important;
  font-weight: 600;
}

.dialogue-name {
  display: inline-block;
  margin-top: 5px;
  padding-bottom: 2px;
  color: #173a5e;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid #aa003e;
}
/* =========================
   APU対談コンテンツ
========================= */

.apu-talk-box {
  max-width: 920px;
  margin: 0 auto;
}


/* 目次
------------------------- */

.apu-talk-toc {
  margin: 32px auto !important;
  border: 1px solid #e2d5da;
}

.apu-talk-toc .vk_outer-background-area {
  background-color: #fbf6f8 !important;
  opacity: 1 !important;
}

.apu-talk-toc .vk_outer_container {
  padding: 44px 30px !important;
}

.dialogue-photo {
  max-width: 720px;
  margin: 24px auto 52px !important;
}

.dialogue-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(31, 53, 89, .08);
}

@media (max-width: 575.98px) {
  .dialogue-photo {
    margin: 20px auto 40px !important;
  }

  .dialogue-photo img {
    border-radius: 6px;
  }
}

/* 目次タイトル */
.apu-talk-toc .vk_outer_container > p:first-child {
  margin: 0 0 20px !important;
  padding-bottom: 12px;
  border-bottom: 2px solid #aa003e;
  font-size: 20px;
  text-align: center;
  color: #333;
}

/* 【一次選考対策編】*/
.apu-talk-toc .vk_outer_container > p:not(:first-child) {
  margin: 22px 0 8px !important;
  font-size: 17px;
  font-weight: 900;
  color: #aa003e;
}

/* 目次リスト */
.apu-talk-toc ol {
  margin: 0 !important;
  padding-left: 2em;
}

.apu-talk-toc li {
  padding: 5px 0;
  line-height: 1.75;
  color: #333;
}

.apu-talk-toc li::marker {
  color: #aa003e;
  font-weight: 900;
}


/* 本文：章見出し
------------------------- */

.apu-talk-box h3 {
  margin: 45px 0 24px !important;
  padding: 12px 18px !important;
  background: #aa003e;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.5;
}


/* 本文：各項目見出し
------------------------- */

.apu-talk-box h4 {
  position: relative;
  margin: 36px 0 20px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #ccc;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.55;
  color: #333;
}

.apu-talk-box h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 70px;
  height: 3px;
  background: #aa003e;
}


/* スマホ
------------------------- */

@media (max-width: 782.98px) {

  .apu-talk-toc {
    margin: 24px auto !important;
  }

  .apu-talk-toc .vk_outer_container {
    padding: 20px !important;
  }

  .apu-talk-toc .vk_outer_container > p:first-child {
    margin-bottom: 16px !important;
    font-size: 18px;
  }

  .apu-talk-toc .vk_outer_container > p:not(:first-child) {
    margin-top: 18px !important;
    font-size: 16px;
  }

  .apu-talk-toc ol {
    padding-left: 1.7em;
  }

  .apu-talk-toc li {
    font-size: 15px;
  }

  .apu-talk-box h3 {
    margin-top: 35px !important;
    padding: 11px 14px !important;
    font-size: 20px;
  }

  .apu-talk-box h4 {
    margin-top: 30px !important;
    font-size: 18px;
  }
}

/* 対談内テーブル */

.apu-talk-table {
  width: 100%;
  margin: 28px 0 36px;
}

.apu-talk-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.apu-talk-table th,
.apu-talk-table td {
  padding: 16px;
  vertical-align: middle;
}

.apu-talk-table th {
  background-color: #aa003e !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
  border: 1px solid #fff;
}

.apu-talk-table td {
  line-height: 1.8;
  border: 1px solid #ddd;
}

.apu-talk-table td:first-child {
  width: 34%;
  font-weight: 700;
}

@media (min-width: 783px) {
  .apu-talk-table tbody tr {
    height: 74px;
  }
}

@media (max-width: 782.98px) {
  .apu-talk-table th,
  .apu-talk-table td {
    padding: 12px;
    font-size: 14px;
  }

  .apu-talk-table td:first-child {
    width: 39%;
  }
}

/* 対談内：ポイント見出し */

.apu-talk-box h5 {
  margin: 28px 0 16px !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.6;
  color: #333;
}


/* 対談内チェックリスト */

.apu-talk-checklist {
  margin: 24px 0 32px !important;
  padding: 22px 28px !important;
  background: #f8eef2;
  border-left: 4px solid #aa003e;
}

.apu-talk-checklist > .wp-block-column {
  margin: 0 !important;
}

.apu-talk-checklist p:first-child {
  margin: 0 0 18px !important;
  color: #aa003e;
  font-size: 16px;
  font-weight: 900;
}

.apu-talk-checklist ul {
  margin: 0 !important;
  padding-left: 1.4em;
}

.apu-talk-checklist li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.apu-talk-checklist li:last-child {
  margin-bottom: 0;
}

@media (max-width: 782.98px) {
  .apu-talk-box h5 {
    margin-top: 24px !important;
    font-size: 17px;
  }

  .apu-talk-checklist {
    padding: 18px 20px !important;
  }

  .apu-talk-checklist p:first-child {
    font-size: 15px;
  }

  .apu-talk-checklist li {
    font-size: 15px;
    margin-bottom: 8px;
  }
}


.youtube-box{
position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 980px;
    margin: auto;
}
.youtube-box::before{
  content: "";
  display: block;
  padding-bottom: 56.25%;       /* 16:9 */
}


.youtube-box iframe{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;               
  border: 0;
  max-width: 100%;
}


@supports (height: 100svh) {
.youtube-box{ max-height: 100svh; }
}


@media (orientation: landscape) {
.youtube-box{ transform: translateZ(0); }

}

/* 特長カード */

.feature-box {
  max-width: 920px;
  margin: 0 auto !important;
  padding: 28px 32px !important;
  gap: 36px !important;
  align-items: center !important;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.feature-box + .feature-box {
  margin-top: 24px !important;
}

/* 左側 */
.feature-box > .wp-block-column:first-child {
  min-width: 0;
}

/* アイコン＋見出し */
.feature-box > .wp-block-column:first-child > .wp-block-group {
  width: 100%;
  gap: 10px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

/* VK Blocksアイコン */
.feature-box .vk_icon,
.feature-box .vk_icon_frame,
.feature-box .vk_icon_border {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.feature-box .vk_icon {
  flex: 0 0 auto !important;
}

.feature-box .vk_icon_border {
  color: #aa003e !important;
}

.feature-box .vk_icon_font {
  display: block;
  font-size: 24px;
  line-height: 1;
}

/* 見出し */
.feature-box h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  color: #333;
}

/* 本文 */
.feature-box p {
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

/* 画像 */
.feature-box > .wp-block-column:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box figure {
  width: 100%;
  margin: 0 !important;
}

.feature-box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.feature-profile {
  position: relative;
  margin: 0 !important;
  overflow: hidden;
}

.feature-profile figcaption.wp-element-caption {
  position: absolute;
  right: 2%;
  bottom: 2%;
  z-index: 2;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 3px 7px !important;
  
  
  border-radius: 2px !important;
  box-shadow: none !important;
  color: #333 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 400;
  line-height: 1.4;
  text-align: center !important;
  white-space: nowrap;
	text-shadow:
  1px 0 1px #fff,
  -1px 0 1px #fff,
  0 1px 1px #fff,
  0 -1px 1px #fff;
}

.feature-profile .wp-element-caption code {
  display: inline;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit;
}

/* スマホ */
@media (max-width: 782.98px) {

  .feature-box {
    padding: 24px 22px !important;
    gap: 22px !important;
  }

  .feature-box + .feature-box {
    margin-top: 18px !important;
  }

  .feature-box > .wp-block-column:first-child > .wp-block-group {
    gap: 8px !important;
    margin-bottom: 7px !important;
  }

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

  .feature-box .vk_icon_font {
    font-size: 21px;
  }

  .feature-box p {
    font-size: 15px;
    line-height: 1.8;
  }

  .feature-box > .wp-block-column:last-child {
    width: 75%;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {

  .feature-box {
    padding: 20px 18px !important;
  }

  .feature-box h3 {
    font-size: 16px;
  }

  .feature-box > .wp-block-column:last-child {
    width: 85%;
  }
}



.feature-box2 {
  max-width: 920px;
  margin: 0 auto !important;
  padding: 28px 32px !important;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.feature-box + .feature-box2,
.feature-box2 + .feature-box2 {
  margin-top: 24px !important;
}

.feature-box2 > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}


.feature-box2 .wp-block-group {
  width: 100%;
  gap: 10px !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  justify-content: flex-start !important;
  align-items: center !important;
}


.feature-box2 .vk_icon,
.feature-box2 .vk_icon_frame,
.feature-box2 .vk_icon_border {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.feature-box2 .vk_icon {
  flex: 0 0 auto !important;
}

.feature-box2 .vk_icon_border {
  color: #aa003e !important;
}

.feature-box2 .vk_icon_font {
  display: block;
  font-size: 24px;
  line-height: 1;
}


.feature-box2 h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  color: #333;
}


.feature-box2 p {
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

@media (max-width: 782.98px) {

  .feature-box2 {
    padding: 24px 22px !important;
  }

  .feature-box + .feature-box2,
  .feature-box2 + .feature-box2 {
    margin-top: 18px !important;
  }

  .feature-box2 .wp-block-group {
    gap: 8px !important;
    margin-bottom: 7px !important;
  }

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

  .feature-box2 .vk_icon_font {
    font-size: 21px;
  }

  .feature-box2 p {
    font-size: 15px;
    line-height: 1.8;
  }
}

@media (max-width: 575.98px) {

  .feature-box2 {
    padding: 20px 18px !important;
  }

  .feature-box2 h3 {
    font-size: 19px;
  }
}


.post-30 .entry-body > p {
  margin: 0 0 30px !important;
  line-height: 2;
}

.post-30 .entry-body > p + p {
  margin-top: -8px !important;
}


/* 画像 */

.post-30 figure {
  margin-top: 34px;
  margin-bottom: 34px;
}

.post-30 figure img {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin-right: auto;
  margin-left: auto;
}

.pj-rightimg{
	margin-top:0 !important;
}

.post-30 .pj-main-img img {
  width: 620px !important;
  border-radius: 4px;
}

.post-30 .pj-system-img img {
  width: 440px !important;
}

.post-30 .pj-cycle-img img {
  width: 460px !important;
}


/* h3 */

.post-30 h3 {
  margin: 0 0 34px !important;
  padding: 12px 18px !important;
  background: #aa003e;
  color: #fff !important;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.5;
}

.post-30 h3 mark {
  color: #fff !important;
}


/* リスト */

.post-30 .pj-list {
  margin: 28px 0 32px !important;
  padding: 22px 28px !important;
  background: #f8eef2;
  border-left: 4px solid #aa003e;
  list-style: none;
}

.post-30 .pj-list li {
  position: relative;
  margin: 0 0 12px !important;
  padding-left: 1.8em;
  color: #aa003e;
  font-weight: 700;
  line-height: 1.7;
}

.post-30 .pj-list li:last-child {
  margin-bottom: 0 !important;
}

.post-30 .pj-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #aa003e;
  font-weight: 900;
}


/* YouTube */

.post-30 .youtube-box {
  max-width: 760px;
  margin: 42px auto 0;
}


/* プロジェクト概要表 */

.post-30 .pj-table {
  width: 100%;
  margin: 0 auto 30px !important;
}

.post-30 .pj-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto !important;
  background: #fff;
}

.post-30 .pj-table td {
  padding: 16px 18px;
  border: 1px solid #ddd;
  line-height: 1.8;
  vertical-align: middle;
}

.post-30 .pj-table td:first-child {
  width: 19%;
  background: #f8eef2;
  color: #aa003e;
  white-space: nowrap;
  text-align: center;
}

.post-30 .pj-table a {
  color: #aa003e;
  font-weight: 700;
  text-decoration: underline;
}

.post-30 .pj-table mark {
  color: #aa003e !important;
	font-weight:600;
}


.post-30 .pj-table u {
  text-decoration-color: #aa003e;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.page-id-30 .pj-table tr:last-child td:nth-child(2) {
  padding-top: 2px;
}

/* 概要表内の画像 */
.page-id-30 .pj-table td img {
  display: inline-block;
  width: 280px !important;
  max-width: calc(50% - 8px);
  height: auto !important;
  margin: 14px 10px 0 0;
  vertical-align: top;
}

.page-id-30 .pj-table td img:last-child {
  margin-right: 0;
}

@media (max-width: 782.98px) {

  .lead2-h2 {
    margin-bottom: 28px;
    font-size: 25px !important;
    line-height: 1.55;
  }

  .post-30 .entry-body > p {
    margin-bottom: 25px !important;
    line-height: 1.9;
  }

  .post-30 figure {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .post-30 .pj-main-img img {
    width: 100% !important;
    max-width: 600px;
  }

  .post-30 .pj-system-img img {
    width: 78% !important;
    max-width: 400px;
  }

  .post-30 .pj-cycle-img img {
    width: 78% !important;
    max-width: 420px;
  }

  .post-30 h3 {
    margin-top: 42px !important;
    padding: 11px 14px !important;
    font-size: 20px;
  }

  .post-30 .pj-list {
    padding: 20px !important;
  }

  .post-30 .pj-list li {
    font-size: 15px;
  }

  .post-30 .youtube-box {
    margin-top: 34px;
  }

  .post-30 .pj-table td {
    padding: 13px;
    font-size: 14px;
  }

  .post-30 .pj-table td:first-child {
    width: 25%;
  }
}


@media (max-width: 575.98px) {

  .lead2-h2 {
    font-size: 20px !important;
  }

  .lead2-h2 .large {
    font-size: 1.3rem;
  }

  .lead4-h2 {
    font-size: 23px !important;
  }

  .lead4-h2 .large {
    font-size: 1.3rem;
  }

  .post-30 .pj-system-img img,
  .post-30 .pj-cycle-img img {
    width: 90% !important;
  }

  .post-30 .pj-table td {
    padding: 11px 10px;
  }

  .post-30 .pj-table td:first-child {
    width: 30%;
    white-space: normal;
  }
}


/* =========================
   対策一覧
========================= */

.support-intro {
  align-items: stretch !important;
	margin-bottom: 40px;
}

.support-intro > .wp-block-column:first-child {
  flex-basis: 58% !important;
}

.support-intro > .wp-block-column:last-child {
  display: flex;
  flex-basis: 42% !important;
  align-self: stretch;
}

.support-intro > .wp-block-column:last-child figure {
  display: flex;
  width: 100%;
  height: 100% !important;
  margin: 0;
}

.support-intro > .wp-block-column:last-child img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: 8px;
}

/* 【対策一覧】 */
.measure-list-title {
  margin: 0 0 38px !important;
  padding: 14px 20px !important;
  background: #333;
  color: #fff !important;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  border-bottom: 4px solid #aa003e;
}


.measure-list-title ~ h4 {
  margin: 34px 0 20px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid #d8d8d8;
  color: #333;
  font-family: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

/* 項目エリア */
.measure-list-group {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 18px;
  margin: 0 0 38px !important;
  padding: 0 !important;
}


.measure-list-group > * {
  width: 100%;
  max-width: none !important;
}

/* 各項目 */
.measure-list-group .measure-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 !important;
  padding: 9px 12px !important;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  border-radius: 4px;
}

/* ゼロ次対策 */
.measure-zero .measure-item {
  background: #b78a26;
}

/* 一次対策 */
.measure-first .measure-item {
  background: #aa003e;
}

/* 二次対策 */
.measure-second .measure-item {
  background: #416b91;
}

/* その他対策 */
.measure-other .measure-item {
  background: #687d91;
}

.measure-item a,
.measure-item a:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 15px;
  box-sizing: border-box;
  color: #fff !important;
  text-decoration: none !important;
}

.measure-item a:hover,
.measure-item a:focus {
  color: #fff !important;
  text-decoration: none !important;
}

/* =========================
   スマホ
========================= */

@media (max-width: 782.98px) {

  .measure-list-title {
    margin-bottom: 30px !important;
    padding: 12px 16px !important;
    font-size: 21px;
  }

  .measure-list-title ~ h4 {
    margin-top: 28px !important;
    margin-bottom: 16px !important;
    font-size: 18px;
  }

  .measure-list-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 30px !important;
  }

  .measure-list-group .measure-item {
    min-height: 46px;
    padding: 8px 10px !important;
    font-size: 15px;
  }
}

/* =========================
   各種対策 詳細テーブル
========================= */

figure.measure-detail-table {
  --measure-color: #aa003e;
  --measure-label-bg: #efd5df;
  --measure-content-bg: #fff7fa;
  --measure-border: #d8a9ba;

  width: 100%;
  margin: 32px 0 0 !important;
  padding: 0 !important;
  border: 1px solid var(--measure-border);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}


/* テーブル本体 */
figure.measure-detail-table table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  background: var(--measure-content-bg) !important;
}


/* 全セル */
figure.measure-detail-table table tbody tr td {
  padding: 30px 32px !important;
  background: var(--measure-content-bg) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--measure-border) !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
  vertical-align: middle !important;
}


/* 左側の項目 */
figure.measure-detail-table table tbody tr td:first-child {
  width: 31% !important;
  padding: 30px 26px !important;
  background: var(--measure-label-bg) !important;
  color: var(--measure-color) !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  text-align: left !important;
  border-right: 1px solid var(--measure-border) !important;
}


/* 最終行 */
figure.measure-detail-table table tbody tr:last-child td {
  border-bottom: 0 !important;
}


/* 箇条書き・番号付きリスト */
figure.measure-detail-table ul,
figure.measure-detail-table ol {
  margin: 0 !important;
  padding-left: 1.6em !important;
}

figure.measure-detail-table li {
  margin: 0 0 12px !important;
  padding: 0 !important;
  line-height: 1.8 !important;
}

figure.measure-detail-table li:last-child {
  margin-bottom: 0 !important;
}

figure.measure-detail-table li::marker {
  color: var(--measure-color);
  font-weight: 700;
}


/* =========================
   カテゴリカラー
========================= */

/* ゼロ次 */
figure.measure-zero-detail {
  --measure-color: #a8770e;
  --measure-label-bg: #f2dfaa;
  --measure-content-bg: #fffaf0;
  --measure-border: #dfbf6d;
}


/* 一次 */
figure.measure-first-detail {
  --measure-color: #aa003e;
  --measure-label-bg: #efd5df;
  --measure-content-bg: #fff7fa;
  --measure-border: #d8a9ba;
}


/* 二次 */
figure.measure-second-detail {
  --measure-color: #416b91;
  --measure-label-bg: #dbe7f0;
  --measure-content-bg: #f7fafc;
  --measure-border: #b6c9d8;
}


/* その他 */
figure.measure-other-detail {
  --measure-color: #687d91;
  --measure-label-bg: #dfe6eb;
  --measure-content-bg: #f7f9fa;
  --measure-border: #bcc8d1;
}


/* =========================
   テーブル下の注釈
========================= */

figure.measure-detail-table + .measure-note {
  margin: 0 0 50px !important;
  padding: 14px 20px !important;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}


/* =========================
   タブレット
========================= */

@media (max-width: 782.98px) {

  figure.measure-detail-table table tbody tr td {
    padding: 24px 22px !important;
  }

  figure.measure-detail-table table tbody tr td:first-child {
    width: 30% !important;
    padding: 24px 18px !important;
  }

  figure.measure-detail-table + .measure-note {
    margin-bottom: 40px !important;
  }
}


/* =========================
   スマホ
========================= */

@media (max-width: 575.98px) {

  figure.measure-detail-table {
    margin-top: 26px !important;
  }

  figure.measure-detail-table table,
  figure.measure-detail-table tbody,
  figure.measure-detail-table tr,
  figure.measure-detail-table td {
    display: block !important;
    width: 100% !important;
  }

  figure.measure-detail-table table tbody tr {
    border-bottom: 1px solid var(--measure-border);
  }

  figure.measure-detail-table table tbody tr:last-child {
    border-bottom: 0;
  }

  figure.measure-detail-table table tbody tr td {
    border: 0 !important;
  }

  figure.measure-detail-table table tbody tr td:first-child {
    width: 100% !important;
    padding: 14px 18px !important;
    background: var(--measure-label-bg) !important;
    color: var(--measure-color) !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    text-align: left !important;
  }

  figure.measure-detail-table table tbody tr td:last-child {
    padding: 20px 18px 24px !important;
    background: var(--measure-content-bg) !important;
  }

  figure.measure-detail-table + .measure-note {
    padding: 12px 15px !important;
    margin-bottom: 36px !important;
    font-size: 13px;
  }
}

/* 無料個別相談フォーム */
.consult-form {
  padding:32px 28px 36px;
  background:#f7f8fa;
  border:1px solid #e1e5ea;
  border-radius:12px;
  color:#333;
  font-size:16px;
  line-height:1.8;
}

.consult-form .color-red {
  margin-left:3px;
  color:#a50046;
  font-size:14px;
  font-weight:bold;
}

/* 見出し */
.consult-form .point_1 {
  margin:40px 0 18px;
  padding:0 0 10px;
  background:transparent !important;
  border:0 !important;
  border-bottom:2px solid #c59a2f !important;
  border-radius:0 !important;
  color:#102b5c;
  font-size:20px;
  font-weight:bold;
  line-height:1.5;
}

.consult-form .point_1::before,
.consult-form .point_1::after,
.consult-form > h3::before,
.consult-form > h3::after {
  content:none !important;
  display:none !important;
}

.consult-form > h3 {
  margin:28px 0 10px;
  padding:0;
  border:0;
  color:#102b5c;
  font-size:18px;
  line-height:1.5;
}

/* 入力欄 */
.consult-form input[type="text"],
.consult-form input[type="email"],
.consult-form input[type="tel"],
.consult-form input[type="date"],
.consult-form select,
.consult-form textarea {
  max-width:100%;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #cfd5dd;
  border-radius:6px;
  color:#333;
  font-size:16px;
}

.consult-form input[type="text"],
.consult-form input[type="email"],
.consult-form input[type="tel"],
.consult-form input[type="date"] {
  height:44px;
  padding:8px 10px;
}

.consult-form select {
  height:42px;
  padding:5px 8px;
}

.consult-form textarea {
  width:100%;
  min-height:130px;
  padding:10px 12px;
  resize:vertical;
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline:none;
  border-color:#c59a2f;
  box-shadow:0 0 0 2px rgba(197,154,47,.12);
}

.consult-form .w370 {
  width:100%;
  max-width:370px;
}

.consult-form .w250 {
  width:100%;
  max-width:230px;
}

.consult-form .w50 {
  width:70px;
}

.consult-form .w60 {
  width:80px;
}

/* 氏名・ふりがな */
.consult-form .name-box {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}

.consult-form .name-box .w250 {
  max-width:100%;
}

/* チェックボックス */
.consult-form .wpcf7-list-item {
  margin:0 18px 8px 0;
}

.consult-form .wpcf7-list-item label {
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
}

.consult-form input[type="checkbox"] {
  width:18px;
  height:18px;
  margin:0;
  accent-color:#102b5c;
  vertical-align:middle;
}

.consult-form .checkbox-s .wpcf7-list-item {
  display:block;
  margin:0 0 10px;
}

.consult-form .checkbox-s input {
  width:32px;
  height:32px;
  margin:0 10px 0 0;
  vertical-align:-7px;
}

.consult-form .checkbox-s .wpcf7-list-item-label {
  display:inline-block;
  vertical-align:middle;
}

.consult-form .c-select1 .wpcf7-list-item {
  display:inline-block;
}

.consult-form .c-select .wpcf7-list-item {
  display:block;
  margin-right:0;
}

/* 志望校 */
.consult-form .choice {
  display:grid;
  grid-template-columns:30% 20% 1fr;
  gap:16px;
  align-items:end;
}

.consult-form .choice .w250,
.consult-form .choice .w370 {
  max-width:100%;
}

/* 相談日時 */
.consult-date-table {
  width:100%;
  margin:12px 0 18px;
  background:transparent;
  border:1px solid #d8dde3;
  border-collapse:collapse;
  border-radius:10px;
}

.consult-date-table td {
  width:50%;
  padding:16px 18px;
  background:transparent !important;
  border:1px solid #dde3ea;
  vertical-align:top;
}

.consult-date-table td:first-child {
  width:42%;
}

.consult-date-table .d-2 {
  vertical-align:middle;
}

.consult-date-table .d-2 select {
  width:auto;
  min-width:68px;
  background:#fff;
}

.consult-date-table input[type="date"] {
  width:100%;
  max-width:250px;
}

/* 同意 */
.form-consent {
  margin:24px 0 8px;
  padding:16px 18px;
  background:#fff;
  border:1px solid #dde3ea;
  border-radius:8px;
  text-align:center;
}

.form-consent .wpcf7-list-item,
.form-consent p {
  margin:0 !important;
}

.form-consent input[type="checkbox"] {
  width:20px;
  height:20px;
}

/* 送信 */
.form-submit {
  margin:10px 0 0 !important;
  text-align:center;
}

.form-submit .form-submit-btn {
  display:block;
  width:100%;
  max-width:none;
  min-height:56px;
  padding:16px 20px;
  background:#17104a;
  border:0;
  border-radius:6px;
  color:#fff;
  font-size:18px;
  font-weight:700;
  line-height:1.4;
  text-align:center;
  cursor:pointer;
  transition:background .2s ease;
}

.form-submit .form-submit-btn:hover {
  background:#a50046;
  opacity:.9;
}

.form-submit .form-submit-btn:disabled {
  opacity:.45;
  cursor:not-allowed;
}

/* エラー */
.consult-form .wpcf7-not-valid {
  border-color:#a50046;
}

.consult-form .wpcf7-not-valid-tip {
  margin-top:5px;
  color:#a50046;
  font-size:13px;
}

/* Turnstile */
.consult-form .wpcf7-turnstile {
  text-align:right;
}

/* タブレット */
@media (min-width:768px) and (max-width:991.98px) {
  .consult-date-table .d-2 br:first-of-type {
    display:block !important;
  }

  .consult-date-table .d-2 br:last-of-type {
    display:none !important;
  }
}

/* スマホ */
@media (max-width:767px) {
  .consult-form {
    padding:24px 18px 28px;
    font-size:15px;
  }

  .consult-form .point_1 {
    margin-top:32px;
    font-size:18px;
  }

  .consult-form .name-box,
  .consult-form .choice {
    display:block;
  }

  .consult-form .name-box > div,
  .consult-form .choice > div {
    margin-bottom:14px;
  }

  .consult-form .w370,
  .consult-form .w250 {
    max-width:100%;
  }

  .consult-form .checkbox-s input {
    width:28px;
    height:28px;
    vertical-align:-6px;
  }

  .consult-date-table {
    display:block;
    overflow:visible;
    border:0;
  }

  .consult-date-table tbody,
  .consult-date-table tr,
  .consult-date-table td {
    display:block;
    width:100% !important;
    box-sizing:border-box;
  }

  .consult-date-table tr {
    margin-bottom:16px;
    overflow:hidden;
    border:1px solid #d8dde3;
    border-radius:8px;
  }

  .consult-date-table td {
    padding:14px 15px;
    border:0;
  }

  .consult-date-table td + td {
    border-top:1px solid #d8dde3;
  }

  .consult-date-table input[type="date"] {
    max-width:100%;
  }

  .form-consent {
    padding:14px 15px;
    text-align:left;
  }

  .form-submit .form-submit-btn {
    min-height:52px;
    font-size:16px;
  }

  .consult-form .wpcf7-turnstile {
    text-align:center;
  }
}

.consult-notice{
    margin: 40px 0 45px;
    padding: 28px 32px 30px;
    background: #fffaf0;
    border: 1px solid #d8c89f;
    border-radius: 10px;
}

.consult-notice h3 {
  color: #173a5e;
  font-size: 22px;
}

.consult-notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.consult-notice-list li {
  position: relative;
  padding-left: 18px;
}

.consult-notice-list li::before {
  content: "";
  position: absolute;
  top: .8em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #c59a2f;
  border-radius: 50%;
}

@media (max-width: 767px) {
    .consult-notice {
        padding: 22px 20px 24px;
    }
}



/*スライド開始調整*/
.swiper{
  opacity: 0;
  transition: opacity .3s linear;
}
.swiper.swiper-initialized{
  opacity: 1;
}

/* =========================
   合格実績ページ
========================= */

/* メイン画像 */
.results-main-img {
  margin: 0 auto 55px !important;
  text-align: center;
}

.results-main-img img {
  display: block;
  width: 800px !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
  border-radius: 4px;
}


/* APU合格学部 */
.results-faculty-title {
  margin: 0 0 28px !important;
  padding: 0 0 12px !important;
  color: #333;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.5;
  border-bottom: 4px solid #aa003e;
}

.results-faculty-grid {
  margin: 0 !important;
}

.results-faculty-grid > .row {
  align-items: stretch;
}

.results-faculty-grid .vk_gridColumn_item {
  display: flex;
}

.results-faculty-item {
  width: 100%;
  min-height: 108px;
  padding: 16px 18px;
  gap: 14px !important;
  align-items: center !important;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.results-faculty-item figure {
  flex: 0 0 auto;
  margin: 0 !important;
}

.results-faculty-item img {
  display: block;
  width: 78px !important;
  max-width: none;
  height: auto !important;
}

.results-faculty-item p {
  margin: 0 !important;
  color: #333;
  font-weight: 700;
  line-height: 1.6;
}


/* 合格実績の基準 */
.results-criteria {
  margin: 0 0 70px !important;
  padding: 32px 38px 34px;
  background: #f6e5eb;
  border: 1px solid #d9b4c2;
  border-radius: 8px;
}

.results-criteria h3 {
  margin: 0 0 26px !important;
  padding: 0 !important;
  color: #333;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.5;
}

.results-criteria ul {
  margin: 0 !important;
}

.results-criteria li {
  margin-bottom: 16px;
  line-height: 1.9;
}

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


/* PC */
@media (min-width: 992px) {
  .results-faculty-item {
    min-height: 88px;
    padding: 12px 8px;
    gap: 6px !important;
  }

  .results-faculty-item img {
    width: 40px !important;
  }

  .results-faculty-item p {
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
  }
}


/* 991px以下 */
@media (max-width: 991.98px) {
  .results-faculty-grid > .row {
    row-gap: 16px;
  }

  .results-faculty-grid .vk_gridColumn_item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .results-faculty-item {
    min-height: 90px;
    gap: 10px !important;
  }

  .results-faculty-item img {
    width: 58px !important;
  }
}

/* =========================
   Teamsガイド 992px以下
========================= */

@media (max-width: 991.98px) {

  .teams-guide > h3 {
    margin: 0 0 10px !important;
    color: #aa003e;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.45;
    text-align: center !important;
  }

  .teams-guide > h3 + p {
    margin: 0 0 28px !important;
    color: #555;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center !important;
  }

  .teams-ready > p:first-child {
    margin: 0 0 20px !important;
    color: #aa003e;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center !important;
  }

  .teams-ready > .wp-block-columns > .wp-block-column > p:first-child {
    display: flex;
    align-items: flex-start;
    margin: 0 0 10px !important;
    color: #aa003e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
  }

  .teams-ready-icon {
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 9px;
    border: 1px solid #b78a26;
    border-radius: 50%;
    color: #aa003e;
    font-size: 15px;
    vertical-align: middle;
  }
	


.teams-guide > h4 {
  margin: 40px auto 20px !important;
  padding: 11px 16px !important;
  background: #aa003e;
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left !important;
}
}

/* タブレット */
@media (max-width: 782.98px) {
  .results-main-img {
    margin-bottom: 42px !important;
  }

  .results-faculty-title {
    margin-bottom: 22px !important;
    font-size: 23px;
  }

  .results-faculty-item {
    padding: 14px 15px;
  }

  .results-faculty-item p {
    font-size: 16px;
  }

  .results-criteria {
    margin-bottom: 50px !important;
    padding: 28px 26px 30px;
  }

  .results-criteria h3 {
    margin-bottom: 22px !important;
    font-size: 21px;
  }

  .results-criteria li {
    margin-bottom: 14px;
  }
}


/* スマホ */
@media (max-width: 575.98px) {

  .results-main-img {
    margin-bottom: 35px !important;
  }

  .results-faculty-title {
    font-size: 21px;
  }

  .results-faculty-grid .vk_gridColumn_item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 12px;
  }

  .results-faculty-grid .vk_gridColumn_item:last-child {
    margin-bottom: 0;
  }

  .results-faculty-item {
    padding: 12px 15px;
  }

  .results-criteria {
    margin-bottom: 40px !important;
    padding: 24px 20px 26px;
    border-radius: 6px;
  }

  .results-criteria h3 {
    margin-bottom: 18px !important;
    font-size: 19px;
  }

  .results-criteria li {
    margin-bottom: 12px;
    line-height: 1.8;
  }
}
/* =========================
   合格者の声
========================= */

.voice-box {
  position: relative;
  margin-bottom: 60px !important;
  padding: 65px 62px 60px;
  background: #e7eeeb;
  border-radius: 12px;
}

.voice-box.voice-male {
  background: #e7eef3;
}

.voice-box.voice-female {
  background: #f6e9ee;
}

.voice-box > .wp-block-column {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* 桜 */
.voice-box::before,
.voice-box::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 90px;
  height: 90px;
  background: url("https://www.kossun-apu.com/wp/wp-content/uploads/2026/10/sakura_pc.png") center / contain no-repeat;
  pointer-events: none;
}

.voice-box::before {
  top: -18px;
  left: -25px;
}

.voice-box::after {
  right: -25px;
  bottom: -18px;
}

/* テーブル */
.voice-table {
  width: 100%;
  margin: 0 !important;
}

.voice-table table {
  width: 100%;
  margin: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.voice-table td {
  padding: 13px 16px;
  border: 1px solid #999;
  font-size: 15px;
  line-height: 1.65;
  vertical-align: top;
}

.voice-table tr:first-child td:nth-child(1) {
  width: 32%;
}

.voice-table tr:first-child td:nth-child(2) {
  width: 38%;
  font-size: 14px;
}

.voice-table tr:first-child td:nth-child(3) {
  width: 30%;
}

/* プロフィール */
.voice-table td[rowspan] {
  text-align: center;
}

.voice-profile,
.voice-name {
  display: block;
}

.voice-profile img {
  display: block;
  width: 150px !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto 8px;
}

.voice-name {
  line-height: 1.6;
  text-align: center;
}

.gender {
  display: inline-block;
  margin: 0 2px;
}

.gender-male {
  color: #3079b9;
}

.gender-female {
  color: #d84b72;
}
.gender .fa-solid{
	margin-right:2px;
}

.voice-recommend {
  color: #aa003e;
  font-weight: 800;
}

.voice-stars {
  margin-left: 3px;
  color: #f5b400;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* 感想 */
.voice-heading {
  margin: 46px 0 15px !important;
  color: #173a5e;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.5;
}

.voice-comment {
  margin: 0 !important;
  padding: 26px 34px 28px;
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  font-family: "Yuji Syuku", serif;
  line-height: 2.15;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: #aaa;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* タブレット */
@media (max-width: 782.98px) {
  .voice-box {
    padding: 50px 35px 45px;
  }

  .voice-table td {
    padding: 12px 13px;
    font-size: 14px;
  }

  .voice-profile img {
    width: 130px !important;
  }

  .voice-heading {
    margin-top: 38px !important;
    font-size: 24px;
  }

  .voice-comment {
    padding: 24px 26px;
    line-height: 2.1;
  }
}

/* スマホ */
@media (max-width: 768.98px) {
  .voice-box {
    margin-bottom: 45px !important;
    padding: 45px 18px 42px;
    border-radius: 8px;
  }

  .voice-box::before,
  .voice-box::after {
    width: 68px;
    height: 68px;
    background-image: url("https://www.kossun-apu.com/wp/wp-content/uploads/2026/10/sakura_sp.png");
  }

  .voice-box::before {
    top: -13px;
    left: -12px;
  }

  .voice-box::after {
    right: -12px;
    bottom: -13px;
  }

  .voice-table table,
  .voice-table tbody,
  .voice-table tr,
  .voice-table td {
    display: block;
    width: 100% !important;
  }

  .voice-table td {
    box-sizing: border-box;
    padding: 13px 15px;
    border-bottom: 0;
    font-size: 14px;
  }

  .voice-table tr:last-child td:last-child {
    border-bottom: 1px solid #999;
  }

  .voice-table td[rowspan] {
    padding: 24px 15px 20px;
  }

  .voice-profile img {
    width: 135px !important;
    margin-bottom: 8px;
  }

  .voice-heading {
    margin-top: 34px !important;
    margin-bottom: 12px !important;
    font-size: 22px;
  }

  .voice-comment {
    padding: 21px 18px 23px;
    line-height: 2.05;
    text-underline-offset: 5px;
  }
}

.large2 {
	font-size: 2.5rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
    color: #aa003e;
    font-size: 55px;

}

.results-slideup .large2{
		font-size: 2rem !important;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
    color: #aa003e;
    font-size: 55px;
}

.p-center2{
		font-size: 2.5rem;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 900;
}

.p-center2 .large3{
	font-size: 4rem;
	    color: #aa003e;
}

.p-underline u{

  text-decoration-color: #aa003e;
	text-underline-offset: 2px;

}

@media (max-width: 782.98px) {
	.large2 {font-size:22px;}
	

	
	.p-center2{
		font-size: 1.2rem;
    
}

.p-center2 .large3{
	font-size: 2rem;
	   
}

	}

@media (max-width: 767.98px) {
	.results-slideup .large2{
		font-size:1rem !important;
	}

}

/* =========================
   受講料ページ
========================= */

/* コース一覧 */
.course-list {
  width: 100%;
  max-width: none;
  margin: 32px auto 0 !important;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.course-list > .wp-block-column > p:first-child {
  margin: 0 !important;
  padding: 10px 20px;
  background: #aa003e;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.course-list > .wp-block-column > .wp-block-columns {
  margin: 0 !important;
  padding: 20px 30px 22px;
  gap: 0;
}

.course-list > .wp-block-column > .wp-block-columns > .wp-block-column {
  min-width: 0;
  text-align: center;
}

.course-list > .wp-block-column > .wp-block-columns > .wp-block-column + .wp-block-column {
  padding-left: 30px;
  border-left: 1px solid #d6d6d6;
}

.course-list .wp-block-column .wp-block-column > p {
  margin: 0 0 10px !important;
  color: #333;
  font-weight: 700;
  text-align: center;
}

.course-list ul {
  display: inline-block;
  margin: 0 auto !important;
  padding-left: 0 !important;
  text-align: left;
}

.course-list li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 1.55em !important;
  line-height: 1.6;
}

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

.course-list li::before {
  left: 0 !important;
  margin-right: 0 !important;
}


/* 講座見出し */
h2.wp-block-heading:has(+ .menu-box),
h2.wp-block-heading:has(+ .menu-box2) {
  text-align: center;
}

/* コースカード */
.menu-box,
.menu-box2 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 25px !important;
}


/* 一次対策 */
.menu-box .vk_gridcolcard_item {
  --course-color: #687d91;
  --course-light: #eef2f5;
  --course-bg: #f7f9fb;
  min-width: 0;
}

.menu-box .menu-center {
  --course-color: #aa003e;
  --course-light: #f8eef2;
  --course-bg: #fcf7f9;
}

.menu-box .menu-right {
  --course-color: #b78a26;
  --course-light: #fbf4e3;
  --course-bg: #fdfaf3;
}


/* 二次対策 */
.menu-box2 .vk_gridcolcard_item {
  --course-color: #4f7394;
  --course-light: #edf3f7;
  --course-bg: #f6f9fb;
  min-width: 0;
}

.menu-box2 .menu-center {
  --course-color: #7f3150;
  --course-light: #f5edf0;
  --course-bg: #faf6f8;
}

.menu-box2 .menu-right {
  --course-color: #9d7a2e;
  --course-light: #f8f2e6;
  --course-bg: #fbf8f2;
}


/* カード本体 */
.menu-box .vk_gridcolcard_item_container,
.menu-box2 .vk_gridcolcard_item_container {
  height: 100%;
}

.menu-box .vk_gridcolcard_item_body,
.menu-box2 .vk_gridcolcard_item_body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 18px;
  background: var(--course-bg);
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
}


/* コース名 */
.menu-box h3,
.menu-box2 h3 {
  margin: 0 !important;
  padding: 16px 12px !important;
  background: var(--course-color);
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center !important;
}


/* 小見出し */
.menu-box h4,
.menu-box2 h4 {
  margin: 0 !important;
  padding: 11px 14px !important;
  background: var(--course-light);
  color: var(--course-color) !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center !important;
}


/* リスト */
.menu-box ul,
.menu-box ol,
.menu-box2 ul,
.menu-box2 ol {
  margin: 0 !important;
  padding: 15px 26px 17px 38px !important;
}

.menu-box li,
.menu-box2 li {
  margin-bottom: 7px;
  line-height: 1.65;
}

.menu-box li:last-child,
.menu-box2 li:last-child {
  margin-bottom: 0;
}

.menu-box .vk_gridcolcard_item_body > ul:first-of-type,
.menu-box2 .vk_gridcolcard_item_body > ul:first-of-type {
  min-height: 175px;
  box-sizing: border-box;
}


/* 価格 */
.menu-box h4:last-of-type,
.menu-box2 h4:last-of-type {
  margin-top: auto !important;
}

.menu-box h4:last-of-type + p,
.menu-box2 h4:last-of-type + p {
  margin: 0 !important;
  padding: 15px 14px 0;
  color: #333;
  font-weight: 400;
  text-align: center;
}

.menu-box2 + .vk_spacer + p {
  line-height: 1.9;
}

/* 対策範囲 */
.course-range {
  gap: 22px !important;
  margin-top: 34px !important;
}

.course-range > .wp-block-column {
  padding: 0 0 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.course-range h3 {
  margin: 0 0 16px !important;
  padding: 12px 18px !important;
  background: #f8eef2;
  color: #aa003e !important;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.course-range h4 {
  margin: 0 18px 9px !important;
  padding: 0 !important;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.course-range h4::before {
  content: none !important;
}

.course-range-icon {
  display: inline-block;
  margin-right: 7px;
  color: #aa003e;
  font-size: 18px;
  vertical-align: -1px;
}


/* お申込み例 */
.apply-examples {
  margin-top: 20px;
}

.apply-example {
  margin: 0 0 14px !important;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.apply-example:last-child {
  margin-bottom: 0 !important;
}

.apply-example p:first-child {
  margin: 0 0 12px !important;
  color: #333;
  font-weight: 700;
}

.apply-example p:last-child {
  margin: 0 !important;
  padding: 12px 16px;
  background: #f7f5f3;
  line-height: 1.7;
}

.apply-total {
  color: #aa003e;
  font-size: 20px;
  font-weight: 400;
}

/* 備考 */
.remarks-box {
  margin: 0 !important;
  padding: 26px 30px;
  background: #f6e5eb;
  border: 1px solid #d9b4c2;
  border-radius: 6px;
}

.remarks-box p {
  margin: 0 0 14px !important;
  font-size: 18px;
  font-weight: 700;
}

.remarks-box ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.remarks-box li {
  position: relative;
  margin-bottom: 9px;
padding-left: 22px;
  line-height: 1.75;
}

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

.remarks-box li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #aa003e;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .remarks-box {
    padding: 22px 20px;
  }
}

/* 比較表 */
.cf-box {
  width: 100%;
  margin: 25px 0 20px !important;
  overflow-x: auto;
  background: transparent !important;
}

.cf-box table {
  width: 100%;
  min-width: 700px;
  background: transparent !important;
  border-collapse: collapse;
  border-top: 0 !important;
  border-left: 0 !important;
}

.cf-box td {
  padding: 12px 10px;
  border: 1px solid #999;
  font-size: 18px !important;
  line-height: 1.45;
  vertical-align: middle;
}

.cf-box tr:first-child,
.cf-box tr:first-child td {
  padding-top: 5px;
  padding-bottom: 5px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.cf-box tr:first-child td:nth-child(2),
.cf-box tr:first-child td:nth-child(3),
.cf-box tr:first-child td:nth-child(4) {
  font-size: 22px !important;
  font-weight: 700;
}

.cf-box tr:first-child td:nth-child(2) {
  color: #687d91 !important;
}

.cf-box tr:first-child td:nth-child(3) {
  color: #aa003e !important;
}

.cf-box tr:first-child td:nth-child(4) {
  color: #b78a26 !important;
}

.cf-box tr:nth-child(2) td {
  color: #fff;
  font-weight: 700;
  border-top: 0 !important;
}

.cf-box tr:nth-child(2) td:first-child {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cf-box tr:nth-child(2) td:nth-child(2) {
  background: #687d91;
}

.cf-box tr:nth-child(2) td:nth-child(3) {
  background: #aa003e;
}

.cf-box tr:nth-child(2) td:nth-child(4) {
  background: #b78a26;
}

.cf-box tr:nth-child(n+3) td:first-child {
  background: #f2f2f2;
  font-weight: 400;
}

.cf-box tr:nth-child(n+3) td:nth-child(2) {
  background: #f5f7f9;
}

.cf-box tr:nth-child(n+3) td:nth-child(3) {
  background: #fff7fa;
}

.cf-box tr:nth-child(n+3) td:nth-child(4) {
  background: #fffaf0;
}

.cf-box tr:nth-child(4) td,
.cf-box tr:nth-child(9) td {
  background: #f5f0e4 !important;
  border-top: 6px solid #e0c477 !important;
  border-bottom: 6px solid #e0c477 !important;
}

.cf-box tr:nth-child(4) td:first-child,
.cf-box tr:nth-child(9) td:first-child {
  border-left: 6px solid #e0c477 !important;
}

.cf-box tr:nth-child(4) td:last-child,
.cf-box tr:nth-child(9) td:last-child {
  border-right: 6px solid #e0c477 !important;
}

.cf-box tr:nth-child(n+3):nth-child(-n+8) td {
  height: 72px;
}

.cf-box .maru,
.cf-box .maru-cell {
  color: #aa003e;
  font-size: 28px !important;
  font-weight: 700;
  line-height: 1.2;
}

.cf-box .batsu {
  color: #777;
  font-size: 34px !important;
  font-weight: 700;
  line-height: 1;
}

.cf-box .maru-cell br {
  display: none;
}

.cf-box .cf-unlimited {
  display: block;
  margin-top: 1px;
  color: #aa003e;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.1;
}

.post-36 mark{
	font-weight:600;
}

.post-36 u {
  text-decoration-color: #aa003e;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}



/* 991px以下 */
@media (max-width: 991.98px) {
  .menu-box,
  .menu-box2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}


/* タブレット */
@media (max-width: 782.98px) {
	  .menu-box,
  .menu-box2 {
    grid-template-columns: 1fr !important;
  }

  .menu-box .vk_gridcolcard_item_body,
  .menu-box2 .vk_gridcolcard_item_body {
    height: auto;
  }

  .menu-box .vk_gridcolcard_item_body > ul:first-of-type,
  .menu-box2 .vk_gridcolcard_item_body > ul:first-of-type {
    min-height: 0 !important;
  }

  .menu-box h4:last-of-type,
  .menu-box2 h4:last-of-type {
    margin-top: 0 !important;
  }
  .course-list {
    margin-top: 26px !important;
  }

  .course-list > .wp-block-column > .wp-block-columns {
    padding: 18px 22px 20px;
  }

  .course-list > .wp-block-column > .wp-block-columns > .wp-block-column + .wp-block-column {
    margin-top: 18px;
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid #d6d6d6;
    border-left: 0;
  }

  .course-range {
    gap: 15px !important;
  }

  .apply-example {
    padding: 16px 18px;
  }

  .remarks-box {
    padding: 22px 20px;
  }

  .cf-box td {
    font-size: 16px !important;
  }

.cf-box tr:first-child td:nth-child(2),
.cf-box tr:first-child td:nth-child(3),
.cf-box tr:first-child td:nth-child(4) {
  font-size: 20px !important;
}
	
}


/* スマホ */
@media (max-width: 575.98px) {
  .course-list > .wp-block-column > .wp-block-columns {
    padding: 16px 18px 18px;
  }

  .menu-box h3,
  .menu-box2 h3 {
    padding: 14px 12px !important;
    font-size: 19px;
  }

  .menu-box ul,
  .menu-box ol,
  .menu-box2 ul,
  .menu-box2 ol {
    padding: 14px 22px 16px 34px !important;
  }
	
.menu-box,
.menu-box2 {
  margin-top: 20px !important;
}

  .course-range > .wp-block-column {
    padding-bottom: 15px;
  }

  .course-range h3 {
    font-size: 18px;
  }

  .apply-example p:last-child {
    padding: 11px 13px;
  }

  .remarks-box {
    padding: 20px 17px;
  }

  .cf-box table {
    min-width: 680px;
  }

  .cf-box td {
    padding: 10px 8px;
    font-size: 15px !important;
  }

.cf-box tr:first-child td:nth-child(2),
.cf-box tr:first-child td:nth-child(3),
.cf-box tr:first-child td:nth-child(4) {
  font-size: 18px !important;
}
	
}

/* =========================
   受講料FAQ
========================= */

.faq-box {
  margin-top: 70px !important;
}

.faq-box > h3 {
  margin: 0 0 32px !important;
  padding: 0 0 12px !important;
  color: #333;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.5;
  border-bottom: 4px solid #aa003e;
}


/* FAQ全体 */
.faq-box .vk_faq {
  margin: 0 0 18px !important;
  background: #fff;
  border: 1px solid #d8a9ba;
  border-radius: 7px;
  overflow: hidden;
}

.faq-box .vk_faq:last-child {
  margin-bottom: 0 !important;
}

.faq-box .vk_faq-body {
  margin: 0;
}


/* 質問 */
.faq-box .vk_faq_title {
  position: relative;
  margin: 0 !important;
  padding: 18px 22px 18px 62px !important;
  background: #f8eef2;
  border: 0 !important;
  color: #333;
  font-weight: 700;
  line-height: 1.7;
}

.faq-box .vk_faq_title::before {
  content: "Q";
  position: absolute;
  top: 16px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #aa003e;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.faq-box .vk_faq_title p {
  margin: 0 !important;
}


/* 回答 */
.faq-box .vk_faq_content {
  position: relative;
  margin: 0 !important;
  padding: 20px 22px 22px 62px !important;
  background: #fff;
  border: 0 !important;
  border-top: 1px solid #ead6de !important;
  color: #444;
  line-height: 1.9;
}

.faq-box .vk_faq_content::before {
  content: "A";
  position: absolute;
  top: 19px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #687d91;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.faq-box .vk_faq_content p {
  margin: 0 !important;
}


/* リンク */
.faq-box .vk_faq_content a {
  color: #aa003e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-box .vk_faq_content a:hover {
  color: #d0004d;
}


/* タブレット */
@media (max-width: 782.98px) {

  .faq-box {
    margin-top: 55px !important;
  }

  .faq-box > h3 {
    margin-bottom: 26px !important;
    font-size: 22px;
  }

  .faq-box .vk_faq_title,
  .faq-box .vk_faq_content {
    padding-right: 18px !important;
    padding-left: 56px !important;
  }

  .faq-box .vk_faq_title::before,
  .faq-box .vk_faq_content::before {
    left: 16px;
  }
}


/* スマホ */
@media (max-width: 575.98px) {

  .faq-box {
    margin-top: 45px !important;
  }

  .faq-box > h3 {
    margin-bottom: 22px !important;
    font-size: 20px;
  }

  .faq-box .vk_faq {
    margin-bottom: 14px !important;
    border-radius: 6px;
  }

  .faq-box .vk_faq_title {
    padding: 15px 15px 15px 50px !important;
  }

  .faq-box .vk_faq_content {
    padding: 17px 15px 19px 50px !important;
  }

  .faq-box .vk_faq_title::before,
  .faq-box .vk_faq_content::before {
    left: 14px;
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .faq-box .vk_faq_title::before {
    top: 14px;
  }

  .faq-box .vk_faq_content::before {
    top: 17px;
  }
}

.faq-box .vk_faq {
  padding-bottom: 0 !important;
}

/* =========================
   無料個別相談会
========================= */

.consult-intro {
  margin-top: 42px !important;
  line-height: 2;
}


/* 全体評価 */
.eval-section {
  margin: 38px 0 55px !important;
  padding: 22px 30px;
  background: #fff;
  border: 2px solid #d8a9ba;
  border-radius: 6px;
  text-align: left;
}

.eval-title {
  margin: 0 0 8px !important;
  color: #333;
  font-weight: 700;
}

.eval-score {
  margin: 0 !important;
  line-height: 1.5;
}

.eval-stars {
  margin: 0 6px;
  color: #f5b400;
  font-size: 24px;
  letter-spacing: 2px;
}

.eval-count {
  color: #666;
}


/* 参加者コメント */
.comment-title {
  margin: 0 0 25px !important;
  color: #333;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.5;
}

.comment-section {
  margin-bottom: 50px !important;
  padding: 28px 22px 22px;
  background: #fff;
  border: 1px solid #d8a9ba;
  border-radius: 7px;
}

.comment-item {
  gap: 18px !important;
  margin: 0 !important;
  padding: 18px 4px;
  border-bottom: 1px dashed #d8d8d8;
  align-items: flex-start !important;
}

.comment-item:first-child {
  padding-top: 4px;
}

.comment-item .vk_icon {
  flex: 0 0 auto;
  margin-top: 3px;
}

.comment-item .vk_icon_border {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px;
  background: #aa003e !important;
}

.comment-item .vk_icon_font {
  font-size: 16px !important;
}

.comment-item p {
  margin: 0 !important;
  line-height: 1.9;
}

.comment-source {
  margin: 18px 0 0 !important;
  color: #777;
  font-size: 14px;
}


/* 本文 */
.consult-message {
  margin-bottom: 45px !important;
  line-height: 2;
}


/* 相談会概要 */
.consult-info {
  margin: 0 0 48px !important;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  overflow: hidden;
}

.consult-info-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  margin: 0 !important;
  border-bottom: 1px solid #ddd;
}

.consult-info-item:last-child {
  border-bottom: 0;
}

.consult-info-item > * {
  width: 100%;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.consult-info-title {
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 18px 20px;
  background: #f8eef2;
  color: #aa003e;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}

.consult-info-text {
  margin: 0 !important;
  padding: 18px 22px;
  line-height: 1.85;
}

.consult-info a {
  color: #aa003e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consult-address {
  display: block;
  margin-top: 10px;
}


/* 注意事項 */
.notes-title {
  margin: 0 0 12px !important;
 color: #173a5e;
  font-size: 22px;
  font-weight: 700;
}



.notes-lead {
  margin: 0 0 20px !important;
  line-height: 1.8;
}

.notes-section {
  margin: 40px 0 45px !important;
  padding: 28px 32px 30px !important;
  background: #fffaf0;
  border: 1px solid #d8c89f;
  border-radius: 10px;
  list-style: none;
}



.notes-section li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 18px;
  line-height: 1.8;
}

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

.notes-section li::before {
  content: "";
  position: absolute;
  top: .8em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #c59a2f;
  border-radius: 50%;
}

@media (max-width: 767px) {
  .notes-section {
    padding: 22px 20px 24px !important;
  }
}

/* タブレット */
@media (max-width: 782.98px) {

  .consult-intro {
    margin-top: 34px !important;
  }

  .eval-section {
    margin: 32px 0 45px !important;
    padding: 20px 24px;
  }

  .comment-title {
    font-size: 23px;
  }

  .comment-section {
    padding: 24px 25px 20px;
  }

  .consult-info {
    margin-bottom: 40px !important;
  }

  .consult-info-item {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .consult-info-title,
  .consult-info-text {
    padding: 16px 18px;
  }


}


/* スマホ */
@media (max-width: 575.98px) {

  .consult-intro {
    margin-top: 28px !important;
    line-height: 1.9;
  }

  .eval-section {
    margin-bottom: 38px !important;
    padding: 18px 15px;
  }

  .eval-stars {
    display: block;
    margin: 4px 0;
    font-size: 22px;
  }

  .comment-title {
    margin-bottom: 20px !important;
    font-size: 21px;
  }

  .comment-section {
    margin-bottom: 40px !important;
    padding: 20px 17px 16px;
  }

  .comment-item {
    gap: 12px !important;
    padding: 16px 0;
  }

  .comment-source {
    font-size: 13px;
  }

  .consult-message {
    margin-bottom: 38px !important;
    line-height: 1.9;
  }

  .consult-info-item {
    display: block;
  }

  .consult-info-title {
    padding: 12px 16px;

  }
	

  .consult-info-text {
    padding: 15px 16px;
  }

  .notes-title {
    font-size: 20px;
  }



  .notes-section li {
    margin-bottom: 10px;
  }
}



/* 担当者メッセージ */
.message-title {
  margin: 65px 0 28px;
  color: #333;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.5;
}

.message-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  margin: 0 auto 45px;
  padding: 0;
  background: transparent;
  border: 0;
}

.message-box .wp-block-column:first-child {
  flex: 0 0 210px !important;
  max-width: 210px;
  text-align: center;
}

.message-box .wp-block-column:first-child figure {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #cbd3dc;
  border-radius: 50%;
  overflow: hidden;
}

.message-box .wp-block-column:first-child img {
  display: block;
  width: 100%;
  height: auto;
}

.message-box .wp-block-column:last-child {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 610px !important;
  max-width: 610px;
  padding: 25px 32px 25px 38px;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
}

.message-box .wp-block-column:last-child::before,
.message-box .wp-block-column:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.message-box .wp-block-column:last-child::before {
  left: -18px;
  border-top: 13px solid transparent;
  border-right: 18px solid #d7d7d7;
  border-bottom: 13px solid transparent;
}

.message-box .wp-block-column:last-child::after {
  left: -16px;
  border-top: 12px solid transparent;
  border-right: 17px solid #fff;
  border-bottom: 12px solid transparent;
}

.message-box p {
  margin: 0;
  line-height: 2;
  text-align: left;
}

.consult-flow {
  margin: 0 auto 60px;
}

.consult-flow img {
  display: block;
  width: 100%;
  height: auto;
}


/* Teams参加ガイド */
.teams-guide {
  margin-top: 0;
}

.teams-guide > h3 {
  margin: 0 0 10px;
  color: #aa003e;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.5;
}

.teams-guide > h3 + p {
  margin: 0 0 30px;
  color: #555;
  font-weight: 700;
}


/* 予約前2項目 */
.teams-ready {
  margin-bottom: 45px;
  padding: 24px 28px 28px;
  background: #f8eef2;
  border: 1px solid #d9b4c2;
  border-radius: 7px;
}

.teams-ready > p:first-child {
  margin: 0 0 20px;
  color: #aa003e;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}

.teams-ready > .wp-block-columns {
  gap: 18px;
  margin: 0;
}

.teams-ready > .wp-block-columns > .wp-block-column {
  padding: 20px 22px;
  background: #fff;
  border-radius: 5px;
}

.teams-ready > .wp-block-columns > .wp-block-column > p:first-child {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
  color: #aa003e;
  font-weight: 700;
  line-height: 1.5;
}

.teams-ready > .wp-block-columns > .wp-block-column > p:last-child {
  margin: 0;
  line-height: 1.8;
}

.teams-ready-icon {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border: 1px solid #b78a26;
  border-radius: 50%;
  color: #aa003e;
  font-size: 15px;
}

.teams-ready-icon i {
  margin-right: 0 !important;
}


/* セクション見出し */
.teams-guide > h4 {
  margin: 45px 0 20px;
  padding: 12px 18px;
  background: #aa003e;
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}


/* Teams 3ステップ */
.teams-steps {
  margin-top: 28px;
}

.teams-steps .row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 !important;
  align-items: stretch;
}

.teams-steps .vk_gridColumn_item {
  display: flex !important;
  flex-direction: column;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  overflow: visible;
}

.teams-steps .vk_gridColumn_item > p:first-child {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 10px;
  box-sizing: border-box;
  background: #f6f6f6;
  border-bottom: 1px solid #ddd;
  border-radius: 8px 8px 0 0;
  color: #173a5e;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.teams-steps .vk_gridColumn_item > figure {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 26px 18px 32px;
  box-sizing: border-box;
  overflow: visible;
}

.teams-steps .vk_gridColumn_item > figure img {
  display: block;
  width: 82%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.teams-steps .vk_gridColumn_item:nth-child(3) > figure img {
  transform: scale(1.04, 1.18);
  transform-origin: top center;
}


/* 相談会当日 */
.teams-day {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 25px;
  align-items: stretch;
}

.teams-day > .wp-block-column {
  min-width: 0;
  margin: 0;
}

.teams-day > .wp-block-column:first-child {
  padding: 24px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 7px;
}

.teams-day-box {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  width: 100%;
  margin: 0;
}

.teams-day-box > .wp-block-column {
  min-width: 0;
  margin: 0;
}

.teams-day-box .vk_spacer {
  display: none;
}

.teams-day-box figure {
  margin: 0 auto;
}

.teams-day-box img {
  display: block;
  width: auto;
  max-width: 155px;
  height: auto;
  margin: 0 auto;
}

.teams-day-box p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
}

.teams-day-box p:last-child {
  margin-bottom: 0;
}

.teams-day > .wp-block-column:last-child {
  display: flex;
}

.teams-caution {
  width: 100%;
  height: 100%;
  padding: 24px 26px;
  box-sizing: border-box;
  background: #f6e5eb;
  border: 1px solid #d9b4c2;
  border-radius: 7px;
}

.teams-caution > p:first-child {
  margin: 0 0 10px;
  color: #aa003e;
  font-size: 17px;
  font-weight: 700;
}

.teams-caution > p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
}


.teams-trouble {
  margin-top: 28px !important;
  padding: 22px 28px;
  background: #fbf8ef;
  border: 1px solid #ddd0ad;
  border-radius: 8px;
}


.teams-trouble > p:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #173a5e;
  font-weight: 700;
  line-height: 1.5;
}

.trouble-icon {
  flex: 0 0 auto;
  margin-right: 0;
  color: #c89b22;
  font-size: 22px;
}

.teams-trouble ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.teams-trouble li {
  position: relative;
  padding-left: 18px;
}

.teams-trouble li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #c59a2f;
  border-radius: 50%;
}



.teams-contact {
  margin: 38px 0 12px !important;
  text-align: center;
  line-height: 1.8;
}
.teams-closing {
  margin: 0;
  color: #aa003e;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}


/* 783px～992px */
@media (min-width: 783px) and (max-width: 992.98px) {

  .teams-day {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 18px;
  }

  .teams-day-box {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
  }

  .teams-day-box img {
    max-width: 105px;
  }

  .teams-day-box p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.7;
  }

  .teams-caution > p:first-child {
    font-size: 16px;
  }

  .teams-caution > p:last-child {
    font-size: 14px;
    line-height: 1.75;
  }
}


/* 992px付近 */
@media (min-width: 992px) and (max-width: 1023.98px) {

  .entry-body .teams-guide > h4 {
    position: relative !important;
    left: 50% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    transform: translateX(-50%) !important;
  }
}


/* タブレット */
@media (max-width: 782.98px) {

  .message-title {
    margin-top: 55px;
    font-size: 23px;
  }

  .message-box .wp-block-column:first-child figure {
    width: 205px;
    height: 205px;
  }

  .message-box .wp-block-column:last-child::before {
    top: -17px;
    left: 50%;
    border-top: 0;
    border-right: 13px solid transparent;
    border-bottom: 17px solid #d7d7d7;
    border-left: 13px solid transparent;
    transform: translateX(-50%);
  }

  .message-box .wp-block-column:last-child::after {
    top: -15px;
    left: 50%;
    border-top: 0;
    border-right: 12px solid transparent;
    border-bottom: 16px solid #fff;
    border-left: 12px solid transparent;
    transform: translateX(-50%);
  }
	
	.message-box .wp-block-column:last-child {
  padding: 24px 28px;
}

  .consult-flow {
    margin-bottom: 50px;
  }

  .teams-guide > h3 {
    font-size: 25px;
  }

  .teams-ready {
    padding: 22px;
  }

  .teams-guide > h4 {
    font-size: 19px;
  }

  .teams-steps .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teams-day {
    grid-template-columns: 1fr;
  }
}


/* スマホ */
@media (max-width: 575.98px) {

  .message-title {
    margin: 45px 0 20px;
    font-size: 21px;
  }

  .message-box .wp-block-column:first-child figure {
    width: 185px;
    height: 185px;
  }

  .message-box .wp-block-column:last-child {
    padding: 20px 18px;
  }

  .message-box p {
    line-height: 1.9;
  }

  .consult-flow {
    margin-bottom: 40px;
  }

  .teams-guide > h3 {
    font-size: 23px;
  }

  .teams-guide > h3 + p {
    margin-bottom: 24px;
  }

  .teams-ready {
    margin-bottom: 35px;
    padding: 20px 17px;
  }

  .teams-guide > h4 {
    margin-top: 35px;
    padding: 11px 14px;
    font-size: 18px;
  }

  .teams-steps .row {
    grid-template-columns: 1fr;
  }

  .teams-steps .vk_gridColumn_item > figure img,
  .teams-steps .vk_gridColumn_item:nth-child(3) > figure img {
    width: 72%;
    max-width: 260px;
  }

  .teams-day > .wp-block-column:first-child,
  .teams-caution,
  .teams-trouble {
    padding: 20px 18px;
  }

  .teams-day-box {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 16px;
  }

  .teams-day-box img {
    max-width: 120px;
  }

  .teams-day-box p,
  .teams-caution > p:last-child {
    font-size: 14px;
  }

  .teams-caution > p:first-child {
    font-size: 16px;
  }

  .teams-contact {
    margin-top: 32px;
  }

  .teams-closing {
    font-size: 17px;
  }
}

/*ブログ*/

.sub-section #block-6,.sub-section #block-8,.sub-section #block-10{
margin-bottom:0;
}

.sub-section #block-6 h3,.sub-section #block-8 h3,.sub-section #block-10 h3{
	font-size:1rem;
	color:#333;
	margin-bottom:2px;
}

