/* =========================
   Reset
========================= */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body,
header, footer, main, nav, section, article, p,
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}

/* =========================
   Base
========================= */
html, body {
	min-height: 100vh;
	background: #f2f3f5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
	             "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	color: #222;
}

ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

/* =========================
   Layout
========================= */
#layout {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 16px;
}

#wrapper {
	width: 100%;
	max-width: 720px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.08);
	padding: 20px;

	display: flex;
	flex-direction: column;
	align-items: center;
	
	position:relative;
}

/* =========================
   Header
========================= */


header {
	width: 100%;
	text-align: center;
	margin-bottom: 16px;
}

.header_logo img {
	max-width: 300px;
	width: 100%;
	height: auto;
}

.header_logo p {
	margin-top: 4px;
	font-size: 13px;
	color: #666;
}

/* =========================
	section
========================= */
section{
	width:100%;
}

.section-titles {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border-top:1px solid #000;
	border-bottom:1px solid #000;
	margin:30px 0 20px;
}

.section-titles img{
	width:24px;
}

.section-content{
	margin:0 50px;
}


/*------ img -----*/
.section-content img{
	width:100%;
	border:1px solid #ddd;
	padding:10px;
	margin:20px 0;
}


.section-content h3{
	margin:50px 0 20px;
}

.underline{
	border-bottom:1px solid #000;
}

.section-content h4{
	font-size:16px;
}

.section-content p{
	font-size: 14px;
	margin-bottom:16px;
}

/*------ ul -----*/
.section-content ul {
	text-align: left;
	list-style-type: disc;
	padding-left: 20px;
	margin: 12px 0;
}

.section-content ul li {
	font-size: 12px;
	line-height: 1.6;
}

/*------ table -----*/

.section-content table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 24px 0;
	font-size: 13px;
}

.section-content table td {
	border: 1px solid rgba(0, 0, 0, 0.15);
	padding: 10px 8px;
	text-align: center;
	vertical-align: middle;
	word-break: break-word;
}

/* 上段：定義テーブル（2カラム想定） */
.section-content table:first-of-type td:first-child {
	width: 30%;
	font-weight: 600;
	text-align: right;
}

.section-content table:first-of-type td:last-child {
	width: 70%;
	text-align: left;
}

/* 下段：業種比較テーブル */
.section-content table:last-of-type td:first-child {
	text-align: right;
	font-weight: 600;
	white-space: nowrap;
}

/* 見出し行（業種名） */
.section-content table:last-of-type tr:first-child td {
	font-weight: 600;
	background-color: rgba(0, 0, 0, 0.03);
}




/* =========================
   Contact Form
========================= */

.contact-form {
	margin: 30px 30px; /* 左右 30px */
}

.contact-form input[type="email"]{
	margin-bottom:30px;
}

.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;

	font-size: 14px;
	line-height: 1.5;

	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;

	background-color: #ffffff;
	color: #333;

	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #bfa05a;
	box-shadow: 0 0 0 2px rgba(191, 160, 90, 0.2);
}

/* submit button */
.contact-form button {
	margin: 20px auto 0;
	width: 200px;
	display: block;

	padding: 12px 0;

	width: 200px;

	font-size: 14px;
	font-weight: 600;

	color: #fff;
	background-color: #bfa05a;

	border: none;
	border-radius: 6px;
	cursor: pointer;

	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form button:hover {
	background-color: #a88b4c;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.contact-form button:active {
	background-color: #907640;
	box-shadow: none;
}

/* =========================
   Contact complete overlay
========================= */

.overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.overlay.hidden {
	display: none;
}

.overlay-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.overlay-panel {
	position: relative;
	background: #fff;
	padding: 30px 24px;
	border-radius: 10px;
	width: 90%;
	max-width: 360px;
	text-align: center;
}

.overlay-panel h3 {
	margin-bottom: 12px;
	font-size: 16px;
}

.overlay-panel p {
	font-size: 14px;
	line-height: 1.6;
}

.overlay-panel button {
	margin-top: 20px;
	padding: 12px 0;
	width: 200px;

	font-size: 14px;
	font-weight: 600;
	color: #fff;

	background-color: #bfa05a;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.overlay-panel button:hover {
	background-color: #a88b4c;
}



/* =========================
	footer
========================= */
footer{
	margin-top:50px;
}



