@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.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
*/

/* =========================================================
   共通デザイントークン / トップページ
   ========================================================= */
:root {
	--ytc-ink: #1d1d1f;
	/* アクセント色は SWELL のメインカラー（カスタマイズ → 色 → メインカラー）に連動 */
	--ytc-accent: var(--color_main, #04384c);
	--ytc-accent-d: color-mix(in srgb, var(--color_main, #04384c) 80%, #000);
	--ytc-muted: #6b7280;
	--ytc-line: var(--color_border, #e7e7e9);
	--ytc-bg-soft: #f6f8f9;
}

/* --- ボタン --- */
.ytc-btn {
	display: inline-block;
	padding: .85em 1.8em;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1;
	transition: all .2s ease;
	border: 2px solid transparent;
}
.ytc-btn--primary { background: var(--ytc-accent); color: #fff; }
.ytc-btn--primary:hover { background: var(--ytc-accent-d); transform: translateY(-2px); }
.ytc-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.ytc-btn--ghost:hover { background: rgba(255,255,255,.15); }
.ytc-btn--outline { background: #fff; color: var(--ytc-accent); border-color: var(--ytc-accent); }
.ytc-btn--outline:hover { background: var(--ytc-accent); color: #fff; }
.ytc-btn--tel { background: #fff; color: var(--ytc-accent); font-size: 1.15em; letter-spacing: .03em; }

/* --- レイアウト --- */
.ytc-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.ytc-section { padding: 64px 0; }
.ytc-section:nth-of-type(even) { background: var(--ytc-bg-soft); }

/* --- 見出し --- */
.ytc-heading { text-align: center; margin-bottom: 36px; position: relative; }
.ytc-heading__ja { font-size: 1.6rem; letter-spacing: .05em; margin: 0; color: var(--ytc-ink); }
.ytc-heading__en { display: block; font-size: .72rem; letter-spacing: .3em; color: var(--ytc-accent); font-weight: 700; margin-top: .4em; }
.ytc-heading__lead { color: var(--ytc-muted); margin-top: .8em; font-size: .95em; }

/* --- ヒーロー --- */
.ytc-hero {
	background: linear-gradient(120deg, #14343f 0%, var(--ytc-accent) 100%);
	color: #fff;
	overflow: hidden;
}
.ytc-hero__inner {
	max-width: 1080px; margin: 0 auto; padding: 72px 20px;
	display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.ytc-hero__eyebrow { font-size: .85rem; letter-spacing: .15em; opacity: .9; margin: 0 0 .8em; }
.ytc-hero__title { font-size: 2.3rem; line-height: 1.35; margin: 0 0 .6em; color: #fff; font-weight: 800; }
.ytc-hero__lead { line-height: 1.9; opacity: .95; margin: 0 0 1.8em; }
.ytc-hero__lead strong { color: #ffe08a; }
.ytc-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.ytc-hero__visual { position: relative; }
.ytc-hero__img { width: 100%; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); display: block; }

@media (max-width: 820px) {
	.ytc-hero__inner { grid-template-columns: 1fr; padding: 48px 20px; }
	.ytc-hero__title { font-size: 1.8rem; }
	.ytc-hero__visual { order: -1; }
}

/* --- 紹介 --- */
.ytc-intro__text { max-width: 860px; margin: 0 auto; line-height: 2; text-align: center; color: #333; }

/* --- お知らせ --- */
.ytc-news { list-style: none; margin: 0 auto; padding: 0; max-width: 800px; }
.ytc-news__item { display: flex; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--ytc-line); align-items: baseline; }
.ytc-news__date { color: var(--ytc-accent); font-weight: 700; font-size: .9em; white-space: nowrap; }
.ytc-news__link { text-decoration: none; color: var(--ytc-ink); }
.ytc-news__link:hover { color: var(--ytc-accent); text-decoration: underline; }

.ytc-more { text-align: center; margin-top: 32px; }

/* --- 店舗情報 --- */
.ytc-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.ytc-shop__name { font-size: 1.2em; font-weight: 700; margin: 0 0 1em; }
.ytc-shop__dl { display: grid; grid-template-columns: auto 1fr; gap: .4em 1em; margin: 0 0 1.2em; }
.ytc-shop__dl dt { font-weight: 700; color: var(--ytc-muted); }
.ytc-shop__dl dd { margin: 0; }
.ytc-shop__hours { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.ytc-shop__hours caption { text-align: left; font-weight: 700; color: var(--ytc-muted); margin-bottom: .4em; }
.ytc-shop__hours th, .ytc-shop__hours td { border: 1px solid var(--ytc-line); padding: .6em .8em; text-align: left; }
.ytc-shop__hours th { background: var(--ytc-bg-soft); white-space: nowrap; }
.ytc-shop__note { font-size: .88em; color: var(--ytc-muted); }
.ytc-shop__map iframe { display: block; border-radius: 10px; }
@media (max-width: 820px) { .ytc-shop { grid-template-columns: 1fr; } }

/* --- CTA --- */
.ytc-cta { background: var(--ytc-ink); color: #fff; padding: 56px 0; text-align: center; }
.ytc-cta__title { color: #fff; font-size: 1.5rem; margin: 0 0 .4em; }
.ytc-cta__lead { opacity: .85; margin: 0 0 1.6em; }
.ytc-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- スマホヘッダーのメールアイコン ---
   ボタン自体はSWELLの設定（カスタマイズ → ヘッダー → スマホヘッダーのボタン）で
   出している。SWELLには背景色の設定しかないため、アイコン色だけここで指定する。 */
.l-header__customBtn .c-iconBtn {
	color: var(--color_main, #001E3D);
}
.l-header__customBtn .c-iconBtn__icon {
	font-size: 22px;
}

/* --- 横並びボタンの幅を揃える ---
   SWELLのボタンは文字数ぶんの幅になるため、横に並べると幅が不揃いになる。
   グループ（横並び）内のボタンだけ最小幅を揃える。
   線スタイルはborderの分だけ高さが2px増えるので、高さも合わせる。 */
.wp-block-group.is-row .swell-block-button__link,
/* トップの単独ボタン（一覧下・ページ末のCTA）も同じ大きさに揃える */
.home .post_content .swell-block-button__link {
	min-width: 15em;
	min-height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
/* スマホでは横に並べきれないので縦積みにして全幅に。
   （:has() 非対応ブラウザでも flex-shrink で収まり、はみ出しはしない） */
@media (max-width: 600px) {
	.wp-block-group.is-row:has(> .swell-block-button) { flex-wrap: wrap; }
	.wp-block-group.is-row > .swell-block-button { flex: 1 1 100%; }
	.wp-block-group.is-row > .swell-block-button .swell-block-button__link {
		width: 100%;
		min-width: 0;
	}
	/* 単独ボタンも横並びのものと同じく全幅に */
	.home .post_content .swell-block-button {
		display: block;
	}
	.home .post_content .swell-block-button__link {
		width: 100%;
		min-width: 0;
	}
}

/* --- トップのセクション見出し（H2） ---
   投稿リストブロックの記事タイトルも h2 で出力されるため、それだけ除外する。
   （フル幅ブロック内の見出しも対象にしたいので子孫セレクタにしている）
   サイズは px 指定。SWELLはルート文字サイズを画面幅で変える(スマホ13.5px)ため、
   rem だとスマホで意図より小さくなる。 */
.home .post_content h2:not(.p-postList__title) {
	font-family: "Yusei Magic", var(--swl-font_family, sans-serif);
	font-weight: 400; /* Yusei Magic は400のみ。太字指定は擬似ボールドになり崩れる */
	color: var(--color_main, #001E3D); /* SWELLのメインカラーに連動 */
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.5;
}

/* --- トップ本文：スマホは左揃え ---
   段落ブロック側で中央揃え(has-text-align-center)にしているが、
   画面が狭いと1行あたりの文字数が少なく行頭が揃わないため読みづらい。
   見出し・ボタンは中央のまま、段落だけ左揃えに戻す。 */
@media (max-width: 767px) {
	.home .post_content p.has-text-align-center {
		text-align: left;
	}
}

/* =========================================================
   制作事例
   ========================================================= */

/* --- アーカイブ（一覧） --- */
.ytc-archive__head {
	text-align: center;
	margin: 0;
}
.ytc-archive__title {
	margin: 0 0 .4em;
}

/* ===== 見出し＋説明文（制作事例一覧・固定ページ・アーカイブで共通） =====
   タイトル(H1)はトップのセクション見出しと同じ書体・サイズ。
   タイトル下の線などの装飾はSWELLカスタマイザー側で「装飾なし」に設定している
   （外観 → カスタマイズ → 投稿・固定ページ → タイトルデザイン）。 */
.c-pageTitle,
.ytc-archive__title {
	font-family: "Yusei Magic", var(--swl-font_family, sans-serif);
	font-weight: 400; /* Yusei Magic は400のみ */
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.5;
}
.page .c-pageTitle,
.archive .c-pageTitle,
.search .c-pageTitle {
	text-align: center;
	margin: 0 0 .4em;
}
/* 説明文は本文(.post_content)の先頭に入るが、SWELLは .post_content に
   margin-top:64px を持たせている。そのままだとタイトルとの間隔が空きすぎるため、
   説明文があるページだけ余白を詰めて制作事例一覧と同じ間隔にする。 */
.post_content.has-ytc-lead {
	margin-top: 0;
}
/* タイトル直下の説明文。固定ページは「抜粋」、一覧はテンプレートの固定文。 */
.ytc-page__lead,
.ytc-archive__lead {
	text-align: center;
	color: #666;
	font-size: .95em;
	margin: 0 auto 2em;
	max-width: 760px;
}

/* 制作事例：用途カテゴリの切り替えボタン（一覧・各カテゴリ共通） */
.ytc-catnav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 auto 2.5em;
	max-width: 900px;
}
.ytc-catnav__btn {
	display: inline-block;
	padding: .5em 1.1em;
	border: 1px solid var(--color_main, #001E3D);
	border-radius: 999px;
	color: var(--color_main, #001E3D);
	background: #fff;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.ytc-catnav__btn:hover,
.ytc-catnav__btn:focus-visible {
	background: var(--color_main, #001E3D);
	color: #fff;
	opacity: 1;
}
.ytc-catnav__btn.is-current {
	background: var(--color_main, #001E3D);
	color: #fff;
	font-weight: 700;
}
@media (max-width: 767px) {
	.ytc-catnav {
		gap: 6px;
	}
	.ytc-catnav__btn {
		padding: .45em .9em;
		font-size: 13px;
	}
}

.ytc-collection-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 768px) {
	.ytc-collection-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.ytc-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .2s ease, transform .2s ease;
}
.ytc-card:hover {
	box-shadow: 0 6px 20px rgba(0,0,0,.1);
	transform: translateY(-2px);
}
.ytc-card__thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5f5f5;
}
.ytc-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ytc-card__noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg,#f0f0f0,#f0f0f0 10px,#eaeaea 10px,#eaeaea 20px);
}
.ytc-card__title {
	display: block;
	padding: .7em .8em;
	font-size: .92em;
	line-height: 1.4;
	font-weight: 600;
}

/* --- 詳細ページ --- */
.ytc-collection__gallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 0 auto 2em;
	max-width: 680px;
}
.ytc-collection__figure {
	margin: 0;
	text-align: center;
}
.ytc-collection__img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

/* アイキャッチ（SWELLが本文上に出力）を、下のギャラリー画像と同じ幅に揃える。
   PCのみ幅を抑え、スマホは全幅のまま。 */
@media (min-width: 768px) {
	.single-collection .p-articleThumb {
		max-width: 680px;
		margin-left: auto;
		margin-right: auto;
	}
	.single-collection .p-articleThumb img {
		border-radius: 6px;
	}
}
/* --- 詳細ページのセクション見出し（コメント／価格表） ---
   SWELLのh2標準装飾（左のバー等）と自前のborderが重なって崩れていたため、
   装飾をリセットしてサイト共通の書体（Yusei Magic・メインカラー）で作り直す。
   SWELL側は .post_content h2 で当たるので、それより強い指定にする。 */
.single-collection .post_content .ytc-collection__h {
	font-family: "Yusei Magic", var(--swl-font_family, sans-serif);
	font-weight: 400; /* Yusei Magic は400のみ */
	color: var(--color_main, #001E3D);
	font-size: clamp(19px, 2.2vw, 24px);
	line-height: 1.5;
	text-align: center;
	margin: 3em 0 1.4em;
	/* SWELLの見出し装飾を解除 */
	border: none;
	background: none;
	padding: 0;
	position: relative;
}
.single-collection .post_content .ytc-collection__h::before {
	content: none;
}
/* 見出し下の短いアクセント線 */
.single-collection .post_content .ytc-collection__h::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	margin: .5em auto 0;
	background: var(--color_main, #001E3D);
	border-radius: 2px;
	position: static;
	opacity: 1;
}
/* 見出し上の余白は、SWELLの
   「.post_content div > :first-child { margin-top:0 !important }」に消されるため、
   見出しではなくラッパー側で確保する。 */
.ytc-collection__comment,
.ytc-collection__prices {
	margin-top: 3em;
}
.ytc-collection__comment {
	line-height: 1.9;
}

/* --- 刺繍おやじの吹き出し --- */
.ytc-oyaji {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-top: 1em;
}
.ytc-oyaji__figure {
	flex: 0 0 96px;
	margin: 0;
	text-align: center;
}
.ytc-oyaji__img {
	width: 96px; height: 96px; object-fit: contain; display: block;
	background: var(--ytc-bg-soft); border: 2px solid var(--ytc-line); border-radius: 50%;
	padding: 8px; box-sizing: border-box;
}
.ytc-oyaji__name {
	font-size: .78em; color: #666; font-weight: 700; margin-top: .5em;
}
.ytc-oyaji__bubble {
	position: relative;
	flex: 1 1 auto;
	background: #fff;
	border: 2px solid var(--ytc-line);
	border-radius: 12px;
	padding: 1em 1.2em;
}
/* しっぽ（キャラ側を向く三角） */
.ytc-oyaji__bubble::before,
.ytc-oyaji__bubble::after {
	content: ''; position: absolute; top: 34px;
	border-style: solid; border-color: transparent;
}
.ytc-oyaji__bubble::before { /* 枠線色の三角（外側） */
	left: -12px;
	border-width: 8px 12px 8px 0;
	border-right-color: var(--ytc-line);
}
.ytc-oyaji__bubble::after { /* 白い三角（内側） */
	left: -9px;
	border-width: 7px 11px 7px 0;
	border-right-color: #fff;
}
.ytc-oyaji__bubble p { margin: 0 0 .8em; }
.ytc-oyaji__bubble p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
	.ytc-oyaji { gap: 12px; }
	.ytc-oyaji__figure { flex-basis: 68px; }
	.ytc-oyaji__img { width: 68px; height: 68px; padding: 6px; }
	.ytc-oyaji__bubble::before, .ytc-oyaji__bubble::after { top: 24px; }
}
.ytc-collection__table {
	width: 100%;
	border-collapse: collapse;
	margin: .5em 0 1.5em;
	font-size: .95em;
}
.ytc-collection__table th,
.ytc-collection__table td {
	border: 1px solid #ddd;
	padding: .6em .8em;
	text-align: left;
}
.ytc-collection__table thead th {
	background: var(--color_main, #333);
	color: #fff;
	white-space: nowrap;
}
.ytc-collection__table tbody tr:nth-child(even) td {
	background: #fafafa;
}
.ytc-collection__back {
	margin-top: 2em;
}
.ytc-collection__back a {
	font-weight: 600;
}

/* =========================================================
   メインビジュアル スライダー
   ========================================================= */
/* 最大1200pxで中央寄せ。SWELLの本文幅より広いので、1240px以上の画面では
   左右へはみ出させてちょうど1200pxにする（親要素の幅に依存しない計算）。 */
.ytc-mv { position: relative; width: auto; max-width: 100%; margin-inline: auto; }
@media (min-width: 1240px) {
	.ytc-mv { max-width: 1200px; margin-left: calc(50% - 600px); margin-right: calc(50% - 600px); }
}

/* --- メイン --- */
.ytc-mv__main { background: #0e232b; }
.ytc-mv__slide { display: block; line-height: 0; }
/* 素材が 770x354 のため同じ比率で表示し、切り抜き・縦伸びを防ぐ */
.ytc-mv__img { width: 100%; height: auto; aspect-ratio: 770 / 354; object-fit: cover; display: block; }

.ytc-mv__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border: none; border-radius: 50%; padding: 0;
	background: rgba(255,255,255,.85); cursor: pointer; z-index: 2;
	transition: background .2s ease; box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.ytc-mv__arrow::before {
	content: ''; display: block; width: 10px; height: 10px; margin: 0 auto;
	border-top: 2px solid var(--ytc-ink, #16222a); border-right: 2px solid var(--ytc-ink, #16222a);
}
.ytc-mv__arrow--prev::before { transform: translateX(2px) rotate(-135deg); }
.ytc-mv__arrow--next::before { transform: translateX(-2px) rotate(45deg); }
.ytc-mv__arrow:hover { background: #fff; }
.ytc-mv__arrow--prev { left: 16px; }
.ytc-mv__arrow--next { right: 16px; }
.ytc-mv__arrow.swiper-button-disabled { opacity: .35; cursor: default; }

/* =========================================================
   コレクションを流す帯（マーキー）
   ========================================================= */
.ytc-marquee {
	overflow: hidden;
	/* 画面幅いっぱいに流す */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 4px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ytc-marquee__track {
	display: flex;
	width: max-content;
	gap: 12px;
	animation: ytc-marquee var(--ytc-marquee-speed, 60s) linear infinite;
}
.ytc-marquee:hover .ytc-marquee__track { animation-play-state: paused; }
.ytc-marquee__item {
	flex: 0 0 auto;
	width: 210px;
	line-height: 0;
	border-radius: 8px;
	overflow: hidden;
	background: var(--ytc-bg-soft, #f5f5f5);
}
.ytc-marquee__img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}
.ytc-marquee__item:hover .ytc-marquee__img { transform: scale(1.06); }

/* 2組出力しているので半分動かすと継ぎ目なくつながる */
@keyframes ytc-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(calc(-50% - 6px)); } /* 6px = gap/2 */
}

@media (max-width: 600px) {
	.ytc-marquee__item { width: 150px; }
	.ytc-marquee__img { height: 100px; }
}

/* 視差を減らす設定の環境では動かさない */
@media (prefers-reduced-motion: reduce) {
	.ytc-marquee__track { animation: none; }
	.ytc-marquee { overflow-x: auto; }
}

/* --- サムネイル --- */
.ytc-mv__thumbs { margin-top: 10px; padding: 0; }
.ytc-mv__thumb { line-height: 0; cursor: pointer; opacity: .45; transition: opacity .2s ease; }
.ytc-mv__thumb:hover { opacity: .8; }
.ytc-mv__thumb.swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--ytc-accent, #04384c); outline-offset: -2px; }
.ytc-mv__thumbImg { width: 100%; height: auto; aspect-ratio: 770 / 354; object-fit: cover; display: block; }

@media (max-width: 600px) {
	.ytc-mv__arrow { width: 34px; height: 34px; }
	.ytc-mv__arrow--prev { left: 8px; }
	.ytc-mv__arrow--next { right: 8px; }
}

/* --- トップ：ヘッダーとメインビジュアルの余白を無くす ---
   SWELLは #content{padding-top:4em} をIDセレクタで出力するため、
   クラスだけの指定では優先度で負ける。home(=#body_wrap のクラス)で限定しつつID指定で上書きする。 */
.home #content.l-content { padding-top: 0; }
.home .post_content > .ytc-mv:first-child { margin-top: 0; }

/* =========================================================
   キャッチ帯
   ========================================================= */
.ytc-catch { padding: 48px 0 8px; text-align: center; }
.ytc-catch__eyebrow { color: var(--ytc-accent); font-weight: 700; letter-spacing: .12em; font-size: .85rem; margin: 0 0 .8em; }
.ytc-catch__title { font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.4; margin: 0 0 .6em; color: var(--ytc-ink); font-weight: 800; }
.ytc-catch__lead { max-width: 760px; margin: 0 auto 1.6em; line-height: 1.9; color: #444; }
.ytc-catch__lead strong { color: var(--ytc-accent); }
.ytc-catch__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   特集ランディングページ
   ========================================================= */
.ytc-feature { line-height: 1.9; }
.ytc-feature__lead { font-size: 1.05em; text-align: center; max-width: 760px; margin: 0 auto 2em; color: #333; }
.ytc-feature .content__page__main__topic { margin: 0 0 2.4em; }
.ytc-feature .content__page__main__productimage { text-align: center; margin: 0 0 1em; }
.ytc-feature .content__page__main__productimage img,
.ytc-feature img { max-width: 100%; height: auto; border-radius: 8px; }

/* 商品リスト（dragon等） */
.ytc-feature .content__page__main__collection { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 768px) { .ytc-feature .content__page__main__collection { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.ytc-feature .content__page__main__collection > li { border: 1px solid var(--ytc-line); border-radius: 8px; padding: 12px; background: #fff; }
/* 商品名は見出しではなくラベル（SWELLの見出し装飾・自動目次を発生させないため） */
.ytc-feature__name { font-size: .98rem; font-weight: 700; line-height: 1.5; margin: 0 0 .5em; text-align: center; }
.ytc-feature .content__page__main__collection > li > img { display: block; margin: 0 auto .5em; border-radius: 6px; }
.ytc-feature .product_data { width: 100%; border-collapse: collapse; font-size: .86em; }
.ytc-feature .product_data th, .ytc-feature .product_data td { border: 1px solid var(--ytc-line); padding: .4em .5em; text-align: left; vertical-align: top; }
.ytc-feature .product_data th { background: var(--ytc-bg-soft); white-space: nowrap; width: 34%; }
.ytc-feature__cta { text-align: center; margin: 2.5em 0 0; }

/* =========================================================
   固定ページ（当店について / ご注文の流れ）
   ========================================================= */
/* 代表者メッセージ */
.ytc-owner { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: var(--ytc-bg-soft); border-radius: 10px; padding: 20px; margin: 0 0 1em; }
.ytc-owner__figure { text-align: center; }
.ytc-owner__img { border-radius: 8px; width: 100%; height: auto; }
.ytc-owner__name { font-weight: 700; margin-top: .8em; }
@media (max-width: 600px) { .ytc-owner { grid-template-columns: 1fr; text-align: center; } .ytc-owner__figure { max-width: 200px; margin: 0 auto; } }

/* ご注文の流れ */
.ytc-flow { list-style: none; counter-reset: flow; margin: 0; padding: 0; }
.ytc-flow > li { position: relative; counter-increment: flow; background: #fff; border: 1px solid var(--ytc-line); border-radius: 10px; padding: 18px 18px 18px 66px; margin: 0 0 14px; }
.ytc-flow > li::before { content: counter(flow); position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--ytc-accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* =========================================================
   お問い合わせフォーム（Contact Form 7）
   ========================================================= */
.ytc-form label { display: block; font-weight: 700; margin-bottom: 0; }
.ytc-form__req { display: inline-block; background: #c0392b; color: #fff; font-size: .68em; font-weight: 700; border-radius: 3px; padding: .15em .5em; margin-left: .6em; vertical-align: middle; }
/* 項目名と入力欄の間隔。CF7は入力欄を span.wpcf7-form-control-wrap で包むので、
   そこをブロック化して余白を持たせる（labelがinputを内包しているため） */
.ytc-form .wpcf7-form-control-wrap { display: block; margin-top: .6em; }
/* 入力欄は薄いグレーで塗り、白背景の中でも位置が分かるようにする。
   入力中は白に変えてアクセント色の枠を出し、フォーカス位置を明確にする。 */
.ytc-form input[type="text"],
.ytc-form input[type="tel"],
.ytc-form input[type="email"],
.ytc-form textarea {
	width: 100%; padding: .7em .8em; border: 1px solid #d3d9dd; border-radius: 6px; font-size: 1em;
	background: #f5f7f8; box-sizing: border-box;
	font-weight: 400; /* labelの太字を引き継がせない */
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ytc-form input[type="text"]:hover,
.ytc-form input[type="tel"]:hover,
.ytc-form input[type="email"]:hover,
.ytc-form textarea:hover { border-color: #b6c0c6; }
.ytc-form input:focus, .ytc-form textarea:focus {
	background: #fff; border-color: var(--ytc-accent); outline: none;
	box-shadow: 0 0 0 3px rgba(0,30,61,.12);
}
/* プレースホルダ的な補助表示の色 */
.ytc-form input::placeholder, .ytc-form textarea::placeholder { color: #9aa4ab; }
.ytc-form textarea { min-height: 180px; resize: vertical; }
/* 送信ボタンは中央。送信中スピナーが常に場所を取ってボタンが左にずれるため、
   スピナーは絶対配置にしてボタンの中央位置に影響させない。 */
.ytc-form__submit {
	text-align: center; margin-top: 2.4em !important;
	position: relative;
}
.ytc-form__submit .wpcf7-spinner {
	position: absolute; top: 50%; transform: translateY(-50%); margin-left: .6em;
}
.ytc-form .wpcf7-submit {
	display: inline-block; background: #c0392b; color: #fff; border: none; border-radius: 999px;
	padding: .9em 3em; font-weight: 700; font-size: 1.05em; cursor: pointer;
	transition: background .2s ease, box-shadow .2s ease;
	box-shadow: 0 3px 10px rgba(192,57,43,.25);
}
.ytc-form .wpcf7-submit:hover { background: #a5301f; box-shadow: 0 5px 14px rgba(192,57,43,.35); }
.ytc-form .wpcf7-submit:focus-visible { outline: 3px solid rgba(192,57,43,.4); outline-offset: 2px; }
/* 項目どうしの間隔 */
.ytc-form p { margin: 0 0 1.8em; }
.ytc-form p:last-child { margin-bottom: 0; }

/* ファイル添付 */
/* 項目名と入力欄の間隔（.wpcf7-form-control-wrap の .6em）と揃える */
.ytc-form__filesHead { font-weight: 700; margin-bottom: .6em !important; }
.ytc-form__note { display: block; font-weight: 400; font-size: .85em; color: #666; margin-top: .4em; line-height: 1.7; }
.ytc-form__files .wpcf7-form-control-wrap { margin-top: 0; }

/* ドラッグ＆ドロップ枠（Drag and Drop Multiple File Upload プラグイン） */
.ytc-form .codedropz-upload-handler {
	border: 2px dashed #c3ccd2; border-radius: 8px; background: #f5f7f8; /* 入力欄と同じ塗り */
	padding: 1.6em 1em; transition: border-color .2s ease, background .2s ease;
}
.ytc-form .codedropz-upload-handler:hover,
.ytc-form .codedropz-upload-container.dnd-hover .codedropz-upload-handler {
	border-color: var(--ytc-accent); background: #eef3f6;
}
.ytc-form .codedropz-upload-inner { color: #666; font-size: .95em; }
/* 案内文は h3 で出力されるためSWELLの見出しスタイル(30px)が当たる。本文サイズに戻す */
.ytc-form .codedropz-upload-inner h3 {
	font-size: 1em; font-weight: 700; color: #555;
	margin: 0 0 .3em; padding: 0; border: none; background: none; line-height: 1.6;
}
.ytc-form .codedropz-upload-inner h3::before,
.ytc-form .codedropz-upload-inner h3::after { content: none; display: none; }
.ytc-form .codedropz-upload-inner > span { font-size: .88em; color: #999; }
/* ボックス下の対応形式 */
.ytc-form__formats {
	display: block; font-size: .85em; color: #666; line-height: 1.8; margin-top: .7em;
}
.ytc-form .codedropz-upload-inner .cd-upload-btn,
.ytc-form .codedropz-btn-wrap a {
	color: var(--ytc-accent); font-weight: 700; text-decoration: underline; cursor: pointer;
}
.ytc-form .dnd-upload-status { margin-top: .8em; }
.ytc-form .dnd-upload-status .dnd-upload-details { font-size: .9em; }
.ytc-form .dnd-upload-status .remove-file { color: #c0392b; }

/* エラー表示 */
.ytc-form .wpcf7-not-valid { border-color: #c0392b; background: #fff8f8; }
.ytc-form .wpcf7-not-valid-tip { color: #c0392b; font-size: .86em; font-weight: 400; margin-top: .4em; }
.wpcf7 form .wpcf7-response-output { border-radius: 6px; padding: .8em 1em; margin: 1.4em 0 0; font-size: .95em; }
