@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

*/

/* --- 1. スクロール・基本設定 --- */

html {

  scroll-behavior: smooth;

  scroll-padding-top: 45px !important;

}

* {/*!
    outline: 1px solid red !important;
    outline-offset: -1px !important;
*/
}
body {

  background-color: #ffffff !important;

  margin: 0;

  padding: 0;

  overflow-x: hidden;

  font-family: 'Noto Sans JP', sans-serif;

  text-align: left !important;

}

header, footer, .entry-title, .post-thumbnail, #sidebar, .breadcrumb, .cat-link {

  display: none !important;

}



.entry-content, .post-content, .entry-content p, .column-inner {

  text-align: left !important;

}



:target {

  scroll-margin-top: 45px !important;

}

/* --- 2. 固定ヘッダー & レスポンシブナビ --- */
  /* スローガン用（Caveat） */
  .font-TITLE {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #2e7d32;
   }


.brand-logo-fixed {

  position: fixed !important;

  top: 0 !important;

  left: 0 !important;

  right: 0 !important;

  width: 100% !important;

  height: 90px !important;

  padding: 20px 40px 0 40px !important;

  background: rgba(255, 255, 255, 0.98) !important;

  z-index: 9999 !important;

  border-bottom: 1px solid #f2f2f2;

  display: flex !important;

  align-items: center !important;

  justify-content: space-between !important;

  box-sizing: border-box !important;

}



.logo-link {

  display: flex !important;

  align-items: center !important;

  width: fit-content !important;

  flex-shrink: 0 !important;

  text-decoration: none !important;

  border: none !important;

  margin: 0 !important;

  padding: 0 !important;

}



.logo-img {

  display: block !important;

  /* 固定の height: 60px をやめて、画面幅に合わせて 40px〜60px で動かします */

  height: clamp(40px, 6vw, 60px) !important; 

 width:60px !important;

  margin-right: clamp(10px, 2vw, 20px) !important; /* 余白も画面に合わせて伸縮 */

  flex-shrink: 0 !important;

  vertical-align: bottom !important; /* 底辺合わせ用 */

}



.logo-text-group {

  display: flex !important;

  flex-direction: column !important;

  align-items: center !important;

  gap: 8px !important;

  line-height: 1.0 !important;

  text-align: left !important;

}



.shonan-text, .compass-text {

  font-size: clamp(1.65rem, 3.75vw, 2.4rem) !important;

  font-weight: 300 !important;

  color: #1d1d1f !important;

  white-space: nowrap !important;

  text-decoration: none !important;

  line-height: 1.0 !important;

}



.nav-container {

  display: flex;

  justify-content: flex-end;

  gap: 5px;

  transition: all 0.3s ease;
	

}



.nav-button {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  min-width: 95px;

  padding: 4px 8px;

  text-decoration: none;

  color: #1d1d1f;

  background: #fff;

  border-radius: 4px;

  border: 1px solid #d2d2d7;

  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0,0,0,0.05);

  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
	
    width: auto !important;

}



.nav-button:hover {

  background: #fbfbfd;

  border-color: #86868b;

  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 4px 8px rgba(0,0,0,0.1);

  transform: translateY(-2px);

}



.nav-highlight {

  border: 3px solid #e8e8e8 !important;

  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3), 0 1px 3px rgba(0, 0, 0, 0.03) !important;

  background: #ffffff !important;

  font-weight: 600;

  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;

}



.nav-highlight:hover {

  border-color: #86868b !important;

  background: #fbfbfd !important;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;

  transform: translateY(-2px);

}

.nav-corp {
/* 背景を深いチャコールグレーにし、文字を白くする */
  background: #1d1d1f !important; 
  border: 1px solid #424245 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.nav-corp:hover {
/* ホバーで少し明るくなり、浮き上がる */
  background: #2c2c2e !important;
  border-color: #0071e3 !important; /* Apple風のブルーをアクセントに */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

/* 代表実績：グレーバックの設定 */
.nav-portfolio {
  background-color: #f4f4f4; /* 視認性の良い薄グレー */
  border: 1px solid #ddd;    /* 輪郭をはっきりさせる */
}

.nav-portfolio .btn-main {
  color: #333 !important;    /* 濃い文字色で可読性アップ */
  font-weight: bold;
}

.nav-portfolio .btn-sub {
  color: #777 !important;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* Hover時の挙動 */
.nav-portfolio:hover {
  background-color: #e0e0e0; /* ホバーで少し暗く */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 浮き上がる視覚効果 */
  transform: translateY(-1px);
}


.btn-main { font-size: 0.6em !important; font-weight: bold; }

.btn-sub { font-size: 0.4em !important; color: #86868b; font-weight: bold; text-transform: uppercase; font-family: 'Inter'; }



/* 1. 基本：深みのある黒バック ＆ 白文字 */
.shp .nav-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 95px;
  padding: 4px 8px;
  text-decoration: none !important;
  color: #ffffff !important;           /* 白文字 */
  background: #1d1d1f !important;      /* 深みのある黒（Apple風チャコール） */
  border-radius: 4px;
  border: 1px solid #424245;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.shp .nav-button:hover {
  background: #2c2c2e !important;      /* ホバー時に少し明るく */
  border-color: #86868b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --- ハイライト：深みのある黒・太枠仕様 --- */
.shp .nav-highlight {
  background: #1d1d1f !important;           /* 深みのある黒 */
  border: 3px solid #424245 !important;     /* 通常より太い枠線で強調 */
  color: #ffffff !important;                /* 白文字 */
  font-weight: 700;                         /* 文字をより太く */
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0,0,0,0.3) !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.shp .nav-highlight:hover {
  background: #2c2c2e !important;           /* ホバーで少し明るく */
  border-color: #d2d2d7 !important;         /* 枠線を明るくして光らせる */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-2px);
}

/* 2. コーポレート：明るすぎない黄色 ＆ 赤文字 */
.shp .nav-corp {
  background: #f2c94c !important;      /* 落ち着いたマスタード系イエロー */
  border: 1px solid #e0b43c !important;
  color: #b01a1a !important;           /* 視認性を確保した深みのある赤 */
  font-weight: 700;
}

.shp .nav-corp:hover {
  background: #fbd872 !important;      /* ホバー時に少し明るい黄色へ */
  border-color: #b01a1a !important;    /* 境界線に赤を持ってきて強調 */
  transform: translateY(-2px);
}

/* 3. 代表実績（ポートフォリオ）：薄グレー */
.shp .nav-portfolio {
  background-color: #f4f4f4 !important;
  border: 1px solid #ddd !important;
  color: #333 !important;              /* ここはグレーに合わせた濃い文字 */
}

.shp .nav-portfolio .btn-main {
  color: #333 !important;
  font-weight: bold;
}

.shp .nav-portfolio:hover {
  background-color: #e0e0e0 !important;
  transform: translateY(-1px);
}

.shp .btn-main { font-size: 0.6em !important; font-weight: bold; }
.shp .btn-sub { font-size: 0.4em !important; color: #86868b; text-transform: uppercase; font-family: 'Inter'; }


/* 1. Caveat (力強い署名・アクセント) */
.font-shapers-main {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    transform: scaleY(1.2) skewX(-10deg); /* 縦長にして、前進する角度をつける */
    display: inline-block;
}

/* 2. Indie Flower (遊び心・親しみやすさ) */
.font-shapers-note {
    font-family: 'Indie Flower', cursive;
    transform: rotate(-2deg); /* わずかに左に傾けて、手書きのライブ感を出す */
    display: inline-block;
}

/* 3. La Belle Aurore (極めて繊細・アーティストのサイン) */
.font-shapers-signature {
    font-family: 'La Belle Aurore', cursive;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    display: inline-block;
}

/* 4. Montserrat Alternates (洗練された法人名・見出し) */
.font-shapers-corp {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 300;
    letter-spacing: 0.008em; /* 字間を広げて、高級感を出す */
    text-transform: uppercase; /* 大文字に固定して、よりロゴっぽく */
	transform: scaleY(1.3);
	transform-origin: bottom; /* 伸びる起点を下に固定する場合（任意） */
}

.font-shapers-corp-Aa {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 300;
    letter-spacing: 0.008em; /* 字間を広げて、高級感を出す */
    
	transform: scaleY(1.3);
	transform-origin: bottom; /* 伸びる起点を下に固定する場合（任意） */
}

/* 共通：既存を狂わせない .sc-btn 限定の指定 */
.nav-button.sc-btn {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important; /* 控えめな白 */
  color: #FAF9F6 !important;
  box-shadow: none !important; /* 余計な光をカット */
}

/* 制作実績：他より少しだけ白を明快にする */
.nav-button.sc-btn.sc-works {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Profile：背景を黒、線は最小限の白 */
.nav-button.sc-btn.sc-profile {
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #888888 !important;
}

/* ホバー：白の純度を上げるだけ */
.nav-button.sc-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}


.menu-toggle {

  display: none;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;

  z-index: 10000;

}

.menu-toggle span { width: 25px; height: 2px; background: #36454F; }



/* --- 3. メインコピー & アニメーション --- */

@keyframes fadeInUp {

  from { opacity: 0; transform: translateY(50px); }

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

}



.content-wrapper {

  position: relative !important;

  z-index: 10 !important;

  width: 100%;

  padding-top: 25vh;

  text-align: center;

  opacity: 0;

  animation: fadeInUp 2.0s ease-out 0.3s forwards;

}



.vision-jp {

  font-size: clamp(1.4rem, 5vw, 2.5rem);

  font-weight: 100;

  margin-bottom: 0.5em;

  color: #1d1d1f;

  text-shadow: 0 0 15px #fff, 0 0 30px rgba(255,255,255,0.8) !important;

}



.vision-en {
  font-family: 'Inter';
  font-style: italic !important;
  font-weight: 300 !important;
  font-size: clamp(1.1rem, 4vw, 2.2rem);
  color: #666666;
  text-shadow: 0 0 10px #fff, 0 0 20px rgba(255,255,255,0.8) !important;
}

.vision-en-1 {
/* 1. フォント：温かみのある Caveat */
font-family: "Caveat", cursive;

/* 2. 文字色：奥行きのある黒（Midnight Black） */
/* 背景の銀青よりもさらに深い、吸い込まれるような墨色です */
color: #0a1118 !important; 
text-shadow: none !important; 

/* 3. サイズ：150%アップした圧倒的なスケール感 */
font-size: clamp(3rem, 10.5vw, 5.25rem) !important;
letter-spacing: 0.02em;
font-weight: 500; /* 太くすることで「奥行きのある黒」の面積を確保 */

/* 4. 傾きと配置：流れを出す */
font-style: italic;
display: inline-block;
transform: rotate(-2deg); /* わずかな傾きが淀みを消す */
}

.reasons-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    color: #333;
    line-height: 1.8;
  }
  .reasons-list {
    list-style: none;
    padding: 0;
  }
  .reasons-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
  .reasons-list li:last-child {
    border-bottom: none;
  }
  .reason-number {
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 20px;
    color: #000;
    flex-shrink: 0;
    padding-top: 4px;
  }
  .reason-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
  }
  .reason-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
  }


/* --- 4. メッセージボックス & タイトル --- */

.vision-message-box {

  position: relative !important;

  z-index: 20 !important;

  margin: 60vh auto 100px auto !important;

  width: 92% !important;

  max-width: 900px !important;

  padding: 60px 5% !important;

  background: rgba(255, 255, 255, 0.96);

  line-height: 2.0;

  box-sizing: border-box;

  box-shadow: 0 10px 40px rgba(0,0,0,0.05);

}



.compass-main-title {

  font-size: 1.5rem !important;

  font-weight: bold !important;

  text-align: center !important;

  margin: 0 auto 50px auto !important;

  color: #1d1d1f !important;

}



.message-label {

  display: block; font-size: 1.1rem; font-weight: bold; color: #1d1d1f;

  border-bottom: 2px solid #1d1d1f; padding-bottom: 8px; margin-bottom: 25px; margin-top: 50px;

}



/* --- 5. セクション固有設定 --- */

#plan .user-message, #plan .agency-message, #plan p, #plan .strength-box {

  text-align: left !important;

}



.strength-box { margin: 40px 0; padding: 30px; background: #fbfbfd; border-radius: 12px; border: 1px solid #e5e5e5; }

.strength-box strong { color: #d35400 !important; }



.section-divider {

  visibility: hidden !important;

  margin: clamp(15px, 3.75vh, 45px) 0 !important;

  border: none !important;

  background: none !important;

  height: 0 !important;

}



/* --- 6. ビジュアル要素（洋ナシ等） --- */

#top-visual-container { display: none !important; }

.home #top-visual-container, .front-page #top-visual-container { display: block !important; }



@keyframes fadeInPearOnly {
  0% { 
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  16% { 
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  100% { 
    opacity: 0.8;
    transform: translateX(-50%) translateY(0);
  }
}

#home-pear-container {
  position: fixed;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  width: clamp(230px, 60vw, 350px);
  height: auto;
  
  /* スムーズなフェードアウトのためのトランジション */
  opacity: 0.8;
  visibility: visible;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.center-pear {
  width: 100% !important;
  height: auto !important;
  display: block;
  /* center-pear自体のopacityは親要素で制御するため削除 */
}



.plan-subtitle {

  display: block !important;

  opacity: 0;

  transform: none !important; 

  animation: fadeInPearOnly 1.0s ease-out 0.4s forwards !important;

}



/* --- 7. お問い合わせ・下層ページ用調整 --- */

.page-id-666 .kazuhiro-fixed-logo-layer, 

.page-id-591 .kazuhiro-fixed-logo-layer { display: none !important; }



.page-id-666 .kazu-body-content,

.kazu-plan-container { 

  margin-top: 150px !important; 

}




/* --- 8. Planページ & テーブルスライダー --- */

/* --- スライダー（横スクロール）個別設定 --- */



/* 外枠：スライダーを解除して見出しを固定する */

.kazu-detail-finance {

  width: 100% !important;

  margin: 30px 0 !important;

  /* overflow-x を削除してセクション全体の揺れを防止 */

}



/* 各テーブルを包むコンテナ：ここを個別スライダーにする */

.table-container {

  width: 100% !important;

  overflow-x: auto !important; /* テーブルのみ横スクロール */

  -webkit-overflow-scrolling: touch; /* スマホで滑らかに動かす */

  border: 1px solid #eee; /* 枠線をここに集約 */

  border-radius: 8px;

  margin-bottom: 20px !important;

}



/* テーブル本体：一宏さんの設定を維持 */

.plan-table {

  width: auto !important;

  min-width: 800px !important; 

  border-collapse: collapse !important;

  font-size: 0.95rem !important;

}



.plan-table th, .plan-table td {

  padding: 15px 10px !important;

  border: 1px solid #eee !important;

  white-space: nowrap !important;

  text-align: center !important;

}



/* --- 以下、共通レイアウト設定 --- */



.toc, .table-of-contents, #toc_container, .contents-before-index {

  display: none !important;

}



.kazu-plan-container header.kazu-plan-header {

  display: block !important;

  text-align: center !important;

  margin-bottom: 50px !important;

}



.kazu-plan-header {

  padding-top: 0px !important; 

  margin-bottom: 30px !important;

}



.plan-title {

  margin-top: 0 !important; 

  font-family: 'Inter', sans-serif !important;

  font-size: clamp(2rem, 5vw, 3.5rem) !important;

  font-weight: 200 !important;

  letter-spacing: 0.03em !important;

  color: #1d1d1f !important;

  margin-bottom: 10px !important;

}



.plan-subtitle {

  display: block !important;

  text-align: center !important;

  font-family: 'Inter', sans-serif !important;

  font-size: clamp(1rem, 2vw, 1.5rem) !important;

  font-weight: 300 !important;

  font-style: italic !important;

  color: #86868b !important;

  margin-left: auto !important;

  margin-right: auto !important;

}



/* --- 9. フッター --- */

footer.kazu-footer {

  display: block !important;

  width: 100% !important;

  padding: 60px 0 40px 0 !important;

  text-align: center !important;

  background-color: #ffffff !important;

  border-top: 1px solid #001A3D !important;

  margin-top: 100px !important;

}



.kazu-footer p {

  display: block !important;

  color: #BFBFBF !important;

  font-size: 0.75rem !important;

  font-family: 'Inter', sans-serif !important;

  letter-spacing: 0.05em !important;

  text-align: center !important;

  margin: 0 !important;

}
/* --- 10. カスタムリンク & ボタン --- */

.kazu-link-container { text-align: left !important; width: 100% !important; margin: 10px 0 !important; }

a.kazu-custom-link { font-size: 0.9rem !important; font-weight: bold !important; color: #808080 !important; text-decoration: none !important; display: inline-block !important; border: none !important; }

.pdf-button { display: inline-block; padding: 14px 32px; border: 1px solid #333; color: #333 !important; text-decoration: none !important; font-weight: bold; }



/* FAQ */

.faq-v-container { max-width: 800px; margin: 40px auto; padding: 0 15px; text-align: left !important; }

.faq-v-item { margin-bottom: 30px !important; display: block !important; }

.faq-v-q { font-weight: bold !important; color: #333 !important; font-size: 1.1rem !important; display: block !important; }

.faq-v-a { color: #555 !important; font-size: 0.95rem !important; line-height: 1.7 !important; padding-left: 10px !important; border-left: 2px solid #e67e22 !important; display: block !important; }



/* --- Case Study Section (Izumisaki) --- */

.sc-branding-section {

  width: 100% !important;

  margin: 60px 0 !important;

  padding: 0 !important;

  box-sizing: border-box !important;

}



.sc-container {

  max-width: 100% !important;

  margin: 0 auto !important;

}



.sc-section-title {

  text-align: center !important;

  font-size: 1.5rem !important;

  font-weight: bold !important;

  color: #1d1d1f !important;

  margin-bottom: 10px !important;

}



.sc-section-lead {

  text-align: center !important;

  font-size: 0.9rem !important;

  color: #86868b !important;

  margin-bottom: 40px !important;

}



/* Case Card */

.sc-case-card {

  display: flex !important;

  flex-direction: row !important;

  gap: 30px !important;

  background: #ffffff !important;

  border: 1px solid #f2f2f2 !important;

  padding: 30px !important;

  border-radius: 12px !important;

  align-items: flex-start !important;

}



.sc-case-main-visual {

  flex: 1 !important;

  position: relative !important;

}



.sc-img-main {

  width: 100% !important;

  height: auto !important;

  border-radius: 6px !important;

  box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;

}



.sc-case-badge {

  position: absolute !important;

  top: 10px !important;

  left: 10px !important;

  background: #1a365d !important;

  color: #fff !important;

  padding: 4px 10px !important;

  font-size: 10px !important;

  border-radius: 2px !important;

}



/* Content Area */

.sc-case-content {

  flex: 1 !important;

  text-align: left !important;

}



.sc-case-header h3 {

  font-size: 1.25rem !important;

  margin: 0 0 15px 0 !important;

  color: #1d1d1f !important;

}



.sc-case-desc {

  font-size: 0.95rem !important;

  line-height: 1.7 !important;

  color: #444 !important;

  margin-bottom: 20px !important;

}



/* Variant Grid */

.sc-variant-grid {

  display: grid !important;

  grid-template-columns: repeat(3, 1fr) !important;

  gap: 10px !important;

  margin-bottom: 25px !important;

}



.sc-variant-item {

  text-align: center !important;

}



.sc-variant-item img {

  width: 100% !important;

  height: auto !important;

  border: 1px solid #eee !important;

  border-radius: 4px !important;

}



.sc-variant-item span {

  font-size: 10px !important;

  color: #888 !important;

  display: block !important;

  margin-top: 5px !important;

}



/* Info Box */

.sc-work-detail {

  background: #fbfbfd !important;

  padding: 15px !important;

  border-radius: 8px !important;

  border-left: 3px solid #1a365d !important;

}



.sc-work-detail h4 {

  font-size: 0.9rem !important;

  margin: 0 0 5px 0 !important;

}



.sc-work-detail p {

  font-size: 0.85rem !important;

  margin: 0 !important;

  line-height: 1.5 !important;

}



/* 親要素のflexの影響を完全に排除し、h3を強制改行させる */

.sc-case-header {

  display: block !important; /* flexを解除 */

}



.sc-case-header h3 {

  display: block !important;

  white-space: normal !important;

  overflow: visible !important;

  word-break: break-all !important; /* どこでも折れるようにする */

}



/* spanを強制的に1行丸ごと占領させる */

.sc-case-header h3 span {

  display: block !important;

  width: 100% !important;

  clear: both !important;

}

.menu-toggle {

    display: none; /* デフォルト */

    cursor: pointer;

    z-index: 1000000 !important; /* nav-containerより高い数値にする */

    position: relative; /* z-indexを有効にするために必要 */

}




/* ==========================================
   1. PC/共通：ワークフロー & 基本設定
   ========================================== */
.workflow-box {
  margin-top: 50px;
  padding: 40px 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  font-family: sans-serif;
}

.message-label {
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
  color: #2c3e50;
  font-size: 1.1rem;
}

.workflow-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

/* PC用の横線 */
.workflow-container::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: #eee;
  z-index: 1;
}

.workflow-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 36px;
  height: 36px;
  background: #2c3e50;
  color: #fff;
  border-radius: 50%;
  line-height: 36px;
  margin: 0 auto 15px;
  font-weight: bold;
  font-size: 0.9rem;
}

.step-num.highlight {
  background: #e67e22;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(230,126,34,0.2);
}

.step-title {
  font-weight: bold;
  color: #2c3e50;
  font-size: 1rem;
  margin-bottom: 10px;
}

.step-title.highlight { color: #e67e22; }

.step-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.step-desc.highlight {
  color: #e67e22;
  font-weight: bold;
}

.navi-in a, .menu-header .menu-item a {
  font-size: 14px !important;
  padding: 8px 12px !important;
}

.sp-br { display: none !important; }

.faq-v-footer {
  text-align: center;      /* 文字を中央揃え */
  width: 100%;             /* 横幅いっぱい確保 */
  margin-top: 2rem;        /* 上の要素との間隔 */
  line-height: 1.6;        /* 行間を広げて読みやすく */
  color: #86868b;          /* Apple風の落ち着いたグレー */
  font-weight: 500;
  
  /* PC・タブレット向けのサイズ */
  font-size: 14px;
}



/* 確定版：レスポンシブ見出しスタイル */
/* 階層を特定してCocoon設定を上書き */
div.content-wrapper #vision h1.message-sub-lead {
    display: block !important;
    text-align: center !important;
    margin: 40px auto !important;
    font-size: clamp(1rem, 3.3vw, 2.1rem) !important;
    font-weight: 200 !important;
    color: #4a4a4a !important;
    letter-spacing: 0.05em !important;
    line-height: 1.5 !important;
    padding: 1.8rem 1.2rem !important;
    border-radius: 12px !important;
    border-bottom: 2px solid #2c3e50 !important;
    background: linear-gradient(135deg, #f8fbfd 0%, #e1f5fe 100%) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}

.post-25 .compass-float-btn,
.page-id-25 .compass-float-btn {
    display: none !important;
}

.sp-float-contact {
    display: none !important;
  }

/* Contactページ（スラッグ: contact）の時だけボタンを消す */
.page-slug-contact .mobile-floating-btn,
.page-id-6 .mobile-floating-btn {
    display: none !important;
}


/* reCAPTCHAのバッジを非表示にする */
.grecaptcha-badge { visibility: hidden; }

/* reCAPTCHA規約テキストのスタイル：中央揃え強化版 */
.recaptcha-policy {
    font-size: 10px;
    color: #888;
    margin: 20px auto 0 !important; /* 左右をautoにして中央へ強制 */
    line-height: 1.5;
    text-align: center;
    width: 100% !important;
    display: block !important; /* ブロック要素として認識させる */
    clear: both; /* 周囲の回り込みを解除 */
    box-sizing: border-box;
}

.recaptcha-policy a {
    color: #666;
    text-decoration: underline;
}

/* スクロール時のアニメーション調整 */
@media (prefers-reduced-motion: reduce) {
  #home-pear-container {
    transition: none;
  }
}
/* ==========================================
   2. レスポンシブ集約 (1350px以下)
   ========================================== */
@media (max-width: 1350px) {
  .sp-br {
    display: block !important;
    content: "";
    height: 0;
    margin-top: 0.5em;
  }

  /* --- ヘッダー・ロゴ調整 --- */
  .brand-logo-fixed {
    padding: 5px 10px !important;
    min-height: 20px !important;
    height: 80px !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 999999;
    background: #fff;
  }

  .logo-link {
    max-width: 75% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    text-decoration: none !important;
  }

  .logo-img {
    display: block !important;
    height: clamp(20px, 4vw, 25px) !important;
    margin-right: clamp(10px, 2vw, 20px) !important;
    flex-shrink: 1 !important;
    vertical-align: bottom !important;
    width: 52px !important; /* 1350px時点ではこのサイズ */
  }

  .shonan-text, .compass-text { font-size: 1.3rem !important; }
  .shonan-sub-text { font-size: 0.8rem !important; }

  /* --- ナビゲーションメニュー --- */
  .menu-toggle { display: flex !important; }

  .nav-container {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: fixed !important;
    top: 80px !important;
    right: 0 !important;
    width: 170px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0 !important;
    border-radius: 0 0 0 12px !important;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.1) !important;
    z-index: 999999 !important;
    overflow: hidden !important;
  }

  .nav-container.active { display: flex !important; }

  .nav-button {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 5px !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }

  .btn-main {
    font-size: 0.6em !important;
    color: #1d1d1f !important;
    display: block !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
  }

  .nav-button.sc-btn.sc-profile .btn-main {
    color: #888888 !important;
  }

  .btn-sub {
    font-size: 0.3em !important;
    color: #86868b !important;
    display: block !important;
    line-height: 1.0 !important;
    margin-top: 2px !important;
  }

  .nav-highlight {
    background: #1d1d1f !important;
    border-bottom: none !important;
    padding: 12px 15px !important;
  }

  .nav-highlight .btn-main { color: #ffffff !important; }
  .nav-highlight .btn-sub { color: #cccccc !important; }

  .nav-button:active, .nav-button:hover { background-color: #f9f9fb !important; }
  .nav-button:active, .nav-button.sc-btn.sc-profile:hover { background-color: #000000 !important; }
  .nav-button:active, .nav-button.sc-btn.sc-profile .btn-main:hover { color: #fefefe !important; }
  .nav-highlight:active, .nav-highlight:hover { background-color: #333333 !important; }

  /* --- ビジョン・テキスト --- */
  .vision-jp {
    font-size: clamp(1.4rem, 4.5vw, 2.5rem);
    font-weight: 100;
    margin-bottom: 0.5em;
    color: #1d1d1f;
    text-shadow: 0 0 15px #fff !important;
  }

  .vision-en {
    font-family: 'Inter';
    font-style: italic !important;
    font-weight: 300 !important;
    font-size: clamp(1.2rem, 3.5vw, 2.1rem);
    color: #666666 !important;
    text-shadow: 0 0 10px #fff !important;
  }


}

/* ==========================================
   3. スマホ特化調整 (768px以下)
   ========================================== */
@media (max-width: 768px) {
/* 1. 全体コンテナの余白をゼロにする */
    .main {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. 記事本文エリアの左右パディングを調整 */
    .article {
        padding: 10px 10px !important; /* 完全に0にすると文字が画面端に張り付きすぎるため、微調整を推奨 */
    }

    /* 3. コンテンツ全体の枠線を消す（必要な場合） */
    .content {
        margin: 0 !important;
    }
	
  /* ロゴ幅をスマホ用に再調整（後出し優先） */
  .logo-img {
    width: 40px !important;
  }

  .brand-logo-fixed {
    height: 70px !important;
  }

  .nav-container {
    top: 50px !important; /* 後の指定を優先 */
  }

  .content-wrapper {
    padding-top: 100px !important;
  }

  /* 洋梨・コンテナ位置 */
  .center-pear, #home-pear-container {
    top: 5vh !important;
    position: fixed !important;
  }

  /* 基本タイポグラフィ */
  p, div, span {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
  }

/* FAQ関連：左側の装飾を完全にリセット */
  .faq-v-a {
    color: #555 !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    padding-left: 0 !important;
    margin-left: 0 !important; /* マージンもリセット */
    border-left: none !important; /* 0よりnoneが確実 */
    display: block !important;
  }

  /* 擬似要素によるガイド線を消去 */
  .faq-v-a::before, 
  .faq-v-a::after {
    display: none !important;
  }

  .faq-v-footer {
    font-size: 7px;
    padding: 0 20px;
    letter-spacing: 0.02em;
  }

  /* ビジョン・プラン */
  .vision-message-box {
    background-color: #ffffff !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 15px !important;
    line-height: 2.0;
  }

  .vision-jp {
    font-size: 1.8rem !important;
    font-weight: 300 !important;
    text-align: center !important;
    color: #777 !important;
  }

  .vision-en {
    font-size: 1.3rem !important;
    font-weight: 300 !important;
    text-align: center !important;
    color: #888 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em !important;
  }

  .plan-title {
    background-color: #fefcf0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }

  /* ワークフロー（縦並び） */
  .workflow-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 40px !important;
    position: relative;
    padding: 20px 0;
  }

  .workflow-container::before {
    content: "";
    position: absolute;
    top: 10%; bottom: 10%; left: 50%;
    width: 2px;
    background-color: #eee;
    transform: translateX(-50%);
    z-index: 1;
  }

  .workflow-item {
    width: 100% !important;
    background: #fff !important;
    padding: 50px 15px 20px 15px !important;
    border-radius: 12px;
    position: relative !important;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    text-align: center !important;
    margin-top: 40px !important;
    box-sizing: border-box !important;
  }

  .step-num {
    position: absolute !important;
    top: -18px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 0.85rem !important;
    z-index: 10 !important;
  }

  /* フォーム・テーブル（Overflow対応） */
  .wpcf7-form-control-wrap, .wpcf7-text, .wpcf7-textarea, .wpcf7-submit,
  input[type="text"], input[type="email"], textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    word-break: normal !important;
  }

  /* カード・リスト・グリッド */
  .sc-case-card {
    flex-direction: column !important;
    padding: 20px !important;
  }

  .sc-case-main-visual, .sc-case-content {
    width: 100% !important;
  }

  .sc-variant-grid {
    gap: 5px !important;
  }

  .reasons-list li {
    flex-direction: column;
  }

  .reason-number {
    margin-bottom: 5px;
  }

  .pdf-button {
    width: 100%;
    max-width: 320px;
    padding: 16px 20px;
  }

  /* セクション・フッター調整 */
  .pc-only-card { display: none !important; }

  section, .custom-section {
    padding: 30px 15px !important;
  }

  .user-friendly-work-intro, [style*="box-shadow"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
  }

  footer.kazu-footer {
    padding: 45px 0 30px 0 !important;
    margin-top: 75px !important;
  }

  .wrap,
  .content-in,
  .entry-content {
    max-width: 100%!important;
    padding-left: 0!important;
    padding-right: 0!important;
  }

.summary-section {
            padding: 15px !important;
        }
        .summary-section h3 {
            font-size: 1.2rem !important;
        }
        .summary-section p {
            font-size: 0.95rem !important;
        }	
	
}

/* スマホでの表示微調整 */
@media screen and (max-width: 480px) {

/* 1. コンテンツを包むすべてのコンテナのパディングを強制解除 */
    .page-id-26 .content,
    .page-id-26 .main,
    .page-id-26 .article,
    .page-id-26 .entry-content,
    .page-id-26 #content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. フォーム内の各入力欄を左右いっぱいに */
    .page-id-26 .wpcf7-form-control {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block !important;
    }

    /* 3. 本文テキストエリアなどの枠からはみ出さないよう調整 */
    .page-id-26 textarea,
    .page-id-26 input {
        box-sizing: border-box !important;
    }

    /* 4. 念のため「お問い合わせ」のタイトル部分も広げる */
    .page-id-26 .article-header,
    .page-id-26 .entry-title {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .recaptcha-policy {
        font-size: 9px;
        padding: 0 10px;
    }
}