.busi_body {
	font-family: 'Oswald', sans-serif;
	margin-top: 100px;
	margin-bottom: 50px;
	width: 90%;
	margin: auto;
}

.busi_header {
	padding: 0;
	text-align: center;
}

.busi_header h1 {
	font-size: 1.8em;
	line-height: 2.2rem;
	margin: 5rem;
}

.busi_header h2 {
	font-size: 1.3em;
	margin: 3rem;
}

.industry-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.industry-card {
	background: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.3s;
}

.industry-card a {
	text-decoration: none;
}

.industry-card:hover {
	transform: translateY(-5px);
}

.industry-card img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

.industry-card .content {
	padding: 20px;
}

.industry-card h3 {
	margin-top: 0;
	font-size: 1.3em;
	padding-left: 0px;
	margin: 20px 0px;
}

.industry-card h4 {
	font-size: 0.8em;
	background-color: #014495;
	color: white;
	padding: 0.1em 0.5em;
	display: inline-block;
	margin: 10px 0;
}

.industry-card p {
	font-size: 0.95em;
	margin-bottom: 1em;
}

.industry-card a:visited {
	color: #000;
	/* 通常時と同じ色を指定 */
	text-decoration: none;
	/* 下線なし */
}

.button-container {
	/* 親要素のクラス名（例）*/
	display: flex;
	justify-content: flex-end;
}

.btn {
	background: #c00;
	color: white;
	padding: 3px 7px;
	text-decoration: none;
	border-radius: 5px;
	font-size: 0.7em;
}

/*事業技術ページ用 */
.busi_tech_list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.busi_tech-card {
	background: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.busi_tech-card .content {
	padding: 20px;
}

.busi_tech-card img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

.busi_tech-card h3 {
	margin-top: 0;
	font-size: 1.3em;
	padding-left: 0px;
	margin: 20px 0px;
}

/* =========================================
   テーブル・その他ユーティリティ
   ========================================= */

.skills-table {
	width: 100%;
	margin: auto;
	border-collapse: collapse;
	border: 1px solid #ccc;
	font-size: 0.8rem;
}

.skills-table th,
.skills-table td {
	border: 1px solid #ccc;
	padding: 12px;
	text-align: left;
}

.skills-table th {
	background-color: #f2f2f2;
	font-weight: bold;
}

.skills-table tr:nth-child(even) {
	background-color: #f9f9f9;
}

.skills-table td.year {
	font-weight: bold;
	vertical-align: top;
}


@media (min-width: 601px) {
	.busi_body {
		max-width: 80%;
	}

	.busi_tech_list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(333px, 1fr));
		gap: 30px;
	}

	.skills-table {
		font-size: 1.0rem;
		line-height: 1.2rem;
		width: 80%;
	}

}

/* Custom Grid for index.html */
.index-tech-grid {
    display: grid !important;
    margin: 0 auto;
}

/* PC Version: 80% width, 6 columns, 2 rows */
@media screen and (min-width: 1000px) {
    .index-tech-grid {
        width: 80% !important;
        grid-template-columns: repeat(6, 1fr) !important;
        grid-column-gap: 20px;
        grid-row-gap: 30px;
        grid-template-rows: repeat(2, auto);
    }
}

/* Mobile Version: 100% width, 3 columns */
@media screen and (max-width: 999px) {
    .index-tech-grid {
        width: 100% !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(3, auto);
        grid-column-gap: 10px;
        grid-row-gap: 15px;
    }
}

/* Adjust card styling slightly for the smaller grid */
.index-tech-grid .busi_tech-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
    width: 100% !important; /* Override flex basis from busi_00.css */
}

.index-tech-grid .busi_tech-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.index-tech-grid .busi_tech-card .content {
    padding: 10px 5px !important;
    text-align: center;
    flex-grow: 1;
}

.index-tech-grid .busi_tech-card h3 {
    font-size: 14px !important;
    margin: 0;
    line-height: 1.3;
}

@media screen and (max-width: 600px) {
    .index-tech-grid .busi_tech-card h3 {
        font-size: 11px !important;
    }
}


/* Style for the anchor links on index tech grid */
.busi_tech-card-link {
    transition: transform 0.2s ease;
}
.busi_tech-card-link:hover .busi_tech-card {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Offset anchor scroll position in business_technology.html so it centers */
.busi_tech_list .busi_tech-card {
    scroll-margin-top: 30vh;
}
