/* ///////////////////////
全体設定
////////////////////// */
a {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

/* ピンク共通ボタン装飾 */
.c-btn {
  font-weight: bold;
  border-radius: 50px;
  width: clamp(220px, 50%, 320px);
  height: clamp(45px, 6vw, 57px);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* ボタンhover時共通 */
.has-hover > a:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  opacity: 0.95;
  text-decoration: none;
}

/* ///////////////////////
フォント設定
////////////////////// */
.m-plus-rounded-1c {
  font-family: "M PLUS Rounded 1c", sans-serif;
}

/* ///////////////////////
ヘッダー
////////////////////// */
/* ヘッダー背景色変更 */
.l-header {
  background-color: #fffef8;
}

.header-btn a {
  width: 170px;
  max-width: 100%;
}

/* ///////////////////////
フッター
////////////////////// */
.home .l-footer {
  border-top: none;
}
.l-footer {
  background-color: #fffef8;
}
/* フッターメニューボタン装飾 */
/* ===== フッターボタン共通 ===== */
.footer-btn {
  list-style: none;
  margin-bottom: 12px;
}

/* ボタン本体 */
.footer-btn > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 171px;
  max-width: 100%;
  height: 42px;
  border: 1px solid #424242;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

/* ===== お申し込み ===== */
.apply-btn > a {
  background-color: #faeaef;
  color: #333;
}

/* ===== LINE相談 ===== */
.line-btn > a {
  background-color: #c0f7c7;
  color: #333;
}

/* コピーライト背景色変更 */
.c-copyright--inverse {
  background-color: #faeaef;
  color: #333;
}
/* スマホ・タブ時メニュー真ん中寄せ */
@media (max-width: 1023px) {
  .l-footer .l-footer-widget-area .c-container {
    text-align: center;
  }
}

/* 固定フッターの装飾 */
.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: 5px;
}
.p-footer-sticky-nav .footer-menu_sp a {
  font-size: 1rem;
}
.menu_apply {
  background-color: #f80e97;
  color: #fff !important;
  font-weight: bold;
}

/* ページトップボタン */
#page-top {
  border-radius: 50%;
  right: 5px;
}

/* ///////////////////////
ドロワーメニュー
////////////////////// */
/* メニュー 位置*/
/* 背景色 */
nav#drawer-nav {
  background-color: #fffef8;
}
/* 全体真ん中寄せ */
.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;
}
/* バツボタンの色 */
.c-drawer .c-hamburger-btn__bar {
  background-color: #333;
}

/* ///////////////////////
トップページ
////////////////////// */
/* //////////
FV
///////// */
/* キャッチコピーの文字サイズ変更 */
.fv-heading {
  font-size: clamp(1.5rem, 1.161rem + 1.7vw, 2.688rem) !important;
}

/* スマホ時調整 */
@media (max-width: 639px) {
  .fv {
    position: relative;
  }
  /* ボタンの位置 */
  .fv-btn {
    margin-top: 20px;
  }
  /* 見出し位置調整 */
  .fv-heading {
    display: inline-block;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.2em 0.3em;
    border-radius: 16px;
    line-height: 1.4;
  }
  /* 上下の余白バランス */
  .fv-heading-top {
    margin-bottom: 0.3em;
  }
  .fv-heading-btm {
    margin-top: 0;
  }
  /* 少し立体感を出す */
  .fv-heading {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  }
  .fv .wp-block-image img {
    height: 90vh;
    width: 100%;
    object-fit: cover;
    object-fit: cover;
    object-position: right center;
  }
}
/* スマホ時位置調整 */
@media (max-width: 500px) {
  .fv-wrapper {
    position: absolute;
    bottom: 20%;
    left: 4%;
  }
}
@media (min-width: 500px) and (max-width: 639px) {
  .fv-wrapper {
    position: absolute;
    bottom: 23%;
    left: 4%;
  }
}

/* タブレット時調整 */
@media (min-width: 640px) and (max-width: 1023px) {
  /* 画像の位置調整 */
  .fv .smb-section-with-bgimage__bgimage img {
    object-position: 55% center;
  }
  /* キャッチコピーの調整 */
  .fv {
    position: relative;
  }
  .fv .smb-section__body {
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translateY(-37%);
  }
}

/* //////////
育児士とは
///////// */
/* 画像右寄せ */
.section-about .section-about__img img {
  margin-left: auto;
  transform: translateX(13%);
}
@media (max-width: 1023px) {
  .section-about .section-about__img img {
    transform: translateX(4%);
  }
}
@media (max-width: 639px) {
  .section-about .section-about__img img {
    transform: translateX(6%);
  }
}
/* //////////
学べる知識とスキル
///////// */
.section-learning__recommend-box .smb-box__body {
  width: fit-content;
  margin: 0 auto;
}
/* 背景角丸 */
.section-learning .smb-section__fixed-background {
  border-radius: 0 100px 100px 0;
}
/* 画像左寄せ */
.section-learning .section-learning__img {
  display: flex;
  justify-content: flex-start; /* 左寄せ */
}
.section-learning .section-learning__img img {
  transform: translateX(-10%);
}
@media (max-width: 1023px) {
  .section-learning .section-learning__img img {
    transform: translateX(-4%);
  }
}
@media (max-width: 639px) {
  .section-learning .section-learning__img img {
    transform: translateX(-6%);
  }
}

/* //////////
強み・特徴
///////// */
/* ボックス角丸に */
.section-learning__features-item .smb-panels__item {
  border-radius: 24px;
  box-shadow: none;
}
.section-learning__features-item .smb-panels__item__body {
  padding-block: 40px;
  padding-inline: 15px;
}
.section-learning__features-list .c-row {
  justify-content: center;
}

/* //////////
こんな方におすすめです
///////// */
/* 画像の位置調整 */
@media (max-width: 781px) {
  .section-recommend__message
    .wp-block-column:nth-of-type(2)
    .wp-block-image
    img {
    margin-left: auto;
  }
}
/* リストの文字サイズ調整 */
@media (max-width: 639px) {
  .recommend-box_list ul .has-sm-xl-font-size {
    --_font-size-level: 1;
  }
}

/* //////////
講座・資格概要
///////// */
/* ボタン真ん中寄せ */
.course-btn {
  text-align: center;
}
/* //////////
リンク掲載セクション
///////// */
.section-links {
  background-color: #fffef8;
}
/* ピンク背景の角丸の調整 */
@media (min-width: 1024px) {
  .section-links .smb-section__fixed-background {
    border-radius: 100px 0 0 100px;
  }
}
@media (max-width: 1023px) {
  .section-links .smb-section__fixed-background {
    border-radius: 0 0 0 50px;
  }
}

/* パネルに角丸をつける */
.section-links__list--item .smb-panels__item {
  border-radius: 24px;
  box-shadow: none;
}

/* リンクの装飾 */
.section-links__list--item p.is-style-plain strong {
  position: relative;
  display: inline-block;
  padding-right: 1.8em;
  isolation: isolate;
}

/* 矢印配置 */
.section-links__list--item p.is-style-plain strong::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 80px;
  height: 80px;
  background: url("/wp-content/uploads/2026/02/arrow.png") no-repeat center /
    contain;
  transform: translate(35%, -50%);
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 639px) {
  .section-links__list--item p.is-style-plain strong::after {
    width: 65px;
    height: 65px;
  }
}
/* ホバー時 */
.section-links__list--item {
  transition: transform 0.2s ease;
}
.section-links__list--item:hover {
  transform: translateY(2px);
}

/* ///////////////////////
ここから下層ページ
////////////////////// */
/* ////////////////////////
下層ページ全体設定
//////////////////////// */
/* ヘッダー下の余白を消す */
.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;
}
.smf-item__label__text::after {
  content: "必須";
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 22px;
  background-color: var(--wp--preset--color--sm-accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 15px;
}

/* 任意の文字装飾 */
.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: #03b5f4;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 15px;
}

/* 追加CSSで消す記述 */
#autozip {
  display: none !important;
}
/* テキスト入力欄の幅を調整 */
.smf-form--letter .smf-text-control__control.custom-width {
  max-width: 335px;
  width: 100%;
}

.snow-monkey-form--button-has-accent-color .smf-button-control__control {
  font-weight: bold;
  border-radius: 30px;
}

/* プライバシーポリシー見出し装飾 */
.privacy-policy h2 {
  border-left: 4px solid var(--wp--preset--color--sm-accent);
}

/* ////////////////////////
お申し込み
//////////////////////// */
.form-session-select {
}

@media (min-width: 640px) {
  .form-check-box .smf-checkboxes-control__control {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ////////////////////////
協会について
//////////////////////// */
@media (min-width: 640px) {
  .smb-information__body .wp-block-snow-monkey-blocks-information-item .c-row {
    flex-wrap: nowrap;
  }
}
/* 背景色設定 */
.about-philosophy {
  background: radial-gradient(
    120% 90% at center -10%,
    rgba(250, 220, 230, 0.45),
    rgba(255, 255, 255, 0.95) 55%,
    #ffffff 80%
  );
}

/* ////////////////////////
講座・資格について
//////////////////////// */
/* 目次の装飾 */
.course-toc .wpco .contents-outline a:before {
  font-weight: bold;
  border-radius: 50px;
}
/* 講座内容テーブルの余白・ボーダー設定 */
@media (min-width: 640px) {
  .course-contents__table table tr td:first-child {
    padding-block: 20px;
    padding-left: 30px;
    border-right: 1px solid #e8e3e3;
  }
  .course-contents__table table tr td:last-child {
    padding-block: 20px;
    padding-inline: 30px;
  }
}

.course-contents__table table tr:not(:first-child) {
  border-top: 1px solid #333;
}
.course-contents__table {
  border-radius: 8px;
}
/* 冒頭文の調整 */
.course-contents .course-contents__text {
  width: fit-content;
}

/* 受講の流れの装飾 */
.certification-flow__list {
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
}
@media (min-width: 640px) {
  .certification-flow__list {
    padding: 25px;
  }
}

/* ピンクボタンの装飾 */
.course-schedule__box button,
.cta-btn a {
  font-weight: bold;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
/* ホバー時 */
.course-schedule__box button:hover,
.cta-btn a:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  opacity: 0.95;
  text-decoration: none;
}

/* ////////////////////////
よくある質問
//////////////////////// */
.faq-contents__list .smb-faq__item__question__label {
  background-color: #f80e97;
  color: white;
  font-weight: bold;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: none;
}

.page-law tbody tr td:first-of-type {
  background-color: #fff1f9;
}
@media (max-width: 639px) {
  .page-law tbody tr td {
    font-size: 0.8rem;
  }
}
