@charset "UTF-8";
/* ==========================================================================
   TOPページ（front-page.php）

   セクション順：
   hero → problems → approach → service → price → works → area → about → faq
   ブレイクポイントは common.css と同じ（768px / 1024px）
   ========================================================================== */


/* ==========================================================================
   メインビジュアル
   ========================================================================== */
.p-top-hero {
	position: relative;
	overflow: hidden;
	padding:
		24px
		var(--sec-px)
		clamp(72px, calc(72px + 48 * (100vw - 390px) / 1050), 120px);
	background:
		radial-gradient(760px 520px at 82% 30%, rgba(81, 186, 229, 0.22), rgba(81, 186, 229, 0) 70%),
		#FFFFFF;
}

.p-top-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 1200px;
	margin-inline: auto;
}

.p-top-hero__body {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* SPはイラストを先に見せる */
.p-top-hero__visual {
	position: relative;
	order: -1;
	height: clamp(336px, 86vw, 520px);
	margin: 0 calc(var(--sec-px) * -1) 0 -10px;
}

.p-top-hero__illust {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.p-top-hero__dots {
	display: none;
}

.p-top-hero__dots span:nth-child(2),
.p-top-hero__dots span:nth-child(4) {
	height: 1.5px;
}

.p-top-hero__title {
	color: var(--c-navy-900);
	font-family: var(--ff-display);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.p-top-hero__lead {
	color: var(--c-ink);
	font-size: 16px;
	line-height: 1.9;
}

.p-top-hero__buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* SCROLL の表示（PCのみ） */
.p-top-hero__scroll {
	position: absolute;
	bottom: 40px;
	left: 56px;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.p-top-hero__scroll-text {
	color: var(--c-ink-subtle);
	font-family: var(--ff-en);
	font-size: 12px;
	letter-spacing: 0.24em;
	writing-mode: vertical-rl;
}

.p-top-hero__scroll-line {
	width: 1px;
	height: 56px;
	background: var(--c-ink-subtle);
}

.p-top-hero__scroll-dot {
	width: 7px;
	height: 7px;
	margin-top: -8px;
	border-radius: 50%;
	background: var(--c-sky-400);
}

/* ガラス風タイル（SP） */
.p-top-hero__glass--1 {
	--s: 70px;

	top: 300px;
	left: -24px;
}

.p-top-hero__glass--2 {
	--s: 44px;
	--a: 0.4;

	top: 14px;
	right: 16px;
}

.p-top-hero__glass--3 {
	display: none;
}

@media (min-width: 768px) {
	.p-top-hero__title {
		font-size: 40px;
	}

	.p-top-hero__lead {
		font-size: 18px;
	}

	.p-top-hero__buttons {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 16px;
	}
}

@media (min-width: 1024px) {
	.p-top-hero {
		padding-top: 56px;
	}

	.p-top-hero__inner {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 24px;
		align-items: center;
	}

	.p-top-hero__body {
		grid-column: span 6;
		gap: 40px;
		padding-bottom: 40px;
	}

	.p-top-hero__dots {
		display: flex;
	}

	.p-top-hero__title {
		font-size: clamp(36px, 3.61vw, 52px);
	}

	.p-top-hero__lead {
		font-size: 19px;
		line-height: 2;
	}

	.p-top-hero__visual {
		grid-column: 7 / span 6;
		order: 0;
		height: clamp(460px, 43vw, 620px);
		margin: 0;
	}

	.p-top-hero__illust {
		position: absolute;
		top: 0;
		left: -10px;
		width: calc(100% + 110px);
		max-width: none;
	}

	.p-top-hero__scroll {
		display: flex;
	}

	.p-top-hero__glass--1 {
		--s: 150px;

		top: auto;
		bottom: 60px;
		left: -48px;
	}

	.p-top-hero__glass--2 {
		--s: 84px;

		top: auto;
		right: auto;
		bottom: 26px;
		left: 70px;
	}

	.p-top-hero__glass--3 {
		--s: 64px;

		top: 40px;
		right: 44%;
		display: block;
		opacity: 0.9;
	}
}


/* ==========================================================================
   こんなお悩みはありませんか
   ========================================================================== */
.p-top-problems__dots {
	position: absolute;
	top: -40px;
	right: 0;
}

@media (min-width: 1024px) {
	.p-top-problems__dots {
		top: 52px;
		right: -69px;
	}
}


/* ==========================================================================
   BlueStudioの制作の特徴（Approach）
   ========================================================================== */
.p-top-approach__grid {
	bottom: 0;
	left: 0;
	width: 45%;
	height: 40%;
	opacity: 0.7;
}

.p-top-approach__dots {
	position: absolute;
	top: 20px;
	right: 40px;
}

.p-top-approach__glass--1 {
	--s: 90px;

	top: 90px;
	right: -30px;
}

.p-top-approach__glass--2 {
	--s: 70px;

	bottom: 260px;
	left: -24px;
}

.p-top-approach__glass--3 {
	display: none;
}

.p-top-approach__intro {
	/* 見出しとの間を詰める（SP -12px → PC -24px） */
	margin-top: calc(var(--stack-gap) * -0.6 + 9.6px);
	color: var(--c-on-band-lead);
}

.p-top-approach__steps {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.c-step-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px 22px;
	border-radius: 8px;
	background: #FFFFFF;
	box-shadow: var(--shadow-card);
	color: var(--c-ink);
}

.c-step-card__pin {
	position: absolute;
	top: -7px;
	left: 22px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--c-sky-400);
}

.c-step-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.c-step-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border: 1px solid #FFFFFF;
	border-radius: 50%;
	background: linear-gradient(135deg, #FFFFFF 0%, var(--c-sky-100) 100%);
	box-shadow: 0 10px 22px rgba(17, 106, 169, 0.14);
}

.c-step-card__icon svg {
	width: 40px;
	height: 40px;
}

.c-step-card__num {
	display: flex;
	align-items: center;
	gap: 8px;
}

.c-step-card__num-label {
	color: var(--c-ink-subtle);
	font-family: var(--ff-en);
	font-size: 13px;
	letter-spacing: 0.16em;
}

.c-step-card__num-value {
	color: var(--c-blue-600);
	font-family: var(--ff-en);
	font-size: clamp(44px, calc(44px + 12 * (100vw - 390px) / 1050), 56px);
	font-weight: 500;
	line-height: 1;
}

.c-step-card__title {
	color: var(--c-navy-900);
	font-family: var(--ff-display);
	font-size: clamp(20px, calc(20px + 4 * (100vw - 390px) / 1050), 24px);
	font-weight: 700;
	line-height: 1.5;
}

.c-step-card__sub {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--c-line);
	color: var(--c-blue-600);
	font-size: 14px;
	font-weight: 700;
}

.p-top-approach__note {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 22px 20px;
	border-radius: 8px;
	background: #FFFFFF;
}

.p-top-approach__note-text {
	color: var(--c-ink);
	font-weight: 500;
}

@media (min-width: 1024px) {
	.p-top-approach__dots {
		display: none;
	}

	.p-top-approach__glass--1 {
		--s: 200px;

		top: 120px;
		right: -60px;
		opacity: 0.9;
	}

	.p-top-approach__glass--2 {
		--s: 110px;

		top: 250px;
		right: 150px;
		bottom: auto;
		left: auto;
		background: linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, rgba(81, 186, 229, 0.1) 100%);
	}

	.p-top-approach__glass--3 {
		--s: 160px;

		bottom: 180px;
		left: -50px;
		display: block;
		opacity: 0.85;
	}

	.p-top-approach__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px;
	}

	.c-step-card {
		padding: 40px 36px;
	}

	.c-step-card__pin {
		left: 36px;
	}

	.c-step-card__icon {
		width: 88px;
		height: 88px;
	}

	.c-step-card__icon svg {
		width: 48px;
		height: 48px;
	}

	.p-top-approach__note {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 28px 36px;
	}
}


/* ==========================================================================
   サービス
   ========================================================================== */
.p-top-service__dots {
	position: absolute;
	bottom: 20px;
	left: 40px;
}

.p-top-service__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.c-service-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--c-line);
	border-radius: 8px;
	background: #FFFFFF;
	box-shadow: var(--shadow-card);
}

.c-service-card__media {
	position: relative;
	padding: 10px 10px 0;
}

.c-service-card__image {
	aspect-ratio: 16 / 9;
}

img.c-service-card__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
}

.c-service-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 12px;
	padding: 20px 20px 18px;
}

.c-service-card__num {
	color: var(--c-blue-600);
	font-family: var(--ff-en);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.12em;
}

.c-service-card__title {
	color: var(--c-navy-900);
	font-family: var(--ff-display);
	font-size: clamp(18px, calc(18px + 2 * (100vw - 390px) / 1050), 20px);
	font-weight: 700;
	line-height: 1.5;
}

.c-service-card__text {
	flex-grow: 1;
	color: var(--c-ink);
	font-size: 15px;
}

.c-service-card__foot {
	margin-top: 4px;
	padding-top: 12px;
	border-top: 1px solid var(--c-line);
}

/* 準備中のカード */
.c-service-card--soon {
	box-shadow: none;
}

.c-service-card--soon .c-service-card__image {
	background: #E4EAEC;
}

.c-service-card--soon .c-service-card__num {
	color: var(--c-ink-subtle);
}

.c-service-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 14px;
	border-radius: 8px;
	background: var(--c-ink-subtle);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.c-service-card__soon {
	color: var(--c-ink-muted);
	font-size: 14px;
	font-weight: 500;
}

@media (min-width: 768px) {
	.p-top-service__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (min-width: 1024px) {
	.p-top-service__dots {
		top: 51px;
		right: 60px;
		bottom: auto;
		left: auto;
	}

	.p-top-service__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.c-service-card__body {
		padding: 24px 24px 20px;
	}
}


/* ==========================================================================
   料金の目安
   ========================================================================== */
.p-top-price__dots {
	position: absolute;
	top: -40px;
	right: 0;
}

.p-top-price__web {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

@media (min-width: 1024px) {
	.p-top-price__dots {
		top: 52px;
	}
}


/* ==========================================================================
   制作実績
   ========================================================================== */
.p-top-works {
	padding-top: clamp(80px, calc(80px + 48 * (100vw - 390px) / 1050), 128px);
	padding-bottom: clamp(96px, calc(96px + 64 * (100vw - 390px) / 1050), 160px);
}

.p-top-works__dots {
	position: absolute;
	top: -40px;
	right: 0;
}

.p-top-works__glass--1,
.p-top-works__glass--2 {
	display: none;
}

.p-top-works__group {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.p-top-works__empty {
	color: var(--c-on-band-lead);
}

.p-top-works__foot {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.p-top-works__text {
	color: var(--c-on-band-lead);
}

@media (min-width: 1024px) {
	.p-top-works__dots {
		display: none;
	}

	.p-top-works__glass--1 {
		--s: 110px;

		top: 185px;
		right: 140px;
		display: block;
		background: linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, rgba(81, 186, 229, 0.1) 100%);
	}

	.p-top-works__glass--2 {
		--s: 200px;

		top: 55px;
		right: -70px;
		display: block;
		opacity: 0.9;
	}

	.p-top-works__foot {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}


/* ==========================================================================
   対応エリア
   ========================================================================== */
.p-top-area__grid {
	right: 0;
	bottom: 0;
	width: 40%;
	height: 55%;
	opacity: 0.8;
}

.p-top-area__glass--1 {
	--s: 70px;

	right: -20px;
	bottom: -20px;
}

.p-top-area__glass--2 {
	display: none;
}

.p-top-area__body {
	display: flex;
	flex-direction: column;
	gap: var(--stack-gap);
}

.p-top-area__map {
	position: relative;
	padding: 14px;
	border-radius: 8px;
	background: #FFFFFF;
	box-shadow: var(--shadow-card);
}

.p-top-area__map-inner {
	aspect-ratio: 520 / 640;
	overflow: hidden;
	border-radius: 8px;
	background: var(--c-surface-gray);
}

.p-top-area__map-svg {
	width: 100%;
	height: 100%;
}

.p-top-area__map-dot {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--c-sky-400);
}

.p-top-area__info {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

@media (min-width: 768px) {
	.p-top-area__map {
		width: min(100%, 480px);
	}
}

@media (min-width: 1024px) {
	.p-top-area__glass--1 {
		--s: 140px;

		right: -30px;
		bottom: -40px;
	}

	.p-top-area__glass--2 {
		--s: 80px;
		--a: 0.42;

		right: 120px;
		bottom: 60px;
		display: block;
	}

	.p-top-area__body {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 24px;
		align-items: center;
	}

	.p-top-area__map {
		grid-column: span 5;
		width: auto;
	}

	.p-top-area__info {
		grid-column: 7 / span 6;
		gap: 28px;
	}
}


/* ==========================================================================
   BlueStudioについて
   ========================================================================== */
.p-top-about__dots {
	position: absolute;
	top: -40px;
	right: 0;
}

.p-top-about__body {
	display: flex;
	flex-direction: column;
	gap: var(--stack-gap);
}

.p-top-about__photo {
	position: relative;
	padding: 0 28px 28px 0;
}

.p-top-about__photo-bg {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 82%;
	height: 82%;
	border-radius: 16px;
	background-color: var(--c-surface-soft);
	background-image: radial-gradient(var(--c-dot) 1.3px, transparent 1.5px);
	background-size: 24px 24px;
}

.p-top-about__image {
	position: relative;
	display: block;
	width: 100%;
	height: clamp(300px, calc(300px + 140 * (100vw - 390px) / 1050), 440px);
	border-radius: 16px;
	object-fit: cover;
	object-position: center top; /* 顔が上の縁に近いので、上を基準に切り取る */
}

.p-top-about__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.p-top-about__catch {
	color: var(--c-navy-900);
	font-family: var(--ff-display);
	font-size: clamp(18px, calc(18px + 4 * (100vw - 390px) / 1050), 22px);
	font-weight: 700;
	line-height: 1.7;
}

@media (min-width: 768px) {
	.p-top-about__photo {
		width: min(100%, 520px);
	}
}

@media (min-width: 1024px) {
	.p-top-about__dots {
		top: 52px;
	}

	.p-top-about__body {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 24px;
		align-items: center;
	}

	.p-top-about__photo {
		grid-column: span 5;
		width: auto;
	}

	.p-top-about__text {
		grid-column: 7 / span 6;
		gap: 24px;
	}
}


/* ==========================================================================
   よくある質問
   ========================================================================== */
.p-top-faq__dots {
	position: absolute;
	top: -40px;
	right: 0;
}

.p-top-faq__glass--1 {
	--s: 76px;

	top: -24px;
	left: -24px;
}

.p-top-faq__glass--2,
.p-top-faq__glass--3 {
	display: none;
}

.p-top-faq__more {
	display: flex;
	justify-content: center;
}

@media (min-width: 1024px) {
	.p-top-faq__dots {
		top: 52px;
	}

	.p-top-faq__glass--1 {
		--s: 150px;

		top: -40px;
		left: -40px;
	}

	.p-top-faq__glass--2 {
		--s: 80px;
		--a: 0.42;

		top: 90px;
		left: 100px;
		display: block;
	}

	.p-top-faq__glass--3 {
		--s: 110px;

		right: -30px;
		bottom: 80px;
		display: block;
	}
}
