@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD (kodo-henyo)
    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
*/

/* ==================================================
   SWELL セラピー協会HP用CSS
   上質・安心感・清潔感・信頼感
   ================================================== */

/* ------------------------------
   0. 基本設計
------------------------------ */

:root {
  --therapy-bg: #f7f5ef;
  --therapy-bg-soft: #fbfaf6;
  --therapy-surface: #ffffff;
  --therapy-surface-2: #f0f7f4;

  --therapy-text: #24302f;
  --therapy-muted: #6e7c79;
  --therapy-main: #54786f;
  --therapy-main-dark: #365951;
  --therapy-main-light: #dbeae5;
  --therapy-accent: #b89a67;
  --therapy-accent-soft: #efe5d2;

  --therapy-line: rgba(84, 120, 111, 0.18);
  --therapy-shadow: 0 14px 38px rgba(36, 48, 47, 0.08);
  --therapy-shadow-soft: 0 8px 24px rgba(36, 48, 47, 0.06);

  --therapy-radius-lg: 28px;
  --therapy-radius-md: 18px;
  --therapy-radius-sm: 10px;

  --therapy-width: 1120px;
}

/* ------------------------------
   1. 全体
------------------------------ */

html {
  scroll-behavior: smooth;
}

body {
  color: var(--therapy-text);
  background:
    radial-gradient(circle at top left, rgba(219, 234, 229, 0.75), transparent 34%),
    linear-gradient(180deg, #fbfaf6 0%, var(--therapy-bg) 100%);
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    "Hiragino Sans",
    "Yu Gothic",
    serif;
  letter-spacing: 0.035em;
  line-height: 1.9;
}

/* 本文は読みやすく */
.post_content,
.l-mainContent,
.wp-block-group,
.wp-block-column {
  font-size: clamp(15.5px, 1.4vw, 17px);
}

/* リンク */
a {
  color: var(--therapy-main-dark);
  text-underline-offset: 0.22em;
  transition: color 0.22s ease, opacity 0.22s ease;
}

a:hover {
  color: var(--therapy-accent);
  opacity: 0.88;
}

/* 画像 */
img {
  border-radius: var(--therapy-radius-sm);
}

/* 選択範囲 */
::selection {
  background: var(--therapy-main-light);
  color: var(--therapy-main-dark);
}

/* ------------------------------
   2. SWELL ヘッダー
------------------------------ */

.l-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(84, 120, 111, 0.12);
}

.l-header__inner {
  max-width: var(--therapy-width);
}

/* サイトロゴ */
.c-headLogo__link {
  letter-spacing: 0.08em;
  color: var(--therapy-main-dark);
}

/* グローバルナビ */
.c-gnav > .menu-item > a {
  color: var(--therapy-text);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.c-gnav > .menu-item > a::after {
  background: var(--therapy-accent);
  height: 2px;
  border-radius: 999px;
}

.c-gnav > .menu-item:hover > a {
  color: var(--therapy-main-dark);
}

/* ヘッダーCTAっぽい最後のメニュー */
.c-gnav > .menu-item:last-child > a {
  background: var(--therapy-main);
  color: #fff;
  padding: 0.72em 1.3em;
  border-radius: 999px;
  box-shadow: var(--therapy-shadow-soft);
}

.c-gnav > .menu-item:last-child > a:hover {
  background: var(--therapy-main-dark);
  color: #fff;
}

/* ------------------------------
   3. メインビジュアル
   SWELLのメインビジュアルにも効くように緩めに指定
------------------------------ */

.p-mainVisual {
  position: relative;
  overflow: hidden;
}

.p-mainVisual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(247, 245, 239, 0.88) 0%,
      rgba(247, 245, 239, 0.58) 42%,
      rgba(247, 245, 239, 0.2) 100%
    );
  pointer-events: none;
}

.p-mainVisual__textLayer {
  z-index: 2;
}

.p-mainVisual__slideTitle,
.p-mainVisual__slideText {
  color: var(--therapy-text);
  text-shadow: none;
}

.p-mainVisual__slideTitle {
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.p-mainVisual__slideText {
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 2;
  color: var(--therapy-muted);
}

/* ------------------------------
   4. 独自ヒーロー
   ブロックに therapy-hero を付ける
------------------------------ */

.therapy-hero {
  position: relative;
  max-width: var(--therapy-width);
  margin: 0 auto 72px;
  padding: clamp(64px, 9vw, 112px) clamp(22px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 244, 0.92)),
    radial-gradient(circle at 85% 18%, rgba(184, 154, 103, 0.2), transparent 34%);
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-lg);
  box-shadow: var(--therapy-shadow);
  overflow: hidden;
}

.therapy-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(84, 120, 111, 0.12);
}

.therapy-hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(184, 154, 103, 0.13);
}

.therapy-hero > * {
  position: relative;
  z-index: 1;
}

.therapy-hero .therapy-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 20px;
  padding: 0.42em 1em;
  color: var(--therapy-main-dark);
  background: var(--therapy-main-light);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.therapy-hero h1,
.therapy-hero .wp-block-heading {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.38;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--therapy-main-dark);
}

.therapy-hero p {
  max-width: 720px;
  color: var(--therapy-muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 2.05;
}

/* ------------------------------
   5. セクション
   ブロックに therapy-section を付ける
------------------------------ */

.therapy-section {
  max-width: var(--therapy-width);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 32px);
}

.therapy-section.is-soft {
  background: var(--therapy-bg-soft);
  border-radius: var(--therapy-radius-lg);
  box-shadow: var(--therapy-shadow-soft);
}

/* セクション上の小見出し */
.therapy-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--therapy-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ------------------------------
   6. 見出し
------------------------------ */

.post_content h2,
.therapy-section h2,
.wp-block-heading.is-style-section_ttl {
  position: relative;
  margin-top: 2.5em;
  margin-bottom: 1.1em;
  padding: 0 0 0.65em;
  border-bottom: 1px solid var(--therapy-line);
  color: var(--therapy-main-dark);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.55;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.post_content h2::after,
.therapy-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--therapy-main), var(--therapy-accent));
  border-radius: 999px;
}

.post_content h3,
.therapy-section h3 {
  margin-top: 2em;
  margin-bottom: 0.85em;
  padding-left: 0.9em;
  border-left: 4px solid var(--therapy-main);
  color: var(--therapy-text);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.55;
  font-weight: 600;
}

.post_content h4,
.therapy-section h4 {
  color: var(--therapy-main-dark);
  font-weight: 600;
}

/* ------------------------------
   7. 本文パーツ
------------------------------ */

.post_content p {
  margin-bottom: 1.45em;
}

.post_content strong {
  color: var(--therapy-main-dark);
  font-weight: 700;
  background: linear-gradient(transparent 64%, rgba(184, 154, 103, 0.22) 64%);
}

.post_content ul,
.post_content ol {
  padding-left: 1.35em;
}

.post_content li {
  margin-bottom: 0.55em;
}

/* 引用 */
.post_content blockquote {
  position: relative;
  margin: 2em 0;
  padding: 1.6em 1.8em;
  color: var(--therapy-text);
  background: #fff;
  border: 1px solid var(--therapy-line);
  border-left: 5px solid var(--therapy-main);
  border-radius: var(--therapy-radius-md);
  box-shadow: var(--therapy-shadow-soft);
}

.post_content blockquote::before {
  color: rgba(84, 120, 111, 0.22);
}

/* ------------------------------
   8. カード
   カラムやグループに therapy-card を付ける
------------------------------ */

.therapy-card {
  height: 100%;
  padding: clamp(24px, 4vw, 36px);
  background: var(--therapy-surface);
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-md);
  box-shadow: var(--therapy-shadow-soft);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.therapy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--therapy-shadow);
  border-color: rgba(84, 120, 111, 0.32);
}

.therapy-card h3 {
  margin-top: 0;
}

.therapy-card p:last-child {
  margin-bottom: 0;
}

/* 数字付きカード */
.therapy-card-number {
  counter-increment: therapy-card;
  position: relative;
}

.therapy-card-number::before {
  content: counter(therapy-card, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--therapy-main);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* カード群の親 */
.therapy-card-list {
  counter-reset: therapy-card;
}

/* ------------------------------
   9. ボタン
------------------------------ */

.wp-block-button__link,
.swell-block-button a,
.c-btn,
.therapy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.88em 1.75em;
  color: #fff !important;
  background: linear-gradient(135deg, var(--therapy-main), var(--therapy-main-dark));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(54, 89, 81, 0.22);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}

.wp-block-button__link:hover,
.swell-block-button a:hover,
.c-btn:hover,
.therapy-btn:hover {
  transform: translateY(-2px);
  color: #fff !important;
  opacity: 1;
  box-shadow: 0 16px 34px rgba(54, 89, 81, 0.28);
}

/* サブボタン */
.therapy-btn-sub .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--therapy-main-dark) !important;
  background: #fff;
  border: 1px solid var(--therapy-line);
  box-shadow: var(--therapy-shadow-soft);
}

.therapy-btn-sub .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  color: var(--therapy-main-dark) !important;
  background: var(--therapy-main-light);
}

/* ------------------------------
   10. CTAエリア
   グループに therapy-cta を付ける
------------------------------ */

.therapy-cta {
  position: relative;
  max-width: var(--therapy-width);
  margin: 72px auto;
  padding: clamp(40px, 7vw, 72px) clamp(24px, 6vw, 64px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(54, 89, 81, 0.96), rgba(84, 120, 111, 0.92)),
    radial-gradient(circle at right top, rgba(184, 154, 103, 0.35), transparent 38%);
  border-radius: var(--therapy-radius-lg);
  box-shadow: 0 18px 46px rgba(36, 48, 47, 0.18);
  overflow: hidden;
}

.therapy-cta::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.therapy-cta > * {
  position: relative;
  z-index: 1;
}

.therapy-cta h2,
.therapy-cta h3,
.therapy-cta p {
  color: #fff;
}

.therapy-cta h2 {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.therapy-cta h2::after {
  background: var(--therapy-accent-soft);
}

.therapy-cta p {
  color: rgba(255, 255, 255, 0.88);
}

.therapy-cta .wp-block-button__link {
  color: var(--therapy-main-dark) !important;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.therapy-cta .wp-block-button__link:hover {
  color: var(--therapy-main-dark) !important;
  background: var(--therapy-accent-soft);
}

/* ------------------------------
   11. 協会らしい安心ブロック
   therapy-trust を付ける
------------------------------ */

.therapy-trust {
  padding: clamp(28px, 5vw, 44px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 244, 0.86));
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-lg);
  box-shadow: var(--therapy-shadow-soft);
}

.therapy-trust ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-left: 0;
  list-style: none;
}

.therapy-trust li {
  position: relative;
  margin: 0;
  padding: 1.2em 1.2em 1.2em 2.65em;
  background: #fff;
  border: 1px solid rgba(84, 120, 111, 0.13);
  border-radius: var(--therapy-radius-md);
}

.therapy-trust li::before {
  content: "✓";
  position: absolute;
  left: 1.05em;
  top: 1.1em;
  width: 1.35em;
  height: 1.35em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--therapy-main);
  border-radius: 50%;
  font-size: 0.78em;
  font-weight: 700;
}

/* ------------------------------
   12. プロフィール・代表挨拶
   therapy-profile を付ける
------------------------------ */

.therapy-profile {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  background: #fff;
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-lg);
  box-shadow: var(--therapy-shadow);
}

.therapy-profile figure,
.therapy-profile img {
  width: 100%;
  border-radius: var(--therapy-radius-lg);
}

.therapy-profile h2,
.therapy-profile h3 {
  margin-top: 0;
}

/* ------------------------------
   13. 投稿一覧・ブログカード
------------------------------ */

.p-postList__item {
  background: var(--therapy-surface);
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-md);
  box-shadow: var(--therapy-shadow-soft);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.p-postList__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--therapy-shadow);
}

.p-postList__title {
  color: var(--therapy-main-dark);
  line-height: 1.65;
  font-weight: 600;
}

.p-postList__excerpt {
  color: var(--therapy-muted);
  line-height: 1.85;
}

.c-postThumb__figure {
  border-radius: 0;
}

/* 日付・カテゴリ */
.p-postList__meta,
.c-postMetas,
.c-categoryList {
  color: var(--therapy-muted);
  font-size: 0.86rem;
}

/* ------------------------------
   14. テーブル
------------------------------ */

.post_content table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-md);
  box-shadow: var(--therapy-shadow-soft);
}

.post_content th {
  color: #fff;
  background: var(--therapy-main);
  font-weight: 600;
}

.post_content td {
  background: #fff;
}

.post_content th,
.post_content td {
  border-color: var(--therapy-line);
  padding: 1em;
}

/* ------------------------------
   15. FAQ・アコーディオン系
------------------------------ */

.swell-block-accordion,
.wp-block-details {
  margin: 1.1em 0;
  background: #fff;
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-md);
  box-shadow: var(--therapy-shadow-soft);
  overflow: hidden;
}

.swell-block-accordion__title,
.wp-block-details summary {
  padding: 1.1em 1.3em;
  color: var(--therapy-main-dark);
  background: var(--therapy-surface-2);
  font-weight: 600;
  cursor: pointer;
}

.swell-block-accordion__body,
.wp-block-details > *:not(summary) {
  padding: 1.25em 1.4em;
}

/* ------------------------------
   16. フォーム
------------------------------ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  color: var(--therapy-text);
  background: #fff;
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-sm);
  padding: 0.9em 1em;
  box-shadow: inset 0 1px 2px rgba(36, 48, 47, 0.04);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--therapy-main);
  box-shadow: 0 0 0 3px rgba(84, 120, 111, 0.14);
}

input[type="submit"],
button[type="submit"] {
  color: #fff;
  background: var(--therapy-main);
  border: none;
  border-radius: 999px;
  padding: 0.9em 1.8em;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: var(--therapy-shadow-soft);
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--therapy-main-dark);
  transform: translateY(-2px);
}

/* ------------------------------
   17. サイドバー・ウィジェット
------------------------------ */

.c-widget {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--therapy-line);
  border-radius: var(--therapy-radius-md);
  box-shadow: var(--therapy-shadow-soft);
}

.c-widget__title {
  color: var(--therapy-main-dark);
  border-bottom: 1px solid var(--therapy-line);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.c-widget__title::before {
  background: var(--therapy-accent);
}

/* ------------------------------
   18. パンくず・ページタイトル
------------------------------ */

.p-breadcrumb {
  color: var(--therapy-muted);
  font-size: 0.84rem;
}

.c-pageTitle {
  color: var(--therapy-main-dark);
  letter-spacing: 0.08em;
}

.c-pageTitle__subTitle {
  color: var(--therapy-accent);
}

/* ------------------------------
   19. フッター
------------------------------ */

.l-footer {
  margin-top: 80px;
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(135deg, #2f4c46, #1f3430);
}

.l-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.l-footer a:hover {
  color: var(--therapy-accent-soft);
}

.l-footer__inner {
  max-width: var(--therapy-width);
}

.copyright {
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.08em;
}


/* ------------------------------
   20. 余白調整
------------------------------ */

.l-mainContent__inner > .post_content {
  padding-top: clamp(24px, 4vw, 48px);
}

.wp-block-group.alignfull {
  padding-left: clamp(18px, 4vw, 40px);
  padding-right: clamp(18px, 4vw, 40px);
}

.wp-block-columns {
  gap: clamp(20px, 4vw, 36px);
}

/* ------------------------------
   21. スマホ対応
------------------------------ */

@media (max-width: 960px) {
  .therapy-trust ul {
    grid-template-columns: 1fr;
  }

  .therapy-profile {
    grid-template-columns: 1fr;
  }

  .c-gnav > .menu-item:last-child > a {
    padding: inherit;
    background: transparent;
    color: var(--therapy-text);
    box-shadow: none;
  }
}

@media (max-width: 600px) {
  body {
    letter-spacing: 0.02em;
  }

  .therapy-hero {
    margin-bottom: 44px;
    border-radius: 22px;
  }

  .therapy-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .therapy-card,
  .therapy-trust,
  .therapy-profile {
    border-radius: 20px;
  }

  .post_content h2,
  .therapy-section h2 {
    font-size: 1.45rem;
  }

  .post_content h3,
  .therapy-section h3 {
    font-size: 1.18rem;
  }

  .wp-block-button__link,
  .swell-block-button a,
  .c-btn,
  .therapy-btn {
    width: 100%;
  }
}

/* ==================================================
   H2調整：高さを文字の約1.2倍に抑える
================================================== */

.post_content h2,
.therapy-section h2,
.wp-block-heading.is-style-section_ttl {
  color: #ffffff;
  line-height: 1.2;
  padding: 0.08em 0.85em;
  min-height: initial;
  height: auto;
  margin-top: 2em;
  margin-bottom: 1em;
  background: var(--therapy-main);
  border-bottom: none;
  border-radius: 8px;
}

/* 下線装飾を消す */
.post_content h2::after,
.therapy-section h2::after {
  content: none;
}

:root {
--therapy-main: #8f6f72;
--therapy-main-dark: #674c50;
--therapy-main-light: #f0e3e5;
--therapy-accent: #b89a67;
}


#content{
    background:#f5f5f5;
}
#footer .l-footer__foot .l-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

#footer .l-footer__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px 22px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}

#footer .l-footer__nav li {
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
}

#footer .copyright {
  width: 100% !important;
  text-align: center !important;
}

#footer .l-footer__inner {
  max-width: var(--therapy-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#footer .l-footer__foot .l-container {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

#footer .l-footer__nav {
  width: 100% !important;
  justify-content: center !important;
}
