@charset "UTF-8";

/* ==============================================
   商品一覧ページ (Archive Products) スタイル
   ============================================== */
.campaign-small-sp{
	display:none;
}
/* コンテナ設定 */
.archive-container { 
    width: 100%;
    max-width: 1280px;        /* PCでの最大幅 */
    margin: 40px auto;
    padding: 0 20px;          /* スマホ等での左右余白 */
    box-sizing: border-box;
}

/* ページタイトル */
.page-title { 
    text-align: center; 
    margin-bottom: 40px; 
    font-size: 24px; 
    font-weight: bold; 
}

/* 親タブ（大分類） */
.tab-nav-parent { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 5px; 
    margin-bottom: 20px; 
    border-bottom: 2px solid #ddd; 
}

.tab-btn-parent {
    padding: 10px 20px; 
    background: #f0f0f0; 
    border: none; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 16px;
    border-radius: 5px 5px 0 0; 
    transition: 0.3s;
}

.tab-btn-parent.active { 
    background: #333; 
    color: #fff; 
}

/* 子タブ（小分類）エリア */
.tab-content-parent { 
    display: none; 
    width: 100%;
    animation: fadeIn 0.3s ease; 
}

.tab-content-parent.active { 
    display: block; 
}

/* 子タブ（ボタン） */
.tab-nav-child { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 10px; 
    margin-bottom: 30px; 
}

.tab-btn-child {
    padding: 8px 16px; 
    background: #fff; 
    border: 1px solid #ccc; 
    cursor: pointer; 
    font-size: 14px; 
    border-radius: 20px;
    transition: 0.2s; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-width: 100px;
}

.tab-btn-child:hover { 
    background: #f9f9f9; 
}

.tab-btn-child.active { 
    background: #2DABB5; 
    color: #fff; 
    border-color: #00a6b5; 
}

.tab-btn-child img { 
    max-height: 40px; 
    width: auto; 
    display: block; 
    pointer-events: none; 
}

/* グリッド表示エリア */
.product-grid-wrapper { 
    display: none; 
    width: 100%;
}

.product-grid-wrapper.active { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px; 
    animation: fadeIn 0.5s ease; 
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

/* 商品カード */
.product-card { 
    border: 1px solid #eee; 
    padding: 0px; 
    background: #fff; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
    display: flex; 
    flex-direction: column; 
}

.card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
    height: 45px; 
	background-color:#53AAC5;
	width:100%;
	padding:0 1rem;
}

.brand-logo{
	height:25px;
}

.brand-logo img { 
    max-height: 25px; 
    width: auto; 
	background-color:#fff;
	padding:0 0.5rem;
}

.product-code { 
    font-size: 18px; 
    color: #fff; 
	height:fit-content;
	font-weight:900;
}

.card-image { 
    text-align: center; 
    margin-bottom: 15px; 
    height: 200px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
	position:relative;
	padding:0 5px;
}

.card-image img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}

.left-spec-container{
	position:absolute;
	left:2%;
	top:0;
	width: 70px;
}

.spec-capacity{
	display:block;
	width:100%;
	text-align:center;
	background:#dcdcdc;
	margin-bottom:5px;
	font-weight:900;
	font-size:10px;
}

.item-spec-row{
	width:100%;
}

.kyuto-shoene{
	background:#F18E37;
	text-align:center;
	width:100%;
}

.shape-type,
.function-type{
	width:34px;
	height:30px;
	line-height:25px;
	text-align:center;
	background:#00a6b5;
	color:#fff;
	font-weight:900;
	border-radius:5px;
	border:1px solid #87cefa;
}

.function-type{
	line-height:11px;
	font-size:9px;
	padding-top:3px;
}

.func-line1{
	display:block;
}

.shape-type{
	font-size:11px;
}

.spec-types{
	display:flex;
	justify-content:space-around;
	margin-top:5px;
}
.kyuto-shoene span{
	display:block;
	color:#fff;
	font-weight:900;
	font-size:10px;
}


.point-list { 
    padding: 10px 15px; 
    border-radius: 4px; 
    font-size: 13px; 
    color: #555; 
    list-style: none; 
	width:95%;
	margin:0 auto;
	margin-bottom: 0; 
	min-height:150px;
}

.point-list li { 
	background: #f5f5f5; 
    margin-bottom: 5px; 
    padding-left: 1em; 
}
.price-display-area { 
    margin-top: 1rem; 
    text-align: center; 
    border-top: 1px solid #eee; 
    padding: 0; 
	position:relative;
}

.list-price-text { 
    font-size: 12px; 
    color: #333333; 
	padding:5px 0; 
	font-size:16px;
	display:block;
	width:fit-content;
	margin:0 auto;
	position:relative;
}

.list-price-text::before{
	content:"";
	width:100%;
	height:2px;
	background-color:#D74646;
	transform:rotate(5deg);
	display:block;
	position:absolute;
	top:0;
	bottom:0;
	margin:auto;
	
}

.item-yen{
	font-size:44px;
}

.badge-area { 
    height: fit-content; 
	flex-direction:column;
    margin: auto; 
	position:absolute;
	left:auto;
	right:2%;
	top:0;
	display: flex;             /* フレックスボックス化 */
    justify-content: center;   /* 左右中央揃え */
    align-items: center;       /* 上下中央揃え */
}


.badge-off{
	display:block;
}

.special-badge span{
	display:block;
}

.special-badge-1{
	font-size:8px;
}

.special-badge-2{
	font-size:13px;
}


.special-badge, .percent-badge,.subsidy-badge{ 
	display: flex;
    flex-direction: column;
	justify-content: center;
    align-items: center;
    background: #D74646; 
    color: #fff; 
    padding: 3px 8px; 
    font-size: 11px; 
    font-weight: bold; 
    border-radius: 50%; 
	width:70px;
	height:70px;
	text-align:center;
}

.subsidy-badge{
	background-color:#00a6b5;
	font-size:10px;
	margin-bottom:0.25rem;
}

.subsidy-value{
	font-size:15px;
}

.selling-price-label{
	text-align:center;
	background-color:#D74646;
	color:#fff;
	font-weight:900;
	display:block;
	width:100%;
	margin-bottom:0.5rem;
	font-size:18px;
	padding:0.25rem 0;
}

.selling-price-list{
	padding:5px 0;
}

.percent-number{
	font-size:18px;
}

.selling-price-text { 
    font-size: 24px; 
    font-weight: bold; 
    color: #d00; 
    margin: 0; 
    line-height: 1.2; 
	text-align:center;
}

.selling-price-value{
	font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
	font-size:54px;
	letter-spacing:0.1rem;
	color:#D74646;
}

.detail-link-wrap { 
    margin-top: 15px; 
    text-align: center; 
}

.btn-detail { 
    display: inline-block; 
    background: #333; 
    color: #fff; 
    padding: 8px 20px; 
    text-decoration: none; 
    border-radius: 4px; 
    font-size: 14px; 
}

.item-cta-btn{
	width:90%;
	background-color:#D74646;
	color:#fff;
	font-weight:900;
	text-align:center;
	display:block;
	border-radius:9999px;
	margin:0.5rem auto;
	padding:0.5rem 0;
}

.dynamic-tab-heading {
    grid-column: 1 / -1; /* 横幅いっぱいに広げる */
    width: 100%;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 2px solid #e2d848;
    color: #333;
}

.product-grid-wrapper.layout-list.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-grid-wrapper {
    display: none; /* 基本は非表示 */
}
.product-grid-wrapper.active {
    display: grid; /* 通常のアクティブ時はグリッド */
}

/* =========================================
   背景画像の出し分け設定
   ========================================= */

.campaign-list-card {
    position: relative;
    /* デフォルト（PC）は --bg-pc を使用 */
    background-image: var(--bg-pc); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
	max-width:1000px;
	width:100%;
	height:auto;
	min-height: 400px;
	margin:0 auto;
	padding:30px 55px 0 55px;
	box-sizing: border-box;
}

.campaign-list-image{
	position:relative;
}

.campaign-specs{
	position:absolute;
	left:-20%;
	width:120px;
}

.spec-tag{
	width:100%;
	display:block;
	background-color:#fff;
	color:#333333;
	font-weight:900;
	text-align:center;
	margin-bottom:0.5rem;
}

.campaign-square-tag{
	display:flex;
	justify-content:space-between;
}


.subsidy-tag{
	color:#fff;
	font-weight:900;
	font-size:15px;
	text-align:center;
	line-height:1.2rem;
	width:55px;
	height:55px;
	padding:5px;
	padding-top:10px;
	border-radius:10px;
}


.campaign-center{
	width:30%;
}

.campaign-logo{
	margin:1rem 0;
}

.campaign-list li{
	color:#fff;
	font-weight:900;
	text-align:center;
	margin-bottom:0.25rem;
	padding:0.25rem 0;
}

.campaign-small{
	font-size:10px;
	padding:0;
}

.campaign-bg-winter{
	background-color:#020043;
}

.campaign-bg-summer{
	background-color:#3cb371;
}

.campaign-bg-autumn{
	background-color:#d2691e;
}

.campaign-bg-spring{
	background-color:#ffb6c1;
}

.is-outline {
    background-color:#fff!important;
    border-style: solid;
    border-width: 2px;
    font-weight: bold;
}

/* 冬：背景じゃなくて、線と文字をネイビーに */
.campaign-bg-winter.is-outline {
    border-color: #020043;
    color: #020043;
}

/* 夏：線と文字を緑に */
.campaign-bg-summer.is-outline {
    border-color: #3cb371;
    color: #3cb371;
}

/* 秋：線と文字をオレンジに */
.campaign-bg-autumn.is-outline {
    border-color: #d2691e;
    color: #d2691e;
}

/* 春：線と文字をピンクに */
.campaign-bg-spring.is-outline {
    border-color: #ffb6c1;
    color: #ffb6c1;
}

.shape-tag{
	width:55px;
	height:55px;
	border-radius:10px;
	font-size:20px;
	text-align:center;
	padding:5px;
	padding-top:10px;
}



/* スマホ用（768px以下） */
@media (max-width: 768px) {
    .campaign-list-card {
        /* スマホ時は --bg-sp に切り替え */
        background-image: var(--bg-sp);
    }
}

/* オーバーレイなどは以前のままでOK */
.campaign-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    display: none;
}
.campaign-list-card.has-bg-image .campaign-overlay {
    display: block;
}
.campaign-content-inner {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 20px;
	justify-content:space-around;
}

.daikin-x{
	font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
	color:#333333!important;
	background: linear-gradient(305deg,rgba(199, 157, 58, 1) 0%, rgba(255, 214, 117, 1) 48%, rgba(199, 157, 58, 1) 100%);
}

@media (max-width: 768px) {
    .campaign-content-inner {
        flex-direction: column;
		gap:0;
    }
}

.campaign-code{
	font-size:30px;
	font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
	color:#333333;
	letter-spacing:0.15rem;
	margin-bottom:0.5rem;
	background-color:transparent;
}

.maker-prefix {
	font-size:15px;
	letter-spacing:0;
}

.campaign-badge-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
	margin:0 auto;
	width:80%;
	max-width:300px;
}

.campaign-warranty-badge,
.campaign-cheapest-badge,
.campaign-subsidy-badge{
    display: flex;
    justify-content: center; /* 左右中央 */
    align-items: center;     /* 上下中央 */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.badge-inner {
    text-align: center;
    line-height: 1.2;
    display: block;
	margin-bottom:5px;
}
.campaign-warranty-badge {
    background-color: #D6B446;
}

.campaign-subsidy-badge {
    background-color: #01A6B6;
	font-size:12px;
}

.campaign-cheapest-badge {
    background-color: #D74646;
	font-size:20px;
}

.campaign-cheapest-badge .badge-inner{
	position:relative;
}

.campaign-cheapest-badge .badge-inner::after{
	content:"※";
	position:absolute;
	color:#fff;
	display:block;
	font-size:10px;
	top:0;
	right:0;
}

.campaign-price-area .list-price-text{
	margin:0;
}

.campaign-10big {
    font-size: 2.5em;
	font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
	
}

.campaign-price-main .label{
	display:block;
	background-color:#D74646;
	width:fit-content;
	text-align:center;
	padding:0.1rem 1rem;
	color:#fff;
	font-weight:900;
}


.campaign-price-main .price{
	font-size:70px;
	color:#D74646;
	font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
	line-height: 1;
}

.campaign-price-main .tax-in{
	font-size:20px;
	color:#D74646;
}

.campaign-cta{
	width:50%;
	background-color:#00a6b5;
}

.upsell-cta{
	width:70%;
	background-color:#00a6b5;
}

@media (max-width: 1020px) {
    .campaign-list-card {
        width: 95%;
		height:auto;
        min-height: 630px;
        padding: 1rem;
    }

    .campaign-content-inner {
        flex-direction: column;
    }

    .campaign-center {
        width: 100%;
        order: 0;
    }

    .campaign-list-image {
        order: 1;
        margin: 0 auto;
    }

    .campaign-img-wrap {
        text-align: center;
    }

    .campaign-img-wrap img {
        width: 70%;
        height: auto;
    }

    .campaign-list-body {
        order: 2;
    }

    .campaign-list {
        display: none;
    }

    .campaign-logo {
        text-align: center;
        margin: 0;
    }
	
	.campaign-logo img{
		width:70%;
		height:auto;
	}

    .campaign-specs {
        left: -25%;
    }

    .campaign-code {
        font-size: 18px;
    }
	
	.maker-prefix{
		font-size:13px;
		margin-right:0.25rem;
	}

    .campaign-price-main .price {
        font-size: 50px;
    }

    .campaign-warranty-badge,
    .campaign-cheapest-badge,
    .campaign-subsidy-badge {
        width: 70px;
        height: 70px;
        font-size: 11px;
    }

    .campaign-10big {
        font-size: 1.5rem;
    }

    .campaign-cheapest-badge .badge-inner {
        margin-bottom: 0;
        font-size: 14px;
    }

    .campaign-cheapest-badge .badge-inner::after {
        right: -5px;
    }

    .campaign-small-sp {
        display: block;
        font-size: 10px;
        width: fit-content;
        margin: 0 auto;
		padding-top:5px;
    }

    .campaign-code {
        padding: 10px;
        text-align: center;
        color: #fff;
		margin:0 auto;
		padding:0.25rem 0;
		margin-bottom:1rem;
		display: flex;
    	align-items: center;
    	justify-content: center;
    }

    /* 各季節の色設定 */
    .campaign-code.campaign-bg-winter {
        background-color: #020043 !important;
    }

    .campaign-code.campaign-bg-summer {
        background-color: #3cb371 !important;
    }

    .campaign-code.campaign-bg-autumn {
        background-color: #d2691e !important;
    }

    .campaign-code.campaign-bg-spring {
        background-color: #ffb6c1 !important;
    }
	
	.campaign-list-body{
		width:100%;
	}
	
	.campaign-cta{
		width:100%;
	}

}

/* ====================================
   住宅設備セクション専用スタイル
   (Housing Equipment Section)
   ==================================== */

.upsell-grid {
    display: none; 
    gap: 20px;
    width: 100%;
    margin: 0 auto 40px;
    grid-template-columns: 1fr; /* SP: 1カラム */
}

/* 2. activeクラスが付いた時だけ表示（grid）にします */
/* 詳細度を上げるためクラスを繋げて記述 */
.product-grid-wrapper.upsell-grid.active {
    display: grid;
}

/* PC: 3カラムに変更 */
@media (min-width: 768px) {
    .upsell-grid {
        /* ここは grid-template-columns だけ指定（displayは触らない） */
        grid-template-columns: repeat(3, 1fr); 
        max-width: 1200px; 
    }
}

/* --- カード本体のデザイン --- */
.c-equip-card {
    border: 2px solid #57B6CD; /* 水色の枠線 */
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ヘッダー */
.c-equip-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #57B6CD;
    color: #fff;
    padding: 5px 10px;
    /* 親のpaddingを打ち消して端まで広げる */
    margin: -10px -10px 10px -10px; 
}

.c-equip-card__title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

/* SPでのタイトルフォント調整 */
@media (max-width: 767px) {
    .c-equip-card__title {
        font-size: 13px; 
    }
}

.c-equip-card__logo img {
    height: 30px;
    width: auto;
    vertical-align: middle;
    background: #fff;
    padding: 2px 5px;
    border-radius: 2px;
}

/* --- カード内部レイアウト (CSS Grid) --- */
.c-equip-card__body {
    display: grid;
    gap: 7px;
    flex-grow: 1;
    
    /* SPレイアウト: 上段に特徴+画像、下段にバッジ+価格 */
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "features visual"
        "price    price";
	align-items:center;
}

/* PCレイアウト: 左側に特徴+価格、右側に画像 */
@media (min-width: 768px) {
    .c-equip-card__body {
        grid-template-columns: 1.2fr 1fr;
        grid-template-areas:
            "features visual"
            "price    visual";
    }
	
    
    /* PCではバッジエリアを非表示 */
    .c-equip-card__badge-area {
        display: none !important;
    }
}

/* --- Aエリア: 特徴リスト (features) --- */
.c-equip-card__features {
    grid-area: features;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.c-feature-label {
    background: #ECECEC;
    text-align: center;
    padding: 5px;
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2em;
}

/* SPでのフォントサイズ微調整 */
@media (max-width: 767px) {
    .c-feature-label { font-size: 8px; }
}

.c-feature-label--gold {
    background: #D6AE3F;
    color: #fff;
    font-size: 8px;
}

.c-feature-label--last {
    margin-bottom: 0;
    justify-content: center;
}
@media (max-width: 767px) {
    .c-feature-label--last {
        background: #ECECEC; /* SPの場合は背景ありに戻すなど調整可 */
    }
}


/* --- Bエリア: ビジュアル (visual) --- */
.c-equip-card__visual {
    grid-area: visual;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 吹き出し */
.c-speech-balloon {
    background: #D3E7ED;
    border-radius: 10px;
    padding: 5px 10px;
    margin-bottom: 10px;
    position: relative;
    width: 90%;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 吹き出しの三角 */
.c-speech-balloon::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #D3E7ED;
}

.c-speech-balloon__sub {
    font-size: 10px;
    font-weight: bold;
    display: block;
}

.c-speech-balloon__main {
    font-size: 12px; /* SP */
    font-weight: 900;
    color: #329EBF;
    display: block;
}
@media (min-width: 768px) {
    .c-speech-balloon__main { font-size: 13px; }
	.c-equip-card__image-wrap img{max-width: 130px;}
}

/* 画像 */
.c-equip-card__image-wrap img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}
@media (max-width: 768px) {
	.c-equip-card__image-wrap img{max-width: 130px;}
}

/* 注釈 */
.c-equip-card__note {
    font-size: 9px;
    text-align: left;
    margin: 5px 0 0;
    line-height: 1.2;
    color: #666;
    width: 100%;
}

/* --- Cエリア: バッジ (badge) - SPのみ --- */
.c-equip-card__badge-area {
    grid-area: badge;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* --- Dエリア: 価格 (price) --- */
.c-equip-card__price-area {
    grid-area: price;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 下揃え */
}

/* 他社価格 */
.c-competitor {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: right; /* 右寄せ */
	width:fit-content;
}
@media (min-width: 768px) {
    .c-competitor { 
		text-align: left; 
		font-size:12px;
	} 
}

.c-competitor__num {
    font-size: 23px;
    font-family: "Oswald", sans-serif;
    font-weight: 900;
    margin: 0 2px;
}

/* Cools価格エリア */
.c-cools-price {
    text-align: center; /* SPは中央寄せ */
}
@media (min-width: 768px) {
    .c-cools-price { text-align: left; } /* PCは左寄せ */
}

.c-cools-price__label {
    background: #D74646; /* 赤背景 */
    color: #fff;
    font-size: 15px;
    padding: 3px 5px;
    display: inline-block;
    font-weight: bold;
    border-radius: 2px;
    margin-bottom: 2px;
    width: 100%;
    box-sizing: border-box;
	text-align:center;
}
@media (min-width: 768px) {
    .c-cools-price__label { font-size: 9px; }
}

.c-cools-price__body {
    color: #D74646;
    font-family: "Oswald", sans-serif;
    line-height: 1;
	margin-bottom:1rem;
}

.c-cools-price__val {
    font-size: 42px; /* SP */
    font-weight: 900;
    letter-spacing: -1px;
}
.c-cools-price__tax {
    font-size: 20px;
    font-weight: bold;
    margin-left: 2px;
}

/* PCサイズ調整 */
@media (min-width: 768px) {
    .c-competitor__num { font-size: 24px; }
    .c-cools-price__val { font-size: 36px; }
    .c-cools-price__tax { font-size: 16px; }
}