@charset "UTF-8";
/* ===================================================
   extra.css : style.css への追加分
   - 新規セクション（ABOUT経歴・FLOW 等）
   - 全ページ共通のレスポンシブ上書き
   読み込み順: reset → style.css → extra.css
==================================================== */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
#service, #flow, #aboutsaku, #portfolio, #lp, #mainvisual { scroll-margin-top: 0; }

/* ---------- ABOUT ---------- */
h3.with-dot {
	display: flex;
	align-items: center;
	text-align: left;
	margin: 0 0 40px 0;
}
h3.with-dot::before {
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #ffffff 0%, #7fbfe6 45%, #3b84bd 100%);
	margin-right: 12px;
	flex: none;
}

#aboutsaku .about-person { margin-bottom: 80px; align-items: flex-start; }
#aboutsaku .about-person .item-left { width: calc((100% - 24px) / 2); }
#aboutsaku .about-person .item-left img { width: 100%; height: auto; display: block; }
#aboutsaku .about-person h3.medium { text-align: left; margin-bottom: 20px; }
#aboutsaku .about-person p.medium { text-align: left; font-size: 15px; margin-bottom: 20px; }

#aboutsaku .career-wrap { margin-bottom: 80px; align-items: flex-start; }
#aboutsaku .career-wrap .item-left { width: calc((100% - 24px) / 2); }

ul.career { position: relative; padding-left: 28px; }
ul.career::before {
	content: "";
	position: absolute;
	left: 5px; top: 10px; bottom: 10px;
	width: 1px;
	background: #002f63;
}
ul.career li {
	position: relative;
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: 0.03em;
	margin-bottom: 36px;
}
ul.career li::before {
	content: "";
	position: absolute;
	left: -28px; top: 7px;
	width: 11px; height: 11px;
	border-radius: 50%;
	background: #002f63;
}

ul.license { max-width: 250px; margin: 0 auto; }
ul.license li {
	background: #002f63;
	color: #ffffff;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	padding: 13px 10px;
	border-radius: 6px;
	margin-bottom: 18px;
}

.message-box {
	background: linear-gradient(180deg, #edf2f5 0%, #dfe8ec 70%, #c9d6d6 100%);
	padding: 44px 30px;
}
.message-box p.medium { font-weight: 500; line-height: 2.2; font-size: 14px; }

/* ---------- FLOW ---------- */
.flow-bubbles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px 40px;
	margin-bottom: 70px;
}
.flow-bubbles li {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-shadow: 0 0 22px 6px rgba(255, 255, 255, 0.9) inset, 0 4px 18px rgba(120, 150, 175, 0.25);
}
.flow-bubbles li.b-blue { background: radial-gradient(circle at 40% 35%, #f3fafe 0%, #b9dcee 70%, #a4cfe6 100%); }
.flow-bubbles li.b-gray { background: radial-gradient(circle at 40% 35%, #f6f7f8 0%, #cfd6db 70%, #bcc7ce 100%); }
.flow-bubbles li span {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: #002f63;
	padding: 0 8px;
}
.flow-bubbles li span small { display: block; font-size: 10px; font-weight: 400; color: #222; margin-top: 4px; }
.flow-bubbles li:not(:nth-child(4n))::after {
	content: "";
	position: absolute;
	right: -28px; top: 50%;
	transform: translateY(-50%);
	border-left: 10px solid #002f63;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

.chip {
	display: inline-block;
	background: #002f63;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	padding: 7px 18px;
	border-radius: 14px;
	letter-spacing: 0.05em;
}
.flow-note { margin-bottom: 40px; }
.flow-note .chip { margin-bottom: 14px; }
.flow-note p.small { line-height: 2; }

.flow-steps .step {
	border-top: 1px solid #555;
	padding: 50px 0 50px;
	text-align: center;
}
.flow-steps .step:last-child { border-bottom: 1px solid #555; }
.flow-steps .step-no {
	display: inline-block;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #002f63;
	background: radial-gradient(ellipse closest-side, #bfe0f1 0%, #bfe0f1 50%, rgba(191, 224, 241, 0) 100%);
	padding: 16px 34px;
	margin-bottom: 8px;
}
.flow-steps h3.medium { margin-bottom: 6px; }
.flow-steps p.sub { margin-bottom: 18px; }
.flow-steps p.medium { margin-bottom: 18px; }
.flow-steps .bt-border { margin: 28px auto 0; width: 260px; height: 64px; }
.flow-steps .bt-border::before { height: 64px; }
ul.check { display: inline-block; text-align: left; margin: 0 0 18px; }
ul.check li { position: relative; padding-left: 20px; font-size: 14px; line-height: 2; }
ul.check li::before {
	content: "";
	position: absolute; left: 0; top: 13px;
	width: 8px; height: 8px; border-radius: 50%;
	background: #3b6ea5;
}
.tool-box { background: #e7f2f8; padding: 28px 24px; margin: 28px auto 0; max-width: 680px; }
.tool-box p.small { text-align: center; line-height: 2; margin-bottom: 16px; }
.tool-box p.sub { text-align: center; color: #555; margin-top: 14px; }
ul.tools { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
ul.tools img { height: 28px; width: auto; display: block; }
p.notice { margin-top: 18px; }
p.notice .chip { margin-right: 10px; }
p.notice .small { font-size: 12px; }
a.inline { font-size: inherit; text-decoration: underline; }

/* ---------- PORTFOLIO / FOOTER ---------- */
#footer ul.footer-link { flex-wrap: wrap; }
#footer ul.footer-link li a { font-size: 14px; }
#footer p.large { font-size: 14px; padding-bottom: 80px; margin: 40px 0 0; }

/* ---------- ヘッダー：TOPはヒーロー通過後に背景色 ---------- */
#header { transition: background-color 0.3s; }
#header.scrolled { background-color: #b2c0d0; }
/* メニュー展開中（×アイコン時）は背景色を消す */
#header:has(.menu-btn:checked) { background-color: transparent; }

/* ---------- 下層ページ共通（ヘッダー背景） ---------- */
body.page-sub #header { background-color: #b2c0d0; }
body.page-sub .gMenu .menu { background-color: #e7f2f8; }

/* ===================================================
   Tablet : 〜 960px
==================================================== */
@media screen and (max-width: 960px) {
	.section-inner { padding: 0 24px; box-sizing: border-box; }
	#lp .lp1 p.lp-top { font-size: 26px; }
	#lp p.top-copy { width: 90%; font-size: 30px; text-align: center; }
	#service .explain .servicecard .item.right { width: auto; flex: 1; padding-right: 24px; }
	#service .explain .servicecard .col-2.sp { justify-content: flex-start; }
	.col-3 .item { width: calc((100% - 24px) / 3); }
}

/* ===================================================
   Smartphone : 〜 768px
==================================================== */
@media screen and (max-width: 768px) {
	a { font-size: 16px; }

	#service, #flow, #aboutsaku, #portfolio, #lp { padding: 80px 0; }
	#aboutsaku { padding-top: 0; }
	#lp { padding-bottom: 60px; }

	.section-inner { padding: 0 20px; }

	h2.title-en { font-size: 40px; padding: 0 40px 8px 12px; }
	h2.title-jp { font-size: 16px; margin-top: 26px; right: auto; left: calc(100% - 26px); transform: none; white-space: nowrap; }
	.title-en::after { width: 90px; right: -26px; bottom: 8px; }
	.section-title { margin-bottom: 80px; }

	h3.large { font-size: 20px; margin-left: 0; }
	h3.medium { font-size: 18px; }
	p.large { font-size: 15px; }
	p.medium { font-size: 14px; }

	.col-2 { flex-direction: column; }
	.col-2 .item { width: 100%; }
	.col-3 { flex-direction: column; }
	.col-3 .item { width: 100%; }

	/* header */
	.gnav-wrap h1 { width: 112px; height: auto; margin: 16px 20px; }
	.gMenu .menu-icon { right: 18px; top: 22px; }
	.gMenu .menu-icon .navicon { width: 32px; }
	.gMenu .menu-icon .navicon::before { top: 12px; }
	.gMenu .menu-icon .navicon::after { top: -12px; }
	.gMenu .menu-btn:checked ~ .menu-icon .navicon::before,
	.gMenu .menu-btn:checked ~ .menu-icon .navicon::after { top: 0; }
	.gMenu .menu { width: 220px; }
	.gMenu .menu-btn:checked ~ .menu { width: 220px; }

	/* main visual */
	#mainvisual { height: 100svh; min-height: 520px; }
	#mainvisual .copy-wrap { top: 33%; }
	#mainvisual p.typing { font-size: 7.4vw; line-height: 1.9; padding: 0 2vw 0 3vw; }
	#mainvisual .typing.item1 { left: 5vw; }
	#mainvisual .typing.item2 { left: 14vw; margin-top: 15vw; }
	#mainvisual .sub-copy { font-size: 3.6vw; }
	#mainvisual .sub-copy.item1 { left: 6vw; margin-top: -4vw; }
	#mainvisual .sub-copy.item2 { left: 50vw; margin-top: 38vw; }
	#mainvisual .scroll img.sun { width: 9vw; }
	#mainvisual .scroll img.bar { height: 9vw; }
	#mainvisual .scroll p.second { font-size: 2.1vw; letter-spacing: 0.05em; padding: 0 3vw; }

	/* lp1 */
	#lp .lp1 { padding-top: 10px; }
	#lp .lp1 p.lp-top { font-size: 17px; margin-bottom: 40px; line-height: 1.6; }
	#lp .lp1 .item.left { max-width: 360px; margin: 0 auto 40px; }
	#lp .lp1 .item.left p { font-size: 13px; }
	#lp .lp1 .item.left img { width: 100%; height: auto; display: block; }
	#lp .lp1 .criant { height: auto; align-items: center; justify-content: flex-start; margin-bottom: 20px; }
	#lp .lp1 .criant.rev { justify-content: flex-start; }
	#lp .lp1 .criant .copy { margin: 0 0 0 16px; }
	#lp .lp1 .criant.rev .copy { margin: 0 16px 0 0; }
	#lp .lp1 .criant .copy p { font-size: 14px; line-height: 1.5; }
	#lp .lp1 .criant .copy p.big { font-size: 17px; margin: 0 0 4px 0; }
	#lp .lp1 .criant img.owner { width: 70px; height: auto; }
	#lp .lp1 .criant img.ceo { width: 110px; height: auto; }
	#lp .lp1 .criant img.fleelance { width: 90px; height: auto; }
	#lp .lp1 .criant.rev { flex-direction: row; }

	/* lp2 */
	#lp .lp2 { margin: 70px 0; }
	#lp .lp2 > div { display: block; }
	#lp .lp2 img { height: 140px; object-fit: cover; display: block; }
	#lp p.top-copy { font-size: 17px; width: 92%; line-height: 1.6; }

	/* lp3 */
	#lp .lp3 .item { margin-bottom: 30px; }
	#lp .lp3 .item.left img { width: 100%; height: auto; display: block; }
	#lp .lp3 h3.medium { margin-bottom: 16px; }
	#lp .lp3 ul { flex-wrap: wrap; gap: 28px 16px; padding: 30px 0; }
	#lp .lp3 li p.point { font-size: 16px; padding: 0 26px; }
	#lp .lp3 li p.point::before { width: 90px; height: 90px; left: 50%; transform: translate(-50%, -50%); }
	.btn-pair { align-items: center; }
	.btn-pair .item.but { width: auto; margin-bottom: 14px; }
	.bt-border { width: 270px; height: 66px; }
	.bt-border::before { height: 66px; }
	.bt-border a { font-size: 15px; }
	.bt-black { width: 270px; height: 66px; }
	#service .item .bt-border { margin: 20px auto 0; }

	/* about */
	h3.with-dot { margin-bottom: 24px; }
	#aboutsaku .about-person { margin-bottom: 50px; }
	#aboutsaku .about-person .item-left,
	#aboutsaku .career-wrap .item-left { width: 100%; }
	#aboutsaku .about-person .item-left:first-child { margin-bottom: 24px; }
	#aboutsaku .career-wrap { margin-bottom: 50px; }
	#aboutsaku .career-wrap .item-left:first-child { margin-bottom: 36px; }
	.message-box { padding: 30px 18px; }
	.message-box p.medium { text-align: left; line-height: 2; }
	.message-box p.medium br { display: none; }

	/* service */
	#service .subtitle { margin-bottom: 24px; }
	#service .servicecard { border-radius: 14px; }
	#service .servicename { padding: 22px 0 22px; }
	#service .servicename::before { left: 22px; height: 54px; }
	#service .servicename h3 { margin-left: 40px; }
	#service .explain .servicecard .col-2.sp { flex-direction: column; align-items: stretch; padding: 0 20px; }
	#service .explain .servicecard .item.left,
	#service .explain .servicecard.first .item.left,
	#service .explain .servicecard.last .item.left {
		width: auto;
		margin: 0 0 14px 0;
		display: flex;
		gap: 12px;
		justify-content: center;
		align-items: center;
	}
	#service .explain .servicecard .item.left img { width: 90px; height: auto; margin: 0; }
	#service .explain .servicecard.first .item.left img { width: 120px; }
	#service .explain .servicecard .item.right { width: auto; padding: 0; }
	#service .allmenu { margin-top: 18px; }
	#service .allmenu .hp, #service .allmenu .lp-menu { flex-direction: column; align-items: flex-start; margin-bottom: 14px; }
	#service .allmenu .hp p.medium, #service .allmenu .lp-menu p.medium { margin-left: 0; margin-top: 6px; text-align: left; }
	#service .allmenu h3.small { font-size: 14px; }
	#service .servicecard .var { flex-wrap: wrap; column-gap: 24px; }
	#service .servicecard.second .allmenu p.medium,
	#service .servicecard.last .allmenu p.medium { margin-left: 22px; font-size: 13px; line-height: 1.8; }
	#service .servicecard.second .allmenu p.medium::before,
	#service .servicecard.last .allmenu p.medium::before { left: -16px; top: 9px; }
	#service .servicecard.last .allmenu p.sub { margin: 6px 0 0 6px; }
	#service .pricelink { padding: 0 16px 16px 0; }

	#service .explain.second { margin-top: 70px; }
	#service .explain.second p.large { margin-left: 0; }
	#service .explain.second .col-3 { padding: 30px 16px; gap: 60px; }
	#service .explain.second .col-3 .top { text-align: center; }
	#service .explain.second .col-3 .top img { margin-top: 0; width: 120px; height: auto; }
	#service .explain.second .col-3 .down { margin: 14px 0 0; }
	#service .explain.final { margin-top: 70px; }
	#service .schedule { margin: 0 0 40px 30px; }
	#service .schedule ul { flex-direction: column; margin-bottom: 14px; }
	#service .mtg { margin-left: 0; }
	#service .mtg h3.small { width: 210px; height: 36px; font-size: 15px; line-height: 2.1; }
	#service .mtg p.medium { text-align: left; }

	/* flow */
	.flow-bubbles { grid-template-columns: repeat(2, 1fr); gap: 16px 36px; max-width: 360px; margin: 0 auto 50px; }
	.flow-bubbles li:not(:nth-child(4n))::after { display: block; right: -26px; }
	.flow-bubbles li:nth-child(2n)::after { display: none; }
	.flow-bubbles li span { font-size: 13px; }
	.flow-steps .step { padding: 36px 0; }
	.flow-steps .step p.medium { text-align: center; }
	.flow-steps p.medium br { display: none; }
	.tool-box { padding: 22px 16px; }

	/* portfolio / footer */
	#portfolio p.large br { display: none; }
	#portfolio .btsection { margin-top: 50px; }
	#footer ul.footer-link { flex-direction: column; align-items: center; padding-top: 70px; }
	#footer ul.footer-link li { margin: 0; }
}

@media screen and (max-width: 420px) {
	h2.title-en { font-size: 34px; }
	#service .explain .servicecard .item.left img { width: 72px; }
	#service .explain .servicecard.first .item.left img { width: 100px; }
}
