/* =========================================================
   MAKASE18 Members - main.css
   ========================================================= */

:root {
	--navy:        #0B1220;
	--navy-2:      #111c30;
	--navy-3:      #1a2740;
	--blue:        #2d6cff;
	--blue-2:      #5b8def;
	--cyan:        #22d3ee;
	--text:        #1a2233;
	--muted:       #5b6577;
	--line:        #e6ebf2;
	--bg:          #ffffff;
	--bg-soft:     #f5f8fc;
	--radius:      16px;
	--radius-sm:   10px;
	--shadow:      0 10px 40px rgba(11, 18, 32, .08);
	--shadow-lg:   0 24px 70px rgba(11, 18, 32, .16);
	--container:   1140px;
	--ease:        cubic-bezier(.16, 1, .3, 1);
}

/* ----- Reset / Base ----- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Noto Sans JP", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.8;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* ----- Buttons ----- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: 13px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 38px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--primary {
	background: linear-gradient(135deg, var(--blue) 0%, #4f86ff 100%);
	color: #fff;
	box-shadow: 0 8px 24px rgba(45, 108, 255, .35);
}
.btn--primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(45, 108, 255, .45); }
.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ----- Brand text ----- */
.brand-text {
	font-family: "Inter", sans-serif;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: .02em;
	color: var(--text);
}
.brand-accent { color: var(--blue); }
.brand-text--footer { color: #fff; font-size: 24px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .85);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(11, 18, 32, .06); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	gap: 24px;
}
.custom-logo { max-height: 40px; width: auto; }
.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	flex: 1;
	justify-content: flex-end;
}
.nav-menu {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-menu a {
	color: var(--text);
	font-weight: 500;
	font-size: 15px;
	position: relative;
}
.nav-menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: -6px;
	width: 0; height: 2px;
	background: var(--blue);
	transition: width .25s var(--ease);
}
.nav-menu a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 10px; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	background: none; border: none; cursor: pointer;
	padding: 0;
}
.nav-toggle span {
	display: block;
	width: 24px; height: 2px;
	background: var(--text);
	margin: 0 auto;
	transition: transform .3s, opacity .3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
	position: relative;
	background: var(--navy);
	color: #fff;
	overflow: hidden;
	min-height: calc(100vh - 72px);
	display: flex;
	align-items: center;
	padding: 100px 0;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(900px 500px at 80% -10%, rgba(45, 108, 255, .45), transparent 60%),
		radial-gradient(700px 500px at 10% 110%, rgba(34, 211, 238, .25), transparent 55%),
		linear-gradient(180deg, #0b1220 0%, #0e1730 100%);
}
.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(900px 600px at 50% 40%, #000, transparent 85%);
	animation: heroGridMove 20s linear infinite;
}
@keyframes heroGridMove {
	from { background-position: 0 0, 0 0; }
	to   { background-position: 56px 56px, 56px 56px; }
}

/* パーティクル・ネットワーク（canvas） */
.hero__canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* 幾何学シェイプ（回転リング・多角形） */
.hero__shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__shape {
	position: absolute;
	border-style: solid;
	opacity: .5;
	will-change: transform;
}
.hero__shape--ring1 {
	width: 520px; height: 520px;
	top: -160px; right: -140px;
	border: 1px dashed rgba(91,141,239,.35);
	border-radius: 50%;
	animation: spin 38s linear infinite;
}
.hero__shape--ring2 {
	width: 320px; height: 320px;
	top: -60px; right: -40px;
	border: 1px solid rgba(34,211,238,.25);
	border-radius: 50%;
	animation: spin 26s linear infinite reverse;
}
.hero__shape--ring3 {
	width: 460px; height: 460px;
	bottom: -200px; left: -160px;
	border: 1px dashed rgba(34,211,238,.3);
	border-radius: 50%;
	animation: spin 44s linear infinite;
}
.hero__shape--hex {
	width: 170px; height: 170px;
	bottom: 10%; right: 9%;
	border: none;
	clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
	background: linear-gradient(135deg, rgba(91,141,239,.18), rgba(34,211,238,.06));
	animation: spin 30s linear infinite, floatY 8s ease-in-out infinite;
}
.hero__shape--tri {
	width: 120px; height: 120px;
	top: 15%; left: 6%;
	border: none;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	background: linear-gradient(180deg, rgba(34,211,238,.16), rgba(34,211,238,0));
	animation: spin 24s linear infinite reverse;
}
@keyframes spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }

/* スクロール誘導 */
.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	z-index: 2;
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255,255,255,.4);
	border-radius: 14px;
	display: block;
}
.hero__scroll span {
	position: absolute;
	top: 8px; left: 50%;
	width: 4px; height: 8px;
	margin-left: -2px;
	background: var(--cyan);
	border-radius: 2px;
	animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
	0%   { opacity: 0; transform: translateY(0); }
	30%  { opacity: 1; }
	70%  { opacity: 1; transform: translateY(14px); }
	100% { opacity: 0; transform: translateY(16px); }
}
.hero__eyebrow {
	font-family: "Inter", sans-serif;
	letter-spacing: .35em;
	font-size: 13px;
	font-weight: 600;
	color: var(--cyan);
	margin-bottom: 22px;
}
.hero__title {
	font-size: clamp(34px, 6vw, 60px);
	font-weight: 900;
	margin: 0 0 24px;
	background: linear-gradient(180deg, #fff 30%, #c9d8ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.hero__sub {
	font-size: clamp(15px, 2vw, 18px);
	color: #c5cee0;
	margin: 0 auto 40px;
	max-width: 640px;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	text-align: left;
	max-width: var(--container);
	gap: 20px;
}
.section__eyebrow {
	font-family: "Inter", sans-serif;
	letter-spacing: .25em;
	font-size: 12px;
	font-weight: 700;
	color: var(--blue);
	margin: 0 0 10px;
}
.section__title { font-size: clamp(26px, 4vw, 38px); margin: 0; }
.section__lead { color: var(--muted); margin-top: 18px; font-size: 16px; }
.link-arrow { font-weight: 600; white-space: nowrap; }

/* ----- Dark section (AI team) ----- */
.section--dark {
	position: relative;
	background: var(--navy);
	color: #fff;
	overflow: hidden;
}
.section--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(800px 400px at 85% -10%, rgba(45,108,255,.35), transparent 60%),
		radial-gradient(600px 400px at 5% 110%, rgba(34,211,238,.18), transparent 55%);
	pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }
.section__eyebrow--light { color: var(--cyan); }
.section__title--light { color: #fff; }
.section__lead--light { color: #c5cee0; }
.section__lead--light strong { color: #fff; }

.team-visual {
	margin: 0 auto;
	max-width: 1000px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.1);
	box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04);
	background: rgba(255,255,255,.03);
	padding: 14px;
}
.team-visual img { width: 100%; border-radius: 10px; display: block; }

.team-points {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 760px;
	margin: 48px auto 0;
}
.team-point {
	text-align: center;
	padding: 26px 16px;
	border-radius: var(--radius);
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.08);
}
.team-point__num {
	display: block;
	font-family: "Inter", sans-serif;
	font-weight: 800;
	font-size: 46px;
	line-height: 1;
	background: linear-gradient(135deg, #fff 30%, var(--cyan) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 10px;
}
.team-point__num small { font-size: 22px; }
.team-point__num { transition: filter .3s, transform .3s; }
.team-point__num.is-counting {
	filter: drop-shadow(0 0 14px rgba(34,211,238,.7));
	transform: scale(1.04);
}
.team-point p { margin: 0; font-weight: 700; font-size: 15px; color: #fff; }
.team-point p small { display: block; font-weight: 400; font-size: 12.5px; color: #9fb0cc; margin-top: 4px; }

/* ----- Feature grid ----- */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.feature-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 36px 30px;
	box-shadow: var(--shadow);
	transition: transform .3s var(--ease), box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card__icon {
	font-family: "Inter", sans-serif;
	font-weight: 800;
	font-size: 20px;
	width: 54px; height: 54px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 14px;
	color: #fff;
	background: linear-gradient(135deg, var(--blue), #4f86ff);
	margin-bottom: 22px;
	box-shadow: 0 8px 20px rgba(45, 108, 255, .3);
}
.feature-card h3 { font-size: 19px; margin: 0 0 10px; }
.feature-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ----- News list ----- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list--full { max-width: 860px; margin: 0 auto; }
.news-item { border-bottom: 1px solid var(--line); }
.news-item a {
	display: flex;
	align-items: baseline;
	gap: 24px;
	padding: 20px 8px;
	color: var(--text);
	transition: background .2s, padding-left .2s var(--ease);
	border-radius: 8px;
}
.news-item a:hover { background: rgba(45, 108, 255, .04); padding-left: 16px; color: var(--blue); }
.news-item__date {
	font-family: "Inter", sans-serif;
	color: var(--muted);
	font-size: 14px;
	flex-shrink: 0;
	min-width: 110px;
}
.news-item__title { font-weight: 500; }
.news-item--empty { color: var(--muted); padding: 20px 8px; }

/* ----- Blog grid ----- */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.blog-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .3s var(--ease), box-shadow .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--navy-2);
	overflow: hidden;
}
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card__thumb img { transform: scale(1.06); }
.blog-card__noimg {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: rgba(255, 255, 255, .35);
	font-family: "Inter", sans-serif; font-weight: 800; font-size: 22px;
	background: radial-gradient(400px 200px at 70% -20%, rgba(45,108,255,.5), transparent), var(--navy-2);
}
.blog-card__body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-family: "Inter", sans-serif; color: var(--muted); font-size: 13px; }
.blog-card__title { font-size: 17px; margin: 8px 0 10px; }
.blog-card__title a { color: var(--text); }
.blog-card__title a:hover { color: var(--blue); }
.blog-card__excerpt { color: var(--muted); font-size: 14px; margin: 0; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { padding: 0 0 96px; }
.cta-band__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.cta-band__card {
	border-radius: var(--radius);
	padding: 44px 40px;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.cta-band__card h3 { font-size: 22px; margin: 0 0 10px; }
.cta-band__card p { opacity: .9; margin: 0 0 24px; font-size: 15px; }
.cta-band__card--member {
	background: linear-gradient(135deg, #102347 0%, #1d3a73 100%);
}
.cta-band__card--member::after {
	content: ""; position: absolute; right: -40px; top: -40px;
	width: 200px; height: 200px; border-radius: 50%;
	background: radial-gradient(circle, rgba(45,108,255,.5), transparent 70%);
}
.cta-band__card--new {
	background: linear-gradient(135deg, #0b1220 0%, #11203a 100%);
	border: 1px solid rgba(255,255,255,.08);
}
.cta-band__card--new::after {
	content: ""; position: absolute; right: -40px; bottom: -40px;
	width: 200px; height: 200px; border-radius: 50%;
	background: radial-gradient(circle, rgba(34,211,238,.35), transparent 70%);
}
.cta-band__card .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); position: relative; z-index: 1; }
.cta-band__card .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ----- Contact fallback ----- */
.contact-fallback { text-align: center; max-width: 620px; margin: 0 auto; }
.contact-fallback p { color: var(--muted); margin-bottom: 24px; }

/* =========================================================
   Members page
   ========================================================= */
.members { padding: 70px 0 96px; min-height: 60vh; }
.members__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 28px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--line);
}
.members__title { font-size: clamp(26px, 4vw, 34px); margin: 6px 0 4px; }
.members__welcome { color: var(--muted); margin: 0; }
.plan-badge {
	display: inline-block;
	margin-left: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, var(--blue), #4f86ff);
	vertical-align: middle;
}
.members__intro--plan { background: linear-gradient(135deg, #eef3ff, #f5f8fc); border-color: #d6e2ff; }
.members__intro {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 28px;
	margin-bottom: 40px;
}
.members-block { margin-bottom: 56px; }
.members-block__title {
	font-size: 22px;
	margin: 0 0 24px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--line);
}

/* ----- Video ----- */
.video-item { margin-bottom: 36px; }
.video-item__title { font-size: 18px; margin: 0 0 14px; }
.video-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--navy-2);
	box-shadow: var(--shadow);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	aspect-ratio: 16 / 6;
	background: var(--bg-soft);
	border: 2px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	text-align: center;
	padding: 24px;
}

/* ----- Support ----- */
.support-card {
	background: linear-gradient(135deg, #102347 0%, #1d3a73 100%);
	color: #fff;
	border-radius: var(--radius);
	padding: 36px 34px;
}
.support-card p { opacity: .92; }

/* =========================================================
   Login form
   ========================================================= */
.login-wrap {
	display: flex;
	justify-content: center;
	padding: 40px 0 60px;
}
.login-card {
	width: 100%;
	max-width: 440px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 44px 40px;
	box-shadow: var(--shadow-lg);
}
.login-card__eyebrow {
	font-family: "Inter", sans-serif;
	letter-spacing: .25em;
	font-size: 12px;
	font-weight: 700;
	color: var(--blue);
	text-align: center;
	margin: 0 0 8px;
}
.login-card__title { text-align: center; font-size: 26px; margin: 0 0 12px; }
.login-card__lead { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.login-error {
	background: #fdecec;
	border: 1px solid #f5b5b5;
	color: #c0392b;
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-size: 14px;
	margin-bottom: 20px;
}
.login-card label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}
.login-card .login-username,
.login-card .login-password { margin-bottom: 18px; }
.login-card input[type="text"],
.login-card input[type="password"] {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 15px;
	transition: border-color .2s, box-shadow .2s;
	font-family: inherit;
}
.login-card input[type="text"]:focus,
.login-card input[type="password"]:focus {
	outline: none;
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(45, 108, 255, .15);
}
.login-card .login-remember { font-weight: 400; font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.login-card .login-remember input { width: auto; }
.login-card .login-submit input,
.login-card #wp-submit {
	width: 100%;
	padding: 15px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--blue) 0%, #4f86ff 100%);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(45, 108, 255, .35);
	transition: transform .2s, box-shadow .2s;
	font-family: inherit;
}
.login-card #wp-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(45, 108, 255, .45); }
.login-card__foot { text-align: center; margin: 22px 0 0; font-size: 14px; }
.login-card__note {
	text-align: center;
	margin: 24px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--muted);
	line-height: 1.9;
}

/* =========================================================
   Single / Page content
   ========================================================= */
.single { padding: 70px 0 96px; }
.single__head { margin-bottom: 32px; }
.single__title { font-size: clamp(24px, 4vw, 36px); margin: 10px 0 16px; }
.single__meta { color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; font-family: "Inter", sans-serif; }
.single__thumb { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; }
.single__body { font-size: 16.5px; }
.entry-content h2 { font-size: 24px; margin: 48px 0 16px; padding-left: 14px; border-left: 4px solid var(--blue); }
.entry-content h3 { font-size: 20px; margin: 36px 0 12px; }
.entry-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content blockquote {
	margin: 24px 0; padding: 16px 24px;
	border-left: 4px solid var(--blue);
	background: var(--bg-soft);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--muted);
}
.single__nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 56px 0 24px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.single__back { text-align: center; }

/* ----- Pagination ----- */
.pagination { margin-top: 56px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	color: var(--text); font-weight: 600; font-family: "Inter", sans-serif;
}
.pagination .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.pagination .page-numbers.current:hover { color: #fff; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: #c5cee0; padding: 64px 0 0; }
.site-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
	padding-bottom: 48px;
}
.site-footer__desc { max-width: 420px; font-size: 14px; opacity: .8; margin-top: 14px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-menu a { color: #c5cee0; font-size: 15px; }
.footer-menu a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.site-footer__bottom small { color: rgba(255,255,255,.5); font-family: "Inter", sans-serif; }

/* =========================================================
   Loading screen
   ========================================================= */
.page-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: opacity .7s var(--ease), visibility .7s;
}
.page-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.page-loader__grid {
	position: absolute;
	inset: -2px;
	background-image:
		linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(520px 360px at 50% 50%, #000, transparent 75%);
	animation: loaderGridMove 8s linear infinite;
}
@keyframes loaderGridMove {
	from { background-position: 0 0, 0 0; }
	to   { background-position: 48px 48px, 48px 48px; }
}
.page-loader__inner { position: relative; text-align: center; z-index: 1; }
.page-loader__logo {
	font-family: "Inter", sans-serif;
	font-weight: 800;
	font-size: clamp(34px, 7vw, 56px);
	letter-spacing: .04em;
	color: #fff;
	opacity: 0;
	transform: translateY(14px);
	animation: loaderLogoIn .8s var(--ease) .15s forwards;
}
.page-loader__logo .brand-accent {
	color: var(--cyan);
	text-shadow: 0 0 24px rgba(34, 211, 238, .8);
	animation: loaderGlow 1.6s ease-in-out infinite;
}
.page-loader__tagline {
	font-family: "Inter", sans-serif;
	font-size: 11px;
	letter-spacing: .5em;
	color: rgba(197, 206, 224, .7);
	margin: 14px 0 26px;
	padding-left: .5em;
	opacity: 0;
	animation: loaderLogoIn .8s var(--ease) .35s forwards;
}
.page-loader__bar {
	width: 220px;
	max-width: 60vw;
	height: 3px;
	margin: 0 auto;
	background: rgba(255,255,255,.12);
	border-radius: 999px;
	overflow: hidden;
}
.page-loader__bar span {
	display: block;
	height: 100%;
	width: 40%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--blue), var(--cyan));
	box-shadow: 0 0 16px rgba(34, 211, 238, .7);
	animation: loaderBar 1.4s var(--ease) infinite;
}
@keyframes loaderLogoIn {
	to { opacity: 1; transform: translateY(0); }
}
@keyframes loaderGlow {
	0%, 100% { text-shadow: 0 0 18px rgba(34, 211, 238, .55); }
	50%      { text-shadow: 0 0 34px rgba(34, 211, 238, 1); }
}
@keyframes loaderBar {
	0%   { transform: translateX(-120%); width: 40%; }
	50%  { width: 70%; }
	100% { transform: translateX(320%); width: 40%; }
}

/* ロード完了後のヒーロー演出（JSで body.is-loaded を付与） */
.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__cta { opacity: 0; transform: translateY(26px); }
body.is-loaded .hero__eyebrow { animation: heroUp .9s var(--ease) .1s forwards; }
body.is-loaded .hero__title   { animation: heroUp .9s var(--ease) .25s forwards; }
body.is-loaded .hero__sub     { animation: heroUp .9s var(--ease) .42s forwards; }
body.is-loaded .hero__cta     { animation: heroUp .9s var(--ease) .58s forwards; }
@keyframes heroUp {
	to { opacity: 1; transform: translateY(0); }
}
/* JSが無効でも最終的に見えるようフォールバック */
.no-js .hero__eyebrow, .no-js .hero__title, .no-js .hero__sub, .no-js .hero__cta { opacity: 1; transform: none; }

/* =========================================================
   Dynamic motion enhancements
   ========================================================= */
/* ヒーロー背景をゆっくり動かす */
.hero__bg {
	background-size: 140% 140%, 140% 140%, 100% 100%;
	animation: heroBgShift 18s ease-in-out infinite alternate;
}
@keyframes heroBgShift {
	0%   { background-position: 80% 0%, 10% 100%, 0 0; }
	100% { background-position: 60% 20%, 30% 80%, 0 0; }
}
/* タイトルに光沢シマー */
.hero__title {
	background: linear-gradient(110deg, #fff 30%, #c9d8ff 45%, #fff 60%);
	background-size: 220% auto;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: heroUp .9s var(--ease) .25s forwards, titleShimmer 6s linear 1.4s infinite;
}
@keyframes titleShimmer {
	0%   { background-position: 200% center; }
	100% { background-position: -60% center; }
}
/* 浮遊するヒーローの光点 */
.hero__inner::before,
.hero__inner::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	pointer-events: none;
}
.hero__inner::before {
	width: 10px; height: 10px;
	background: var(--cyan);
	box-shadow: 0 0 18px 4px rgba(34,211,238,.6);
	top: 8%; left: -2%;
	animation: floatY 7s ease-in-out infinite;
}
.hero__inner::after {
	width: 7px; height: 7px;
	background: var(--blue-2);
	box-shadow: 0 0 16px 4px rgba(91,141,239,.6);
	bottom: 4%; right: 0%;
	animation: floatY 9s ease-in-out infinite reverse;
}
@keyframes floatY {
	0%, 100% { transform: translateY(0) translateX(0); opacity: .5; }
	50%      { transform: translateY(-26px) translateX(10px); opacity: 1; }
}
/* feature アイコンを軽く浮遊 */
.feature-card:hover .feature-card__icon { animation: iconPop .5s var(--ease); }
@keyframes iconPop {
	0% { transform: scale(1); }
	40% { transform: scale(1.12) rotate(-4deg); }
	100% { transform: scale(1); }
}
/* CTAバンドのグラデを動かす */
.cta-band__card--member, .cta-band__card--new {
	background-size: 180% 180%;
	animation: ctaShift 12s ease-in-out infinite alternate;
}
@keyframes ctaShift {
	0% { background-position: 0% 50%; }
	100% { background-position: 100% 50%; }
}
/* ボタンに光の通過 */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
	content: "";
	position: absolute;
	top: 0; left: -120%;
	width: 60%; height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
	transform: skewX(-20deg);
	transition: left .6s var(--ease);
}
.btn--primary:hover::after { left: 140%; }

/* スクロール進捗バー */
.scroll-progress {
	position: fixed;
	top: 0; left: 0;
	height: 3px;
	width: 0;
	background: linear-gradient(90deg, var(--blue), var(--cyan));
	z-index: 200;
	box-shadow: 0 0 12px rgba(34,211,238,.6);
	transition: width .1s linear;
}

/* 動きを減らす設定の人には配慮 */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.hero__eyebrow, .hero__title, .hero__sub, .hero__cta { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   AIチャットボット ウィジェット
   ========================================================= */
.m18chat { position: fixed; right: 22px; bottom: 22px; z-index: 9000; font-family: inherit; }

.m18chat__launcher {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue) 0%, #4f86ff 100%);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 12px 30px rgba(45,108,255,.45);
	transition: transform .25s var(--ease), box-shadow .25s;
}
.m18chat__launcher:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 38px rgba(45,108,255,.55); }
.m18chat__launcher-icon { font-size: 26px; line-height: 1; }
/* 丸アイコンのみ表示（閉じた状態）。ラベルは読み上げ用に残しつつ視覚的に非表示 */
.m18chat__launcher-label {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.m18chat.is-open .m18chat__launcher { display: none; }

.m18chat__panel[hidden] { display: none; }
.m18chat__panel {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(380px, calc(100vw - 32px));
	height: min(560px, calc(100vh - 110px));
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	animation: m18chatIn .3s var(--ease);
}
@keyframes m18chatIn {
	from { opacity: 0; transform: translateY(20px) scale(.98); }
	to   { opacity: 1; transform: none; }
}

.m18chat__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	background: linear-gradient(135deg, #0b1220 0%, #16294b 100%);
	color: #fff;
}
.m18chat__title { margin: 0; font-weight: 800; font-size: 15px; font-family: "Inter", sans-serif; }
.m18chat__status { margin: 2px 0 0; font-size: 12px; color: #7fe7f2; }
.m18chat__status::before { content: "● "; color: #46e0a0; font-size: 9px; vertical-align: middle; }
.m18chat__close {
	background: none; border: none; color: #fff; font-size: 24px; line-height: 1;
	cursor: pointer; opacity: .8; padding: 0 4px;
}
.m18chat__close:hover { opacity: 1; }

.m18chat__log {
	flex: 1;
	overflow-y: auto;
	padding: 18px;
	background: var(--bg-soft);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.m18chat__msg { display: flex; }
.m18chat__msg--user { justify-content: flex-end; }
.m18chat__msg--bot { justify-content: flex-start; }
.m18chat__bubble {
	max-width: 80%;
	padding: 11px 15px;
	border-radius: 16px;
	font-size: 14.5px;
	line-height: 1.7;
	white-space: pre-wrap;
	word-break: break-word;
}
.m18chat__msg--user .m18chat__bubble {
	background: linear-gradient(135deg, var(--blue), #4f86ff);
	color: #fff;
	border-bottom-right-radius: 5px;
}
.m18chat__msg--bot .m18chat__bubble {
	background: #fff;
	color: var(--text);
	border: 1px solid var(--line);
	border-bottom-left-radius: 5px;
}
.m18chat__bubble--typing { display: inline-flex; gap: 5px; align-items: center; }
.m18chat__bubble--typing span {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--muted);
	animation: m18typing 1.2s infinite ease-in-out;
}
.m18chat__bubble--typing span:nth-child(2) { animation-delay: .2s; }
.m18chat__bubble--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes m18typing {
	0%, 60%, 100% { transform: translateY(0); opacity: .4; }
	30% { transform: translateY(-5px); opacity: 1; }
}

.m18chat__form {
	display: flex;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid var(--line);
	background: #fff;
}
.m18chat__input {
	flex: 1;
	padding: 11px 15px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font-size: 14.5px;
	font-family: inherit;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.m18chat__input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,108,255,.15); }
.m18chat__send {
	flex-shrink: 0;
	width: 44px; height: 44px;
	border: none;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue), #4f86ff);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	transition: transform .2s;
}
.m18chat__send:hover { transform: scale(1.08); }

@media (max-width: 480px) {
	.m18chat { right: 14px; bottom: 14px; }
	.m18chat__panel { height: min(70vh, calc(100vh - 90px)); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
	.feature-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
	.cta-band__inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed;
		top: 72px; right: 0;
		width: min(320px, 86vw);
		height: calc(100vh - 72px);
		background: #fff;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: 24px;
		box-shadow: -10px 0 40px rgba(11,18,32,.12);
		transform: translateX(110%);
		transition: transform .35s var(--ease);
		overflow-y: auto;
	}
	.site-nav.is-open { transform: translateX(0); }
	.nav-menu { flex-direction: column; gap: 0; }
	.nav-menu li { border-bottom: 1px solid var(--line); }
	.nav-menu a { display: block; padding: 16px 4px; }
	.nav-menu a::after { display: none; }
	.nav-cta { flex-direction: column; margin-top: 20px; }
	.nav-cta .btn { width: 100%; }
	.section { padding: 64px 0; }
	.hero { padding: 88px 0 96px; }
	.section__head--row { flex-direction: column; align-items: flex-start; }
	.members__head { flex-direction: column; }
}
@media (max-width: 560px) {
	.feature-grid, .blog-grid { grid-template-columns: 1fr; }
	.team-points { grid-template-columns: 1fr; max-width: 320px; }
	.team-point { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px 22px; }
	.team-point__num { margin-bottom: 0; font-size: 38px; }
	.login-card { padding: 32px 24px; }
	.cta-band__card { padding: 34px 26px; }
}
