@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-07-06 (Claude Code 自動生成)
   ====================================================================== */

:root,
body {
  --color_main: #d97f4e;
  --color_main_rgb: 217,127,78;
  --color_main_thin: #f9e9de;
  --color_text: #43392f;
  --color_link: #b96438;
  --color_htag: #b96438;
  --color_bg: #fbf7f0;
}

body { background-color: #fbf7f0; color: #43392f; }

/* 見出しフォント */
h1, h2, h3, h4,
.c-postTitle__ttl, .p-postList__ttl, .c-pageTitle__ttl,
.swell-block-postLink__title, .c-widget__title, .p-blogParts__ttl,
.post_content h2, .post_content h3, .post_content h4 {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "HG丸ｺﾞｼｯｸM-PRO", "Yu Gothic", sans-serif !important;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ヘッダー */
#header.l-header,
.l-header__inner,
.l-header__bar,
.l-fixHeader { background-color: #fbf7f0 !important; }
#header.l-header { border-bottom: 1px solid #ecdccb; box-shadow: none; }

/* ヘッダーロゴ：タイポグラフィ装飾 */
.c-headLogo {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "HG丸ｺﾞｼｯｸM-PRO", "Yu Gothic", sans-serif !important;
  font-weight: 800;
}
.c-headLogo__link {
  color: #b96438 !important;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: clamp(15px, 1.6vw, 20px) !important;
}
.c-headLogo__link::before {
  content: "";
  display: inline-block; vertical-align: -5px; margin-right: 7px;
  width: 26px; height: 26px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2048%2048%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20aria-hidden%3D%22true%22%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2224%22%20r%3D%2222%22%20fill%3D%22%23d97f4e%22%2F%3E%3Cpath%20d%3D%22M24%2035s-9.5-6.2-12-11.2c-1.9-3.8-.2-8.3%203.9-9.4%202.6-.7%205.4.3%207.1%202.5l1%201.3%201-1.3c1.7-2.2%204.5-3.2%207.1-2.5%204.1%201.1%205.8%205.6%203.9%209.4C33.5%2028.8%2024%2035%2024%2035z%22%20fill%3D%22%23fff8f1%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

/* グローバルナビ */
.c-gnav a { color: #43392f; opacity: .82; }
.c-gnav a:hover { color: #d97f4e; opacity: 1; }
.c-gnav__item.current-menu-item > a { color: #d97f4e; opacity: 1; }

/* リンク・ボタン */
a { color: #b96438; }
.post_content a { text-underline-offset: 2px; }
.c-btn, .wp-block-button__link,
.is-style-btn_normal > .wp-block-button__link,
.is-style-btn_solid > .wp-block-button__link {
  background-color: #d97f4e; border-color: #d97f4e; color: #fff8f1;
  border-radius: 999px;
}
.c-btn:hover, .wp-block-button__link:hover { background-color: #b96438; border-color: #b96438; }

/* カテゴリー／タグラベル */
.cat-label, .c-categoryLabel, .p-postList__category,
.c-postThumb__cat, .c-meta__cat a {
  background-color: #d97f4e !important; color: #fff8f1 !important;
  border-radius: 4px;
}

/* セクション見出し */
.c-widget__title, .p-blogParts__ttl, .c-sectionTitle {
  color: #b96438; border-bottom: 2px solid #ecdccb; padding-bottom: 6px;
}

/* 記事カード */
.p-postList__item, .c-postList__item, article.l-articleCard { background-color: #fffdf8; }

/* ======================================================================
   トップページ ヒーロー（.mv-hero）
   ====================================================================== */
.mv-hero {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background: radial-gradient(circle at 12% 22%, rgba(127,168,107,.12) 0, rgba(127,168,107,0) 30%),
    radial-gradient(circle at 88% 78%, rgba(217,127,78,.11) 0, rgba(217,127,78,0) 32%),
    linear-gradient(180deg, #f9f1e4 0%, #fbf7f0 100%);
  padding: 52px 20px 44px; box-sizing: border-box;
  border-bottom: 1px solid #ecdccb;
  position: relative; overflow: hidden;
}


.mv-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px;
  background: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2012%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%2012%20Q%2015%200%2030%208%20T%2060%208%20T%2090%208%20T%20120%208%20V%2012%20Z%22%20fill%3D%22%23fbf7f0%22%2F%3E%3C%2Fsvg%3E') repeat-x bottom / 120px 12px;
  pointer-events: none;
}
.mv-hero__inner { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }

/* タイポロゴ（SWELLのh2既定装飾を打ち消す） */
.mv-hero__logo,
.post_content h2.mv-hero__logo {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "HG丸ｺﾞｼｯｸM-PRO", "Yu Gothic", sans-serif;
  margin: 0 0 6px; line-height: 1.3;
  background: transparent !important; border: none !important;
  padding: 0 !important; box-shadow: none !important; border-radius: 0 !important;
}
.post_content h2.mv-hero__logo::before,
.post_content h2.mv-hero__logo::after { content: none !important; display: none !important; }
.mv-hero__logo .mv-logo-icon {
  display: block; width: 64px; height: 64px; margin: 0 auto 14px;
}
.mv-hero__logo .mv-logo-main {
  display: block; font-size: clamp(21px, 4.6vw, 38px); font-weight: 800;
  color: #b96438; letter-spacing: .04em;
}
.mv-hero__logo .mv-logo-sub {
  display: block; font-size: 12px; letter-spacing: .4em; color: #7fa86b;
  margin-top: 9px; text-transform: uppercase; font-weight: 700;
}
.mv-hero__kicker {
  font-size: 12.5px; letter-spacing: .26em; color: #c99b52; margin: 18px 0 10px;
  font-weight: 600; font-family: inherit;
}
.mv-hero__title {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "HG丸ｺﾞｼｯｸM-PRO", "Yu Gothic", sans-serif !important;
  font-size: clamp(19px, 3.4vw, 28px); color: #43392f; letter-spacing: .04em;
  line-height: 1.55; margin: 0 0 10px; font-weight: 700;
}
.mv-hero__lead { font-size: 14px; color: #8d7e6b; margin: 0 0 24px; line-height: 1.9; }

/* ヒーロー内検索 */
.mv-hero__search { position: relative; max-width: 480px; margin: 0 auto 20px; text-align: left; }
.mv-hero__search form {
  display: flex; align-items: center; background: #fffdf8;
  border: 2px solid #d97f4e; border-radius: 999px; padding: 0 6px 0 18px; height: 52px;
  box-shadow: 0 3px 0 rgba(185,100,56,.16);
}
.mv-hero__search input[type="search"] {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: #43392f; min-width: 0; -webkit-appearance: none; appearance: none;
}
.mv-hero__search input[type="search"]::-webkit-search-cancel-button { display: none; }
.mv-hero__search input::placeholder { color: #b3a28e; }
.mv-hero__search button {
  flex-shrink: 0; height: 40px; padding: 0 20px; background: #d97f4e; color: #fff8f1;
  border: none; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; letter-spacing: .08em; font-weight: 700; transition: background-color .15s;
}
.mv-hero__search button:hover { background: #b96438; }

/* カテゴリチップ */
.mv-hero__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 10px; max-width: 660px; margin: 0 auto; }
.mv-hero__cats a {
  font-size: 12.5px; color: #b96438; text-decoration: none; background: #fffdf8;
  border: 1.5px solid #ecd3bb; border-radius: 999px; padding: 6px 15px; transition: all .15s;
  font-weight: 600;
}
.mv-hero__cats a:hover { background: #d97f4e; color: #fff8f1; border-color: #d97f4e; }

/* 広告バンド（審査通過後にタグ差し込み） */
.mv-adband { padding: 24px 16px 8px; background: #fbf7f0; }
.mv-ad { max-width: 728px; margin: 0 auto; text-align: center; }
.mv-ad__label { display: block; font-size: 10px; letter-spacing: .2em; color: #93826f; margin-bottom: 4px; }
.mv-ad__slot {
  border: 1.5px dashed #ecdccb; border-radius: 12px; background: #fffdf8; color: #93826f;
  font-size: 12px; padding: 26px 12px; min-height: 90px;
  display: flex; align-items: center; justify-content: center;
}

/* ======================================================================
   トップページ 新着記事グリッド
   ====================================================================== */
.mv-secTitle,
.post_content h2.mv-secTitle {
  max-width: 1080px; margin: 34px auto 18px; padding: 0 4px !important;
  font-size: 20px; color: #b96438 !important; text-align: center; letter-spacing: .1em;
  background: transparent !important; border: none !important;
  box-shadow: none !important; border-radius: 0 !important;
}
.post_content h2.mv-secTitle::before { content: none !important; display: none !important; }
.mv-secTitle::after,
.post_content h2.mv-secTitle::after {
  content: "" !important; display: block !important; width: 46px; height: 4px; border-radius: 2px;
  background: #7fa86b !important; margin: 10px auto 0; position: static !important;
}
.wp-block-latest-posts.mv-postGrid {
  max-width: 1080px; margin: 0 auto 30px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 20px; list-style: none;
}
.wp-block-latest-posts.mv-postGrid li {
  margin: 0 !important; width: auto !important; max-width: none !important;
  background: #fffdf8; border: 1px solid #efe2d1; border-radius: 12px;
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.wp-block-latest-posts.mv-postGrid li:hover { box-shadow: 0 8px 22px rgba(217,127,78, .15); transform: translateY(-2px); }
.wp-block-latest-posts.mv-postGrid .wp-block-latest-posts__featured-image { margin: 0; }
.wp-block-latest-posts.mv-postGrid .wp-block-latest-posts__featured-image img {
  width: 100%; height: 168px; object-fit: cover; display: block;
}
.wp-block-latest-posts.mv-postGrid > li > a {
  display: block; padding: 13px 15px 4px; color: #43392f; font-size: 14.5px; font-weight: 700;
  line-height: 1.55; text-decoration: none;
}
.wp-block-latest-posts.mv-postGrid > li > a:hover { color: #b96438; }
.wp-block-latest-posts.mv-postGrid .wp-block-latest-posts__post-date {
  display: block; padding: 0 15px 14px; color: #93826f; font-size: 11.5px;
}
@media (max-width: 900px) { .wp-block-latest-posts.mv-postGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .wp-block-latest-posts.mv-postGrid { grid-template-columns: 1fr; max-width: 420px; }
}

/* トップページのSWELL既定タイトル/サイドバーを抑制し全幅に */
.home .c-pageTitle, .home .l-articleHeader, .home .p-articleHeader, .home .c-postTitle { display: none !important; }
.home .l-sidebar { display: none !important; }
.home main.l-mainContent, .home .l-mainContent, .home .l-mainArea, .home #main, .home .l-main {
  width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important;
}
.home article.post_content, .home .post_content { overflow: visible; }

/* ======================================================================
   ヒーロー v2（2026-07-07）: 吹き出し相談コラージュ×アーチ×大型ドアカード
   ====================================================================== */
.kg-hero {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  box-sizing: border-box; position: relative; overflow: hidden;
  padding: 54px 20px 64px;
  background:
    radial-gradient(circle at 10% 15%, rgba(127,168,107,.10) 0, rgba(127,168,107,0) 32%),
    radial-gradient(circle at 90% 20%, rgba(217,127,78,.10) 0, rgba(217,127,78,0) 34%),
    linear-gradient(180deg, #f9efe0 0%, #fbf7f0 100%);
  border-bottom: 1px solid #ecdccb;
}
.kg-hero__inner { max-width: 1000px; margin: 0 auto; text-align: center; position: relative; }

/* 悩み吹き出し */
.kg-bubs {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin: 0 0 34px; padding: 0; list-style: none;
}
.kg-bubs li {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: #ffffff; border: 1.5px solid #ecd3bb; border-radius: 16px;
  padding: 12px 18px; box-shadow: 0 6px 16px rgba(185,100,56,.10);
  font-size: 13.5px; font-weight: 600; color: #6b5a48;
}
.kg-bubs li::after {
  content: ""; position: absolute; bottom: -9px; left: 34px;
  width: 16px; height: 16px; background: #ffffff;
  border-right: 1.5px solid #ecd3bb; border-bottom: 1.5px solid #ecd3bb;
  transform: rotate(45deg) skew(8deg, 8deg);
}
.kg-bubs li:nth-child(2) { transform: translateY(10px); }
.kg-bubs svg { width: 30px; height: 30px; flex-shrink: 0; }

/* 中央メッセージ */
.kg-hero__logo,
.post_content h2.kg-hero__logo {
  margin: 0 0 8px; line-height: 1.3;
  background: transparent !important; border: none !important;
  padding: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", sans-serif;
}
.post_content h2.kg-hero__logo::before,
.post_content h2.kg-hero__logo::after { content: none !important; display: none !important; }
.kg-hero__logo svg { display: block; width: 58px; height: 58px; margin: 0 auto 12px; }
.kg-hero__logo .kg-logo-main {
  display: block; font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: #b96438;
  letter-spacing: .04em;
}
.kg-hero__answer {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", sans-serif !important;
  font-size: clamp(21px, 3.4vw, 32px); font-weight: 700; color: #43392f;
  letter-spacing: .05em; line-height: 1.6; margin: 6px 0 12px;
}
.kg-hero__answer em {
  font-style: normal; color: #b96438;
  background: linear-gradient(transparent 78%, rgba(242,183,5,.45) 78%);
}
.kg-hero__lead { font-size: 15px; color: #8d7e6b; line-height: 2; margin: 0 0 26px; }

/* 大きめ検索 */
.kg-hero .mv-hero__search { max-width: 560px; }
.kg-hero .mv-hero__search form { height: 58px; border-radius: 999px; }

/* スタッツ（さりげなく） */
.kg-stats {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  list-style: none; margin: 18px 0 0; padding: 0;
  font-size: 13px; color: #93826f; font-weight: 600;
}
.kg-stats b { color: #b96438; font-size: 15px; margin-right: 3px; }

/* 大型ドアカード（カテゴリ） */
.kg-doors {
  max-width: 1000px; margin: 40px auto 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  text-align: left;
}
.kg-doors a {
  display: flex; align-items: center; gap: 14px;
  background: #ffffff; border: 1.5px solid #ecdccb;
  border-radius: 18px 18px 8px 8px;
  padding: 18px 20px; text-decoration: none;
  box-shadow: 0 5px 14px rgba(185,100,56,.08);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.kg-doors a:hover {
  transform: translateY(-3px); border-color: #d97f4e;
  box-shadow: 0 10px 24px rgba(185,100,56,.16);
}
.kg-doors svg { width: 40px; height: 40px; flex-shrink: 0; }
.kg-doors strong {
  display: block; font-size: 15px; color: #43392f; font-weight: 700; letter-spacing: .03em;
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", sans-serif;
}
.kg-doors span { display: block; font-size: 11.5px; color: #a08e79; margin-top: 3px; }
@media (max-width: 900px) { .kg-doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .kg-doors { grid-template-columns: 1fr; max-width: 420px; }
  .kg-bubs li:nth-child(2) { transform: none; }
  .kg-bubs { gap: 12px; }
}

/* よく読まれている記事: ランキングバッジ */
.mv-popGrid li { position: relative; }
.mv-rank {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%;
  background: #d97f4e; color: #fff8f1; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.mv-popGrid li:nth-child(-n+3) .mv-rank { background: #f2b705; color: #6b4a00; }

/* ======================================================================
   トップページはヘッダー・スライダー非表示（MVを最上部へ）
   ====================================================================== */
.home #header.l-header,
.home .l-fixHeader,
.home .l-header__bar,
.home .l-headerBar { display: none !important; }
.home #content, .home .l-content { margin-top: 0 !important; padding-top: 0 !important; }
.home .l-mainContent { padding-top: 0 !important; }
.home .p-postSlider, .home [class*="p-postSlider"] { display: none !important; }

/* ======================================================================
   ヒーロー v3（2026-07-07）: 実写真フルブリード・企業サイト風
   ====================================================================== */
.kg-photoHero {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  position: relative; min-height: 560px; display: flex; align-items: center;
  box-sizing: border-box; overflow: hidden;
}
.kg-photoHero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('img/hero-care.jpg');
  background-size: cover; background-position: center 30%;
}
.kg-photoHero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(43,28,20,.72) 0%, rgba(80,48,32,.58) 42%, rgba(217,127,78,.55) 100%);
}
.kg-photoHero__inner {
  position: relative; z-index: 1; max-width: 720px; margin: 0 auto;
  text-align: center; padding: 90px 24px; box-sizing: border-box; color: #ffffff;
}
.kg-photoHero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: 7px 18px; font-size: 12px; letter-spacing: .18em;
  margin: 0 0 22px; backdrop-filter: blur(2px);
}
.kg-photoHero__badge svg { width: 16px; height: 16px; }
.kg-photoHero__title {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", sans-serif !important;
  font-size: clamp(26px, 4.2vw, 40px); font-weight: 800; line-height: 1.5;
  margin: 0 0 18px; text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.kg-photoHero__title em {
  font-style: normal; color: #ffe4b0;
}
.kg-photoHero__lead {
  font-size: 15px; line-height: 2; color: rgba(255,255,255,.92); margin: 0 0 30px;
}
.kg-photoHero .mv-hero__search { max-width: 560px; margin: 0 auto; }
.kg-photoHero .mv-hero__search form {
  height: 56px; border-radius: 999px; border: none;
  box-shadow: 0 12px 30px rgba(43,28,20,.35);
}
.kg-photoHero__stats {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  list-style: none; margin: 26px 0 0; padding: 0;
}
.kg-photoHero__stats li { text-align: center; }
.kg-photoHero__stats b { display: block; font-size: 26px; font-weight: 800; color: #ffffff; }
.kg-photoHero__stats span { display: block; font-size: 11px; letter-spacing: .18em; color: #ffe4b0; margin-top: 2px; }

/* 実写真トラストカード（3枚） */
.kg-photoRow {
  max-width: 1040px; margin: -56px auto 0; padding: 0 20px; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.kg-photoCard {
  background: #ffffff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 36px rgba(67,57,47,.16); text-decoration: none; color: inherit;
  display: block;
}
.kg-photoCard img {
  width: 100%; height: 172px; object-fit: cover; display: block;
}
.kg-photoCard__body { padding: 16px 18px 20px; }
.kg-photoCard__cat {
  display: inline-block; font-size: 10.5px; letter-spacing: .12em; color: #b96438;
  background: #fbe9dc; border-radius: 4px; padding: 3px 9px; margin-bottom: 8px; font-weight: 700;
}
.kg-photoCard strong {
  display: block; font-size: 14.5px; color: #43392f; font-weight: 700; line-height: 1.6;
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", sans-serif;
}

@media (max-width: 900px) {
  .kg-photoRow { grid-template-columns: 1fr; max-width: 460px; margin-top: -40px; }
  .kg-photoHero__inner { padding: 64px 20px; }
}

/* ドア型カテゴリグリッドは写真行の下へ余白調整 */
.kg-doors { margin-top: 46px; }
