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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* ボタン */
.c-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  background-color: transparent;
  padding: 0;
  color: inherit;
  text-decoration: none;
  overflow: unset;
}
.c-btn.-first {
  text-align: center;
  display: block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 65px;
  border: solid 2px #fff;
  outline: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  max-width: 338px;
  height: 65px;
  width: 100%;
}
.c-btn.-first:hover {
  background-color: #fff;
}
.c-btn.-first:hover span {
  color: #333;
}
.c-btn.-first span {
  color: #fff;
  font-weight: bold;
  font-size: 1.25rem;
  width: 100%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  letter-spacing: 0.04em;
}
.c-btn__figure {
  max-width: 20px;
  position: absolute;
  top: 48%;
  right: 20px;
  transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
}
.c-btn__figure img {
  width: 100%;
  display: block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.c-btn:hover .c-btn__figure-active img {
  opacity: 1;
}
.c-btn__figure-active img {
  width: 100%;
  display: block;
  opacity: 0;
  transition: all 0.3s;
}
.c-btn__figure-active {
  max-width: 20px;
  position: absolute;
  top: 48%;
  right: 20px;
  transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
}
.p-footer__fixed .c-btn__figure-active {
  right: 15px;
}
.content-center {
  display: flex;
  justify-content: center;
  min-height: 65px;
}
/* ページ右下固定CTA */
.p-footer__fixed {
  z-index: 100000;
  position: fixed;
  bottom: 0;
  right: -100%;
  padding: 1.5rem 0;
  background-color: rgb(255 147 30 / 85%);
  max-width: 330px;
  border-radius: 10px 0px 0px 0px;
  width: 100%;
  transition: bottom 0.18s ease, right 1s ease;
  will-change: bottom; /* スクロール連動のチラつき軽減 */
}
.p-footer__fixed .c-btn.-first {
  max-width: 260px;
  height: 50px;
  background-color: #fff;
}
.p-footer__fixed .c-btn__figure {
  right: 15px;
}
.p-footer__fixed .close {
  display: block;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 12px;
  right: 10px;
  cursor: pointer;
}
.p-footer__fixed .c-btn.-first span {
  font-size: 0.9375rem;
  color: #ff931e;
}
.p-footer__fixed .c-btn__figure-active {
  right: 15px;
}
.p-footer__fixed .close::before,
.p-footer__fixed .close::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: 0% 50%;
  position: absolute;
  top: 0;
  left: 14%;
}
.p-footer__fixed .close::after {
  transform: rotate(-45deg);
  transform-origin: 100% 50%;
  left: auto;
  right: 14%;
}
.p-footer__fixed.is-show {
  right: 0;
}
.p-footer__fixed.is-show.is-hide {
  display: none;
}
.p-footer__fixed-catch {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  margin-bottom: 1.125rem;
}
.p-footer__fixed-figure {
  max-width: 60px;
  margin: 0 auto;
}
.p-footer__fixed-figure img {
  width: 100%;
}
.p-footer__fixed .c-btn.-first:hover {
  background-color: #ff931e;
}
.p-footer__fixed .c-btn.-first:hover span {
  color: #fff;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
  .p-footer__fixed {
    bottom: 80px;
    border-radius: 10px 0px 0px 10px;
    z-index: 3;
  }
}

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

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
  .p-footer__fixed {
    max-width: 69.33vw;
    padding: 1rem 0;
  }
  .p-footer__fixed-figure {
    display: none;
  }
  .p-footer__fixed-box {
    width: 100%;
    .content-center {
      min-height: unset;
    }
  }
  .p-footer__fixed-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
  }
  .p-footer__fixed .c-btn.-first {
    height: 12vw;
    max-width: 62.66vw;
  }
  .p-footer__fixed .c-btn__figure {
    right: 10px;
    max-width: 20px;
  }
  .p-footer__fixed .c-btn__figure-active {
    right: 10px;
    max-width: 20px;
  }
  .p-footer__fixed-catch {
    font-size: 3.73vw;
    margin-bottom: 2.13vw;
  }
  .p-footer__fixed .c-btn.-first span {
    font-size: 3.73vw;
  }
}
