@charset "UTF-8";

/* ==========================================
   【A】サブページ共通スタイル
   ========================================== */
.page-main {
	padding-top: 95px;
	padding-bottom: 60px;
}

@media (min-width: 640px) {
	.page-main {
		padding-top: 20px;
	}
}

@media (min-width: 1024px) {
	.page-main {
		padding-top: 40px;
		padding-bottom: 100px;
	}
}

/* パンくずリスト */
.page-main .breadcrumb {
	display: none;
	list-style: none;
	padding: 0 0 15px 0;
	margin: 0;
	font-size: 0.8rem;
	color: #666;
}

@media (min-width: 640px) {
	.page-main .breadcrumb {
		display: flex;
		flex-wrap: nowrap;
		white-space: nowrap;
	}
}

.page-main .breadcrumb li {
	display: flex;
	align-items: center;
}

.page-main .breadcrumb li:not(:last-child)::after {
	content: ">";
	margin: 0 10px;
	font-size: 0.7rem;
	color: #999;
}

.page-main .breadcrumb li a {
	color: #5b7bb1;
	text-decoration: none;
}

/* コンテンツエリア */
.page-main .page-content-wrapper {
	background-color: #fff;
	padding: 20px 15px;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
	.page-main .page-content-wrapper {
		padding: 50px 60px;
	}
}

.page-main .page-title {
	font-size: 1.6rem;
	color: #333;
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #d7000f;
}

.page-main .page-lead {
	font-size: 1.2rem;
	font-weight: bold;
	color: #333;
	margin-bottom: 30px;
	line-height: 1.6;
}

/* テキスト装飾 */
.page-main .text-red {
	color: #d7000f;
	font-weight: bold;
}

.page-main .text-blue {
	color: #5b7bb1;
	font-weight: bold;
}

.page-main .text-bold {
	font-weight: bold;
}

/* ==========================================
   【B】主要ページ共通スタイル（Web / Expert / FAQ / About / Privacy / Terms）
   ========================================== */

/* 本文および箇条書きのテキスト設定 */
#web-solutions .article-body p,
#expert-system .article-body p,
#faq .article-body p,
#about .article-body p,
#privacy .article-body p,
#terms .article-body p,
.article-body ul li {
	font-size: 1rem;
	line-height: 1.8;
	color: #444;
}

.article-body p {
	margin-bottom: 25px;
}

.article-body ul {
	margin-bottom: 25px;
	padding-left: 20px;
	list-style-type: disc;
}

.article-body ul li {
	margin-bottom: 12px;
}

/* セクションの大見出し（h2） */
#web-solutions .section-title,
#expert-system .section-title,
#faq .section-title,
#about .section-title,
#privacy .section-title,
#terms .section-title {
	font-size: 1.3rem;
	color: #fff;
	background-color: #5b7bb1;
	padding: 10px 15px;
	margin: 40px 0 20px 0;
	border-radius: 3px;
}

#web-solutions .button-area,
#expert-system .button-area,
#faq .button-area,
#about .button-area {
	text-align: center;
	margin: 50px 0 20px 0;
	padding-top: 30px;
	border-top: 1px dashed #ddd;
}

#web-solutions .action-btn,
#expert-system .action-btn,
#faq .action-btn,
#about .action-btn {
	display: inline-block;
	background-color: #ff6d00;
	color: #fff;
	font-weight: bold;
	font-size: 1.1rem;
	padding: 15px 40px;
	border-radius: 5px;
	text-decoration: none;
	box-shadow: 0 4px 6px rgba(255, 109, 0, 0.3);
	transition: all 0.3s ease;
}

#web-solutions .action-btn i,
#expert-system .action-btn i,
#faq .action-btn i,
#about .action-btn i {
	margin-left: 10px;
}

/* ==========================================
   【C】各ページ専用スタイル
   ========================================= */

/* ------------------------------------------
   FAQアコーディオン（改良版）
   ------------------------------------------ */
#faq .faq-item {
	margin-bottom: 15px;
	border: 1px solid #eee;
	border-radius: 6px;
	overflow: hidden;
	transition: border-color 0.3s ease;
}

/* 質問エリア（Q） */
#faq .faq-question {
	font-size: 1.1rem;
	font-weight: bold;
	padding: 18px 55px 18px 45px;
	/* 右端にアイコン用の余白を確保 */
	cursor: pointer;
	background-color: #f9f9f9;
	position: relative;
	transition: background-color 0.3s ease;
}

/* 質問の頭文字 Q. */
#faq .faq-question::before {
	content: "Q.";
	position: absolute;
	left: 15px;
	color: #d7000f;
	font-size: 1.2rem;
}

/* CSSで描画する「＋」アイコン */
#faq .faq-question::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 16px;
	height: 16px;
	transform: translateY(-50%);
	/* 縦横の線を背景グラデーションで作成 */
	background:
		linear-gradient(#999, #999) no-repeat center/2px 100%,
		linear-gradient(#999, #999) no-repeat center/100% 2px;
	transition: transform 0.4s ease;
}

/* ホバー時の挙動 */
#faq .faq-question:hover {
	background-color: #f0f0f0;
}

/* 回答エリア（A） */
#faq .faq-answer {
	display: none;
	/* JSで.is-activeがつくと表示 */
	padding: 20px 15px 25px 45px;
	border-top: 1px solid #eee;
	position: relative;
	background-color: #fff;
	animation: faqFadeIn 0.4s ease;
	/* 開くときのふわっとしたアニメーション */
}

@keyframes faqFadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

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

/* 回答の頭文字 A. */
#faq .faq-answer::before {
	content: "A.";
	position: absolute;
	left: 15px;
	color: #5b7bb1;
	font-weight: bold;
	font-size: 1.1rem;
}

/* ------------------------------------------
   アクティブ状態（開いている時）
   ------------------------------------------ */
#faq .faq-item.is-active {
	border-color: #5b7bb1;
}

#faq .faq-item.is-active .faq-question {
	background-color: #f0f4f8;
}

/* ＋を回転させて「×」にする（開いている状態の視覚化） */
#faq .faq-item.is-active .faq-question::after {
	transform: translateY(-50%) rotate(45deg);
}

#faq .faq-item.is-active .faq-answer {
	display: block;
}


/* ------------------------------------------
   共通テーブルスタイル（会社概要・プライバシー）
   ------------------------------------------ */
.profile-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 30px;
}

.profile-table th,
.profile-table td {
	padding: 15px;
	border: 1px solid #eee;
	text-align: left;
	font-size: 0.95rem;
}

.profile-table th {
	width: 25%;
	background-color: #f9f9f9;
	color: #333;
}

/* プライバシーポリシー：横スクロール対応 */
.table-scroll {
	overflow-x: auto;
	margin-bottom: 30px;
	-webkit-overflow-scrolling: touch;
}

.privacy-table {
	min-width: 700px;
}

.privacy-table thead th {
	background-color: #5b7bb1;
	color: #fff;
	text-align: center;
}

/* お問い合わせ窓口ボックス（プライバシー・規約共通） */
.contact-box {
	background-color: #f0f4f8;
	padding: 20px;
	border-radius: 5px;
	border-left: 5px solid #5b7bb1;
}

.contact-box p {
	margin-bottom: 10px !important;
}

.contact-box a {
	color: #5b7bb1;
	font-weight: bold;
}

/* ------------------------------------------
   スクロールヒント（オーバーレイ）
   ------------------------------------------ */
.scroll-hint-wrapper {
	position: relative;
	/* オーバーレイの基準にする */
	margin-bottom: 30px;
}

/* スクロール本体（下の余白をリセット） */
.privacy-table-scroll {
	margin-bottom: 0;
}

/* オーバーレイ本体 */
.scroll-hint-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	/* 半透明の黒 */
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
	opacity: 1;
	/* 初期状態は表示 */
	transition: opacity 0.5s ease;
	/* フェードアウトさせる */
	pointer-events: none;
	/* 下にあるテーブルの操作を妨げない */
}

/* PC（1024px〜）ではスクロール不要なのでヒントを隠す */
@media (min-width: 1024px) {
	.scroll-hint-overlay {
		display: none;
	}
}

/* ヒントのテキストとアイコン */
.scroll-hint-text {
	background-color: rgba(255, 255, 255, 0.2);
	padding: 15px 25px;
	border-radius: 30px;
	border: 2px solid #fff;
	font-weight: bold;
	font-size: 1.1rem;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.scroll-hint-text i {
	margin-right: 10px;
	font-size: 1.3rem;
}

/* JSでクラスが付与されたらフェードアウトして消す */
.scroll-hint-wrapper.is-hidden .scroll-hint-overlay {
	opacity: 0;
	visibility: hidden;
	/* 完全に消す */
}