body{
  line-height: 170%;
  font-size: 16px;
}

#header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  padding: 15px 10% 15px 5%;
  left: 0;
  top: 0;
  z-index: 4;
  box-sizing: border-box;
}

#logo {
  position: relative;
  width: 80px;
  z-index: 2;
}

#logo img{
  height: auto;
  width: 100%;
  padding: 0;
  display: block;
  vertical-align: bottom;
}

#header.m_fixed {
  
}

#header.m_fixed #logo {
  
}

/*メイン画像*/

.mainvl{
  padding: 130px 0 160px;
  position: relative;
}

.mainvl .con1,
.flex_1{
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.mainimg,
.masked-img{
  max-width: 450px;
  height: 300px;
}

.mainimg::after,
.mainimg .swiper-container,
.mainimg .swiper-wrapper,
.mainimg .swiper-slide{
  width: 450px;
  height: 300px;
}

.mainimg{
  position: relative;
  z-index: 3;
  margin-top: 20px;
}

.mainimg::after{
  content: '';
  background: url(images/shape4.png) no-repeat center center;
  background-size: cover;
  position: absolute;
  right: -50px;
  bottom: -50px;
  z-index: 0;
}

.masked-img{
  display: block;
  object-fit: cover;
  mask-image: url('images/mask1.png');
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url('images/mask1.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  position: relative;
  z-index: 3;
}

.mainbox,
.toptxt{
  flex: .9;
}

.toptxt{
}

.mainbox {
  opacity: 0;
}

.mainbox.show {
  opacity: 1;
  transition: opacity 0.3s ease;
}


.mainbox h2 {
  font-size: 50px;
  letter-spacing: 5px;
  line-height: 80px;
  white-space: nowrap;
}

.mainbox p{
  padding-top: 24px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/*1文字ずつ表示*/
.char {
  display: inline-block;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.char.show {
  opacity: 1;
  transform: translateY(0);
}

/*shape*/
.shape1{
  width: 400px;
  position: absolute;
  z-index: 1;
  left: 30%;
  top: -200px;
}

.shape2{
  width: 100px;
  left: 40px;
  top: -80px;
  position: absolute;
  z-index: 2;
}

.shape3{
  width: 100px;
  position: absolute;
  z-index: 1;
  left: 200px;
  bottom: -80px;
}

.shape5_1{
  width: 260px;
  position: absolute;
  z-index: 1;
  right: 0px;
  bottom: 0px;
}

.shape5_2{
  width: 260px;
  position: absolute;
  z-index: 1;
  right: 0px;
  top: 0px;
}

.shape6{
  width: 200px;
  position: absolute;
  z-index: 1;
  left: 0px;
  bottom: 0px;
}

.shape7{
  width: 200px;
  position: absolute;
  z-index: 1;
  right: 0px;
  top: 0px;
}

.shape6_2{
  width: 160px;
  top: -157px;
  position: absolute;
  z-index: -1;
  left: 0px;
}

.shape9{
  width: 50px;
  right: 5%;
  top: -60px;
  position: absolute;
  z-index: 1;
}

/*アニメーション*/

.ani1,
.ani2{
  atransform: scale(1);
  opacity: 0;
  transition: opacity .3s ease;
}

.ani3 {
  opacity: 0;
  transform: scale(1);
}

.ani1.animate {
  opacity: 1;
  animation: bounceScale 0.9s ease-out forwards;
}

.ani2.animate {
  opacity: 1;
  animation: bounceScale 0.9s ease-out forwards;
  animation-delay: 0.15s; /* 0.15秒遅らせる */
}

.ani3.animate {
  opacity: 1;
  animation: bounceScale 0.9s ease-out forwards;
}

@keyframes bounceScale {
  0%   { transform: scale(1); }
  20%  { transform: scale(0.92); }
  50%  { transform: scale(1.05); }
  70%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/*英語タイトル*/

.en_bg{
  font-size: 140px;
  line-height: 140px;
  position: absolute;
  z-index: 1;
  white-space: nowrap;
}

#product .en_bg,
#contact .en_bg{
  left: 0;
  top: 0;
  color: rgba(255,255,255,.1);
}

#service .en_bg{
  left: 0;
  top: 5px;
  color: rgba(0,0,0,.05);
}

#news .en_bg{
  left: 0;
  top: -10px;
  color: rgba(0,0,0,.05);
}

.subvl .en_bg{
  left: 0;
  top: 120px;
  color: rgba(0,0,0,.04);
}

.btn1 a,
.btn_mail a,
.leftbtn,
.rightbtn{
  display: block;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  line-height: 34px;
  font-weight: 500;
  border-radius: 50px;
  box-sizing: border-box;
  -webkit-transition: all .5s ease;
	transition: all .5s ease;
}

.btn_mail a{
  padding: 20px 15px 20px 30px;
  background:
    url(images/mail1.png) no-repeat 20px center,
    linear-gradient(90deg, #e8492a, #e61519);
  background-size: 20px, auto;
}

.btn_mail a:hover{
  background:
    url(images/mail1.png) no-repeat 20px center,
    linear-gradient(90deg, #e61519, #e8492a);
  background-size: 20px, auto;
}

.leftbtn,
.rightbtn{
  width: 250px;
  padding: 10px 15px;
}

.btn1 a,
.rightbtn{
  padding: 10px 15px;
  background: #0264b3 url(images/ar1.png) no-repeat 94% center;
  background-size: 15px;
}

.btn1 a:hover,
.rightbtn:hover{
  background: #014780 url(images/ar1.png) no-repeat 94% center;
  background-size: 15px;
}

.leftbtn{
  background: #0264b3 url(images/ar2.png) no-repeat 15px center;
  background-size: 15px;
}

.leftbtn:hover{
  background: #014780 url(images/ar2.png) no-repeat 15px center;
  background-size: 15px;
}

.postbtn{
  padding: 30px 0;
}

.leftbtn{
  float: left;
}

.rightbtn{
  float: right;
}

.btn_mail{
  width: 320px;
}

#news .btn1{
  position: absolute;
  right: 0;
  top: 0;
}

.news_post li{
  border-top: 1px solid #dddddd;
  padding: 20px;
}

.news_post li:last-child{
  border-bottom: 1px solid #dddddd;
}

.news_inr{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.date1{
  color: #0264b3;
  font-size: 18px;
  font-weight: 500;
  width: 130px;
}

.news_inr h3{
  flex: 1;
}

.ft_info{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tel{
  flex: .9;
  color: #ffffff;
}

.tel a{
  font-family: "Fjalla One", sans-serif;
  font-size: 40px;
  line-height: 50px;
  color: #ffffff;
}

.con_bg{
  background: #0264b3 url(images/shape8.png) no-repeat 90% center;
  background-size: 430px;
}

footer h2{
}

#copyright{
  padding-top: 20px;
  font-size: 15px;
  line-height: 30px;
  color: #c1c1c1;
}

#copyright span{
  color: #c1c1c1;
  padding: 0 15px;
}

#copyright a{
  color: #c1c1c1;
}

/*top*/

.ttl{
  margin-bottom: 30px;
}

.ttl h3.t_inline{
  padding-right: 20px;
}

.txt_b,
.ttl h3{
  font-size: 22px;
  line-height: 44px;
  letter-spacing: 1px;
  font-weight: 700;
}

.multiple-items .slick-track {
  display: flex;
}

.multiple-items .slick-slide {
  display: flex !important;
  height: auto !important;
  padding: 20px 15px 5px;
  box-sizing: border-box;
}

.multiple-items .slick-slide a {
  width: 100%;
}

.item_img{
  background: #fff;
  border-radius: 15px;
  padding: 20px 20px;
  text-align: center;
  margin-bottom: 15px;
}

.product_post h3{
  text-align: center;
  color: #fff;
}


/*page*/

.subvl {
  position: relative;
  padding: 150px 0 30px;
}

.post-type-archive-product .subvl,
.tax-itemcate .subvl{
  padding: 150px 0 80px;
}

.con_bg{
  margin-top: 50px;
}

.post-type-archive-product .con_bg,
.tax-itemcate .con_bg{
  margin-top: 0px;
}

.subvl h2{
  font-size: 36px;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 1px;
}

.point_list ul{
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  justify-content: center;
}

.point_list li{
  width: 48%;
  box-sizing: border-box;
  padding-top: 20px;
  margin: 40px 1% 0;
  position: relative;
}

.pointimg{
  margin-bottom: 20px;
  text-align: center;
}

.pointimg img{
  border-radius: 15px;
}

.en_txt{
  font-family: "Fjalla One", sans-serif;
  font-size: 40px;
  line-height: 40px;
  color: rgba(224,224,224,.8);
  position: absolute;
  top: 0;
  left: 10px;
  z-index: 2;
}

.flex_2{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.company_img{
  width: 380px;
}

.company_txt{
  flex: .9;
}

.dl_table dl{
  border-bottom: 3px solid #f1f1f1;
}

.dl_table dt,
.dl_table dd{
  border-top: 3px solid #f1f1f1;
  padding: 20px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 500;
}

.dl_table dt{
  width: 180px;
  float: left;
  clear: left;
}

.dl_table dd{
  margin-left: 180px;
}

.item_bg{
  background: #0264b3;
  padding: 20px 0;
  position: relative;
  z-index: 3;
}

.item_bg h3{
  color: #fff;
  font-size: 30px;
  font-family: "Fjalla One", sans-serif;
  line-height: 40px;
  float: left;
  width: 150px;
}

.itemcate-list{
  margin-left: 150px;
}

.itemcate-list li{
  display: inline-block;
  vertical-align: top;
  padding: 4px 10px 6px 0;
}

.itemcate-list li a{
  display: block;
  padding: 4px 15px;
  background: #ffffff;
  border-radius: 30px;
  color: #0264b3;
  font-size: 1rem;
  line-height: 20px;
  font-weight: 500;
}

.itemcate-list li a:hover{
  background: #003a68;
  color: #fff;
}

.item_list ul {
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
  align-items: stretch;
}

.item_list li {
  width: 31%;
  box-sizing: border-box;
  margin: 10px 1% 20px;
}

.itemimg1{
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
}

.item_txt{
  padding-top: 10px;
}

/*取扱製品（ポップアップ）*/

.popup-content {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-inner {
  background: #fff;
  padding: 20px 30px 40px;
  max-height: 550px;
  width: 70%;
  border-radius: 15px;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.popup-trigger{
  cursor: pointer;
}

.popup_box{

}

.itemimg2{
  width: 300px;
  margin: 0 auto 10px;
  text-align: center;
}

.item_txt2{
  
}

/*コンタクトフォーム*/

.con_form dl{
  padding-top: 20px;
}

.con_form dt{
  padding-bottom: 5px;
}

.con_form dt p{
  font-weight: 500;
}

.con_form dd{
  padding-bottom: 30px;
}

.hissu{
	font-size: 13px;
	color: #0264b3;
	font-weight: bold;
	padding-left: 5px;
}

/*archive　single*/

.singlebox{
  padding-top: 20px;
  padding-bottom: 20px;
}

.widget{
  
}

.widget_title{
  font-size: 18px;
  font-weight: 500;
  width: 80px;
  display: inline-block;
  vertical-align: middle;
}

.archive label{
  display: none;
}

.widget select{
  width: 150px;
  display: inline-block;
  vertical-align: middle;
}


/********************************************
 * 共通要素
 ********************************************/

.shadow {
  filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.1));
}

.t_inline{
  display: inline-block;
}

.box_flex{
  display: flex;
  justify-content: space-between;
}

.line1{
  border-top: 1px solid #dddddd;
  padding-top: 30px;
  margin-top: 30px;
}

.txt_s{
  font-size: 13px;
  line-height: 20px;
}

.txt_ns{
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}


.txt_n,
.product_post h3{
  font-size: 18px;
  line-height: 34px;
  font-weight: 500;
}

.txt_m{
  font-size: 22px;
  line-height: 40px;
  font-weight: 700;
}

.point_list h3{
  font-size: 20px;
  line-height: 34px;
  padding: 0 10px;
  font-weight: 700;
}

.txt_c{
  text-align: center;
}

.txt_r{
  text-align: right;
}

.txt_l{
  text-align: left!important;
}

.mgat{
  margin: 0 auto;
}

.wid_1{
  width: 250px;
}

.wid_2{
  width: 300px;
}

.sp_none{
	display:none;
}

.pdb_no{
  padding-bottom: 0;
}


.cate-title{
  font-weight: 700;
  padding-bottom: 20px;
  margin-left: 10px;
}

.itemcate-block{
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #dddddd;
  position: relative;
}

.itemcate-block .item_list li {
  width: 23%;
  box-sizing: border-box;
  margin: 10px 1% 20px;
}

.more-btn{
  position: absolute;
  right: 10px;
  top: 35px;
}

.more-btn a{
  width: 40px;
  height: 40px;
  background: #0264b3 url(images/ar1.png) no-repeat center center;
  background-size: 15px;
  display: block;
  text-align: center;
  color: #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
  -webkit-transition: all .5s ease;
	transition: all .5s ease;
  margin-left: 10px;
}

.more-btn a:hover{
  background: #014780 url(images/ar1.png) no-repeat center center;
  background-size: 15px;
}

@media screen and (max-width: 850px) {
.mainvl{
  padding: 130px 0 100px;
}
  
.mainvl .con1,
.flex_1{
  display: block;
  position: relative;
  z-index: 3;
}

.mainimg,
.masked-img{
  max-width: 600px;
  height: 400px;
}

.mainimg::after,
.mainimg .swiper-container,
.mainimg .swiper-wrapper,
.mainimg .swiper-slide{
  width: 600px;
  height: 400px;
}

.mainimg{
  margin: 50px auto 0;
}
  
.mainbox {
  text-align: center;
}
  
.mainbox h2 {
  font-size: 50px;
  letter-spacing: 7px;
  display: inline-block;
  text-align: left;
}

.mainbox p {
  display: inline-block;
  text-align: left;
}

.flex_2{
  display: block;
}

.company_img{
  width: 100%;
  text-align: center;
  margin: 0 auto 40px;
}

.company_txt{
  flex: 1;
}

.item_list li {
  width: 48%;
}

.shape2{
  width: 100px;
  right: -40px;
  left: inherit;
  top: 10px;
}
  
.shape3{
  width: 100px;
  left: 10px;
  bottom: -40px;
  z-index: 3;
}

}
