@charset "UTF-8";

/* ----------------------------------------------------- base */
* {
	box-sizing: border-box;
}

:root {
	--brand: #1a0089;
	--brand-black: #1a0089;
	--bg: #fffacd;
	--text: #1a0089;
	--pill: #fff;
	--drawer-bg: rgba(255, 252, 219, .85);
}

html {
	overflow-x: hidden;
	overflow-y: scroll;
}

body {
	margin: 0;
	background: var(--bg);
	overscroll-behavior: none;
	font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
	color: var(--brand-black);
	letter-spacing: 0.05em;
}

body.home {
	color: var(--brand);
}

body a {
	color: var(--brand-black);
}

body.home a {
	color: var(--brand);
}

body.home #gnav .site-header {
	border-bottom-color: var(--brand);
}

body.home #gnav .site-header .logo .hero-logo {
	filter: none;
}

body.home #gnav .gnav a::after {
	background: var(--brand);
}

body.home #gnav .site-header.is-scrolled {
	border-bottom-color: var(--brand);
}

body.home .site-footer .rule-b {
	border-top: 1px solid var(--brand);
	border-bottom: 1px solid var(--brand);
}

body.home .site-footer .arrow img {
	filter: invert(33%) sepia(0%) saturate(2800%) hue-rotate(205deg) brightness(98%) contrast(101%);
}

/* トップページ(home) のみ、矢印をホバーで白に */
body.home .panel-link:hover .arrow img {
	filter: brightness(0) invert(1);
	/* 白に変換 */
}

body.home .site-footer .h1 {
	color: var(--brand);
}

body.home .site-footer .sns a:hover {
	outline: 2px solid var(--brand);
}

/* トップページだけブランドカラーを上書き */
body.home .site-footer .panel-link::before {
	background: var(--brand);
}

body.home .site-footer .brand-hero .hero-logo {
	filter: none;
}

body.home .site-footer .news-list::-webkit-scrollbar-thumb {
	background: var(--brand);
	border-radius: 4px;
}

body.home .site-footer .news-list::-webkit-scrollbar-thumb:hover {
	background: var(--brand);
}

/* ----------------------------------------------------- link arrow */
.link-arrow {
	display: inline-block;
	color: #1a0089;
	/* ブランドカラー */
	font-weight: 600;
	text-decoration: none;
	position: relative;
	padding-right: 1.2em;
}

.link-arrow::after {
	content: "\f054";
	font-family: "FontAwesome";
	font-size: 0.9em;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: right .2s ease;
}

.link-arrow:hover::after {
	right: -0.3em;
}

/* ----------------------------------------------------- header */

/* ===== Header ===== */
#gnav .site-header {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--brand-black);
	transform: translateZ(0);
	background: var(--bg);
}

/* スクロール時に背景を付与 */
#gnav .site-header.is-scrolled {
	background: var(--bg);
	border-bottom-color: var(--brand-black);
}

/* メニューオープン中は常に背景を付ける（透過だと重なりで読みにくいため） */
body.menu-open #gnav .site-header {
	background: rgba(255, 252, 219, .98);
}

@supports (backdrop-filter: blur(6px)) {
	#gnav .site-header.is-scrolled {
		backdrop-filter: saturate(120%) blur(6px);
	}
}

body.menu-open #gnav .site-header {
	z-index: 1001;
}

#gnav .site-header a {
	color: inherit;
	text-decoration: none;
}

#gnav .site-header a:visited {
	color: inherit;
}

#gnav .nav-inner {
	height: 56px;
	display: flex;
	align-items: center;
	gap: 0px;
	padding: 0px 0px;
}

@supports (width:1dvw) {
	#gnav .nav-inner {
		padding: 0px 15px;
	}
}

/* ==== ヘッダーのロゴ（画像版） ==== */
#gnav .site-header .logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 1;
	padding: 4px 0;
}

/* 画像サイズと余白を調整 */
#gnav .site-header .logo .hero-logo {
	display: block;
	height: 40px;
	width: auto;
	max-width: 180px;
}

#gnav .right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 22px;
}

#gnav .gnav {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

#gnav .gnav a {
	position: relative;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: .3px;
	padding: 6px 0;
}

#gnav .gnav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 1px;
	background: var(--brand-black);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .25s ease;
	display: none;
}

#gnav .gnav a:hover::after,
#gnav .gnav a[aria-current="page"]::after {
	transform: scaleX(1);
}

#gnav .icon-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1px solid transparent;
}

#gnav .icon-btn:hover {
	border-color: currentColor;
}

#gnav .icon-btn svg {
	width: 18px;
	height: 18px;
}

#gnav .cta {
	font-weight: 800;
	font-size: 14px;
	color: inherit;
	background: var(--pill);
	padding: 5px 15px;
	border-radius: 999px;
	white-space: nowrap;
}

/* ===== 2本線ハンバーガー（Xに変形・同位置） ===== */
#gnav .hamburger {
	display: none;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0;
	border-radius: 8px;
	position: relative;
	z-index: 140;
}

#gnav .hamburger svg {
	width: 28px;
	height: 28px;
	display: block;
	margin: auto;
}

#gnav .hamburger:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

#gnav .hamburger .line {
	transform-box: view-box;
	transform-origin: 12px 12px;
	transition: transform .28s ease;
}

#gnav .hamburger .line.top {
	transform: translateY(-5px) rotate(0deg);
}

#gnav .hamburger .line.bot {
	transform: translateY(5px) rotate(0deg);
}

body.menu-open #gnav .hamburger .line.top {
	transform: translateY(0) rotate(45deg);
}

body.menu-open #gnav .hamburger .line.bot {
	transform: translateY(0) rotate(-45deg);
}

/* ===== Drawer (overlayは常に配置。レイアウト不変) ===== */
#gnav .drawer {
	position: fixed;
	inset: 0;
	z-index: 130;
	background: var(--drawer-bg);
	color: var(--text);
	pointer-events: none;
	opacity: 0;
}

#gnav .drawer.is-open {
	pointer-events: auto;
	opacity: 1;
	transition: opacity .12s linear;
}

#gnav .drawer__content {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 18px clamp(16px, 6vw, 28px) 24px;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .28s ease, transform .28s ease;
	will-change: opacity, transform;
}

@supports (width:1dvw) {
	#gnav .drawer__content {
		padding: 18px clamp(16px, 6dvw, 28px) 24px;
	}
}

#gnav .drawer.is-open .drawer__content {
	opacity: 1;
	transform: none;
}

#gnav .drawer a {
	color: inherit;
	text-decoration: none;
}

#gnav .drawer a:visited {
	color: inherit;
}

#gnav .topbar {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 6px;
}

#gnav .menu-group {
	border-left: 1px solid var(--brand);
	padding-left: 14px;
	margin: 10px 0 6px;
}

#gnav .menu-group a {
	display: block;
	font-weight: 900;
	font-size: 22px;
	line-height: 1.2;
	padding: 6px 0;
}

#gnav .cta-big {
	display: block;
	margin: 14px 0 18px;
	font-weight: 900;
	font-size: 18px;
	color: var(--brand);
	background: #fff;
	padding: 12px 22px;
	border-radius: 999px;
	width: max-content;
	margin-left: auto;
	margin-right: auto;
}

#gnav .sns-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin: 6px 0 6px;
}

#gnav .sns-row .icon-big {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border: 0px solid currentColor;
	border-radius: 16px;
	color: inherit;
	justify-content: center;
}

#gnav .sns-row svg {
	width: 32px;
	height: 32px;
}

#gnav .policy {
	font-weight: 800;
	font-size: 18px;
	color: var(--brand);
	padding: 6px 0 2px;
	display: inline-block;
	align-self: center;
}

/* ===== Responsive ===== */
@media (max-width:900px) {

	#gnav .gnav,
	#gnav .icon-btn,
	#gnav .cta {
		display: none;
	}

	#gnav .hamburger {
		display: inline-grid;
		place-items: center;
	}
}

/* 動きを抑制したい人の設定を尊重 */
@media (prefers-reduced-motion: reduce) {

	#gnav .hamburger .line,
	#gnav .drawer,
	#gnav .drawer__content {
		transition: none !important;
	}
}

/* 実サイズ（横40px）調整：ハンバーガー */
#gnav .hamburger {
	width: 48px;
	height: 36px;
}

#gnav .hamburger svg {
	width: 40px;
	height: 28px;
}

/* 変形の基準点：新しいviewBoxの中心(20,12) */
#gnav .hamburger .line {
	transform-box: view-box;
	transform-origin: 20px 12px;
	transition: transform .28s ease;
}

/* 閉時：線を細く＆隙間少なめ */
body:not(.menu-open) #gnav .hamburger .line {
	stroke-width: 1.6;
	stroke-linecap: round;
}

body:not(.menu-open) #gnav .hamburger .line.top {
	transform: translateY(-3px);
}

body:not(.menu-open) #gnav .hamburger .line.bot {
	transform: translateY(3px);
}

/* 開時（X）：太さ戻す */
body.menu-open #gnav .hamburger .line {
	stroke-width: 2.2;
}

body.menu-open #gnav .hamburger .line.top {
	transform: translateY(0) rotate(45deg);
}

body.menu-open #gnav .hamburger .line.bot {
	transform: translateY(0) rotate(-45deg);
}

/* ----------------------------------------------------- mainvisual (FULL) */

/* メインビジュアル全体 */
.mainvisual-hero {
	position: relative;
	width: 100vw;
	height: 100vh;
	min-height: 600px;
	background: var(--bg);
	overflow: hidden;
}

/* 右50%の写真 */
.mainvisual-hero__image {
	position: absolute;
	top: 0;
	right: 0;
	width: 50vw;
	height: 100%;
	background-image: url("../../images/mv2.jpg");
	background-size: cover;
	background-position: center center;
	transform: translateY(0);
	/* JS でY方向だけ動かす */
	will-change: transform;
}



/* stacking context */
.mainvisual-hero {
	position: relative;
	z-index: 0;
}

.mainvisual-hero__image {
	position: absolute;
	z-index: 1;
}

.mainvisual-hero__logo {
	position: absolute;
	z-index: 5;
	pointer-events: none;
}

.mainvisual-hero__image img {
	position: relative;
	z-index: 1;
}


/* ロゴ（パララックス対象） */
.mainvisual-hero__logo {
	position: absolute;
	/* PCでは absolute のまま */
	width: 900px;
	height: auto;
	top: 40vh;
	left: 50vw;
	--logo-x: -75%;
	--logo-y: 0px;
	transform: translate(var(--logo-x), var(--logo-y));
	will-change: transform;
	transition: transform 0.25s ease-out;
	pointer-events: none;
	z-index: 5;
}

@media (max-width: 960px) {

	/* メインビジュアル：この要素はスクロールアウトする */
	.mainvisual-hero {
		width: 90vw;
		height: 70vh;
		min-height: 0;
		margin: 0 auto 0;
		position: relative;
		background: var(--bg);
		overflow: visible;
	}

	/* 背景画像（SPでは全幅） */
	.mainvisual-hero__image {
		width: 90vw;
	}

	/* ロゴ：position: fixed でビューポートに固定 */
	.mainvisual-hero__logo {
		position: absolute;
		width: 90vw;
		top: auto;
		/* top を無効化 */
		left: 50%;
		/* left は中央寄せを維持 */
		bottom: -27px;
		/* bottom 基準で位置を固定 */
		--logo-x: -50%;
		transition: transform 0.25s ease-out;
	}
}


/* ----------------------------------------------------- sitetop contents */

/* Creators */

:root {
	--bg: #fffacd;
	--green: #2EE55F;
}

/* Creators 部分のリンクだけ */
#home .creators-list a {
	color: inherit;
	text-decoration: none;
}

.creators-list a:hover {
	color: inherit;
	text-decoration: none;
}

#home .creators-list a {
	pointer-events: auto;
}

/* 余白 */
#home .spacer {
	min-height: 120vh;
}

/* ステージ（画像枚数に応じて JS が高さを上書き） */
#home .stage {
	position: relative;
	height: 100vh;
}

/* 画面固定レイヤ */
#home .sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	display: grid;
	place-items: center;
	overflow: hidden;
}

/* 表示パネル（80vh） */
#home .panel {
	height: 100vh;
	width: 100%;
	overflow: hidden;
	position: relative;
}

/* 背景（2枚でフェード切替） */
#home .bg,
#home .bg-next {
	position: absolute;
	inset: 0;
	background: #000 center/cover no-repeat;
	will-change: opacity, filter, background-position;
	transform: translateZ(0);
	opacity: 0;
}

#home .bg.show {
	opacity: 1;
}

/* 固定の名前リスト（常時表示） */
#home .creators-list {
	position: absolute;
	z-index: 5;
	top: min(8vh, 80px);
	left: min(6vw, 48px);
	right: min(6vw, 48px);
	color: #fff;
	font-weight: 800;
	pointer-events: none;
	/* 背景のみ操作可 */
}

#home .creators-list h2 {
	margin: 0 0 .6em;
	font-size: clamp(32px, 5vw, 56px);
	opacity: .85;
}

#home .creators-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#home .creators-list li {
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.5;
	color: #fff;
	transform: scale(1);
	transform-origin: left center;
	transition: color .22s ease, transform .22s ease;
}

#home .creators-list li.active {
	color: var(--green);
	transform: scale(1.5);
}

/* モーション配慮（必要なら） */
@media (prefers-reduced-motion: reduce) {

	#home .bg,
	#home .bg-next {
		will-change: auto;
	}
}

/* inner共通 */
#home .inner {
	position: relative;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding-inline: clamp(16px, 4vw, 40px);
	z-index: 4;
	/* 背景より上、リストより下なら調整 */
	box-sizing: border-box;
}

/* inner内のテキスト（例） */
#home .inner p {
	color: #fff;
	font-size: 1rem;
	line-height: 1.7;
	max-width: 50ch;
}

/* ----------------------------------------------------- lower contents */

/* ----------------------------------------- page.php */
.site-main {
	width: 1200px;
	margin: 100px auto 120px;
}

/* page-apparel main調整 */
.page-apparel {
	margin-top: 0px;
	margin-bottom: 120px;
}

@media (max-width:900px) {
	.site-main {
		width: 90%;
		margin-top: 40px;
	}

	body.single-post .site-main,
	body.page-template-default .site-main {
		margin-top: 80px;
	}
}

.site-main h1.page-title {
	font-size: clamp(32px, 5vw, 56px);
}

/* ----------------------------------------- single.php */

/* eye catch img */
/* アイキャッチを背景として表示 */
.post-thumb-bg {
	width: 100%;
	height: 400px;
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
}

@media (max-width:900px) {
	.post-thumb-bg {
		height: 250px;
	}
}

/* page-nation */
.entry-pagination {
	margin: 60px 0 2rem;
	text-align: center;
}

.entry-pagination .page-links-inner {
	display: inline-block;
	white-space: nowrap;
}

/* 矢印・数字すべて inline-block + vertical-align:middle */
.entry-pagination .arrow,
.entry-pagination .page-num {
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
	filter: brightness(0) saturate(100%);
}

/* 矢印サイズ */
.entry-pagination .arrow {
	width: 24px;
	height: 24px;
}

.entry-pagination .arrow img {
	width: 100%;
	height: auto;
}

/* 左矢印だけ水平方向に反転 */
.entry-pagination .arrow.prev img {
	transform: scaleX(-1);
}

/* 数字のデザイン */
.entry-pagination .page-num {
	padding: 0 .5rem;
	font-size: 1rem;
	font-weight: 400;
}

.entry-pagination .page-num[aria-current="page"] {
	font-weight: 700;
}

/* 投稿ページの本文内の画像を中央寄せ */
.post-content img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
}

/* 本文関係 */
.post-title {
	font-size: 14px;
}

.wp-block-heading {
	font-size: 18px;
}

@media (max-width: 900px) {
	.wp-block-heading {
		font-size: 14px;
	}
}

.post-content {
	font-size: 14px;
}

/* ----------------------------------------- archive.php */

/* ===== News 一覧（サムネ無し・PC/スマホ共通） ===== */
.news-archive .news-item {
	display: grid;
	grid-template-columns: 110px 1fr 28px;
	align-items: start;
	column-gap: 1rem;
	row-gap: .4rem;
	padding: 1rem 0;
	color: inherit;
	text-decoration: none;
}

.news-archive .news-date {
	white-space: nowrap;
	opacity: .9;
	font-size: 14px;
	line-height: 1.6;
}

.news-archive .news-text {
	line-height: 1.8;
}

.news-archive .news-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: .25rem;
}

.news-archive .news-excerpt {
	display: block;
}

.news-archive .arrow {
	width: 24px;
	height: 24px;
	align-self: center;
	justify-self: end;
	display: inline-flex;
}

.news-archive .arrow img {
	width: 100%;
	height: auto;
	display: block;
	filter: brightness(0) saturate(100%);
}

/* 下線（区切り） */
.news-archive .news-sep {
	border: 0;
	border-bottom: 1.5px solid var(--brand-black);
	margin: .75rem 0 0;
	opacity: .7;
}

/* =========================================================
   HOME だけに表示したいブロックを
   投稿ページ・アーカイブでは非表示にする
   ========================================================= */
body.archive .wrap.rule.rule-b.panels,
body.archive .wrap.rule.rule-b.news,
body.archive .wrap.rule.rule-b.brand-hero,
body.blog .wrap.rule.rule-b.panels,
body.blog .wrap.rule.rule-b.news {
	display: none !important;
}

/* =========================================================
   投稿一覧(blog) のフッター調整
   ========================================================= */
/* 後で直す:-) */
body.blog .site-footer .wrap.rule-b+.wrap.rule {
	border-top: 1px solid var(--brand-black) !important;
	border-bottom: 0 !important;
}

/* ----------------------------------------- template-parts/page-title.php */

/* ========================================
   ページタイトル (page-title.php)
   ======================================== */
.page-hero {
	width: 100%;
	height: 100px;
	border-bottom: 0px solid var(--brand-black);
	margin-top: 32px;
}

.page-hero .inner {
	max-width: 1200px;
	margin: 0 auto;
	height: 100%;
}

/* 横並び（左右カラム） */
.page-hero .hero-flex {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	position: relative;
	height: 100%;
}

/* 左カラム：タイトル上／リード下 */
.page-hero .hero-left {
	flex: 1;
	padding-right: 2rem;
	height: 100%;
	border-right: 0px solid var(--brand-black);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 30px 0px;
}

.page-hero .hero-title {
	font-size: 40px;
	font-weight: 700;
	margin: 0 0 1rem;
}

.page-hero .hero-lead {
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
}

/* 右カラム（空箱） */
.page-hero .hero-right {
	flex: 1;
	height: 100%;
	min-height: 150px;
}

/* ========== SP ========== */
@media (max-width: 900px) {
	.page-hero {
		height: auto;
		/* 固定高を解除 */
	}

	.page-hero .inner {
		height: auto;
	}

	.page-hero .hero-flex {
		flex-direction: column;
		height: 100px;
	}

	.page-hero .hero-right {
		display: none;
		/* 右カラム非表示 */
	}

	.page-hero .hero-left {
		border-right: 0;
		padding-right: 0;
		justify-content: flex-start;
		gap: .75rem;
		padding: 30px 0px 30px 16px;
	}

	.page-hero .hero-title {
		font-size: 2rem;
		margin-bottom: .25rem;
	}

	.page-hero .hero-lead {
		font-size: 3.5rem;
	}
}

/* titleの右 */
.hero-right {
	display: grid;
	place-items: center;
}

.hero-right__img {
	max-width: 90%;
	height: auto;
}

/* page-apparelだけ右を表示 */
@media (max-width: 900px) {
	.page-template-page-apparel .hero-right {
		display: block;
		padding-bottom: 15px;
	}

	.hero-right__img {
		max-width: 100%;
	}
}

/* ----------------------------------------- page-profile.php */
/* ===== Profile page ===== */

.profile-page {
	padding: 40px 0 80px;
}

.profile-inner {
	max-width: 960px;
	margin: 0 auto;
}

@media (max-width: 900px) {
	.profile-inner {
		margin-top: 40px;
	}
}

/* 上段レイアウト */
.profile-layout {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.profile-photo {
	flex: 0 0 260px;
}

.profile-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

/* 基本情報 */
.profile-meta {
	flex: 1;
}

.profile-name {
	margin: 0 0 16px;
}

.profile-name__jp {
	display: block;
	font-size: 32px;
	font-weight: 700;
}

.profile-name__en {
	display: block;
	font-size: 14px;
	letter-spacing: 0.15em;
	margin-top: 4px;
}

.profile-spec {
	margin: 0 0 16px;
}

.profile-spec__row {
	display: flex;
	gap: 16px;
	font-size: 14px;
	line-height: 1.6;
}

.profile-spec__row dt {
	width: 80px;
	font-weight: 600;
}

.profile-spec__row dd {
	margin: 0;
}

/* SNS */
.profile-sns {
	display: flex;
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.profile-sns a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 13px;
}

.profile-sns svg {
	width: 28px;
	height: 28px;
	fill: var(--brand);
}

/* ===== WORKS ===== */

.profile-works {
	margin-top: 40px;
	padding-top: 24px;
}

/* タイトル + タブを1行にまとめるラッパー */
.profile-works__head {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	margin: 0 0 16px;
}

.profile-works__title {
	font-size: 18px;
	margin: 0;
}

/* タブ → ページ内リンク用ナビ */
.profile-works-tabs {
	display: flex;
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.profile-works-tabs a {
	display: inline-flex;
	align-items: center;
	padding: 4px 0;
	font-size: 14px;
	letter-spacing: 0.1em;
	border-bottom: 2px solid transparent;
	text-decoration: none;
	color: inherit;
}

/* アイコンと文字の並び */
.profile-works-tabs i.fa {
	margin-right: 4px;
	font-size: 11px;
	position: relative;
	top: -1px;
}

/* 中身（全部表示） */
.profile-works-panels {
	font-size: 13px;
	line-height: 1.8;
}

/* 各セクション */
.profile-works-panel {
	margin-top: 24px;
	overflow-wrap: anywhere;
}

/* WORKS セクションの余白調整 */
.profile-works-panel {
	margin-top: 12px;
	padding: 8px 0;
}

/* 見出しの余白も調整 */
.profile-works-heading {
	background: var(--brand);
	color: #fff;
	margin: 0 0 6px;
	padding-left: 6px;
}

/* 本文の余白 */
.profile-works-body {
	margin: 0;
}


/* ===== SP ===== */
@media (max-width: 768px) {

	.profile-page {
		padding: 24px 0 40px;
	}

	.profile-layout {
		flex-direction: column;
	}

	.profile-photo {
		max-width: 260px;
		margin: 0 auto;
	}

	.profile-name__jp {
		font-size: 24px;
	}

	/* WORKS ヘッダーの並びを縦に */
	.profile-works__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.profile-works-panels {
		font-size: 13px;
	}
}


/* ACFの入力欄の年度の整列 */
.works-list {
	display: grid;
	grid-template-columns: 80px 1fr;
	/* 年 | 内容 */
	column-gap: 16px;
	row-gap: 4px;
}

.works-list dt {
	grid-column: 1;
	font-weight: 700;
	color: var(--brand);
	margin: 0;
	padding: 0;
	line-height: 1.4;
	align-self: start;
	/* ★ 年を上揃え */
}

.works-list dd {
	grid-column: 2;
	margin: 0 0 8px 0;
	line-height: 1.6;
}


/* ----------------------------------------- page-creators */
.page-creators {
	width: 100% !important;
}

/* =========================================================
   サムネイルカード型アーカイブ
   ========================================================= */
/* ============ 固定ページ一覧：横幅いっぱいカード ============ */
.thumb-archive {
	width: 100%;
	padding: 0 0;
}

.thumb-inner {
	margin: 0 auto;
	padding: 0 30px;
}

/* 5カラムグリッド（自動折り返し） */
.thumb-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
}

/* スマホ（900px以下） */
@media (max-width: 900px) {
	.thumb-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
}

/* カード全体：画像＋テキストを縦並びに */
.thumb-item {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	text-decoration: none;
	color: #000;
}

/* 背景画像部分（正方形） */
.thumb-bg {
	width: 100%;
	aspect-ratio: 1 / 1;
	background-size: cover;
	background-position: center;
	transition: transform .5s ease, filter .5s ease;
}

/* 画像が無い場合のプレースホルダー */
.thumb-bg.no-thumb {
	background: #d9d9d9;
}

/* hover時：画像だけ拡大＆少し明るく */
.thumb-item:hover .thumb-bg {
	filter: brightness(1.1);
}

/* タイトル用ラッパー
   → オーバーレイではなく通常フローで画像の下に表示 */
.thumb-overlay {
	position: static;
	inset: auto;
	display: block;
	padding: 10px 0 0;
	background: none;
}

/* タイトルテキスト（画像の下） */
.thumb-title {
	margin: 0;
	font-weight: 800;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--brand);
	/* 必要に応じて変更 */
	text-shadow: none;
}

/* 矢印アイコンを使う場合（今後用） */
.thumb-arrow {
	align-self: flex-end;
	display: inline-flex;
	width: 28px;
	height: 28px;
}

.thumb-arrow img {
	width: 100%;
	height: auto;
	filter: invert(1) brightness(2);
}

/* ページネーション（使わない場合は省略可） */
.thumb-pagination {
	margin-top: 2rem;
	text-align: center;
}

/* ----------------------------------------- page-apparel.php */

/* セクション全体 */
.apparel-row {
	padding: 10px 0;
}

.apparel-row__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	grid-template-rows: auto 1fr;
	gap: 40px;
	align-items: center;
}

/* 交互の左右切り替え（1行目は常に title） */
.apparel-row--image-left .apparel-row__inner {
	grid-template-areas:
		"title   title"
		"media   content";
}

.apparel-row--image-right .apparel-row__inner {
	grid-template-areas:
		"title   title"
		"content media";
}

.apparel-row__content {
	grid-area: content;
	text-align: center;
}

.apparel-row__media {
	grid-area: media;
}

/* タイトル（= sec1_title を出力する要素） */
.apparel-title {
	grid-area: title;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.05;
	font-weight: 800;
	margin: 0 0 28px;
}

/* ページ全体のH1（ヒーロー） */
.apparel-heading {
	font-size: clamp(32px, 5vw, 60px);
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
}

/* （使うなら）1段目のサブ見出しクラス */
.apparel-subheading {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 12px;
}

/* ロゴ・本文・画像 */
.apparel-logo {
	margin: 8px 0 16px;
}

.apparel-logo__img {
	display: block;
	height: auto;
	max-width: 320px;
}

.apparel-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

/* ▼ スマホでは「title → content → media」の縦並びに統一 */
@media (max-width: 960px) {
	.apparel-row__inner {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 24px;
	}

	.apparel-row--image-left .apparel-row__inner,
	.apparel-row--image-right .apparel-row__inner {
		grid-template-areas:
			"title"
			"media"
			"content";
	}
}

/* アパレル本文関係 */
.apparel-body {
	font-size: 14px;
}

/* ----------------------------------------- contact form 7 */

/* ======================================
   Contact ページ用レイアウト（page-template-default）
   ====================================== */

/* --- コンテナ全体（左右2カラム） --- */
.page-template-default .contact-layout {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 48px;
	align-items: start;
	grid-template-areas: "left right";
}

.page-template-default .contact-left {
	grid-area: left;
}

.page-template-default .contact-right {
	grid-area: right;
}

/* SP：フォーム → 会社情報 の順に並べ替え */
@media (max-width: 960px) {
	.page-template-default .contact-layout {
		grid-template-columns: 1fr;
		gap: 28px;
		grid-template-areas:
			"right"
			/* フォーム */
			"left";
		/* 会社情報 */
	}
}

/* --- 左カラム --- */
.page-template-default .contact-title {
	font-size: clamp(36px, 6vw, 64px);
	line-height: 1.05;
	font-weight: 800;
	margin: 0 0 14px;
}

.page-template-default .contact-lead {
	max-width: 46ch;
	margin: 0 0 24px;
}

.page-template-default .company-name {
	font-weight: 700;
	margin: 18px 0 6px;
}

.page-template-default .company-addr {
	margin: 0 0 14px;
}

.page-template-default .map-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #fff;
}

.page-template-default .map-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --- 右カラム：案内文 --- */
.page-template-default .contact-right .note {
	margin: 2px 0 18px;
	font-size: 14px;
}

/* --- 各フィールド行 --- */
.page-template-default .wpcf7 form .field-row {
	margin-bottom: 18px;
}

/* 2列フィールド（氏名・フリガナなど） */
.page-template-default .wpcf7 form .field-row.two {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 22px;
	align-items: start;
}

.page-template-default .wpcf7 form .field-row.two label {
	display: block;
	width: 100%;
}

.page-template-default .wpcf7 form .field-row.two .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* 1列フィールド */
.page-template-default .wpcf7 form .field-row.one {
	display: block;
}

/* ラベル共通 */
.page-template-default .wpcf7 form label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.4;
}

.page-template-default .wpcf7 form .req {
	background: #000;
	color: #fff;
	border-radius: 12px;
	font-size: .72rem;
	padding: 2px 8px;
	margin-left: .5em;
}

/* --- テキスト・メール・電話 下線スタイル --- */
.page-template-default .wpcf7 input[type="text"],
.page-template-default .wpcf7 input[type="email"],
.page-template-default .wpcf7 input[type="tel"] {
	width: 100%;
	box-sizing: border-box;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--brand);
	border-radius: 0;
	padding: 10px 0 8px;
	outline: none;
}

/* --- セレクトボックス --- */
.page-template-default .wpcf7 select {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--brand);
	padding: 10px 28px 8px 0;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 10l4 4 4-4' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 6px center;
}

/* --- テキストエリア --- */
.page-template-default .wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	background: #f7f0d9;
	border: 1.5px solid var(--brand);
	border-radius: 8px;
	padding: 12px 14px;
	min-height: 180px;
	outline: none;
}

/* --- 送信ボタン --- */
.page-template-default .wpcf7 .submit-row {
	margin-top: 16px;
	text-align: center;
}

.page-template-default .wpcf7 .btn-primary {
	display: inline-block;
	padding: 12px 34px;
	border: 1.5px solid var(--brand);
	border-radius: 999px;
	background: #f7f0d9;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
}

/* --- プライバシーノート --- */
.page-template-default .privacy-note {
	margin-top: 12px;
	font-size: 14px;
}

/* --- スマホレスポンシブ --- */
@media (max-width: 960px) {
	.page-template-default .contact-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.page-template-default .wpcf7 form .field-row.two {
		grid-template-columns: 1fr;
	}
}

/* 本文関係 */
.page-content {
	font-size: 14px;
}

/* ----------------------------------------------------- footer */

:root {
	--brand: #1a0089;
	--paper: #fffacd;
	--ink: #C73712;
	--container: 1200px;

	/* 矢印/パネル */
	--arrow-w: 48px;
	--arrow-h: 18px;
	--arrow-drop: 15px;
	--panel-pad-x: clamp(20px, 4vw, 40px);
	--panel-pad-y: clamp(24px, 4vw, 44px);

	/* ニュース下のロゴ帯 */
	--hero-logo-w: clamp(120px, 78vw, 280px);
	--hero-pad-top: clamp(24px, 6vw, 48px);
	--hero-pad-btm: 0px;
}

/* ===== Footer 全体（ここからスコープ） ===== */
.site-footer {
	margin: 0;
	background: var(--paper);
	line-height: 1.65;
}

/* a はフッター内だけ反映 */
.site-footer a {
	text-decoration: none;
}

/* 汎用レイアウト（フッター内だけ） */
.site-footer .wrap {
	width: 100%;
	margin: 0;
}

.site-footer .rule-b {
	border-bottom: 0px solid var(--brand-black);
}

.site-footer .wrap.rule-b+.wrap.rule {
	border-top: 0;
}

.site-footer .inner {
	--gutter: clamp(16px, 4vw, 28px);
	--bleed: calc(var(--gutter) + max((100vw - var(--container))/2, 0px));
	max-width: var(--container);
	margin: 0 auto;
	padding-inline: var(--gutter);
}

/* ===== 2カラム ===== */
.site-footer .bifold {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.site-footer .bifold .panel {
	position: relative;
	z-index: 0;
}

.site-footer .bifold .panel:first-child {
	border-right: 1px solid var(--brand-black);
}

.site-footer .panel-link {
	position: relative;
	display: block;
	min-height: 260px;
	padding-inline: var(--panel-pad-x);
	padding-block: var(--panel-pad-y);
	color: inherit;
	transition: color .22s ease;
}

.site-footer .panel:first-child .panel-link {
	width: calc(100% + var(--bleed));
	margin-left: calc(-1 * var(--bleed));
	padding-left: calc(var(--panel-pad-x) + var(--bleed));
}

.site-footer .panel:last-child .panel-link {
	width: calc(100% + var(--bleed));
	margin-right: calc(-1 * var(--bleed));
	padding-right: calc(var(--panel-pad-x) + var(--bleed));
}

.site-footer .panel-link::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--brand-black);
	opacity: 0;
	z-index: -1;
	pointer-events: none;
	transition: opacity .22s ease;
}

.site-footer .panel-link:hover,
.site-footer .panel-link:focus-visible {
	color: #fff;
}

.site-footer .panel-link:hover::before,
.site-footer .panel-link:focus-visible::before {
	opacity: 1;
}

.site-footer .h1 {
	font-weight: 900;
	letter-spacing: .5px;
	color: var(--brand-black);
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1.1;
	margin: 0 0 .6em;
	transition: color .22s ease;
}

.site-footer .panel-link:hover .h1,
.site-footer .panel-link:focus-visible .h1 {
	color: #fff;
}

.site-footer .lead {
	max-width: 58ch;
	position: relative;
	padding-right: calc(var(--arrow-w) + 14px);
	padding-bottom: calc(var(--arrow-drop) + 2px);
}

.site-footer .lead .arrow {
	position: absolute;
	right: 0;
	bottom: calc(-1 * var(--arrow-drop));
	width: var(--arrow-w);
	height: var(--arrow-h);
	color: currentColor;
	transform: translateX(0);
	transition: transform .22s cubic-bezier(.2, .7, .2, 1);
	pointer-events: none;
}

.site-footer .lead .arrow svg {
	width: 100%;
	height: 100%;
	display: block;
}

.site-footer .panel-link:hover .arrow,
.site-footer .panel-link:focus-visible .arrow {
	transform: translateX(6px);
}

/* 矢印 */
/* 初期状態（ブランドカラー） */
.panel-link .arrow img {
	display: inline-block;
	vertical-align: middle;
	transition: filter 0.25s ease;
	filter: brightness(0) saturate(100%);
}

/* hover 時に白っぽく見せる */
.panel-link:hover .arrow img {
	filter: brightness(0) invert(1);
}

/* セクション全体を中央寄せ＆十分な高さ */
.panels-apparel {
	padding: 0px 0;
	border-top: 1px solid var(--brand);
	background: var(--bg);
}

/* ── レイアウト：2カラム＋中央縦線 ───────────── */
.panels-apparel .inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr;
	align-items: center;
	justify-items: stretch;
	min-height: 600px;
}

/* 縦ライン */
.panels-apparel .inner::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: var(--brand);
}

/* 見出し */
.panels-apparel__title {
	grid-column: 1 / 2;
	grid-row: 1;
	font-size: 56px;
	font-weight: 900;
	margin: 20px 0 .4em;
	text-align: left;
}

/* ロゴリスト */
.panels-apparel__brands {
	grid-column: 1 / 3;
	grid-row: 2;
	list-style: none;
	margin: 0;
	padding: 0;
	display: contents;
}

/* ロゴ配置 */
.panels-apparel__brands li {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 80px;
}

/* 左ロゴ / 右ロゴ */
.panels-apparel__brands li:first-child {
	grid-column: 1 / 2;
}

.panels-apparel__brands li:last-child {
	grid-column: 2 / 3;
}

/* ロゴサイズ */
.panels-apparel__brands img {
	height: clamp(90px, 12vw, 140px);
	width: auto;
	transition: transform .2s ease;
}

/* ── SP版 ───────────────────────── */
@media (max-width: 900px) {
	.panels-apparel .inner {
		min-height: 320px;
	}

	.panels-apparel__title {
		font-size: 32px;
	}

	.panels-apparel__brands li {
		padding-bottom: 40px;
	}
}

/* トップページ用 */
/* ===== Creators ===== */
.site-footer .creators {
	margin-top: calc(-1 * var(--peek-news));
	position: relative;
	z-index: 3;
	border-top: 0px solid var(--brand) !important;
	border-bottom: 0px solid var(--brand) !important;
}

.site-footer .creators {
	padding: 20px 0px 0px 0px;
}

.site-footer .creators .title {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 900;
	margin: 0 0 .4em;
}

/* ===== Creators button ===== */
.site-footer .creators-button {
	margin-top: calc(-1 * var(--peek-news));
	position: relative;
	z-index: 3;
	border-top: 0px solid var(--brand) !important;
	border-bottom: 0px solid var(--brand) !important;
}

.site-footer .creators-button {
	padding: 20px 0px 40px 0px;
}

/* ===== News ===== */
.site-footer .news {
	margin-top: calc(-1 * var(--peek-news));
	position: relative;
	z-index: 3;
}

.site-footer .news {
	padding: 20px 0px 40px 0px;
}

.site-footer .news .title {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 900;
	margin: 0 0 .4em;
}

.site-footer .news-list {
	height: 100%;
	padding-bottom: 10px;
}

/* WebKit 系 (Chrome / Edge / Safari) */
.site-footer .news-list::-webkit-scrollbar {
	width: 6px;
}

.site-footer .news-list::-webkit-scrollbar-track {
	background: transparent;
}

.site-footer .news-list::-webkit-scrollbar-thumb {
	background: var(--brand-black);
	border-radius: 4px;
}

/* NEWS並び順 */
.news-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: #000;
	text-decoration: none;
	transition: color 0.3s ease;
}

/* 矢印アイコン：右にスライド＋色変更 */
.news-item .arrow img {
	width: 14px;
	height: auto;
	display: block;
	transition: transform 0.3s ease, filter 0.3s ease;
}

/* フッターの News 一覧：日付の下にタイトルを出す */
.site-footer .news-item {
	display: block;
	padding-block: 6px;
}

.site-footer .news-date {
	white-space: nowrap;
	opacity: .95;
	font-weight: bold;
	font-size: 1.4em;
	color: var(--brand);
}

/* 右下ボタン */
.news-more {
	text-align: right;
	margin-top: 1.5em;
}

.news-link {
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	color: #1a0089;
	text-decoration: none;
	transition: color .2s ease, transform .2s ease;
}

.news-link .arrow-icon {
	width: 24px;
	height: auto;
	margin-left: 8px;
	transition: transform .2s ease;
}

/* ===== ニュース下の“ロゴ帯” ===== */
.site-footer .brand-hero {
	padding-top: 0px;
	border-top: 0px solid var(--brand-black);
	border-bottom: 0px solid var(--brand-black);
}

.site-footer .brand-hero .hero-logo {
	display: block;
	width: 800px;
	height: auto;
	max-width: 100%;
	padding-left: 0px;
	margin: 0 auto;
	position: relative;
	bottom: -10px;
}

@media (max-width:900px) {
	.site-footer .brand-hero .hero-logo {
		bottom: -10px;
	}
}

/* フッター背景色とロゴの色調整 */
.footer-logo {
	background: var(--brand);
}

.footer-logo img {
	filter: brightness(0) invert(1) !important;
}

/* ===== Footer 情報エリア ===== */
.site-footer {
	background: var(--paper);
}

.site-footer .footer-top {
	padding: 20px 0px 20px 0px;
	border-top: 0px固 var(--brand);
	background-color: var(--brand);
}

@media (max-width:900px) {
	.site-footer .footer-top {
		padding: 0px 0px 20px 0px;
	}
}

.site-footer .footer-bottom {
	padding: 10px 0 22px;
	font-size: 12px;
	background: var(--brand);
}

.site-footer .foot-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 22px;
	align-items: start;
	padding: 0px 10px;
}

.site-footer .footer-left {
	display: block;
}

.site-footer .company {
	margin-top: 10px;
	font-size: 14px;
}

.site-footer .company h4 {
	margin: 0 0 6px;
	font-size: 18px;
}

.site-footer .company ul {
	margin: 10px 0 0 1em;
	padding: 0;
}

.site-footer .company li {
	margin: .35em 0;
}

.site-footer .footer-nav {
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: flex-end;
}

.site-footer .footer-links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	justify-content: flex-end;
	font-size: 14px;
	font-weight: 700;
}

.site-footer .footer-links a {
	color: var(--pill);
}

.site-footer .footer-sub {
	display: flex;
	gap: 18px;
	font-size: 14px;
	font-weight: 700;
}

.site-footer .footer-sub a {
	color: var(--pill);
}

.site-footer .sns {
	display: flex;
	gap: 18px;
	margin-top: 6px;
}

.site-footer .sns a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	outline: none;
}

.site-footer .sns a:hover {
	outline: 2px solid var(--brand-black);
	outline-offset: 2px;
	border-radius: 10px;
}

.site-footer .sns svg {
	width: 20px;
	height: 20px;
}

.site-footer .footer-bottom .inner-btm {
	display: flex;
	justify-content: flex-end;
	padding-inline: clamp(16px, 4vw, 28px);
	font-weight: 700;
	color: var(--pill);
}

/* ===== PC：Apparel / Contact のテキスト開始位置を News 左端に合わせ ===== */
@media (min-width:901px) {

	.site-footer .panels .panel .panel-link {
		padding: var(--panel-pad-y) 0;
	}

	/* 左カラム：はみ出し維持＋テキスト開始 = var(--gutter) */
	.site-footer .panels .panel:first-child .panel-link {
		width: calc(100% + var(--bleed));
		margin-left: calc(-1 * var(--bleed));
		margin-right: 0;
		padding-left: calc(var(--gutter) + var(--bleed));
		padding-right: var(--gutter);
	}

	/* 右カラム：はみ出し維持＋テキスト終端 = var(--gutter) */
	.site-footer .panels .panel:last-child .panel-link {
		width: calc(100% + var(--bleed));
		margin-right: calc(-1 * var(--bleed));
		margin-left: 0;
		padding-right: calc(var(--gutter) + var(--bleed));
		padding-left: var(--gutter);
	}

	/* Apparel だけ中身を 30px 左へ（背景はズレない） */
	.site-footer .panels .bifold .panel:first-child .panel-link {
		left: 0;
	}

	/* 念のためリセット */
	.site-footer .panels .bifold .panel:first-child .panel-link>* {
		transform: translateX(-30px);
	}
}

/* ===== PC ===== */
/* panels は常に横スクロール禁止 */
.site-footer .panels {
	overflow-x: clip;
}

/* overflow-x: clip が使えないブラウザ用フォールバック */
@supports not (overflow-x: clip) {
	.site-footer .panels {
		overflow-x: hidden;
	}
}

/* ===== SP ===== */
@media (max-width:900px) {
	.site-footer .panels {
		overflow-x: clip;
	}
}

@supports not (overflow-x: clip) {
	@media (max-width:900px) {
		.site-footer .panels {
			overflow-x: hidden;
		}
	}
}

@media (max-width:900px) {
	.site-footer .panels>.inner {
		padding: 0px 20ox;
	}

	.site-footer .panels .panel .panel-link {
		width: calc(100% + (var(--bleed) * 2) - 1px);
		margin-left: calc(-1 * var(--bleed));
		margin-right: calc(-1 * var(--bleed));
		padding-left: calc(var(--gutter) + var(--bleed));
		padding-right: calc(var(--gutter) + var(--bleed));
		padding-block: var(--panel-pad-y);
	}

	.site-footer .panels .panel .panel-link::before {
		left: 0;
		right: 0;
		width: auto;
		transform: none;
	}

	.site-footer .bifold {
		grid-template-columns: 1fr;
	}

	.site-footer .bifold .panel:first-child {
		border-right: 0;
	}

	.site-footer .bifold .panel+.panel {
		border-top: none;
		position: relative;
	}

	.site-footer .bifold .panel+.panel::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 100%;
		height: 0px;
		background: var(--brand);
		pointer-events: none;
	}

	.site-footer .foot-grid {
		grid-template-columns: 1fr;
	}

	.site-footer .footer-nav {
		align-items: flex-start;
	}

	.site-footer .footer-links {
		justify-content: flex-start;
	}
}

/* ===== モーション削減 ===== */
@media (prefers-reduced-motion: reduce) {

	.site-footer .panel-link,
	.site-footer .panel-link::before,
	.site-footer .arrow {
		transition: none !important;
	}
}

/* ----------------------------------------------------- wordpress default */
/* 管理バーを下に固定 */
body.admin-bar #wpadminbar {
	position: fixed;
	top: auto;
	bottom: 0;
}

/* リンク押せなくする */
.disabled {
	pointer-events: none;
	/* ←クリック無効 */
	cursor: default;
	/* ←カーソルを通常矢印に */
}