@charset "utf-8";

/*=================================================================================================================================*/
/** 個別指定 for スマートフォン
/*=================================================================================================================================*/

/*---------------------------------------------
 ** 770px
---------------------------------------------*/
@media screen and (max-width: 770px) {

#main>img {
	top: 64%;
}

#top_movie .movie_bg {
  padding: 6% 1%;
}

.category_box ul{
padding:10px 0 10px 10px;
margin-bottom:15px;
}

.category_box ul li .cate{
font-size:11px !important;
border-radius:4px;
width:5em;
margin:0 6px 0 0;
}

.news_category_h{
font-size:20px;
border-bottom:solid 1px;
padding-bottom:6px;
margin-bottom:12px;
}



  /*---------------------------------------------
	body
---------------------------------------------*/
  html {
    scroll-behavior: smooth;
  }

  body {
    font-size: 15px;
    line-height: 1.8;
    padding-bottom: 60px;
  }

  p {
    font-size: 14px;
  }

  .only_pc_none {
    display: block !important;
  }

  .only_sp_none {
    display: none !important;
  }

  .sp_br {
    display: inline;
  }

  /*画像*/
  img {
    max-width: 100%;
    height: auto;
  }



  /*---------------------------------------------
 ** スマホメニュー
---------------------------------------------*/
  .hamburger {
    display: block;
    position: absolute;
    z-index: 3;
    right: 15px;
    top: 15px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    text-align: center;
    z-index: 99999;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 40px;
    height: 4px;
    left: 10px;
    background: #fff;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }

  /*-------追加------*/
  #under-content .hamburger span {
    background: #10308e !important;
  }

  #header.HeightMin .hamburger span {
    background: #10308e !important;
  }

  /*-------追加------*/

  .hamburger span:nth-child(1) {
    top: 13px;
  }

  .hamburger span:nth-child(2) {
    top: 28px;
  }

  .hamburger span:nth-child(3) {
    top: 43px;
  }

  /* ナビ開いてる時のボタン */
  .hamburger.active {
    background: none;
  }

  .hamburger.active span:nth-child(1),
  #under-content .hamburger.active span:nth-child(1) {
    top: 25px;
    left: 10px;
    background: #fff !important;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3),
  #under-content .hamburger.active span:nth-child(2),
  #under-content .hamburger.active span:nth-child(3) {
    top: 25px;
    background: #fff !important;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }

  .globalMenuSp {
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    color: #fff;
    background: #000000ad;
    height: 100%;
    text-align: center;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    padding-top: 7px;
  }

  .globalMenuSp>ul {
    margin: 0 auto;
    padding: 0;
    display: block;
    width: 100%;
  }

  #header nav ul,
  #header.HeightMin nav ul {
    margin: 0 auto;
    width: 90%;
    padding: 20px 20px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    background: #ffffffb0;
    margin-top: 60px;
    box-sizing: border-box;
  }

  #header nav ul li#nav06 a,
  #header nav ul li#nav07 a {
    position: relative;
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: 0.4s all;
    margin: 0 !important;
    display: inline-block;
    background: #0f3087;
    top: unset;
    right: unset;
  }

  #header nav ul li a {
    color: #fff !important;
    border: none !important;
    top: 0 !important;
  }

  #header.HeightMin nav ul li a {
    color: #fff !important;
  }



  .globalMenuSp>ul li {
    list-style-type: none;
    padding: 0;
    width: 49%;
    transition: 0.4s all;
    margin: 0 !important;
    display: inline-block;
  }

  .globalMenuSp>ul li#nav_group {
    display: none !important;
  }


  .globalMenuSp>ul li:hover {
    background: #ddd;
  }

  .globalMenuSp>ul li a {
    display: block;
    color: #fff;
    padding: 0.8em 0 !important;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    background: #0f3087;
    margin-bottom: 3%;
  }

  header nav ul li#nav06 a,
  header nav ul li#nav07 a {
    width: 100%;
    background: none;
    padding: unset;
    margin-left: unset;
    margin-top: unset;
    display: block;
    color: #fff;
    padding: 0.8em 0 !important;
    background: #0f3087;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    line-height: 1.8;
    position: relative;
    top: unset;
    right: unset;
  }

  header nav ul li#nav06 a:hover,
  header nav ul li#nav07 a:hover {
    opacity: 1.0;
  }

  /* このクラスを、jQueryで付与・削除する */
  .globalMenuSp {
    pointer-events: none;
  }

  .globalMenuSp.active {
    opacity: 100;
    pointer-events: visible;
  }

  #nav {
    width: 120px;
    padding: 32px 0 30px;
    z-index: 999;
  }

  .lower #nav {
    width: 120px;
    padding: 32px 0 30px;
  }

  #header.HeightMin {
    height: 90px;
  }

  #nav ul {
    box-sizing: border-box;
    margin-top: 4px;
    width: 90%;
    margin: 0 auto;
  }


  header nav ul li a {
    margin-top: 0;
  }

  #header nav>a {
    top: 27px !important;
  }


  #nav .pc_none {
    display: block;
  }

  #header .nav_sp_ban {
    display: flex;
    justify-content: space-evenly !important;
    margin-top: 0 !important;
    align-items: center !important;
    padding-bottom: 20px !important;
  }

  #header .nav_sp_ban li {
    width: 40% !important;
    text-align: center;
    margin: 0 auto !important;
  }

  #header .nav_sp_ban li:nth-child(1) a {
    width: 80%;
    display: block;
    max-width: 260px;
    margin: 0 auto;
    box-sizing: content-box;
    background: none !important;
  }

  #header .nav_sp_ban li:nth-child(2) a {
    width: 100%;
    display: block;
    max-width: 300px;
    background: none;
    margin: 0 auto;
    background: none !important;
  }


  #home h2 {
    margin-bottom: 2%;
  }


  #top_con01 {
    background: url(../img/top_about01.jpg) no-repeat center bottom;
    background-size: 480px auto;
    padding: 2% 0 40%;
    margin-bottom: 30px;
  }

  #top_con01>div {
    width: 90%;
    margin: 0 auto;
  }

  #top_con01>div>div {
    justify-content: center;
  }

  #top_con01>div>div div {
    text-align: center;
  }

  #top_con01>div>div div a {
    margin: 0 auto;
  }


  #top_con01 h2 br {
    display: inline;
  }

  #top_factory {
    background: url(../img/top_factory_bg.jpg) no-repeat center top;
    background-size: auto 110%;
    padding: 3% 0;
    box-sizing: border-box;
  }

  #top_factory>div {
    width: 80%;
    padding: 5%;
  }

  #top_factory>div>div:nth-child(1) {
    width: 100%;
  }

  #top_factory>div>div:nth-child(2) {
    width: 80%;
    margin: 3% auto;
  }

  #top_product {
    padding-top: 3%;
  }

  #top_product>div>div:nth-child(1) {
    width: 100%;
  }

  #top_product>div>div:nth-child(1)>div {
    max-width: 550px;
    margin: 3% auto;
    font-size: 120%;
  }

  #top_product>div>div:nth-child(2) {
    width: 80%;
    max-width: 450px;
    margin: 0 auto;
  }

  #top_news {
    padding: 30px 0 50px;
  }

  #top_news .btn_tri {
    max-width: 130px;
    font-size: 90%;
    left: 5%;
  }

  #top_case .btn_tri span::after,
  #top_news .btn_tri span::after {
    border: 5px solid transparent;
    border-left: 7px solid #fff;
    left: 15%;
    top: 36%;
  }

  .btn_tri span::after {
    top: 36%;
    border: 6px solid transparent;
    border-left: 8px solid #fff;
  }


  #top_news .ttl {
    width: 100%;
    position: relative;
  }

  #top_news .ttl>div {
    position: absolute;
    top: 20px;
    right: 0;
  }

  #top_news .news_dl {
    width: 100%;
  }

  #top_recruit {
    background: url(../img/top_recruit_sp01.png) no-repeat #e0eaf3 center top;
    padding: 180px 0 5%;
    background-size: 100% auto;
  }

  #top_recruit>div>div {
    padding: 5%;
  }

  #top_recruit .ttl {
    width: 90%;
    margin: 0 auto;
    padding: 5% 5%;
  }

  #top_recruit .ttl>div {
    text-align: center;
  }


  #top_recruit .btn_tri {
    margin: 0 auto;
  }

  #top_group {
    padding: 5% 0;
  }

  #top_group .ttl,
  #top_group>div>div:nth-child(2) {
    width: 100%;
  }

  #footer_data>div {
    width: 100%;
    margin-top: 3%;
    font-size: 120%;
    text-align: center;
  }

  #footer_data .br_1100 {
    display: none;
  }

  #footer_data>ul {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
  }

  #footer_data>ul {
    width: 90%;
    max-width: 550px;
    margin: 10px auto;
  }



  /*---------------------------------------------
 **  フッター
---------------------------------------------*/
  #footer_data>div img {
    max-width: 280px;
  }

  #footer_data>ul {
    margin-bottom: 30px;
  }

  #footer_data>ul li {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    font-size: 120%;
  }

  .foot_contact a {
    padding: 20px 10px !important;
    margin: 15px 0;
  }

  .sp_contact {
    height: 62px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #0f3087;
    padding: 10px 10px 20px;
    box-sizing: border-box;
  }

  .sp_contact a {
    width: 49%;
    display: block;
    background: #fff;
    padding: 5px 10px;
    box-sizing: border-box;
    color: #0f3087;
    font-size: 110%;
    text-align: center;
    font-weight: bold;
    box-sizing: border-box;
  }

  .sp_contact i {
    font-size: 150%;
    display: inline-block;
    margin-right: 5px;
    vertical-align: -2px;
  }

  #pageTop {
    position: fixed;
    bottom: 60px;
    right: 0px;
    z-index: 8;
  }

  #pageTop a {
    width: 45px;
    height: 45px;
    opacity: 0.9;
  }

  #pageTop a:hover {
    opacity: 0.9;
  }

  .contact-dl dt {
    width: 100%;
    display: inline-block;
    margin-right: 0;
    margin-bottom: 5px;
    position: relative;
  }

  .contact-dl dt .must {
    position: absolute;
    top: 0;
    right: 0;
  }


  .komoku {
    width: 100%;
  }

  .contact-dl dd {
    width: 100%;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 16px;
  }

  .add_txt {
    font-size: 90%;
    display: block;
    margin-top: 5px;
  }

  .contact-dl dd span.kakunin_off {
    font-size: 90%;
  }

}

/*---------------------------------------------
 ** 480px
---------------------------------------------*/

@media screen and (max-width: 480px) {
  body {
    padding-bottom: 60px;
  }

  p {
    font-size: 13px;
  }

  #header nav>a {
    width: 250px;
    margin-left: 10px;
    top: 18px !important;
  }

  #header.HeightMin {
    height: 65px;
  }

  .hamburger {
    display: block;
    position: absolute;
    z-index: 3;
    right: 8px;
    top: 8px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    z-index: 99999;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 3px;
    left: 10px;
    background: #fff;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 15px;
  }

  .hamburger span:nth-child(2) {
    top: 25px;
  }

  .hamburger span:nth-child(3) {
    top: 35px;
  }

  .globalMenuSp ul {
    padding: 15px 15px 0 !important;
  }

  .btn_tri {
    padding: 10px 20px 10px 40px;
    font-size: 100%;
  }

  #top_con01 {
    padding-bottom: 180px;
    background: url(../img/top_about01.jpg) no-repeat center bottom;
    background-size: 300px auto;
  }

  #top_con01 h2 {
    font-size: 115%;
  }

  #top_con01 p {
    font-size: 90%;
  }

  #top_con01 h2+p {
    margin-bottom: 20px;
  }

  #top_factory {
    background: url(../img/top_factory_bg.jpg) no-repeat center center;
  }

  #top_factory>div {
    width: 90%;
    margin-top: 70px;
    margin-bottom: 30px;
  }

  #top_factory>div>div:nth-child(1) div {
    text-align: center;
  }

  #top_factory>div>div:nth-child(2) {
    width: 100%;
  }

  #top_product {
    padding: 20px 0 !important;
  }

  #top_product>div>div:nth-child(2) {
    width: 100%;
  }

  #top_product>div>div:nth-child(2)>a {
    margin-bottom: 4%;
    width: 30%;
  }

  #top_recruit {
    padding: 110px 0 5%;
  }


  #top_recruit>div>div {
    width: 100%;
    box-sizing: border-box;
  }


  #top_recruit>div>div div {
    text-align: center;
  }

  #top_recruit p {
    margin-bottom: 3%;
  }

  #top_news .ttl>div {
    top: 5px;
  }

  #top_news .news_dl dl dt,
  #top_news .news_dl dl dd {
    width: 100%;
  }

  #top_group {
    padding: 30px 0 !important;
  }

  #top_group>div>div:nth-child(2) {
    margin-top: 10px;
  }

  #top_group>div>div:nth-child(2) dl {
    display: block;
  }

  #top_group>div>div:nth-child(2) dl:nth-child(1) {
    width: 42%;
  }

  #top_group>div>div:nth-child(2) dl:nth-child(2) {
    width: 50%;
  }

  #top_group>div>div:nth-child(2) dl dt img {
    width: 100% !important;
    margin: 0 0 5px 0;
  }

  #top_group>div>div:nth-child(2) dl:nth-child(1) dt img {
    margin: 0 auto 5px;
  }


  #pan {
    font-size: 80%;
  }

  #footer_data .foot_logo {
    width: 100%;
    max-width: unset;
    text-align: center;
    margin-right: 0;
  }

  #footer_data .foot_logo img {
    margin: 0 auto 20px;
    max-width: 120px;
  }

  .foot_box {
    width: 100%;
  }

  #copy {
    font-size: 80%;
  }

  #pageTop a {
    width: 35px;
    height: 35px;
  }

  #news.lower h3 {
    font-size: 120%;
    letter-spacing: 0;
  }

  .news_list>dl {
    padding: 3% 0;
  }

  .news_list>dl dt,
  .news_list>dl dd {
    font-size: 90%;
  }

  .news_list>dl dt a {
    font-size: 120%;
    letter-spacing: 0;
    display:block;
    margin-bottom:8px;
  }

  .news_list>dl dt span {
  /*     display: block; */
  }

  .info_data h3 {
    padding: 2% 0 1% 3%;
    margin-bottom: 3%;
  }

  .info_data h3>span {
    padding-left: 12px;
    font-size: 80%;
  }

  .info_data h4 {
    padding: 10px 0 10px 12px;
    margin-top: 8%;
    font-size: 100%;
  }

  .pre_next {
    font-size: 75%;
  }

  .wp-pagenavi {
    margin-top: 20px;
  }

  .kiji_btn a {
    width: 80%;
    max-width: 150px;
    background: #103080;
    padding: 5px 20px 7px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    margin: 10px 0;
    font-size: 90%;
    border-radius: 30px;
  }

  .info_data .kiji_btn a {
    max-width: 170px;
  }

  .info_data h3 {
    background: #103080;
    padding: 3px 0 0 5px;
    color: #fff;
    height: 50px;
    font-size: 120% !important;
    margin-bottom: 30px;
    margin-left: 15px;
    line-height: 1.4 !important;
    position: relative;
  }

  .info_data h3 :before {
    position: absolute;
    top: 0;
    left: -20px;
    content: '';
    border-width: 25px 20px 25px 0;
    border-style: solid;
    border-color: transparent #103080 transparent transparent;
  }

  .info_data h3 :after {
    position: absolute;
    top: calc(50% - 4px);
    left: -5px;
    width: 8px;
    height: 8px;
    content: '';
    border-radius: 50%;
    background: #fff;
  }

  .info_img img {
    width: 90%;
  }

  .info_data h4 {
    font-size: 100%;
    margin: 5% auto 5%;
  }

  .blog-kiji p {
    font-size: 85% !important;
  }

  .wp-pagenavi {
    font-size: 90%;
  }

  .wp-pagenavi a,
  .wp-pagenavi span {
    padding: 5px 10px;
  }
}

/*---------------------------------------------
 ** 400px
---------------------------------------------*/

@media screen and (max-width: 400px) {

  p {
    font-size: 12px;
  }

  #top_con01 h2 {
    font-size: 100%;
  }

  .h2_blue,
  .h2_white {
    font-size: 100%;
  }

  #top_product>div>div:nth-child(1)>div>div {
    width: 80%;
    max-width: 200px;
    margin: 5px auto;
  }

  #top_product>div>div:nth-child(2)>a {
    font-size: 10px;
    line-height: 1.4;
  }

  .news_dl {
    font-size: 90%;
  }

  #footer_data>div p {
    font-size: 80%;
  }

}

/*---------------------------------------------
 ** 340px
---------------------------------------------*/

@media screen and (max-width: 340px) {

  p {
    font-size: 11px;
  }

  #header nav>a {
    width: 220px;
  }

  .btn_tri {
    font-size: 90%;
  }

  .btn_tri.btn_small {
    font-size: 90%;
  }

  #top_con01 h2 {
    font-size: 90%;
  }

  .sp_contact a {
    font-size: 95%;
  }

  #footer_data>ul li {
    font-size: 110%;
  }

}

/* スマホのときのみ電話をかける */
@media (min-width: 770px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}