/*
Theme Name: New_モデルハウス株式会社
Author: モデルハウス株式会社
Version: 1.0
*/
html {
 scroll-behavior: smooth;
}
body {
 overflow-x: hidden;
 word-break: break-all;
	font-family: 'Noto Serif JP', 'serif';
}
/* アニメーション設定 */
.reveal {
 opacity: 0;
 transform: translateY(40px);
 transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
 opacity: 1;
 transform: translateY(0);
}
/* ヒーロースライダー */
.hero-slide {
 opacity: 0;
 transition: opacity 2s ease-in-out;
}
.hero-slide.active {
 opacity: 1;
}
.hero-slide img {
 transition: transform 8s linear;
 transform: scale(1);
}
.hero-slide.active img {
 transform: scale(1.1);
}
/* ローディング */
#loader {
 position: fixed;
 inset: 0;
 background: #fff;
 z-index: 100;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: opacity 0.8s ease-out;
}

/* ギャラリー */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Firefox */
.no-scrollbar {
  scrollbar-width: none;
}

/*メニュー*/
.current_page_item{opacity:.3;}

/* 現在のページ */
.custom-pagination .current {
    background-color: #000; /* text-brand-accent または text-brand-text */
    color: #fff;
    border-color: #000;
}

.custom-pagination a:hover {
    border-color: rgba(var(--color-brand-accent), 1);
    color: rgba(var(--color-brand-accent), 1);
    background-color: rgba(var(--color-brand-accent), 0.05);
}

/* 矢印（SVG）のサイズ調整 */
.custom-pagination .prev, .custom-pagination .next {
    border: 1px solid rgba(var(--color-brand-accent), 0.1);
}

/* CF7 */
.wpcf7-response-output{
font-size:10px;
text-align: center;
border:1px solid red!important;
}


/* -------------------------------------------
   Index
------------------------------------------- */
/* ページネーション */
.custom-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-pagination a, 
.custom-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(var(--color-brand-accent), 0.1); /* あなたのアクセントカラーに合わせて調整 */
    font-size: 11px;
    font-family: 'Montserrat', sans-serif; /* あなたの英語フォント指定 */
    font-weight: bold;
    transition: all 0.4s ease;
    background: transparent;
    color: #333; /* text-brand-text */
}

/* -------------------------------------------
   Single
------------------------------------------- */

/* ベースのテキスト */
.post-body {
    font-size: 16px;
    line-height: 2;
    color: #333; /* text-brand-text の色に合わせて調整 */
}

/* 段落間の余白 */
.post-body p {
    margin-bottom: 2.5em;
}

/* 見出し H2 */
.post-body h2 {
    font-size: 1.75rem; /* 28px */
    font-weight: 400; /* Light */
    margin-top: 4em;
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid rgba(var(--color-brand-accent), 0.2); /* アクセントカラーの薄い線 */
    letter-spacing: 0.05em;
}

/* 見出し H3 */
.post-body h3 {
    font-size: 1.4rem; /* 22px */
    font-weight: 500;
    margin-top: 3em;
    margin-bottom: 1em;
    position: relative;
    padding-left: 1em;
}
/* H3の左にアクセントカラーの縦棒 */
.post-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 2px;
    background-color: rgba(var(--color-brand-accent), 1);
}

/* リスト */
.post-body ul {
    list-style: disc;
    margin-bottom: 2.5em;
    padding-left: 1.5em;
}
.post-body ol {
    list-style: decimal;
    margin-bottom: 2.5em;
    padding-left: 1.5em;
}
.post-body li {
    margin-bottom: 0.5em;
}

/* 引用 */
.post-body blockquote {
    border-left: 2px solid rgba(var(--color-brand-accent), 0.5);
    padding-left: 1.5em;
    margin: 3em 0;
    font-style: italic;
    color: #666; /* text-brand-muted */
    background: #f9f9f9; /* 薄いグレー背景 */
    padding: 2em;
}

/* 画像 */
.post-body img {
    max-width: 100%;
    height: auto;
    margin: 3em 0;
    border-radius: 2px;
}

/* リンク */
.post-body a {
    color: rgba(var(--color-brand-accent), 1);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s;
}
.post-body a:hover {
    opacity: 0.3;
}

/* モバイル調整 */
@media (max-width: 768px) {
    .post-body {
        font-size: 15px;
    }
    .post-body h2 {
        font-size: 1.4rem;
        margin-top: 3em;
    }
}