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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* フッターボトム: ロゴとコンテンツの重なり修正 */
/* 元の横並びレイアウト（ロゴ左・コンテンツ右）を維持 */
.footer-bottom {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.footer-bottom-logo {
  position: relative !important;
  float: none !important;
  bottom: auto !important;
  flex-shrink: 0;
}
.footer-bottom-content {
  float: none !important;
  text-align: right;
  flex: 1;
  min-width: 0;
}

/* タブレット以下では上下配置に切り替え */
@media screen and (max-width: 834px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-bottom-logo {
    margin-bottom: 12px;
  }
  .footer-bottom-content {
    text-align: center;
  }
}

/************************************
** フロントランディングページ（front-landing.php）
************************************/
.lp-landing {
  --lp-brand-color: #a83c50;
  --lp-brand-color-dark: #8a3142;
  --lp-brand-color-soft: rgba(168, 60, 80, 0.08);
  overflow: hidden;
}

.lp-landing section p {
  margin: 0 0 1.4em;
  line-height: 1.9;
}

.lp-landing section p:last-child {
  margin-bottom: 0;
}

/* ヒーローセクション */
.lp-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-top: -36px;
  margin-bottom: 60px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--lp-brand-color-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
}

.lp-hero-in {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  max-width: 900px;
}

.lp-hero-title {
  color: #fff;
  font-size: 2.4em;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.lp-hero-subtitle {
  color: #fff;
  font-size: 1.1em;
  line-height: 1.8;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* 導入セクション */
.lp-intro {
  margin-bottom: 60px;
}

.lp-intro-in {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02em;
  color: var(--cocoon-text-color, #333);
}

/* 「超える」セクション */
.lp-overcoming {
  background-color: var(--lp-brand-color-soft);
  border-radius: 8px;
  padding: 50px 30px;
  margin-bottom: 60px;
}

.lp-overcoming-heading {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 0 36px;
  color: var(--lp-brand-color);
}

.lp-overcoming-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.lp-overcoming-card {
  position: relative;
  flex: 1 1 360px;
  max-width: 480px;
  background-color: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-overcoming-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lp-overcoming-card-number {
  display: inline-block;
  font-size: 0.9em;
  font-weight: bold;
  color: #fff;
  background-color: var(--lp-brand-color);
  border-radius: 999px;
  width: 2.4em;
  height: 2.4em;
  line-height: 2.4em;
  text-align: center;
  margin-bottom: 16px;
}

.lp-overcoming-card-title {
  font-size: 1.25em;
  font-weight: bold;
  margin: 0 0 8px;
  color: var(--lp-brand-color-dark);
}

.lp-overcoming-card-lead {
  font-weight: bold;
  color: var(--cocoon-text-color, #333);
  margin-bottom: 14px !important;
}

.lp-overcoming-card-text {
  font-size: 0.96em;
}

/* 結びセクション */
.lp-closing {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-bottom: 40px;
  background-color: var(--lp-brand-color);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
}

.lp-closing-in {
  max-width: 720px;
  margin: 0 auto;
}

.lp-closing-in p {
  color: #fff;
}

.lp-closing-lead {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.7;
  margin-bottom: 24px !important;
}

.lp-closing-cta-wrap {
  margin-top: 32px;
}

.lp-closing-cta {
  display: inline-block;
  background-color: #fff;
  color: var(--lp-brand-color);
  font-weight: bold;
  padding: 14px 40px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lp-closing-cta:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.lp-br-sp {
  display: none;
}

/* 1文字段落ち対策（モダンブラウザ向けプログレッシブエンハンスメント） */
.lp-landing .lp-hero-title,
.lp-landing .lp-overcoming-heading,
.lp-landing .lp-overcoming-card-lead,
.lp-landing .lp-closing-lead {
  text-wrap: balance;
  word-break: auto-phrase;
}
.lp-landing section p {
  text-wrap: pretty;
  word-break: auto-phrase;
}
.lp-nowrap {
  white-space: nowrap;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .lp-hero {
    min-height: 420px;
  }
  .lp-overcoming-cards {
    flex-wrap: wrap;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .lp-hero {
    min-height: 360px;
    margin-bottom: 40px;
  }
  .lp-hero-title {
    font-size: 1.7em;
  }
  .lp-hero-subtitle {
    font-size: 1em;
  }
  .lp-br-pc {
    display: none;
  }
  .lp-br-sp {
    display: inline;
  }
  .lp-intro,
  .lp-overcoming {
    margin-bottom: 40px;
  }
  .lp-overcoming {
    padding: 36px 20px;
  }
  .lp-overcoming-card {
    flex: 1 1 100%;
  }
  .lp-closing {
    padding: 44px 20px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .lp-hero {
    min-height: 300px;
  }
  .lp-hero-title {
    font-size: 1.4em;
  }
  .lp-overcoming-card {
    padding: 24px 20px;
  }
  .lp-closing-lead {
    font-size: 1.15em;
  }
  .lp-closing-cta {
    padding: 12px 32px;
    width: 100%;
    box-sizing: border-box;
  }
}
