/*
Theme Name: maruki theme
Description: マルキ産業 theme
Theme URI: https://sndbox.jp
Author: sandbox co ltd
Author URI: https://sndbox.jp/
Version: 0.0.2
License: ask us
License URI: https://sndbox.jp
Text Domain: maruki-theme
*/
/* Wp標準で使われるテーマの取り込み */
@import url("common.css");

.wf-sawarabimincho {
  font-family: "Sawarabi Mincho";
}

body {
  padding-top: 70px;
}

/*
--------------------レイアウト関係 */
/* 画面全体の最大幅 */
.mainbox {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

footer {
  background-color: #39873D;
  color: white
}

/* トップのでかいゴミ袋 */
#relative {
  position: relative;
}

#relative .gomi1 {
  position: absolute;
  top: 335px;
  left: 60px;
  width: 160px;
}

#relative .gomi2 {
  position: absolute;
  top: 250px;
  left: 200px;
  width: 160px;
}

#relative .gomi3 {
  position: absolute;
  top: 335px;
  left: 350px;
  width: 160px;
}

#relative .gomi4 {
  position: absolute;
  top: 500px;
  left: 110px;
  width: 160px;
}

#relative .gomi5 {
  position: absolute;
  top: 500px;
  left: 280px;
  width: 160px;
}

#relative .gomi6 {
  position: absolute;
  top: 240px;
  left: 1060px;
  width: 160px;
}

#relative .jigyou_buttom {
  position: absolute;
  background-color: #FFBD4E;
  top: 725px;
  left: 80px;
  padding: 20px 90px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3rem;
  border-radius: 50px;
  box-shadow: 0px 5px 0px #d49b37;
  transition: .3s;
  font-size: 2rem;
}

.d-display .jigyou_buttom {
  background-color: #FFBD4E;
  margin: 0 auto;
  padding: 10px 50px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: .3rem;
  border-radius: 25px;
  box-shadow: 0px 5px 0px #d49b37;
  transition: .3s;
}

.d-display .jigyou_buttom_box {
  text-align: center;
  padding: 30px 0 0;
}



#relative .jigyou_buttom:hover {
  box-shadow: unset;
  transform: translate(0px,4px);
}

#relative .gomi1:hover {
  opacity: 0.6;
}

#relative .gomi2:hover {
  opacity: 0.6;
}

#relative .gomi3:hover {
  opacity: 0.6;
}

#relative .gomi4:hover {
  opacity: 0.6;
}

#relative .gomi5:hover {
  opacity: 0.6;
}

/* #relative  .gomi6:hover {opacity: 0.6;} */
.img80 {
  width: 80%;
}


.buruburu:hover {
  -webkit-animation: buruburu 0.1s infinite linear alternate;
  animation: buruburu 0.1s infinite linear alternate;
}

@-webkit-keyframes buruburu {
  0% {
    -webkit-transform: translate(0, 0) rotate(-3deg);
  }

  50% {
    -webkit-transform: translate(0, -1px) rotate(0deg);
  }

  100% {
    -webkit-transform: translate(0, 0)rotate(3deg);
  }
}

@keyframes buruburu {
  0% {
    transform: translate(0, 0) rotate(-3deg);
  }

  50% {
    transform: translate(0, -1px) rotate(0deg);
  }

  100% {
    transform: translate(0, 0)rotate(3deg);
  }
}


/*
--------------------装飾関係 */

/* 文字のアウトライン飾り */
h2.outline {
  display: inline-block;
  color: #ffffff;
  font-size: 240%;
  letter-spacing: 4px;
  text-shadow:
    2px 2px 1px #003366,
    -2px 2px 1px #003366,
    2px -2px 1px #003366,
    -2px -2px 1px #003366,
    2px 0px 1px #003366,
    0px 2px 1px #003366,
    -2px 0px 1px #003366,
    0px -2px 1px #003366;
}

h2.title {
  font-weight: bold;
  line-height: 80%;
}

h2>.subtitle {
  color: #39873D !important;
  font-size: 50%;
  margin-top: 0;
  padding-top: 0;
}

.bar-green {
  color: white;
  background-color: green;
  text-align: center;
  padding: 10px;
  margin: 5% 0%;
}

.bar-blue {
  color: white;
  background-color: #3e62ac;
  text-align: center;
  padding: 10px;
  margin: 5% 0%;
}

.bar-pink {
  color: white;
  background-color: palevioletred;
  text-align: center;
  padding: 10px;
  margin: 5% 0%;
}

.bar-orange {
  color: white;
  background-color: darkorange;
  text-align: center;
  padding: 10px;
  margin: 5% 0%;
}

/* マージン調整用class */
.h3-margin {
  margin-top: 60px !important;
  margin-bottom: 30px;
}

.area-margin {
  margin-bottom: 150px;
}


.medi-box {
  border: 1px solid #ccc;
  margin: 0;
  padding: 0
}

/* 1文字目を大きくする */
.drop-cap {
  font-size: 125%;
}

.drop-cap:first-letter {
  font-size: 2em;
  line-height: 1;
  float: left;
  color: limegreen;
  padding-right: 4px
}

.drop-cap-top {
  font-size: 125%
}

.drop-cap-top:first-letter {
  font-size: 2em;
  color: limegreen;
  padding-right: 4px
}

.drop-cap-top-orange {
  font-size: 125%
}

.drop-cap-top-orange:first-letter {
  font-size: 2em;
  color: orange;
  padding-right: 4px
}

.under-line {
  border-bottom: 4px solid #555;
  padding-bottom: 5px;
  color: #555;
}

/**
各ページのトップに配置されるアイコン
*/

.top-icon {
  text-align: center;
  margin: 5% 0;
}

.top-icon>img {
  max-width: 300px;
}

/* 各ページのトップに配置されるボックス */
.top-box-contents {
  margin-top: 10%;
  margin-bottom: 5%;
}

.top-box-title {
  font-size: 200%;
  color: #000;
}

.top-box-subtitle {
  font-weight: bold;
  letter-spacing: 6px;
}

.top-box-text {
  padding-left: 20px;
  padding-right: 20px;
}

/**
会社概要
*/

.myth {
  margin-bottom: 20px;
  font-weight: bold;
}

.mytd {
  margin-bottom: 20px;
}

.tbl-mid .gridtbl {
  padding: 20px;
}

.gridtbl:nth-child(odd) {
  background: #eee;
}

.mt-6 {
  margin-top: 100px;
}

.my-6 {
  margin-top: 150px;
  margin-bottom: 150px;
}

/* inquery */
.query-title {
  font-size: 1.06rem;
  font-weight: bold;
  border-left: 10px solid #62A946
}

.query-content {
  font-size: 0.93rem;
}

.require {
  color: #d31212;
  font-size: 1rem;
}

#inquery input[type="text"],
#inquery input[type="email"],
#inquery input[type="tel"] {
  width: 100%;
}

/* チェックボックス */
#inquery .wpcf7-checkbox.custom .wpcf7-list-item {
  display: inline-block;
  margin-bottom: 0.5em;
  margin-left: 0;
  vertical-align: top;
  width: 33%;
}

#inquery .wpcf7-checkbox.custom input[type="checkbox"] {
  display: none;
}

#inquery .wpcf7-checkbox.custom a {
  text-decoration: underline;
}

#inquery .wpcf7-checkbox.custom label::before {
  content: '';
  cursor: pointer;
  background: url(./img/icon-checkbox.svg) left top no-repeat;
  background-size: 100% 100%;
  display: inline-block;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 2px;
  margin-right: 0.5em;
  vertical-align: middle;
}

#inquery .wpcf7-checkbox.custom input[type="checkbox"]:checked+label::before {
  background: url(./img/icon-checkbox-checked.svg) left top no-repeat;
  background-size: 100% 100%;
}

#inquery select {
  font-size: 0.9rem;
  padding: 5px 1em 5px 0.8em;
}

#inquery textarea {
  width: 100%;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border: none;
  box-shadow: 0 3px 0 #ddd;
  background: #98dd6c;
  transition: 0.3s;
}

.wpcf7-submit:hover {
  background: #a4dd6c;
  transform: translate3d(0px, 3px, 1px);
  -webkit-transform: translate3d(0px, 3px, 1px);
  -moz-transform: translate3d(0px, 3px, 1px);
}

#inquery .ajax-loader {
  display: block;
  height: 0;
  margin: 1em auto 0.5em;
}

form.submitting #inquery .ajax-loader {
  height: 24px;
}

@media only screen and (max-width: 767px) {
  .query-title {
    margin-bottom: 0.5em;
  }

  #inquery {
    padding-left: 15px;
  }

  #inquery .wpcf7-checkbox.custom .wpcf7-list-item {
    width: 50%;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/* WP 標準スタイル*/
.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignright {
  float: right;
}

.alignleft {
  float: left;
}

.hfit {
  height: 480px;
  object-fit: contain;
}

/* 追加スタイル　*/
.btn-airclean {
  background-color: #f38c28;
  border-color: #f38c28;
  color: white;
}

.btn-airclean:hover {
  background-color: #de832b;
  border-color: #de832b;
}

/* トップバナー　*/
.top-bnr-list {
  list-style: none;
  margin: 20px auto;
  padding: 0 15px;
}

.top-bnr-list li {
  margin: 15px;
}

.top-bnr-list li a img {
  transition: opacity 0.3s;
}

.top-bnr-list li a:hover img {
  opacity: 0.7;
}



@media only screen and (max-width: 767px) {
  .is-pc {
    display: none;
  }

  .d-display .jigyou_buttom {
  display: inline-block;
  width: 90%;
  border-radius: 50px;
  font-size: 1.5rem;
  }
  
}

@media only screen and (min-width: 768px) {
  .top-bnr-list li {
    margin: 0 5px;
    max-width: 324px;
    width: 32.7%;
  }
  
  .is-sp {
    display: none;
  }
  
  .d-display .jigyou_buttom {
  display: inline-block;
  width: 90%;
  border-radius: 50px;
  font-size: 1.5rem;
  }
  
}
