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

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

body {
  /* backdrop-filter: blur(19px) brightness(1.80) contrast(200%) hue-rotate(19deg) saturate(300%); */
  border: 10px solid;
  border-image: linear-gradient(to right, #ffbf7f, #58c6ff, #7f7fff) 1;
  border-image-slice: 1;
}
/* フロントページの日付とタグを非表示 */
.home .date-tags {
  display: none;
}
/* タイトル */
h2.wp-block-heading {
  background: none;
  color: #444548;
  font-size: 24px;
  letter-spacing: 2px;
  line-height: 160%;
  padding: 0;
}
/* 段落 */
p {
  font-size: 14px;
  letter-spacing: 2px;
}
/* 画像 */
figcaption {
  color: #666;
  font-size: 18px;
  padding: 10px 0 0 0;
  text-align: right;
}
/* フロントページセクション */
#fvSec p strong {
  animation-name: gradationTextAnimation;
  animation-duration: 8s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  background: linear-gradient(90deg, #ef6a54 0%, #076ad9 50%, #7f7fff 90%);
  background-size: 160% 100%;
  display: inline-block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gradationTextAnimation{
  0%{
      background-position: 0 0;
  }
  50%{
      background-position: 100% 0;
  }
  100%{
      background-position: 0 0;
  }
}
#topSec01,
#topSec03,
#topSec04,
#topSec06 {
  margin: auto;
  max-width: 1200px;
}
#topSec01 h2.wp-block-heading,
#topSec07 h2.wp-block-heading {
  margin-block: 0 10px;
}
#topSec02,
#topSec05 {
  /* background-image:  linear-gradient(30deg, #f8f8f8 12%, transparent 12.5%, transparent 87%, #f8f8f8 87.5%, #f8f8f8), linear-gradient(150deg, #f8f8f8 12%, transparent 12.5%, transparent 87%, #f8f8f8 87.5%, #f8f8f8), linear-gradient(30deg, #f8f8f8 12%, transparent 12.5%, transparent 87%, #f8f8f8 87.5%, #f8f8f8), linear-gradient(150deg, #f8f8f8 12%, transparent 12.5%, transparent 87%, #f8f8f8 87.5%, #f8f8f8), linear-gradient(60deg, #f8f8f880 25%, transparent 25.5%, transparent 75%, #f8f8f880 75%, #f8f8f880), linear-gradient(60deg, #f8f8f880 25%, transparent 25.5%, transparent 75%, #f8f8f880 75%, #f8f8f880);
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  background-size: 80px 140px;
  border: 1px solid #fafafa; */
  border-radius: 20px;
}
#topSec02 h2.wp-block-heading::after,
#topSec05 h2.wp-block-heading::after {
  background-color: #eb6102;
  content: '';
  display: block;
  height: 2px;
  margin-inline: auto;
  margin-top: 16px;
  position: relative;
  width: 80px;
}
#topSec03 .wp-block-group,
#topSec04 .wp-block-group {
  position: sticky;
  top: 0;
}
#topSec03 h2.wp-block-heading::after,
#topSec04 h2.wp-block-heading::after {
  background-color: #eb6102;
  content: '';
  display: block;
  height: 2px;
  margin-top: 16px;
  position: relative;
  width: 80px;
}
#topSec03 figure,
#topSec04 figure {
  padding: 30px 60px;
}
#topSec06 h2.wp-block-heading {
  margin-block: 0 20px;
}
#topSec06 .wp-block-list {
  margin-block: 0 20px;
}
#topSec07 {
  background-color: #EEEEEE;
  box-shadow: 20px 20px 40px #d3d3d3, -20px -20px 40px #fff;
  margin: auto;
  max-width: 1200px;
}
/* フォーム */
#contactSec {
  margin: auto;
  max-width: 1000px;
}
#contactSec .wp-block-group {
  padding-block: 30px;
  position: sticky;
  top: 0;
}
#contactSec h2.wp-block-heading {
  margin-block: 0 10px;
}
#contactSec h2.wp-block-heading::after {
  content: none;
}
.wp-block-contact-form-7-contact-form-selector {
  background: #f7f8fa;
  border-radius: 10px;
  padding: 30px;
}
.wpcf7-form dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wpcf7-form dl dt {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.wpcf7-form dl dt span {
  background: #0693E3;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  margin-left: 6px;
  padding: 4px 6px;
}
.wpcf7-form dl dt span.req {
  background: #CF2E2E;
}
.wpcf7-form dl dd {
  margin-inline: 0;
}
.wpcf7-radio {
  align-items: center;
  display: flex;
  gap: 10px;
}
.wpcf7-radio .wpcf7-list-item {
  margin-inline: 0;
}
.wpcf7-form dl dd .zip p {
  align-items: center;
  display: flex;
  gap: 6px;
}
.wpcf7-form dl dd .zip #js-zip {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #444548;
  cursor: pointer;
  padding: 6px 12px;
  text-decoration: none;
  transition: all .3s;
}
.wpcf7-form dl dd .zip #js-zip:hover {
  background: #0693E3;
  border: 1px solid #0693E3;
  color: #fff;
  transition: all .3s;
}
.wpcf7-form dl dd .select {
  position: relative;
}
.wpcf7-form dl dd .select::after {
  border-color: #666 transparent transparent transparent;
  border-style: solid;
  border-width: 8px 6px 0 6px;
  content: "";
  display: block;
  height: 0;
  pointer-events: none;
  position: absolute;
  right: 20px;
  top: 50%;
  width: 0;
  transform: translate(0, -50%);
}
.wpcf7-form dl dd .select .wpcf7-form-control {
  appearance: none;
  -webkit-appearance: none; /*Google Chrome/Safari対応*/
  -moz-appearance: none; /*Firefox対応*/
  -o-appearance: none; /*Opera対応*/
}
.wpcf7-form dl.privacy-policy div {
  background: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  max-height: 240px;
  overflow-y: scroll;
  padding: 20px;
}
.wpcf7-form dl.privacy-policy .ttl {
  font-size: 14px;
  font-weight: 600;
  margin-block: 0;
}
.wpcf7-form dl.privacy-policy .desc {
  font-size: 12px;
  margin-block: 10px;
}
.wpcf7-form dl.privacy-policy .wpcf7-acceptance {
  display: block;
  margin-block: 10px 0;
}
.wpcf7-form dl.privacy-policy .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.wpcf7-submit {
  border-radius: 10px;
  font-weight: 600;
}
.wpcf7-submit:hover {
  background: #0693E3;
  border: 1px solid #0693E3;
  color: #fff;
  transition: all .3s;
}
.wpcf7-response-output {
  font-size: 14px;
}
.wpcf7 form.invalid .wpcf7-response-output {
  background: #CF2E2E;
  border-radius: 4px;
  border: 0;
  color: #fff;
}

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

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

  /* 見出し */
  .has-large-font-size {
    font-size: 24px !important;
    line-height: 160% !important;
  }
  .has-medium-font-size {
    font-size: 16px !important;
  }
  h2.wp-block-heading {
    font-size: 20px;
  }
  /* 段落 */
  .has-text-align-center {
    text-align: left;
  }
  /* 画像 */
  figcaption {
    font-size: 14px;
  }
  /* ヘッダーロゴ */
  .logo-text {
    padding-block: 20px 0;
  }
  /* フロントページセクション */
  #fvImg img {
    min-height: 240px;
    object-fit: cover;
  }
  #topSec02,
  #topSec05,
  #topSec07 {
    padding: 30px 20px !important;
  }
  #topSec02 h2.wp-block-heading::after, #topSec05 h2.wp-block-heading::after {
    margin-inline: 0;
  }
  #topSec03 {
    margin-bottom: 60px !important;
  }
  #topSec03 .wp-block-group,
  #topSec04 .wp-block-group {
    position: relative;
  }
  #topSec03 figure,
  #topSec04 figure {
    padding: 10px 0px;
  }
  /* フォーム */
  #contactSec .wp-block-group {
    position: relative;
  }
  .wp-block-contact-form-7-contact-form-selector {
    padding: 20px;
  }
  .wpcf7-radio {
    align-items: flex-start;
    flex-direction: column;
  }
  .wpcf7-form dl dd .zip span:nth-of-type(2) {
    max-width: 120px;
  }
}

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