@charset "UTF-8";

/******************
テンプレート全体[共通]
******************/

.commonBox{
	clear:both;
	width:100%;
}

.commonBox:after{
	content: "."; 
	display: block; 
	height: 0; 
	font-size:0;	
	clear: both; 
	visibility:hidden;
}

* html .commonBox {
	height: 1%;
}

p{

}

img.aligncenter{
	display: block;
	margin:0 auto;
	float:none;
}

img.alignright{
	margin:0 0 0 auto;
	display:block;
	float:none;
}

img.alignleft{
	text-align: left;
	float:none;
}

/******************
テンプレートレイアウト
******************/
.wp-block-image{
	margin:auto;
}
.wp-block-media-text .wp-block-media-text__content{
	padding:0 2% 0 5% !important;
}
.has-media-on-the-right .wp-block-media-text__content{
	padding:0 5% 0 2% !important;
}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item{
	flex-grow:unset !important;
}
.wp-block-media-text.left45{
	-ms-grid-columns: 45% 1fr !important;
	grid-template-columns: 45% 1fr !important;
	margin-bottom:40px;
}
.wp-block-media-text.left45 .wp-block-media-text__content, .wp-block-media-text.left55 .wp-block-media-text__content, .wp-block-media-text.left60 .wp-block-media-text__content, .wp-block-media-text.left70 .wp-block-media-text__content, .wp-block-media-text.aboutLeft .wp-block-media-text__content{
	padding:0 5% 0 1%;
	/*align-self:auto;*/
}
.wp-block-media-text.left55{
	-ms-grid-columns: 55% 1fr !important;
	grid-template-columns: 55% 1fr !important;
	margin-bottom:40px;
}
.wp-block-media-text.left60, .wp-block-media-text.aboutLeft{
	-ms-grid-columns: 60% 1fr !important;
	grid-template-columns: 60% 1fr !important;
	margin-bottom:40px;
}
.wp-block-media-text.left70{
	-ms-grid-columns: 70% 1fr !important;
	grid-template-columns: 70% 1fr !important;
	margin-bottom:40px;
}
.wp-block-media-text.left45 .wp-block-media-text__media, .wp-block-media-text.left55 .wp-block-media-text__media, .wp-block-media-text.left60 .wp-block-media-text__media, .wp-block-media-text.right45 .wp-block-media-text__media, .wp-block-media-text.right60 .wp-block-media-text__media, .wp-block-media-text.right70 .wp-block-media-text__media, .wp-block-media-text.left70 .wp-block-media-text__media{
	box-shadow:1px 2px 3px #808080;
	padding: 5px;
	margin: 4px;
}
.wp-block-media-text.aboutLeft .wp-block-media-text__media, .wp-block-media-text.aboutRight .wp-block-media-text__media{

}
.wp-block-media-text.left75{
	-ms-grid-columns: 75% 1fr !important;
	grid-template-columns: 75% 1fr !important;
	margin-bottom:40px;
}
.wp-block-media-text.right45{
	-ms-grid-columns: 55% 1fr !important;
	grid-template-columns: 55% 1fr !important;
	margin-bottom:40px;
}
.wp-block-media-text.right60, .wp-block-media-text.aboutRight{
	-ms-grid-columns: 40% 1fr !important;
	grid-template-columns: 40% 1fr !important;
	margin-bottom:40px;
}
.wp-block-media-text.right45 .wp-block-media-text__content, .wp-block-media-text.right60 .wp-block-media-text__content, .wp-block-media-text.aboutRight .wp-block-media-text__content{
	padding:0 5% 0 1%;
}
.wp-block-media-text.right70{
	-ms-grid-columns: 30% 1fr !important;
	grid-template-columns: 30% 1fr !important;
	margin-bottom:40px;
}
.wp-block-media-text.right45 .wp-block-media-text__content, 
.wp-block-media-text.right60 .wp-block-media-text__content, .wp-block-media-text.right70 .wp-block-media-text__content, .wp-block-media-text.aboutRight .wp-block-media-text__content{
	padding:0 0 0 5%;
}

.wp-block-columns{
}
.blocks-gallery-grid, .wp-block-gallery {
	margin-bottom:25px !important;
}
.wp-block-gallery .blocks-gallery-item figure img{
	display:block !important;
	box-shadow: 1px 2px 3px #808080;
	padding: 5px;
	box-sizing:border-box;
	width:100% !important;
}
.wp-block-gallery .blocks-gallery-item figcaption{
	margin:5px !important;
	width: calc(100% - 10px) !important;
}
.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item{
	width:48% !important;
	margin:0 1% 20px !important;
	justify-content:unset !important;
}
.blocks-gallery-grid.columns-3 .blocks-gallery-image, .blocks-gallery-grid.columns-3 .blocks-gallery-item, .wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item{
	width:31.3333% !important;
	margin:0 1% 20px !important;
	justify-content:unset !important;
}
.blocks-gallery-grid .blocks-gallery-image figure, .blocks-gallery-grid .blocks-gallery-item figure, .wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure{
	align-items: flex-start !important;
}
.blocks-gallery-grid .blocks-gallery-image img, .blocks-gallery-grid .blocks-gallery-item img, .wp-block-gallery .blocks-gallery-image img, .wp-block-gallery .blocks-gallery-item img{
	margin:0 auto;
}
.blocks-gallery-grid.columns-3 .blocks-gallery-image, .blocks-gallery-grid.columns-3 .blocks-gallery-item, .wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item{
	width:31.3333% !important;
	margin:0 1% 20px !important;
	justify-content:unset !important;
}
.blocks-gallery-grid.columns-4 .blocks-gallery-image, .blocks-gallery-grid.columns-4 .blocks-gallery-item, .wp-block-gallery.columns-4 .blocks-gallery-image, .wp-block-gallery.columns-4 .blocks-gallery-item{
	width:23% !important;
	margin:0 1% 20px !important;
	justify-content:unset !important;
}

@media screen and (max-width: 768px) {
.wp-block-media-text {
	display: -ms-grid;
	display: grid;
	-ms-grid-rows: auto;
	grid-template-rows: auto;
}
.wp-block-media-text .wp-block-media-text__content{
	width:100%;
	float:none;
	margin:0px auto 20px;
	-ms-grid-row: 1 !important;
	grid-row: 1 !important;
}

.wp-block-media-text.left60, .wp-block-media-text.left70, .wp-block-media-text.aboutLeft, .wp-block-media-text.right60, .wp-block-media-text.right70, .wp-block-media-text.aboutRight{
    -ms-grid-columns: 100% !important;
    grid-template-columns: 100% !important;
}
.wp-block-media-text .wp-block-media-text__content{
	padding: 0 !important;
	-ms-grid-column: 1 !important;
	grid-column: 1 !important;
	-ms-grid-row: 1 !important;
	grid-row: 1 !important;
}
.wp-block-media-text .wp-block-media-text__media, .wp-block-media-text.aboutLeft .wp-block-media-text__media, .wp-block-media-text.aboutRight .wp-block-media-text__media {
    margin: 20px auto 0 !important;
    -ms-grid-column: 1 !important;
    grid-column: 1 !important;
    -ms-grid-row: 2 !important;
    grid-row: 2 !important;
	width:80%;
}
.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item,
.blocks-gallery-grid.columns-4 .blocks-gallery-image, .blocks-gallery-grid.columns-4 .blocks-gallery-item, .wp-block-gallery.columns-4 .blocks-gallery-image, .wp-block-gallery.columns-4 .blocks-gallery-item{
	width:48% !important;
	margin:0 1% 20px !important;
	justify-content:unset !important;
}
.blocks-gallery-grid.columns-3 .blocks-gallery-image, .blocks-gallery-grid.columns-3 .blocks-gallery-item, .wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item{
	width:31.3333% !important;
	margin:0 1% 20px !important;
	justify-content:unset !important;
}
.psImg .wp-block-media-text__media{
	max-width:300px !important;
}
}

/******************
中ページ共通
******************/
.page-hero {
	border-bottom: 1px solid #ebebeb;
}
.page-hero .page-title {
	max-width: 1300px;
	width: 90%;
	margin: 0 auto;
	padding: 4em 0 2em;
}
.page-hero .page-title h1 {
	font-size: clamp(2.5rem, 3.8vw, 4.2rem);
	font-weight: 600;
	letter-spacing: .2rem;
	line-height: 150%;
}
.page-hero .page-title p {
	text-transform: uppercase;
	font-family: "Montserrat", sans-serif;
	color: #db0209;
	font-size: 2rem;
	font-weight: 500;
	margin-top: .5rem;
	line-height: 140%;
}
#bread-crumb {
	max-width: 1300px;
	width: 90%;
	margin: 0 auto 2em;
	text-align: right;
}
#bread-crumb p {
	font-size: 1.2rem;
}
#bread-crumb p span {
	color: #db0209;
}
.contents {
	margin: 4em auto 6em;
}
.contents.has-sidebar {
	display: flex;
	gap: 0 4em;
}
.main-container {
	flex: 1;
}
.sidebar-container {
	width: 260px;
}
.sidebar-container .sidebar {
	position: sticky;
	top: 140px;
	border: 1px solid #f7f7f7;
	border-radius: 5px;
	box-shadow: 5px 5px 5px rgba(181, 181, 181, 0.3);
	overflow-y: auto;
	max-height: calc(100vh - 180px);
}
.sidebar-container .archive-link a {
	display: block;
	padding: 1em 1.5em;
	background-color: #262626;
	border-radius: 5px 5px 0 0;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: .1rem;
}
.sidebar-container ul {
	
}
.sidebar-container ul li {
	list-style: none;
}
.sidebar-container ul li a {
	display: block;
	font-size: 1.5rem;
	padding: 1em calc(1.5em + 30px) 1em 1.5em;
	position: relative;
}
.sidebar-container ul > li:not(:last-child) > a {
	border-bottom: 2px solid #ebebeb;
}
.sidebar-container ul > li.is-current > a {
	padding: 1em 1.5em 1em calc(1.5em + 10px);
}
.sidebar-container ul li a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1.5em;
	margin: auto;
	width: 16px;
	height: 6px;
	background: url(./images/common/arrow_red.png) center / 100% no-repeat;
	transition: .1s all ease;
}
.sidebar-container ul li a:hover:before {
	right: 1.3em;
}
.sidebar-container ul > li.is-current a:before {
	display: none;
}
.sidebar-container ul > li.is-current a:after {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 100%;
	background-color: #db0209;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	left: 1em;
}

h2.label {
	display: inline-block;
	background-color: #db0209;
	color: #fff;
	font-size: 2.4rem;
	font-weight: 500;
	line-height: 150%;
	letter-spacing: .1rem;
	padding: 1rem 2rem 1rem 5rem;
	border-radius: 999px 0 0 999px;
	margin-bottom: 2em;
	position: relative;
}
h2.label:before {
	content: "";
	width: 12px;
	height: 12px;
	background-color: #fff;
	border-radius: 100%;
	position: absolute;
	left: 18px;
	top: 0;
	bottom: 0;
	margin: auto;
}

h3.line {
	font-size: 2.3rem;
	font-weight: 500;
	line-height: 150%;
	letter-spacing: .1rem;
	margin-bottom: 1em;
	position: relative;
	padding-left: 1.5rem;
}
h3.line:before {
	content: "";
	width: 2px;
	height: 23px;
	background-color: #db0209;
	position: absolute;
	top: 6px;
	left: 0;
}
h3.has-text-align-right.line {
	padding-left: 0;
	padding-right: 1.5rem;
}
h3.has-text-align-right.line:before {
	left: auto;
	right: 0;
}
h3.has-text-align-center.line {
	padding-left: 0;
	padding-bottom: 1.5rem;
}
h3.has-text-align-center.line:before {
	top: auto;
	bottom: 0;
	right: 0;
	margin: auto;
	width: 23px;
	height: 2px;
}
h4 {
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: .1rem;
	margin-bottom: 0.5em;
}

th {
	font-weight: 500;
}
ul.common li {
	list-style: none;
	position: relative;
	padding-left: 2rem;
}
ul.common li:not(:last-child) {
	margin-bottom: 1rem;
}
ul.common li:before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 100%;
	background-color: #db0209;
	position: absolute;
	top: 11px;
	left: 0;
}

.pagination {
	clear:both;
	padding:20px 0;
	position:relative;
	font-size:11px;
	line-height:13px;
	margin-bottom:20px;
}

.pagination span, .pagination a {
	display:block;
	float:left;
	margin: 2px 2px 2px 0;
	padding:6px 9px 5px 9px;
	text-decoration:none;
	width:auto;
	color:#3e3e3e;
	background: #dddddd;
}
 
.pagination a:hover{
	color:#fff;
	background: #888888;
}
 
.pagination .current{
	padding:6px 9px 5px 9px;
	background: #f29528;
	color:#fff;
}


.editPostLink{
	clear:both;
	max-width:1100px;
	margin:10px auto 0;
	display:none;
}

.editPostLink a{
	display:inline-block;
	padding:5px;
	background-color:#2466dd;
	color:white;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.editPostLink a:hover{
	background-color:#4486fd;
	text-decoration:none;
}

.archive-comment {
	margin-bottom: 4em;
}

.external-link {
	margin-top: 2em;
}
.external-link a {
	display: inline-block;
	background-color: #f2f2f2;
	border-radius: 10px;
	padding: 1.5em calc(1.5em + 30px) 1.5em 1.5em;
	position: relative;
}
.external-link a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1.5em;
	margin: auto;
	width: 15px;
	height: 15px;
	background: url(./images/common/ext_link_icon_red.png) center / 100% no-repeat;
}

.inpage-contact-col {
	margin-top: 2em;
}
.inpage-contact-col .title {
	font-weight: 600;
	margin-bottom: 0.5em;
}
.inpage-contact-col figure {
	margin-bottom: 2em;
}
.inpage-contact-col figure:last-child {
	margin-bottom: 0;
}
.inpage-contact-col .form a {
	display: block;
	background-color: #262626;
	color: #fff;
	font-weight: 500;
	padding: 2em calc(2em + 40px) 2em 2em;
	border-radius: 10px;
	position: relative;
	transition: .3s all ease;
}
.inpage-contact-col .form a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 2em;
	margin: auto;
	width: 20px;
	height: 6px;
	background: url(./images/common/arrow_wht.png) center / 100% no-repeat;
	transition: .1s all ease;
}
.inpage-contact-col .form a:hover {
	background-color: #474747;
}
.inpage-contact-col .form a:hover:before {
	opacity: 0.6;
	right: 1.8em;
}

.rounder,
.rounder img {
	border-radius: 10px;
}

.scroll-hint-icon {
	top: calc(50% - 50px) !important;
}


.page-title h1,
.page-title .eng {
	opacity: 0;
	transform: translateY(40px);
	animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* h1 → p の順番 */
.page-title h1 {
	animation-delay: 0.2s;
}

.page-title .eng {
	animation-delay: 0.5s;
}

/* アニメーション本体 */
@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media screen and (max-width: 1024px) {
	
	h2.label {
		font-size: 1.8rem;
		letter-spacing: 0;
		padding: 0.7rem 1.5rem 0.7rem 2.5rem;
		margin-bottom: 1.5em;
	}
	h2.label:before {
		width: 7px;
		height: 7px;
		left: 11px;
	}
	h3.line {
		font-size: 1.8rem;
		padding-left: 1rem;
	}
	h3.line:before {
		top: 3px;
	}
	h4 {
		font-size: 1.6rem;
	}
	
	.contents.has-sidebar {
		gap: 6em 0;
		flex-direction: column;
	}
	.sidebar-container {
		width: 100%;
	}
}
@media screen and (max-width: 768px) {
	.page-hero .page-title h1 {
		letter-spacing: .1rem;
	}
	.page-hero .page-title p {
		font-size: 1.6rem;
	}
	
	#bread-crumb {
		text-align: left;
	}
	
	.page-hero .page-title {
		padding: 3em 0 2em;
	}
	
	.external-link a {
		padding: 1.5em calc(1em + 25px) 1.5em 1em;
	}
	.external-link a:before {
		right: 1em;
	}
	
	.archive-comment {
		margin-bottom: 2em;
	}
}
@media screen and (max-width: 480px) {
	.business-archive-container ul li {
		width: 100% !important;
	}
}

/******************
whats NAGAI
******************/
.whats-contents {
	max-width: 1300px;
	width: 90%;
	margin: 0 auto;
}

/*メインビジュアル*/
#whats-main-visual {
	position: relative;
	padding-bottom: 8em;
}
#whats-main-visual .over-section-inner {
	max-width: 1600px !important;
	height: calc(100svh - 190px);
	padding: 40px 0 4em;
}
.whats-main-visual-inner {
	height: 100%;
	display: flex;
	align-items: center;
	gap: 4em;
}
#whats-main-visual .text-area {
	width: calc(50% - 2em);
	margin-bottom: 4em;
}
#whats-main-visual .text-area h1 {
	font-family: "Montserrat", sans-serif;
	font-size: clamp(3.5rem, 4.8vw, 7.8rem);
	font-weight: 400;
	line-height: 100%;
	margin-bottom: 4rem;
}
#whats-main-visual .text-area h1:first-letter {
	color: #db0209;
}
#whats-main-visual .text-area .sub-title {
	font-size: 2.8rem;
	font-weight: 600;
	letter-spacing: .1rem;
	line-height: 160% !important;
	margin-bottom: 1em;
}
#whats-main-visual .text-area p {
	line-height: 200%;
}
#whats-main-visual .img-area {
	width: calc(50% - 2em);
	height: 100%;
}
#whats-main-visual .img-area img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px 0 0 20px;
}
#whats-main-visual #bread-crumb {
	margin-bottom: 0;
}
#whats-main-visual .bkg {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60%;
}
#whats-main-visual .bkg img {
	opacity: .6;
}

@media screen and (max-width: 1024px) {
	#whats-main-visual {
		padding-bottom: 5em;
	}
	#whats-main-visual .over-section-inner {
		height: auto;
		padding: 0 0 2em;
		width: 100%;
	}
	.whats-main-visual-inner {
		flex-direction: column;
		margin-right: 0;
		gap: 1em;
	}
	#whats-main-visual .text-area {
		width: 90%;
		margin-bottom: 0;
		order: 2;
	}
	#whats-main-visual .text-area h1 {
		margin-bottom: 2rem;
	}
	#whats-main-visual .img-area {
		width: 100%;
		height: auto;
		position: relative;
	}
	#whats-main-visual .img-area:before {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 50px;
		background-color: #fff;
		border-radius: 50px 50px 0 0;
	}
	#whats-main-visual .img-area img {
		aspect-ratio: 16/9;
		border-radius: 0;
	}
	#whats-main-visual .bkg {
		width: 40%;
	}
}
@media screen and (max-width: 768px) {
	.whats-main-visual-inner {
		gap: 0;
	}
	#whats-main-visual .img-area img {
		aspect-ratio: 3/2;
	}
	#whats-main-visual .img-area:before {
		border-radius: 30px 30px 0 0;
	}
	#whats-main-visual .text-area .sub-title {
		font-size: 2rem;
	}
	#whats-main-visual .bkg {
		min-width: 240px;
	}
	
	#whats-main-visual #bread-crumb {
		text-align: right;
	}
}
@media screen and (max-width: 460px) {
	#whats-main-visual .img-area img {
		aspect-ratio: 1/1;
	}
}

/*代表挨拶*/
.greeting-head {
	position: relative;
}
.greeting-head figure {
	margin-bottom: 0;
}
.greeting-head img {
	border-radius: 10px;
}
.greeting-head h2 {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 7%;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",  "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: clamp(2rem, 2.3vw, 3.4rem);
	letter-spacing: .2rem;
	font-weight: 700;
	line-height: 170%;
}
.greeting-text p {
	line-height: 200%;
}
.greeting-text p:not(:last-child) {
	margin-bottom: 1em;
}
@media screen and (max-width: 768px) {
	.greeting-head img {
		aspect-ratio: 3/2 !important;
		border-radius: 5px;
	}
	.greeting-name img {
		width: 120px !important;
	}
}
@media screen and (max-width: 620px) {
	.greeting-head figure {
		margin-bottom: 2em;
	}
	.greeting-head h2 {
		position: static;
		transform: none;
		text-align: center;
	}
}

/*企業理念*/
.philosophy-section {
	position: relative;
}
.philosophy-section-inner {
	background-color: #262626;
	color: #fff;
	width: 97.5%;
	margin-right: 2.5%;
	padding: 6em 0;
	border-radius: 0 20px 20px 0;
}
.philosophy-container {
	position: relative;
	width: 90vw;
	max-width: 1300px;
	margin: 0 auto;
}
.philosophy-section .text-area {
	width: 100%;
	max-width: 50vw;
	position: relative;
	z-index: 2;
}
.philosophy-section .img-area {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 0;
	max-width: 670px;
	width: 45%;
	display: flex;
	align-items: center;
}
.philosophy-section .img-area img {
	width: 100%;
}

@media screen and (max-width: 1024px) {
	.philosophy-section-inner {
		padding: 4em 0;
	}
	.philosophy-section .text-area {
		max-width: 100%;
	}
	.philosophy-section .img-area {
		width: 70%;
	}
	.philosophy-section .img-area img {
		opacity: 0.4;
	}
}
@media screen and (max-width: 768px) {
	.philosophy-section-inner {
		width: 100%;
		margin-right: 0;
		border-radius: 0;
	}
	.philosophy-section .img-area {
		top: auto;
		bottom: 15%;
	}
	.philosophy-section .common-link {
		margin-left: auto;
		margin-right: auto;
	}
}

/*伊万里港について*/
.port-section .top-h3 br {
	display: none;
}
.port-section .text-box p:not(:last-child) {
	margin-bottom: 1.5em;
}
.port-section .common-link {
	margin-top: 2em;
	margin-left: auto;
}
.port-section .img-area {
	display: flex;
	gap: 2em;
	margin-top: 4em;
}
.port-section .img-item {
	width: calc(50% - 1em);
}
.port-section .img-item img {
	width: 100%;
	border-radius: 20px;
}
.port-section .img-item p {
	font-weight: 500;
	margin-top: .5rem;
}
.map-container {
	width: 100vw;
	margin: 4em calc(50% - 50vw) 0;
}
.map-container-inner {
	width: 100%;
	max-width: 2000px;
	margin: 0 auto;
	display: flex;
	gap: 0 1px;
}
.map-container .left p,
.map-container .right p {
	display: inline-block;
	background-color: #262626;
	color: #fff;
	font-weight: 500;
	letter-spacing: .1rem;
	padding: .5rem 3em;
	position: relative;
}
.map-container .left p:before,
.map-container .right p:before {
	content: "";
	width: 40px;
	height: 100%;
	background-color: #262626;
	clip-path: polygon(0 0, 0% 100%, 100% 100%);
	position: absolute;
	top: 0;
	left: 100%;
}
.map-container img {
	width: 100%;
}
.magnifier img {
	display: block;
	max-width: 100%;
}

@media screen and (max-width: 768px) {
	.port-section .common-link {
		margin-right: auto;
	}
	.port-section .img-item img {
		border-radius: 10px;
	}
}
@media screen and (max-width: 640px) {
	.port-section .img-area {
		flex-direction: column;
	}
	.port-section .img-item {
		width: 100%;
	}
	.map-container-inner {
		flex-direction: column;
		
	}
	.map-container .left p,
	.map-container .right p {
		display: block;
		text-align: center;
	}
	.map-container .left p:before,
	.map-container .right p:before {
		display: none;
	}
}
@media screen and (max-width: 430px) {
	.port-section .top-h3 br {
		display: block;
	}
}


/*拡大鏡用のcss*/

@media screen and (min-width: 1024px) {
	
.magnifier {
	position: relative;
	display: inline-block;
	overflow: visible;
}
.lens {
	position: fixed;
	width: 200px;
	height: 200px;
	border: 2px solid #ccc;
	pointer-events: none;
	z-index: 9999;
	opacity: 0;
	transition: opacity .15s;
	background-repeat: no-repeat;
}
.lens.active {
	opacity: 1;
}

}

/*数字で見る奈雅井*/
.fact-section-upper {
	width: 95%;
	margin-right: 2.5%;
	position: relative;
	background-color: #262626;
	padding: 6em 0 6em 2.5%;
	border-radius: 0 20px 20px 0;
	color: #fff;
}
.fact-section-upper:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 2.5vw;
	width: 100%;
	height: 25%;
	background-color: #f4f4f4;
	z-index: -1;
}
.fact-section-lower {
	width: 95%;
	margin-left: 2.5%;
	background-color: #f4f4f4;
	padding: 6em 2.5% 6em 0;
	border-radius: 0 0 0 20px;
}
.fact-section-inner {
	width: 100vw;
	margin-left: -2.5vw;
}
.fact-container {
	position: relative;
	width: 90%;
	max-width: 1300px;
	margin: 0 auto;
}
.fact-container .img-area {
	padding: 3em 0;
	margin-top: 2em;
	border-radius: 0 20px 20px 0;
	color: #262626;
	position: relative;
}
.fact-container .img-area-inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}
.fact-container .fact-item {
	flex-basis: calc(33.33% - 10px);
	background-color: #fff;
	border-radius: 10px;
}
.fact-container .fact-item:nth-child(4),
.fact-container .fact-item:nth-child(5),
.fact-container .fact-item:nth-child(6),
.fact-container .fact-item:nth-child(7) {
	flex-basis: calc(25% - 11.25px);
}
.fact-container .fact-item:nth-child(8),
.fact-container .fact-item:nth-child(9) {
	flex-basis: calc(50% - 7.5px);
}
.fact-container .fact-item-inner {
	padding: 3em 1.5em;
	position: relative;
}
.fact-container .fact-item .img {
	max-width: 100px;
	margin: 0 auto 0.5em;
}
.fact-container .fact-item .title {
	background-color: #f4f4f4;
	color: #db0209;
	text-align: center;
	padding: 0 0.5em;
	font-size: clamp(1.4rem, 1.25vw, 1.6rem);
	font-weight: 500;
	line-height: 120%;
	white-space: nowrap;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.fact-container .fact-item .deta {
	font-family: "Montserrat", sans-serif;
	font-size: 3.8rem;
	font-weight: 600;
	line-height: 120%;
	text-align: center;
	margin-top: 0.5em;
}
.fact-container .fact-item .deta .unit {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 1.8rem;
	margin-left: 0.5rem;
}
.fact-container .fact-item .notes {
	font-size: 1.4rem;
	line-height: 150%;
	position: absolute;
	bottom: 1em;
	right: 1.5em;
}
.fact-container .fact-item .deta ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}
.fact-container .fact-item .deta ul li {
	width: calc(50% - 10px);
	list-style-type: none;
	text-align: left;
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 150%;
	border-bottom: 1px dashed #dfdfdf;
	padding: 1em 0 0.5em;
	display: flex;
	justify-content: space-between;
}
.fact-container .fact-item .deta ul li .number {
	font-size: 2.5rem;
	font-weight: 600;
}
.fact-container .fact-item .deta ul li .unit {
	font-size: 1.6rem;
	margin-left: 0;
}

.fact-section .link-area {
	display: flex;
	justify-content: space-between;
	gap: 2em;
}
.fact-section .fact-link {
	width: calc(50% - 1em);
}
.fact-section .fact-link a {
	display: flex;
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
}
.fact-section .fact-link .img {
	width: 170px;
	margin-right: 30px;
}
.fact-section .fact-link .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fact-section .fact-link .text {
	width: calc(100% - 260px);
	display: flex;
	align-items: center;
	padding: 3em 60px 3em 0;
	font-weight: 500;
	position: relative;
}
.fact-section .fact-link .text:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 25px;
	margin: auto;
	width: 20px;
	height: 6px;
	background: url(./images/common/arrow_red.png) center / 100% no-repeat;
	transition: .1s all ease;
}
.fact-section .fact-link a:hover .text:before {
	right: 22px;
	opacity: 0.6;
}

@media screen and (max-width: 1024px) {
	.fact-container .fact-item {
		flex-basis: calc(50% - 7.5px);
	}
	.fact-container .fact-item:nth-child(4),
	.fact-container .fact-item:nth-child(5),
	.fact-container .fact-item:nth-child(6),
	.fact-container .fact-item:nth-child(7) {
		flex-basis: calc(50% - 7.5px);
	}
	.fact-container .fact-item:nth-child(9) {
		flex-basis: 100%;
	}
	.fact-container .fact-item .title {
		font-size: clamp(1.4rem, 1.1vw, 1.6rem);
	}
	
	.fact-section-lower {
		padding: 4em 2.5% 4em 0;
	}
	.fact-section .link-area {
		gap: 1em;
	}
	.fact-section .fact-link {
		width: calc(50% - 0.5em);
	}
	.fact-section .fact-link .img {
		width: 120px;
		margin-right: 20px;
	}
	.fact-section .fact-link .text {
		width: calc(100% - 200px);
		padding: 2.5em 60px 2.5em 0;
	}
}
@media screen and (max-width: 768px) {
	.fact-section {
		margin-top: 0;
	}
	.fact-section-upper {
		padding: 6em 0 4em 0;
		width: 100%;
		margin-right: 0;
		border-radius: 0 0 20px 20px;
	}
	.fact-section-upper:before {
		left: 0;
	}
	.fact-section-inner {
		margin-left: 0;
	}
	.fact-container .img-area {
		padding: 0;
	}
	.fact-container .fact-item .img {
		max-width: 80px;
	}
	.fact-container .fact-item .deta {
		font-size: 3rem;
	}
	
	.fact-section-lower {
		padding: 4em 0 4em 0;
		width: 100%;
		margin-left: 0;
		border-radius: 0;
	}
	.fact-section .link-area {
		flex-direction: column;
	}
	.fact-section .fact-link {
		width: 100%;
	}
	.fact-section .fact-link .img {
		width: 140px;
		margin-right: 30px;
	}
	.fact-section .fact-link .text {
		width: calc(100% - 230px);
	}
}
@media screen and (max-width: 640px) {
	.fact-container .fact-item {
		flex-basis: 100% !important;
	}
}
@media screen and (max-width: 560px) {
	.fact-container .fact-item .deta ul li {
		width: 100%;
	}
	.fact-section .fact-link .img {
		width: 80px;
		margin-right: 20px;
	}
	.fact-section .fact-link .text {
		width: calc(100% - 160px);
		padding: 2em 60px 2em 0;
	}
}


/*事業案内*/
.business-cate-container {
	display: flex;
	flex-wrap: wrap;
	gap: 3em 4em;
}
.business-cate-item {
	width: calc(50% - 2em);
}
.business-cate-item .img-area {
	position: relative;
}
.business-cate-item .img-area:before {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 90%;
	height: 25%;
	background-color: #f4f4f4;
	border-radius: 0 10px 0 0;
	z-index: -1;
}
.business-cate-item .img-area img {
	border-radius: 10px;
	aspect-ratio: 3/2;
	width: 90%;
	height: 100%;
	object-fit: cover;
	margin-right: 10%;
}
.business-cate-item .text-area {
	background-color: #f4f4f4;
	border-radius: 0 0 10px 10px;
	width: 90%;
	margin-left: 10%;
}
.business-cate-item .text-area-inner {
	padding: 1.5em 2em 2em;
}
.business-cate-item .term-link {
	margin: 0 0.5em 1em;
}
.business-cate-item .term-link a {
	display: inline-block;
	color: #262626;
	font-size: 2rem;
	font-weight: 500;
	padding-right: 40px;
	position: relative;
}
.business-cate-item .term-link a:first-letter {
	color: #db0209;
}
.business-cate-item .term-link a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	width: 19px;
	height: 7px;
	background: url(./images/common/arrow_blk.png) center / 100% no-repeat;
	transition: .1s all ease;
}
.business-cate-item .term-link a:hover:before {
	right: -0.1em;
}
.business-cate-item .child-link {
	background-color: #fff;
	border-radius: 5px;
}
.business-cate-item .child-link li {
	list-style: none;
}
.business-cate-item .child-link li a {
	display: block;
	padding: 1em calc(1.5em + 30px) 1em 1.5em;
	position: relative;
}
.business-cate-item .child-link li:not(:last-child) a {
	border-bottom: 2px solid #f2f2f2;
}
.business-cate-item .child-link li a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 1.5em;
	margin: auto;
	width: 16px;
	height: 6px;
	background: url(./images/common/arrow_red.png) center / 100% no-repeat;
	transition: .1s all ease;
}
.business-cate-item .child-link li a:hover:before {
	right: 1.4em;
}

.business-cate-item.maritime {
	width: 100%;
	display: flex;
	align-items: center;
	margin-bottom: 2em;
}
.business-cate-item.maritime .img-area {
	width: 55%;
	height: 100%;
	display: flex;
	align-items: center;
}
.business-cate-item.maritime .img-area:before {
	width: 20%;
	height: 100%;
	border-radius: 10px 0 0 10px;
}
.business-cate-item.maritime .img-area img {
	aspect-ratio: 8 / 5;
	margin-right: 0;
	width: 100%;
	height: auto;
}
.business-cate-item.maritime .text-area {
	width: 45%;
	margin-left: 0;
	border-radius: 0 10px 10px 0;
}
.business-cate-item.maritime .text-area-inner {
	padding: 3.5em 3em;
}
.business-cate-item.maritime .term-link a {
	font-size: 2.4rem;
}

@media screen and (max-width: 1280px) {
	.business-cate-container {
		gap: 2em 2em;
	}
	.business-cate-item {
		width: calc(50% - 1em);
	}
	.business-cate-item .img-area:before {
		width: 100%;
	}
	.business-cate-item .img-area img {
		width: 100%;
		margin-right: 0;
	}
	.business-cate-item .text-area {
		width: 100%;
		margin-left: 0;
	}
	
	.business-cate-item.maritime {
		margin-bottom: 0;
	}
	.business-cate-item.maritime .img-area {
		width: 50%;
	}
	.business-cate-item.maritime .img-area img {
		aspect-ratio: auto;
		height: 100%;
	}
	.business-cate-item.maritime .text-area {
		width: 50%;
	}
	.business-cate-item.maritime .text-area-inner {
		padding: 2em 3em;
	}
	.business-cate-item.maritime .term-link a {
		font-size: 2rem;
	}
}
@media screen and (max-width: 768px) {
	.business-cate-item {
		width: 100%;
	}
	.business-cate-item .text-area-inner {
		padding: 1em 1em 1.5em;
	}
	.business-cate-item .term-link a {
		font-size: 1.8rem !important;
	}
	
	.business-cate-item.maritime {
		flex-direction: column;
	}
	.business-cate-item.maritime .img-area {
		width: 100%;
	}
	.business-cate-item.maritime .img-area:before {
		width: 100%;
		height: 25%;
		border-radius: 0;
	}
	.business-cate-item.maritime .text-area {
		width: 100%;
		border-radius: 0 0 10px 10px;
	}
	.business-cate-item.maritime .text-area-inner {
		padding: 1em 1em 1.5em;
	}
}


/*会社の取り組み*/
.effort-section {
	position: relative;
	background: url(./images/common/effort_bkg.jpg) center/cover no-repeat;
}
.effort-section:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
}
.effort-section .over-section-inner {
	position: relative;
	color: #fff;
	padding: 6em 0;
}

@media screen and (max-width: 768px) {
	.effort-section {
		background: url(./images/common/effort_bkg.jpg) right/cover no-repeat;
	}
	.effort-section:before {
		background-color: rgba(0, 0, 0, 0.5);
	}
	.effort-section .top-h2 {
		text-align: center;
	}
	.effort-section .common-link {
		margin-left: auto;
		margin-right: auto;
	}
}

/******************
事業案内
******************/

/*事業案内用サイドバー*/
.sidebar-container .term-parent {
	position: relative;
}
.sidebar-container ul li.has-child:not(:last-child) .term-parent {
	border-bottom: 2px solid #ebebeb;
}
.sidebar-container .term-parent a {
	margin-right: 40px;
	padding: 1em 1.5em;
}
.sidebar-container .term-parent.is-current a {
	padding: 1em 1.5em 1em calc(1.5em + 10px);
}
.sidebar-container .term-parent a:before {
	background: none;
	width: 1px;
	height: 50%;
	background-color: #ebebeb;
	right: 0;
}
.sidebar-container .term-parent a:hover:before {
	right: 0 !important;
}
.sidebar-container .term-parent.is-current a:after {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 100%;
	background-color: #db0209;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	left: 1em;
}
.sidebar-container .term-parent span {
	position: absolute;
	top: 0;
	right: 14px;
	bottom: 0;
	margin: auto;
	width: 12px;
	height: 12px;
	z-index: 1;
}
.sidebar-container .term-parent span:before,
.sidebar-container .term-parent span:after {
	content: "";
	position: absolute;
	background-color: #db0209;
	margin: auto;
}
.sidebar-container .term-parent span:before {
	width: 100%;
	height: 2px;
	top: 0;
	bottom: 0;
	left: 0;
}
.sidebar-container .term-parent span:after {
	width: 2px;
	height: 100%;
	top: 0;
	right: 0;
	left: 0;
	transition: .3s all ease;
}
.sidebar-container .term-parent.open span:after {
	height: 0;
}
.sidebar-container .term-parent button {
	cursor: pointer;
	background-color: transparent;
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 100%;
	border: 0;
	padding: 0;
	z-index: 5;
}
.sidebar-container .term-child li a {
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 150%;
}
.sidebar-container ul > li.has-child .term-child li:not(:last-child) a {
	border-bottom: 1px solid #ebebeb;
}
.sidebar-container ul > li.has-child:not(:last-child) .term-child li:last-child a {
	border-bottom: 2px solid #ebebeb;
}
.sidebar-container ul > li.has-child:last-child .term-child {
	border-top: 2px solid #ebebeb;
}
.sidebar-container .term-child {
	display: none;
	background-color: #fafafa;
}

/*小カテゴリ一覧*/
.business-archive-container ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4em 2em;
}
.business-archive-container ul li {
	list-style: none;
	width: calc(50% - 1em);
}
.business-archive-container ul li a {
	display: block;
}
.business-archive-container ul li a img {
	width: 100%;
	height: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 10px;
}
.business-archive-container .title {
	display: block;
	margin: 1rem 0 0.5rem;
	font-size: 1.7rem;
	font-weight: 500;
}
.business-archive-container .description {
	
}

/*詳細ページ*/

.business-main-img {
	margin-bottom: 0 !important;
}
.business-main-img img {
	border-radius: 10px;
}

.job-description-group {
	padding-bottom: 1.5em;
	border-bottom: 1px dashed #dfdfdf;
}
.job-description-group:not(:last-child) {
	margin-bottom: 1.5em;
}


.list-accordion-wrap {
	border: 1px solid #ebebeb;
	border-radius: 10px;
}
.list-accordion-wrap .accordion-title {
	padding: 2em 3em;
	cursor: pointer;
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: .1rem;
	position: relative;
}
.list-accordion-wrap .accordion-title:before,
.list-accordion-wrap .accordion-title:after {
	content: "";
	position: absolute;
	background-color: #db0209;
	margin: auto;
	top: 0;
	bottom: 0;
}
.list-accordion-wrap .accordion-title:before {
	width: 17px;
	height: 3px;
	right: 3em;
}
.list-accordion-wrap .accordion-title:after {
	width: 3px;
	height: 17px;
	right: calc(3em + 7px);
	transition: .3s all ease;
}
.list-accordion-wrap .accordion-title.is-open:after {
	height: 0;
}
.list-accordion-wrap .accordion-contents {
	padding: 0 4em 2em;
	display: none;
}
.flex-list {
	gap: 0 2em;
	margin-bottom: 2em;
}
.flex-list li {
	padding: 1.5rem 0;
	border-bottom: 1px dashed #dfdfdf;
}
.flex-list li:not(:last-child) {
	margin-bottom: 0 !important;
}
.flex-list li:before {
	top: 26px !important;
}

@media screen and (max-width: 768px) {
	.business-inpage .page-hero {
		border-bottom: 0;
	}
	.business-main-img {
		width: 100vw;
		margin: 0 calc(50% - 50vw) !important;
	}
	.business-main-img img {
		border-radius: 0;
		aspect-ratio: 3/2 !important;
	}
	
	.list-accordion-wrap .accordion-title {
		padding: 1.5em 1.5em;
		font-size: 1.6rem;
		letter-spacing: 0;
	}
	.list-accordion-wrap .accordion-title:before {
		right: 1.5em;
	}
	.list-accordion-wrap .accordion-title:after {
		right: calc(1.5em + 7px);
	}
	.list-accordion-wrap .accordion-contents {
		padding: 0 2em 2em;
	}
	
	.inpage-contact-col table th {
		width: 90px;
	}
	
	.inpage-contact-col .form a {
		padding: 2em 0;
		text-align: center;
	}
	.inpage-contact-col .form a:before {
		display: none;
	}
}

/*曳船業*/
@media screen and (max-width: 420px) {
	.table-scroll-380 table {
		width: 380px !important;
		max-width: none !important;
	}
}


/*内航運送業*/
.achieve-group-title {
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: .1rem;
	margin-bottom: 0.5em;
}
.achieve-group {
	background-color: #f2f2f2;
	padding: 1.5em 2em;
	border-radius: 10px;
	margin-bottom: 0.5em;
}
.achieve-group ul li {
	list-style: none;
	border-bottom: 1px dashed #d2d2d2;
	padding: 0.2em 0 0.2em 2rem;
}
.achieve-group ul li:before {
	top: 15px;
}

/*一般貨物自動車運送事業*/
@media screen and (max-width: 450px) {
	.table-scroll-420 table {
		max-width: none !important;
		width: 420px !important;
	}
}

/*倉庫業*/
.warehousing-col {
	margin-bottom: 2em;
}
.warehousing-col figure {
	margin-bottom: 0;
}
.warehousing-col p {
	font-weight: 500;
	margin-top: 0.5em;
}

@media screen and (max-width: 670px) {
	.table-scroll-610 table {
		max-width: none !important;
		width: 610px !important;
	}
}

/*クレーン作業*/
@media screen and (max-width: 390px) {
	.table-scroll-350 table {
		max-width: none !important;
		width: 350px !important;
	}
}

/*公認計量業*/
.weighing-list {
	margin: 2.5em 0 2em;
}
.weighing-list li {
	border-bottom: 1px dashed #dfdfdf;
	padding-bottom: 0.5em;
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: .1rem;
}
.weighing-bullet {
	margin-bottom: 1em;
}
.weighing-bullet:last-child {
	margin-bottom: 2em;
}
.weighing-bullet > .wp-block-group__inner-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.weighing-bullet h4 {
	font-size: 1.6rem;
	background-color: #db0209;
	color: #fff;
	width: 210px;
	text-align: center;
	margin-bottom: 0;
	padding: 0.5em 0;
	border-radius: 5px;
}
.weighing-bullet .text-box {
	width: calc(100% - 230px);
}

/*公認計量業*/
.pdscl-col figure {
	margin-bottom: 0;
}
.pdscl-col figure img {
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 1024px) {
	.weighing-list li {
		font-size: 1.6rem;
		letter-spacing: 0;
	}
}
@media screen and (max-width: 768px) {
	.weighing-bullet > .wp-block-group__inner-container {
		align-items: flex-start;
		flex-direction: column;
	}
	.weighing-bullet h4 {
		width: 200px;
		margin-bottom: 1em;
	}
	.weighing-bullet .text-box {
		width: 100%;
	}
}

/*毒物劇物一般販売業*/
@media screen and (max-width: 781px) {
	.pdscl-col .pdscl-col-img {
		max-width: 250px;
		margin: 0 auto;
	}
}


/******************
企業情報
******************/

/*一覧ページ*/
.company-archive-container ul {
	display: flex;
	flex-wrap: wrap;
	gap: 3em 2em;
}
.company-archive-container ul li {
	list-style: none;
	width: calc(33.33% - 1.333em);
}
.company-archive-container ul li a {
	display: block;
}
.company-archive-container ul li img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 3/2;
	object-fit: cover;
	border-radius: 10px;
}
.company-archive-container ul li .title {
	margin: 1rem auto 0;
	display: block;
	font-size: 1.7rem;
	font-weight: 500;
	margin-top: 1rem;
	position: relative;
}

@media screen and (max-width: 1024px) {
	.company-archive-container ul li {
		width: calc(50% - 1em);
	}
}
@media screen and (max-width: 480px) {
	.company-archive-container ul li {
		width: 100%;
	}
}

/*企業理念*/

.philosophy-list {
	
}
.philosophy-list li {
	list-style: none;
	position: relative;
	padding-left: 2em;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",  "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 2rem;
	letter-spacing: .1rem;
	font-weight: 600;
}
.philosophy-list li:not(:last-child) {
	margin-bottom: 1.5em;
}
.philosophy-list li:before {
	content: "一、";
	position: absolute;
	top: 0;
	left: 0;
}
.philosophy-list-sign {
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN",  "游明朝", YuMincho, "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: .1rem;
	margin-top: 2em;
}
@media screen and (max-width: 1024px) {
	.philosophy-img {
		max-width: 300px;
		margin: 0 auto 1em !important;
	}
	.philosophy-list li {
		font-size: 1.8rem;
		letter-spacing: 0;
	}
	.philosophy-list-sign {
		font-size: 1.6rem;
	}
}
@media screen and (max-width: 768px) {
	.philosophy-img {
		max-width: 240px;
	}
	.philosophy-list li {
		font-size: 1.6rem;
	}
}

/*会社概要*/
.equipment-col table th,
.equipment-col table td {
	line-height: 150%;
}
@media screen and (max-width: 1024px) {
	.overview-table th {
		width: 170px;
	}
	.license-table th {
		width: 220px !important;
	}
}
@media screen and (max-width: 770px) {
	.license-table table {
		width: 700px !important;
		max-width: none !important;
	}
}
@media screen and (max-width: 570px) {
	.overview-table table {
		width: 520px !important;
		max-width: none !important;
	}
}

/*事業所一覧・グループ企業 上部共通ナビ*/
.inpage-nav {
	margin-bottom: 6em;
}
.inpage-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}
.inpage-nav ul li {
	list-style: none;
	width: calc(25% - 1.33em);
}
.inpage-nav ul li a {
	display: block;
	background-color: #f6f6f6;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 130%;
	height: 60px;
	display: flex;
	align-items: center;
	border-radius: 5px;
	position: relative;
}
.inpage-nav ul li a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 2rem;
	margin: auto;
	width: 15px;
	height: 15px;
	background: url(./images/common/chevron_down.png) center / 100% no-repeat;
}
.inpage-nav ul li a span {
	padding: 0 4rem 0 2rem;
}

.inpage-nav .select-wrap {
	display: none;
}

@media screen and (max-width: 1330px) {
	.inpage-nav ul li {
		width: calc(33.33% - 0.666em);
	}
}
@media screen and (max-width: 768px) {
	.inpage-nav {
		margin-bottom: 4em;
	}
	.inpage-nav ul {
		display: none;
	}
	.inpage-nav ul li {
		width: 100%;
	}
	.inpage-nav .select-wrap {
		display: inline-block;
		width: 100%;
		max-width: 300px;
		position: relative;
	}
	.inpage-nav .select-wrap:before {
		content: "";
		width: 1px;
		height: 60%;
		background-color: #e7e7e7;
		position: absolute;
		top: 20%;
		right: 55px;
		pointer-events: none;
	}
	.inpage-nav .select-wrap:after {
		content: '';
		position: absolute;
		top: 21px;
		right: 26px;
		width: 0;
		height: 0;
		border-style: solid;
		border-right: 5px solid transparent;
		border-left: 5px solid transparent;
		border-top: 7px solid #db0209;
		border-bottom: 0;
		pointer-events: none;
	}
	.inpage-nav select {
		width: 100%;
		appearance: none;
		-webkit-appearance: none;
		-moz-appearance: none;
		border-radius: 999px;
		background-color: #f6f6f6;
		border: 1px solid #e7e7e7;
		padding: 1em calc(2em + 50px) 1em 2em;
		font-size: 1.5rem;
		cursor: pointer;
		box-sizing: border-box;
		outline: none;
		color: #323232;
	}
}

/*事業所一覧*/
.office-group .office-group-col figure {
	margin-bottom: 0 !important;
}
.office-group iframe {
	width: 100% !important;
	height: 380px !important;
}
.office-group img {
	border-radius: 10px;
}
.office-group .office-group-col .notes {
	margin-top: 0.5em;
}

@media screen and (max-width: 768px) {
	.office-group table th {
		width: 150px !important;
	}
}
@media screen and (max-width: 650px) {
	.office-group table {
		width: 590px !important;
		max-width: none !important;
	}
	.office-group iframe {
		height: 280px !important;
	}
}

/*メディア*/
.video-container iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
}

/*会社の取り組み*/
.sdgs-group {
	margin-top: 3em;
	padding-top: 3em;
	border-top: 1px dashed #dfdfdf;
}
.sdgs-group.first {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}
.sdgs-images {
	max-width: 360px;
	margin: 2em 0;
}
.sdgs-list-group {
	margin-top: 2em;
}
.sdgs-list-title {
	display: inline-block;
	background-color: #db0209;
	color: #fff;
	padding: 0.5rem 3rem;
	font-weight: 500;
	letter-spacing: .1rem;
	border-radius: 10px 10px 0 0;
}
.sdgs-list-group ul {
	background-color: #f2f2f2;
	padding: 1.5em 2em;
	border-radius: 0 10px 10px 10px;
}
.sdgs-list-group ul li {
	list-style: none;
	position: relative;
	padding-left: 2rem;
}
.sdgs-list-group ul li:not(:last-child) {
	margin-bottom: 1rem;
}
.sdgs-list-group ul li:before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 100%;
	background-color: #db0209;
	position: absolute;
	top: 11px;
	left: 0;
}

@media screen and (max-width: 1024px) {
	.sdgs-logo {
		margin-top: 2em !important;
	}
}
@media screen and (max-width: 781px) {
	.certification-col figure {
		max-width: 240px;
		margin: 0 auto;
	}
}
@media screen and (max-width: 768px) {
	.sdgs-logo figure {
		max-width: 260px;
	}
	.sdgs-images {
		max-width: 300px;
	}
	.sdgs-list-title {
		padding: 0.3rem 1.5rem;
		letter-spacing: 0;
	}
}
@media screen and (max-width: 540px) {
	.sdgs-images {
		margin-left: auto;
		margin-right: auto;
	}
	.sdgs-list-group ul {
		padding: 1em 1em;
	}
	.sdgs-list-group ul li {
		padding-left: 1.5rem;
	}
	.sdgs-list-group ul li:not(:last-child) {
		margin-bottom: 0.5rem;
	}
}

/*奈雅井の歩み*/
.history-nav {
	margin-bottom: 4em;
}
.history-nav ul {
	max-width: 280px;
	background-color: #f2f2f2;
	display: flex;
	padding: 0.5em;
	border-radius: 10px;
}
.history-nav ul li {
	list-style: none;
	width: 50%;
}
.history-nav ul li a {
	display: block;
	text-align: center;
	font-weight: 500;
	padding: 0.5rem 0;
}
.history-nav ul li.is-current a {
	background-color: #db0209;
	color: #fff;
	border-radius: 5px;
	pointer-events: none;
}


.history-year-group {
	border-bottom: 1px solid #ebebeb;
	padding-bottom: 3em;
	margin-bottom: 3em;
}
.history-year-group > .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.history-year-group h2 {
	width: 80px;
	margin-right: 20px;
	font-family: "Montserrat", sans-serif;
	font-size: 3rem;
	font-weight: 600;
	letter-spacing: .1rem;
	line-height: 100%;
	white-space: nowrap;
	padding-left: 30px;
	position: relative;
}
.history-year-group h2:before {
	content: "";
	width: 13px;
	height: 2px;
	background-color: #db0209;
	position: absolute;
	top: 13px;
	left: 0;
}
.history-month-group {
	width: calc(100% - 130px);
}
.history-month-group:not(:last-child) {
	margin-bottom: 2em;
}
.history-month-group > .wp-block-group__inner-container {
	display: flex;
}
.history-month-group h3 {
	width: 60px;
	margin-right: 20px;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 600;
	color: #db0209;
	line-height: 160%;
}
.history-month-group .text-box {
	width: calc(100% - 80px);
}
.history-month-group.has-img .text-box {
	width: calc(100% - 300px);
}
.history-month-group.has-img figure {
	margin-left: 20px;
	margin-bottom: 0 !important;
}
.history-month-group.has-img figure img {
	border-radius: 10px;
}
.history-prev-next.next {
	text-align: right;
}
.history-prev-next a {
	display: inline-block;
	max-width: 190px;
	width: 100%;
	background-color: #f2f2f2;
	text-align: center;
	padding: 1rem 0;
	font-weight: 500;
	border-radius: 5px;
	position: relative;
}
.history-prev-next a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	width: 15px;
	height: 15px;
}
.history-prev-next.next a:before {
	right: 1em;
	background: url(./images/common/chevron_right.png) center / 100% no-repeat;
}
.history-prev-next.prev a:before {
	left: 1em;
	background: url(./images/common/chevron_left.png) center / 100% no-repeat;
}

@media screen and (max-width: 768px) {
	.history-year-group h2 {
		width: 100%;
		font-size: 2.4rem;
		margin-right: 0;
		margin-bottom: 1em;
		padding-left: 25px;
	}
	.history-year-group h2:before {
		width: 10px;
		top: 10px;
	}
	.history-month-group {
		width: 100%;
	}
	.history-month-group h3 {
		width: 45px;
		margin-right: 10px;
		text-align: left;
	}
	.history-month-group.has-img figure img {
		border-radius: 5px;
	}
}
@media screen and (max-width: 620px) {
	.history-month-group > .wp-block-group__inner-container {
		flex-wrap: wrap;
	}
	.history-month-group.has-img .text-box {
		width: calc(100% - 55px);
	}
	.history-month-group.has-img figure {
		width: calc(100% - 55px);
		margin-left: 55px;
		margin-top: 1em;
	}
	.history-month-group.has-img figure img {
		width: 100% !important;
	}
}

/******************
ニュース
******************/

/*詳細ページ*/
.news-bread-crumb {
	text-align: left !important;
}
.news-contents {
	max-width: 800px;
}
.news-hedding {
	margin-bottom: 3em;
}
.news-hedding span {
	display: block;
	font-family: "Montserrat", sans-serif;
	color: #db0209;
	margin-bottom: 1em;
}
.news-hedding h2 {
	font-size: 2.8rem;
	font-weight: 600;
	letter-spacing: .1rem;
	line-height: 150%;
}

.news-archive-back {
	margin: 4em auto 0;
}
.news-archive-back a {
	padding: 2rem 3rem 2rem;
	text-align: center;
}
.news-archive-back a:before {
	right: auto;
	left: 3rem;
	background: url(./images/common/arrow_wht_left.png) center / 100% no-repeat;
}
.news-archive-back a:hover:before {
	right: auto;
	left: 2.8rem;
}


.news-contents h2 {
	font-size: 2.6rem;
	font-weight: 600;
	letter-spacing: .1rem;
	line-height: 150%;
	margin-bottom: 1em;
}
.news-contents h3 {
	font-size: 2.2rem;
	font-weight: 600;
	letter-spacing: .1rem;
	line-height: 150%;
	margin-bottom: 0.5em;
}
.news-contents h4 {
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 150%;
}
.news-contents ul li {
	list-style: none;
	padding-left: 15px;
	position: relative;
}
.news-contents ul li:before {
	position: absolute;
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 100%;
	background-color: #323232;
	top: 0.75em;
	left: 0;
}
.news-contents ol {
	margin-left: 23px;
}
@media screen and (max-width: 1024px) {
	.news-hedding h2 {
		font-size: 2.4rem;
	}
	
	.news-contents h2 {
		font-size: 2.4rem;
	}
	.news-contents h3 {
		font-size: 2rem;
	}
	
	.news-archive-back a {
		padding: 1.5rem 3rem 1.5rem;
	}
}
@media screen and (max-width: 768px) {
	.news-hedding h2 {
		font-size: 2rem;
	}
	
	.news-contents h2 {
		font-size: 2rem;
	}
	.news-contents h3 {
		font-size: 1.8rem;
	}
}

/******************
コンテナ航路照会
******************/
.route-group {
	border-bottom: 1px solid #ebebeb;
	margin-bottom: 3em;
	padding-bottom: 3em;
}
.route-scroll-container {
	background-color: #f2f2f2;
	margin-bottom: 1em;
}
.route-scroll-container ul {
	display: flex;
	padding: 2em;
}
.route-scroll-container li {
	list-style: none;
	white-space: nowrap;
	position: relative;
}
.route-scroll-container li:not(:first-child) {
	padding-left: 20px;
}
.route-scroll-container li:not(:last-child) {
	padding-right: 40px;
}
.route-scroll-container li:last-child {
	padding-right: 2em;
}
.route-scroll-container li:not(:last-child):before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	width: 20px;
	height: 7px;
	background: url(./images/common/arrow_blk.png) center / 100% no-repeat;
}
.route-scroll-container .scroll-hint-icon {
	display: none;
}

.route-contact-col {
	max-width: 890px;
}

@media screen and (max-width: 768px) {
	.route-external-link {
		display: block !important;
	}
	.route-external-link a {
		display: block;
		max-width: 260px;
		width: 100%;
	}
	.route-external-link p:not(:last-child) {
		margin-bottom: 1em;
	}
	
	.route-scroll-container .scroll-hint-icon {
		display: block;
	}
	.route-scroll-container ul {
		padding: 4em 2em;
	}
}

/******************
お問い合わせ
******************/

/*一覧ページ*/
.contact-tel-archive {
	margin-bottom: 6em;
}
.contact-tel-archive .archive-comment p span {
	font-size: 1.8rem;
	font-weight: 600;
}
.contact-tel-container {
	display: flex;
	flex-wrap: wrap;
	gap: 4em;
}
.contact-tel-item {
	width: calc(50% - 2em);
}
.contact-tel-item table {
	width: 100%;
	border: 1px solid #ebebeb;
}
.contact-tel-item table tr:not(:last-child) {
	border-bottom: 1px solid #ebebeb;
}
.contact-tel-item table th {
	padding: 1em 1.5em;
	background-color: #f2f2f2;
	border-right: 1px solid #ebebeb;
	width: 100px;
	text-align: center;
}
.contact-tel-item table td {
	padding: 1em 1.5em;
	line-height: 140%;
}
.contact-tel-item table td span {
	font-size: 1.4rem;
}

.contact-form-archive .archive-comment ul,
.contact-tel-archive .archive-comment ul {
	margin-top: 1em;
}
.contact-form-archive .archive-comment ul li,
.contact-tel-archive .archive-comment ul li {
	list-style: none;
	font-size: 1.5rem;
	line-height: 150%;
	position: relative;
	padding-left: 1.2em;
}
.contact-form-archive .archive-comment ul li:not(:last-child),
.contact-tel-archive .archive-comment ul li:not(:last-child) {
	margin-bottom: 0.5rem;
}
.contact-form-archive .archive-comment ul li.important,
.contact-tel-archive .archive-comment ul li.important {
	color: #cf2e2e;
}
.contact-form-archive .archive-comment ul li:before,
.contact-tel-archive .archive-comment ul li:before {
	content: "※";
	position: absolute;
	top: 0;
	left: 0;
}
.contact-form-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
}
.contact-form-item {
	width: calc(50% - 1em);
}
.contact-form-item a {
	display: block;
	background-color: #262626;
	color: #fff;
	padding: 2em calc(2em + 40px) 2em 2em;
	border-radius: 10px;
	font-size: 1.8rem;
	position: relative;
	transition: .3s all ease;
}
.contact-form-item a:hover {
	background-color: #474747;
}
.contact-form-item a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 2em;
	margin: auto;
	width: 20px;
	height: 6px;
	background: url(./images/common/arrow_wht.png) center / 100% no-repeat;
	transition: .1s all ease;
}
.contact-form-item a:hover:before {
	opacity: 0.6;
	right: 1.8em;
}

@media screen and (max-width: 1024px) {
	.contact-tel-item table th {
		width: 40px;
	}
}
@media screen and (max-width: 768px) {
	.contact-tel-container {
		gap: 2em 0;
	}
	.contact-tel-item {
		width: 100%;
	}
	.contact-form-container {
		gap: 1em 0;
	}
	.contact-form-item {
		width: 100%;
	}
	.contact-form-item a {
		padding: 1.5em calc(1.5em + 40px) 1.5em 1.5em;
	}
	.contact-form-item a:before {
		right: 1.5em;
	}
}


/*詳細ページ*/
.contact-h2 {
	text-align: center;
	font-size: 2.6rem;
	font-weight: 500;
	line-height: 150%;
	letter-spacing: .1rem;
}
.contact-h2 br {
	display: none;
}
.contact-notes {
	max-width: 900px;
	margin: 4em auto;
}
.required {
	display: inline-block;
	color: #fff;
	background: #db0209;
	font-size: 1.2rem;
	line-height: 1;
	font-weight: 500;
	padding: 6px 10px;
	border-radius: 2px;
	margin-left: 10px;
}
.contact-notes .required {
	margin-left: 0 !important;
	margin-right: 5px;
}
.contact-notes ul {
	margin-top: 1em;
}
.contact-notes ul li {
	list-style: none;
	font-size: 1.5rem;
	line-height: 150%;
	position: relative;
	padding-left: 1.2em;
}
.contact-notes ul li:not(:last-child) {
	margin-bottom: 0.5rem;
}
.contact-notes ul li.important {
	color: #cf2e2e;
}
.contact-notes ul li:before {
	content: "※";
	position: absolute;
	top: 0;
	left: 0;
}


/*フォーム初期設定*/

#contactForm input, #contactForm textarea {
	width: calc(100% - 32px);
	font-size: 100%;
	padding: 15px 15px;
	background: #f2f2f2;
	border: 0;
	outline: none;
	line-height: 150%;
}
#contactForm input {
	border-radius: 5px;
}
#contactForm textarea {
	border-radius: 5px;
}
.has-select .wpcf7-form-control-wrap {
	display: inline-block;
	position: relative;
}
.has-select .wpcf7-form-control-wrap:before {
	content: '';
	position: absolute;
	top: 25px;
	right: 15px;
	width: 0;
	height: 0;
	border-style: solid;
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
	border-top: 7px solid #555555;
	border-bottom: 0;
	pointer-events: none;
}
.has-select select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 5px;
	background: #f2f2f2;
	border: 0;
	padding: 15px 40px 15px 15px;
	font-size: 100%;
	line-height: 24px;
	cursor: pointer;
	box-sizing: border-box;
	outline: none;
	color: #323232;
}


input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
	border: 2px solid #ccc;
	outline: none;
	cursor: pointer;
	margin-right: 3px;
	margin-bottom: 4px;
	padding: 0;
	position: relative;
}
input[type="checkbox"]:checked::before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	background: #d60909;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 26%, 84% 6%, 45% 69%);
}
#sendingCheck input[type="checkbox"]:checked::before {
	background: #d60909;
}

.wpcf7-list-item.first {
	margin-left: 0 !important;
}

.has-radio label {
	display: flex;
	align-items: center;
}

input[type="radio"] {
	width: auto !important;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	display: inline-block;
	width: 25px !important;
	height: 20px;
	border-radius: 50%;
	padding: 0 !important;
	border: 0 !important;
	outline: none;
	cursor: pointer;
	position: relative;
	background: transparent !important;
}
input[type="radio"]:checked {
    border-color: #2196F3;
}
input[type="radio"]:checked::before {
    content: '';
    display: block;
	width: 11px;
	height: 11px;
    border-radius: 50%;
    background: #9e9e9e;
    position: absolute;
    top: 5px;
	left: 3px;
	z-index: 5;
}
input[type="radio"]:after {
	content: '';
    display: block;
    width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #fff;
	position: absolute;
	top: 1.5px;
	left: 0;
}
.wpcf7-radio .wpcf7-list-item {
	margin-left: 30px;
}


/*フォームレイアウト*/

#contactForm {
	max-width: 900px;
	margin: 0 auto;
}
#contactForm table {
	display: block;
}
#contactForm table tbody {
	width: 100%;
	display: block;
}
#contactForm table tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #ebebeb;
}
#contactForm table tr:first-child {
	border-top: 1px solid #ebebeb;
}
#contactForm table tr th {
	display: block;
	width: 250px;
	text-align: left;
	font-weight: 500;
	padding: 1.5em 0;
}
#contactForm table tr td {
	display: block;
	width: 100%;
	width: calc(100% - 250px);
	padding: 1.5em 0;
}
#contactForm table tr td.has-number input {
	width: auto;
}
#contactForm table tr td.has-2line {
	display: flex;
}
#contactForm table tr td.has-2line p {
	width: calc(50% - 10px);
}
#contactForm table tr td.has-2line p:first-child {
	margin-right: 20px;
}
#contactForm table tr td.has-2line .name-label {
	display: inline-block;
	width: 50px;
	text-align: center;
	white-space: nowrap;
}
#contactForm table tr td.has-2line input {
	width: calc(100% - 80px);
}
#contactForm table tr td .zip-head {
	display: inline-block;
	width: 30px;
	text-align: center;
	white-space: nowrap;
}
#contactForm table tr td .notes {
	font-size: 1.4rem;
	color: #6b6b6b;
	line-height: 150%;
	margin-top: 5px;
}
#contactForm table tr td .has-radio {
	margin-bottom: 15px;
}
#contactForm table tr td.birthday {
	display: flex;
}
#contactForm table tr td.birthday p {
	margin-right: 20px;
	position: relative;
	padding-right: 30px;
}
#contactForm table tr td.birthday p:last-child {
	margin-right: 0;
}
#contactForm table tr td.birthday .year input {
	width: 80px;
}
#contactForm table tr td.birthday .month input,
#contactForm table tr td.birthday .day input {
	width: 40px;
}
#contactForm table tr td.birthday p .label {
	width: 20px;
	display: block;
	text-align: center;
	position: absolute;
	top: 13px;
	right: 0;
}

#form-personal-info {
	max-width: 900px;
	margin: 0 auto 4em;
	padding: 3em 0;
	border-bottom: 1px solid #ebebeb;
}
#form-personal-info .title {
	font-weight: 500;
	margin-bottom: 1em;
}
#form-personal-info a {
	text-decoration: underline;
}
#personal-info-check {
	text-align: center;
	margin-top: 2em;
}
#personal-info-check .wpcf7-list-item {
	margin: 0;
}

#formBtnBox {
	display: flex;
	max-width: 600px;
	margin: 0 auto 70px;
	position: relative;
}
#formBtnBox .returnBtn, #formBtnBox .kakuninBtn {
	width: calc(50% - 10px);
}
#formBtnBox .returnBtn {
	margin-right: 15px;
}
#formBtnBox input {
	width: 100%;
	display: block;
	border: 0;
	border-radius: 5px;
	padding: 20px 0;
	font-size: 1.6rem;
	color: #fff;
	background: #b4b4b4;
	cursor: pointer;
	transition: .3s all ease;
}
#formBtnBox input:hover {
	background: #bfbfbf;
}
#formBtnBox .kakuninBtn input {
	background: #d71616;
}
#formBtnBox .kakuninBtn input:hover {
	background: #d56363;
}

#caveat {
	display: none;
	text-align: center;
	font-size: 90%;
	line-height: 170%;
}
#caveat a {
	text-decoration: underline;
}

.wpcf7-not-valid-tip {
	font-size: 80% !important;
	color: #d60909 !important;
}
#contactForm table tr td.birthday .month .wpcf7-not-valid-tip,
#contactForm table tr td.birthday .day .wpcf7-not-valid-tip {
	white-space: nowrap;
	position: absolute;
	bottom: -41px;
	left: 0;
}

.wpcf7-spinner {
	position: absolute !important;
	right: 0 !important;
	left: 0 !important;
	bottom: -40px !important;
	margin: auto !important;
}

.wpcf7 form .wpcf7-response-output {
	padding: 20px 20px !important;
	text-align: center;
	border: 0 !important;
	background-color: #fff;
	border-radius: 10px;
	color: #d60909 !important;
}

@media screen and (max-width: 1024px) {
	.contact-h2 {
		font-size: 2.4rem;
	}
	
	#contactForm table tr th {
		width: 220px;
	}
	#contactForm table tr td {
		width: calc(100% - 220px);
	}
}
@media screen and (max-width: 768px) {
	.contact-h2 {
		font-size: 2rem;
	}
	.contact-h2 br {
		display: block;
	}
	
	#contactForm table tr {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}
	#contactForm table tr th {
		width: 100%;
		padding-bottom: 0;
	}
	#contactForm table tr td {
		width: 100%;
	}
}
@media screen and (max-width: 480px) {
	#contactForm table tr td.has-2line {
		flex-direction: column;
	}
	#contactForm table tr td.has-2line p {
		width: 100%;
	}
	#contactForm table tr td.has-2line p:first-child {
		margin-right: 0;
		margin-bottom: 1em;
	}
	
	#formBtnBox {
		flex-direction: column;
	}
	#formBtnBox .returnBtn,
	#formBtnBox .kakuninBtn {
		width: 100%;
	}
	#formBtnBox .returnBtn {
		margin-right: 0;
		margin-bottom: 1em;
	}
}
@media screen and (max-width: 430px) {
	#contactForm table tr td.birthday .year input {
		width: 50px;
	}
	#contactForm table tr td.birthday p {
		margin-right: 10px;
	}
	#contactForm table tr td.birthday .month input,
	#contactForm table tr td.birthday .day input {
		width: 20px;
	}
}

/******************
お問い合わせ完了画面
******************/
.contact-thanks-container {
	margin-top: 2em;
	text-align: center;
}
.contact-thanks-notes {
	background-color: #f4f4f4;
	text-align: left;
	padding: 2em;
	border-radius: 10px;
	max-width: 920px;
	margin: 0 auto;
}
.contact-thanks-container .common-link {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 768px) {
	.contact-thanks-container {
		text-align: left;
	}
	.contact-thanks-notes {
		padding: 1.5em;
	}
}

/******************
404ページ
******************/
.page-title-404 h1 {
	font-size: clamp(2.2rem, 2.5vw, 3.5rem) !important;
}
.page-title-404 h1 br {
	display: none;
}
.contents-404 {
	text-align: center;
}
.contents-404 .common-link {
	margin: 4em auto 0;
	text-align: left;
}

@media screen and (max-width: 610px) {
	.contents-404 {
		text-align: left;
	}
}
@media screen and (max-width: 470px) {
	.page-title-404 h1 br {
		display: block;
	}
}
