@charset "UTF-8";

:root {
  --main-color: #8ac56d;
  --sub-color: #f8c337;
  --line-color: #e0e0e0;
  --text-color: #444444;
  --bg-color: #f1f8ed;
  --bg-gray: #f7f7f7;
  --selection-color: rgb(117, 95, 82,10%);
  --base-container: 1200px;
}

/* ==================================================================================================================================

  *パンくずリスト

================================================================================================================================== */
.c-breadcrumb {
  margin: 30px auto !important;
}

.c-breadcrumb__list {
  counter-reset: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
}

.c-breadcrumb__item {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* 共通スタイル：デフォルトでは矢印を表示 */
.c-breadcrumb__item::after {
  content: "\f054";
  position: relative;
  top: -1px;
  padding: 0 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 70%;
}

/* 親、子、孫が複数ある場合、最後以外にカンマを表示 */
.c-breadcrumb__item.c-breadcrumb__item--parent:has(~ .c-breadcrumb__item--parent)::after,
.c-breadcrumb__item.c-breadcrumb__item--child:has(~ .c-breadcrumb__item--child)::after,
.c-breadcrumb__item.c-breadcrumb__item--grandchild:has(~ .c-breadcrumb__item--grandchild)::after {
  content: ",";
  position: relative;
  top: 0;
  padding: 0 5px;
  font-family: inherit;
  font-weight: normal;
  font-size: 100%;
}

/* 最後の要素の矢印を消す */
.c-breadcrumb__item:last-of-type::after {
  display: none;
}

/* ==================================================================================================================================

  *メインボタン

================================================================================================================================== */
/* --------------------------------------------------
ボタンラッパー
-------------------------------------------------- */
.c-buttun__wrapper {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.c-buttun__wrapper--center {
  justify-content: center;
}

/* --------------------------------------------------
メインボタン
-------------------------------------------------- */
.c-button > * {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 10px 40px 14px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 300px;
  color: #ffffff;
  font-size: 16px;
  transition: background 0.3s, border 0.3s, color 0.3s;
}

.c-button > *:hover {
  background: #ffffff;
  color: var(--main-color);
}

.c-button > *::after {
  content: "\f101";
  position: absolute;
  top: 50%;
  right: 15px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  transform: translateY(-50%);
  transition: right 0.3s;
}

.c-button > *:hover::after {
  right: 12px;
}

.c-button--white > * {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--main-color);
}

.c-button--white > *:hover {
  color: var(--sub-color);
}

.c-button--yellow > * {
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  color: #ffffff;
}

.c-button--yellow > *:hover {
  background: #ffffff;
  color: var(--sub-color);
}

@media screen and (max-width: 1000px) {
  .c-button > * {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 auto;
    padding: 10px 40px 14px;
    background: var(--main-color);
    border-radius: 300px;
    color: #ffffff;
    font-size: 14px;
    transition: background 0.3s, border 0.3s, color 0.3s;
  }

  .c-button > *:hover {
    background: #ffffff;
    color: var(--main-color);
  }

  .c-button > *::after {
    content: "\f101";
    font-size: 10px;
  }

  .c-button--white > * {
    background: #ffffff;
    color: var(--main-color);
  }

  .c-button--white > *:hover {
    color: var(--sub-color);
  }

  .c-button--yellow > * {
    background: var(--sub-color);
    border: 1px solid var(--sub-color);
    color: #ffffff;
  }

  .c-button--yellow > *:hover {
    background: #ffffff;
    color: var(--sub-color);
  }
}

/* --------------------------------------------------
ベース設定
-------------------------------------------------- */
.l-inner > *:not(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 2.5em;
}

.l-inner > *:not(h1, h2, h3, h4, h5, h6):last-child {
  margin-bottom: 0;
}

.c-title-h2 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  height: 180px;
  padding: 0 0 0 20px;
}

.c-title-h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 274px;
  height: 180px;
  background: url(../images/title_circle.png) no-repeat center/cover;
}

.c-title-h2 .-jp {
  font-size: 32px;
  letter-spacing: 0.2em;
}

.c-title-h2 .-jp .-num {
  display: inline-block;
  padding: 0 10px;
  color: var(--main-color);
  font-size: 150%;
  line-height: 1;
}

.c-title-h2 .-en {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 0 0 25px;
  font-family: "Montserrat", serif;
  font-style: normal;
  font-weight: 500;
  color: var(--main-color);
  font-size: 20px;
  font-optical-sizing: auto;
}

.c-title-h2 .-en::before {
  content: "-";
  position: absolute;
  top: 10px;
  left: 0;
  line-height: 1;
}

@media screen and (max-width: 1000px) {
  .c-title-h2 {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 120px;
    padding: 0 0 0 10px;
  }

  .c-title-h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    display: block;
    width: 182px;
    height: 120px;
    background: url(../images/title_circle.png) no-repeat center/cover;
  }

  .c-title-h2 .-jp {
    font-size: 24px;
    letter-spacing: 0.2em;
  }

  .c-title-h2 .-jp .-num {
    display: inline-block;
    padding: 0 10px;
    color: var(--main-color);
    font-size: 130%;
  }

  .c-title-h2 .-en {
    padding: 0 0 0 20px;
    font-size: 16px;
  }

  .c-title-h2 .-en::before {
    content: "-";
    position: absolute;
    top: 8px;
    left: 0;
    line-height: 1;
  }
}

.c-title-h2--white::before {
  background: url(../images/title_circle_white.png) no-repeat center/cover;
}

.c-title-h2--white .-jp {
  color: #ffffff;
}

.c-title-h2--white .-en {
  color: #ffffff;
}

/* ==================================================================================================================================

  *ページャー

================================================================================================================================== */
.c-pager {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 30px auto 0;
  font-size: 15px;
}

.c-pager .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 1px 2px;
  background: #d7d7d7;
  border-radius: 50%;
  color: #ffffff;
  line-height: 1;
  transition: background 0.2s;
}

.c-pager .page-numbers.current {
  background: var(--main-color);
  color: #ffffff;
}

.c-pager a.page-numbers:hover {
  background: #929292;
  color: #ffffff;
}

.c-pager .page-numbers.next, .c-pager .page-numbers .prev {
  padding: 0 0 3px 1px;
  font-size: 150%;
}

/* ==================================================================================================================================

  *サイドバー

================================================================================================================================== */
.c-sidebar {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  flex-shrink: 0;
  gap: 50px;
  width: 25%;
  min-width: 300px;
  height: fit-content;
}

@media screen and (max-width: 1100px) {
  .c-sidebar {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    width: 100%;
    min-width: auto;
    padding-top: 50px;
    border-top: 1px dashed var(--line-color);
  }
}
@media screen and (max-width: 530px) {
  .c-sidebar {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }
}

/* --------------------------------------------------
サイドボックス
-------------------------------------------------- */
.c-sidebar__box--banner {
  padding: 0;
  background: none;
}

@media screen and (max-width: 1100px) {
  .c-sidebar__box--banner {
    order: 10;
  }
}

/* --------------------------------------------------
ボックスタイトル
-------------------------------------------------- */
.c-sidebar__title {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  padding: 0 0 15px 5px;
  border-bottom: solid 2px var(--main-color);
  font-size: 115%;
  line-height: 1.5;
  text-align: left;
}

.c-sidebar__title i {
  margin-right: 10px;
  color: var(--main-color);
}

/* --------------------------------------------------
記事リスト
-------------------------------------------------- */
.c-sidebar__list {
  display: flex;
  flex-flow: column;
}

.c-sidebar-item {
  padding: 15px 0;
}

.c-sidebar-item:first-child {
  padding-top: 0;
}

.c-sidebar-item:last-child {
  padding-bottom: 0;
}

.c-sidebar-item:not(:last-child) {
  border-bottom: 1px dashed var(--line-color);
}

.c-sidebar-item a {
  display: flex;
  gap: 10px;
  color: var(--text-color);
  font-size: 95%;
  line-height: 1.75;
}

.c-sidebar-item a:hover {
  color: var(--main-color);
}

.c-sidebar-item--category a {
  display: inline-flex;
}

.c-sidebar-item--category a::before {
  content: "-";
}

.c-sidebar-item--banner {
  padding: 7px 0;
  border: none !important;
}

.c-sidebar-item--banner a {
  display: block;
  color: var(--text-color);
}

.c-sidebar-item--banner a img {
  transition: opacity 0.2s;
}

.c-sidebar-item--banner a:hover img {
  opacity: 0.8;
}

.c-sidebar-item--banner span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  padding: 20px 15px;
  background-color: #ffffff;
  border: 1px solid var(--line-color);
  font-style: normal;
  text-align: center;
}

/* --------------------------------------------------
記事サムネイル
-------------------------------------------------- */
.c-sidebar-item__thumbnail {
  float: none;
  display: block;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.c-sidebar-item__thumbnail img {
  float: none;
  display: block;
  width: auto;
  min-height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.2s;
}

.c-sidebar-item__link:hover img {
  transform: scale(1.1);
}

/* --------------------------------------------------
記事タイトル
-------------------------------------------------- */
.c-sidebar-item__title {
  padding: 5px 0;
}

/* ==================================================================================================================================

  *ページ内リンク

================================================================================================================================== */
.js-anchor {
  margin-bottom: 50px;
}

.js-anchor__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.js-anchor__item {
  position: relative;
  z-index: 1;
}

.js-anchor--two .js-anchor__item {
  width: calc(50% - 5px);
}

.js-anchor--three .js-anchor__item {
  width: calc(33.3333333333% - 6.6666666667px);
}

.js-anchor__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 15px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  color: #ffffff;
  font-size: 95%;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.js-anchor__link:hover {
  background: #ffffff;
  color: var(--sub-color);
}

/* ==================================================================================================================================

404

================================================================================================================================== */
.l-inner--error404 {
  padding: 50px 0 60px;
}

.l-inner--error404 p {
  text-align: center;
}

@media screen and (max-width: 900px) {
  .l-inner--error404 {
    padding: 0 20px 60px;
  }

  .l-inner--error404 p {
    text-align: start;
  }
}

/* ==================================================================================================================================

  *パスワード保護ページ

================================================================================================================================== */
.p-password__text {
  text-align: center;
}

.p-password__input {
  display: block;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line-color);
  border-radius: 10px;
}

.p-password__submit {
  display: block;
  width: 80%;
  max-width: 300px;
  margin: 30px auto 0;
  padding: 10px 0;
  background: var(--sub-color);
  border: solid 1px var(--sub-color);
  border-radius: 300px;
  color: #ffffff;
  font-size: 110%;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.p-password__submit:hover {
  background: #ffffff;
  color: var(--sub-color);
}

.c-mainvisual {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 300px;
  margin: 0 auto 50px;
  padding: 50px;
  background: #ffffff;
  border-radius: 50px;
}

@media screen and (max-width: 768px) {
  .c-mainvisual {
    margin-bottom: 30px;
    border-radius: 40px;
  }
}

.c-mainvisual__catch {
  display: block;
  background: linear-gradient(90deg, var(--main-color), var(--sub-color));
  -webkit-background-clip: text;
  font-size: 250%;
  text-align: center;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 768px) {
  .c-mainvisual__catch {
    font-size: 170%;
  }
}
@media screen and (max-width: 768px) {
  .aioseo-breadcrumbs {
    font-size: 12px;
  }
}

.l-container {
  padding: 70px 0;
}

@media screen and (max-width: 768px) {
  .l-container {
    padding: 50px 0;
  }
}

.l-container img {
  border-radius: 20px;
}

.p-voice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 30px;
}

.p-voice-item__title {
  font-size: 130%;
  text-align: center;
}

.p-voice-item__image {
  margin: 20px auto 0;
}

.p-voice-item__image img {
  border-radius: 20px;
}

.p-voice-item__text {
  margin: 20px auto 0;
}

.p-counselor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 30px;
}

@media screen and (max-width: 768px) {
  .p-counselor {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-counselor-item {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.p-counselor-item__title {
  width: 100%;
  margin: 0 auto !important;
  padding: 5px 25px;
  border: 1px solid var(--line-color);
  border-radius: 10px;
}

.p-counselor-list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  padding: 20px 0;
}

.p-counselor-list li {
  padding: 5px 10px;
  background: var(--bg-color);
  border-radius: 8px;
  font-size: 90%;
}

.p-counselor-item__image {
  margin: 20px auto 0;
}

.p-counselor-item__image img {
  border-radius: 20px;
}

.p-counselor-item__text {
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
  margin: 20px auto 0;
}

.p-counselor-item .c-button {
  margin: auto auto 0;
  text-align: center;
}

.p-news__article {
  padding: 50px 0;
  border-bottom: 1px solid var(--line-color);
}

.p-news__article:first-child {
  padding-top: 0;
}

.p-news__article:not(:first-child) {
  padding-top: 30px;
}

.p-news__title {
  margin: 0 auto 30px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text-color);
  font-size: 130%;
  text-align: start;
}

.p-news__title::before, .p-news__title::after {
  display: none;
}

.p-news__info {
  display: flex;
  gap: 20px;
  margin: 0 0 20px !important;
  font-size: 14px;
}

.p-news__term {
  display: flex;
  flex-shrink: 0;
  gap: 5px;
}

.p-news__taxonomy {
  display: inline-block;
  min-width: 100px;
  padding: 2px 20px;
  border-radius: 1000px;
  font-size: 13px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .p-news__taxonomy {
    font-size: 11px;
  }
}

.f-news-item__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-column-item {
  display: flex;
  gap: 30px;
}

.p-column-item:not(:last-child) {
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line-color);
}

@media screen and (max-width: 768px) {
  .p-column-item {
    flex-flow: column;
  }

  .p-column-item:not(:last-child) {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--line-color);
  }
}

.p-column-item__inner {
  display: flex;
  flex-flow: column;
  width: 100%;
}

.p-column-item__thumbnail {
  flex-shrink: 0;
  width: 30%;
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
}

.p-column-item__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .p-column-item__thumbnail {
    width: 100%;
    max-width: none;
  }
}

.p-column-item__info {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 15px 30px;
}

.p-column-item__date {
  position: relative;
  top: 1px;
}

.p-column-item__title {
  font-size: 140%;
}

.p-column-item__excerpt {
  margin-top: 20px;
}

.p-column-item .c-button {
  margin-top: auto;
  padding-top: 30px;
  text-align: right;
}
