@charset "UTF-8";

/*============================================
全般的なスタイル
============================================*/

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

html {
	scroll-behavior: smooth;
}

body {
	background-color: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: #333333;
	line-height: 1.7;
	margin: 0;
	padding: 0;
}

body.no-scroll {
	overflow: hidden;
}

/* 全ての画像をレスポンシブ対応（比率維持） */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* インライン画像の場合はdisplay: inline-blockに */
p img,
span img,
a img {
	display: inline-block;
	vertical-align: middle;
}

/*============================================
ヘッダ
============================================*/
div#header {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	top: 0;
	clear: both;
	background-color: #ffffff;
	color: #000000;
	z-index: 9999;
	height: auto;
	padding: 20px 0;
	border-bottom: 1px solid #e5e5e5;
	position: sticky;
	top: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 30px;
}

.logo-wrapper {
	margin-bottom: 0;
	flex-shrink: 0;
}

.menu-toggle {
	display: none;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10000;
	background-color: #ffffff;
	border: 2px solid #19619A;
	border-radius: 4px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.menu-toggle:hover {
	background-color: #f8f8f8;
}

.menu-toggle .icon-menu-toggle-01,
.menu-toggle .close {
	font-size: 18px;
	font-weight: bold;
	color: #19619A;
	line-height: 1;
}

.menu-toggle.active .icon-menu-toggle-01 {
	display: none;
}

.menu-toggle.active .close {
	display: block !important;
}

.main-navigation {
	margin-top: 0;
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.logo-wrapper img {
	max-width: 100%;
	height: auto;
	max-height: 90px;
}

.main-navigation {
	margin-top: 0;
	flex: 1;
}

/*============================================
メインメニュー
============================================*/
ul.ddmenu {
	margin: 20px 0 0 0;
	padding: 0;
	background-color: transparent;
	color: #333333;
	font-size: 14px;
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

ul.ddmenu li {
	width: auto;
	display: inline-block;
	list-style-type: none;
	position: relative;
	margin: 0 5px;
}

ul.ddmenu a {
	background-color: transparent;
	color: #333333;
	line-height: 50px;
	text-align: center;
	text-decoration: none;
	display: block;
	padding: 0 20px;
	transition: color 0.3s ease;
	font-weight: 500;
}

ul.ddmenu a:hover {
	background-color: transparent;
	color: #0066cc;
}

/* サブメニュー */
ul.ddmenu li:hover ul {
	display: block;
}

ul.ddmenu ul {
	margin: 0;
	padding: 0;
	display: none;
	position: absolute;
	z-index: 9999;
	top: 100%;
	left: 0;
	background-color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	min-width: 200px;
	border-radius: 4px;
}

ul.ddmenu ul li {
	width: 100%;
	border-top: 1px solid #e5e5e5;
	margin: 0;
}

ul.ddmenu ul li:first-child {
	border-top: none;
}

ul.ddmenu ul li a {
	line-height: 40px;
	text-align: left;
	padding-left: 20px;
	font-weight: normal;
	font-size: 14px;
}

ul.ddmenu ul li a:hover {
	background-color: #f5f5f5;
	color: #0066cc;
}

/*============================================
メインコンテンツ
============================================*/
div#main {
	width: 100%;
	margin: 0 auto;
	min-height: 1000px;
	height: auto;
	text-align: left;
	font-weight: normal;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
}

/* ヒーローセクション */
.hero-section {
	background-color: #f8f8f8;
	padding: 80px 20px;
	text-align: center;
}

.hero-content {
	max-width: 1200px;
	margin: 0 auto;
	opacity: 0;
	animation: fadeUpIn 1.2s ease-out 0.3s forwards;
}

@keyframes fadeUpIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-section .solution-content {
	max-width: 1200px;
	margin: 40px auto 0 auto;
}

.hero-image {
	margin-bottom: 30px;
	text-align: center;
}

.hero-image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.hero-title {
	font-size: 28px;
	font-weight: 600;
	color: #333333;
	line-height: 1.8;
	margin: 0;
}

/* ソリューションセクション */
.solution-section {
	padding: 80px 20px;
	background-color: #ffffff;
}

.section-title {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #333333;
	text-align: center;
	margin-bottom: 0;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	position: relative;
	display: inline-block;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 2px;
	background-color: #19619A;
	opacity: 0.6;
}

.solution-content {
	max-width: 1200px;
	margin: 40px auto 0 auto;
	display: block;
}

.solution-right {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.solution-image {
	text-align: center;
	margin: 0;
}

.solution-image img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.solution-text {
	font-size: 16px;
	line-height: 2;
	color: #555555;
}

.solution-text p {
	margin-bottom: 0;
}

/* サービスセクション内のサブセクション */
.service-subsection {
	margin-bottom: 60px;
}

.service-subsection:last-child {
	margin-bottom: 0;
}

.subsection-title {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #333333;
	text-align: center;
	margin-bottom: 40px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	position: relative;
	text-decoration: none;
}

.subsection-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 2px;
	background-color: #19619A;
	opacity: 0.6;
}

/* コンテンツセクション */
.content-section {
	padding: 80px 20px;
	background-color: #ffffff;
}

.content-section .container {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 60px;
	align-items: start;
}

/* お問い合わせセクションと施工実績セクションは元のレイアウトに戻す */
#contact.content-section .container,
#achievements.content-section .container {
	display: block;
}

#contact .section-title,
#achievements .section-title {
	text-align: center;
	margin-bottom: 50px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	width: 100%;
	display: block;
	font-weight: 700;
	letter-spacing: 0.05em;
	position: relative;
}

#contact .section-title::after,
#achievements .section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 2px;
	background-color: #19619A;
	opacity: 0.6;
}

.section-content {
	width: 100%;
	text-align: left;
}

/* お問い合わせセクション */
.contact-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.contact-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin: 40px 0;
}

.contact-item {
	padding: 30px;
	background-color: #f8f8f8;
	border-radius: 8px;
}

.contact-item h4 {
	font-size: 20px;
	font-weight: 600;
	color: #333333;
	margin-bottom: 20px;
}

.contact-item p {
	font-size: 16px;
	color: #555555;
	line-height: 1.8;
	margin: 0;
}

.contact-item img {
	max-width: 100%;
	height: auto;
	margin-top: 10px;
}

.notice-text {
	font-size: 14px;
	color: #d23822;
	margin-top: 30px;
	font-weight: 500;
}

.content-block {
	margin-bottom: 60px;
}

.content-block:last-child {
	margin-bottom: 0;
}

/* 施工実績リンク */
.portfolio-link-wrapper {
	text-align: right;
	margin-top: 30px;
}

.portfolio-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	font-size: 1rem;
	font-weight: 500;
	color: #333;
	text-decoration: none;
	position: relative;
	transition: color 0.2s ease;
}

.portfolio-link .arrow {
	transition: transform 0.2s ease;
}

.portfolio-link:hover {
	color: #000;;
	text-decoration-thickness: 2px;
}

.portfolio-link:hover .arrow {
	transform: translateX(4px);
	text-decoration-thickness: 2px;
}

/* キーボード操作対応（重要） */
.portfolio-link:focus-visible {
	outline: none;
	text-decoration: underline;
}

.content-block h3 {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #333333;
	margin-bottom: 30px;
	text-align: left;
}

/* 会社情報セクション内のh3見出しにアンダーラインとアクセントラインを適用 */
#company .content-block h3 {
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	position: relative;
	display: inline-block;
}

#company .content-block h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 2px;
	background-color: #19619A;
	opacity: 0.6;
}

.image-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

.image-item {
	text-align: center;
}

.image-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 15px;
}

.image-item p {
	font-size: 14px;
	color: #555555;
	margin: 0;
}

.info-text {
	font-size: 16px;
	line-height: 1.8;
	color: #555555;
	text-align: center;
	margin: 20px 0;
}

/* 蓄電設備セクション */
.energy-content {
	max-width: 1000px;
	margin: 0 auto;
}

.energy-content h3 {
	font-size: 24px;
	font-weight: 600;
	color: #333333;
	margin-bottom: 40px;
	text-align: center;
}

.energy-images {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.energy-images img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.energy-images75 img {
	width: 75%;
	height: auto;
	border-radius: 8px;
}

.energy-images50 img {
	width: 50%;
	height: auto;
	border-radius: 8px;
}

/* 会社情報セクション */
.company-images {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	max-width: 900px;
	margin: 0 auto 40px auto;
}

.company-image-item {
	text-align: center;
}

.company-image-item img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.message-text {
	font-size: 16px;
	line-height: 2;
	color: #555555;
	max-width: 900px;
	margin: 0 auto;
}

.message-text p {
	margin-bottom: 0;
}

.signature {
	text-align: right;
	margin-top: 30px;
	font-weight: 500;
}

.company-info {
	max-width: 800px;
	margin: 0 auto;
}

.info-row {
	display: flex;
	padding: 20px 0;
	border-bottom: 1px solid #e5e5e5;
	align-items: flex-start;
}

.info-row:last-child {
	border-bottom: none;
}

.info-label {
	font-size: 16px;
	font-weight: 500;
	color: #333333;
	min-width: 200px;
	text-align: center;
	padding-right: 30px;
}

.info-value {
	font-size: 16px;
	color: #555555;
	line-height: 1.8;
	flex: 1;
}

.history-list {
	max-width: 900px;
	margin: 0 auto;
}

.history-item {
	display: flex;
	padding: 20px 0;
	border-bottom: 1px solid #e5e5e5;
	align-items: flex-start;
}

.history-item:last-child {
	border-bottom: none;
}

.history-date {
	color: #000000;
	font-size: 15px;
	font-weight: 500;
	min-width: 150px;
	margin-right: 30px;
}

.history-text {
	color: #333333;
	font-size: 16px;
	line-height: 1.8;
	flex: 1;
}

/* アクセスセクション */
.access-wrapper {
	padding: 30px;
	background-color: #f8f8f8;
	border-radius: 8px;
	max-width: 900px;
	margin: 0 auto 40px auto;
}

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

.access-info {
	width: 100%;
}

.access-address {
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	height: 100%;
}

.access-address h4 {
	font-size: 20px;
	font-weight: 600;
	color: #333333;
	margin-bottom: 15px;
	text-align: center;
}

.address-text {
	text-align: left;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.access-address p {
	font-size: 16px;
	color: #555555;
	line-height: 1.8;
	text-align: left;
	margin-left: 5rem;
	text-indent: 0;
	display: block;
	width: 100%;
}

.access-transport {
	width: 100%;
}

.transport-item {
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	height: 100%;
}

.transport-item h4 {
	font-size: 20px;
	font-weight: 600;
	color: #333333;
	margin-bottom: 15px;
	text-align: center;
}

.transport-item p {
	font-size: 16px;
	color: #555555;
	line-height: 1.8;
	margin: 0 0 10px 0;
}

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

.map-container {
	max-width: 900px;
	margin: 0 auto;
	border-radius: 8px;
	overflow: hidden;
}

.map-container iframe {
	width: 100%;
	height: 450px;
	border: 0;
}

/* 施工実績セクション */
.achievements-list {
	max-width: 900px;
	margin: 0 auto;
}

.achievement-item {
	display: flex;
	padding: 15px 0;
	border-bottom: 1px solid #e5e5e5;
	align-items: flex-start;
	justify-content: space-between;
}

.achievement-item:last-child {
	border-bottom: none;
}

.achievement-name {
	color: #333333;
	font-size: 16px;
	line-height: 1.8;
	flex: 1;
	margin-right: 30px;
}

.achievement-location {
	color: #666666;
	font-size: 14px;
	min-width: 150px;
	text-align: right;
}

/* ニュースセクション */
.news-section {
	padding: 80px 20px;
	background-color: #ffffff;
	display: block;
	margin: 0 auto;
}

.news-section .section-title {
	text-align: center;
	margin-bottom: 50px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	width: 100%;
	display: block;
	font-weight: 700;
	letter-spacing: 0.05em;
	position: relative;
}

.news-section .section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 2px;
	background-color: #19619A;
	opacity: 0.6;
}

.news-list {
	max-width: 900px;
	margin: 0 auto;
}

.news-item {
	display: flex;
	padding: 20px 0;
	border-bottom: 1px solid #e5e5e5;
	align-items: flex-start;
}

.news-item:last-child {
	border-bottom: none;
}

.news-date {
	color: #000000;
	font-size: 15px;
	font-weight: 500;
	min-width: 150px;
	margin-right: 30px;
}

.news-text {
	color: #333333;
	font-size: 16px;
	line-height: 1.8;
	flex: 1;
}

/*============================================
見出しスタイル
============================================*/
h1 {
	font-size: 32px;
	margin: 0 0 20px 0;
	font-weight: 600;
}

h2 {
	background-color: transparent;
	margin: 0 0 20px 0;
	padding: 0;
	color: #333333;
	font-size: 28px;
	text-align: left;
	font-weight: 600;
}

h3 {
	font-size: 24px;
	margin: 0 0 15px 0;
	font-weight: 600;
}

h4 {
	padding: 0;
	color: #333333;
	background-color: transparent;
	font-size: 22px;
	text-align: left;
	font-weight: 600;
	margin: 0 0 15px 0;
}

h6 {
	background-color: transparent;
	text-align: left;
	font-size: 20px;
	margin: 0 0 15px 0;
	padding: 0;
	font-weight: 600;
	color: #333333;
}

/*============================================
リンクスタイル
============================================*/
a:link {
	color: #0066cc;
	text-decoration: none;
}

a:visited {
	color: #0066cc;
}

a:hover {
	color: #004499;
	text-decoration: underline;
}

a:active {
	color: #004499;
}

/*============================================
フッタ
============================================*/
footer#footer {
	background-color: #f5f5f5;
	padding: 40px 20px;
	color: #666666;
	margin-top: 80px;
	clear: both;
	border-top: 1px solid #e5e5e5;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

.footer-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin-bottom: 30px;
}

.footer-col h5 {
	color: #333333;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
	font-weight: 600;
	font-size: 18px;
	border-bottom: 1px solid #e5e5e5;
}

.footer-col address {
	font-style: normal;
	color: #666666;
	line-height: 1.8;
}

.footer-col address p {
	color: #666666;
	line-height: 1.8;
	margin: 0;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul li {
	margin-bottom: 0.5rem;
}

.footer-col ul li a {
	display: inline-block;
	color: #666666;
	text-decoration: none;
	transition: color 0.3s ease;
	padding: 0.2rem 0;
}

.footer-col ul li a:hover {
	color: #0066cc;
}

.footer-copyright {
	text-align: center;
	padding: 20px 0 0 0;
	margin-top: 30px;
	border-top: 1px solid #e5e5e5;
	color: #999999;
}

.footer-copyright p {
	margin: 0;
	font-size: 13px;
}

footer#footer a {
	color: #666666;
}

footer#footer a:hover {
	color: #0066cc;
}

/*============================================
TOPボタン
============================================*/
button#top-button {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background-color: #19619A;
	color: #ffffff;
	border: none;
	border-radius: 50%;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	z-index: 10000;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	pointer-events: none;
	line-height: 60px;
	text-align: center;
	padding: 0;
	margin: 0;
	font-family: inherit;
}

button#top-button.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.top-button:hover {
	background-color: #004499;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
	transform: translateY(-2px);
}

.top-button:active {
	transform: translateY(0);
}

/*============================================
レスポンシブデザイン
============================================*/
@media (max-width: 768px) {
	.hero-title {
		font-size: 22px;
	}

	.section-title {
		font-size: 24px;
	}

	.service-cards {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 20px;
	}

	.news-item {
		flex-direction: column;
	}

	.news-date {
		margin-bottom: 10px;
		margin-right: 0;
	}

	.achievement-item {
		flex-direction: column;
	}

	.achievement-name {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.achievement-location {
		text-align: left;
		min-width: auto;
	}

	ul.ddmenu {
		flex-direction: column;
		align-items: center;
	}

	ul.ddmenu li {
		width: 100%;
		margin: 0;
	}

	.solution-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.content-section .container {
		display: block;
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.content-section:not(#company) .section-content {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.content-section:not(#company) .content-block {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.content-section:not(#company) .image-grid {
		justify-content: center;
		text-align: center;
		margin: 0 auto;
	}

	.content-section:not(#company) .image-item {
		text-align: center;
	}

	.content-section:not(#company) .info-text {
		text-align: center;
	}

	.content-section:not(#company) .service-subsection {
		text-align: center;
	}

	/* 施工実績リンクとトップに戻るリンクは右揃え */
	.portfolio-link-wrapper {
		text-align: right !important;
	}

	.section-title {
		text-align: center;
		margin-bottom: 30px;
		padding-bottom: 20px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		font-weight: 700;
		letter-spacing: 0.05em;
		position: relative;
	}

	.section-title::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 50px;
		height: 2px;
		background-color: #19619A;
		opacity: 0.6;
	}

	.subsection-title {
		text-align: center;
		font-weight: 700;
		letter-spacing: 0.05em;
		padding-bottom: 15px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		position: relative;
		text-decoration: none;
	}

	.subsection-title::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 40px;
		height: 2px;
		background-color: #19619A;
		opacity: 0.6;
	}

	.content-block h3 {
		text-align: center;
		font-weight: 700;
		letter-spacing: 0.03em;
	}

	/* 会社情報セクション内のh3見出しにアンダーラインとアクセントラインを適用 */
	#company .content-block h3 {
		padding-bottom: 10px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		position: relative;
		display: inline-block;
	}

	#company .content-block h3::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 35px;
		height: 2px;
		background-color: #19619A;
		opacity: 0.6;
	}

	.header-container {
		flex-direction: row;
		gap: 20px;
		position: relative;
	}

	.logo-wrapper {
		margin-bottom: 0;
	}

	.menu-toggle {
		display: flex;
		position: fixed;
		top: 20px;
		right: 20px;
		z-index: 10000;
	}

	.main-navigation {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background-color: #ffffff;
		box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		overflow-y: auto;
		overflow-x: hidden;
		z-index: 9999;
		padding-top: 70px;
		padding-bottom: 20px;
	}

	.main-navigation.active {
		right: 0;
	}

	.main-navigation ul.ddmenu {
		flex-direction: column;
		margin: 0;
		padding: 10px 0;
		align-items: stretch;
		min-height: auto;
	}

	.main-navigation ul.ddmenu li {
		width: 100%;
		margin: 0;
		border-bottom: 1px solid #e5e5e5;
	}

	.main-navigation ul.ddmenu li:last-child {
		border-bottom: none;
	}

	.main-navigation ul.ddmenu > li > a {
		padding: 12px 20px;
		line-height: 1.4;
		text-align: left;
		color: #ffffff;
		background-color: #19619A;
		display: block;
		font-size: 14px;
		min-height: auto;
	}

	.main-navigation ul.ddmenu > li > a:hover {
		background-color: #004499;
	}

	.main-navigation ul.ddmenu ul {
		position: static;
		display: block;
		box-shadow: none;
		background-color: #f8f8f8;
		margin-top: 0;
		border-radius: 0;
		padding-left: 0;
		width: 100%;
	}

	.main-navigation ul.ddmenu ul li {
		border-bottom: 1px solid #e5e5e5;
		width: 100%;
	}

	.main-navigation ul.ddmenu ul li:last-child {
		border-bottom: none;
	}

	.main-navigation ul.ddmenu ul a {
		padding: 10px 20px 10px 40px;
		font-size: 13px;
		color: #333333;
		background-color: transparent;
		line-height: 1.4;
		min-height: auto;
		display: block;
	}

	.main-navigation ul.ddmenu ul a:hover {
		background-color: rgba(25, 97, 154, 0.1);
	}

	/* メニュー展開時にTOPボタンを非表示 */
	body.menu-open #top-button {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.footer-row {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.company-images {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 15px;
	}

	.access-wrapper {
		padding: 20px;
	}

	.access-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	button#top-button {
		bottom: 20px;
		right: 20px;
		width: 40px;
		height: 40px;
		font-size: 14px;
		line-height: 40px;
	}

	/* 施工実績ページのレスポンシブ対応 */
	.content-section {
		padding: 40px 15px;
		text-align: center;
	}

	.container {
		padding: 0 15px;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.section-content {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.content-block {
		margin-bottom: 40px;
		width: 100%;
		max-width: 100%;
		text-align: center;
	}

	.content-block h3 {
		font-size: 20px;
		font-weight: 700;
		letter-spacing: 0.03em;
		margin-bottom: 20px;
		text-align: center;
	}

	/* 会社情報セクション内のh3見出しにアンダーラインとアクセントラインを適用 */
	#company .content-block h3 {
		padding-bottom: 10px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		position: relative;
		display: inline-block;
	}

	#company .content-block h3::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 35px;
		height: 2px;
		background-color: #19619A;
		opacity: 0.6;
	}

	.achievements-list {
		padding: 0;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.achievement-item {
		padding: 12px 0;
		text-align: center;
		justify-content: center;
	}

	.achievement-name {
		font-size: 14px;
		line-height: 1.6;
		text-align: center;
	}

	.achievement-location {
		font-size: 13px;
		text-align: center;
	}

	div#header {
		padding: 15px 0;
	}

	.header-container {
		padding: 0 15px;
		max-width: 100%;
		margin: 0 auto;
	}

	footer#footer {
		padding: 30px 15px;
		margin-top: 60px;
		text-align: center;
	}

	.footer-container {
		padding: 0;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.footer-row {
		text-align: center;
	}

	.footer-col {
		text-align: center;
	}

	.footer-col h5 {
		text-align: center;
	}

	.footer-col address {
		text-align: center;
	}

	.footer-col ul {
		text-align: center;
	}

	/* 各セクションのコンテンツを中央揃え */
	.image-grid {
		justify-content: center;
		text-align: center;
	}

	.image-item {
		text-align: center;
	}

	.info-text {
		text-align: center;
	}

	.message-text {
		text-align: center;
	}

	.company-info {
		text-align: center;
	}

	.info-row {
		justify-content: center;
		text-align: center;
	}

	.info-label {
		text-align: center;
	}

	.info-value {
		text-align: center;
	}

	.history-list {
		text-align: center;
	}

	.history-item {
		justify-content: center;
		text-align: center;
	}

	.history-date {
		text-align: center;
	}

	.history-text {
		text-align: center;
	}

	.contact-content {
		text-align: center;
	}

	.contact-info {
		justify-content: center;
	}

	.contact-item {
		text-align: center;
	}

	.news-list {
		text-align: center;
	}

	.news-item {
		justify-content: center;
		text-align: center;
	}

	.news-date {
		text-align: center;
	}

	.news-text {
		text-align: center;
	}

	.energy-content {
		text-align: center;
	}

	.energy-content h3 {
		text-align: center;
	}

	.energy-images {
		text-align: center;
	}

	.access-wrapper {
		text-align: center;
	}

	.access-content {
		text-align: center;
	}

	.access-address {
		text-align: center;
	}

	.access-address p {
		text-align: center;
		margin-left: 0;
	}

	.access-transport {
		text-align: center;
	}

	.transport-item {
		text-align: center;
	}

	.map-container {
		text-align: center;
		margin: 0 auto;
	}

	.info-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.info-label {
		min-width: auto;
		padding-right: 0;
		margin-bottom: 10px;
		text-align: center;
	}

	.info-value {
		text-align: center;
	}

	.history-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.history-date {
		margin-right: 0;
		margin-bottom: 10px;
		min-width: auto;
		text-align: center;
	}

	.history-text {
		text-align: center;
	}

	.news-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.news-date {
		margin-right: 0;
		margin-bottom: 10px;
		text-align: center;
	}

	.news-text {
		text-align: center;
	}
}

/* タブレットサイズ（769px〜1024px） */
@media (min-width: 769px) and (max-width: 1024px) {
	/* ヘッダーコンテナは画面幅いっぱいに */
	.header-container {
		max-width: 100%;
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}

	/* フッターコンテナは画面幅いっぱいに */
	.footer-container {
		max-width: 100%;
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}

	/* コンテナの横幅を調整（画面幅いっぱいに、会社情報セクション以外） */
	.container {
		max-width: 100%;
		width: 100%;
		margin: 0 auto;
		padding: 0 20px;
		box-sizing: border-box;
	}

	/* 会社情報セクションのコンテナは最大幅1200pxを維持 */
	#company .container {
		max-width: 100%;
		width: 100%;
	}

	.content-section {
		padding: 80px 20px;
		box-sizing: border-box;
	}

	/* PC版と同じレイアウトを維持（グリッドレイアウト） */
	.content-section .container {
		display: grid !important;
		grid-template-columns: 200px 1fr !important;
		gap: 60px;
		align-items: start;
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: left;
		box-sizing: border-box;
	}

	/* 会社情報セクションのコンテナは最大幅1200pxを維持 */
	#company.content-section .container {
		max-width: 100% !important;
	}

	/* お問い合わせセクションと施工実績セクションは元のレイアウト */
	#contact.content-section .container,
	#achievements.content-section .container {
		display: block !important;
		max-width: 100% !important;
	}

	/* 施工実績リンクとトップに戻るリンクは右揃え */
	.portfolio-link-wrapper {
		text-align: right !important;
	}

	/* セクションタイトルはPC版と同じ（左揃え、ボーダーあり） */
	.section-title {
		font-size: 32px !important;
		font-weight: 700 !important;
		letter-spacing: 0.05em !important;
		text-align: left !important;
		margin-bottom: 0 !important;
		padding-bottom: 15px !important;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
		position: relative !important;
	}

	.section-title::after {
		content: '' !important;
		position: absolute !important;
		bottom: 0 !important;
		left: 0 !important;
		width: 60px !important;
		height: 2px !important;
		background-color: #19619A !important;
		opacity: 0.6 !important;
	}

	#contact .section-title,
	#achievements .section-title {
		text-align: center !important;
		margin-bottom: 50px !important;
		padding-bottom: 20px !important;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
		width: 100% !important;
		display: block !important;
		font-weight: 700 !important;
		letter-spacing: 0.05em !important;
		position: relative !important;
	}

	#contact .section-title::after,
	#achievements .section-title::after {
		content: '' !important;
		position: absolute !important;
		bottom: 0 !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		width: 60px !important;
		height: 2px !important;
		background-color: #19619A !important;
		opacity: 0.6 !important;
	}

	/* サブセクションタイトルはPC版と同じ */
	.subsection-title {
		font-size: 28px !important;
		font-weight: 700 !important;
		letter-spacing: 0.05em !important;
		text-align: center !important;
		padding-bottom: 15px !important;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
		position: relative !important;
		text-decoration: none !important;
	}

	.subsection-title::after {
		content: '' !important;
		position: absolute !important;
		bottom: 0 !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		width: 50px !important;
		height: 2px !important;
		background-color: #19619A !important;
		opacity: 0.6 !important;
	}

	/* コンテンツブロックはPC版と同じ（左揃え） */
	.content-block {
		margin-bottom: 60px !important;
		text-align: left !important;
		width: 100%;
		max-width: 100%;
	}

	.content-block h3 {
		font-size: 24px !important;
		font-weight: 700 !important;
		letter-spacing: 0.03em !important;
		text-align: left !important;
	}

	/* 会社情報セクション内のh3見出しにアンダーラインとアクセントラインを適用 */
	#company .content-block h3 {
		padding-bottom: 10px !important;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
		position: relative !important;
		display: inline-block !important;
	}

	#company .content-block h3::after {
		content: '' !important;
		position: absolute !important;
		bottom: 0 !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		width: 40px !important;
		height: 2px !important;
		background-color: #19619A !important;
		opacity: 0.6 !important;
	}

	/* セクションコンテンツはPC版と同じ */
	.content-section:not(#company) .section-content {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		text-align: left !important;
	}

	.content-section:not(#company) .content-block {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		text-align: left !important;
	}

	.content-section:not(#company) .image-grid {
		justify-content: flex-start !important;
		text-align: left !important;
		margin: 0 auto !important;
	}

	.content-section:not(#company) .image-item {
		text-align: center !important;
	}

	.content-section:not(#company) .info-text {
		text-align: center !important;
	}

	.content-section:not(#company) .service-subsection {
		text-align: left !important;
	}

	/* ソリューションコンテンツは画面幅いっぱいに */
	.solution-content {
		display: block !important;
		grid-template-columns: none !important;
		max-width: 100%;
		width: 100%;
		margin: 40px auto 0 auto;
		padding: 0 20px;
		box-sizing: border-box;
	}

	/* ニュースセクションのコンテナは画面幅いっぱいに */
	.news-section .container {
		max-width: 100% !important;
		width: 100% !important;
	}

	/* ニュースリストは画面幅いっぱいに */
	.news-list {
		max-width: 100% !important;
		width: 100% !important;
	}

	/* ヒーローコンテンツは画面幅いっぱいに */
	.hero-content {
		max-width: 100%;
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}

	/* ヒーロータイトルはPC版と同じ */
	.hero-title {
		font-size: 28px !important;
	}

	/* メニューは通常の横並び表示（PC版と同じ） */
	ul.ddmenu {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
	}

	ul.ddmenu li {
		width: auto;
		margin: 0 5px;
	}

	.menu-toggle {
		display: none;
	}

	.main-navigation {
		position: static;
		right: auto;
		width: auto;
		max-width: none;
		height: auto;
		background-color: transparent;
		box-shadow: none;
		overflow: visible;
		padding-top: 0;
		padding-bottom: 0;
	}

	.main-navigation ul.ddmenu {
		flex-direction: row;
		margin: 20px 0 0 0;
		padding: 0;
		align-items: center;
	}

	.main-navigation ul.ddmenu li {
		width: auto;
		margin: 0 5px;
		border-bottom: none;
	}

	.main-navigation ul.ddmenu > li > a {
		padding: 0 20px;
		line-height: 50px;
		text-align: center;
		color: #333333;
		background-color: transparent;
		font-size: 14px;
	}

	.main-navigation ul.ddmenu > li > a:hover {
		background-color: transparent;
		color: #0066cc;
	}

	.main-navigation ul.ddmenu ul {
		position: absolute;
		display: none;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		background-color: #ffffff;
		margin-top: 0;
		border-radius: 0;
		padding-left: 0;
		width: auto;
		min-width: 200px;
		top: 100%;
		left: 0;
	}

	.main-navigation ul.ddmenu li:hover ul {
		display: block;
	}

	.main-navigation ul.ddmenu ul li {
		width: 100%;
		border-top: 1px solid #e5e5e5;
		margin: 0;
	}

	.main-navigation ul.ddmenu ul li:first-child {
		border-top: none;
	}

	.main-navigation ul.ddmenu ul a {
		padding: 0 20px;
		padding-left: 20px;
		font-size: 14px;
		color: #333333;
		background-color: transparent;
		line-height: 40px;
		text-align: left;
	}

	.main-navigation ul.ddmenu ul a:hover {
		background-color: #f5f5f5;
		color: #0066cc;
	}

	/* ヘッダーコンテナはPC版と同じ */
	.header-container {
		flex-direction: row;
		gap: 20px;
		position: relative;
	}

	.logo-wrapper {
		margin-bottom: 0;
	}

	/* フッターは2列 */
	.footer-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}

	/* 実績項目はPC版と同じ */
	.achievement-item {
		flex-direction: row !important;
		display: flex;
		padding: 15px 0;
		border-bottom: 1px solid #e5e5e5;
		align-items: flex-start;
	}

	.achievement-name {
		font-size: 16px !important;
		margin-right: 20px !important;
		margin-bottom: 0 !important;
	}

	.achievement-location {
		font-size: 16px !important;
		text-align: left !important;
		min-width: 200px !important;
	}

	/* ニュース項目はPC版と同じ */
	.news-item {
		flex-direction: row !important;
		display: flex;
		padding: 20px 0;
		border-bottom: 1px solid #e5e5e5;
		align-items: flex-start;
	}

	.news-date {
		margin-bottom: 0 !important;
		margin-right: 20px !important;
	}

	/* サービスカードはPC版と同じ */
	.service-cards {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
		gap: 30px;
	}

	/* 画像グリッドはPC版と同じ */
	.image-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
		gap: 30px;
		margin-bottom: 30px;
	}

	/* 会社画像はPC版と同じ */
	.company-images {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
		gap: 20px;
		max-width: 100%;
		margin: 0 auto 40px auto;
	}

	/* アクセスコンテンツはPC版と同じ */
	.access-content {
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
		gap: 30px;
	}

	.access-wrapper {
		padding: 30px !important;
	}
}

/* 小さなスマートフォン（480px以下） */
@media (max-width: 480px) {
	.content-section {
		padding: 30px 10px;
		text-align: center;
	}

	.container {
		padding: 0 10px;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.content-section .container {
		display: block;
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	/* 施工実績リンクとトップに戻るリンクは右揃え */
	.portfolio-link-wrapper {
		text-align: right !important;
	}

	.section-title {
		font-size: 20px;
		font-weight: 700;
		letter-spacing: 0.05em;
		margin-bottom: 25px;
		padding-bottom: 15px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		text-align: center;
		position: relative;
	}

	.section-title::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 40px;
		height: 2px;
		background-color: #19619A;
		opacity: 0.6;
	}

	.content-section:not(#company) .section-content {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.content-section:not(#company) .content-block {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.content-section:not(#company) .image-grid {
		justify-content: center;
		text-align: center;
		margin: 0 auto;
	}

	.content-section:not(#company) .image-item {
		text-align: center;
	}

	.content-section:not(#company) .info-text {
		text-align: center;
	}

	.content-section:not(#company) .service-subsection {
		text-align: center;
	}

	.content-block {
		margin-bottom: 30px;
		width: 100%;
		max-width: 100%;
		text-align: center;
	}

	.content-block h3 {
		font-size: 18px;
		font-weight: 700;
		letter-spacing: 0.03em;
		margin-bottom: 15px;
		text-align: center;
	}

	/* 会社情報セクション内のh3見出しにアンダーラインとアクセントラインを適用 */
	#company .content-block h3 {
		padding-bottom: 8px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		position: relative;
		display: inline-block;
	}

	#company .content-block h3::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 30px;
		height: 2px;
		background-color: #19619A;
		opacity: 0.6;
	}

	.achievements-list {
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.achievement-item {
		padding: 10px 0;
		text-align: center;
		justify-content: center;
	}

	.achievement-name {
		font-size: 13px;
		line-height: 1.5;
		text-align: center;
	}

	.achievement-location {
		font-size: 12px;
		text-align: center;
	}

	div#header {
		padding: 12px 0;
	}

	.header-container {
		padding: 0 10px;
		max-width: 100%;
		margin: 0 auto;
	}

	.logo-wrapper img {
		max-height: 70px;
	}

	footer#footer {
		padding: 25px 10px;
		margin-top: 50px;
		text-align: center;
	}

	.footer-container {
		max-width: 100%;
		margin: 0 auto;
		text-align: center;
	}

	.footer-row {
		text-align: center;
	}

	.footer-col {
		text-align: center;
	}

	.footer-col h5 {
		font-size: 16px;
		text-align: center;
	}

	.footer-col address {
		text-align: center;
	}

	.footer-col address p {
		text-align: center;
	}

	.footer-col ul {
		text-align: center;
	}

	.footer-col ul li a {
		font-size: 14px;
		text-align: center;
	}

	.menu-toggle {
		top: 15px;
		right: 15px;
		width: 36px;
		height: 36px;
	}

	.menu-toggle .icon-menu-toggle-01,
	.menu-toggle .close {
		font-size: 16px;
	}

	.main-navigation {
		padding-top: 60px;
		padding-bottom: 15px;
	}

	.main-navigation ul.ddmenu {
		padding: 8px 0;
	}

	.main-navigation ul.ddmenu > li > a {
		padding: 10px 15px;
		font-size: 13px;
		line-height: 1.3;
	}

	.main-navigation ul.ddmenu ul a {
		padding: 8px 15px 8px 35px;
		font-size: 12px;
		line-height: 1.3;
	}

	button#top-button {
		bottom: 15px;
		right: 15px;
		width: 36px;
		height: 36px;
		font-size: 12px;
		line-height: 36px;
	}

	/* 各セクションのコンテンツを中央揃え */
	.image-grid {
		justify-content: center;
		text-align: center;
	}

	.image-item {
		text-align: center;
	}

	.info-text {
		text-align: center;
	}

	.message-text {
		text-align: center;
	}

	.company-info {
		text-align: center;
	}

	.info-row {
		justify-content: center;
		text-align: center;
		flex-direction: column;
	}

	.info-label {
		text-align: center;
		min-width: auto;
		padding-right: 0;
		margin-bottom: 10px;
	}

	.info-value {
		text-align: center;
	}

	.history-list {
		text-align: center;
	}

	.history-item {
		justify-content: center;
		text-align: center;
		flex-direction: column;
	}

	.history-date {
		text-align: center;
		margin-right: 0;
		margin-bottom: 10px;
		min-width: auto;
	}

	.history-text {
		text-align: center;
	}

	.contact-content {
		text-align: center;
	}

	.contact-info {
		justify-content: center;
	}

	.contact-item {
		text-align: center;
	}

	.news-list {
		text-align: center;
	}

	.news-item {
		justify-content: center;
		text-align: center;
	}

	.news-date {
		text-align: center;
		margin-right: 0;
		margin-bottom: 10px;
	}

	.news-text {
		text-align: center;
	}

	.energy-content {
		text-align: center;
	}

	.energy-content h3 {
		text-align: center;
	}

	.energy-images {
		text-align: center;
	}

	.access-wrapper {
		text-align: center;
	}

	.access-content {
		text-align: center;
	}

	.access-address {
		text-align: center;
	}

	.access-address p {
		text-align: center;
		margin-left: 0;
	}

	.access-transport {
		text-align: center;
	}

	.transport-item {
		text-align: center;
	}

	.map-container {
		text-align: center;
		margin: 0 auto;
	}
}
