@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: #4a7c59;
  --color_main_rgb: 74,124,89;
  --color_main_thin: #e5efe8;
  --color_text: #3d362c;
  --color_link: #386144;
  --color_htag: #386144;
  --color_bg: #f9f5ee;
}

body { background-color: #f9f5ee; color: #3d362c; }

/* 見出しフォント */
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 Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-weight: 700;
  letter-spacing: .02em;
}

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

/* ヘッダーロゴ：タイポグラフィ装飾 */
.c-headLogo {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-weight: 800;
}
.c-headLogo__link {
  color: #386144 !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%234a7c59%22%2F%3E%3Cpath%20d%3D%22M11%2024L24%2012l13%2012%22%20fill%3D%22none%22%20stroke%3D%22%23fffdf8%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M15%2024v12h18V24%22%20fill%3D%22none%22%20stroke%3D%22%23fffdf8%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Crect%20x%3D%2221%22%20y%3D%2228%22%20width%3D%226%22%20height%3D%228%22%20fill%3D%22%23b98a4a%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

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

/* リンク・ボタン */
a { color: #386144; }
.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: #4a7c59; border-color: #4a7c59; color: #f4f9f5;
  border-radius: 10px;
}
.c-btn:hover, .wp-block-button__link:hover { background-color: #386144; border-color: #386144; }

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

/* セクション見出し */
.c-widget__title, .p-blogParts__ttl, .c-sectionTitle {
  color: #386144; border-bottom: 2px solid #e6dcc9; 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 10% 80%, rgba(185,138,74,.10) 0, rgba(185,138,74,0) 30%),
    radial-gradient(circle at 90% 18%, rgba(74,124,89,.10) 0, rgba(74,124,89,0) 32%),
    linear-gradient(180deg, #f5efe3 0%, #f9f5ee 100%);
  padding: 52px 20px 44px; box-sizing: border-box;
  border-bottom: 1px solid #e6dcc9;
  position: relative; overflow: hidden;
}

.mv-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cpath%20d%3D%22M20%2030l8-7%208%207v10H20zM64%2062l8-7%208%207v10H64z%22%20fill%3D%22none%22%20stroke%3D%22%23dcCDb0%22%20stroke-width%3D%221.4%22%2F%3E%3C%2Fsvg%3E') repeat / 230px 230px;
}

.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%23f9f5ee%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 Kaku Gothic ProN", "Hiragino Sans", "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: #386144; letter-spacing: .04em;
}
.mv-hero__logo .mv-logo-sub {
  display: block; font-size: 12px; letter-spacing: .4em; color: #b98a4a;
  margin-top: 9px; text-transform: uppercase; font-weight: 700;
}
.mv-hero__kicker {
  font-size: 12.5px; letter-spacing: .26em; color: #b98a4a; margin: 18px 0 10px;
  font-weight: 600; font-family: inherit;
}
.mv-hero__title {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif !important;
  font-size: clamp(19px, 3.4vw, 28px); color: #3d362c; letter-spacing: .04em;
  line-height: 1.55; margin: 0 0 10px; font-weight: 700;
}
.mv-hero__lead { font-size: 14px; color: #847763; 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 #4a7c59; border-radius: 10px; padding: 0 6px 0 18px; height: 52px;
  box-shadow: 0 3px 0 rgba(56,97,68,.15);
}
.mv-hero__search input[type="search"] {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: #3d362c; 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: #a99b84; }
.mv-hero__search button {
  flex-shrink: 0; height: 40px; padding: 0 20px; background: #4a7c59; color: #f4f9f5;
  border: none; border-radius: 10px; 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: #386144; }

/* カテゴリチップ */
.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: #386144; text-decoration: none; background: #fffdf8;
  border: 1.5px solid #d4c8ab; border-radius: 10px; padding: 6px 15px; transition: all .15s;
  font-weight: 600;
}
.mv-hero__cats a:hover { background: #4a7c59; color: #f4f9f5; border-color: #4a7c59; }

/* 広告バンド（審査通過後にタグ差し込み） */
.mv-adband { padding: 24px 16px 8px; background: #f9f5ee; }
.mv-ad { max-width: 728px; margin: 0 auto; text-align: center; }
.mv-ad__label { display: block; font-size: 10px; letter-spacing: .2em; color: #8a7d68; margin-bottom: 4px; }
.mv-ad__slot {
  border: 1.5px dashed #e6dcc9; border-radius: 12px; background: #fffdf8; color: #8a7d68;
  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: #386144 !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: #b98a4a !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 #e9dfcc; 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(74,124,89, .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: #3d362c; font-size: 14.5px; font-weight: 700;
  line-height: 1.55; text-decoration: none;
}
.wp-block-latest-posts.mv-postGrid > li > a:hover { color: #386144; }
.wp-block-latest-posts.mv-postGrid .wp-block-latest-posts__post-date {
  display: block; padding: 0 15px 14px; color: #8a7d68; 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）: ウッド×グリーン 2カラムイラスト
   ====================================================================== */
.mv-hero { padding: 46px 24px 0; }
.mv-hero__wrap {
  max-width: 1140px; margin: 0 auto; display: flex; align-items: center;
  gap: 44px; position: relative; z-index: 1; padding-bottom: 60px;
}
.mv-hero__colText { flex: 1.05; text-align: left; min-width: 0; }
.mv-hero__colArt { flex: .95; min-width: 0; }
.mv-hero__colArt svg { width: 100%; height: auto; display: block; }
.mv-hero__colArt img {
  width: 70%; height: auto; display: block; margin: 0 auto;
  filter: drop-shadow(0 16px 30px rgba(74,124,89,.25));
}

.mv-logoRow,
.post_content h2.mv-logoRow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  background: transparent !important; border: none !important;
  padding: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  line-height: 1.3;
}
.post_content h2.mv-logoRow::before,
.post_content h2.mv-logoRow::after { content: none !important; display: none !important; }
.mv-logoRow .mv-logo-icon { width: 54px; height: 54px; flex-shrink: 0; }
.mv-logoRow .mv-logo-main {
  display: block; font-size: clamp(19px, 2.4vw, 27px); font-weight: 800;
  color: #386144; letter-spacing: .03em;
}
.mv-logoRow .mv-logo-sub {
  display: block; font-size: 10.5px; letter-spacing: .3em; color: #b98a4a;
  margin-top: 5px; text-transform: uppercase; font-weight: 700;
}
.mv-hero__wrap .mv-hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 12px; font-size: 12px; letter-spacing: .22em; color: #b98a4a; font-weight: 700;
}
.mv-hero__wrap .mv-hero__kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: #4a7c59;
}
.mv-hero__wrap .mv-hero__title { text-align: left; font-size: clamp(22px, 3vw, 32px); margin: 0 0 12px; }
.mv-hero__wrap .mv-hero__lead { text-align: left; margin: 0 0 22px; }
.mv-hero__wrap .mv-hero__search { margin: 0 0 16px; max-width: 460px; }
.mv-hero__wrap .mv-hero__cats { justify-content: flex-start; max-width: none; margin: 0; }

.mv-hero__badges { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; margin: 20px 0 0; padding: 0; }
.mv-hero__badges li {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: #fffdf8; border: 1.5px solid #e6dcc9; border-radius: 10px; padding: 7px 16px;
}
.mv-hero__badges b { font-size: 16px; color: #386144; }
.mv-hero__badges span { font-size: 11px; letter-spacing: .08em; color: #8a7d68; }

@media (max-width: 960px) {
  .mv-hero__wrap { flex-direction: column; gap: 26px; padding-bottom: 44px; }
  .mv-hero__colText { text-align: center; }
  .mv-hero__colArt { width: min(440px, 88%); }
  .mv-logoRow { justify-content: center; }
  .mv-hero__wrap .mv-hero__title, .mv-hero__wrap .mv-hero__lead { text-align: center; }
  .mv-hero__wrap .mv-hero__search { margin: 0 auto 16px; }
  .mv-hero__wrap .mv-hero__cats { justify-content: center; }
  .mv-hero__badges { justify-content: center; }
}

/* よく読まれている記事: ランキングバッジ */
.mv-popGrid li { position: relative; }
.mv-rank {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%;
  background: #4a7c59; color: #f4f9f5; 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: #b98a4a; }

/* ======================================================================
   トップページはヘッダー・スライダー非表示（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; }
