@charset "UTF-8";

/* ==========================================================================
   ARTIKS Base
   リセット、基本タイポグラフィ、本文(the_content)スタイル、
   および親テーマ PHP が出力するマークアップの最低限のスタイル。
   ========================================================================== */

/* --- Reset --------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	min-height: 100%;
	overflow-x: hidden;
	background-color: var(--c-bg);
	background-image:
		radial-gradient(circle at 12% -6%, rgba(212, 175, 53, 0.09), transparent 42%),
		linear-gradient(180deg, #17120c 0%, #120f0a 62%, #0f0c08 100%);
	background-attachment: fixed;
	color: var(--c-text);
	font-family: var(--ff-jp);
	font-size: var(--fs-body);
	line-height: var(--lh-normal);
	font-feature-settings: 'palt' 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* 日本語の折り返し制御 */
body,
p,
li,
dd,
dt,
th,
td,
figcaption {
	line-break: strict;
	word-break: normal;
	overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--c-text-strong);
	font-weight: 600;
	line-height: var(--lh-tight);
	letter-spacing: 0.01em;
	text-wrap: balance;
}

p,
ul,
ol,
dl,
figure,
blockquote,
pre,
table {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

img,
svg,
video,
canvas,
iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
	border: 0;
	background: none;
	padding: 0;
}

input,
textarea,
select {
	font: inherit;
	font-size: max(16px, 1em); /* iOS のフォーカス時ズームを防ぐ */
	color: inherit;
}

:lang(en),
.a-en {
	font-family: var(--ff-en);
}

/* --- Focus --------------------------------------------------------------- */

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--c-primary-bright);
	outline-offset: 3px;
	border-radius: 6px;
}

/* --- Utilities ----------------------------------------------------------- */

.a-visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.a-skip {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: var(--z-skip);
	padding: 12px 20px;
	border-radius: var(--r-pill);
	background: var(--c-primary);
	color: #17120c;
	font-weight: 700;
	transform: translateY(-160%);
	transition: transform var(--dur) var(--ease);
}

.a-skip:focus-visible {
	transform: translateY(0);
}

.a-clamp-2 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.a-clamp-3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.clearfix::after {
	content: '';
	display: table;
	clear: both;
}

/* ==========================================================================
   本文(the_content)
   固定ページ・投稿本文はここだけで完結させる。ガラス面は使わない。
   ========================================================================== */

.a-prose {
	color: var(--c-muted-strong);
	font-size: var(--fs-body);
	line-height: var(--lh-relaxed);
}

.a-prose > * + * {
	margin-top: 1.4em;
}

.a-prose h1,
.a-prose h2,
.a-prose h3,
.a-prose h4,
.a-prose h5,
.a-prose h6 {
	margin-top: 2.2em;
	margin-bottom: 0.8em;
	color: var(--c-text-strong);
	line-height: var(--lh-tight);
}

.a-prose > :first-child {
	margin-top: 0;
}

.a-prose h2 {
	position: relative;
	padding-bottom: 0.55em;
	font-size: var(--fs-h2);
	border-bottom: 1px solid var(--c-hairline);
}

.a-prose h2::after {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	bottom: -1px;
	width: 3.5rem;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--c-primary), rgba(212, 175, 53, 0));
}

.a-prose h3 {
	padding-inline-start: 0.7em;
	font-size: var(--fs-h3);
	border-inline-start: 3px solid var(--c-primary);
}

.a-prose h4 {
	font-size: 1.0625rem;
	color: var(--c-primary-bright);
}

.a-prose a {
	color: var(--c-primary-bright);
	text-decoration: underline;
	text-underline-offset: 0.22em;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(232, 201, 95, 0.4);
}

.a-prose a:hover {
	text-decoration-color: currentColor;
}

.a-prose strong,
.a-prose b {
	color: var(--c-text-strong);
	font-weight: 700;
}

.a-prose ul,
.a-prose ol {
	padding-inline-start: 1.4em;
}

.a-prose ul {
	list-style: none;
}

.a-prose ul > li {
	position: relative;
}

.a-prose ul > li::before {
	content: '';
	position: absolute;
	inset-inline-start: -1.05em;
	top: 0.72em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c-primary);
}

.a-prose ol {
	list-style: decimal;
}

.a-prose ol::marker,
.a-prose li::marker {
	color: var(--c-primary);
}

.a-prose li + li {
	margin-top: 0.5em;
}

.a-prose blockquote {
	padding: var(--space-card);
	border-inline-start: 3px solid var(--c-primary);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	background: rgba(255, 255, 255, 0.03);
	color: var(--c-muted);
	font-style: normal;
}

.a-prose img,
.a-prose figure img {
	border-radius: var(--r-md);
}

.a-prose figure {
	margin-inline: 0;
}

.a-prose figcaption,
.a-prose .wp-caption-text {
	margin-top: 0.7em;
	color: var(--c-muted);
	font-size: var(--fs-sm);
	text-align: center;
}

.a-prose hr {
	height: 1px;
	margin-block: 2.5em;
	border: 0;
	background: var(--c-hairline);
}

.a-prose code {
	padding: 0.15em 0.45em;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.07);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.a-prose pre {
	padding: var(--space-card);
	overflow-x: auto;
	border: 1px solid var(--c-hairline);
	border-radius: var(--r-md);
	background: var(--c-bg-deep);
	font-size: var(--fs-sm);
	line-height: 1.7;
}

.a-prose pre code {
	padding: 0;
	background: none;
}

/* 表はスマホでも横スクロールで読めるようにする */
.a-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-sm);
}

.a-prose table th,
.a-prose table td {
	padding: 0.85em 1em;
	border: 1px solid var(--c-hairline);
	text-align: start;
	vertical-align: top;
}

.a-prose table th {
	background: rgba(255, 255, 255, 0.04);
	color: var(--c-text-strong);
	font-weight: 600;
	white-space: nowrap;
}

.a-prose .a-table-scroll,
.a-prose .table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.a-prose iframe,
.a-prose video {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: var(--r-md);
}

.a-prose .wp-block-embed__wrapper,
.a-prose .wp-video,
.a-prose .video-container {
	position: relative;
}

/* --- WordPress コアクラス ------------------------------------------------ */

.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.alignwide,
.alignfull {
	max-width: 100%;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption img {
	margin-inline: auto;
}

.gallery {
	display: grid;
	gap: var(--gap-sm);
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* ブロックエディタのボタン */
.wp-block-button__link,
.a-prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 2rem;
	border-radius: var(--r-pill);
	background: linear-gradient(135deg, var(--c-primary-bright), var(--c-primary));
	color: #17120c;
	font-weight: 700;
	text-decoration: none;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--c-border);
	background: transparent;
	color: var(--c-text-strong);
}

.gallery-item {
	margin: 0 !important;
	width: auto !important;
}

.gallery-item img {
	width: 100%;
	border-radius: var(--r-sm);
}

.sticky,
.bypostauthor {
	/* WordPress テーマ要件のためのプレースホルダ */
}

@media (max-width: 599px) {
	.alignleft,
	.alignright {
		float: none;
		margin-inline: auto;
	}
}

/* ==========================================================================
   親テーマ関数が出力するマークアップ
   (bzb_breadcrumb / bzb_get_cta / bzb_social_buttons / content-none)
   親テーマ CSS を読み込まないため、必要な分だけここで定義する。
   ========================================================================== */

/* --- パンくず ------------------------------------------------------------ */

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35em 0.65em;
	margin: 0;
	padding: 0;
	color: var(--c-muted);
	font-size: var(--fs-xs);
	list-style: none;
}

.breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}

.breadcrumb li + li::before {
	content: '/';
	color: rgba(212, 175, 53, 0.5);
}

.breadcrumb a:hover {
	color: var(--c-primary-bright);
}

.breadcrumb .fa {
	color: var(--c-primary);
}

/* --- CTA ブロック --------------------------------------------------------- */

.post-cta {
	margin-top: var(--space-card);
	padding: var(--space-card);
	border: 1px solid var(--c-border);
	border-radius: var(--r-lg);
	background: var(--c-surface);
}

.post-cta .cta-post-title {
	margin-bottom: 0.8em;
	font-size: var(--fs-h3);
	color: var(--c-text-strong);
}

.post-cta .post-cta-cont {
	color: var(--c-muted-strong);
	line-height: var(--lh-normal);
}

.post-cta .post-cta-img {
	margin-bottom: 1.2em;
}

.post-cta .post-cta-img img {
	width: 100%;
	border-radius: var(--r-md);
}

.post-cta .post-cta-btn {
	margin-top: 1.4em;
}

.post-cta .post-cta-btn .button,
.a-prose .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 2rem;
	border-radius: var(--r-pill);
	background: linear-gradient(135deg, var(--c-primary-bright), var(--c-primary));
	color: #17120c;
	font-weight: 700;
	text-decoration: none;
}

.post-cta .post-cta-btn .button:hover,
.a-prose .button:hover {
	filter: brightness(1.08);
}

@media (min-width: 700px) {
	.post-cta .post-cta-img {
		float: left;
		width: 40%;
		margin: 0 1.5rem 1rem 0;
	}
}

/* --- ソーシャルボタン ------------------------------------------------------ */

.post-sns ul,
.sns-btn ul,
#footer-sns ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap-sm);
	padding: 0;
	list-style: none;
}

.post-sns li,
.sns-btn li {
	margin: 0;
}

.post-sns a,
.sns-btn a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 40px;
	min-width: 44px;
	padding: 0 0.9em;
	border: 1px solid var(--c-hairline);
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.04);
	color: var(--c-muted);
	font-size: var(--fs-xs);
}

.post-sns a:hover,
.sns-btn a:hover {
	border-color: var(--c-border);
	color: var(--c-primary-bright);
}

/* --- 投稿が無いとき (content-none) ----------------------------------------- */

.content-none {
	color: var(--c-muted-strong);
	line-height: var(--lh-relaxed);
}

.content-none > * + * {
	margin-top: 1.4em;
}

.content-none h2 {
	margin-top: 2.2em;
	margin-bottom: 0.8em;
	font-size: var(--fs-h3);
	color: var(--c-primary-bright);
}

.content-none ul,
.content-none ol {
	padding-inline-start: 1.4em;
	list-style: revert;
}

.content-none li + li {
	margin-top: 0.4em;
}

.content-none a:hover {
	color: var(--c-primary-bright);
	text-decoration: underline;
}

/* --- 検索フォーム ---------------------------------------------------------- */

.a-searchform,
.searchform,
.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
}

.search-form label {
	flex: 1 1 auto;
	min-width: 0;
}

.search-form .search-field {
	width: 100%;
}

.a-searchform input[type='search'],
.a-searchform input[type='text'],
.searchform input[type='search'],
.searchform input[type='text'],
.search-form input[type='search'],
.search-form input[type='text'] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 48px;
	padding: 0 1.1rem;
	border: 1px solid var(--c-hairline);
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.05);
	color: var(--c-text);
}

.a-searchform input::placeholder,
.searchform input::placeholder,
.search-form input::placeholder {
	color: rgba(201, 189, 169, 0.6);
}

.a-searchform button,
.a-searchform input[type='submit'],
.searchform input[type='submit'],
.search-form input[type='submit'],
.search-form button[type='submit'] {
	min-height: 48px;
	padding: 0 1.5rem;
	border: 0;
	border-radius: var(--r-pill);
	background: linear-gradient(135deg, var(--c-primary-bright), var(--c-primary));
	color: #17120c;
	font-weight: 700;
	cursor: pointer;
}

/* --- コメント -------------------------------------------------------------- */

.a-comments {
	margin-top: var(--space-card);
	padding-top: var(--space-card);
	border-top: 1px solid var(--c-hairline);
}

.a-comments input[type='text'],
.a-comments input[type='email'],
.a-comments input[type='url'],
.a-comments textarea {
	width: 100%;
	padding: 0.8rem 1.1rem;
	border: 1px solid var(--c-hairline);
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, 0.05);
	color: var(--c-text);
}

.a-comments .submit,
.a-comments input[type='submit'] {
	min-height: 48px;
	padding: 0 2rem;
	border: 0;
	border-radius: var(--r-pill);
	background: linear-gradient(135deg, var(--c-primary-bright), var(--c-primary));
	color: #17120c;
	font-weight: 700;
	cursor: pointer;
}

/* --- お問い合わせフォーム(本文埋め込み) ------------------------------------ */

.a-contact-form input[type='text'],
.a-contact-form input[type='email'],
.a-contact-form input[type='tel'],
.a-contact-form input[type='url'],
.a-contact-form input[type='date'],
.a-contact-form select,
.a-contact-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1.1rem;
	border: 1px solid var(--c-hairline);
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, 0.05);
	color: var(--c-text);
	transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.a-contact-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.a-contact-form :is(input, select, textarea):focus-visible {
	border-color: var(--c-primary);
	background: rgba(255, 255, 255, 0.08);
	outline-offset: 1px;
}

.a-contact-form label {
	display: block;
	margin-bottom: 0.4em;
	color: var(--c-text-strong);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.a-contact-form p {
	margin-bottom: 1.1rem;
}

.a-contact-form :is(input[type='submit'], button[type='submit']) {
	width: 100%;
	min-height: 52px;
	border: 0;
	border-radius: var(--r-pill);
	background: linear-gradient(135deg, var(--c-primary-bright), var(--c-primary));
	color: #17120c;
	font-weight: 700;
	cursor: pointer;
}
