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

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

.footer,
body {
  background: #e5e5dd;
}

#list {
  margin: 0;
}

.article p {
  margin: 1em 0 0;
}

.entry-content>*,
.body .article {
  margin: 0;
}

.no-sidebar .content .main {
  max-width: 1000px;
  width: 90%;
  padding: 0;
  margin: 10px auto 10px;
  text-align: left;
}

#content-in {
  max-width: 1150px;
  border: 6px solid #40474f;
  background-color: #fff;
}

.e-con-full,
.e-con.e-flex>.e-con-inner {
  padding: 0;
}

.entry-content {
  margin: 0;
}

#main .e-con,
#main .e-con-inner {
  gap: 0;
}

#main h1.entry-title {
  display: none;
}

.elementor img {
  margin: 30px 0 10px;
}

#main .title {
  text-align: center;
  border-top: 2px solid rgb(197, 197, 183);
  border-bottom: 2px solid rgb(197, 197, 183);
  padding: 0 0 0.9em;
  line-height: 1em;
  margin: 0;
  font-size: 32px;
  font-weight: bold;
}

.title p {
  margin: .8em 0 0;
}

.article h2 {
  position: relative;
  margin: 30px 0 0;
  background-color: #f9fdfe;
  color: #40474f;
  padding: 0.5em 0.5em 0.5em 1.4em;
  border-bottom: 2px solid #40474f;
  line-height: 1.3em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
}

.article h2::before {
  position: relative;
  top: 0;
  left: -0.65em;
  content: '';
  padding: 2px;
  background-color: #40474f;
}

.custom-footer-links {
  text-align: center;
  font-size: 14px;
  line-height: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 15px;
}

.custom-footer-links a {
  color: var(--cocoon-text-color);
  text-decoration: none;
  border-bottom: solid 1px;

}

.footer-bottom {
  margin: 0 0 20px;
  padding: 0;
}

@-webkit-keyframes pulse {

  from,
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }
}

@keyframes pulse {

  from,
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }
}

.pulse {
  -webkit-animation: pulse 1s ease-in-out infinite;
  animation: pulse 1s ease-in-out infinite;
}

.elementor-widget-button .elementor-button.elementor-button-link {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: pulse;
  animation-name: pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  font-size: clamp(1rem, 5vw, 2.5rem);
  font-weight: bold;
  color: #ffd40a;
  padding: 30px;
  width: 100%;
  max-width: 620px;
  border-radius: 10px;
  display: block;
  margin: 30px auto 0;
}

.elementor-widget-button .elementor-button.elementor-button-link::after {
  content: "公式サイトはコチラ";
  display: block;
  color: #fff;
  margin: .6rem 0 0 0;
  font-size: clamp(1rem, 5vw, 2.5rem);
}

.entry-card-content {
  padding: 0;
}

.mobile-menu-buttons {
  display: none;
}

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

/*834px以下*/
@media screen and (max-width: 834px) {
  #main .title {
    line-height: 4vw;
    font-weight: bold;
    font-size: 4.5vw;
    text-align: center;
    padding: 4vw 0 7vw;
  }

  .content {
    margin: 0;
  }

  #content-in {
    border: none;
    padding-top: 10px;
  }

  .article h2 {
    font-size: clamp(1rem, 6vw, 24px);
  }

  .no-sidebar .content #main {
    padding-bottom: 60px;
    margin-bottom: 10px;
  }
}

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