/* ==========================================================================
   1. リセット & 基本設定
   ========================================================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-size: 62.5%;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: 'Noto Sans JP', sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	color: #534741;
	line-height: 1.8;
}
a {
	text-decoration: none;
	color: inherit;
}
#b2b-service_page a:link,
#b2b-service_page a:visited,
#b2b-service_page a:active {
	color: #fff;
	text-decoration: none;
}
.b2b-container {
	max-width: 1040px;
	margin: 0 auto;
	text-align: center;
	padding: 0 20px;
}

/* ==========================================================================
   2. 共通テキストスタイル・カラー
   ========================================================================== */
.title-flex h2 {
	font-size: clamp(2.3rem, 3vw, 3.2rem);
	color: #534741;
	font-weight: 700;
	margin: 10px 0 12px;
}
.sub-text {
	font-size: 1.8rem;
	text-align: center;
	padding: 10px;
}
.pc_br {
	display: block;
}
.sp_br {
	display: none;
}

/* CSS変数（テーマカラー） */
.theme-color1 {
	--main-color: #5193ca;
}
.theme-color2 {
	--main-color: #62acab;
}
.theme-color3 {
	--main-color: #da7880;
}
.theme-color4 {
	--main-color: #de8038;
}
.theme-color5 {
	--main-color: #005394;
}
.theme-color6 {
	--main-color: #e0a920;
}
.accent-color {
	--main-color: #534741;
}

/* 丸タグ */
.content_name {
	background: #fff;
	width: fit-content;
	border-radius: 50px;
	color: var(--main-color);
	border: 2px solid var(--main-color);
	padding: 0 20px;
}

/* リード文 */
.lead,
.lead strong {
	font-family: dnp-shuei-mgothic-std, sans-serif;
	font-style: normal;
	font-weight: 600;
	color: var(--main-color);
	text-align: center;
	font-size: 3.2rem;
}

.sub-title {
	font-size: 2.3rem;
	color: #de8038;
	text-align: center;
	font-weight: 800;
}

/* 下線 */
.b2b-border {
	display: inline;
	background-image: linear-gradient(#534741, #534741);
	background-repeat: repeat-x;
	background-position: left bottom;
	background-size: 100% 2px;
	padding-bottom: 10px;
}

/* レイアウト共通 */
.header-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 25px;
}

.title-flex {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* ドット付き文字 */
.big-dot span {
	position: relative;
	display: inline-block;
	margin: 0 1px;
	font-size: 3.2rem;
}

.big-dot span::before {
	content: '';
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);

	width: 10px;
	height: 10px;

	background-color: var(--main-color);
	border-radius: 50%;
}

/* ==========================================================================
   3. ボタン
   ========================================================================== */
.btn-service,
.btn-soudan {
	width: 380px;
	height: 88px;
	border-radius: 50px;
	font-size: clamp(1.7rem, 2.4vw, 2.3rem);
	font-weight: 500;
	text-align: center;
	transition: 0.3s;
}
.btn-service:hover,
.btn-soudan:hover,
.btn-work:hover {
	opacity: 0.8;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-decoration: none;
}
.btn-service {
	background: #da7880;
	gap: 5px;
}
.btn-soudan {
	background: var(--main-color);
	gap: 20px;
}
.btn-soudan img {
	width: 30px;
}

.font-color {
	color: var(--main-color);
}

/* ==========================================================================
   4. メインビジュアル (MV) 全般
   ========================================================================== */
/* --- MVセクション全体の基盤 --- */
.fv-contents {
	position: relative;
	height: 100dvh;
	overflow: hidden;
}
.l-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

#fv-section {
	height: 100dvh;
}
.logo {
	width: 104.7px;
}
.logo img {
	width: 100%;
}

.header-nav .btn-soudan {
	width: 291px;
	height: 48px;
	font-size: 1.8rem;
	color: #fff;
}
.header-nav .btn-soudan img {
	width: 19px;
}
.bg-area-top {
	text-align: center;
	background-color: rgba(255, 255, 255, 0.5);
	background-image: url('../img/b2b-service/pixta_121986941_XL.jpg');
	background-repeat: no-repeat;
	min-height: 100dvh;
	background-size: cover;
	background-position: center;
}

.float-wrapper {
	position: relative;
	max-width: 1366px;
	margin: 0 auto;
	height: 100dvh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fv-container {
	position: relative;
	max-width: 1366px;
	height: 100%;
}

/* --- 中央の丸いタイトル枠 --- */
.fv-center-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	flex-direction: column;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	/* 丸い枠のデザイン */
	aspect-ratio: 1 / 1;
	width: 28.8%;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 18px;
	z-index: 10;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- 円周テキストの設定 --- */
.rotating-text {
	position: absolute;
	top: -33px;
	left: -20px;
	width: calc(100% + 40px);
	height: calc(100% + 40px);
	pointer-events: none;
	transform: rotate(40deg);
}

.rotating-text text {
	font-family: 'senobi-gothic', sans-serif;
	font-size: 9px;
	font-weight: 700;
	fill: #de8038;
	letter-spacing: -0.5px;
}

.fv-center-title .fv-copy {
	font-size: clamp(1.8rem, 3vw, 3.7rem);
	font-weight: 700;
	line-height: 1.4;
	color: #534741;
	text-align: center;
}

.highlight {
	color: var(--main-color);
	font-size: clamp(2rem, 3.1vw, 4.174rem);
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: 900;
	letter-spacing: 0.1em;

	display: inline-block;
	background-image: linear-gradient(to right, var(--main-color) 60%, transparent 40%);
	background-position: bottom;
	background-repeat: repeat-x;
	background-size: 7px 2px; /* 1つ目の値：1セットの長さ、2つ目の値：線の太さ */
	padding-bottom: 2px;
}
.fv-center-title p {
	font-size: 2.4rem;
	line-height: 1.3;
	font-weight: 600;
	text-align: center;
}

/* ==========================================================================
   5. MV 浮遊画像アニメーション設定
   ========================================================================== */
/* --- 周囲の浮遊画像（共通設定） --- */
.float-item {
	position: absolute;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(229, 176, 106, 0.5);
	z-index: 5;
	opacity: 0;
	animation: fadeIn 1s forwards;
}

.float-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* フェードインのアニメーション */
@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

/* --- 各画像の配置と「ふわふわ」アニメーションの設定 --- */
.fv-icon {
	position: absolute;
	z-index: 10;
	transform: translate(-50%, 69%);
}
/* 1. 左上 */
.float-1 {
	max-width: 280px;
	top: 115px;
	left: 218px;
	animation:
		fadeIn 1s forwards,
		balloonFloat_TL 9s ease-in-out infinite;
}
.float-1 img {
	transform: scale(1.1);
	object-position: center;
}

/* 2. 右上 */
.float-2 {
	max-width: 338px;
	top: 45px;
	right: 204px;
	animation:
		fadeIn 1s 0.3s forwards,
		balloonFloat_TR 11s ease-in-out infinite;
}
.float-2 img {
	transform: scale(1.1);
	object-position: 103% center;
}

/* 3. 左下 */
.float-3 {
	max-width: 235px;
	bottom: 115px;
	left: 254px;
	animation:
		fadeIn 1s 0.5s forwards,
		balloonFloat_BL 10s ease-in-out infinite;
}
.float-3 img {
	transform: scale(1.4);
	object-position: 0 center;
}

/* 4. 右下 */
.float-4 {
	max-width: 272px;
	bottom: 96px;
	right: 226px;
	animation:
		fadeIn 1s 0.7s forwards,
		balloonFloat_BR 13s ease-in-out infinite;
}
.float-4 img {
	transform: scale(1.2);
	object-position: 30% center;
}

/* ==========================================================================
   6. アニメーション キーフレーム定義
   ========================================================================= */
/* --- 「ふわふわ」させるキーフレームアニメーション --- */

/* 【左上用】Top-Left：上と左へ */
@keyframes balloonFloat_TL {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	30% {
		transform: translate(-10px, -20px) rotate(-2deg);
	} /* 左上へ */
	60% {
		transform: translate(5px, -10px) rotate(1deg);
	} /* 少し戻る */
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
}

/* 【右上用】Top-Right：上と右へ */
@keyframes balloonFloat_TR {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	40% {
		transform: translate(15px, -25px) rotate(3deg);
	} /* 右上へ */
	70% {
		transform: translate(-5px, -15px) rotate(-1deg);
	} /* 少し戻る */
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
}

/* 【左下用】Bottom-Left：下と左へ */
@keyframes balloonFloat_BL {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	25% {
		transform: translate(-15px, 15px) rotate(-3deg);
	} /* 左下へ */
	75% {
		transform: translate(5px, 5px) rotate(1deg);
	} /* 少し戻る */
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
}

/* 【右下用】Bottom-Right：下と右へ */
@keyframes balloonFloat_BR {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	35% {
		transform: translate(20px, 10px) rotate(2deg);
	} /* 右下へ */
	80% {
		transform: translate(-10px, -5px) rotate(-1deg);
	} /* 少し戻る */
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
}

@media (max-width: 1240px) {
	.float-wrapper {
		max-width: 769px;
	}
	.fv-center-title {
		width: 290px;
	}

	.fv-center-title p {
		font-size: 1.8rem;
	}
	.fv-icon {
		width: 300px;
		transform: translate(-50%, 117%);
	}

	/* 1. 左上 */
	.float-1 {
		max-width: 240px;
		top: 115px;
		left: 17px;
	}

	/* 2. 右上 */
	.float-2 {
		max-width: 300px;
		top: 76px;
		right: 17px;
	}

	/* 3. 左下 */
	.float-3 {
		max-width: 200px;
		bottom: 152px;
		left: 68px;
	}

	/* 4. 右下 */
	.float-4 {
		max-width: 232px;
		bottom: 140px;
		right: 45px;
	}
}

@media (max-width: 768px) {
	.fv-contents {
		width: 100vw;
		height: 100vw;
		max-height: 500px;
		overflow: hidden;
		position: relative;
	}

	#fv-section {
		height: 100%;
		max-width: 668px;
		max-height: 500px;
	}

	.float-wrapper,
	.b2b-container,
	.fv-container {
		width: 100%;
		height: 100%;
		max-width: 100%;
		position: relative;
	}

	/* --- 中央の丸いタイトル枠の調整 --- */
	.fv-center-title {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 53%;
		max-width: 260px;
		aspect-ratio: 1 / 1;
		gap: 8px;
	}

	.fv-center-title .fv-copy {
		font-size: clamp(1.4rem, 4.5vw, 2.4rem);
	}
	.fv-center-title p {
		font-size: clamp(1rem, 3.2vw, 1.6rem);
	}
	.rotating-text {
		top: -15px;
		left: -15px;
		width: calc(100% + 30px);
		height: calc(100% + 30px);
	}
	.float-item {
		width: 32%;
	}
	.float-1 {
		width: 34%;
		max-width: 190px;
		top: 15%;
		left: 2%;
	}
	.float-2 {
		width: 38%;
		max-width: 210px;
		top: 15%;
		right: 2%;
	}
	/* 3. 左下 */
	.float-3 {
		width: 30%;
		max-width: 160px;
		bottom: 15%;
		left: 5%;
	}
	/* 4. 右下 */
	.float-4 {
		width: 32%;
		max-width: 170px;
		bottom: 15%;
		right: 5%;
	}

	.fv-icon {
		width: 40%;
		left: 50%;
		bottom: 10%;
		transform: translate(-50%, 35%);
	}
	.fv-icon img {
		width: 100%;
	}

	/* その他ヘッダーなどの調整 */
	.header-nav .btn-soudan {
		width: 156px;
		height: 34px;
		font-size: 0.9rem;
	}
	.bg-area-top {
		min-height: 100vw;
		background-size: cover;
	}
}

/* ==========================================================================
   7. MVセクション内詳細スタイル
   ========================================================================== */
.mv-copy {
	font-size: 4.1rem;
	text-align: center;
}
.mv-subcopy {
	font-size: 1.8rem;
	text-align: center;
}
#mv .content_name {
	font-family: dnp-shuei-mgothic-std, sans-serif;
	font-size: 2.4rem;
	font-weight: 600;
	display: flex;
	align-items: center;
}
#mv .service-contents {
	max-width: 808px;
	gap: 10px 16px;
	padding: 0;
	margin: 26px auto 52px;
	justify-content: flex-start;
}
.mv-btns,
.btns {
	gap: 38px;
}

/* ==========================================================================
   8. サービス紹介共通セクション
   ========================================================================== */
.service-message,
.service-message span {
	font-family: dnp-shuei-mgothic-std, sans-serif;
	font-size: 2rem;
	font-weight: 600;
	list-style: none;
	margin-bottom: 0;
}
.service-flex {
	display: flex;
	align-items: center;
	gap: 50px;
}

/* ==========================================================================
   9. お悩みセクション (Problem)
   ========================================================================== */
#prob-section {
	margin-top: 60px;
}
.lead_img {
	text-align: center;
	padding-bottom: 30px;
}
.title-icon {
	position: relative;
	top: -18px;
}
.prob-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	padding-bottom: 136px;
}

.b2b-card.prob-item {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: calc(33.333% - 20px);
	background-color: #fff;
	box-shadow: 7px 7px 0 0 #de8038;
	padding: 20px 0 0;
	margin: 0;
}
.b2b-card.prob-item p {
	font-size: 1.6rem;
	text-align: center;
	font-weight: 500;
}
.prob-item img {
	width: 100%;
	height: auto;
}

/* 背景切り抜き */
.is-cut {
	clip-path: polygon(
		0 0,
		calc(50% - 50px) 0,
		50% 35px,
		calc(50% + 50px) 0,
		100% 0,
		100% 100%,
		0 100%
	);
	margin-top: -50px;
}

/* ==========================================================================
   10. 特徴・フロー共通背景 & カード
   ========================================================================== */
#features,
#flow {
	background: repeating-linear-gradient(135deg, #f9d57a, #f9d57a 5px, #f8ca55 5px, #f8ca55 11px);
	padding-bottom: 77px;
}
#features {
	padding-top: 93px;
}
#features .title-icon {
	position: relative;
	top: -76px;
	left: 176px;
	transform: rotate(10deg);
}
#features .title-wrapper {
	height: 155px;
}

.b2b-card {
	background-color: #fff0e6;
	border: 2px solid #534741;
	text-align: center;
	border-radius: 15px;
	padding: 30px 30px 0 30px;
	box-shadow: 7px 7px 0 0 #da7880;
	max-width: 840px;
	margin: 0 auto;
}
.b2b-card_icon img {
	width: 100%;
	height: auto;
	position: relative;
}

.section-title {
	padding-top: 70px;
}

.subtitle {
	align-items: flex-end;
}
#features .subtitle {
	gap: 10px;
}
.point {
	width: 308px;
}
#flow .frame-box {
	margin-bottom: 70px;
}
/* ==========================================================================
   11. 特徴セクション (Features) 内パーツ
   ========================================================================== */
/* --- 吹き出し (Balloon) --- */
.balloon-item {
	position: relative;
	margin: 90px auto 20px;
	text-align: center;
}
.balloon-item img {
	position: absolute;
	top: -70px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	width: 87px;
}
.balloon-content {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 15px 25px;
	background-color: #fff;
	border: 2px solid #534741;
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
	z-index: 5;
}
.balloon-content p {
	margin: 0;
	color: #333;
	line-height: 1.4;
	font-size: 2rem;
	font-weight: 600;
	text-align: center;
}
.balloon-content span {
	color: var(--main-color);
	font-size: 2.3rem;
	text-align: center;
}

/* 吹き出しの三角部分 */
.balloon-content::before,
.balloon-content::after {
	content: '';
	position: absolute;
	border-style: solid;
	display: block;
	width: 0;
	left: 50%;
	transform: translateX(-50%);
}

.balloon-content::before {
	bottom: -15px;
	border-width: 15px 12px 0;
	border-color: #534741 transparent transparent;
}

.balloon-content::after {
	bottom: -12px;
	border-width: 15px 12px 0;
	border-color: #fff transparent transparent;
}

/* --- ポイント画像設定 --- */
.point_wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 28px;
}
.point_img {
	border-radius: 20px;
	box-shadow: 7px 7px 0 0 #da7880;
	overflow: hidden;
	background-color: #fff;
	max-width: 308px;
}
.point_img img {
	display: block;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 1 / 0.9;
}

/* ==========================================================================
   12. フレームボックス (Frame Box)
   ========================================================================== */
.frame-container {
	margin: 40px 0;
	padding: 0 20px;
}

.frame-box {
	position: relative;
	border: 2px solid #da7880;
	border-radius: 15px;
	background-color: #fff;
	max-width: 840px;
	margin: 90px auto 0;
}

/* フレームタイトルタブ */
.frame-title {
	font-family: dnp-shuei-mgothic-std, sans-serif;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -100%);
	background-color: #da7880;
	color: #fff;
	padding: 5px 50px;
	font-weight: bold;
	font-size: 2.4rem;
	white-space: nowrap;
	border-radius: 20px 20px 0 0;
	text-align: center;
}

.frame-content {
	position: relative;
	padding: 30px 20px 20px;
}
/* フレーム・吹き出し内アイコン配置 */
.frame-content img,
.balloon-content img {
	position: absolute;
	right: 0;
	bottom: 0;
	width: auto;
	height: auto;
}
.left-icon {
	display: none;
}

.lead img {
	position: static;
	width: 22px;
}

.frame-content p,
.frame-content strong {
	font-family: dnp-shuei-mgothic-std, sans-serif;
	font-size: 2.2rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.8;

	text-align: center;
}
.frame-content p {
	color: #534741;
}
.frame-content strong {
	color: var(--main-color);
}

/* ==========================================================================
   13. サービス一覧セクション
   ========================================================================== */
#service,
#other-service {
	background-color: #ffe5d0;
}
.service.balloon-item {
	margin: 20px auto;
	text-align: center;
}

/* サービスセクション内吹き出し調整 */
#service .balloon-content {
	position: relative;
	display: inline-block;
	padding: 0 25px 0 0;
	background-color: #f9f3e7;
	border: 2px solid #534741;
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
	max-width: 640px;
	margin-top: 40px;
}
#service .balloon-content p {
	font-family: dnp-shuei-mgothic-std, sans-serif;
	margin: 0;
	color: #534741;
	font-size: clamp(2.2rem, 3vw, 3rem);
	line-height: 1.6;
	font-weight: 600;
	text-align: center;
}
#service .balloon-content .small {
	font-size: 2.3rem;
}
#service .lead,
#service .lead strong {
	font-size: 2.8rem;
	margin: 10px 0 0;
}
#service .balloon-text strong {
	font-size: clamp(2.65rem, 3vw, 3.6rem);
}

#service .balloon-content::before,
#service .balloon-content::after {
	content: '';
	position: absolute;
	border-style: solid;
	display: block;
	width: 0;
	left: 50%;
	transform: translateX(-50%);
}

#service .balloon-content::before {
	bottom: -15px;
	border-width: 15px 12px 0;
	border-color: #534741 transparent transparent;
}

#service .balloon-content::after {
	bottom: -12px;
	border-width: 15px 12px 0;
	border-color: #f9f3e7 transparent transparent;
}

/* サービスリストグリッド */
#service_list {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	max-width: 1040px;
	margin: 0 auto;
	padding-top: 50px;
	justify-content: center;
}

/* サービスカードデザイン */
.b2b-card.service {
	width: calc((100% - 56px) / 3);
	background-color: #fff;
	border: 3px solid var(--main-color);
	border-radius: 20px;
	padding: 0;
	box-shadow: 7px 7px 0 0 rgba(176, 152, 152, 0.6);
	overflow: hidden;

	display: flex;
	flex-direction: column;

	cursor: pointer;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	margin: 0;
}

.b2b-card.service:hover {
	transform: translateY(-5px);
	box-shadow: 10px 10px 0 0 rgba(176, 152, 152, 0.8);
	text-decoration: none;
}

.service-contents {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding-bottom: 5px;
	justify-content: flex-start;
	align-items: center;
	width: fit-content;
	position: relative;
	padding: 10px 0;
	gap: 5px;
}

.b2b-card .service-contents {
	padding: 7px 20px 12px 35px;
	height: 81px;
}
/* --- 写真エリア --- */
.photo-area {
	width: 100%;
	height: 192px;
}

.photo-area img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --- コンテンツエリア --- */
.service_name {
	height: 65px;
	font-size: clamp(2rem, 2.5vw, 2.4rem);
	font-weight: 700;
	color: var(--main-color);
	flex-grow: 1;
	line-height: 1.17;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.service_type p {
	font-size: 1.6rem;
	font-weight: 400;
	color: var(--main-color);
	text-align: center;
}

.b2b-card .content_name {
	font-size: 1.5rem;
}
/* --- 下部タイトルタブ --- */
.title-tab {
	display: flex;
	background-color: var(--main-color);
	color: #fff;
	justify-content: center;
	align-items: center;
	gap: 5px;
	padding: 10px 0;
	font-weight: 400;
	border-top: 1px solid var(--main-color);
}
.title-tab p {
	font-size: 1.8rem;
}
/* ==========================================================================
   14. スプリットカードセクション (Split b2b-card / Slider)
   ========================================================================== */
.service-details-container {
	display: flex;
	flex-direction: column; /* 縦に並べる */
	gap: 55px; /* セクション同士の間隔（お好みで調整） */

	/* 任意：上下の余白 */
	padding-top: 77px;
	padding-bottom: 124px;
}
.split-b2b-card {
	display: flex;
	width: 100%;
	background: #f9f9f9;
	border-radius: 20px;
	overflow: hidden;
}

/* 左側：テキスト */
.left-content {
	flex: 1;
	padding: 30px 37px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}
.service-title {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* 波線装飾 */
.wavy-simple {
	display: inline-block;
	position: relative;
	width: 100%;
	margin-bottom: 20px;
}
.wavy-simple::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -20px;
	width: 100%;
	height: 15px;
	background-color: var(--main-color);
	mask-image: url('../img/b2b-service/wave.svg');
	mask-repeat: repeat-x;
	mask-size: 25px 20px;
}
.left-content .service-contents {
	gap: 5px;
	align-self: unset;
	padding: 0;
}
.left-content .content_name {
	font-size: clamp(1.05rem, 1.6vw, 1.7rem);
	margin: 0;
}
.left-content h2 {
	font-weight: 700;
	font-size: clamp(2.4rem, 3vw, 3.4rem);
	line-height: 1.2;
}
.left-content p {
	text-align: left;
	font-size: clamp(1rem, 1.5vw, 1.6rem);
	text-align: justify;
}

/* 無効化用のクラス */
.disabled {
	pointer-events: none;
	cursor: default;
}

.service-strengths {
	list-style: none;
}
.strength_name {
	display: flex;
	gap: 5px;
	width: fit-content;
	align-items: center;
	font-size: clamp(1.25rem, 2vw, 2rem);
	width: max-content;
	color: var(--main-color);
	margin: 5px 0;
}

/* 右側：スライダー */
.right-slider {
	flex: 1;
	position: relative;
}

.slider-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.slide.active {
	opacity: 1;
}

/* インジケーター (Dots) */
.dots {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}

.dot {
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 1);
	border: 2px solid var(--main-color);
	border-radius: 50%;
	cursor: pointer;
}

.dot.active {
	background: var(--main-color);
	border: 2px solid var(--main-color);
}

/* ==========================================================================
   15. 進行フローセクション (Flow Step)
   ========================================================================== */
.flow-layout-wrapper {
	position: relative;
	margin: 50px auto;
}
.balloon-area {
	position: absolute;
	left: 130px;
	top: 80%;
	transform: translateY(-50%);
}
.flow-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 40px;
	max-width: 668px;
	margin: 0 auto;
}
/* 各アイテムの土台 */
.flow-item {
	position: relative;
	width: calc(25% - 30px);
	max-width: 133px;
}

/* --- 矢印の配置 (擬似要素) --- */
/* 1〜3個目：右向き矢印（右側に配置） */
.flow-item:nth-child(1)::after,
.flow-item:nth-child(2)::after,
.flow-item:nth-child(3)::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -30px;
	width: 20px;
	height: 20px;
	background: url('../img/b2b-service/arrow_flow.svg') no-repeat center/contain;
	transform: translateY(-50%);
}

/* 4個目：下向き矢印（中央下側に配置） */
.flow-item:nth-child(4)::after {
	content: '';
	position: absolute;
	bottom: -30px;
	left: 50%;
	width: 20px;
	height: 20px;
	background: url('../img/b2b-service/arrow_flow.svg') no-repeat center/contain;
	transform: translateX(-50%) rotate(90deg);
}

/* 5〜6個目：左向き矢印（左側に配置） */
.flow-item:nth-child(5)::after,
.flow-item:nth-child(6)::after {
	content: '';
	position: absolute;
	top: 50%;
	left: -20px;
	width: 20px;
	height: 20px;
	background: url('../img/b2b-service/arrow_flow.svg') no-repeat center/contain;
	transform: translateX(-50%) rotate(180deg);
}

/* 表示順の入れ替え */
.flow-item:nth-child(5) {
	order: 7;
}
.flow-item:nth-child(6) {
	order: 6;
}
.flow-item:nth-child(7) {
	order: 5;
}

/* 白丸部分 */
.flow-circle {
	aspect-ratio: 1 / 1;
	background-color: #fff;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* 上に載る番号の四角 */
.flow-number {
	position: absolute;
	top: -5px; /* 上に少しはみ出させる */
	left: 12%;
	transform: translateX(-50%); /* 真ん中に配置 */
	width: 40px;
	height: 40px;
	background-color: var(--main-color);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.2rem;
	font-weight: bold;
	border-radius: 4px;
	z-index: 2;
}

.flow-icon {
	margin-bottom: 10px;
}

.flow-text {
	font-size: 2.2rem;
	font-weight: bold;
	color: var(--main-color);
}

.balloon {
	display: inline-block;
	background-color: #62acab; /* 指定の色 */
	color: #fff;
	padding: 30px 20px;
	border-radius: 50%;
	text-align: center;
	font-weight: bold;
	line-height: 2.2;
	min-width: 180px;
	z-index: 10;
}

.spacer {
	grid-column: 3;
}

.emphasis,
.under-dash {
	display: inline-block;
	font-family: dnp-shuei-mgothic-std, sans-serif;
	font-size: 2rem;
	border-bottom: 1px dashed #534741;
}
.balloon .big-dot span {
	font-size: 2rem;
}
.balloon .big-dot span::before {
	background-color: #fff;
	width: 7px;
	height: 7px;
	top: 3px;
}
/* ★修正：SVGを使って「先端が丸いカーブ」を描画 */
.balloon::after {
	content: '';
	position: absolute;
	bottom: -41px;
	right: 20px;
	width: 35px;
	height: 68px;
	background-image: url('../img/b2b-service/balloon.svg');
	background-repeat: no-repeat;
	background-size: contain;
	z-index: -1;
}

.up-arrow {
	transform: rotate(180deg);
}

/* ==========================================================================
   16. その他サービス・お客様の声・Q&A共通
   ========================================================================== */
#work,
#voices,
#faq,
.l-footer {
	background-color: #fff;
}

#work {
	padding-bottom: 80px;
}
.work-list {
	display: flex;
	gap: 20px;
	justify-content: center;
	padding-bottom: 30px;
}
.work-list img {
	border-radius: 20px;
}
.work-list p {
	font-size: 1.6rem;
}
.btn-work {
	background: #534741;
	color: #fff;
	gap: 5px;
	width: 300px;
	height: 75px;
	border-radius: 20px;
	font-size: clamp(1.7rem, 2.4vw, 2.3rem);
	font-weight: 500;
	text-align: center;
	transition: 0.3s;
	margin: 0 auto;
}

/* ========================================
制作実績
======================================== */
.work_slider {
	width: 100%;
	overflow: hidden;
	padding: 0 20px 40px;
}

.work_slider .swiper-slide {
	min-width: 0;
	height: auto;
}

/* カード全体 */
.work-item a {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* 画像 */
.work-image {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 16px;
	aspect-ratio: 220 / 147;
}

.work-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* テキスト */
.work-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.work-category {
	display: inline-block;
	width: fit-content;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 1.2rem;
	line-height: 1.4;
	background: #f2f2f2;
}

.work-title {
	font-size: 1.6rem;
	line-height: 1.7;
	word-break: break-word;
	color: #534741;
	text-align: justify;
}

/* ========================================
Swiper設定
======================================== */

.work_slider .swiper-wrapper {
	align-items: stretch;
	margin-bottom: 20px;
}

/* 矢印 */
.work_slider .swiper-button-prev,
.work_slider .swiper-button-next {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.work_slider .swiper-button-prev::after,
.work_slider .swiper-button-next::after {
	font-size: 1.4rem;
	color: #333;
}

iframe {
	aspect-ratio: 16/9;
	max-width: 800px;
	min-width: 800px;
	height: auto;
	margin-top: 10px;
}
/* ==========================================================================
   17. その他サービスセクション
   ========================================================================== */
.b2b-container.other {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	max-width: 1040px;
	margin: 0 auto;
	padding: 50px 0 145px;
	justify-content: flex-start;
	align-items: stretch;
}
.b2b-card.other {
	width: calc((100% - 65px) / 3);
	background-color: #fff;
	border: unset;
	border-radius: 20px 20px 0 20px;
	padding: 0;
	box-shadow: unset;
	position: relative;
	overflow: hidden;
	margin: unset;
	cursor: pointer;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}
.b2b-card.other:hover {
	transform: translateY(-5px);
	opacity: 1;
}
/* 右下三角アクセント */
.b2b-card.other::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 25px;
	height: 28px;
	background-color: var(--main-color);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	z-index: 1;
}

/* 既存のテキスト要素が三角の下に隠れないように調整 */
.other-service_type p,
.other-service_name {
	position: relative;
	z-index: 2;
	color: #534741;
	text-align: justify;
}
.photo-area {
	height: 180px;
}
.text-area {
	height: 162px;
	padding: 20px 25px 25px;
	text-align: left;
}

.other-service_name {
	font-size: 2rem;
	text-decoration: underline;
	font-weight: 700;
	padding-bottom: 10px;
}
.other-service_type p {
	font-size: 1.6rem;
}

/* ==========================================================================
   18. お客様の声セクション (Voices)
   ========================================================================== */
.voice-wrapper {
	gap: 20px;
	max-width: 1020px;
	margin: 0 auto;
	padding: 20px 0;
	flex-wrap: wrap;
}

.b2b-card.voice {
	background-color: #fff;
	margin: 0;
	max-width: 488px;
	height: 180px;
	gap: 20px;
	text-align: left;
	padding: 20px;
}

.voice .sub-text {
	font-size: 1.6rem;
	text-align: justify;
}

.voice-box {
	position: relative;
	margin-top: 50px;
	width: calc((100% - 20px) / 2);
}

/* ボイスセクションの見出しタブ調整 */
.voice-box .frame-title {
	width: auto;
	transform: translate(-105%, -100%);
	background-color: var(--main-color);
	position: absolute;
	top: 0;

	/* --- 中央揃えの設定を解除して左揃えにする --- */
	left: 20px; /* 左端からの距離（カードの角丸に合わせる） */
	transform: translateY(-100%); /* 左右の移動(X)を消し、上に浮かせる(Y)だけに */

	/* --- デザイン調整 --- */
	display: inline-block;
	padding: 5px 25px; /* 左右の余白を少し調整 */
	white-space: nowrap; /* 改行させない */
	border-radius: 15px 15px 0 0; /* 角丸を左揃えに馴染む形に */

	/* PCでのフォントサイズ（必要に応じて） */
	font-size: 1.8rem;
}

/* ==========================================================================
   19. Q&Aセクション (FAQ)
   ========================================================================== */
.qa-container {
	display: flex;
	max-width: 800px;
	margin: 0 auto;
	gap: 10px;
	flex-direction: column;
	padding: 20px 0 60px;
}
.qa-item {
	border-radius: 20px;
	overflow: hidden;
	background-color: #ffe5d0;
	padding: 20px;
}

.question-text {
	font-size: 2.2rem;
	text-align: left;
	line-height: 1.5;
	font-weight: 700;
}
.answer-text {
	font-size: 1.8rem;
}
/* --- QとAの丸アイコン --- */
.icon-q,
.icon-a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px; /* アイコンのサイズ */
	height: 40px;
	border-radius: 50%; /* 正円にする */
	font-weight: bold;
	font-size: 2rem;
	flex-shrink: 0; /* 文字が長くなっても円が潰れないように */
	color: #fff;
}
.icon-q {
	background-color: var(--main-color); /* テーマカラー */
	background-color: #da7880;
}

.icon-a {
	background-color: #5193ca;
	border: 2px solid var(--main-color);
}

/* --- 質問エリアのレイアウト --- */
.qa-summary {
	display: flex;
	align-items: center;
	gap: 15px;
	position: relative;
	cursor: pointer;
	background-color: #ffe5d0;
}

/* --- 開閉ボタン（画像） --- */
.open-btn {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px; /* 画像の表示サイズに合わせて調整 */
	height: auto;
	transition: transform 0.3s; /* 回転アニメーション用 */
}

.open-btn img {
	width: 100%;
	display: block;
}

/* --- 開いた時のボタンの状態（任意） --- */
.qa-item.is-open .open-btn {
	transform: translateY(-50%) rotate(45deg); /* プラスをバツにする場合など */
}

/* --- 回答エリアのレイアウト --- */
.qa-answer {
	display: flex;
	gap: 15px;
	overflow: hidden;
	line-height: 1.6;
	text-align: left;
	font-size: 1.8rem;
	margin: 20px 60px 0 0;
}
.b2b_border-top {
	border-top: 2px solid #534741;
	padding-top: 5px;
	font-weight: 600;
}

/* ==========================================================================
   20. フッター (Footer)
   ========================================================================== */
.l-footer {
	text-align: center;
}

.footer-intro {
	font-size: clamp(1.2rem, 2vw, 2.4rem);
	padding: 0 0 20px;
	text-align: center;
}

.footer-main-visual {
	width: 100%;
	height: auto;
	background-image: url(../img/b2b-service/img_footer.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top;
	color: #fff;
	align-items: flex-end;
}

.footer-content {
	padding-top: 8%;
	display: flex;
	flex-direction: column;
	gap: 30px;
	z-index: 1;
	text-align: center;
}

.footer-content h2 {
	font-size: 4rem;
	font-weight: bold;
	margin: 0 0 10px 0;
	line-height: 1.4;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
	text-align: center;
}

/* 「お気軽にお問い合わせください」 */
.footer-content p {
	font-family: dnp-shuei-mgothic-std, sans-serif;
	font-size: clamp(1.2rem, 3.5vw, 2.4rem);
	margin: 0;
	text-align: center;
	font-weight: 600;
}

.footer-btns {
	gap: 50px;
	padding: 0 20px;
}
.footer-btns p {
	font-family: 'Noto Sans JP', sans-serif;
	text-align: center;
}

.btn-tel,
.btn-mail {
	width: 380px;
	height: 180px;
	border-radius: 20px;
	text-align: center;
	color: #fff;
	padding: 20px;
}
.btn-tel {
	background: #da7880;
}

.btn-mail {
	background: #005394;
}
.tel_content {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.mail_content img {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.arrow {
	position: relative;
	right: -10px;
	bottom: 15px;
	text-align: right;
}
p.reception-hours {
	font-size: 1.4rem;
	text-align: center;
}
p.tel_number {
	font-size: clamp(1.6rem, 3.5vw, 3.7rem);
	text-align: center;
	gap: 10px;
}
p.contact {
	font-size: 1.4rem;
	text-align: center;
}
p.copyright {
	padding-bottom: 20px;
	font-size: 1.4rem;
	text-align: center;
}
p.mail-text {
	font-size: clamp(1.2rem, 2.5vw, 2.6rem);
	text-align: center;
}
p.mail-subtext {
	font-size: clamp(1rem, 2vw, 1.6rem);
	text-align: center;
}
.logo_footer {
	margin-bottom: 20px;
}
p.b2b-copyright {
	font-size: clamp(1rem, 2vw, 1.4rem);
	padding-bottom: 15px;
}

/* ==========================================================================
   21. レスポンシブ
   ========================================================================== */
@media (max-width: 1024px) {
	.balloon-content p,
	.balloon-content span {
		font-size: 1.5rem;
	}

	.frame-content p,
	.frame-content strong {
		font-size: 2rem;
	}

	.frame-content img,
	.balloon-content img {
		width: 70px;
	}
	.left-icon img {
		max-width: 30px;
		right: 268px;
		bottom: 21px;
		height: auto;
		transform: rotate(-10deg);
	}
	#features .title-icon {
		left: 27%;
		width: 50px;
	}
	.lead img {
		width: 22px;
	}

	.b2b-card.service {
		width: calc((100% - 28px) / 2);
		border-radius: 10px;
	}

	.split-b2b-card {
		width: 100%;
		min-height: 358px;
	}
	.service-title img {
		width: 50px;
	}
	.service_name {
		height: 60px;
	}
	.split-b2b-card .btn-service,
	.split-b2b-card .btn-soudan {
		width: 100%;
		height: 60px;
	}
	.left-content {
		padding: 15px;
		gap: 2px;
	}
	.balloon-area {
		left: 12%;
	}
}

@media (max-width: 768px) {
	/* --- 全体調整 --- */
	html,
	body {
		overflow-x: hidden;
	}
	.b2b-container {
		padding: 10px 15px 20px;
	}
	.pc_br {
		display: none;
	}
	.sp_br {
		display: block;
	}
	h2 {
		font-size: 2.1rem;
	}
	.sub-title {
		font-size: 1.6rem;
	}
	.title-tab p,
	.service_type p {
		font-size: 0.85rem;
		font-weight: 500;
	}
	.balloon-content .title-flex {
		flex-direction: row;
	}
	.b2b-border {
		margin-bottom: 0;
		background-size: 100% 1px;
	}
	.section-title {
		padding-top: 35px;
	}

	.logo {
		width: 50px;
	}

	.mv-btns,
	.btns {
		gap: 15px;
		flex-direction: column;
	}
	.btn-soudan {
		flex-direction: row;
		gap: 15px;
	}
	.btn-soudan img {
		width: 18px;
	}
	.mv-btns .btn-soudan img {
		width: 25px;
	}
	.btn-service,
	.btn-soudan {
		width: 90%;
		height: 60px;
		padding: 7px 15px;
		flex-direction: row;
	}
	#prob-section .lead,
	#prob-section .big-dot span {
		font-size: 2rem;
	}

	.lead,
	.lead strong,
	.big-dot span {
		font-size: 2.3rem;
		flex-direction: row;
		gap: 5px;
		align-items: flex-end;
		position: relative;
	}
	.lead img {
		position: static;
		width: 15px;
	}
	.sub-text,
	.voice .sub-text {
		font-size: 1.2rem;
		font-weight: 600;
	}
	.big-dot span::before {
		top: -5px;
		width: 6px;
		height: 6px;
	}
	.b2b-card .big-dot span::before {
		top: 1px;
	}
	.title-icon {
		width: 35px;
	}
	.b2b-card {
		padding: 15px 15px 0 15px;
		box-shadow: 4px 4px 0 0 #da7880;
	}
	.b2b-card .service-contents {
		padding: 12px;
		height: 55px;
	}
	/* --- メインビジュアル (MV) --- */
	.header-nav .btn-soudan {
		width: 156px;
		height: 34px;
		font-size: 0.9rem;
	}
	.header-nav .btn-soudan img {
		width: 13px;
	}
	.bg-area-top {
		background-size: cover;
		background-position: center;
	}
	#mv .service-contents {
		margin: 20px auto 31px;
		gap: 10px;
		padding: 0 0 0 15px;
		max-width: 515px;
	}
	#mv .content_name {
		font-size: 1.4rem;
		border: 1px solid var(--main-color);
	}
	.mv-subcopy {
		font-size: 1.3rem;
	}
	.content_name img {
		width: 18px;
	}
	.service-message,
	.service-message span {
		font-size: 1.2rem;
	}
	/* --- お悩みセクション (Grid) --- */
	#prob-section {
		margin-top: 50px;
		padding: 0 5%;
	}
	#prob-section .title-flex {
		align-items: center;
	}
	.lead_img {
		padding-bottom: 0;
	}
	.prob-grid {
		gap: 18px;
		padding: 20px 0 105px;
	}
	.b2b-card.prob-item {
		width: calc((100% / 2) - 18px);
		max-width: none;
		margin: 0;
		padding: 10px 0 0;
		border-radius: 10px;
		border: 1.8px solid #534741;
		box-shadow: 4px 4px 0 0 #de8038;
	}
	.b2b-card.prob-item p {
		font-size: 1rem;
	}

	/* --- 特徴・ポイント --- */
	.title-flex h2 {
		margin: 0;
		line-height: 2;
		text-align: center;
	}
	#features {
		padding-bottom: 0;
		padding-top: 40px;
	}
	#features,
	#flow {
		background: repeating-linear-gradient(135deg, #f9d57a, #f9d57a 3px, #f8ca55 4px, #f8ca55 7px);
	}
	.is-cut {
		clip-path: polygon(
			0 0,
			calc(50% - 30px) 0,
			50% 20px,
			calc(50% + 30px) 0,
			100% 0,
			100% 100%,
			0 100%
		);
	}
	#features .subtitle {
		align-items: center;
	}
	#features .title-wrapper {
		height: 95px;
	}
	.frame-container {
		margin: 40px 0 20px;
	}
	.frame-box {
		margin: 60px auto 0;
	}
	.point_wrapper {
		flex-direction: column;
		gap: 15px;
	}
	.point_img {
		max-width: 100%;
		box-shadow: 7px 7px 0 0 #da7880;
	}
	.balloon-content p,
	.balloon-content span {
		font-size: 1.8rem;
		line-height: 1.6;
	}

	/* --- フレームボックス --- */
	.frame-title {
		font-size: 1.5rem;
		padding: 5px 20px;
		width: 45%;
		border-radius: 15px 15px 0 0;
	}
	.frame-content {
		padding: 15px 20px 15px 0;
	}
	.frame-content p,
	.frame-content strong {
		font-size: 1.3rem;
	}

	/* --- サービス一覧 --- */
	#service .balloon-content {
		width: 320px;
		padding: 10px 25px;
		border: 1px solid #534741;
		border-radius: 10px;
		box-shadow: 2px 2px 0 0 rgba(176, 152, 152, 0.6);
	}
	#service .balloon-content p {
		line-height: 1.3;
	}
	#service .balloon-content span {
		font-size: 1.2rem;
	}
	#service .lead,
	#service .lead strong {
		margin: 0;
	}
	.left-icon {
		display: block;
	}
	#service_list {
		gap: 18px;
		padding: 40px 0;
	}
	.title-tab {
		padding: 5px 0;
		height: 20px;
	}
	.title-tab img {
		width: 10px;
	}
	#service .lead,
	#service .lead strong {
		font-size: 1.4rem;
	}
	.b2b-card.service {
		width: calc((100% / 2) - 18px);
		min-width: 0;
		max-width: none;
		margin: 0;
		display: flex;
		flex-direction: column;
		border: 2px solid var(--main-color);
		box-shadow: 4px 4px 0 0 rgba(176, 152, 152, 0.6);
	}
	.b2b-card.service:hover {
		box-shadow: 6px 6px 0 0 rgba(176, 152, 152, 0.8);
	}
	.photo-area {
		height: 96px;
	}
	.service-contents {
		left: unset;
		padding: 0;
	}
	.b2b-card .content_name {
		font-size: 0.9rem;
		padding: 0 10px 2px;
		border: 1px solid var(--main-color);
		height: 15px;
	}
	/* --- スプリットカード (Slider) --- */
	.left-content .service-contents {
		margin: 0 auto;
	}
	.service-details-container {
		padding-top: 0;
		padding-bottom: 50px;
		gap: 30px;
	}
	.service-details-container .btn-soudan {
		order: 7;
		width: 100%;
	}
	.split-b2b-card {
		display: flex;
		flex-direction: column;
		padding: 20px 25px;
		background: #f9f9f9;
		border-radius: 10px;
		gap: 5px;
	}
	.dots {
		bottom: 27px;
	}
	.service_name {
		font-size: 1.2rem;
		padding: 0;
		height: 32px;
	}
	.left-content {
		display: contents;
	}

	.split-b2b-card.service-title {
		order: 1;
	}
	.split-b2b-card.wavy-simple {
		order: 2;
	}
	.split-b2b-card.service-contents {
		order: 3;
	}
	.split-b2b-card.left-content p {
		order: 4;
	}
	.split-b2b-card.service-strengths {
		order: 5;
	}
	.split-b2b-card.strength_name {
		font-size: 1.5rem;
	}
	.strength_name {
		gap: 2px;
		margin: 0;
	}
	.strength_name img {
		width: 16px;
	}
	/* ★ここがポイント：画像をボタンより上の 6番目 に設定 */
	.split-b2b-card.right-slider {
		display: block;
		order: 6;
		position: relative;
		width: 100%;
		height: 250px;
		margin: 20px 0;
		border-radius: 15px;
		overflow: hidden;
		border: 1px solid #ddd;
	}

	/* スライダー内の画像が絶対配置で消えないようにする */
	.slider-wrapper,
	.slide {
		width: 100%;
		height: 250px;
		border-radius: 10px;
	}
	.slider-wrapper {
		margin: 15px 0;
	}
	.slide {
		position: absolute;
		top: 0;
		left: 0;
		object-fit: cover;
	}

	/* ★ボタンを最後（7番目）に配置 */
	.action-btn {
		order: 7;
		width: 100%;
		justify-content: center;
		padding: 15px;
		font-size: 1.8rem;
	}

	/* 装飾の微調整 */
	.service-title h2 {
		font-size: 2.1rem;
	}
	.left-content p {
		text-align: left;
	}
	.left-content .content_name {
		padding: 0 10px;
	}

	.dot {
		width: 11px;
		height: 11px;
	}

	/* --- 制作実績 --- */
	#work {
		padding-bottom: 45px;
	}
	.work-image {
		margin-bottom: 12px;
		border-radius: 8px;
	}

	.work-title {
		font-size: 1.3rem;
	}

	.work-category {
		font-size: 1.1rem;
	}

	.work_slider .swiper-button-prev,
	.work_slider .swiper-button-next {
		width: 30px;
		height: 30px;
		right: var(--swiper-navigation-sides-offset, 2px);
		top: 60px;
	}

	.work_slider .swiper-button-prev {
		left: 2px;
	}

	.work_slider .swiper-button-prev::after,
	.work_slider .swiper-button-next::after {
		font-size: 1.1rem;
	}
	.btn-work {
		margin-top: -15px;
	}
	.btn-work img {
		width: 18px;
		width: 18px;
		position: absolute;
		right: 68px;
	}
	/* --- 進行フロー (7つのステップ) --- */
	#flow {
		padding-bottom: 25px;
	}
	.balloon-area {
		left: 225px;
		top: 85%;
	}
	.balloon {
		padding: 18px 25px;
		min-width: 145px;
	}
	.emphasis,
	.under-dash {
		font-size: 1.8rem;
	}
	.balloon .big-dot span {
		font-size: 1.8rem;
	}
	.balloon .big-dot span::before {
		width: 4px;
		height: 4px;
	}
	.flow-layout-wrapper {
		display: flex;
		flex-direction: column;
		margin: 25px auto 85px;
	}
	.flow-container {
		justify-content: center;
		gap: 25px 35px;
	}
	.flow-item {
		width: calc(33% - 30px);
		max-width: 100px;
	}
	/* --- 矢印の配置 (擬似要素) --- */
	/* 1・２個目：右向き矢印（右側に配置） */
	.flow-item:nth-child(1)::after,
	.flow-item:nth-child(2)::after {
		top: 50%;
		right: -30px;
		width: 15px;
		height: 15px;
	}

	/* 3個目：下向き矢印（中央下側に配置） */
	.flow-item:nth-child(3)::after {
		top: 103%;
		left: 50%;
		width: 15px;
		height: 15px;
		transform: translateX(-50%) rotate(90deg);
	}

	/* 5〜6個目：左向き矢印（左側に配置） */
	.flow-item:nth-child(4)::after,
	.flow-item:nth-child(5)::after {
		top: 50%;
		left: -20px;
		width: 15px;
		height: 15px;
		transform: translateX(-50%) rotate(180deg);
	}

	/* 7個目：下向き矢印（中央下側に配置） */
	.flow-item:nth-child(6)::after {
		top: 105%;
		left: 66%;
		width: 15px;
		height: 15px;
		transform: translateX(-20%) rotate(70deg);
	}

	/* 表示順の入れ替え */
	.flow-item:nth-child(6) {
		order: 4;
	}
	.flow-item:nth-child(5) {
		order: 5;
	}
	.flow-item:nth-child(4) {
		order: 6;
	}
	.flow-item:nth-child(7) {
		order: 7;
		left: -90px;
	}
	.flow-number {
		width: 25px;
		height: 25px;
		font-size: 1.5rem;
	}
	.flow-text {
		font-size: 1.5rem;
	}
	.flow-circle img {
		height: 30px;
	}
	.balloon::after {
		bottom: -45px;
		right: 120px;
		transform: scaleX(-1);
	}
	iframe {
		max-width: 100%;
		min-width: 100%;
	}
	/* --- その他サービス --- */
	.b2b-container.other {
		gap: 15px;
		padding: 40px 10px;
	}
	.b2b-card.other {
		width: calc((100% / 2) - 7.5px);
		min-width: 0;
		border-radius: 15px 15px 0 15px;
	}
	.b2b-card.other::after {
		width: 15px;
		height: 15px;
	}

	.b2b-card.other .photo-area {
		height: 85px;
	}
	.text-area {
		padding: 10px;
		height: 80px;
	}
	.other-service_name {
		font-size: 1rem;
	}
	.other-service_type p {
		font-size: 0.8rem;
	}
	.voice-wrapper {
		gap: 3px;
	}
	.voice-box {
		width: unset;
	}
	.voice-box .frame-title {
		font-size: 1.4rem;
	}
	.voice-box .title-flex {
		flex-direction: row;
		height: 145px;
	}
	.voice-box .title-flex img {
		width: 80px;
	}
	/* --- Q&A --- */

	.qa-item {
		border-radius: 15px;
		padding: 20px 40px 20px 20px;
	}
	.question-text {
		font-size: 1.3rem;
		margin-right: 36px;
	}
	.icon-q,
	.icon-a {
		width: 23px;
		height: 23px;
		font-size: 1.2rem;
	}
	.icon-q {
		padding-bottom: 3px;
	}
	.icon-a {
		margin-top: 12px;
	}
	.qa-summary {
		align-items: flex-start;
	}
	.qa-answer {
		margin: 15px 0 0 0;
	}
	.open-btn {
		width: 20px;
		right: -20px;
	}
	.answer-text {
		font-size: 1.3rem;
		border-top: 1px solid #534741;
	}
	.qa-container {
		padding: 20px 0 30px;
	}
	/* --- フッター --- */
	.footer-main-visual {
		aspect-ratio: 780 / 703;
		background-size: contain;
		background-position: bottom;
		background-image: url('../img/b2b-service/img_footer_sp.png');
	}
	.footer-main-visual .lead img {
		width: 25px;
	}
	.lead .title-flex {
		flex-direction: row;
		align-items: flex-end;
	}
	.footer-intro {
		padding: 0 0 10px;
	}
	.footer-main-visual .title-flex h2 {
		line-height: 1.4;
	}
	.footer-content {
		gap: 25px;
		padding-top: 12%;
	}
	.footer-content h2 {
		font-size: 2.4rem;
	}
	.footer-btns {
		flex-direction: row;
		width: 100%;
		padding: 0 10px;
		gap: 10px;
	}
	.tel_content {
		gap: 4px;
	}
	p.tel_number {
		flex-direction: row;
		gap: 4px;
	}
	.tel_content .sp_br {
		display: none;
	}
}

@media (max-width: 414px) {
	.title-icon {
		position: absolute;
		top: -35px;
		right: 25px;
	}
	.b2b-border {
		padding-bottom: 6px;
	}
	#features .title-icon {
		top: -70px;
		left: 30px;
	}
	.b2b-card .service-contents {
		padding: 3px 1px 5px 10px;
		gap: 2px;
		height: 41px;
	}
	.balloon-area {
		left: 155px;
	}
	.btn-tel,
	.btn-mail {
		width: 173px;
		height: 106px;
		padding: 10px;
		border-radius: 10px;
	}
	.tel_number img {
		width: 15px;
	}
	p.reception-hours {
		font-size: 0.7rem;
		letter-spacing: -0.05em;
	}
	p.contact {
		font-size: 0.9rem;
	}
	.mail_content {
		display: flex;
		flex-direction: column;
		gap: 5px;
	}
	.mail_content img {
		width: 20px;
		padding-bottom: 5px;
	}
	.tel_content .sp_br {
		display: block;
	}
	.arrow {
		width: 15px;
		right: -140px;
		bottom: 12px;
	}
	.logo_footer {
		width: 70px;
		margin: 0 auto;
	}
	p.b2b-copyright {
		padding-bottom: 10px;
	}
}
