/*
Theme Name: Kurasuma
Author: Ldesign
Description: Kurashiki lifestyle media site
Version: 1.0
*/

/* ===========================================================
   style.css — くらすま ホームページ スタイルシート
   岡山・倉敷のおうちメンテ＆暮らしの情報サイト

   目次:
   01. デザイントークン（カスタムプロパティ）
   02. リセット・ベーススタイル
   03. レイアウトユーティリティ（homepageブロックグリッド）
   04. タイポグラフィ
   05. ボタンコンポーネント
   06. サイトヘッダー
   07. ヒーロースライダー
   08. セクション共通スタイル
   09. カードコンポーネント
   10. 最新記事セクション
   11. メインコラム各セクション
   12. 男前シリーズセクション
   13. サイドバーウィジェット共通
   14. 天気ウィジェット
   15. 人気記事ランキング
   16. ニュースウィジェット
   17. カテゴリーウィジェット
   18. サービススライダーウィジェット
   19. サイトフッター
   20. プレースホルダーブロック
   21. レスポンシブデザイン
   23. 記事ページ（single.php）
   24. スマホ下固定ナビ
   =========================================================== */



/* ===========================================================
   01. デザイントークン（カスタムプロパティ）
   =========================================================== */
:root {
  --green:        #4a7c59;
  --green-light:  #6aab7a;
  --green-dark:   #35603f;
  --green-pale:   #e8f2ea;
  --green-pale2:  #f2f7f3;

  --amber:        #c8821a;
  --amber-light:  #e8a030;
  --amber-dark:   #9e6212;
  --amber-pale:   #fdf3e3;

  --cream:         #f8f5f0;
  --cream-dark:    #eeeadf;
  --cream-section: #f4f0ea;

  --text:         #333333;
  --text-mid:     #666666;
  --text-light:   #999999;
  --border:       #ddd7cc;
  --border-light: #eee8df;
  --white:        #ffffff;

  --cat-reform-bg:      #e8f2e8;
  --cat-reform-text:    #2d6040;
  --cat-housing-bg:     #e8eef8;
  --cat-housing-text:   #2a3f7a;
  --cat-lifestyle-bg:   #fef6e0;
  --cat-lifestyle-text: #7a5010;
  --cat-otokomae-bg:    #b1c9e3;
  --cat-otokomae-text:  #758596;
  --cat-history-bg:     #f3eadc;
  --cat-history-text:   #6b4f2a;
  --cat-subsidy-bg:     #f2f2f2;
  --cat-subsidy-text:   #333333;

  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  40px;
  --sp-2xl: 64px;

  --container: 1200px;
  --container-pad: 24px;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 3px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 6px 24px rgba(0,0,0,0.12);

  --transition: 0.25s ease;
}


/* ===========================================================
   02. リセット・ベーススタイル
   =========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic Medium",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--green-dark);
  opacity: 0.85;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}


/* ===========================================================
   03. レイアウトユーティリティ（homepageブロックグリッド）
   =========================================================== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.homepage-blocks {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-block: 40px;
}

.homepage-block {
  min-width: 0;
}

/* 最新記事の下に使う2カラム構造 */
.homepage-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
  margin-top: 24px;
}

.homepage-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.homepage-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.homepage-sidebar > section {
  margin: 0;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}


/* ===========================================================
   04. タイポグラフィ
   =========================================================== */
h1, h2, h3, h4, h5 {
  line-height: 1.4;
  font-weight: 600;
}


/* ===========================================================
   05. ボタンコンポーネント
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.btn--outline {
  border: 2px solid var(--green);
  color: var(--green);
  background: var(--white);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn--green {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}
.btn--green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
}

.btn--amber {
  background: var(--amber);
  color: var(--white);
  border: 2px solid var(--amber);
  font-weight: 700;
}
.btn--amber:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
}

.btn--otokome,
.btn--otokomae {
  border: 2px solid var(--amber);
  color: var(--amber);
  background: transparent;
}
.btn--otokome:hover,
.btn--otokomae:hover {
  background: var(--amber);
  color: var(--white);
}

.btn--sm {
  padding: 7px 18px;
  font-size: 13px;
}


/* ===========================================================
   06. サイトヘッダー
=========================================================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 16px;
}

.site-header__brand {
  flex-shrink: 0;
}

.site-header__logo {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Georgia", serif;
}

.site-header__logo:hover {
  color: var(--green-dark);
  opacity: 1;
}

.site-header__tagline {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.site-nav {
  flex: 1;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: nowrap;
}

.site-nav__item {
  flex-shrink: 0;
}

.site-nav__link {
  display: block;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.site-nav__link:hover {
  background: var(--green-pale);
  color: var(--green);
  opacity: 1;
}


/* ===========================================================
   07. ヒーロースライダー
   =========================================================== */
.hero {
  position: relative;
  background: #1a2e1a;
  overflow: hidden;
}

.hero__viewport {
  overflow: hidden;
}

.hero__track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
}

.hero__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}

.hero__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.40) 60%,
    transparent 100%
  );
  padding: 48px 0 40px;
  color: var(--white);
}

.hero__caption-label {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero__caption-label--amber {
  background: var(--amber);
}

.hero__caption-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.hero__caption-text {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition), transform var(--transition);
  line-height: 1;
}
.hero__arrow:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.05);
}

.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }

.hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.hero__dot--active {
  background: var(--white);
  transform: scale(1.3);
}
.hero__dot:hover:not(.hero__dot--active) {
  background: rgba(255,255,255,0.7);
}


/* ===========================================================
   08. セクション共通スタイル
   =========================================================== */
.section {
  margin-bottom: var(--sp-2xl);
}

.section__header {
  margin-bottom: 28px;
}

.section__header--lined {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-left: 4px solid var(--green);
  padding-left: 14px;
  margin-bottom: 24px;
}

.section__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-latest .section__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
  border-left: none;
  padding-left: 0;
}

.section-latest .section__title {
  font-size: 24px;
}

.section__title-en {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.section__view-all {
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
  white-space: nowrap;
}

.section__more {
  margin-top: 28px;
  text-align: center;
}


/* ===========================================================
   09. カードコンポーネント
   =========================================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__link {
  display: block;
  color: inherit;
}
.card__link:hover {
  opacity: 1;
  color: inherit;
}

.card__thumb {
  position: relative;
  overflow: hidden;
}

.card__thumb img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__thumb img {
  transform: scale(1.04);
}

.card__thumb--sm img {
  height: 170px;
}

.card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.card__cat--reform    { background: var(--cat-reform-bg);    color: var(--cat-reform-text); }
.card__cat--housing   { background: var(--cat-housing-bg);   color: var(--cat-housing-text); }
.card__cat--lifestyle { background: var(--cat-lifestyle-bg); color: var(--cat-lifestyle-text); }
.card__cat--history   { background: var(--cat-history-bg);   color: var(--cat-history-text); }
.card__cat--otokome,
.card__cat--otokomae { background: var(--amber-pale);       color: var(--amber-dark); }

.card__body {
  padding: 16px 18px 20px;
}

.card__date {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 7px;
}

.card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card:hover .card__title {
  color: var(--green);
}

.card__excerpt {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card--otokome,
.card--otokomae-dark {
  background: #1e2a1e;
  border-color: #2a3a2a;
  color: #e8e0d0;
}

.card--otokome .card__thumb img {
  height: 190px;
  opacity: 0.9;
}

.card--otokome .card__body {
  background: #1e2a1e;
}

.card--otokome .card__date {
  color: #887766;
}

.card--otokome .card__title {
  color: #e8e0d0;
  font-size: 14px;
}
.card--otokome:hover .card__title {
  color: var(--amber-light);
}

.card--otokome .card__excerpt {
  color: #9a8e7e;
  font-size: 12.5px;
}

/* =========================================
   住まい補助金情報 コンパクト版
========================================= */

.section-subsidy{
    padding:22px 20px;
}

.section-subsidy .section__header--lined{
    margin-bottom:12px;
}

.section-subsidy .section__title{
    font-size:19px;
}

.subsidy-intro{
    margin:0 0 12px;
    font-size:13px;
    line-height:1.7;
    color:#666;
}

.subsidy-list{
    margin:0;
    padding:0;
    list-style:none;
    border-top:1px solid #e5e5e5;
}

.subsidy-list__item{
    border-bottom:1px solid #e5e5e5;
}

.subsidy-list__link{
    display:flex;
    gap:12px;
    align-items:flex-start;
    padding:10px 0;
    color:#333;
    text-decoration:none;
}

.subsidy-list__link:hover{
    color:#4a7c59;
}

.subsidy-list__date{
    flex:0 0 82px;
    font-size:12px;
    color:#888;
    line-height:1.5;
}

.subsidy-list__title{
    flex:1;
    min-width:0;
    font-size:14px;
    font-weight:700;
    line-height:1.5;
}

.subsidy-empty{
    margin:0;
    padding:12px;
    background:#f7f7f7;
    border-radius:6px;
    font-size:13px;
    color:#777;
}

.section__more--compact{
    margin-top:14px;
}

.section__more--compact .btn{
    padding:8px 22px;
    font-size:13px;
}

@media (max-width:767px){

    .section-subsidy{
        padding:18px 14px;
    }

    .subsidy-list__link{
        display:block;
        padding:10px 0;
    }

    .subsidy-list__date{
        display:block;
        margin-bottom:3px;
        font-size:11px;
    }

    .subsidy-list__title{
        display:block;
        font-size:13.5px;
    }

}


/* ===========================================================
   10. 最新記事セクション
   =========================================================== */
.section-latest {
  background: var(--white);
  margin-inline: calc(-1 * var(--container-pad));
  padding-inline: var(--container-pad);
  padding-block: 48px 40px;
  border-bottom: 1px solid var(--border-light);
}


/* ===========================================================
   11. メインコラム各セクション
   =========================================================== */



/* ===========================================================
   エルデザインヒストリー
   =========================================================== */
.section-ldesign-history{
  background:#fffaf3;
  border:1px solid #eadcc8;
}

.section-ldesign-history .section__header--lined{
  border-left-color:var(--cat-history-text);
}

.section-ldesign-history .subsidy-intro{
  background:#fff6e9;
  border-left:4px solid var(--cat-history-text);
  border-radius:0 8px 8px 0;
  padding:14px 16px;
  color:#5e503f;
}

.section-ldesign-history .btn--outline{
  border-color:var(--cat-history-text);
  color:var(--cat-history-text);
}

.section-ldesign-history .btn--outline:hover{
  background:var(--cat-history-text);
  color:#ffffff;
}

/* ===========================================================
   12. 男前シリーズセクション（POPEYE風）
   =========================================================== */

.section-otokomae{
  background:#FFFFFF;
  border:1px solid #FFFFFF;
  border-radius:12px;
  padding:36px 32px 32px;
  box-shadow:0 2px 10px rgba(0,0,0,0.04);
}


/* ヘッダーブロック */

.otokomae__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}

.otokomae__title-block{
  flex:1;
}


/* タイトル */

.otokomae__label{
  font-family:'Oswald', sans-serif;
  font-size:11px;
  letter-spacing:0.18em;
  font-weight:600;
  color:#777;
  display:inline-block;
  margin-bottom:8px;
}

.otokomae__title-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.otokomae__icon{
  width:44px;
  height:auto;
  filter:drop-shadow(0 3px 6px rgba(0,0,0,0.2));
}

.otokomae__title{
  font-family:'Oswald', sans-serif;
  font-size:38px;
  font-weight:700;
  letter-spacing:0.06em;
  color:#111;
  margin:0;
}

.otokomae__subtitle{
  font-size:13px;
  color:#666;
  margin-top:4px;
}

.card--otokomae-manga .card__thumb img{
  object-position:center 20%;
}


/* キャラクター */

.otokomae__character{
  display:none;
}


/* 紹介文 */

.otokomae__intro{
  background:#f7f3e8;
  padding:20px 22px;
  border-left:4px solid #1f2a1f;
  border-radius:0 6px 6px 0;
  line-height:1.9;
  color:#444;
  margin-bottom:28px;
  font-size:14px;
}


/* グリッド */

.section-otokomae .card-grid{
  gap:18px;
}


/* カード */

.card--otokomae{
  transition:all .25s ease;
}

.card--otokomae:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}


/* ★アイキャッチ高さ統一 */

.card--otokomae .card__thumb{
  height:200px;
  overflow:hidden;
}


.card--otokomae .card__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
}


/* 本文 */

.card--otokomae .card__body{
  background:#ffffff;
  padding:16px 18px 20px;
}

.card--otokomae .card__date{
  color:#888;
  font-size:12px;
  margin-bottom:8px;
}

.card--otokomae .card__title{
  color:#111;
  font-size:15px;
  line-height:1.55;
  margin-bottom:8px;
}

.card--otokomae:hover .card__title{
  color:#1f2a1f;
}

.card--otokomae .card__excerpt{
  color:#666;
  font-size:13px;
  line-height:1.7;
}


/* バッジ */

.card__cat--otokomae{
  background:#111;
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.08em;
  padding:4px 8px;
  border-radius:2px;
}


/* ボタン */

.section-otokomae .section__more{
  margin-top:26px;
  text-align:center;
}

.btn--otokomae{
  border:2px solid #1f2a1f;
  color:#1f2a1f;
  background:#d5e0d5;
}

.btn--otokomae:hover{
  background:#1f2a1f;
  color:#fff;
}


/* ===========================================================
   タブレット
   =========================================================== */

@media (max-width:1024px){

  .section-otokomae{
    padding:28px 24px 24px;
  }

  .otokomae__title{
    font-size:26px;
  }

  .otokomae__icon{
    width:38px;
  }

}


/* ===========================================================
   スマホ
   =========================================================== */

@media (max-width:767px){

  .section-otokomae{
    padding:22px 16px 20px;
    border-radius:10px;
  }


  .otokomae__top{
    margin-bottom:16px;
  }


  .otokomae__title-row{
    gap:10px;
  }


  .otokomae__title{
    font-size:22px;
  }


  .otokomae__icon{
    width:34px;
  }


  .otokomae__subtitle{
    font-size:12px;
  }


  .otokomae__intro{
    font-size:13px;
    line-height:1.8;
    padding:14px;
    margin-bottom:20px;
  }


  .section-otokomae .card-grid{
    gap:16px;
  }


  /* ★スマホ画像高さ */

  .card--otokomae .card__thumb{
    height:170px;
  }

}
/* ===========================================================
   13. サイドバーウィジェット共通
   =========================================================== */
.widget {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.widget__header {
  background: var(--green);
  padding: 11px 18px;
}

.widget__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.widget__note {
  font-size: 11px;
  color: var(--text-light);
  padding: 8px 16px 12px;
  text-align: right;
}


/* ===========================================================
   14. 天気ウィジェット
   =========================================================== */
.weather {
  padding: 18px;
}

.weather__main {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.weather__icon {
  font-size: 48px;
  line-height: 1;
}

.weather__temp {
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.weather__temp small {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-mid);
}

.weather__cond {
  display: block;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  margin-top: 4px;
}

.weather__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.weather__detail-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.weather__label {
  font-size: 11px;
  color: var(--text-light);
}

.weather__val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.weather__val--high { color: #cc5544; }
.weather__val--low  { color: #3366bb; }

.weather__forecast {
  display: flex;
  justify-content: space-around;
  padding-bottom: 4px;
}

.weather__forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.weather__forecast-label {
  font-size: 11px;
  color: var(--text-light);
}

.weather__forecast-icon {
  font-size: 24px;
  line-height: 1;
}

.weather__forecast-temp {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ===========================================================
   15. 人気記事ランキング
   =========================================================== */
.ranking-list {
  padding: 12px 0 4px;
}

.ranking-list__item {
  border-bottom: 1px solid var(--border-light);
}
.ranking-list__item:last-child {
  border-bottom: none;
}

.ranking-list__link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  color: var(--text);
  transition: background var(--transition);
}
.ranking-list__link:hover {
  background: var(--green-pale2);
  opacity: 1;
}

.ranking-list__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ranking-list__num--gold   { background: #e8c840; color: #5a4a00; }
.ranking-list__num--silver { background: #c0c8d0; color: #404858; }
.ranking-list__num--bronze { background: #d0a070; color: #5a3018; }

.ranking-list__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--border-light);
}

.ranking-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-list__title {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ranking-list__link:hover .ranking-list__title {
  color: var(--green);
}


/* ===========================================================
   16. ニュースウィジェット
   =========================================================== */
/* 岡山ニュース */

.news-list{
  margin:0;
  padding:0;
  list-style:none;
}

.news-list__item{
  border-bottom:1px solid #eee;
}

.news-list__item:last-child{
  border-bottom:none;
}

.news-list__link{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 14px;
  text-decoration:none;
  color:#333;
}

.news-list__link:hover{
  background:#f7f7f7;
}

.news-list__date{
  flex:0 0 62px;
  font-size:12px;
  line-height:1.4;
  color:#6b8e74;
  font-weight:700;
  white-space:nowrap;
  margin-top:2px;
}

.news-list__title{
  margin:0;
  font-size:14px;
  line-height:1.5;
  font-weight:700;
  flex:1;
  min-width:0;
  word-break:break-word;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* 記事内の概要ボックス */
.news-article-summary-box{
  margin:0 0 24px;
  padding:16px 18px;
  background:#f7faf7;
  border-left:4px solid #6b8e74;
  border-radius:8px;
}

.news-article-summary-box p{
  margin:0 0 8px;
  line-height:1.8;
}

.news-article-summary-box p:last-child{
  margin-bottom:0;
}

.news-list__flex {
  display: flex;
  gap: 10px;
}

.news-list__thumb {
  width: 64px;
  min-width: 64px;
}

.news-list__thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.news-list__body {
  flex: 1;
}

.news-list__title {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-article__image-note {
  font-size: 12px;
  color: #777;
  text-align: right;
  margin: 6px 0 0;
  line-height: 1.5;
}
/* ===========================================================
   17. カテゴリーウィジェット
   =========================================================== */
.cat-groups {
  padding: 10px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cat-group__heading {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid;
}

.cat-group__heading--reform {
  border-color: var(--cat-reform-text);
  background: var(--cat-reform-bg);
  color: var(--cat-reform-text);
}
.cat-group__heading--housing {
  border-color: var(--cat-housing-text);
  background: var(--cat-housing-bg);
  color: var(--cat-housing-text);
}
.cat-group__heading--lifestyle {
  border-color: var(--cat-lifestyle-text);
  background: var(--cat-lifestyle-bg);
  color: var(--cat-lifestyle-text);
}

.cat-group__heading--otokomae {
  border-color: var(--cat-otokomae-text);
  background: var(--cat-otokomae-bg);
  color: var(--cat-otokomae-text);
}

.cat-group__heading--subsidy {
  border-color: var(--cat-subsidy-text);
  background: var(--cat-subsidy-bg);
  color: var(--cat-subsidy-text);
}

.cat-list {
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-list__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  font-size: 13px;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.cat-list__item a:hover {
  background: var(--green-pale2);
  color: var(--green);
  opacity: 1;
}

.cat-list__count {
  font-size: 11px;
  color: var(--text-light);
}

.cat-group__heading--subsidy {
  border-color: var(--cat-subsidy-text);
  background: var(--cat-subsidy-bg);
  color: var(--cat-subsidy-text);
}

.cat-group__heading--history {
  border-color: var(--cat-history-text);
  background: var(--cat-history-bg);
  color: var(--cat-history-text);
}


/* ===========================================================
   18. サービススライダーウィジェット
   =========================================================== */
.widget--services {
  overflow: hidden;
}

.service-slider__viewport {
  overflow: hidden;
}

.service-slider__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card {
  flex: 0 0 100%;
  width: 100%;
}

.service-card__img {
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card__img img:hover {
  transform: scale(1.03);
}

.service-card__body {
  padding: 16px 18px 18px;
}

.service-card__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.service-card__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 14px;
}

.service-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--border-light);
}

.service-slider__btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  border: 1px solid var(--border);
}
.service-slider__btn:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.service-slider__dots {
  display: flex;
  gap: 6px;
}

.service-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.service-slider__dot--active {
  background: var(--green);
  transform: scale(1.3);
}
.service-slider__dot:hover:not(.service-slider__dot--active) {
  background: var(--green-light);
}

.service-card__body .btn{
position:relative;
z-index:5;
}

.service-card__img a,
.service-card__body a{
position:relative;
z-index:5;
}


/* ===========================================================
   19. サイトフッター
   =========================================================== */
.site-footer {
  background: #1e2a1e;
  color: #9aaa9a;
  margin-top: var(--sp-2xl);
  border-top: 3px solid var(--green);
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 0 32px;
  border-bottom: 1px solid #2d3d2d;
  gap: var(--sp-xl);
}

.site-footer__logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  margin-bottom: 8px;
}

.site-footer__tagline {
  font-size: 12px;
  color: #8a9a8a;
  margin-bottom: 4px;
}

.site-footer__operator {
  font-size: 12px;
  color: #6a7a6a;
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.site-footer__nav-list a {
  font-size: 14px;
  color: #9aaa9a;
  padding: 3px 0;
  transition: color var(--transition);
}
.site-footer__nav-list a:hover {
  color: var(--white);
  opacity: 1;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: var(--sp-lg);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.site-footer__legal a {
  font-size: 13px;
  color: #7a8a7a;
  transition: color var(--transition);
}
.site-footer__legal a:hover {
  color: var(--white);
  opacity: 1;
}

.site-footer__copy {
  font-size: 12px;
  color: #5a6a5a;
  white-space: nowrap;
}


/* ===========================================================
   20. プレースホルダーブロック
   =========================================================== */
.widget__header--amber {
  background: var(--amber);
}

.placeholder-badge {
  display: inline-block;
  background: var(--amber-pale);
  color: var(--amber-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--amber-light);
}

.placeholder-block {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}

.placeholder-block--full {
  padding: 36px 32px;
}

.placeholder-block__icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
}

.placeholder-block__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.placeholder-block__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 16px;
}

.placeholder-block__schedule {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.placeholder-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.placeholder-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--green-pale2);
}

.placeholder-widget {
  padding: 20px 18px;
  text-align: center;
}

.placeholder-widget__badge {
  display: inline-block;
  background: var(--amber-pale);
  color: var(--amber-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--amber-light);
  margin-bottom: 12px;
}

.placeholder-widget__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 10px;
}

.placeholder-widget__schedule {
  font-size: 12px;
  color: var(--text-light);
}


/* ===========================================================
   21. レスポンシブデザイン
   =========================================================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: var(--green-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 110;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* タブレット */
@media (max-width: 1024px) {
  :root {
    --container-pad: 20px;
  }

  .homepage-columns {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 32px;
  }

  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__img {
    height: 380px;
  }

  .hero__caption {
    padding: 36px 0 32px;
  }

  .hero__caption-title {
    font-size: 24px;
  }

  .hero__caption-text {
    font-size: 13px;
  }

  .section__title {
    font-size: 20px;
  }

  .section-latest .section__title {
    font-size: 22px;
  }

  .section-latest {
    padding-block: 40px 36px;
  }

  .section-otokomae {
    padding: 28px 24px 24px;
  }

  .otokomae__title {
    font-size: 24px;
  }

  .site-footer__copy {
    white-space: normal;
  }
}


/* モバイル */
@media (max-width: 767px) {
  :root {
    --container-pad: 16px;
    --sp-2xl: 48px;
  }

.site-header__inner {
  flex-wrap: wrap;
  padding-block: 12px;
  gap: 0;
}

.site-header__brand{
  max-width: calc(100% - 54px);
}

.site-header__logo {
  font-size: 20px;
}

.site-header__tagline{
  font-size:9px;
  line-height:1.3;
  margin-top:2px;
}

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    flex: 0 0 100%;
    order: 3;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 400px;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    margin-top: 10px;
    border-top: 1px solid var(--border-light);
  }

  .site-nav__link {
    padding: 13px 4px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid var(--border-light);
  }
  .site-nav__link:hover {
    background: var(--green-pale);
  }

  .site-nav__item--home {
    margin-top: 8px;
  }
  .site-nav__link--home {
    display: block;
    text-align: center;
    margin-left: 0;
    padding: 13px;
    border-radius: var(--radius-sm);
    border-bottom: none;
    background: var(--green);
    color: var(--white) !important;
  }
  .site-nav__link--home:hover {
    background: var(--green-dark);
  }

  .hero__img {
    height: 220px;
  }

  .hero__caption {
    padding: 20px 0 16px;
  }

  .hero__caption-label {
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 5px;
  }

  .hero__caption-title {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .hero__caption-text {
    display: none;
  }

  .hero__arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .hero__arrow--prev { left: 8px; }
  .hero__arrow--next { right: 8px; }

  .hero__dots {
    bottom: 8px;
    gap: 6px;
  }

  .hero__dot {
    width: 8px;
    height: 8px;
  }

  .section-latest {
    padding-block: 28px;
    margin-inline: calc(-1 * var(--container-pad));
  }

  .homepage-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .card-grid--3 {
    grid-template-columns: 1fr;
  }

  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .card-grid {
    gap: 16px;
  }

  .card__thumb img {
    height: 180px;
  }

  .card__thumb--sm img {
    height: 160px;
  }

  .section {
    margin-bottom: 40px;
  }

  .section__title {
    font-size: 18px;
  }

  .section-latest .section__title {
    font-size: 18px;
  }

  .section__more {
    margin-top: 20px;
  }

  .section__more .btn {
    padding: 13px 44px;
    font-size: 15px;
  }

  .section-otokomae {
    padding: 20px 16px 20px;
    border-radius: var(--radius-md);
  }

  .otokomae__top {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .otokomae__title {
    font-size: 20px;
  }

  .otokomae__subtitle {
    font-size: 12px;
  }

  .character-icon {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
  }

  .character-icon__symbol {
    font-size: 24px;
  }

  .character-icon__name {
    font-size: 9px;
  }

  .otokomae__intro {
    font-size: 13px;
    line-height: 1.75;
    padding: 12px 14px;
    margin-bottom: 20px;
  }

  .section-otokomae .card-grid {
    grid-template-columns: 1fr;
  }

  .card--otokome .card__thumb img {
    height: 170px;
  }

  .weather__details {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .weather__detail-row {
    align-items: center;
    text-align: center;
  }

  .cat-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 10px 12px 16px;
  }

  .site-footer__top {
    flex-direction: column;
    padding: 28px 0 20px;
    gap: 16px;
  }

  .site-footer__nav-list {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 20px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0;
  }

  .site-footer__legal {
    gap: 6px 14px;
  }

  .site-footer__copy {
    font-size: 11px;
    white-space: normal;
  }
}


/* 超小型画面 */
@media (max-width: 480px) {
  .hero__img {
    height: 190px;
  }

  .hero__caption-title {
    font-size: 14px;
    line-height: 1.45;
  }

  .hero__caption .btn {
    padding: 8px 18px;
    font-size: 12px;
  }

  .card__thumb img {
    height: 160px;
  }

  .card__thumb--sm img {
    height: 140px;
  }

  .service-card__img img {
    height: 140px;
  }

  .cat-groups {
    grid-template-columns: 1fr;
  }

  .weather__details {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .weather__detail-row {
    align-items: flex-start;
    text-align: left;
  }
}

/* ===========================================================
/* -----------------------------
   23-1. 記事全体レイアウト
   ----------------------------- */
.single-article{
  max-width:860px;
  margin:48px auto;
  background:#ffffff;
  padding:32px 28px;
  border:1px solid #eee8df;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,0.04);
}

.single-article__meta{
  font-size:13px;
  color:#888;
  margin-bottom:10px;
}

.single-article__title{
  font-size:32px;
  line-height:1.4;
  color:#111;
  margin-bottom:14px;
}

.single-article__cats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:20px;
}

.single-article__cat{
  display:inline-block;
  font-size:12px;
  color:#35603f;
  background:#e8f2ea;
  padding:4px 10px;
  border-radius:999px;
}

.single-article__thumb{
  margin-bottom:26px;
}

.single-article__thumb img{
  width:100%;
  height:auto;
  border-radius:10px;
  display:block;
}

.single-article__content{
  font-size:16px;
  line-height:2;
  color:#333;
}

.single-article__content p{
  margin-bottom:1.4em;
}

.single-article__content h2,
.single-article__content h3{
  margin:1.8em 0 0.8em;
  line-height:1.5;
  color:#111;
}

.single-article__content ul,
.single-article__content ol{
  margin:0 0 1.4em 1.4em;
}

.single-article__closing{
  margin-top:32px;
  margin-bottom:18px;
  font-size:15px;
  line-height:1.9;
  color:#444;
}

/* -----------------------------
   23-2. お問い合わせブロック
   ----------------------------- */
.single-article__contact{
  margin-top:24px;
  margin-bottom:48px;
  padding:32px 28px;
  background:#f7f3e8;
  border:1px solid #e8decb;
  border-top:4px solid #4a7c59;
  border-radius:12px;
}

.single-article__contact-label{
  font-size:12px;
  letter-spacing:0.14em;
  color:#777;
  margin:0 0 10px 0;
  font-weight:600;
}

.single-article__contact-title{
  font-size:34px;
  line-height:1.35;
  margin:0 0 14px 0;
  color:#111;
}

.single-article__contact-text{
  margin:0 0 22px 0;
  color:#444;
  line-height:1.9;
  font-size:15px;
}

.single-article__contact-btn-wrap{
  margin:0;
}

.cta-btn{
  display:inline-block;
  min-width:280px;
  padding:14px 22px;
  text-align:center;
  text-decoration:none;
  background:#4a7c59;
  color:#fff;
  border-radius:8px;
  font-weight:700;
}

.cta-btn:hover{
  opacity:0.92;
}

/* -----------------------------
   23-3. 関連記事
   ----------------------------- */
.single-article__related{
  margin-top:20px;
  margin-bottom:40px;
}

.single-article__related-title{
  font-size:26px;
  color:#111;
  margin-bottom:18px;
}

/* -----------------------------
   23-4. コメント欄
   ----------------------------- */
.single-article__comments{
  margin-top:24px;
}

/* comments.php 用の最低限 */
.comments-area{
  margin-top:32px;
}

.comments-title{
  font-size:22px;
  margin-bottom:16px;
}

.comment-list{
  margin-bottom:28px;
}

.comment{
  margin-bottom:20px;
  padding-bottom:16px;
  border-bottom:1px solid #eee;
}

.comment-form textarea{
  width:100%;
  min-height:120px;
  padding:10px 12px;
  border:1px solid #ddd;
  border-radius:6px;
  margin-bottom:12px;
}

.comment-form input:not([type="submit"]){
  width:100%;
  padding:10px 12px;
  border:1px solid #ddd;
  border-radius:6px;
  margin-bottom:12px;
}

.comment-form input[type="submit"]{
  width:auto;
  background:#4a7c59;
  color:#fff;
  border:none;
  padding:10px 22px;
  border-radius:6px;
  cursor:pointer;
}

/* -----------------------------
   23-5. 記事ページ レスポンシブ
   ----------------------------- */
@media (max-width:767px){
  .single-article{
    margin:24px auto;
    padding:22px 16px;
  }

  .single-article__title{
    font-size:24px;
  }

  .single-article__content{
    font-size:15px;
    line-height:1.9;
  }

  .single-article__closing{
    font-size:14px;
  }

  .single-article__contact{
    margin-bottom:32px;
    padding:22px 16px;
  }

  .single-article__contact-title{
    font-size:26px;
  }

  .single-article__contact-text{
    font-size:14px;
  }

  .cta-btn{
    width:100%;
    min-width:auto;
  }

  .single-article__related-title{
    font-size:22px;
  }
}

/* ===========================================================
   24. スマホ下固定ナビ
   =========================================================== */

/* -----------------------------
   24-1. スマホ下固定 3分割バー
   ----------------------------- */
.sp-bottom-fixed-nav{
  display: none;
}

@media (max-width: 767px){
  .sp-bottom-fixed-nav{
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    border-top: 1px solid #d8d8d8;
  }

  .sp-bottom-fixed-nav__item{
    flex: 1;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
    padding: 0;
  }

  /* 背景色 */
  .sp-bottom-fixed-nav__item--line{
    background: #00c300;
  }

  .sp-bottom-fixed-nav__item--mail{
    background: #2f56b3;
  }

  .sp-bottom-fixed-nav__item--tel{
    background: #f7931e;
  }

  /* 区切り線 */
  .sp-bottom-fixed-nav__item + .sp-bottom-fixed-nav__item{
    border-left: 2px solid rgba(255,255,255,0.15);
  }

  /* ★ 全アイコン削除 */
  .sp-bottom-fixed-nav__icon{
    display: none;
  }

  /* ラベル */
  .sp-bottom-fixed-nav__label{
    display: block;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
  }

  /* LINEだけ少し強調 */
  .sp-bottom-fixed-nav__item--line .sp-bottom-fixed-nav__label{
    font-size: 14px;
    font-weight: 800;
  }

  /* 押した時 */
  .sp-bottom-fixed-nav__item:active{
    opacity: 0.9;
  }

  /* ページ下余白 */
  body{
    padding-bottom: 50px;
  }
}

//* ===========================================================
========================= */

.site-nav--fixed{
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 9998;
}

@media (min-width: 768px){
  .site-nav--fixed{
    position: sticky;
    top: 0;
  }
}

/* 念のためナビの中身を整える */
.site-nav__list{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* お問い合わせボタン */
.site-nav__item--contact{
  margin-left: auto;
}

.site-nav__item--contact .site-nav__link{
  display: inline-block;
  background: #f7931e;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.site-nav__item--contact .site-nav__link:hover{
  opacity: 0.9;
}
@media (max-width: 767px){

  /* ナビ全体を縦並び中央寄せ */
  .site-nav__list{
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* お問い合わせの右寄せを解除 */
  .site-nav__item--contact{
    margin-left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* ボタンを中央＆ちょい大きめ */
  .site-nav__item--contact .site-nav__link{
    width: auto;
    text-align: center;
    padding: 10px 20px;
  }

}

/* =========================
   男前YouTube（メイン用）
========================= */

.section-otokomae-youtube{
  margin-top: 32px;
}

.otokomae-youtube__intro{
  margin: 0 0 20px;
  color: #5f6b5f;
  line-height: 1.9;
  font-size: 0.98rem;
}

.otokomae-youtube__grid{
  gap: 24px;
}

.card--youtube{
  overflow: hidden;
}

.otokomae-youtube-card__thumb{
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f6f8f4;
}

.otokomae-youtube-card__thumb img{
  width: 100%;
  height: auto;   /* ←これが超重要 */
  display: block;
}

.otokomae-youtube-card__play{
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #ffffff;
  font-size: 18px;
  line-height: 44px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.card--youtube .card__title{
  line-height: 1.6;
}

.card--youtube .card__excerpt{
  margin-top: 8px;
}

@media (max-width: 1024px){
  .section-otokomae-youtube{
    margin-top: 24px;
  }

  .otokomae-youtube__grid{
    gap: 18px;
  }
}

@media (max-width: 767px){
  .otokomae-youtube__grid{
    gap: 16px;
  }
}




/* ===========================================================
   100. front-page_column_fixed.php 専用上書き
   PCは main/sidebar の縦積み、スマホは display:contents + order
   =========================================================== */

.homepage-blocks{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 340px;
  gap:32px 48px;
  align-items:start;
}

.homepage-block--full{
  grid-column:1 / -1;
}

.homepage-main-column{
  grid-column:1;
  display:flex;
  flex-direction:column;
  gap:32px;
  min-width:0;
}

.homepage-sidebar-column{
  grid-column:2;
  display:flex;
  flex-direction:column;
  gap:24px;
  min-width:0;
}

.homepage-main-column > .homepage-block,
.homepage-sidebar-column > .homepage-block{
  margin:0;
  min-width:0;
}

.homepage-block--main,
.homepage-block--sidebar{
  grid-column:auto;
}

.section-category{
  min-width:0;
}

.subsidy-intro{
  margin:0 0 18px;
  color:#5f6b5f;
  line-height:1.9;
  font-size:0.98rem;
}


@media (max-width: 1024px){
  .homepage-blocks{
    grid-template-columns:minmax(0, 1fr) 290px;
    gap:28px 32px;
  }

  .homepage-main-column{
    gap:28px;
  }

  .homepage-sidebar-column{
    gap:20px;
  }
}

@media (max-width: 767px){
  .homepage-blocks{
    display:flex;
    flex-direction:column;
    gap:20px;
    padding-block:28px;
  }

  .homepage-main-column,
  .homepage-sidebar-column{
    display:contents;
  }

  .homepage-block,
  .homepage-block--full,
  .homepage-block--main,
  .homepage-block--sidebar{
    width:100%;
    min-width:0;
    grid-column:auto;
  }

  #weather{ order:1; }
  #news{ order:2; }
  #events{ order:3; }

  #latest{ order:4; }

  #reform{ order:5; }
  #lifestyle{ order:6; }
  #maintenance{ order:7; }
  #subsidy{ order:8; }
  #ldesign-history{ order:9; }
  #otokomae{ order:10; }
  #otokomae-youtube{ order:11; }

  #ranking{ order:12; }
  #services{ order:13; }
  #category{ order:14; }

  .subsidy-intro{
    font-size:14px;
    line-height:1.8;
    margin-bottom:14px;
  }

}

@media (max-width: 480px){
  .homepage-blocks{
    gap:16px;
  }
}

/* =========================
   地域ニュース用：折りたたみ相談ボックス
========================= */

.news-consult-box{
  margin:36px 0 44px;
  padding:0;
  background:transparent;
  border:none;
}

.news-consult-box__toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 20px;
  background:linear-gradient(135deg,#f7fbf8,#eef7f1);
  border:1px solid #d8e6dd;
  border-radius:14px;
  box-shadow:0 4px 14px rgba(0,0,0,0.05);
  text-align:left;
  cursor:pointer;
}

.news-consult-box__text{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.news-consult-box__label{
  font-size:13px;
  color:#6b7d70;
  line-height:1.5;
}

.news-consult-box__title{
  font-size:20px;
  font-weight:800;
  color:#35603f;
  line-height:1.4;
}

.news-consult-box__icon{
  flex-shrink:0;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#4a7c59;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  font-weight:700;
}

.news-consult-box__form{
  display:none;
  margin-top:16px;
  padding:24px 22px;
  background:#ffffff;
  border:1px solid #d8e6dd;
  border-radius:14px;
  box-shadow:0 4px 14px rgba(0,0,0,0.04);
}

.news-consult-box__form.is-open{
  display:block;
}

@media (max-width:767px){
  .news-consult-box__toggle{
    padding:16px;
  }

  .news-consult-box__title{
    font-size:18px;
  }

  .news-consult-box__label{
    font-size:12px;
  }

  .news-consult-box__form{
    padding:18px 14px;
  }
}

/* ===========================================================
   記事ページ アイキャッチ画像サイズ調整
   =========================================================== */

.single .wp-post-image {
  max-width: 500px !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 30px !important;
  border-radius: 10px;
}
.card__thumb{
  height:180px;
  overflow:hidden;
}

/* ===========================================================
   情報掲載募集BOX
   =========================================================== */

.info-request-box{
  background:#ffffff;
  border:1px solid #ddd7cc;
  border-radius:14px;
  padding:28px 20px;
  margin:35px 0;
  text-align:center;
  box-shadow:0 3px 12px rgba(0,0,0,0.08);
}

.info-request-box__label{
  color:#4a7c59;
  font-weight:bold;
  font-size:14px;
  margin-bottom:8px;
}

.info-request-box__title{
  font-size:22px;
  margin-bottom:14px;
  color:#333333;
}

.info-request-box__text{
  font-size:15px;
  line-height:1.8;
  color:#666666;
  margin-bottom:18px;
}

.info-request-box__btn{
  display:inline-block;
  background:#4a7c59;
  color:#ffffff;
  padding:12px 28px;
  border-radius:999px;
  text-decoration:none;
  font-weight:bold;
  transition:0.25s;
}

.info-request-box__btn:hover{
  opacity:0.85;
  transform:translateY(-2px);
}
/* ===========================================================
   スマホ時：情報掲載募集BOXを一番下へ
   =========================================================== */
@media screen and (max-width:768px){

  .homepage-layout,
  .homepage-sidebar{
    display:flex;
    flex-direction:column;
  }

  .info-request-box{
    order:99;
  }

}

/* ===========================================================
   掲載依頼フォーム
   =========================================================== */

.request-page{
  max-width:760px;
  margin:40px auto;
  padding:32px 28px;
  background:#ffffff;
  border:1px solid #eee8df;
  border-radius:14px;
  box-shadow:0 3px 14px rgba(0,0,0,0.06);
}

.request-page h2{
  font-size:26px;
  line-height:1.5;
  margin-bottom:18px;
  color:#333;
}

.request-page p{
  line-height:1.9;
  margin-bottom:16px;
}

.request-note{
  background:#f2f7f3;
  border-left:4px solid #4a7c59;
  padding:16px 18px;
  border-radius:8px;
  margin:24px 0 28px;
  line-height:1.8;
}

/* Contact Form 7 */
.request-page .wpcf7{
  margin-top:28px;
}

.request-page .wpcf7 label{
  display:block;
  font-weight:700;
  color:#333;
  margin-bottom:18px;
}

.request-page .wpcf7 input[type="text"],
.request-page .wpcf7 input[type="email"],
.request-page .wpcf7 input[type="tel"],
.request-page .wpcf7 input[type="url"],
.request-page .wpcf7 select,
.request-page .wpcf7 textarea{
  width:100%;
  margin-top:6px;
  padding:12px 14px;
  border:1px solid #ddd7cc;
  border-radius:8px;
  background:#fff;
  font-size:15px;
  box-sizing:border-box;
}

.request-page .wpcf7 textarea{
  min-height:160px;
}

.request-page .wpcf7 input[type="file"]{
  display:block;
  margin-top:8px;
  padding:10px;
  background:#f8f5f0;
  border:1px dashed #ccc4b8;
  border-radius:8px;
  width:100%;
  box-sizing:border-box;
}

.request-page .wpcf7-submit{
  display:block;
  width:100%;
  background:#4a7c59;
  color:#fff;
  border:none;
  border-radius:999px;
  padding:14px 20px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}

.request-page .wpcf7-submit:hover{
  background:#35603f;
}

/* ===========================================================
   掲載依頼フォーム枠
   =========================================================== */

.request-form-box{
  border:2px solid #4a7c59;
  border-radius:14px;
  padding:28px;
  background:#ffffff;
  margin-top:30px;
}

.request-form-title{
  font-size:24px;
  color:#4a7c59;
  text-align:center;
  margin:0 0 8px;
  font-weight:700;
}

.request-form-title::before{
  content:"✉ ";
}

.request-form-lead{
  text-align:center;
  color:#666;
  margin-bottom:28px;
  font-size:15px;
}

/* 入力欄の線を少し濃く */
.request-page .wpcf7 input[type="text"],
.request-page .wpcf7 input[type="email"],
.request-page .wpcf7 input[type="tel"],
.request-page .wpcf7 input[type="url"],
.request-page .wpcf7 select,
.request-page .wpcf7 textarea{
  border:2px solid #c9c1b4;
}

/* 入力中 */
.request-page .wpcf7 input:focus,
.request-page .wpcf7 textarea:focus,
.request-page .wpcf7 select:focus{
  border-color:#4a7c59;
  outline:none;
}

/* ===========================================================
   掲載依頼フォーム スマホ調整
   =========================================================== */

@media screen and (max-width:768px){

  .request-page{
    margin:20px 10px;
    padding:18px 14px;
  }

  .request-form-box{
    padding:20px 14px;
    border-radius:10px;
  }

  .request-form-title{
    font-size:20px;
  }

  .request-form-lead{
    font-size:14px;
  }

  .request-page .wpcf7 label{
    font-size:14px;
  }

  .request-page .wpcf7 input[type="text"],
  .request-page .wpcf7 input[type="email"],
  .request-page .wpcf7 input[type="tel"],
  .request-page .wpcf7 input[type="url"],
  .request-page .wpcf7 input[type="date"],
  .request-page .wpcf7 select,
  .request-page .wpcf7 textarea{
    font-size:16px;
    padding:12px;
  }

}
/* ===========================================================
   掲載依頼ページ
   =========================================================== */

.request-page{
  max-width:760px;
  margin:40px auto;
  padding:0 20px;
}

.request-page-title{
  font-size:28px;
  color:#4a7c59;
  margin-bottom:18px;
  text-align:center;
}

.request-lead{
  font-size:16px;
  line-height:2;
  color:#444;
  margin-bottom:30px;
}

.request-lead strong{
  color:#4a7c59;
}

.request-heading{
  font-size:20px;
  color:#333;
  border-left:5px solid #4a7c59;
  padding-left:12px;
  margin:30px 0 14px;
}

.request-list{
  list-style: disc;
  padding-left:22px;
  margin-bottom:28px;
}

.request-list li{
  display:list-item;
  margin-bottom:8px;
  line-height:1.7;
}

.request-note{
  background:#f8f5f0;
  border-left:5px solid #c8821a;
  padding:16px 18px;
  border-radius:8px;
  line-height:1.8;
  color:#555;
  margin:28px 0 34px;
}

.request-form-box{
  border:2px solid #4a7c59;
  border-radius:14px;
  padding:28px;
  background:#fff;
}

.request-form-title{
  text-align:center;
  color:#4a7c59;
  font-size:24px;
  margin-bottom:8px;
}

.request-form-title::before{
  content:"✉ ";
}

.request-form-lead{
  text-align:center;
  color:#666;
  margin-bottom:26px;
}

@media screen and (max-width:768px){
  .request-page{
    padding:0 14px;
  }

  .request-page-title{
    font-size:22px;
    text-align:left;
  }

  .request-form-box{
    padding:20px 14px;
  }
}

/* スマホ：トップ各セクションの左右幅を統一 */
@media screen and (max-width:768px){

  .homepage-blocks{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .homepage-block,
  .homepage-block--full,
  .homepage-block--main,
  .homepage-block--sidebar{
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  .section-latest{
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

}
/* スマホ：最新記事のぎゅうぎゅう感を調整 */
@media screen and (max-width:768px){

  .section-latest{
    padding:24px 14px !important;
    margin-left:0 !important;
    margin-right:0 !important;
    background:#ffffff;
  }

  .section-latest .card-grid{
    gap:22px !important;
  }

  .section-latest .card{
    border-radius:10px;
    overflow:hidden;
  }

  .section-latest .card__body{
    padding:18px 18px 20px !important;
  }

}
/* PC：メイン記事セクションを白背景にする */
.homepage-main-column .homepage-block{
  background:#ffffff;
  border-radius:12px;
  padding:28px 24px;
  margin-bottom:28px;
  box-shadow:0 2px 10px rgba(0,0,0,0.06);
  box-sizing:border-box;
}

/* トップ */
.card__cat--news{
  background:#8A6F4D;
  color:#ffffff;
}

.back-to-home{
  text-align:center;
  margin:50px 0 20px;
}

.back-to-home__btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 34px;
  background:#ffffff;
  border:1px solid #00693E;
  color:#00693E;
  border-radius:999px;
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.back-to-home__icon{
  font-size:18px;
}

.back-to-home__btn:hover{
  background:#00693E;
  color:#ffffff;
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,0.15);
}

/* カードのはみ出し防止 */
.card,
.card__link,
.card__thumb,
.card__body,
.card__title,
.card__excerpt{
  min-width:0;
}

.card__thumb img{
  width:100%;
  max-width:100%;
  height:auto;
  display:block;
}

.card__title,
.card__excerpt{
  overflow-wrap:break-word;
  word-break:break-word;
}

/* =================================
  くらすまトップへ戻るボタン
================================= */

.kurasuma-back-wrap{
  text-align:center;
  margin:50px 0;
}

.kurasuma-back-btn{
  display:inline-block;
  padding:18px 55px;
  border:1.5px solid #00693e;
  border-radius:50px;

  color:#00693e;
  background:#ffffff;

  font-size:16px;
  font-weight:700;
  letter-spacing:.05em;

  text-decoration:none;
  transition:.3s;
}


.kurasuma-back-btn:hover{
  background:#00693e;
  color:#ffffff;
}

/* ====================================
くらすま 雑誌棚
==================================== */

.kurasuma-shelf-wrap{
    margin:10px 0 40px;
    padding:30px 25px 18px;
    background:linear-gradient(180deg,#f8efe1 0%,#fffaf5 75%);
    border:1px solid #e6d6bd;
    border-radius:24px;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
    overflow:hidden;
}

.kurasuma-shelf-head{
    text-align:center;
    margin-bottom:24px;
}

.kurasuma-shelf-label{
    margin:0 0 8px;
    font-size:13px;
    letter-spacing:.18em;
    color:#8b7355;
    font-weight:bold;
}

.kurasuma-shelf-title{
    margin:0;
    font-size:26px;
    color:#00693E;
    line-height:1.5;
}

.kurasuma-shelf-text{
    margin-top:10px;
    color:#6d6258;
    line-height:1.8;
    font-size:14px;
}

.kurasuma-books{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:18px;
    flex-wrap:nowrap;
    padding-bottom:0;
}

.kurasuma-book{
    flex:0 0 140px;
    max-width:140px;
    position:relative;
    z-index:2;
    margin-bottom:-22px;
    transition:.25s;
}

.kurasuma-book:hover{
    transform:translateY(-8px) scale(1.03);
}

.kurasuma-book img{
    width:100%;
    height:auto;
    display:block;
    filter:drop-shadow(0 10px 12px rgba(0,0,0,.18));
}

.kurasuma-book:nth-child(2),
.kurasuma-book:nth-child(5){
    margin-top:8px;
}

.kurasuma-book:nth-child(3){
    margin-top:4px;
}

.kurasuma-shelf-board{
    position:relative;
    z-index:1;
    height:95px;
    margin-top:-5px;
    background-image:url("http://ldesign-reform.com/wp-content/uploads/2026/06/本棚-1-scaled.png");
    background-repeat:no-repeat;
    background-position:center center;
    background-size:100% auto;
}

.kurasuma-book{
    position:relative;
    display:block;
}
.kurasuma-book-new{

    position:absolute;

    top:10px;

    right:-15px;

    z-index:100;

    display:block;

    width:50px;

    background:#e95b4f;

    color:#fff;

    text-align:center;

    font-size:10px;

    font-weight:bold;

    padding:1px 0;

    transform:rotate(35deg);

    pointer-events:none;
}


@media (max-width:768px){

.kurasuma-shelf-wrap{
    padding:20px 14px 18px;
}

.kurasuma-shelf-title{
    font-size:22px;
}

.kurasuma-shelf-text{
    font-size:13px;
}

.kurasuma-books{
    justify-content:flex-start;
    overflow-x:auto;
    gap:10px;
    padding-bottom:0;
    -webkit-overflow-scrolling:touch;
}

.kurasuma-book{
    flex:0 0 120px;
    max-width:120px;
    margin-bottom:-25px;
    cursor:pointer;
}

.kurasuma-book img{
    filter:drop-shadow(0 6px 8px rgba(0,0,0,.18));
}

.kurasuma-shelf-board{
    height:82px;
    margin-top:-18px;
    background-size:190% auto;
    background-position:center bottom;
}

.kurasuma-book:active{
    transform:translateY(30px) scale(1.02);
}


}

/* ==========================================================
   くらすま 天気ページ
========================================================== */

.kurasuma-weather-page{
    max-width:900px;
    margin:0 auto;
}

.kurasuma-weather-page h2{
    font-size:34px;
    text-align:center;
    color:#00693E;
    margin-bottom:10px;
}

.weather-lead{
    text-align:center;
    color:#666;
    margin-bottom:40px;
    line-height:1.8;
}

/*--------------------
  各エリア
--------------------*/

.weather-detail-section{
    background:#fff;
    border:1px solid #dfe8e2;
    border-radius:18px;
    padding:25px;
    margin-bottom:35px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.weather-detail-section h3{
    font-size:26px;
    color:#00693E;
    margin:0 0 20px;
}

/*--------------------
  メインカード
--------------------*/

.weather-main-card{

    display:flex;
    align-items:center;
    gap:20px;

    background:#f4faf6;
    border-radius:16px;
    padding:22px;
}

.weather-main-icon{

    font-size:56px;

}

.weather-main-temp{

    font-size:42px;
    font-weight:bold;
    color:#00693E;
    line-height:1;
}

.weather-main-text{

    margin-top:8px;
    font-size:18px;
}

/*--------------------
  アコーディオン
--------------------*/

.weather-accordion{

    margin-top:18px;
    border:1px solid #dbe7df;
    border-radius:14px;
    overflow:hidden;
}

.weather-accordion summary{

    cursor:pointer;
    padding:18px 20px;
    background:#00693E;
    color:#fff;
    font-weight:bold;
    list-style:none;
    position:relative;
}

.weather-accordion summary::-webkit-details-marker{
    display:none;
}

.weather-accordion summary::after{

    content:"+";
    position:absolute;
    right:20px;
    font-size:26px;
    transition:.3s;

}

.weather-accordion[open] summary::after{

    content:"－";

}

.weather-hourly-list,
.weather-week-list{

    padding:18px;
    background:#fff;

}

/*--------------------
  時間ごと
--------------------*/

.weather-hourly-item{

    display:grid;
    grid-template-columns:80px 60px 80px 1fr;

    align-items:center;

    padding:12px 0;

    border-bottom:1px solid #eee;

}

.weather-hourly-item:last-child{

    border:none;

}

/*--------------------
  週間
--------------------*/

.weather-week-item{

    display:grid;

    grid-template-columns:
        80px
        60px
        1fr
        90px
        90px
        90px;

    align-items:center;

    gap:8px;

    padding:14px 0;

    border-bottom:1px solid #eee;

}

.weather-week-item:last-child{

    border:none;

}

.weather-date{

    font-weight:bold;

}

/*--------------------
  暮らし
--------------------*/

.weather-life-advice{

    background:#F8FBF8;

    border-left:6px solid #00693E;

    padding:28px;

    border-radius:12px;

    margin-top:40px;

}

.weather-life-advice h3{

    margin-top:0;

    color:#00693E;

}

.weather-life-advice p{

    line-height:2;

}

/*--------------------
  スマホ
--------------------*/

@media(max-width:768px){

.kurasuma-weather-page h2{

    font-size:28px;

}

.weather-detail-section{

    padding:18px;

}

.weather-main-card{

    padding:18px;

}

.weather-main-icon{

    font-size:44px;

}

.weather-main-temp{

    font-size:34px;

}

.weather-hourly-item{

    grid-template-columns:
        60px
        45px
        60px
        1fr;

    font-size:13px;

}

.weather-week-item{

    grid-template-columns:1fr;

    gap:4px;

    text-align:left;

    padding:16px 0;

}

.weather-accordion summary{

    padding:15px 18px;

}

}

/* 天気カードリンク */

.weather-card-link{
    display:block;
    color:inherit;
    text-decoration:none;
}

.weather-card-link:hover{
    text-decoration:none;
}

.weather-card-link .weather{
    cursor:pointer;
    transition:.25s ease;
}

.weather-card-link:hover .weather{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}

.weather__more{
    margin-top:18px;
    padding-top:15px;
    border-top:1px solid #ececec;
    text-align:center;
    color:#00693E;
    font-weight:700;
    font-size:14px;
}
/* ==========================================================
   追加CSS
   外観 → カスタマイズ → 追加CSS に貼り付け
   ========================================================== */

/* 既存の天気ページCSSがある場合は、下記を追加または差し替え */

.kurasuma-weather-page-v2{
    max-width:980px;
    margin:0 auto;
}

.kurasuma-weather-page-v2 .weather-lead{
    text-align:center;
    line-height:1.9;
    color:#5f6f66;
    margin:0 0 26px;
}

.weather-tabs{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:0 0 24px;
    padding:6px;
    background:#f3f8f5;
    border:1px solid #dbe8df;
    border-radius:999px;
}

.weather-tab{
    width:50%;
    max-width:240px;
    border:none;
    border-radius:999px;
    padding:13px 18px;
    background:transparent;
    color:#00693E;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
}

.weather-tab.is-active{
    background:#00693E;
    color:#fff;
    box-shadow:0 6px 16px rgba(0,105,62,.24);
}

.weather-city-panel{
    display:none;
}

.weather-city-panel.is-active{
    display:block;
}

.weather-hero-card,
.weather-section-box,
.weather-advice-card,
.weather-error-box{
    background:#fff;
    border:1px solid #dfe9e3;
    border-radius:22px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    margin:0 0 24px;
}

.weather-hero-card{
    overflow:hidden;
    background:linear-gradient(180deg,#f4fbf7 0%,#ffffff 72%);
}

.weather-hero-head{
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:flex-start;
    padding:24px 26px 10px;
}

.weather-hero-head h2{
    margin:0 0 4px;
    font-size:28px;
    color:#00693E;
}

.weather-hero-head p{
    margin:0;
    color:#66756b;
}

.weather-hero-badge{
    display:inline-flex;
    white-space:nowrap;
    padding:7px 12px;
    border-radius:999px;
    background:#e7f4ec;
    color:#00693E;
    font-size:12px;
    font-weight:700;
}

.weather-hero-main{
    display:flex;
    align-items:center;
    gap:24px;
    padding:12px 26px 22px;
}

.weather-hero-icon{
    font-size:76px;
    line-height:1;
}

.weather-hero-temp strong{
    font-size:62px;
    line-height:1;
    color:#00693E;
}

.weather-hero-temp span{
    font-size:28px;
    color:#00693E;
    font-weight:700;
}

.weather-hero-temp p{
    margin:8px 0 0;
    font-size:18px;
    font-weight:700;
}

.weather-hero-meta{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    border-top:1px solid #e3ede7;
    background:#fff;
}

.weather-hero-meta div{
    padding:15px 10px;
    text-align:center;
    border-right:1px solid #e3ede7;
}

.weather-hero-meta div:last-child{
    border-right:none;
}

.weather-hero-meta span{
    display:block;
    margin-bottom:4px;
    color:#718178;
    font-size:12px;
}

.weather-hero-meta strong{
    color:#21362b;
    font-size:16px;
}

.weather-section-box{
    padding:24px;
}

.weather-section-title{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:12px;
    margin-bottom:16px;
}

.weather-section-title h3{
    margin:0;
    font-size:22px;
    color:#00693E;
}

.weather-section-title p{
    margin:0;
    color:#7b8980;
    font-size:13px;
}

.weather-scroll-x{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding-bottom:4px;
    -webkit-overflow-scrolling:touch;
}

.weather-scroll-x::-webkit-scrollbar{
    height:8px;
}

.weather-scroll-x::-webkit-scrollbar-thumb{
    background:#c9ded0;
    border-radius:999px;
}

.weather-day-card{
    flex:1 0 190px;
    min-width:190px;
    padding:18px;
    border:1px solid #dfe9e3;
    border-radius:18px;
    background:#f8fcf9;
    text-align:center;
}

.weather-day-label,
.weather-week-date,
.weather-hour-time{
    font-weight:700;
    color:#00693E;
}

.weather-day-icon{
    font-size:38px;
    margin:10px 0 6px;
}

.weather-day-text{
    font-weight:700;
    min-height:1.5em;
}

.weather-day-temp{
    margin-top:10px;
}

.weather-day-temp strong{
    color:#d85b41;
    font-size:18px;
}

.weather-day-temp span{
    color:#3976a8;
    font-weight:700;
}

.weather-day-rain,
.weather-week-small,
.weather-hour-rain,
.weather-hour-wind{
    margin-top:7px;
    color:#66756b;
    font-size:13px;
}

.weather-hour-card{
    flex:0 0 105px;
    padding:15px 10px;
    border:1px solid #dfe9e3;
    border-radius:16px;
    background:#fff;
    text-align:center;
}

.weather-hour-icon{
    font-size:30px;
    margin:8px 0;
}

.weather-hour-temp{
    font-size:18px;
    font-weight:800;
    color:#21362b;
}

.weather-week-card{
    flex:0 0 150px;
    padding:16px;
    border:1px solid #dfe9e3;
    border-radius:17px;
    background:#fff;
    text-align:center;
}

.weather-week-icon{
    font-size:34px;
    margin:9px 0 5px;
}

.weather-week-text{
    font-size:13px;
    font-weight:700;
    min-height:2.6em;
}

.weather-week-temp{
    margin-top:8px;
    color:#d85b41;
    font-weight:800;
}

.weather-week-low{
    color:#3976a8;
}

.weather-advice-card{
    padding:26px;
    border-left:7px solid #00693E;
    background:#f8fcf9;
}

.weather-advice-label{
    display:inline-block;
    margin-bottom:12px;
    padding:6px 12px;
    border-radius:999px;
    background:#00693E;
    color:#fff;
    font-size:13px;
    font-weight:700;
}

.weather-advice-card h3{
    margin:0 0 10px;
    color:#00693E;
    font-size:22px;
}

.weather-advice-card p{
    margin:0;
    line-height:2;
    color:#33443a;
}

.weather-error-box{
    padding:24px;
}

@media(max-width:768px){
    .kurasuma-weather-page-v2{
        max-width:100%;
    }

    .weather-tabs{
        border-radius:18px;
        gap:6px;
    }

    .weather-tab{
        max-width:none;
        padding:12px 10px;
        font-size:14px;
    }

    .weather-hero-head{
        padding:20px 18px 8px;
    }

    .weather-hero-head h2{
        font-size:24px;
    }

    .weather-hero-main{
        padding:10px 18px 20px;
        gap:16px;
    }

    .weather-hero-icon{
        font-size:58px;
    }

    .weather-hero-temp strong{
        font-size:48px;
    }

    .weather-hero-meta{
        grid-template-columns:repeat(2,1fr);
    }

    .weather-hero-meta div{
        border-bottom:1px solid #e3ede7;
    }

    .weather-section-box{
        padding:18px;
    }

    .weather-section-title{
        display:block;
    }

    .weather-section-title h3{
        font-size:20px;
    }

    .weather-section-title p{
        margin-top:4px;
    }

    .weather-day-card{
        flex-basis:165px;
        min-width:165px;
    }

    .weather-hour-card{
        flex-basis:96px;
    }

    .weather-week-card{
        flex-basis:138px;
    }

    .weather-advice-card{
        padding:22px;
    }
}
/* ==========================================================
   追加CSS：くらすま天気 Ver3
   ========================================================== */

.kurasuma-weather-v3{
    max-width:980px;
    margin:0 auto;
}

.kurasuma-weather-v3 .weather-lead{
    text-align:center;
    line-height:1.8;
    color:#555;
    margin:0 0 26px;
}

.weather-tabs{
    display:flex;
    justify-content:center;
    gap:10px;
    margin:0 0 24px;
}

.weather-tab{
    min-width:150px;
    padding:12px 18px;
    border:1px solid #00693E;
    border-radius:999px;
    background:#fff;
    color:#00693E;
    font-weight:700;
    cursor:pointer;
}

.weather-tab.is-active{
    background:#00693E;
    color:#fff;
}

.weather-city-panel{
    display:none;
}

.weather-city-panel.is-active{
    display:block;
}

.weather-hero-card{
    background:linear-gradient(135deg,#f3faf5,#ffffff);
    border:1px solid #dbe8df;
    border-radius:22px;
    padding:28px;
    box-shadow:0 8px 24px rgba(0,0,0,.07);
    margin-bottom:28px;
}

.weather-hero-area{
    color:#00693E;
    font-weight:700;
    margin-bottom:12px;
}

.weather-hero-main{
    display:flex;
    align-items:center;
    gap:20px;
}

.weather-hero-icon{
    font-size:68px;
    line-height:1;
}

.weather-hero-temp{
    font-size:52px;
    color:#00693E;
    font-weight:800;
    line-height:1;
}

.weather-hero-temp small{
    font-size:.45em;
}

.weather-hero-text{
    font-size:18px;
    margin-top:8px;
    font-weight:700;
}

.weather-hero-meta{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:22px;
}

.weather-hero-meta span{
    background:#fff;
    border:1px solid #dbe8df;
    border-radius:999px;
    padding:7px 12px;
    color:#00693E;
    font-weight:700;
    font-size:13px;
}

.living-dashboard,
.weather-block,
.weather-note-box{
    background:#fff;
    border:1px solid #e3ebe5;
    border-radius:20px;
    padding:24px;
    margin-bottom:26px;
    box-shadow:0 5px 16px rgba(0,0,0,.05);
}

.living-dashboard h3,
.weather-block h3,
.weather-note-box h3{
    margin:0 0 18px;
    color:#00693E;
    font-size:22px;
}

.living-index-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.living-index-card{
    background:#f8fbf8;
    border:1px solid #e0ece4;
    border-radius:16px;
    padding:16px;
}

.living-index-head{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:800;
    color:#00693E;
}

.living-index-icon{
    font-size:22px;
}

.living-index-stars{
    margin-top:10px;
    color:#f0a000;
    font-size:18px;
    letter-spacing:.05em;
}

.living-index-label{
    margin-top:4px;
    font-size:13px;
    color:#00693E;
    font-weight:700;
}

.living-index-card p{
    margin:10px 0 0;
    line-height:1.7;
    font-size:14px;
}

.weather-hour-scroll{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding-bottom:8px;
    -webkit-overflow-scrolling:touch;
}

.weather-hour-card{
    flex:0 0 112px;
    background:#f8fbf8;
    border:1px solid #e0ece4;
    border-radius:16px;
    padding:14px 10px;
    text-align:center;
}

.weather-hour-time{
    font-weight:800;
    color:#00693E;
}

.weather-hour-icon{
    font-size:26px;
    margin:8px 0;
}

.weather-hour-temp{
    font-weight:800;
}

.weather-hour-rain,
.weather-hour-uv{
    margin-top:5px;
    font-size:12px;
    color:#666;
}

.weather-week-grid{
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:10px;
}

.weather-week-card{
    background:#f8fbf8;
    border:1px solid #e0ece4;
    border-radius:16px;
    padding:13px 8px;
    text-align:center;
    font-size:13px;
}

.weather-week-date{
    font-weight:800;
    color:#00693E;
}

.weather-week-icon{
    font-size:26px;
    margin:8px 0;
}

.weather-week-text{
    min-height:34px;
    font-weight:700;
}

.weather-week-temp,
.weather-week-rain,
.weather-week-uv{
    margin-top:5px;
    color:#555;
}

.weather-week-temp.low{
    color:#2b6cb0;
}

.weather-note-box{
    border-left:6px solid #00693E;
    background:#f8fbf8;
}

.weather-note-box p{
    line-height:1.9;
    margin:0;
}

@media(max-width:768px){
    .weather-tabs{
        position:sticky;
        top:0;
        z-index:5;
        background:#fff;
        padding:8px 0;
    }

    .weather-tab{
        min-width:120px;
        padding:10px 14px;
    }

    .weather-hero-card{
        padding:20px;
        border-radius:18px;
    }

    .weather-hero-icon{
        font-size:54px;
    }

    .weather-hero-temp{
        font-size:42px;
    }

    .living-index-grid{
        grid-template-columns:1fr;
    }

    .weather-week-grid{
        display:flex;
        overflow-x:auto;
        gap:12px;
        padding-bottom:8px;
        -webkit-overflow-scrolling:touch;
    }

    .weather-week-card{
        flex:0 0 118px;
    }
}

/* ==========================================================
   トップページ 天気切替カード
========================================================== */
/* メイン部分を中央揃え */
.weather__main{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    text-align:left;
    padding:10px 18px 20px;
}

/* アイコン */
.weather__icon{
    flex:0 0 auto;
}

/* 気温・天気 */
.weather__summary{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.weather__forecast{
    padding:0 18px;
    box-sizing:border-box;
}

.weather__more{
    margin-left:18px;
    margin-right:18px;
}

/* 最高気温・最低気温などの部分 */
.weather__details{
    padding:0 18px;
    box-sizing:border-box;
}

.weather-switch-card{
    width:100%;
    background:#fff;
}

.weather-switch-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:18px 18px;
    background:#fff;
    border-bottom:1px solid #e5eee8;
}

.weather-switch-tab{
    appearance:none;
    border:1px solid #d9e4dd;
    background:#fff;
    color:#555;
    font-weight:700;
    font-size:14px;
    padding:10px 8px;
    border-radius:999px;
    cursor:pointer;
    transition:.2s ease;
}

.weather-switch-tab:hover{
    border-color:#00693E;
    color:#00693E;
}

.weather-switch-tab.is-active{
    background:#00693E;
    color:#fff;
    border-color:#00693E;
    box-shadow:0 4px 10px rgba(0,105,62,.18);
}

.weather-switch-pin{
    display:none;
}

.weather-switch-panel{
    display:none;
    padding:0 18px 18px;
    background:#fff;
}

.weather-switch-panel.is-active{
    display:block;
}

.weather-switch-panel .weather{
    cursor:pointer;
    transition:.25s ease;
    box-shadow:none;
}


.weather__forecast-day{
    cursor:pointer;
}

.weather__forecast-day:hover{
    transform:translateY(-2px);
}

.weather__more{
    cursor:pointer;
    margin-top:18px;
    padding-top:15px;
    border-top:1px solid #ececec;
    text-align:center;
    color:#00693E;
    font-weight:700;
    font-size:14px;
}

.weather__more:hover{
    text-decoration:underline;
}

@media(max-width:768px){
    .weather-switch-tabs{
        gap:6px;
        padding:10px 14px;
    }

    .weather-switch-panel{
        padding:0 14px 14px;
    }

    .weather-switch-tab{
        font-size:13px;
        padding:9px 6px;
    }
}

/* 現在ラベル */
.weather__now-label{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:3px 10px;
    margin-bottom:6px;
    border-radius:20px;
    background:#eef7f2;
    color:#00693E;
    font-size:11px;
    font-weight:700;
    line-height:1;
    letter-spacing:.05em;
}

.site-footer__sns{
    margin-top:18px;
}

.site-footer__sns a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    color:#fff;
    transition:.25s;
}

.site-footer__sns a:hover{
    opacity:.8;
    transform:translateY(-2px);
}

.site-footer__sns svg{
    width:26px;
    height:26px;
}

/* ==========================================
Instagramアイコン
========================================== */

.site-nav__item--instagram{
    display:flex;
    align-items:center;
}

.site-nav__instagram{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#00693E;
    border:2px solid #00693E;
    border-radius:50%;
    transition:.25s;
}

.site-nav__instagram:hover{
    background:#E4405F;
    border-color:#E4405F;
    color:#fff;
    transform:translateY(-2px);
}