/* ===== リセットCSS（modern minimal） ===== */
html {
	font-size: 62.5%;
}

a {
	text-decoration: none;
}

html,
body {
	margin: 0;
	padding: 0;
	text-align: justify;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

/* ========== サイドバー ========== */
.side-blog-link {
	margin-top: 32px;
}

.blog-link-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #000;
	color: #fff !important;
	text-align: center;
	padding: 28px 10px 18px 10px;
	text-decoration: none;
	transition: background 0.2s;
	width: 90%;
	margin: 0 auto;
}

.blog-link-box:hover,
.blog-link-box:focus {
	background: #222 !important;
	color: #fff;
	text-decoration: none;
}

.blog-link-info {
	font-size: 1.8rem;
	margin-bottom: 0.2em;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.blog-link-site {
	font-size: 1.4rem;
	margin-bottom: 0.2em;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.blog-link-title {
	font-size: 3.2rem;
	font-weight: 700;
	margin-top: 0.2em;
	letter-spacing: 0.01em;
	line-height: 1.1;
}

/* ===== ここまでリセットCSS ===== */
.side-arrow {
	color: #808080;
	margin-right: 6px;
	font-size: 0.6em;
	vertical-align: middle;
}

body {
	font-family: '游ゴシック体', 'Yu Gothic', 'メイリオ', 'Meiryo', sans-serif;
	font-size: 1.6em;
}

ul,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: '游ゴシック体', 'Yu Gothic', 'メイリオ', 'Meiryo', sans-serif;
	font-weight: bold;
}

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

/*-----------------------　　ヘッダー　　-----------------------*/

.logo {
	width: 400px;
}

.nikko {
	width: 220px;
}

.tell {
	width: 220px;
}

#fixed {
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	transition: padding .3s;
}

/*fixedでブロックがなくなるのではじめの要素のトップに余白を持たせる*/
header {
	padding-top: 97px;
	/* 98pxと97pxの重複を97pxに統一 */
}

/*==ふわっと出現させるためのCSS*/
/*　上に上がる動き　*/
#fixed.UpMove {
	position: fixed;
	width: 100%;
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
	from {
		opacity: 1;
		transform: translateY(0);
	}

	to {
		opacity: 0;
		transform: translateY(-100px);
	}
}

/*　下に下がる動き　*/
#fixed.DownMove {
	position: fixed;
	width: 100%;
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
	from {
		opacity: 0;
		transform: translateY(-100px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.header_flex {
	display: flex;
	justify-content: space-between;
	background-color: #fff;
	align-items: center;
	padding: 0 5%;
	height: 64px;
}

.naviflex {
	width: 1200px;
	height: 100%;
	margin: 0 auto;
	display: flex;
}

.naviflex li {
	list-style-type: none;
	flex-grow: 1;
	text-align: center;
	height: 100%;
	line-height: 35px;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	/* #ffffを#fffに統一 */
}

.naviflex li+li {
	border-left: 0;
	border-right: 1px solid #fff;
}

.headderRightbox {
	margin-right: 6rem;
	display: flex;
	justify-content: space-between;
}

.headderRightbox li {
	margin-right: 2rem;
	flex-shrink: 0;
}

.headcontact {
	background-color: #00A0E9;
	color: #fff;
	font-weight: 800;
	padding: 1rem;
}

.headbtn {
	background-color: #00A0E9;
	color: #fff;
	padding: 1rem;
	margin: 0 auto;
	text-align: center;
	font-size: 1.6rem;
	cursor: pointer;
}

.headbtn:hover {
	background-color: yellow;
	color: #00A0E9;
	transition: 1.0s;
}

.headbtn a {
	color: #fff;
}

/*-----------------------　　メガ　　-----------------------*/
/* スマホ閲覧時のハンバーガーメニュー */
#hanburger {
	display: none;
	/* チェックボックスを非表示 */
}

.menu_button {
	/* ボタンのスタイル */
	width: 50px;
	/* 幅 */
	height: 50px;
	/* 高さ */
	position: fixed;
	top: 10px;
	right: 60px;
	/* 背景色 */
	z-index: 999;
}

.megaflex {
	display: flex;
}

.megaleft {
	width: 500px;
}

.menu_button::before {
	/* アイコンのスタイル */
	font-family: "Font Awesome 5 Free";
	content: "\f0c9";
	/* アイコン「３本線」 */
	font-weight: 600;
	font-size: 3rem;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#hanburger:checked+.menu_button::before {
	/* アイコンのスタイル（チェック済み） */
	content: "\f00d";
	/* アイコン「×印」 */
}

.global_menu {
	/* メニュー全体のスタイル */
	visibility: hidden;
	/* メニューを非表示 */
	width: 1000px;
	height: auto;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	right: 0;
	padding: 30px;
	color: #333;
	/* 文字色 */
	background: #D2D2D2;
	/* 背景色 */
	overflow-y: scroll;
	z-index: 99;
}

#hanburger:checked~.global_menu {
	/* メニュー全体のスタイル（チェック済） */
	visibility: visible;
	/* メニューを表示 */
	animation-duration: 0.5s;
	animation-name: fade-in;
}

@keyframes fade-in {
	from {
		/*アニメーションを開始するときのCSSを記述*/
		visibility: hidden;
		opacity: 0;
	}

	to {
		/*アニメーションを終了するときのCSSを記述*/
		visibility: visible;
		opacity: 1;
	}
}

.global_menu a {
	/* 各項目のスタイル */
	display: block;
	width: 100%;
}

.global_menu a:hover {
	/* 各項目のスタイル（ホバー時） */
	background: #ffb6c1;
}

.menu>a {
	/* 親項目のスタイル */
	font-weight: bold;
	padding: 5px 10px;
}

.child_menu>li>a {
	padding: 5px 30px 5px 0;
	font-size: 1.4rem;
	color: #000;
	padding-left: 1em;
	text-indent: -1em;
}

.megahead {
	background-color: #fff;
	padding: 5px;
	width: 90%;
	display: block;
	margin-bottom: 1rem;
}

.navflex {
	display: flex;
}

.meganavbox {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	height: 280px;
}

.meganavbox li {
	width: 46%;
	height: 120px;
	background-color: #fff;
	color: #000;
}

.meganavbox li a {
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	box-sizing: border-box;
	outline: 1px solid rgb(0, 0, 0);
	outline-offset: -10px;
}

/* ===== セクション共通スタイル ===== */
/* ===== トップ階層style.cssからの関係クラスとフッター関係スタイル ===== */
.greyback {
	background-color: #E6E6E6;
	padding: 7rem 0;
}

.miwrapper {
	max-width: 1030px;
	width: 90%;
	margin: 0 auto;
}

.contacthead {
	font-size: 2.4rem;
	text-align: center;
	font-weight: 300;
	margin-bottom: 2rem;
}

h2 {
	font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 3.4rem;
	margin: 0px auto 0px auto;
	position: relative;
	display: block;
	text-align: center;
	margin-bottom: 0.5em;
}

h2::after {
	content: '';
	display: block;
	margin: 10px auto 0 auto;
	width: 120px;
	height: 6px;
	background: #00A0E9;
	border-radius: 2px;
}

.flexboxthree {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
}

.mailbox {
	width: 497px;
	max-width: 46%;
	margin-left: 20px;
	height: 110px;
	background-color: #000;
	display: flex;
	justify-content: center;
	align-items: center;
}

.mailbox p {
	font-size: 2.4rem;
	color: #fff;
	font-weight: 600;
	margin-left: 2rem;
}

.mailbox:hover {
	background-color: #00A0E9;
	color: #00A0E9;
	transition: 1.0s;
}

.mailbox:hover p {
	color: #fff;
}

.time {
	font-weight: 600;
	font-size: 1.8rem;
}

/* ページTOPに戻る */
.pagetop {
	display: none;
	position: fixed;
	right: 15px;
	bottom: 60px;
	z-index: 1000;
	transition: opacity 0.3s, visibility 0.3s;
	opacity: 0;
	pointer-events: none;
}

.pagetop.fadein {
	display: block;
	opacity: 1;
	pointer-events: auto;
}

.pagetop a {
	display: block;
	font-size: 0;
	width: 50px;
	height: 50px;
	text-align: center;
	background: #7db4e6;
	line-height: 50px;
}

.pagetop a i {
	font-size: 20px;
	color: #fff;
	line-height: 50px;
}

.section-body {
	font-size: 1.05em;
	color: #222;
	line-height: 1.9;
}

.section-title {
	font-size: 2em;
	font-weight: bold;
	color: #222;
	text-align: center;
	letter-spacing: 0.06em;
	margin-bottom: 8px;
}

/* 「こちらのページも合わせてご覧ください」のh2だけ線を消す */
h2.section-title.no-line::after {
	display: none !important;
}

section,
.related-section,
.price-section,
.purpose-section,
.contents-section,
.infographic-section,
.novelty-section,
.branding-section,
.faq-section {
	padding: 6rem 0;
	background: #fff;
}

.related-inner,
.price-inner,
.purpose-inner,
.contents-inner,
.infographic-inner,
.novelty-inner,
.branding-inner,
.digital-inner,
.faq-inner {
	max-width: 90%;
	width: 1200px;
	margin: 0 auto;
}

.h1-subtitle {
	font-size: 2.4rem;
	text-align: center;
	color: #222;
	margin: 0rem auto 2.4rem auto;
}

.subtitle {
	font-size: 1.8rem;
	text-align: center;
	color: #222;
	margin: 1rem auto 2.4rem auto;
	font-weight: bold;
}

.lead {
	font-size: 1.07em;
	color: #222;
	text-align: justify;
	margin-bottom: 22px;
}

.section-btn {
	display: inline-block;
	background: #111;
	color: #fff;
	font-size: 1.1em;
	font-weight: bold;
	border-radius: 8px;
	padding: 16px 44px;
	text-decoration: none;
	text-align: center;
	transition: background 0.2s;
	margin-top: 12px;
}

.section-btn:hover {
	background: #00A0E9;
	color: #fff;
}

/* === 料金と納品までの期間セクション === */
.price-section {
	background: #fff;
	padding: 64px 0 56px 0;
}


.price-flex {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 44px;
	margin-bottom: 24px;
}

.price-col {
	flex: 1 1 0px;
	max-width: 50%;
	text-align: justify;
	display: flex;
	flex-direction: column;
}

.price-col-right {
	align-items: flex-start;
}

.price-img {
	display: inline-block;
	width: auto;
	height: 54px;
	object-fit: contain;
	margin-bottom: 8px;
	vertical-align: middle;
	max-width: 100%;
	position: relative;
	z-index: 1;
}

.price-label-img-row {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	gap: 8px;
	margin-bottom: 8px;
	position: relative;
	min-height: 54px;
}

.price-info {
	font-size: 1.08em;
	margin-top: 6px;
	color: #222;
	line-height: 1.7;
	text-align: justify;
}

.price-info .dot {
	color: #00A0E9;
	font-size: 1.1em;
}

.price-label {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #00A0E9;
	color: #00A0E9;
	font-weight: bold;
	font-size: 1.04em;
	letter-spacing: 0.02em;
	text-align: center;
	width: 210px;
	padding: 0.5em 1em;
	margin: 1em 1em 0 0;
}

.price-buttons {
	display: flex;
	justify-content: center;
	gap: 32px;
	margin-top: 18px;
	margin-bottom: 10px;
}

.price-btn {
	display: inline-block;
	padding: 14px 38px;
	border-radius: 4px;
	font-size: 1.13em;
	font-weight: bold;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	border: none;
	cursor: pointer;
}

.price-btn.main {
	background: #111;
	color: #fff;
}

.price-btn.main:hover {
	background: #00A0E9;
	color: #fff;
}

.price-btn.sub {
	background: none;
	color: #ff4444;
	box-shadow: none;
	font-size: 1em;
	padding: 14px 18px;
}

.price-btn.sub:hover {
	text-decoration: underline;
	color: #d90000;
}

/* サブナビバー（水色背景） */
.sub-navbar {
	background: #00A0E9;
	height: 32px;
	padding: 0;
	border-bottom: 1px solid #b3e0fa;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-left: 220px;
}

.sub-navbar-inner {
	max-width: 1130px;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 0 auto;
}

.sub-navbar ul {
	display: flex;
	justify-content: flex-end;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sub-navbar li {
	margin: 0;
	position: relative;
	padding: 0 20px;
	color: #fff;
}

.sub-navbar li.with-left-border::before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 1px;
	height: 18px;
	background: #fff;
	opacity: 0.5;
}

.sub-navbar li:not(:last-child)::after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 1px;
	height: 18px;
	background: #fff;
	opacity: 0.5;
}

.sub-navbar a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
	transition: color 0.2s;
	text-align: right;
	padding: 0;
	display: block;
}

.sub-navbar a:hover {
	color: #005f8a;
}

/* サイドバー右端固定 */
.side-menu {
	position: fixed;
	top: 97px;
	left: 0;
	width: 220px;
	height: calc(100vh - 112px);
	background: #f8f8f8;
	border-right: 1px solid #ddd;
	z-index: 100;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.side-section {
	padding: 0 0 16px 0;
	height: 100%;
	overflow-y: auto;
	position: relative;
}

.sidebar-scroll-hint {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 2;
	pointer-events: none;
	transition: opacity 0.4s, visibility 0.4s;
	opacity: 1;
	visibility: visible;
}

.sidebar-scroll-hint.fadeout {
	opacity: 0;
	visibility: hidden;
}

.scroll-text {
	background: #00a0e9;
	color: #fff;
	font-size: 1em;
	font-weight: bold;
	padding: 3px 12px;
	border-radius: 16px;
	margin-bottom: 2px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.scroll-arrow {
	color: #fff;
	font-size: 1.4em;
	animation: scroll-bounce 1.4s infinite;
}

@keyframes scroll-bounce {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(8px);
	}
}

.side-title {
	background: #111;
	color: #fff;
	font-weight: bold;
	font-size: 1.1em;
	text-align: center;
	height: 32px;
	line-height: 32px;
	padding: 0;
	letter-spacing: 0.1em;
}

/* ===== 制作実績 works-section グリッド（末尾追加） ===== */
.works-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 40px;
	margin: 0 auto 18px auto;
	padding: 0 4px;
	position: relative;
}

.works-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.works-img {
	width: 100%;
	max-height: 400px;
	object-fit: contain;
	display: block;
	margin-bottom: 10px;
}

.works-caption {
	font-size: 0.98em;
	color: #444;
	text-align: center;
	margin-top: 2px;
}

.case2 .works-img {
	height: 280px;
	max-height: 280px;
}

.case3 .works-img {
	height: 400px;
	max-height: 400px;
}

.case3 .works-item.wide {
	grid-column: span 2;
}

.other-works-btn {
	display: inline-block;
	background: #222;
	color: #fff;
	font-weight: bold;
	padding: 14px 38px;
	border-radius: 6px;
	font-size: 1.08em;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	margin-top: 8px;
}

.other-works-btn:hover {
	background: #fff;
	color: #222;
	border: 1px solid #222;
}



.purpose-title {
	font-size: 2em;
	font-weight: bold;
	color: #222;
	text-align: center;
	letter-spacing: 0.06em;
	margin-bottom: 8px;
}

.purpose-subtitle {
	font-size: 1.15em;
	color: #222;
	text-align: center;
	margin-bottom: 22px;
	letter-spacing: 0.03em;
}

.purpose-lead {
	text-align: center;
	color: #444;
	font-size: 1.04em;
	margin-bottom: 38px;
	line-height: 1.9;
}

.purpose-grid {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	gap: 20px;
}

.purpose-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 368px;
}

.purpose-label {
	color: #00A0E9;
	font-weight: bold;
	border: 2px solid #00A0E9;
	padding: 0.2em 0em;
	font-size: 1.07em;
	letter-spacing: 0.02em;
	margin-bottom: 14px;
	width: 100%;
	text-align: center;
}

.purpose-img {
	width: 100%;
	height: auto;
	object-fit: cover;
	margin-bottom: 10px;
}

.purpose-desc {
	font-size: 0.97em;
	color: #444;
	text-align: justify;
	line-height: 1.8;
}

.side-block-title {
	background: #EFEFE5;
	color: #333;
	font-weight: bold;
	font-size: 1em;
	padding: 7px 0 7px 10px;
	border-left: 4px solid #bdbdbd;
	margin-bottom: 6px;
}

.side-block ul {
	list-style: none;
	padding: 0;
	margin: 0 0 0 0;
	border-bottom: 1px solid #e0e0e0;
}

.side-block ul li {
	font-size: 14px;
	font-weight: 100;
	padding: 0 8px;
	margin: 0;
	text-align: left;
}

.side-block ul li:last-child {
	border-bottom: none;
}

.side-block:last-child ul {
	border-bottom: none;
}

/* === 制作実績 works-section セクション全体の装飾 === */
.works-section {
	background: #EFEFE5;
	padding: 6rem 0;
}

.works-inner {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
	padding: 0;
	position: relative;
}

.works-title {
	font-size: 2.1em;
	font-weight: bold;
	color: #222;
	letter-spacing: 0.06em;
	margin-bottom: 10px;
	text-align: center;
}

.works-subtitle {
	font-size: 1.1em;
	color: #222;
	letter-spacing: 0.03em;
	margin-bottom: 30px;
	text-align: center;
}

.works-case-header {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 8px;
}

.case-label {
	background: #00A0E9;
	color: #fff;
	font-weight: bold;
	border-radius: 6px;
	padding: 0.2em 1em;
	font-size: 1.07em;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.case-title {
	color: #00a0e9;
	font-weight: bold;
	font-size: 1.08em;
}

.case-meta {
	color: #888;
	font-size: 0.97em;
	margin-left: auto;
}

.case-description {
	font-size: 1.05em;
	color: #222;
	line-height: 1.9;
	margin-bottom: 28px;
}

.case-title-meta {
	width: 100%;
	display: flex;
	justify-content: space-between;
	border-bottom: 2px solid #00A0E9;
	padding-bottom: 4px;
	margin-bottom: 0px;
}

.side-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.side-menu li {
	margin: 0 0 0px 0;
	text-align: center;
}

.side-menu a {
	display: block;
	padding: 0px 0;
	color: #333;
	text-decoration: none;
	font-weight: bold;
	transition: background 0.2s, color 0.2s;
}

.side-menu a:hover {
	background: #e0f4ff;
	color: #00a0e9;
}

/* メインコンテンツ右に220px余白 */
.main-content {
	margin-left: 220px;
	padding: 0;
	transition: margin-left 0.3s;
}

/* パンくずリスト */
/* メインリード文 */
.main-lead {
	text-align: center;
	font-size: 1.25em;
	margin: 0 0 26px 0;
	color: #333;
}

/* グリッドボタン群 */
/* --- お悩みセクション --- */
/* --- 4つの理由セクション（新） --- */
.reasons-section {
	background: #EFEFE5;
	padding: 64px 0 56px 0;
}

.reasons-inner {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
}

.reasons-title {
	font-size: 2.1em;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	letter-spacing: 0.04em;
}

.reasons-lead {
	text-align: center;
	color: #444;
	font-size: 1.1em;
	margin-bottom: 38px;
}

.reasons-images {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 36px;
	width: 100%;
	max-width: 1200px;
	gap: 20px 0px;
}

.reasons-images img {
	width: 100%;
	max-width: 288px;
	height: auto;
	background: #fff;
}

.reasons-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px 56px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 0 32px 0;
}

.reason-block {
	background: none;
	box-shadow: none;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.reason-block h3 {
	display: flex;
	align-items: flex-end;
	font-size: 1.5em;
	/* 24px相当 */
	font-weight: bold;
	margin-bottom: 8px;
	text-align: left;
	color: #00A0E9;
	border-bottom: 1px solid #000;
	padding-bottom: 4px;
	line-height: 1.1;
	letter-spacing: 0.01em;
}

.reason-block h3::before {
	content: attr(data-number);
	display: inline-block;
	color: #00A0E9;
	font-size: 2em;
	font-weight: bold;
	margin-right: 10px;
	line-height: 1;
}

.reason-block p {
	font-size: 1.04em;
	color: #222;
	line-height: 1.8;
	text-align: justify;
	margin: 12px 0 0 0;
}

.trouble-section {
	background: #fff;
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

.trouble-mainimg {
	text-align: center;
	margin: 0 0 24px 0;
}

.trouble-mainimg img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

.trouble-section h2 {
	text-align: center;
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 10px;
	letter-spacing: 0.04em;
}

.trouble-lead {
	text-align: center;
	margin-bottom: 34px;
	color: #222;
	font-size: 1.1em;
}

.trouble-character-img {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto 18px auto;
	display: block;
	text-align: center;
}

.trouble-character-img img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.trouble-flex {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 32px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.trouble-balloons {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 22px;
	max-width: 480px;
	justify-content: center;
}

.balloon {
	background: #fff;
	border: 2px solid #222;
	border-radius: 24px 24px 24px 0/24px 24px 24px 0;
	padding: 18px 22px;
	font-size: 1.1em;
	color: #222;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	min-width: 150px;
	max-width: 200px;
	text-align: center;
	position: relative;
}

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

.trouble-image img {
	width: 150px;
	height: auto;
	display: block;
}

.trouble-solution {
	text-align: center;
	margin: 24px 0 18px 0;
}

.trouble-btn {
	display: inline-block;
	padding: 12px 32px;
	background: #fff;
	border: 2px solid #00A0E9;
	color: #00A0E9;
	font-size: 1.15em;
	font-weight: bold;
	border-radius: 32px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.trouble-desc {
	margin: 20px auto 0 auto;
	max-width: 1200px;
	font-size: 1em;
	color: #222;
	line-height: 1.8;
}

.main-grid-buttons {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px 18px;
	max-width: 1200px;
	width: 90%;
	margin: 0 auto 36px auto;
	padding: 0;
}

.main-grid-buttons a {
	background: #f7f7f0;
	border: 1px solid #bdbdbd;
	border-radius: 4px;
	/* ここが途切れていた部分だと推測されます */
	padding: 12px 18px;
	font-size: 1em;
	font-weight: bold;
	color: #333;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
	align-content: center;
}

.main-grid-buttons a:hover {
	background: #e0f4ff;
	border-color: #00A0E9;
	color: #00a0e9;
}

.breadcrumb {
	font-size: 12px;
	margin: 0;
	padding: 0 0 0 24px;
	background: #f4f8fb;
	position: relative;
	z-index: 20;
	height: 32px;
	line-height: 32px;
}

.breadcrumb ul {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
	z-index: 2;
	background: none;
	overflow: visible;
}

.breadcrumb li {
	color: #333;
	margin-right: 8px;
	font-weight: 500;
	position: relative;
	z-index: 2;
	background: none;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

.breadcrumb li:not(:last-child)::after {
	content: '>';
	display: inline-block;
	margin: 0 8px;
	color: #000;
	font-size: 1em;
	vertical-align: middle;
	font-weight: normal;
	z-index: 3;
	position: relative;
	background: none;
}

.breadcrumb a {
	color: #000;
	text-decoration: underline;
	transition: text-decoration 0.2s;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

/* スライダー横幅100% */
.slider {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
	background: #f4f4f4;
}

.slider .slide {
	position: absolute;
	/* .slider .slide と .slider .slide.active の重複を修正 */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* 後からheight:auto;の記述があったためこちらを優先 */
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	display: block;
	z-index: 1;
}

.slider .slide.active {
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
	position: relative;
	/* absoluteからrelativeに修正。スライダーの配置と流れに影響する可能性がありますが、一般的なスライダーの挙動を考慮。absoluteに戻す場合は他の要素との兼ね合いを確認してください。*/
}

.slider .slide img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	position: static;
	margin: 0 auto;
}

.main-content h1 {
	font-family: '游明朝体', 'Yu Mincho', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'MS P明朝', 'MS PMincho', serif;
	margin-top: 4rem;
	margin-bottom: 0px;
	font-size: 4rem;
	text-align: center;
}

.cta_tell {
	width: 500px;
}

.cta_mail_icon {
	width: 60px;
}

.cta_mail {
	height: 20px;
}

.mb {
	display: flex;
	justify-content: space-between;
}

.sp-br,
.tel-text {
	display: none;
}