/* ===== リセット・ベース ===== */
figure {
    margin: 1em auto;
}
figure img {
    display: block;
    margin: 0 auto;
}
.product img {
    max-width: 100%;
    height: auto;
    display: block;
}
#wrapper a,
.wrapper a:visited {
    color: #069;
}
/* ===== ページ全体ラッパー ===== */
#wrapper {
    max-width: 960px;
    margin: 0 auto;
}

/* ===== NETISバッジ ===== */
.netis-badge {
    width: fit-content;
    background-color: #fff;
    border: 1px solid #aaa;
    padding: 2px 10px;
    font-size: 0.9em;
    margin-top: 6px;
    margin-left: auto;
}

/* ===== ページ内ナビ（既存・参考） ===== */
.page-nav {
  margin: 8px 0;
  font-size: 0.85em;
  line-height: 2;
}

.page-nav a {
  margin: 0 2px;
}

/* ========================================
   各ページへのリンク（サイトナビ）
   ======================================== */
/*メニューバー*/
.menu-toggle {
	display: none;
}
#globalnavi2 {
	margin: 0 0 2em;
	padding: 0;
}

#globalnavi2 ul {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#globalnavi2 li {
	width: calc(100% / 5);
	margin: 0;
	padding: 0;
	font-size: 0.9em;
	border-left: 1px solid #ffffff;
}

#globalnavi2 a {
	display: inline-flex;
	width: 100%;
	height: 3.1em;
	text-align: center;
	text-decoration: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
	border-bottom: 3px solid var(--acc);
	background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
	box-shadow: inset 1px 1px 1px #fff;
}

#globalnavi2 a:hover {
	background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
}

#globalnavi2 ul li:first-child {
	border-left: none;
}



.flex-ehd {
    display: flex;
    gap: 1em;
    align-items: center;
}

/* ===== キャッチコピーボックス ===== */
.catch-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin: 0 0 16px;
}

.catch-box__text {
    flex: 1 1 300px;
}

.catch-box__text .catch {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.catch-box__image {
    flex: 0 0 auto;
    text-align: center;
}

/* ===== テキストエリア ===== */
.txt-area {
    margin: 0 0 16px 0;
    padding: 0 16px;
}

.txt-area ul {
    padding-left: 30px;
    padding-top: 20px;
}

.txt-area ul li {
    font-weight: bold;
    margin-bottom: 4px;
}

/* ===== 中央寄せ画像ブロック ===== */
.img-center {
    text-align: center;
    margin: 16px auto;
}

.img-center img {
    margin: 16px auto 0;
}

/* ===== 特長リスト ===== */
.feature-list {
    color: var(--acc);
}

/* ===== 特長テーブル ===== */
.kikaku {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    margin-bottom: 24px;
}

.kikaku th,
.kikaku td {
    border: 1px solid #000;
    padding: 6px 8px;
    vertical-align: top;
    text-align: left;
}

.kikaku th {
    background-color: var(--acc2);
}

/* ===== アンカー諸元・部材表 画像ブロック ===== */
.spec-block {
    text-align: center;
    margin: 0 auto 24px;
}

.spec-block img {
    margin: 0 auto 12px;
}


/* ===== 現場写真グリッド ===== */
.genba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px auto;
    width: 95%;
}

.genba-grid__item {
    text-align: center;
}

.genba-grid__item img {
    margin: 0 auto;
}

/* ===== ページ下部ナビ ===== */
.page-bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    margin: 5rem 0 2px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ユーティリティ ===== */
.bold    { font-weight: bold; }
.red     { color: #fe0000; }


/* EHD */
.spec-dl__bullet {
    color: var(--acc);
}
.spec-dl__item {
    margin: 1em 0;
}
.spec-dl__item dt {
    font-weight: bold;
    margin: .5em 0;
    border-bottom: 1px solid var(--acc);
}

.lineup-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5em;
}
.lineup-card p,
.lineup-card h4 {
    margin: 0;
}
.lineup-card__body {
    display: flex;
    align-items: top;
    gap: 3em;
}

.kanri-block {
    display: flex;
    justify-content: space-between;
    gap: 1em;    
}
.kanri-block__image {
    width: 299px;
}
.kanri-block__text {
    width: calc(100% - 299px - 1em);
}


/* jyokyo */
.jyokyo p {
    margin: 0;
}

.tokutyou {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
}

.tokutyou dt {
    width: 2em;
    background-color: #d9f2ff;
    text-align: center;
    color: #000080;
    font-weight: bold;
    border: 1px solid #000080;
}

.tokutyou dd {
    width: calc(100% - 3em);
    margin: 0;
}


.taika th,
.taika td {
    text-align: center;
}
.kikaku.taika thead th {
    background-color: #ffe6ff;
}
.kikaku.taika tbody th {
    background-color: #d9f2ff;
}
.kikaku.taika tbody th.j6-10 {
    background-color: #ffc;
}
.flex-kasetu {
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.kasetu-grid,
.sekou-grid {
    display: grid;
    width: fit-content;
    margin: 0 auto;
}

.kasetu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.sekou-grid {
    grid-template-columns: repeat(2, 300px);
    gap: 1rem;
}

.kasetu-type {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}






















/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    #wrapper {
        padding: 0 10px;
    }
    .menu-toggle {
		display: block;
		padding: 10px;
		background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
		border: 1px solid #ccc;
		border-bottom: 5px solid var(--accent);
		font-size: 14px;
		font-weight: bold;
		text-align: center;
		cursor: pointer;
		user-select: none;
    color: var(--accent);
	}

	.menu-toggle::after {
		content: ' ▼';
		font-size: 0.8em;
	}

	.menu-toggle.active::after {
		content: ' ▲';
	}

	#globalnavi2 ul {
		display: none;
		flex-direction: column;
	}

	#globalnavi2 ul.active {
		display: flex;
	}

	#globalnavi2 li {
		width: 100%;
		border-left: none;
		border-top: 1px solid #ffffff;
	}

	#globalnavi2 li:first-child {
		border-top: none;
	}

	#globalnavi2 a {
		height: auto;
		line-height: 1.4;
		padding: 10px;
    font-size: 14px;
	}


    .page-nav {
        display: flex;
        flex-wrap: wrap;
    }
    .catch-box {
        margin-left: 0;
        flex-direction: column;
    }
    .catch-box__text .catch {
        font-size: 1.1em;
    }

    .flex-ehd,
    .lineup-card__body,
    .kanri-block,
    .lineup-card__header,
    .flex-kasetu {
        flex-direction: column;
        align-items: center;
    }

    .kikaku-wrap {
        overflow-y: scroll;
    }

    .kanri-block__text {
        width: 100%;
    }

    .genba-grid {
    grid-template-columns: 1fr;
    width: 100%;
    }

    .page-bottom-nav {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    }

    .kikaku {
    font-size: 0.78em;
    }

    .sekou-grid,
    .kasetu-grid {
        grid-template-columns: 1fr;
    }
}