/*
Theme Name: Storefront Child
Template: storefront
Version: 1.0.0
*/

/* =========================================================
   Global Typography (site-wide)
========================================================= */

body,
button,
input,
textarea,
select,
label {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
	line-height: 1.75;
	letter-spacing: 0.01em;
}

p,
li,
dd,
dt,
blockquote,
figcaption,
small,
a,
.site-navigation,
.main-navigation,
.storefront-primary-navigation,
.button,
.added_to_cart,
.wc-proceed-to-checkout a.checkout-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce-price-amount,
.price,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce form .form-row,
.woocommerce-checkout-review-order-table,
.woocommerce-cart-form {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-title,
.site-title,
.top-hero__title,
.top-intro__title,
.top-intro__subheading,
.top-gallery__title,
.woocommerce-loop-product__title,
.product_title,
.related.products > h2,
.upsells.products > h2,
.cart_totals > h2,
.woocommerce-billing-fields > h3,
.woocommerce-additional-fields > h3,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
	line-height: 1.45;
	letter-spacing: 0.02em;
	font-weight: 600 !important;
}

/* =========================================================
   Global Focus Style
========================================================= */

/* マウスやタッチ操作時のフォーカス表示は出さない */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible),
.button:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

/* キーボード操作時のみ、控えめなフォーカス表示を出す */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.button:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce input.button:focus-visible {
	outline: 1px solid #d6d6d6;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px rgba(214, 214, 214, 0.18);
}

/* =========================================================
   Top Page Base Styles (front-page.php 専用)
   - 白ベース / モノクロ基調
   - 余白を広く取り、写真主体の静かな見え方にする
   - 影響範囲は .top-page 以下に限定
========================================================= */

.site-header .site-branding img {
	max-width: 70px;
}

/* 画像の基本表示ルール */
.top-page img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

/* 1) 全体レイアウト */
.top-page {
	--tp-bg: #ffffff;
	--tp-text: #1f1f1f;
	--tp-muted: #666666;
	--tp-line: #dddddd;
	--tp-soft: #f6f6f6;

	background-color: var(--tp-bg);
	color: var(--tp-text);
	padding: clamp(1.25rem, 2.4vw, 2.2rem) 0 clamp(4rem, 8vw, 7rem);
}

.top-page__inner {
	width: min(100% - 3rem, 1240px);
	margin-inline: auto;
}

.top-page section + section {
	margin-top: clamp(4rem, 8vw, 7rem);
}

.home.page:not(.page-template-template-homepage) .site-header {
	margin-bottom: 1em;
}

/* 2) ファーストビュー */
.top-hero {
	display: grid;
	grid-template-columns: minmax(18rem, clamp(17.5rem, 29vw, 29rem)) minmax(16rem, 22rem);
	gap: clamp(2.1rem, 4.9vw, 4.2rem);
	align-items: end;
	justify-content: center;
	justify-items: start;
	width: min(100vw - 2.2rem, 1420px);
	margin: clamp(0.55rem, 1.5vw, 1.3rem) auto 0;
	padding: clamp(0.1rem, 0.45vw, 0.35rem) clamp(0.5rem, 1.2vw, 1rem);
	min-height: clamp(23rem, 46vh, 33rem);
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	background: #fcfcfc;
}

.top-hero__media {
	align-self: end;
	width: min(100%, clamp(17.5rem, 29vw, 29rem));
	max-width: 100%;
	max-height: min(52vh, 29rem);
	aspect-ratio: 1 / 1;
}

.top-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.top-hero__content {
	display: flex;
	flex-direction: column;
	max-width: 22rem;
	align-self: end;
	padding-bottom: clamp(0.2rem, 0.8vw, 0.7rem);
}

.top-hero__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tp-muted);
}

.top-hero__title {
	margin: 0;
	font-size: clamp(1.42rem, 2.25vw, 1.95rem);
	line-height: 1.45;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.top-hero__copy {
	margin: 0.85rem 0 0;
	font-size: clamp(0.86rem, 1.02vw, 0.94rem);
	line-height: 1.8;
	color: #333333;
	max-width: 19rem;
}

.top-hero__button {
	display: inline-block;
	align-self: flex-end;
	margin-top: 1rem;
	padding: 0.5rem 0.9rem;
	border: 1px solid #bdbdbd;
	background: transparent;
	color: #222222;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.top-hero__button:hover,
.top-hero__button:focus-visible {
	background: #1d1d1d;
	border-color: #1d1d1d;
	color: #ffffff;
}

/* 3) イントロ */
.top-intro {
	max-width: 44rem;
}

.top-intro__title {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 600;
	line-height: 1.6;
}

.top-intro__text {
	margin-top: 1.35rem;
	font-size: 0.97rem;
	line-height: 2;
	color: #2f2f2f;
}

.top-intro__text p {
	margin: 0;
}

.top-intro__text p + p {
	margin-top: 1rem;
}

.top-intro__subheading {
	margin: 1.45rem 0 0;
	font-size: 0.96rem;
	font-weight: 500;
	letter-spacing: 0.03em;
}

.top-intro__steps {
	margin-top: 0.8rem;
	border-top: 1px solid #e8e8e8;
}

.top-intro__step {
	padding: 0.9rem 0;
	border-bottom: 1px solid #efefef;
}

.top-intro__step-label {
	margin: 0;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #666666;
}

.top-intro__step-text {
	margin: 0.38rem 0 0;
	font-size: 0.93rem;
	line-height: 1.85;
	color: #2f2f2f;
}

.top-intro__link {
	color: #222222;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.top-intro__link:hover,
.top-intro__link:focus-visible {
	color: #111111;
	text-decoration-color: #111111;
}

.top-intro__note {
	margin: 0.95rem 0 0;
	font-size: 0.86rem;
	line-height: 1.8;
	color: #4a4a4a;
}

.top-intro__notice {
	margin: 0.75rem 0 0;
	font-size: 0.78rem;
	line-height: 1.7;
	color: #6a6a6a;
}


/* 7) レスポンシブ調整 */
@media (max-width: 1024px) {
	.top-page__inner {
		width: min(100% - 2.4rem, 1080px);
	}

	.top-hero {
		grid-template-columns: minmax(0, 1.15fr) minmax(15.5rem, 0.85fr);
		gap: clamp(1rem, 2.9vw, 2.1rem);
		width: min(100vw - 1.5rem, 1140px);
		padding: 0 0.25rem;
		min-height: auto;
		margin-top: 0.3rem;
		left: 50%;
		transform: translateX(-50%);
	}

	.top-hero__content {
		max-width: 21rem;
		padding-bottom: 0.2rem;
	}

	.top-hero__media {
		width: min(100%, clamp(15rem, 35vw, 23rem));
		max-height: min(46vh, 23rem);
		max-width: 100%;
	}

}


/* ==================================================
   トップページ (front-page.php) 用スタイル
================================================== */

/* --- 1. ファーストビュー：500pxの正方形ロゴ --- */
.home-hero-logo {
    text-align: center;      /* ロゴを中央揃え */
}

.home-hero-logo img {
    width: 180px;             /* スマホ画面からはみ出さないようにする */
    aspect-ratio: 1 / 1;     /* 強制的に正方形（1:1）にする */
    object-fit: contain;     /* 画像の比率を崩さずに正方形枠内に収める */
	margin: 0 auto;
}
@media (max-width: 767px) {
	.home-hero-logo {
    margin-top: 100px;
}
	
}



/* --- 2. リンク付きバナー（1920x1080比率維持） --- */
.home-promo-banner {
    text-align: center;      /* バナーエリア自体を中央揃え */
    margin: 60px auto ;  
    max-width: 900px;       /* 【サイズ調整】バナーの最大幅。少し小さくする場合は800px等に変更 */
    width: 100%;
}

.home-promo-banner a {
    display: block;          /* リンク領域を画像全体に広げる（スマホでタップしやすくなります） */
}

.home-promo-banner img {
    width: 100%;             /* 親要素（max-width: 1000px）に合わせてサイズを調整 */
    height: auto;            /* 縦幅を自動調整し、16:9の比率を維持する */
    display: block;
    margin: 0 auto;          /* 画像自体も念のため中央に配置 */
}


/* --- 3. 商品一覧 --- */
.home-product-list {
    margin-top: 60px;        /* バナーとの間隔をあける */
}

.home-product-title {
    text-align: center;      /* 見出し「商品一覧」を中央揃え */
    margin-bottom: 30px;
    font-weight: bold;       /* 文字を太字にする */
}







@media (max-width: 767px) {
	
	h1 {
		font-size: 26px;
	}
	
	h2 {
		font-size: 24px;
	}
	
	
	.top-page {
		padding-top: 1.1rem;
		padding-bottom: 3.5rem;
	}

	.top-page__inner {
		width: min(100% - 1.5rem, 680px);
	}

	.top-page section + section {
		margin-top: 3.2rem;
	}

	.top-hero {
		grid-template-columns: 1fr;
		gap: 1.1rem;
		width: 100%;
		margin-top: 0.2rem;
		padding: 0;
		left: auto;
		transform: none;
		background: transparent;
	}

	.top-hero__media {
		width: 100%;
		max-width: 100%;
		max-height: none;
	}

	.top-hero__content {
		max-width: 100%;
		padding-bottom: 0;
	}

	.top-hero__title {
		font-size: 1.48rem;
		line-height: 1.5;
	}

	.top-hero__eyebrow {
		margin-bottom: 0.6rem;
	}

	.top-hero__copy {
		margin-top: 0.75rem;
		font-size: 0.9rem;
		line-height: 1.75;
	}

	.top-hero__button {
		align-self: flex-end;
		margin-top: 1rem;
	}

	.top-hero__copy,
	.top-intro__text {
		font-size: 0.92rem;
		line-height: 1.9;
	}

	.top-intro__step-text {
		font-size: 0.9rem;
	}

	.top-intro__notice {
		font-size: 0.76rem;
	}

}

/* スマホ時のヘッダーメニューボタン */
@media (max-width: 767px) {

	button.menu-toggle {
		border: none;
		box-shadow: none;
	  }

  }

/* 商品ページの「説明」タイトル非表示 */
.woocommerce-tabs .panel h2:first-of-type {
	display: none;
}

/* Contact Form 7 - Luxury monochrome style */
.wpcf7 {
  max-width: 760px;
  margin: 0 auto;
  color: #1f1f1f;
  font-family: inherit;
}

/* フォーム全体 */
.wpcf7 form {
  background: #fff;
  padding: 40px 36px;
  border: 1px solid #e5e1dc;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
}

/* ラベル */
.wpcf7 label {
  display: block;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #222;
  font-weight: 500;
}

/* 入力欄共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="file"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #d8d3cc;
  border-radius: 0;
  background: #fafafa;
  color: #1f1f1f;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  box-sizing: border-box;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

/* 入力中 */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 1px #111;
}

/* プレースホルダー */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #aaa;
}

/* セレクト */
.wpcf7 select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #333 50%),
    linear-gradient(135deg, #333 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

/* テキストエリア */
.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

/* ファイル添付 */
.wpcf7 input[type="file"] {
  padding: 12px;
  background: #fff;
  font-size: 13px;
}

/* 同意チェック */
.wpcf7 .wpcf7-acceptance {
  display: block;
  margin: 8px 0 24px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.wpcf7 .wpcf7-acceptance label {
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  letter-spacing: 0.04em;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 6px;
  accent-color: #111;
}

/* リンク */
.wpcf7 a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wpcf7 a:hover {
  color: #777;
}

/* Turnstile */
.wpcf7 .cf-turnstile,
.wpcf7 iframe[src*="challenges.cloudflare.com"] {
  margin: 20px 0 28px;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #fff;
  color: #111;
}

.wpcf7 input[type="submit"]:active {
  transform: translateY(1px);
}

/* 送信中 */
.wpcf7 .wpcf7-spinner {
  display: block;
  margin: 16px auto 0;
}

/* エラー・成功メッセージ */
.wpcf7 .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 16px 18px;
  border: 1px solid #111;
  color: #222;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #8a1f1f;
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* 必須未入力時の入力欄 */
.wpcf7 .wpcf7-not-valid {
  border-color: #8a1f1f !important;
  background: #fffafa !important;
}

/* スマホ調整 */
@media (max-width: 600px) {
  .wpcf7 form {
    padding: 28px 20px;
  }

  .wpcf7 label {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="file"],
  .wpcf7 select,
  .wpcf7 textarea {
    font-size: 16px;
    padding: 13px 14px;
  }

  .wpcf7 input[type="submit"] {
    padding: 15px 20px;
  }
}


/* セット割りの告知 */
.set-discount-notice {
    margin: 16px 0 20px;
    padding: 14px 18px;
    border: 2px solid #d6a800;
    background: #fff9db;
    color: #4f3f00;
    font-size: 16px;
    line-height: 1.7;
}

.set-discount-notice p {
    margin: 0 0 8px;
}

.set-discount-notice p:last-child {
    margin-bottom: 0;
}

.set-discount-notice strong {
    font-weight: 700;
}

.set-discount-notice a {
    font-weight: 700;
    text-decoration: underline;
}

/* 要確認ラベル */
.confirm-label {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 8px;
    background: #d63638;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 3px;
}

/* セットキャンペーンページの個別料金非表示 */
.page-id-200 .scs-yellow-tag-price {
    display: none !important;
}
.page-id-200 .scs-yellow-tag-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-id-200 .scs-yellow-tag-buy-row {
    margin-top: auto;
    justify-content: flex-end;
}
.page-id-200 .scs-yellow-tag-quantity {
    justify-content: flex-end;
}

/* セットキャンペーンページのバナー表示 */
.pcimg {
  display: block;
	max-width: 60%;
    margin: 0 auto;
}

.spimg {
  display: none;
}

/* スマホ用 */
@media screen and (max-width: 767px) {
  .pcimg {
    display: none;
  }

  .spimg {
    display: block;
  }
}

/* バナーボタン */
.banner-button-area {
  text-align: center;
  margin-top: 24px;
}

.purchase-button {
  display: inline-block;
  padding: 18px 56px;
  background-color: #4f6b2f;
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: 0.2s ease;
}

.purchase-button:hover {
  background-color: #3f5725;
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .purchase-button {
    width: 90%;
    max-width: 360px;
    padding: 16px 20px;
    font-size: 20px;
  }
}