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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* トップページ：動画ヒーローの高さ */
.cb-hero--video {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

/* トップページ：動画ヒーロー左側のロゴ・タイトル位置 */
.cb-hero--video .cb-hero__inner {
  align-items: flex-start;
  box-sizing: border-box;
  min-height: 0 !important;
  padding-top: clamp(8px, 1.2vw, 14px);
  padding-bottom: clamp(10px, 1.4vw, 18px);
}

.cb-hero--video .cb-hero__image {
  display: none !important;
}

.cb-hero__video::-webkit-media-controls,
.cb-hero__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.cb-hero--video .cb-hero__text > img:first-child {
  display: block;
  margin-top: 0 !important;
  margin-bottom: 8px;
}

.cb-hero--video .cb-hero__label {
  margin-top: 0;
}

/* トップページ：プロフィール内の説明枠と所在地を横並びにする */
.cb-profile .cb-profile__inner {
  grid-template-columns: 1fr;
  align-items: start;
}

.cb-profile__info-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.cb-profile__info-row .cb-profile__box {
  box-sizing: border-box;
  height: 100%;
  margin: 0;
}

.cb-profile__location {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  background: #fffaf7;
  border: 1px solid var(--cb-line, #eadfd2);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(92, 70, 54, .055);
}

.cb-profile__location-label {
  color: var(--cb-green, #7d9676);
  font-size: 13px;
  letter-spacing: .16em;
  margin: 0 0 8px;
}

.cb-profile__location h3 {
  color: var(--cb-deep, #5c4636);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: .06em;
  margin: 0 0 12px;
}

.cb-profile__location-address {
  color: var(--cb-muted, #75685f);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 18px;
}

.cb-profile__location-map {
  position: relative;
  flex: 1;
  min-height: 220px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--cb-line, #eadfd2);
  background: #fff;
}

.cb-profile__location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cb-profile__location-link {
  align-self: flex-start;
  color: var(--cb-rose, #c98283);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
  text-decoration: none;
}

.cb-profile__location-link:hover {
  opacity: .75;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*834px以下*/
@media screen and (max-width: 834px){
  .cb-hero--video .cb-hero__inner {
    padding-top: 8px;
    padding-bottom: 14px;
  }

  .cb-profile .cb-profile__inner,
  .cb-profile__info-row {
    grid-template-columns: 1fr;
  }

  .cb-profile__info-row {
    gap: 20px;
    margin-top: 22px;
  }

  .cb-profile__location {
    min-height: 320px;
    padding: 22px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .cb-hero--video .cb-hero__inner {
    padding-top: 8px;
    padding-bottom: 12px;
  }
}
