/*
Theme Name: sanaiwp
Theme URI: https://san-ai-jp.com
Description: sanaiwp記事
Version: 1.0
Author: sanaiwp
Author URI: https://san-ai-jp.com
*/

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

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

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

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

#header.m_fixed {
  background: rgba(255,255,255,.9);
  position: fixed;
}

#header.m_fixed #logo {
  width: 50px;
}

/*メイン画像*/

.mainvl{
  padding: 160px 0 180px;
  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: 600px;
  height: 400px;
}

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

.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: -70px;
  bottom: -70px;
  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: 64px;
  letter-spacing: 10px;
  line-height: 110px;
  white-space: nowrap;
}

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

.mainbox p br{
  display: none!important;
}

/*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: 500px;
  position: absolute;
  z-index: 1;
  left: 30%;
  top: -200px;
}

.shape2{
  width: 130px;
  position: absolute;
  z-index: 2;
  left: -60px;
  top: -60px;
}

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

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

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

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

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

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

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

/*アニメーション*/

.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: 200px;
  line-height: 180px;
  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: 25px;
  color: rgba(0,0,0,.05);
}

#news .en_bg{
  left: 0;
  top: -25px;
  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: 18px;
  line-height: 36px;
  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{
  float: left;
  width: 40%;
}

#copyright{
  text-align: right;
  padding-top: 20px;
  padding-left: 320px;
  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: 30px;
  line-height: 50px;
  letter-spacing: 2px;
  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 30px;
  text-align: center;
  margin-bottom: 15px;
}

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


/*page*/

.subvl {
  position: relative;
  padding: 170px 0 80px;
}

.con_bg{
  margin-top: 0px;
}

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

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

.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: 510px;
  box-sizing: border-box;
  padding-top: 40px;
  margin: 80px auto 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: 60px;
  line-height: 60px;
  color: rgba(224,224,224,.8);
  position: absolute;
  top: 0;
  left: -20px;
  z-index: 2;
}

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

.company_img{
  width: 490px;
}

.company_txt{
  flex: .9;
}

.dl_table dl{
  border-bottom: 1px solid #dddddd;
}

.dl_table dt,
.dl_table dd{
  border-top: 1px solid #dddddd;
  padding: 20px;
  box-sizing: border-box;
  font-size: 1.1rem;
  font-weight: 500;
}

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

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

.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: 23%;
  box-sizing: border-box;
  margin: 10px 1% 20px;
}

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

.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: 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{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.itemimg2{
  width: 300px;
  text-align: center;
}

.item_txt2{
  flex: .9;
}

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

.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: 17px;
  font-weight: 500;
  line-height: 36px;
}

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

.txt_m,
.point_list h3{
  font-size: 24px;
  line-height: 48px;
  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;
}

.pc_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;
}

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

.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: 1300px) {
  
.mainvl .con1{
  margin-right: 0;
}
}
@media screen and (max-width: 1200px) {
  
.mainvl .con1{
  margin-right: auto;
}
  
.mainimg,
.masked-img{
  max-width: 450px;
  height: 300px;
}

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

.mainimg{
  margin-right: 40px;
}

.mainimg::after{
  right: -60px;
  bottom: -60px;
}

.mainbox h2 {
  font-size: 52px;
  letter-spacing: 7px;
  line-height: 90px;
}
  
#header {
  padding: 15px 50px 15px 50px;
}
  
.shape1{
  width: 400px;
  left: 30%;
  top: -200px;
}
  
.shape2{
  width: 100px;
  left: -40px;
  top: -40px;
}
  
.shape3{
  width: 100px;
}

.shape5_1{
  width: 350px;
}

.shape5_2{
  width: 350px;
}
  
.shape6{
  width: 280px;
}
  
.shape6_2{
  width: 160px;
  top: -157px;
}

.shape9{
  width: 50px;
  right: 5%;
  top: -60px;
}
.shape7{
  width: 180px;
}
  
.company_img{
  width: 400px;
}

}

@media screen and (max-width: 1180px) {
.point_list li{
  width: 48%;
  margin: 80px 1% 0;
}
  
.point_list h3 {
  font-size: 22px;
  line-height: 44px;
}
  
.en_bg{
  font-size: 160px;
  line-height: 160px;
}
  
.subvl{
  padding-bottom: 60px;
}
  
.subvl h2{
  font-size: 40px;
  line-height: 50px;
}
  
}

@media screen and (max-width: 1100px) {
  
.mainvl .con1{
  margin-right: 10px;
}

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

}
