@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
*/

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500&display=swap');

/* =========================================
   基本変数
========================================= */
:root {
  --color-navy: #001770;
  --color-gold: #D4A24C;
  --color-red: #B32547;
  --color-bg: #F5F5F0;
  --color-bg-soft: #F9F9F4;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-text-soft: #444444;
  --color-border: #E4E1D8;
  --color-line: rgba(0, 23, 112, 0.16);

  --font-body: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-heading: "Shippori Mincho", serif;
  --font-sub: "Noto Serif JP", serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.05);

  --content-width: 1000px;
  --swl-font_family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

/* =========================================
   全体設定
========================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body) !important;
  font-size: 16.2px;
  line-height: 2.02;
  letter-spacing: 0.04em;
  color: var(--color-text);
  background-color: var(--color-bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

/* 本文系 */
body,
p,
li,
td,
th,
blockquote,
.post_content,
.p-entry__body,
.single-post .content,
.single-post .post_content,
.single-post .p-entry__body,
.wp-block-paragraph,
.wp-block-list,
.wp-block-table {
  font-family: var(--font-body) !important;
  color: var(--color-text);
}

/* 大きい文字・見出しは明朝 */
h1, h2, h3, h4, h5,
.section-title,
.main-text,
.p-mainVisual__slideTitle,
.p-mainVisual__title,
.l-hero__title,
.c-hero__title,
.hero-title,
.catchphrase,
.c-postTitle {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* サブ強調 */
.price,
.highlight,
.serif,
.section-lead {
  font-family: var(--font-sub) !important;
  font-weight: 500;
}

/* 見出しサイズ */
h1 { font-size: 29px; }
h2 { font-size: 26px; }
h3 { font-size: 21px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }

p {
  margin: 0 0 1.45em;
}

a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: 0.25s ease;
}
a:hover {
  color: var(--color-red);
  text-decoration: none;
}
a:visited {
  color: #4A4A88;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================
   ヘッダー・フッター
========================================= */
.header,
.l-footer {
  background-color: var(--color-navy);
  color: #fff;
}

/* =========================================
   ボタン
========================================= */
.btn,
a.btn,
button,
.wp-element-button {
  display: inline-block;
  background-color: var(--color-gold);
  color: #fff !important;
  padding: 0.82em 1.6em;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  text-decoration: none !important;
  transition: 0.25s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.btn:hover,
a.btn:hover,
button:hover,
.wp-element-button:hover {
  background-color: var(--color-red);
  color: #fff !important;
  transform: translateY(-1px);
}

/* =========================================
   メインビジュアル
========================================= */
.main-visual {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.main-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 23, 112, 0.60);
  z-index: 1;
}

.main-text,
.p-mainVisual__title,
.p-mainVisual__slideTitle {
  position: relative;
  z-index: 2;
  font-size: 34px;
  line-height: 1.35;
  color: #fff !important;
  margin-bottom: 0.6em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

/* サブテキスト */
.sub-text,
.p-mainVisual__catch {
  position: relative;
  z-index: 2;
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.9;
  color: #fff !important;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1em;
  opacity: 0.95;
}

/* =========================================
   セクション共通
========================================= */
.greeting-area,
.reason-section,
.clinic-photo-section,
.cta-section {
  padding: 80px 20px;
}

.greeting-area {
  background-color: var(--color-bg-soft);
  text-align: center;
}

.reason-section {
  background-color: #F8F8F3;
}

.clinic-photo-section {
  background-color: var(--color-white);
}

.cta-section {
  background-color: var(--color-bg);
  text-align: center;
}

.section-title {
  font-size: 28px;
  color: var(--color-navy);
  margin-bottom: 18px;
}

.section-lead {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 28px;
  line-height: 1.9;
}

.section-message,
.cta-text {
  font-size: 16px;
  color: var(--color-text-soft);
  line-height: 2.0;
}

/* =========================================
   選ばれる理由
========================================= */
.reason-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.reason-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  box-shadow: var(--shadow-card);
}

.reason-item h3 {
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.6;
}

.reason-item p {
  font-size: 15.5px;
  color: var(--color-text-soft);
  line-height: 1.95;
  margin-bottom: 0;
}

/* =========================================
   院内紹介
========================================= */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.photo-item img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.photo-item p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--color-text-soft);
  line-height: 1.8;
}

/* =========================================
   CTA
========================================= */
.cta-buttons a {
  display: inline-block;
  margin: 0 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
}

.btn-line {
  background-color: #06C755;
  color: #fff !important;
}
.btn-line:hover {
  opacity: 0.88;
  color: #fff !important;
}

.btn-tel {
  background-color: var(--color-navy);
  color: #fff !important;
}
.btn-tel:hover {
  opacity: 0.88;
  color: #fff !important;
}

/* =========================================
   固定追尾バー（スマホ）
========================================= */
.fixed-reserve-bar {
  display: none;
}

@media screen and (max-width: 768px) {
  .fixed-reserve-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 245, 240, 0.96) !important;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-around;
    gap: 10px;
    padding: 10px 12px;
    z-index: 9999;
    border-top: 1px solid rgba(0, 23, 112, 0.10);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
  }

  .reserve-btn {
    flex: 1;
    text-align: center;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 10px;
    border-radius: 8px;
    text-decoration: none !important;
    font-family: var(--font-body) !important;
  }

  .reserve-btn.line {
    background-color: #06C755 !important;
  }

  .reserve-btn.tel {
    background-color: var(--color-navy) !important;
  }
}

/* =========================================
   トップ アイコンメニュー
========================================= */
.top-icon-menu {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 10px 0;
  background: var(--color-bg);
  margin: 0;
}

.icon-item {
  flex: 1;
  max-width: 25%;
  text-align: center;
  background: linear-gradient(to bottom right, #ffffff, #f6f6f2);
  border: 1px solid rgba(0, 23, 112, 0.06);
  border-radius: 10px;
  padding: 10px 6px;
  color: var(--color-navy);
  text-decoration: none !important;
  font-weight: 600;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.icon-item:hover {
  background: linear-gradient(to bottom right, #ffffff, #eef3fb);
  transform: translateY(-1px);
}

.icon-item svg {
  height: 22px;
  margin-bottom: 4px;
}

.label {
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

/* =========================================
   スクロールトップボタン無効化
========================================= */
#page-top,
.scroll-to-top {
  display: none !important;
}

/* =========================================
   記事内見出し（H2〜H4）
========================================= */

/* H2：下線だけの軽い見出し */
.post_content h2,
.p-entry__body h2,
.single-post .content h2 {
  padding: 0.35em 0;
  margin: 1.35em 0 0.85em;
  border-bottom: 2px solid var(--color-navy);
  background: #ffffff !important;
  color: var(--color-navy) !important;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* H3：左ライン */
.post_content h3,
.p-entry__body h3,
.single-post .content h3 {
  margin: 1.2em 0 0.65em;
  padding-left: 0.6em;
  border-left: 3px solid var(--color-navy);
  border-bottom: none;
  background: none;
  color: var(--color-navy) !important;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

/* H4：文字だけ強調 */
.post_content h4,
.p-entry__body h4,
.single-post .content h4 {
  margin: 1.05em 0 0.45em;
  padding: 0;
  border: none;
  color: var(--color-text) !important;
  font-weight: 600;
  line-height: 1.65;
}

/* =========================================
   ブログ記事ページだけ：白背景 + 可読性
========================================= */
.single-post,
.single-post #content,
.single-post .l-main,
.single-post .content {
  background: #ffffff !important;
}

.single-post .l-main {
  padding: 18px;
}

.single-post .content {
  background: #ffffff;
  border-radius: 10px;
  padding: 26px 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.single-post .content,
.single-post .post_content,
.single-post .p-entry__body {
  font-family: var(--font-body) !important;
  font-size: 16.2px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.single-post .content p,
.single-post .post_content p,
.single-post .p-entry__body p {
  margin: 0 0 1.55em;
}

.single-post .content ul,
.single-post .content ol {
  margin: 0 0 1.3em 1.2em;
}

.single-post .content li {
  margin: 0.45em 0;
  line-height: 2.0;
}

.single-post .content a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.single-post .content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4em;
}

.single-post .content th,
.single-post .content td {
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.10);
}

.single-post .content blockquote {
  border-left: 4px solid rgba(0,0,0,.12);
  padding: 12px 14px;
  margin: 0 0 1.2em;
  background: rgba(0,0,0,.03);
}

/* =========================================
   モバイル共通調整
========================================= */
@media screen and (max-width: 768px) {
  body {
    font-size: 15.5px;
    line-height: 1.95;
  }

  h1 { font-size: 24px; }
  h2 { font-size: 22px; }
  h3,
  .section-title { font-size: 20px; }
  h4 { font-size: 17px; }

  .main-text,
  .p-mainVisual__title,
  .p-mainVisual__slideTitle {
    font-size: 24px;
    line-height: 1.4;
  }

  .sub-text,
  .p-mainVisual__catch {
    font-size: 15px;
    line-height: 1.85;
  }

  .reason-list,
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reason-item {
    padding: 24px 18px;
  }

  .cta-buttons a {
    display: block;
    margin: 10px auto;
    width: 90%;
  }

  .top-icon-menu {
    gap: 6px;
  }

  .icon-item {
    padding: 8px 4px;
  }

  .label {
    font-size: 12px;
  }

  .single-post .l-main {
    padding: 12px;
  }

  .single-post .content {
    padding: 20px 16px;
    border-radius: 10px;
  }

  .single-post .content,
  .single-post .post_content,
  .single-post .p-entry__body {
    font-size: 16px;
    line-height: 2.05;
    letter-spacing: 0.04em;
  }

  .post_content h2,
  .p-entry__body h2,
  .single-post .content h2 {
    margin-top: 1.25em;
    margin-bottom: 0.8em;
  }

  .post_content h3,
  .p-entry__body h3,
  .single-post .content h3 {
    margin-top: 1.1em;
    margin-bottom: 0.6em;
  }
}
/* =========================
   最終フォント強制（ここが効く）
========================= */
body,
.post_content,
.p-entry__body,
.single-post .content,
.single-post .post_content,
.single-post .p-entry__body,
p,
li,
td,
th,
blockquote {
  font-family: "Noto Sans JP", sans-serif !important;
}
/* =========================
   本文フォント完全上書き
========================= */
body,
.post_content,
.p-entry__body,
.single-post .content,
.single-post .post_content,
.single-post .p-entry__body,
p,
li,
td,
th,
blockquote,
.wp-block-paragraph,
.wp-block-list,
.wp-block-table {
  font-family: "Noto Sans JP", sans-serif !important;
}
/* =========================
   最終フォント設計（完成版）
========================= */

/* 本文 */
body,
.post_content,
.p-entry__body,
.single-post .content,
.single-post .post_content,
.single-post .p-entry__body,
p,
li,
td,
th,
blockquote,
.wp-block-paragraph,
.wp-block-list,
.wp-block-table {
  font-family: "Noto Sans JP", sans-serif !important;
  line-height: 2.05 !important;
  letter-spacing: 0.04em !important;
}

/* 見出し */
h1, h2, h3, h4, h5, h6,
.c-postTitle,
.section-title,
.main-text,
.p-mainVisual__title,
.p-mainVisual__slideTitle,
.l-hero__title,
.c-hero__title,
.hero-title,
.catchphrase {
  font-family: "Noto Serif JP", serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
}