/*
Theme Name: 南星物産株式会社
Description: 南星物産株式会社用Webサイトテンプレート(for English version)
Version: 1.0
*/

body {
	margin: 0;
	padding: 0;
	background: #cbddf5;
	background: -moz-linear-gradient(top, #cbddf5 0%, #f7faff 100%);
	background: -webkit-linear-gradient(top, #cbddf5 0%,#f7faff 100%);
	background: linear-gradient(to bottom, #cbddf5 0%,#f7faff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cbddf5', endColorstr='#f7faff',GradientType=0 );
	text-align: center;
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,sans-serif,'ＭＳ Ｐゴシック';
	font-size: 14px;
	line-height: 1.7em;
}
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 img:hover {
	opacity: 0.7;
}
a.lnk {
	display: inline-block;
	padding-left: 13px;
	background: url('images/ico_arrow.png') no-repeat left center;
	color: #494949;
	font-size: 12px;
}
#gnav {
	width: 980px;
	background: #fff;
	box-shadow:0px 0px 3px 3px #a8b3c7;
	border-radius:0px 0px 6px 6px;
	margin: 0 auto;
	height: 150px;
	text-align: left;
}
.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 #d2d2d2;
	padding: 0 0 5px 0;
	font-size: 13px;
	text-decoration: none;
	color: #000;
}
ul.bx-header-bottom li a:hover {
	display: block;
	width: 100px;
	border-bottom: 2px solid #0001fe;
	padding: 0 0 5px 0;
	font-size: 13px;
	text-decoration: none;
	color: #0001fe;
}
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 #000000;
	border-collapse: collapse;
	background: #fff;
	text-align: left;
}
.bx-about {
	width: 90%;
	margin: 20px auto 40px;
}
.bx-about th {
	background: #145ebd;
	color: #fff;
	padding: 5px 10px 5px 10px;
	box-sizing: border-box;
	text-align: center;
}
.bx-about td {
	padding: 5px 10px 5px 10px;
	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 #000000;
	border-collapse: collapse;
	background: #fff;
	width: 90%;
	margin: 20px auto 40px;
}
.bx-phone th {
	width: 110px;
	background: #145ebd;
	color: #fff;
	padding: 5px 10px 5px 10px;
	box-sizing: border-box;
	text-align: center;
	position: relative;
	background-clip: padding-box;
}
.bx-phone td {
	border: solid 1px #000000;
	border-collapse: collapse;
	background: #fff;
	text-align: center;
}

.bx-form,
.bx-form th,
.bx-form td {
	border: solid 1px #000000;
	border-collapse: collapse;
	background: #fff;
	text-align: left;
}
.bx-form {
	width: 90%;
	margin: 20px auto 40px;
}
.bx-form th {
	background: #145ebd;
	color: #fff;
	padding: 5px 10px 5px 10px;
	vertical-align: top;
	box-sizing: border-box;
	text-align: left;
	position: relative;
	background-clip: padding-box;
}
.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:#255cea;
	color: #fff;
	width: 200px;
	height: 40px;
	line-height: 40px;
	font-size: 20px;
	border:0;
	margin:0 auto;
	box-shadow: 0 1px 1px #1341b4;
}

.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 10px 0 50px;
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 24px;
	text-align: left;
	color: #fff;
	background: #145ebd; /* Old browsers */
	background: -moz-linear-gradient(top, #145ebd 0%, #afc7e0 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #145ebd 0%,#afc7e0 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #145ebd 0%,#afc7e0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#145ebd', endColorstr='#afc7e0',GradientType=0 ); /* IE6-9 */
	box-sizing: border-box;
	position: relative;
}
.ttl-h1::after {
	position: absolute;
	content: url('images/bg_ttl.png');
	left: 0;
	top:0;
}

.ttl-h2 {
	font-size: 18px;
	background: #fff url('images/bg_h2.gif');
	border-left: 5px solid #0001fe;
	padding: 5px 10px 5px 10px;
	box-sizing: border-box;
	margin: 20px 0;
	text-align: left;
}

.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: #fff;
	box-shadow:0px 0px 10px 10px #e1e6ea;
	box-sizing: border-box;
	padding: 20px 0 0 0;
	text-align:center;
	position: relative;
}
.inn-footer {
	width: 980px;
	margin: 0 auto;
	overflow: hidden;
}
.inn-footer h2 {
	width: 100%;
	text-align: left;
	border-bottom: 1px dotted #d2d2d2;
}
.inn-footer h2 a {
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
}
.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.7em;
	text-align: left;
	font-size: 12px;
	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: 13px;
	font-weight: bold;
	padding-left: 0;
	margin-bottom: 5px;
}
.bx-footermenu-01 li:before,
.bx-footermenu-02 li:before,
.bx-footermenu-03 li:before,
.bx-footermenu-04 li:before {
	content: "・";

}
.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: #494949;
}
.bx-footermenu-03 li a::after {
	content: "年";
}
.bx-footermenu-03 li:first-child a::after {
	content: "";
}
footer p {
	margin: 0;
	padding: 12px;
	color: #fff;
	font-size: 12px;
	background: #145ebd;
}
footer .ico-top {
	position: absolute;
	right:25px;
	top: -25px;
}

@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: #0000fe;
    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;
}



}