/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: "游ゴシック体", "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	font-weight: 400;
	color: #1a1a1a;
	background: #ffffff;
	line-height: 1.8;
	letter-spacing: 0.04em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	opacity: 0.7;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	list-style: none;
}

/* ===========================
   Layout
=========================== */
.container {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 40px;
}

.container--narrow {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 40px;
}

/* ===========================
   Header
=========================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: 1px solid #e8e8e8;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 88px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 48px;
	box-sizing: border-box;
}

.site-header__logo {
	display: flex;
	align-items: center;
	height: 100%;
}

.site-header__logo a {
	font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "YuMincho", serif;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.35em;
	color: #1a1a1a;
	padding-left: 0.35em;
}

/* ===========================
   Global Navigation
=========================== */
.global-nav {
	display: flex;
	align-items: center;
	gap: 0;
}

.global-nav__list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.global-nav__item {
	position: relative;
	list-style: none;
}

.global-nav__link {
	display: block;
	padding: 0 22px;
	height: 88px;
	line-height: 88px;
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	color: #1a1a1a;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.global-nav__link:hover {
	opacity: 0.5;
}

/* WordPressメニュー（固定ページ）をナビ用スタイルに合わせる */
.global-nav__list > li.menu-item {
	position: relative;
	display: flex;
	align-items: stretch;
	list-style: none;
}

.global-nav__list > li.menu-item > a {
	display: flex;
	align-items: center;
	padding: 0 22px;
	height: 88px;
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	color: #1a1a1a;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.global-nav__list > li.menu-item > a:hover {
	opacity: 0.5;
}

/* Dropdown */
.global-nav__dropdown {
	display: none;
	position: absolute;
	top: 88px;
	left: 0;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-top: none;
	min-width: 200px;
	z-index: 200;
}

.global-nav__item:hover .global-nav__dropdown {
	display: block;
}

.global-nav__dropdown a {
	display: block;
	padding: 12px 20px;
	font-size: 0.8125rem;
	color: #1a1a1a;
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.15s;
}

.global-nav__dropdown a:last-child {
	border-bottom: none;
}

.global-nav__dropdown a:hover {
	background: #f8f8f8;
	opacity: 1;
}

/* Hamburger */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}

.hamburger__line {
	display: block;
	width: 100%;
	height: 1.5px;
	background: #1a1a1a;
	transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
	opacity: 0;
}
.hamburger.is-active .hamburger__line:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
	display: none;
	position: fixed;
	top: 88px;
	left: 0;
	width: 100%;
	height: calc(100vh - 88px);
	background: #ffffff;
	z-index: 99;
	overflow-y: auto;
	padding: 32px 24px 40px;
}

.mobile-nav.is-open {
	display: block;
}

.mobile-nav__group {
	margin-bottom: 32px;
}

.mobile-nav__label {
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	color: #999;
	margin-bottom: 12px;
}

.mobile-nav__group a {
	display: block;
	font-size: 0.9375rem;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	color: #1a1a1a;
}

.mobile-nav__group a:last-child {
	border-bottom: none;
}

/* WordPressメニュー（固定ページ・スマホ） */
.mobile-nav__menu {
	list-style: none;
}

.mobile-nav__menu .menu-item a {
	display: block;
	font-size: 0.9375rem;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	color: #1a1a1a;
}

.mobile-nav__menu .menu-item:last-child a {
	border-bottom: none;
}

/* ===========================
   Home: Article List
=========================== */
.home-archive {
	padding: 72px 0 40px;
}

.home-archive .container {
	max-width: 1280px;
	padding: 0 48px;
}

.home-archive__header {
	margin-bottom: 60px;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 72px 48px;
}

.article-card {
	display: block;
}

.article-card__image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 24px;
	background: #f2f2f2;
}

.article-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.article-card:hover .article-card__image img {
	transform: scale(1.04);
}

/* タイトル */
.article-card__title {
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.55;
	color: #1a1a1a;
	letter-spacing: 0.03em;
	margin-bottom: 18px;
}

/* 下部メタ：場所 ｜ 公開日 */
.article-card__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.8125rem;
	color: #999;
	letter-spacing: 0.04em;
}

.article-card__label {
	color: #666;
}

.article-card__sep {
	color: #d8d8d8;
}

.article-card__date {
	color: #999;
}

/* No thumbnail placeholder */
.article-card__image--no-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
}

.article-card__image--no-thumb::after {
	content: '';
	display: block;
}

/* ===========================
   Single Article
=========================== */
.single-article {
	padding: 80px 0;
}

.article-header {
	margin-bottom: 48px;
}

.article-header__subtitle {
	font-size: 0.8125rem;
	color: #999;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}

.article-header__title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	margin-bottom: 24px;
}

.article-header__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 0.8125rem;
	color: #999;
}

.article-eyecatch {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 64px;
	background: #f0f0f0;
}

.article-eyecatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Article Body */
.article-body {
	font-size: 1rem;
	line-height: 1.9;
	color: #1a1a1a;
}

.article-body p {
	margin-bottom: 1.75em;
}

.article-body h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-top: 3em;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #e8e8e8;
	letter-spacing: 0.02em;
}

.article-body h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	margin-top: 2.5em;
	margin-bottom: 0.75em;
}

.article-body img {
	width: 100%;
	margin: 2.5em 0;
}

.article-body figure {
	margin: 2.5em 0;
}

.article-body figcaption {
	font-size: 0.8125rem;
	color: #999;
	margin-top: 8px;
	text-align: center;
}

/* Company Info Box */
.company-info {
	margin-top: 80px;
	padding: 40px;
	border: 1px solid #e8e8e8;
}

.company-info__title {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: #999;
	margin-bottom: 24px;
}

.company-info__table {
	width: 100%;
	border-collapse: collapse;
}

.company-info__table th,
.company-info__table td {
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 0.875rem;
	text-align: left;
	vertical-align: top;
}

.company-info__table th {
	width: 120px;
	color: #999;
	font-weight: 400;
}

/* Recruit Box */
.recruit-info {
	margin-top: 32px;
	padding: 32px 40px;
	background: #f8f8f8;
}

.recruit-info__title {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: #999;
	margin-bottom: 16px;
}

.recruit-info__link {
	display: inline-block;
	font-size: 0.875rem;
	color: #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
	padding-bottom: 2px;
}

/* ===========================
   Taxonomy Archive
=========================== */
.taxonomy-archive {
	padding: 80px 0;
}

.taxonomy-archive__header {
	margin-bottom: 60px;
	padding-bottom: 32px;
	border-bottom: 1px solid #e8e8e8;
}

.taxonomy-archive__label {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	color: #999;
	margin-bottom: 12px;
}

.taxonomy-archive__title {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* ===========================
   Page (About等)
=========================== */
.page-content {
	padding: 80px 0;
}

.page-content__title {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 48px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e8e8e8;
}

.page-body {
	font-size: 1rem;
	line-height: 1.9;
}

.page-body p {
	margin-bottom: 1.75em;
}

/* Privacy Policy */
.privacy-policy p {
	margin-bottom: 1.5em;
	line-height: 1.9;
}

.privacy-policy h2 {
	font-size: 1rem;
	font-weight: 700;
	margin-top: 2.5em;
	margin-bottom: 0.75em;
	padding-left: 0.75em;
	border-left: 3px solid #1a1a1a;
}

.privacy-policy ul {
	list-style: disc;
	padding-left: 1.5em;
	margin-bottom: 1.5em;
}

.privacy-policy ul li {
	margin-bottom: 0.5em;
	line-height: 1.8;
}

.privacy-policy__date {
	margin-top: 3em;
	font-size: 0.875rem;
	color: #666;
}

/* ===========================
   固定ページ内のコンテンツ（ブロックエディタ）
=========================== */

/* テーブル（メディア概要などを洗練された見た目に） */
.page-body .wp-block-table {
	margin: 2.5em 0;
}

.page-body .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}

.page-body .wp-block-table td,
.page-body .wp-block-table th {
	border: none;
	border-bottom: 1px solid #e8e8e8;
	padding: 18px 12px;
	font-size: 0.95rem;
	line-height: 1.7;
	text-align: left;
	vertical-align: top;
}

/* ヘッダー行（項目／内容など）がある場合 */
.page-body .wp-block-table thead th {
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	color: #1a1a1a;
	border-bottom: 2px solid #1a1a1a;
	padding-bottom: 12px;
}

/* 左列（項目名）を控えめなラベルに */
.page-body .wp-block-table tbody td:first-child {
	width: 30%;
	color: #999;
	font-size: 0.85rem;
	white-space: nowrap;
}

/* 最終行の下線を消す */
.page-body .wp-block-table tbody tr:last-child td {
	border-bottom: none;
}

/* ボタンブロック（お問い合わせ誘導などを黒の角丸ボタンに） */
.page-body .wp-block-button__link {
	display: inline-block;
	padding: 16px 48px;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	border-radius: 4px;
	transition: opacity 0.2s;
}

.page-body .wp-block-button__link:hover {
	opacity: 0.8;
}

/* 画像ブロック（プロフィール写真などを角丸に） */
.page-body .wp-block-image img {
	border-radius: 4px;
}

/* スマホ：テーブルを縦積みにして圧縮を防ぐ */
@media (max-width: 600px) {
	.page-body .wp-block-table thead {
		display: none;
	}

	.page-body .wp-block-table tbody tr {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid #e8e8e8;
	}

	.page-body .wp-block-table tbody tr:last-child {
		border-bottom: none;
	}

	.page-body .wp-block-table td {
		display: block;
		border: none;
		padding: 2px 0;
	}

	.page-body .wp-block-table tbody td:first-child {
		width: auto;
		font-size: 0.72rem;
		color: #999;
		margin-bottom: 3px;
		letter-spacing: 0.05em;
	}
}

.page-body h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-top: 3em;
	margin-bottom: 1em;
}

/* ===========================
   Contact Form 7
=========================== */
.page-body .wpcf7 {
	margin-top: 48px;
}

.cf7-field {
	margin-bottom: 32px;
}

.cf7-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
	color: #1a1a1a;
}

span.cf7-required {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 400;
	color: #b00;
	border: 1px solid #b00;
	border-radius: 2px;
	padding: 1px 6px;
	margin-left: 6px;
	vertical-align: middle;
}

span.cf7-optional {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 400;
	color: #999;
	border: 1px solid #ccc;
	border-radius: 2px;
	padding: 1px 6px;
	margin-left: 6px;
	vertical-align: middle;
}

/* CF7が出力するspanのリセット */
.wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* 入力欄 */
.wpcf7 .wpcf7-form-control:not([type="submit"]) {
	box-sizing: border-box;
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: #1a1a1a;
	background: #fff;
	border: 1px solid #d0d0d0;
	border-radius: 0;
	padding: 14px 16px;
	line-height: 1.6;
	transition: border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.wpcf7 select.wpcf7-form-control {
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'14'%20height%3D'8'%20viewBox%3D'0%200%2014%208'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M1%201l6%206%206-6'%20stroke%3D'%23666'%20stroke-width%3D'1.5'%20fill%3D'none'%20fill-rule%3D'evenodd'%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 44px;
}

.wpcf7 textarea.wpcf7-form-control {
	min-height: 200px;
	resize: vertical;
}

.wpcf7 .wpcf7-form-control:not([type="submit"]):focus {
	outline: none;
	border-color: #1a1a1a;
}

/* 送信ボタン */
.cf7-submit {
	margin-top: 40px;
}

.wpcf7 input[type="submit"].wpcf7-submit {
	box-sizing: border-box;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #fff;
	background: #1a1a1a;
	border: 1px solid #1a1a1a;
	border-radius: 0;
	padding: 16px 56px;
	cursor: pointer;
	transition: opacity 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.wpcf7 input[type="submit"].wpcf7-submit:hover {
	opacity: 0.7;
}

/* バリデーション・確認メッセージ */
.wpcf7 .wpcf7-not-valid-tip {
	font-size: 0.8125rem;
	color: #b00;
	margin-top: 6px;
}

.wpcf7 .wpcf7-response-output {
	margin: 32px 0 0;
	padding: 16px 20px;
	font-size: 0.875rem;
	border: 1px solid #d8d8d8;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: #b00;
	color: #b00;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #1a7a3a;
	color: #1a7a3a;
}

/* ===========================
   Footer
=========================== */
.site-footer {
	margin-top: 120px;
	padding: 48px 0;
	border-top: 1px solid #e8e8e8;
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 40px;
}

.site-footer__logo {
	font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "YuMincho", serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.25em;
}

.site-footer__nav {
	display: flex;
	gap: 24px;
}

.site-footer__nav a {
	font-size: 0.75rem;
	color: #666;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer__nav a:hover {
	color: #1a1a1a;
	opacity: 1;
}

.site-footer__copy {
	font-size: 0.75rem;
	color: #999;
}

/* ===========================
   Home Lead（トップページH1）
=========================== */
.home-lead {
	margin-bottom: 56px;
}

.home-lead__title {
	font-size: 0.875rem;
	font-weight: 400;
	color: #888;
	letter-spacing: 0.12em;
}

/* ===========================
   Breadcrumb
=========================== */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	color: #999;
	letter-spacing: 0.04em;
	margin-bottom: 32px;
}

.breadcrumb a {
	color: #999;
}

.breadcrumb a:hover {
	color: #1a1a1a;
	opacity: 1;
}

.breadcrumb__sep {
	color: #d8d8d8;
}

.breadcrumb__current {
	color: #666;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 22em;
}

/* ===========================
   404
=========================== */
.notfound-link {
	display: inline-block;
	font-size: 0.875rem;
	color: #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
	padding-bottom: 2px;
}

/* ===========================
   Responsive
=========================== */
/* タブレット：2カラム */
@media (max-width: 1024px) {
	.home-archive .container {
		padding: 0 32px;
	}

	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 56px 40px;
	}
}

@media (max-width: 768px) {
	.container,
	.container--narrow {
		padding: 0 24px;
	}

	.site-header__inner {
		height: 64px;
		padding: 0 24px;
	}

	.site-header__logo a {
		font-size: 1.25rem;
		letter-spacing: 0.25em;
	}

	/* ナビ非表示・ハンバーガー表示 */
	.global-nav {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.mobile-nav {
		top: 64px;
		height: calc(100vh - 64px);
	}

	/* Archive Grid */
	.home-archive .container {
		padding: 0 24px;
	}

	.archive-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.home-archive {
		padding: 40px 0;
	}

	.home-lead {
		margin-bottom: 40px;
	}

	.home-lead__title {
		font-size: 0.8125rem;
	}

	.breadcrumb {
		margin-bottom: 24px;
	}

	.breadcrumb__current {
		max-width: 14em;
	}

	.article-card__title {
		font-size: 1.25rem;
	}

	/* Single */
	.single-article {
		padding: 48px 0;
	}

	.article-header__title {
		font-size: 1.375rem;
	}

	.article-eyecatch {
		margin-bottom: 40px;
	}

	.company-info,
	.recruit-info {
		padding: 24px;
	}

	.company-info__table th {
		width: 90px;
	}

	/* Footer */
	.site-footer {
		margin-top: 80px;
	}

	.site-footer__inner {
		flex-direction: column;
		gap: 16px;
		text-align: center;
		padding: 0 24px;
	}

	/* Page */
	.page-content {
		padding: 48px 0;
	}

	.taxonomy-archive {
		padding: 48px 0;
	}
}

@media (max-width: 480px) {
	.article-card__title {
		font-size: 1rem;
	}
}
