@charset "UTF-8";

:root {
  --main-color: #daa8ab;
  --sub-color: #b2adc5;
  --line-color: #eeeeee;
  --text-color: #444444;
  --bg-color: #fef5f5;
  --bg-gray: #fafafa;
  --selection-color: rgba(137, 137, 137, 0.1);
}

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

  *ページ内リンク

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

.js-anchor__list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 20px 40px;
  padding: 30px;
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

@media screen and (max-width: 768px) {
  .js-anchor__list {
    gap: 20px;
    padding: 25px 10px;
  }
}

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

.js-anchor--custom .js-anchor__item {
  width: fit-content;
}

@media screen and (max-width: 768px) {
  .js-anchor--custom .js-anchor__item {
    width: 100%;
  }
}

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

@media screen and (max-width: 768px) {
  .js-anchor--two .js-anchor__list {
    justify-content: flex-start;
  }

  .js-anchor--two .js-anchor__item {
    width: 100%;
  }
}

.js-anchor--three .js-anchor__list {
  justify-content: flex-start;
}

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

@media screen and (max-width: 768px) {
  .js-anchor--three .js-anchor__item {
    width: 100%;
  }
}

.js-anchor__link {
  display: flex;
  align-items: center;
  width: fit-content;
  height: auto;
  padding: 4px 0 4px 50px;
  color: var(--text-color);
  font-size: 100%;
  transition: color 0.2s, background 0.2s;
}

.js-anchor__link:hover {
  color: var(--text-color);
}

.js-anchor__link::before {
  content: "\f063";
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0 0 0 2px;
  background: var(--bg-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 11px;
  transition: background 0.2s, color 0.2s;
}

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

@media screen and (max-width: 768px) {
  .js-anchor__link {
    padding: 1px 0 2px 50px;
    font-size: 105%;
  }

  .js-anchor__link::before {
    top: 0px;
    width: 33px;
    height: 33px;
    padding: 0 0 0 2px;
    font-size: 10px;
  }
}

.js-tab-list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.js-tab-list__item {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
  background: var(--bg-gray);
  font-size: 120%;
  cursor: pointer;
  transition: background 0.2s;
}

.js-tab-list__item:hover {
  background: var(--bg-color);
}

.js-tab-list__item.is-active {
  background: var(--main-color);
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .js-tab-list__item {
    flex: auto;
    padding: 10px;
  }
}

.js-tab-panel {
  margin-top: 20px;
}

.js-tab-panel__item {
  display: none;
}

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

  *パンくずリスト

================================================================================================================================== */
.c-breadcrumb {
  margin: 40px auto !important;
  font-size: 90%;
}

@media screen and (max-width: 768px) {
  .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;
}

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

  *リスト（ul）

================================================================================================================================== */
/* --------------------------------------------------
リストスタイル
-------------------------------------------------- */
.c-list--none {
  padding: 0;
}

.c-list--bg {
  padding: 25px;
  background: var(--bg-color);
}

.c-list--border {
  padding: 25px;
  border: 1px solid var(--main-color);
}

@media screen and (max-width: 768px) {
  .c-list--bg {
    padding: 20px;
  }

  .c-list--border {
    padding: 20px;
  }
}

/* --------------------------------------------------
表示形式
-------------------------------------------------- */
.c-list-disp--vertical {
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.c-list-disp--horizontal {
  display: flex;
  flex-flow: wrap;
  gap: 10px 20px;
}

@media screen and (max-width: 768px) {
  .c-list-disp--vertical {
    gap: 20px;
  }

  .c-list-disp--horizontal {
    gap: 10px 20px;
  }
}

/* --------------------------------------------------
リストタイプ
-------------------------------------------------- */
.c-list-type--circle li {
  position: relative;
  padding: 0 0 0 25px;
  list-style-type: none;
}

.c-list-type--circle li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 10px;
  display: block;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
}

.c-list-type--check li {
  position: relative;
  padding: 0 0 0 30px;
  list-style-type: none;
}

.c-list-type--check li::before {
  content: "\f14a";
  position: absolute;
  top: 1px;
  left: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
  font-size: 97%;
}

@media screen and (max-width: 768px) {
  .c-list-type--circle li {
    padding: 0 0 0 25px;
  }

  .c-list-type--circle li::before {
    top: 12px;
    left: 10px;
    width: 5px;
    height: 5px;
  }

  .c-list-type--check li {
    padding: 0 0 0 30px;
  }

  .c-list-type--check li::before {
    top: 1px;
    left: 7px;
    font-size: 97%;
  }
}

.c-layout__img {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 20px;
}

.c-layout__img--fl {
  float: left;
  margin-right: 30px;
  text-align: center;
}

.c-layout__img--fr {
  float: right;
  margin-left: 30px;
  text-align: center;
}

.c-layout__img img {
  width: auto;
  max-width: 450px;
  height: auto;
  max-height: 400px;
}

@media screen and (max-width: 768px) {
  .c-layout__img--fl, .c-layout__img--fr {
    float: none;
    margin: 0 auto 2.25em;
    text-align: center;
  }

  .c-layout__img img {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
  }
}

.c-flexbox {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.c-flexbox--01 {
  flex: 1;
  width: 100%;
}

.c-flexbox--02 > * {
  width: calc(50% - 5px);
}

.c-flexbox--03 > * {
  width: calc(33.3333333333% - 6.6666666667px);
}

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

  .c-flexbox--01 {
    flex: auto;
  }

  .c-flexbox--02 > * {
    width: 100%;
  }

  .c-flexbox--03 > * {
    width: 100%;
  }
}

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

  *基本雪庭

================================================================================================================================== */
/* --------------------------------------------------
テキストマージン
-------------------------------------------------- */
.l-text > *:not(h1, h2, h3, h4, h5) {
  margin-bottom: 2em;
}

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

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

  *メインビジュアル

================================================================================================================================== */
.p-mainvisual {
  position: relative;
  z-index: 1;
  height: 800px;
}

.p-mainvisual__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

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

/* --------------------------------------------------
コンテンツ
-------------------------------------------------- */
.p-mainvisual__contents {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.p-mainvisual__contents .l-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------
キャッチコピー
-------------------------------------------------- */
.p-mainvisual__catch {
  position: absolute;
  top: 50%;
  z-index: 2;
  padding: 10px 30px;
  background: #ffffff;
  font-size: 200%;
  transform: translateY(-50%);
}

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

  *見出し

================================================================================================================================== */
h3, h4, h5, h6 {
  margin-top: 50px;
}

h2 {
  display: block;
  width: fit-content;
  margin: 0 auto 50px;
  font-size: 180%;
  text-align: center;
}

h2::before {
  content: "";
  display: block;
  width: 50px;
  height: 53px;
  margin: 0 auto 15px;
  background: url(../images/common/logo.svg) no-repeat center center;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: 20px auto 0;
  background: var(--main-color);
}

h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  padding: 12px 30px;
  border: dashed 1px var(--main-color);
  font-size: 120%;
}

h4 {
  width: fit-content;
  margin-bottom: 25px;
  padding: 0 10px 10px;
  border-bottom: 1px dashed var(--text-color);
  color: var(--text-color);
  font-size: 120%;
}

h5 {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  padding: 0 0 0 25px;
  color: #837e99;
  font-size: 110%;
}

h5::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  display: block;
  width: 8px;
  height: 2px;
  background: #a29db6;
}

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

  *レイアウト

================================================================================================================================== */
/* --------------------------------------------------
見出し＋タイトル（縦並び）
-------------------------------------------------- */
.p-contentbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
  background: linear-gradient(135deg, #fff6f7 50%, #f8f7ff);
}

.p-contentbox--three {
  grid-template-columns: repeat(3, 1fr);
}

.p-contentbox-item {
  display: flex;
  flex-flow: column;
  height: auto;
  padding: 15px;
  background: #ffffff;
}

.p-contentbox-item__title {
  padding: 0 20px 10px;
  border-bottom: 1px dashed var(--line-color);
  color: #b47b7e;
  font-size: 120%;
  text-align: center;
}

.p-contentbox-item__image {
  margin-top: 15px;
  border-bottom: 20px;
}

.p-contentbox-item__text {
  height: 100%;
  padding: 20px;
}

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

  .p-contentbox--three {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* --------------------------------------------------
画像*テキスト（横並び）
-------------------------------------------------- */
.p-layout01-item {
  display: flex;
  gap: 20px;
}

.p-layout01-item:not(:last-child) {
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .p-layout01-item {
    flex-flow: wrap;
    gap: 10px;
    width: 100%;
  }

  .p-layout01-item:not(:last-child) {
    margin-bottom: 40px;
  }
}

.p-layout01-item__image {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 400px;
  padding: 7px;
  border: 1px solid var(--line-color);
}

@media screen and (max-width: 768px) {
  .p-layout01-item__image {
    width: 100%;
  }
}

.p-layout01-item__text {
  width: 100%;
  height: 100%;
}

.p-layout01-item__title {
  display: block;
  width: 100%;
  margin: 0 auto 15px;
  padding: 10px 30px;
  background: linear-gradient(135deg, var(--main-color), var(--sub-color));
  color: #ffffff;
  font-size: 120%;
}

.p-layout01-item__subtitle {
  width: fit-content;
  padding: 5px 30px;
  background: linear-gradient(135deg, #f9eeef, #efeef8);
  font-size: 110%;
}

.p-layout01-item--virtical {
  flex-flow: column;
  gap: 20px;
}

.p-layout01-item--virtical > * {
  width: 100%;
}

/* --------------------------------------------------
症例
-------------------------------------------------- */
.p-case {
  display: flex;
  flex-flow: column;
}

.p-case__item:not(:last-child) {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 2px dashed var(--line-color);
}

.p-case__imgges {
  display: flex;
  gap: 20px;
}

.p-case__imgge {
  text-align: center;
}

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

.p-case__imgge {
  width: calc(50% - 10px);
}

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

.p-case__caption {
  display: block;
  margin: 0 auto 10px;
  padding: 12px 20px;
  background: linear-gradient(to right, #f3d0d2, var(--main-color));
  color: #ffffff;
  font-size: 120%;
  text-align: center;
}

.p-case__image--before .p-case__caption {
  background: linear-gradient(to right, #f3d0d2, var(--main-color));
}

.p-case__image--after .p-case__caption {
  background: linear-gradient(to right, #d5d1e4, var(--sub-color));
}

/* --------------------------------------------------
おすすめ
-------------------------------------------------- */
.p-recommend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.p-recommend-item {
  height: 100%;
  padding: 20px;
  border: 1px solid var(--line-color);
}

.p-recommend-item > *:not(:last-child) {
  margin-bottom: 15px;
}

.p-recommend-item__title {
  padding: 12px 20px;
  background: #b47b7e;
  color: #ffffff;
  font-size: 110%;
  text-align: center;
}

.p-recommend-item__list {
  padding: 20px 25px;
  background: var(--bg-gray);
}

.p-recommend-item__list li {
  position: relative;
  z-index: 1;
  padding: 0 0 0 30px;
}

.p-recommend-item__list li:not(:last-child) {
  margin-bottom: 10px;
}

.p-recommend-item__list li::before {
  content: "\f00c";
  position: absolute;
  top: -3px;
  left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 120%;
}

.p-recommend-item__price {
  padding: 15px 20px;
  background: var(--bg-gray);
  font-size: 110%;
  text-align: center;
}

.p-recommend-item__price .--title {
  margin-right: 15px;
  padding: 8px 18px 8px 20px;
  background: #ce5d5d;
  border-radius: 300px;
  color: #ffffff;
  font-size: 70%;
}

.p-recommend-item__price .--arrow::before {
  content: "\f061";
  position: relative;
  top: -2px;
  display: inline-block;
  padding: 0 12px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  line-height: 1;
}

.p-recommend-item__price .--price {
  display: inline-block;
  padding: 0 5px;
  color: #ce5d5d;
  font-size: 130%;
}

@media screen and (max-width: 768px) {
  .p-recommend-item__price {
    padding: 15px;
    font-size: 110%;
  }

  .p-recommend-item__price .--arrow::before {
    content: "\f063";
    top: 4px;
    display: block;
    padding: 12px 0;
  }
}

.p-recommend-item__button {
  margin: 20px auto 0;
}

.p-recommend-item__button > * {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 100px 12px 50px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  border-radius: 1000px;
  color: #ffffff;
  font-size: 110%;
}

.p-recommend-item__button > *:hover {
  background: #ffffff;
  color: var(--sub-color);
}

.p-recommend-item__button > *::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0px 0px 1px 2px;
  background: #ffffff;
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--sub-color);
  font-size: 12px;
  transform: translateY(-50%);
  transition: background 0.3s, transform 0.3s;
}

.p-recommend-item__button > *:hover::after {
  background: rgb(243, 241, 249);
  transform: translateY(-50%) rotate(360deg);
}

.p-recommend-item__button--coming {
  pointer-events: none;
}

.p-recommend-item__button--coming a::before {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 1000px;
  color: white;
  font-size: 90%;
  transform: translate(-50%, -50%);
}

/* --------------------------------------------------
ポイント
-------------------------------------------------- */
.p-point {
  counter-reset: count;
}

.p-point-item {
  display: flex;
}

.p-point-item:not(:last-child) {
  margin-bottom: 20px;
}

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

.p-point-item__title {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  padding: 20px 30px;
  background: linear-gradient(135deg, var(--main-color), var(--sub-color));
  color: #ffffff;
  font-size: 130%;
}

.p-point-item__title::before {
  content: "Point." counter(count);
  counter-increment: count;
  position: absolute;
  bottom: 5px;
  left: 15px;
  z-index: -1;
  font-family: "canto-pen", serif;
  font-style: normal;
  font-weight: 300;
  opacity: 0.4;
}

@media screen and (max-width: 768px) {
  .p-point-item__title {
    width: 100%;
  }
}

.p-point-item__text {
  width: 70%;
  padding: 30px;
  background: var(--bg-gray);
}

@media screen and (max-width: 768px) {
  .p-point-item__text {
    width: 100%;
  }
}

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

  *テーブル

================================================================================================================================== */
/* --------------------------------------------------
症例テーブル
-------------------------------------------------- */
.p-case__table {
  margin-top: 30px;
}

/* --------------------------------------------------
テーブル01
-------------------------------------------------- */
.p-table01 :is(th, td) {
  padding: 10px 20px;
}

.p-table01 thead th {
  background: var(--main-color);
  color: #ffffff;
}

.p-table01 td {
  text-align: start;
}

/* --------------------------------------------------
テーブル02
-------------------------------------------------- */
.p-table02 :is(th, td) {
  padding: 10px 20px;
}

.p-table02 thead th {
  background: var(--main-color);
  color: #ffffff;
}

.p-table02 td {
  text-align: start;
}

@media screen and (max-width: 768px) {
  .p-table02 :is(th, td) {
    display: block;
    width: 100%;
  }

  .p-table02 tr:not(:last-child) :is(th, td) {
    border-bottom: none;
  }
}

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

  *リスト

================================================================================================================================== */
.p-checklist {
  padding: 25px 30px;
  background: var(--bg-gray);
}

.p-checklist li {
  position: relative;
  z-index: 1;
  padding: 0 0 0 40px;
  font-size: 120%;
}

.p-checklist li:not(:last-child) {
  margin-bottom: 20px;
}

.p-checklist li::before {
  content: "\f00c";
  position: absolute;
  top: -3px;
  left: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 120%;
}

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

  *採用ページ

================================================================================================================================== */
/* --------------------------------------------------
バナー
-------------------------------------------------- */
.p-recruit-campaign {
  position: relative;
  z-index: 1;
  padding: 40px 200px 50px;
  border: 1px solid var(--line-color);
  font-size: 120%;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .p-recruit-campaign {
    padding: 50px 30px 40px;
  }
}

.p-recruit-campaign__pickup {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 50px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .p-recruit-campaign__pickup {
    width: 130px;
    height: 40px;
    font-size: 14px;
  }
}

.p-recruit-campaign__system {
  font-size: 140%;
}

.p-recruit-campaign__text {
  margin-top: 5px;
}

/* --------------------------------------------------
メッセージ
-------------------------------------------------- */
.p-recruit-message {
  display: flex;
  gap: 70px;
}

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

.p-recruit-message__text {
  order: 1;
}

.p-recruit-message__img {
  flex-shrink: 0;
  width: 370px;
}

@media screen and (max-width: 768px) {
  .p-recruit-message__img {
    width: 100%;
  }
}

/* --------------------------------------------------
理念
-------------------------------------------------- */
.p-recruit-philosophy {
  position: relative;
  padding: 10px 30px 15px;
  font-size: 105%;
  text-align: center;
}

.p-recruit-philosophy::before, .p-recruit-philosophy::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.p-recruit-philosophy::before {
  top: 0;
  left: 0;
  border-top: solid 2px var(--main-color);
  border-left: solid 2px var(--main-color);
}

.p-recruit-philosophy::after {
  right: 0;
  bottom: 0;
  border-right: solid 2px var(--main-color);
  border-bottom: solid 2px var(--main-color);
}

/* --------------------------------------------------
魅力
-------------------------------------------------- */
.p-recruit-charm {
  counter-reset: number 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.p-recruit-charm__item {
  position: relative;
  z-index: 1;
  padding: 30px;
  background: var(--bg-gray);
}

.p-recruit-charm__item::before {
  content: "魅力" counter(number);
  counter-increment: number 1; /* number カウンタの増加数をセット */
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: 50px;
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
}

.p-recruit-charm__title {
  padding: 20px;
  background: #ffffff;
  font-size: 110%;
  text-align: center;
}

.p-recruit-charm__text {
  margin-top: 30px;
}

/* --------------------------------------------------
数字で見る
-------------------------------------------------- */
.p-recruit-number {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.p-recruit-number__item {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line-color);
  font-size: 120%;
  aspect-ratio: 1;
}

.p-recruit-number__text {
  text-align: center;
}

.p-recruit-number__text span {
  display: block;
  color: #b47b7e;
  font-size: 200%;
}

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

  .p-recruit-number__text span {
    font-size: 150%;
  }
}

/* --------------------------------------------------
福利厚生
-------------------------------------------------- */
.p-recruit-welfare {
  counter-reset: number 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.p-recruit-welfare__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 20px 40px 20px 100px;
  border: 1px solid var(--line-color);
}

.p-recruit-welfare__item::before {
  content: counter(number);
  counter-increment: number 1;
  position: absolute;
  top: 50%;
  left: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
  .p-recruit-welfare__item {
    padding: 20px 20px 20px 70px;
  }

  .p-recruit-welfare__item::before {
    top: 50%;
    left: 15px;
    width: 40px;
    height: 40px;
    padding: 10px;
    transform: translateY(-50%);
  }
}

.p-recruit-welfare__text {
  font-size: 105%;
  text-align: center;
}

.p-recruit-welfare__text span {
  font-size: 85%;
}

/* --------------------------------------------------
１日の流れ
-------------------------------------------------- */
.p-recruit-routine {
  padding: 30px;
  background: var(--bg-gray);
}

@media screen and (max-width: 768px) {
  .p-recruit-routine {
    padding: 30px 20px;
  }
}

.p-recruit-routine-item {
  display: flex;
  padding: 20px;
  border-bottom: dashed 1px var(--line-color);
}

.p-recruit-routine-item:first-child {
  padding-top: 0;
}

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

.p-recruit-routine-item__title {
  flex-shrink: 0;
  width: 27%;
  margin-right: 20px;
}

@media screen and (max-width: 768px) {
  .p-recruit-routine-item__title {
    width: 100%;
    margin: 0 auto 15px;
  }
}

.p-recruit-routine-item__time {
  display: inline-block;
  width: 80px;
  margin-right: 30px;
}

@media screen and (max-width: 768px) {
  .p-recruit-routine-item__time {
    width: fit-content;
  }
}

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

お問い合わせフォーム

================================================================================================================================== */
.p-contact {
  width: 100%;
  margin-bottom: 30px;
}

.p-contact dl {
  display: flex;
  flex-flow: wrap;
  border-top: 1px solid var(--line-color);
}

.p-contact dl:last-of-type {
  border-bottom: 1px solid var(--line-color);
}

.p-contact dt {
  display: flex;
  align-items: center;
  width: 33%;
  padding: 25px 15px;
  font-size: 110%;
}

.p-contact dd {
  width: 65%;
  padding: 25px 15px;
}

/* --------------------------------------------------
コンタクトボックス
-------------------------------------------------- */
.p-contact__box:not(:last-child) {
  margin-bottom: 15px;
}

/* --------------------------------------------------
必須
-------------------------------------------------- */
.p-contact__required {
  display: inline-block;
  margin: 0 15px 0 0;
  padding: 3px 10px;
  background: var(--main-color);
  border-radius: 5px;
  color: #ffffff;
  font-size: 80%;
}

/* --------------------------------------------------
入力欄
-------------------------------------------------- */
.p-contact textarea, .p-contact input[type=email], .p-contact input[type=text], .p-contact input[type=tel], .p-contact input[type=number] {
  width: 100%;
  padding: 15px;
  background: var(--bg-gray);
  border: none;
  border-radius: 10px;
  resize: vertical;
}

@media screen and (max-width: 768px) {
  .p-contact textarea, .p-contact input[type=email], .p-contact input[type=text], .p-contact input[type=tel], .p-contact input[type=number] {
    font-size: 14px;
  }
}

/* --------------------------------------------------
タイトル
-------------------------------------------------- */
.contact_title {
  width: fit-content;
  min-width: 100px;
  margin-bottom: 15px;
  padding: 3px 20px;
  background: var(--sub-color);
  border-radius: 300px;
  color: #ffffff;
  font-size: 90%;
  text-align: center;
}

/* --------------------------------------------------
ContactForm7　- 注意書きメッセージ
-------------------------------------------------- */
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border: none;
  color: #dc3232;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  display: none;
}

/* ぐるぐるボタン削除 */
.wpcf7-spinner {
  display: none !important;
}

/* 必須項目エラー */
.wpcf7-not-valid-tip {
  margin-top: 13px;
}

/* --------------------------------------------------
ContactForm7　- ラジオボタン
-------------------------------------------------- */
.p-contact input[type=radio] {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}

.p-contact input[type=radio]:checked + span.wpcf7-list-item-label::after {
  display: block;
}

.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.wpcf7-radio .wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.wpcf7-radio .wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
}

.wpcf7-radio .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  display: block;
  display: none;
  width: 12px;
  height: 12px;
  background-color: var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* --------------------------------------------------
ContactForm7　- チェックボックス
-------------------------------------------------- */
.wpcf7-checkbox {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.wpcf7-checkbox input {
  display: none;
}

.wpcf7-checkbox input + span {
  position: relative;
  display: inline-block;
  padding-left: 28px;
}

.wpcf7-checkbox input + span::after, .wpcf7-checkbox input + span::before {
  content: "";
  position: absolute;
  top: 0;
  display: block;
}

.wpcf7-checkbox input + span::before {
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border: 1px solid var(--line-color);
  border-radius: 5px;
  transform: translateY(-50%);
}

.wpcf7-checkbox input + span::after {
  top: 50%;
  left: 4px;
  display: none;
  width: 12px;
  height: 12px;
  background-color: var(--main-color);
  border: none;
  border-radius: 3px;
  transform: translateY(-50%);
}

.wpcf7-checkbox input:checked + span::after {
  display: block;
}

/* --------------------------------------------------
ContactForm7　- ドロップダウンメニュー
-------------------------------------------------- */
.wpcf7-select {
  width: 100%;
  padding: 7px 25px;
  background: var(--bg-color);
  border-radius: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7-file {
  display: block;
  width: 100%;
  padding: 0 30px 0 0;
  background-color: var(--bg-gray);
  border-radius: 10px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .wpcf7-file {
    padding: 0 20px 0 0;
    font-size: 13px;
  }
}

input[type=file]::file-selector-button {
  height: 100%;
  margin-right: 30px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  input[type=file]::file-selector-button {
    margin-right: 20px;
    padding: 10px 15px;
  }
}

/* --------------------------------------------------
送信ボタン
-------------------------------------------------- */
.p-contact_buttons {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px 30px;
}

.p-contact_button input {
  width: 100%;
  min-width: 250px;
  padding: 10px 25px 10px 30px;
  background: var(--main-color);
  border: none;
  border: 1px solid var(--main-color);
  border-radius: 10px;
  border-radius: 300px;
  color: #ffffff;
  font-size: 120%;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.p-contact_button input:hover {
  background: #ffffff;
  color: var(--main-color);
}

.p-contact_button input:disabled {
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  opacity: 1;
}

/* --------------------------------------------------
recaptcha
-------------------------------------------------- */
.grecaptcha-badge {
  bottom: 200px !important;
  z-index: 1000;
}

@media screen and (max-width: 640px) {
  .p-contact dl {
    padding: 20px 0 25px;
  }

  .p-contact dt {
    width: 100%;
    margin-bottom: 15px;
    padding: 0;
    font-size: 110%;
  }

  .p-contact dd {
    width: 100%;
    padding: 0;
  }

  /* --------------------------------------------------
  recaptcha
  -------------------------------------------------- */
  .grecaptcha-badge {
    bottom: 160px !important;
  }
}
