/*
Theme Name:     miki
Author:         admin
Template:       source_tcd045
Version:        2.2.2
*/


*, *:before, *:after {
  box-sizing: border-box;
}

* {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}


a {
  text-decoration: none !important;
}
a:hover {
  opacity: 0.7;
}



.pc #global_menu li.current-menu-item > a,
.pc #global_menu > ul > li > a:hover,
#bread_crumb li.home a:hover:before,
#bread_crumb li a:hover,
#footer_bottom a:hover {
  color: #ffde70 !important;
}

.center {
  text-align: center;
  margin: 0 auto;
}



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



/* ヘッダー */

.home #top {
   margin: -1px 0 0;
}

.home #header {
  background: #103e00;
  opacity: 0.6;
}

.pc #header .logo {
  display: none;
}

.pc #global_menu > ul > li > a {
  font-size: 17px;
}

@media only screen and (max-width: 1199px) {
  #global_menu a {
    background: #000 !important;
  }
}

@media only screen and (max-width: 767px) {
  .home #top {
     margin: 0 0 -1px !important;
  }
}



/* トップページ */

#main_contents {
  background: #000;
}

.index_free_content {
  width: 100% !important;
  margin: 0 auto;
}

.wrap_content {
  width: 1150px;
  margin: 0 auto;
}

.white_back {
  background: #fff;
  padding: 100px 0;
}

#mont {
  margin-bottom: 100px;
}

#greeting {
  width: 100%;
  height: 950px;
  background-image: url(/wp-content/themes/miki/img/greeting_back.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#recruit {
  margin-bottom: 160px;
}

.dp-footer-bar-item {
  background-color: #1E452E;
  border: #DDD;
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .wrap_content { width: 100%; }
}

@media screen and (max-width: 767px) {
  .wrap_content {
    width: 90%;
  }
  .index_free_content {
    padding: 0 !important;
  }
  .wide_image {
    height: 125px !important;
  }
  #greeting {
    height: 910px;
  }
  #recruit {
    margin-bottom: 60px;
  }
}



/* フッター */

@media only screen and (max-width: 991px) {
  #footer_widget {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  #copyright {
     font-size: 12px;
     letter-spacing: 0;
  }
}



/* 見出し */

h2 {
  text-align: center;
}

h2.h2_style1a {
  color: #fff;
  font-size: 48px !important;
  letter-spacing: 3px;
  padding-top: 120px !important;
}

h2.h2_style1b {
  color: #fff;
  font-size: 20px !important;
  font-weight: 500 !important;
  letter-spacing: 1px;
  background: #907d3f;
  width: 240px;
  height: 48px;
  margin: 0 auto 4em !important;
}

#greeting .h2_style1b {
  opacity: 0.9;
}

h2.h2_style1c {
	  background: #1b501c;
}

@media screen and (max-width: 767px) {
  h2.h2_style1b {
    margin-bottom: 3em !important;
  }
}


/* pタグ関連 */

.post_content p {
  font-size: 18px !important;
  color: #fff;
  letter-spacing: 1px;
}

.fs30 {
  font-size: 30px;
}

.fs48 {
  font-size: 48px;
}

#corona p, #greeting p {
  line-height: 3.3;
}

#dela p, #mont p {
  margin: 50px auto;
}

#info_bottom p {
  color: #000;
  font-size: 23px;
}

@media screen and (max-width: 767px) {
  .fs30 {
    font-size: 22px;
  }
  .fs48 {
    font-size: 35px;
  }
  #corona p, #greeting p {
      line-height: 2.3;
  }
  #dela p, #mont p {
    margin: 0 auto 50px;
  }
  #info_bottom p {
    font-size: 18px;
  }
}



/* ボタン */

.detail-btn a {
  width: 319px;
  height: 93px;
  background-image: url(/wp-content/themes/miki/img/btn_back.jpg);
  color: #FFF !important;
  font-size: 20px;
  line-height: 77px;
  text-align: center;
  display:block;
  padding-top: 8px;
  margin: 0 auto;
}

.detail-btn2 a {
	background-image: url(/wp-content/themes/miki/img/btn_back2.jpg);align-content
}


/* カラム */

.flexbox {
  width: 100%;
  display: flex;
  display: -ms-flexbox; /* IE10 */
  flex-wrap: wrap;
  -ms-flex-wrap: wrap; /* IE10 */
  text-align: center; /* 内容は中央配置 */
}

.jc-se {
  justify-content: space-evenly;
}

.ai-center {
  align-items: center;
}

#corona .col-3 {
  width: 25%;
  padding: 10px;
}

#corona .flexbox:nth-of-type(2) {
  margin: 60px auto 120px;
  justify-content: space-around;
}

#corona .col-2 {
  width: 32%;
}

#info_bottom .col-2 {
  width: 42%;
}

@media screen and (max-width: 767px) {
  #corona .col-3 {
      width: 33%;
      padding: 5px;
  }
  #corona .flexbox:nth-of-type(2) {
    margin-top: 20px;
  }
  #corona .col-2 {
      width: 45%;
  }
}

@media screen and (max-width: 1150px) {
  #info_bottom .col-2 {
    width: 100%;
  }
}

/* NEWS */
.news_list .title a {
    color: white;
}

.news_list li:hover {
    background: #666;
}

/*ContactForm7カスタマイズ*/

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
  display:table;
}

div.wpcf7 {
  border: none;
  background: #000;
  font-size: 18px;
}

.post_content table.CF7_table{
  margin: 50px auto;
  border: none;
}

.post_content table.CF7_table tr{
  border-top: 1px solid #fff;
}

.post_content td, .post_content th {
  border: 1px solid #000;
  padding: 20px;
}

.post_content .CF7_table th{
  width:30%;
  background: #907d3f;
  color: #fff;
  font-weight: 900;
  text-align: left;
  vertical-align: middle;
}

.post_content .CF7_req{
  font-size:.9em;
  padding: 5px;
  background: #000;
  color: #fff;
  border-radius: 3px;
  margin-right:1em;
}

.CF7_btn{
  text-align: center;
  margin-top: 20px;
}

div.wpcf7 input.wpcf7-submit {
  background: #907d3f !important;
  border: 0;
  color: #fff;
  font-size: 1.6em;
  font-weight: bold;
  margin: 0 auto;
}

.wpcf7-spinner{
  width:0;
  margin:0;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #fff;
}

@media screen and (max-width: 768px){
  .wpcf7 form {
    margin: 1.5em 0 0 !important;
  }
  .post_content td, .post_content th {
    padding: 10px;
  }
  .post_content .CF7_table tr, .post_content .CF7_table td, .post_content .CF7_table th{
    display: block;
    width: 100%;
  }
  table.CF7_table tr {
    border-top: none;
  }
}
