/* =========================================================
   YUMINEKO Corporate Home
   /wp-content/themes/swell_child/assets/css/corporate-home.css
========================================================= */

:root {
	--yn-ink: #24383A;
	--yn-muted: #6F7E80;
	--yn-main: #8BBABB;
	--yn-main-deep: #5E8F91;
	--yn-soft: #F3F8F8;
	--yn-warm: #F4EFE7;
	--yn-line: #DCE9E9;
	--yn-white: #FFFFFF;
	--yn-dark: #365F61;
	--yn-radius: 22px;
	--yn-shadow: 0 16px 45px rgba(54, 95, 97, .08);
}


/* =========================================================
   BASE
========================================================= */

.yn-corp-home {
	color: var(--yn-ink);
	background: var(--yn-white);
}

.yn-corp-home *,
.yn-corp-home *::before,
.yn-corp-home *::after {
	box-sizing: border-box;
}

.yn-container {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

.yn-narrow {
	width: min(820px, calc(100% - 48px));
}

.yn-section {
	padding: 108px 0;
}

.yn-section--soft {
	background: var(--yn-soft);
}

.yn-section--dark {
	background: var(--yn-dark);
	color: #fff;
}

.yn-section--partner {
	background: var(--yn-warm);
}

.yn-section--representative {
	background: #fff;
}

.yn-section--company {
	background: var(--yn-main-deep);
	color: #fff;
}

.yn-section-label,
.yn-eyebrow {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--yn-main);
}

.yn-section-label--light {
	color: #C7DDDD;
}

.yn-corp-home h1,
.yn-corp-home h2,
.yn-corp-home h3,
.yn-corp-home p {
	margin-top: 0;
}

.yn-corp-home h1 {
	margin-bottom: 28px;
	font-size: clamp(46px, 6vw, 78px);
	font-weight: 750;
	line-height: 1.16;
	letter-spacing: -.035em;
}

.yn-corp-home h2 {
	margin-bottom: 28px;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.35;
	letter-spacing: -.02em;
}

.yn-corp-home p {
	line-height: 1.95;
}

.yn-center {
	margin-top: 38px;
	text-align: center;
}

.yn-text-link {
	font-weight: 700;
	color: var(--yn-main-deep);
	text-decoration: none;
}

.yn-text-link:hover {
	text-decoration: underline;
}


/* =========================================================
   BUTTONS
========================================================= */

.yn-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.yn-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 28px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none !important;
	transition:
		transform .2s ease,
		box-shadow .2s ease,
		background .2s ease;
}

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

.yn-button--primary {
	background: var(--yn-main-deep);
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(94, 143, 145, .22);
}

.yn-button--ghost {
	border: 1px solid var(--yn-line);
	background: #fff;
	color: var(--yn-ink) !important;
}

.yn-button--ghost-dark {
	border: 1px solid rgba(255, 255, 255, .38);
	color: #fff !important;
}

.yn-button--large {
	min-width: 260px;
	min-height: 62px;
	font-size: 16px;
}


/* =========================================================
   HERO
========================================================= */

.yn-hero {
	position: relative;
	overflow: hidden;
	padding: 112px 0 92px;
	background:
		linear-gradient(
			90deg,
			rgba(255,255,255,.96) 0%,
			rgba(255,255,255,.88) 48%,
			rgba(243,248,248,.72) 100%
		),
		linear-gradient(
			180deg,
			#fff 0%,
			#F6FAFA 100%
		);
}

.yn-hero::before {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -180px;
	top: -150px;
	border-radius: 50%;
	background: rgba(139, 186, 187, .12);
}

.yn-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
	align-items: center;
	gap: 72px;
}

.yn-hero__brand {
	min-height: 52px;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
}

.yn-hero__wordmark {
	display: inline-block;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: .12em;
	color: var(--yn-main-deep);
}

.yn-hero .yn-eyebrow {
	margin-bottom: 20px;
	color: #718486;
	font-size: 11px;
}

.yn-hero__lead {
	max-width: 720px;
	margin-bottom: 32px;
	font-size: 16px;
	line-height: 2;
	color: var(--yn-muted);
}

.yn-hero__service-note {
	margin: 26px 0 0;
	font-size: 12px;
	color: #819092;
}

.yn-hero__service-note a {
	color: var(--yn-main-deep);
	font-weight: 700;
	text-decoration: none;
}

.yn-hero__visual {
	position: relative;
	min-height: 470px;
}

.yn-hero__circle {
	position: absolute;
	border-radius: 50%;
}

.yn-hero__circle--large {
	width: 430px;
	height: 430px;
	right: -10px;
	top: 16px;
	background: rgba(225, 240, 240, .96);
}

.yn-hero__circle--small {
	width: 170px;
	height: 170px;
	right: 310px;
	top: 245px;
	background: rgba(244, 239, 231, .88);
}

.yn-hero__character-wrap {
	position: absolute;
	z-index: 3;
	right: 24px;
	bottom: 8px;
	width: min(390px, 88%);
	height: 410px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.yn-hero__character-wrap.is-empty::after {
	content: "ゆみねこキャラクター画像";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 280px;
	height: 320px;
	border: 1px dashed rgba(139, 186, 187, .38);
	border-radius: 32px;
	background: rgba(255,255,255,.55);
	color: rgba(94, 143, 145, .65);
	font-size: 13px;
}

.yn-hero__character {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 18px 30px rgba(54, 95, 97, .08));
}

.yn-hero__message {
	position: absolute;
	z-index: 4;
	left: 0;
	top: 52px;
	padding: 22px 25px;
	border: 1px solid rgba(139, 186, 187, .20);
	border-radius: 20px;
	background: rgba(255,255,255,.90);
	box-shadow: 0 15px 38px rgba(54, 95, 97, .08);
	backdrop-filter: blur(7px);
}

.yn-hero__message span {
	display: block;
	margin-bottom: 9px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .11em;
	color: var(--yn-main);
	text-transform: uppercase;
}

.yn-hero__message strong {
	display: block;
	font-size: 20px;
	line-height: 1.5;
}

.yn-hero__bottom-line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(139,186,187,.28) 20%,
		rgba(139,186,187,.28) 80%,
		transparent 100%
	);
}


/* =========================================================
   MISSION
========================================================= */

.yn-prose p {
	color: var(--yn-muted);
}


/* =========================================================
   SECTION HEADER
========================================================= */

.yn-section-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: end;
	margin-bottom: 48px;
}

.yn-section-head--compact {
	align-items: center;
}

.yn-section-head__text,
.yn-section-intro {
	color: var(--yn-muted);
}

.yn-section-intro {
	max-width: 780px;
	margin-bottom: 42px;
}


/* =========================================================
   SERVICE
========================================================= */

.yn-service-logo-wrap {
	margin: 4px 0 46px;
	text-align: center;
}

.yn-service-logo {
	display: inline-block;
	width: min(320px, 42%);
	max-width: 100%;
	height: auto;
}

.yn-service-grid,
.yn-collab-grid,
.yn-trust-grid,
.yn-stats-grid {
	display: grid;
	gap: 20px;
}

.yn-service-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yn-service-card,
.yn-trust-card {
	min-width: 0;
	padding: 30px 32px;
	border: 1px solid var(--yn-line);
	border-radius: var(--yn-radius);
	background: #fff;
}

.yn-service-card__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 18px;
}

.yn-service-card__head span {
	display: inline-block;
	margin: 0;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: var(--yn-main);
	letter-spacing: .04em;
}

.yn-service-card__head strong {
	display: inline-block;
	margin: 0;
	font-size: 22px;
	line-height: 1.35;
	color: var(--yn-ink);
}

.yn-service-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--yn-muted);
}


/* =========================================================
   STATS
========================================================= */

.yn-stats-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 48px;
}

.yn-stat-card {
	padding: 34px 24px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--yn-radius);
	background: rgba(255,255,255,.055);
	text-align: center;
}

.yn-stat-card strong {
	display: block;
	margin-bottom: 8px;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.2;
}

.yn-stat-card span {
	display: block;
	font-size: 13px;
	line-height: 1.7;
	color: rgba(255,255,255,.86);
}

.yn-stat-card small {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255,255,255,.72);
}


/* =========================================================
   PARTNERSHIP
========================================================= */

.yn-two-col {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 86px;
	align-items: start;
}

.yn-partner-logo-wrap {
	margin: 0 0 22px 32px;
}

.yn-partner-logo {
	display: block;
	width: min(150px, 40%);
	max-width: 100%;
	height: auto;
	filter: drop-shadow(0 10px 24px rgba(54, 95, 97, .08));
}

.yn-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 34px;
}

.yn-tag-list span {
	padding: 9px 14px;
	border-radius: 999px;
	background: rgba(139, 186, 187, .16);
	font-size: 13px;
	font-weight: 700;
	color: var(--yn-main-deep);
}


/* =========================================================
   COLLABORATION
========================================================= */

.yn-collab-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yn-collab-grid div {
	min-width: 0;
	padding: 26px 22px;
	border-top: 1px solid var(--yn-line);
	border-bottom: 1px solid var(--yn-line);
	font-weight: 700;
}


/* =========================================================
   TRUST / ACHIEVEMENTS
========================================================= */

.yn-trust-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yn-trust-card strong {
	display: block;
	margin-bottom: 10px;
	font-size: 19px;
}

.yn-trust-card p {
	margin-bottom: 0;
	font-size: 14px;
	color: var(--yn-muted);
}


/* =========================================================
   NEWS
========================================================= */

.yn-news-list {
	border-top: 1px solid var(--yn-line);
}

.yn-news-item {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 20px;
	padding: 24px 4px;
	border-bottom: 1px solid var(--yn-line);
	color: var(--yn-ink);
	text-decoration: none !important;
}

.yn-news-item time {
	font-size: 13px;
	color: var(--yn-muted);
}

.yn-news-item span {
	font-weight: 700;
}

.yn-news-empty {
	padding: 30px 0;
	color: var(--yn-muted);
}


/* =========================================================
   REPRESENTATIVE
========================================================= */

.yn-representative-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
	gap: 72px;
	align-items: center;
}

.yn-representative-copy p {
	color: var(--yn-muted);
}

.yn-representative-name {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 30px 0 24px !important;
	color: var(--yn-ink) !important;
}

.yn-representative-name span {
	font-size: 12px;
	color: var(--yn-muted);
}

.yn-representative-name strong {
	font-size: 22px;
	letter-spacing: .03em;
}

.yn-representative-photo-wrap {
	overflow: hidden;
	width: 100%;
	max-width: 460px;
	justify-self: end;
	border-radius: 26px;
	box-shadow: var(--yn-shadow);
	background: var(--yn-soft);
}

.yn-representative-photo {
	display: block;
	width: 100%;
	height: auto;
}


/* =========================================================
   COMPANY
========================================================= */

.yn-company-grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 80px;
}

.yn-section--company .yn-section-label {
	color: #C7DDDD;
}

.yn-section--company p {
	color: rgba(255,255,255,.82);
}

.yn-company-list {
	margin: 0;
}

.yn-company-list > div {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 18px;
	padding: 18px 0;
	border-bottom: 1px solid rgba(255,255,255,.14);
}

.yn-company-list dt {
	font-size: 13px;
	color: rgba(255,255,255,.62);
}

.yn-company-list dd {
	margin: 0;
}

.yn-company-button {
	grid-column: 1 / -1;
}


/* =========================================================
   FINAL CTA
========================================================= */

.yn-final-cta {
	padding: 110px 0 120px;
	background: #F7FAFA;
	text-align: center;
}

.yn-final-cta p {
	margin-inline: auto;
	max-width: 760px;
	color: var(--yn-muted);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

	.yn-section {
		padding: 82px 0;
	}

	.yn-hero {
		padding: 86px 0 66px;
	}

	.yn-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.yn-hero__visual {
		min-height: 330px;
	}

	.yn-hero__circle--large {
		width: 330px;
		height: 330px;
		right: 0;
	}

	.yn-hero__circle--small {
		width: 130px;
		height: 130px;
		right: 260px;
		top: 185px;
	}

	.yn-hero__character-wrap {
		right: 20px;
		width: 330px;
		height: 300px;
	}

	.yn-hero__message {
		left: 4%;
		top: 40px;
	}

	.yn-section-head,
	.yn-two-col,
	.yn-company-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 42px;
	}

	.yn-service-logo {
		width: min(300px, 56%);
	}

	.yn-service-grid,
	.yn-collab-grid,
	.yn-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yn-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yn-partner-logo-wrap {
		margin-left: 18px;
	}

	.yn-partner-logo {
		width: min(140px, 38%);
	}

	.yn-representative-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.yn-representative-photo-wrap {
		max-width: 620px;
		justify-self: start;
	}
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 640px) {

	.yn-container,
	.yn-narrow {
		width: min(100% - 32px, 1180px);
	}

	.yn-section {
		padding: 66px 0;
	}

	.yn-corp-home h1 {
		font-size: 40px;
		line-height: 1.22;
	}

	.yn-corp-home h2 {
		font-size: 30px;
	}

	/* -----------------------------------------------------
	   HERO MOBILE
	   テキスト → ボタン → ビジュアルの順に見せ、
	   メッセージカードが猫の顔を隠さないように調整
	----------------------------------------------------- */

	.yn-hero {
		padding: 64px 0 44px;
	}

	.yn-hero__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 42px;
	}

	.yn-hero__brand {
		min-height: 42px;
		margin-bottom: 12px;
	}

	.yn-hero__wordmark {
		font-size: 22px;
	}

	.yn-hero__lead {
		font-size: 14px;
		line-height: 1.9;
	}

	.yn-hero__service-note {
		font-size: 11px;
	}

	.yn-hero__visual {
		position: relative;
		width: 100%;
		min-height: 390px;
		margin-top: 4px;
	}

	.yn-hero__circle--large {
		width: 280px;
		height: 280px;
		right: -16px;
		top: 76px;
	}

	.yn-hero__circle--small {
		width: 100px;
		height: 100px;
		left: 28px;
		right: auto;
		top: 245px;
	}

	.yn-hero__character-wrap {
		right: -4px;
		bottom: 0;
		width: 270px;
		height: 285px;
	}

	.yn-hero__character {
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: right bottom;
	}

	.yn-hero__message {
		left: 0;
		top: 18px;
		width: 158px;
		max-width: 158px;
		padding: 15px 16px;
		border-radius: 18px;
	}

	.yn-hero__message span {
		margin-bottom: 7px;
		font-size: 9px;
		line-height: 1.5;
	}

	.yn-hero__message strong {
		font-size: 15px;
		line-height: 1.55;
	}

	.yn-hero__character-wrap.is-empty::after {
		width: 210px;
		height: 240px;
		font-size: 11px;
	}

	/* -----------------------------------------------------
	   BUTTONS
	----------------------------------------------------- */

	.yn-buttons {
		flex-direction: column;
	}

	.yn-button {
		width: 100%;
	}

	/* -----------------------------------------------------
	   SERVICE
	   スマホでは必ず1列
	----------------------------------------------------- */

	.yn-service-logo-wrap {
		margin: 0 0 34px;
	}

	.yn-service-logo {
		width: min(270px, 72%);
	}

	.yn-corp-home .yn-service-grid,
	.yn-corp-home .yn-collab-grid,
	.yn-corp-home .yn-trust-grid,
	.yn-corp-home .yn-stats-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) !important;
		width: 100%;
	}

	.yn-corp-home .yn-service-card,
	.yn-corp-home .yn-trust-card,
	.yn-corp-home .yn-stat-card {
		width: 100%;
		min-width: 0;
	}

	.yn-service-card__head {
		display: flex;
		flex-direction: row;
		align-items: baseline;
		gap: 12px;
	}

	.yn-service-card__head strong {
		font-size: 20px;
		word-break: normal;
		overflow-wrap: anywhere;
	}

	.yn-service-card p {
		font-size: 14px;
		word-break: normal;
		overflow-wrap: break-word;
	}

	/* -----------------------------------------------------
	   PARTNER
	----------------------------------------------------- */

	.yn-partner-logo-wrap {
		margin-left: 0;
	}

	.yn-partner-logo {
		width: min(125px, 42%);
	}

	/* -----------------------------------------------------
	   NEWS
	----------------------------------------------------- */

	.yn-news-item {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}

	/* -----------------------------------------------------
	   REPRESENTATIVE
	----------------------------------------------------- */

	.yn-representative-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.yn-representative-photo-wrap {
		max-width: 100%;
		border-radius: 22px;
	}

	/* -----------------------------------------------------
	   COMPANY
	----------------------------------------------------- */

	.yn-company-list > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 5px;
	}
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media screen and (max-width: 390px) {

	.yn-corp-home h1 {
		font-size: 36px;
	}

	.yn-corp-home h2 {
		font-size: 28px;
	}

	.yn-hero__visual {
		min-height: 370px;
	}

	.yn-hero__circle--large {
		width: 255px;
		height: 255px;
		right: -20px;
		top: 82px;
	}

	.yn-hero__character-wrap {
		right: -8px;
		width: 245px;
		height: 265px;
	}

	.yn-hero__message {
		width: 148px;
		max-width: 148px;
		padding: 14px;
	}

	.yn-hero__message strong {
		font-size: 14px;
	}
}