.kobayashi-standard-page .siteContent,
.kobayashi-standard-page .container,
.kobayashi-standard-page .siteContent .mainSection {
	max-width: none;
	padding: 0;
}

.kobayashi-standard-page .entry-body,
.kobayashi-standard-page .entry-content > *:first-child {
	margin-top: 0;
}

.kobayashi-standard-page .entry-content h2,
.kobayashi-standard-page .entry-content h3 {
	color: var(--kobayashi-dark);
}

.kobayashi-standard-page .entry-content p,
.kobayashi-standard-page .entry-content li {
	line-height: 1.9;
}

.kobayashi-company-page .siteContent,
.kobayashi-company-page .container,
.kobayashi-company-page .siteContent .mainSection,
.kobayashi-products-page .siteContent,
.kobayashi-products-page .container,
.kobayashi-products-page .siteContent .mainSection {
	max-width: none;
	padding: 0;
}

.kobayashi-company-page .kobayashi-shell {
	width: min(calc(100% - clamp(64px, 9vw, 180px)), 1280px);
}

.kobayashi-company-page h2 {
	padding-top: 0;
	border-top: 0;
}

.kobayashi-company-page h2::before,
.kobayashi-company-page h2::after {
	content: none !important;
	display: none !important;
}

.kobayashi-company-page .kobayashi-section {
	padding: 56px 0;
}

.kobayashi-company-section {
	border-bottom: 1px solid #e5e7eb;
}

.kobayashi-company-section--message,
.kobayashi-company-section--history,
.kobayashi-company-section--policy {
	background: #f8fafc;
}

.kobayashi-company-section--overview,
.kobayashi-company-section--business {
	background: #fff;
}

.kobayashi-company-section__title {
	margin-bottom: 32px;
}

.kobayashi-company-message {
	display: grid;
	grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
	gap: 40px;
	align-items: start;
}

.kobayashi-company-message__profile {
	display: grid;
	gap: 20px;
}

.kobayashi-company-message__photo {
	min-height: 420px;
	border: 2px solid var(--kobayashi-line);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}

.kobayashi-company-message__caption {
	text-align: center;
}

.kobayashi-company-message__group-photo {
	margin: 24px 0 0;
	overflow: hidden;
	border: 1px solid #d9e1ea;
	background: #fff;
}

.kobayashi-company-message__group-photo img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.kobayashi-company-message__org {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #4b5563;
}

.kobayashi-company-message__name {
	margin: 8px 0 0;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--kobayashi-dark);
}

.kobayashi-company-message__panel {
	padding: 40px 42px;
	background: #fff;
	border: 1px solid #d9e1ea;
}

.kobayashi-company-message__panel p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 2;
}

.kobayashi-company-overview__photo {
	margin-bottom: 28px;
	border: 2px solid var(--kobayashi-line);
	overflow: hidden;
	background: #fff;
}

.kobayashi-company-overview__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.kobayashi-history-slider {
	margin-bottom: 28px;
	overflow: hidden;
	border: 1px solid #d9e1ea;
	background: #fff;
}

.kobayashi-history-slider__track {
	display: flex;
	width: 350%;
	animation: kobayashi-history-slider-loop 42s linear infinite;
	will-change: transform;
}

.kobayashi-history-slider__slide {
	flex: 0 0 14.2857%;
	min-width: 14.2857%;
}

.kobayashi-history-slider__slide img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.kobayashi-company-page .kobayashi-card-grid[style*="repeat(12"],
.kobayashi-company-page .kobayashi-card-grid[style*="repeat(3"],
.kobayashi-products-page .kobayashi-card-grid[style*="repeat(3"],
.kobayashi-contact-page .kobayashi-card-grid[style*="repeat(2"] {
	align-items: stretch;
}

.kobayashi-products-page .kobayashi-shell {
	width: min(calc(100% - clamp(64px, 9vw, 180px)), 1280px);
}

.kobayashi-products-page h2 {
	padding-top: 0;
	border-top: 0;
}

.kobayashi-products-page h2::before,
.kobayashi-products-page h2::after {
	content: none !important;
	display: none !important;
}

.kobayashi-products-page .kobayashi-highlight-box {
	max-width: none;
	padding: 0;
	background: transparent;
	border-left: 0;
	box-shadow: none;
}

.kobayashi-products-page .kobayashi-highlight-box p {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.7;
}

.kobayashi-products-page .kobayashi-section {
	padding: 52px 0;
}

.kobayashi-products-page .kobayashi-products-contact-panel {
	padding: 16px 20px !important;
}

.kobayashi-products-page .kobayashi-products-contact-panel p {
	max-width: 34ch;
	margin: 0 auto;
	font-size: 20px;
	line-height: 1.6 !important;
	letter-spacing: -0.03em;
	text-align: center;
}

.kobayashi-products-section {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
	gap: 28px;
	align-items: start;
}

.kobayashi-products-section--reverse {
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.kobayashi-products-section--reverse .kobayashi-products-section__visual {
	order: 2;
}

.kobayashi-products-section__visual img {
	display: block;
	width: 100%;
	height: auto;
	border: 2px solid var(--kobayashi-line);
}

.kobayashi-products-section__visual--slider {
	overflow: hidden;
	border: 2px solid var(--kobayashi-line);
	background: #fff;
}

.kobayashi-products-section__visual--slider img {
	border: 0;
}

.kobayashi-products-slider {
	height: 100%;
	min-height: 100%;
	overflow: hidden;
}

.kobayashi-products-slider__track {
	display: flex;
	width: 800%;
	height: 100%;
	transform: translateX(-50%);
	animation: kobayashi-products-slider-loop 36s linear infinite;
	will-change: transform;
}

.kobayashi-products-slider__track--sea {
	width: 1600%;
	animation-duration: 48s;
}

.kobayashi-products-slider__track--other {
	width: 1200%;
	animation-duration: 42s;
}

.kobayashi-products-slider__slide {
	flex: 0 0 12.5%;
	min-width: 12.5%;
}

.kobayashi-products-slider__track--sea .kobayashi-products-slider__slide {
	flex-basis: 6.25%;
	min-width: 6.25%;
}

.kobayashi-products-slider__track--other .kobayashi-products-slider__slide {
	flex-basis: 8.3333%;
	min-width: 8.3333%;
}

.kobayashi-products-slider__slide img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
}

.kobayashi-products-section__content {
	display: grid;
	gap: 16px;
}

.kobayashi-products-block {
	padding: 22px 26px;
	background: #fff;
	border: 2px solid var(--kobayashi-line);
}

.kobayashi-products-block--merged {
	display: grid;
	gap: 12px;
	align-content: start;
}

.kobayashi-products-block h3 {
	margin: 0 0 12px;
	font-size: 1.3rem;
}

.kobayashi-products-block p {
	margin: 0 0 8px;
	line-height: 1.75;
}

.kobayashi-products-block p:last-child {
	margin-bottom: 0;
}

.kobayashi-products-block ul {
	margin: 0;
	padding-left: 1.3em;
}

.kobayashi-products-block li {
	margin-bottom: 6px;
	line-height: 1.7;
}

.kobayashi-products-block li:last-child {
	margin-bottom: 0;
}

@keyframes kobayashi-products-slider-loop {
	from {
		transform: translateX(-50%);
	}

	to {
		transform: translateX(0);
	}
}

.kobayashi-history-list {
	display: grid;
	gap: 12px;
}

.kobayashi-history-item {
	padding: 18px 22px;
	background: #fff;
	border: 1px solid #d9e1ea;
}

.kobayashi-history-item__body h3 {
	margin: 0 0 8px;
	color: var(--kobayashi-dark);
	font-size: 1.15rem;
	font-weight: 700;
}

.kobayashi-history-item__body p {
	margin: 0 0 6px;
	line-height: 1.7;
}

.kobayashi-history-item__body p:last-child {
	margin-bottom: 0;
}

.kobayashi-company-business-grid {
	gap: 24px;
}

.kobayashi-company-business-panel {
	padding: 30px 32px;
	border: 1px solid #d9e1ea;
	box-shadow: none;
}

.kobayashi-company-business-panel__title {
	margin: 0 0 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e7eb;
	font-size: 1.35rem;
}

.kobayashi-company-business-panel p {
	margin: 0;
	line-height: 1.85;
}

.kobayashi-company-business-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 24px;
}

.kobayashi-company-business-gallery__item {
	margin: 0;
	overflow: hidden;
	border: 1px solid #d9e1ea;
	background: #fff;
}

.kobayashi-company-business-gallery__item img {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.kobayashi-company-policy {
	max-width: 980px;
	padding: 40px 42px;
	background: #fff;
	border: 1px solid #d9e1ea;
}

.kobayashi-company-policy__intro,
.kobayashi-company-policy__outro {
	margin: 0;
	line-height: 1.9;
}

.kobayashi-company-policy__list {
	margin: 22px 0;
	padding-left: 1.4em;
}

.kobayashi-company-policy__list li {
	margin-bottom: 10px;
	line-height: 1.9;
}

.kobayashi-company-policy__list li:last-child {
	margin-bottom: 0;
}

@keyframes kobayashi-history-slider-loop {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 991.98px) {
	.kobayashi-company-page .kobayashi-shell {
		width: min(calc(100% - 32px), 1280px);
	}

	.kobayashi-products-page .kobayashi-shell {
		width: min(calc(100% - 32px), 1280px);
	}

	.kobayashi-company-page .kobayashi-card-grid[style*="repeat(12"],
	.kobayashi-company-page .kobayashi-card-grid[style*="repeat(3"],
	.kobayashi-products-page .kobayashi-card-grid[style*="repeat(3"],
	.kobayashi-contact-page .kobayashi-card-grid[style*="repeat(2"] {
		grid-template-columns: 1fr !important;
	}

	.kobayashi-company-message {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.kobayashi-history-slider__slide img {
		height: 200px;
	}

	.kobayashi-products-section,
	.kobayashi-products-section--reverse {
		grid-template-columns: 1fr;
	}

	.kobayashi-products-section--reverse .kobayashi-products-section__visual {
		order: 0;
	}

	.kobayashi-products-section__visual--slider {
		min-height: 320px;
	}

}

@media (max-width: 767.98px) {
	.kobayashi-company-page #business .kobayashi-card-grid {
		grid-template-columns: 1fr !important;
	}

	.kobayashi-products-page .kobayashi-products-contact-panel {
		padding: 14px 14px !important;
	}

	.kobayashi-products-page .kobayashi-products-contact-panel p {
		max-width: none;
		margin: 0;
		font-size: 16px;
		line-height: 1.55 !important;
		letter-spacing: -0.06em;
		text-align: left;
	}

	.kobayashi-company-page .kobayashi-section {
		padding: 44px 0;
	}

	.kobayashi-company-message__photo,
	.kobayashi-company-overview__photo {
		min-height: 260px;
	}

	.kobayashi-company-overview__photo {
		min-height: 0;
		background: transparent;
		border: 0;
	}

	.kobayashi-company-overview__photo img {
		width: 100%;
		height: auto;
	}

	.kobayashi-company-message__group-photo img {
		height: auto;
		max-height: 180px;
		object-fit: contain;
		background: #fff;
	}

	.kobayashi-company-message__panel,
	.kobayashi-company-policy,
	.kobayashi-company-business-panel {
		padding: 24px 22px;
	}

	.kobayashi-table th {
		width: 34%;
		white-space: nowrap;
	}

	.kobayashi-table td {
		width: 66%;
	}

	.kobayashi-company-business-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
		margin-top: 18px;
	}

	.kobayashi-company-business-gallery__item img {
		height: 160px;
	}

	.kobayashi-history-slider__slide img {
		height: 160px;
	}

	.kobayashi-history-item {
		padding: 16px 16px;
	}
}