@charset "UTF-8";
/* お知らせ（CPT news）用スタイル
   ブランド配色: orange #fe9761 / text #433d38 / blue #3bbbff */

/* ===== 一覧（トップ内セクション＆アーカイブ共通） ===== */
.news_list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid #ece7df;
}
.news_item {
  border-bottom: 1px solid #ece7df;
}
.news_link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 8px;
  color: #433d38;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.news_link:hover {
  background-color: #fff8f3;
}
.news_date {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #fe9761;
  letter-spacing: .04em;
  font-feature-settings: "tnum";
}
.news_cat {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f3b62e;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.news_ttl {
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
.news_link:hover .news_ttl {
  color: #fe9761;
}

/* 「ブログ一覧を見る」ボタン（アウトライン型） */
.news_more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 56px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #fe9761;
  color: #fe9761 !important;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.news_more:hover {
  background: #fe9761;
  color: #fff !important;
}
.news_more_arrow {
  font-size: 14px;
  font-weight: 700;
}

/* ===== アーカイブ／詳細ページ ===== */
.breadcrumb {
  color: #8a8378;
}
.breadcrumb a {
  color: #fe9761;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* ページャー */
.news_pager .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news_pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f3efe8;
  color: #433d38;
  text-decoration: none;
  font-weight: 700;
}
.news_pager .page-numbers.current {
  background: #fe9761;
  color: #fff;
}
.news_pager a.page-numbers:hover {
  background: #fde2d2;
}

/* ===== 詳細 ===== */
.news_single .news_meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.news_single_ttl {
  border-bottom: 3px solid #fe9761;
  padding-bottom: 14px;
  color: #433d38;
}
.news_eyecatch img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 本文（ブロックエディタ出力） */
.news_body {
  font-size: 16px;
  line-height: 1.95;
  color: #433d38;
}
.news_body p { margin: 0 0 1.2em; }
.news_body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 1.8em 0 .8em;
  padding: 8px 14px;
  border-left: 5px solid #fe9761;
  background: #fff8f3;
}
.news_body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 1.6em 0 .6em;
  color: #fe9761;
}
.news_body a { color: #3bbbff; text-decoration: underline; }
.news_body ul, .news_body ol { margin: 0 0 1.2em 1.4em; }
.news_body ul li { list-style: disc; margin-bottom: .4em; }
.news_body ol li { list-style: decimal; margin-bottom: .4em; }
.news_body img { max-width: 100%; height: auto; }
.news_body blockquote {
  margin: 1.2em 0;
  padding: 12px 18px;
  border-left: 4px solid #d8d2c7;
  background: #f7f5f0;
  color: #6b6459;
}
.news_body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}
.news_body th, .news_body td {
  border: 1px solid #e4ded3;
  padding: 10px 12px;
  text-align: left;
}
.news_body th { background: #fff8f3; }

/* 前後リンク */
.news_navlinks a {
  color: #fe9761;
  text-decoration: none;
  font-weight: 700;
}
.news_navlinks a:hover { text-decoration: underline; }

/* SP調整 */
@media screen and (max-width: 900px) {
  .news_link {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 16px 4px;
  }
  .news_ttl {
    flex: 1 1 100%;
    font-size: 15px;
  }
  .news_single_ttl { font-size: 24px; }
  .news_body { font-size: 15px; }
}

/* ============================================================
   トップページ「お知らせ・ブログ」セクション（カード型）
   ============================================================ */
.home_news {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #fdf6ea 0%, #fcefdc 100%);
}
.home_news_inner {
  position: relative;
  z-index: 1;
}

/* --- 見出しエリア --- */
.news_head {
  position: relative;
  text-align: center;
}
.news_head_ttl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.news_head_main {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fe9761;
  line-height: 1.1;
}
.news_head_sub {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 500;
  color: #6b6459;
  letter-spacing: .04em;
}

/* NEWバッジ（スカラップ・シール） */
.news_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  background-image: url("../img/badge_new.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* キャラ＋吹き出し（PCでは見出し右に絶対配置） */
.news_head_chara {
  position: absolute;
  right: 0;
  bottom: -14px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.news_chara_bubble {
  position: relative;
  display: inline-block;
  max-width: 170px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e7ddcd;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: #5b544a;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .05);
}
.news_chara_bubble::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: 16px;
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(1px 0 0 #e7ddcd);
}
.news_chara_img {
  position: relative;
  display: inline-block;
}
.news_chara_ojisan {
  width: 110px;
  height: auto;
  display: block;
}
.news_chara_bulb {
  position: absolute;
  top: -14px;
  right: -12px;
  width: 34px;
  height: auto;
}

/* --- カード --- */
.news_cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 32px;
}
.news_card {
  /* 件数が1〜2でも3列時と同じ幅を維持（左寄せ） */
  flex: 0 1 calc((100% - 64px) / 3);
  max-width: calc((100% - 64px) / 3);
  min-width: 0;
  background: #fff;
  border: 1px solid #f2e6d4;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(180, 130, 70, .10);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(180, 130, 70, .18);
}
.news_card_link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.news_card_thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: #f5efe4;
  overflow: hidden;
}
.news_card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news_card_thumb .news_card_noimg {
  object-fit: contain;
  padding: 22%;
  opacity: .5;
}
.news_card_body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 22px 24px 28px;
}
.news_card_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.news_card_ttl {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  color: #433d38;
}
.news_card_excerpt {
  font-size: 14px;
  line-height: 1.75;
  color: #6f685d;
}

/* --- 装飾イラスト --- */
.news_deco {
  position: absolute;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  height: auto;
}
.news_deco_tl { left: 1.5%; width: 120px; }
.news_deco_tr { right: 7%; width: 120px; }
.news_deco_house { right: 1%; width: 95px; }

/* --- レスポンシブ --- */
@media screen and (max-width: 1024px) {
  .news_head_chara { position: static; justify-content: center; margin-top: 18px; }
}
@media screen and (max-width: 900px) {
  .home_news { padding: 50px 0 60px; }
  .news_head_main { font-size: 30px; }
  .news_head_sub { font-size: 14px; }
  .news_badge { width: 54px; height: 54px; font-size: 15px; }
  /* タブレット：2列 */
  .news_cards { gap: 22px; }
  .news_card { flex-basis: calc((100% - 22px) / 2); max-width: calc((100% - 22px) / 2); }
  .news_card_thumb { aspect-ratio: 16 / 9; }
  /* キャラと装飾はSPでは控えめに */
  .news_head_chara { display: none; }
  .news_deco_tl, .news_deco_tr { width: 64px; }
  .news_deco_house { width: 56px; }
}
@media screen and (max-width: 600px) {
  /* スマホ：1列フル幅 */
  .news_cards { flex-direction: column; gap: 20px; }
  .news_card { flex-basis: auto; max-width: none; }
}

/* ============================================================
   お知らせ・ブログ 一覧（下層）ページ
   ============================================================ */
/* --- バナー --- */
.na_banner {
  position: relative;
  background: linear-gradient(180deg, #ffe375 0%, #ffd24a 100%);
  padding: 56px 0 88px;
  overflow: hidden;
}
.na_banner_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  position: relative;
  z-index: 2;
}
.na_banner_chara { flex: 0 0 auto; }
.na_banner_chara img { width: 150px; height: auto; display: block; }
.na_banner_lead { text-align: center; padding: 0 10px; }
.na_banner_ttl {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.1;
  color: #fc8a3b;
  -webkit-text-stroke: 4px #fff;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 rgba(214, 120, 40, .18);
  letter-spacing: .04em;
}
.na_banner_sub {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
  color: #6b5333;
}
.na_banner_deco {
  flex: 0 0 auto;
  position: relative;
  width: 170px;
  height: 130px;
}
.na_banner_deco .na_deco_tree {
  position: absolute; left: 0; bottom: 0; width: 92px; height: auto;
}
.na_banner_deco .na_deco_house {
  position: absolute; right: 0; bottom: 0; width: 96px; height: auto;
}
.na_banner_wave {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0;
}
.na_banner_wave svg { width: 100%; height: 60px; display: block; }

/* --- カテゴリータブ --- */
.na_tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 48px;
}
.na_tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #f0e6d4;
  color: #5b544a;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.na_tab_ic { display: inline-flex; color: var(--c); }
.na_tab_ic svg { width: 20px; height: 20px; }
.na_tab:hover { border-color: var(--c); box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
.na_tab.is-active {
  background: var(--c);
  border-color: var(--c);
  color: #fff;
}
.na_tab.is-active .na_tab_ic { color: #fff; }

/* --- カードグリッド --- */
.na_archive { margin-top: 56px; margin-bottom: 52px; }
.na_grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 32px;
}
.na_card {
  background: #fff;
  border: 1px solid #f1e7d7;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(180, 130, 70, .10);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.na_card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(180, 130, 70, .18); }
.na_card_link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.na_thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #f5efe4;
  overflow: hidden;
}
.na_thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.na_thumb .na_noimg { object-fit: contain; padding: 22%; opacity: .5; }
.na_badge {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.na_body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 28px;
}
.na_date { font-size: 13px; font-weight: 700; color: #8a8378; letter-spacing: .03em; }
.na_ttl { font-size: 17px; font-weight: 700; line-height: 1.5; color: #433d38; }
.na_excerpt { font-size: 13px; line-height: 1.7; color: #7a7367; }
.na_more {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 30px;
  border: 2px solid #fe9761;
  border-radius: 999px;
  color: #fe9761;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .2s, color .2s;
}
.na_card:hover .na_more { background: #fe9761; color: #fff; }
.na_more_ar { font-weight: 700; }

/* --- ページネーション --- */
.na_pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 64px;
}
.na_pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #efe5d4;
  color: #6b6459;
  text-decoration: none;
  font-weight: 700;
}
.na_pager .page-numbers.current { background: #fe9761; border-color: #fe9761; color: #fff; }
.na_pager a.page-numbers:hover { background: #fde2d2; }
.na_pager .page-numbers.dots { border: none; background: transparent; }
.na_pager .prev, .na_pager .next { padding: 0 18px; color: #8a8378; }

/* --- 相談CTAバンド --- */
.na_cta { padding: 28px 0 84px; }
.na_cta_inner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(180deg, #ffe884 0%, #ffdc5b 100%);
  border-radius: 30px;
  padding: 36px 48px;
}
.na_cta_chara { flex: 0 0 auto; }
.na_cta_chara img { width: 120px; height: auto; display: block; }
.na_cta_text { flex: 1 1 auto; }
.na_cta_lead { font-size: 22px; font-weight: 900; color: #5b4524; line-height: 1.4; }
.na_cta_lead .orange { color: #f2762e !important; }
.na_cta_sub { font-size: 15px; font-weight: 700; color: #6b5333; margin-top: 6px; }
.na_cta_btns { flex: 0 0 auto; display: flex; gap: 14px; }
.na_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  color: #fff !important;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .12);
  transition: transform .15s, box-shadow .15s;
}
.na_btn img { width: 26px; height: 26px; }
.na_btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.na_btn_line { background: #06c755; }
.na_btn_mail { background: #fe9761; }

/* --- レスポンシブ --- */
@media screen and (max-width: 1024px) {
  .na_grid { grid-template-columns: repeat(2, 1fr); }
  .na_banner_chara img { width: 120px; }
  .na_banner_ttl { font-size: 40px; }
}
@media screen and (max-width: 900px) {
  .na_banner { padding: 28px 0 48px; }
  .na_banner_inner { gap: 4px; }
  .na_banner_chara img { width: 78px; }
  .na_banner_ttl { font-size: 27px; -webkit-text-stroke: 3px #fff; }
  .na_banner_sub { font-size: 12px; margin-top: 8px; }
  .na_banner_deco { display: none; }
  .na_tabs { gap: 8px; margin-top: 24px; }
  .na_tab { padding: 9px 16px; font-size: 13px; }
  .na_tab_ic svg { width: 17px; height: 17px; }
  /* タブレットは2列を維持（gapのみ調整） */
  .na_grid { gap: 32px 22px; }
  .na_cta_inner { flex-direction: column; text-align: center; padding: 24px 20px; border-radius: 22px; }
  .na_cta_btns { width: 100%; flex-direction: column; }
  .na_btn { justify-content: center; }
}
@media screen and (max-width: 600px) {
  /* スマホ：一覧は1列 */
  .na_grid { grid-template-columns: 1fr; gap: 24px; }
}

/* #home05（太陽光の導入で…）とお知らせセクションの間に余白（白背景側） */
#home05 { margin-bottom: 90px; }
@media screen and (max-width: 900px) {
  #home05 { margin-bottom: 50px; }
}

/* スマホ：お知らせ・ブログ → お問い合わせ の間隔を確保 */
@media screen and (max-width: 900px) {
  #contact.mT165 { margin-top: 60px !important; }
}
