/* ==========================================================================
   ギフコ byGMO（/gifco とその下層）
   ヘッダー・フッター・LP。色・サイズは旧Studioサイトの値に合わせている
   （PCの値を基本に、768px以下はStudioのスマホ表示の値）
   ========================================================================== */

:root {
	--gifco-blue: #0064ff;
	--gifco-blue-light: #397ade;
	--gifco-navy: #002693;
	--gifco-pale: #f4f8ff;
	--gifco-brown: #945800;
	--gifco-text: #222;
	--gifco-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	--rp-header-h: 76px; /* PCのヘッダー：上下の余白8px + ロゴ52px + 余白 */
}

/* タブレット・スマホはハンバーガーメニュー（ヘッダーも低くなる） */
@media (max-width: 1024px) {
	:root {
		--rp-header-h: 63px;
	}
}

/* 768px以下だけ / それ以外だけ 表示（原本でPCとスマホの文言が違う箇所） */
.u-gifco-sp {
	display: none;
}

@media (max-width: 768px) {
	.u-gifco-pc {
		display: none;
	}

	.u-gifco-sp {
		display: revert;
	}
}

/* --- ボタン --------------------------------------------------------------- */
.c-gifco-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 240px;
	min-height: 50px;
	padding: 4px 24px;
	border: 2px solid var(--gifco-blue);
	border-radius: 50px;
	background: var(--gifco-blue);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.c-gifco-btn:hover {
	border-color: var(--gifco-blue-light);
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	color: var(--gifco-blue-light);
	transform: scale(1.05);
}

.c-gifco-btn--lg {
	min-width: 250px;
	min-height: 70px;
	font-size: 20px;
}

@media (max-width: 768px) {
	.c-gifco-btn {
		min-width: 180px;
		min-height: 45px;
		font-size: 12px;
		font-weight: 500;
	}

	.c-gifco-btn--lg {
		min-width: 212px;
		min-height: 44px;
		font-size: 16px;
		font-weight: 600;
	}
}

/* --- ヘッダー ------------------------------------------------------------- */
.l-gifco-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100;
	height: var(--rp-header-h);
	padding: 8px 40px;
	background: rgba(255, 255, 255, 0.92);
}

.l-gifco-header--sub {
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.l-gifco-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
}

.l-gifco-header__logo {
	flex: none;
	width: 146px;
	line-height: 0;
}

.l-gifco-header__logo img {
	width: 100%;
	height: auto;
}

.l-gifco-header__nav {
	flex: 1;
	min-width: 0;
}

.l-gifco-header__nav ul {
	display: flex;
}

.l-gifco-header__nav a {
	display: block;
	padding: 10px;
	border-radius: 2px;
	color: #000;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.3s, color 0.3s;
}

.l-gifco-header__nav a:hover {
	background: var(--gifco-pale);
	color: var(--gifco-blue-light);
}

/* 資料ダウンロード・お問い合わせ（リピータスのヘッダーと同じ c-btn--sm） */
.l-gifco-header__cta {
	flex: none;
}

.l-gifco-header__cta .c-cta-buttons {
	flex-wrap: nowrap;
	gap: 8px;
}

.l-gifco-header__menu {
	display: none;
	margin-left: auto;
	padding: 10px 24px;
	border: 0;
	background: none;
	color: var(--gifco-text);
	font-size: 24px;
	line-height: 1;
}

@media (max-width: 1024px) {
	.l-gifco-header {
		padding: 0 0 0 18px;
	}

	.l-gifco-header__logo {
		width: 124px;
	}

	.l-gifco-header__nav,
	.l-gifco-header__cta {
		display: none;
	}

	.l-gifco-header__menu {
		display: block;
	}
}

.l-gifco-drawer .l-drawer__nav a:hover {
	color: var(--gifco-blue-light);
}


/* --- メイン --------------------------------------------------------------- */
.l-main--gifco-lp {
	padding-top: var(--rp-header-h);
	overflow-x: clip;
	color: var(--gifco-text);
	letter-spacing: 0;
}

/* 下層ページ（規約・完了ページ）：本文の色をギフコの色にする */
.l-main--gifco-sub {
	--rp-blue: var(--gifco-navy);
	--rp-blue-link: var(--gifco-blue);
	background: var(--gifco-pale);
}

.l-main--gifco-sub .p-page__body {
	padding: 40px;
	border-radius: 12px;
	background: #fff;
}

@media (max-width: 768px) {
	.l-main--gifco-sub .p-page__body {
		padding: 24px 16px;
	}
}

/* --- フッター ------------------------------------------------------------- */
.l-gifco-footer {
	background: #fff;
}

.l-gifco-footer__notes {
	max-width: 1114px;
	margin: 0 auto;
	padding: 40px 20px 20px;
	color: #797979;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0;
}

.l-gifco-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 20px;
}

.l-gifco-footer__group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.l-gifco-footer__heading {
	color: #666;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.l-gifco-footer__group ul {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 12px;
}

.l-gifco-footer__group a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #666;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0;
	text-decoration: none;
}

.l-gifco-footer__group a::before {
	content: 'arrow_forward';
	display: grid;
	flex: none;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 30px;
	background: var(--rp-blue);
	color: #fff;
	font-family: 'Material Icons';
	font-size: 14px;
	line-height: 1;
}

.l-gifco-footer__group a:hover {
	color: var(--gifco-blue);
}

.l-gifco-footer__share {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 24px 20px;
}

.l-gifco-footer__share-title {
	color: #333;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.l-gifco-footer__share .c-share__btn {
	width: 48px;
	height: 48px;
	background: #fff;
	color: #000;
}

.l-gifco-footer__share .c-share__icon {
	font-size: 20px;
}

.l-gifco-footer__share .c-share__btn--fb {
	color: #1877f2;
}

.l-gifco-footer__share .c-share__btn--copy {
	color: var(--gifco-text);
}

.l-gifco-footer__share .c-share__btn:hover,
.l-gifco-footer__share .c-share__btn.is-copied {
	background: var(--gifco-pale);
}

.l-gifco-footer__bottom {
	padding: 40px 20px 20px;
	background: #f5f5f5;
}

.l-gifco-footer__corp {
	display: flex;
	align-items: center;
	max-width: 1024px;
	height: 60px;
	margin: 0 auto;
	padding: 0 10px;
}

.l-gifco-footer__corp a {
	line-height: 0;
}

.l-gifco-footer__corp a:hover {
	opacity: 0.8;
}

.l-gifco-footer__corp img {
	width: 164px;
	height: auto;
}

.l-gifco-footer .gmoGroupSecurity {
	max-width: 1024px;
}

@media (max-width: 768px) {
	.l-gifco-footer__notes {
		padding: 20px;
	}

	.l-gifco-footer__links {
		gap: 20px;
	}

	.l-gifco-footer__group a {
		font-size: 14px;
	}

	.l-gifco-footer__bottom {
		padding: 16px 20px 20px;
	}

	.l-gifco-footer__corp {
		justify-content: center;
	}
}

/* ==========================================================================
   LP
   ========================================================================== */

/* --- 共通の見出し・セクション ----------------------------------------------- */
.p-gifco-section {
	padding: 80px 0 52px;
	background: #fff;
}

.p-gifco-section--pale {
	background: var(--gifco-pale);
}

/* 「無料オンライン相談」帯の直後（帯の下半分が背景色につながる） */
.p-gifco-section--after-band {
	padding-top: 44px;
}

.p-gifco-section__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
	text-align: center;
}

.p-gifco-section__title {
	margin-bottom: 40px;
	color: var(--gifco-navy);
	font-size: 48px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.p-gifco-section__head .p-gifco-section__title {
	margin-bottom: 0;
}

.p-gifco-section__title--tight {
	margin-bottom: 24px;
	letter-spacing: -0.05em;
}

.p-gifco-section__lead {
	color: #333;
	font-size: 18px;
	line-height: 1.4;
}

@media (max-width: 768px) {
	.p-gifco-section,
	.p-gifco-section--after-band {
		padding: 24px 0 32px;
	}

	.p-gifco-section__head {
		margin-bottom: 24px;
	}

	.p-gifco-section__title {
		font-size: 28px;
	}

	.p-gifco-section__lead {
		font-size: 14px;
	}
}

/* --- ファーストビュー ------------------------------------------------------ */
.p-gifco-hero {
	position: relative;
	overflow: hidden;
	background: #eee;
}

.p-gifco-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.p-gifco-hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1240px;
	min-height: 700px;
	margin: 0 auto;
	padding: calc(130px - var(--rp-header-h)) 28px 73px 44px; /* 原本130px（固定ヘッダーの裏まで含む）− ヘッダー分 */
}

.p-gifco-hero__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 0 1 601px;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	min-width: 0;
}

.p-gifco-hero__title {
	color: var(--gifco-navy);
	font-size: clamp(40px, 4.7vw, 60px);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0;
}

.p-gifco-hero__lead {
	color: var(--gifco-text);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
}

.p-gifco-hero__lead p + p {
	margin-top: 4px;
}

.p-gifco-hero__achievements {
	width: 458px;
	max-width: calc(100% - 21px);
	margin-left: 21px;
}

/* 資料ダウンロード（メイン）・お問い合わせ（サブ）を縦に並べる。大きさはリピータスTOPのファーストビューと同じ */
.p-gifco-hero__cta .c-cta-buttons {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.p-gifco-hero__cta .c-btn--document {
	min-height: 70px;
	font-size: 24px;
}

.p-gifco-hero__cta .c-btn--contact {
	min-height: 54px;
	font-size: 20px;
}

.p-gifco-hero__visual {
	flex: 0 1 552px;
	min-width: 0;
	margin-left: 20px;
}

.p-gifco-hero__visual img {
	width: 100%;
}

.p-gifco-hero__gifts {
	position: absolute;
	right: 28px;
	bottom: 40px;
	width: 380px;
	max-width: 32%;
}

@media (max-width: 768px) {
	.p-gifco-hero__inner {
		flex-direction: column;
		gap: 16px;
		min-height: 0;
		padding: calc(142px - var(--rp-header-h)) 16px 40px;
	}

	.p-gifco-hero__body {
		flex: none;
		align-items: center;
		width: 100%;
		text-align: center;
	}

	.p-gifco-hero__cta .c-cta-buttons {
		align-items: center;
		gap: 16px;
	}

	.p-gifco-hero__cta .c-btn--document {
		min-height: 60px;
	}

	.p-gifco-hero__cta .c-btn--contact {
		min-height: 45px;
		font-size: 16px;
	}

	.p-gifco-hero__title {
		font-size: 26px;
	}

	.p-gifco-hero__lead {
		font-size: 14px;
		line-height: 1.6;
	}

	.p-gifco-hero__lead p + p {
		margin-top: 0;
	}

	.p-gifco-hero__achievements {
		width: 384px;
		margin-left: 0;
	}

	.p-gifco-hero__visual {
		flex: none;
		width: 336px;
		max-width: calc(100% - 20px);
		margin: 0;
		text-align: center;
	}

	.p-gifco-hero__visual img {
		width: 80%;
	}

	.p-gifco-hero__gifts {
		position: static;
		width: 240px;
		max-width: 100%;
	}
}

/* --- NEWS（リピータスTOPのNEWS枠と同じ形） -------------------------------- */
.p-gifco-news {
	display: flex;
	justify-content: center;
	padding: 20px 12px;
	background: var(--gifco-pale);
}

.p-gifco-news__card {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1080px;
	padding: 15px 30px;
	border-radius: 8px;
	background: #fff;
	box-shadow: var(--rp-shadow-card);
	color: #333;
	text-decoration: none;
}

.p-gifco-news__label {
	flex: none;
	color: #e8442d;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.4;
}

.p-gifco-news__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.4;
}

.p-gifco-news__date {
	font-size: 14px;
}

.p-gifco-news__title {
	font-size: 16px;
}

.p-gifco-news__card:hover .p-gifco-news__title {
	color: var(--gifco-blue);
}

.p-gifco-news__arrow {
	flex: none;
	color: var(--gifco-blue);
	font-size: 18px;
}

@media (max-width: 768px) {
	.p-gifco-news__card {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		width: 100%;
		max-width: 547px;
		padding: 12px 15px;
	}

	.p-gifco-news__arrow {
		display: none;
	}
}

/* --- セキュリティ表記 ------------------------------------------------------ */
.p-gifco-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
	padding: 24px 20px;
	background: #fff;
}

.p-gifco-trust__text {
	width: 460px;
	min-width: 0;
	color: #000;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: -0.02em;
}

.p-gifco-trust__text a {
	color: inherit;
	text-decoration: underline;
}

.p-gifco-trust__text a:hover {
	color: var(--gifco-blue);
}

.p-gifco-trust__logos {
	display: flex;
	flex: none;
	align-items: center;
	gap: 40px;
}

.p-gifco-trust__logos a {
	line-height: 0;
}

.p-gifco-trust__logos a:first-child img {
	width: 182px;
}

.p-gifco-trust__logos a:last-child img {
	width: 300px;
}

@media (max-width: 1000px) {
	.p-gifco-trust {
		gap: 24px;
	}

	.p-gifco-trust__logos {
		flex: 0 1 auto;
		flex-direction: column;
		gap: 12px;
	}
}

@media (max-width: 768px) {
	.p-gifco-trust {
		gap: 16px;
		padding: 10px 20px;
	}

	.p-gifco-trust__text {
		flex: 1;
		width: auto;
		font-size: 12px;
	}

	.p-gifco-trust__logos {
		flex: 0 0 40%;
		gap: 8px;
	}

	.p-gifco-trust__logos a,
	.p-gifco-trust__logos a:first-child img,
	.p-gifco-trust__logos a:last-child img {
		width: 100%;
	}
}

/* --- 導入企業ロゴ（PCのみ・横に流れる） -------------------------------------- */
.p-gifco-clients {
	overflow: hidden;
	background: #fff;
}

.p-gifco-clients__track {
	display: flex;
	width: max-content;
	animation: p-gifco-marquee 45s linear infinite;
}

.p-gifco-clients__list {
	display: flex;
}

.p-gifco-clients__list li {
	flex: none;
	width: 192px;
	height: 112px;
}

.p-gifco-clients__list img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@keyframes p-gifco-marquee {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.p-gifco-clients__track {
		animation: none;
	}
}

@media (max-width: 990px) {
	.p-gifco-clients__list li {
		width: 168px;
		height: 98px;
	}
}

@media (max-width: 768px) {
	.p-gifco-clients {
		display: none;
	}
}

/* --- お悩み --------------------------------------------------------------- */
.p-gifco-worry {
	position: relative;
	padding: 80px 0 48px;
	background: var(--gifco-pale);
}

.p-gifco-worry__title {
	margin-bottom: 40px;
	color: var(--gifco-text);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.p-gifco-worry__list {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-bottom: 48px;
}

.p-gifco-worry__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 280px;
	min-height: 124px;
	padding: 16px;
	border-radius: 24px 24px 24px 0;
	background: #fff;
	box-shadow: var(--gifco-shadow);
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.p-gifco-worry__item::before {
	content: '';
	position: absolute;
	top: -12px;
	left: 32px;
	width: 30px;
	height: 24px;
	background: url(../images/gifco/icon-quote.svg) no-repeat center / contain;
}

.p-gifco-worry__sub {
	font-size: 16px;
}

.p-gifco-worry__main {
	color: var(--gifco-blue-light);
	font-size: 20px;
}

.p-gifco-worry__answer {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 732px;
	margin: 0 auto;
	padding: 24px;
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--gifco-shadow);
	text-align: center;
}

.p-gifco-worry__answer-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
	color: var(--gifco-brown);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
}

.p-gifco-worry__answer-head img {
	width: 124px;
	height: auto;
}

.p-gifco-worry__answer-text {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
}

.p-gifco-worry__person {
	position: absolute;
	height: auto;
}

.p-gifco-worry__person--left {
	bottom: 124px;
	left: calc(50% - 504px);
	width: 59px;
}

.p-gifco-worry__person--right {
	right: calc(50% - 494px);
	bottom: 42px;
	width: 72px;
}

@media (max-width: 1100px) {
	.p-gifco-worry__person {
		display: none;
	}
}

@media (max-width: 900px) and (min-width: 769px) {
	.p-gifco-worry__list {
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.p-gifco-worry {
		padding: 24px 0 32px;
	}

	.p-gifco-worry__title {
		font-size: 20px;
	}

	.p-gifco-worry__list {
		flex-direction: column;
		gap: 40px;
	}

	.p-gifco-worry__item {
		width: 100%;
		min-height: 108px;
	}

	.p-gifco-worry__item::before {
		left: 100px;
	}

	.p-gifco-worry__sub,
	.p-gifco-worry__main {
		font-size: 18px;
	}

	.p-gifco-worry__answer-head {
		font-size: 16px;
	}

	.p-gifco-worry__answer-head img {
		width: 102px;
	}

	.p-gifco-worry__answer-text {
		font-size: 18px;
	}
}

/* --- 解決（お悩みから下向きの三角でつなぐ） ------------------------------------ */
.p-gifco-solution {
	padding-bottom: 52px;
	background: #fff;
}

.p-gifco-solution::before {
	content: '';
	display: block;
	aspect-ratio: 1280 / 70;
	background: var(--gifco-pale);
	clip-path: polygon(0 0, 100% 0, 50.95% 100%);
}

.p-gifco-solution__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}

.p-gifco-solution__img {
	flex: 0 1 480px;
	min-width: 0;
}

.p-gifco-solution__img img {
	width: 100%;
}

.p-gifco-solution__body {
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.p-gifco-solution__title {
	align-self: stretch;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--gifco-text);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.4;
}

.p-gifco-solution__text {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.8;
}

.p-gifco-solution__points {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-self: stretch;
	padding: 20px;
	border-radius: 12px;
	background: var(--gifco-pale);
	font-size: 18px;
	line-height: 1.4;
}

@media (max-width: 768px) {
	.p-gifco-solution {
		padding-bottom: 32px;
	}

	.p-gifco-solution::before {
		margin-bottom: 24px;
	}

	.p-gifco-solution__inner {
		flex-direction: column-reverse;
		gap: 24px;
	}

	.p-gifco-solution__img {
		flex: none;
		width: 100%;
	}

	.p-gifco-solution__body {
		align-items: center;
		width: 100%;
		text-align: center;
	}

	.p-gifco-solution__title {
		align-self: center;
		width: 80%;
		font-size: 24px;
	}

	.p-gifco-solution__text {
		font-weight: 700;
	}

	.p-gifco-solution__points {
		align-self: center;
		width: 322px;
		max-width: 100%;
		font-size: 16px;
		text-align: left;
	}
}

/* --- 無料オンライン相談の帯 ------------------------------------------------- */
.p-gifco-consult {
	position: relative;
	z-index: 2;
	padding: 2px 20px;
	background: linear-gradient(#fff 50%, var(--gifco-pale) 50%);
}

.p-gifco-consult__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1080px;
	margin: 0 auto;
	padding: 24px;
	border-top: 2px solid var(--gifco-brown);
	border-bottom: 2px solid var(--gifco-brown);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	text-align: center;
}

.p-gifco-consult__title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
}

.p-gifco-consult__text {
	margin: 8px 0 24px;
	font-size: 16px;
	line-height: 1.4;
}

.p-gifco-consult__img {
	position: absolute;
	right: 20px;
	bottom: 0;
	width: 200px;
	height: auto;
}

/* 資料ダウンロード（メイン）・お問い合わせ（サブ）を横に並べる（お問い合わせ欄も同じ）
   リピータスTOPの「お気軽にご相談ください」と同じ形。右下のイラストに重ならないよう幅は280px */
.p-gifco-consult__cta .c-cta-buttons,
.p-gifco-contact__cta .c-cta-buttons {
	align-items: flex-end;
	gap: 20px;
}

.p-gifco-consult__cta .c-cta-buttons .c-btn,
.p-gifco-contact__cta .c-cta-buttons .c-btn {
	width: 280px;
	max-width: 80vw;
}

@media (max-width: 1000px) {
	.p-gifco-consult__img {
		width: 140px;
	}
}

/* タブレット以下は縦に並べる（イラストと重ならないように） */
@media (max-width: 990px) {
	.p-gifco-consult__cta .c-cta-buttons,
	.p-gifco-contact__cta .c-cta-buttons {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
}

@media (max-width: 768px) {
	.p-gifco-consult__cta .c-btn--contact,
	.p-gifco-contact__cta .c-btn--contact {
		min-height: 45px;
	}
}

@media (max-width: 768px) {
	.p-gifco-consult {
		padding: 0 18px;
	}

	.p-gifco-consult__title {
		font-size: 20px;
	}

	.p-gifco-consult__text {
		margin: 7px 0 14px;
		font-size: 14px;
	}

	.p-gifco-consult__img {
		display: none;
	}
}

/* --- 機能紹介 ------------------------------------------------------------- */
.p-gifco-features {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
}

.p-gifco-feature {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	width: 100%;
	max-width: 930px;
}

.p-gifco-feature--reverse {
	flex-direction: row-reverse;
}

.p-gifco-feature__body {
	display: flex;
	flex: 0 1 480px;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.p-gifco-feature__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--gifco-text);
}

.p-gifco-feature__badge {
	padding: 8px 12px;
	border-radius: 4px;
	background: var(--gifco-brown);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.p-gifco-feature__title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
}

.p-gifco-feature__lead {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.8;
}

.p-gifco-feature__text {
	font-size: 16px;
	line-height: 1.6;
}

.p-gifco-feature__img {
	flex: 0 1 400px;
	min-width: 0;
}

.p-gifco-feature__img img {
	width: 100%;
}

.p-gifco-feature--small .p-gifco-feature__img {
	flex-basis: 334px;
}

.p-gifco-feature--small {
	justify-content: flex-start;
}

@media (max-width: 768px) {
	.p-gifco-feature,
	.p-gifco-feature--reverse {
		flex-direction: column;
		gap: 20px;
	}

	.p-gifco-feature__body {
		flex: none;
		width: 100%;
	}

	.p-gifco-feature__head {
		align-items: center;
	}

	.p-gifco-feature__title {
		font-size: 24px;
	}

	.p-gifco-feature__lead {
		font-size: 16px;
	}

	.p-gifco-feature__text {
		font-size: 13px;
	}

	.p-gifco-feature__img {
		flex: none;
		width: 400px;
		max-width: 100%;
	}

	.p-gifco-feature--small .p-gifco-feature__img {
		width: 238px;
	}
}

/* --- 活用シーン ----------------------------------------------------------- */
.p-gifco-cases {
	display: flex;
	justify-content: center;
	gap: 50px;
}

.p-gifco-case {
	display: flex;
	flex: 0 1 320px;
	flex-direction: column;
	align-items: center;
	min-width: 0;
}

.p-gifco-case__label {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 200px;
	height: 46px;
	border-radius: 24px;
	background: var(--gifco-pale);
	color: var(--gifco-navy);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.4;
}

.p-gifco-case__card {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 332px;
	margin-top: -23px;
	padding: 36px 20px;
	border-radius: 20px;
	background: var(--gifco-pale);
}

.p-gifco-case__card img {
	width: 120px;
}

.p-gifco-case__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.4;
}

.p-gifco-case__text {
	font-size: 16px;
	line-height: 1.4;
}

@media (max-width: 900px) and (min-width: 769px) {
	.p-gifco-cases {
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.p-gifco-cases {
		flex-direction: column;
		align-items: stretch;
		gap: 50px;
	}

	.p-gifco-case {
		flex: none;
	}

	.p-gifco-case__card {
		min-height: 0;
		padding: 24px;
	}

	.p-gifco-case__title {
		font-size: 20px;
	}

	.p-gifco-case__text {
		font-size: 14px;
	}
}

/* --- 料金プラン ----------------------------------------------------------- */
.p-gifco-price {
	display: flex;
	align-items: center;
	justify-content: center;
}

.p-gifco-price__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 300px;
	min-width: 0;
	padding: 28px 8px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--gifco-shadow);
	text-align: center;
}

.p-gifco-price__label {
	font-size: 20px;
	line-height: 1.4;
}

.p-gifco-price__value {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 56px;
	color: #333;
	font-weight: 700;
	line-height: 1.4;
}

.p-gifco-price__num {
	font-size: 40px;
}

.p-gifco-price__unit {
	padding: 4px 4px 8px;
	font-size: 20px;
}

.p-gifco-price__plus {
	flex: none;
	width: 80px;
	color: #333;
	font-size: 24px;
	line-height: 1;
	text-align: center;
}

@media (max-width: 768px) {
	.p-gifco-price {
		gap: 9px;
	}

	.p-gifco-price__card {
		width: 138px;
		padding: 20px 4px;
	}

	.p-gifco-price__plus {
		width: auto;
		font-size: 20px;
	}

	.p-gifco-price__unit--ask {
		font-size: 14px;
	}
}

/* --- セキュリティ体制 ------------------------------------------------------- */
.p-gifco-section--security {
	padding: 52px 0 80px;
}

.p-gifco-section--security .p-gifco-section__head {
	margin-bottom: 32px;
}

.p-gifco-security {
	display: flex;
	justify-content: center;
	gap: 50px;
}

.p-gifco-security__item {
	display: flex;
	flex: 0 1 300px;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	min-width: 0;
	text-align: center;
}

.p-gifco-security__item img {
	width: 100%;
	margin-bottom: -9px;
}

.p-gifco-security__label {
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 32px;
	margin-bottom: 8px;
	border-top: 1px solid var(--gifco-navy);
	border-bottom: 1px solid var(--gifco-navy);
	color: var(--gifco-navy);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.p-gifco-security__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
}

.p-gifco-security__text {
	font-size: 16px;
	line-height: 1.6;
}

@media (max-width: 900px) and (min-width: 769px) {
	.p-gifco-security {
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.p-gifco-section--security {
		padding: 24px 0 32px;
	}

	.p-gifco-section--security .p-gifco-section__head {
		margin-bottom: 24px;
	}

	.p-gifco-security {
		flex-direction: column;
		align-items: center;
		gap: 50px;
	}

	.p-gifco-security__item {
		flex: none;
		width: 100%;
	}

	.p-gifco-security__item img,
	.p-gifco-security__label {
		width: 60%;
	}

	.p-gifco-security__title {
		font-size: 20px;
	}

	.p-gifco-security__text {
		font-size: 13px;
	}
}

/* --- お問い合わせ --------------------------------------------------------- */
.p-gifco-section--contact {
	padding: 80px 0 52px;
}

.p-gifco-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 712px;
	margin: 0 auto;
	padding: 24px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--gifco-shadow);
	text-align: center;
}

.p-gifco-contact__lead {
	font-size: 16px;
	line-height: 1.6;
}

.p-gifco-contact__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	font-size: 14px;
	line-height: 1.4;
}

.p-gifco-contact__links a {
	color: var(--gifco-blue);
}

@media (max-width: 768px) {
	.p-gifco-section--contact {
		padding: 24px 0 32px;
	}

	.p-gifco-contact {
		gap: 18px;
	}

	.p-gifco-contact__lead {
		font-size: 14px;
	}
}

/* --- お役立ち資料 --------------------------------------------------------- */
.p-gifco-section--documents {
	padding: 80px 0 64px;
}

.p-gifco-section--documents .p-gifco-section__title {
	margin-bottom: 51px;
}

.p-gifco-documents {
	display: flex;
	justify-content: center;
	gap: 24px;
}

.p-gifco-documents li {
	display: flex;
	flex: 0 1 380px;
	min-width: 0;
}

.p-gifco-document {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	min-height: 270px;
	padding: 12px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	color: #333;
	text-decoration: none;
	transition: opacity 0.3s;
}

.p-gifco-document:hover {
	opacity: 0.8;
}

.p-gifco-document img {
	width: 100%;
	aspect-ratio: 600 / 337;
	object-fit: cover;
}

.p-gifco-document__title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 768px) {
	.p-gifco-section--documents {
		padding: 27px 0 32px;
	}

	.p-gifco-section--documents .p-gifco-section__title {
		margin-bottom: 27px;
	}

	.p-gifco-documents {
		flex-direction: column;
	}

	.p-gifco-documents li {
		flex: none;
	}

	.p-gifco-document {
		min-height: 0;
	}
}

/* --- 事例/コラム紹介 ------------------------------------------------------- */
.p-gifco-section--columns .p-gifco-section__head {
	margin-bottom: 32px;
}

.p-gifco-columns {
	gap: 24px;
}

.p-gifco-columns .c-card {
	border-radius: 12px;
}

.p-gifco-columns__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-top: 24px;
}

.p-gifco-columns__btn {
	display: grid;
	place-items: center;
	width: 320px;
	max-width: 100%;
	min-height: 52px;
	padding: 4px 16px;
	border: 1px solid #ccc;
	border-radius: 26px;
	background: #fff;
	color: #333;
	font-size: 18px;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.p-gifco-columns__btn:hover {
	background: var(--gifco-pale);
}

.p-gifco-columns__btn--primary {
	border-color: var(--gifco-blue);
	background: var(--gifco-blue);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
}

.p-gifco-columns__btn--primary:hover {
	background: #fff;
	color: var(--gifco-blue);
}

@media (max-width: 768px) {
	.p-gifco-section--columns .p-gifco-section__head {
		margin-bottom: 24px;
	}

	.p-gifco-columns__btn {
		width: 240px;
		min-height: 48px;
		border-radius: 24px;
		font-size: 14px;
	}

	.p-gifco-columns__btn--primary {
		font-size: 14px;
	}
}

/* --- タブレット（990px以下・769px以上）：原本のTAB値に合わせて縦積みにする ------------- */
@media (max-width: 990px) and (min-width: 769px) {
	.p-gifco-hero__inner {
		flex-direction: column;
		gap: 24px;
		padding: 150px 40px 60px;
	}

	.p-gifco-hero__body {
		flex: none;
		align-items: center;
		width: 100%;
		text-align: center;
	}

	.p-gifco-hero__title,
	.p-gifco-section__title,
	.p-gifco-worry__title {
		font-size: 36px;
	}

	.p-gifco-hero__achievements {
		margin-left: 0;
	}

	.p-gifco-hero__visual {
		flex: none;
		width: 420px;
		max-width: 100%;
		margin: 0;
	}

	.p-gifco-hero__gifts {
		position: static;
		width: 300px;
		max-width: 100%;
	}

	.p-gifco-solution__inner,
	.p-gifco-feature,
	.p-gifco-feature--reverse {
		flex-direction: column;
	}

	.p-gifco-solution__img,
	.p-gifco-feature__body,
	.p-gifco-feature__img {
		flex: none;
		width: 100%;
		max-width: 574px;
	}

	.p-gifco-feature--small .p-gifco-feature__img {
		max-width: 334px;
	}

	.p-gifco-feature,
	.p-gifco-feature--small {
		align-items: center;
	}

	.p-gifco-consult__img {
		right: 8px;
		bottom: 12px;
		width: 120px;
	}
}
