@charset "UTF-8"; html {
    -webkit-text-size-adjust: 100%;
    font-size: 62.5%;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ヘッダー
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home header {
    top: 0;
    left: 0;
}

header {
    z-index: 200;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    width: 100%;
}

header.contact_header {
    padding: 2rem 5.4rem 2rem 5.4rem;
    display: flex;
    align-items: center;
}

header > * {
    width: 100%;
}

.h_inner {
    justify-content: space-between;
    align-items: center;
}

.h_inner .logo {
    line-height: 1;
    margin: 0;
    font-size: 2em;
}

.h_inner .logo a {
    display: inline-block;
    line-height: 1;
    width: 100%;
}

.h_inner .logo a img {
    width: 100%;
}

header ul.nav_menu {
    display: flex;
    align-items: center;
}

header ul li.menu-item-has-children {
    position: relative;
}

header ul li.menu-item-has-children::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 4rem;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
}

header ul li:not(:last-child) {
    margin-right: 4rem;
}

header ul.nav_menu > li > a {
    font-size: 1.8rem;
	font-weight: bold;
}

header ul.nav_menu > li > a:hover {
    opacity: 1;
}

header ul.child {
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
    position: absolute;
    top: 4rem;
    left: 50%;
    margin-bottom: -5px;
    width: 120%;
    transform: translateX(-50%);
    z-index: 120;
}

header ul.child > li {
    margin: 0 0 5px;
    width: 100%;
    cursor: pointer;
}

header ul.child > li > a {
    font-size: 1.6rem;
    background: #7C974C;
    text-align: center;
    padding: 1.5rem 1rem;
    display: block;
    line-height: 1.5;
    cursor: pointer;
    border-radius: 1rem;
    color: #fff;
    letter-spacing: .2em;
	font-weight: bold;
}

header ul.child > li:hover > a {
    color: #fff !important;
    opacity: 1 !important;
}

/***********************************************
汎用パーツ
***********************************************/
.cmn_col3_list {
    margin: 0 -10px -20px;
}

.cmn_col3_list li {
    width: calc(33.3333% - 20px);
    margin: 0 10px 20px;
}

.cmn_col3_list li:hover {
    cursor: pointer;
}

.cmn_col3_list li .area_a {
    margin-bottom: 10px;
}

.cmn_col3_list li .area_a p.img {
}

.cmn_col3_list li .area_b {
}

.cmn_col3_list li .area_b h3.ttl {
}

.cmn_col3_list li .area_b p.txt {
}

@media (max-width: 750px) {
    .cmn_col3_list {
        margin: 0 0 -20px;
    }

    .cmn_col3_list li {
        width: 100%;
        margin: 0 0 20px;
    }

    .cmn_col3_list li .area_a {
        margin-bottom: 10px;
    }

    .cmn_col3_list li .area_a p.img {
    }

    .cmn_col3_list li .area_b {
    }

    .cmn_col3_list li .area_b h3.ttl {
    }

    .cmn_col3_list li .area_b p.txt {
    }
}

/***********************************************
汎用パーツ
***********************************************/
.cmn_col2_list {
    margin: 0 -10px -20px;
}

.cmn_col2_list li {
    width: calc(50% - 20px);
    margin: 0 10px 20px;
}

.cmn_col2_list li:hover {
    cursor: pointer;
}

.cmn_col2_list li .area_a {
    margin-bottom: 10px;
}

.cmn_col2_list li .area_a p.img {
}

.cmn_col2_list li .area_b {
}

.cmn_col2_list li .area_b h3.ttl {
}

.cmn_col2_list li .area_b p.txt {
}

@media (max-width: 750px) {
    .cmn_col2_list {
        margin: 0 0 -20px;
    }

    .cmn_col2_list li {
        width: 100%;
        margin: 0 0 20px;
    }

    .cmn_col2_list li .area_a {
        margin-bottom: 10px;
    }

    .cmn_col2_list li .area_a p.img {
    }

    .cmn_col2_list li .area_b {
    }

    .cmn_col2_list li .area_b h3.ttl {
    }

    .cmn_col2_list li .area_b p.txt {
    }
}

ol.cmn_num00_list {
}

ol.cmn_num00_list li {
}

ol.cmn_num00_list li::before {
    content: counter(ol_cnt, decimal-leading-zero);
}

/* ----------------------------------
   Sidebar / Widget styles
   ---------------------------------- */
.widget-area {
    padding: 0 0 20px;
}

.widget {
    padding: 10px 0;
}

.widget-title {
    font-size: 20px;
    color: #fff;
    background: #7C974C;
    padding: 8px 15px;
    margin-bottom: 10px;
}

.widget-profile .profile-inner {
    gap: 12px;
    align-items: flex-start;
    padding: 20px 0;
}

.profile-thumb img {
    object-fit: cover;
    display: block;
    border-radius: 100%;
    height: 180px;
    margin: 0 auto;
}

.profile-text h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
}

.profile-text p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #555;
}

.search-form {
    display: block;
}

.search-form .search-field {
    width: 80%;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.search-form .search-submit {
    display: inline-block;
    padding: 14px 18px;
    background: #C6B18A;
    color: #fff;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.widget ul.sidebar_category_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul.sidebar_category_list > li {
    padding: 10px 0;
}

.widget ul.sidebar_category_list > li:not(:last-child) {
    border-bottom: 1px solid #DDDDDD;
}

.widget ul.sidebar_category_list li:not(:last-child) {
    margin-bottom: 0;
}

.widget ul li a {
    text-decoration: none;
}

.widget ul li > ul.children {
}

.widget ul li > ul.children > li {
    padding: 8px 0;
}

.widget ul li > ul.children > li > a {
    font-size: 16px;
    padding-left: 1em;
    position: relative;
}

.widget ul li > ul.children > li > a::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 2px;
    background: #C6B18A;
    top: 50%;
    transform: translateY(calc(-50% + 2px));
    left: 0;
}

.widget ul.recent_posts_list {
    padding-top: 10px;
}

.widget ul.recent_posts_list li {
}

.widget ul.recent_posts_list li:not(:last-child) {
    margin-bottom: 30px;
}

.widget ul.recent_posts_list li p.img {
    padding-top: 56%;
    margin-bottom: 10px;
}

.widget ul.recent_posts_list li p.cat {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: #fff;
    padding: 4px 15px 2px;
    background: #C6B18A;
    display: table;
    font-weight: bold;
    margin-bottom: 10px;
}

.widget ul.recent_posts_list li h3.ttl {
}

.widget ul.recent_posts_list li h3.ttl a {
    font-size: 18px;
    display: block;
    line-height: 1.5;
}

@media (max-width: 750px) {
    .widget {
        padding: 0;
    }

    .profile-text p {
        font-size: 14px;
    }

    .search-form .search-field {
        width: 75%;
    }

}

/* ----------------------------------
   Favorite Posts styles
   ---------------------------------- */
.favorite_section_title {
    font-size: 20px;
    color: #222;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
}

.favorite_posts_list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: -150px 0 80px;
    list-style: none;
    padding: 0;
}

.favorite_post_item {
    flex: 0 1 calc(33.333% - 11px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fav_post_thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
    padding-top: 52%;
}

.fav_thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fav_post_content {
    padding: 15px 14px;
}

.fav_post_cat {
    font-size: 12px;
    color: #fff;
    padding: 4px 15px 2px;
    background: #7C974C;
    display: table;
    font-weight: bold;
    margin-bottom: 10px;
}

.fav_post_title {
    font-size: 14px;
    color: #222;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.fav_post_title a {
    text-decoration: none;
    font-size: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fav_post_title a:hover {
    opacity: 1;
}

.fav_post_date {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.no_favorite {
    text-align: center;
    color: #999;
    padding: 20px;
}
@media (max-width: 750px) {
    .favorite_posts_list {
        gap: 12px;
    }

    .fav_post_content {
        padding: 10px;
    }

    .favorite_post_item {
        flex: 0 1 calc(50% - 6px);
    }

    .fav_post_thumb {
        height: auto;
    }

    .fav_post_cat {
        padding: 2px 5px;
    }

    .fav_post_title a {
        font-size: 16px;
    }
}

/* 外枠のコンテナ */
.wp-pagenavi {
    display: flex;
    justify-content: center; /* 中央寄せ */
    align-items: center;
    gap: 8px; /* 数字同士の隙間 */
    margin: 40px 0;
    clear: both;
}

/* ページ番号・矢印の共通スタイル */
.wp-pagenavi a, 
.wp-pagenavi span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 5px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px; /* 少し角丸に */
    transition: all 0.3s ease;
}

/* 通常の数字ボタン（リンク） */
.wp-pagenavi a {
    color: #7C974C; /* オリーブ */
    background-color: #fff;
    border: 1px solid #7C974C;
}

/* 現在地（current） */
.wp-pagenavi span.current {
    color: #fff;
    background-color: #7C974C; /* オリーブで塗りつぶし */
    border: 1px solid #7C974C;
}

/* ホバーした時 */
.wp-pagenavi a:hover {
    color: #fff;
    background-color: #C6B18A; /* ベージュに変化 */
    border-color: #C6B18A;
    transform: translateY(-2px); /* 少し浮き上がらせる */
}

/* 「\」や「Page 1 of X」などのテキストを非表示にする（必要な場合） */
.wp-pagenavi span.pages {
    display: none;
}

/* 次へ（»）などのリンク */
.wp-pagenavi a.nextpostslink, 
.wp-pagenavi a.prevpostslink {
    font-size: 18px; /* 矢印を少し大きく */
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
    .wp-pagenavi {
        gap: 5px;
    }
    .wp-pagenavi a, 
    .wp-pagenavi span {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

/* 番号付きリスト */

/* リスト全体のスタイル */
.ol_list {
  counter-reset: li-counter; 
  list-style: none;          
  padding: 0;
  margin: 2em 0;
}

.ol_list li {
  counter-increment: li-counter; 
  position: relative;
  padding: 0.5em 0 0.5em 2.5em; 
  line-height: 1.6;
}

/* 数字部分（疑似要素 ::before） */
.ol_list li::before {
  content: counter(li-counter); 
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);  
  width: 28px;
  height: 28px;
  background-color: #7C974C;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cmn_mb01 {
	margin-bottom: 15px;
}

.cmn_txt_wrap {
	margin-bottom: 25px;
}

.cmn_txt_wrap p:not(:last-of-type){
	margin-bottom: 15px;
}

/* ボックスの基本スタイル */
.st-mybox {
    margin: 2em 0;
    padding: 1.5em;
    border-radius: 8px; /* 角を少し丸く */
    border: 1px solid #ccc;
    line-height: 1.7;
    position: relative;
}

/* タイトルラベル（.ttl）のスタイル */
.st-mybox .ttl {
    display: inline-block;
    background-color: #f1c40f; /* ラベルの背景色 */
    color: #fff;               /* 文字を白にして視認性アップ */
    font-weight: bold;
    font-size: 0.9em;
    padding: 2px 12px;
    border-radius: 4px;
    margin: 0 0 10px 0;        /* 下に少し隙間を作る */
}

/* ボックス内の強調整（strong） */
.st-mybox strong {
    color: #b78d00;
    font-weight: bold;
}

/* イエローボックスの配色 */
.st-mybox-yellow {
    background-color: #fffef2; /* 非常に淡い黄色 */
    border: 2px solid #f1c40f;   /* はっきりした黄色の枠線 */
    color: #333;
}

/* 「アドバイス」などの強調テキスト（strongタグ）の装飾 */
.st-mybox-yellow strong {
    color: #d4ac0d; /* 少し濃い目の黄色で文字を読みやすく */
    font-size: 1.1em;
    display: inline-block;
    margin-bottom: 0.5em;
    border-bottom: 2px solid #f1c40f; /* 文字の下にラインを引く */
}

/* オレンジボックスの配色 */
.st-mybox-orange {
    background-color: #fff9f5; /* 非常に淡いオレンジ */
    border: 2px solid #f39c12;   /* はっきりしたオレンジの枠線 */
    color: #333;
}

/* オレンジボックス内のタイトルラベル */
.st-mybox-orange .ttl {
    background-color: #f39c12; /* ラベルの背景色 */
    color: #fff;
    font-weight: bold;
}

/* オレンジボックス内の強調整（strong） */
.st-mybox-orange strong {
    color: #d35400; /* 濃いオレンジ（レンガ色）で読みやすく */
    font-weight: bold;
}