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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.maxinext-blog-appeal {
  margin: 48px auto;
  padding: 36px 28px;
  max-width: 980px;
  border: 2px solid #e6e0d4;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffdf7 0%, #fff7e8 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.maxinext-blog-appeal__label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ead9bd;
  font-size: 0.95em;
  font-weight: 700;
  color: #9a5b00;
}

.maxinext-blog-appeal__title {
  margin-bottom: 16px;
  font-size: 2.05em;
  line-height: 1.45;
  font-weight: 800;
  color: #222;
}

.maxinext-blog-appeal__subtitle {
  margin: 0 auto 20px;
  max-width: 760px;
  font-size: 1.12em;
  line-height: 1.9;
  font-weight: 700;
  color: #444;
}

.maxinext-blog-appeal__text {
  margin: 0 auto 30px;
  max-width: 760px;
  font-size: 0.98em;
  line-height: 1.9;
  color: #555;
  text-align: left;
}

.maxinext-blog-card {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  max-width: 860px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #eadfcd;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
}

.maxinext-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.13);
  text-decoration: none;
  color: inherit;
}

.maxinext-blog-card__image {
  flex: 0 0 300px;
  overflow: hidden;
  border-radius: 16px;
  background: #f5f5f5;
}

.maxinext-blog-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.maxinext-blog-card__body {
  flex: 1;
  min-width: 0;
}

.maxinext-blog-card__label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff4dc;
  color: #9a5b00;
  font-size: 0.85em;
  font-weight: 700;
}

.maxinext-blog-card__title {
  margin-bottom: 10px;
  font-size: 1.35em;
  line-height: 1.5;
  font-weight: 800;
  color: #222;
}

.maxinext-blog-card__description {
  margin-bottom: 16px;
  font-size: 0.96em;
  line-height: 1.8;
  color: #555;
}

.maxinext-blog-card__more {
  display: inline-block;
  font-weight: 700;
  color: #0b63b6;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .maxinext-blog-appeal {
    margin: 32px auto;
    padding: 28px 18px;
    border-radius: 18px;
  }

  .maxinext-blog-appeal__title {
    font-size: 1.55em;
  }

  .maxinext-blog-appeal__subtitle {
    font-size: 1em;
    line-height: 1.8;
  }

  .maxinext-blog-appeal__text {
    font-size: 0.95em;
  }

  .maxinext-blog-card {
    display: block;
    padding: 14px;
  }

  .maxinext-blog-card__image {
    width: 100%;
    margin-bottom: 16px;
  }

  .maxinext-blog-card__title {
    font-size: 1.18em;
  }

  .sp-only {
    display: inline;
  }
}


/* 固定ページだけ、フッターモバイルボタンの sidebar を非表示 */
body.page .sidebar-menu-button,
body.page #sidebar-menu-button {
  display: none !important;
}

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

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

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