@charset "UTF-8";
/*
Theme Name: Fuwari
Description: シンプルで最小限のクラシックテーマ
Author: rengelog
Version: 1.0
*/

/* -------------------------------------------------------------------------- */
/* Material Icons */
/* -------------------------------------------------------------------------- */

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}  

/* -------------------------------------------------------------------------- */
/* Grid-System */
/* -------------------------------------------------------------------------- */

/* コンテナ */
.container {
    max-width: 1180px;
    margin: 0 auto;
}

/* 行（row） */
.row {
    display: flex;
    flex-wrap: wrap; /* 折り返し対応 */
}

/* カラム（col） */
.col-12, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
    flex-grow: 1;
    box-sizing: border-box; /* パディングを幅に含める */
}

/* 12分割システム */
.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33%; }
.col-5 { width: 41.67%; }
.col-6 { width: 50%; }
.col-7 { width: 58.33%; }
.col-8 { width: 66.66%; }
.col-9 { width: 75%; }
.col-10 { width: 83.33%; }
.col-11 { width: 91.66%; }
.col-12 { width: 100%; }

/* レスポンシブ対応（タブレット） */
@media (max-width: 900px) {
    .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
        width: 50%; /* 2カラム */
    }
}

/* レスポンシブ対応（スマホ） */
@media (max-width: 600px) {
    .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
        width: 100%; /* 2カラム */
    }
}

/* -------------------------------------------------------------------------- */
/* global */
/* -------------------------------------------------------------------------- */

html, body {
    background-color: var(--bg-color);
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

body {
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", Meiryo, sans-serif;
    font-size: 1rem;
}

.site-main {
    flex: 1; /* メインコンテンツが余ったスペースを埋める */
}

.main-contents {
    padding: 1rem;
}

.sidebar {
    padding: 1rem;
}

@media (max-width: 900px) {
    .main-contents {
        padding: 0.5rem;
    }
    
    .sidebar {
        padding: 0.5rem;
    }
}

/* -------------------------------------------------------------------------- */
/* style */
/* -------------------------------------------------------------------------- */

a {
    color: var(--link-color);
}

a:hover {
    filter: brightness(90%);
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.8em;
}

/* 共通ボタンデザイン */
input[type="submit"],
button {
    background-color: var(--key-color);
    color: var(--key-text-color);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

/* ホバー時 */
input[type="submit"]:hover,
button:hover {
    filter: brightness(90%);
}

/* クリック時（軽いアニメーション） */
input[type="submit"]:active,
button:active {
    transform: scale(0.98);
}

/* -------------------------------------------------------------------------- */
/* Forms */
/* -------------------------------------------------------------------------- */

/* フォームスタイル */
input[type="email"],
input[type="number"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea, select {
    height: 38px;
    padding: 6px 10px;
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    box-shadow: none;
    box-sizing: border-box;
    width: 100%;
    outline: none;
}

html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="tel"],
html[data-theme="dark"] input[type="url"],
html[data-theme="dark"] input[type="password"],
html[data-theme="dark"] textarea, html[data-theme="dark"] select {
    background: #17181c;
    color: #fff;
}

/* テキストエリア */
textarea {
    min-height: 65px;
    padding-top: 6px;
    padding-bottom: 6px;
    min-height: 200px !important;
}

/* フォーカス時のスタイル */
input:focus,
textarea:focus,
select:focus {
    border: 1px solid #526cfe;
    outline: 0;
}

/* チェックボックスとラジオボタン */
input[type="checkbox"],
input[type="radio"] {
    display: inline !important;
}

/* 検索フォーム */
.searchform {
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: auto;
}

.searchform div {
    display: flex;
    align-items: center;
    width: 100%;
}

.searchform input[type="text"] {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.searchform input[type="text"]:focus {
    border: 1px solid #526cfe;
    outline: 0;
}

.searchform input[type="submit"] {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-left: none;
    background: #526cfe;
    color: #fff;
    cursor: pointer;
    font-size: 0.8rem;
    height: auto;
    line-height: normal;
    font-weight: normal;
    position: relative;
    top: -4px;
}

.searchform input[type="submit"]:hover {
    background: #526cfe;
    filter: brightness(90%);
}

textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    resize: vertical;
    box-sizing: border-box; /* これで突き抜け防止 */
}

textarea:focus {
    border: 1px solid #526cfe;
    outline: 0;
}

/* -------------------------------------------------------------------------- */
/* description */
/* -------------------------------------------------------------------------- */

.description {
    text-align: center;
}

.description p {
    color: var(--key-text-color);
    margin: 0.2rem;
}

/* -------------------------------------------------------------------------- */
/* header */
/* -------------------------------------------------------------------------- */

.main-header {
    text-align: center;
    background: #fff;
    color: #222;
    padding: 15px;
}

html[data-theme="dark"] .main-header {
    background: #17181c;
    color: #fff;
}

.site-title img {
    width: 300px;
}

.site-title a {
    text-decoration: none;
    color: #222;
}

/* -------------------------------------------------------------------------- */
/* front-page */
/* -------------------------------------------------------------------------- */

.wp-block-latest-posts li {
    background-color: var(--post-bg-color);
    border-bottom: 5px solid var(--border-color);
    list-style: none;
    padding: 0.5rem;
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
}

.wp-block-latest-posts__post-title {
    color: var(--article-title-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: block;
    max-width: 100%;
}

.wp-block-latest-posts__post-date {
    color: var(--sub-text-color);
    font-size: 14px;
    display: block;
    width: 25%;
}

.wp-block-latest-posts__post-excerpt {
    color: var(--sub-text-color);
    font-size: 15px;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.wp-block-latest-posts li:hover {
    transform: translateY(-2px);
}

.wp-block-latest-posts__featured-image a {
    width: 95px;
}

@media (max-width: 600px) {
    .wp-block-latest-posts__post-date {
        width: 100%;
    }
}

/* -------------------------------------------------------------------------- */
/* nav */
/* -------------------------------------------------------------------------- */

.fa-solid, .fas {
    position: relative;
    top: 1px;
    font-size: 1.5rem;
}

/* ヘッダー全体 */
.site-header {
    background-color: var(--key-color);
}

.nav-container {
    background-color: var(--nav-color);
}

/* ナビゲーションバー */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
}

/* ナビの左側（ロゴ部分） */
.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand a {
    color: var(--title-color);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.5rem;
}

/* ナビの右側（ハンバーガーメニュー＆検索アイコン） */
.navbar-icons {
    display: flex;
    align-items: center;
    position: absolute;
    right: -10px;
}

/* ハンバーガーメニュー */
.navbar-burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: none; /* デスクトップでは非表示 */
    position: relative;
    width: 30px;
    height: 25px;
    left: -30%;
}

.navbar-burger span {
    background-color: var(--nav-icon-color);
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

/* 3本線の位置 */
.navbar-burger span:nth-child(1) {
    top: 0;
}

.navbar-burger span:nth-child(2) {
    top: 10px;
}

.navbar-burger span:nth-child(3) {
    top: 20px;
}

/* バツマーク（ハンバーガーが開いた時） */
.navbar-burger.is-active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

/* ナビゲーションメニュー */
.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-menu ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    color: var(--nav-text-color);
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    filter: brightness(90%);
}

/* サブメニューがある親メニューに Font Awesome のアイコンを追加 */
.menu-item-has-children > a {
    position: relative;
    padding-right: 20px; /* アイコン用スペース */
}

/* ▼ アイコン（Font Awesome の "chevron-down"） */
.menu-item-has-children > a::after {
    font-family: "Font Awesome 5 Free";
    content: "\f107"; /* 下向き矢印 (chevron-down) */
    font-weight: 900;
    position: absolute;
    right: 5px; /* アイコンを右側に配置 */
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

/* サブメニュー（デスクトップ用：初期非表示 & ホバー時表示） */
@media (min-width: 901px) {
    .sub-menu {
        background-color: var(--nav-color);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        min-width: 180px;
        z-index: 999;

        /* 🔽 初期状態で非表示 */
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    .sub-menu a:hover {
        background: var(--nav-hover-color);
        color: var(--nav-text-hover-color);
    }

    /* サブメニューを親要素のホバーで表示（親要素をアクティブにする） */
    .menu-item-has-children {
        position: relative;
    }

    /* 親メニューにホバーしたら表示 */
    .menu-item-has-children:hover > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        display: block;
    }

    /* ✅ サブサブメニュー（第2階層以降）は右側に表示 */
    .sub-menu .sub-menu {
        top: 0;
        left: 98%; /* 右側に表示 */
        margin-left: 5px;
        transform: translateX(-10px);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    /* ✅ サブサブメニューも開いた状態を維持 */
    .sub-menu li:hover > .sub-menu,
    .sub-menu li:focus-within > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
}

/* モバイル用（ハンバーガーメニュー） */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .navbar-icons {
        position: absolute;
        margin-left: auto;
        right: 10px;
    }

    .navbar-burger {
        display: block;
    }

    .navbar-menu {
        background-color: var(--nav-color);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        pointer-events: none; /* クリックできないように */
    }

    .navbar-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto; /* クリックできるように */
        z-index: 9999;
    }

    .navbar-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu a {
        text-align: left;
        padding: 10px;
    }

    /* モバイルではサブメニューを常に開いた状態 */
    .sub-menu {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0;
        margin-left: 15px; /* 少しインデント */
    }

    .sub-menu a {
        padding-left: 20px; /* インデント */
        display: block;
        white-space: normal; /* はみ出さないように折り返す */
        overflow-wrap: break-word;
    }

    .menu-item-has-children > a {
        padding-right: 10px; /* モバイルでは少しスペースを減らす */
    }

    .menu-item-has-children > a::after {
        right: 10px; /* モバイルでは左側に寄せる */
    }
}

/* -------------------------------------------------------------------------- */
/* Nav-Center */
/* -------------------------------------------------------------------------- */

/* ナビゲーションバー センター */
.navbar-center {
    justify-content: center;
}

/* ハンバーガーメニュー */
.navbar-burger-center {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: none; /* デスクトップでは非表示 */
    position: relative;
    width: 30px;
    height: 25px;
    left: -30%;
}

.navbar-burger-center span {
    background: #222;
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

html[data-theme="dark"] .navbar-burger-center span {
    background: #fff;
}

/* 3本線の位置 */
.navbar-burger-center span:nth-child(1) {
    top: 0;
}

.navbar-burger-center span:nth-child(2) {
    top: 10px;
}

.navbar-burger-center span:nth-child(3) {
    top: 20px;
}

/* バツマーク（ハンバーガーが開いた時） */
.navbar-burger-center.is-active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.navbar-burger-center.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger-center.is-active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

/* ナビゲーションメニュー */
.navbar-menu-center {
    display: flex;
    align-items: center;
}

.navbar-menu-center ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar-menu-center li {
    position: relative;
    margin-bottom: 0px;
}

.navbar-menu-center a {
    color: #222;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

html[data-theme="dark"] .navbar-menu-center a {
    color: #fff;
}

.navbar-menu-center a:hover {
    filter: brightness(90%);
}

/* サブメニューがある親メニューに Font Awesome のアイコンを追加 */
.menu-item-has-children > a {
    position: relative;
    padding-right: 20px; /* アイコン用スペース */
}

/* ▼ アイコン（Material Icons の下向き矢印（arrow_drop_down) */
.menu-item-has-children > a::after {
    font-family: 'Material Icons'; /* Material Iconsを指定 */
    content: 'arrow_drop_down'; /* 下向き矢印 (chevron-down) */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

/* サブメニュー（デスクトップ用：初期非表示 & ホバー時表示） */
@media (min-width: 901px) {
    .sub-menu {
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        min-width: 180px;
        z-index: 999;

        /* 初期状態で非表示 */
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    html[data-theme="dark"] .sub-menu {
        background: #17181c;
    }

    .sub-menu a:hover {
        background: var(--nav-hover-color);
        color: var(--nav-text-hover-color);
    }

    /* サブメニューを親要素のホバーで表示（親要素をアクティブにする） */
    .menu-item-has-children {
        position: relative;
    }

    /* 親メニューにホバーしたら表示 */
    .menu-item-has-children:hover > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        display: block;
    }

    /* サブサブメニュー（第2階層以降）は右側に表示 */
    .sub-menu .sub-menu {
        top: 0;
        left: 98%; /* 右側に表示 */
        margin-left: 5px;
        transform: translateX(-10px);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    /* サブサブメニューも開いた状態を維持 */
    .sub-menu li:hover > .sub-menu,
    .sub-menu li:focus-within > .sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
}

/* モバイル用（ハンバーガーメニュー） */
@media (max-width: 900px) {
    .navbar-center {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 2rem;
    }

    .navbar-icons-center {
        position: absolute;
        margin-left: auto;
        right: 20px;
    }

    .navbar-burger-center {
        display: block;
    }

    .navbar-menu-center {
        background: #fff;
        position: absolute;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        pointer-events: none; /* クリックできないように */
    }
    
    html[data-theme="dark"] .navbar-menu-center {
        background: #17181c;
    }

    .navbar-menu-center.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto; /* クリックできるように */
        z-index: 9999;
        top: 100%;
    }

    .navbar-menu-center ul {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .navbar-menu-center li {
        width: 100%;
    }

    .navbar-menu-center a {
        text-align: left;
        padding: 10px;
    }

    /* モバイルではサブメニューを常に開いた状態 */
    .sub-menu {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0;
        margin-left: 15px; /* 少しインデント */
    }

    .sub-menu a {
        padding-left: 20px; /* インデント */
        display: block;
        white-space: normal; /* はみ出さないように折り返す */
        overflow-wrap: break-word;
    }

    .menu-item-has-children > a {
        padding-right: 10px; /* モバイルでは少しスペースを減らす */
    }

    .menu-item-has-children > a::after {
        right: 10px; /* モバイルでは左側に寄せる */
    }
}

/* -------------------------------------------------------------------------- */
/* search */
/* -------------------------------------------------------------------------- */

/* 検索アイコンのスタイル */
.navbar-search-icon {
    color: var(--nav-icon-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar-search-icon:hover {
    color: var(--nav-icon-color);
}

/* 検索モーダルの基本設定（初期状態は非表示） */
.search-modal {
    display: none; /* 初期状態で非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* 半透明の黒背景 */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* モーダルが表示されるときのスタイル */
.search-modal.active {
    display: flex;
    opacity: 1;
}

/* 検索モーダルのコンテンツ */
.search-modal-content {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal-content .searchform {
    margin-bottom: 0px;
}

/* モーダルが開いたときのアニメーション */
.search-modal.active .search-modal-content {
    transform: translateY(0);
}

/* 閉じるボタン */
.close-modal {
    position: absolute;
    top: -5px;
    right: 5px;
    font-size: 24px;
    color: #222;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ccc;
}

/* モバイル対応 */
@media (max-width: 600px) {
    .search-modal-content {
        width: 95%;
    }
}

/* -------------------------------------------------------------------------- */
/* blog-list */
/* -------------------------------------------------------------------------- */

/* ==========================
    記事一覧ページ（index.php）
========================== */

/* 記事一覧全体 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* 各記事カード */
.article-item {
    background-color: var(--post-bg-color);
    border: 1px solid var(--border-solid-color);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-item:hover {
    transform: translateY(-3px);
}

/* 記事リンク全体 */
.article-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* アイキャッチ画像 */
.article-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-meta {
    padding: 0.5rem;
}

/* 記事タイトル */
.article-title {
    color: var(--article-title-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
    word-wrap: break-word;  /* 単語の途中でも改行 */
    overflow-wrap: break-word; /* 旧プロパティも含めて安全対策 */
    white-space: normal;  /* 通常の折り返しを許可 */
    display: block;  /* 必要ならブロック要素に */
    max-width: 100%;  /* 親要素を超えないように */
}

.category-link {
    background-color: var(--category-bg-color);
    color: var(--category-text-color);
    padding: 0.2rem 0.5rem;
    margin-right: 0.2rem;
    text-decoration: none;
    margin-bottom: 0.2rem;
    display: inline-block;
}

.category-link:hover {
    background-color: var(--category-hover-bg-color);
    color: var(--category-hover-text-color);
}

/* 抜粋（記事概要） */
.excerpt {
    color: var(--sub-text-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ==========================
    ページネーション
========================== */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    background-color: var(--post-bg-color);
    color: var(--sub-text-color);
    display: inline-block;
    padding: 8px 12px;
    margin: 2px;
    text-decoration: none;
    font-size: 0.9rem;
}

.pagination a:hover {
    background-color: var(--key-color);
    color: var(--key-text-color);
}

.nav-links > .current {
    background-color: var(--key-color);
    color: var(--key-text-color);
}

/* ==========================
    レスポンシブ対応
========================== */
@media (max-width: 900px) {
    .article-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .article-thumbnail {
        height: 160px;
    }
}

/* ==========================
    post
========================== */

/* メインコンテンツ全体 */
.single-post-article {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 各要素の間隔 */
}

/* 記事タイトル */
.post-title {
    color: var(--post-title-color);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 15px;
    word-wrap: break-word;  /* 単語の途中でも改行 */
    overflow-wrap: break-word; /* 旧プロパティも含めて安全対策 */
    white-space: normal;  /* 通常の折り返しを許可 */
    display: block;  /* 必要ならブロック要素に */
    max-width: 100%;  /* 親要素を超えないように */
}

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--post-title-color);
}

/* アイキャッチ画像 */
.post-thumbnail {
    text-align: center;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 記事本文 */
.post-content {
    font-size: 1rem;
    line-height: 1.8;
}

/* メタ情報（投稿日・カテゴリー） */
.post-meta {
    color: var(--sub-text-color);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 0.9rem;
}

.date {
    margin-right: 0.2rem;
}

.post-meta > .date {
    color: var(--text-color);
    margin-right: 0.5rem;
}

.post-meta .category a {
    background-color: var(--category-bg-color);
    color: var(--category-text-color);
    padding: 0.2rem 0.5rem;
    margin-right: 0.2rem;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    display: inline-block;
}

.post-meta .category a:hover {
    background-color: var(--category-hover-bg-color);
    color: var(--category-hover-text-color);
    text-decoration: none;
}

/* タグデザイン */
.post-tags {
    color: var(--text-color);
    font-size: 0.9rem;
}

.post-tags .tag-label {
    font-weight: bold;
    margin-right: 5px;
}

.post-tags a {
    background-color: var(--tag-bg-color);
    color: var(--tag-text-color);
    padding: 0.2rem 0.5rem;
    margin-right: 0.2rem;
    text-decoration: none;
    margin-bottom: 0.2rem;
    display: inline-block;
}

.post-tags a:hover {
    background-color: var(--tag-hover-bg-color);
    color: var(--tag-hover-text-color);
}

iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* 16:9 の比率を維持 */
}

blockquote {
    background-color: var(--post-bg-color);
    color: var(--sub-text-color);
    border-left: 5px solid var(--border-color);
    font-style: italic; /* 斜体で引用らしく */
    padding: 0.5rem;
    margin: 1rem 0;
}

blockquote p {
    margin: 0 0 8px; /* 下に少し余白 */
    font-size: 1.1em;
    line-height: 1.6;
}

blockquote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 0.9em;
    color: #666; /* ちょっと薄めの色 */
}

blockquote cite a {
    color: #3498db; /* リンクは青系で */
    text-decoration: none;
}

blockquote cite a:hover {
    text-decoration: underline;
}

/* パスワード入力フィールド（汎用対応） */
input[name="post_password"],
#pwbox-1168 {
    border: 1px solid var(--border-solid-color);
    width: 100%;
    padding: 0.5rem;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-sizing: border-box;
}

/* フォーカス時のデザイン */
input[name="post_password"]:focus,
#pwbox-1168:focus {
    outline: none;
}

/* ==========================
    前後の記事ナビゲーション
========================== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.post-navigation a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-previous, .nav-next {
    padding: 0.5rem;
} 

/* ==========================
    レスポンシブ対応
========================== */
@media (max-width: 900px) {
    .post-title {
        font-size: 1.8rem;
    }

    .post-content {
        font-size: 0.95rem;
    }

    .post-navigation {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================
    コメントエリア (comments.php)
========================== */

/* 共通フォームスタイル */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    /* ! 確認 */
    background-color: #fff;
    color: var(--sub-text-color);
    border: 1px solid var(--border-solid-color);
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease-in-out;
    resize: vertical;
    box-sizing: border-box; /* ✅ これで突き抜け防止 */
}

/* フォーカス時 */
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--key-color);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

/* プレースホルダー */
.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* モバイル対応 */
@media (max-width: 900px) {
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        font-size: 14px;
        padding: 10px;
    }
}

/* コメント全体 */
.comments-area {
    background-color: var(--comment-area-color);
    color: var(--comment-area-text-color);
    margin-top: 1rem;
    padding: 1rem;
}

/* コメントタイトル */
.comments-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 各コメント */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list a {
    text-decoration: none;
}

/* コメントのメタ情報（名前、日付） */
.comment-author {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-meta {
    font-size: 0.85rem;

    margin: 0.5rem 0;
}

.comment-meta a {
    color: #777;
}

/* コメントの本文 */
.comment-content {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

/* 返信ボタン */
.comment-reply-link {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.2rem 0.5rem;
    font-size: 0.9rem;
    color: #fff;
    background: #0073aa;
    text-decoration: none;
}

.comment-reply-link:hover {
    filter: brightness(90%);
}

/* コメントフォーム */
.comment-form {
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
}

.comment-form label {
    color: var(--sub-text-color);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
}

.comment-form textarea {
    min-height: 120px;
}

.comment-form .form-submit {
    margin-top: 10px;
}

.comment-form .submit {
    background-color: var(--key-color);
    color: var(--key-text-color);
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    width: auto;
}

.comment-form .submit:hover {
    filter: brightness(90%);
}

.comment-respond a {
    text-decoration: none;
}

/* ==========================
    レスポンシブ対応
========================== */
@media (max-width: 900px) {
    .comments-area {
        padding: 0.5rem;
    }

    .comment-author {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-author img {
        width: 30px;
        height: 30px;
    }

    .comment-content {
        font-size: 0.9rem;
    }

    .comment-form textarea {
        min-height: 100px;  /* スマホでは高さを少し小さめに */
    }
}

.comments-area ul, .comments-area  ol {
    padding: 0.5rem;

}

.comment {
    list-style: none;
}

.children {
    list-style: none;
}

.comments-area pre {
    word-wrap: break-word;  /* 単語の途中でも改行 */
    overflow-wrap: break-word; /* 旧プロパティも含めて安全対策 */
    white-space: normal;  /* 通常の折り返しを許可 */
    display: block;  /* 必要ならブロック要素に */
    max-width: 100%;  /* 親要素を超えないように */
}

/* テーブルの基本スタイル */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}

/* ヘッダーのデザイン */
thead {
    background-color: var(--key-color);
    color: var(--key-text-color);
}

thead th {
    border: 1px solid var(--border-solid-color);
    padding: 12px;
}

/* ボディのデザイン */
tbody th, 
tbody td {
    background-color: var(--post-bg-color);
    border: 1px solid var(--border-solid-color);
    color: var(--sub-text-color);
    padding: 12px;
}

/* リンクのデザイン */
table a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

table a:hover {
    filter: brightness(90%);
}

/* レスポンシブ対応（スマホ用） */
@media (max-width: 600px) {
    table {
        font-size: 14px;
    }

    thead {
        display: none; /* ヘッダーを非表示 */
    }

    tbody tr {
        display: block;
        margin-bottom: 10px;
    }

    tbody th, 
    tbody td {
        display: block;
        padding: 10px;
        position: relative;
    }

    tbody th::before, 
    tbody td::before {
        content: attr(data-label); /* data-label属性を表示 */
        font-weight: bold;
        position: absolute;
        left: 10px;
        text-align: left;
    }
}

/* -------------------------------------------------------------------------- */
/* breadcrumb */
/* -------------------------------------------------------------------------- */

.breadcrumb ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb li a {
    padding: 0px;
    display: inline-block;
    text-decoration: none;
    font-size: 0.8rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.breadcrumb li a:hover {
    filter: brightness(100%);
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 5px;
    color: #ccc;
}

.breadcrumb li:last-child {
    color: var(--text-color);
    flex: 1;
    max-width: 70%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.9em;
}

@media (max-width: 600px) {
    .breadcrumb ul {
        flex-wrap: wrap;
    }

    .breadcrumb li:last-child {
        max-width: 70%;
    }
}

/* -------------------------------------------------------------------------- */
/* page */
/* -------------------------------------------------------------------------- */

.single-post a {
    text-decoration: none;
}

.single-post pre {
    word-wrap: break-word;  /* 単語の途中でも改行 */
    overflow-wrap: break-word; /* 旧プロパティも含めて安全対策 */
    white-space: normal;  /* 通常の折り返しを許可 */
    display: block;  /* 必要ならブロック要素に */
    max-width: 100%;  /* 親要素を超えないように */
}

/* -------------------------------------------------------------------------- */
/* widget search */
/* -------------------------------------------------------------------------- */

.searchform {
    background-color: #fff;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-box input[type="text"] {
    border: 1px solid var(--border-solid-color);
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

/* フォーカス時のデザイン */
input[type="text"]:focus,
input[type="search"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

.search-box button {
    background-color: var(--key-color);
    color: var(--key-text-color);
    border: none;
    padding: 11px 12px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button i {
    font-size: 16px;
}

.search-box button:hover {
    filter: brightness(90%);
}

/* モバイル対応 */
@media (max-width: 900px) {
    .searchform {
        max-width: 100%;
    }
}

/* -------------------------------------------------------------------------- */
/* widget */
/* -------------------------------------------------------------------------- */

.sidebar a {
    text-decoration: none;
}

.sidebar .widget-title {
    color: var(--sidebar-widget-title-color);
}

.sidebar li {
    padding: 0.2rem;
}

.widget ul {
    padding: 0px;
}

.widget li {
    list-style: none;
}

/* 共通スタイル */
.wp-block-archives-dropdown,
.wp-block-categories-dropdown {
    margin: 0 auto 1rem;
    position: relative;
}

/* ラベルのスタイル */
.wp-block-archives__label,
.wp-block-categories__label {
    color: var(--sidebar-widget-title-color);
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 1rem;
}

/* セレクトボックス */
.wp-block-archives-dropdown select,
.wp-block-categories-dropdown select {
    background-color: #fff;
    border: 1px solid var(--border-solid-color);
    width: 100%;
    padding: 12px 40px 12px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* アイコン追加 */
.wp-block-archives-dropdown::after,
.wp-block-categories-dropdown::after {
    font-family: "Font Awesome 5 Free";
    content: "\f078";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(20px);
    color: #444;
    pointer-events: none;
    font-size: 12px;
}

/* フォーカス時 */
.wp-block-archives-dropdown select:focus,
.wp-block-categories-dropdown select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

/* -------------------------------------------------------------------------- */
/* popular-posts */
/* -------------------------------------------------------------------------- */

.popular-posts h2 {
    color: var(--sidebar-widget-title-color);
    font-weight: bold;
}

.popular-posts .popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts .popular-item {
    background-color: var(--post-bg-color);
    border: 1px solid var(--border-solid-color);
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.popular-posts .popular-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popular-posts .popular-thumbnail img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.popular-posts .popular-title {
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.popular-posts .rank {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 8px;
    min-width: 30px;
    text-align: center;
    border-radius: 0;
    color: #fff;
    z-index: 1;
}

.popular-posts .rank-1 {
    background: #FFD700;
    color: #000;
}

.popular-posts .rank-2 {
    background: #C0C0C0;
    color: #000;
}

.popular-posts .rank-3 {
    background: #CD7F32;
    color: #fff;
}

.popular-posts .rank-4 {
    background: #007bff;
}

.popular-posts .rank-5 {
    background: #0056b3;
}

.popular-posts .popular-item:hover {
    transform: translateY(-2px);
}

/* -------------------------------------------------------------------------- */
/* related-posts */
/* -------------------------------------------------------------------------- */

.related-posts h2 {
    font-weight: bold;
}

.related-posts a {
    text-decoration: none;
}

.related-posts ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2カラム */
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.related-posts li {
    background-color: var(--post-bg-color);
    border: 1px solid var(--border-solid-color);
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;
}

.related-posts li a {
    width: 100%;
}

.related-posts .related-post-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.related-posts .related-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.related-posts .related-thumbnail img {
    width: 100%;
    height: auto;  /* ← これで縦横比を維持 */
    object-fit: cover;
    display: block;
}

.related-posts .related-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.related-posts .related-title {
    font-size: 1rem;
    font-weight: bold;
}

.related-posts li:hover {
    transform: translateY(-2px);
}

.related-posts a:hover {
    filter: brightness(100%);
}

@media (max-width: 600px) {
    .related-posts ul {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* footer */
/* -------------------------------------------------------------------------- */

.footer-nav-container {
    background-color: var(--footer-nav-color);
    border-top: 1px solid var(--border-solid-color);
}

.footer-nav {
    text-align: center;
    padding: 10px 0;
}

.footer-nav ul {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* 複数行対応 */
}

.footer-nav li {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    text-align: left;
}

.footer-nav a {
    color: var(--footer-nav-text-color);
    text-decoration: none;
    display: block; /* クリック範囲を広げる */
    transition: background 0.2s ease-in-out;
    font-size: 0.8rem;
}

.footer-nav a:hover {
    filter: brightness(90%);
}

/* モバイル対応 */
@media only screen and (max-width: 900px) {
    .footer-nav ul {
        flex-direction: column;
        align-items: stretch; /* 幅いっぱいに広げる */
    }

    .footer-nav li {
        padding: 0px;
    }

    .footer-nav a {
        width: 100%;
        padding: 0.5rem;
        box-sizing: border-box;
    }
}

.footer-widget-container {
    background-color: var(--footer-bg-color);
    background-image: url("/assets/image/footer-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-top {
    padding: 1rem;
    text-align: center;
}

.footer-widget-group {
    color: var(--footer-text-color);
    margin: 0 auto;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.footer-widget {
    flex: 1;
    min-width: 200px;
}

.footer-widget img {
    max-width: 100%;
}

.footer-widget li {
    list-style: none;
}

.footer-widget .widget-title {
    color: var(--footer-widget-title-color);
    margin-bottom: 1rem;
}

@media only screen and (max-width: 900px) {
    .footer-widget-group {
        flex-direction: column;
    }
}

.footer-copyright {
    background-color: var(--footer-copyright-bg-color);
    color: var(--footer-copyright-text-color);
    padding: 1rem;
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/* scroll-top */
/* -------------------------------------------------------------------------- */

#scrolltop {
    width: 100%;
    min-height: 50px;
    cursor: pointer;
}

.pagetop__arrow {
    border-top: 3px solid var(--key-color);
    border-right: 3px solid var(--key-color);
    display: block;
    height: 10px;
    width: 10px;
    transform: translateY(20%) rotate(-45deg);
    position: relative;
    top: 40%;
    left: 48%;
}

/* -------------------------------------------------------------------------- */
/* VK All in One Expansion Unit */
/* -------------------------------------------------------------------------- */

.veu_profile {
    text-align: center;
}

.veu_postList .postList a {
    /* color: #fff; */
}

.veu_postList .postList_date {
    color: #222;
}

/* -------------------------------------------------------------------------- */
/* front-movie */
/* -------------------------------------------------------------------------- */

.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* -------------------------------------------------------------------------- */
/* telephone-number */
/* -------------------------------------------------------------------------- */

.telephone-number {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tel-icon {
    width: 40px;
    height: 40px;
    margin-right: 8px;
    position: relative;
    top: 5px;
}

.telephone-number a {
    text-decoration: none;
}

.telephone-number span {
    margin: 0px;
    padding: 0px;
    font-weight: bold;
    font-size: 2.8rem;
    color: #0068a6;
}

@media (max-width: 600px) {
    .telephone-number span {
        font-size: 2rem;
    }

    .tel-icon {
        top: 10px;
    }
}

.telephone-number-title {
    text-align: center;
}

/* -------------------------------------------------------------------------- */
/* mail-title */
/* -------------------------------------------------------------------------- */

.mail-title a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 2rem;
    padding-bottom: 2rem;
}

.mail-icon {
    position: relative;
    top: 3px;
    font-size: 2rem;
}

/* -------------------------------------------------------------------------- */
/* front-news */
/* -------------------------------------------------------------------------- */

.wp-block-latest-posts__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  overflow-wrap: normal !important;
}

.wp-block-latest-posts__featured-image {
  flex-shrink: 0;
}

.wp-block-latest-posts__featured-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.wp-block-latest-posts__post-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #222;
  text-decoration: none;
}

@media (max-width: 600px) {
  .wp-block-latest-posts__list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .wp-block-latest-posts__featured-image img {
    width: 80px;
    height: 80px;
  }

  .wp-block-latest-posts__post-title {
    font-size: 1em;
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* generalposition */
/* -------------------------------------------------------------------------- */

@media (max-width: 600px) {
h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
    padding: 1rem;
  }

  .has-x-large-font-size {
    font-size: 1.5rem !important;
  }

  .has-medium-font-size {
    font-size: 1rem !important;
  }

}

/* -------------------------------------------------------------------------- */
/* minutes */
/* -------------------------------------------------------------------------- */

@media (min-width: 782px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        align-content: space-evenly;
    }
}

/* -------------------------------------------------------------------------- */
/* Contact-foam 7 */
/* -------------------------------------------------------------------------- */

.required {
    color: #fff;
    border-radius: 10px;
    padding: 3px;
    background-color: #9bcedc;
}
