/*
Theme Name: Horie
Version: 1.00
Author: Horie Seiko
Author URI: https://horie-seiko.jp
*/

@font-face {
  font-family: "US101";
  src: url("../horie/fonts/US101.woff") format("woff");
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0.	Common Setting
	1.	Header
	2.	Footer
	3.	Top Page Contents
	4.	Sub Page Contents
	5.	Strength Contents
	6.	Products Contents
	7.	Facility Contents
	8.	Company Contents
	9.	Contact Contents
	10.	Privacy Policy

----------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/*	0. Common Setting
/* -------------------------------------------------------------------------- */

@media screen and (min-width: 768px) {
	.br-pc,
	.pc {
		display:block;
	}
	.br-sp,
	.sp {
		display:none;
	}
}
@media screen and (max-width: 768px) {
	.br-pc,
	.pc {
		display:none;
	}
	.br-sp,
	.sp {
		display:block;
	}
	.contents {
		overflow: hidden;
	}
}

/* -------------------------------------------------------------------------- */
/*	1. Header
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.header-bar {
		padding-top: 5px;
		padding-bottom: 0;
	}
	.header-bar__logo {
		padding-left: 5px;
	}
	.header-bar__sub {
		padding: 7px 0 5px;
	}
button {
	display: block;
	cursor: pointer;
	background-color: transparent;
	width: 25px;
	height: 25px;
	line-height: 25px;
}
ul > li {
	background-color: transparent;
	text-align: center;
	width: 100%;
	/* 閉じている状態 */
	border-top: 0 solid #000;
	padding-top: 0;
	padding-bottom: 0;
	/* 閉じるアニメーション */
	transition:
    border-top     .3s ease-out,
    padding-top    .3s ease-out,
    padding-bottom .3s ease-out;
	height: 0;
}
ul.is-open {
    margin-top: 20px;
}
ul.is-open > li {
	/* 開いている状態 */
	background-color: #BCE0FD;
	padding-top: 13px;
	padding-bottom: 13px;
	/* 開くアニメーション */
	transition:
    border-top     .3s ease-out,
    padding-top    .3s ease-out,
    padding-bottom .3s ease-out;
	display: inline-block;
	position: relative;
	height: 30px;
}
ul.is-open > li:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 3px; /*下線の上下位置調整*/
	display: inline-block;
	width: 300px; /*下線の幅*/
	height: 1px; /*下線の太さ*/
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translate(-50%); /*位置調整*/
	background-color: #000; /*下線の色*/
}
ul.is-open > li:last-child {
	padding-bottom: 30px;
}
ul.is-open > li:last-child:before {
	height: 0;
}
ul.is-open > li a {
	color: #000;
	text-decoration: none;
}
ul.is-open > li .header-bar__navi_btn a {
	border-radius: 0;
	color: #FFF;
	width: 300px;
	padding: 10px 0;
	margin: 0 auto;
}
ul > li > p {
  /* 閉じている状態 */
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  /* 閉じるアニメーション */
  transition:
    line-height .3s ease-out,
    opacity     .1s linear,
    visibility  .1s linear;
}
ul.is-open > li > p {
  /* 開いている状態 */
  line-height: 1.5;
  opacity: 1;
  visibility: visible;
  /* 開くアニメーション */
  transition:
    line-height .3s ease-out,
    opacity     .1s linear .1s,
    visibility  .1s linear .1s;
}
.btn-trigger {
	width: 25px;
	height: 22px;
	cursor: pointer;
	position: absolute;
	top: 15px;
	right: 15px;
}
.btn-trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #fff;
	border-radius: 4px;
}
.header-bar__sub .btn-trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
}
.btn-trigger, .btn-trigger span {
  display: inline-block;
  transition: all .5s;
  box-sizing: border-box;
}
.btn-trigger span:nth-of-type(1) {
  top: 0;
}
.btn-trigger span:nth-of-type(2) {
  top: 9px;
}
.btn-trigger span:nth-of-type(3) {
  bottom: -1px;
}
#btn07 span:nth-of-type(1) {
  -webkit-animation: btn07-bar01 .75s forwards;
  animation: btn07-bar01 .75s forwards;
}
@-webkit-keyframes btn07-bar01 {
  0% {
    -webkit-transform: translateY(10px) rotate(45deg);
  }
  50% {
    -webkit-transform: translateY(10px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes btn07-bar01 {
  0% {
    transform: translateY(10px) rotate(45deg);
  }
  50% {
    transform: translateY(10px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#btn07 span:nth-of-type(2) {
  transition: all .25s .25s;
  opacity: 1;
}
#btn07 span:nth-of-type(3) {
  -webkit-animation: btn07-bar03 .75s forwards;
  animation: btn07-bar03 .75s forwards;
}
@-webkit-keyframes btn07-bar03 {
  0% {
    -webkit-transform: translateY(-10px) rotate(-45deg);
  }
  50% {
    -webkit-transform: translateY(-10px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(0) rotate(0);
  }
}
@keyframes btn07-bar03 {
  0% {
    transform: translateY(-10px) rotate(-45deg);
  }
  50% {
    transform: translateY(-10px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
#btn07.active span:nth-of-type(1) {
  -webkit-animation: active-btn07-bar01 .75s forwards;
  animation: active-btn07-bar01 .75s forwards;
}
@-webkit-keyframes active-btn07-bar01 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(10px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(10px) rotate(45deg);
  }
}
@keyframes active-btn07-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(10px) rotate(0);
  }
  100% {
    transform: translateY(10px) rotate(45deg);
  }
}
#btn07.active span:nth-of-type(2) {
  opacity: 0;
}
#btn07.active span:nth-of-type(3) {
  -webkit-animation: active-btn07-bar03 .75s forwards;
  animation: active-btn07-bar03 .75s forwards;
}
@-webkit-keyframes active-btn07-bar03 {
  0% {
    -webkit-transform: translateY(0) rotate(0);
  }
  50% {
    -webkit-transform: translateY(-10px) rotate(0);
  }
  100% {
    -webkit-transform: translateY(-10px) rotate(-45deg);
  }
}
@keyframes active-btn07-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-10px) rotate(0);
  }
  100% {
    transform: translateY(-10px) rotate(-45deg);
  }
}
}

/* -------------------------------------------------------------------------- */
/*	2. Footer
/* -------------------------------------------------------------------------- */

@media (max-width: 428px) {
	.footer__top {
		background-image: url(../horie/images/footer-contact_sp.jpg);
		background-size: cover;
		height: 250px;
		padding: 50px 0 0;
	}
	.footer-bar__inner {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		height: 100px;
	}
	.footer__navi {
		padding: 20px 0;
	}
	.footer__bottom .footer__bottom_company_name {
		font-size: 1em;
	}
	.footer__copyright {
		font-size: .5em;
	}
	#top__scroll {
		right: 15px;
		z-index: 10;
	}
	.footer__top_info .title {
		font-size: 1.5em;
		width: 150px;
	}
	.footer__top_info .contact_tel a {
		font-size: 1.5em;
	}
	.footer__top_info .contact_btn a {
		font-size: 1em;
		padding 10px;
	}
	.footer-bar__navi_menu {
	    flex: 0 0 50%;
	}
}


/* -------------------------------------------------------------------------- */
/*	3. Top Page Contents
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.contents__about_inner {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin: 0;
		padding: 0 15px;
	}
	.contents__about_img {
		background-image: url(../horie/images/about_sp.jpg);
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		height: 250px;
	}
	.contents__about_textarea {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		padding: 0;
	}
	.contents__about_textarea .more_btn a {
		right: 15px;
	}
}
@media (max-width: 428px) {
	.swiper-container {
		height: 535px;
	}
	.center-logo {
		font-size: 0.65em;
		top: 300px;
		height: 350px;
	}
	.headerColor-default .btn-trigger span {
		background-color: #000;
	}
	.wrap_sp_top {
		margin-bottom: 100px !important;
	}
	.contents__about {
		margin: 0 10px 75px;
	}
	.contents__about_inner {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin: 0;
		padding: 0 15px;
	}
	.contents__about_img {
		background-image: url(../horie/images/about_sp.jpg);
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		height: 250px;
	}
	.contents__about_textarea {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		padding: 0;
	}
	.contents__about_textarea .text {
		font-size: .75em;
	}
	.contents__about_textarea h2 {
		font-size: 1.5em;
		padding-bottom: 15px;
	}
	.contents__about_textarea p {
		font-size: .75em;
	}
	.contents__about_textarea .more_btn a {
		right: 15px;
		width: 100px;
		border-radius: 3px;
		font-size: .75em;
		padding: 5px 15px;
	}
	.contents__navi {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.contents__navi .title {
		font-size: 1.15em;
	}
	.contents__navi_product, .contents__navi_facility {
		flex: 0 0 100%;
	}
}

/* -------------------------------------------------------------------------- */
/*	4. Sub Page Contents
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.header-bar__sub {
		padding-bottom: 0;
	}
	.wrap_sp_sub {
		margin-bottom: 0;
	}
}
@media (max-width: 428px) {
	.sp_img>img {
		margin-top: 50px;
	}
	.center-title {
		height: 180px;
	}
	.wrap, .wrap-contents {
		margin-bottom: 0;
	}
	.wrap_sp_sub {
		margin-bottom: -150px;
	}
	.header-bar__sub .header-bar__logo>a {
		color: #007FEB;
	}
	.header-bar__sub .btn-trigger {
		right: 15px;
	}
	.header-bar__sub .btn-trigger span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 4px;
		background-color: #007FEB;
		border-radius: 4px;
	}
	.contents__head {
		width: 90%;
		margin-bottom: 50px;
	}
	.contents__head h2 {
		font-size: 1.5em;
	}
	.contents__head p {
		font-size: 0.75em;
	}
	.center-title-main {
		font-size: 1em;
	}
	.center-title-sub {
		font-size: .75em;
	}
}

/* -------------------------------------------------------------------------- */
/*	5. Strength Contents
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.contents__strength_textarea_l h3,
	.contents__strength_textarea_r h3 {
		font-size: 1.5em;
	}
	.contents__strength_textarea_l p,
	.contents__strength_textarea_r p {
		font-size: .9em;
	}
}
@media (max-width: 428px) {
	.contents__strength {
		padding: 50px 0;
	}
	.contents__strength_inner,
	.contents__strength_inner:nth-child(even) {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		padding: 0 15px;
		margin-bottom: 0;
	}
	.contents__strength_inner:last-child {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		padding: 0 15px 50px;
	}
	.contents__strength_img_01,
	.contents__strength_img_02,
	.contents__strength_img_03,
	.contents__strength_img_04 {
    height: 300px;
	}
	.contents__strength_img_01 {
		background-image: url(../horie/images/strength_contents_sp_01.jpg);
		background-size: auto;
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}
	.contents__strength_img_02 {
		background-image: url(../horie/images/strength_contents_sp_02.jpg);
		background-size: auto;
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}
	.contents__strength_img_03 {
		background-image: url(../horie/images/strength_contents_sp_03.jpg);
		background-size: auto;
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}
	.contents__strength_img_04 {
		background-image: url(../horie/images/strength_contents_sp_04.jpg);
		background-size: auto;
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}
	.contents__strength_textarea_r .number01 {
		position: absolute;
		top: 42%;
		left: 45px;
	}
	.contents__strength_textarea_l .number02 {
		position: absolute;
		top: 41%;
		left: 45px;
	}
	.contents__strength_textarea_r .number03 {
		position: absolute;
		top: 43%;
		left: 45px;
	}
	.contents__strength_textarea_l .number04 {
		position: absolute;
		top: 40%;
		left: 45px;
	}
	.contents__strength_textarea_r,
	.contents__strength_textarea_l {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		position: unset;
		height: auto;
		padding: 0;
		margin-top: -67px;
	}
	.contents__strength_textarea_l h3,
	.contents__strength_textarea_r h3 {
		font-size: 1.5em;
		padding: 60px 30px 0;
	}
	.contents__strength_textarea_l p,
	.contents__strength_textarea_r p {
		font-size: .75em;
		padding: 15px 30px 30px;
	}
}

/* -------------------------------------------------------------------------- */
/*	6. Products Contents
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.contents__products {
		padding: 50px 0 100px;
	}
	.contents__products_container {
		width: auto;
		padding: 0 15px;
	}
	.products_box {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}
}

/* -------------------------------------------------------------------------- */
/*	7. Facility Contents
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.contents__facility {
		padding: 50px 0 0;
	}
	.contents__facility_container {
		width: auto;
		padding: 0 15px;
	}
	.facility_box {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}
	.others_facility_title {
		text-align: center;
	}
	.contents__others_facility {
		padding: 0 0 50px;
	}
}

/* -------------------------------------------------------------------------- */
/*	8. Company Contents
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.wrap_company_sp_sub {
		background-color: #D0EAFF;
		margin-bottom: -150px;
	}
	.contents__message_company {
		padding: 100px 0 50px;
	}
	.sppliers_company_list {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		font-size: .85em;
		padding: 30px;
	}
	.sppliers_company_list_box {
		width: 100%;
	}
	.gmap {
		padding-bottom: 56.25%;
	}
}
@media (max-width: 428px) {
	.wrap_company_sp_sub {
		margin-bottom: -180px;
	}
	.contents__message_company {
		padding: 50px 0 50px;
	}
	.contents__message_company_container {
		width: auto;
	}
	.message_company_title h2 {
		font-size: 2em;
		text-align: center;
		padding: 0 15px;
	}
	.message_company_title p {
		font-size: 1.25em;
		text-align: center;
		padding: 0 15px 30px;
	}
	.message_company_box {
		font-size: .85em;
		text-align: center;
		padding: 0 15px;
		margin-bottom: 50px;
	}
	.message_company_box .message_company_president_name {
		font-size: 1.5em;
	}
	.message_company_box .message_company_president_name span {
		font-size: 1em;
	}
	.message_company_img {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
	}
	.message_company_img img {
		width: 90%;
		height: auto;
	}
	.company__pala_01 {
		background-image: url(../horie/images/company_pala_sp_01.jpg);
		background-size: auto;
		background-repeat: no-repeat;
		height: 230px;
	}
	.contents__sppliers_company,
	.contents__history_company, 
	.contents__company,
	.contents__gmap_company {
		padding-bottom: 50px;
	}
	.sppliers_company_title {
		padding-top: 50px; 
	}
	.company_title {
		margin-bottom: 0;
	}
	.history_company_title {
		font-size: 1.25em;
		margin-bottom: 0;
	}
	.sppliers_company_title h3,
	.company_title h3 {
		font-size: 1.25em;
		text-align: center;
		margin-bottom: 0;
	}
	.company_title h3 {
		margin-bottom: 20px;
	}
	.contents__sppliers_company_container,
	.contents__gmap_company_container {
		width: 90%;
	}
	.sppliers_company_list {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		font-size: .85em;
		padding: 30px;
	}
	.sppliers_company_list_box {
		width: 100%;
	}
	.contents__history_company_container,
	.contents__company_container {
		width: 90%;
	}
	.history_company_title h3 {
		font-size: 1em;
		text-align: center;
		margin-bottom: 20px;
	}
	.history_company_year,
	.history_company_list,
	.company_year,
	.company_list {
		font-size: .8em;
		padding: 7px 30px;
	}
	.company__pala_02 {
		background-image: url(../horie/images/company_pala_sp_02.jpg);
		background-size: auto;
		background-repeat: no-repeat;
		position: none;
		height: 230px;
	}
	.gmap {
		padding-bottom: 56.25%;
	}
}

/* -------------------------------------------------------------------------- */
/*	9. Contact Contents
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.wrap_contact_sp_sub {
		margin-bottom: -150px;
	}
	.contents__contact_form_container table {
		border-spacing: 25px 0;
		margin: 0 auto;
	}
	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"] {
		width: auto;
	}
	.wpcf7 textarea {
	    width: 96%;
	}
}
@media (max-width: 428px) {
	.wrap_contact_sp_sub {
		margin-bottom: -230px;
	}
	.contents__contact_form {
		padding-bottom: 50px;
	}
	.contents__contact_container {
		width: 90%;
	}
	.contact_message_box {
		font-size: .85em;
	}
	.contact_tel_box h3 {
		font-size: .9em;
	}
	.contact_tel_box a {
		font-size: 1em;
	}
	.contact_tel_box p {
		font-size: .9em;
	}
	.contents__contact_form_container table {
		/* border-spacing: 0; */
		width: 100%;
	}
	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"] {
		width: 93%;
		padding: 10px;
	}
	.zipcode input.wpcf7-form-control.wpcf7-text.form-control.number {
		padding: 7px;
	}
	table th, table td {
		display: block;
		width: 100%;
		border-bottom: none;
	}
	.wpcf7 textarea {
	    background-color: #fff;
	    border: 0;
	    color: #000;
	    width: 100%;
	    padding: 0;
	    display: table-row;
	}
	.contents__contact_form_input .title,
	.contents__contact_form_input_textarea .title {
		font-size: .75em;
	}
	.contact_tel_box {
		border-radius: 8px;
	}
	.contact_privacy_policy_box h3 {
		color: #007FEB;
		padding-bottom: 30px;
	}
	.contact_privacy_policy_box p {
		font-size: .7em;
		padding-bottom: 30px;
	}
	.contact_privacy_policy_box {
		border-radius: 8px;
	}
	.contents__contact {
		padding: 100px 0 10px;
	}
}
@media (max-width: 320px) {
	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"],
	.wpcf7 testarea {
		width: 270px;
		padding: 10px;
	}
}


/* -------------------------------------------------------------------------- */
/*	9. Contact Contents
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
	.contents__privacy_policy_inner {
		padding: 100px 0;
	}
	.contents__privacy_policy_container {
		width: 90%;
	}
}

@media (min-width: 751px) {
	a[href*="tel:"] {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
	}
}