/* ///////////////////////
全体設定
////////////////////// */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  opacity: 0.8;
}
/* 見出しのフォントサイズ */
@media screen and (max-width: 639px) {
  .wp-block-heading {
    --_font-size-level: 3;
  }
  h2 {
    --_font-size-level: 2;
  }
}

/* ///////////////////////
共通設定
////////////////////// */
/* sp時アイコンと見出し縦並び */
@media (max-width: 1023px) {
  .is-icon-size-sp img {
    width: 55px;
    height: 70px;
  }
}

/* 共通ボタン装飾 */
.cta-1 {
  padding: 10px 40px;
  background-color: #e4814d;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  display: inline-flex;
  width: auto;
  min-width: 204px;
  height: 54px;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.25s ease;
}

/* 点線の内枠 */
.cta-1::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px dashed #fff;
  border-radius: 99px;
}

/* ホバー時 */
.cta-1:hover {
  transform: translateY(-2px);
}
/* 真ん中寄せ */
.common-btn {
  text-align: center;
}

.d-text-decoration-none {
  color: #333;
}

/* ///////////////////////
ヘッダー
////////////////////// */
/* =========
   ① 1100px以下でレイアウトを切り替え
   無料体験ボタンは残して、ナビと電話だけ消す
   ハンバーガーは表示させる
   ========= */
@media (max-width: 1100px) {
  /* グローバルナビ（メニュー）を非表示にする */
  .p-global-nav {
    display: none;
  }

  /* 電話・営業時間エリア（header-wrapper2）を非表示にする */
  .header-wrapper2 {
    display: none;
  }

  /* ハンバーガーボタンの入っているカラムを表示させる */
  .l-container .l-header .l-header__content .l-1row-header .u-invisible-lg-up {
    display: block !important;
  }

  /* 無料体験ボタン（header-wrapper1）は表示させたいので念のため指定 */
  .header-wrapper1 {
    display: block;
  }

  /* 無料体験ボタンを右側に寄せたいとき */
  .l-1row-header__content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
  }
}

/* =========
② ハンバーガーメニューボタンの装飾
========= */

.c-hamburger-btn {
  padding: 8px 10px;
  border-radius: 999px;
  background-color: #4f7f5f;
  /* border: 1px solid #ddd; */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.l-header .c-hamburger-btn__bar {
  background-color: #fff;
  height: 2px;
  border-radius: 999px;
}

.c-hamburger-btn__label {
  font-size: 11px;
  letter-spacing: 0.12em;
}
/* ハンバーガーのラベルが消えないようにする（開いたときも見えるように） */
.c-hamburger-btn,
.c-hamburger-btn:visited {
  color: #fff;
}

.c-hamburger-btn__label {
  color: #fff;
}

/* メニューオープン時（aria-expanded="true" や is-active のとき）の上書き */
.c-hamburger-btn[aria-expanded="true"],
.c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__label,
.c-hamburger-btn.is-active,
.c-hamburger-btn.is-active .c-hamburger-btn__label {
  color: #fff;
  opacity: 1;
}

/* 線も開いたときに薄くならないようにしておく */
.c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__bar,
.c-hamburger-btn.is-active .c-hamburger-btn__bar {
  background-color: #fff;
}

/* aria-expanded="true" のとき */
.c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__bar {
  opacity: 1;
  background-color: #fff;
}
/* ボタンの調整 */
.free-trial-btn {
  width: auto;
  min-width: 160px;
  height: auto;
}

.phone {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.7rem;
  line-height: 1.2;
}
.business-hours {
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}
.l-header__content .l-2row-header__row .p-global-nav ul li a {
  padding-inline: 0;
  padding-block: 10px;
}

/* 共通セクション見出しの装飾 */
.section-title::after {
  width: 90px;
  height: 3px;
  background-color: var(--wp--preset--color--sm-accent);
  display: block;
  margin: 0 auto;
  content: "";
  position: relative;
  top: 10px;
}

/* 電話・お問い合わせボタン 設定 */
.header-info {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-above a {
  font-weight: bold;
  font-size: 1.2em;
  letter-spacing: 1.5px;
}

/* ///////////////////////
フッター
////////////////////// */
.l-footer-widget-area a:hover {
  text-decoration: none;
  color: #e4814d;
}
.l-footer-widget-area .l-footer-widget-area__item:last-of-type a:hover {
  text-decoration: none;
  color: #fff;
}

.p-footer-sticky-nav .footer-menu_sp a {
  color: #fff;
}

.c-copyright .c-container a {
  text-decoration: none;
}

/* コピーライト改行 PCでは改行しない */
.sp-only {
  display: none;
}
/* スマホ時だけ改行 */
@media (max-width: 639px) {
  .sp-only {
    display: inline;
  }
}

@media (max-width: 1023px) {
  .l-footer-widget-area__item:nth-of-type(2) {
    display: none;
  }
  /* 真ん中寄せ */
  .l-footer .l-footer-widget-area .c-container {
    text-align: center;
  }
  .l-footer .l-footer-widget-area .c-container .wp-block-image img {
    margin: 0 auto;
  }
}

#nav_menu-6 {
  width: fit-content;
  margin-left: auto;
}

.c-copyright--inverse {
  background-color: #767676;
}

/* 固定フッターの装飾 */
.p-footer-sticky-nav {
  background-color: transparent;
}
.p-footer-sticky-nav .footer-menu_sp {
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
}
.p-footer-sticky-nav .footer-menu_sp a {
  font-size: 1rem;
}
.menu_form {
  background-color: #e4814d;
  color: #fff;
  font-weight: bold;
}
/* ページトップボタン */
.c-page-top {
  border-radius: 50px;
  background-color: #589158;
}

/* ///////////////////////
ハンバーガーメニュー
////////////////////// */
/* メニュー 位置*/
/* 背景色 */
nav#drawer-nav {
  background-color: #ffefde;
}
/* 全体真ん中寄せ */
.c-drawer__inner {
  text-align: center;
}
/* ロゴ真ん中寄せ、サイズ */
.c-hsm-message-box.c-hsm-message-box_invert.p-hsm-drawer.c-blinking {
  max-width: 45%;
  margin: 0 auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* 高さ調整 */
[id="drawer-nav"].c-drawer--overall .c-drawer__inner {
  height: 100%;
}
/* メニューの文字 */
.c-drawer__menu {
  padding-top: 2rem;
  font-weight: bold;
}
/* メニュー内の文字色 */
#drawer-nav,
#drawer-nav a {
  color: #333;
}

/* ///////////////////////
トップページ
////////////////////// */
/* FV */
.hero .smb-section__body {
  position: relative;
}
/* キャッチコピー調整 */
.hero .hero-heading {
  position: absolute;
  top: 10%;
  left: 6%;
  font-size: clamp(1.875rem, 1.025rem + 2.13vw, 2.938rem) !important;
}
.hero-heading span,
.hero-heading__sp span {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.15);
}
.hero-heading__sp span {
  padding: 5px 7px;
}
/* 2行目の余白調整 */
.hero-heading span + br + span,
.hero-heading__sp span + br + span {
  margin-top: 8px;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero .hero-heading {
    position: absolute;
    top: 0;
    left: 2%;
  }
}
.hero .hero-heading__sp {
  position: absolute;
  top: 12%;
  left: 3%;
}

/* //////////
FV下セクション
///////// */
@media (max-width: 1023px) {
  .service-intro__heading .service-intro__heading-icon img {
    width: 55px;
    height: 70px;
  }
  .service-intro_contents {
    flex-direction: column-reverse;
  }
}
/* //////////
こんなお悩みありませんか？セクション
///////// */
/* ボックスの中の文章真ん中寄せ */
.problems-box .smb-box__body {
  width: fit-content;
  margin-inline: auto;
}

.problems-box {
  position: relative;
}

.problems-box .smb-box__background {
  border-radius: 40px;
}

/* ボックスの中の画像の配置 */
/* 全体設定 */
.problems-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 800px) {
  .problems-box::after {
    right: 15%;
    width: 250px;
    height: 160px;
    background-image: url(/wp-content/uploads/2025/12/problems-img.png);
  }
}
@media (min-width: 640px) and (max-width: 799px) {
  .problems-box::after {
    right: 5%;
    width: 250px;
    height: 160px;
    background-image: url(/wp-content/uploads/2025/12/problems-img.png);
  }
}
@media (max-width: 639px) {
  .problems-box::after {
    right: 4%;
    width: 100px;
    height: 108px;
    background-image: url(/wp-content/uploads/2025/12/problems-img-sp.png);
  }
}

.about-service__heading {
  position: relative;
  top: 30px;
  left: 0;
  z-index: 10;
  white-space: nowrap;
}

/* //////////
タナゴコロの特徴セクション
///////// */
/* 特徴パネル装飾 */
.features-item .smb-panels__item--free {
  border-radius: 20px;
}
.features-item .smb-panels__item__body {
  padding-inline: 24px;
  padding-block: 40px;
}
/* 特徴ボックス角丸 */
.about-service .c-row__col--lg-1-3 {
  border-radius: 30px;
}

.features-item {
  position: relative;
}

/* 数字共通 */
.features-item::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

@media (min-width: 1024px) {
  .features-item::before {
    top: -10%;
    width: 110px;
    height: 110px;
  }

  .is-number-3,
  .is-number-4 {
    margin-top: 50px;
  }
}

@media (max-width: 1023px) {
  .features-item::before {
    top: -5%;
    width: 95px;
    height: 95px;
  }
  /* アイテム同士の間隔調整 */
  .features .features-item {
    margin-bottom: 65px;
  }
}
@media (max-width: 639px) {
  .features-item::before {
    top: -6%;
    width: 80px;
    height: 80px;
  }
  /* サブ見出し調整（アイコンと文字横並び） */
  .features-sub-heading-icon-sp img {
    width: 95px;
    height: 90px;
  }
  /* ご家族の方へのアイコン調整 */
  .features-sub-heading-icon-sp.is-family img {
    width: 95px;
    height: 85px;
    object-fit: contain;
  }

  .features .wp-block-group {
    gap: 5px;
  }
}

/* 個別数字 */
.is-number-1::before {
  background-image: url(/wp-content/uploads/2025/12/no1-orange.png);
}

.is-number-2::before {
  background-image: url(/wp-content/uploads/2025/12/no2-orange.png);
}

.is-number-3::before {
  background-image: url(/wp-content/uploads/2025/12/no3-orange.png);
}

.is-number-4::before {
  background-image: url(/wp-content/uploads/2025/12/no4-orange.png);
}

.is-family-no-1::before {
  background-image: url(/wp-content/uploads/2025/12/no1-green.png);
}

.is-family-no-2::before {
  background-image: url(/wp-content/uploads/2025/12/no2-green.png);
}

/* //////////
対応エリアセクション
///////// */
.service-area__container-box--lists-top li + li,
.service-area__container-box--lists-btm li + li {
  margin-top: 3px;
}

.service-area__container-box--lists-top,
.service-area__container-box--lists-btm {
  width: fit-content;
}

/* マップの位置真ん中 */
.map-wrap {
  text-align: center;
}
/* //////////
お問い合わせセクション
///////// */
.contact-box__left-time {
  width: fit-content;
}

/* 共通ボタンよりボタンの色・背景色変更 */
.is-green {
  width: 300px;
  height: 65px;
  background-color: #fffdf6;
  color: #589158;
  box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.34);
}
.is-green::before {
  border: 2px dashed #589158;
}
.cta-1.is-green .fa-envelope {
  font-size: 17px;
  margin-right: 3.5px;
}

/* ///////////////////////
ここから下層ページ
////////////////////// */
/* ////////////////////////
下層ページ全体設定
//////////////////////// */
/* ヘッダー下の余白を消す */
.page .l-contents__inner {
  padding-top: 0;
  padding-bottom: 0;
}
/* 見出しを表示しない */
.page .c-entry__header {
  display: none;
}

/* ////////////////////////
お問い合わせ
//////////////////////// */
/* 確認画面で説明文非表示に */
[data-screen="confirm"] .input {
  display: none;
}
[data-screen="input"] .confirm,
[data-screen="invalid"] .confirm {
  display: none;
}
/* ボタンの文字を太字に */
.snow-monkey-form--button-has-accent-color .smf-button-control__control {
  font-weight: bold;
  border-radius: 40px;
}
/* 必須の文字装飾 */
.smf-item__label__text {
  display: flex;
  gap: 12px;
  align-items: center;
}
.smf-item__label__text::after {
  content: "必須";
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 22px;
  background-color: #e4814d;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

/* 電話ボックス調整 */
.page-contact .tel-block a {
  font-weight: bold;
  color: #333;
}

@media (max-width: 639px) {
  .page-contact .tel-block a {
    font-size: 27px;
  }
  .tel-block__icon {
    font-size: 27px;
  }
  .page-contact .wp-block-snow-monkey-blocks-box {
    padding-inline: 10px;
  }
}
@media (min-width: 640px) {
  .page-contact .tel-block a {
    font-size: 40px;
  }
}

/* 任意の文字装飾 */
.is-optional .smf-item__label__text::after {
  content: "任意";
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 22px;
  background-color: #589158;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}
/* ///////////////////////
サービス内容・料金
////////////////////// */
/* 文章→画像の並びに */
@media (max-width: 781px) {
  .service-page__service .wp-block-columns {
    flex-direction: column-reverse;
  }
}

/* 対象となる方装飾 */
/* 共通設定 */
.target-users__list-item-panel .smb-panels__item__body {
  padding: 12px;
}
.target-users__list-item-panel .smb-panels__item {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 白い点線 */
.target-users__list-item-panel .smb-panels__item::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 2px dashed #fff;
}

@media (min-width: 1024px) {
  .target-users
    .smb-section__body
    .wp-block-snow-monkey-blocks-container
    .smb-container__body {
    width: 880px;
  }

  .target-users__list-item-panel {
    width: 240px;
    height: 240px;
  }
  .target-users__list-item-panel .smb-panels__item {
    width: 240px;
    height: 240px;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .target-users
    .smb-section__body
    .wp-block-snow-monkey-blocks-container
    .smb-container__body {
    width: 650px;
    max-width: 100% !important;
  }
  .target-users .target-users__list .c-row[data-md-columns="2"] {
    --_item-width: 40%;
    justify-content: center;
  }
  .target-users__list-item-panel {
    width: 228px;
    height: 228px;
  }
  .target-users__list-item-panel .smb-panels__item {
    width: 228px;
    height: 228px;
  }
  .target-users__list-item-panel {
    align-items: center;
  }
  /* フォントサイズ余白調整 */
  .target-users .target-users__list-item-panel .has-sm-l-font-size {
    padding-left: 5px;
    padding-right: 5px;
  }
}
@media (max-width: 639px) {
  .target-users
    .smb-section__body
    .wp-block-snow-monkey-blocks-container
    .smb-container__body {
    width: 370px;
    max-width: 90% !important;
  }
  .target-users .target-users__list .c-row[data-md-columns="2"] {
    justify-content: center;
  }
  /* コンテナの余白削除 */
  .target-users .smb-section__body .c-container {
    padding-left: 0;
    padding-right: 0;
  }
  /* オレンジの円の大きさ */
  .target-users__list-item-panel {
    width: 147px;
    height: 147px;
  }
  .target-users__list-item-panel .smb-panels__item {
    width: 147px;
    height: 147px;
  }
  /* フォントサイズ余白調整 */
  .target-users .target-users__list-item-panel .has-sm-l-font-size {
    --_font-size-level: -2;
    padding-left: 5px;
    padding-right: 5px;
  }
  /* オレンジの円の余白調整 */
  .target-users__list .target-users__list-item-panel {
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
  }
  /* 内側の点線の調整 */
  .target-users__list-item-panel .smb-panels__item::before {
    inset: 3px;
  }
}
@media (max-width: 349px) {
  /* 余白調整 */
  .target-users__list-item-panel .smb-panels__item__body {
    padding: 9px;
  }
  /* オレンジの円の大きさ */
  .target-users__list-item-panel {
    width: 138px;
    height: 138px;
  }
  .target-users__list-item-panel .smb-panels__item {
    width: 138px;
    height: 138px;
  }
}

/* 費用について装飾 */
.service-price__container {
  max-width: 100%;
}

/* 吹き出し追加 調整 */
.service-price__balloon {
  justify-content: center;
}
.service-price__balloon--text {
  position: relative;
}
/* 吹き出しの装飾 */
@media (min-width: 640px) {
  .service-price__balloon--text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -14px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 16px solid #d9e6d0;
  }
  /* 費用枠の角丸設定 */
  .service-price__container-box .smb-box__background {
    border-radius: 40px;
  }
}

.service-price__list-item--text-group .service-price__list-item--text-top {
  background-color: #e4814d;
  padding-inline: 20px;
  border-radius: 40px;
}
@media (max-width: 639px) {
  .service-price__list-item--text-group .service-price__list-item--text-top {
    padding-block: 4px;
    width: 320px;
    max-width: 95%;
  }
  /* 費用枠の角丸設定 */
  .service-price__container-box .smb-box__background {
    border-radius: 20px;
  }
}

@media (min-width: 640px) {
  .service-price__list-item--text-group .service-price__list-item--text-top {
    width: fit-content;
    padding-block: 7px;
  }
}

.service-price__caution {
  width: fit-content;
}

.free-trial-img {
  position: relative;
  top: -50px;
  right: 0;
}
/* ご利用の流れ調整 */
@media (max-width: 639px) {
  .flow .c-container .flow-item {
    padding-left: 13px;
    padding-right: 13px;
    position: relative;
  }
  .flow-item .has-sm-2-xl-font-size {
    --_font-size-level: 2;
  }
  .flow .wp-block-group {
    gap: 15px;
  }
}

/* ご利用の流れの矢印調整 */
.flow-item::before {
  content: "";
  position: absolute;
  top: 99%;
  left: 10%;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 23px solid #ffefde;
}

.flow-item:nth-child(odd)::before {
  border-top-color: #d9e6d0;
}

.flow-item:last-of-type::before {
  content: none;
}

/* よくある質問リンク */
.smb-box__background {
  border-radius: 40px;
}
.faq-link .wp-block-snow-monkey-blocks-box:hover {
  border-radius: 40px;
  border: 1px solid #e4814d;
}

/* ///////////////////////
よくある質問
////////////////////// */
/* 項目角丸に */
.faq-page__list--item .smb-items__item__body a {
  border-radius: 40px;
}
/* ホバー時 */
.faq-page__list--item-link:hover {
  border-radius: 40px;
  border: 1px solid #e4814d;
  opacity: 1;
}

/* Qラベルの装飾 */
.smb-faq__item__question__label {
  background-color: #e4814d;
  color: white;
  font-weight: bold;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: none;
}

.faq-page__list .faq-page__list--item {
  margin-bottom: 20px;
}

.faq-page__list .c-row {
  justify-content: center;
}

/* ///////////////////////
私たちについて
////////////////////// */
/* 運営会社のドットの下線 */
.operating-company__info .operating-company__info-item {
  border-bottom: 1px dashed #e4814d;
}

/* スタッフ一覧セクション */
/* 真ん中寄せ */
.staff-list .c-row {
  justify-content: center;
}
/* 名前改行 */
.staff__item .staff__info-name {
  flex-wrap: wrap;
  row-gap: 1px;
}
/* 保有資格の位置調整 */
.staff__item .smb-panels__item {
  border-radius: 40px;
  padding: 15px;
}
.staff__item .smb-panels__item__body {
  padding: 0;
}

.staff-list .smb-panels__item {
  position: relative;
}
.staff-list .smb-panels__item__body > p.has-background {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  line-height: 2;
}
.staff-list .smb-panels__item__body {
  padding-bottom: 4.1rem;
}

/* 事業内容一覧 調整 */
.business-activities .smb-media-text__figure > img {
  width: auto;
}
@media (max-width: 1023px) {
  .business-activities .c-row {
    align-items: end;
  }
  .business-activities .business-activities-item {
    padding: 23px;
  }
}

/* ///////////////////////
プライバシーポリシー
////////////////////// */
.privacy-policy h2 {
  border-left: 4px solid #6da67a;
}

.target-users__list-item {
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 782px) {
  .target-users__list-item {
    width: 240px;
    height: 240px;
    padding: 22px;
  }
}

@media (max-width: 781px) {
  .target-users__list-item {
    width: 170px;
    height: 170px;
  }
}

.target-users__list-item::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px dashed #fff;
}
