@charset "UTF-8";

html {
	box-sizing: border-box;
	font-size: 100%;
}

body {
	color: #000;
	font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	background:#fff;
	font-weight: 400;
	line-height: 1.6;
	font-size:1rem;
	padding-top: 1rem;
}

:root { 
	--base-color: #000;
	--link-color: #666;
	--linkhover-color: #191970;
	--back-color: #003399;
	--border-color: #ccc;
	--white-color: #fff;
}

img{
	max-width:100%;
	height: auto;
}a{
	display:block;
	color: var(--base-color);
	text-decoration-line: none;
}a:hover { 
	color: var(--linkhover-color);
}a img {
	margin-bottom: 1rem;
}a img:hover {
	opacity: 0.8;
}.center {
	text-align: center;
}.sp_br {
	display: none;
}

/*フォント*/
.head h1, .news h2,.contents h3 {
	font-family: "BIZ UDGothic", sans-serif;
	font-weight: 900;
	font-style: normal;
}
.mainimg h2{
	font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
	margin:0;
}

/*ヘッダー*/
 .head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0rem;
}.head h1 { 
	padding: 0;
	margin: 0;
}.head h1 img.logo{
	vertical-align:middle;
	height:45px;
	width:45px;
	margin-right:5px;
}.head-right {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 1rem;
}

/*ヘッダーの電話*/
 .head-right .tel {
	margin-left: auto;
	font-size: 1.8rem;
	padding: 0;
}.head-right .tel a {
	display: flex;
	align-items: center;
	gap: 0.2em;
}.head-right .tel i {
	display: inline-flex; 
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: #007acc;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
	font-size: 18px;
	margin-right:4px;
}.head-right .tel i:hover {
	background-color: #005f99;
}

/* メニュー */
 .menu {
	background-color: var(--back-color);
	margin-top:4em;
}.menu-toggle {
	display: none;
	cursor: pointer;
	color: var(--white-color);
	padding: 1rem;
	width:22px;
	height:22px;
	text-align: center;
	background-color: var(--back-color);
}.menu-toggle i {
	font-size: 18px;
	color: var(--white-color);
	cursor: pointer;
}

 #navi ul {
	display: flex;
	flex-wrap: wrap;           /* 必要なら折り返し */
	justify-content: center;   /* 横幅が余ったときは中央寄せ */
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}#navi li {
	flex: 0 1 auto;   /* shrink(縮む)可, grow不可, 自然幅 */
	min-width: 100px; /* 文字が潰れない最低幅（調整可） */
}#navi a {
	display: block;
	padding: 1.5em 1em;
	text-align: center;
	text-decoration: none;
	color: var(--white-color);
	white-space: nowrap;
}#navi a:hover {
	background-color: var(--linkhover-color);
}

/*トップ画像・キャッチコピー*/
.mainimg{
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100vh;
	position: relative;
	background-image: url(../img/img_top01.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size:cover;
	font-weight: bold;
	font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
}.maincontent {
	max-width: 480px;
	margin-left: auto;
	padding-top:2em;
	text-align: left;
}.maincontent h2{
	margin-bottom:1em;
}.maincontent h2 span{
	display: block;
	font-size: 1.75rem;
	line-height: 1.6;
	background: rgba(255, 255, 255, 0.5);
}.maincontent p{
	margin: 0;
	font-size: 1.25rem;
	background: rgba(255, 255, 255, 0.25);
}

/*メイン*/
main{
	padding-top:8em;
}

 .container {
	margin: 0 auto;
	padding: 0;
	position: relative;
}.row {
	width: 90%;
	margin: 0 auto;
}.col {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}.row-2col {
	display: flex;
	flex-direction: row;
	gap: 2rem;
	margin: 2rem auto;
	max-width: 1000px;
}

 .content-block {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	margin: 2em 0;
	align-items: flex-start;
}.item.image {
	flex: 0 0 60%;
	background-color: #fff;
	padding: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}.item.text {
	flex: 1;
	background-color: #fff;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}.item.text h3 {
	font-size: 1.8rem;
	margin-bottom: 0.75rem;
	color: #003399;
}.item.text p {
	font-size: 1rem;
	margin-bottom: 1rem;
	line-height: 1.6;
	color: #333;
}.item.text .btn {
	display: inline-block;
	margin-top:2em;
	padding: 0.6rem 1.2rem;
	background-color: #003399;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.5s ease;
}.item.text .btn:hover {
	background-color: #191970;
}

/*実績*/
.results {
	width: 100%;
	border-collapse: collapse;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: .9rem;
	line-height: 1.6;
	margin-top: 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	border-radius: 8px;
	overflow: hidden;
}.results thead th {
	background-color: #2c3e50;
	color: #fff;
	font-weight: bold;
	padding: 12px 16px;
	text-align: left;
	white-space: nowrap;
}.results tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid #ddd;
	vertical-align: top;
}.results tbody tr:nth-child(even) td {
	background-color: #f9f9f9;
}.results tbody tr:last-child td {
	border-bottom: none;
}.results tbody tr.year-row td {
	border-top: 1px solid #2c3e50;
	font-weight: bold;
	background-color: #eef3f7 !important;
	cursor: pointer;
	position: relative;
	padding-left: 28px;
}.results tbody tr.year-row td.year-toggle::before {
	content: "\f054"; 
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 2s;
}.results tbody tr.year-row.open td.year-toggle::before {
	content: "\f078";
}.year-group {
	display: none;
}

/*新着情報*/
.news h2 {
    background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}.news h2::before{
	font-family: "Font Awesome 6 Free";
	content: '\f1ea';
	font-weight: 900;
	margin-right: .5em;
	margin-left: .25em;
}.news li {
    list-style-type: none;
	border-bottom: 1px solid var(--border-color);
	padding: 0.5rem 0;
}

/*フッター*/
footer {
	background-color: var(--back-color);
	padding: 2rem 1rem;
	margin-top:10em;
	color: var(--white-color);
}footer h3 {
	margin-bottom: 1rem;
	font-size: 1.8rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 0.5rem;
}footer ul {
	list-style: none;
	margin: 0 0 0 2em;
	padding: 0;
}footer ul li {
	display:block;
	margin: 0.5rem 0;
	text-decoration: none;
}footer ul li a {
	color: var(--white-color);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.3s ease;
}footer ul li a:hover {
	color: #00adee;
}footer ul li a::before {
	font-family: "Font Awesome 6 Free";
	content: "\f105";
	font-weight: 900;
}footer ul li a.footer-tel::before {
	font-family: "Font Awesome 6 Free";
	content: '\f098';
	font-weight: 900;
}

/*コピーライト*/
.copyright {
	display:block;
	text-align: center;
	padding:0 auto;
	margin:1em auto 0;
	background-color: var(--white-color);
}
.copyright a {
	color: var(--base-color);
	text-decoration: none;
	display:inline-block;
}

/*戻るボタン*/
#pagetop {
	position: fixed;
	bottom: 15px;
	right: 15px;
}#pagetop a {
	display: block;
	background: var(--back-color);
	color: var(--white-color);
	width: 50px;
	padding: 10px 5px;
	text-align: center;
}#pagetop a:hover {
	background: var(--back-color);
}

/*パンくずリスト*/
.breadcrumb {
	margin: 1em 0 1em 0;
	padding: 0;
	font-size:80%;
}.breadcrumb ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}.breadcrumb li {
	display: inline-flex;
	align-items: center;
 	white-space: nowrap;
}.breadcrumb ul li + li::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f105";
	margin: 0 8px;
}

/*サブページ*/
.subpage h2{
	font-size:200%;
	text-align:center;
	margin-bottom:0;
}

/*会社概要*/
.company-table {
	width: 100%;
	border-collapse: collapse;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	border-radius: 8px;
	overflow: hidden;
}.company-table th, .company-table td {
	padding: 12px 16px;
	border-bottom: 1px solid #ddd;
	text-align: left;
}.company-table th {
	background-color: #2c3e50;
	color: #fff;
	font-weight: bold;
	width: 22%;
	white-space: nowrap;
}.company-table tr:nth-child(even) td {
	background-color: #f9f9f9;
}.company-table tr:last-child td {
	border-bottom: none;
}

/*修繕の流れ*/
.flow-step {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	margin: 3em 0;
	position: relative;
}
.step-badge {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #007acc;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	position: relative;
	z-index: 1;
}
.step-content {
	flex: 1;
}
.step-content h4 {
	font-size: 2.5rem;
	margin:0 auto;
	color: #007acc;
}
.step-content p {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}
.step-content img {
	max-width: 100%;
	margin-top: 1rem;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/*図表*/
.diagram{
	width:80%;
	display: block;
	margin:2em auto 3em;
	padding:0 auto;
}

/*採用情報*/

.contact-cell a{
	display:inline-block;
	text-decoration: underline;
	color: var(--link-color);
}
.contact-cell .tel-link {
	pointer-events: none;   /* クリック不可 */
	color: inherit;
	text-decoration: none;
	cursor: default;
}


@media (max-width: 768px) {

	/*ヘッダー*/
	.head {
		flex-direction: column ;
		align-items: center;
	}
	.head h1{
		align-items: center;
		width: 100%;
		padding:1em 0 2em;
	}.head h1 a {
		display: inline-block;
	}.head h1 a img.logo {
		display: inline-block;
		vertical-align: middle;
	}
	.sp_br{
		display:block; /* スマホ時のみ改行 */
	}
	.head-right .tel i {
		display: inline-flex; 
		width: 54px;
		height: 54px;
		font-size: 26px;
		border-radius: 0;  
	}	.head-right .tel-text {
		display:none;
	}
	/*トップ画像 キャッチコピー*/
	.mainimg{
		padding:0;
		min-height: 60vh;
	}.maincontent {
		padding-top:5em;
		max-width: 320px;
	}.maincontent h2 span, .maincontent p {
		white-space: nowrap;
		overflow: hidden;
	}.maincontent h2 span{
		font-size: 90%;
	}.maincontent p {
		font-size: 85%;
		display:inline-block;
	}

	.content-block {
		flex-direction: column;
	}
	.item.image,
	.item.text {
		flex: 1 1 100%;
	}.item.text h3 {
		padding:0;
		margin-top:0;
		font-size:1.75em;
	}.item.text {
		padding: 1rem;
	}.row-2col {
		flex-direction: column;
	}
	.menu-toggle {
		display: inline-block;
	}
	#close {
		display: none;
	}
	.menu {
		display: none;
	}
	.menu.active {
		display: block;
	}
	#navi ul {
		flex-direction: column;
	}
	#navi li {
		text-align: center;
		padding-top: 0;
		border-bottom: 1px solid var(--border-color);
		margin-bottom: 0;
	}

	/*サブページ*/
	.subpage h2{
		font-size:150%;
		color:#fff;
		background-color: var(--back-color);
		padding:1em 0;
	}

	.contact-cell .tel-link {
		pointer-events: auto; /* クリック可 */
		color: var(--link-color);
		cursor: pointer;
		text-decoration: underline;
	}

	/*修繕の流れ*/
	.flow-step {
		flex-direction: column;
	}
	.step-badge {
		width: 36px;
		height: 36px;
		font-size: 1.5rem;
		margin:3em auto 0;
		text-align:center;
	}
	.step-content h4 {
		text-align:center;
		margin:0 0 1em;
	}

	/*図表*/
	.diagram{width:100%;}

	footer ul {
		margin: 0;
	}
}

