@charset "UTF-8";

/*!
Theme Name: harvest-loop
Template:   cocoon-master
Version:    1.1.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px) {
  /*必要ならばここにコードを書く*/
}

/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}
/************************************
** ヘッダー
************************************/

/* ヘッダー */
.header-container {
  position: relative;
  box-shadow: 0 0 15px 5px rgb(0 0 0 / 10%);
  animation: slide_down_menu 0.5s ease !important;
  padding: 10px 0;
}
.header .header-in {
  min-height: auto;
}
@media screen and (max-width: 767px) {
  .header-container {
    display: none;
  }
}

/************************************
** グローバルメニュー
************************************/
.navi-in > ul {
  justify-content: flex-end;
}

.fixed-header {
  box-shadow: 0 0 15px 5px rgb(0 0 0 / 10%);
  animation: slide_down_menu 0.5s ease !important;
  padding: 10px 0;
}

/************************************
** ヘッダーモバイルボタン
************************************/
@media screen and (max-width: 769px) {
  /*スライドインメニューを右から*/
  .navi-menu-content {
    left: auto;
    right: 0;
    transform: translateX(101%);
  }
}
/************************************
** header #keyvisual
************************************/

#keyvisual {
  padding: 0;
  height: 50vh;
  /* max-height: 740px; */
  /* min-height: 740px; */
  overflow: hidden;
}

.section-contents {
  padding: 90px 12.5% 60px;
  width: 100%;
  text-align: center;
  position: relative;
}
#keyvisual .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.2);
}
#keyvisual > img {
  /* height: 740px; */
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
}

#keyvisual .wrapper {
  position: absolute;
  top: 50%;
  left: 20%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  text-align: left;
  line-height: 2;
  z-index: 3;
}
#keyvisual .wrapper .site-title {
  font-size: 5.4rem;
  font-family: "Vollkorn", serif;
  font-weight: 400;
  letter-spacing: 0.1em;
}
#keyvisual .wrapper .site-caption {
  font-family: "Noto Sans Japanese", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.2em;
}

/* --------------------------------
 * smart phone
 * -------------------------------- */
@media screen and (max-width: 769px) {
  #keyvisual {
    height: 100vh;
    min-height: auto;
  }
  #keyvisual .wrapper {
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    line-height: 2;
  }
  #keyvisual .wrapper .site-title {
    font-size: 3.2rem;
  }
  #keyvisual .wrapper .site-caption {
    margin-top: 8px;
    font-size: 1.3rem;
  }
  #keyvisual img {
    height: 100%;
    width: auto;
    max-width: max-content;
  }
}

@keyframes anime-scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/************************************
** footer-contents
************************************/

/************************************
** トップへ戻るボタン
************************************/

.go-to-top-button {
  width: 60px;
  height: 60px;
  border-radius: 0px;
  font-size: 30px;
}

/************************************
** taxonomy-content.php 内
************************************/

.area-box,
.search-box,
.list-contents-box {
  margin: 30px 0;
  padding: 20px;
  box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%),
    0 1px 5px 0 rgb(0 0 0 / 12%);
  transition: all 0.3s ease-out;
}

.search-box form {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
}
.form-inner {
  flex: 3;
  padding: 0 10px;
}
.submit-btn {
  flex: 2;
  padding: 0 10px;
}
input[type="submit"] {
  background: #1967d2;
  padding: 12px;
}

.area-box {
  background: #fff;
}
.area-box h2 {
  background: #f4a662;
  color: #fff;
  padding: 5px 20px;
  margin-bottom: 20px;
}
.area-box h3 {
  color: #f4a662;
  border-bottom: 4px solid #ddd;
  margin-bottom: 20px;
  position: relative;
}
.area-box h3:before {
  position: absolute;
  content: "";
  width: 20%;
  height: 4px;
  left: 0;
  bottom: -4px;
  background: #f4a662;
}

.area-box ul {
  padding: 0;
  display: table-cell;
  list-style: none;
}

.area-box ul li {
  display: inline-block;
  margin: 0 1em 0 0;
}

.area-box ul li a {
  font-size: 20px;
}

.area-box ul li a:hover {
  color: #ed4b03;
}

@media screen and (max-width: 769px) {
  .area-box {
    margin: 0 0 20px 0;
    padding: 10px;
  }

  .area-box ul li {
    margin: 0 0.5em 0 0;
  }

  .area-box ul li a {
    font-size: 16px;
  }

  .search-box form {
    display: block;
  }
  .form-inner,
  .submit-btn {
    padding: 10px 0;
  }
}

/************************************
** content-facility 内
************************************/

.post-date {
  display: none;
}

.municipality_list ul {
  padding: 0;
}
.municipality_list ul li {
  display: inline-block;
  list-style: none;
}

/************************************
** コンテンツ内　ブロックのデザイン　基本
************************************/
.wp-block-table table {
  margin: 0 auto;
  width: 100% !important;
}

/************************************
** prefecture-list 内
************************************/

.prefecture-box {
  margin: 30px 0;
  padding: 20px;
  box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%),
    0 1px 5px 0 rgb(0 0 0 / 12%);
  transition: all 0.3s ease-out;
}
.prefecture-box h3,
.prefecture-box ul {
  margin: 0;
}
.prefecture-box ul li {
  display: inline-block;
  padding: 5px;
}

/************************************
** prefecture-list-widget 内
************************************/

.prefecture-list-widget ul {
  padding-left: 15px;
}
.prefecture-list-widget ul li {
  display: inline-block;
  padding: 0 5px;
}

/***********************************************
** pref_item - pcr検査機関を都道府県より検索
***********************************************/
.pref_item .area-wrap ul {
  list-style: none;
}
.pref_item .area-wrap ul li {
  display: inline-block;
  vertical-align: top;
  width: 20%;
  font-size: 18px;
  text-align: center;
  border: 1px solid #222;
  box-sizing: border-box;
}
.pref_item .area-wrap ul li a {
  display: block;
  text-decoration: none;
  transition: 0.7s;
}
@media screen and (max-width: 769px) {
  .pref_item .area-wrap ul {
    padding: 0;
  }
  .pref_item .area-wrap ul li {
    width: 30%;
  }
}
