/*
Theme Name: 南星物産株式会社
Description: 南星物産株式会社用Webサイトテンプレート
Version: 1.0
*/

/* ============================
   Hero Slideshow Section
   ============================ */
#hero-slideshow {
	position: relative;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	height: 0;
	padding-bottom: 50.3%;
	/* aspect ratio ~1024:515 */
	overflow: hidden;
	background: #0B3C73;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
	z-index: 1;
}

.hero-slide.active {
	opacity: 1;
	z-index: 2;
}

.hero-slide.fade-out {
	opacity: 0;
	z-index: 1;
}

.hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Ken Burns zoom effects (photo slides only) */
/* Usage: add class "zoom-in" or "zoom-out" to each .hero-slide div */
@keyframes heroZoomIn {
	from {
		transform: scale(1.0);
	}

	to {
		transform: scale(1.2);
	}
}

@keyframes heroZoomOut {
	from {
		transform: scale(1.2);
	}

	to {
		transform: scale(1.0);
	}
}

/* Zoom-In: 1.0 -> 1.2 */
.hero-slide.zoom-in.active img,
.hero-slide.zoom-in.fade-out img {
	animation: heroZoomIn 9s ease-out forwards;
}

/* Zoom-Out: 1.2 -> 1.0 */
.hero-slide.zoom-out.active img,
.hero-slide.zoom-out.fade-out img {
	animation: heroZoomOut 9s ease-out forwards;
}

/* Reset when fully inactive */
.hero-slide:not(.hero-slide-logo):not(.active):not(.fade-out) img {
	animation: none;
	transform: scale(1.0);
}

/* Logo slide: white background with centered logo */
.hero-slide-logo {
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-slide-logo img {
	width: auto;
	height: 60%;
	max-width: 70%;
	object-fit: contain;
}

/* Text overlay on top of the slideshow */
.hero-overlay-text {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	padding: 18px 20px;
	box-sizing: border-box;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
	letter-spacing: 0.08em;
	line-height: 1.4;
	background: linear-gradient(to bottom, rgba(11, 60, 115, 0.6) 0%, rgba(11, 60, 115, 0) 100%);
	pointer-events: none;
	white-space: nowrap;
}

@media screen and (max-width: 979px) {
	#hero-slideshow {
		max-width: 100%;
	}

	.hero-overlay-text {
		font-size: 12px;
		padding: 12px 10px;
		white-space: normal;
	}
}


body {
	margin: 0;
	padding: 0;
	background: #F8FAFC;
	color: #334155;
	text-align: center;
	font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	font-size: 14px;
	line-height: 1.8;
	transition: background-color 0.4s ease, color 0.4s ease;
}

a {
	color: #0B3C73;
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: #E60012;
}

/* ============================
   Language Switcher (Nav bar)
   ============================ */
.lang-switcher {
	position: relative;
	margin-left: auto;
}

.lang-switcher-btn {
	background: transparent;
	border: 1px solid #0B3C73;
	border-radius: 4px;
	color: #0B3C73;
	font-size: 13px;
	padding: 4px 12px;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.lang-switcher-btn:hover {
	background: #0B3C73;
	color: #fff;
}

.lang-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background: #fff;
	border: 1px solid #CBD5E1;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	list-style: none;
	padding: 4px 0;
	margin: 4px 0 0 0;
	min-width: 140px;
	z-index: 100;
}

.lang-dropdown.open {
	display: block;
}

.lang-dropdown li {
	border: none !important;
	background: none !important;
}

.lang-dropdown li a {
	display: block;
	padding: 8px 16px;
	color: #334155;
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
	border: none !important;
	background: none !important;
}

.lang-dropdown li a::after {
	content: none !important;
	border: none !important;
}

.lang-dropdown li a:hover {
	background: #EEF2F7;
	color: #0B3C73;
}

/* Mobile language separator */
.sp-lang-separator {
	border-top: 1px solid #CBD5E1;
	margin: 4px 0;
}

/* Dark mode: language switcher */
body.dark-mode .lang-switcher-btn {
	border-color: #7EB8E8;
	color: #E8D8C4;
}

body.dark-mode .lang-switcher-btn:hover {
	background: #1A5A9E;
	color: #fff;
}

body.dark-mode .lang-dropdown {
	background: #072B54;
	border-color: #1A5A9E;
}

body.dark-mode .lang-dropdown li a {
	color: #E8D8C4;
}

body.dark-mode .lang-dropdown li a:hover {
	background: #1A5A9E;
	color: #F4C38C;
}

/* ============================
   Dark Mode Toggle Button
   ============================ */
#dark-mode-toggle {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 9998;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid #0B3C73;
	background: #fff;
	color: #0B3C73;
	font-size: 22px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	line-height: 1;
}

#dark-mode-toggle:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ============================
   Dark Mode Styles
   ============================ */
body.dark-mode {
	background: #0B3C73;
	color: #E8D8C4;
}

body.dark-mode a {
	color: #7EB8E8;
}

body.dark-mode a:hover {
	color: #F4C38C;
}

body.dark-mode #dark-mode-toggle {
	background: #0B3C73;
	color: #F4C38C;
	border-color: #F4C38C;
}

/* Dark mode: header */
body.dark-mode #header,
body.dark-mode #gnav {
	background: #072B54;
	border-top-color: #F4C38C;
}

body.dark-mode #gnav a {
	color: #E8D8C4;
}

body.dark-mode #gnav a:hover {
	color: #F4C38C;
}

/* Dark mode: headings */
body.dark-mode .ttl-h1,
body.dark-mode .ttl-h2 {
	background: #072B54;
	color: #E8D8C4;
}

/* Dark mode: content areas */
body.dark-mode .inn,
body.dark-mode .inn-content,
body.dark-mode .bx-content,
body.dark-mode #content {
	background: transparent;
	color: #E8D8C4;
}

/* Dark mode: tables */
body.dark-mode table {
	border-color: #1A5A9E;
}

body.dark-mode th {
	background: #072B54;
	color: #E8D8C4;
}

body.dark-mode td {
	background: rgba(7, 43, 84, 0.5);
	color: #E8D8C4;
}

/* Dark mode: footer */
body.dark-mode footer {
	background: #041D3A;
	color: #B0C8E0;
}

body.dark-mode footer a {
	color: #B0C8E0;
}

body.dark-mode footer a:hover {
	color: #F4C38C;
}

h1,
h2,
h3,
h4,
h5 {
	margin: 0;
	padding: 0;
}

langbutton {
	position: relative;
	top: 0px;
	right: 0px
		/* 選択ボックスの位置指定 */
}

ul,
li {
	margin: 0;
	padding: 0;
}

.pc-only {
	display: block;
}

.sp-only {
	display: none;
}

a.lnk {
	display: inline-block;
	padding-left: 13px;
	background: url('images/ico_arrow.png') no-repeat left center;
	color: #0B3C73;
	font-size: 13px;
	transition: all 0.3s ease;
}

a.lnk:hover {
	color: #E60012;
}

#gnav {
	width: 980px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	margin: 0 auto;
	height: 150px;
	text-align: left;
	border-top: 4px solid #0B3C73;
}

.bx-header-top {
	width: 100%;
	position: relative;
	height: 74px;
	padding-top: 22px;
	margin-bottom: 12px;
}

.bx-header-top h1,
.bx-header-top .logo {
	display: block;
	position: absolute;
	top: 22px;
	left: 28px;
}

.bx-search {
	position: absolute;
	width: 380px;
	top: 30px;
	right: 28px;
	text-align: right;
}

.bx-search form {
	display: inline-block;
	height: 30px;
}

.bx-search form img {
	vertical-align: middle;
}

.form-search {
	height: 30px;
	border-radius: 5px 0px 0px 5px;
	box-shadow: 0px 0px 3px 3px #e8e8e8 inset;
	border: 0px;
	margin-left: 20px;
	box-sizing: border-box;
	padding: 5px 10px 5px 10px;
}

.btn-search {
	overflow: hidden;
	width: 60px;
	height: 30px;
	border: 0;
	background: url('images/btn_search.png')no-repeat;
}

ul.bx-header-bottom {
	display: inline-block;
	height: 32px;
	text-align: left;
	border-left: 1px dotted #d2d2d2;
	margin-left: 28px;
}

ul.bx-header-bottom li {
	list-style: none;
	display: inline-block;
	width: 100px;
	box-sizing: border-box;
	margin: 0 5px;
	position: relative;
	text-align: center;
}

ul.bx-header-bottom li a {
	display: block;
	width: 100px;
	border-bottom: 2px solid transparent;
	padding: 0 0 5px 0;
	font-size: 13px;
	text-decoration: none;
	color: #334155;
	transition: all 0.3s ease;
}

ul.bx-header-bottom li a:hover {
	display: block;
	width: 100px;
	border-bottom: 2px solid #E60012;
	padding: 0 0 5px 0;
	font-size: 13px;
	text-decoration: none;
	color: #E60012;
}

ul.bx-header-bottom li a::after {
	content: "";
	position: absolute;
	right: -8px;
	top: -4px;
	border-right: 1px dotted #d2d2d2;
	height: 32px;
}

.top-head,
.company-head,
.business-head,
.bx-news,
.bx-contact {
	width: 980px;
	margin: 40px auto;
	overflow: hidden;
}

.img-main {
	width: 504px;
	height: auto;
	float: left;
}

.img-main img,
.head-right img {
	border: 1px solid #d2d2d2;
	box-sizing: border-box;
}

.img-txt {
	width: 400px;
	margin-left: 550px;
	margin-top: 90px;
}

.head-left {
	width: 500px;
	height: auto;
	float: left;
	text-align: left;
	line-height: 1.7em;
}

.head-right {
	width: 450px;
	margin-left: 530px;
	text-align: left;
}

.top-menu {
	width: 980px;
	margin: 40px auto;
	overflow: hidden;
}

.top-menu li {
	float: left;
	list-style: none;
	margin-right: 10px;
}

.top-menu li:nth-child(3n) {
	margin-right: 0;
}

.bx-message {
	overflow: hidden;
}

.bx-message .head-left {
	width: 422px;
	height: auto;
}

.bx-message .head-right {
	width: 500px;
	margin-left: 450px;
	line-height: 1.8em;
}

.bx-under {
	margin-bottom: 40px;
	text-align: left;
	line-height: 1.8em;
}

.bx-under p.tx-name {
	text-align: right;
	font-size: 26px;
	font-weight: bold;
}

.bx-under p.tx-name span {
	font-size: 14px;
	font-weight: normal;
}

.bx-about,
.bx-about th,
.bx-about td {
	border: solid 1px #CBD5E1;
	border-collapse: collapse;
	background: #fff;
	text-align: left;
}

.bx-about {
	width: 90%;
	margin: 20px auto 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.bx-about th {
	background: #0B3C73;
	color: #fff;
	padding: 10px 15px;
	box-sizing: border-box;
	text-align: center;
	font-weight: 500;
}

.bx-about td {
	padding: 10px 15px;
	box-sizing: border-box;
}

.bx-network {
	overflow: hidden;
}

.bx-network .bx-left {
	text-align: left;
	width: 560px;
	float: left;
}

.bx-network .bx-left p {
	padding: 0 15px 0 15px;
	box-sizing: border-box;
	font-size: 14px;
}

.bx-network .bx-right {
	width: 400px;
	margin-left: 580px;
	text-align: left;
}

.head-txt-business {
	text-align: left;
	margin: 40px 0;
}

.bx-business-01 {
	overflow: hidden;
	text-align: left;
	margin-bottom: 40px;
	padding: 10px;
}

.img-right {
	float: right;
}

.img-left {
	float: left;
}

.img-center {
	width: 800px;
	display: block;
	margin: 0 auto 30px;
	overflow: hidden;
}

.tx-small {
	text-align: right;
	font-size: 12px;
}

.lnk-other {
	color: #000;
	text-align: center;
	margin-bottom: 50px;
}

.pd-t {
	padding-top: 149px;
}

.bx-client {
	border: 1px solid #000;
	padding: 15px;
	text-align: left;
	float: right
}

.bx-client2 {
	width: 600px;
	border: 1px solid #000;
	padding: 15px;
	text-align: left;
	margin: 0 auto 30px;
}

.bx-client3 {
	width: 300px;
	border: 1px solid #000;
	padding: 15px;
	text-align: left;
	margin: 0 auto 30px;
}

.bx-client span,
.bx-client2 span,
.bx-client3 span {
	font-weight: bold;
}

.bx-client ul li,
.bx-client2 ul li,
.bx-client3 ul li {
	list-style: none;
	padding-left: 10px;
}

.bx-client2 ul li {
	width: 47%;
	display: inline-block;
}

.bx-news dl {
	width: 95%;
	margin: 0 auto;
	text-align: left;
}

.bx-news dl dd .date img {
	vertical-align: middle;
}

.bx-contact dl {
	width: 95%;
	margin: 0 auto;
	text-align: left;
	overflow: hidden;
}

.bx-contact dl dt {
	width: 250px;
	padding: 5px 10px 5px 10px;
	float: left;
	text-align: center;
	color: #fff;
	background: #145ebd;
	box-sizing: border-box;
}

.bx-contact dl dd {
	margin-left: 250px;
	padding: 5px 10px 5px 10px;
	box-sizing: border-box;
}

.bx-contact-01 {
	padding: 0 10px 0 10px;
	box-sizing: border-box;
}

.bx-contact-01 p {
	text-align: left;
}

.bx-phone {
	border: solid 1px #CBD5E1;
	border-collapse: collapse;
	background: #fff;
	width: 90%;
	margin: 20px auto 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.bx-phone th {
	width: 110px;
	background: #0B3C73;
	color: #fff;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	position: relative;
	background-clip: padding-box;
	font-weight: 500;
}

.bx-phone td {
	border: solid 1px #CBD5E1;
	border-collapse: collapse;
	background: #fff;
	text-align: center;
}

.bx-form,
.bx-form th,
.bx-form td {
	border: solid 1px #CBD5E1;
	border-collapse: collapse;
	background: #fff;
	text-align: left;
}

.bx-form {
	width: 90%;
	margin: 20px auto 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.bx-form th {
	background: #0B3C73;
	color: #fff;
	padding: 12px;
	vertical-align: top;
	box-sizing: border-box;
	text-align: left;
	position: relative;
	background-clip: padding-box;
	font-weight: 500;
}

.bx-form th span {
	position: absolute;
	right: 10px;
	top: 7px;
	background: #ea2525;
	color: #fff;
	font-size: 11px;
	padding: 5px;
	line-height: 1em;
}

.bx-form td {
	padding: 5px 10px 5px 10px;
	box-sizing: border-box;
	position: relative;
	text-align: left;
	background-clip: padding-box;
}

.bx-form td span.ex {
	position: absolute;
	right: 10px;
	top: 7px;
}

.wpcf7-text {
	width: 400px;
}

.wpcf7-textarea {
	width: 400px;
}

.bx-contact-01 p.btn-center {
	text-align: center;
}

.btn-submit {
	background: #0B3C73;
	color: #fff;
	width: 200px;
	height: 44px;
	line-height: 44px;
	font-size: 18px;
	border: 0;
	border-radius: 4px;
	margin: 0 auto;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(11, 60, 115, 0.2);
	transition: all 0.3s ease;
}

.btn-submit:hover {
	background: #E60012;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(230, 0, 18, 0.2);
}

.inn-news {
	text-align: left;
	margin-left: 20px;
}

.bx-news .inn-news .date {
	margin-bottom: 20px;
}

.bx-news .inn-news .date img {
	vertical-align: middle;
}

.ttl-h1 {
	width: 100%;
	height: 50px;
	line-height: 50px;
	padding: 0 20px;
	margin-bottom: 24px;
	font-weight: bold;
	font-size: 22px;
	text-align: left;
	color: #fff;
	background: #0B3C73;
	border-left: 6px solid #E60012;
	box-sizing: border-box;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: relative;
}

.ttl-h1::after {
	/* Removed background image to prioritize CSS */
	content: none;
}

.ttl-h2 {
	font-size: 18px;
	background: transparent;
	border-left: 5px solid #E60012;
	border-bottom: 1px solid #CBD5E1;
	padding: 5px 12px;
	box-sizing: border-box;
	margin: 30px 0 20px;
	text-align: left;
	color: #0B3C73;
	font-weight: bold;
}

.tx-year {
	border-bottom: 1px dotted #000;
	text-align: left;
	font-weight: bold;
}

.bx-news .type-post,
.bx-news .type-page {
	text-align: left;
}

footer {
	display: block;
	width: 100%;
	background: #0B3C73;
	box-sizing: border-box;
	padding: 40px 0 0 0;
	text-align: center;
	position: relative;
	color: #F8FAFC;
}

.inn-footer {
	width: 980px;
	margin: 0 auto;
	overflow: hidden;
}

.inn-footer h2 {
	width: 100%;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.inn-footer h2 a {
	font-weight: bold;
	font-size: 16px;
	text-decoration: none;
	color: #fff;
	transition: color 0.3s;
}

.inn-footer h2 a:hover {
	color: #E60012;
}

.bx-footermenu-01,
.bx-footermenu-02,
.bx-footermenu-03,
.bx-footermenu-04 {
	width: 245px;
	height: 180px;
	margin: 20px 0;
	float: left;
}

.bx-footermenu-01 li,
.bx-footermenu-02 li,
.bx-footermenu-03 li,
.bx-footermenu-04 li {
	list-style: none;
	line-height: 1.8em;
	text-align: left;
	font-size: 13px;
	padding-left: 12px;
}

.bx-footermenu-01 li h3,
.bx-footermenu-02 li h3,
.bx-footermenu-03 li h3,
.bx-footermenu-04 li h3 {
	font-size: 14px;
	font-weight: bold;
	padding-left: 0;
	margin-bottom: 8px;
	color: #fff;
}

.bx-footermenu-01 li:before,
.bx-footermenu-02 li:before,
.bx-footermenu-03 li:before,
.bx-footermenu-04 li:before {
	content: "・";
	color: rgba(255, 255, 255, 0.5);
}

.bx-footermenu-01 li:first-child:before,
.bx-footermenu-02 li:first-child:before,
.bx-footermenu-03 li:first-child:before,
.bx-footermenu-04 li:first-child:before {
	content: "";
}

.bx-footermenu-01 li a,
.bx-footermenu-02 li a,
.bx-footermenu-03 li a,
.bx-footermenu-04 li a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.3s;
}

.bx-footermenu-01 li a:hover,
.bx-footermenu-02 li a:hover,
.bx-footermenu-03 li a:hover,
.bx-footermenu-04 li a:hover {
	color: #fff;
}

.bx-footermenu-03 li a::after {
	content: "年";
}

.bx-footermenu-03 li:first-child a::after {
	content: "";
}

footer p {
	margin: 0;
	padding: 15px;
	color: #CBD5E1;
	font-size: 12px;
	background: #062141;
}

footer .ico-top {
	position: absolute;
	right: 25px;
	top: -25px;
	transition: transform 0.3s;
}

footer .ico-top:hover {
	transform: translateY(-3px);
}

@media screen and (max-width: 979px) {
	.pc-only {
		display: none;
	}

	.sp-only {
		display: block;
	}

	.bx-sp-logo {
		background: #fff;
		text-align: left;
	}

	.bx-sp-logo img {
		width: 210px;
		margin: 5px 0 5px 5px;
	}

	.menu:after {
		position: absolute;
		top: 50%;
		right: 10px;
		margin-top: -14px;
		content: '>';
		font-size: 14px;
		font-weight: bold;
		-moz-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		-webkit-transform: rotate(90deg);
		transform: rotate(90deg);
		-moz-transition: all, 0.25s, linear;
		-o-transition: all, 0.25s, linear;
		-webkit-transition: all, 0.25s, linear;
		transition: all, 0.25s, linear;
	}

	.menu.active:after {
		-moz-transform: translate(0, 50%);
		-ms-transform: translate(0, 50%);
		-webkit-transform: translate(0, 50%);
		transform: translate(0, 50%);
		-moz-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		-webkit-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}

	#acMenu {
		margin: 0;
	}

	#acMenu dt {
		padding: 0;
		display: block;
		cursor: pointer;
	}

	#acMenu dd {
		display: none;
		position: absolute;
		top: 78px;
		z-index: 999;
		right: 0;
		background: rgba(255, 255, 255, 0.9);
		width: 100%;
	}

	#acMenu dd ul {
		margin: 0;
		padding: 0;
		border-top: 1px solid #fff;
	}

	#acMenu dd li {
		padding: 12px 2%;
		overflow: hidden;
		border-bottom: 1px solid #fff;
	}

	#acMenu dd li a {
		display: block;
		font-weight: bold;
		margin-left: 0;
		text-decoration: none;
		color: #000;
	}

	#acMenu dd li a p {
		font-size: 1.8rem;
		width: 45%;
		float: left;
		clear: both;
		margin: 4px 0 0;
	}

	#acMenu dd li.child a {
		font-size: 1.8rem;
		margin-left: 55px;
	}

	#menuButton {
		display: block;
		width: 50px;
		height: 50px;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 3;
	}

	#menuButton span {
		display: block;
		background: #0B3C73;
		width: 24px;
		height: 3px;
		position: absolute;
		left: 12px;
		transition: all 0.4s;
		-webkit-transition: all 0.4s;
		-moz-transition: all 0.4s;
	}

	#menuButton span:first-child {
		top: 14px;
	}

	#menuButton span:nth-child(2) {
		margin-top: -1px;
		top: 50%;
	}

	#menuButton span:last-child {
		bottom: 13px;
	}

	#menuButton.active span:first-child {
		-webkit-transform: translateY(10px) rotate(45deg);
		-moz-transform: translateY(10px) rotate(45deg);
		-ms-transform: translateY(10px) rotate(45deg);
		transform: translateY(10px) rotate(45deg);
	}

	#menuButton.active span:nth-child(2) {
		opacity: 0;
	}

	#menuButton.active span:last-child {
		-webkit-transform: translateY(-10px) rotate(-45deg);
		-moz-transform: translateY(-10px) rotate(-45deg);
		-ms-transform: translateY(-10px) rotate(-45deg);
		transform: translateY(-10px) rotate(-45deg);
	}

	.bx-content {
		padding: 10px;
	}

	.top-head,
	.company-head,
	.business-head,
	.bx-news,
	.bx-contact {
		width: 100%;
	}

	.img-txt {
		width: 100%;
		margin: 40px 0 0 0;
	}

	.img-main img {
		width: 100%;
		height: auto;
	}

	.img-txt img {
		width: 90%;
		height: auto;
	}

	.top-menu {
		width: 100%;
		text-align: center;
	}

	.top-menu li {
		display: block;
		float: none;
		width: 90%;
		margin: 0 auto;
	}

	.top-menu li:nth-child(3n) {
		margin: 0 auto;
	}

	.top-menu li:last-child {
		margin: 0 auto;
	}

	.top-menu li img {
		width: 100%;
		max-width: 320px;
		height: auto;
	}

	.head-left,
	.head-right,
	.bx-message .head-left,
	.bx-message .head-right,
	.bx-network .bx-left,
	.bx-network .bx-right {
		float: none;
		margin: 0 0 20px 0;
		width: 100%;
	}

	.bx-right iframe {
		width: 100%;
	}

	.head-left img {
		width: 100%;
		height: auto;
	}

	.bx-under p.tx-name {
		font-size: 20px;
	}

	.bx-about,
	.bx-about tbody,
	.bx-about tr,
	.bx-about th,
	.bx-about td {
		display: block;
		width: 100%;
	}

	.bx-about {
		border: 1px solid #000;
	}

	.bx-about th {
		border: 0;
	}

	.bx-about td {
		border: 0;
	}

	.bx-form,
	.bx-form tbody,
	.bx-form tr,
	.bx-form th,
	.bx-form td {
		display: block;
		width: 100%;
	}

	.bx-form {
		border: 1px solid #000;
	}

	.bx-form th {
		border: 0;
	}

	.bx-form td {
		border: 0;
		background-clip: padding-box;
		box-sizing: border-box;
	}

	.bx-phone,
	.bx-phone tbody,
	.bx-phone tr,
	.bx-phone th,
	.bx-phone td {
		display: block;
		width: 100%;
	}

	.bx-phone {
		border: 1px solid #000;
	}

	.bx-phone th {
		border: 0;
	}

	.bx-phone td {
		border: 0;
		background-clip: padding-box;
		box-sizing: border-box;
	}

	.wpcf7-text {
		width: 100%;
	}

	.wpcf7-textarea {
		width: 100%;
	}

	.bx-form td span.ex {
		position: static;
		right: auto;
		top: auto;
		text-align: left;
	}

	.img-right {
		width: 100%;
		display: block;
		text-align: center;
		margin: 0 auto 20px;
		float: none;
	}

	.img-left {
		width: 100%;
		display: block;
		text-align: center;
		margin: 0 auto 20px;
		float: none;
	}

	.img-center {
		width: 100%;
		display: block;
		text-align: center;
		margin: 0 auto 20px;
		overflow: visible;
	}

	.bx-client {
		width: 100%;
		border: 1px solid #000;
		padding: 15px;
		text-align: left;
		float: none;
		margin: 0 auto 20px;
		box-sizing: border-box;
	}

	.bx-client2,
	.bx-client3 {
		width: 100%;
		border: 1px solid #000;
		padding: 15px;
		text-align: left;
		margin: 0 auto 30px;
		box-sizing: border-box;
	}

	.bx-client2 ul li {
		width: 100%;
		display: block;
	}

	.pd-t {
		padding-top: 0;
	}

	.bx-news dl dd {
		margin-left: 10px;
	}

	.bx-news .type-post a,
	.bx-news .type-page a {
		display: block;
		padding-left: 14px;
	}

	.inn-footer {
		width: 100%;
	}

	.inn-footer h2 {
		width: 90%;
		text-align: left;
		border-bottom: 1px dotted #d2d2d2;
		margin: 0 auto;
	}

	.bx-footermenu-01,
	.bx-footermenu-02,
	.bx-footermenu-03,
	.bx-footermenu-04 {
		width: 90%;
		height: auto;
		margin: 20px auto;
		float: none;
	}


	.ttl-h1 {
		font-size: 14px;
		padding: 0 10px 0 35px;
	}

	.ttl-h2 {
		font-size: 14px;
		margin: 0 0 20px;
	}

	footer p {
		font-size: 10px;
	}
}