/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 13 2026 | 11:05:00 */
.wp-block-site-logo a:hover {
  background: transparent !important;
  color: inherit !important;
  border: none !important;
}

@media (max-width: 375px) {
    .wp-block-site-logo img {
        max-width: 150%;
    }
}

.wp-image-135 {
  display: none;
}

.wp-block-image:has(.wp-image-135) {
  display: none;
}
	
.footer-box p {
    margin-top: 10px !important;
    color: #222222 !important;
    width: 90%;
}

@media screen and (max-width: 767px) {
    .wp-block-navigation__responsive-container-open {
        background: #000 !important;
        padding: 10px;
        color: #fff;
    }
}


/*ショートコード*/

.custom-post-grid {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
    max-width: 80%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media screen and (max-width: 768px) {
    .custom-post-grid {
        grid-template-columns: 1fr;
    }
}

.grid-item {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
}

.thumb img {
    width: 100%;
    height: auto;
}

.cat-wrap {
    margin-bottom: 8px;
}

/* カテゴリー */
.post-cat {
    display: inline-block;
    font-size: 12px;
    padding: 3px 8px;
    margin: 0 5px 5px 0;
    background: #f3f3f3;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.post-cat:hover {
    background: #333;
    color: #fff;
}

.title {
    font-size: 16px;
    margin: 10px 0;
}

.excerpt {
    font-size: 14px;
    line-height: 1.6;
}

.btn-wrap {
    text-align: right; /* ← 右寄せ */
    margin-top: 10px;
}

.read-more {
    display: inline-block;
    padding: 10px 15px;
    background: var(--wp--preset--color--primary);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.read-more:hover {
    background: #000;
    color: #fff;
}

.grid-title {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
	width:100%;
}

.infra-section {
    max-width: 1040px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* 見出し中央 */
.infra-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
}

/* リスト中央寄せ風に */
.infra-check-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px; /* ← これで中央にまとまる */
}

.infra-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.6;
}

/* チェックボックス */
.infra-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    border: 2px solid #333;
    border-radius: 3px;
}

/* チェックマーク */
.infra-check-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    width: 6px;
    height: 10px;
    border: solid #d32f2f; /* ← 赤に変更 */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.accent {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #ffeaa7 60%);
}

.qa-list {
    max-width: 800px;
    margin: 0 auto;
}

/* 各ブロック */
.qa-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.qa-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}

/* 質問 */
.q {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

/* 回答 */
.a {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

#content p{
	font-size:17px;
}

.single-post .wp-block-post-featured-image img {
    width: stretch;
}

/* 共通 */
/* 共通 */
.wp-block-heading {
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.6s ease forwards;
}

/* h2 */
h2.wp-block-heading {
    font-size: 22px;
    font-weight: 800; /* 太く */
    margin: 50px 0 20px;
    padding-left: 12px;
    border-left: 4px solid var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--primary) !important;
}

/* h3 */
h3.wp-block-heading {
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 10px;
    color: #444;
    animation-delay: 0.2s;
}

/* アニメーション */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.grid-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.custom-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}




.grid-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.custom-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}




/* カテゴリー全体 */
.wp-block-post-terms.taxonomy-category {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* 各カテゴリー */
.wp-block-post-terms.taxonomy-category a {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 3px;
    text-decoration: none;
    color: var(--wp--preset--color--primary);
    transition: 0.2s;
}

/* ホバー */
.wp-block-post-terms.taxonomy-category a:hover {
    background: var(--wp--preset--color--primary);
    color: #fff;
}


/* タグ全体 */
.wp-block-post-terms.taxonomy-post_tag {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

/* 各タグ */
.wp-block-post-terms.taxonomy-post_tag a {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
    background: #f5f5f5;
    color: #555;
    text-decoration: none;
    transition: 0.2s;
}

/* ホバー */
.wp-block-post-terms.taxonomy-post_tag a:hover {
    background: var(--wp--preset--color--primary);
    color: #fff;
}


@media screen and (max-width: 375px) {
    .custom-post-grid {
        grid-template-columns: 1fr;
    }
}