@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（カスタムCSS組み込み）
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* ============================================
   sumaho-norikaeru.com カスタムスタイル
   Rakuten Mobile ピンクベース / クリーンデザイン
   ============================================ */

/* ---- カラー変数 ---- */
:root {
  --rm-pink:        #E4007F;
  --rm-pink-dark:   #b8006a;
  --rm-pink-mid:    #f0509a;
  --rm-pink-light:  #fff0f7;
  --rm-pink-border: #f7c0dc;
  --text-main:      #1a1a1a;
  --text-sub:       #666;
  --bg-white:       #ffffff;
  --bg-gray:        #f7f8fa;
  --border-gray:    #e5e5e5;
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;
}

/* ---- 全体フォント・行間 ---- */
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  color: var(--text-main);
  line-height: 1.9;
  font-size: 16px;
  background: var(--bg-white);
}

/* ---- リンク ---- */
a { color: var(--rm-pink); transition: color 0.2s; }
a:hover { color: var(--rm-pink-dark); text-decoration: underline; }

/* ---- H2見出し（白文字×ピンク背景） ---- */
.entry-content h2,
.article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  padding: 12px 18px;
  margin: 2.8rem 0 1.2rem;
  background: var(--rm-pink);
  color: #ffffff;
  border-left: none;
  border-radius: var(--radius-sm);
}

/* ---- H3見出し ---- */
.entry-content h3,
.article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 6px 0 6px 14px;
  margin: 2rem 0 0.9rem;
  border-left: 4px solid var(--rm-pink);
  border-bottom: none;
  color: var(--text-main);
  background: none;
}
.entry-content h3::before,
.article h3::before { display: none; }

/* ---- H4見出し ---- */
.entry-content h4,
.article h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rm-pink-dark);
  margin: 1.5rem 0 0.5rem;
  padding-left: 10px;
  border-left: 3px solid var(--rm-pink-mid);
}

/* ---- テーブル ---- */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.94rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(228,0,127,0.08);
}
.entry-content th {
  background: var(--rm-pink);
  color: #fff;
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
}
.entry-content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--rm-pink-border);
  background: var(--bg-white);
}
.entry-content tr:nth-child(even) td {
  background: var(--rm-pink-light);
}

/* ---- 「この記事でわかること」ボックス ---- */
.article-summary-box {
  background: var(--rm-pink-light);
  border: 1.5px solid var(--rm-pink);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 1.5rem 0 2.2rem;
}
.article-summary-box p, .article-summary-box li {
  margin: 0.35rem 0;
  font-size: 0.94rem;
}

/* ---- CTAボタン ---- */
.wp-block-button .wp-block-button__link {
  background: linear-gradient(135deg, var(--rm-pink) 0%, var(--rm-pink-dark) 100%) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 15px 32px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(228,0,127,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.02em;
}
.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(228,0,127,0.45) !important;
}

/* ---- サイトタイトル ---- */
.wp-block-site-title a,
.wp-block-site-title,
.site-name-text-link,
.site-name-text {
  color: var(--rm-pink) !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* ---- ヘッダー ---- */
header,
.header-container {
  border-bottom: 3px solid var(--rm-pink);
  background: #fff;
}

/* ---- ナビゲーション ---- */
.wp-block-navigation a,
.navi-in a,
.navi-footer-in a {
  color: var(--text-main) !important;
}
.wp-block-navigation a:hover,
.navi-in a:hover,
.navi-footer-in a:hover {
  color: var(--rm-pink) !important;
}

/* ---- strong強調 ---- */
.entry-content strong {
  color: var(--rm-pink-dark);
  font-weight: 700;
}

/* ---- リスト ---- */
.entry-content ul li::marker { color: var(--rm-pink); }
.entry-content ol li::marker { color: var(--rm-pink); font-weight: 700; }

/* ---- HR ---- */
.entry-content hr {
  border: none;
  border-top: 2px solid var(--rm-pink-border);
  margin: 2.5rem 0;
}

/* ---- コードブロック ---- */
.entry-content code {
  background: var(--rm-pink-light);
  color: var(--rm-pink-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}

/* ============================================
   フローティングCTAボタン
   ============================================ */
#floating-cta {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, var(--rm-pink) 0%, var(--rm-pink-dark) 100%);
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  max-width: 175px;
  box-shadow: 0 4px 18px rgba(228,0,127,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: float-glow 3s ease-in-out infinite;
  display: none;
}
#floating-cta:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 28px rgba(228,0,127,0.55) !important;
}
#floating-cta .sub {
  display: block;
  font-size: 0.70rem;
  font-weight: 400;
  opacity: 0.90;
  margin-top: 3px;
}

@keyframes float-glow {
  0%, 100% { box-shadow: 0 4px 18px rgba(228,0,127,0.45); }
  50%       { box-shadow: 0 6px 28px rgba(228,0,127,0.65); }
}

@media (max-width: 600px) {
  #floating-cta {
    bottom: 16px;
    right: 12px;
    padding: 12px 15px;
    font-size: 0.76rem;
    max-width: 155px;
  }
}

/* ============================================
   フッター
   ============================================ */
footer,
.footer-container {
  background: #fafafa !important;
  border-top: 2px solid var(--rm-pink-border);
  color: var(--text-sub);
}

/* ============================================
   LP専用スタイル (.lp-page)
   ============================================ */

/* リセット */
.lp-page { background: #fff; }
.lp-page * { box-sizing: border-box; }
.lp-inner { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.sp-only { display: none; }
@media (max-width: 600px) { .sp-only { display: block; } }

/* ---- Hero ---- */
.lp-hero {
  background: linear-gradient(160deg, #fff0f7 0%, #ffffff 60%);
  border-bottom: 3px solid var(--rm-pink);
  padding: 52px 20px 40px;
  text-align: center;
}
.lp-hero-inner { max-width: 640px; margin: 0 auto; }

/* ---- Hero 2カラム（キャラ画像あり） ---- */
.lp-hero-split {
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}
.lp-hero-img-col {
  flex: 0 0 260px;
  text-align: center;
}
.lp-hero-chara {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 8px 24px rgba(228,0,127,0.18));
}
.lp-hero-text-col { flex: 1; }

.lp-hero-label {
  display: inline-block;
  background: var(--rm-pink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.lp-hero-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 16px;
}
.lp-hero-pt {
  color: var(--rm-pink);
  border-bottom: 3px solid var(--rm-pink);
}
.lp-hero-sub {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 28px;
}
.lp-hero-sub strong { color: var(--rm-pink-dark); }

/* ---- CTAボタン共通 ---- */
.lp-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--rm-pink) 0%, var(--rm-pink-dark) 100%);
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 20px 48px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(228,0,127,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.04em;
}
.lp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 24px rgba(228,0,127,0.5);
}

/* ---- 注釈 ---- */
.lp-note {
  font-size: 0.72rem;
  color: #888;
  margin-top: 12px;
  line-height: 1.7;
}

/* ---- セクション共通 ---- */
.lp-section { padding: 56px 0; }
.lp-section:nth-child(even) { background: var(--rm-pink-light); }
.lp-section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 10px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: #1a1a1a !important;
}
.lp-section-title span { color: var(--rm-pink); }
.lp-section-lead {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  margin: 0 0 28px;
}

/* ---- Merits Grid ---- */
.lp-merits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.lp-merit-card {
  background: #fff;
  border: 1.5px solid var(--rm-pink-border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}
.lp-merit-icon { font-size: 2rem; margin-bottom: 10px; }
.lp-merit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rm-pink-dark);
  margin: 0 0 8px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.lp-merit-card p { font-size: 0.88rem; color: #444; line-height: 1.7; margin: 0; }
.lp-merit-card p strong { color: var(--rm-pink-dark); }

/* ---- Compare Table ---- */
.lp-compare-table-wrap { overflow-x: auto; margin-top: 24px; }
.lp-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(228,0,127,0.1);
}
.lp-compare-table thead tr { background: #f0f0f0; }
.lp-compare-table thead th {
  padding: 12px 16px;
  font-weight: 700;
  text-align: center;
  background: #f0f0f0;
  color: #1a1a1a;
}
.lp-compare-table thead .col-employee {
  background: var(--rm-pink);
  color: #fff;
}
.lp-compare-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.lp-compare-table td:first-child { text-align: left; font-weight: 600; background: #fafafa; }
.lp-compare-table .col-employee { background: var(--rm-pink-light); color: var(--rm-pink-dark); }
.lp-compare-table .col-employee strong { color: var(--rm-pink); font-size: 1.05em; }
.lp-compare-table .col-normal { color: #888; }

/* ---- Steps ---- */
.lp-steps-list { margin-top: 28px; }
.lp-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--rm-pink-border);
  border-radius: 12px;
  padding: 20px;
}
.lp-step-goal { background: var(--rm-pink-light); border-color: var(--rm-pink); }
.lp-step-num {
  flex-shrink: 0;
  background: var(--rm-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.lp-step-num span { font-size: 1.4rem; font-weight: 900; }
.lp-step-goal .lp-step-num { font-size: 1.8rem; background: none; color: var(--rm-pink); }
.lp-step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.lp-step-body p { font-size: 0.88rem; color: #555; line-height: 1.7; margin: 0; }
.lp-step-body p strong { color: var(--rm-pink-dark); }
.lp-step-arrow { text-align: center; color: var(--rm-pink); font-size: 1.3rem; margin: 8px 0; }

/* ---- Schedule ---- */
.lp-schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.lp-schedule-card {
  background: #fff;
  border: 2px solid var(--rm-pink-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.lp-schedule-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rm-pink);
  margin-bottom: 6px;
}
.lp-schedule-total { font-size: 1.5rem; font-weight: 900; color: #1a1a1a; margin-bottom: 14px; }
.lp-schedule-total strong { color: var(--rm-pink); }
.lp-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid var(--rm-pink-border);
  font-size: 0.9rem;
}
.lp-schedule-row span { color: #666; }
.lp-schedule-row strong { color: var(--rm-pink-dark); font-size: 1rem; }

/* ---- Plans ---- */
.lp-plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.lp-plan-card {
  background: #fff;
  border: 1.5px solid var(--rm-pink-border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.lp-plan-icon { font-size: 1.8rem; margin-bottom: 8px; }
.lp-plan-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rm-pink-dark);
  margin: 0 0 6px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.lp-plan-price { font-size: 1rem; font-weight: 700; color: #1a1a1a; margin: 0 0 8px; }
.lp-plan-price strong { color: var(--rm-pink); font-size: 1.15em; }
.lp-plan-card p { font-size: 0.82rem; color: #555; line-height: 1.65; margin: 0; }

/* ---- FAQ ---- */
.lp-faq-list { margin-top: 24px; }
.lp-faq-item {
  border: 1px solid var(--rm-pink-border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.93rem;
  color: #1a1a1a;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-faq-item summary::before {
  content: 'Q';
  flex-shrink: 0;
  background: var(--rm-pink);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}
.lp-faq-item[open] summary { background: var(--rm-pink-light); }
.lp-faq-answer { padding: 14px 20px 16px 54px; font-size: 0.9rem; color: #444; line-height: 1.8; background: #fafafa; }
.lp-faq-answer p { margin: 0; }
.lp-faq-answer p strong { color: var(--rm-pink-dark); }

/* ---- Final CTA ---- */
.lp-final-cta { background: var(--rm-pink); color: #fff; text-align: center; }
.lp-final-cta-label {
  display: inline-block;
  background: #fff;
  color: var(--rm-pink);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.lp-final-cta-title {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.45;
  margin: 0 0 12px;
  color: #fff !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.lp-final-cta-title span { border-bottom: 2px solid rgba(255,255,255,0.7); }
.lp-final-cta-sub { font-size: 0.93rem; opacity: 0.9; margin-bottom: 28px; line-height: 1.8; }
.lp-final-cta .lp-cta-btn {
  background: #fff;
  color: var(--rm-pink) !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.lp-final-cta .lp-cta-btn:hover { box-shadow: 0 7px 24px rgba(0,0,0,0.2); }
.lp-final-cta .lp-note { color: rgba(255,255,255,0.75); margin-top: 16px; }
.lp-profile { margin-top: 24px; font-size: 0.82rem; opacity: 0.85; line-height: 1.8; }
.lp-profile small { opacity: 0.75; }

/* ---- LP フッター ---- */
.lp-footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 24px 16px 32px;
  font-size: 0.78rem;
  line-height: 1.9;
}
.lp-footer-copy { color: #ccc; font-weight: 600; margin: 0 0 6px; }
.lp-footer-links a {
  color: #aaa;
  text-decoration: underline;
  margin: 0 8px;
}
.lp-footer-links a:hover { color: #fff; }
.lp-footer-note { margin: 8px 0 0; font-size: 0.72rem; opacity: 0.7; }

/* ---- LP: 目次・不要要素を非表示 ---- */
.lp-page #toc { display: none !important; }

/* ---- フローティングCTA ---- */
.lp-floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.97);
  border-top: 2px solid var(--rm-pink);
  box-shadow: 0 -4px 20px rgba(228,0,127,0.15);
  padding: 10px 16px 12px;
  text-align: center;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.lp-floating-cta.lp-floating-visible { transform: translateY(0); }
.lp-floating-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--rm-pink) 0%, var(--rm-pink-dark) 100%);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(228,0,127,0.4);
  letter-spacing: 0.03em;
}
.lp-floating-btn:hover { opacity: 0.9; }
.lp-floating-note {
  font-size: 0.68rem;
  color: #888;
  margin: 5px 0 0;
  line-height: 1.5;
}

/* ---- レスポンシブ ---- */
@media (max-width: 700px) {
  .lp-hero-split {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .lp-hero-img-col { flex: none; }
  .lp-hero-chara { max-width: 120px; }
  .lp-hero-text-col { text-align: center; }
}
@media (max-width: 600px) {
  .lp-hero-title { font-size: 1.5rem; }
  .lp-merits-grid { grid-template-columns: 1fr; }
  .lp-plans-grid { grid-template-columns: 1fr; }
  .lp-schedule-grid { grid-template-columns: 1fr; }
  .lp-section-title { font-size: 1.25rem; }
  .lp-final-cta-title { font-size: 1.3rem; }
  .lp-step { flex-direction: column; }
  .lp-faq-answer { padding-left: 20px; }
}
