@charset "utf-8";

/* /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_
モバイル向けレイアウト指定：～781px
PC向けレイアウト指定：782px〜
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_*/

/*==========================================
 スクリーン/共通
===========================================*/
.screenpage-over {
  height: 550px;
  position: relative;
}

.screen-page {
  -webkit-border-radius: 0 0 40px 0;
     -moz-border-radius: 0 0 40px 0;
      -ms-border-radius: 0 0 40px 0;
       -o-border-radius: 0 0 40px 0;
          border-radius: 0 0 40px 0;
  height: 550px;
  margin: 0 40px;
  position: relative;
}

.slide-page {
  -webkit-border-radius: 0 0 40px 0;
     -moz-border-radius: 0 0 40px 0;
      -ms-border-radius: 0 0 40px 0;
       -o-border-radius: 0 0 40px 0;
          border-radius: 0 0 40px 0;
  height: 550px;
  width: 100%;
}

@media only screen and (max-width: 782px) {
  .screenpage-over {
    height: 280px;
  }

  .screen-page {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
        -ms-border-radius: 0;
         -o-border-radius: 0;
            border-radius: 0;
    height: 280px;
    margin: 0 0 0 20px;
  }

  .slide-page {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
        -ms-border-radius: 0;
         -o-border-radius: 0;
            border-radius: 0;
    height: 280px;
  }
}

.ser-top {
  background: url(./images/screen/ser-top.jpg) no-repeat center center;
  background-size: cover;
}

.faci-top {
  background: url(./images/screen/faci-top.jpg) no-repeat center center;
  background-size: cover;
}

.qua-top {
  background: url(./images/screen/qua-top.jpg) no-repeat center 80%;
  background-size: cover;
}

.about-top {
  background: url(./images/screen/about-top.jpg) no-repeat center 80%;
  background-size: cover;
}

.works-top {
  background: url(./images/screen/works-top.jpg) no-repeat center center;
  background-size: cover;
}

.news-top {
  background: url(./images/screen/news-top.jpg) no-repeat center 30%;
  background-size: cover;
}

.rec-top {
  background: url(./images/screen/rec-top.jpg) no-repeat center center;
  background-size: cover;
}

.contact-top {
  background: url(./images/screen/contact-top.jpg) no-repeat center 70%;
  background-size: cover;
}

.policy-top {
  background: url(./images/screen/policy-top.jpg) no-repeat center center;
  background-size: cover;
}

/* ページタイトル */
.pageti-waku {
  margin-bottom: -1px;
  margin-left: 39px;
  max-width: 641px;
  width: 55%;
}

.page-title {
  left: 4%;
  position: absolute;
  top: 60%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
       -o-transform: translateY(-50%);
          transform: translateY(-50%);
}

.common-subtitle {
  font-size: 1.4rem;
}

.common-title {
  font-size: 3.5rem;
}

@media only screen and (max-width: 950px) {
  .common-title {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 782px) {
  .pageti-waku {
    margin-left: 19px;
    max-width: 290px;
    width: 85%;
  }

  .page-title {
    top: 61%;
  }

  .common-subtitle {
    font-size: 1rem;
  }

  .common-title {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 480px) {
  .nav-con {
    display: none;
  }
}

/* パンくず */
.breadcrumbs {
  display: inline-block;
  font-size: .7rem;
  line-height: 1.5em;
  padding: 5px 20px 5px 0;
  position: relative;
  z-index: 1;
}

/* 背景 */
.breadcrumbs::before {
  background: #f2f9ff;
  border-radius: 0 999px 999px 0;
  bottom: 0;
  content: "";
  left: -100vw;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.breadcrumbs a {
  text-decoration: underline;
}

/*==========================================
 事業内容
===========================================*/
/* リード */
.serlead-container {
  display: flex;
  justify-content: space-between;
}

.ser-img {
  width: 33.33333333%;
}

.serlead-txt {
  width: 55.55555556%;
}

.page-line-title {
  font-size: 2.5rem;
}

.page-line {
  margin-left: auto;
  max-width: 174px;
}

@media only screen and (max-width: 1000px) {
  .line-title-sub {
    font-size: 1.9rem;
  }
}

@media only screen and (max-width: 782px) {
  .serlead-container {
    display: block;
  }

  .ser-img {
    margin-left: auto;
    margin-right: auto;
    max-width: 240px;
    width: 100%;
  }

  .serlead-txt {
    margin-top: 20px;
    width: 100%;
  }

  .page-line-title {
    font-size: 1.7rem;
  }

  .line-title-sub {
    font-size: 1.7rem;
  }

  .page-line {
    margin-left: auto;
    max-width: 100px;
  }
}

/* 流れ大きいタイトル */
.titlepage-l {
  margin-bottom: -20px;
  max-width: 800px;
  position: relative;
  width: 72%;
}

@media only screen and (max-width: 782px) {
  .titlepage-l {
    margin-bottom: -16px;
    width: 100%;
  }
}

/* 流れアバウト */
.flowpage-container {
  display: flex;
}

.flowpage-item-l {
  margin-right: 5%;
  width: 55.55555556%;
}

.page-flowline {
  margin-left: 0;
}

.flowpage-item-r {
  margin: 0 calc(50% - 50vw);
  margin-left: auto;
  max-width: 620px;
  padding-right: 40px;
  width: 57.40740741%;
}

@media only screen and (max-width: 782px) {
  .flowpage-container {
    display: block;
  }

  .flowpage-item-l {
    margin-right: 0;
    width: 100%;
  }

  .flowpage-item-r {
    margin-top: 20px;
    max-width: 350px;
    padding-right: 20px;
    width: 100%;
  }
}

/* 流れリスト */
.flow-container li {
  align-items: center;
  background: #fff;
  display: flex;
  margin-top: 30px;
  padding: 20px 6.203703704%;
}

.flow-container li h3 {
  font-weight: 500;
}

.flow-wrap {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-width: 290px;
  width: 48.20295983%;
}

.flow-txt {
  font-size: .97rem;
  width: 51.79704017%;
}

.flow-no {
  margin-right: 3%;
  width: 28.50877193%;
}

.flow-ti {
  font-size: 1.3rem;
  margin-right: 11.62280702%;
  min-width: 180px;
  padding: 0 3%;
  text-align: center;
  width: 48.24561404%;
}

@media only screen and (max-width: 782px) {
  .flow-container li {
    display: block;
    margin-top: 20px;
    padding: 20px 5%;
  }

  .flow-wrap {
    min-width: auto;
    width: 100%;
  }

  .flow-txt {
    font-size: .95rem;
    margin-top: 15px;
    width: 100%;
  }

  .flow-no {
    margin-right: 5%;
    max-width: 80px;
    width: 27%;
  }

  .flow-ti {
    font-size: 1.2rem;
    margin-right: 0;
    min-width: auto;
    padding: 0;
    width: 68%;
  }
}

/*==========================================
 主要設備
===========================================*/
.faci-container {
  display: flex;
}

.faci-item {
  margin-right: 7.407407407%;
  width: 44.44444444%;
}

.faci-imgbox {
  width: 48.14814815%;
}

.faci-item-ti {
  font-size: 1.4rem;
  margin-bottom: 14px;
  padding: 0 3%;
}

@media only screen and (max-width: 782px) {
  .faci-container {
    display: block;
  }

  .faci-item {
    margin-right: 0;
    width: 100%;
  }

  .faci-imgbox {
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    max-width: 500px;
    width: 100%;
  }

  .faci-item-ti {
    font-size: 1.2rem;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }
}

/* テーブル */
table.faci-t {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.faci-t td, .faci-t th {
  background: #fff;
  font-weight: 500;
  width: 50%;
}

.faci-t td {
  border: solid 1px #a5a5a5;
  padding: 12px 2%;
  text-align: center;
}

.faci-t th {
  background: #f7f7f7;
  border: solid 1px #a5a5a5;
  padding: 13px 2%;
  text-align: center;
}

th.faci-th {
  background: #000;
  border: solid 1px #000;
  color: #fff;
  padding: 12px 2%;
}

th.bor-r {
  border-right: solid 1px #fff;
}

@media only screen and (max-width: 782px) {
  table.faci-t {
    max-width: 500px;
  }

  .faci-t td {
    padding: 6px 2%;
  }

  .faci-t th {
    padding: 6px 2%;
  }

  th.faci-th {
    padding: 4px 2%;
  }
}

/* 工場内画像 */
.inner-faci {
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  max-width: 1600px;
}

.faci-img-flex {
  display: flex;
}

@media only screen and (max-width: 782px) {
  .inner-faci {
    margin-top: 30px;
  }

  .faci-img-flex {
    flex-wrap: wrap;
  }

  .faci-img-flex li {
    margin-top: 10px;
    width: 50%;
  }
}

/*==========================================
 技術・品質
===========================================*/
.lead-title-s {
  font-size: 2.6rem;
}

@media only screen and (max-width: 1080px) {
  .lead-title-s {
    font-size: 2rem;
  }
}

.page-line-left {
  margin-left: 0;
}

.qua-img {
  max-width: 800px ;
}

@media only screen and (max-width: 782px) {
  .lead-title-s {
    font-size: 1.9rem;
  }

  .page-line-left {
    margin-left: auto;
    margin-right: auto;
  }
}

/* テーブル */
.qua-t th {
  text-align: left;
  width: 75%;
}

.qua-t td {
  width: 25%;
}

.qua-t th.faci-th {
  text-align: center;
}

@media only screen and (max-width: 782px) {
  table.qua-t {
    max-width: 800px;
  }

  .qua-item-ti {
    max-width: 800px;
  }
}

/* 光背景 */
.light-l {
  left: 0;
  max-width: 542px;
  position: absolute;
  top: 160px;
  width: 37.94%;
}

.light-r {
  bottom: -200px;
  max-width: 440px;
  position: absolute;
  right: 0;
  width: 30.8%;
}

@media only screen and (max-width: 782px) {
  .light-l {
    top: 100px;
    width: 54.2%;
  }

  .light-r {
    bottom: -100px;
    width: 44.0%;
  }
}

/* 品質安全管理 */
.kanri-conyainer {
  display: flex;
}

.kanri-item {
  background: #fff;
  -webkit-border-radius: 40px;
     -moz-border-radius: 40px;
      -ms-border-radius: 40px;
       -o-border-radius: 40px;
          border-radius: 40px;
  display: flex;
  padding: 20px 4%;
  width: 47.5%;
}

.kanri-item:first-child {
  margin-right: 5%;
}

.kanri-item-l {
  margin-right: 10%;
  min-width: 120px;
  width: 40%;
}

.kanri-item-r {
  width: 50%;
}

.kanri-ti {
  font-size: 1.7rem;
}

.maru-kanri {
  max-width: 120px;
}

@media only screen and (max-width: 930px) {
  .kanri-conyainer {
    display: block;
  }

  .kanri-item {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    width: 100%;
  }

  .kanri-item:first-child {
    margin-bottom: 20px;
    margin-right: auto;
  }
}

@media only screen and (max-width: 782px) {
  .kanri-item {
    display: block;
    padding: 15px 6%;
  }

  .kanri-item:first-child {
    margin-bottom: 14px;
  }

  .kanri-item-l {
    margin-right: 0;
    min-width: auto;
    width: 100%;
  }

  .kanri-item-r {
    width: 100%;
  }

  .kanri-ti {
    font-size: 1.6rem;
    text-align: center;
  }

  .maru-kanri {
    margin-left: auto;
    margin-right: auto;
    max-width: 110px;
  }
}

/*==========================================
 アバウト
===========================================*/
.lead-title-about {
  margin-top: 0;
}

.lead-about-l {
  margin-right: 3.703703704%;
  min-width: 200px;
  width: 18.51851852%;
}

.lead-about-r {
  width: 70.37037037%;
}

.lead-title-a {
  font-size: 2.6rem;
}

.about-lead-mb {
  display: none;
}

@media only screen and (max-width: 782px) {
  .lead-about-l {
    margin-right: 0;
    min-width: auto;
    width: 100%;
  }

  .lead-about-r {
    margin-top: 30px;
    width: 100%;
  }

  .lead-title-a {
    font-size: 1.9rem;
  }

  .about-txt {
    display: none;
  }

  .about-lead-mb {
    color: #009af9;
    display: block;
    font-size: 1.3rem;
  }
}

/* ミッション */
.mission-ti {
  font-size: 2.6rem;
  padding-top: 25px;
}

.page-line-center {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}

@media only screen and (max-width: 782px) {
  .mission-ti {
    font-size: 1.9rem;
    padding-top: 20px;
  }
}

.miss-container {
  display: flex;
  justify-content: space-between;
}

.miss-container li {
  background: #fff;
  -webkit-border-radius: 40px;
     -moz-border-radius: 40px;
      -ms-border-radius: 40px;
       -o-border-radius: 40px;
          border-radius: 40px;
  padding: 30px 2.5%;
  position: relative;
  width: 23.14814815%;
}

.miss-item-ti {
  font-size: 1.5rem;
  line-height: 1.5;
}

.miss-item-txt {
  font-size: .95rem;
  margin-top: 6px;
}

@media only screen and (max-width: 980px) {
  .miss-container .qua-no {
    font-size: 3.2rem;
    top: -30px;
  }
}

@media only screen and (max-width: 782px) {
  .miss-container {
    flex-wrap: wrap;
  }

  .miss-container li {
    margin-bottom: 30px;
    padding: 20px 5%;
    width: 48%;
  }

  .miss-container li:nth-child(3), .miss-container li:nth-child(4) {
    margin-bottom: 0;
  }

  .miss-item-ti {
    font-size: 1.2rem;
  }

  .miss-item-txt {
    font-size: .85rem;
    line-height: 1.6;
  }

  .miss-container .qua-no {
    font-size: 2.5rem;
    left: 15px;
    top: -20px;
  }
}

/* 代表挨拶 */
.mess-container {
  display: flex;
}

.daihyo {
  margin-right: 7.407407407%;
  max-width: 320px;
  width: 29.62962963%;
}

.mess-item {
  width: 62.96296296%;
}

.mess-ti {
  color: #009af9;
  font-size: 2.1rem;
}

.daihyo-name {
  margin-left: auto;
  max-width: 240px;
}

.light-mess {
  max-width: 440px;
  position: absolute;
  right: 0;
  top: -70px;
  width: 40%;
}

@media only screen and (max-width: 782px) {
  .mess-container {
    display: block;
  }

  .daihyo {
    margin-left: auto;
    margin-right: 0;
    margin-right: auto;
    max-width: 200px;
    width: 100%;
  }

  .mess-item {
    margin-top: 15px;
    width: 100%;
  }

  .mess-ti {
    font-size: 1.5rem;
    text-align: center;
  }

  .daihyo-name {
    max-width: 200px;
  }

  .light-mess {
    width: 60%;
  }
}

/* 会社概要 */
.out-container {
  display: flex;
  margin-top: -30px;
}

.out-item {
  margin-left: 3.703703704%;
  width: 48.14814815%;
}

.out-item:first-child {
  margin-left: 0;
}

.out-item li {
  align-items: center;
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, #0771d3, #fff);
  border-image-slice: 1;
  display: flex;
  font-size: 1.05rem;
  padding: 27px 0;
}

.out-item-l {
  color: #0771d3;
  font-weight: 700;
  min-width: 125px;
  width: 30%;
}

.out-item-r {
  width: 70%;
}

.out-marunone {
  display: none;
}

@media only screen and (max-width: 782px) {
  .out-container {
    display: block;
  }

  .out-item {
    margin-left: 0;
    width: 100%;
  }


  .out-item li {
    display: block;
    font-size: 1rem;
    padding: 10px 0;
  }

  .out-item-l {
    min-width: auto;
    width: 100%;
  }

  .out-item-r {
    width: 100%;
  }

  .out-marunone {
    display: inline;
  }
}

/*==========================================
 実績
===========================================*/
.works-ti {
  font-size: 1.4rem;
  padding: 6px 3%;
}

.works-t th {
  border-left: none;
  border-right: none;
  vertical-align: middle;
  width: 25%;
}

.works-t td {
  border-left: none;
  border-right: none;
  text-align: left;
  width: 75%;
}

@media only screen and (max-width: 782px) {
  .works-ti {
    font-size: 1.1rem;
    padding: 6px 4%;
  }
}

/* ギャラリー */
.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery-img {
  margin: 4px .5%;
  width: 19%;
}

.gray-p {
  font-size: .9rem;
}

@media only screen and (max-width: 782px) {
  .gallery {
    margin-left: auto;
    margin-right: auto;
    max-width: 420px;
  }

  .gallery-img {
    margin: 5px 1%;
    max-width: 200px;
    width: 48%;
  }

  .gray-p {
    font-size: .8rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 420px;
  }
}

/* 画像比率 正方形 */
.square-image img {
  height: 100%;
  left: 50%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
     -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
       -o-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.square-image {
  overflow: hidden;
  padding-top: 100%;
  position: relative;
  width: 100%;
}

/*==========================================
 お知らせ
===========================================*/
.blog-article {
  border-bottom: solid 1px #d9d9d9;
  line-height: 2;
  padding-bottom: 40px;
}

.newspage-title {
  color: #006dd2;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7;
  position: relative;
}

.time-cat {
  align-items: center;
  display: flex;
}

.blog-article time {
  color: #e60016;
  font-size: 1.3rem;
}

.time-line {
  margin-left: 20px;
  max-width: 174px;
}

.news-txt {
  margin-top: 30px;
}

.blog-article img {
  display: block;
  height: auto;
  margin: 30px 0;
  max-width: 600px;
  width: 100%;
}

.blog-article a {
  color: #ff4800;
  font-weight: 500;
  text-decoration: underline;
}

@media only screen and (max-width: 782px) {
  .blog-article {
    margin: 0 0 20px;
    padding-bottom: 30px;
  }

  .newspage-title {
    font-size: 1.3rem;
  }

  .blog-article time {
    font-size: 1.15rem;
  }

  .time-line {
    margin-left: 15px;
    max-width: 120px;
  }

  .news-txt {
    margin-top: 20px;
  }

  .blog-article img {
    margin: 20px 0;
  }
}

/* strongタグを太字に */
.my_bold {
  font-weight: bold;
}

/* ユーチューブ埋め込み通常ページ */
.youtube {
  height: 0;
  margin: 20px 0;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.youtube iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* 全体ページ */
.article-all {
  padding-left: 0;
  width: 100%;
}

/*==========================================
 投稿間ナビ
===========================================*/
.adjacent_post_links {
  display: flex;
  justify-content: center;
  margin: 45px auto 0;
  padding: 0;
}

.adjacent_post_links li.previous a:before, .adjacent_post_links li.next a:after {
  content: "";
  height: 48px;
  margin-top: -8px;
  position: absolute;
  width: 150px;
}

.adjacent_post_links li.previous a:before {
  background: url(./images/blog-back.png) no-repeat left 50%;
  background-size: 150px 48px;
  margin-left: -150px;
}

.adjacent_post_links li.next a:after {
  background: url(./images/blog-next.png) no-repeat left 50%;
  background-size: 150px 48px;
}

.all_links {
  padding: 0 30px;
}

a.all_links {
  color: #000;
  text-decoration: none;
}

@media only screen and (max-width: 782px) {
  .adjacent_post_links {
    margin: 25px auto 0;
  }

  .adjacent_post_links li.previous a:before, .adjacent_post_links li.next a:after {
    height: 29px;
    margin-top: -3px;
    width: 94px;
  }

  .adjacent_post_links li.previous a:before {
    background-size: 94px 29px;
    margin-left: -94px;
  }

  .adjacent_post_links li.next a:after {
    background-size: 94px 29px;
  }

  .all_links {
    font-size: .8rem;
    padding: 0 10px;
  }
}

/*==========================================
 ページナビ
===========================================*/
.pagenation {
  margin: 50px 0 -30px;
  text-align: center;
}

@media only screen and (max-width: 782px) {
  .pagenation {
    margin: 30px 0 -20px;
  }
}

.pagenation:after, .pagenation ul:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.pagenation ul {
  display: inline-block;
  margin: 0;
}

.pagenation li {
  float: left;
  list-style: none outside none;
  margin-left: 3px;
}

.pagenation li:first-child {
  margin-left: 0;
}

.pagenation li.active {
  background-color: #888;
  border-radius: 3px;
  color: #fff;
  cursor: not-allowed;
  padding: 0 14px 2px;
}

.pagenation li a {
  background: none repeat scroll 0 0 #c0c0c0;
  border-radius: 3px;
  color: #fff;
  display: block;
  padding: 0 14px 2px;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
}

.pagenation li a:hover {
  background-color: #444;
  color: #fff;
  opacity: .8;
  transition-duration: 500ms;
  transition-property: all;
  transition-timing-function: ease;
}

/*==========================================
 採用情報
===========================================*/
.lead-rec-l {
  margin-right: 3%;
  min-width: 240px;
  width: 25%;
}

.lead-rec-r {
  width: 64%;
}

.to-rec {
  max-width: 440px;
}

@media only screen and (max-width: 782px) {
  .lead-rec-l {
    margin-right: 0;
    min-width: auto;
    width: 100%;
  }

  .lead-rec-r {
    margin-top: 30px;
    width: 100%;
  }

  .to-rec {
    max-width: 340px;
  }
}
/*==========================================
 お問い合わせ
===========================================*/
.round-conpage {
  -webkit-border-radius: 40px;
     -moz-border-radius: 40px;
      -ms-border-radius: 40px;
       -o-border-radius: 40px;
          border-radius: 40px;
}

.conlead-container {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.conlead-itam-l {
  margin-right: 5%;
}

.conlead-itam-r {
  border-left: 8px solid #006dd2;
  margin-top: 10px;
  min-width: 300px;
  padding: 10px 0 12px 1.5%;
  width: 33.33333333%;
}

.conlead-title {
  font-size: 2rem;
  line-height: 1.5;
}

.contel-txt {
  font-size: 1.2rem;
}

.contel-time {
  font-size: .9rem;
}

.contel-time br {
  display: none;
}

@media only screen and (max-width: 782px) {
  .conlead-container {
    display: block;
  }

  .conlead-itam-l {
    margin-right: 0;
  }

  .conlead-itam-r {
    border-left: 6px solid #006dd2;
    margin-top: 15px;
    min-width: auto;
    padding: 5px 0 6px 15px;
    width: 100%;
  }

  .conlead-itam-l p br {
    display: none;
  }

  .conlead-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
  }

  .con-tel {
    max-width: 300px;
  }

  .contel-txt {
    font-size: 1.1rem;
  }

  .contel-time br {
    display: block;
  }
}

/* フォーム */
.m-con {
  margin-top: 70px;
  padding-bottom: 10px;
}

@media only screen and (max-width: 782px) {
  .m-con {
    margin-top: 30px;
    padding-bottom: 5px;
  }
}

input, textarea {
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
      -ms-border-radius: 0;
       -o-border-radius: 0;
          border-radius: 0;
}

input[type="radio"], input[type="checkbox"] {
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
  position: absolute;
}

::placeholder {
  color: #c0c0c0;
}

.contact {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", Meiryo, "MS　Pゴシック", sans-serif;
  line-height: 1.7;
}

@media only screen and (max-width: 782px) {
  .contact {
    font-size: .9rem;
  }
}

.contact table {
  border-top: 1px solid #e8e8e8;
  width: 100%;
}

.contact tr {
  border-bottom: 1px solid #e8e8e8;
}

.contact th {
  font-weight: normal;
  font-weight: bold;
  position: relative;
  text-align: left;
  vertical-align: middle;
  width: 30%;
}

.contact th.essential:before {
  background: #006dd2;
  color: #fff;
  content: "必 須";
  display: block;
  font-size: .7rem;
  left: 140px;
  line-height: 1;
  margin-left: 4%;
  margin-top: 4px;
  padding: 5px 12px 4px;
  position: absolute;
  text-align: center;
}

.contact td {
  padding: 28px 0;
  width: 60%;
}

@media only screen and (max-width: 782px) {
  .contact th, .contact td {
    display: block;
    float: left\9;
    width: 100%;
  }

  .contact th {
    padding: 10px 0;
  }

  .contact th.essential:before {
    left: auto;
    margin-top: 3px;
    padding: 4px 12px;
    right: 0;
  }

  .contact td {
    padding: 0 0 16px;
  }
}

.length-l, .length-m {
  background: #f1f4f6;
  border: none;
  font-size: 15px;
  padding: 17px;
}

.length-l {
  width: 100%;
}

.length-m {
  width: 48%;
}

.length-mt {
  margin-top: 20px;
}

.length-s {
  width: 24%;
}

.length-s-p {
  margin-right: 4%;
}

.length-time-l {
  margin-right: 4%;
  width: 60%;
}

.length-time-r {
  width: 36%;
}

@media only screen and (max-width: 782px) {
  .length-s {
    font-size: 14px;
    padding: 12px;
  }

  .length-l, .length-m {
    font-size: 14px;
    padding: 12px;
    width: 100%;
  }

  .length-mt, .length-mt2 {
    margin-top: 16px;
  }

  .length-s-p {
    margin-right: 3%;
  }
}

.submit {
  -webkit-appearance: none;
     -moz-appearance: none;
       -o-appearance: none;
          appearance: none;
  background: #006dd2;
  border: none;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 1.1em;
  margin: 40px auto 0;
  padding: 20px 0;
  width: 320px;
}

.submit:hover {
  background: #2e93f1;
}

@media only screen and (max-width: 782px) {
  .submit {
    margin: 25px auto 0;
    padding: 10px 0;
    width: 200px;
  }
}

.wpcf7 span.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7 .wpcf7-not-valid {
  background: #ffa;
}

.wpcf7-response-output {
  border: solid 1px #c0c0c0 !important;
  margin: 0 !important;
}

.ajax-loader {
  height: 16px !important;
  width: 16px !important;
}

/* フォーム内チェックボックス */
.check-box {
  text-align: left;
}

.check-box label {
  display: inline-block;
}

.wpcf7-list-item-label {
  display: block;
  margin-right: 20px;
  padding-left: 20px;
  position: relative;
}

.wpcf7-list-item-label::before {
  border: 1px solid #999;
  content: "";
  display: block;
  height: 15px;
  left: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
       -o-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 15px;
}

.check-box input:checked + .wpcf7-list-item-label {
  color: #757575;
}

.check-box input:checked + .wpcf7-list-item-label::after {
  border-bottom: 3px solid #757575;
  border-right: 3px solid #757575;
  content: "";
  display: block;
  height: 14px;
  left: 5px;
  position: absolute;
  top: 0;
  -webkit-transform: rotate(40deg);
     -moz-transform: rotate(40deg);
      -ms-transform: rotate(40deg);
       -o-transform: rotate(40deg);
          transform: rotate(40deg);
  width: 7px;
}

.doi-p a {
  color: #e60016;
  text-decoration: underline;
}

/*==========================================
 個人情報保護方針
===========================================*/
.policy-topti {
  font-size: 3rem;
}

@media only screen and (max-width: 950px) {
  .policy-topti {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 782px) {
  .policy-topti {
    font-size: 1.8rem;
  }
}

.policy-title {
  border-bottom: solid 2px #5ab4ed;
  color: #006dd2;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 40px 0 15px;
  padding-bottom: 6px;
}

.policy-main {
  line-height: 2;
}

.policy-r {
  margin-top: 30px;
  text-align: right;
}

@media only screen and (max-width: 782px) {
  .policy-title {
    font-size: 1rem;
    margin: 24px 0 15px;
  }

  .policy-main {
    line-height: 1.9;
  }

  .policy-r {
    margin-top: 20px;
    text-align: right;
  }
}
