/*
Theme Name: Layerworks Codex 02
Theme URI: https://layerworks.co.jp/
Author: Layerworks / Codex
Description: Rounded 1500px canvas concept inspired by large editorial corporate layouts.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: layerworks-codex-02
*/

:root {
	--lw-ink: #151922;
	--lw-muted: #606a78;
	--lw-blue: #0a63c7;
	--lw-blue-dark: #06275f;
	--lw-cyan: #06b6d4;
	--lw-pale: #eef7ff;
	--lw-soft: #f4f7fb;
	--lw-line: #dfe8f1;
	--lw-white: #fff;
	--lw-black: #111317;
	--lw-canvas: min(1500px, calc(100vw - 32px));
	--lw-inner: min(1320px, calc(100vw - 72px));
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--lw-ink);
	background:
		radial-gradient(circle at 8% 12%, rgba(10, 99, 199, .13), transparent 26%),
		radial-gradient(circle at 92% 4%, rgba(6, 182, 212, .16), transparent 30%),
		linear-gradient(135deg, #f9fbfe, #eef5fb 48%, #f8fbfd);
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: 0;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -1;
	content: "";
	background:
		linear-gradient(116deg, transparent 0 22%, rgba(10, 99, 199, .06) 22% 27%, transparent 27% 100%),
		linear-gradient(68deg, transparent 0 62%, rgba(6, 182, 212, .08) 62% 67%, transparent 67% 100%);
	pointer-events: none;
}

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

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

.site-shell,
.section-shell {
	width: var(--lw-canvas);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	padding: 18px 0;
}

.site-header__inner {
	width: var(--lw-canvas);
	min-height: 120px;
	margin: 0 auto;
	padding: 0 54px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: rgba(255, 255, 255, .82);
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 999px;
	box-shadow: 0 20px 60px rgba(7, 31, 67, .08);
	backdrop-filter: blur(18px);
}

.site-brand {
	display: inline-flex;
	align-items: center;
}

.site-brand img {
	width: auto;
	height: 56px;
	max-width: min(420px, 52vw);
	object-fit: contain;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .06em;
}

.site-nav a {
	min-height: 44px;
	padding: 10px 20px;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	transition: background-color .2s ease, color .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--lw-white);
	background: var(--lw-black);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 96px;
	min-height: 46px;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	color: var(--lw-white);
	background: var(--lw-black);
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	cursor: pointer;
}

.menu-toggle__line {
	position: relative;
	width: 16px;
	height: 2px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle__line:first-child {
	transform: translateY(-4px);
}

.menu-toggle__line:nth-child(2) {
	transform: translateY(4px);
}

.menu-toggle__label {
	line-height: 1;
}

.is-menu-open .menu-toggle__line:first-child {
	transform: translateX(5px) rotate(45deg);
}

.is-menu-open .menu-toggle__line:nth-child(2) {
	transform: translateX(-5px) rotate(-45deg);
}

.hero {
	width: var(--lw-canvas);
	min-height: 690px;
	margin: 0 auto 28px;
	padding: 78px min(6vw, 86px) 58px;
	position: relative;
	overflow: hidden;
	border-radius: 0 0 72px 72px;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .74) 44%, rgba(255, 255, 255, .2)),
		linear-gradient(135deg, rgba(10, 99, 199, .08), rgba(6, 182, 212, .12));
}

.hero__image {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 54%;
	border-radius: 0 0 0 72px;
	overflow: hidden;
}

.hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.96) contrast(1.04);
}

.hero__image::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(90deg, rgba(249, 251, 254, .78), rgba(10, 39, 95, .16));
}

.hero__content {
	position: relative;
	z-index: 2;
	max-width: 920px;
}

.hero__eyebrow {
	margin: 0 0 28px;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	position: absolute;
	left: 0;
	top: 12px;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: .12em;
}

.hero h1 {
	margin: 74px 0 34px 56px;
	max-width: 980px;
	font-size: clamp(62px, 9vw, 136px);
	line-height: .95;
	font-weight: 900;
	letter-spacing: 0;
}

.hero__rule {
	width: min(520px, 40vw);
	height: 2px;
	margin: -88px 0 72px min(520px, 44vw);
	background: var(--lw-ink);
}

.hero__lead {
	max-width: 920px;
	margin: 0;
	font-size: clamp(20px, 2.3vw, 34px);
	line-height: 1.85;
	font-weight: 900;
}

.section {
	width: var(--lw-canvas);
	margin: 34px auto;
	padding: 110px min(6vw, 82px);
	border-radius: 72px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 24px 70px rgba(7, 31, 67, .06);
}

.section--flat {
	box-shadow: none;
	background: transparent;
}

.section--dark {
	color: var(--lw-white);
	background: #50555c;
}

.section__head {
	display: grid;
	grid-template-columns: minmax(280px, .85fr) minmax(0, 1fr);
	gap: 56px;
	align-items: end;
	margin-bottom: 76px;
}

.section__head--compact {
	margin-bottom: 38px;
}

.section__title-en {
	display: block;
	font-size: clamp(70px, 10vw, 142px);
	line-height: .86;
	font-weight: 900;
	letter-spacing: 0;
}

.section__title-ja {
	margin-left: 16px;
	font-size: 17px;
	font-weight: 900;
}

.section__lead {
	margin: 0;
	font-size: clamp(18px, 2vw, 25px);
	font-weight: 900;
}

.intro-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 40px;
	align-items: stretch;
}

.intro-card {
	padding: 46px;
	border-radius: 36px;
	background: var(--lw-white);
	border: 1px solid var(--lw-line);
}

.intro-card h3 {
	margin: 0 0 20px;
	font-size: clamp(26px, 3.2vw, 44px);
	line-height: 1.35;
}

.intro-card p {
	margin: 0;
	color: var(--lw-muted);
	font-weight: 700;
}

.intro-visual {
	min-height: 420px;
	border-radius: 42px;
	overflow: hidden;
	position: relative;
}

.intro-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-circles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin-top: 40px;
}

.service-circle {
	aspect-ratio: 1 / 1;
	padding: 42px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 50%;
	background:
		radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .2), transparent 28%),
		rgba(255, 255, 255, .14);
	outline: 1px dashed rgba(255, 255, 255, .35);
	outline-offset: 18px;
	transition: transform .25s ease, background-color .25s ease;
}

.service-circle:hover {
	transform: translateY(-8px);
	background-color: rgba(255, 255, 255, .2);
}

.service-circle span {
	color: #b8f1ff;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .18em;
}

.service-circle h3 {
	margin: 18px 0 14px;
	font-size: clamp(22px, 2.5vw, 34px);
	line-height: 1.35;
}

.service-circle p {
	margin: 0;
	color: rgba(255, 255, 255, .82);
	font-weight: 700;
}

.works-track {
	display: grid;
	grid-template-columns: repeat(3, minmax(330px, 1fr));
	gap: 28px;
}

.work-card {
	overflow: hidden;
	border-radius: 40px;
	background: var(--lw-white);
	border: 1px solid var(--lw-line);
}

.work-card__thumb {
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: var(--lw-pale);
}

.work-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.work-card:hover .work-card__thumb img {
	transform: scale(1.04);
}

.work-card__body {
	padding: 28px 30px 34px;
}

.work-card__label {
	display: inline-flex;
	margin-bottom: 14px;
	padding: 8px 14px;
	color: var(--lw-white);
	background: var(--lw-black);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
}

.work-card h3 {
	margin: 0;
	font-size: 21px;
	line-height: 1.55;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.blog-card {
	overflow: hidden;
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: 100%;
	border-radius: 40px;
	background: var(--lw-white);
	border: 1px solid var(--lw-line);
	box-shadow: 0 24px 60px rgba(7, 31, 67, .07);
	transition: transform .22s ease, box-shadow .22s ease;
}

.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 70px rgba(7, 31, 67, .12);
}

.blog-card__thumb {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--lw-pale);
}

.blog-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.blog-card:hover .blog-card__thumb img {
	transform: scale(1.04);
}

.blog-card__body {
	padding: 26px 28px 32px;
}

.blog-card time {
	display: inline-flex;
	margin-bottom: 14px;
	color: var(--lw-blue);
	font-size: 13px;
	font-weight: 900;
}

.blog-card h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.6;
}

.section--notice {
	padding-top: 72px;
	padding-bottom: 72px;
	background: rgba(255, 255, 255, .72);
}

.section--notice .section__title-en {
	font-size: clamp(48px, 8vw, 92px);
}

.notice-list {
	display: grid;
	gap: 10px;
	max-width: 960px;
}

.notice-item {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 24px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--lw-line);
}

.notice-item:first-child {
	border-top: 1px solid var(--lw-line);
}

.notice-item time {
	color: var(--lw-muted);
	font-size: 13px;
	font-weight: 900;
}

.notice-item h3 {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}

.news-list {
	display: grid;
	gap: 14px;
}

.news-item {
	display: grid;
	grid-template-columns: 150px 1fr auto;
	gap: 28px;
	align-items: center;
	padding: 24px 28px;
	border-radius: 999px;
	background: var(--lw-soft);
	transition: transform .2s ease, background-color .2s ease;
}

.news-item::after {
	content: "→";
	font-weight: 900;
}

.news-item:hover {
	transform: translateX(5px);
	background: var(--lw-pale);
}

.news-item time {
	color: var(--lw-blue);
	font-size: 13px;
	font-weight: 900;
}

.news-item h3 {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

.archive-list {
	display: grid;
	gap: 22px;
	max-width: 1120px;
	margin: 0 auto;
}

.archive-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 18px;
	border: 1px solid rgba(10, 99, 199, .1);
	border-radius: 8px;
	background: rgba(244, 247, 251, .82);
	box-shadow: 0 18px 48px rgba(7, 31, 67, .05);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.archive-card:hover,
.archive-card:focus-visible {
	transform: translateY(-4px);
	background: var(--lw-white);
	box-shadow: 0 28px 72px rgba(7, 31, 67, .1);
}

.archive-card__thumb {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 8px;
	background: var(--lw-pale);
}

.archive-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.archive-card:hover .archive-card__thumb img,
.archive-card:focus-visible .archive-card__thumb img {
	transform: scale(1.04);
}

.archive-card__body {
	min-width: 0;
	padding-right: 18px;
}

.archive-card time {
	display: inline-flex;
	margin-bottom: 10px;
	color: var(--lw-blue);
	font-size: 13px;
	font-weight: 900;
}

.archive-card h2 {
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--lw-ink);
	font-size: 22px;
	line-height: 1.55;
}

.archive-card p {
	margin: 0;
	color: var(--lw-muted);
	font-size: 14px;
	line-height: 1.8;
}

.navigation.pagination {
	margin-top: 46px;
}

.navigation.pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.navigation.pagination .page-numbers {
	min-width: 44px;
	min-height: 44px;
	padding: 8px 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--lw-line);
	border-radius: 999px;
	background: var(--lw-white);
	color: var(--lw-ink);
	font-size: 14px;
	font-weight: 900;
	box-shadow: 0 12px 34px rgba(7, 31, 67, .06);
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus-visible {
	color: var(--lw-white);
	background: var(--lw-black);
	border-color: var(--lw-black);
}

.navigation.pagination .page-numbers.current {
	color: var(--lw-white);
	background: var(--lw-blue);
	border-color: var(--lw-blue);
}

.cta {
	width: var(--lw-canvas);
	margin: 34px auto;
	padding: 86px min(6vw, 82px);
	text-align: center;
	border-radius: 72px 72px 0 0;
	color: var(--lw-white);
	background: linear-gradient(135deg, var(--lw-blue-dark), var(--lw-blue));
}

.cta h2 {
	margin: 0;
	font-size: clamp(34px, 5vw, 72px);
	line-height: 1.2;
}

.cta p {
	margin: 22px auto 0;
	max-width: 760px;
	color: rgba(255, 255, 255, .84);
	font-weight: 800;
}

.button-row {
	margin-top: 34px;
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.button-row--left {
	justify-content: flex-start;
}

.button {
	min-width: 210px;
	min-height: 58px;
	padding: 14px 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: var(--lw-white);
	background: var(--lw-black);
	font-weight: 900;
	letter-spacing: .08em;
	transition: transform .2s ease, background-color .2s ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-3px);
	background: var(--lw-blue-dark);
}

.button--light {
	color: var(--lw-ink);
	background: var(--lw-soft);
}

.button--light:hover,
.button--light:focus-visible {
	color: var(--lw-white);
	background: var(--lw-black);
}

.site-footer {
	width: var(--lw-canvas);
	margin: 0 auto;
	padding: 36px min(6vw, 82px) 44px;
	color: rgba(21, 25, 34, .72);
}

.site-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 13px;
}

.footer-nav {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.footer-nav a {
	color: rgba(21, 25, 34, .72);
	font-weight: 800;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
	color: var(--lw-blue);
}

.page-main {
	width: var(--lw-canvas);
	margin: 0 auto 34px;
	padding: 90px min(6vw, 82px);
	border-radius: 72px;
	background: rgba(255, 255, 255, .9);
}

.entry {
	max-width: 980px;
	margin: 0 auto;
}

.post-layout--with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: min(4vw, 56px);
}

.post-layout--with-sidebar .entry {
	max-width: none;
	margin: 0;
}

.post-layout--with-sidebar .entry h1 {
	font-size: clamp(34px, 4vw, 58px);
}

.entry h1 {
	margin: 0 0 32px;
	font-size: clamp(36px, 5vw, 72px);
	line-height: 1.08;
}

.entry-meta {
	margin: -10px 0 34px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: rgba(21, 25, 34, .62);
	font-size: 13px;
	font-weight: 900;
}

.entry-meta time,
.entry-meta a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 13px;
	border: 1px solid rgba(10, 99, 199, .14);
	border-radius: 999px;
	background: rgba(239, 246, 255, .78);
	color: var(--lw-blue);
	text-decoration: none;
}

.entry-meta a:hover,
.entry-meta a:focus-visible {
	border-color: rgba(10, 99, 199, .35);
	background: rgba(10, 99, 199, .1);
	color: var(--lw-blue-dark);
}

.entry-eyecatch {
	margin: 0 0 42px;
	border-radius: 36px;
	overflow: hidden;
	box-shadow: 0 26px 70px rgba(7, 31, 67, .12);
}

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

.entry-content {
	font-weight: 650;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.45em;
}

.entry-content .lead {
	margin-bottom: 1.7em;
	padding: 24px 28px;
	border-left: 5px solid var(--lw-blue);
	border-radius: 18px;
	background: var(--lw-pale);
	color: #263244;
	font-size: 1.08rem;
	line-height: 1.95;
}

.entry-content h2 {
	scroll-margin-top: 150px;
	margin: 3.2em 0 1em;
	padding: 18px 22px 18px 26px;
	border-left: 7px solid var(--lw-blue);
	border-radius: 0 18px 18px 0;
	background: linear-gradient(90deg, rgba(10, 99, 199, .1), rgba(6, 182, 212, .04));
	color: var(--lw-ink);
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.35;
}

.entry-content h2:first-child {
	margin-top: 0;
}

.entry-content h2 + p,
.entry-content h2 + ul,
.entry-content h2 + ol {
	margin-top: 0;
}

.entry-content h3 {
	scroll-margin-top: 150px;
	margin: 2.4em 0 .8em;
	color: var(--lw-blue-dark);
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.4;
}

.entry-content a {
	color: var(--lw-blue);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .22em;
	transition: color .2s ease, background-color .2s ease;
}

.entry-content a:hover,
.entry-content a:focus-visible {
	color: var(--lw-blue-dark);
	background: rgba(6, 182, 212, .12);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li + li {
	margin-top: .45em;
}

.entry-content .wp-block-table {
	margin: 2.2em 0;
	overflow-x: auto;
	border: 1px solid rgba(10, 99, 199, .12);
	border-radius: 18px;
	background: rgba(255, 255, 255, .86);
	box-shadow: 0 20px 60px rgba(7, 31, 67, .07);
}

.entry-content table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	border: 0;
}

.entry-content th,
.entry-content td {
	padding: 20px 24px;
	border: 0;
	border-bottom: 1px solid var(--lw-line);
	text-align: left;
	vertical-align: top;
	font-size: 16px;
	line-height: 1.75;
}

.entry-content th {
	color: var(--lw-blue-dark);
	background: linear-gradient(90deg, rgba(10, 99, 199, .1), rgba(6, 182, 212, .05));
	font-weight: 900;
}

.entry-content tr:last-child th,
.entry-content tr:last-child td {
	border-bottom: 0;
}

.entry-content td:first-child,
.entry-content th:first-child {
	width: 32%;
	font-weight: 900;
}

.entry-content td code,
.entry-content td:first-child {
	color: var(--lw-ink);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.post-sidebar {
	min-width: 0;
	position: sticky;
	top: 148px;
	align-self: start;
}

.post-sidebar__inner {
	display: grid;
	gap: 18px;
	max-height: calc(100vh - 172px);
	overflow: auto;
	padding-right: 4px;
}

.post-sidebar__section {
	padding: 20px;
	border: 1px solid rgba(10, 99, 199, .12);
	border-radius: 24px;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 18px 54px rgba(7, 31, 67, .06);
}

.post-sidebar__section h2 {
	margin: 0 0 14px;
	color: var(--lw-ink);
	font-size: 15px;
	line-height: 1.4;
}

.post-toc ol,
.post-term-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.post-toc__item + .post-toc__item,
.post-term-list li + li {
	margin-top: 8px;
}

.post-toc a,
.post-term-list a {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	color: rgba(21, 25, 34, .72);
	font-size: 13px;
	font-weight: 850;
	line-height: 1.55;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease;
}

.post-toc a {
	padding: 7px 10px;
	border-radius: 10px;
}

.post-toc a:hover,
.post-toc a:focus-visible {
	background: rgba(10, 99, 199, .08);
	color: var(--lw-blue-dark);
}

.post-toc__item--h3 a {
	padding-left: 20px;
	color: rgba(21, 25, 34, .58);
	font-size: 12px;
}

.post-term-list a {
	padding: 8px 0;
	border-bottom: 1px solid rgba(10, 99, 199, .08);
}

.post-term-list li:last-child a {
	border-bottom: 0;
}

.post-term-list a:hover,
.post-term-list a:focus-visible {
	color: var(--lw-blue);
}

.post-term-list small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 24px;
	border-radius: 999px;
	background: var(--lw-soft);
	color: rgba(21, 25, 34, .52);
	font-size: 11px;
}

.post-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.post-tag-cloud a {
	display: inline-flex;
	padding: 7px 10px;
	border: 1px solid rgba(10, 99, 199, .14);
	border-radius: 999px;
	background: rgba(239, 246, 255, .74);
	color: var(--lw-blue);
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
	text-decoration: none;
}

.post-tag-cloud a:hover,
.post-tag-cloud a:focus-visible {
	border-color: rgba(10, 99, 199, .34);
	background: rgba(10, 99, 199, .1);
	color: var(--lw-blue-dark);
}

.lw-page {
	display: grid;
	gap: 70px;
}

.lw-page-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
	align-items: center;
	gap: min(6vw, 72px);
	margin-top: 10px;
}

.lw-page-eyebrow {
	margin: 0 0 16px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--lw-blue);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.lw-page-eyebrow::before {
	width: 36px;
	height: 3px;
	content: "";
	background: currentColor;
}

.lw-page-hero h1,
.lw-page-hero h2,
.lw-page-section h2 {
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	background: none;
	font-size: clamp(34px, 5vw, 66px);
	line-height: 1.08;
}

.lw-page-hero p,
.lw-page-section p,
.lw-card p,
.lw-flow p,
.lw-company-table {
	color: #2b3545;
	font-size: 17px;
	line-height: 1.95;
}

.lw-page-hero__image,
.lw-offset-image {
	position: relative;
}

.lw-page-hero__image::before,
.lw-offset-image::before {
	position: absolute;
	inset: 8% -6% -7% 9%;
	z-index: 0;
	content: "";
	border-radius: 42px;
	background: linear-gradient(135deg, rgba(10, 99, 199, .16), rgba(6, 182, 212, .2));
}

.lw-page-hero__image img,
.lw-offset-image img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 42px;
	box-shadow: 0 28px 80px rgba(7, 31, 67, .14);
}

.lw-page-section {
	display: grid;
	gap: 30px;
}

.lw-page-section--split {
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: min(6vw, 70px);
}

.lw-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.lw-card {
	padding: 28px;
	border: 1px solid rgba(10, 99, 199, .12);
	border-radius: 8px;
	background: rgba(255, 255, 255, .78);
	box-shadow: 0 18px 60px rgba(7, 31, 67, .06);
}

.lw-card h3 {
	margin: 0 0 14px;
	color: var(--lw-blue-dark);
	font-size: 23px;
	line-height: 1.4;
}

.lw-card p:last-child,
.lw-flow p:last-child,
.lw-page-section p:last-child {
	margin-bottom: 0;
}

.lw-card-number {
	display: inline-grid;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	place-items: center;
	border-radius: 50%;
	color: var(--lw-white);
	background: var(--lw-black);
	font-size: 13px;
	font-weight: 900;
}

.lw-feature-band {
	padding: 42px;
	border-radius: 44px;
	color: var(--lw-white);
	background: linear-gradient(135deg, var(--lw-blue-dark), var(--lw-blue));
}

.lw-feature-band h2,
.lw-feature-band h3,
.lw-feature-band p {
	color: var(--lw-white);
}

.lw-feature-band h2 {
	font-size: clamp(30px, 4vw, 54px);
}

.lw-flow-list {
	display: grid;
	gap: 16px;
	counter-reset: flow;
}

.lw-flow {
	position: relative;
	padding: 24px 28px 24px 86px;
	border-radius: 8px;
	background: var(--lw-soft);
}

.lw-flow::before {
	position: absolute;
	left: 28px;
	top: 28px;
	counter-increment: flow;
	content: counter(flow, decimal-leading-zero);
	color: var(--lw-blue);
	font-size: 18px;
	font-weight: 900;
}

.lw-flow h3 {
	margin: 0 0 8px;
	font-size: 22px;
}

.lw-company-table {
	width: 100%;
	border-collapse: collapse;
	overflow: hidden;
	border-radius: 18px;
	background: rgba(255, 255, 255, .82);
}

.lw-company-table th,
.lw-company-table td {
	padding: 18px 20px;
	border-bottom: 1px solid var(--lw-line);
	text-align: left;
	vertical-align: top;
}

.lw-company-table th {
	width: 28%;
	color: var(--lw-blue-dark);
	font-weight: 900;
	background: var(--lw-pale);
}

.lw-company-table tr:last-child th,
.lw-company-table tr:last-child td {
	border-bottom: 0;
}

.lw-work-note {
	padding: 26px 30px;
	border-left: 6px solid var(--lw-blue);
	border-radius: 0 18px 18px 0;
	background: var(--lw-pale);
}

.lw-page .wp-block-query {
	margin-top: 20px;
}

.lw-page .wp-block-post-template {
	gap: 24px;
}

.lw-page .wp-block-post-featured-image img {
	border-radius: 24px;
	box-shadow: 0 18px 60px rgba(7, 31, 67, .09);
}

.lw-page .wp-block-post-template {
	row-gap: 38px;
}

.lw-page .wp-block-post {
	display: grid;
	gap: 16px;
}

.lw-page .wp-block-post-title {
	margin: 0;
	font-size: clamp(17px, 1.45vw, 20px);
	line-height: 1.45;
}

.lw-page .wp-block-post-title a {
	color: var(--lw-ink);
	text-decoration: none;
}

.lw-page .wp-block-post-title a:hover,
.lw-page .wp-block-post-title a:focus-visible {
	color: var(--lw-blue);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: .22em;
}

.lw-page .wp-block-query-pagination {
	margin-top: 46px;
	justify-content: center;
	gap: 10px;
}

.lw-page .wp-block-query-pagination-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.lw-page .wp-block-query-pagination .page-numbers,
.lw-page .wp-block-query-pagination-previous,
.lw-page .wp-block-query-pagination-next {
	min-width: 44px;
	min-height: 44px;
	padding: 8px 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--lw-line);
	border-radius: 999px;
	background: var(--lw-white);
	color: var(--lw-ink);
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 0 12px 34px rgba(7, 31, 67, .06);
}

.lw-page .wp-block-query-pagination a.page-numbers:hover,
.lw-page .wp-block-query-pagination a.page-numbers:focus-visible,
.lw-page .wp-block-query-pagination-previous:hover,
.lw-page .wp-block-query-pagination-previous:focus-visible,
.lw-page .wp-block-query-pagination-next:hover,
.lw-page .wp-block-query-pagination-next:focus-visible {
	color: var(--lw-white);
	background: var(--lw-black);
	border-color: var(--lw-black);
}

.lw-page .wp-block-query-pagination .page-numbers.current {
	color: var(--lw-white);
	background: var(--lw-blue);
	border-color: var(--lw-blue);
}

.mw_wp_form {
	max-width: 880px;
	padding: 34px 34px 40px;
	border: 1px solid rgba(10, 99, 199, .12);
	border-radius: 28px;
	background: rgba(255, 255, 255, .86);
	box-shadow: 0 24px 70px rgba(7, 31, 67, .08);
}

.mw_wp_form form {
	display: grid;
	gap: 12px;
}

.mw_wp_form p {
	margin: 0;
}

.mw_wp_form .p_small1:first-child {
	margin: 0 0 8px;
	padding: 12px 16px;
	display: inline-flex;
	width: fit-content;
	border-radius: 999px;
	color: var(--lw-muted);
	background: var(--lw-soft);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.4;
}

.mw_wp_form form > p:not(.p_small1) {
	margin-top: 10px;
	color: var(--lw-ink);
	font-size: 17px;
	font-weight: 900;
	line-height: 1.5;
}

.mw_wp_form .mw-form-label {
	margin-top: 10px;
	color: var(--lw-ink);
	font-size: 17px;
	font-weight: 900;
	line-height: 1.5;
}

.mw_wp_form .mw-form-label::first-letter {
	color: var(--lw-blue);
}

.mw_wp_form form > p:not(.p_small1)::first-letter {
	color: var(--lw-blue);
}

.mw_wp_form_confirm .mw-form-label::first-letter,
.mw_wp_form_confirm form > p:not(.p_small1)::first-letter {
	color: inherit;
}

.mw_wp_form .stCaution {
	color: #d9364f !important;
	font-weight: 900;
}

.mw_wp_form form > p:not(.p_small1) .stCaution {
	margin-left: .25em;
	padding: 0;
	display: inline;
	border-radius: 0;
	background: transparent;
	color: #d9364f !important;
	font-size: .9em;
	line-height: inherit;
	vertical-align: baseline;
}

.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="tel"],
.mw_wp_form input[type="url"],
.mw_wp_form input[type="number"],
.mw_wp_form textarea,
.mw_wp_form select {
	width: min(100%, 720px);
	min-height: 58px;
	padding: 14px 18px;
	border: 1px solid var(--lw-line);
	border-radius: 8px;
	color: var(--lw-ink);
	background: var(--lw-white);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
	font: inherit;
	font-size: 17px;
	font-weight: 650;
	line-height: 1.6;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mw_wp_form form > p:not(.p_small1) + input,
.mw_wp_form form > p:not(.p_small1) + textarea,
.mw_wp_form form > p:not(.p_small1) + select {
	margin-top: -2px;
}

.mw_wp_form .mw-form-field {
	margin-top: -2px;
}

.mw_wp_form_confirm .mw-form-field {
	margin: 0 0 18px 2em;
	color: var(--lw-ink);
	font-size: 17px;
	font-weight: 900;
	line-height: 1.7;
}

.mw_wp_form_confirm .mw-form-field:empty {
	margin-bottom: 0;
}

.mw_wp_form textarea {
	width: 100%;
	min-height: 220px;
	resize: vertical;
}

.mw_wp_form input:focus,
.mw_wp_form textarea:focus,
.mw_wp_form select:focus {
	outline: none;
	border-color: var(--lw-blue);
	background: #fbfdff;
	box-shadow: 0 0 0 4px rgba(10, 99, 199, .12);
}

.mw_wp_form input[type="submit"],
.mw_wp_form button[type="submit"] {
	width: fit-content;
	min-width: 190px;
	min-height: 58px;
	margin-top: 22px;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	color: var(--lw-white);
	background: var(--lw-black);
	font: inherit;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: .06em;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mw_wp_form input[type="submit"]:hover,
.mw_wp_form input[type="submit"]:focus-visible,
.mw_wp_form button[type="submit"]:hover,
.mw_wp_form button[type="submit"]:focus-visible {
	transform: translateY(-2px);
	background: var(--lw-blue);
	box-shadow: 0 18px 44px rgba(10, 99, 199, .22);
}

@media (max-width: 1100px) {
	body.is-menu-open {
		overflow: hidden;
	}

	.menu-toggle {
		display: inline-flex;
		position: relative;
		z-index: 31;
	}

	.site-header__inner {
		min-height: 150px;
		padding: 0 42px;
	}

	.site-brand img {
		height: 58px;
	}

	.site-nav {
		position: fixed;
		left: 50%;
		top: 188px;
		z-index: 30;
		width: min(520px, calc(100vw - 32px));
		padding: 26px;
		display: grid;
		gap: 10px;
		background: rgba(255, 255, 255, .96);
		border: 1px solid rgba(255, 255, 255, .78);
		border-radius: 36px;
		box-shadow: 0 28px 80px rgba(7, 31, 67, .18);
		backdrop-filter: blur(18px);
		opacity: 0;
		pointer-events: none;
		transform: translate(-50%, -12px);
		transition: opacity .22s ease, transform .22s ease;
	}

	.is-menu-open .site-nav {
		opacity: 1;
		pointer-events: auto;
		transform: translate(-50%, 0);
	}

	.site-nav a {
		min-height: 56px;
		padding: 14px 18px;
		justify-content: space-between;
		background: var(--lw-soft);
		font-size: 15px;
	}

	.site-nav a::after {
		content: "→";
	}

	.hero {
		min-height: 620px;
	}

	.hero__image {
		width: 64%;
	}

	.hero h1 {
		font-size: clamp(54px, 11vw, 104px);
	}

	.section__head,
	.intro-grid {
		grid-template-columns: 1fr;
	}

	.service-circles {
		grid-template-columns: 1fr;
	}

	.blog-grid {
		grid-template-columns: 1fr;
	}

	.post-layout--with-sidebar {
		grid-template-columns: 1fr;
	}

	.post-sidebar__inner {
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}

	.post-sidebar {
		position: static;
	}

	.lw-page-hero,
	.lw-page-section--split,
	.lw-card-grid {
		grid-template-columns: 1fr;
	}

	.lw-page-hero__image {
		order: -1;
	}

	.service-circle {
		aspect-ratio: auto;
		border-radius: 44px;
		outline-offset: 0;
	}

	.works-track {
		overflow-x: auto;
		padding-bottom: 10px;
	}
}

@media (max-width: 700px) {
	:root {
		--lw-canvas: min(100vw - 16px, 1500px);
		--lw-inner: min(100vw - 32px, 1320px);
	}

	.site-header {
		padding: 10px 0;
	}

	.site-header__inner {
		min-height: 96px;
		padding: 0 22px;
	}

	.site-brand img {
		height: 46px;
	}

	.menu-toggle {
		min-width: 52px;
		min-height: 42px;
		padding: 10px 12px;
	}

	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.site-nav {
		top: 118px;
		border-radius: 28px;
	}

	.hero,
	.section,
	.cta,
	.page-main {
		border-radius: 36px;
	}

	.hero {
		min-height: 620px;
		padding: 44px 28px;
	}

	.lw-page {
		gap: 48px;
	}

	.entry h1,
	.post-layout--with-sidebar .entry h1 {
		font-size: clamp(32px, 10vw, 48px);
	}

	.entry-meta {
		margin-bottom: 28px;
	}

	.post-sidebar__section {
		border-radius: 20px;
	}

.lw-page-hero h1,
.lw-page-hero h2,
.lw-page-section h2 {
	font-size: clamp(30px, 10vw, 46px);
}

	.lw-page-hero__image img,
	.lw-offset-image img,
	.lw-feature-band {
		border-radius: 30px;
	}

	.lw-feature-band,
	.lw-card {
		padding: 26px 22px;
	}

	.lw-flow {
		padding: 60px 22px 22px;
	}

	.lw-flow::before {
		left: 22px;
		top: 20px;
	}

	.lw-company-table,
	.lw-company-table tbody,
	.lw-company-table tr,
	.lw-company-table th,
	.lw-company-table td {
		display: block;
		width: 100%;
	}

	.lw-company-table th {
		padding-bottom: 8px;
	}

	.lw-company-table td {
		padding-top: 8px;
	}

	.mw_wp_form {
		padding: 24px 18px;
		border-radius: 24px;
	}

	.mw_wp_form input[type="text"],
	.mw_wp_form input[type="email"],
	.mw_wp_form input[type="tel"],
	.mw_wp_form input[type="url"],
	.mw_wp_form input[type="number"],
	.mw_wp_form textarea,
	.mw_wp_form select,
	.mw_wp_form input[type="submit"],
	.mw_wp_form button[type="submit"] {
		width: 100%;
	}

	.hero__image {
		inset: auto 0 0;
		width: 100%;
		height: 48%;
		border-radius: 36px;
		opacity: .72;
	}

	.hero__eyebrow {
		position: static;
		writing-mode: horizontal-tb;
		font-size: 12px;
		letter-spacing: .18em;
	}

	.hero h1 {
		margin: 22px 0;
		font-size: clamp(48px, 15vw, 72px);
	}

	.hero__rule {
		width: 160px;
		margin: 0 0 26px;
	}

	.hero__lead {
		font-size: 18px;
	}

	.section {
		padding: 64px 28px;
	}

	.section__title-en {
		font-size: clamp(54px, 18vw, 86px);
	}

	.intro-card {
		padding: 30px;
		border-radius: 28px;
	}

	.intro-visual {
		min-height: 260px;
		border-radius: 28px;
	}

	.works-track {
		grid-template-columns: 1fr;
	}

	.news-item {
		grid-template-columns: 1fr;
		border-radius: 28px;
		gap: 4px;
	}

	.archive-card {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 14px;
	}

	.archive-card__body {
		padding: 0 4px 6px;
	}

	.archive-card h2 {
		font-size: 19px;
	}

	.notice-item {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.news-item::after {
		display: none;
	}

	.site-footer__inner {
		display: block;
	}

	.footer-nav {
		display: grid;
		gap: 8px;
	}
}
