/*
Theme Name: Winthree Brand Style (Pop & Cute Fixed v5.5)
Theme URI: https://www.winthree.jp/
Description: Complete Corporate Theme. Fixed Footer gaps, Buttons, and Layouts.
Version: 5.5.0
Author: Winthree
*/

/* ==============================================
   0. 色設定・変数
   ============================================== */
:root {
  /* --- ベースカラー --- */
  --wt-main: #1b3a57;   /* ウィン・ネイビー */
  --wt-accent: #d4ac5d; /* リュクス・ゴールド */
  
  /* --- ポップカラー（ロゴ由来） --- */
  --pop-lime: #c0d028;
  --pop-cyan: #4db5c2;
  --pop-pink: #e55a7d;
  
  /* --- 背景・テキスト --- */
  --wt-text: #333333;
  --wt-white: #ffffff;
  --wt-bg-light: #fdfdfd;
  --wt-bg-dot: #f4f8fb;
  --ws-line: #E2E8F0;

  /* --- フォント --- */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Oswald", sans-serif;
}

/* ==============================================
   1. 基本リセット & 全体設定
   ============================================== */
*, *::before, *::after { box-sizing: border-box !important; }

body {
  margin: 0; padding: 0;
  background-color: var(--wt-white);
  color: var(--wt-text);
  font-family: var(--font-jp);
  font-size: 16px; line-height: 1.8; letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: var(--wt-main); transition: 0.3s; }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; vertical-align: bottom; border-radius: 12px; }

/* ユーティリティ */
.winthree-design-system { width: 100%; overflow-x: hidden; }
.wt-container, .lp-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; position: relative; }

/* セクション設定（余白確保） */
.wt-section, .ws-intro, .ws-scope, .ws-specs, .lp-price, .ws-flow, .ws-faq, .ws-cta {
  padding: 100px 0; 
  position: relative; 
  background: transparent;
}
.bg-gray { background-color: var(--wt-bg-dot); }

/* 背景ドット柄 */
.bg-pop-dots {
  background-color: var(--wt-bg-dot);
  background-image: radial-gradient(var(--pop-cyan) 1px, transparent 1px),
                    radial-gradient(var(--pop-pink) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

/* 不要な要素を非表示 */
.aligncenter { display: block; margin: 0 auto; }
.site-info, .edit-link, .home .entry-header { display: none !important; }

/* ★重要：古い波線を消して隙間をなくす */
.footer-wave { display: none !important; }


/* ==============================================
   2. 共通パーツ (見出し・ボタン)
   ============================================== */

/* --- グラデーションテキスト --- */
.text-gradient {
  background: linear-gradient(90deg, var(--pop-lime), var(--pop-cyan), var(--pop-pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- セクションタイトル --- */
.wt-heading, .ws-sec-header {
  text-align: center; margin-bottom: 80px; position: relative; z-index: 10;
}
.wt-heading-en, .ws-sec-header .en {
  display: block; font-family: var(--font-en);
  font-size: 5rem; font-weight: 800; line-height: 1; text-transform: uppercase;
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  z-index: -1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgba(77, 181, 194, 0.15);
}
.wt-heading-jp, .ws-sec-header .jp {
  display: inline-block; font-size: 2rem; font-weight: 700; color: var(--wt-main);
  position: relative; margin-top: 10px;
  background: rgba(255,255,255,0.9); padding: 0 15px; border-radius: 20px;
}
.wt-heading-jp::after, .ws-sec-header .jp::after {
  content: ""; display: block; width: 60px; height: 6px;
  background: linear-gradient(to right, var(--pop-lime), var(--pop-cyan), var(--pop-pink));
  margin: 10px auto 0; border-radius: 10px;
}

/* --- ボタン (共通) --- */
.wt-btn, .lp-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--wt-main); color: #fff !important;
  font-weight: bold; padding: 14px 40px; border-radius: 50px;
  font-size: 1rem; text-decoration: none; 
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none; box-shadow: 0 6px 0 rgba(20, 40, 60, 1);
}
.wt-btn:hover, .lp-btn-primary:hover {
  transform: translateY(4px); box-shadow: 0 2px 0 rgba(20, 40, 60, 1);
  background: var(--pop-cyan);
}
.wt-btn::after, .lp-btn-primary::after {
  content: "→"; font-family: sans-serif; font-weight: bold; margin-left: 5px;
}
/* 白ボタン */
.lp-btn-primary.white {
    background: #fff; color: var(--wt-main) !important; box-shadow: 0 6px 0 #ddd;
}
.lp-btn-primary.white:hover { box-shadow: 0 2px 0 #ddd; background: #fff; }


/* ==============================================
   3. ヘッダー
   ============================================== */
.site-header {
  background: rgba(255, 255, 255, 0.95); padding: 15px 0;
  position: sticky; top: 0; z-index: 9999;
  border-bottom: 3px solid #f0f4f8; backdrop-filter: blur(10px);
}
.header-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.custom-logo-img { max-height: 45px; width: auto; }

/* PCメニュー */
.main-navigation ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 30px; }
.main-navigation a {
  text-decoration: none; color: var(--wt-main); font-weight: bold; font-size: 0.95rem;
  transition: 0.3s; position: relative; padding: 5px 0;
}
.main-navigation a::before {
  content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
  background: linear-gradient(to right, var(--pop-lime), var(--pop-cyan));
  transition: 0.3s; border-radius: 3px;
}
.main-navigation a:hover::before { width: 100%; }

.header-cta { margin-left: 40px; }
.btn-header {
  background: var(--pop-pink); color: #fff !important; padding: 10px 25px; border-radius: 50px;
  font-weight: bold; font-size: 0.9rem; text-decoration: none; display: inline-block;
  box-shadow: 0 4px 10px rgba(229, 90, 125, 0.3); transition: 0.3s;
}
.btn-header:hover {
  background: var(--pop-cyan); transform: scale(1.05); box-shadow: 0 6px 15px rgba(77, 181, 194, 0.4);
}

/* スマホメニュー */
.menu-toggle, .sp-menu-cta, .sp-menu-header { display: none; }

@media (max-width: 768px) {
  .header-cta.pc-only { display: none !important; }
  
  .menu-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #f0f4f8; border: none; cursor: pointer; padding: 0;
    z-index: 10001; width: 44px; height: 44px; margin-left: auto; border-radius: 50%;
  }
  .hamburger-lines { width: 24px; height: 18px; position: relative; }
  .hamburger-lines span {
    display: block; position: absolute; height: 2px; width: 100%;
    background: var(--wt-main); border-radius: 2px; transition: 0.3s ease-in-out; left: 0;
  }
  .hamburger-lines span:nth-child(1) { top: 0px; }
  .hamburger-lines span:nth-child(2) { top: 8px; width: 70%; margin-left: 30%; transition: 0.3s; }
  .hamburger-lines span:nth-child(3) { top: 16px; }
  .menu-label { display: none; }

  /* Open State */
  body.menu-open { overflow: hidden; }
  body.menu-open .hamburger-lines span { background: #fff; width: 100%; margin-left: 0; }
  body.menu-open .hamburger-lines span:nth-child(1) { top: 8px; transform: rotate(45deg); }
  body.menu-open .hamburger-lines span:nth-child(2) { opacity: 0; }
  body.menu-open .hamburger-lines span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

  /* Overlay */
  .main-navigation {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: linear-gradient(135deg, var(--wt-main) 0%, var(--pop-cyan) 100%);
    padding: 120px 30px 40px; transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 10000; display: flex !important; flex-direction: column; overflow-y: auto;
    opacity: 0; visibility: hidden;
  }
  body.menu-open .main-navigation { right: 0; opacity: 1; visibility: visible; }

  .main-navigation ul { display: block; width: 100%; margin-bottom: 30px; padding: 0; }
  .main-navigation li { margin-bottom: 15px; opacity: 0; transform: translateX(30px); transition: 0.4s; list-style: none; }
  
  body.menu-open .main-navigation li:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateX(0); }
  body.menu-open .main-navigation li:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
  body.menu-open .main-navigation li:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }
  body.menu-open .main-navigation li:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateX(0); }

  .main-navigation a {
    display: flex; justify-content: space-between; align-items: center; padding: 18px 25px;
    background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px; color: #fff !important; font-size: 1.1rem; backdrop-filter: blur(5px); font-weight: bold;
  }
  .main-navigation a::after { content: "→"; color: var(--wt-accent); }

  .sp-menu-cta { display: block; margin-bottom: 40px; opacity: 0; transform: translateY(20px); transition: 0.5s; }
  body.menu-open .sp-menu-cta { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
  .sp-menu-cta .btn-header {
    display: block; width: 100%; text-align: center; background: #fff;
    color: var(--wt-main) !important; padding: 18px 0; border-radius: 50px;
  }
}


/* ==============================================
   4. ヒーローセクション (Home)
   ============================================== */
.hero-wrapper {
  position: relative; height: 85vh; min-height: 600px;
  background: linear-gradient(120deg, #ffffff 0%, #f0fcff 100%);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
/* ポップな装飾 */
.hero-wrapper::before, .hero-wrapper::after {
  content: ""; position: absolute; border-radius: 50%; opacity: 0.6;
  filter: blur(40px); animation: floatBlob 10s infinite alternate;
}
.hero-wrapper::before { width: 400px; height: 400px; background: var(--pop-cyan); top: -100px; right: -50px; opacity: 0.15; }
.hero-wrapper::after { width: 300px; height: 300px; background: var(--pop-lime); bottom: -50px; left: -50px; opacity: 0.15; }
@keyframes floatBlob { 0% { transform: translate(0, 0); } 100% { transform: translate(20px, 40px); } }

/* ★修正：すりガラス風ボックス */
.hero-content {
  position: relative; z-index: 10; text-align: left; max-width: 900px; width: 90%; 
  padding: 80px 60px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(27, 58, 87, 0.05);
}

.hero-title {
  font-size: 3.5rem; font-weight: 900; color: var(--wt-main); line-height: 1.3; margin-bottom: 25px;
}
.hero-sub {
  font-size: 1.1rem; color: #555; line-height: 1.8; margin-bottom: 40px;
}
.hero-btn-area { display: flex; gap: 20px; justify-content: flex-start; }
.btn-hero-outline {
  background-color: transparent !important; border: 2px solid var(--wt-main) !important;
  color: var(--wt-main) !important; font-weight: bold; box-shadow: none !important;
}
.btn-hero-outline:hover {
  background-color: var(--wt-main) !important; color: #fff !important; transform: translateY(-3px);
}

/* パーティクル */
.tech-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.particle {
  position: absolute; color: var(--pop-cyan); font-family: monospace; font-weight: bold; opacity: 0; white-space: nowrap;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(110vh) rotate(0deg) scale(0.8); opacity: 0; }
  10% { opacity: 0.15; } 90% { opacity: 0.15; }
  100% { transform: translateY(-20vh) rotate(360deg) scale(1.2); opacity: 0; }
}
.p1 { left: 5%; font-size: 4rem; animation-duration: 18s; animation-delay: -2s; }
.p3 { left: 25%; font-size: 5rem; animation-duration: 22s; animation-delay: -5s; }
.p5 { left: 45%; font-size: 6rem; animation-duration: 25s; animation-delay: -1s; }
.p7 { left: 65%; font-size: 4.5rem; animation-duration: 21s; animation-delay: -6s; }
.p9 { left: 85%; font-size: 5.5rem; animation-duration: 23s; animation-delay: -3s; }

@media (max-width: 768px) {
  .hero-wrapper { height: auto; padding: 120px 0 80px; text-align: center; flex-direction: column; }
  .hero-content { text-align: center; width: 100%; padding: 40px 20px; }
  .hero-title { font-size: 2.2rem; }
  .hero-btn-area { justify-content: center; flex-direction: column; }
  .btn-hero-outline { width: 100%; }
}


/* ==============================================
   5. News Release
   ============================================== */
.news-slider-wrapper {
  background-color: var(--wt-bg-dot); padding: 80px 0;
  background-image: radial-gradient(var(--pop-cyan) 1px, transparent 1px),
                    radial-gradient(var(--pop-pink) 1px, transparent 1px);
  background-size: 40px 40px; background-position: 0 0, 20px 20px;
}
.news-scroll-container {
  display: flex; gap: 30px; overflow-x: auto; padding: 20px 20px 40px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.news-scroll-container::-webkit-scrollbar { display: none; }

.news-card {
  flex: 0 0 320px; background: #fff; border-radius: 20px; padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05); border: 2px solid #fff;
  transition: transform 0.3s ease; display: flex; flex-direction: column; text-align: left;
}
.news-card:hover { transform: translateY(-5px); border-color: var(--pop-cyan); }
.news-meta { font-size: 0.8rem; color: #999; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.news-tag {
  background: var(--pop-cyan); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: bold;
}
.news-title { font-size: 1rem; font-weight: bold; line-height: 1.5; color: var(--wt-main); margin-bottom: 15px; flex-grow: 1; }
.read-more { font-size: 0.9rem; font-weight: bold; color: var(--wt-main); display: flex; align-items: center; margin-top: auto; }
.view-all-card { justify-content: center; align-items: center; text-align: center; color: var(--wt-main); background: rgba(255,255,255,0.5); border: 2px dashed #ccc; border-radius: 20px; }


/* ==============================================
   6. About Us
   ============================================== */
#about .wt-container { max-width: 1280px; }
.concept-wrapper { display: flex; align-items: center; gap: 80px; margin-bottom: 80px; }
.concept-text { flex: 1; }
.concept-lead { font-size: 2.2rem; font-weight: bold; color: var(--wt-main); margin-bottom: 30px; }
.concept-desc { font-size: 1.05rem; color: #555; line-height: 2; margin-bottom: 30px; }
.concept-image { flex: 1; height: 450px; border-radius: 30px 5px 30px 5px; background-size: cover; background-position: center; box-shadow: 20px 20px 0 var(--pop-lime); }

/* 3つの円 */
.win-circles { display: flex; justify-content: center; gap: 50px; margin-top: 60px; flex-wrap: wrap; }
.win-circle-item {
  width: 300px; height: 300px; background: #fff; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; border: 4px solid var(--wt-bg-dot); box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  position: relative; overflow: hidden; padding: 20px; transition: 0.3s;
}
.win-circle-item:hover { border-color: var(--pop-cyan); transform: translateY(-5px); }
.win-num { font-size: 8rem; font-weight: 900; color: var(--pop-lime); opacity: 0.1; position: absolute; }
.win-label { font-size: 1.5rem; font-weight: bold; color: var(--wt-main); margin-bottom: 5px; position: relative; }
.win-text { font-size: 0.9rem; color: #666; position: relative; }

@media (max-width: 768px) {
  .concept-wrapper { flex-direction: column-reverse; gap: 40px; }
  .concept-image { width: 100%; height: 300px; }
}


/* ==============================================
   7. Service Grid
   ============================================== */
.wt-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.wt-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s;
  border: 2px solid #f0f4f8; display: flex; flex-direction: column;
}
.wt-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: transparent; }

/* カード色分け */
.wt-card:nth-child(1):hover { border-color: var(--pop-lime); }
.wt-card:nth-child(2):hover { border-color: var(--pop-cyan); }
.wt-card:nth-child(3):hover { border-color: var(--pop-pink); }
.wt-card:nth-child(4):hover { border-color: var(--pop-lime); }
.wt-card:nth-child(5):hover { border-color: var(--pop-cyan); }

.service-img {
  width: 100%; height: 200px; background-size: cover; background-position: center;
  border-bottom: 5px solid #f0f4f8;
}
.wt-card:nth-child(1) .service-img { border-color: var(--pop-lime); }
.wt-card:nth-child(2) .service-img { border-color: var(--pop-cyan); }
.wt-card:nth-child(3) .service-img { border-color: var(--pop-pink); }
.wt-card:nth-child(4) .service-img { border-color: var(--pop-lime); }
.wt-card:nth-child(5) .service-img { border-color: var(--pop-cyan); }

.card-body { padding: 30px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.3rem; font-weight: bold; margin-bottom: 15px; color: var(--wt-main); }
.card-text { font-size: 0.95rem; color: #666; margin-bottom: 20px; flex-grow: 1; }
.wt-card .wt-btn {
  padding: 8px 25px; font-size: 0.85rem; background: #fff; color: var(--wt-main) !important;
  border: 2px solid var(--wt-main); box-shadow: none; margin-top: auto;
}
.wt-card:hover .wt-btn { background: var(--wt-main); color: #fff !important; }


/* ==============================================
   8. Company (PC:横並び / SP:縦並び)
   ============================================== */
.company-box {
  background: #fff; border-radius: 30px; padding: 60px;
  box-shadow: 0 20px 60px rgba(27, 58, 87, 0.05);
  display: flex; gap: 50px; align-items: flex-start; justify-content: space-between;
  position: relative; overflow: hidden; border: 4px solid #f8fbfd;
}
.company-box::before {
  content: "Company"; position: absolute; bottom: -20px; right: -10px;
  font-family: var(--font-en); font-size: 8rem; font-weight: 900;
  color: var(--pop-lime); opacity: 0.1; line-height: 1; pointer-events: none;
}

.company-info { flex: 1; z-index: 1; min-width: 320px; }
.company-list { margin: 0; width: 100%; padding: 20px 0; }
.company-list dl { display: flex; flex-wrap: wrap; margin-bottom: 20px; align-items: baseline; }
.company-list dt {
  width: 30%; font-weight: bold; color: var(--wt-main);
  position: relative; padding-left: 15px; font-size: 1rem;
}
.company-list dt::before {
  content: ""; width: 8px; height: 8px; background: var(--wt-accent);
  border-radius: 50%; position: absolute; left: 0; top: 0.6em;
}
.company-list dd { width: 70%; margin: 0; color: #555; font-size: 1rem; }

.company-map {
  flex: 1; width: 100%; height: 400px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); z-index: 1;
}
.company-map iframe { width: 100%; height: 100%; border: none; filter: grayscale(20%); }

@media (max-width: 900px) {
  .company-box { flex-direction: column; padding: 40px 30px; gap: 40px; }
  .company-list dl { flex-direction: column; margin-bottom: 30px; }
  .company-list dt { width: 100%; margin-bottom: 5px; }
  .company-list dd { width: 100%; padding-left: 15px; }
  .company-map { height: 300px; }
}


/* ==============================================
   9. LP / 下層ページ (Intro, Specs, Price, Flow)
   ============================================== */

/* LP Hero */
.ws-hero {
  position: relative; width: 100%; height: auto; text-align: center;
  padding: 100px 20px 50px; overflow: hidden;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}
.ws-hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
  background: radial-gradient(circle at 90% 20%, rgba(192, 208, 40, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(77, 181, 194, 0.15) 0%, transparent 50%);
  filter: blur(60px);
}
.ws-hero-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.ws-hero-sub { color: var(--wt-accent); font-family: var(--font-en); letter-spacing: 0.2em; margin-bottom: 10px; font-weight: bold; }
.ws-hero-title { font-size: 2.8rem; font-weight: 900; color: var(--wt-main); margin-bottom: 20px; }
.ws-hero-lead { font-size: 1rem; color: #555; margin-bottom: 30px; }

/* Intro (Broken Grid Fix) */
.ws-intro-layout { display: flex; align-items: center; gap: 80px; position: relative; }
.ws-intro-visual { flex: 1; position: relative; z-index: 1; }
.img-wrapper { border-radius: 20px; box-shadow: 20px 20px 0 var(--wt-bg-dot); width: 100%; }
.floating-card {
  position: absolute; bottom: -30px; right: -30px; background: #fff; padding: 20px 30px;
  border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-left: 4px solid var(--pop-pink);
  display: flex; align-items: center; gap: 15px; min-width: 240px; z-index: 2;
}
.floating-card .icon { font-size: 1.5rem; }
.floating-card p { margin: 0; font-size: 0.9rem; font-weight: bold; color: var(--wt-main); }
.ws-intro-content { flex: 1; }
.ws-heading { font-size: 2.2rem; font-weight: bold; margin-bottom: 30px; }
.ws-heading .highlight { background: linear-gradient(transparent 65%, #fde68a 65%); }
.ws-tags span {
  display: inline-block; background: var(--wt-bg-dot); padding: 5px 15px; border-radius: 20px;
  font-size: 0.85rem; font-weight: bold; color: var(--wt-main); margin-right: 10px;
}

/* Specs (List) */
.ws-specs-wrapper { display: flex; align-items: flex-start; gap: 60px; }
.ws-specs-content { flex: 1; }
.ws-specs-list { flex: 1.2; background: #fff; border: 2px solid #f0f4f8; border-radius: 20px; overflow: hidden; }
.spec-row { display: flex; padding: 20px 30px; border-bottom: 1px solid #f0f4f8; align-items: center; }
.spec-label { width: 140px; font-weight: bold; color: var(--wt-main); flex-shrink: 0; position: relative; }
.spec-label::before { content: "✓"; color: var(--pop-cyan); margin-right: 10px; }

/* Scope */
.diagonal-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 80%;
  background: var(--wt-bg-dot); transform: skewY(-3deg); z-index: -1;
}
.ws-scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.scope-item {
  background: #fff; padding: 40px 30px; border-radius: 20px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 4px solid transparent; transition: 0.3s;
}
.scope-item:hover { transform: translateY(-10px); border-bottom-color: var(--pop-lime); }
.scope-icon { font-size: 3rem; margin-bottom: 20px; }

/* Price (Fixed Spacing & Pop Card) */
.lp-price-grid { display: flex; gap: 20px; justify-content: center; align-items: stretch; flex-wrap: wrap; margin-bottom: 40px; }
.lp-price-card {
  display: flex; flex-direction: column; height: 100%; width: 32%; min-width: 300px;
  background: #fff; padding: 40px 30px; border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03); position: relative; border: 2px solid #f0f4f8;
}
.lp-price-card.recommended {
  border: 3px solid var(--pop-lime); transform: scale(1.05); z-index: 2;
  box-shadow: 0 20px 50px rgba(192, 208, 40, 0.2);
}
.lp-price-card .ribbon {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--pop-lime); color: #fff; padding: 5px 20px; border-radius: 20px; font-weight: bold; font-size: 0.9rem;
}
.plan-name { font-size: 1.5rem; font-weight: bold; margin-bottom: 10px; font-family: var(--font-en); text-align: center; }
.plan-desc { text-align: center; color: #666; font-size: 0.9rem; margin-bottom: 10px; }
.plan-price { font-size: 1.8rem; font-weight: bold; color: var(--wt-main); margin: 20px 0; text-align: center; }
.plan-list { margin-top: 30px; flex-grow: 1; list-style: none; padding: 0; }
.plan-list li {
  height: 60px; display: flex; align-items: center; border-bottom: 1px dashed #eee; font-size: 0.95rem;
}
.plan-list li::before { content: "✔"; color: var(--pop-cyan); font-weight: bold; margin-right: 10px; flex-shrink: 0; }
.plan-list li.disable { color: #ccc; text-decoration: line-through; }
.plan-list li.disable::before { content: "×"; color: #ccc; }
.lp-option-block {
  background: #f1f5f9; padding: 30px; border-radius: 20px; border-left: 6px solid var(--wt-main); margin-top: 40px;
}

/* Flow */
.flow-roadmap-h { display: flex; justify-content: space-between; position: relative; margin-top: 40px; }
.flow-roadmap-h::before {
  content: ""; position: absolute; top: 25px; left: 0; width: 100%; height: 4px;
  background: #f0f4f8; z-index: 0; border-radius: 4px;
}
.roadmap-step { position: relative; z-index: 1; flex: 1; text-align: center; padding: 0 15px; }
.step-num {
  width: 50px; height: 50px; background: var(--wt-main); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: bold;
  margin: 0 auto 20px; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--pop-cyan);
}

/* FAQ */
.faq-item {
  background: #fff; margin-bottom: 15px; border-radius: 12px; padding: 20px 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03); cursor: pointer; transition: 0.3s;
}
.faq-item summary { font-weight: bold; display: flex; justify-content: space-between; align-items: center; color: var(--wt-main); }
.toggle-icon::after { content: "+"; font-size: 1.2rem; color: var(--pop-pink); }
.faq-item[open] .toggle-icon::after { content: "-"; }
.faq-item .answer { margin-top: 15px; padding-top: 15px; border-top: 1px dashed #eee; color: #555; }

/* LP Responsive */
@media (max-width: 768px) {
  .ws-intro-layout, .ws-specs-wrapper, .flow-roadmap-h { flex-direction: column; gap: 40px; }
  .floating-card { position: relative; right: auto; bottom: auto; width: 90%; margin: -20px auto 0; }
  .flow-roadmap-h::before { width: 4px; height: 100%; top: 0; left: 23px; }
  .step-num { margin: 0; margin-right: 20px; }
  .roadmap-step { display: flex; align-items: flex-start; text-align: left; padding: 0; }
}


/* ==============================================
   10. MEO Section
   ============================================== */
.meo-intro-box { max-width: 900px; margin: 0 auto 60px; text-align: center; }
.meo-catch { font-size: 2rem; font-weight: bold; color: var(--wt-main); margin-bottom: 20px; }
.meo-problems { background: #f8f9fa; padding: 30px; border-radius: 20px; text-align: left; }
.prob-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin-bottom: 20px; }
.prob-list li { width: 48%; position: relative; padding-left: 25px; }
.prob-list li::before { content: "✔"; color: var(--pop-pink); position: absolute; left: 0; font-weight: bold; }
.prob-arrow {
  text-align: center; font-size: 1.1rem; color: var(--wt-main); background: #fff;
  padding: 10px; border-radius: 50px; border: 2px solid var(--wt-main); display: inline-block; width: 100%;
}

.meo-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 80px; }
.meo-card {
  background: #fff; padding: 30px; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  position: relative; border-top: 4px solid var(--pop-cyan);
}
.meo-card .card-num { font-family: var(--font-en); font-size: 3rem; color: #f0f0f0; position: absolute; top: 10px; right: 20px; }
.meo-card h4 { font-size: 1.3rem; font-weight: bold; color: var(--wt-main); margin-bottom: 15px; }

.service-phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.phase-box { background: #f8f9fa; padding: 25px; border-radius: 15px; }
.phase-box h5 { text-align: center; margin-bottom: 15px; border-bottom: 2px solid var(--pop-pink); padding-bottom: 10px; font-weight: bold; }
.phase-box.highlight { background: #fff; border: 2px solid var(--wt-main); box-shadow: 0 10px 20px rgba(27,58,87,0.1); }

.compare-table { width: 100%; border-collapse: collapse; text-align: center; }
.compare-table th { background: #eee; padding: 15px; font-weight: bold; }
.compare-table th.our-company { background: var(--wt-main); color: #fff; width: 40%; }
.compare-table td.our-company { background: #f0fbff; font-weight: bold; border-left: 2px solid var(--pop-cyan); border-right: 2px solid var(--pop-cyan); }
.compare-table td.our-company:last-child { border-bottom: 2px solid var(--pop-cyan); }
.compare-table td { padding: 15px; border-bottom: 1px solid #ddd; }
.meo-closing { background: linear-gradient(135deg, rgba(192, 208, 40, 0.1), rgba(77, 181, 194, 0.1)); padding: 40px; border-radius: 20px; }

@media (max-width: 768px) {
  .prob-list li { width: 100%; }
  .meo-feature-grid, .service-phase-grid { grid-template-columns: 1fr; }
  .compare-table { min-width: 500px; display: block; overflow-x: auto; }
}


/* ==============================================
   11. Contact Form (Button & Icon Fix)
   ============================================== */
.wt-contact-form {
  background: #fff; padding: 60px 40px; border-radius: 30px;
  box-shadow: 0 20px 60px rgba(27, 58, 87, 0.08);
  border-top: 8px solid var(--pop-pink); margin: 0 auto; max-width: 900px;
}
.form-row { display: flex; gap: 30px; }
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 30px; }
.form-label { display: block; font-weight: bold; color: var(--wt-main); margin-bottom: 10px; }
.required { background: var(--pop-pink); color: #fff; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; margin-left: 5px; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  background: #fdfdfd; border: 2px solid #eee; border-radius: 12px;
  padding: 15px; width: 100%; transition: 0.3s; font-size: 1rem;
}
input:focus, textarea:focus {
  border-color: var(--pop-cyan); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(77, 181, 194, 0.1);
}

/* Radio Buttons */
.radio-buttons .wpcf7-form-control-wrap { display: block; width: 100%; }
.radio-buttons .wpcf7-radio { display: flex; gap: 15px; flex-wrap: wrap; }
.radio-buttons .wpcf7-list-item { margin: 0; }
.radio-buttons input[type="radio"] { position: absolute; opacity: 0; z-index: -1; }
.radio-buttons .wpcf7-list-item-label {
  display: inline-block; padding: 12px 25px; border: 2px solid #eee;
  border-radius: 50px; background: #fff; color: #666; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.radio-buttons input[type="radio"]:checked + .wpcf7-list-item-label {
  background: var(--wt-main); color: #fff; border-color: var(--wt-main); box-shadow: 0 5px 15px rgba(27, 58, 87, 0.2);
}

/* ★修正：送信ボタン */
.form-submit-area { text-align: center; margin-top: 40px; }
.submit-btn, input[type="submit"] {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  width: auto !important; min-width: 280px; height: auto;
  background: var(--wt-main); color: #fff !important; font-size: 1.1rem; font-weight: bold;
  padding: 18px 40px; border-radius: 50px; border: none; cursor: pointer;
  box-shadow: 0 6px 0 #0e2235; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  line-height: 1.2;
}
.submit-btn:hover, input[type="submit"]:hover {
  background: var(--pop-pink); box-shadow: 0 2px 0 #b01a52; transform: translateY(4px); color: #fff !important;
}
/* ★重要：アイコンサイズ強制指定 */
.submit-btn svg, .submit-btn .send-icon, .submit-btn i {
  width: 20px !important; height: 20px !important; fill: currentColor; margin: 0; flex-shrink: 0;
}

@media (max-width: 768px) {
  .wt-contact-form { padding: 40px 20px; }
  .form-row { flex-direction: column; gap: 20px; }
  .radio-buttons .wpcf7-radio { flex-direction: column; gap: 10px; }
  .radio-buttons .wpcf7-list-item-label { display: block; text-align: center; }
}

/* ==============================================
   12. Footer (ボタン・レイアウト完全修正版)
   ============================================== */

/* --- 1. 隙間・波線の強制削除 --- */
.footer-wave, 
.shape-divider, 
svg.wave {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
}

/* --- 2. フッター本体 --- */
.site-footer {
    background-color: var(--wt-main); /* ネイビー */
    color: #fff;
    padding: 80px 0 30px;
    margin-top: 0 !important; /* 隙間をなくす */
    position: relative;
    z-index: 10;
    
    /* 上部を丸くするタブデザイン */
    border-radius: 50px 50px 0 0;
    overflow: hidden;
}

/* 上部の虹色ライン */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 8px;
    background: linear-gradient(90deg, var(--pop-lime), var(--pop-cyan), var(--pop-pink));
    z-index: 2;
}

/* --- 3. レイアウト --- */
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    margin-bottom: 20px;
}

/* ロゴ */
.footer-logo-img {
    max-width: 160px; /* 少し小さめに */
    height: auto;
    display: block;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* 白くする */
}

/* 見出し */
.footer-heading {
    color: var(--pop-lime);
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}
.footer-heading::after {
    content: ""; display: block; width: 100%; height: 3px;
    background: repeating-linear-gradient(to right, var(--pop-lime) 0, var(--pop-lime) 3px, transparent 3px, transparent 6px);
    margin-top: 5px;
}

/* --- 4. リンク --- */
.footer-links-area ul { list-style: none; padding: 0; margin: 0; }
.footer-links-area li { margin-bottom: 12px; }
.footer-links-area a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.footer-links-area a:hover {
    color: var(--pop-pink);
    transform: translateX(5px);
}

/* --- 5. ★重要：フッター内のボタンを「白」にして見えるようにする --- */
.site-footer .wt-btn, 
.site-footer .btn,
.site-footer a[href*="contact"] { /* contactを含むリンクも対象に */
    background-color: #fff !important;
    color: var(--wt-main) !important;
    border: 2px solid #fff !important;
    
    /* ボタンの形を整える */
    display: inline-block !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    box-shadow: 0 5px 0 rgba(0,0,0,0.2) !important;
    text-align: center;
    margin-top: 10px;
}

.site-footer .wt-btn:hover, 
.site-footer .btn:hover,
.site-footer a[href*="contact"]:hover {
    background-color: var(--wt-bg-light) !important;
    transform: translateY(3px) !important; /* 押した感じ */
    box-shadow: 0 2px 0 rgba(0,0,0,0.2) !important;
    color: var(--wt-main) !important;
}


/* --- 6. ★重要：巨大化する送信ボタン(Contact Form 7)の修正 --- */
/* これをここに入れておけば、フォーム側のボタンも直ります */
input[type="submit"],
.wpcf7-submit,
.submit-btn {
    width: auto !important;      /* 幅いっぱいになるのを防ぐ */
    min-width: 280px !important; /* 最低限の幅 */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    background: var(--wt-main) !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    padding: 18px 40px !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 6px 0 #0e2235 !important;
    transition: all 0.2s !important;
}

/* 送信ボタンのホバー */
input[type="submit"]:hover,
.wpcf7-submit:hover,
.submit-btn:hover {
    background: var(--pop-pink) !important;
    box-shadow: 0 2px 0 #b01a52 !important;
    transform: translateY(4px) !important;
}

/* アイコンの巨大化防止 */
.submit-btn svg, 
.submit-btn .send-icon {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    fill: currentColor !important;
}


/* --- 7. コピーライト --- */
.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    padding-top: 30px;
    border-top: 1px dashed rgba(255,255,255,0.2);
}

/* --- 8. スマホ対応 --- */
@media (max-width: 768px) {
    .site-footer {
        padding: 60px 0 20px;
        border-radius: 30px 30px 0 0;
    }
    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .footer-logo-img {
        margin: 0 auto 20px;
    }
    .footer-links-area {
        width: 100%;
    }
    .footer-links-area a {
        padding: 5px 0;
    }
}
/* ==============================================
   新規固定ページ：SNSマーケティングLP専用スタイル
   ============================================== */

/* --- 1. お悩み解決セクション (Problem Section) --- */
.lp-sns .problem-box {
  background: #fff;
  padding: 50px 40px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(27, 58, 87, 0.05);
  max-width: 720px; /* 視認性の高い幅に設定 */
  margin: 0 auto;
}

/* リストの改行崩れを防止し、中央寄りに左揃えで配置 */
.lp-sns .prob-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 0 auto 30px;
  padding: 0;
  width: fit-content; /* 中身の幅に合わせることでボックス内中央に寄せる */
  max-width: 100%;
}

.lp-sns .prob-list li {
  padding-left: 35px;
  position: relative;
  font-weight: bold;
  list-style: none;
  font-size: 1.15rem;
  line-height: 1.5;
  text-align: left;
  /* PC表示で勝手な折り返しを禁止 */
  white-space: nowrap;
}

/* ✕アイコンのスタイル */
.lp-sns .prob-list li::before {
  content: "✕";
  color: var(--pop-pink);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1.5;
}

/* 下部強調エリア */
.lp-sns .problem-answer {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 2px dashed var(--pop-cyan);
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--wt-main);
  line-height: 1.6;
}

/* --- 2. 特徴セクション：数字付きカード --- */
.lp-sns .card-num {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 900;
  color: var(--wt-bg-dot);
  opacity: 0.5;
  z-index: 0;
}

/* --- 3. クロージング：CTAエリア装飾 --- */
.lp-sns .ws-cta .cta-box {
  background: var(--wt-main);
  border-radius: 40px;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.lp-sns .ws-cta .cta-title {
  color: #fff;
  margin-bottom: 20px;
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}

.lp-sns .ws-cta .cta-desc {
  margin-bottom: 40px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.lp-sns .ws-cta .cta-box::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--pop-cyan);
  filter: blur(80px);
  bottom: -100px;
  right: -100px;
  opacity: 0.2;
}

/* --- 4. スマートフォン向け調整 --- */
@media (max-width: 768px) {
  .lp-sns .problem-box {
    padding: 40px 20px;
  }
  
  .lp-sns .prob-list {
    width: 100%;
  }

  .lp-sns .prob-list li {
    font-size: 1.05rem;
    /* スマホ画面幅では自然に改行を許可 */
    white-space: normal;
  }

  .lp-sns .problem-answer {
    font-size: 1.1rem;
  }

  .lp-sns .ws-hero-title {
    font-size: 2.3rem;
  }

  .lp-sns .cta-title {
    font-size: 1.6rem !important;
  }
}