@charset "UTF-8";

/* カテゴリーページ内 共有カラー変数
--------------------------------------------------------- */
:root {
  --color-category-bg-light-gray: #f4f6fa;
  --color-category-text-lead-blue: #39487e;
  --color-category-box-shadow: rgb(57 72 126 / 20%);
}

/* カテゴリーページ内 共通調整/テキスト/タイトル
--------------------------------------------------------- */
.marker-text {
  color: var(--color-category-text-lead-blue);
  background: #e5eeff;
  font-weight: bold;
  padding: 3px;
}

.category-item-page img {
  max-width: 100%;
  height: auto;
}

.category-item-page section {
  padding: 40px 0;
}

.category-item-page .ttl-sec-category {
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  color: #333;
  font-size: 20px;
  padding: 5px 5px 5px 0;
  margin-bottom: 25px;
  text-align: left;
}

.category-item-page .ttl-sec-category > span {
  display: block;
  font-size: 14px;
  font-weight: normal;
}

/* カテゴリーページ 新テンプレート用
--------------------------------------------------------- */

/* KVエリア */
section.category-kv {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(to bottom, #f9fbff 0%, #dee4fa 100%);
  padding: 25px 25px 30px;
  margin-top: 30px;
}

section.category-kv.is-short {
  display: block;
  padding: 25px;
}

section.category-kv.is-short .category-summary {
  width: 100%;
}

section.category-kv .kv-sub {
  display: inline-block;
  border: 1px solid #333;
  border-radius: 2px;
  font-size: 12px;
  padding: 0 3px;
}

section.category-kv h1 {
  font-size: 22px;
  padding: 5px 0 10px;
}

section.category-kv .category-summary {
  width: 330px;
}

.category-count-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--color-category-box-shadow);
  padding: 25px 30px;
  margin-top: 25px;
  text-align: center;
  width: 380px;
  position: relative;
}

.category-count-box::before {
  content: "";
  width: 70px;
  height: 81px;
  background: url("../../images/category/item/img-info.png") no-repeat;
  background-size: cover;
  position: absolute;
  top: -38px;
  right: -5px;
}

.category-count-box .img-flag {
  position: absolute;
  top: -23px;
  left: 0;
}

.category-count-box .count-text {
  background: url("../../images/category/item/arrow-line.svg") no-repeat center bottom;
  background-size: 250px auto;
  padding-bottom: 17px;
  margin-bottom: 17px;
}

.category-count-box .count-text .num {
  color: #fd520c;
  font-size: 20px;
  font-weight: bold;
  padding: 0 2px;
}

.category-count-box .count-text .unit {
  font-size: 16px;
}

.category-count-box .btn-secondary {
  font-size: 20px;
  width: 100%;
}

.category-count-box .btn-secondary > span {
  display: block;
  font-size: 12px;
}

/* おすすめ */
.ttl-category-problem {
  font-size: 18px;
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 30px;
  position: relative;
}

.ttl-category-problem > span {
  display: inline-block;
  font-size: 24px;
  background: url("../../images/category/item/bg-diagonal-line.svg") repeat-x left bottom 5px;
}

.ttl-category-problem::after {
  content: "";
  width: 102px;
  height: 10px;
  background: url("../../images/category/item/icon-curve.svg") no-repeat;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.list-category-problem {
  border: #d8ddef 4px solid;
  border-radius: 12px;
  padding: 25px 25px 30px;
  margin: 20px auto 65px;
  width: 85%;
  position: relative;
}

.list-category-problem::after {
  content: "";
  width: calc(100% + 30px);
  height: 96px;
  background: url("../../images/category/item/img-problem_01.png"), url("../../images/category/item/img-problem_02.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 63px auto, 72px auto;
  background-position: left -4px bottom, right -4px bottom;
  position: absolute;
  bottom: -50px;
  left: -15px;
}

.list-category-problem ul > li {
  color: var(--color-category-text-lead-blue);
  font-weight: bold;
  padding-left: 20px;
  position: relative;
}

.list-category-problem ul > li::before {
  content: "";
  width: 4px;
  height: 4px;
  border: 4px solid var(--color-category-text-lead-blue);
  border-radius: 999em;
  position: absolute;
  top: 0.45em;
  left: 0;
}

.list-category-problem ul > li + li {
  margin-top: 10px;
}

/* よくあるお悩み */
section.category-related {
  background: var(--color-category-bg-light-gray);
  padding: 25px;
}

section.category-related h3 {
  margin-bottom: 15px;
}

.list-category-related {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.list-category-related > li {
  width: calc((100% - 45px) / 4);
}

.list-category-related > li a {
  display: block;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px var(--color-category-box-shadow);
  color: #333;
  padding: 5px 8px;
  text-decoration: none;
  position: relative;
}

.list-category-related > li a:hover {
  border: #0ca795 1px solid;
  padding: 4px 8px;
}

.list-category-related > li a::after {
  content: "";
  width: 12px;
  height: 12px;
  background: url("../../images/category/item/icon-arrow-tag.svg") no-repeat;
  position: absolute;
  bottom: 4px;
  right: 4px;
}

/* カウンセラー一覧 */
section.category-counselor {
  padding: 10px 0 40px;
  margin-top: 35px;
}

section.category-counselor .badge_explain {
  margin: 0 0 20px;
}

.category-item-page section.category-counselor .member-list-wrap > .member-list:nth-child(n + 7) {
  display: none;
}

.category-item-page section.category-counselor .active .member-list-wrap > .member-list:nth-child(n + 7) {
  display: block;
}

.js_ac_pager {
  display: none;
}

.js_ac_pager.active {
  display: block;
}

.btn-ac-counselor {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: bold;
  margin: 35px auto 0;
  cursor: pointer;
}

.btn-ac-counselor:hover {
  text-decoration: underline;
}

.btn-ac-counselor::after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 8px;
  background: url("../../images/icon/icon-link-arr-bottom-black.svg") no-repeat;
  margin-left: 6px;
}

.btn-ac-counselor.active::after {
  transform: rotate(180deg);
}

/* 口コミ */
.scroll-category-rev {
  overflow-x: scroll;
  margin: 0 -20px;
}

.list-category-rev {
  display: flex;
  gap: 20px;
  width: 1900px;
  padding-right: 20px;
  margin: 0 20px 10px;
}

.list-category-rev > li {
  width: 300px;
  flex-shrink: 0;
}

.list-category-rev > li a {
  display: block;
  background: #f3f7ff;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--color-category-box-shadow);
  color: #333;
  padding: 20px;
  text-decoration: none;
}

.list-category-rev .rev-head {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.list-category-rev .rev-head > .photo {
  width: 85px;
  height: 85px;
  border-radius: 999em;
  overflow: hidden;
}

.list-category-rev .rev-head > .prof {
  width: calc(100% - 95px);
  margin-left: 10px;
}

.list-category-rev .rev-head > .prof .name {
  font-size: 18px;
  font-weight: bold;
  text-decoration: underline;
}

.list-category-rev .rev-head > .prof .name::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 11px;
  background: url("../../images/icon/icon-link-arr-right-black.svg") no-repeat;
  margin-left: 6px;
}

.list-category-rev .rev-comment {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

/* カウンセリングの流れ */
.category-step > li + li {
  margin-top: 35px;
}

.category-step h3 {
  background: #f3f7ff;
  border: 4px solid #d8ddef;
  border-radius: 999em;
  font-size: 18px;
  padding: 10px 20px;
  margin-bottom: 15px;
  position: relative;
}

.category-step h3 > .num {
  display: inline-block;
  font-size: 25px;
  padding-right: 35px;
  line-height: 1em;
  vertical-align: -0.15em;
  position: relative;
}

.category-step h3 > .num::after {
  content: "";
  width: 11px;
  height: 12px;
  background: url("../../images/category/item/icon-arrow-triangle.svg") no-repeat;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.category-step h3 > .img-step {
  position: absolute;
  top: -22px;
  right: 8px;
}

/* カウンセリングの料金 */
.lead-price {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.lead-price > img {
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

.box-beginner-wrap {
  background: #fff8f5;
  border: 2px solid #f84a00;
  border-radius: 12px;
  padding: 30px 20px 20px;
  position: relative;
}

.box-beginner-wrap > .icon-beginner {
  position: absolute;
  width: 162px;
  height: 43px;
  top: -20px;
  left: 10px;
}

.box-beginner-wrap > .head {
  color: #f84a00;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.box-beginner-wrap > .content {
  padding: 15px;
}

.beginner-ttl {
  margin-top: 30px;
}

.beginner-ttl img {
  display: block;
}

.beginner-example {
  margin-top: 20px;
}

.beginner-example > .head {
  color: #f84a00;
  border-bottom: 1px dashed #f84a00;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

.price-wrap-outer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.price-wrap {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
  position: relative;
}

.price-wrap > .head {
  width: 160px;
  margin-right: 10px;
}

.price-wrap > .head .label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #333;
  border-radius: 999em;
  font-size: 14px;
  font-weight: bold;
  padding: 5px;
  text-align: center;
}

.price-wrap.is-beginner > .head .label {
  background: #f84a00;
  border-color: #f84a00;
  color: #fff;
}

.price-wrap.is-beginner::before {
  content: "";
  width: 51px;
  height: 13px;
  background: url("../../images/category/item/icon-arrow-beginner.svg") no-repeat center;
  position: absolute;
  left: -100px;
  top: 12px;
}

.price-wrap > .content {
  width: calc(100% - 170px);
}

.price-wrap .price {
  font-size: 14px;
  line-height: 1.5;
  position: static;
}

.price-wrap .price .num {
  font-size: 24px;
  font-weight: bold;
}

.price-wrap.is-beginner .price {
  color: #f84a00;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 2px;
}

.price-wrap.is-beginner .price .num {
  font-size: 30px;
}

.price-wrap.is-beginner .price .lead {
  font-size: 27px;
}

/* 相談プログラム */
.list-category-counselingprogram {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.list-category-counselingprogram > li {
  width: calc((100% / 3) - 14px);
}

a.box-category-counselingprogram {
  display: block;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #b5bccb;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--color-category-box-shadow);
  color: #333;
  padding: 15px;
  height: 100%;
  text-decoration: none;
}

a.box-category-counselingprogram:hover {
  opacity: 0.8;
}

a.box-category-counselingprogram > .img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 25 / 16;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 1px rgb(0 0 0 / 20%);
}

a.box-category-counselingprogram > .text {
  margin-top: 10px;
  font-weight: normal;
  line-height: 1.6;
}

/* よくある質問 */
section.category-question {
  background: var(--color-category-bg-light-gray);
  padding: 40px 25px;
}

.list-category-question > li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--color-category-box-shadow);
  padding: 20px;
}

.list-category-question > li h3 {
  padding: 5px 0 0 45px;
  margin-bottom: 15px;
  position: relative;
}

.list-category-question > li .icon-q {
  position: absolute;
  left: 0;
  top: 0;
}

.list-category-question > li + li {
  margin-top: 25px;
}

/* 選ばれる理由 */
.category-feature h2 {
  background: url("../../images/category/item/line-ttl_top_pc.svg"), url("../../images/category/item/line-ttl_bottom_pc.svg");
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
  background-position: center top, center bottom;
  font-size: 20px;
  line-height: 1.6;
  padding: 50px 0 25px;
  margin-bottom: 50px;
  text-align: center;
}

.list-category-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.list-category-feature > li {
  border: 4px solid #d8ddef;
  border-radius: 12px;
  padding: 60px 20px 20px;
  margin-top: 30px;
  width: calc((100% / 2) - 68px);
  position: relative;
}

.list-category-feature > li h3 {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
}

.list-category-feature > li h3 > span {
  border-bottom: 2px dashed #333;
  padding-bottom: 8px;
}

.list-category-feature > li .img-feature {
  background: #fff;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

/* カテゴリーページ（改修前のもの:新規テンプレートに以降され次第削除）
--------------------------------------------------------- */
.ttl-sec-category {
  border-bottom: 1px solid #39487e;
  color: #39487e;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.box-category-description {
  border: 2px solid #0cbaa0;
  border-radius: 5px;
  padding: 18px;
  margin: 20px 0;
}

.list-category-description > li {
  font-weight: bold;
  padding-left: 15px;
  line-height: 1.6;
  position: relative;
}

.list-category-description > li + li {
  margin-top: 5px;
}

.list-category-description > li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #0cbaa0;
  border-radius: 999em;
  position: absolute;
  top: 0.5em;
  left: 0;
}

/* カウンセリングプログラム */
.category-counselingprogram {
  background: #f4f6fa;
  padding: 25px 22px;
  margin-top: 30px;
}

/* 相談事例 */
.category-description-freec {
  margin-top: 30px;
}

.list-category-freec > li + li {
  margin-top: 25px;
}

a.box-category-freec {
  display: block;
  border: 1px solid #b5bccb;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--color-category-box-shadow);
  color: #333;
  padding: 20px;
  line-height: 1.6;
  text-decoration: none;
}

a.box-category-freec:hover {
  opacity: 0.8;
}

a.box-category-freec > .freec-ttl {
  font-weight: bold;
  padding-left: 25px;
  position: relative;
}

a.box-category-freec > .freec-ttl img {
  display: inline-block;
  position: absolute;
  top: 0.15em;
  left: 0;
}

a.box-category-freec > .freec-text {
  border-top: 1px dashed #b5bccb;
  font-size: 13px;
  padding-top: 12px;
  margin-top: 12px;
  position: relative;
}

a.box-category-freec > .freec-text .text-more {
  display: inline-block;
  background: linear-gradient(to right, transparent 0%, #fff 15%);
  color: #0e82ed;
  padding-left: 1.5em;
  position: absolute;
  bottom: 0;
  right: 0;
}
