/* Icofont font-face override to fix path */
@font-face {
	font-family: IcoFont;
	font-weight: 400;
	font-style: Regular;
	src: url(../fonts/icofont/fonts/icofont.woff2) format("woff2"), url(../fonts/icofont/fonts/icofont.woff) format("woff");
}

/* content pattern 1: vertical label + stacked body */
.content-pattern-1 {
	display: flex;
	align-items: flex-start;
	gap: 28px;
}

/* Blue overlay for jarallax sections */
.overlay-blue {
	position: relative;
}

.overlay-blue::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 80, 180, 0.45);
	mix-blend-mode: multiply;
	pointer-events: none;
	z-index: 1;
}

.overlay-blue > .container,
.overlay-blue > .container-fluid {
	position: relative;
	z-index: 2;
}

.content-pattern-1__label {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	letter-spacing: 0.7em;
	transform: rotate(180deg);
	display: inline-flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 180px;
	font-size: var(--h3-font-size);
	line-height: var(--lh-1-8);
	font-family: var(--heading-font);
	font-weight: var(--heading-font-weight);
}

.content-pattern-1__label .accent {
	color: var(--secondary-color);
}

/* first-letter utility (override color/size via inline CSS vars per word) */
.catch-001 {
	--first-letter-color: var(--color-gold-500);
}
.catch-002 {
	--first-letter-color: var(--color-green-500);
}
.catch-003 {
	--first-letter-color: var(--color-orange-500);
}
.catch-004 {
	--first-letter-color: var(--tertiary-color);
}
.catch-001-about {
	color: var(--color-gold-500);
	font-weight: bold;
}
.catch-002-about {
	color: var(--color-green-500);
	font-weight: bold;
}
.catch-003-about {
	color: var(--color-orange-500);
	font-weight: bold
}
.catch-004-about {
	color: var(--tertiary-color);
	font-weight: bold;
}

.catch-001::first-letter,
.catch-002::first-letter,
.catch-003::first-letter,
.catch-004::first-letter {
	color: var(--first-letter-color);
	font-size: var(--first-letter-size);
}

.content-pattern-1__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* simple vertical divider for headings */
.heading-line-vertical {
	width: 2px;
	height: 50px;
	background-color: currentColor;
	margin: 16px auto 32px;
	opacity: 0.85;
	border-radius: 1px;
}

/* simple horizontal divider for headings */
.heading-line-horizontal {
	width: 60px;
	height: 2px;
	background-color: currentColor;
	margin: 16px auto 32px;
	opacity: 0.85;
	border-radius: 1px;
}

@media (max-width: 991px) {
	.content-pattern-1 {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 16px;
	}

	.content-pattern-1__label {
		writing-mode: vertical-rl;
		text-orientation: mixed;
		letter-spacing: 0.7em;
		transform: rotate(180deg);
		min-height: 180px;
	}

	.content-pattern-1__body {
		align-items: center;
	}
}

/* crossfade between paired hero images */
.fade-loop-imgs {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.fade-loop-imgs img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	animation: fadeLoop 12s ease-in-out infinite;
}

.fade-loop-imgs img:nth-child(2) {
	animation-delay: 6s;
}

.fade-loop-imgs img:first-child {
	opacity: 1;
}

@keyframes fadeLoop {
	0%,
	40% { opacity: 1; }
	50%,
	90% { opacity: 0; }
	100% { opacity: 1; }
}

/* Inline white background sized to text only */
.text-bg-inline {
	display: inline-block;
	background: #fff;
	padding: 4px 10px;
	border-radius: 6px;
}

/* Darker chip-style background for subtitles */
.subtitle-bg {
	display: inline-block;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	padding: 6px 14px;
	border-radius: 10px;
}



/* News Section - Cleaned */

/* ========================================
	News Top - 新規作成
	======================================== */
.news-top {
  width: 100%;
  height: 220px;
  overflow: auto;
  overflow-x: hidden;
}

.news-top dl {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
	gap: 10px;
  border-bottom: 1px solid var(--tertiary-color);
  padding: 15px 0;
  margin: 0;
}

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

.news-top dt {
  flex: 0 0 25%;
  width: 25%;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.news-top dd {
  flex: 1;
  margin: 0;
  padding: 0;
}

.news-top dt a,
.news-top dd a {
  text-decoration: none;
  color: inherit;
}

/* タブレット以下 */
@media (max-width: 768px) {
  .news-top dl {
    flex-direction: column;
    gap: 8px;
  }
  
  .news-top dt {
    width: 100%;
  }
  
  .news-top dd {
    width: 100%;
  }
}

/* about/company table */
.hdg3 {
	position: relative;
	display: inline-block;
	padding: 0 3em 0 0;
	margin: 2rem 0 1rem;
	text-align: left;
	font-size: 1.2rem;
	font-weight: bold;
}

.hdg3::before {
	display: none;
}

.hdg3::after {
	content: '';
	background: #4c9ac0;
	width: 2em;
	height: 3px;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
}

.hdg4 {
	margin: 1.5rem 0 .5rem;
	font-size: 1.05rem;
	font-weight: bold;
	border-bottom: 3px solid var(--color-gold-500, var(--tertiary-color));
	padding: 0.3em;
	position: relative;
}

.tb01 {
	border-collapse: collapse;
	width: 100%;
}

.tb01 th,
.tb01 td {
	padding: 10px;
	border: solid 1px #d1d6df;
	text-align: left;
	box-sizing: border-box;
}

.tb01 th {
	background: var(--color-gray-150, #f4f4f4);
	color: #222;
}

@media screen and (max-width: 640px) {
	.tb01 {
		width: 100%;
	}

	table.tb01 th,
	table.tb01 td {
		display: block;
		width: 100%;
		border-bottom: none;
	}

	.tb01 tr:last-child {
		border-bottom: solid 1px #ccc;
	}
}

/* permits/registrations table */
.tb02 {
	border-collapse: collapse;
	width: 100%;
}

.tb02 th,
.tb02 td {
	padding: 10px;
	border: solid 1px #d1d6df;
	text-align: left;
	box-sizing: border-box;
}

.tb02 th {
	background: #eef5ff;
	color: #1b2a3a;
}

.tb02 th[scope="row"] {
	width: 32%;
	white-space: nowrap;
	background: #dbeaff;
	color: #1c3a4f;
}

@media screen and (max-width: 640px) {
	.tb02 {
		width: 100%;
	}

	.tb02 th,
	.tb02 td {
		display: block;
		width: 100%;
		border-bottom: none;
	}

	.tb02 tr:last-child {
		border-bottom: solid 1px #ccc;
	}
}
.new-pdf {
	display:inline-block;
	background: var(--color-gray-750);
	padding:10px 30px;
	text-align:center;
	color: var(--tertiary-color);
	margin:5px;
	border:1px solid;
	cursor:pointer;
    font-weight: 600;
    font-size: 1.25em;
    border: none;
    border-radius: 5px;
	line-height: 200%;
	width: 150px;
}
.new-pdf span {
	line-height: 180%;
    font-size: 1em;
}
.new-pdf a:hover {
    background-color: var(--color-gray-750);
    color: var(--color-black);
}
.new-link {
	display:inline-block;
	background: var(--color-gray-750);
	padding:10px 30px;
	text-align:center;
	color: var(--tertiary-color);
	margin:5px;
	border:1px solid;
	cursor:pointer;
    font-weight: 600;
    font-size: 1.25em;
    border: none;
    border-radius: 5px;
	line-height: 200%;
	width: 150px;
}
.new-link span {
	line-height: 180%;
    font-size: 1em;
}
.new-link:hover {
    background-color: var(--color-gray-750);
    color: var(--color-black);
}

/* business cards */
.business-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 36px;
	align-items: stretch;
}

.business-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--color-gray-200, #f2f2f2);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.business-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.business-card__image {
	width: 100%;
	height: 180px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.business-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.business-card__body h3 {
	margin: 0;
	font-size: 1.15rem;
}

.business-card__body p {
	margin: 0;
	line-height: 1.6;
	color: var(--color-gray-700, #4a4a4a);
}

.business-card__btn {
	margin-top: auto;
	display: inline-block;
	padding: 10px 16px;
	border-radius: 999px;
	text-decoration: none;
	background: var(--primary-color, #48b1fb);
	color: #fff;
	font-weight: 600;
	text-align: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.business-card__btn:hover {
	background: var(--tertiary-color, #436ba4);
	transform: translateY(-1px);
}

/* steel use case cards spacing */
.business-use-cards {
	--bs-gutter-x: 3rem;
	--bs-gutter-y: 3rem;
}



    /* Vertical pill links matching the provided sample */
    .info-pill-wrap {
        display: flex;
        gap: 24px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

	/* Keep two columns on tablets (768-1024px) */
	@media (max-width: 1024px) and (min-width: 768px) {
		.info-pill-wrap {
			flex-wrap: nowrap;
		}
		.info-pill {
			width: 200px;
			height: 340px;
			border-radius: 100px;
		}
	}

    .info-pill {
        width: 220px;
        height: 380px;
        border-radius: 110px;
		background: #d8d8d8;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		position: relative;
		overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

	.info-pill:hover {
		transform: scale(1.02);
		box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
	}

    @media (max-width: 576px) {
        .info-pill {
            width: 180px;
            height: 300px;
            border-radius: 90px;
        }
    }

	/* Background assignments */
	.info-pill.info-pill-faq {
		background-image:
			linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
			url("../images/index/picup-01.png");
	}

	.info-pill.info-pill-csr {
		background-image:
			linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
			url("../images/index/picup-02.png");
	}

	/* Info pill text */
	.info-pill__label {
		position: relative;
		color: #0b0b0b;
		font-size: 23px; /* PC */
		font-weight: 600;
		letter-spacing: 0.1em;
		writing-mode: vertical-rl;
		text-orientation: upright;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
		background-color: rgba(255, 255, 255, 0.6);
		padding: 10px;
		border-radius: 10px;
	}

	@media (max-width: 1024px) and (min-width: 768px) { /* Tablet */
		.info-pill__label {
			font-size: 20px;
		}
	}

	@media (max-width: 767px) { /* Phone */
		.info-pill__label {
			font-size: 18px;
		}
	}

/* Swap to dark logo when header shrinks on scroll */
header.header-light .logo-scroll {
	display: none;
}

header.header-light.smaller .logo-main {
	display: none;
}

header.header-light.smaller .logo-scroll {
	display: inline-block;
}


/* Page Title */
.heading-28 {
    color: #333333;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: .04em;
    text-align: center;
	font-family: var(--heading-font);
}

.heading-28::before {
    display: block;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.9;
    letter-spacing: .02em;
    content: attr(data-label);
	margin-bottom: 15px;;
}

.heading-28 span {
	display: inline-flex;
	align-items: center;
	margin-left: 15px;
    font-size: 1.2rem;
}

.heading-28 span::before {
	content: "-";
	margin-right: 10px;
}

.heading-28 span::after {
	content: "-";
	margin-left: 10px;
}

/* About section menu tiles */
.about-menu-bar {background:#cfe6fb; border-radius:18px; padding:14px 10px; width:100%; margin:0 auto;}
.about-menu-rail {gap:12px; width:100%;}
.about-menu-tile {flex:1 1 0; min-width:120px; padding:14px; border:1px solid #b7d5f5; border-radius:12px; background:rgba(255,255,255,0.5); color:#4f6074; text-align:center; text-decoration:none; display:flex; align-items:center; justify-content:center; height:90px;}
.about-menu-tile:hover {box-shadow:0 10px 24px rgba(0,0,0,0.08); transform:translateY(-2px); transition:all .2s ease;}
.about-menu-active {background:#e8f3ff; border-color:#d6e6fb; box-shadow:0 8px 20px rgba(0,0,0,0.06);}
.about-menu-label {background:transparent; border-color:transparent; box-shadow:none; cursor:default;}
.about-menu-label:hover {box-shadow:none; transform:none;}

/* Bottom navigation (mobile) */
.bottom-nav {position:fixed; bottom:0; left:0; right:0; height:64px; background:#ffffff; box-shadow:0 -6px 18px rgba(0,0,0,0.08); display:none; z-index:1100; border-top:1px solid #e3e7ed;}
.bottom-nav .nav-item {flex:1; text-align:center; text-decoration:none; color:#4f6074; font-size:12px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:18px 4px 8px;}
.bottom-nav .nav-item .icon {font-size:20px; line-height:1;}
.bottom-nav .nav-item.active, .bottom-nav .nav-item:hover {color:#0b74de;}

/* Footer background overlay */
.footer-bg {position:relative; background:url('../images/footer-back.webp') center center/cover no-repeat; color:#ffffff;}
.footer-bg::before {content:""; position:absolute; inset:0; background:rgba(0,0,0,0.55);}
.footer-bg .container, .footer-bg .subfooter {position:relative; z-index:1;}

/* Footer background color */
footer.section-dark,
footer.section-dark .subfooter {
	background: var(--secondary-color);
}

/* Footer text/link color = body font color */
footer.section-dark,
footer.section-dark p,
footer.section-dark a,
footer.section-dark .widget,
footer.section-dark .widget a,
footer.section-dark .subfooter,
footer.section-dark .subfooter a {
	color: var(--body-font-color);
}

/* Ensure footer address and contact info are visible */
footer.section-dark p a {
	color: var(--body-font-color);
	text-decoration: none;
}

footer.section-dark p a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

/* Subheader light overlay for readability */
#subheader.overlay-light {position:relative;}
#subheader.overlay-light::before {content:""; position:absolute; inset:0; background:rgba(255,255,255,0.55);}
#subheader.overlay-light .container {position:relative; z-index:1;}

@media (max-width: 991px){
	.about-menu-tile{min-width:110px; height:100px;}
	.bottom-nav{display:flex;}
	body{padding-bottom:76px;}
	footer.section-dark{display:none;}
}

@media (max-width: 575px){
	.about-menu-bar{padding:12px 10px;}
	.about-menu-tile{min-width:100px; height:96px; padding:12px;}
}

/* President message spacing */
.president-message p {
	margin-bottom: 1em;
}

.company-name-philosophy {
	margin: 1.5em 0;
}

.company-name {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: .5em;
}

.philosophy-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.philosophy-list li {
	margin-bottom: .3em;
}

/* Timeline table for history page */
.timeline-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #d6dbe5;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 12px 32px rgba(12, 46, 87, 0.08);
}

.timeline-table col.timeline-year-col {
	width: 28%;
}

.timeline-table thead th {
	background: #f3f7fb;
	color: #2c3a4b;
	padding: 14px 16px;
	font-weight: 700;
	letter-spacing: .02em;
	border-bottom: 1px solid #d6dbe5;
}

.timeline-table tbody th,
.timeline-table tbody td {
	padding: 14px 16px;
	vertical-align: top;
	border-bottom: 1px solid #e6ebf2;
}

.timeline-table tbody tr:nth-child(odd) {
	background: #fbfdff;
}

.timeline-table tbody tr:last-child th,
.timeline-table tbody tr:last-child td {
	border-bottom: none;
}

.timeline-table th[scope="row"] {
	font-weight: 700;
	color: #1e3a56;
	white-space: nowrap;
}

.timeline-badge {
	display: inline-flex;
	gap: 8px;
	align-items: baseline;
}

.timeline-era {
	font-size: 0.98rem;
	font-weight: 700;
}

.timeline-month {
	font-size: 0.9rem;
	color: #47668c;
}

.timeline-table td {
	color: #2f3e51;
	line-height: 1.7;
}

@media (max-width: 640px) {
	.timeline-table col.timeline-year-col {
		width: 36%;
	}

	.timeline-table tbody th,
	.timeline-table tbody td {
		display: block;
		width: 100%;
		border-bottom: none;
	}

	.timeline-table tbody tr {
		display: block;
		border-bottom: 1px solid #e6ebf2;
	}

	.timeline-table tbody tr:last-child {
		border-bottom: none;
	}

	.timeline-table tbody td {
		padding-top: 0;
	}
}

/* CSR page base spacing */

.linkRow {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 12px 0 4px;
}

.facts {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
}

.facts li {
	padding: 6px 0;
	border-bottom: 1px solid #e8ecf2;
}

.facts li:last-child {
	border-bottom: none;
}

.photoGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin: 12px 0 4px;
}

.photoGrid figure {
	margin: 0;
	background: #f8fafc;
	border: 1px solid #e3e8ef;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.photoGrid img {
	display: block;
	width: 100%;
	height: auto;
}

.photoGrid figcaption {
	padding: 10px 12px;
	font-size: 0.95rem;
	color: #435167;
}

.sdgsGrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.sdgsGrid img {
	width: 100%;
	height: auto;
	border: 1px solid #e1e6ed;
	border-radius: 8px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
	background: #fff;
}

.framed-list {
	list-style: decimal inside;
	padding: 14px 18px;
	margin: 12px auto 0;
	width: 500px;
	max-width: 100%;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 2px solid #d7dbe5;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.framed-list li {
	margin: 0 0 8px 0;
	font-weight: 600;
	color: #2f3e51;
}

.framed-list li:last-child {
	margin-bottom: 0;
}

/* 共通：リンクボタン（スタイル） */
.btnLink {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: 4px 0;
	border: none;
	background: transparent;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
	font-weight: 600;
	letter-spacing: .02em;
	transition: color .12s ease;
}

.btnLink:hover {
	color: var(--primary-color, #0b74de);
}

.btnLink:focus {
	outline: 2px solid rgba(12, 104, 171, .35);
	outline-offset: 3px;
}

.btnLink .ico {
	width: 1rem;
	height: 1rem;
	flex: 0 0 auto;
	display: inline-block;
	color: #6b7380;
}

.btnLink.-dark {
	color: inherit;
}

/* business-tags.css */

/* Utility: fixed-height cover images for cards */
.img-cover-220 {
	height: 220px;
	object-fit: cover;
}

.business-use-cards .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  margin-top: 0.5rem;
}

.business-tag {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  line-height: 1.2;
  background: #f2f6ff;
  color: #0c2d66;
  border: 1px solid #d7e2ff;
  white-space: nowrap;
}

.business-tag:hover {
  background: #e8f0ff;
  border-color: #c6d6ff;
}

/* カードが詰まりすぎる場合の調整 */
@media (max-width: 576px) {
  .business-tag {
    font-size: 0.78rem;
    padding: 0.22rem 0.5rem;
  }
}

/* Manufacturer note styling across business detail pages */
.business-use-cards + .small.text-muted.text-center {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 960px;
	margin: 100px auto 0 !important;
	padding: 14px 18px;
	background: linear-gradient(135deg, #f9fbff 0%, #f2f6ff 100%);
	border: 1px solid #d9e4ff;
	border-radius: 14px;
	color: #2f3e51;
	box-shadow: 0 10px 24px rgba(12, 46, 87, 0.08);
	line-height: 1.6;
}

@media (max-width: 576px) {
	.business-use-cards + .small.text-muted.text-center {
		flex-direction: column;
		text-align: center;
		gap: 6px;
		padding: 12px 14px;
		margin-top: 28px;
	}
}

/* ================================================== */
/* 業務ページ用スタイル */
/* ================================================== */

/* 業務カードタイトル */
.works-meta dt { 
  white-space: nowrap; 
}

.works-meta dd { 
  word-break: break-word; 
}

/* 業務一覧テーブル */
.works-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 100%;
}

table.works-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  margin: 0 auto;
}

table.works-table th,
table.works-table td {
  padding: 0.75rem;
  vertical-align: top;
  white-space: nowrap;
}

table.works-table thead th {
  font-weight: 600;
  white-space: nowrap;
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  text-align: center;
}

table.works-table tbody td {
  text-align: left;
}

/* ストライプ行 */
table.works-table.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

.works-year {
  display: inline-block;
  margin-right: 0.4rem;
  font-weight: 600;
  white-space: nowrap;
}

/* 業務カード画像の高さ調整 */
.img-cover-220 {
  height: 220px;
  object-fit: cover;
  object-position: center;
}

/* 業務カードのスタイル調整 */
.works-cards .card {
  overflow: hidden;
}

.works-cards .card-body {
  padding: 1.25rem;
}

.works-meta {
  background-color: #f8f9fa;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 0;
}

.works-meta .d-flex {
  padding: 0.25rem 0;
}

.works-meta dt {
  color: #6c757d;
  font-size: 0.875rem;
}

.works-meta dd {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .img-cover-220 {
    height: 180px;
  }
  
  .works-cards .card-body {
    padding: 1rem;
  }
  
  .works-meta {
    padding: 0.6rem;
  }
  
  .works-meta .d-flex {
    gap: 1rem !important;
  }
}

@media (max-width: 576px) {
	/* スマホでは写真を縦並びにする */
  .works-cards .card .row.g-0 .col-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .img-cover-220 {
    height: 200px;
  }
  
  .works-cards .card-body {
    padding: 1rem;
  }
  
  .works-cards .card {
    margin-bottom: 1.5rem;
  }
  
  .works-meta {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  .works-meta dt {
    min-width: 4em !important;
    font-size: 0.8rem;
  }
  
  .works-meta dd {
    font-size: 0.85rem;
  }
  
  .works-cards .h5 {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* ================================================== */
/* 採用ページ用スタイル */
/* ================================================== */

/* タブナビゲーション */
.recruit-tabs {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #e3e8ef;
  margin-bottom: 0;
  gap: 8px;
}

.recruit-tabs .nav-item {
  margin-bottom: -2px;
}

.recruit-tabs .nav-link {
  min-width: 140px;
  padding: 14px 28px;
  border: none;
  border-radius: 10px 10px 0 0;
  background: #f4f6f9;
  color: #5a6472;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.2s ease;
  text-align: center;
}

.recruit-tabs .nav-link:hover {
  background: #e8ecf2;
  color: #2f3e51;
}

.recruit-tabs .nav-link.active {
  background: #fff;
  color: var(--primary-color, #0b74de);
  border-bottom: 3px solid var(--primary-color, #0b74de);
}

@media (max-width: 576px) {
  .recruit-tabs .nav-link {
    min-width: 100px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

/* タブコンテンツ */
.recruit-tab-content {
  background: #fff;
  padding: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* 採用詳細セクション */
.recruit-detail-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9fbfc;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
}

.recruit-detail-section h4 {
  margin-top: 0;
}

.recruit-detail-section ul {
  margin: 0;
  padding-left: 1.5rem;
}

.recruit-detail-section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.recruit-detail-section p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.recruit-detail-section p:last-child {
  margin-bottom: 0;
}

/* 採用情報がありません */
.recruit-not-hiring {
  text-align: center;
  padding: 80px 20px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit-not-hiring p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6b7380;
  margin: 0;
  padding: 24px 40px;
  background: #f8f9fa;
  border: 2px solid #e3e8ef;
  border-radius: 12px;
}

@media (max-width: 576px) {
  .recruit-not-hiring {
    padding: 60px 20px;
  }
  
  .recruit-not-hiring p {
    font-size: 1.2rem;
    padding: 20px 30px;
  }
}

/* ================================================== */
/* 採用情報ページ用スタイル */
/* ================================================== */

.job-detail {
	/* ページ用ラッパー */
}

/* 仕事セクション */
.job-section {
  background: #fff;
}

.job-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2f3e51;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-color, #0b74de);
  display: flex;
  align-items: center;
  gap: 12px;
}

.job-icon {
  font-size: 2.2rem;
  color: var(--primary-color, #0b74de);
}

/* 仕事内容（画像） */
.job-image-wrap {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.job-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 仕事内容 */
.job-description {
  background: #f9fbfc;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.job-description p {
  margin: 0;
  font-size: 1.05rem;
  color: #2f3e51;
}

/* アコーディオン */
.job-accordion {
  margin-bottom: 2rem;
}

.job-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

.job-accordion-trigger:hover {
  background: linear-gradient(135deg, #357abd 0%, #2a5f99 100%);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
  transform: translateY(-2px);
}

.job-accordion-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-accordion-label i {
  font-size: 1.4rem;
}

.job-accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.job-accordion-trigger[aria-expanded="true"] .job-accordion-icon {
  transform: rotate(180deg);
}

.job-accordion-content {
  margin-top: 1rem;
}

.job-accordion-inner {
  background: #fff;
  border: 2px solid #e3e8ef;
  border-radius: 16px;
  padding: 2rem;
}

/* アコーディオン見出し */
.job-sub-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2f3e51;
  margin: 2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-sub-heading:first-child {
  margin-top: 0;
}

.job-sub-heading i {
  font-size: 1.5rem;
  color: var(--primary-color, #0b74de);
}

/* テキストスタイル */
.job-flow-list,
.job-fit-list,
.job-reward-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.job-flow-list li,
.job-fit-list li,
.job-reward-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #e8ecf2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}
/* News Top Styles (ニューストップ) */
.news-top{
  width:100%;
  height:220px;
  overflow:auto;
  overflow-x:hidden;
}

/* 1件分を1行として扱う */
.news-top dl,
.topnews.news-top dl{
  border-bottom:1px solid var(--tertiary-color);
  padding-bottom:15px;
  margin-bottom:0px;

	display:flex;
	align-items:center;       /* 縦位置を揃える */
	gap:10px;
  flex-wrap:nowrap;
}

.news-top dl:last-child,
.topnews.news-top dl:last-child{
  border-bottom:none;
  margin-bottom:0;
}

/* dt / dd のデフォルトを外す（旧CSSのfloat対策） */
.news-top dt,
.topnews.news-top dt,
.news-top dd,
.topnews.news-top dd{
	text-align: left;
  float:none;
  margin:0;
  padding:0;
  width:auto;
}

/* a を block にしない・クリック範囲の確保 */
.news-top dt a,
.topnews.news-top dt a,
.news-top dd a,
.topnews.news-top dd a{
	display:inline-block;     /* 必要な長さだけ。blockにしない */
  max-width:100%;
  text-decoration:none;
}

/* PC：dt 25% / dd 75% */
@media (min-width:769px){
  .news-top dt,
  .topnews.news-top dt{
    flex:0 0 25%;
    max-width:25%;
    font-weight:bold;
	white-space:nowrap;     /* 折り返さない */
  }

  .news-top dd,
  .topnews.news-top dd{
	flex:1;                 /* 75%を占める */
	min-width:0;            /* flex内のはみ出し対策（重要） */
  }

	/* タイトルが長い場合の処理（必要なら） */
  .news-top dd a,
  .topnews.news-top dd a{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

/* タブレット以下：dt と dd を2行 */
@media (max-width:768px){
  .news-top dl,
  .topnews.news-top dl{
    display:block;
  }

  .news-top dt,
  .topnews.news-top dt{
    display:block;
    margin-bottom:8px;
    width:100%;
  }

  .news-top dd,
  .topnews.news-top dd{
    display:block;
    width:100%;
  }

	/* モバイルは省略しない */
  .news-top dd a,
  .topnews.news-top dd a{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
  }
}


.job-flow-list li:last-child,
.job-fit-list li:last-child,
.job-reward-list li:last-child {
  border-bottom: none;
}

.job-flow-list li i,
.job-fit-list li i,
.job-reward-list li i {
  font-size: 1.3rem;
  color: var(--primary-color, #0b74de);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 先輩の声リンク */
.job-voice-link {
  text-align: center;
  margin-top: 3rem;
}

.job-voice-link .btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1.1rem;
}

.job-voice-link .btn-main i {
  font-size: 1.3rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .job-section-title {
    font-size: 1.4rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .job-icon {
    font-size: 1.8rem;
  }

  .job-description {
    padding: 1.5rem;
  }

  .job-accordion-trigger {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .job-accordion-inner {
    padding: 1.5rem;
  }

  .job-sub-heading {
    font-size: 1.1rem;
  }

  .job-flow-list li,
  .job-fit-list li,
  .job-reward-list li {
    font-size: 0.95rem;
  }
}

/* strong を横並びにしない */
.news-top dt strong,
.topnews.news-top dt strong,
.news-top dd strong,
.topnews.news-top dd strong,
.news-top dt a strong,
.topnews.news-top dt a strong,
.news-top dd a strong,
.topnews.news-top dd a strong{
  display:inline !important;
  float:none !important;
}


.barh3 {
    padding:0 .4em .2em;
    border-bottom: 3px dashed var(--primary-color);
    background-color: #ffffff;
    color: #333333;
	margin-bottom: 30px;
}

/* ======================================
   施工事例 Before/After スタイル
   ====================================== */

.project-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color, #B0342C);
    position: relative;
}

.project-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color, #B0342C);
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.before-after-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.before-after-item:hover {
    transform: scale(1.05);
}

.before-after-label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    border-radius: 4px;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.before-label {
    background: rgba(220, 53, 69, 0.9);
}

.after-label {
    background: rgba(40, 167, 69, 0.9);
}

.before-after-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.before-after-item:hover .before-after-image {
    transform: scale(1.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .project-card {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .before-after-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .before-after-label {
        top: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .project-card {
        padding: 15px;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
}

/* ======================================
   新着情報ページ用ボタンスタイル
   ====================================== */

/* PDF ダウンロードボタン - tertiary-color使用 */
.btn-news-pdf {
    display: inline-block;
    background: var(--tertiary-color, #3F5D4A);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(63, 93, 74, 0.2);
}

.btn-news-pdf:hover {
    background: #2d4335;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(63, 93, 74, 0.3);
    transform: translateY(-2px);
}

/* リンクボタン - primary-color使用 */
.btn-news-link {
    display: inline-block;
    background: var(--primary-color, #B0342C);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(176, 52, 44, 0.2);
}

.btn-news-link:hover {
    background: #8b2820;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(176, 52, 44, 0.3);
    transform: translateY(-2px);
}

/* ====================================== */
/* ギャラリースタイル */
/* ====================================== */

/* ギャラリーアイテムのスタイル */
.gallery-item {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 8px;
    aspect-ratio: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* ホバー時の画像拡大 */
.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* オーバーレイ */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.2);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .gallery-wrapper {
        aspect-ratio: 1.2;
    }

    .gallery-overlay i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gallery-wrapper {
        aspect-ratio: auto;
        min-height: 250px;
    }

    .gallery-overlay i {
        font-size: 1.5rem;
    }
}

/* data-label PROJECT text color */
h2[data-label="PROJECT"] {
    color: #000000 !important;
}

/* Breadcrumb active item text color */
.breadcrumb-item.active {
    color: #000000 !important;
}