/*
Theme Name: atm-denken
Theme URI: 
Author: AI Agent
Author URI: 
Description: A simple, reliable, and responsive theme conveying electrical construction expertise and home appliance sales.
Version: 1.0.0
Text Domain: atm-denken
*/

/* ==========================================================================
   CSS Reset & Variables
   ========================================================================== */
:root {
	--color-primary: #b30000; /* 真紅 (Crimson/Deep Red) */
	--color-primary-dark: #800000;
	--color-text: #333333;
	--color-text-light: #666666;
	--color-bg: #ffffff;
	--color-bg-light: #f8f9fa;
	--color-border: #e9ecef;
	
	--font-primary: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--container-width: 1100px;
}

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

body {
	font-family: var(--font-primary);
	color: var(--color-text);
	background-color: var(--color-bg);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

a:hover {
	color: var(--color-primary-dark);
}

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

ul {
	list-style: none;
}

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	background-color: var(--color-bg);
	border-bottom: 2px solid var(--color-primary);
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-title {
	font-size: 24px;
	font-weight: bold;
}

.site-title a {
	color: var(--color-primary);
	display: flex;
	align-items: center;
	gap: 15px;
}

.site-logo-container {
	height: 50px;
	display: flex;
	align-items: center;
	color: var(--color-primary);
}

.site-logo-container svg {
	height: 100%;
	width: auto;
}

.site-title-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.shop-name {
	font-size: 20px;
	font-weight: bold;
	color: #1d2087;
	line-height: 1.2;
}

.company-name {
	font-size: 14px;
	font-weight: normal;
	color: var(--color-text-light);
	line-height: 1.2;
	margin-top: 4px;
}

.header-contact-info {
	font-size: 12px;
	color: var(--color-text-light);
	margin-top: 6px;
	line-height: 1.4;
	font-weight: normal;
}

.site-description {
	font-size: 12px;
	color: var(--color-text-light);
	margin-top: 5px;
}

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

.main-navigation a {
	color: var(--color-text);
	font-weight: bold;
	font-size: 15px;
}

.main-navigation a:hover {
	color: var(--color-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
	background-image: url('images/hero-bg.jpg');
	background-size: cover;
	background-position: center;
	padding: 100px 20px;
	text-align: center;
	border-bottom: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.hero-mobile-image {
	display: none;
}

.hero-card {
	background-color: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	padding: 40px;
	border-radius: 12px;
	max-width: 900px;
	width: 100%;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero h2 {
	font-size: 36px;
	color: var(--color-primary);
	margin-bottom: 20px;
	font-weight: 800;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero p {
	font-size: 18px;
	color: #111111; /* Darker text */
	max-width: 700px;
	margin: 0 auto 30px;
	font-weight: 500;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Responsive Utilities */
.mobile-break {
	display: none;
}

@media (max-width: 768px) {
	.mobile-break {
		display: block;
	}
	.pc-break {
		display: none;
	}
	.hero {
		padding: 0;
		background-image: none !important;
		background-color: var(--color-bg-light);
		display: block;
	}
	.hero-mobile-image {
		display: block;
		width: 100%;
		height: 250px;
		background-image: url('images/hero-bg.jpg');
		background-size: cover;
		background-position: center;
	}
	.hero .container {
		padding: 40px 15px;
	}
	.hero-card {
		background-color: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		box-shadow: none;
		padding: 0;
	}
	.hero h2 {
		font-size: 24px;
		margin-bottom: 15px;
		text-shadow: none;
	}
	.hero p {
		font-size: 15px;
		margin-bottom: 20px;
		text-shadow: none;
	}
}

.btn {
	display: inline-block;
	background-color: var(--color-primary);
	color: #fff;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: bold;
	font-size: 16px;
	transition: background-color 0.3s;
}

.btn:hover {
	background-color: var(--color-primary-dark);
	color: #fff;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
	padding: 80px 0;
}

.section-title {
	text-align: center;
	font-size: 28px;
	margin-bottom: 50px;
	color: var(--color-text);
	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(--color-primary);
}

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

.service-card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-icon {
	font-size: 40px;
	color: var(--color-primary);
	margin-bottom: 20px;
}

.service-card h3 {
	font-size: 20px;
	margin-bottom: 15px;
}

.service-card p {
	color: var(--color-text-light);
	font-size: 15px;
}

/* ==========================================================================
   Strengths Section
   ========================================================================== */
.strengths {
	background-color: var(--color-bg-light);
	padding: 80px 0;
}

.strength-item {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-bottom: 40px;
}

.strength-item:last-child {
	margin-bottom: 0;
}

.strength-item.reverse {
	flex-direction: row-reverse;
}

.strength-content {
	flex: 1;
}

.strength-content h3 {
	font-size: 24px;
	color: var(--color-primary);
	margin-bottom: 15px;
}

.strength-content p {
	color: var(--color-text-light);
}

.strength-image {
	flex: 1;
	background-color: #eee;
	height: 250px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 14px;
}

.strength-image img {
	filter: brightness(1.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background-color: #222;
	color: #fff;
	padding: 50px 0 20px;
	text-align: center;
}

.site-footer p {
	color: #ccc;
	font-size: 14px;
	margin-bottom: 10px;
}

.site-info {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #444;
	font-size: 12px;
	color: #777;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media screen and (max-width: 768px) {
	.site-header .container {
		flex-direction: column;
		gap: 15px;
	}
	
	.main-navigation ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
	}
	
	.hero h2 {
		font-size: 28px;
	}
	
	.strength-item, .strength-item.reverse {
		flex-direction: column;
		text-align: center;
	}
	
	.strength-image {
		width: 100%;
	}
}
