@charset "UTF-8";
/* =================================================================
   common.css
   全ページ共通：変数・ベース・ヘッダー・フッター・ボタン・共通パーツ
   ================================================================= */

/* -----------------------------------------------------------------
   変数
   ----------------------------------------------------------------- */
:root {
	/* ロゴの4色 */
	--c-yellow: #F0B43C;
	--c-orange: #D85424;
	--c-blue: #306CA8;
	--c-green: #6CA830;

	/* 文字に使える濃さ */
	--c-orange-text: #B5441A;
	--c-orange-btn: #C94B1E;
	--c-blue-dark: #24578A;
	--c-green-text: #467A1B;

	/* 淡い色 */
	--c-yellow-pale: #FFF3D1;
	--c-orange-pale: #FDE8DE;
	--c-blue-pale: #E3EEF8;
	--c-green-pale: #ECF5E2;
	--c-orange-line: #F6D3C2;
	--c-blue-line: #CFE0F2;
	--c-green-line: #D9EBC6;

	/* ベース */
	--c-white: #FFFFFF;
	--c-text: #333333;
	--c-text-sub: #555555;
	--c-cream: #FFF8E6;
	--c-ivory: #FAF7F2;
	--c-beige: #F5F2F0;
	--c-line: #F0E6D2;
	--c-line-strong: #E6DCC8;
	--c-footer: #333333;
	--c-footer-sub: #DDDDDD;
	--c-placeholder: #8A8178;
	--c-shadow-rgb: 60, 40, 0;

	/* TOPメッセージ帯の背景模様の薄さ（明るいほど薄くなる） */
	--pattern-fade: #C8C2B8;

	/* マスキングテープ */
	--tape-yellow: rgba(240, 180, 60, .6);
	--tape-orange: rgba(216, 84, 36, .45);
	--tape-blue: rgba(48, 108, 168, .4);
	--tape-green: rgba(108, 168, 48, .45);

	/* 文字 */
	--ff-base: "Noto Sans JP", Tahoma, sans-serif;
	--ff-round: "Zen Maru Gothic", sans-serif;

	/* レイアウト */
	--header-h: 72px;
	--container: 1120px;
	--container-narrow: 1040px;
	--shadow-card: 0 6px 0 rgba(var(--c-shadow-rgb), .06), 0 12px 32px rgba(var(--c-shadow-rgb), .08);
}

/* カテゴリ色（is-blue / is-orange / is-green / is-yellow） */
.is-blue   { --cat: var(--c-blue);        --cat-strong: var(--c-blue);       --cat-pale: var(--c-blue-pale); }
.is-orange { --cat: var(--c-orange-text); --cat-strong: var(--c-orange-btn); --cat-pale: var(--c-orange-pale); }
.is-green  { --cat: var(--c-green-text);  --cat-strong: var(--c-green-text); --cat-pale: var(--c-green-pale); }
.is-yellow { --cat: var(--c-yellow);      --cat-strong: var(--c-yellow);     --cat-pale: var(--c-yellow-pale); }

/* -----------------------------------------------------------------
   ベース
   ----------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-text);
	font-family: var(--ff-base);
	font-size: 1rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

body.is-menu-open {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--c-blue);
}

a:hover {
	color: var(--c-blue-dark);
}

:focus-visible {
	outline: 3px solid var(--c-blue);
	outline-offset: 3px;
}

h1, h2, h3, h4, p, ul, ol, dl, figure {
	margin: 0;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 8px 16px;
	background: var(--c-white);
	border-radius: 8px;
	font-weight: 700;
}

.skip-link:focus {
	top: 8px;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
}

.container--narrow {
	max-width: var(--container-narrow);
}

.u-ib {
	display: inline-block;
}

@media (max-width: 720px) {
	.u-pc-only {
		display: none;
	}
}

/* -----------------------------------------------------------------
   ボタン
   ----------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 32px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--sm {
	min-height: 44px;
	padding: 10px 22px;
	font-size: .9375rem;
}

.btn--lg {
	min-height: 60px;
	padding: 16px 48px;
	font-size: 1.0625rem;
}

.btn--xl {
	min-height: 60px;
	padding: 16px 40px;
	font-size: 1.375rem;
	gap: 10px;
}

.btn--block {
	display: flex;
	width: 100%;
}

.btn--yellow,
.btn--yellow:hover {
	background: var(--c-yellow);
	color: var(--c-text);
}

.btn--orange,
.btn--orange:hover {
	background: var(--c-orange-btn);
	color: var(--c-white);
}

.btn--white,
.btn--white:hover {
	background: var(--c-white);
	color: var(--c-text);
	box-shadow: 0 4px 0 rgba(0, 0, 0, .08);
}

.btn--outline,
.btn--outline:hover {
	background: var(--c-white);
	border-color: var(--c-text);
	color: var(--c-text);
}

.btn--tel {
	font-size: 1.125rem;
}

/* -----------------------------------------------------------------
   ヘッダー
   ----------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--c-white);
	border-bottom: 1px solid var(--c-line);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 14px 24px;
	background: var(--c-white);
}

.site-header__brand {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 12px;
	color: var(--c-text);
	text-decoration: none;
}

.site-header__logo {
	width: auto;
	height: 44px;
}

.site-header__sub {
	color: var(--c-text-sub);
	white-space: nowrap;
	font-size: .6875rem;
	letter-spacing: .06em;
	line-height: 1.4;
}

.gnav__list {
	display: flex;
	gap: 22px;
	white-space: nowrap;
	font-size: .875rem;
	font-weight: 500;
}

.gnav__list a {
	color: var(--c-text);
	text-decoration: none;
}

.gnav__list a:hover,
.gnav__list a[aria-current="page"] {
	color: var(--c-blue);
}

.gnav__list a[aria-current="page"] {
	font-weight: 700;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

/* ハンバーガー（スマホのみ） */
.hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--c-text);
	border-radius: 50%;
	background: var(--c-white);
	color: var(--c-text);
	cursor: pointer;
}

.hamburger__close,
.hamburger[aria-expanded="true"] .hamburger__open {
	display: none;
}

.hamburger[aria-expanded="true"] .hamburger__close {
	display: inline-flex;
}

/* スマホメニュー（100dvh） */
.drawer {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1;
	height: 100dvh;
	padding: calc(var(--header-h) + 12px) 20px 32px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--c-white);
}

.drawer[hidden] {
	display: none;
}

.drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 16px 4px;
	border-bottom: 1px solid var(--c-line);
	color: var(--c-text);
	font-weight: 700;
	text-decoration: none;
}

.drawer__link span {
	color: var(--c-blue);
}

.drawer__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
}

/* ロゴ横の小さい文字は、横幅が足りなくなったら隠す */
@media (max-width: 1440px) {
	.site-header__sub {
		display: none;
	}
}

@media (max-width: 1260px) {
	.gnav__list {
		gap: 14px;
		font-size: .8125rem;
	}
}

@media (max-width: 1140px) {
	.site-header__actions .u-pc-only {
		display: none;
	}
}

/* 1024px以下はハンバーガーメニュー */
@media (max-width: 1024px) {
	.gnav {
		display: none;
	}

	.hamburger {
		display: inline-flex;
	}
}

@media (min-width: 1025px) {
	.drawer {
		display: none !important;
	}
}

@media (max-width: 720px) {
	:root {
		--header-h: 62px;
	}

	.site-header__inner {
		gap: 8px;
		padding: 12px 16px;
	}

	.site-header__logo {
		height: 36px;
	}

	.site-header__actions .btn--sm {
		padding: 10px 14px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

/* -----------------------------------------------------------------
   フッター
   ----------------------------------------------------------------- */
.site-footer {
	padding: 40px 24px;
	background: var(--c-footer);
	color: var(--c-white);
	font-size: .8125rem;
	line-height: 1.9;
	text-align: center;
}

.site-footer__name {
	font-family: var(--ff-round);
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: .1em;
}

.site-footer__address,
.site-footer__company {
	margin-top: 4px;
	color: var(--c-footer-sub);
}

.site-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 20px;
	margin: 12px 0;
}

.site-footer__nav a {
	color: var(--c-white);
}

.site-footer__listed {
	margin-top: 14px;
}

.site-footer__listed a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 20px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 999px;
	color: var(--c-white);
	font-weight: 700;
	text-decoration: none;
}

.site-footer__listed a::after {
	content: "↗";
	font-size: .75rem;
}

.site-footer__listed a:hover {
	background: rgba(255, 255, 255, .12);
	color: var(--c-white);
}

.site-footer__copy {
	margin-top: 12px;
	color: var(--c-footer-sub);
}

/* -----------------------------------------------------------------
   セクション共通
   ----------------------------------------------------------------- */
.sec {
	padding: 104px 24px;
}

.sec--dots {
	background-color: var(--c-cream);
	background-image: radial-gradient(var(--c-line-strong) 1.2px, transparent 1.2px);
	background-size: 22px 22px;
}

.sec--beige {
	background: var(--c-beige);
}

.sec--yellow {
	background: var(--c-yellow);
}

.sec-head {
	margin-bottom: 48px;
	text-align: center;
}

.sec-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
}

.sec-head__ill {
	display: block;
	width: auto;
	height: 150px;
	margin: 0 auto 12px;
}

.sec-head__en {
	color: var(--c-orange-text);
	font-family: var(--ff-round);
	font-size: 1.125rem;
	font-weight: 700;
}

.sec-head__en--dark {
	color: var(--c-text);
}

.sec-head__title {
	margin-top: 8px;
	font-family: var(--ff-round);
	font-size: 2.25rem;
	font-weight: 900;
	line-height: 1.5;
}

.sec-head__lead {
	max-width: 680px;
	margin: 20px auto 0;
	color: var(--c-text-sub);
}

.sec-head__lead--dark {
	color: var(--c-text);
}

.sec-more {
	margin-top: 40px;
	text-align: center;
}

@media (max-width: 720px) {
	.sec {
		padding: 64px 16px;
	}

	.sec-head {
		margin-bottom: 36px;
	}

	.sec-head__title {
		font-size: 1.625rem;
	}

	.sec-head__ill {
		height: 120px;
	}
}

/* -----------------------------------------------------------------
   スケッチブックのモチーフ
   ----------------------------------------------------------------- */

/* マスキングテープ */
.tape {
	position: absolute;
	top: -14px;
	left: 50%;
	z-index: 2;
	width: 96px;
	height: 26px;
	margin-left: -48px;
	background-color: var(--tape-yellow);
	rotate: -4deg;
	pointer-events: none;
}

.tape--wide {
	width: 140px;
	margin-left: -70px;
}

.tape--y {
	background-color: var(--tape-yellow);
}

.tape--o {
	background-color: var(--tape-orange);
	background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px);
}

.tape--b {
	background-color: var(--tape-blue);
}

.tape--g {
	background-color: var(--tape-green);
	background-image: radial-gradient(rgba(255, 255, 255, .45) 1.6px, transparent 1.8px);
	background-size: 9px 9px;
}

/* リングノート */
.notebook {
	position: relative;
	padding: 32px 48px 32px 84px;
	background: var(--c-white);
	border-radius: 28px;
	box-shadow: var(--shadow-card);
}

.notebook::before,
.rings::before {
	content: "";
	position: absolute;
	top: 36px;
	bottom: 36px;
	left: 28px;
	width: 14px;
	background-image: radial-gradient(circle, var(--c-beige) 5px, transparent 6px);
	background-repeat: repeat-y;
	background-size: 14px 34px;
}

.rings {
	position: relative;
}

@media (max-width: 767px) {
	.notebook {
		padding: 20px 16px 20px 40px;
		border-radius: 20px;
	}

	.notebook::before,
	.rings::before {
		top: 24px;
		bottom: 24px;
		left: 12px;
		width: 12px;
		background-image: radial-gradient(circle, var(--c-beige) 4px, transparent 5px);
		background-size: 12px 28px;
	}

	.tape {
		top: -10px;
		width: 64px;
		height: 20px;
		margin-left: -32px;
	}

	.tape--wide {
		width: 96px;
		margin-left: -48px;
	}
}

/* -----------------------------------------------------------------
   おしごとカード（TOP・おしごと一覧・各おしごとページ）
   ----------------------------------------------------------------- */
.works {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 36px;
}

.works__link {
	display: block;
	color: var(--c-text);
	text-decoration: none;
}

.works__link:hover {
	color: var(--c-text);
}

.works__link:focus-visible {
	border-radius: 4px;
	outline-offset: 6px;
}

.works__pola {
	position: relative;
	padding: 10px 10px 0;
	background: var(--c-white);
	box-shadow: 0 8px 20px rgba(var(--c-shadow-rgb), .14);
	rotate: -1.5deg;
	transition: rotate .3s, transform .3s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s;
}

.works__item:nth-child(even) .works__pola {
	rotate: 1.5deg;
}

.works__link:hover .works__pola {
	rotate: 0deg;
	transform: translateY(-6px);
	box-shadow: 0 16px 30px rgba(var(--c-shadow-rgb), .18);
}

.works__noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background: var(--c-yellow-pale);
}

.works__noimage img {
	width: 56% !important;
	aspect-ratio: auto !important;
	opacity: .55;
}

.works__pola img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.works__cap {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 6px 16px;
}

.works__icon {
	display: inline-flex;
	color: var(--cat);
}

.works__link:hover .works__icon {
	animation: wiggle .6s ease;
}

.works__txt {
	flex: 1;
	min-width: 0;
	line-height: 1.5;
}

.works__txt strong {
	display: block;
	font-family: var(--ff-round);
	font-size: 1.0625rem;
	font-weight: 900;
}

.works__txt span {
	display: block;
	color: var(--c-text-sub);
	font-size: .75rem;
}

.works__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	background: var(--c-orange-btn);
	border-radius: 50%;
	color: var(--c-white);
	font-weight: 700;
}

@media (max-width: 980px) {
	.works {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 24px;
	}
}

@media (max-width: 600px) {
	.works {
		gap: 32px 14px;
	}

	.works__pola {
		padding: 7px 7px 0;
	}

	.works__cap {
		gap: 8px;
		padding: 10px 2px 12px;
	}

	.works__icon .icon {
		width: 22px;
		height: 22px;
	}

	.works__txt strong {
		font-size: .875rem;
	}

	.works__txt span,
	.works__arrow {
		display: none;
	}

	/* 9枚目は中央に */
	.works__item:nth-child(9) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 7px);
	}
}

/* -----------------------------------------------------------------
   コラムカード（TOP・コラム一覧）
   ----------------------------------------------------------------- */
.column-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 28px;
}

.column-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px 10px 0;
	background: var(--c-white);
	border-radius: 4px;
	box-shadow: 0 4px 18px rgba(var(--c-shadow-rgb), .08);
	color: var(--c-text);
	text-decoration: none;
	rotate: -1.2deg;
	transition: rotate .3s, transform .3s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s;
}

.column-list__item:nth-child(even) .column-card {
	rotate: 1.2deg;
}

.column-card:hover {
	color: var(--c-text);
	rotate: 0deg;
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(var(--c-shadow-rgb), .14);
}

.column-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--c-yellow-pale);
}

.column-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.column-card__noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.column-card__noimage img {
	width: 56%;
	height: auto;
	opacity: .55;
	object-fit: contain;
}

.column-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px 14px 24px;
}

.column-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	font-size: .75rem;
}

.column-card__meta time {
	color: var(--c-blue);
	font-weight: 700;
	letter-spacing: .06em;
}

.column-card__tag {
	display: inline-block;
	padding: 2px 12px;
	background: var(--c-yellow-pale);
	border-radius: 999px;
	color: var(--c-orange-text);
	font-size: .6875rem;
	font-weight: 700;
}

.column-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.6;
}

.column-card__excerpt {
	color: var(--c-text-sub);
	font-size: .8125rem;
	line-height: 1.9;
}

.column-card__more {
	margin-top: auto;
	padding-top: 6px;
	color: var(--c-blue);
	font-size: .8125rem;
	font-weight: 700;
}

.column-card:hover .column-card__more {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.column-empty {
	padding: 48px 24px;
	background: var(--c-white);
	border-radius: 16px;
	color: var(--c-text-sub);
	text-align: center;
}

@media (max-width: 900px) {
	.column-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

/* -----------------------------------------------------------------
   動き
   ----------------------------------------------------------------- */
@keyframes fuwa {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}

@keyframes punyo {
	0%   { transform: scale(1); }
	30%  { transform: scale(1.08, .92); }
	50%  { transform: scale(.95, 1.06); }
	70%  { transform: scale(1.03, .97); }
	100% { transform: scale(1); }
}

@keyframes wiggle {
	0%, 100% { rotate: 0deg; }
	25%      { rotate: -12deg; }
	75%      { rotate: 12deg; }
}

@keyframes popin {
	0%   { opacity: 0; transform: translateY(40px) scale(.85); }
	70%  { opacity: 1; transform: translateY(-6px) scale(1.03); }
	100% { opacity: 1; transform: none; }
}

.fuwa {
	animation: fuwa 3.6s ease-in-out infinite;
}

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

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
