/*
 * お家の便利屋EBISU Main Stylesheet
 */

:root {
	--primary-color: #0b2046; /* Trustworthy Dark Blue */
	--secondary-color: #f39c12; /* Energetic Orange */
	--secondary-hover: #e67e22;
	--text-main: #333333;
	--text-light: #666666;
	--bg-light: #f8f9fa;
	--bg-white: #ffffff;
	--border-color: #dddddd;
	--radius: 8px;
	--shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	--shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--text-main);
	line-height: 1.6;
	background-color: var(--bg-light);
	font-size: 16px;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--secondary-color);
}

img {
	max-width: 100%;
	height: auto;
}

ul {
	list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.text-orange { color: var(--secondary-color); }
.text-center { text-align: center; }

/* Layout & Utility */
.container {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 60px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 50px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	border: none;
	transition: var(--transition);
	box-shadow: var(--shadow);
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
	color: #fff;
}

.btn .icon {
	margin-right: 8px;
	font-size: 1.2em;
}

.btn-large {
	padding: 15px 30px;
	font-size: 1.1rem;
}

.btn-line {
	background-color: #06C755;
	color: #ffffff;
}
.btn-line:hover { background-color: #05b34c; }

.btn-phone {
	background-color: var(--secondary-color);
	color: #ffffff;
}
.btn-phone:hover { background-color: var(--secondary-hover); }

/* Header */
.site-header {
	background-color: var(--bg-white);
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-top {
	background-color: var(--bg-light);
	padding: 8px 0;
	border-bottom: 1px solid var(--border-color);
}

.site-description {
	font-size: 0.75rem;
	color: var(--text-light);
	margin: 0;
	line-height: 1.4;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding-top: 15px;
	padding-bottom: 15px;
}

.site-branding {
	flex: 1 1 auto;
}

.site-title {
	font-size: 1.5rem;
	margin-bottom: 0;
}
.site-title a { color: var(--primary-color); }

.main-navigation {
	display: flex;
	align-items: center;
	flex: 1 1 100%;
	order: 3;
	justify-content: center;
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid var(--border-color);
}

.main-navigation ul {
	display: flex;
	gap: 30px;
}

.main-navigation a {
	font-weight: 500;
	color: var(--primary-color);
}
.main-navigation a:hover { color: var(--secondary-color); }

.header-contact {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}

.menu-toggle .bar {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--primary-color);
	margin: 5px 0;
	transition: var(--transition);
}

/* Front Page Hero */
.hero-section {
	background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
	color: #ffffff;
	padding: 80px 0;
	text-align: center;
}

.hero-section h2.main-copy {
	color: #ffffff;
	font-size: 2.2rem;
	margin-bottom: 20px;
	line-height: 1.5;
}

.hero-section .highlight {
	color: var(--secondary-color);
	font-size: 1.2em;
}

.hero-section .sub-copy {
	font-size: 1.1rem;
	margin-bottom: 40px;
	opacity: 0.9;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

/* Reasons Section */
.section-title {
	font-size: 2rem;
	margin-bottom: 40px;
	position: relative;
	padding-bottom: 15px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background-color: var(--secondary-color);
}

.reasons-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.reason-card {
	background: var(--bg-white);
	padding: 30px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.reason-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

.reason-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: var(--secondary-color);
}

.reason-icon {
	width: 60px;
	height: 60px;
	background-color: var(--bg-light);
	color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 900;
	margin: 0 auto 20px;
	border: 2px solid var(--secondary-color);
}

.reason-card h3 {
	font-size: 1.2rem;
	margin-bottom: 15px;
}

.reason-card p {
	color: var(--text-light);
	font-size: 0.95rem;
	text-align: left;
}

/* Page Templates */
.page-header {
	background-color: var(--primary-color);
	color: #fff;
	padding: 40px 0;
	margin-bottom: 0;
}

.page-title {
	color: #fff;
	margin: 0;
	font-size: 2rem;
}

.content-box {
	background: var(--bg-white);
	padding: 40px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.entry-content h2 {
	font-size: 1.5rem;
	border-left: 5px solid var(--secondary-color);
	padding-left: 15px;
	margin-top: 40px;
	margin-bottom: 20px;
}

.entry-content h2:first-child {
	margin-top: 0;
}

.entry-content p {
	margin-bottom: 1.5rem;
}

.entry-content ul {
	margin-bottom: 1.5rem;
	padding-left: 20px;
	list-style: disc;
}
/* Price List */
.price-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
}
.price-item {
	background: var(--bg-white);
	border: 1px solid var(--border-color);
	border-left: 5px solid var(--primary-color);
	border-radius: var(--radius);
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.price-category {
	font-size: 1.2rem;
	margin: 0 0 10px 0;
	color: var(--primary-color);
	width: 100%;
}
.price-desc {
	flex: 1 1 60%;
	margin: 0;
	color: var(--text-main);
	font-size: 0.95rem;
}
.price-amount {
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--secondary-color);
	flex: 0 0 auto;
	text-align: right;
}

/* Tables */
.table-responsive {
	overflow-x: auto;
}

.table-style {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.table-style th, .table-style td {
	border: 1px solid var(--border-color);
	padding: 15px;
	text-align: left;
}

.table-style th {
	background-color: var(--bg-light);
	font-weight: 700;
	width: 30%;
}

/* Area List */
.area-list {
	list-style: none !important;
	padding: 0 !important;
}

.area-list li {
	background: var(--bg-light);
	padding: 15px 20px;
	margin-bottom: 10px;
	border-radius: var(--radius);
	border-left: 4px solid var(--primary-color);
}

.area-list li strong {
	color: var(--secondary-color);
	display: inline-block;
	width: 120px;
}

/* Footer CTA */
.footer-cta {
	background-color: var(--primary-color);
	color: #fff;
	padding: 60px 0;
}

.footer-cta h2 {
	color: #fff;
	margin-bottom: 15px;
}

.footer-cta .cta-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 30px 0;
	flex-wrap: wrap;
}

.contact-form-wrapper {
	background: rgba(255,255,255,0.1);
	padding: 30px;
	border-radius: var(--radius);
	max-width: 600px;
	margin: 0 auto;
}

.contact-form-wrapper h3 { color: #fff; }

/* Footer Bottom */
.footer-bottom {
	background-color: #061229;
	color: #aaa;
	padding: 40px 0 20px;
}

.footer-bottom .container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.footer-logo {
	color: #fff;
	margin-bottom: 15px;
}

.footer-info p { margin-bottom: 5px; }

.footer-nav ul {
	display: flex;
	gap: 15px;
}

.footer-nav a { color: #aaa; }
.footer-nav a:hover { color: #fff; }

.site-info {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 20px;
	font-size: 0.9rem;
}

/* Services Overview */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}
.service-card {
	background: var(--bg-white);
	padding: 25px 20px;
	border-radius: var(--radius);
	text-align: center;
	box-shadow: var(--shadow);
	transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-icon {
	font-size: 3rem;
	margin-bottom: 15px;
}

/* Flow Section */
.flow-steps {
	max-width: 800px;
	margin: 0 auto;
}
.step-item {
	display: flex;
	background: var(--bg-white);
	margin-bottom: 20px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.step-number {
	background: var(--primary-color);
	color: #fff;
	font-weight: bold;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	font-size: 1.2rem;
}
.step-content {
	padding: 20px;
	flex: 1;
}

/* Voice Section */
.voice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.voice-card {
	background: var(--bg-white);
	padding: 30px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	position: relative;
	border-top: 4px solid var(--secondary-color);
}
.voice-meta {
	font-size: 0.85rem;
	color: var(--text-light);
	margin-bottom: 10px;
	font-weight: bold;
}

/* FAQ Section */
.faq-list {
	max-width: 800px;
	margin: 0 auto;
}
.faq-item {
	background: var(--bg-white);
	margin-bottom: 15px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.faq-question {
	padding: 20px;
	display: flex;
	align-items: center;
	cursor: pointer;
	font-weight: bold;
	color: var(--primary-color);
}
.q-icon {
	background: var(--secondary-color);
	color: #fff;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-right: 15px;
	flex-shrink: 0;
}
.faq-question h4 {
	margin: 0;
	flex: 1;
	font-size: 1.05rem;
}
.toggle-icon {
	font-size: 1.5rem;
	color: var(--text-light);
	transition: transform 0.3s ease;
}
.faq-question.active .toggle-icon {
	transform: rotate(45deg);
}
.faq-answer {
	padding: 0 20px 20px 65px;
	display: none;
	color: var(--text-main);
}

/* Animations */
.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.appear {
	opacity: 1;
	transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
	body {
		word-break: break-word;
		overflow-wrap: break-word;
	}

	.site-title { font-size: 1.2rem; }
	
	.header-top { display: none; }
	.header-inner { padding-top: 10px; padding-bottom: 10px; }
	
	.header-contact {
		display: none;
	}
	
	.main-navigation {
		display: none;
		width: 100%;
		padding-top: 10px;
	}
	.main-navigation ul {
		flex-direction: column;
		gap: 0;
	}
	.main-navigation a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--border-color);
	}
	.main-navigation li:last-child a {
		border-bottom: none;
	}
	
	.menu-toggle {
		display: block;
	}
	
	.hero-section { padding: 40px 0; }
	.hero-section h2.main-copy { font-size: 1.4rem; }
	.hero-buttons { flex-direction: column; }
	.btn-large { width: 100%; }
	
	.step-item { flex-direction: column; }
	.step-number { width: 100%; padding: 10px; font-size: 1rem; }
	.step-content { padding: 15px; }

	.faq-question { padding: 15px; }
	.faq-question h4 { font-size: 0.95rem; }
	.q-icon { width: 24px; height: 24px; margin-right: 10px; font-size: 0.9rem; }
	.faq-answer { padding: 0 15px 15px 49px; }
	
	.footer-cta .cta-buttons { flex-direction: column; }
	.footer-bottom .container { flex-direction: column; gap: 20px; }
	.footer-nav ul { flex-direction: column; gap: 10px; }

	.table-responsive .table-style { min-width: 500px; }

	.price-item {
		flex-direction: column;
		align-items: flex-start;
	}
	.price-desc {
		width: 100%;
		margin-bottom: 15px;
	}
	.price-amount {
		width: 100%;
		border-top: 1px dashed var(--border-color);
		padding-top: 10px;
		text-align: right;
	}
}
