@charset "UTF-8";

body {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.topimgtest img {
  width: 100%;
}

.topslide {
  z-index: 1 !important;
}

/* アクセント色背景のブロック内のリンクは、周りの文字色にそろえる */
.has-sm-accent-background-color a {
  color: inherit;
}

/* 背景画像を固定して、揺れ動くアニメーションを追加
.top_bg::before {
  content: "";
  position: fixed;
  /* 揺れ動く余裕を持たせるため、少し大きめに配置 
  top: -10%; 
  left: -10%; 
  width: 120%; 
  height: 120%;
  
  background-image: url(https://www.miniren.net/test/wp-content/plugins/my-snow-monkey/assets/img/bg.png);
  background-size: cover;
  background-repeat: repeat;
  
  filter: blur(5px);
  z-index: -1;
  
  /* 浮遊アニメーションの指定 
  animation: floating-bg 20s ease-in-out infinite alternate;
}
*/

/* 浮遊する動きの定義 */
@keyframes floating-bg {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(3%, 4%) rotate(10deg); /* ゆっくり右下に動きつつ少し回転 */
  }
  100% {
    transform: translate(-2%, -3%) rotate(-1deg); /* ゆっくり左上に戻る */
  }
}

.p-global-nav .c-navbar__item>a {
  font-weight: 400;
}

.top_menu_toiawase {
  border-radius: 20px;
  margin: 10px 0;
  padding: 10px;
}

.top_menu_toiawase a {
  margin: 0 !important;
  padding: 0 20px !important;
}

.p-drop-nav {
  background-color: rgba(255, 255, 255, 0.9);
}

.l-header--overlay-lg {
  background-color: rgba(255, 255, 255, 0.9);
}

.enkaku_cell ol {
  padding: 1em;
  margin-left: 1.5em;
}

/* フッタースタイル */
.l-container>.l-footer {
  display: flex;
  flex-direction: column-reverse;
}

.c-copyright--inverse {
  background-color: #fff;
  color: var(--wp--preset--color--sm-text);
}

.l-footer {
  box-shadow: 0 0 5px var(--wp--preset--color--sm-accent);
}

.c-footer-sub {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap-reverse;
}

.c-copyright__inner-left {
  text-align: left;
  padding: 10px 20px;
}

.c-footer_inner-title {
  font-size: 1.2rem;
}

.ss_txt {
  font-size: 0.8rem;
}

.footer-nav {
  gap: 20px;
}

.footer_hplink {
  display: inline-flex;
  border-radius: 20px;
  padding: 2px 16px;
  border: 1px solid var(--wp--preset--color--sm-accent);
  margin-left: 10px;
  align-items: center;
}

.footer_hplink a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
}

/**/
.c-entry__header {
    margin-top: var(--_margin2);
    min-height: 150px;
    align-items: center;
    display: flex;
    flex-flow: column;
}

.c-meta__item--author, .c-meta__item--modified {
    display: none;
}

.c-drawer {
    margin: 6em 1em;
    box-shadow: 0px 2px 5px var(--wp--preset--color--sm-accent);
    backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    background-color: color-mix(in srgb,var(--wp--preset--color--sm-accent) 75%,transparent);
}

.c-drawer--highlight-type-background-color .c-drawer__item.sm-nav-menu-item-highlight {
    background-color: var(--wp--preset--color--sm-accent);
    margin-right: calc(-1 * var(--_padding-2));
    margin-left: calc(-1 * var(--_padding-2));
    padding-right: var(--_padding-1);
    padding-left: var(--_padding-1);
}


/*アイキャッチにマスク*/
.c-page-header:before {
    content: '';
    display: block;
    background-color: rgba(0, 0, 0, .3);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.c-page-header__title {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.c-page-header__content {
    position: relative;
    z-index: 1;
}

.c-page-header[data-has-image=true] {
    height: clamp(250px, 42.5vw, 400px);
}

.c-page-header__bgimage>img, .c-page-header__bgimage>picture>img {
    object-position: 50% 70%;
}

.wpco__title {
  display: none;
}

.sm-nav-menu-item-highlight a {
  background-color: var(--wp--preset--color--sm-accent);
  color: #fff;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 20px;
  text-decoration: none;
}


/*下層ページ見出し*/
.kasou_heading-01 {
    border-bottom: 1px solid var(--wp--preset--color--sm-sub-accent);
}

.kasou_heading-01::before {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40%;
    height: 1px;
    background-color: var(--wp--preset--color--sm-accent);
    content: '';
}

.kasou_heading-02 {
    position: relative;
    padding: .3em 0 .2em 1em;
    /*border-bottom: 3px solid #2589d0;*/
    color: #333333;
}

.kasou_heading-02::before {
    position: absolute;
    top: -5px;
    left: .3em;
    transform: rotate(55deg);
    height: 15px;
    width: 15px;
    background: var(--wp--preset--color--sm-accent);
    content: '';
    border-radius: 50%;
}

.kasou_heading-02::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 10px;
    width: 10px;
    background: var(--wp--preset--color--sm-sub-accent);
    content: '';
}

.top_houshin .smb-section__lede {
    width: 650px;
}

/* 同意エリア */
.sm-consent{
  border:1px solid #d9d9d9;
  padding:16px;
  background:#fff;
}

.sm-consent__title{
  margin:0 0 12px;
  font-size:18px;
}

/* 同意文スクロールボックス化 */
.sm-consent__box{
  max-height:300px;
  overflow:auto;
  padding:12px;
  border:1px solid #cfcfcf;
  background:#fafafa;
  line-height:1.7;
}

/* 操作部 */
.sm-consent__actions{
  margin-top:12px;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.sm-consent__check{
  display:flex;
  gap:8px;
  align-items:center;
}

/* ボタン */
.sm-consent__btn{
  padding:10px 16px;
  border:0;
  background:#222;
  color:#fff;
  cursor:pointer;
}
.sm-consent__btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* フォームを包むコンテナ（smFormArea）は最初隠す */
.smFormArea{
  display:none !important;
}

/* 同意後にこれが付いたら表示 */
.smFormArea.is-open{
  display:block !important;
}

/* ロック状態 */
.sm-consent__check.is-locked{
  opacity:0.5;
  pointer-events:none;
}

.sm-consent__btn.is-locked{
  opacity:0.5;
  cursor:not-allowed;
}

.sm-consent__badge{
  margin-left: 10px;
  padding: 5px 15px;
  border: 1px solid #777;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.6;
  background: var(--wp--preset--color--sm-accent);
}

/* ページトップボタン */
#page-top {
    background-color: rgba(255, 255, 255, .25);
    width: 75px;
    height: 75px;
    bottom: 2em;
    right: 1em;
    animation: backtotop 10s linear infinite alternate;
    border:1px solid var(--wp--preset--color--sm-accent);
    border-radius: 50%;
    box-shadow: 0px 0px 4px var(--wp--preset--color--sm-accent);
      --_global--transition-duration: .6s;
    backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
}

@keyframes backtotop {
    0% {
        transform: translateY(-15%);
    }
    100% {
        transform: translateY(15%);
    }
}

#page-top a {
    background-image: url(assets/img/toptopage.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75%;
}

.c-page-top svg {
    display: none;
}


.top_kinou img {
    width: 150px;
    object-fit: contain;
    height: 120px;
}

.top-cal h2 {
  width: max-content;
  letter-spacing: 2px;
}

.slide_blur img {
  filter: blur(3px);
}

/* =========================
  営業時間テーブル
========================= */
.bhv-hours{
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--sm-accent) 30%, transparent);
  border-radius: 10px;
  background: #fff;
  max-width: 900px;
}

.bhv-hours__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
  flex-wrap:wrap;
}
.bhv-hours__title{
  font-size:20px;
  margin-bottom:0;
  color:var(--wp--preset--color--sm-accent, #1d4f91);
}
.bhv-hours__table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
}
.bhv-hours__table th,
.bhv-hours__table td{
  border-top:1px solid color-mix(in srgb, var(--wp--preset--color--sm-accent) 20%, transparent);
  padding:10px 8px;
  text-align:left;
  vertical-align:middle;
  font-size: 15px;
}
.bhv-hours__table thead th{
  border-top:none;
  background:color-mix(in srgb, var(--wp--preset--color--sm-accent) 10%, transparent);
  font-weight:700;
}
.bhv-hours__date{
  white-space:nowrap;
  width:200px;
}
.bhv-hours__table tr.is-closed-all th,
.bhv-hours__table tr.is-closed-all td{
  background-color: color-mix(in srgb, var(--wp--preset--color--sm-accent) 5%, transparent);
}

.bhv-status{
  margin:0;
  padding:6px 12px;
  border-radius:50px;
  font-weight:400;
  display:inline-block;
  font-size:14px;
}
.bhv-status--open{
  background:#eef9f0;
  color:#177245;
}
.bhv-status--closed{
  background:#fdecec;
  color:#c62828;
}

.bhv-hours__changes{
  margin-top:12px;
  background:#fff;
  border:1px solid #d7e4ef;
  border-radius:8px;
  padding:10px;
  max-width:900px;
}
.bhv-hours__changes-title{
  font-weight:700;
  margin-bottom:6px;
}
.bhv-hours__changes-list{
  margin:0;
  padding-left:18px;
}
.bhv-hours__changes-item{
  margin:4px 0;
}

/* =========================
   右フローティング
========================= */
.clinic-float{
  position:fixed;
  top:50%;
  right:0;
  transform:translateY(-50%);
  z-index:9999;
  width:320px;
  max-width:calc(100vw - 56px);
  box-sizing:border-box;
}

/* 外箱 */
.clinic-float__box{
  position:relative;
  width:100%;
  background:#fff;
  border:1px solid #d7e4ef;
  border-right:none;
  border-radius:14px 0 0 14px;
  box-shadow:0 0 30px rgba(0,0,0,.08);
  box-shadow:0 0 30px color-mix(in srgb, var(--wp--preset--color--sm-accent) 20%, transparent);
  overflow:hidden;
  cursor:default;
  box-sizing:border-box;
  transition:
    width .25s ease,
    height .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

/* 閉じる・開くボタン */
.clinic-float__close{
  position:absolute;
  top:8px;
  left:8px;
  width:32px;
  height:32px;
  border:none;
  border-radius:999px;
  background:#f3f4f6;
  color:#333;
  font-size:18px;
  line-height:1;
  font-weight:700;
  cursor:pointer;
  z-index:3;
}

/* タイトル */
.clinic-float__title{
  text-align:center;
  font-weight:800;
  font-size:18px;
  padding:14px 14px 10px;
  margin:0;
  border-bottom:1px solid rgba(0,0,0,.06);
}

/* ステータス */
.clinic-float__status{
  display:table;
  margin:10px auto;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
}

.clinic-float__status.is-open{
  background:#eef9f0;
  color:#177245;
}

.clinic-float__status.is-closed{
  background:#fdecec;
  color:#c62828;
}

/* 営業時間 */
.clinic-float__slots{
  display:grid;
  gap:10px;
  padding:10px 5px 5px;
}

.clinic-float__slot{
  border:1px solid rgba(0,0,0,.06);
  border-radius:10px;
  overflow:hidden;
}

.clinic-float__slot-label{
  text-align:center;
  padding:8px 10px;
  font-size:12px;
  font-weight:800;
  color:#555;
  background:#eaf6ff;
}

.clinic-float__slot-time{
  text-align:center;
  padding:10px;
  font-size:16px;
  font-weight:800;
  color:#222;
  background:#fff;
}

.clinic-float__slot-time.is-inactive{
  color:#777;
  opacity:.6;
}

/* 自由入力欄 */
.clinic-float__free{
  margin-top:12px;
  padding:12px 5px 5px;
  border-top:1px solid rgba(0,0,0,.06);
  font-size:14px;
  line-height:1.75;
}

.clinic-float__free p{
  margin:0 0 8px;
}

.clinic-float__free ul{
  margin:8px 0 0;
  padding-left:18px;
}

/* 本体 */
.clinic-float__body{
  padding:0 16px 16px;
  overflow:hidden;
  opacity:1;
  transform:translateY(0);
  max-height:600px;
  visibility:visible;
  transition:
    opacity .25s ease,
    transform .25s ease,
    max-height .25s ease,
    visibility .25s ease;
}

/* 折りたたみラベル（閉じているときだけ表示） */
.clinic-float__collapsed-label{
  display:none;
  text-align:center;
  font-size:11px;
  font-weight:700;
  line-height:1.35;
  color:#333;
  pointer-events:none;
}

/* =========================
   開いているとき
========================= */
.clinic-float:not(.is-collapsed) .clinic-float__box{
  width:100%;
  min-height:0;
}

.clinic-float:not(.is-collapsed) .clinic-float__body{
  opacity:1;
  transform:translateY(0);
  max-height:600px;
  visibility:visible;
  pointer-events:auto;
}

/* =========================
   畳んでいるとき
========================= */
.clinic-float.is-collapsed{
  width:84px;
  max-width:84px;
}

.clinic-float.is-collapsed .clinic-float__box{
  width:84px;
  height:auto;
  min-height:72px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:12px 6px 14px;
  border-radius:14px 0 0 14px;
  border:1px solid #d7e4ef;
  border-right:none;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  cursor:pointer;
}

.clinic-float.is-collapsed .clinic-float__body{
  opacity:0;
  transform:translateY(8px);
  max-height:0;
  visibility:hidden;
  pointer-events:none;
}

/* 畳んでいるときはボタンの下にラベルを出す */
.clinic-float.is-collapsed .clinic-float__close{
  position:static;
  top:auto;
  left:auto;
  transform:none;
  flex:0 0 auto;
  width:44px;
  height:44px;
  font-size:24px;
  box-shadow:none;
}

.clinic-float.is-collapsed .clinic-float__collapsed-label{
  display:block;
}

/* スマホ調整 */
@media screen and (max-width:767px){
  .clinic-float{
    left:10px;
    right:10px;
    top:auto;
    bottom:10px;
    transform:none;
    max-width:none;
    width: 280px !important;
  }
  .clinic-float.is-collapsed .clinic-float__collapsed-label{
    display:block;
    text-align:left;
    font-size:15px;
    line-height:1.3;
    white-space:nowrap;
    flex:0 0 auto;
  }

  .clinic-float.is-collapsed .clinic-float__box {
    width: auto;
    max-width: calc(100vw - 20px);
    height: 52px;
    min-height: 0;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 14px;
  }

    .clinic-float__box{
      border-radius: 14px;
      height: auto;
      margin:0 auto;
    }

  .clinic-float.is-collapsed{
    width:auto;
    max-width:none;
  }

  .clinic-float.is-collapsed .clinic-float__close {
    width:38px;
    height:38px;
    font-size:22px;
  }

  .clinic-float__title{
    font-size:16px;
    padding-top:14px;
  }

  .clinic-float__body{
    max-height:70vh;
    overflow:auto;
  }

  .clinic-float:not(.is-collapsed) .clinic-float__body{
    max-height:fit-content;
  }
}
/* =========================
  狭い画面のフロート
========================= */

.speech-center::before {
  left: 50% !important;
}

/* メイン画像下の目次ボタン */
.main-toc-buttons {
/*  width: min(1100px, calc(100% - 32px));
  margin: -36px auto 64px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);*/
  padding: 24px;
  position: relative;
  gap: 14px;
}

.main-toc-buttons .wp-block-button {
  width: 100%;
}

:root :where(.wp-block-button.is-style-snow-monkey-143790) .wp-block-button__link {
  text-align: left;
  gap: var(--_s-2);
}

.main-toc-buttons a {
  background: color-mix(in srgb, var(--wp--preset--color--sm-accent) 5%, transparent);
  font-size: 16px;
/* font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  min-height: 58px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp--preset--color--sm-sub-accent);
  text-align: center;
  border: 1px solid var(--wp--preset--color--sm-accent);
  border-radius: 999px;
*/
  text-decoration: none;
  transition: 0.25s ease;
}
/*
.main-toc-buttons a::after {
  content: "↓";
  margin-left: 8px;
  font-size: 13px;
  line-height: 1;
}
*/

.main-toc-buttons a:hover {
  background: color-mix(in srgb, var(--wp--preset--color--sm-accent) 10%, transparent);
  border-color: var(--wp--preset--color--sm-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px  color-mix(in srgb, var(--wp--preset--color--sm-accent) 5%, transparent);
}
/* =========================================
  top-cal 周辺：レスポンシブ調整
========================================= */

.top_ttl {
  position: absolute;
  top: 10%;
  left: 40%;
}

.top_ttl h2 {
  width: fit-content;
}

.top-cal {
  position: absolute;
  left: 80%;
  bottom: 200px;
  width: clamp(320px, 30vw, 500px);
  font-size: 15px;
  transform: translateX(-50%);
}


/* =========================================
  1200px以下：少しコンパクトに
========================================= */
@media (max-width: 1200px) {
  .top-cal {
    width: min(100%, 390px);
    padding: 22px;
    left: 50%;
  }

  .top-cal th,
  .top-cal td {
    font-size: 0.88rem;
  }
}

/* =========================================
  960px以下：ファーストビュー内で横幅いっぱい寄せ
========================================= */
@media (max-width: 960px) {
  .top-cal {
    position: relative;
    bottom: 20px;
    width: 97%;
    max-width: 620px;
    margin: 22px auto 0;
    padding: 22px;
    border-radius: 22px;
  }

  .top-cal table {
    table-layout: auto;
  }

  .top-cal th,
  .top-cal td {
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

/* =========================================
  640px以下：スマホ最適化
========================================= */
@media (max-width: 640px) {
  .top-cal {
    margin-top: 18px;
    padding: 18px 16px;
  }

  .top-cal h2,
  .top-cal h3,
  .top-cal .top-cal__title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 0.75em;
  }

  .top-cal .top-cal__status,
  .top-cal .business-hours-status,
  .top-cal .bh-status {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.9em;
  }

  .top-cal table {
    font-size: 0.84rem;
  }

  .top-cal th,
  .top-cal td {
    padding: 0.55em 0.35em;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .top-cal th:first-child,
  .top-cal td:first-child {
    width: 44%;
  }

  .top-cal th:nth-child(2),
  .top-cal td:nth-child(2) {
    width: 38%;
  }

  .top-cal th:nth-child(3),
  .top-cal td:nth-child(3) {
    width: 18%;
  }
}

/* =========================================
  480px以下：さらに詰める
========================================= */
@media (max-width: 480px) {
  .top-cal {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .top-cal th,
  .top-cal td {
    font-size: 0.9rem;
    padding: 0.5em 0.25em;
  }

  .top-cal th:nth-child(3),
  .top-cal td:nth-child(3) {
    font-size: 0.74rem;
  }
}

/* =========================================
  360px以下：極小画面対策
========================================= */
@media (max-width: 360px) {
  .top-cal {
    padding: 14px 12px;
  }

  .top-cal th,
  .top-cal td {
    font-size: 0.72rem;
    letter-spacing: -0.02em;
  }
}

/* =========================
  小さめ画面
========================= */



/* 画面サイズ 1200px 以上 */
@media (1200px <= width) {
  .top_tostudent_title {
    position: relative;
    top: 8em;
  }

  .top_tostudent .smb-section-break-the-grid__content {
    top: 8em;
  }
}

/* 画面サイズ 768px 以下 */
@media (820px >= width) {
    .sp_only {
      display: block;
    }
    .footer-nav {
      gap: 10px;
    }
    .c-navbar {
      flex-wrap: wrap;
      padding: 0px 20px 10px;
    }
}

/* 画面サイズ 481px 以下 */
@media (481px >= width) {
    .top-cal-sp .bhv-hours__table {
      font-size: 14px;
    }
    .top-cal-sp .bhv-hours__date {
      width: auto;
    }
    .main-toc-buttons {
      width: calc(100% - 24px);
      grid-template-columns: 1fr;
      gap: 10px;
      margin: -16px auto 40px;
      padding: 16px;
      border-radius: 18px;
  }
    .main-toc-buttons a {
      min-height: 50px;
      font-size: 14px;
  }
}
