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

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

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

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

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

.home .eye-catch {
    display: none !important;
}

@media screen and (max-width: 834px) {
  .header-container .tagline {
    text-align: center;
  }
}

.article h3 {
  border: none;
  padding: 0;
}

.article h3::before,
.article h3::after {
  content: none;
}

/* H3 左に画像を配置 */
.article h3 {
  position: relative;
  padding-left: 48px;
}

.article h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background-image: url("https://black-bonobo-hair.com/wp-content/uploads/2026/01/i-h3.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.img-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.img-grid-4col img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .img-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.img-grid-4col img {
  border-radius: 8px;
}


.wp-block-gallery.has-nested-images figure.wp-block-image:last-child {
  flex-grow: 0;
}

.content {
  background-color: #ffffff;
}

.article {
  background-color: #ffffff;
  padding: 2em;
  border-radius: 12px;
}

.article-header {
  padding-top: 0;
}

.entry-title {
  margin-top: 0;
}

@media screen and (max-width: 834px) {

  .article {
    padding-top: 0;
  }

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

  .entry-title {
    margin-top: 0.2em;
  }

}

body {
  background-color: #ffffff;
}

#footer,
#footer * {
  color: #ffffff;
}

.wp-block-gallery figure img {
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .site-logo {
    background: rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 6px;
  }
}

@media screen and (max-width: 768px) {
  .header-catch,
  .tagline,
  .site-description {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .snsicon {
    display: flex;
    justify-content: space-between;
  }

  .snsicon > div {
    width: 33.333%;
  }
}

.column-3 img {
  max-width: 140px;   
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {

  .wp-block-cocoon-blocks-column-3.column-wrap {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 12px; 
  }

  /* 子カラム */
  .wp-block-cocoon-blocks-column-3.column-wrap > div {
    width: auto !important;
    flex: 0 0 auto;
    text-align: center;
  }

  .wp-block-cocoon-blocks-column-3.column-wrap img {
    max-width: 90px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

}
