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

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

/************************************
** ヒーローセクション（トップページ）
************************************/
.tldo-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(127, 216, 207, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, #072a2e 0%, #0c4a50 55%, #0e5a5f 100%);
  color: #f2faf9;
}

/* particles.js が生成するcanvasの配置 */
.tldo-hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* 背景装飾とせず、テキスト選択等を妨げない */
}

.tldo-hero-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.tldo-hero-eyebrow {
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(242, 250, 249, 0.65);
}

.tldo-hero-title {
  margin: 0 0 22px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.tldo-hero-text {
  margin: 0 0 38px;
  max-width: 34em;
  font-size: 1rem;
  line-height: 2;
  color: rgba(242, 250, 249, 0.85);
}

.tldo-hero-cta {
  margin: 0;
}

.tldo-cta {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 999px;
  background: #e8fbf7;
  color: #08383d;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tldo-cta:hover,
.tldo-cta:focus {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* ヒーロー用レスポンシブ */
@media screen and (max-width: 834px) {
  .tldo-hero {
    padding: 80px 0 90px;
  }
  .tldo-hero-title {
    font-size: 1.8rem;
  }
  .tldo-hero-br {
    display: none; /* 画面が狭い場合は強制改行を解除 */
  }
}

@media screen and (max-width: 480px) {
  .tldo-hero {
    padding: 64px 0 72px;
  }
  .tldo-hero-title {
    font-size: 1.5rem;
  }
  .tldo-hero-text {
    font-size: 0.9rem;
  }
  .tldo-cta {
    width: 100%;
    text-align: center;
  }
}

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

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

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