/* =========================================================
   Brandyou Child — main.css
   ---------------------------------------------------------
   1. 色・文字の設定（ここを変えるとサイト全体が変わります）
   2. 基本
   3. ヘッダー / スマホメニュー
   4. フッター
   5. 共通パーツ（見出し・ボタン・記事カード）
   6. Elementor ページ（共通・トップ）
   7. Elementor ページ（ブランド）
   8. 記事ページ
   9. 一覧ページ・固定ページ・404
   ========================================================= */

/* ---------- 1. 色・文字 ---------- */
:root {
	--by-ivory: #F8F5F0;
	--by-sand: #EFE9E1;
	--by-greige: #D9D0C4;
	--by-taupe: #9C8D7B;
	--by-ink: #2A2622;
	--by-sub: #6B635A;
	--by-line: #E3DCD2;
	--by-white: #fff;
	--by-accent: #5E6B4E;
	--by-line-green: #06C755;

	--by-serif: "Noto Serif JP", serif;
	--by-en: "Cormorant Garamond", serif;
	--by-sans: "Noto Sans JP", sans-serif;

	--by-wrap: 1160px;
	--by-gutter: 24px;
	--by-sec: 110px;
}
@media (max-width: 767px) {
	:root { --by-gutter: 16px; --by-sec: 76px; }
}

/* ---------- 2. 基本 ---------- */
body {
	background: var(--by-ivory);
	color: var(--by-ink);
	font-family: var(--by-sans);
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: .04em;
	-webkit-font-smoothing: antialiased;
}
@media (max-width: 767px) { body { font-size: 14.5px; } }
body.by-menu-open { overflow: hidden; }
.by-site a, .by-hd a, .by-ft a, .by-drawer a { color: inherit; text-decoration: none; }
.by-site img { max-width: 100%; height: auto; }
.by-wrap { max-width: var(--by-wrap); margin: 0 auto; padding: 0 var(--by-gutter); }
.by-en { font-family: var(--by-en); letter-spacing: .12em; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; z-index: 1000; background: #fff; padding: 8px 12px; }

/* ---------- 3. ヘッダー ---------- */
.by-hd {
	position: sticky; top: 0; z-index: 50;
	background: rgba(248, 245, 240, .94);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--by-line);
}
.admin-bar .by-hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .by-hd { top: 0; } }
.by-hd__in {
	max-width: var(--by-wrap); margin: 0 auto; padding: 0 var(--by-gutter);
	height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.by-logo { margin: 0; font-size: inherit; line-height: 1.1; }
.by-logo__link { display: flex; flex-direction: column; }
.by-logo__en { font-family: var(--by-en); font-size: 30px; font-weight: 600; letter-spacing: .08em; color: var(--by-ink); }
.by-logo__ja { font-family: var(--by-serif); font-size: 10.5px; color: var(--by-sub); letter-spacing: .2em; margin-top: 4px; }
.by-logo img { max-height: 48px; width: auto; }

.by-gnav { display: flex; align-items: center; gap: 34px; }
.by-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.by-menu > li { position: relative; }
.by-menu a { font-family: var(--by-en); font-size: 15px; letter-spacing: .18em; padding: 4px 0; position: relative; display: inline-block; }
.by-gnav .by-menu > li > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--by-ink); transition: .3s; }
.by-gnav .by-menu > li > a:hover::after { width: 100%; }
/* ドロップダウン */
.by-gnav .sub-menu {
	list-style: none; margin: 0; padding: 14px 0; position: absolute; top: 100%; left: -18px; min-width: 200px;
	background: var(--by-white); box-shadow: 0 14px 30px -18px rgba(42, 38, 34, .4);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s;
}
.by-gnav li:hover > .sub-menu, .by-gnav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.by-gnav .sub-menu a { font-family: var(--by-sans); font-size: 13px; letter-spacing: .06em; padding: 6px 18px; display: block; }
.by-gnav .sub-menu a:hover { color: var(--by-accent); }

.by-hd__line {
	font-family: var(--by-sans); font-size: 12px; letter-spacing: .1em; line-height: 1;
	background: var(--by-ink); color: #fff !important; padding: 11px 18px; border-radius: 40px; white-space: nowrap; transition: .3s;
}
.by-hd__line:hover { background: var(--by-line-green); }

.by-menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.by-menu-btn:hover, .by-menu-btn:focus { background: none; }
.by-menu-btn span { display: block; width: 24px; height: 1px; background: var(--by-ink); margin: 6px auto; transition: .3s; }
.by-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.by-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.by-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.by-drawer {
	position: fixed; inset: 64px 0 0; z-index: 49; background: var(--by-ivory);
	padding: 32px var(--by-gutter) 48px; overflow-y: auto;
}
.by-drawer[hidden] { display: none; }
.by-drawer .by-menu { flex-direction: column; gap: 0; }
.by-drawer .by-menu a { display: block; font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--by-line); }
.by-drawer .sub-menu { list-style: none; margin: 0; padding: 6px 0 10px 14px; }
.by-drawer .sub-menu a { font-family: var(--by-sans); font-size: 14px; letter-spacing: .06em; padding: 8px 0; border: 0; }
.by-drawer .by-hd__line { display: block; text-align: center; margin-top: 32px; padding: 16px; font-size: 14px; }

@media (max-width: 900px) {
	.by-gnav { display: none; }
	.by-menu-btn { display: block; }
}
@media (max-width: 767px) {
	.by-hd__in { height: 64px; }
	.by-logo__en { font-size: 25px; }
}

/* ---------- 4. フッター ---------- */
.by-ft { background: var(--by-sand); padding: 72px 0 30px; font-size: 13px; }
.by-ft__in { max-width: var(--by-wrap); margin: 0 auto; padding: 0 var(--by-gutter); }
.by-ft__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--by-greige); }
.by-ft .by-logo__en { font-size: 34px; }
.by-ft__tag { font-family: var(--by-en); font-size: 13px; letter-spacing: .25em; color: var(--by-taupe); margin: 8px 0 0; }
.by-ft__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.by-ft__h { font-family: var(--by-en); font-size: 15px; letter-spacing: .2em; margin: 0 0 12px; }
.by-ft__menu, .by-ft .by-menu { list-style: none; margin: 0; padding: 0; display: block; }
.by-ft__menu a, .by-ft .by-menu a { display: block; color: var(--by-sub); margin: 4px 0; font-family: var(--by-sans); font-size: 13px; letter-spacing: .04em; padding: 0; }
.by-ft__menu a:hover { color: var(--by-ink); }
.by-ft__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; color: var(--by-taupe); font-size: 11.5px; }
.by-ft__bottom p { margin: 0; }
@media (max-width: 767px) {
	.by-ft { padding: 56px 0 28px; }
	.by-ft__cols { gap: 36px; }
}

/* ---------- 5. 共通パーツ ---------- */
/* 英語＋日本語の見出し（テーマ側：一覧ページなど） */
.by-ttl { text-align: center; margin: 0 0 56px; }
.by-ttl__en { display: block; font-family: var(--by-en); font-size: 42px; font-weight: 500; line-height: 1.1; letter-spacing: .12em; }
.by-ttl__ja { display: block; font-family: var(--by-serif); font-size: 13px; font-weight: 400; color: var(--by-sub); margin-top: 10px; letter-spacing: .2em; }
@media (max-width: 767px) { .by-ttl { margin-bottom: 38px; } .by-ttl__en { font-size: 34px; } }

/* 「VIEW MORE →」リンク */
a.by-more, .by-site .by-more .elementor-heading-title {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--by-en); font-size: 15px; font-weight: 500; letter-spacing: .2em; line-height: 1.4; color: var(--by-ink);
	border-bottom: 1px solid var(--by-ink); padding-bottom: 6px;
}
a.by-more::after, .by-site .by-more .elementor-heading-title::after { content: "→"; font-family: var(--by-sans); transition: .3s; }
a.by-more:hover::after, .by-site .by-more .elementor-heading-title:hover::after, .by-site a:hover .by-more .elementor-heading-title::after { transform: translateX(5px); }
.by-more-wrap { text-align: center; margin-top: 64px; }

/* 記事カード */
.by-cards { display: grid; gap: 48px 32px; }
.by-cards--2 { grid-template-columns: repeat(2, 1fr); }
.by-cards--3 { grid-template-columns: repeat(3, 1fr); }
.by-cards--4 { grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.by-card__link { display: block; }
.by-card__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--by-sand); position: relative; }
.by-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; display: block; }
.by-card__link:hover .by-card__thumb img { transform: scale(1.04); }
.by-card__noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--by-en); font-size: 26px; color: var(--by-taupe); letter-spacing: .1em; }
.by-card__meta { display: flex; gap: 14px; align-items: center; margin-top: 18px; font-size: 11.5px; color: var(--by-taupe); }
.by-card__cat { font-family: var(--by-en); font-size: 13px; letter-spacing: .2em; color: var(--by-accent); }
.by-card__title { font-family: var(--by-serif); font-weight: 500; font-size: 17px; line-height: 1.75; margin: 8px 0 0; letter-spacing: .05em; color: var(--by-ink); }
.by-card__link:hover .by-card__title { color: var(--by-sub); }
.by-empty { text-align: center; color: var(--by-sub); }
@media (max-width: 1024px) { .by-cards--3, .by-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .by-cards--2, .by-cards--3, .by-cards--4 { grid-template-columns: 1fr; gap: 36px; } }

/* =========================================================
   6. Elementor ページ共通
   ・クラス名は Elementor の「高度な設定 → CSS クラス」に入っています。
   ・Elementor のパネルで余白や色を指定すると、そちらが優先されます。
   ========================================================= */
.by-site {
	--kit-widget-spacing: 0px;
	--widgets-spacing: 0px;
	--container-max-width: var(--by-wrap);
}
.by-site .e-con {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
	--gap: 0px 0px; --row-gap: 0px; --column-gap: 0px;
	--container-default-padding-top: 0px; --container-default-padding-right: 0px;
	--container-default-padding-bottom: 0px; --container-default-padding-left: 0px;
}
/* Elementor の「ウィジェット間の余白」を 0 にして、余白は下の各クラスの margin-top で付けます */
.by-site .elementor-widget, .by-site .elementor-widget:not(:last-child) { margin: 0; margin-block-end: 0; }
.by-site .elementor-heading-title { color: inherit; font-family: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.by-site .elementor-widget-text-editor p { margin: 0 0 1em; }
.by-site .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* セクション */
.by-site .by-sec { --padding-top: var(--by-sec); --padding-bottom: var(--by-sec); --padding-left: var(--by-gutter); --padding-right: var(--by-gutter); }
.by-site .by-sec--white { background-color: var(--by-white); }
.by-site .by-sec--sand { background-color: var(--by-sand); }
.by-site .by-sec--dark { background-color: var(--by-ink); color: #fff; }

/* セクション見出し（Elementor） */
.by-site .by-ttl { --align-items: center; text-align: center; margin-bottom: 56px; }
.by-site .by-ttl__en .elementor-heading-title { font-family: var(--by-en); font-size: 42px; font-weight: 500; line-height: 1.1; letter-spacing: .12em; }
.by-site .by-ttl__ja .elementor-heading-title { font-family: var(--by-serif); font-size: 13px; color: var(--by-sub); letter-spacing: .2em; line-height: 1.6; margin-top: 10px; }
@media (max-width: 767px) {
	.by-site .by-ttl { margin-bottom: 38px; }
	.by-site .by-ttl__en .elementor-heading-title { font-size: 34px; }
}

/* 小さな英語ラベル */
.by-site .by-eyebrow .elementor-heading-title { font-family: var(--by-en); font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--by-taupe); line-height: 1.6; }
.by-site .by-center { text-align: center; }

/* ボタン */
.by-site .by-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	background: var(--by-ink); color: #fff; border-radius: 0;
	padding: 18px 36px; font-family: var(--by-sans); font-size: 14px; font-weight: 400; letter-spacing: .12em; line-height: 1.5;
	transition: .3s;
}
.by-site .by-btn .elementor-button-text::after { content: "→"; margin-left: 12px; }
.by-site .by-btn .elementor-button:hover { background: var(--by-accent); color: #fff; }
.by-site .by-btn--line .elementor-button { background: var(--by-line-green); }
.by-site .by-btn--line .elementor-button:hover { background: #05a647; }
.by-site .by-btn--white .elementor-button { background: #fff; color: var(--by-ink); min-width: 300px; padding: 19px 46px; }
.by-site .by-btn--white .elementor-button-text::after { content: "↗"; font-size: 13px; }
.by-site .by-btn--white .elementor-button:hover { background: var(--by-accent); color: #fff; }
@media (max-width: 767px) {
	.by-site .by-btn, .by-site .by-btn .elementor-button { width: 100%; }
	.by-site .by-btn .elementor-button { padding-left: 16px; padding-right: 16px; letter-spacing: .04em; font-size: 13.5px; }
	.by-site .by-btn--white .elementor-button { min-width: 0; }
}
.by-site .by-note { font-size: 11.5px; color: var(--by-taupe); margin-top: 14px; }

/* ---------- 6-1. トップ：ヒーロー ---------- */
.by-site .by-hero {
	--justify-content: center;
	--padding-left: var(--by-gutter); --padding-right: var(--by-gutter);
	min-height: max(520px, min(86vh, 760px)); position: relative; overflow: hidden;
}
.by-site .by-hero::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(248, 245, 240, .92) 0%, rgba(248, 245, 240, .6) 34%, rgba(248, 245, 240, 0) 60%);
}
.by-site .by-hero > .e-con-inner { justify-content: center; position: relative; z-index: 1; }
.by-site .by-hero__copy { max-width: 600px; }
.by-site .by-hero__title { margin-top: 22px; }
.by-site .by-hero__title .elementor-heading-title { font-family: var(--by-serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.55; letter-spacing: .08em; white-space: nowrap; }
.by-site .by-hero__lead { margin-top: 26px; color: var(--by-sub); font-size: 14.5px; line-height: 2.1; }
.by-site .by-hero__sign { margin-top: 18px; font-family: var(--by-serif); font-size: 15px; }
@media (max-width: 767px) {
	/* スマホ：写真を上、文章を下に */
	.by-site .by-hero {
		min-height: 0;
		background-size: 100% auto !important; background-position: center top !important;
		--padding-top: calc(66.6vw + 32px); --padding-bottom: 8px;
	}
	.by-site .by-hero::after { display: none; }
	.by-site .by-hero__title { margin-top: 12px; }
	.by-site .by-hero__lead br { display: none; }
}

/* ---------- 6-2. トップ：カテゴリ ---------- */
.by-site .by-cats { --display: grid; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.by-site .by-cat {
	aspect-ratio: 3 / 4; position: relative; overflow: hidden; color: #fff;
	--justify-content: flex-end; --padding-left: 22px; --padding-right: 22px; --padding-bottom: 22px; --padding-top: 18px;
	background-color: var(--by-sand);
}
.by-site .by-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(30, 25, 20, .62) 100%); transition: .4s; }
.by-site .by-cat:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(30, 25, 20, .72) 100%); }
.by-site .by-cat > .elementor-element { position: relative; z-index: 1; }
.by-site .by-cat > .by-cat__num { position: absolute; top: 18px; left: 22px; }
.by-site .by-cat__num .elementor-heading-title { font-family: var(--by-en); font-size: 13px; letter-spacing: .2em; }
.by-site .by-cat__en .elementor-heading-title { font-family: var(--by-en); font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: .12em; }
.by-site .by-cat__ja .elementor-heading-title { font-family: var(--by-serif); font-size: 13px; letter-spacing: .15em; line-height: 1.8; }
@media (max-width: 1024px) { .by-site .by-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
	.by-site .by-cats { gap: 12px; }
	.by-site .by-cat { --padding-left: 14px; --padding-right: 14px; --padding-bottom: 14px; }
	.by-site .by-cat > .by-cat__num { top: 12px; left: 14px; }
	.by-site .by-cat__en .elementor-heading-title { font-size: 22px; }
	.by-site .by-cat__ja .elementor-heading-title { font-size: 11.5px; letter-spacing: .05em; }
}

/* ---------- 6-3. トップ：ReFa ---------- */
.by-site .by-refa { --display: grid; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--by-white); }
.by-site .by-refa__img { min-height: 420px; }
.by-site .by-refa__body { --padding-top: 64px; --padding-bottom: 64px; --padding-left: 60px; --padding-right: 60px; --justify-content: center; --align-items: flex-start; }
.by-site .by-refa__logo img { width: 180px; margin: 14px 0 6px; }
.by-site .by-badge .elementor-heading-title { display: inline-block; font-size: 11.5px; border: 1px solid var(--by-ink); padding: 3px 12px; letter-spacing: .15em; line-height: 1.8; }
.by-site .by-refa__txt { margin-top: 22px; color: var(--by-sub); font-size: 14px; }
.by-site .by-refa__txt ul { list-style: none; margin: 18px 0 0; padding: 0; font-size: 13.5px; color: var(--by-ink); }
.by-site .by-refa__txt li { padding-left: 18px; position: relative; margin: 4px 0; }
.by-site .by-refa__txt li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 1px; background: var(--by-accent); }
.by-site .by-refa .by-btn { margin-top: 32px; }
.by-site .by-refa .by-more { margin-top: 22px; }
@media (max-width: 1024px) {
	.by-site .by-refa { grid-template-columns: 1fr; }
	.by-site .by-refa__img { min-height: 260px; }
}
@media (max-width: 767px) {
	.by-site .by-refa__body { --padding-top: 40px; --padding-bottom: 40px; --padding-left: 24px; --padding-right: 24px; --align-items: stretch; }
	.by-site .by-refa .by-more { align-self: flex-start; }
}

/* ---------- 6-4. トップ：ブランド ---------- */
.by-site .by-brands { --display: grid; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.by-site .by-brand { background: var(--by-white); transition: box-shadow .4s; }
.by-site .by-brand:hover { box-shadow: 0 18px 40px -20px rgba(42, 38, 34, .35); }
.by-site .by-brand__img { aspect-ratio: 4 / 3; --padding-top: 16px; --padding-left: 16px; --align-items: flex-start; }
.by-site .by-chip .elementor-heading-title { background: rgba(248, 245, 240, .95); color: var(--by-ink); font-family: var(--by-en); font-size: 12px; letter-spacing: .2em; padding: 4px 12px; line-height: 1.6; display: inline-block; }
.by-site .by-brand__body { --padding-top: 30px; --padding-right: 28px; --padding-bottom: 34px; --padding-left: 28px; --align-items: center; flex: 1; }
.by-site .by-brand__name .elementor-heading-title { font-family: var(--by-en); font-size: 32px; font-weight: 500; letter-spacing: .08em; line-height: 1.1; text-align: center; }
.by-site .by-brand__desc { font-size: 13.5px; color: var(--by-sub); margin-top: 16px; flex: 1; align-self: stretch; }
.by-site .by-brand__body .by-more { margin-top: 24px; }
@media (max-width: 1024px) { .by-site .by-brands { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- 6-5. トップ：編集長 ---------- */
.by-site .by-editor { --display: grid; display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: center; }
.by-site .by-editor__photo { position: relative; }
.by-site .by-editor__photo img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
.by-site .by-editor__photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .6); pointer-events: none; }
.by-site .by-editor__body { --align-items: flex-start; }
.by-site .by-editor__role .elementor-heading-title { font-family: var(--by-serif); font-size: 13px; color: var(--by-sub); letter-spacing: .15em; margin-top: 10px; line-height: 1.6; }
.by-site .by-editor__name .elementor-heading-title { font-family: var(--by-serif); font-weight: 500; font-size: 28px; letter-spacing: .1em; line-height: 1.5; }
.by-site .by-roles p { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.by-site .by-roles span { font-size: 12px; border: 1px solid var(--by-greige); padding: 3px 12px; border-radius: 30px; color: var(--by-sub); }
.by-site .by-editor__txt { margin-top: 24px; color: var(--by-sub); font-size: 14.5px; }
.by-site .by-editor__body .by-more { margin-top: 32px; }
@media (max-width: 1024px) {
	.by-site .by-editor { grid-template-columns: 1fr; gap: 40px; }
	.by-site .by-editor__photo { max-width: 380px; width: 100%; margin: 0 auto; }
}

/* ---------- 6-6. トップ：LINE ---------- */
.by-site .by-line-cta { text-align: center; --align-items: center; --padding-top: 80px; --padding-bottom: 80px; }
.by-site .by-line-cta > .e-con-inner { align-items: center; }
.by-site .by-line-cta .by-eyebrow .elementor-heading-title { color: var(--by-greige); }
.by-site .by-line-cta__title .elementor-heading-title { font-family: var(--by-serif); font-weight: 500; font-size: 24px; letter-spacing: .1em; line-height: 1.7; margin-top: 12px; }
.by-site .by-line-cta__txt { color: #cfc7bc; font-size: 14px; margin-top: 14px; }
.by-site .by-line-cta .by-btn { margin-top: 30px; }
@media (max-width: 767px) {
	.by-site .by-line-cta__title .elementor-heading-title { font-size: 19px; }
	.by-site .by-line-cta > .e-con-inner { align-items: stretch; }
}

/* =========================================================
   7. Elementor：ブランドページ
   ========================================================= */
.by-site .by-bhero { min-height: max(460px, min(78vh, 700px)); position: relative; overflow: hidden; color: #fff; --justify-content: flex-end; --padding-bottom: 64px; --padding-left: var(--by-gutter); --padding-right: var(--by-gutter); }
.by-site .by-bhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, .05) 30%, rgba(20, 16, 12, .55) 100%); pointer-events: none; }
.by-site .by-bhero > .e-con-inner { justify-content: flex-end; position: relative; z-index: 1; }
.by-site .by-bhero__txt { text-align: center; --align-items: center; }
.by-site .by-bhero__cat .elementor-heading-title { font-family: var(--by-en); font-size: 13px; letter-spacing: .35em; line-height: 1.6; }
.by-site .by-bhero__name .elementor-heading-title { font-family: var(--by-en); font-weight: 500; font-size: clamp(52px, 8vw, 104px); line-height: 1.05; letter-spacing: .06em; margin-top: 10px; }
.by-site .by-bhero__tagline .elementor-heading-title { font-family: var(--by-serif); font-size: 15px; letter-spacing: .2em; margin-top: 12px; line-height: 1.6; }

.by-site .by-concept { text-align: center; --padding-top: 130px; --padding-bottom: 120px; }
.by-site .by-concept > .e-con-inner { max-width: 760px; }
.by-site .by-concept .by-eyebrow .elementor-heading-title { color: var(--by-accent); letter-spacing: .35em; }
.by-site .by-concept__title .elementor-heading-title { font-family: var(--by-serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.9; letter-spacing: .12em; margin-top: 26px; }
.by-site .by-concept__body { margin-top: 36px; color: var(--by-sub); font-size: 15px; line-height: 2.3; }
.by-site .by-concept > .e-con-inner::after { content: ""; display: block; width: 1px; height: 64px; background: var(--by-greige); margin: 56px auto 0; }

.by-site .by-pts { --row-gap: 80px; --gap: 80px 0px; gap: 80px; }
.by-site .by-pt { --display: grid; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.by-site .by-pt:nth-child(even) > .by-pt__img { order: 2; }
.by-site .by-pt__img { aspect-ratio: 4 / 3; background-color: var(--by-sand); }
.by-site .by-pt__num .elementor-heading-title { font-family: var(--by-en); font-size: 56px; line-height: 1; color: var(--by-greige); }
.by-site .by-pt__title .elementor-heading-title { font-family: var(--by-serif); font-weight: 500; font-size: 21px; letter-spacing: .1em; margin-top: 14px; line-height: 1.6; }
.by-site .by-pt__txt { margin-top: 18px; color: var(--by-sub); font-size: 14.5px; }

.by-site .by-voice-sec { --padding-bottom: 0px; }
.by-site .by-voice { --display: grid; display: grid; grid-template-columns: 150px 1fr; gap: 40px; align-items: center; background: var(--by-white); --padding-top: 52px; --padding-bottom: 52px; --padding-left: 56px; --padding-right: 56px; }
.by-site .by-voice__photo img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 85% 20%; display: block; }
.by-site .by-voice__q { font-family: var(--by-serif); font-size: 16px; line-height: 2.1; margin-top: 12px; }
.by-site .by-voice__who .elementor-heading-title { margin-top: 16px; font-size: 12.5px; color: var(--by-taupe); letter-spacing: .12em; line-height: 1.6; }

.by-site .by-cta { position: relative; overflow: hidden; color: #fff; text-align: center; --padding-top: 120px; --padding-bottom: 120px; }
.by-site .by-cta::after { content: ""; position: absolute; inset: 0; background: rgba(28, 22, 18, .62); pointer-events: none; }
.by-site .by-cta > .e-con-inner { position: relative; z-index: 1; max-width: 760px; align-items: center; }
.by-site .by-cta .by-eyebrow .elementor-heading-title { color: #E9E1D5; letter-spacing: .35em; }
.by-site .by-cta__name .elementor-heading-title { font-family: var(--by-en); font-weight: 500; font-size: clamp(40px, 5vw, 60px); letter-spacing: .06em; line-height: 1.1; margin-top: 14px; }
.by-site .by-cta__txt { font-family: var(--by-serif); margin-top: 16px; font-size: 14.5px; color: #EDE6DC; }
.by-site .by-cta .by-btn { margin-top: 38px; }
.by-site .by-cta .by-note { color: #cfc6ba; margin-top: 16px; }

.by-site .by-others-sec { --padding-top: 80px; --padding-bottom: 100px; }
.by-site .by-others { margin-top: 36px; }
.by-site .by-others { --display: grid; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.by-site .by-other { background: var(--by-white); --padding-top: 34px; --padding-bottom: 34px; --padding-left: 20px; --padding-right: 20px; --align-items: center; text-align: center; border: 1px solid transparent; transition: .3s; }
.by-site .by-other:hover { border-color: var(--by-greige); }
.by-site .by-other__name .elementor-heading-title { font-family: var(--by-en); font-weight: 500; font-size: 28px; letter-spacing: .06em; line-height: 1.3; }
.by-site .by-other__cat .elementor-heading-title { font-size: 11.5px; color: var(--by-taupe); letter-spacing: .2em; line-height: 1.8; }

@media (max-width: 1024px) {
	.by-site .by-pt { grid-template-columns: 1fr; gap: 28px; }
	.by-site .by-pt:nth-child(even) > .by-pt__img { order: 0; }
}
@media (max-width: 767px) {
	.by-site .by-bhero { min-height: max(420px, 72vh); --padding-bottom: 44px; }
	.by-site .by-concept { --padding-top: 84px; --padding-bottom: 76px; }
	.by-site .by-concept__body { text-align: left; }
	.by-site .by-pts { gap: 56px; }
	.by-site .by-voice { grid-template-columns: 1fr; --padding-top: 36px; --padding-bottom: 36px; --padding-left: 24px; --padding-right: 24px; gap: 22px; justify-items: center; }
	.by-site .by-voice__photo img { width: 110px; height: 110px; }
	.by-site .by-cta { --padding-top: 90px; --padding-bottom: 90px; }
	.by-site .by-cta > .e-con-inner { align-items: stretch; }
	.by-site .by-others { grid-template-columns: 1fr; gap: 12px; }
	.by-site .by-other { --padding-top: 22px; --padding-bottom: 22px; }
}

/* =========================================================
   8. 記事ページ
   ========================================================= */
.by-single__narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--by-gutter); }
.by-single__head { padding: 28px 0 0; }
.by-crumb { font-size: 11.5px; color: var(--by-taupe); margin-bottom: 28px; line-height: 1.8; }
.by-crumb a { color: var(--by-sub); }
.by-crumb a:hover { text-decoration: underline; }
.by-single__cat { font-family: var(--by-en); font-size: 13px; letter-spacing: .25em; color: var(--by-accent) !important; }
.by-single__title { font-family: var(--by-serif); font-weight: 500; font-size: clamp(22px, 3vw, 32px); line-height: 1.7; letter-spacing: .06em; margin: 10px 0 0; color: var(--by-ink); }
.by-single__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 12px; color: var(--by-taupe); }
.by-single__eyecatch { max-width: 1000px; margin: 40px auto 0; padding: 0 var(--by-gutter); }
.by-single__eyecatch img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.by-pr { margin: 36px 0 0; font-size: 11.5px; color: var(--by-taupe); border: 1px solid var(--by-line); padding: 8px 14px; }

/* 本文 */
.by-content { margin-top: 40px; font-size: 16px; line-height: 2.1; }
.by-content > * + * { margin-top: 1.6em; }
.by-content p { margin-bottom: 0; }
.by-content h2 {
	font-family: var(--by-serif); font-weight: 500; font-size: 22px; line-height: 1.7; letter-spacing: .06em;
	margin: 72px 0 0; padding: 0 0 14px; border-bottom: 1px solid var(--by-ink); scroll-margin-top: 100px;
}
.by-content h3 {
	font-family: var(--by-serif); font-weight: 500; font-size: 18px; line-height: 1.7;
	margin: 48px 0 0; padding-left: 16px; border-left: 2px solid var(--by-accent); scroll-margin-top: 100px;
}
.by-content h4 { font-size: 16px; font-weight: 500; margin: 36px 0 0; }
.by-content a { color: var(--by-accent); text-decoration: underline; text-underline-offset: 3px; }
.by-content a:hover { text-decoration: none; }
.by-content strong { background: linear-gradient(transparent 62%, #EDE3D3 62%); font-weight: 500; }
.by-content ul, .by-content ol { padding-left: 1.4em; }
.by-content li + li { margin-top: .4em; }
.by-content blockquote { margin-left: 0; margin-right: 0; padding: 24px 28px; background: var(--by-white); border-left: 2px solid var(--by-greige); font-family: var(--by-serif); }
.by-content blockquote p { margin: 0; }
.by-content figure { margin-left: 0; margin-right: 0; }
.by-content figcaption { font-size: 12px; color: var(--by-taupe); text-align: center; margin-top: 8px; }
.by-content img { display: block; }
.by-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.by-content th, .by-content td { border: 1px solid var(--by-line); padding: 10px 14px; }
.by-content th { background: var(--by-sand); font-weight: 500; }
.by-content .wp-block-button__link { background: var(--by-ink); color: #fff; border-radius: 0; padding: 16px 32px; text-decoration: none; letter-spacing: .1em; font-size: 14px; }
.by-content .wp-block-button__link:hover { background: var(--by-accent); }
@media (max-width: 767px) {
	.by-content { font-size: 15px; }
	.by-content h2 { font-size: 19px; margin-top: 56px; }
	.by-content h3 { font-size: 16.5px; }
}

/* 目次 */
.by-content .by-toc { background: var(--by-white); padding: 28px 32px; margin: 48px 0 0; border-top: 1px solid var(--by-ink); }
.by-toc__title { font-family: var(--by-serif); font-size: 15px; margin: 0 0 14px; display: flex; align-items: baseline; gap: 14px; }
.by-toc__title .by-en { font-size: 13px; letter-spacing: .25em; color: var(--by-taupe); }
.by-content .by-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.by-content .by-toc > ol > li { counter-increment: toc; padding-left: 2.2em; position: relative; margin: 0; }
.by-content .by-toc > ol > li + li { margin-top: 8px; }
.by-content .by-toc > ol > li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; font-family: var(--by-en); color: var(--by-taupe); font-size: 15px; }
.by-content .by-toc ol ol { margin: 4px 0 0; }
.by-content .by-toc ol ol li { margin: 2px 0 0; padding-left: 1em; position: relative; }
.by-content .by-toc ol ol li::before { content: "–"; position: absolute; left: 0; color: var(--by-greige); }
.by-content .by-toc a { color: var(--by-ink); text-decoration: none; font-size: 14.5px; line-height: 1.8; }
.by-content .by-toc ol ol a { font-size: 13.5px; color: var(--by-sub); }
.by-content .by-toc a:hover { color: var(--by-accent); }
@media (max-width: 767px) { .by-content .by-toc { padding: 22px 20px; } }

/* 記事下バナー（パターン） */
.by-after-banner { margin-top: 72px; }
.by-banner { background: var(--by-white); padding: 40px 36px; text-align: center; }
.by-banner p { margin: 0; }
.by-banner__lbl { font-family: var(--by-en); font-size: 13px; letter-spacing: .3em; color: var(--by-taupe); }
.by-banner__ttl { font-family: var(--by-serif); font-size: 16px; margin-top: 6px !important; }
.by-banner .by-banner__list { margin: 26px 0 0; gap: 12px; display: grid; grid-template-columns: repeat(4, 1fr); }
.by-banner .by-banner__item { border: 1px solid var(--by-line); padding: 20px 10px; transition: .3s; position: relative; margin: 0; }
.by-banner .by-banner__item:hover { border-color: var(--by-taupe); }
.by-banner__cat { font-size: 10.5px; letter-spacing: .15em; color: var(--by-taupe); }
.by-banner__name { font-family: var(--by-en); font-size: 24px; font-weight: 500; letter-spacing: .05em; line-height: 1.4; }
.by-banner__name a { color: var(--by-ink) !important; text-decoration: none !important; }
.by-banner__name a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 767px) {
	.by-banner { padding: 32px 18px; }
	.by-banner .by-banner__list { grid-template-columns: 1fr 1fr; }
	.by-banner__name { font-size: 20px; }
}

/* タグ */
.by-tags { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.by-tags a { display: inline-block; font-size: 12px; color: var(--by-sub); border: 1px solid var(--by-greige); padding: 3px 12px; border-radius: 30px; }
.by-tags a:hover { border-color: var(--by-ink); color: var(--by-ink); }

/* 編集長プロフィール */
.by-author { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: start; margin: 56px 0 0; padding: 36px 0 0; border-top: 1px solid var(--by-line); }
.by-author__photo img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; }
.by-author p { margin: 0; }
.by-author__lbl { font-family: var(--by-en); font-size: 12px; letter-spacing: .3em; color: var(--by-taupe); }
.by-author__name { font-family: var(--by-serif); font-size: 20px; letter-spacing: .1em; margin-top: 4px !important; }
.by-author__desc { font-size: 13.5px; color: var(--by-sub); margin: 12px 0 18px !important; }
@media (max-width: 767px) { .by-author { grid-template-columns: 80px 1fr; gap: 18px; } .by-author__photo img { width: 80px; height: 80px; } }

/* 関連記事 */
.by-related { background: var(--by-white); padding: var(--by-sec) 0; margin-top: var(--by-sec); }

/* =========================================================
   9. 一覧・固定ページ・404
   ========================================================= */
.by-archive { padding: 28px 0 var(--by-sec); }
.by-archive__head { text-align: center; margin: 40px 0 56px; }
.by-archive__head .by-ttl { margin-bottom: 0; }
.by-archive__desc { max-width: 640px; margin: 22px auto 0; color: var(--by-sub); font-size: 14px; }
.by-subcats { list-style: none; padding: 0; margin: 28px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.by-subcats a { display: inline-block; font-size: 12.5px; border: 1px solid var(--by-greige); padding: 5px 16px; border-radius: 30px; color: var(--by-sub); transition: .3s; }
.by-subcats a:hover { background: var(--by-ink); color: #fff; border-color: var(--by-ink); }

.by-site .pagination { margin-top: 72px; }
.by-site .nav-links { display: flex; justify-content: center; gap: 6px; }
.by-site .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; font-family: var(--by-en); font-size: 16px; border: 1px solid var(--by-line); }
.by-site .page-numbers.current { background: var(--by-ink); color: #fff; border-color: var(--by-ink); }
.by-site a.page-numbers:hover { border-color: var(--by-ink); }
.by-site .page-numbers.dots { border: 0; }

.by-page { padding: 28px 0 var(--by-sec); }
.by-page__title { font-family: var(--by-serif); font-weight: 500; font-size: 28px; letter-spacing: .1em; margin: 20px 0 0; text-align: center; }

.by-404 { text-align: center; }
.by-404 .by-ttl { margin-top: 60px; }
.by-404__txt { color: var(--by-sub); }
.by-search { max-width: 480px; margin: 32px auto 0; }
.by-search form { display: flex; }
.by-search input[type="search"] { flex: 1; border: 1px solid var(--by-greige); background: #fff; padding: 12px 14px; border-radius: 0; font-size: 14px; }
.by-search button, .by-search input[type="submit"] { background: var(--by-ink); color: #fff; border: 0; padding: 0 22px; border-radius: 0; cursor: pointer; }

/* =========================================================
   10. ボタンの初期色リセット（親テーマの赤い色を使わない）
   ========================================================= */
.by-site button, .by-site [type="button"], .by-site [type="submit"], .by-site .button {
	border-color: var(--by-ink); color: var(--by-ink); border-radius: 0;
}
.by-site button:hover, .by-site button:focus, .by-site [type="button"]:hover, .by-site [type="submit"]:hover, .by-site [type="submit"]:focus {
	background-color: var(--by-ink); color: #fff;
}

/* =========================================================
   11. お問い合わせフォーム（Contact Form 7）
   ========================================================= */
.by-page .by-content > p:first-child { text-align: center; color: var(--by-sub); font-size: 14.5px; line-height: 2.1; }
.by-site .by-form { max-width: 640px; margin: 56px auto 0; background: var(--by-white); padding: 56px 56px 48px; }
.by-site .by-form p { margin: 0; }
.by-site .by-form__row + .by-form__row { margin-top: 36px; }
.by-site .by-form__row label { display: block; }
.by-site .by-form__lbl { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .08em; margin-bottom: 12px; color: var(--by-ink); }
.by-site .by-form__lbl em { font-style: normal; font-size: 10px; letter-spacing: .12em; color: var(--by-taupe); border: 1px solid var(--by-greige); padding: 0 8px; line-height: 1.8; }
.by-site .by-form .wpcf7-form-control-wrap { display: block; }
.by-site .by-form input[type="text"], .by-site .by-form input[type="email"], .by-site .by-form select, .by-site .by-form textarea {
	display: block; width: 100%; border: 1px solid var(--by-line); background: var(--by-ivory); border-radius: 0; box-shadow: none;
	padding: 16px 18px; font-size: 16px; line-height: 1.6; font-family: var(--by-sans); color: var(--by-ink); transition: border-color .25s, background-color .25s;
}
.by-site .by-form select { appearance: none; -webkit-appearance: none; padding-right: 44px;
	background-image: linear-gradient(45deg, transparent 50%, var(--by-sub) 50%), linear-gradient(135deg, var(--by-sub) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.by-site .by-form textarea { min-height: 220px; resize: vertical; }
.by-site .by-form ::placeholder { color: #B9B0A5; }
.by-site .by-form input:focus, .by-site .by-form select:focus, .by-site .by-form textarea:focus { outline: none; border-color: var(--by-ink); background-color: #fff; }
.by-site .by-form__accept { margin-top: 44px !important; padding-top: 36px; border-top: 1px solid var(--by-line); font-size: 14px; text-align: center; }
.by-site .by-form__accept .wpcf7-list-item { margin: 0; }
.by-site .by-form__accept label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.by-site .by-form__accept input { width: 18px; height: 18px; margin: 0; accent-color: var(--by-ink); }
.by-site .by-form__accept a { color: var(--by-ink); text-decoration: underline; text-underline-offset: 3px; }
.by-site .by-form__submit { margin-top: 32px !important; text-align: center; position: relative; }
.by-site .by-form input[type="submit"] {
	display: inline-block; min-width: 280px; background: var(--by-ink); color: #fff; border: 1px solid var(--by-ink); border-radius: 0; cursor: pointer;
	padding: 18px 48px; font-size: 14px; font-weight: 400; letter-spacing: .3em; font-family: var(--by-sans); transition: background-color .3s, color .3s;
}
.by-site .by-form input[type="submit"]:hover, .by-site .by-form input[type="submit"]:focus-visible { background: #fff; color: var(--by-ink); border-color: var(--by-ink); }
.by-site .by-form input[type="submit"]:disabled { background: var(--by-greige); border-color: var(--by-greige); color: #fff; cursor: not-allowed; }
.by-site .by-form .wpcf7-spinner { position: absolute; top: 50%; margin: -12px 0 0 14px; }
.by-site .by-form .wpcf7-not-valid-tip { font-size: 12.5px; color: #A0524B; margin-top: 8px; }
.by-site .by-form .wpcf7-not-valid { border-color: #C9928C; }
.by-site .wpcf7 form .wpcf7-response-output { max-width: 640px; margin: 24px auto 0; padding: 16px 20px; font-size: 14px; border: 1px solid var(--by-greige); background: var(--by-white); text-align: center; }
.by-site .wpcf7 form.sent .wpcf7-response-output { border-color: var(--by-accent); color: var(--by-accent); }
.by-site .wpcf7 form.invalid .wpcf7-response-output, .by-site .wpcf7 form.failed .wpcf7-response-output { border-color: #C9928C; color: #A0524B; }
.by-page .by-form__note { margin-top: 28px; font-size: 12.5px; color: var(--by-taupe); text-align: center; }
@media (max-width: 767px) {
	.by-site .by-form { padding: 36px 20px 32px; margin-top: 40px; }
	.by-site .by-form__row + .by-form__row { margin-top: 28px; }
	.by-site .by-form input[type="submit"] { width: 100%; min-width: 0; }
}

/* =========================================================
   12. 固定ページ本文の中に置いた記事一覧（[by_posts]）
   ・本文の見出しデザイン（h3 の左線など）がカードに混ざらないようにする
   ========================================================= */
.by-content .by-cards { margin-top: 28px; gap: 36px 20px; }
.by-content .by-card__link { color: var(--by-ink); text-decoration: none; }
.by-content .by-card__title { font-size: 15px; line-height: 1.7; margin: 8px 0 0; padding: 0; border: 0; scroll-margin-top: 0; }
.by-content .by-card__meta { margin-top: 12px; }
.by-content .by-more-wrap { margin-top: 32px; }
.by-content a.by-more { color: var(--by-ink); text-decoration: none; font-size: 14px; }
.by-content p:empty { display: none; }

/* =========================================================
   13. カテゴリ別デザイン（BEAUTY / FASHION）
   ・<body> に by-design-beauty / by-design-fashion が付きます
   ・色を変えたいときは、下の --by-cat-accent / --by-cat-soft を変えてください
   ========================================================= */
body.by-design-beauty  { --by-cat-accent: #A9786E; --by-cat-soft: #F4ECE8; --by-cat-mark: #F1DFD9; }
body.by-design-fashion { --by-cat-accent: #2A2622; --by-cat-soft: #ECE7E0; --by-cat-mark: #E6DED3; }

/* 記事カードのカテゴリ名の色 */
.by-card--beauty .by-card__cat { color: #A9786E; }
.by-card--fashion .by-card__cat { color: #7A5638; }

/* ---------- BEAUTY：記事の頭 ---------- */
.by-shead-beauty { padding: 0; }
.by-shead-beauty__band { background: var(--by-cat-soft); padding: 28px 0 120px; text-align: center; }
.by-shead-beauty .by-crumb { text-align: left; }
.by-shead-beauty__en { font-family: var(--by-en); font-size: 15px; letter-spacing: .4em; color: var(--by-cat-accent); margin: 20px 0 0; }
.by-shead-beauty__cat { display: inline-block; margin-top: 12px; font-size: 12px; letter-spacing: .15em; border: 1px solid var(--by-cat-accent); color: var(--by-cat-accent) !important; padding: 3px 16px; border-radius: 30px; transition: .3s; }
.by-shead-beauty__cat:hover { background: var(--by-cat-accent); color: #fff !important; }
.by-shead-beauty .by-single__title { margin-top: 22px; }
.by-shead-beauty .by-single__meta { justify-content: center; }
.by-shead-beauty .by-single__eyecatch { max-width: 860px; margin: -88px auto 0; }
.by-shead-beauty .by-single__eyecatch img { border-radius: 6px; box-shadow: 0 24px 50px -30px rgba(80, 50, 40, .45); }

/* ---------- BEAUTY：本文 ---------- */
.by-single--beauty .by-content h2 { border-bottom: 0; background: var(--by-cat-soft); padding: 16px 22px; border-left: 3px solid var(--by-cat-accent); border-radius: 0 4px 4px 0; }
.by-single--beauty .by-content h3 { border-left: 0; padding-left: 22px; position: relative; }
.by-single--beauty .by-content h3::before { content: ""; position: absolute; left: 2px; top: .72em; width: 9px; height: 9px; border-radius: 50%; background: var(--by-cat-accent); opacity: .75; }
.by-single--beauty .by-content .by-toc { border-top: 0; background: var(--by-cat-soft); border-radius: 6px; }
.by-single--beauty .by-content blockquote { background: var(--by-cat-soft); border-left: 3px solid var(--by-cat-accent); border-radius: 0 6px 6px 0; }
.by-single--beauty .by-content strong { background: linear-gradient(transparent 60%, var(--by-cat-mark) 60%); }
.by-single--beauty .by-content ol li::marker { color: var(--by-cat-accent); font-weight: 500; }
.by-single--beauty .by-content ul li::marker { color: var(--by-cat-accent); }
.by-single--beauty .by-content a { color: var(--by-cat-accent); }
.by-single--beauty .by-pr { border-color: var(--by-cat-mark); }

/* ---------- FASHION：記事の頭 ---------- */
.by-shead-fashion { padding: 0; }
.by-shead-fashion__photo { margin: 0; }
.by-shead-fashion__photo img { width: 100%; aspect-ratio: 21 / 9; max-height: 640px; object-fit: cover; display: block; }
.by-shead-fashion__body { position: relative; z-index: 1; max-width: 860px; margin: -96px auto 0; background: var(--by-ivory); padding: 36px 50px 0; }
.by-shead-fashion .by-crumb { margin-bottom: 22px; }
.by-shead-fashion__en { display: flex; align-items: center; gap: 18px; margin: 0; }
.by-shead-fashion__en span { font-family: var(--by-en); font-style: italic; font-size: 44px; line-height: 1; letter-spacing: .02em; color: var(--by-ink); }
.by-shead-fashion__en a { font-family: var(--by-en); font-size: 12.5px; letter-spacing: .3em; color: var(--by-sub) !important; padding-left: 18px; border-left: 1px solid var(--by-greige); }
.by-shead-fashion .by-single__title { font-size: clamp(24px, 3.2vw, 34px); margin-top: 18px; }
.by-shead-fashion .by-single__meta { padding-bottom: 22px; border-bottom: 1px solid var(--by-line); }
.by-single--fashion .by-pr { margin-top: 28px; }

/* ---------- FASHION：本文 ---------- */
.by-single--fashion .by-content { counter-reset: by-h2; }
.by-single--fashion .by-content h2 { counter-increment: by-h2; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; border-bottom: 0; border-top: 1px solid var(--by-ink); padding: 22px 0 0; }
.by-single--fashion .by-content h2::before { content: counter(by-h2, decimal-leading-zero); font-family: var(--by-en); font-size: 38px; line-height: 1; color: var(--by-greige); }
.by-single--fashion .by-content h3 { border-left: 0; padding-left: 0; }
.by-single--fashion .by-content h3::before { content: ""; display: inline-block; width: 20px; height: 1px; background: var(--by-ink); vertical-align: middle; margin: 0 12px 4px 0; }
.by-single--fashion .by-content .by-toc { border-top: 2px solid var(--by-ink); }
.by-single--fashion .by-content blockquote { background: none; border: 0; border-top: 1px solid var(--by-line); border-bottom: 1px solid var(--by-line); padding: 32px 12px; text-align: center; font-size: 19px; line-height: 2; }
.by-single--fashion .by-content strong { background: linear-gradient(transparent 60%, var(--by-cat-mark) 60%); }
.by-single--fashion .by-content ol, .by-single--fashion .by-content ul { padding-left: 1.2em; }
.by-single--fashion .by-content a { color: var(--by-ink); }

@media (max-width: 767px) {
	.by-shead-beauty__band { padding: 20px 0 64px; }
	.by-shead-beauty .by-single__eyecatch { margin-top: -44px; }
	.by-shead-fashion__photo img { aspect-ratio: 4 / 3; }
	.by-shead-fashion__body { margin-top: 0; padding: 24px var(--by-gutter) 0; }
	.by-shead-fashion__en span { font-size: 34px; }
	.by-single--fashion .by-content h2 { gap: 12px; }
	.by-single--fashion .by-content h2::before { font-size: 30px; }
}

/* ---------- おすすめブランド（記事の最後） ---------- */
.by-brandrec { margin-top: 72px; text-align: center; }
.by-brandrec p { margin: 0; }
.by-brandrec__lbl { font-family: var(--by-en); font-size: 13px; letter-spacing: .3em; color: var(--by-cat-accent, var(--by-taupe)); }
.by-brandrec__ttl { font-family: var(--by-serif); font-size: 17px; margin-top: 6px !important; }
.by-brandrec__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.by-brandrec__list:has(> :only-child) { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
.by-brandrec__item { background: var(--by-white); padding: 32px 22px 28px; border-top: 2px solid var(--by-cat-accent, var(--by-ink)); display: flex; flex-direction: column; align-items: center; }
.by-brandrec__cat { font-family: var(--by-en); font-size: 11.5px; letter-spacing: .22em; color: var(--by-taupe); }
.by-brandrec__name { font-family: var(--by-en); font-size: 32px; font-weight: 500; letter-spacing: .05em; line-height: 1.3; margin-top: 4px !important; }
.by-brandrec__copy { font-family: var(--by-serif); font-size: 13.5px; color: var(--by-sub); margin-top: 8px !important; }
.by-brandrec__btns { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; width: 100%; max-width: 260px; }
.by-brandrec__btn { text-align: center; }
.by-brandrec__btn { display: inline-block; font-size: 12.5px; letter-spacing: .1em; padding: 10px 18px; border: 1px solid var(--by-ink); color: var(--by-ink) !important; text-decoration: none !important; transition: .3s; }
.by-brandrec__btn:hover { background: var(--by-ink); color: #fff !important; }
.by-brandrec__btn--shop { background: var(--by-ink); color: #fff !important; }
.by-brandrec__btn--shop::after { content: " ↗"; }
.by-brandrec__btn--shop:hover { background: #fff; color: var(--by-ink) !important; }
@media (max-width: 767px) {
	.by-brandrec__list { grid-template-columns: 1fr; }
}

/* 記事下バナーは編集長プロフィールの下へ（おすすめブランドとの間隔） */
.by-single .by-after-banner { margin-top: 56px; }

/* ---------- カテゴリ一覧の頭 ---------- */
.by-archive--beauty .by-archive__head,
.by-archive--fashion .by-archive__head { padding: 60px 24px; margin: 24px 0 56px; }
.by-archive--beauty .by-archive__head { background: var(--by-cat-soft); }
.by-archive--beauty .by-ttl__en { color: var(--by-cat-accent); }
.by-archive--fashion .by-archive__head { background: var(--by-ink); color: #fff; }
.by-archive--fashion .by-ttl__en { font-style: italic; }
.by-archive--fashion .by-ttl__ja, .by-archive--fashion .by-archive__desc { color: #CFC7BC; }
.by-archive--fashion .by-subcats a { color: #fff; border-color: rgba(255, 255, 255, .4); }
.by-archive--fashion .by-subcats a:hover { background: #fff; color: var(--by-ink); }
.by-archive--beauty .by-subcats a { background: #fff; border-color: transparent; }
.by-archive--beauty .by-subcats a:hover { background: var(--by-cat-accent); color: #fff; }
.by-archive__parent { font-family: var(--by-en); font-size: 12.5px; letter-spacing: .3em; margin: 0 0 12px; }
.by-archive__parent a { color: inherit; opacity: .75; }
.by-archive__parent a::before { content: "← "; }
@media (max-width: 767px) {
	.by-archive--beauty .by-archive__head, .by-archive--fashion .by-archive__head { padding: 40px 16px; margin: 16px calc(var(--by-gutter) * -1) 40px; }
}

/* =========================================================
   14. 迷惑メール対策の見えない入力欄（画面には出さない）
   ========================================================= */
.by-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   15. MITSURU のアドバイス＆コメント（記事の最後）
   ========================================================= */
.by-advice { margin-top: 64px; background: var(--by-white); border-top: 2px solid var(--by-cat-accent, var(--by-ink)); padding: 32px 36px 34px; scroll-margin-top: 100px; position: relative; }
.by-advice::before { content: "“"; position: absolute; right: 28px; top: 6px; font-family: var(--by-en); font-size: 88px; line-height: 1; color: var(--by-cat-soft, var(--by-sand)); }
.by-advice__head { display: flex; align-items: center; gap: 18px; position: relative; }
.by-advice__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; display: block; }
.by-advice p { margin: 0; }
.by-advice__lbl { font-family: var(--by-en); font-size: 12px; letter-spacing: .3em; color: var(--by-cat-accent, var(--by-taupe)); }
.by-advice__ttl { font-family: var(--by-serif); font-weight: 500; font-size: 18px; letter-spacing: .06em; line-height: 1.5; margin: 2px 0 0; border: 0; padding: 0; }
.by-advice__role { font-size: 11.5px; color: var(--by-taupe); margin-top: 2px !important; }
.by-advice__body { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--by-line); font-family: var(--by-serif); font-size: 15.5px; line-height: 2.1; position: relative; }
.by-advice__body p + p { margin-top: 1em; }
.by-advice__body strong { background: linear-gradient(transparent 60%, var(--by-cat-mark, #EDE3D3) 60%); font-weight: 500; }
@media (max-width: 767px) {
	.by-advice { padding: 26px 20px 28px; }
	.by-advice__img { width: 60px; height: 60px; }
	.by-advice__ttl { font-size: 16px; }
	.by-advice__body { font-size: 14.5px; }
}
