@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
*/

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

/************************************
** お知らせ横並び
************************************/
.new-entry-cards.large-thumb {
display: flex;
flex-wrap: wrap;
}

.new-entry-cards.large-thumb a {
width: 33.333%;
}

/768px以下/
@media screen and (max-width: 768px){
.new-entry-cards.large-thumb a {
width: 50%;
}
}

/480px以下/
@media screen and (max-width: 480px){
.new-entry-cards.large-thumb a {
width: 100%;
}
}

/************************************
** グローバルメニュー太字
************************************/
nav#navi, .menu-header .sub-menu{
	font-weight: bold;
}

/************************************
** reCAPTCHA
************************************/
.grecaptcha-badge { visibility: hidden; }

/************************************
** トップページサービス1
************************************/
.cardlayout-wrap {
  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 {
  text-decoration: none;
}

/* カードレイアウト内の画像を幅いっぱいに表示 */
.cardlayout-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.card-figure {
  margin: 0;
  padding: 0 1em;
}

/* カードレイアウトのタイトル部分 */
.card-title-cas {
  margin: 1em 0 1em;
  text-align: center;
}

/* カードレイアウトの説明文部分 */
.card-text-tax {
  margin: 0;
  padding: 1em;
}

/* カードレイアウトを1カラムで配置 */
.card-list {
  margin: 0.5em auto;
  padding: 0;
  width: 96%;
  flex-direction: column;
  display: flex;
  background: #f4f5f6;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.back-pink {
  background: #ff9ff3;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.back-yellow {
  background: #feca57;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.back-orange {
  background: #ff9f43;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.back-blue {
  background: #54a0ff;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.back-green {
  background: #e1e688;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #444
}

/* 画面幅768px以上の場合カードレイアウトを2カラムで配置 */
@media all and (min-width: 768px) {
  .card-list {
    width: calc(96% / 2);
    /* 96%幅を2で割るという指定 */
  }
}

/* 画面幅992px以上の場合カードレイアウトを2カラムで配置 */
@media all and (min-width: 992px) {
  .card-list {
    width: calc(96% / 2);
    /* 96%幅を3で割るという指定 */
  }
  /* 最後の行が2列より少ない場合左寄せにレイアウトさせる */
  .cardlayout-wrap::after {
    content: "";
    display: block;
    width: calc(96% / 2);
  }
}

/* バッジ1 */
.badge-group {
  margin: 20px;
  width: auto;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: auto;
}

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

/*---------------------------------
コンタクトフォーム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);
}

/************************************
** スマホ時改行
************************************/
@media screen and (min-width: 768px){
.br-sp {display: none; }
}


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

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

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