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

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

/* ========================================
   蓄財サボテン トップページ カスタムスタイル
   (chikuzaisaboten-warm)
   ======================================== */

#custom-top-page :root,
.custom-top-page {
  --white: #fdfcf8;
  --cream: #f7f4ed;
  --cream-dark: #ede8dc;
  --green-soft: #7a9e7e;
  --green-muted: #5a7d5e;
  --green-pale: #e8f0e9;
  --green-light: #c5dbc7;
  --sage: #a8c5aa;
  --terracotta: #c4714a;
  --terracotta-light: #e8956e;
  --warm-brown: #8b6f5e;
  --text-dark: #2c2c2c;
  --text-mid: #5a5550;
  --text-light: #9a9390;
  --border: #e0dbd0;
  --shadow: rgba(90,80,70,.08);
}

/* トップページ全体のリセット */
.custom-top-page {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fdfcf8;
  color: #2c2c2c;
  line-height: 1.8;
  overflow-x: hidden;
}

/* Cocoonのデフォルトスタイルを上書き */
.custom-top-page .header,
.custom-top-page #header,
.custom-top-page .footer,
.custom-top-page #footer,
.custom-top-page .sidebar,
.custom-top-page #sidebar {
  display: none !important;
}

/* カスタムヘッダー */
.ctp-header {
  background: #fdfcf8;
  border-bottom: 2px solid #c5dbc7;
  padding: 0 5%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(90,80,70,.08);
}
.ctp-logo {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: #5a7d5e;
  text-decoration: none;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ctp-nav { display: flex; gap: 1.5rem; }
.ctp-nav a {
  color: #5a5550;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.ctp-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: #7a9e7e;
  border-radius: 2px;
  transition: width .3s;
}
.ctp-nav a:hover::after { width: 100%; }

/* HERO */
.ctp-hero {
  background: #f7f4ed;
  padding: 60px 5% 70px;
  position: relative;
  overflow: hidden;
}
.ctp-hero::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border: 3px solid #c5dbc7;
  border-radius: 50%;
  opacity: .4;
}
.ctp-hero::after {
  content: '';
  position: absolute;
  right: 20px; top: 20px;
  width: 200px; height: 200px;
  border: 2px dashed #a8c5aa;
  border-radius: 50%;
  opacity: .3;
}
.ctp-hero-inner {
  max-width: 680px;
  position: relative;
  z-index: 1;
  animation: ctpFadeUp .7s ease both;
}
.ctp-hero-handwritten {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: #7a9e7e;
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ctp-hero-handwritten::before {
  content: '';
  display: inline-block;
  width: 30px; height: 2px;
  background: #7a9e7e;
  border-radius: 2px;
}
.ctp-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #2c2c2c;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.ctp-hero h1 em {
  font-style: normal;
  color: #5a7d5e;
  position: relative;
}
.ctp-hero h1 em::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 3px;
  background: #c5dbc7;
  border-radius: 2px;
}
.ctp-hero-sub {
  color: #5a5550;
  font-size: .95rem;
  margin-bottom: 2rem;
  line-height: 2;
}
.ctp-hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.ctp-stat {
  background: #fdfcf8;
  border: 2px solid #c5dbc7;
  border-radius: 16px;
  padding: .8rem 1.2rem;
  text-align: center;
  min-width: 100px;
  box-shadow: 3px 3px 0 #c5dbc7;
}
.ctp-stat-num {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.7rem;
  color: #5a7d5e;
  line-height: 1;
  font-weight: 700;
}
.ctp-stat-label {
  font-size: .7rem;
  color: #9a9390;
  margin-top: .2rem;
}
.ctp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #c4714a;
  color: #fff;
  text-decoration: none;
  padding: .9rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 3px 3px 0 rgba(196,113,74,.3);
  transition: transform .2s, box-shadow .2s;
}
.ctp-hero-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(196,113,74,.3);
  color: #fff;
}

/* SECTION共通 */
.ctp-section-label {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: #7a9e7e;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ctp-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #c5dbc7;
  max-width: 60px;
}
.ctp-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: #2c2c2c;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* PAIN */
.ctp-pain {
  padding: 70px 5%;
  background: #fdfcf8;
}
.ctp-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 900px;
}
.ctp-pain-card {
  background: #f7f4ed;
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  border: 1px solid #e0dbd0;
  transition: transform .2s, box-shadow .2s;
}
.ctp-pain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(90,80,70,.08);
}
.ctp-pain-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.ctp-pain-text { font-size: .88rem; color: #5a5550; line-height: 1.7; }
.ctp-pain-text strong {
  display: block;
  color: #2c2c2c;
  font-size: .92rem;
  margin-bottom: .2rem;
}

/* PROFILE */
.ctp-profile {
  background: #f7f4ed;
  padding: 70px 5%;
}
.ctp-profile-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
}
.ctp-profile-visual { position: relative; }
.ctp-profile-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid #c5dbc7;
  box-shadow: 6px 6px 0 #c5dbc7;
  aspect-ratio: 1;
  background: #e8f0e9;
}
.ctp-profile-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.ctp-profile-sticker {
  position: absolute;
  bottom: -12px; right: -12px;
  background: #fdfcf8;
  border: 2px solid #c5dbc7;
  border-radius: 14px;
  padding: .7rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  color: #5a7d5e;
  box-shadow: 3px 3px 0 #c5dbc7;
  line-height: 1.5;
  text-align: center;
}
.ctp-profile-sticker span {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: #c4714a;
}
.ctp-profile-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  color: #2c2c2c;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.ctp-profile-content p {
  font-size: .9rem;
  color: #5a5550;
  margin-bottom: 1rem;
  line-height: 1.9;
}
.ctp-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.ctp-tag {
  background: #e8f0e9;
  color: #5a7d5e;
  border: 1px solid #c5dbc7;
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 500;
}
.ctp-profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.ctp-profile-table tr { border-bottom: 1px solid #e0dbd0; }
.ctp-profile-table tr:last-child { border-bottom: none; }
.ctp-profile-table td { padding: .55rem .5rem; }
.ctp-profile-table td:first-child {
  color: #9a9390;
  font-size: .76rem;
  white-space: nowrap;
  width: 35%;
}
.ctp-profile-table td:last-child { color: #2c2c2c; font-weight: 500; }

/* PILLARS */
.ctp-pillars {
  padding: 70px 5%;
  background: #fdfcf8;
}
.ctp-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin-top: 2rem;
}
.ctp-pillar-card {
  background: #f7f4ed;
  border: 2px solid #e0dbd0;
  border-radius: 20px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: block;
}
.ctp-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #7a9e7e;
  box-shadow: 0 8px 24px rgba(90,80,70,.08);
}
.ctp-pillar-emoji { font-size: 2rem; margin-bottom: .8rem; display: block; }
.ctp-pillar-title {
  font-family: 'Noto Serif JP', serif;
  font-size: .95rem;
  color: #2c2c2c;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.5;
}
.ctp-pillar-desc { font-size: .78rem; color: #9a9390; line-height: 1.7; }

/* AFFILIATE */
.ctp-affiliate {
  background: #f7f4ed;
  padding: 70px 5%;
}
.ctp-aff-note {
  font-size: .8rem;
  color: #9a9390;
  margin-top: .3rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ctp-aff-note::before { content: '✏️'; }
.ctp-aff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 900px;
}
.ctp-aff-card {
  background: #fdfcf8;
  border: 2px solid #e0dbd0;
  border-radius: 18px;
  padding: 1.4rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ctp-aff-card:hover {
  border-color: #7a9e7e;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(90,80,70,.08);
}
.ctp-aff-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #e8f0e9;
  color: #5a7d5e;
  border-radius: 50px;
  padding: .25rem .8rem;
  font-size: .72rem;
  font-weight: 700;
  width: fit-content;
}
.ctp-aff-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #2c2c2c;
  font-weight: 700;
  line-height: 1.5;
}
.ctp-aff-desc { font-size: .83rem; color: #5a5550; line-height: 1.7; }
.ctp-aff-handwritten {
  font-family: 'Caveat', cursive;
  font-size: .95rem;
  color: #c4714a;
  font-weight: 600;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.ctp-aff-handwritten::after { content: '→'; }

/* POSTS */
.ctp-posts {
  padding: 70px 5%;
  background: #fdfcf8;
}
.ctp-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin-top: 2rem;
}
.ctp-post-card {
  background: #fdfcf8;
  border: 2px solid #e0dbd0;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ctp-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(90,80,70,.08);
  border-color: #7a9e7e;
}
.ctp-post-thumb {
  height: 120px;
  background: #f7f4ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid #e0dbd0;
}
.ctp-post-body { padding: 1.1rem; }
.ctp-post-cat {
  font-family: 'Caveat', cursive;
  font-size: .9rem;
  color: #7a9e7e;
  margin-bottom: .4rem;
  font-weight: 600;
}
.ctp-post-title {
  font-family: 'Noto Serif JP', serif;
  font-size: .9rem;
  color: #2c2c2c;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: .5rem;
}
.ctp-post-excerpt { font-size: .8rem; color: #9a9390; line-height: 1.7; }
.ctp-posts-more {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  color: #5a7d5e;
  text-decoration: none;
  border-bottom: 2px solid #c5dbc7;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.ctp-posts-more:hover { color: #c4714a; border-color: #e8956e; }

/* CTA */
.ctp-cta {
  background: #e8f0e9;
  padding: 70px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ctp-cta::before {
  content: '🌵';
  position: absolute;
  font-size: 120px;
  opacity: .06;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}
.ctp-cta h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: #2c2c2c;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.ctp-cta p {
  color: #5a5550;
  font-size: .9rem;
  margin-bottom: 2rem;
  line-height: 2;
}
.ctp-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ctp-btn-primary {
  background: #c4714a;
  color: #fff;
  padding: .9rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: .9rem;
  box-shadow: 3px 3px 0 rgba(196,113,74,.25);
  transition: transform .2s, box-shadow .2s;
}
.ctp-btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(196,113,74,.25);
  color: #fff;
}
.ctp-btn-secondary {
  background: #fdfcf8;
  color: #5a7d5e;
  border: 2px solid #c5dbc7;
  padding: .9rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: .9rem;
  transition: background .2s, transform .2s;
}
.ctp-btn-secondary:hover {
  background: #e8f0e9;
  transform: translate(-2px, -2px);
  color: #5a7d5e;
}

/* FOOTER */
.ctp-footer {
  background: #ede8dc;
  padding: 2.5rem 5%;
  text-align: center;
  font-size: .78rem;
  color: #9a9390;
  line-height: 2.2;
}
.ctp-footer-logo {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  color: #5a7d5e;
  margin-bottom: .5rem;
}
.ctp-footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ctp-footer-links a { color: #9a9390; text-decoration: none; }
.ctp-footer-links a:hover { color: #5a7d5e; }

/* ANIMATIONS */
@keyframes ctpFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.ctp-reveal {
  opacity: 1;
  transform: translateY(0);
}
.ctp-reveal.visible { opacity: 1; transform: translateY(0); }

/* Google Fonts読み込み（Caveat） */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&family=Caveat:wght@400;600;700&display=swap');

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

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

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

/* トップページ レスポンシブ */
@media (max-width: 680px) {
  .ctp-profile-inner { grid-template-columns: 1fr; gap: 2rem; }
  .ctp-profile-frame { max-width: 220px; margin: 0 auto; }
  .ctp-nav { gap: .8rem; }
  .ctp-nav a { font-size: .75rem; }
  .ctp-hero-stats { gap: .7rem; }
  .ctp-stat { min-width: 85px; }
}
