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

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

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* ====================================
   【完全版】成香さんのサイト用設定（デザイン強化版）
   ==================================== */

/* 基本設定（カラー変数・フォント） */
:root {
  --seika-navy: #003366;       /* インテリジェンス・ネイビー */
  --seika-orange: #FF9900;     /* マリーゴールド・オレンジ */
  --seika-text-white: #ffffff; /* 白文字 */
  --seika-bg-light: #f9f9f9;   /* 薄いグレー背景 */
}

/* 共通タイトルデザイン */
.section-title {
  font-size: 1.8rem;
  color: var(--seika-navy);
  font-weight: bold;
  margin-bottom: 40px;
  display: inline-block;
  border-bottom: 3px solid var(--seika-orange);
  padding-bottom: 10px;
  letter-spacing: 0.05em;
}
.section-wrapper {
  padding: 80px 20px;
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}
.bg-white { background-color: #fff; }
.bg-light { background-color: var(--seika-bg-light); }

/* ------------------------------------
   1. ヒーローエリア（デザイン大幅強化）
   ------------------------------------ */
.hero-section {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  background-color: var(--seika-navy);
  color: var(--seika-text-white);
  padding: 80px 20px; /* 少し広げました */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  overflow: hidden; /* アニメーションのはみ出し防止 */
}

/* ▼ 新機能：サービスの正体を明かす「バッジ」 */

.hero-content {
  flex: 1;
  max-width: 600px;
  padding: 40px;
  z-index: 2;
}

.hero-sub {
  font-size: 1.3rem; /* 少し大きく */
  font-weight: 700;
  margin-bottom: 15px;
  color: #e0e0e0;
  border-bottom: none !important;
}

/* ▼ 強化：メインコピーを極太・巨大に */
.hero-main {
  font-size: 3.8rem; /* インパクト重視 */
  font-weight: 800;  /* 超極太 */
  margin-bottom: 30px;
  line-height: 1.15;
  text-shadow: 2px 2px 15px rgba(0,0,0,0.4);
  border-bottom: none !important;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}
.text-highlight {
  color: var(--seika-orange);
  font-weight: bold;
}

/* ▼ 新機能：アニメーション（下からフワッ） */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}
.delay {
    animation-delay: 0.4s; /* 画像は少し遅れて出る */
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 画像エリア */
.hero-image {
  flex: 1;
  max-width: 350px; /* 少し大きくしました */
  text-align: center;
  z-index: 1;
  margin-top: 0;
}
.hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
  border-radius: 20px;
  transition: transform 0.3s ease;
}

/* ボタン設定 */
.hero-btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 15px;
    margin-top: 30px;
}
.hero-btn, .hero-btn-secondary-white {
  display: inline-block;
  padding: 16px 35px !important;
  font-size: 1.1rem !important;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}
.hero-btn {
  background-color: var(--seika-orange);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.6);
  background-color: #ffaa33;
}
.hero-btn-secondary-white {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid #fff;
}
.hero-btn-secondary-white:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ------------------------------------
   2. サービスメニュー
   ------------------------------------ */
.service-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 40px auto;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none !important;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #eee;
  text-align: left;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card-head {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.card-icon { font-size: 2.5rem; margin-right: 15px; }
.card-title { font-size: 1.3rem; font-weight: bold; color: var(--seika-navy); line-height: 1.4; }
.card-desc { font-size: 0.95rem; line-height: 1.6; color: #666; margin-bottom: 20px; }
.card-price { 
    font-size: 1.1rem; font-weight: bold; color: var(--seika-navy); 
    background: #f0f4f8; padding: 10px; border-radius: 6px; text-align: center;
}
.card-recommend { border: 2px solid var(--seika-orange); position: relative; overflow: hidden; }
.recommend-badge {
  background: var(--seika-orange); color: #fff; font-size: 0.8rem; padding: 5px 40px;
  position: absolute; top: 15px; right: -35px; transform: rotate(45deg);
  font-weight: bold; box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ------------------------------------
   3. 選ばれる理由 / 4. 受講者の声 / 5. FAQ
   ------------------------------------ */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.reason-box { text-align: left; padding: 20px; }
.reason-head {
    font-size: 1.2rem; color: var(--seika-navy);
    border-bottom: 2px solid var(--seika-orange);
    padding-bottom: 10px; margin-bottom: 15px; font-weight: bold;
}

.voice-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 30px; max-width: 1000px; margin: 0 auto;
}
.voice-card {
    background: #fff; border-radius: 12px; padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: left;
}
.voice-meta {
    display: flex; align-items: center; margin-bottom: 15px;
    border-bottom: 1px solid #eee; padding-bottom: 10px;
}
.voice-icon {
    width: 50px; height: 50px; border-radius: 50%;
    margin-right: 15px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; font-weight: bold;
    background-color: var(--seika-navy);
}
.voice-info { font-size: 0.9rem; color: #666; }
.voice-text { font-size: 0.95rem; line-height: 1.8; }

.qa-list { max-width: 800px; margin: 0 auto; text-align: left; }
.qa-item {
    background: #fff; margin-bottom: 20px; border-radius: 8px;
    overflow: hidden; border: 1px solid #eee;
}
.qa-question {
    background: var(--seika-navy); color: #fff; padding: 15px 20px;
    font-weight: bold; font-size: 1.1rem;
}
.qa-question::before { content: "Q."; margin-right: 10px; color: var(--seika-orange); }
.qa-answer { padding: 20px; line-height: 1.8; font-size: 1rem; }
.qa-answer::before { content: "A."; margin-right: 10px; color: var(--seika-navy); font-weight: bold; }

/* ------------------------------------
   6. その他（バナー・微調整）
   ------------------------------------ */
.corporate-banner {
  display: block; max-width: 1000px; margin: 40px auto 0;
  background-color: var(--seika-navy); color: #fff !important;
  padding: 50px; border-radius: 12px; text-decoration: none !important;
  transition: opacity 0.3s; text-align: center;
}
.corporate-banner:hover { opacity: 0.95; }
.corp-title { font-size: 1.8rem; font-weight: bold; margin-bottom: 15px; display: block; }
.corp-desc { opacity: 0.9; font-size: 1.1rem; color: #fff; display: block; margin-bottom: 20px; }
.corp-btn {
    display: inline-block; background: var(--seika-orange); padding: 12px 30px;
    border-radius: 50px; font-weight: bold; font-size: 1rem; color: #fff;
}

/* 不要な装飾の削除 */
.page .date-tags, .page .post-date, .page .entry-date, 
.page .update-date, .page .post-update, .page .cat-link, 
.page .author-info, .page .article-header { display: none !important; }
.page .content { margin-top: 0 !important; padding-top: 0 !important; }
.page .entry-content { margin-top: 0 !important; }
#header, .header-container { border-bottom: none !important; box-shadow: none !important; }
#navi, .navi-in { border-top: none !important; border-bottom: none !important; }

/* H2/H3の装飾削除 */
.article-body h2::before, .entry-content h2::before { content: none !important; display: none !important; }
.article-body h2, .entry-content h2 { padding-left: 0.5em !important; }
.article-body h3, .entry-content h3 { border: none !important; padding-left: 0 !important; background: none !important; }

/* ------------------------------------
   スマホ対応
   ------------------------------------ */
@media (max-width: 768px) {
  .hero-section { flex-direction: column; padding: 50px 15px; }
  .hero-main { font-size: 2.5rem; margin-bottom: 20px; } /* スマホでも大きく */
  .hero-sub { font-size: 1.1rem; }
  .hero-badge { font-size: 0.8rem; padding: 5px 15px; }
  
  .hero-btn-group { flex-direction: column; align-items: center; width: 100%; }
  .hero-btn, .hero-btn-secondary-white { width: 90%; max-width: 320px; }
  
  .service-grid-4, .reason-grid, .voice-grid { grid-template-columns: 1fr; }
  .section-wrapper { padding: 60px 15px; }
}

/* =========================================
   ▼ 修正：2行になった看板を、読みやすく整える
   ========================================= */
.hero-badge {
    display: inline-block;
    background-color: #ffffff;
    color: var(--seika-navy);
    border: none;
    border-left: 10px solid var(--seika-orange);
    border-radius: 4px;
    
    /* ▼ 文字サイズ調整（2行なので少し小さくしてバランスを取る） */
    font-weight: 800;
    font-size: 1.1rem;  /* 1.2rem → 1.1rem */
    
    /* ▼ 行間を広げて、窮屈さをなくす */
    line-height: 1.6;   
    
    /* ▼ 余白調整 */
    padding: 15px 30px; /* 上下の余白を少し増やしてゆったりと */
    margin-bottom: 35px;
    
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    letter-spacing: 0.05em;
    
    /* ▼ 2行の時に左揃えにする（必須） */
    text-align: left; 
}

/* スマホでは文字がはみ出ないように少し小さく */
@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.95rem; /* スマホで見やすいサイズ */
        padding: 10px 20px;
        line-height: 1.5;
    }
}
/* 2. ボタンを「コンパクトで上品」に */
.hero-btn, .hero-btn-secondary-white {
    padding: 12px 25px !important;  /* 余白を縮小（16px 35px → 12px 25px） */
    font-size: 1.0rem !important;   /* 文字サイズも少し控えめに（1.1rem → 1.0rem） */
    border-width: 1px;              /* 白枠線の太さを少し細く（繊細に） */
}

/* ボタンの並び間隔も少し調整 */
.hero-btn-group {
    gap: 20px; /* ボタン同士の間隔 */
}