/* #wrap:after の指定は削除し、body:after だけにします */
body:after {
	background-color: #b02628;
	bottom: 0;
	/* height: 100% の代わりに bottom: 0 を使う */
	content: '';
	display: block;
	left: 0;
	position: fixed;
	top: 0;
	width: 5px;
	/* 太さは調整してください */
	z-index: 9999;
	/* 他の要素の下に隠れないようにする */
}

/* body 自体に position: relative が必要です */
body {
	margin: 0;
	min-height: 100vh;
	position: relative;
}

.c-container {
	margin-inline: auto;
	width: 89%;
}

.word-break {
	display: inline-block;
}

/* ===================================================
   INTRODUCTION SECTION
   =================================================== */
.c-intro {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 50px;
	text-align: center;
}

@media(max-width:768px) {
	.c-intro {
		margin-bottom: 20px;
		text-align: left;
	}

	.cf .sec-title {
		margin-bottom: 20px;
	}
}

.intro_en,
.intro_tw {
	color: #000000;
	font-size: 16px;
	font-weight: normal;
	margin-top: 0;
}

.intro_en {
	line-height: 1.6;
	margin-bottom: 10px;
}

.intro_tw {
	line-height: 2;
}

/* ===================================================
   INQUIRY FORM (BASE)
   =================================================== */
.c-form-main th {
	background-color: #F8F8F8;
	border-color: #CCCCCC #CCCCCC #CCCCCC #333333;
	border-left: 3px solid #333333;
	border-right: 1px dotted #CCCCCC;
	border-style: solid dotted solid solid;
	border-width: 1px 1px 1px 3px;
	padding: 5px 8px;
	width: 200px;
}

.c-form-main td {
	background-color: #FFFFFF;
	border-bottom: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
	padding: 5px 8px;
}

input.myError,
textarea.myError {
	background-color: #CCFFFF;
}

label.myError {
	color: #FF0000;
}

.form_box {
	margin-left: auto;
	margin-right: auto;
	width: 700px;
}

.form_box.p_check {
	padding-top: 60px;
}

.form_box p {
	text-align: center;
}

.c-form-table {
	width: 100%;
}

.c-form-row {
	display: inline-block;
	margin-bottom: 20px;
	padding-block: 5px;
	width: 100%;
}

.c-form-label {
	box-sizing: border-box;
	float: left;
	font-size: 14px;
	padding-bottom: 5px;
	padding-top: 5px;
	width: 30%;
}

.c-form-label span {
	color: #B02628;
	font-size: 12px;
	padding-left: 5px;
}

.c-form-content,
.check .c-form-content {
	box-sizing: border-box;
	float: left;
	width: 70%;
}

.c-form-content {
	font-size: 14px;
}

.check .c-form-content {
	border: 1px solid #CCCCCC;
	padding: 5px;
}

.c-form-content textarea,
.c-form-content input {
	box-sizing: border-box;
	padding: 5px;
	width: 100%;
}

.c-form-table .bt {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	text-align: center;
}

.c-form-table .bt input[type=button],
.c-form-main .bt input[type=button] {
	background-color: #808080;
	border: none;
	border-radius: 10px;
	box-sizing: border-box;
	color: #FFFFFF;
	cursor: pointer;
	display: inline-block;
	flex: 1;
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 1px;
	line-height: 1.2;
	max-width: 350px;
	padding: 18px 60px;
	text-align: center;
	transition: all 0.3s;
	width: 100%;
}

@media(max-width:768px) {
	.form_box {
		margin-inline: auto;
		width: 100%;
	}

	.c-form-label {
		padding-bottom: 5px;
		padding-right: 0px;
		padding-top: 5px;
		text-align: left;
		width: 100%;
	}

	.check .c-form-content,
	.c-form-content {
		width: 100%;
	}

	.c-form-table .bt {
		align-items: center;
		display: flex;
		flex-direction: row;
		gap: 10px;
		justify-content: center;
	}

	.c-form-table .bt input[type=submit],
	.c-form-table .bt input[type=button] {
		flex: 1;
		max-width: 320px;
		padding: 15px 0;
		width: 100%;
	}

}

/* ===================================================
   HERO / HEADER OVERRIDES
   =================================================== */
body.contact {
	font-family: 'Outfit', sans-serif;
}

.c-header {
	align-items: center;
	background: url(../img/contact_header_pc.png) no-repeat center center;
	background-attachment: fixed;
	background-position: center 80px;
	background-size: 1920px auto;
	color: #FFFFFF;
	display: flex;
	height: auto;
	justify-content: center;
	margin: 0;
	overflow: hidden;
	padding-top: 80px;
	position: relative;
}

.c-header:before {
	padding-top: 0;
}

@media(max-width: 768px) {
	.c-header {
		background: url(../img/contact_header_sp.png) no-repeat center center;
		background-attachment: scroll;
		background-size: cover;
		min-height: auto;
		padding: 60px 20px 0;
	}

	.c-header:before {
		padding-top: 0;
	}
}

.c-hero-badges {
	width: 100%;
}

.c-header .p_header_in {
	height: 100%;
	left: auto;
	padding-block: 80px;
	position: static;
	top: auto;
	width: 100%;
}

@media(max-width: 768px) {
	.c-header .p_header_in {
		padding-block: 60px;
	}
}

.c-header .p_header_inn {
	background-color: transparent;
	box-sizing: border-box;
	left: auto;
	margin-left: 0;
	padding: 0;
	position: static;
	text-align: center;
	top: auto;
	width: auto;
}

.c-hero-title {
	color: #FFFFFF;
	font-size: 36px;
	font-weight: normal;
	line-height: 1.36;
	margin-bottom: 40px;
	margin-top: 0;
	position: static;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
	.c-hero-title {
		font-size: 28px;
		line-height: 1.2;
	}
}

.c-hero-title .smaller {
	display: block;
	font-size: 24px;
	font-weight: normal;
	line-height: 1;
	margin-top: 20px;
}

@media (max-width: 768px) {
	.c-hero-title .smaller {
		line-height: 1.36;
	}
}

.c-hero-text {
	color: #FFFFFF;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 20px;
	margin-top: 0;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.c-hero-row {
	align-items: stretch;
	display: grid;
	gap: 50px;
	grid-template-columns: 31.7% 32.9% 35.4%;
	justify-content: center;
	margin: 0 auto 20px;
	max-width: 1080px;
}

@media (max-width: 768px) {
	.c-hero-row {
		flex-direction: column;
		gap: 20px;
		grid-template-columns: 1fr;
	}
}

.c-hero-item {
	color: #FFFFFF;
	flex: 1;
	text-align: center;
}

@media (max-width: 768px) {
	.c-hero-item {
		max-width: 100%;
		padding-inline: 20px;
		text-align: left;
	}
}

.c-hero-item .num {
	color: #FFFFFF;
	display: block;
	font-size: 55px;
	font-weight: bold;
	line-height: 1;
	margin-bottom: 5px;
}

@media(max-width: 768px) {
	.c-hero-item .num {
		font-size: 48px;
	}
}

.center-badge .num {
	margin-bottom: 16px;
}

.c-hero-item .unit {
	font-size: 32px;
	font-weight: bold;
	line-height: 1;
	margin-top: 10px;
}

.c-hero-item .btxt {
	display: block;
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 1px;
	line-height: 1.6;
}

.c-hero-btn {
	background-color: #B02628;
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(176, 38, 40, 0.3);
	box-sizing: border-box;
	color: #FFFFFF !important;
	display: block;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.2;
	margin-inline: auto;
	max-width: 350px;
	padding: 18px;
	text-decoration: none;
	transition: all 0.3s;
}

/* ===================================================
   WHY CHOOSE MARUKAITCHI SECTION
   =================================================== */
.c-why-section {
	padding: 80px 0;
}

.c-why-section .c-container {
	padding: 20px 0;
}

@media(max-width: 768px) {
	.c-why-section {
		padding: 50px 0;
	}
}

.sec-title {
	color: #333333;
	font-size: 32px;
	font-weight: bold;
	line-height: 1.36;
	margin-bottom: 50px;
	margin-top: 0;
	text-align: center;
}

.sec-title span {
	font-weight: normal;
}

.sec-title::after {
	background: #30639A;
	content: "";
	display: block;
	height: 2px;
	margin: 10px auto 0;
	width: 100px;
}

.c-why-grid {
	display: grid;
	gap: 50px;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 auto;
	max-width: 1080px;
}

@media (max-width: 768px) {
	.c-why-grid {
		grid-template-columns: 1fr;
	}
}

.c-why-card {
	flex: 1;
	text-align: left;
}

.c-why-card img {
	display: block;
	height: auto;
	margin-bottom: 20px;
	width: 100%;
}

.c-why-text h4 {
	border-left: 4px solid #B02628;
	color: #333333;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.36;
	margin-bottom: 15px;
	padding-left: 12px;
	text-align: left;
}

.c-why-text p {
	color: #333333;
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
}

.c-why-text p span {
	display: inline-block;
	margin-top: 10px;
}

/* ===================================================
   INQUIRY FORM (PHASE 2 DESIGN)
   =================================================== */
.c-form-section {
	padding: 50px 0;
}

@media (max-width: 768px) {
	.c-form-section {
		padding: 20px 0;
	}
}

.contact_intro {
	color: #555555;
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 0;
	padding: 50px 0;
}

.form_box_new {
	background: #FFFFFF;
	margin: 0 auto;
	max-width: 900px;
}

.c-form-main .c-form-row {
	align-items: flex-start;
	display: flex;
	flex-direction: row;
	margin-bottom: 20px;
}

.c-form-main .c-form-label {
	color: #333333;
	font-size: 16px;
	font-weight: bold;
	width: 280px;
}

@media (max-width: 768px) {
	.c-form-main .c-form-row {
		flex-direction: column;
		margin-bottom: 10px;
	}

	.c-form-main .c-form-label {
		width: 100%;
	}
}

.c-form-main .c-form-content {
	flex: 1;
	width: 100%;
}

.c-form-main input[type="text"],
.c-form-main input[type="email"],
.c-form-main select,
.c-form-main textarea {
	background: #FFFFFF;
	border: 1px solid #767676;
	border-radius: 2.5px;
	box-sizing: border-box;
	font-family: 'Outfit', sans-serif;
	font-size: 16px;
	font-weight: normal;
	padding: 8px 5px;
	transition: all 0.3s;
	width: 100%;
}

.c-form-main input:focus,
.c-form-main select:focus,
.c-form-main textarea:focus {
	background: #FFFFFF;
	border-color: #B02628;
	box-shadow: 0 0 0 3px rgba(176, 38, 40, 0.1);
	outline: none;
}

.c-form-main select {
	appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
	background-position: right 15px center;
	background-repeat: no-repeat;
	cursor: pointer;
}

.c-form-main textarea {
	height: 140px;
}

@media (max-width: 768px) {
	.c-form-main textarea {
		height: 124px;
	}
}

.c-form-main .bt {
	border-top: none;
	text-align: center;
}

.c-form-main .bt input[type="submit"] {
	background-color: #B02628;
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(176, 38, 40, 0.25);
	box-sizing: border-box;
	color: #FFFFFF;
	cursor: pointer;
	display: inline-block;
	flex: 1;
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 1px;
	line-height: 1.2;
	max-width: 350px;
	padding: 18px 60px;
	transition: all 0.3s;
	width: 100%;
}

.c-form-main .bt input[type="submit"]:hover {
	background-color: #8C1E20;
	box-shadow: 0 6px 15px rgba(176, 38, 40, 0.35);
	transform: translateY(-2px);
}


.c-form-row.detail_tr {
	margin-bottom: 50px;
}

@media (max-width: 768px) {

	.c-form-main .bt input[type=submit],
	.c-form-main .bt input[type=button] {
		max-width: 350px;
		padding: 15px 0;
		width: 100%;
	}
}

/* ===================================================
   PRODUCTS OF INTEREST
   =================================================== */
.product-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-top: 5px;
}

@media (max-width: 768px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
}

.prod-item {
	background: #FFFFFF;
	border: 1px solid #DDDDDD;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: all 0.3s;
}

.prod-item:hover {
	border-color: #B02628;
	box-shadow: 0 4px 15px rgba(176, 38, 40, 0.1);
}

.prod-item:has(input:checked) {
	background-color: #FFF9F9;
	border-color: #B02628;
	box-shadow: 0 0 0 1px #B02628;
}

.prod-img {
	align-items: center;
	background: #F5F5F5;
	border-bottom: 1px solid #EEEEEE;
	display: flex;
	height: 140px;
	justify-content: center;
}

.prod-img img {
	max-height: 90%;
	max-width: 90%;
	object-fit: contain;
}

.prod-btm {
	align-items: center;
	color: #333333;
	display: flex;
	font-size: 15px;
	font-weight: bold;
	gap: 12px;
	padding: 15px;
}

.prod-btm input[type="checkbox"] {
	accent-color: #B02628;
	cursor: pointer;
	height: 20px;
	width: 20px;
}

/* ===================================================
   EXPORT TRACK & INTERNATIONAL QUALITY
   =================================================== */
.c-quality-section {
	background: #30639A;
	padding: 50px 0;
}

.c-quality-section .sec-title {
	color: #FFFFFF;
}

.c-quality-section .sec-title::after {
	background: #FFFFFF;
}

@media(max-width:768px) {
	.c-quality-section {
		padding: 40px 0;
	}
}

.c-export-section {
	background: #FFFFFF;
	padding: 60px 0 100px;
}

@media(max-width:768px) {
	.c-export-section {
		padding: 50px 0;
	}

	.c-export-section .c-container {
		padding: 20px 0;
	}
}

.c-export-top {
	/* No bottom margin needed as the wrapper padding handles it */
}

.c-quality-grid {
	display: grid;
	gap: 50px;
	grid-template-columns: 1fr 1fr;
	margin: 0 auto;
	max-width: 1080px;
	text-align: left;
}

@media (max-width: 768px) {
	.c-quality-grid {
		gap: 20px;
		grid-template-columns: 1fr;
	}
}

.c-quality-card {
	background: #FFFFFF;
	border-radius: 8px;
	box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25);
	padding: 40px;
}

@media(max-width:768px) {
	.c-quality-card {
		padding: 40px 20px;
	}

	.sec-title {
		font-size: 32px;
		/* 文字サイズを縮小 */
		line-height: 1.4;
		/* 行間を確保 */
	}
}

.c-quality-card h4 {
	color: #333333;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 20px;
	margin-top: 0;
	text-align: center;
}

.c-quality-card p {
	color: #333333;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 20px;
	text-align: center;
}

.c-quality-cert {
	color: #6B7280;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.6;
	text-align: center;
}

.c-quality-img {
	margin-top: 10px;
	text-align: center;
}

.c-quality-img img {
	display: inline-block;
	max-width: 188px;
}

.c-export-bottom img {
	display: block;
	height: auto;
	margin: 0 auto 20px;
	max-width: 900px;
	width: 100%;
}

.c-export-text {
	color: #555555;
	font-size: 16px;
	line-height: 1.6;
	margin: 0 auto;
	max-width: 900px;
	text-align: center;
}

@media(max-width:768px) {
	.c-export-text {
		text-align: left;
	}
}

.c-export-highlight,
.c-export-countries {
	color: #333333;
	font-family: Outfit, sans-serif;
	font-style: normal;
	font-weight: bold;
	line-height: 160%;
}

.c-export-highlight {
	font-size: 24px;
	margin-bottom: 20px;
}

.c-export-countries {
	display: block;
	font-size: 16px;
	margin-top: 15px;
}


/* ===================================================
   REASON CHECKBOX
   =================================================== */
.reason-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-top: 5px;
}

.reason-cb-label {
	align-items: center;
	color: #333333;
	cursor: pointer;
	display: flex;
	font-size: 16px;
	font-weight: normal;
	gap: 8px;
}

.reason-cb-label input[type="checkbox"] {
	accent-color: #B02628;
	cursor: pointer;
	height: 20px;
	margin: 0;
	width: 20px;
}

/* ===================================================
   OUR PRODUCTS SECTION
   =================================================== */
.c-products-section {
	background: #FFFFFF;
	padding: 80px 0 40px;
}

@media(max-width:768px) {
	.c-products-section {
		padding: 40px 0 0;
	}
}

.c-products-section .sec-title {
	margin-bottom: 20px;
}

.c-products-grid {
	display: flex;
	flex-direction: column;
	gap: 60px;
	margin: 0 auto;
	max-width: 1080px;
}

@media(max-width:768px) {
	.c-products-grid {
		gap: 20px;
	}
}

.c-products-card {
	align-items: stretch;
	background: #FFFFFF;
	border-bottom: 1px solid #E5E7EB;
	display: flex;
	padding-bottom: 60px;
	gap: 50px
}

.c-products-card:last-child {
	border-bottom: none;
}

@media(max-width:768px) {
	.c-products-card {
		border-bottom: none;
		display: flex;
		flex-direction: column-reverse;
		gap: 10px;
		padding-bottom: 20px;
	}

}

.c-products-img {
	align-items: center;
	background: #FDFDFD;
	display: flex;
	flex: 0 0 450px;
	height: auto;
	justify-content: center;
	min-height: 250px;
}

.c-products-content {
	flex: 1;
}

@media (max-width: 768px) {
	.c-products-img {
		flex: 0;
		height: auto;
		min-height: auto;
	}
}

.c-products-img img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.c-products-intro {
	color: #333333;
	font-size: 16px;
	line-height: 1.6;
	margin: 0 auto 50px;
	max-width: 900px;
	text-align: center;
}

@media (max-width: 768px) {
	.c-products-intro {
		text-align: left;
	}
}

.c-products-title {
	border-left: 4px solid #B02628;
	color: #333333;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.6;
	margin-bottom: 20px;
	margin-top: 0;
	padding-left: 12px;
	text-align: left;
}

.c-products-list {
	display: grid;
	gap: 0;
	grid-template-columns: 184px 1fr;
	margin-block: 0;
}

@media (max-width: 768px) {
	.c-products-list {
		grid-template-columns: 104px 1fr;
	}
}

.c-products-list dt,
.c-products-list dd {
	border-bottom: 1px solid #DDDDDD;
	color: #333333;
	font-size: 14px;
	line-height: 1.6;
	padding: 15px 0;
}

.c-products-list dt {
	display: flex;
	font-weight: bold;
	letter-spacing: 0.5px;
}

.c-products-list dd {
	margin: 0;
}

.c-products-list dt:last-of-type,
.c-products-list dd:last-of-type {
	border-bottom: none;
}

.c-products-list dd span {
	color: #333333;
	font-size: 10px;
	line-height: 1.6;
}

@media (max-width: 768px) {

	.c-products-list dt,
	.c-products-list dd {
		padding: 10px 0;
	}
}

.c-products-sub-title {
	color: #333333;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 5px;
}

body.contact .f_nav {
	width: auto;
}