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

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

.vl-hero {
  background: linear-gradient(135deg, #fffdf8 0%, #f6efe5 100%);
  padding: 72px 24px;
  margin: 0 auto 72px;
  border-radius: 32px;
  overflow: hidden;
}

.vl-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(360px, 500px);
  gap: 56px;
  align-items: center;
}

.vl-hero__label {
  display: inline-block;
  margin: 0 0 18px;
  padding: 0.42em 1.15em;
  border: 1px solid #e6d9c8;
  border-radius: 999px;
  background: #ffffff;
  color: #8a5a2b;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.vl-hero__name {
  margin: 0 0 14px;
  color: #6f7f55;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.vl-hero__title {
  margin: 0 0 26px;
  color: #2f2a24;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Yu Gothic", "Hiragino Sans", serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.vl-hero__title span {
  display: block;
  white-space: nowrap;
}

.vl-hero__lead {
  margin: 0 0 34px;
  color: #4a4038;
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 1.02rem;
  line-height: 2;
}

.vl-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 0.9em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

.vl-button--primary {
  background: #b88746;
  color: #ffffff;
}

.vl-button--primary:hover {
  background: #8a5a2b;
  color: #ffffff;
}

.vl-button--secondary {
  background: #ffffff;
  color: #8a5a2b;
  border: 1px solid #d8c7b2;
}

.vl-button--secondary:hover {
  background: #f5efe6;
  color: #8a5a2b;
}

.vl-hero__visual {
  position: relative;
  min-height: 520px;
}

.vl-hero__photo {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 28px;
  border: 6px solid #ffffff;
  box-shadow: 0 18px 42px rgba(80, 60, 35, 0.16);
  background: #ffffff;
}

.vl-hero__photo--main {
  width: 72%;
  height: 430px;
  top: 38px;
  left: 8%;
  z-index: 3;
}

.vl-hero__photo--sub1 {
  width: 34%;
  height: 180px;
  top: 0;
  right: 0;
  z-index: 4;
}

.vl-hero__photo--sub2 {
  width: 39%;
  height: 190px;
  bottom: 10px;
  left: 0;
  z-index: 4;
}

.vl-hero__photo--sub3 {
  width: 35%;
  height: 170px;
  bottom: 44px;
  right: 4%;
  z-index: 4;
}

@media screen and (max-width: 900px) {
  .vl-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .vl-hero__visual {
    order: 1;
    min-height: 390px;
  }

  .vl-hero__text {
    order: 2;
  }

  .vl-hero__title {
    font-size: clamp(1.75rem, 6.2vw, 2.45rem);
  }

  .vl-hero__title span {
    white-space: normal;
  }
}

@media screen and (max-width: 480px) {
  .vl-hero {
    padding: 36px 16px;
    margin-left: -8px;
    margin-right: -8px;
    border-radius: 20px;
  }

  .vl-hero__visual {
    min-height: 320px;
  }

  .vl-hero__photo {
    border-radius: 20px;
    border-width: 4px;
  }

  .vl-hero__photo--main {
    height: 260px;
  }

  .vl-hero__photo--sub1 {
    height: 120px;
  }

  .vl-hero__photo--sub2 {
    height: 125px;
  }

  .vl-hero__photo--sub3 {
    height: 120px;
  }

  .vl-hero__buttons {
    flex-direction: column;
  }

  .vl-button {
    width: 100%;
  }
}

/* トップページではグローバルナビ・投稿日・更新日・投稿者情報を非表示 */
.home .navi,
.page .date-tags,
.page .post-date,
.page .post-update,
.page .author-info {
  display: none;
}

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

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

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