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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* ヘッダーロゴ（全ページ） */
.header .site-logo-image {
  max-height: 60px;
  width: auto;
  height: auto;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  .header .site-logo-image {
    max-height: 44px;
  }
}

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

/************************************
** ヘッダーの電話・LINEボタン（全ページ）
************************************/
.header-in.sw-has-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.header-in.sw-has-cta .tagline {
  width: 100%;
  order: -1;
}
.header-in.sw-has-cta .logo-header {
  text-align: left;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.sw-header-cta,
.sw-header-cta * {
  box-sizing: border-box;
}
.sw-header-cta {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 100%;
  min-width: 0;
}
.sw-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1.3;
  min-width: 0;
  transition: opacity .2s;
}
.sw-cta-btn svg { flex-shrink: 0; }
.sw-cta-btn:hover { opacity: .85; }
.sw-cta-tel  { background: #e74c3c; }
.sw-cta-line { background: #06c755; }
.sw-cta-text { display: flex; flex-direction: column; min-width: 0; }
.sw-cta-text small,
.sw-cta-text strong { white-space: nowrap; }
.sw-cta-text small  { font-size: 11px; }
.sw-cta-text strong { font-size: 17px; letter-spacing: .03em; }

/* PC（835px以上）：ロゴとボタンを必ず横一列に */
@media screen and (min-width: 835px){
  .header-in.sw-has-cta {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .header-in.sw-has-cta .logo-header {
    flex: 1 1 0% !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  .header-in.sw-has-cta .logo-header img {
    max-width: 100%;
  }
  .header-in.sw-has-cta .sw-header-cta {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
  }
  /* キャッチコピーだけは上の段に置き、ロゴ＋ボタンを2段目で横並びにする */
  .header-in.sw-has-cta .tagline {
    flex: 0 0 100%;
  }
}

/* タブレット・スマホ：ロゴの下に2つ並べる */
@media screen and (max-width: 834px){
  .header-in.sw-has-cta { justify-content: center; padding-left: 10px; padding-right: 10px; }
  .header-in.sw-has-cta .logo-header { text-align: center; width: 100%; }
  .sw-header-cta { width: 100%; gap: 8px; }
  .sw-cta-btn { flex: 1 1 0; justify-content: center; padding: 8px 6px; gap: 6px; }
  .sw-cta-btn svg { width: 18px; height: 18px; }
  .sw-cta-text { align-items: center; }
  .sw-cta-text small  { font-size: 10px; }
  .sw-cta-text strong { font-size: 14px; letter-spacing: 0; }
}

/* 小さいスマホ：補足の小さい文字を隠す */
@media screen and (max-width: 360px){
  .sw-cta-text small { display: none; }
  .sw-cta-text strong { font-size: 13px; }
}

/************************************
** トップページ（LP）のロゴバー
************************************/
.swlp .lp-logo-bar {
  background: #fff;
  border-bottom: 1px solid var(--line, #d8e1d1);
  padding: 14px 28px;
  width: 100%;
  box-sizing: border-box;
}
.swlp .lp-logo-link {
  display: block;
  max-width: 1240px;
  margin: 0 auto;
  line-height: 0;
}
.swlp .lp-logo-img {
  height: 52px;
  width: auto;
  max-width: 100%;
}
@media screen and (max-width: 600px){
  .swlp .lp-logo-bar { padding: 10px 16px; text-align: center; }
  .swlp .lp-logo-img { height: 38px; }
}
