@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ（キュアパター用カスタマイズ）
    Version: 1.1.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================
   0. 基本方針
   - 色・ヘッダー/フッターの背景・フォントサイズ・レイアウトは
     まず「カスタマイザー」で設定し、ここには“設定で出来ないこと”だけ書く
   - 旧サイト：黒ヘッダー／黒フッター／本文グレー(#5f5e5e)／リンク茶(#725025)
   ========================================================== */
:root {
	--cure-black: #000;
	--cure-red: #e60012;
	--cure-text: #5f5e5e;
	--cure-link: #725025;
	--cure-font-en: "Michroma", "Helvetica Neue", Arial, sans-serif;
}

/* ----------------------------------------------------------
   1. 見出し・タイトル（旧サイトのMichroma＝英字ロゴ感を継承）
   ---------------------------------------------------------- */
.c-pageTitle,
.c-postTitle__ttl,
.cure-product__name {
	font-family: var(--cure-font-en);
	letter-spacing: .02em;
}

/* ----------------------------------------------------------
   2. ヘッダー：グロナビを細めの白文字・下線ホバー
   ---------------------------------------------------------- */
.c-gnav > .menu-item > a { font-size: 13px; letter-spacing: .05em; }
.c-gnav > .menu-item > a .ttl { position: relative; }
.c-gnav > .menu-item > a:hover .ttl::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
	height: 2px; background: var(--cure-red);
}

/* ----------------------------------------------------------
   3. 商品ページ（inc/cure-product.php が出力）
   ---------------------------------------------------------- */
.cure-product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2em;
	margin-bottom: 2.5em;
	align-items: start;
}
.cure-product__img img { width: 100%; height: auto; border: 1px solid #ddd; }
.cure-product__name { font-size: 1.6em; margin: 0 0 .5em; color: #000; line-height: 1.3; }
.cure-product__price { margin: 0 0 1em; }
.cure-product__desc { font-size: .95em; }
.cure-product__cart { margin-top: 1.5em; text-align: left; }
.cure-product__cart .swell-block-button__link { background: var(--cure-red); min-width: 70%; }
.cure-product__closed { margin-top: 1.5em; padding: .8em 1em; background: #f3f3f3; font-weight: bold; }

@media (max-width: 599px) {
	.cure-product { grid-template-columns: 1fr; gap: 1.2em; }
	.cure-product__cart .swell-block-button__link { min-width: 100%; }
}

/* 価格 */
.cure-price { font-size: 1.1em; color: #000; }
.cure-price s { color: #888; margin-right: .2em; }
.cure-price b { font-size: 1.6em; color: var(--cure-red); }
.cure-price__yen { font-size: .85em; margin-left: .1em; }
.cure-price__note { font-size: .8em; color: #666; margin-left: .3em; }

/* 在庫バッジ（旧 /img/zaiko_xx.png を CSS で再現） */
.cure-badge {
	display: inline-block; vertical-align: middle;
	font-family: sans-serif; font-size: 12px; line-height: 1; font-weight: bold;
	padding: .45em .7em; color: #fff; border-radius: 2px; letter-spacing: .05em;
}
.cure-badge.-instock      { background: var(--cure-red); }
.cure-badge.-soldout      { background: #333; }
.cure-badge.-discontinued { background: #333; }
.cure-badge.-reserve      { background: #e08a00; }

/* タブ（CSSのみ） */
.cure-tabs { display: flex; flex-wrap: wrap; margin: 2em 0; }
.cure-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.cure-tabs > label {
	padding: .7em 1.4em; cursor: pointer; font-size: .9em;
	background: #f2f2f2; border: 1px solid #ddd; border-bottom: none; margin-right: 4px;
}
.cure-tabs > input:checked + label { background: #000; color: #fff; border-color: #000; }
.cure-tabs__panel { order: 99; width: 100%; display: none; border-top: 2px solid #000; padding-top: 1.2em; }
.cure-tabs > input:nth-of-type(1):checked ~ .cure-tabs__panel:nth-of-type(1),
.cure-tabs > input:nth-of-type(2):checked ~ .cure-tabs__panel:nth-of-type(2) { display: block; }
.cure-tabs__panel table { width: 100%; font-size: .9em; }
.cure-tabs__panel .weight_tbl th { background: #222; color: #fff; }
@media (max-width: 599px) {
	.cure-tabs__panel { overflow-x: auto; }
	.cure-tabs__panel .weight_tbl { min-width: 560px; }
}

/* ----------------------------------------------------------
   4. カテゴリ一覧（パター）：カード下に価格・在庫
   ---------------------------------------------------------- */
.cure-listPrice { margin-top: .4em; font-size: .85em; }
.cure-listPrice .cure-badge { font-size: 10px; margin-right: .5em; }
.cure-listPrice .cure-price__note { display: none; }
/* 商品カードは画像を正方形で（旧サイトの商品写真が1:1のため） */
.category-putters .p-postList.-type-card .c-postThumb__figure,
[class*="category-"] .p-postList.-type-card .c-postThumb__figure { padding-top: 100%; }
.p-postList.-type-card .c-postThumb__img { object-fit: contain; background: #fff; }

/* ----------------------------------------------------------
   5. NEWS（テキスト型一覧）
   ---------------------------------------------------------- */
.category-news .p-postList.-type-simple .p-postList__link { padding: 1em .5em; }
.category-news .p-postList.-type-simple .p-postList__title { font-weight: bold; }

/* ----------------------------------------------------------
   6. FAQ（SWELL FAQブロック：枠線スタイル）
   ---------------------------------------------------------- */
.swell-block-faq { --color_faq_q: var(--cure-red); --color_faq_a: #333; }
.swell-block-faq .faq_q { font-weight: bold; }

/* ----------------------------------------------------------
   7. 旧本文由来のレイアウト（旧テーマのクラスが本文に残っている分）
   ---------------------------------------------------------- */
.post_content .mb20 { margin-bottom: 20px; }
.post_content .top_imglist { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1em; list-style: none; padding: 0; }
.post_content .top_imglist li { list-style: none; text-align: center; }
.post_content .video { position: relative; padding-top: 56.25%; }
.post_content .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================
   9. ヘッダー（黒ベース・ロゴ左／問い合わせボタン右上／グロナビ右下）
   前提：カスタマイザー
     ヘッダー → レイアウト(PC)「ヘッダーナビを下に」
     ヘッダー背景 #000 / 文字 #fff、ヘッダーバー背景 #000
     ロゴ画像を設定、ロゴサイズ(PC) 80px 前後
   ========================================================== */
.l-header.-parallel .l-header__inner { align-items: center; }
.l-header.-parallel .w-header { justify-content: flex-end; }
.l-header.-parallel .l-header__gnav .c-gnav { justify-content: flex-end; }
.l-header .c-gnav > .menu-item > a { color: #fff; }
.l-header .c-gnav .sub-menu { background: #111; }
.l-header .c-gnav .sub-menu a { color: #ddd; }
.l-header .c-gnav .sub-menu a:hover { color: #fff; background: #222; }
.cure-headContact img { display: block; width: 236px; height: auto; transition: opacity .2s; }
.cure-headContact:hover img { opacity: .85; }
/* 追従（FIX）ヘッダーも黒に */
.l-fixHeader { background: #000; }
.l-fixHeader .c-gnav > .menu-item > a { color: #fff; }

/* ==========================================================
   10. 商品ページ：ブログ要素を消す（body.is-cure-product）
   ========================================================== */
.is-cure-product .p-articleMetas.-top,   /* カテゴリ・公開日・著者 */
.is-cure-product .p-articleMetas.-bottom,
.is-cure-product .p-pnLinks,             /* 前の記事・次の記事 */
.is-cure-product .c-postTimes { display: none; }
.is-cure-product .c-postTitle { margin-bottom: 1.5em; }
/* 関連記事（＝関連商品）は日付なしのカード */
.is-cure-product .p-relatedPosts .c-postTimes { display: none; }

/* ==========================================================
   11. トップページ（_migration/top-page-blocks.html）
   ========================================================== */
.cure-topNews .p-postList.-type-simple .p-postList__link { padding: .9em .25em; }
.cure-topNews .p-postList__title { font-weight: bold; }
.cure-fbBox iframe { width: 100%; max-width: 500px; border: none; overflow: hidden; display: block; margin: 0 auto; }
.cure-lineup .p-postList__title { font-family: var(--cure-font-en); text-align: center; }
.cure-lineup .cure-listPrice { text-align: center; }

/* ==========================================================
   12. ヘッダー：PCはロゴを左に大きく、右上に問い合わせ、右下にグロナビ
       （SWELL「ヘッダーナビを下に」レイアウトをグリッドで組み直し）
   ========================================================== */
@media (min-width: 960px) {
	.l-header.-parallel .l-header__inner {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: 2em;
		max-width: 1200px;
		margin-left: auto;
		margin-right: auto;
		padding: 14px 32px 10px;
	}
	.l-header.-parallel .l-header__logo {
		grid-column: 1; grid-row: 1 / 3;
		width: auto; padding: 0; margin: 0;
	}
	.l-header.-parallel .c-headLogo { height: 120px; }      /* ← ロゴの大きさはここで調整 */
	.l-header.-parallel .c-headLogo__link { padding: 0; }
	.l-header.-parallel .w-header {
		grid-column: 2; grid-row: 1;
		width: auto; padding: 0; margin: 0;
		justify-content: flex-end; align-self: start;
	}
	.l-header.-parallel .l-header__gnav {
		grid-column: 2; grid-row: 2;
		width: auto; align-self: end;
	}
	.l-header.-parallel .l-header__gnav .c-gnav { justify-content: flex-end; }
	.l-header.-parallel .c-gnav > .menu-item > a { padding-top: 10px; padding-bottom: 10px; }
}

/* ==========================================================
   14. 推薦・お喜びの声（旧テーマのデザインを再現）
       本文のHTML（div.voice / div.v_english）はそのまま使う
       ※ 旧本文の一部は class="v_engligh"（綴り違い）なので両方指定
   ========================================================== */
.post_content .voice {
	margin: 10px auto 24px;
	max-width: 790px;
	padding: 40px;
	border: 1px solid #eee;
	background: #fafaf5;
	line-height: 1.8;
}
.post_content .voice p { margin: 0 0 1em; }
.post_content .voice p:empty { display: none; }
.post_content .voice p[align="right"] {
	text-align: right;
	font-size: .9em;
	color: #333;
	font-weight: bold;
}
.post_content .voice .v_english,
.post_content .voice .v_engligh {
	margin: 1.2em 0 0;
	padding: 20px;
	background: #f6f6e8;
	font-size: .92em;
	font-style: italic;
	color: #666;
}
.post_content .voice .v_english p[align="right"],
.post_content .voice .v_engligh p[align="right"] { font-weight: normal; font-style: normal; color: #666; }
.post_content .voice .v_english > p:last-child,
.post_content .voice .v_engligh > p:last-child { margin-bottom: 0; }
@media (max-width: 599px) {
	.post_content .voice { padding: 20px 16px; }
	.post_content .voice .v_english,
	.post_content .voice .v_engligh { padding: 14px; }
}

/* ==========================================================
   15. 購入ボタン（旧サイトと同じ：赤のフラットな長方形）
   ========================================================== */
.cure-product__cart { margin: 1.5em 0 0; }
.post_content .cure-cartBtn {
	display: inline-block;
	padding: .75em 2em;
	background: #e12827;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.4;
	text-decoration: none;
	letter-spacing: .05em;
	transition: opacity .2s;
}
.post_content .cure-cartBtn:hover { opacity: .85; color: #fff; }
@media (max-width: 599px) {
	.post_content .cure-cartBtn { display: block; text-align: center; padding: 1em; }
}

/* ==========================================================
   16. トップページ：見出しと「新着のお知らせ」を旧サイト風に
   ========================================================== */
/* 見出し：SWELLの黒帯をやめ、Michromaの素の見出し＋細い下線 */
.home .post_content > h2.wp-block-heading {
	background: none;
	color: #000;
	padding: 0 0 .4em;
	margin: 2.5em 0 1.2em;
	font-family: var(--cure-font-en), sans-serif;
	font-size: 24px;
	font-weight: normal;
	letter-spacing: .02em;
	border: none;
	border-bottom: 1px solid #ddd;
	border-radius: 0;
	box-shadow: none;
}
.home .post_content > h2.wp-block-heading::before,
.home .post_content > h2.wp-block-heading::after { display: none; content: none; }

/* お知らせ一覧 */
.cure-news__item {
	padding: 0 0 1.6em;
	margin: 0 0 1.6em;
	border-bottom: 1px solid #ccc;
}
.cure-news__date {
	display: block;
	color: #888;
	font-size: 15px;
	letter-spacing: .05em;
	margin-bottom: .2em;
}
.post_content .cure-news__title {
	margin: 0 0 .5em;
	padding: 0;
	background: none;
	border: none;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
}
.post_content .cure-news__title::before,
.post_content .cure-news__title::after { display: none; }
.post_content .cure-news__title a { color: #000; text-decoration: none; }
.post_content .cure-news__title a:hover { text-decoration: underline; }
.cure-news__thumb { display: block; max-width: 280px; margin: .3em 0 .8em; }
.cure-news__thumb img { width: 100%; height: auto; display: block; }
.post_content .cure-news__text { margin: 0 0 .4em; font-size: 15px; line-height: 1.8; color: var(--cure-text); }
.post_content .cure-news__more { margin: 0; font-size: 15px; }
.post_content .cure-news__more a,
.post_content .cure-news__all a { color: var(--cure-link); }
.post_content .cure-news__all { text-align: right; margin: 0; font-size: 15px; }

/* ==========================================================
   17. トップのメインビジュアル（スライダー）：画像をそのまま見せる
       SWELLのフィルター（グレースケール・ブラー・ドット等）と
       オーバーレイの色・不透明度を無効化
   ========================================================== */
.p-mainVisual .c-filterLayer__img { -webkit-filter: none !important; filter: none !important; }
.p-mainVisual .c-filterLayer::after { display: none !important; background: none !important; }
.p-mainVisual .c-filterLayer::before { opacity: 0 !important; background: none !important; }

/* ==========================================================
   18. スマホ：メインビジュアル（スライダー）を画像の横幅いっぱいで表示
       PCはSWELLの高さ設定のまま。スマホだけ「画像サイズに合わせる」動きに。
       （スマホ専用画像を用意したら、この指定は外してOK）
   ========================================================== */
@media not all and (min-width: 960px) {
	.p-mainVisual.-height-set .p-mainVisual__inner,
	.p-mainVisual.-height-full,
	.p-mainVisual.-height-full .p-mainVisual__inner { height: auto !important; }
	.p-mainVisual .p-mainVisual__slide { height: auto !important; }
	.p-mainVisual .p-mainVisual__imgLayer {
		position: relative !important;
		height: auto !important;
		-webkit-animation: none !important; animation: none !important;   /* ズーム演出で端が切れないように */
		-webkit-transform: none !important; transform: none !important;
	}
	.p-mainVisual .p-mainVisual__img {
		display: block;
		width: 100% !important;
		height: auto !important;
		-o-object-fit: contain !important; object-fit: contain !important;
		position: static !important;
	}
}

/* ==========================================================
   19. フッター（parts/footer/footer_contents.php：旧サイトを再現）
   ========================================================== */
.l-footer { background: #000; color: #ababab; font-size: 12px; line-height: 1.8; }
.cure-footer { padding: 14px 0 18px; }
.cure-footer .l-container { max-width: 990px; margin: 0 auto; }
.cure-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5em; }
.cure-footer__company { margin: 0; flex: 0 0 auto; color: #ababab; }
.cure-footer__nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.cure-footer__nav li { margin: 0; padding: 0; white-space: nowrap; }
.cure-footer__nav li::before { content: "|"; margin: 0 .55em; color: #ababab; }
.cure-footer__nav li:last-child::after { content: "|"; margin-left: .55em; color: #ababab; }
.cure-footer__nav a,
.l-footer .cure-footer__nav a { color: #ababab; text-decoration: none; }
.cure-footer__nav a:hover { color: #fff; }
.cure-footer__bottom {
	display: grid; grid-template-columns: 150px 1fr 150px; align-items: center;
	margin-top: 14px; padding-top: 14px; border-top: 1px solid #fff;
}
.cure-footer__usa img { display: block; width: 150px; height: auto; }
.cure-footer__copy { margin: 0; text-align: center; color: #ababab; font-size: 12px; }
@media (max-width: 767px) {
	.cure-footer__top { flex-direction: column; align-items: center; text-align: center; }
	.cure-footer__nav { justify-content: center; }
	.cure-footer__bottom { grid-template-columns: 1fr; justify-items: center; row-gap: 10px; }
	.cure-footer__spacer { display: none; }
}
