/* セクションタイトル */

.section-title__icon {
  width: 123px;
}
.section-title__note {
  font-size: 12px;
  font-weight: normal;
}

.section-subtitle--light-blue {
  display: block;
  font-size: 16px;
  color: #37b8c8;
  font-family: var(--roboto);
  font-weight: 400;
}
.section-subtitle--orange {
  display: block;
  font-size: 16px;
  color: #f0b300;
  font-family: var(--roboto);
  font-weight: 400;
}
.section-subtitle--green {
  display: block;
  font-size: 16px;
  color: #89aa31;
  font-family: var(--roboto);
  font-weight: 400;
}
.section-subtitle--purple {
  display: block;
  font-size: 16px;
  color: #9d31aa;
  font-family: var(--roboto);
  font-weight: 400;
}
.section-subtitle--pink {
  display: block;
  font-size: 16px;
  color: #dc6a98;
  font-family: var(--roboto);
  font-weight: 400;
}

.section-title {
    font-size: clamp(24px, calc(21.183098591549296px + 0.7511737089201878vw), 32px);
    font-family: var(--m-plus);
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0 20px;
}

/* デコレーションタイトル */
.deco-title {
  width: fit-content;
  position: relative;
}

.news-deco-box {
  position: relative;
}

.deco-title__ja {
  position: absolute;
  bottom: -20px;
  right: -40px;
  color: var(--blue);
  font-weight: bold;
  padding: 0px 10px;
  line-height: var(--line-height-large);
  background-color: #fff;
  letter-spacing: var(--letter-spacing-large);
}

@media screen and (max-width: 768px) {
  .deco-title__ja {
    right: -70px;
  }
}

.deco-title::before {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/title-deco.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
  display: block;
}

.deco-title.deco-title--news::before {
  top: -20px;
}

@media screen and (max-width: 768px) {
  .deco-title::before {
    top: -13px;
  }
}

.deco-title__subtitle {
  width: fit-content;
  background-color: #06377a;
  font-size: 24px;
  font-family: var(--roboto);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px;
}

.deco-title__subtitle.fz32 {
  font-size: 32px;
}

@media screen and (max-width: 768px) {
  .deco-title__subtitle.fz32 {
    font-size: 24px;
  }
}
@media screen and (max-width: 768px) {
  .deco-title__subtitle {
    font-size: 14px;
  }
}

/* デコルタイトル */
.deco-title__title {
  color: #06377a;
  font-size: 36px;
  font-family: var(--m-plus);
  font-weight: bold;
  letter-spacing: 0.13em;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .deco-title__title {
    font-size: 24px;
  }
}

.circle {
  display: inline-block;
  width: 56px;
  height: 56px;
  background-color: #06377a;
  border-radius: 50%;
  color: #fff;
  font-size: 40px;
  padding-top: 6px;
  padding-left: 5px;
  line-height: 40px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #06377a;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    padding-top: 5px;
    padding-left: 1px;
    line-height: 28px;
    letter-spacing: 0.05em;
    text-align: center;
  }
}

/* カード */
.card {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.card__contents {
  padding: 20px;
  transition: 0.3s;
}

.card__contents:hover {
  opacity: 0.6;
}

.card__img {
}
.card__img img {
  aspect-ratio: 260 / 189;
  object-fit: cover;
}
.card__img--news img {
  aspect-ratio: 320 / 150;
  object-fit: cover;
}

.card__body {
  padding: 20px 0;
}

.card__tag {
  background-color: #4d9bc1;
  color: #fff;
  padding: 5px 10px;
  display: inline-block;
  font-size: 13px;
}
.card__tag--works {
  /* background-color: #dc6a98; */
  color: #fff;
  padding: 5px 10px;
  display: block;
  font-size: 13px;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.card__title {
  margin-top: 10px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .card__title {
    font-size: 16px;
  }
}

.card__title--works {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
  border: 1px solid #000;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .card__title--works {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.03em;
  }
}
.card__title--works.text-left {
  text-align: left;
}

.border-none {
  border: none;
}

.card__text {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

@media screen and (max-width: 768px) {
  .card__text {
    font-size: 14px;
  }
}

.card__text--works {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 行数を指定 */
}

@media screen and (max-width: 768px) {
  .card__text--works {
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.03em;

  }
}

/* カラーカード */
.color-card {
  width: 100%;
  height: 100%;
  padding: 20px;
}

.color-card--green {
  border: 4px solid var(--green);
}
.color-card--purple {
  border: 4px solid var(--purple);
}
.color-card--pink {
  border: 4px solid var(--pink);
}
.color-card--light-blue {
  border: 4px solid var(--light-blue);
}
.color-card--orange {
  border: 4px solid var(--orange);
}

.color-card__contents img {
  margin-top: 10px;
  width: 100%;
}

.color-card__title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.color-card__text {
  margin-top: 10px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

/* 三角形 */
.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-bottom: 0;
}

.triangle--light-blue {
  border-top: 17px solid var(--light-blue);
}
.triangle--pink {
  border-top: 17px solid var(--pink);
}
.triangle--green {
  border-top: 17px solid var(--green);
}
.triangle--purple {
  border-top: 17px solid var(--purple);
}
.triangle--orange {
  border-top: 17px solid var(--orange);
}

/* 画像付きテキスト */
.img-with-text {
  width: 100%;
}
.img-with-text__contents {
  display: flex;
  gap: 40px;
  padding: 20px;
  margin-top: 40px;
}

@media screen and (max-width: 850px) {
  .img-with-text__contents {
    flex-direction: column;
    padding: 0;
    margin-top: 5px;
  }
}

.img-with-text__contents.row-reverse {
  flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
  .img-with-text__contents.row-reverse {
    flex-direction: column-reverse;
    gap: 20px;
  }
}

.img-with-text__img {
  /* width: 100%;
  flex: 0 0 55%; */
}
.img-with-text__img img {
  width: 100%;
  /* aspect-ratio: 688 / 440;
  object-fit: cover; */
}
@media screen and (max-width: 768px) {
  .img-with-text__img img {
    aspect-ratio: 335/ 200;
  }
}



.img-with-text__title {
}
.img-with-text__text {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .img-with-text__text {
    margin-top: 30px;
  }   
}
@media screen and (max-width: 768px) {
  .img-with-text__text-box--support02,
  .img-with-text__text-box--support03,
  .img-with-text__text-box--lecturer,
  .img-with-text__text-box--follow-up,
  .img-with-text__text-box--seminar {
    display: contents;
  }
  .section-title--support02,
  .section-title--support03,
  .section-title--lecturer
 {
    order: 1;
  }
  .section-title--follow-up,
  .section-title--seminar {
    order: -1;
  }
  .img-with-text__img--support02,
  .img-with-text__img--support03,
  .img-with-text__img--lecturer {
    order: 1;
  }

}

.img-with-text__link {
  margin-top: 60px;
}

/* カラムコンテンツ */
.colum-contents {
  width: 100%;
  max-width: 800px;
  margin: 100px auto;
  display: flex;
  gap: 20px;
  padding: 20px;
}

.colum-contents__item {
  border-top: 2px solid #000;
}

.item1 {
  flex: 0 1 400px;
}

.item2 {
  flex: 0 1 200px;
}

.item3 {
  flex: 0 1 200px;
}

/* スライダー */
.swiper {
  padding-left: 100px !important;
  padding-right: 20px !important;
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .swiper {
    padding-left: 20px !important;
    padding-right: 80px !important;
    margin-top: 40px;
  }
}

/* スライド画像のサイズ */
.swiper-slide {
  height: auto;
  /* max-width: 450px; */
}
.swiper-slide img {
  height: auto;
  width: 100%;
}

/* ナビゲーション矢印のカスタマイズ */
.swiper-button-prev,
.swiper-button-next {
  width: 40px !important; /* ボタンの幅 */
  height: 40px !important; /* ボタンの高さ */
  background-color: rgba(255, 255, 255, 0.8); /* 背景色 */
  border-radius: 50%; /* 円形にする */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 影をつける */
}

/* 矢印アイコンのカスタマイズ */
.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 12px !important; /* 矢印アイコンのサイズ */
  color: #333; /* 矢印の色 */
}

/* ホバー時のエフェクト */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(255, 255, 255, 1); /* ホバー時の背景色 */
}
.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset, 3vw) !important;
  right: auto;
}

.slider__inner {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
}

/* ボタン */
.button {
  background-color: var(--blue);
  padding: 26px 66px 26px 40px;
  border-radius: 80px;
  display: inline-block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
  .button {
    padding: 27px 40px 27px 30px;
    font-size: 14px;
  }
}

.button::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  display: block;
  background-image: url(../img/arrow-img.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.3s;
}

.button:hover {
  background-color: #ca6800;
}
.button:hover:after {
  right: 15px;
}

@media screen and (max-width: 768px) {
  .seminar__link {
    text-align: center;
  }
}

/* ページネーション */
.wp-pagenavi {
	clear: both;
	text-align:center;
  margin-top: 60px;

}
.wp-pagenavi a, .wp-pagenavi span {
	color: #13385f;
	background-color: #FFFFFF;
	padding: 8px 15px;
	margin: 0 2px;
	white-space: nowrap;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	border: thin solid #13385f;
}
.wp-pagenavi a:hover{
	color: #fff;
	background-color: #13385f;
}
.wp-pagenavi span.current{
	color: #fff;
	background-color: #13385f;
}

.img-with-text__text--access {
  margin-top: 10px;
}

.button-404 {
text-align: center;
margin-top: 50px;
}

.form-previous-button {
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

.wpcf7-previous{
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #d0d0d0;
    font-size: 16px;
}

/* トップページ専用のスタイル */
.footer--home {
  padding-top: 0;
  margin-bottom: 230px;
  padding-bottom: 40px;
}

.page-template-front-page .form-group__inner {
  display: block;
  margin-bottom: 8px;
}

.page-template-front-page .form-group__inner label {
  display: block;
  margin-bottom: 4px;
}

.page-template-front-page .form-group__inner .note-2 {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

.form-group__inner {
  display: block;
  margin-bottom: 8px;
}

.form-group__inner label {
  display: block;
  margin-bottom: 4px;
}

.form-group__inner .note-2 {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}