/*
Theme Name: Arkhe
Theme URI: https://arkhe-theme.com/
Version: 3.12.0
Tested up to: 6.8
Requires at least: 6.0
Requires PHP: 7.0
Description: A very simple theme for production templates. Customize as you like.
Tags: two-columns, one-column, right-sidebar, custom-colors, custom-menu, editor-style, theme-options, block-styles, wide-blocks
Author: LOOS,Inc.
Author URI: https://loos.co.jp/
Text Domain: arkhe
Domain Path: /languages
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/


/* 基本設定 */
* { margin: 0; padding: 0; box-box-sizing: border-box; }
body { font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

.pcnon{
	display: none;
}

.spnon{
	display: block;
}


/* ヘッダー */
.site-header {
    padding: 15px 40px;
    background: #fff;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: auto;
    margin: 0 auto;
}
.logo img { height: 80px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.main-nav a span {
    display: block;
    font-size: 10px;
    color: #c00; /* アクセントカラー */
    font-weight: normal;
}
/* --- メインビジュアル スライドショー設定 --- */
.mv {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* はみ出し防止 */
    background: #000; /* 切り替え時の下地 */
}

.mv-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mv-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; /* 初期状態は透明 */
    animation: slideAnime 15s infinite; /* 15秒で1ループ（5秒x3枚） */
}

/* 各スライドのアニメーション開始タイミングをずらす */
.mv-slide:nth-child(1) {
    animation-delay: 0s;
}
.mv-slide:nth-child(2) {
    animation-delay: 5s;
}
.mv-slide:nth-child(3) {
    animation-delay: 10s;
}

/* ふわっと切り替わるフェードアニメーション */
/* 3枚の場合：1枚あたり33.3%の持ち時間 */
@keyframes slideAnime {
    0% { opacity: 0; transform: scale(1.0); }      /* 開始 */
    10% { opacity: 1; }                            /* 1.5秒かけて表示 */
    33% { opacity: 1; }                            /* 5秒まで表示維持 */
    43% { opacity: 0; transform: scale(1.1); }    /* 1.5秒かけて消えつつ、少しズーム */
    100% { opacity: 0; }                           /* ループ終了まで待機 */
}

/* 前面のコンテンツをスライドより上に配置 */
.mv-container {
    position: relative;
    z-index: 2; /* スライド(z-index:1)より上 */
    width: 100%;
    max-width: 1500px;
    height: 100%;
}
.mv-catch {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* サイズは画像に合わせて調整 */
}
.mv-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 550px; /* サイズは画像に合わせて調整 */
}

/* ニュースセクション */
.news-section {
    background: url('/wp-content/uploads/newsbg.jpg') no-repeat center center / cover;
    padding: 60px 20px;
    color: #fff;
}
.news-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}
.news-title {
    font-size: 60px;
    letter-spacing: 0.05em;
    margin-right: 60px;
}
.news-list { flex: 1; }
.news-item {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 15px 0;
}
.news-item .date {
    background: #a00; /* 日付の背景赤 */
    padding: 2px 15px;
    margin-right: 20px;
    font-size: 14px;
    height: fit-content;
}
.news-item .text {
    font-size: 15px;
    line-height: 1.6;
}

/* フェードアニメーション */
.fade-in {
    animation: fadeInAnim 1.5s ease-out forwards;
}
.fade-in-delay {
    opacity: 0;
    animation: fadeInAnim 1.5s ease-out 0.8s forwards;
}

@keyframes fadeInAnim {
    0% { opacity: 0; transform: translate(-50%, -45%); } /* 少し下から浮き上がる */
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

/* バッジ用の別アニメーション（translateの干渉を防ぐため） */
@keyframes fadeInAnimBadge {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.mv-badge.fade-in-delay {
    animation: fadeInAnimBadge 1.5s ease-out 0.8s forwards;
}

/* レスポンシブ対応（簡易版） */
@media (max-width: 768px) {
    .header-inner {  }
.site-header {
    padding: 15px 20px;
    background: #fff;
}

    .news-container { flex-direction: column; }
    .news-title { margin-bottom: 20px; }
}


/* セクション全体の余白 */
.features {
    padding: 120px 0;
    overflow: hidden;
    background-color: #fff;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 各項目の基本レイアウト */
.feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 150px; /* 項目間の距離 */
}

/* 偶数番目：左右反転 */
.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* 画像コンテナ */
.feature-img {
    flex: 0 0 52%;
    position: relative;
    z-index: 1;
}

/* 共通：画像の赤いずらし背景 */
.feature-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/wp-content/uploads/bg01.jpg') repeat;
    z-index: -1;
}

/* 奇数番目の背景位置（左上へ） */
.feature-item:nth-child(odd) .feature-img::before {
    top: -25px;
    left: -25px;
}

/* 偶数番目の背景位置（右上へ） */
.feature-item:nth-child(even) .feature-img::before {
    top: -25px;
    right: -25px;
}

.feature-img img {
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* テキストエリア */
.feature-text {
    flex: 0 0 40%;
}

.feature-text .number {
    font-size: 42px;
    font-weight: 800;
    color: #d8b4b4; /* 特徴的な薄い赤茶色 */
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Arial Black', sans-serif;
}

.feature-text h3 {
    font-size: 32px;
    color: #7a2222; /* 濃い赤茶色 */
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.feature-text .sub-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
}

.feature-text .description {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 35px;
    text-align: justify;
}

/* ボタン装飾 */
.btn-more {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff; /* 白文字 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* 文字の視認性向上 */
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* 高級感のあるゴールドグラデーション（左上から右下へ） */
    background: linear-gradient(135deg, #c5a359 0%, #b08d44 50%, #947c2d 100%);
    
    padding: 12px 20px; /* 少し高さを出して余裕を演出 */
    border-radius: 4px; /* 角丸を少し抑えるとより洗練された印象に */
    margin: 0 auto;
    width: 200px;
    
    /* 繊細なディテールを追加 */
    border: 1px solid #d4b677; /* 外側に明るいゴールドの線 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 柔らかな影 */
}

.btn-more:hover {
    /* ホバー時は光が当たったように少し明るく */
    background: linear-gradient(135deg, #d4b677 0%, #c5a359 50%, #b08d44 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px); /* わずかに浮き上がる演出 */
    opacity: 1; /* display:block等で透明度が変わる設定がある場合の対策 */
}

/* 最後の項目のマージン調整 */
.feature-item:last-child {
    margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .feature-item, 
    .feature-item:nth-child(even) {
        flex-direction: column;
        margin-bottom: 100px;
    }
    .feature-img {
        width: 85%;
        margin-bottom: 50px;
    }
    .feature-text {
        width: 100%;
        text-align: center;
    }
    .feature-text .description {
        text-align: left;
    }
}


/* 共通セクションタイトル */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title .en {
    display: block;
    color: #a00;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.section-title h2 {
    font-size: 28px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #ccc;
}

/* PRODUCTS セクション */
.products {
    background: url('/wp-content/uploads/bg02.jpg') no-repeat center center / cover;
    padding: 80px 20px;
}
.products-inner {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85); /* 半透明の白背景 */
    padding: 60px 40px;
}
.products-main-visual {
    margin-bottom: 40px;
    background: #444; /* 画像がない場合のダミー色 */
}
.products-text-area {
    text-align: center;
}
.products-text-area h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #333;
}
.products-text-area .description {
    font-size: 16px;
    line-height: 2;
    color: #555;
	text-align: left;
	margin-bottom: 40px;
}

/* RESULT セクション */
.result {
background: linear-gradient(to bottom, #bd4444, #a32d2d);    padding: 80px 0;
}
.result .section-title.white .en,
.result .section-title.white h2 {
    color: #fff;
}
.result-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.result-card {
    flex: 0 1 340px;
    background: #fff;
    transition: transform 0.3s;
}
.result-card:hover {
    transform: translateY(-5px);
}
.result-card .card-img img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.result-card .card-body {
    padding: 20px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.result-card .card-body p {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    font-weight: bold;
}

/* 詳細を見るボタン（白背景版） */
.result-footer {
    text-align: right;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn-more-white {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #fff;
    padding-bottom: 3px;
}
.btn-more-white::after {
    content: " →";
}

/* レスポンシブ */
@media (max-width: 768px) {
    .result-grid {
        flex-direction: column;
        align-items: center;
    }
    .result-card {
        width: 100%;
        max-width: 400px;
    }
    .products-inner {
        padding: 40px 20px;
    }
}

.service {
    position: relative;
    padding-bottom: 100px; /* 下方向の余白 */
    overflow: hidden;
}

/* 1枚のコラージュ画像を背景として配置 */
.service-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px; /* 画像を表示したい高さ */
    z-index: 1;
}

.service-bg-image {
    width: 100%;
    height: 100%;
    background: url('/wp-content/uploads/bg03.jpg') no-repeat center center / cover;
}

/* コンテンツコンテナ */
.service-container {
    position: relative;
    z-index: 2; /* 背景画像の上に重ねる */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 白いコンテンツボックス */
.service-box {
    background: #fff;
    padding: 70px 100px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    /* 画像の中央付近に重なるように、上のマージンで調整 */
    margin-top: 280px; 
}

/* テキストエリアのスタイリング */
.service-body {
    text-align: center;
    margin-bottom: 50px;
}

.service-body p {
    font-size: 16px;
    line-height: 2;
    color: #444;
    margin-bottom: 15px;
	text-align: left;
}

/* 詳細を見るボタン（赤） */
.service-footer {
    text-align: right;
}

.btn-more-red {
    display: inline-block;
    color: #a32d2d; /* 画像内の赤系に合わせた色 */
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #a32d2d;
    padding-bottom: 6px;
    transition: all 0.3s ease;
}

.btn-more-red::after {
    content: " →";
}

.btn-more-red:hover {
    opacity: 0.6;
    padding-right: 10px; /* ホバー時に少し右に動く演出 */
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .service-bg-wrap {
        height: 300px; /* スマホでは背景を少し低く */
    }
    .service-box {
        padding: 40px 20px;
        margin-top: 180px; /* スマホ用の重なり調整 */
    }
    .service-body p {
        font-size: 14px;
        text-align: left; /* スマホでは左寄せが見やすい場合が多い */
    }
}


/* SUPPORT */
.support {
    background: url('/wp-content/uploads/bg04.jpg') repeat;
    padding: 80px 20px;
}
.support-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
.support-badge { flex: 0 0 200px; }
.support-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.support-item {
    background: #fff;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.support-item span {
    display: block;
    color: #d1b1b1;
    font-size: 20px;
    font-style: italic;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
}
.support-item p {
    font-size:18px;
    font-weight: bold;
    color: #7a3a3a;
}

/* CONTACT */
.contact {
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    color: #fff;
    text-align: center;
}
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}
.method-box { flex: 0 1 400px; }
.method-label {
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
    padding-bottom: 5px;
}
.method-info {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
.contact-btn i {
    margin-right: 15px;
    color: #a32d2d;
}
.contact-btn:hover { background: #f0f0f0; transform: scale(1.02); }

/* FOOTER BANNERS */
.footer-banners { padding: 60px 20px; background: #fff; }
.banner-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}
.banner-container a { flex: 1; transition: opacity 0.3s; }
.banner-container a:hover { opacity: 0.8; }

/* FOOTER */
.site-footer {
    background: #fff;
    padding: 30px 0 0;
    text-align: center;
}
.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.footer-logo img {
	height: 80px; margin: 0 auto 30px;
	display: block;
}
.footer-tel {
    display: inline-block;
    font-size: 28px;
    color: #a32d2d;
    font-weight: bold;
    margin-bottom: 20px;
}
.footer-info .address {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.copyright {
    background: #7a2222;
    color: #fff;
    font-size: 11px;
    padding: 15px 0;
}

.privacy{
	margin-top: 30px;
	font-size: 14px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .support-inner, .contact-methods, .banner-container {
        flex-direction: column;
        align-items: center;
    }
    .support-grid { grid-template-columns: 1fr 1fr; }
    .contact-btn { font-size: 18px; }
}


/* --- 下層ページ共通設定 --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    padding: 40px 0;
}

.bg-gray {
    background-color: #f9f9f9;
}
.bg-gray2 {
    background-color: #f9f9f9;
	margin: 60px 0;
	padding-top: 100px;
}
#main_content{
	margin-bottom: 60px;
}

.page-head {
background: linear-gradient(135deg, #b84c4c 0%, #a32d2d 100%);
	padding: 60px 20px;
    text-align: center;
    color: #fff;
	max-width: 1200px;
	margin: 0 auto;
}

.page-head .en {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    opacity: 0.8;
}

.page-head h1 {
    font-size: 32px;
    letter-spacing: 0.05em;
}

/* イントロ部分 */
.intro-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text { flex: 1; }
.intro-img { flex: 1; }

.sub-title-red {
    color: #a32d2d;
    font-size: 24px;
    margin-bottom: 20px;
}

.lead {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.intro-text p {
    line-height: 2;
    margin-bottom: 1.5em;
    color: #444;
}

/* 理由カードレイアウト */
.reason-list {
    margin-top: 50px;
}

.reason-card {
    background: #fff;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.reason-header {
    background: #7a2222;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 15px 30px;
}

.reason-header .num {
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
    font-family: 'Arial', sans-serif;
}

.reason-header h3 {
    font-size: 18px;
    margin: 0;
}

.reason-content {
    padding: 40px;
    gap: 40px;
	display: flex;
}
.reason-content2 {
    padding: 40px;
    gap: 40px;
}
.reason-text { flex: 1; }
.reason-img { flex: 0 0 350px; }

/* アイコンリスト・ボックス */
.check-list {
    margin: 20px 0;
    padding: 0;
}

.check-list li {
    list-style: none;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.check-list i {
    color: #a32d2d;
    margin-right: 10px;
}

.point-box {
    background: #fff5f5;
    border: 1px dashed #a32d2d;
    padding: 20px;
    margin-top: 25px;
    font-weight: bold;
    color: #a32d2d;
    border-radius: 5px;
}

.point-box i {
    margin-right: 10px;
}
.reason-img img{
	text-align: center;
	margin: 0 auto 40px auto;
}

.reason-img img.max600{
	max-width: 600px;
	height: auto;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .intro-flex, .reason-content {
        flex-direction: column-reverse;
    }
    .reason-img {
        width: 100%;
        flex: none;
    }
    .page-head h1 { font-size: 24px; }
    .pc-only { display: none; }
}

/* ページヘッダー内のアイコンスタイル */
.page-head-icon {
    font-size: 40px; /* アイコンの大きさ */
    color: rgba(255, 255, 255, 0.9); /* 少し透明度を持たせた白 */
    margin-bottom: 15px; /* 下の文字との間隔 */
}

/* 既存のpage-head-innerの微調整 */
.page-head-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* レスポンシブ（スマホでは少し小さく） */
@media (max-width: 768px) {
    .page-head-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }
}

/* 専門医セクション */
.doctor-concept {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fdfaf5; /* 柔らかいベージュ背景 */
    padding: 50px;
    border-radius: 10px;
}
.doctor-text { flex: 1; }
.doctor-img { flex: 0 0 300px; }
.doctor-img img { border: 5px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* こんな方に選ばれています */
.bg-red-gradation {
    background: linear-gradient(to bottom, #f9f9f9, #fff);
    border-top: 1px solid #eee;
}

.target-box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #7a2222;
    padding: 50px;
    position: relative;
}

.target-list {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.target-list li {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.target-list li i {
    color: #7a2222;
    margin-right: 15px;
    font-size: 20px;
}

/* 最終まとめテキスト */
.final-summary {
    text-align: center;
    margin-top: 60px;
}

.final-summary p {
    font-size: 20px;
    line-height: 1.8;
    color: #7a2222;
    font-weight: bold;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .doctor-concept {
        flex-direction: column;
        padding: 30px 20px;
    }
    .doctor-img { flex: none; width: 200px; }
    .target-list {
        grid-template-columns: 1fr;
    }
    .target-box {
        padding: 40px 20px;
    }
    .final-summary p {
        font-size: 16px;
    }
}

.photo-cen{
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.photo-cen img{
	width: 100%;
	height: auto;
	margin: 30px 0;
}

/* --- 住宅履歴管理 ページ固有スタイル --- */

/* イントロの画像ボックス（枠線で重要感を演出） */
.intro-img-box img {
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 記録内容のグリッド */
.history-contents-box {
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.history-item {
    text-align: center;
}

.history-item i {
    font-size: 35px;
    color: #a32d2d;
    margin-bottom: 15px;
}

.history-item p {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.history-item p span {
    font-size: 11px;
    color: #777;
    font-weight: normal;
}

.final-statement {
    font-size: 18px;
    color: #a32d2d;
}

/* 特徴リスト（ドット付き） */
.feature-info-box {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.feature-dots {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: inline-block;
    text-align: left;
}

.feature-dots li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
}

.feature-dots li::before {
    content: "●";
    color: #a32d2d;
    position: absolute;
    left: 0;
    font-size: 12px;
}

.history-note {
    font-size: 14px;
    background: #fff;
    padding: 20px;
    border-left: 4px solid #7a2222;
    display: inline-block;
}

/* ナガモチコラボボックス */
.nagamochi-collabo {
    background: #7a2222;
    color: #fff;
    padding: 40px;
    border-radius: 5px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.collabo-title {
    font-size: 22px;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 10px;
}

.nagamochi-collabo p {
    font-size: 15px;
    line-height: 1.8;
}

/* まとめカード */
.summary-card {
    background: #fdfaf5;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid #e0d0b0;
}

.strong-red {
    font-size: 22px;
    color: #a32d2d;
    font-weight: bold;
    margin-top: 30px;
    line-height: 1.6;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .history-grid {
        grid-template-columns: 1fr 1fr;
    }
    .history-contents-box {
        padding: 30px 15px;
    }
    .strong-red {
        font-size: 18px;
    }
}


/* --- 対応のスピード ページ固有スタイル --- */

/* 理由01：履歴管理のビジュアルボックス */
.speed-reason-box {
    display: flex;
    background: #fff;
    padding: 50px;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.speed-reason-text { flex: 1; }

.speed-reason-visual {
    flex: 0 0 200px;
    background: #fdfaf5;
    padding: 30px;
    text-align: center;
    border-radius: 50%;
    border: 2px dashed #d1b1b1;
}

.speed-reason-visual i {
    font-size: 50px;
    color: #7a2222;
    margin-bottom: 10px;
}

.speed-reason-visual p {
    font-size: 13px;
    font-weight: bold;
    color: #7a2222;
    line-height: 1.4;
}

/* ネットワーク・ステップ表示 */
.network-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0;
    gap: 10px;
}

.network-steps .step {
    background: #fff;
    border: 1px solid #7a2222;
    padding: 20px;
    flex: 1;
    text-align: center;
}

.step-num {
    display: block;
    font-size: 18px;
    color: #7a2222;
    margin-bottom: 5px;
    font-weight: bold;
}

.network-steps .step p {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

.step-arrow { color: #7a2222; }

.doctor-note {
    background: #fdfaf5;
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    color: #333;
}

.doctor-note i { color: #a32d2d; margin-right: 8px; }

/* スピードのメリット（アイコン並列） */
.concept-message-box { text-align: center; }

.speed-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.benefit-item {
    flex: 0 1 240px;
    padding: 30px 10px;
}

.benefit-item i {
    font-size: 40px;
    color: #a32d2d;
    margin-bottom: 20px;
}

.benefit-item p {
    font-weight: bold;
    font-size: 15px;
}

.lead-center {
    font-size: 24px;
    font-weight: bold;
    color: #7a2222;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .speed-reason-box, .network-steps, .speed-benefits {
        flex-direction: column;
    }
    .speed-reason-visual { order: -1; } /* 画像を上にする */
    .step-arrow { transform: rotate(90deg); padding: 10px 0; }
    .network-steps .step { width: 100%; }
    .speed-benefits { gap: 10px; }
}

/* --- ローン・借り換えサポート 固有スタイル --- */

/* ローン特徴ボックス */
.loan-feature-box {
    display: flex;
    background: #fff;
    padding: 50px;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.loan-spec {
    flex: 0 0 350px;
    background: #fdfaf5;
    padding: 40px 20px;
    text-align: center;
    border: 2px solid #e0d0b0;
}

.spec-label {
    font-size: 14px;
    color: #7a2222;
    font-weight: bold;
    margin-bottom: 10px;
}

.spec-main {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.spec-main span {
    font-size: 50px;
    color: #a32d2d;
    font-family: 'Arial', sans-serif;
    margin: 0 5px;
}

.spec-sub {
    font-size: 14px;
    margin-top: 10px;
}

.loan-target { flex: 1; }

.target-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #7a2222;
}

/* 借り換えのカード表示 */
.condition-cards {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.condition-card {
    flex: 1;
    background: #f9f9f9;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
}

.condition-card i {
    font-size: 40px;
    color: #a32d2d;
    margin-bottom: 15px;
}

.condition-card p {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
}

.policy-box {
    background: #fff5f5;
    padding: 20px;
    border-radius: 5px;
}

.policy-box p {
    margin-bottom: 10px;
    font-weight: bold;
    color: #a32d2d;
}

.policy-box p:last-child { margin-bottom: 0; }

.policy-box i { margin-right: 10px; }

/* 考え方の要素並列 */
.plan-elements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.element-item {
    background: #fff;
    border: 1px solid #7a2222;
    padding: 20px 30px;
    border-radius: 50px;
}

.element-item p {
    margin: 0;
    font-weight: bold;
    color: #7a2222;
}

.element-plus { color: #ccc; }

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .loan-feature-box, .condition-cards, .plan-elements {
        flex-direction: column;
        gap: 15px;
    }
    .loan-spec { width: 100%; flex: none; }
    .element-plus { transform: rotate(90deg); padding: 5px 0; }
    .element-item { width: 100%; text-align: center; }
}

/* --- 事業内容 ページ固有スタイル --- */

.intro-text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text-center .lead {
    font-size: 24px;
    color: #7a2222;
    margin-bottom: 20px;
}

/* メニューアイテム */
.service-menu-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

/* 偶数番目は反転 */
.service-menu-item.reverse {
    flex-direction: row-reverse;
}

.menu-visual {
    flex: 0 0 45%;
    position: relative;
}

.menu-visual img {
    width: 100%;
    box-shadow: 20px 20px 0 #f9f9f9; /* 背後のずらし装飾 */
}

.en-sub {
    position: absolute;
    top: -20px;
    left: -10px;
    background: #7a2222;
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    letter-spacing: 0.1em;
    font-family: 'Arial', sans-serif;
}

.service-menu-item.reverse .en-sub {
    left: auto;
    right: -10px;
}

.menu-info {
    flex: 1;
}

.menu-info .description {
    font-size: 15px;
    line-height: 2;
    color: #444;
    margin: 25px 0;
    text-align: justify;
}

/* タグ装飾 */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span {
    background: #fdfaf5;
    border: 1px solid #e0d0b0;
    color: #8b6d4d;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 2px;
}

/* お問い合わせCTA */
.contact-cta {
    text-align: center;
    background: #fff;
    padding: 60px;
    border: 1px solid #eee;
}

.contact-cta h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.contact-cta p {
    margin-bottom: 30px;
    color: #666;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .service-menu-item, 
    .service-menu-item.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 80px;
    }
    .menu-visual { width: 100%; }
    .intro-text-center .lead { font-size: 20px; }
    .contact-cta { padding: 40px 20px; }
}


.quality-compare-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 40px;
    background: #fff;
    border: 1px solid #eee;
}

.quality-compare-item.reverse {
    flex-direction: row-reverse;
}

/* アール工房（3番目）の強調スタイル */
.quality-compare-item.primary {
    border: 2px solid #7a2222;
    background: #fffafb;
    position: relative;
    box-shadow: 0 10px 30px rgba(122, 34, 34, 0.1);
}

.compare-info {
    flex: 1;
}

.compare-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.compare-title span {
    background: #777;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
}

.primary .compare-title span {
    background: #7a2222;
}

.primary .compare-title {
    color: #7a2222;
}

.compare-info p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: #555;
}

.compare-visual {
    flex: 0 0 45%;
    text-align: center;
}

.compare-visual img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* デメリット・メリットボックス */
.demerit-box, .merit-box {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.demerit-box {
    background: #f2f2f2;
    color: #666;
}

.demerit-box i {
    color: #e67e22;
    margin-right: 8px;
}

.merit-box {
    background: #7a2222;
    color: #fff;
}

.merit-box i {
    margin-right: 8px;
}

/* --- レスポンシブ --- */
@media (max-width: 900px) {
    .quality-compare-item, 
    .quality-compare-item.reverse {
        flex-direction: column-reverse;
        padding: 30px 20px;
        gap: 30px;
    }
    .compare-visual {
        width: 100%;
    }
    .compare-title {
        font-size: 18px;
    }
.merit-box {
    background: #7a2222;
    color: #fff;
    display: block;
}
}


/* --- FAQ ページ固有スタイル --- */

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #eee;
}

/* チェックボックスを隠す */
.faq-check {
    display: none;
}

/* 質問エリア (Q) */
.faq-question {
    display: block;
    padding: 20px 60px 20px 70px; /* 左側にQ記号、右側に矢印の余白 */
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
    line-height: 1.5;
}

.faq-question:hover {
    background: #fdfaf5;
}

/* Qの擬似要素 */
.faq-question::before {
    content: "Q";
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Arial Black', sans-serif;
    color: #7a2222;
    font-size: 24px;
}

/* 矢印アイコンの擬似要素 */
.faq-question::after {
    content: "\f078"; /* Font Awesome Chevron Down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    transition: transform 0.3s;
    font-size: 14px;
}

/* 回答エリア (A) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fdfaf5;
}

.faq-answer p {
    padding: 25px 30px 25px 70px;
    margin: 0;
    position: relative;
    line-height: 1.8;
    color: #444;
}

/* Aの擬似要素 */
.faq-answer p::before {
    content: "A";
    position: absolute;
    left: 25px;
    top: 25px;
    font-family: 'Arial Black', sans-serif;
    color: #a32d2d;
    font-size: 24px;
}

/* 開閉時の動き */
.faq-check:checked + .faq-question {
    background: #fdfaf5;
    border-bottom: 1px solid #eee;
}

.faq-check:checked + .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-check:checked ~ .faq-answer {
    max-height: 500px; /* 十分な高さを指定 */
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .faq-question {
        padding-left: 55px;
        font-size: 14px;
    }
    .faq-question::before,
    .faq-answer p::before {
        left: 15px;
        font-size: 20px;
    }
    .faq-answer p {
        padding-left: 55px;
        font-size: 14px;
    }
}

/* --- お問い合わせフォーム 固有スタイル --- */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.form-row {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.form-label {
    flex: 0 0 240px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.form-label span {
    font-size: 10px;
    padding: 2px 8px;
    margin-left: 10px;
    border-radius: 2px;
}

.form-label .required { background: #7a2222; color: #fff; }
.form-label .any { background: #eee; color: #666; }

.form-input { flex: 1; }

/* 入力フィールドの装飾 */
.form-input input[type="text"],
.form-input input[type="email"],
.form-input input[type="tel"],
.form-input textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
}

/* チェックボックスの並び */
.form-input .wpcf7-checkbox .wpcf7-list-item {
    display: inline-block;
    margin: 0 15px 10px 0;
}

.form-privacy {
    text-align: center;
    margin: 40px 0 20px;
}

.form-privacy a { color: #a32d2d; text-decoration: underline; }

.form-submit { text-align: center; }

/* レスポンシブ */
@media (max-width: 768px) {
    .form-row { flex-direction: column; }
    .form-label { margin-bottom: 10px; flex: none; }
    .form-container { padding: 20px; }
}

/* --- お問い合わせページ 固有スタイル --- */

/* フォームを囲む白いボックス */
.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px 80px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* 電話誘導ボックス */
.tel-cta-box {
    text-align: center;
    background: #fdfaf5;
    border: 1px solid #e0d0b0;
    padding: 50px 20px;
    border-radius: 10px;
}

.cta-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.cta-tel {
    font-size: 48px;
    color: #a32d2d;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
}

.cta-tel i {
    font-size: 32px;
    vertical-align: middle;
    margin-right: 10px;
}

.cta-info {
    font-size: 14px;
    color: #666;
}

/* --- Contact Form 7 内部パーツ装飾 --- */
.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

/* 以前お渡ししたフォーム構造用の補足スタイル */
.form-row {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 25px;
}

.form-label {
    flex: 0 0 240px;
    font-weight: bold;
    color: #333;
    padding-top: 10px;
}

.form-label .required {
    background: #7a2222;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-label .any {
    background: #eee;
    color: #666;
    font-size: 10px;
    padding: 2px 8px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-input {
    flex: 1;
}

.wpcf7-text, .wpcf7-textarea {
    width: 100% !important;
    border: 1px solid #ddd !important;
    background: #f9f9f9 !important;
    padding: 12px !important;
    border-radius: 4px !important;
}

.wpcf7-submit {
    min-width: 300px;
    cursor: pointer;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .form-row {
        flex-direction: column;
    }
    .form-label {
        margin-bottom: 10px;
        padding-top: 0;
    }
    .cta-tel {
        font-size: 32px;
    }
}

/* --- お知らせ 共通スタイル --- */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 一覧ページ (archive) */
.news-archive-list {
    background: #fff;
    border: 1px solid #eee;
}

.news-archive-item a {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
    text-decoration: none;
}

.news-archive-item:last-child a { border-bottom: none; }

.news-archive-item a:hover { background: #fdfaf5; }

.news-archive-item .date {
    background: #7a2222;
    color: #fff;
    font-size: 13px;
    padding: 4px 15px;
    margin-right: 30px;
    font-weight: bold;
}

.news-archive-item .title {
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin: 0;
}

.news-archive-item .arrow {
    color: #ccc;
    font-size: 12px;
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 2px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
}

.pagination .current {
    background: #7a2222;
    color: #fff;
    border-color: #7a2222;
}

/* 詳細ページ (single) */
.single-date {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.single-eyecatch {
    margin-bottom: 40px;
    text-align: center;
}

.single-eyecatch img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.entry-content {
    line-height: 2;
    font-size: 16px;
    color: #444;
}

.entry-content p { margin-bottom: 2em; }

.single-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .news-archive-item a {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .news-archive-item .date { margin-bottom: 10px; }
    .news-archive-item .arrow { display: none; }
}

/* ナビゲーションの基本設定 */
.main-nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav > ul > li {
    position: relative; /* 子メニューの基準点 */
}

/* プルダウンメニューの初期状態（隠す） */
.sub-menu {
    position: absolute;
    top: 100%; /* 親要素の真下に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 240px; /* メニューの幅 */
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    border-top: 3px solid #7a2222; /* アール工房カラーのアクセント */
}

/* 親要素にホバーした時に表示 */
.has-child:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    top: 110%; /* 少し浮かせて出す演出 */
}

/* プルダウン内のリスト項目 */
.sub-menu li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    text-align: left;
    color: #333;
    font-weight: bold;
    transition: background 0.3s;
}

.sub-menu li a:hover {
    background: #fdfaf5;
    color: #7a2222;
}



.main-nav ul ul {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
	width: 250px;
}


/* --- ベースのスタイル (1152px以上) --- */
.nav-unshown, #nav-open {
    display: none;
}

/* --- レスポンシブ (1151px以下) --- */
@media screen and (max-width: 1151px) {
    /* ハンバーガーボタンの表示 */
    #nav-open {
        display: block;
        font-size: 28px;
        color: #7a2222;
        cursor: pointer;
        z-index: 110;
        position: absolute;
        right: 10px;
			z-index: 10001;
    }

    /* メニュー本体を右側に隠す */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 画面外 */
        width: 80%;
        max-width: 300px;
        height: 100%;
        background: #fff;
        z-index: 120;
        transition: all 0.4s ease;
        padding-top: 60px;
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-nav ul li a {
        display: block;
        padding: 20px;
        text-align: left;
    }

    /* プルダウン（子メニュー）をスマホでは展開状態にする */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        transform: none;
        box-shadow: none;
        background: #fdfaf5;
        border-top: none;
        padding: 0;
        max-height: none;
    }

    /* チェックボックスが入った時（開いた時）の挙動 */
    #nav-input:checked ~ .main-nav {
        right: 0;
    }

    /* 背景を暗くするレイヤー */
    #nav-input:checked ~ #nav-close {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 115;
    }

    /* スマホ専用のお問い合わせボタン調整 */
    .btn-contact-sp {
        background: #7a2222 !important;
        color: #fff !important;
        margin: 20px;
        border-radius: 5px;
        text-align: center !important;
    }
    
    .btn-contact-sp span {
        color: rgba(255,255,255,0.7) !important;
    }
}


/* --- レスポンシブ (1151px以下) --- */
@media screen and (max-width: 1151px) {
    
    /* チェックボックス自体は常に非表示 */
    .nav-unshown {
        display: none;
    }

    /* 三本線アイコンの表示設定 */
    #nav-open {
        display: block !important; /* 強制表示 */
        font-size: 32px;
        color: #7a2222;
        cursor: pointer;
        z-index: 110;
        position: relative;
			z-index: 1001;
    }

    /* メニュー本体の初期位置（右側に隠す） */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 初期は画面の外 */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1000; /* ロゴなどより前面に */
        transition: right 0.4s ease; /* スライドのアニメーション */
        padding-top: 60px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    /* ★ここが重要：チェックが入ったら右端を0にする */
    #nav-input:checked ~ .main-nav {
        right: 0 !important;
    }

    /* 背景を暗くするレイヤーの設定 */
    #nav-input:checked ~ #nav-close {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
    }

    /* 以下、メニュー内リストの調整 */
    .main-nav ul {
        flex-direction: column;
        display: block; /* Flexを解除して縦に並べる */
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-nav ul li a {
        padding: 20px;
        text-align: left;
    }

    /* プルダウンメニューをスマホでは常に表示 */
    .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        background: #fdfaf5;
    }
}

/* --- ハンバーガーボタン自体のスタイル --- */
#nav-open {
    display: none; /* デフォルトは非表示 */
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1100; /* メニューより前面に */
}

/* 三本線の実体（中央の線） */
#nav-open span,
#nav-open span::before,
#nav-open span::after {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: #7a2222; /* アール工房カラー */
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s;
}

#nav-open span {
    top: 50%;
    transform: translateY(-50%);
}

#nav-open span::before {
    top: -10px; /* 上の線 */
}

#nav-open span::after {
    top: 10px; /* 下の線 */
}

/* --- チェックが入った時（開いた時）の「×」への変化 --- */
#nav-input:checked ~ #nav-open span {
    background: transparent; /* 中央の線を消す */
}

#nav-input:checked ~ #nav-open span::before {
    top: 0;
    transform: rotate(45deg); /* 上の線を45度回転 */
}

#nav-input:checked ~ #nav-open span::after {
    top: 0;
    transform: rotate(-45deg); /* 下の線をマイナス45度回転 */
}

/* --- レスポンシブ (1151px以下) --- */
@media screen and (max-width: 1151px) {
    #nav-open {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 30px; /* ロゴの高さに合わせて調整 */
    }

    /* メニュー本体のスライド */
    .main-nav {
        display: block !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        transition: right 0.4s ease;
        padding-top: 80px;
    }

    #nav-input:checked ~ .main-nav {
        right: 0 !important;
    }
}


/* --- ナガモチコートプレミア 固有スタイル --- */

/* ルミフロン解説ボックス */
.lumiflon-box {
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.lumiflon-header .sub-label {
    display: block;
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}

.quote-box {
    background: #fdfaf5;
    padding: 25px;
    border-left: 5px solid #7a2222;
    font-size: 14px;
    line-height: 1.8;
    margin: 30px 0;
    color: #555;
    font-style: italic;
}

/* 採用実績グリッド */
.adoption-examples {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.adoption-examples h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.ex-item {
    background: #f9f9f9;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #7a2222;
}

/* クリーニングセクション */
.cleaning-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cleaning-visual { flex: 1; }
.cleaning-text { flex: 1; }

/* カラーラインナップ */
.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.color-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.color-sample {
    height: 150px;
}

.color-info {
    padding: 20px;
}

.color-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.color-info p {
    font-size: 12px;
    color: #7a2222;
    font-weight: bold;
    margin-bottom: 10px;
}

.color-desc {
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.6 !important;
}

/* 強みのリスト */
.strength-list {
    margin: 30px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .example-grid { grid-template-columns: repeat(2, 1fr); }
    .cleaning-flex { flex-direction: column; }
    .color-grid { grid-template-columns: repeat(2, 1fr); }
    .lumiflon-box { padding: 30px 20px; }
}

.small{
	text-align: center;
}


/* --- トップ実績PRエリア --- */
.top-pr-area {
    background: #fff;
    padding: 40px 0;
    position: relative;
    z-index: 10;
    margin-top: -30px; /* MVに少し被せて一体感を出す */
}

.pr-inner {
    display: flex;
    align-items: center;
    background: #fdfaf5; /* 柔らかなベージュ背景 */
    border: 1px solid #e0d0b0;
    padding: 40px 60px;
    gap: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* PRバッジのデザイン（ゴールドエンブレム風） */
.performance-badge {
    flex: 0 0 220px;
    background: linear-gradient(135deg, #d4af37 0%, #f9f1c0 50%, #d4af37 100%); /* ゴールドグラデ */
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    color: #4a3a00;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.performance-badge .year {
    display: block;
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 8px;
    padding-bottom: 5px;
}

.performance-badge .category {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: 5px;
}

.performance-badge .rank {
    display: block;
    font-size: 20px;
    font-weight: bold;
}

.performance-badge .rank .num {
    font-size: 42px;
    font-family: 'Oswald', sans-serif;
    margin: 0 2px;
}

/* テキストエリア */
.pr-content {
    flex: 1;
}

.pr-title {
    font-size: 24px;
    color: #7a2222;
    margin-bottom: 15px;
    font-weight: bold;
}

.pr-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.pr-text strong {
    color: #a32d2d;
    font-size: 1.1em;
}

/* リンクボタン */
.pr-link .btn-text {
    font-size: 14px;
    font-weight: bold;
    color: #7a2222;
    text-decoration: underline;
    transition: 0.3s;
}

.pr-link .btn-text:hover {
    color: #a32d2d;
    text-decoration: none;
}

/* --- レスポンシブ --- */
@media (max-width: 1151px) {
    .pr-inner {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        text-align: center;
    }
    .top-pr-area {
        margin-top: 0;
    }
    .performance-badge {
        flex: none;
        width: 100%;
        max-width: 280px;
    }
    .pr-title {
        font-size: 20px;
    }
}


/* --- 製品ページ用 実績バッジ --- */
.nagamochi-performance-badge {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 20px;
    background: linear-gradient(135deg, #fdfaf5 0%, #fff 100%);
    border: 2px solid #d4af37; /* ゴールド */
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.nagamochi-performance-badge::before {
    content: "\f0a3"; /* FontAwesomeの勲章アイコン */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 15px;
    color: #d4af37;
    font-size: 24px;
}

.badge-year {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.badge-rank {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.badge-rank strong {
    color: #a32d2d;
    font-size: 32px;
    margin-left: 5px;
}

.badge-sub {
    font-size: 14px;
    color: #7a2222;
    font-weight: bold;
    margin-top: 5px;
}

.contact .section-title h2 {
    font-size: 28px;
	color: #fff;
}
@media (max-width: 768px) {
    .badge-rank { font-size: 18px; }
    .badge-rank strong { font-size: 26px; }
.support-badge {
    width: 160px;
}
.section-title h2 {
	font-size: 24px;
	}
	.spnon{
		display: none;
	}
	.pcnon{
		display: block;
	}
.support-item p {
    font-size: 15px;
    font-weight: bold;
    color: #7a3a3a;
}
.method-box {
    flex: unset;
}
.form-label {
    flex: unset;
}
.page-head {
    background: linear-gradient(135deg, #b84c4c 0%, #a32d2d 100%);
    padding: 30px 20px;
}
}

/* --- 代表挨拶セクション --- */
.greeting-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.greeting-img {
    flex: 0 0 45%;
    position: relative;
}

.greeting-img img {
    width: 100%;
    box-shadow: 20px 20px 0 #7a2222; /* ブランドカラーのずらし装飾 */
    border-radius: 5px;
}

.greeting-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: #fff;
    color: #7a2222;
    padding: 8px 20px;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #7a2222;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.greeting-text {
    flex: 1;
}

.sub-title-red {
    color: #7a2222;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.policy-section .sub-title-red {
    color: #7a2222;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
	text-align: center;
}

.sub-title-red::after {
    content: "";
    position: absolute;
    bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
width: 60px;
height: 3px;
background: #7a2222;
}

.greeting-text p {
    line-height: 2;
    margin-bottom: 20px;
    color: #444;
}

/* 挨拶内 代表者名 */
.representative-names {
    margin-top: 40px;
    display: flex;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.name-item span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.name-item p {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* --- 会社概要テーブル --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .en {
    display: block;
    color: #7a2222;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.section-title h2 {
    font-size: 28px;
    color: #333;
    margin-top: 5px;
}

.company-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-top: 2px solid #7a2222;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.company-table th, 
.company-table td {
    padding: 25px 30px !important;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 15px;
}

.company-table th {
    width: 200px;
    background-color: #fdfaf5;
    color: #7a2222;
    font-weight: bold;
    vertical-align: top;
}

.company-table td {
    line-height: 1.8;
    color: #444;
}

.table-sub-row {
    margin-bottom: 15px;
}

.table-sub-row:last-child {
    margin-bottom: 0;
}

.table-sub-row strong {
    color: #333;
    display: inline-block;
    margin-bottom: 3px;
    font-size: 13px;
}

.tel-link {
    color: #7a2222;
    font-weight: bold;
    text-decoration: none;
}

.tel-link:hover {
    text-decoration: underline;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
    .greeting-flex {
        flex-direction: column;
        gap: 40px;
    }

    .greeting-img {
        width: 100%;
        padding-right: 20px; /* ずらし背景分の余白 */
    }

    .sub-title-red {
        font-size: 24px;
    }

    .representative-names {
        flex-direction: column;
        gap: 20px;
    }

    .company-table th {
        width: 120px;
        padding: 20px 15px;
    }
}

@media (max-width: 600px) {
    .company-table th, 
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .company-table td {
        padding-top: 5px;
    }
}


/* --- PC用：右サイド固定ボタン --- */
.fixed-side-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.fixed-side-contact a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 10px;
    background: linear-gradient(135deg, #c5a359 0%, #b08d44 50%, #947c2d 100%);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    border: 1px solid #d4b677;
    border-right: none;
}

.fixed-side-contact a i {
    font-size: 20px;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.fixed-side-contact a span {
    writing-mode: vertical-rl; /* 縦書き設定 */
    letter-spacing: 0.1em;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.fixed-side-contact a:hover {
    padding-right: 15px; /* 少し左に出るアニメーション */
    background: linear-gradient(135deg, #d4b677 0%, #c5a359 50%, #b08d44 100%);
}

/* --- スマホ用：フッター固定CTA --- */
.sp-footer-cta {
    position: fixed;
    bottom: -100px; /* 初期は隠す */
    left: 0;
    width: 100%;
    display: flex;
    height: 70px;
    z-index: 10000;
    transition: bottom 0.4s ease;
}

/* スクロール後に出現するクラス */
.sp-footer-cta.is-show {
    bottom: 0;
}

.cta-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-item a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
}

.cta-item i {
    font-size: 18px;
    margin-bottom: 4px;
}

/* 電話ボタン：エンジ */
.cta-item.tel {
    background: #7a2222;
}

/* メールボタン：ゴールド */
.cta-item.mail {
    background: linear-gradient(135deg, #c5a359 0%, #b08d44 100%);
    border-left: 1px solid rgba(255,255,255,0.3);
}

/* レスポンシブ切り替え */
@media (min-width: 1152px) {
    .sp-only { display: none !important; }
}
@media (max-width: 1151px) {
    .pc-only { display: none !important; }
}


/* --- プライバシーポリシー 固有スタイル --- */

.privacy-policy .container {
    max-width: 900px; /* 規約文を読みやすくするため少し細身に設定 */
}

/* 規約全体を包むカード */
.policy-card {
    background: #fff;
    padding: 60px 80px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.policy-intro {
    line-height: 2;
    margin-bottom: 50px;
    color: #444;
    font-size: 15px;
}

/* セクション（章）の区切り */
.policy-section {
    margin-top: 40px;
}

.policy-item {
    margin-bottom: 40px;
}

/* 条項の見出し (H3) */
.policy-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.policy-item p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* リンク色（Googleアナリティクス規約等） */
.policy-item a {
    color: #a32d2d;
    text-decoration: underline;
}

.policy-item a:hover {
    text-decoration: none;
}

/* 利用目的のチェックリスト */
.policy-item .check-list {
    background: #fdfaf5;
    padding: 25px 30px;
    border-radius: 5px;
}

.policy-item .check-list li {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: bold;
}

.policy-item .check-list li:last-child {
    margin-bottom: 0;
}

/* 署名・改訂日エリア */
.policy-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #7a2222;
    text-align: right;
}

.policy-footer p {
    line-height: 2;
    margin-bottom: 20px;
    color: #333;
    font-size: 14px;
}

.policy-footer p:first-child {
    font-weight: bold;
    color: #888;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .policy-card {
        padding: 40px 20px;
    }
.mv {
	height: 500px;
	}
.mv-catch {
    position: absolute;
	top: 30%;
	}
.mv-badge {
    position: absolute;
    bottom: 40px;
    right: 0;
	left: 0;
	margin: 0 auto;
    width: 300px;
}
    .news-title {
        text-align: center;
        font-size: 36px;
			text-align: center !important;
			margin: 0 auto;
    }
.news-item .date {
    background: #a00;
    padding: 2px 8px;
    margin-right: 20px;
    font-size: 11px;
    height: fit-content;
}
.news-item .text {
    font-size: 14px;
    line-height: 1.6;
}
.news-section {
	padding: 40px 20px;
	}
    .policy-item h3 {
        font-size: 16px;
    }

    .policy-intro {
        font-size: 14px;
    }

    .policy-footer {
        text-align: left;
    }
}

/* アニメーションさせたい要素に付与する基本クラス */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* スクロールして画面内に入った時にJSで付与されるクラス */
.is-animated {
    opacity: 1;
    transform: translateY(0);
}

/* --- 施工実績 一覧 --- */
.case-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 25px;
    border: 1px solid #7a2222;
    color: #7a2222;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s;
}
.filter-btn.is-active, .filter-btn:hover {
    background: #7a2222;
    color: #fff;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.case-card {
    background: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.case-card:hover { transform: translateY(-5px); }
.case-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.case-card-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-label {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(122, 34, 34, 0.9);
    color: #fff; font-size: 11px; padding: 4px 10px;
}
.case-card-body { padding: 20px; }
.case-card-body h3 { font-size: 17px; margin-bottom: 10px; color: #333; }
.case-excerpt { font-size: 13px; color: #666; line-height: 1.6; }

/* --- 施工実績 詳細 --- */
.case-detail-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}
.case-gallery { flex: 1.2; }
.main-img-box {
    width: 100%;
    aspect-ratio: 3/2;
    margin-bottom: 15px;
    overflow: hidden;
    background: #f4f4f4;
}
.main-img-box img { width: 100%; height: 100%; object-fit: contain; }
.sub-img-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.sub-img-item { aspect-ratio: 1/1; cursor: pointer; border: 2px solid transparent; }
.sub-img-item:hover { border-color: #c5a359; }
.sub-img-item img { width: 100%; height: 100%; object-fit: cover; }

.case-info { flex: 0.8; }
.cat-tag { color: #7a2222; font-weight: bold; font-size: 14px; }
.case-info h1 { font-size: 26px; margin: 10px 0 25px; line-height: 1.4; border-bottom: 2px solid #c5a359; padding-bottom: 15px;}
.case-text-content { line-height: 2; color: #444; margin-bottom: 40px; }

@media (max-width: 992px) {
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .case-detail-flex { flex-direction: column; }
}
@media (max-width: 580px) {
    .case-grid {
        grid-template-columns: 1fr;
        margin: 0 5%;
    }
}

/* ページネーション全体 */
.case-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.case-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 8px;
}

.case-pagination li a,
.case-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: all 0.3s;
    background: #fff;
}

/* 現在のページ番号 */
.case-pagination li span.current {
    background: #7a2222; /* ブランドカラーのエンジ */
    color: #fff;
    border-color: #7a2222;
}

/* ホバー時 */
.case-pagination li a:hover {
    background: #c5a359; /* ゴールド系 */
    color: #fff;
    border-color: #c5a359;
}

/* モバイル対応 */
@media (max-width: 580px) {
    .case-pagination li a,
    .case-pagination li span {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* カード全体 */
.case-card {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* 高さを統一 */
}

/* 画像エリア */
.case-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* 比率を固定 */
    overflow: hidden;
    background: #f4f4f4;
}

.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠いっぱいに収める */
    transition: transform 0.5s ease;
}

.case-card:hover .case-card-img img {
    transform: scale(1.1); /* ホバーで少しズーム */
}

/* カテゴリラベル（左上） */
.cat-label {
    position: absolute;
    top: 0;
    left: 0;
    background: #7a2222; /* エンジ */
    color: #fff;
    font-size: 11px;
    padding: 5px 12px;
    z-index: 2;
}

/* テキストエリア */
.case-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-card-body h3 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
    /* 2行以上は三点リーダーにする設定 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 詳細を見るリンク */
.more-btn {
    margin-top: auto; /* 下に張り付かせる */
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.more-btn::after {
    content: '\f061'; /* Font Awesomeの矢印 */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #c5a359; /* ゴールド */
    transition: transform 0.3s;
}

.case-card:hover .more-btn::after {
    transform: translateX(5px);
}

/* ページネーションのリセットと修正 */
.case-pagination ul {
    background: none !important; /* 黒背景の正体がulならこれで消えます */
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.case-pagination li {
    background: none !important; /* liに背景色がついてる場合をリセット */
    margin: 0 !important;
    padding: 0 !important;
}

.case-pagination li a,
.case-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #fff !important; /* 基本は白背景 */
    color: #333 !important;
    border: 1px solid #ddd !important;
    text-decoration: none;
    transition: all 0.3s;
}

/* 現在のページ */
.case-pagination li span.current {
    background: #7a2222 !important; /* エンジ */
    color: #fff !important;
    border-color: #7a2222 !important;
}

/* ホバー時の挙動を上書き固定 */
.case-pagination li a:hover {
    background: #c5a359 !important; /* ゴールド */
    color: #fff !important;
    border-color: #c5a359 !important;
    opacity: 1;
}

.warranty-page .container {
    max-width: 1000px;
}

.warranty-intro {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 60px;
    font-size: 16px;
    color: #444;
}

.warranty-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 各保証アイテム */
.warranty-item {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    align-items: stretch;
}

.warranty-img {
    flex: 0 0 300px;
    background: #f9f9f9;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warranty-img img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.warranty-info {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.warranty-info h3 {
    font-size: 20px;
    color: #7a2222; /* エンジ */
    margin-bottom: 5px;
}

.warranty-label {
    display: inline-block;
    font-size: 12px;
    background: #c5a359; /* ゴールド */
    color: #fff;
    padding: 2px 10px;
    margin-bottom: 15px;
    border-radius: 3px;
    width: fit-content;
}

.warranty-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

/* PDFボタン */
.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f4f4f4;
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: all 0.3s;
    width: fit-content;
}

.btn-pdf i {
    color: #7a2222;
    font-size: 18px;
}

.btn-pdf:hover {
    background: #7a2222;
    color: #fff;
    border-color: #7a2222;
}

.btn-pdf:hover i {
    color: #fff;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .warranty-item {
        flex-direction: column;
    }
    .warranty-img {
        flex: 0 0 auto;
        padding: 20px;
    }
    .warranty-info {
        padding: 20px;
        text-align: center;
    }
    .btn-pdf {
        margin: 0 auto;
    }
    .warranty-label {
        margin: 0 auto 15px;
    }
}


/* メイン画像エリア */
.color-main-visual {
    width: 100%;
    margin-bottom: 40px;
	
}

.color-main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.color-main-visual img.max600 {
max-width: 600px;
	display: block;
	margin: 0 auto;
}


/* カードグリッド */
.color-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2カラムで安定感 */
    gap: 25px;
}

.color-card {
    background: #fff;
    padding: 10px 20px;
    border-left: 5px solid #7a2222; /* アクセントカラー：エンジ */
    display: flex;
    flex-direction: column;
}

/* 機能識別タグ */
.color-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    width: fit-content;
    font-weight: bold;
}
.is-shane { background: #eef7ff; color: #2a75b3; border: 1px solid #2a75b3; } /* 遮熱：青系 */
.is-fluorine { background: #fff9ed; color: #c5a359; border: 1px solid #c5a359; } /* フッ素：金系 */

.color-info h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: #333;
}

.color-spec {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.color-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* スマホ対応 */
@media (max-width: 640px) {
    .color-grid {
        grid-template-columns: 1fr;
    }
    .color-card {
        padding: 20px;
    }
.color-main-visual img.max600 {
max-width: 100%;
	display: block;
	margin: 0 auto;
}
}

/* 番号バッジのスタイル */
.color-header {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.color-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #0d6fb8;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50%;
    line-height: 1;
}

/* 既存のカードスタイルへの追加・調整 */
.color-card {
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-top: 4px solid #7a2222; /* 上部にラインを入れてカッチリさせる */
    transition: transform 0.3s;
}

.color-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.color-tag {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 3px;
    font-weight: bold;
}

.is-shane { background: #eef7ff; color: #2a75b3; border: 1px solid #2a75b3; }
.is-fluorine { background: #fff9ed; color: #c5a359; border: 1px solid #c5a359; }

.color-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.color-spec {
    font-size: 13px;
    color: #c5a359; /* ゴールドでスペックを強調 */
    font-weight: bold;
    margin-bottom: 12px;
}

.color-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* グリッド調整 */
@media (max-width: 768px) {
    .color-grid {
        grid-template-columns: 1fr;
    }
.reason-img img.max600 {
    max-width: 100%;
    height: auto;
}
}


/* ルミフロン特別セクション */
.lumiflon-special {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 60px 0;
    margin: 40px 0;
}

.lumiflon-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.lumiflon-visual {
    flex: 1.2;
}

.lumiflon-visual img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.lumiflon-visual .caption {
    font-size: 11px;
    color: #888;
    margin-top: 10px;
    text-align: right;
}

.lumiflon-content {
    flex: 1;
}

.history-tag {
    color: #c5a359;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.lumiflon-content h3 {
    font-size: 26px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.lumiflon-lead {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.award-box {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.award-box h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #7a2222;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.award-box ul {
    list-style: none;
    padding: 0;
}

.award-box li {
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.award-box li span {
    font-weight: bold;
    color: #c5a359;
    min-width: 40px;
}

.lumiflon-footer-text {
    background: #fff5f5;
    border: 1px dashed #a32d2d;
    padding: 20px;
    margin-top: 25px;
    font-weight: bold;
    color: #a32d2d;
    border-radius: 5px;
}

/* スマホ対応 */
@media (max-width: 960px) {
    .lumiflon-grid {
        flex-direction: column;
        gap: 30px;
    }
    .lumiflon-content h3 {
        font-size: 22px;
    }
}