@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/


/************************************
** 子テーマ用のスタイルを書く
************************************/


/*必要ならばここにコードを書く*/

/************************************
** 物件スライド
************************************/
.swiper-container {
  width: 100%;
}
.swiper-container.slider-thumbnail .swiper-wrapper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.5;
  overflow: hidden;
}
.swiper-container.slider-thumbnail .swiper-wrapper .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
}

/************************************
** 事例
************************************/
.cardlayout-wrap-3 {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  margin: 2em auto;
  max-width: 1200px;
  width: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
}


/* リンクテキストの下線を非表示 */

a.card-link-3 {
  text-decoration: none;
}


/* カードレイアウト内の画像を幅いっぱいに表示 */

.cardlayout-wrap-3 img {
  display: block;
  max-width: 100%;
  height: auto;
}

.card-figure-3 {
  margin: 0;
}


/* カードレイアウトのタイトル部分 */

.card-title-3 {
  margin: 1em 0 1em;
  text-align: center;
}


/* カードレイアウトの説明文部分 */

.card-text-tax-3 {
  margin: 0;
  padding: 1em;
}


/* カードレイアウトを1カラムで配置 */

.card-list-3 {
  margin: 0.5em auto;
  padding: 0;
  width: 96%;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  flex-direction: column;
  display: flex;
}


/* 画面幅768px以上の場合カードレイアウトを2カラムで配置 */

@media all and (min-width: 768px) {
  .card-list-3 {
    width: calc(96% / 1);
    /* 96%幅を2で割るという指定 */
  }
}


/* 画面幅992px以上の場合カードレイアウトを3カラムで配置 */

@media all and (min-width: 992px) {
  .card-list-3 {
    width: calc(96% / 3);
    /* 96%幅を3で割るという指定 */
  }
  /* 最後の行が4列より少ない場合左寄せにレイアウトさせる */
  .cardlayout-wrap-3::before {
    content: "";
    display: block;
    width: calc(96% / 4);
    order: 1;
  }
  .cardlayout-wrap-3::after {
    content: "";
    display: block;
    width: calc(96% / 4);
  }
}


/* バッジ3 */

.badge-group-3 {
  margin: 20px;
  width: auto;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: auto;
}

.badge-item-3 {
  margin-top: 10px;
  margin-right: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 8px 10px;
  overflow: hidden;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #ddd;
  background: #fff;
}


/*---------------------------------
タイムライン○位置
--------------------------------*/

.article ul li:before {
  left: 10px;
}


/*---------------------------------
タイムライン○
--------------------------------*/

@media screen and (max-width: 480px) {
  .timeline-item::before {
    width: 10px;
    height: 10px;
  }
}


/*---------------------------------
タイムラインpadding
--------------------------------*/

.timeline-box {
  padding: 36px 18px;
}


/*---------------------------------
タイムラインタイトル
--------------------------------*/

.timeline-title {
  margin: 0 0 1.5em 0;
}


/*---------------------------------
タイムライン
--------------------------------*/

.timeline-box .timeline {
  margin: 0 auto;
  width: 96%;
}


/*---------------------------------
タイムラインとかリスト表示
--------------------------------*/

.article ul {
  width: 90%;
}


/*---------------------------------
スキン関係
--------------------------------*/

body {
  background: #fff url("https://im-cocoon.net/wp-content/uploads/bg.jpg") no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: url("https://im-cocoon.net/wp-content/uploads/bg.jpg") center no-repeat;
  background-size: auto;
  background-size: cover;
}


/*---------------------------------
reCAPTCHA
--------------------------------*/

.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha_policy {
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 13px !important;
  color: #595959 !important;
}

.recaptcha_policy a {
  font-size: 13px !important;
}


/*---------------------------------
CTAボックス
--------------------------------*/

.cta-box {
  background-color: #f1f1f1;
  color: #333;
}


/*---------------------------------
スマホ、PC表示ON、OFF
--------------------------------*/


/*PCの場合*/

.pc {
  display: inline!important;
}

.mb {
  display: none!important;
}

@media screen and (max-width: 651px) {
  /*タブレット、スマホの場合*/
  .pc {
    display: none!important;
  }
  .mb {
    display: inline!important;
  }
}


/*---------------------------------
コンタクトフォーム7
--------------------------------*/

@media(max-width:500px) {
  .inquiry th, .inquiry td {
    display: block!important;
    width: 100%!important;
    border-top: none!important;
    -webkit-box-sizing: border-box!important;
    -moz-box-sizing: border-box!important;
    box-sizing: border-box!important;
  }
  .inquiry tr:first-child th {
    border-top: 1px solid #d7d7d7!important;
  }
  /* 必須・任意のサイズ調整 */
  .inquiry .haveto, .inquiry .any {
    font-size: 10px;
  }
}


/*見出し欄*/

.inquiry th {
  text-align: left;
  font-size: 14px;
  color: #444;
  padding-right: 5px;
  width: 30%;
  background: #f7f7f7;
  border: solid 1px #d7d7d7;
}


/*通常欄*/

.inquiry td {
  font-size: 16px;
  border: solid 1px #d7d7d7;
}


/*横の行とテーブル全体*/

.entry-content .inquiry tr, .entry-content table {
  border: solid 1px #d7d7d7;
}


/*必須の調整*/

.haveto {
  font-size: 7px;
  padding: 5px;
  background: #ff9393;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  position: relative;
  bottom: 1px;
}


/*任意の調整*/

.any {
  font-size: 7px;
  padding: 5px;
  background: #93c9ff;
  color: #fff;
  border-radius: 2px;
  margin-right: 5px;
  position: relative;
  bottom: 1px;
}


/*ラジオボタンを縦並び指定*/

.verticallist .wpcf7-list-item {
  display: block;
}


/*送信ボタンのデザイン変更*/

#formbtn {
  display: block;
  padding: 1em 0;
  margin-top: 30px;
  width: 100%;
  background: #ffaa56;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 2px;
  border: none;
}


/*送信ボタンマウスホバー時*/

#formbtn:hover {
  background: #fff;
  color: #ffaa56;
}


/*checkbox大きく*/

input[type=checkbox] {
  transform: scale(1.5);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/


/*1023px以下*/

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


/*834px以下*/

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

/************************************
** スマホ時ヘッダー下げる
************************************/
#navi .navi-in > .menu-mobile {
	margin-top: 1rem !important;
}

/*480px以下*/

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