@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*--------------------------------------
大塚追加2026/6
--------------------------------------*/
/* 余白：記事本文エリアの上下余白を4emから2emに変更 */
.l-mainContent__inner > .post_content {
    margin: 2em 0 !important;
}

/* テキスト：SWELLボタンのメインテキストを13pxに変更 */
.swell-block-button .swell-block-button__link {
    font-size: 13px !important;
}

/* CTA：ボタンの直上にあるテキスト（マイクロコピー）の色を一括変更 */
/* CTA：中央揃え＆下余白0で、かつSWELLボタンの直上にある段落のみ色を変える */
/* CTA：マイクロコピーの色をボタンの色に連動 */
/* 赤ボタン */
p.has-text-align-center.u-mb-0.u-mb-ctrl:has(+ .swell-block-button.red_),
p.has-text-align-center.u-mb-0.u-mb-ctrl:has(+ .swell-block-button.red_) span {
    color: #F36B69 !important;
}
/* オレンジボタン */
p.has-text-align-center.u-mb-0.u-mb-ctrl:has(+ .swell-block-button.green_),
p.has-text-align-center.u-mb-0.u-mb-ctrl:has(+ .swell-block-button.green_) span {
    color: #eab060 !important;
}
/* 青ボタン */
p.has-text-align-center.u-mb-0.u-mb-ctrl:has(+ .swell-block-button.blue_),
p.has-text-align-center.u-mb-0.u-mb-ctrl:has(+ .swell-block-button.blue_) span {
    color: #338df4 !important;
}
/* CTA：マイクロコピーを太字に */
p.has-text-align-center.u-mb-0.u-mb-ctrl:has(+ .swell-block-button),
p.has-text-align-center.u-mb-0.u-mb-ctrl:has(+ .swell-block-button) span {
    font-weight: 700 !important;
}

/* 余白：SWELLのメインカラー背景（赤背景）が含まれる段落の下余白を狭くする */
p:has(.has-swl-main-background-color) {
    margin-bottom: 10px !important;
}

/* テーブル：基本スタイル（上下左右中央揃え・枠線カラー・フォントサイズ） */
.wp-block-table th,
.wp-block-table td {
    text-align: center !important;     /* 左右の中央揃え */
    vertical-align: middle !important; /* 上下の中央揃え */
    border-color: #d2d2d2 !important;
    font-size: 12px !important;
}
.post_content thead th {
    color: #333 !important;              /* 文字色を読みやすく調整 */
}

/* テーブル：ヘッダーセクション全体の枠線削除 */
.post_content table thead {
    border-bottom: none !important;
}

/* ==========================================
   テーブル：背景色の一括設定（ここへ集約）
   ※編集画面で個別に色が設定されたセルは上書きを許可
   ========================================== */

/* ★変更：ヘッダー用の青色を元の「薄い青」に戻し、文字色を黒（#333333）に指定 */
:root {
    --table-header-blue: #F3F8FD; /* 薄い青背景 */
    --table-header-text: #333333; /* 視認性の高い濃いグレー・黒 */
}

/* 1. ヘッダーセクションの基本背景色（薄い青 ＆ 文字色：黒） */
.post_content thead th:not(.has-background):not([style*="background-color"]) {
    background-color: var(--table-header-blue) !important;
    color: var(--table-header-text) !important; /* 文字色を黒にします */
}

/* 2. 通常の左列の背景色（薄い青） ※1列テーブルや、本文が1行のみの場合は除外 */
.post_content thead tr th:first-child:not(:last-child):not(.has-background):not([style*="background-color"]),
.wp-block-table tbody tr:not(:only-child) th:first-child:not(:last-child):not(.has-background):not([style*="background-color"]),
.wp-block-table tbody tr:not(:only-child) td:first-child:not(:last-child):not(.has-background):not([style*="background-color"]) {
    background-color: #F3F8FD !important;
    color: var(--table-header-text) !important; /* 左列の文字色も黒に統一 */
}

/* 3. 【特定条件】2行かつヘッダー設定ありの場合のみ、1行目をすべて青にする */
.wp-block-table:has(tbody tr:only-child) thead th:not(.has-background):not([style*="background-color"]) {
    background-color: var(--table-header-blue) !important;
    color: var(--table-header-text) !important;
}

/* 4. 【追加】1列しかないテーブルの場合、一番上のみ青にする */
.wp-block-table thead tr th:first-child:last-child:not(.has-background):not([style*="background-color"]),
.wp-block-table:not(:has(thead)) tbody tr:first-child th:first-child:last-child:not(.has-background):not([style*="background-color"]),
.wp-block-table:not(:has(thead)) tbody tr:first-child td:first-child:last-child:not(.has-background):not([style*="background-color"]) {
    background-color: var(--table-header-blue) !important;
    color: var(--table-header-text) !important;
}
/* ========================================== */

/* 画像：スマホ・タブレット表示時に、画像の縦横比を維持して伸びるのを防ぐ */
@media screen and (max-width: 959px) {
    .post_content img,
    .wp-block-image img {
        height: auto !important;
        object-fit: contain;
    }
}

/* 画像：記事本文内のすべての画像を中央揃えにする */
.post_content .wp-block-image {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.post_content .wp-block-image img {
    display: block !important;
    margin: 0 auto !important;
}

/* 施術の詳細：上部余白カット・シンプルスタイル */
.simple-quote-block-inner {
    margin: -1.5em 0 3em; /* 上部・下部の余白調整 */
    padding: 0;           /* 余白なし */
    border: none;         /* 枠線なし */
}

.simple-quote-content {
    font-size: 9px !important;
    color: #999;          /* 【変更】文字色をさらに薄く（#666 → #999） */
    line-height: 1.1;     /* 【変更】行間をさらに詰める（1.3 → 1.1） */
    margin-top: 0;        /* 内側のマージンリセット */
    padding-top: 0;       /* 内側のパディングリセット */
}

/* 
 * 「施術の詳細」専用ブロック（simple-quote-content の移行先）
 * swell_transform.php の C-10 が出力する .cocol-quote-detail を装飾。
 * 小さめフォント＆狭い行間でコンパクトに見せる。
 * 追加CSS（外観 > カスタマイズ > 追加CSS）に貼り付けてください。
 * */

.cocol-quote-detail {
    font-size: 9px;        /* 極小フォント。お好みで 11px〜13px に調整 */
    line-height: 1.1;       /* 行間を狭く。詰めたい場合は 1.4 へ */
    color: #777;            /* 添付のグレー文字に合わせる */
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

/* スマホでさらに小さくしたい場合（任意） */
@media (max-width: 600px) {
    .cocol-quote-detail {
        font-size: 11px;
        line-height: 1.45;
    }
}

/* ブロック内のラベル（【施術名】等）の太字は活かしたいので色だけ少し濃く（任意） */
.cocol-quote-detail strong {
    color: #555;
    font-weight: 700;
}

/* 記事内の画像をスマホで自動縮小（縦横比キープ） */
.post_content img,
.post_content figure.wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
}

/* =================================================
 * 口コミレビューボックス（the sonic 互換）  
 * ============================================ */

/* ---- 外枠 ---- */
.review-box {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 20px;
    margin: 2em 0;
    background: #fff;
}
.review-box.has-review-align-center { text-align: center; }

/* ---- タイトル部（クリニック名・画像・料金など） ---- */
.review-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
}
.review-title a { color: #2a7ac0; text-decoration: none; }   /* 口コミ件数などのリンク＝青 */
.review-title img {
    max-width: 100% !important;
    height: auto !important;
    margin: 12px auto;
    display: inline-block;
}

/* グレーのラベル（料金 / GoogleMap口コミ）※未変換クラスのフォールバック */
.review-box .label-gray {
    display: inline-block;
    background: #eceff1;
    color: #333;
    border-radius: 4px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 4px;
}
/* 赤文字（料金）※未変換クラスのフォールバック */
.review-box .bold-red { color: #e8483b; font-weight: 700; }

/* ---- 各レビュー行（ラベル左＋星右） ---- */
.review-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    padding: 14px 2px;
    border-top: 1px solid #ececec;
}
.review-inner:first-of-type { margin-top: 6px; }
.review-label { flex: 1 1 auto; line-height: 1.85; }
.review-label > strong { font-size: 15px; }

/* ◎ いい口コミ / △ 気になる口コミ の記号色（sonicカラークラスの代替） */
.has-tsnc-main-color-color { color: #2bb3a3; }   /* ◎ メインカラー（必要なら変更） */
.has-tsnc-link-color-color { color: #f18f29; }   /* △ リンクカラー（必要なら変更） */

/* ---- 星評価（Font Awesome 不要・CSSのみ） ---- */
.review-rate { flex: 0 0 auto; white-space: nowrap; padding-top: 2px; }
.review-star { display: inline-flex; font-size: 17px; line-height: 1; letter-spacing: 1px; }
.review-star i {
    font-style: normal;
    display: inline-block;
    position: relative;
    width: 1em;
    height: 1em;
}
/* ベースは空星（グレー） */
.review-star i::before {
    content: "★";
    color: #dcdcdc;
    position: absolute;
    left: 0;
    top: 0;
}
/* 実線星（塗り）＝オレンジ */
.review-star i.fas.fa-star::before { color: #f5a623; }
/* 半分星＝左半分だけオレンジ */
.review-star i.fa-star-half-alt::after {
    content: "★";
    color: #f5a623;
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
}

/* ---- スマホ調整 ---- */
@media (max-width: 600px) {
    .review-box { padding: 16px; }
    .review-inner { gap: 8px; }
    .review-star { font-size: 15px; }
}

/* =================================================
   口コミ comment-box（旧sonic独自ブロック → wp:html化）の装飾
   外観 → カスタマイズ → 追加CSS に貼り付け（既存の 追加CSS_整理版.css に追記でも可）
   ※ Font Awesome が読み込まれていなくても星が表示されるよう、★/☆ をCSSで描画します。
   ================================================= */

.comment-box {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 1em 0;
  background: #fff;
  font-size: 12px;
}
.comment-box .comment-title {
  text-align: center;
  margin-bottom: 2px;
}
.comment-box .comment-img {
  display: inline-block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  font-size: 0;
}
.comment-box .comment-title-text > p:empty {
  display: none;
  margin: 0;
}
.comment-box .comment-star {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 2px;
}
.comment-box .comment-star i {
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: normal !important;
  color: #f6b500;
  display: inline-block;
}
.comment-box .comment-star i.fas.fa-star::before { content: "\2605" !important; }
.comment-box .comment-star i.far.fa-star::before { content: "\2606" !important; }
.comment-box .comment-contents {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
}
.comment-box .comment-contents p {
  margin: 0;
}
.comment-box .comment-contents mark.has-tsnc-black-color {
  background: transparent !important;
  color: inherit;
}

/* 
   テーブル：PCでは「スクロールできます」非表示
*/

@media (min-width: 960px) {
    .c-scrollHint {
        display: none !important;
    }
}

/*  ========================================
   元のCSS
========================================
*/
/* 
監修者執筆者ブロック
*/
/* プロフィール全体の囲み枠 */
.profile {
    background-color: #FFF9F9; /* ごく薄いピンク（背景色） */
    padding: 40px 30px;        /* 内側の余白（上下 左右） */
    text-align: center;         /* 全体を中央寄せに */
    margin-bottom: 40px;       /* 下のコンテンツとの余白 */
    border-radius: 4px;         /* 角をほんの少し丸く（お好みで） */
}

/* プロフィール画像（丸くする設定） */
.profile_image img {
    width: 110px;               /* 画像の横幅（適宜微調整してください） */
    height: 110px;              /* 画像の縦幅（正方形に指定） */
    object-fit: cover;          /* 画像が歪まないように切り抜き */
    border-radius: 50%;         /* 完全な正円にする */
    margin: 0 auto 20px auto;   /* 中央に配置して、下に20pxの余白 */
    display: block;
    float: none !important;     /* WordPressの「alignleft（左寄せ）」を打ち消す */
}

/* プロフィールテキスト全体の調整 */
.profile_text {
    max-width: 700px;           /* テキストが横に広がりすぎないように制限 */
    margin: 0 auto;             /* 中央配置 */
    text-align: left;           /* 文章自体は左詰めで読みやすく */
}

/* 監修者名 */
.profile_text_name {
    font-size: 14px;            /* 文字の大きさ */
    font-weight: bold;          /* 太字 */
    color: #333333;             /* 濃いグレー */
    margin-bottom: 12px;        /* 説明文との隙間 */
}

/* 説明文 */
.profile_text_description {
    font-size: 11px;            /* 文字の大きさ */
    line-height: 1.7;           /* 行間を広げて読みやすく */
    color: #4a4a4a;             /* 少し優しめの黒・グレー */
}

/* 説明文の中のリンク（青文字） */
.profile_text_description a {
    color: #3498db;             /* リンクの青色 */
    text-decoration: none;      /* 下線を消す */
}

.profile_text_description a:hover {
    text-decoration: underline; /* マウスを乗せたら下線を表示 */
}

/*--------------------------------------
大塚追加　Arkhe CSS Editor統合
--------------------------------------*/
/* ロゴまわり */

.underline {
  margin-left: 4px;
  text-decoration: underline;
}
/*  */
.entry-content {
    padding: 8px;
}
/* ユーザーカード */

/* 口コミスライダー */
.c-scrollHint {
    -webkit-animation: FloatHorizontal 1.5s ease-in-out infinite alternate;
    animation: FloatHorizontal 1.5s ease-in-out infinite alternate;
    margin-bottom: 2px!important;
    text-align: right;
    position: relative;
    top: 6px;
}
@keyframes FloatHorizontal {
    0% {
        transform: translateX(-5px);
    }
    100% {
        transform: translateX(-20px);
    }
}
.yazirusi {
    margin-left: -1px;
    width: 24px;
    height: 6px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    transform: skew(45deg);
    display: inline-block;
    bottom: 3px;
    position: relative;
}

.slider_content_review {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 4em;
}
.slider_content_review .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 50px;
}

.slider_content_review .swiper-pagination-bullet {
  background-color: #fff;
  border: 1px solid #FF8E8D;
  opacity: 1;
}

.slider_content_review .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #FF8E8D;
  border: 0 solid #FF8E8D;
}

/* 星 */

.review-card-container {
  max-width: 400px;
  background: #F8FFFF;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  margin: 40px 0.5em;
  position: relative;
}

.review-card-header {
  display: flex;
  align-items: flex-start;
}

.review-card-image {
  margin-right: 15px;
  position: relative;
  top: 0px;
  max-width: 83px;
}

.review-card-header img {
    width: 80px;
    height: auto;
    background: #FFDFDF;
    border: 2px solid #FE9190;
    border-radius: 100%;
}

.review-card-source {
  font-size: 10px;
  position: initial;
  /*top: 118px;
  left: 20px;*/
  margin-bottom: 2em;
}

.review-card-rating {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-right: 10px;
  font-size: 1.5em;
}

.review-card-clinic-info {
  flex-grow: 1;
  text-align: left;
}

.review-card-label {
  position: absolute;
  top: 27px;
  right: 16px;
  color: #FF8E8D;
  font-weight: bold;
  padding: 0px 16px;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid #FF8E8D;
  background: #fff;
}

.review-card-content {
  padding: 0 0 10px 0;
  font-size: 14px;
  text-align: left;
  position: relative;
  max-height: 10em;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.review-card-content::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6em;
  background: linear-gradient(to top,
      rgba(249, 255, 255, 1) 0%,
      rgba(249, 255, 255, 1) 30%,
      rgba(255, 255, 255, 0) 100%
    );
  pointer-events: none;
}

.review-card-content::after {
  content: "続きを読む";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding: 0.5em;
  font-size: 14px;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  pointer-events: auto;
}

.review-card-content.expanded {
  max-height: max-content;
}

.expanded .review-card-content {
  max-height: none;
}

.review-card-content.expanded::before {
  background: rgba(255, 255, 255, 0);
}

.review-card-content.expanded::after {
  content: "閉じる";
}

/* bad */
.slider_content_review.bad .swiper-pagination-bullet {
  border: 1px solid #6B85F2;
}

.slider_content_review.bad .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #6B85F2;
}

.slider_content_review.bad .review-card-label {
  color: #6B85F2;
  border: 1px solid #6B85F2;
}

.slider_content_review.bad .review-card-header img {
    background: #D7E1FF;
    border: 2px solid #6B85F2;
}

@media screen and (max-width: 480px) {
    .review-card-header img {
        width: 60px;
    }
    .review-card-container {
        padding: 12px;
    }
    .c-scrollHint {
        top: -17px;
        font-size: .8em;
    }
    .review-card-rating {
        font-size: 1.1em;
    }
    .review-card-label {
        top: 16px;
        font-size: .7em;
    }
    .review-card-name {
        font-size: .8em;
    }
    .review-card-image {
        top: 0px;
    }
    .review-card-source {
        top: 138px;
        left: 12px;
    }
}
.review-card-name {
  display: flex;
  align-items: flex-start; /* 要素を上揃えにする */
}

.clinic-label, .treatment-label {
  text-align: left; /* ラベルは左揃え */
  flex-shrink: 0; /* ラベルのサイズが縮小されないようにする */
  flex-basis: 30%; /* ラベルは全体の35%の幅を占める */
}

.clinic-label {
  flex-basis: 30%; /* 'クリニック：' のラベルは全体の50%の幅を占める */
}

.clinic-name, .treatment-name {
  text-align: left; /* 名称は左揃え */
  flex-grow: 1; /* 名称は残りのスペースを埋める */
}

.clinic-name {
  flex-basis: 50%; /* 'クリニック名' は全体の50%の幅を占める */
  text-align: left; /* 'クリニック名' は左揃え */
}

.treatment-name {
  flex-grow: 1; /* '施術名' は残りのスペースを埋める */
  text-align: left; /* '施術名' は右揃え */
}

br-sp {
  display: none;
}

@media screen and (max-width: 480px) {
    .clinic-label, .treatment-label {
  flex-basis: 35%; /* ラベルは全体の35%の幅を占める */
}

.clinic-label {
  flex-basis: 35%; /* 'クリニック：' のラベルは全体の50%の幅を占める */
}
  br-sp {
    display: block; /* 480px以下でのみ改行を表示 */
  }
}
/* 画像の高さを揃える */
.author .attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    height: 224px!important;
    object-fit: cover;
}

/* QA */
.qa-btn {
    border-radius: 3px;
    border: 1px solid #E8E8E8;
    background: #FFF;
    box-shadow: 3px 3px 3px 1px rgba(0, 0, 0, 0.10);
    padding: 1.5em 2.5em 1.5em 1.5em;
    font-weight: bold;
    position: relative;
    margin-bottom: 1.5em;
}
.qa-caption {
    color: #F46B69;
    font-size: 16px;
    margin-right: 0.5em;
}
.qa-btn:hover {
    border: 3px solid #ffb6b5;
}
.qa-btn .link-icon {
    position: absolute;
    right: 12px;
    top: 53%;
    transform: translateY(-50%);
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(https://clinic.beauty-park.jp/wp-content/uploads/2023/08/icon_external-link.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.qa-url {
    color: #333;
}

/* 関連記事 */

/*
 * 設定
 */


/*PS用改行*/

.breadcrumb li {
    overflow-wrap: anywhere;
}

.search-submit svg {
    width: 20px;
    height: 20px;
}

/* 検索入力中のバツボタンの表示*/
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* 表示範囲*/
.home .entry-content {
    padding: 0;
}

@media (max-width: 1029px) {
    .home .full-width-in {
        max-width: 100%;
        padding: 0 16px;
    }
    .fv .full-width-in {
        padding: 0;
    }
}
/* ヘッダー */
#header {
    box-shadow: 0px 3px 3px 0px #00000040;
}

/* ロゴ */

/* ハンバーガーメニュー */
#header {
    color: #B2B0B0;
}
.svg-inline--fa.fa-bars {
    font-size: 2em!important;
}
i.fas.fa-bars {
    font-size: 2em!important;
}

.overlay {
    background: rgba(0,0,0,.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 98;
    display: none;
}

/* 中身 */
@media screen and (max-width: 1029px) {
    .search-form {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 1029px) {
    ::-webkit-full-page-media, :future, :root .search-form {
        margin-bottom: 8px;
    }
}

@media screen and (min-width: 1030px) {
    .search-form {
        margin-bottom: 4px;
    }
}

.search-form-wrap.sp {
    position: relative;
}

.search-form-wrap.sp .search-field {
    box-shadow: 2px 2px 2px 0px #00000040;
    border-radius: 10px!important;
    padding: 8px 12px!important;
    font-size: 1.5em;
}

.search-form-wrap.sp .search-field::-webkit-input-placeholder {
    color: #D2D2D2;
    font-size: 1em;
    text-align: center;
    position: relative;
    top: 0;
}
.search-form-wrap.sp .search-submit {
    background: #ff000000!important;
    color: #f46b69!important;
    font-size: 1.5em;
    width: 20px;
    margin-right: 6px;
}
/* リスト */

.list-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #DDDDDD;
    padding: 10px 0;
}

/*
 * 全幅
 */

 /* コンテンツエリア */
.full-width {
    padding-bottom: 0!important;
    padding-top: 0!important;
}
.wide-area {
    padding-top: 6em!important;
    padding-bottom: 6em!important;
}

.fv .full-width-in {
    max-width: 100%!important;

}

.home .entry-header {
    display: none;
}
.home #content {
    margin: 0;
}

@media (max-width: 1029px) {
    .full-width.fv {
        padding: 0!important;
    }
    .full-width {
        padding: 0!important;
    }
    .wide-area {
        padding-top: 6em!important;
        padding-bottom: 6em!important;
    }

    .margin-bottom-20.margin-bottom-20 {
        margin-bottom: 3em!important;
    }
    .fv .swiper-button-next,
    .fv .swiper-button-prev {
        display: none!important;
    }
}
@media (max-width: 767px) {
    .full-width {
        width: 100vw!important;
    }
}

/* 検索 */
.fv .swiper-container.swiper-initialized.swiper-horizontal {
    position: relative;
}

.swiper-container .search-field {
    box-shadow: 2px 2px 2px 0px #00000040;
    border-radius: 10px!important;
    padding: 8px 12px!important;
    font-size: 1.5em;
}

.swiper-container .search-field::-webkit-input-placeholder {
    color: #D2D2D2;
    font-size: 1em;
    text-align: center;
    position: relative;
    top: 0;
}
.swiper-container .search-submit {
    background: #ff000000!important;
    color: #f46b69!important;
    font-size: 1.5em;
    width: 20px;
    margin-right: 0.5em!important;
}
@media (max-width: 1029px) {
    .swiper-container .search-submit {
        margin-right: 0;
    }
    .swiper-container .search-field {
        padding: 0px 12px!important;
        font-size: 1em;
    }
    
}
/*
 * スライダー
 */
.swiper-container .swiper-slide {
    width: 100%;
    display: flex;
    flex-shrink: 0;
    position: relative;
    transition-property: transform;
    overflow: hidden;
}
.swiper-container .swiper-wrapper {
    box-sizing: content-box;
    display: flex;
    height: 100%;
    position: relative;
    transition-property: transform;
    width: 100%;
    z-index: 1;
}
.swiper-container .swiper-pagination {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-top: 16px;
    width: 100%;
}
.swiper-container .swiper-bullet {
    box-shadow: none;
    cursor: pointer;
    display: flex;
    text-decoration: none;
}
.swiper-container .swiper-bullet:before {
    background: #c3c4c7;
    border-radius: 10px;
    content: "";
    height: 10px;
    margin: 4px;
    transition: background .2s ease;
    width: 10px;
}
.swiper-container .swiper-pagination {
	bottom:0!important;
}

.swiper-container .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #F46B69;
    opacity: 1;
}
.swiper-container .swiper-slide img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
}
/*文字部分*/
.swiper-container .swiper-slide {
    max-height: 777px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/*矢印関連*/
.swiper-container .swiper-button-next,
.swiper-container .swiper-button-prev {
    background: rgb(255 255 255 / 0%);
    color: #F46B69;
}
.swiper-container  .swiper-button-next:after,
.swiper-container  .swiper-button-prev:after {
    font-weight: bold;
    font-size: 1.4em;
}
.swiper-container .swiper-button-next, .swiper-container .swiper-button-prev {
    color: #F46B69;
    background-color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: .7;
}
@media (max-width: 1029px) {
    
    .swiper-controls {
        width: 100%!important;
    }

}


/*
 * ボタン
 */

/* モバイル */
@media screen and (max-width: 1029px) {
    .wp-block-button__width-50 {
        width: 100%!important;
    }
}
/*
 * タブ
 */

.tabs.cat {
    font-size: 1.2em;
}
.tab-en {
    display: block;
    font-size: .6em;
    position: relative;
    bottom: 8px;
}
.tabs.cat .tab {
    padding: 0.3em 0 0 0;
}
.tabs {
  margin: 3em 0 2em 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.balloon {
  color: #7D7D7D;
  position: relative;
  background: #D9D9D9;
  font-size: 1.5em;
  padding: .5em;
  cursor: pointer;
  width: 50%;
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
  background: #F5F5F5;
  border: 1px solid #D9D9D9
}

.balloon.active {
  box-shadow: 5px 5px 5px 0px #41414140;
  background: #F46B69;
  color: #fff;
  border: 0px solid #D9D9D9;
  z-index: 5;
}

.balloon:after {
  display: none;
}

.balloon.active:after {
  display: block;
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-width: 20px 12px 0 12px;
  border-color: #F46B69 transparent transparent transparent;
  filter: drop-shadow(5px 5px 5px rgba(65, 65, 65, 0.25));
}
@media (max-width: 1029px) {
    .tabs {
        width: 100vw;
        margin: 1em -15px 1em -15px;
    }
    .tab.cat {
        font-size: 20px;
        padding-top: 4px!important;
    }
    .tab-en {
        font-size: 10px;
    }
    
    .balloon {
        font-size: 1em;
    }
    .tab.cat.balloon {
        font-size: 20px;
    }
    .balloon.active:after {
        bottom: -14px;
        border-width: 20px 12px 0 12px;
    }
    .tab.cat.balloon.active:after {
        bottom: -10px;
        border-width: 10px 6px 0 6px;
    }
}

/*
 * カテゴリーカード
 */
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .5em;
}

.tab.cat {
    padding: 0;
    padding-top: 0.5em;
}

@media (max-width: 1029px) {
    .content {
        justify-content: space-between;
    }

}

/* qaの選択 */

/*
 * ブログカード
 */

/*その他*/

/*
 * コンテンツスライダー
 */

.swiper-controls {
    position: relative;
    display: inline-block;
}

.swiper-controls {
    position: absolute;
    display: inline-block;
    width: 1100px;
    top: 50%;
}

.blog-card {
    display: block;
    position: relative;
    background-color: #fff;
    box-shadow: 3px 3px 3px 1px #0000001A;
    padding: 1em 1em 0 1em;
    /* height: 100%; */
    height: 390px;
}

.blog-card img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 240px!important;
}

/* モバイル */
@media screen and (max-width: 1029px) {
    .swiper-controls {
        display: none;
    }
    
}

/*
 * 新着記事
 */

.link-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(https://clinic.beauty-park.jp/wp-content/uploads/2023/08/icon_external-link.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 8px;
}
@media (max-width: 1029px) {
    .link-icon {
        bottom: 0;
    }
}
/*
 * 人気ワード
 */

/*
 * 会社情報
 */
.company-area {
    margin-bottom: 0!important;
    padding-top: 6em!important;
    padding-bottom: 6em!important;
}
.company-area .full-width-in {
    max-width: 400px;
}
.company-area table, .company-area .wp-block-table td, .company-area .wp-block-table th {
    border: 0px solid;
}
.company-area .wp-block-table td {
    text-align: left;
}
.company-area table tr td:nth-of-type(1) {
    font-weight: bold;
    width: 1%;
    white-space: nowrap;
}
 .company-area table tr td:nth-of-type(2) {
    width: 1%;
    white-space: nowrap;
}
.company-area table a {
    text-decoration-line: underline;
    color: #333!important;
}
/*
 * フッター
 */

/* YMMA */

/* コピーライト */

/* 検索結果 */

/* ライター情報 */
.author-card {
    display: flex;
    padding: 1em;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #DBDBDB;
    margin-bottom: 2em;
}

.author-card-left {
    flex: 1; /* 左側を1/4の幅に設定 */
    margin-right: 20px;
    position: relative;
    text-align: center;
}

.author-card-left img {
    border-radius: 50%;
    height: auto;
    width: 50%;
    border: 1px solid #DBDBDB;
    margin: 0 auto;
}

.author-card-left .autor-role {
    background: #F46B69;
    border-radius: 3px;
    color: #fff;
    max-width: 100px;
    margin: 0 auto;
    font-size: .85em;
}

.author-card-right {
    flex: 3; /* 右側を3/4の幅に設定 */
    font-size: .85em;
}

.author-card-right .autor-title {
    color: #F46B69;
    font-weight: bold;
    font-size: 1.1em;
}

.author-card-right .autor-name {
    font-size: 1.5em;
    font-weight: bold;
    position: relative;
    bottom: 6px;
}

.author-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.read-more, .read-less {
    color: #F46B69;
    cursor: pointer;
    display: block;
    text-decoration: underline;
    text-align: right;
    position: relative;
    top: 8px;
}

.author-card-right a {
    color: #727272;
    display: inline-block;
    text-decoration: underline;
}
.author-description-container {
    overflow: hidden;
    max-height: 80px;
    transition: max-height 0.3s ease;
}

@media screen and (max-width: 768px) {
    .author-card-left img {
        width: 85%;
    }
    .author-card-left .autor-role {
        font-size: .85em;
    }
    .author-card-right {
        font-size: .8em;
    }
}

ol[class*=is-style-list] li,ul[class*=is-style-list] li {
    padding: .7em 0;
    position: relative
}

/* =============================================
追加修正 2025/5/6
============================================= */

.sonic-box.is-style-titlebox-mark1 {
    padding: 1.2em 0.8em 1.2em 1.7em;
}

/* テーブルセル余白調整 */
.wp-block-sbd-table td,.wp-block-sbd-table th {
	padding: .55em;
}

/* CTA内リスト余白調整 */
.sonic-box .ob-contents ol[class*=is-style-list] li,
.sonic-box .ob-contents ul[class*=is-style-list] li {
	padding: .2em 0;
	line-height: 1.6;
}

.sonic-box .ob-contents ul[class*=is-style-list-simple] li:before {
    top: 12px;
    height: 6px;
    width: 6px;
    left: -18px;
}

.sonic-box.is-style-titlebox-mark1 ol[class*=is-style-list],
.sonic-box.is-style-titlebox-mark1 ul[class*=is-style-list] {
    padding-left: .5em;
}

@media screen and (max-width: 768px) {

	.sonic-box .ob-contents ol[class*=is-style-list] li,
	.sonic-box .ob-contents ul[class*=is-style-list] li {
		padding: .4em 0;

	}
	.sonic-box .ob-contents ul[class*=is-style-list-simple] li:before {
        top: 13px;
        left: -16px;
	}

}

/* 外部リンクアイコンのスタイル */
.sonic-box .ob-contents .wp-block-sbd-btn .sbd-btn a::after {
        /* 既存の矢印アイコンを上書き */
        content: "" !important;
        width: 1em !important;
        height: 1em !important;
        border: 0 !important;
        transform: none !important;
        margin-left: 0.5em !important;
        position: absolute !important;
        right: 1em !important;
        top: 50% !important;
        margin-top: -0.6em !important;

        /* 新しい外部リンクアイコンを設定 */
        background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJfeDMyXyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0id2lkdGg6IDQ4cHg7IGhlaWdodDogNDhweDsgb3BhY2l0eTogMTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+CS5zdDB7ZmlsbDojNEI0QjRCO308L3N0eWxlPjxnPgk8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOTYsMHY0MTZoNDE2VjBIOTZ6IE00NzIsMzc2SDEzNlY0MGgzMzZWMzc2eiIgc3R5bGU9ImZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsiPjwvcGF0aD4JPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSI0MCw0NzIgNDAsMjk2IDQwLDEzNiA0MCw5NiAwLDk2IDAsNTEyIDQxNiw1MTIgNDE2LDQ3MiAzNzYsNDcyICIgc3R5bGU9ImZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsiPjwvcG9seWdvbj4JPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIyMzIuODEyLDMxMi44MjkgMzUwLjY3MSwxOTQuOTY5IDM1MC42NzEsMjc5Ljc2NiAzOTAuNjcxLDI3OS43NjYgMzkwLjY3MSwxMjYuNjg4IDIzNy41OTQsMTI2LjY4OCAyMzcuNTk0LDE2Ni42ODggMzIyLjM5LDE2Ni42ODggMjA0LjUzMSwyODQuNTQ3ICIgc3R5bGU9ImZpbGw6IHJnYigyNTUsIDI1NSwgMjU1KTsiPjwvcG9seWdvbj48L2c+PC9zdmc+");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
}

/* レビューボックスGOOD＆BADバッジ（非表示） */
span.reviewbox-card-label.good-badge,
span.reviewbox-card-label.bad-badge {
    display: none;
}

/* レビューが1件（スクロール不要）のとき「スクロールできます」を非表示 */
[data-swiper-initialized="review"]:has(.swiper-pagination-lock) .c-scrollHint {
  display: none;
}

/* ===== ライター執筆記事カード（user_posts_blog_card）用CSS ショートコード===== */
.writer-posts{
	display:grid;
	gap:32px 24px;
	grid-template-columns:repeat(3,1fr);
	margin:24px 0;
}
.writer-posts--cols2{ grid-template-columns:repeat(2,1fr); }
.writer-posts--cols1{ grid-template-columns:1fr; }
.writer-posts--cols4{ grid-template-columns:repeat(4,1fr); }

.writer-posts__card{ margin:0; }
.writer-posts__link{
	display:flex;
	flex-direction:column;
	color:inherit;
	text-decoration:none;
}
.writer-posts__link:hover .writer-posts__title{ color:var(--swl-main-color,#e5546a); }

/* サムネイル */
.writer-posts__thumb{
	position:relative;
	display:block;
	aspect-ratio:16/10;
	overflow:hidden;
	border-radius:8px;
	background:#e9e9e9;
}
.writer-posts__thumb img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
	transition:transform .4s ease;
}
.writer-posts__link:hover .writer-posts__thumb img{ transform:scale(1.05); }
.writer-posts__noimg{ display:block; width:100%; height:100%; background:#d9d9d9; }

/* カテゴリーバッジ（右上ピル） */
.writer-posts__cat{
	position:absolute;
	right:8px; bottom:8px;
	display:inline-flex;
	align-items:center;
	gap:4px;
	max-width:calc(100% - 16px);
	padding:4px 12px;
	font-size:12px;
	font-weight:700;
	line-height:1.4;
	color:#fff;
	background:var(--swl-main-color,#e5828d);
	border-radius:999px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.writer-posts__cat::before{
	content:"";
	width:13px; height:13px;
	flex:0 0 auto;
	background:currentColor;
	-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z'/></svg>") center/contain no-repeat;
	        mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M10 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z'/></svg>") center/contain no-repeat;
}

/* 本文 */
.writer-posts__body{ display:block; padding-top:12px; }
.writer-posts__title{
	display:block;
	font-size:16px;
	font-weight:700;
	line-height:1.5;
	color:#333;
	transition:color .2s ease;
}
.writer-posts__excerpt{
	margin:8px 0 0;
	font-size:12.5px;
	line-height:1.7;
	color:#777;
	/* 5行でクランプ */
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:5;
	overflow:hidden;
}
.writer-posts__date{
	display:inline-flex;
	align-items:center;
	gap:5px;
	margin-top:12px;
	font-size:12px;
	color:#999;
}
.writer-posts__clock{
	width:13px; height:13px;
	flex:0 0 auto;
	background:currentColor;
	-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 18a8 8 0 110-16 8 8 0 010 16zm.5-13H11v6l5.2 3.1.8-1.3-4.5-2.7z'/></svg>") center/contain no-repeat;
	        mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 18a8 8 0 110-16 8 8 0 010 16zm.5-13H11v6l5.2 3.1.8-1.3-4.5-2.7z'/></svg>") center/contain no-repeat;
}
.writer-posts-empty{ color:#777; }

/* レスポンシブ */
@media (max-width:900px){
	.writer-posts,
	.writer-posts--cols4{ grid-template-columns:repeat(2,1fr); gap:28px 16px; }
}
@media (max-width:600px){
	.writer-posts,
	.writer-posts--cols2,
	.writer-posts--cols3,
	.writer-posts--cols4{ grid-template-columns:1fr; }
	.writer-posts__excerpt{ -webkit-line-clamp:3; }
}

/* =========================================================
   自作パンくずリスト用CSS（控えめ・背景に馴染ませる版）
   外観 → カスタマイズ → 追加CSS に貼り付け（前回分と差し替え）
   ========================================================= */
.c-mybread {
	width: 100%;
	background: transparent;   /* グレー帯をやめ、ページ背景に馴染ませる */
	padding: 4px 0;
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	color: #999;               /* 目立たない薄いグレー文字 */
}
/* 幅・左右余白は SWELL の l-container に任せる（タイトルと左端が揃う）
   ここでは項目の並びだけ指定 */
.c-mybread__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 6px;
}
.c-mybread__item a {
	color: #999;
	text-decoration: none;
}
.c-mybread__item a:hover {
	color: #666;
	text-decoration: underline;
}
.c-mybread__item.is-current {
	color: #999;
}
.c-mybread__sep {
	color: #ccc;
	font-size: 11px;
}
.c-mybread .fa-home {
	color: #aaa;
}

/* ---------------------------------------------------------
   パンくず〜本文タイトルの余白を詰める
   隙間は本文エリア(#content)側の上余白なので、そちらを詰める
   --------------------------------------------------------- */
#content {
	padding-top: 0 !important;
}
#content > :first-child {
	margin-top: 0 !important;
}
#content .l-mainArea,
#content .p-main,
#content main {
	padding-top: 0 !important;
}
#content .l-mainArea > :first-child,
#content main > :first-child {
	margin-top: 0 !important;
}

/* 長くなったときに横スクロール（見切れ対策・任意） */
@media (max-width: 600px) {
	.c-mybread__inner {
		flex-wrap: nowrap;
		overflow-x: auto;
		white-space: nowrap;
		-webkit-overflow-scrolling: touch;
	}
	.c-mybread__inner::-webkit-scrollbar {
		display: none;
	}
}

/* ==========================================
   特定の段落（is-style-para-mark1）を赤枠で囲む
   ========================================== */
.post_content .is-style-para-mark1 {
    border: 1px solid #ffb3b3 !important; /* 赤枠（少し優しめの赤・ピンク系） */
    padding: 24px !important;              /* 内側の余白（画像に合わせて少し広め） */
    border-radius: 4px !important;         /* 角をほんの少し丸く（不要なら削除してください） */
    background-color: #ffffff !important;  /* 背景色を白にしてすっきり見せる */
    margin-bottom: 24px !important;        /* 下の要素との隙間 */
}
/* ==========================================
   投稿ページのタイトル（h1）をさらにすっきり細くする
   ========================================== */
.c-postTitle__ttl {
    font-weight: 300 !important; /* normal(400)よりさらに細い「ライト」を指定 */
}
/* ==========================================
   レビューボックス調整
   ========================================== */
.review-box {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 20px;
    margin: 2em auto;      /* ← 0 だったのを auto に（中央寄せ） */
    background: #fff;
    max-width: 460px;      /* ← 追加：スマホと同じ幅感に揃える */
}

/* リストの「・」だけを指定して色を変える */
.wp-block-list li::marker {
    color: #ff6600; /* ←ここにお使いのサイトのメインカラー（カラーコード）を入れてください */
}

/* 比較テーブル内の画像サイズを揃える */
.wp-block-table td img {
  width: 130px !important;   /* すべての画像をこの幅に固定 */
  max-width: 100%;           /* 万一セルより大きい時だけ縮む */
  height: auto;
}