/* =========================
	 Base / Reset
========================= */
* { box-sizing: border-box; }
body {
	margin: 0;
	/* 全体的にワンサイズ（約10%）大きく調整 */
	font-size: 1.1rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	color: #222;
	background-color: #fafafa;
	line-height: 1.8;
	overflow-x: hidden; /* 横スクロール防止（100vw使用時に必須） */
}

/* =========================
	 Layout
========================= */
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.site-logo { height: 36px; }
.site-header { padding: 16px 0; background-color: #fff; border-bottom: 1px solid #e5e7eb; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.dept-name { font-size: 0.95rem; color: #666; font-weight: bold; }

.photo-frame {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	object-fit: cover;
	display: block;
}

/* =========================
	 Navigation
========================= */
.sub-nav-wrapper { padding: 12px 0; background-color: rgba(250, 250, 250, 0.85); border-bottom: 1px solid rgba(229, 231, 235, 0.5); position: sticky; top: 0; z-index: 999; backdrop-filter: blur(8px); }
.sub-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; color: #666; margin: 0; }
.sub-nav li::after { content: "/"; margin-left: 8px; color: #ccc; }
.sub-nav li:last-child::after { content: ""; }
.sub-nav a { color: #666; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.sub-nav a:hover { color: #2b6cb0; text-decoration: underline; }

.breadcrumb {
	font-size: 1.1rem;
	color: #666; 
	margin-bottom: 20px; 
}

/* =========================
	 Hero (全幅設定)
========================= */
.hero {
	background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("img/top.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
	
	/* 上下幅設定 */
	padding: 140px 0 100px;
	text-align: left;

	/* ★ブラウザの端から端まで強制的に広げるコード★ */
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; line-height: 1.4; }
.hero .accent { color: #2b6cb0; font-weight: 700; }
.hero .lead { font-size: 1.2rem; color: #444; }

/* =========================
	 セクション共通設定
========================= */
section { padding: 50px 0; }
h2 { font-size: 1.6rem; margin-bottom: 25px; border-bottom: none; }
.no-border, .simple-title { border-bottom: none !important; padding-bottom: 0; }
.centered-header { text-align: center; }
.white-text { color: #fff; }

.section-title-wrapper { text-align: center; margin-bottom: 30px; }
.section-main-title { 
	font-size: 2.0rem; 
	display: inline-block; 
	border-bottom: 3px solid #2b6cb0; 
	padding-bottom: 8px;
	margin: 0;
}

/* =========================
	 役割セクション
========================= */
.intro-centered { text-align: center; }
.intro-content { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 1000px; margin: 0 auto; }
.intro-content .text-block { text-align: left; }

.intro-image-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
	margin-top: 30px;
}
.grid-img {
	height: 200px;
	object-fit: cover;
}

/* =========================
	 業務内容ブロック
========================= */
.service-block { background: #fff; padding: 40px; margin-bottom: 40px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.service-header { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.service-header .number { background: #2b6cb0; color: #fff; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; flex-shrink: 0; }
.service-header h2 { font-size: 1.5rem; margin: 0; }
.service-tagline { color: #2b6cb0; font-weight: bold; font-size: 1.2rem; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }

.grid-layout { display: flex; gap: 40px; align-items: center; margin-top: 15px; }
.grid-layout.reverse { flex-direction: row-reverse; }
.text-content { flex: 1.2; }
.image-content { flex: 1; }
.sub-features { list-style: none; padding: 0; margin-top: 15px; }
.sub-features li { position: relative; padding-left: 25px; margin-bottom: 10px; font-size: 1.1rem; }
.sub-features li::before { content: "▶"; position: absolute; left: 0; color: #2b6cb0; font-size: 0.9rem; }

/* =========================
	 選ばれる理由 / 大切にしていること
========================= */
.reason-box { background: #2b6cb0; color: #fff; padding: 40px; border-radius: 20px; line-height: 1.9; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 10px; }
.value-item { 
	background: #fff; padding: 30px; border-top: 4px solid #2b6cb0; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	text-align: left; 
}
.value-item h3 { color: #2b6cb0; font-size: 1.3rem; margin-top: 0; text-align: left; }

/* =========================
	 FAQ / お問い合わせ
========================= */
.faq-list { background: #f8fafc; padding: 35px; border-radius: 15px; text-align: left; }
.faq-item { margin-bottom: 25px; }
.faq-item .q { font-weight: bold; color: #2b6cb0; margin-bottom: 8px; font-size: 1.2rem; }
.faq-item .a { padding-left: 15px; border-left: 3px solid #cbd5e0; margin: 0; }

.contact-footer { text-align: center; padding: 60px 0; background-color: #f3f5f7; }
.contact-box { display: inline-block; text-align: left; background: #fff; padding: 30px 50px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.contact-box .tel { font-size: 1.6rem; font-weight: bold; margin-top: 10px; }
.contact-box a { color: #2b6cb0; text-decoration: none; }

footer { background-color: #222; color: #ccc; text-align: center; padding: 30px 0; font-size: 1.1rem; }

/* =========================
	 メディアクエリ
========================= */
@media (min-width: 768px) {
	.hero { padding: 140px 0 100px; }
	.hero .container { align-items: flex-start; display: flex; flex-direction: column; }
	.hero h1 { font-size: 2.8rem; }
}

@media (max-width: 767px) {
	.intro-image-grid { grid-template-columns: 1fr; }
	.grid-img { height: auto; }
	.grid-layout, .grid-layout.reverse { flex-direction: column; }
	.value-grid { grid-template-columns: 1fr; }
}

/* =========================
	 対応実績デバイス設定
========================= */
.device-experience { background-color: #fff; }
.device-experience .value-item { height: 100%; border-top: 4px solid #2b6cb0; }
.device-experience .sub-features { margin-top: 10px; list-style: none; padding: 0; }
.device-experience .sub-features li { position: relative; padding-left: 25px; margin-bottom: 8px; font-size: 1.1rem; color: #444; }
.device-experience .sub-features li::before { content: "▶"; position: absolute; left: 0; color: #2b6cb0; font-size: 0.9rem; }

/* =========================
	 印刷設定
========================= */
@media print {
	.hero {
		height: 450px !important;
		min-height: 450px !important;
		background-size: cover !important;
		background-position: center !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	img, .grid-img, .photo-frame {
		width: 100% !important;
		max-width: 800px !important;
		height: auto !important;
		max-height: 400px !important;
		object-fit: cover !important;
		margin: 0 auto !important;
		display: block !important;
	}
}

/* =========================
   右側固定お問い合わせタブ
========================= */
.side-contact-tab {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	background-color: #2b6cb0;
	color: #fff !important;
	text-decoration: none !important;
	writing-mode: vertical-rl; /* 縦書き設定 */
	padding: 20px 8px;
	border-radius: 8px 0 0 8px;
	box-shadow: -2px 0 10px rgba(0,0,0,0.2);
	display: flex;
	align-items: center;
	font-weight: bold;
	font-size: 1.1rem;
	transition: background-color 0.3s;
}

.side-contact-tab:hover {
	background-color: #1a4a80;
}

.side-contact-tab .tab-icon {
	writing-mode: horizontal-tb; /* アイコンのみ横向き */
	font-size: 1.3rem;
	margin-bottom: 8px;
}

@media (max-width: 767px) {
	.side-contact-tab {
		padding: 15px 6px;
		font-size: 0.9rem;
	}
}