@charset "UTF-8";

/* ====== 変数・ベース設定 ====== */
:root {
  --primary-color: #003366;
  --accent-color: #00b4d8;
  --bg-light: #f4f9fc;
  --bg-white: #ffffff;
  --text-color: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color); margin: 0; padding: 0; line-height: 1.8; font-size: 16px; 
  background-color: var(--bg-white); letter-spacing: 0.03em;
}

p { color: #555555; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

/* スマホ用画像の基本は非表示 */
.sp-only { display: none; }

/* ====== 共通クラス ====== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.pb-adjust { padding-bottom: 100px; }
.text-center { text-align: center; }

.section-title { text-align: center; margin-bottom: 60px; position: relative; }
.section-title .en { display: block; font-size: 15px; color: var(--accent-color); letter-spacing: 0.25em; font-weight: 900; margin-bottom: 5px; text-transform: uppercase; }
.section-title .ja { display: block; font-size: 32px; font-weight: 900; color: var(--primary-color); letter-spacing: 0.1em; }
.section-title::after { content: ''; display: block; width: 50px; height: 4px; background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%); margin: 20px auto 0; border-radius: 2px; }

.message-title { text-align: center; font-size: 36px; font-weight: 900; color: var(--primary-color); margin-bottom: 50px; line-height: 1.5; }
.sub-section-title { text-align: center; font-size: 26px; font-weight: 700; color: var(--primary-color); margin-bottom: 30px; line-height: 1.6; }
.section-lead { font-size: 18px; margin-bottom: 50px; }

/* ====== ボタン ====== */
.btn-cta { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%); color: var(--text-light) !important; text-decoration: none; padding: 20px 60px; border-radius: 50px; font-size: 22px; font-weight: 700; box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4); transition: all 0.3s ease; border: none; cursor: pointer; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 180, 216, 0.6); }
.btn-cta::after { content: '▶'; margin-left: 10px; font-size: 18px; }

/* ====== 1. ヒーロー ====== */
.hero { padding: 0; margin: 0; background-color: var(--bg-white); text-align: center; }
.hero-inner { position: relative; width: 100%; }
.hero-image { width: 100%; height: auto; }
.hero-btn-overlay { position: absolute; bottom: 20%; left: 15%; z-index: 2; }

/* ====== 2. 悩み ====== */
.worry-box { background: #fff; border-radius: 16px; padding: 50px; box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08); margin: -80px auto 80px; position: relative; z-index: 10; max-width: 900px; }
.worry-content-wrap { display: flex; align-items: center; gap: 40px; justify-content: center; }
.worry-illust { flex: 0 0 40%; max-width: 350px; }
.worry-list { flex: 1; }
.worry-item { position: relative; padding-left: 35px; margin-bottom: 20px; font-weight: 700; font-size: 18px; color: #444; display: flex; align-items: center; min-height: 24px; }
/* 絵文字化を防ぐためにCSSで図形としてチェックマークを描く */
.worry-item::before { content: ''; position: absolute; left: 5px; top: 40%; width: 8px; height: 16px; border-right: 3px solid var(--accent-color); border-bottom: 3px solid var(--accent-color); transform: translateY(-50%) rotate(45deg); }

/* ====== 3. 解決策 ====== */
.solution-points { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-top: 50px; }
.solution-point { flex: 1; min-width: 250px; text-align: center; }
.solution-img-wrap { width: 140px; height: 140px; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; }
.solution-img-wrap img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(0, 180, 216, 0.15)); }
.solution-point p { font-weight: 700; font-size: 20px; margin: 0; line-height: 1.5; color: var(--text-color); } 
.solution-point p span { color: var(--accent-color); font-size: 24px; font-weight: 900; }

/* ====== 4. おすすめ ====== */
.recommend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.recommend-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 51, 102, 0.06); display: grid; grid-template-columns: 120px 1fr; height: 160px; transition: 0.3s ease; }
.recommend-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 51, 102, 0.12); }
.recommend-img-wrap { width: 100%; height: 100%; }
.recommend-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.recommend-item p { padding: 15px 20px; margin: 0; font-weight: 700; font-size: 15px; color: #444; display: flex; align-items: center; }

/* ====== 5. お任せ内容 ====== */
.content-box { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 60px; text-align: center; box-shadow: 0 10px 40px rgba(0, 51, 102, 0.05); }
.package-illust { max-width: 600px; margin: 0 auto 50px; }
.content-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; text-align: left; max-width: 850px; margin: 0 auto 50px; }
.feature-item { position: relative; padding-left: 35px; font-size: 17px; font-weight: 700; border-bottom: 1px dashed #d0d0d0; padding-bottom: 12px; display: flex; align-items: center; }
.feature-item::before { content: ''; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; background: var(--accent-color); border-radius: 50%; transform: translateY(-50%); margin-top: -6px; }
.feature-item::after { content: ''; position: absolute; left: 7px; top: 50%; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-70%) rotate(45deg); margin-top: -6px; }
.content-bold { font-weight: 900; font-size: 22px; margin-bottom: 10px; color: var(--primary-color); }
.content-note { font-size: 16px; color: #777; margin-bottom: 30px; }
.content-subnote { font-size: 14px; color: #666; margin-top: 10px; background: var(--bg-light); padding: 20px 25px; border-radius: 8px; display: inline-block; text-align: left; }

/* ====== 6. 選ばれる理由 ====== */
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.reason-card { background: #fff; border-radius: 16px; padding: 40px 25px; text-align: center; box-shadow: 0 10px 30px rgba(0, 51, 102, 0.06); border-top: 5px solid var(--accent-color); transition: 0.3s ease; }
.reason-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0, 51, 102, 0.12); }
.reason-num { color: var(--accent-color); font-size: 42px; font-weight: 900; margin-bottom: 20px; font-family: Arial, sans-serif; }
.reason-img-wrap { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 25px; border-radius: 8px; overflow: hidden; }
.reason-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.reason-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--primary-color); } 
.reason-desc { font-size: 15px; text-align: left; color: #555; } 

/* ====== 7. 制作の流れ ====== */
.flow-step { display: flex; align-items: center; background: #fff; padding: 30px 40px; border-radius: 16px; margin-bottom: 25px; box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05); }
.flow-num { background: var(--primary-color); color: #fff; width: 80px; height: 80px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-right: 30px; flex-shrink: 0; box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2); }
.flow-num span { font-size: 12px; font-weight: 700; } 
.flow-num strong { font-size: 28px; } 
.flow-img { flex: 0 0 150px; margin-right: 40px; }
.flow-text { flex: 1; }
.flow-text h3 { margin: 0 0 10px; font-size: 22px; color: var(--primary-color); font-weight: 700; } 

/* ====== 8. 料金プラン ====== */
.price-container { max-width: 900px; }
.price-premium-card { background: #fff; border: 4px solid var(--accent-color); border-radius: 20px; position: relative; box-shadow: 0 20px 50px rgba(0, 180, 216, 0.15); margin-top: 30px; }
.price-ribbon { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #ff8a00, #ff5e62); color: #fff; padding: 12px 50px; font-size: 20px; font-weight: 900; border-radius: 50px; white-space: nowrap; }
.price-header { background: var(--accent-color); color: #fff; padding: 35px 20px 20px; text-align: center; font-size: 28px; font-weight: 900; border-radius: 14px 14px 0 0; }
.price-body { padding: 50px; text-align: center; }
.price-illust { max-width: 400px; margin: 0 auto 30px; }
.price-amount { font-size: 72px; font-weight: 900; color: var(--primary-color); margin-bottom: 40px; line-height: 1; }
.price-amount span { font-size: 22px; }
.price-features-title { font-size: 22px; font-weight: 900; color: var(--primary-color); margin-bottom: 30px; }
.price-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 40px; }
.feat-card { background: var(--bg-light); border: 1px solid #e1ebf2; border-radius: 12px; padding: 15px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; text-align: left; }
.feat-check { width: 24px; height: 24px; flex-shrink: 0; background: var(--accent-color); border-radius: 50%; position: relative; }
.feat-check::after { content: ''; position: absolute; left: 7px; top: 6px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.price-note { font-size: 14px; color: #888; text-align: left; background: #f9f9f9; padding: 20px; border-radius: 8px; }

/* ====== 9. FAQ ====== */
.faq-item { margin-bottom: 20px; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0, 51, 102, 0.05); }
.faq-q { background: #fff; padding: 30px; font-weight: 700; display: flex; align-items: center; color: var(--primary-color); font-size: 18px; }
.faq-q::before { content: 'Q.'; color: var(--accent-color); font-size: 30px; font-family: Arial, sans-serif; margin-right: 20px; }
.faq-a { background: var(--bg-light); padding: 30px; display: flex; align-items: flex-start; font-size: 16px; border-top: 1px solid #e1ebf2; }
.faq-a::before { content: 'A.'; color: var(--primary-color); font-size: 30px; font-weight: 900; font-family: Arial, sans-serif; margin-right: 20px; line-height: 1; }

/* ====== 10. 制作実績 ====== */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.works-item { overflow: hidden; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 51, 102, 0.06); aspect-ratio: 16 / 9; background: var(--bg-light); }
.works-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.works-item:hover img { transform: scale(1.05); }

/* ====== 11. 会社概要 ====== */
.company-profile { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--border-color); border-top: 4px solid var(--primary-color); border-radius: 12px; padding: 40px; box-shadow: 0 10px 40px rgba(0, 51, 102, 0.05); }
.company-profile dl { display: grid; grid-template-columns: 30% 70%; border-top: 1px solid var(--border-color); margin: 0; }
.company-profile dt, .company-profile dd { padding: 20px; margin: 0; border-bottom: 1px solid var(--border-color); }
.company-profile dt { background-color: var(--bg-light); font-weight: 700; color: var(--primary-color); display: flex; align-items: center; }

/* ====== 12. フォーム ====== */
.form-container { max-width: 800px; }
.contact-form { background: #fff; padding: 50px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 51, 102, 0.05); }
.form-group { margin-bottom: 30px; }
.form-group label { display: flex; align-items: center; font-weight: 700; margin-bottom: 15px; color: var(--primary-color); }
.required, .optional { font-size: 12px; padding: 4px 10px; border-radius: 4px; margin-left: 15px; font-weight: bold; }
.required { background: #ff4757; color: #fff; }
.optional { background: #e0e0e0; color: #555; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 16px; font-family: inherit; background-color: #fcfcfc; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2); background-color: #fff; }
.form-submit { text-align: center; margin-top: 50px; }

/* ====== 13. クロージング ====== */
.closing { background: linear-gradient(135deg, #001f3f, #005c97); color: #fff; text-align: center; padding: 120px 20px; }
.closing-title { font-size: 36px; margin-bottom: 40px; font-weight: 900; } 
.closing-desc { font-size: 18px; margin-bottom: 60px; color: rgba(255,255,255,0.9); } 
.closing-note { font-size: 16px; margin-top: 40px; color: rgba(255,255,255,0.7); }

/* ====== 14. トップに戻るボタン ====== */
.page-top { position: fixed; bottom: 40px; right: 40px; width: 60px; height: 60px; background: var(--accent-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4); z-index: 99; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.page-top.show { opacity: 1; visibility: visible; }
.page-top .arrow { width: 14px; height: 14px; border-top: 3px solid #fff; border-left: 3px solid #fff; transform: rotate(45deg); margin-top: 5px; }


/* =======================================
   レスポンシブ対応（スマホ・タブレット用）
======================================= */
@media (max-width: 1024px) {
  .recommend-grid, .reason-grid, .price-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* ▼ ヒーローのボタン：画像の下に配置する ▼ */
  .hero-btn-overlay {
    position: static;
    padding: 30px 20px;
    background-color: #ffffff;
    display: block;
    text-align: center;
  }
  .hero-btn-overlay .btn-cta {
    display: inline-flex;
    font-size: 18px;
    padding: 18px 30px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
  }

  /* ▼ 悩み見出し：PC用テキストを消して、スマホ用画像を表示 ▼ */
  .pc-only { display: none !important; }
  .sp-only { display: block !important; }
  .worry-title-img { width: 100%; max-width: 500px; margin: 0 auto 30px; }

  .section { padding: 60px 0; } 
  .pb-adjust { padding-bottom: 60px; }
  
  .section-title { margin-bottom: 40px; }
  .section-title .en { font-size: 13px; }
  .section-title .ja { font-size: 24px; }
  .message-title { font-size: 26px; margin-bottom: 40px; }
  .sub-section-title { font-size: 22px; margin-bottom: 20px; }
  
  .worry-content-wrap { flex-direction: column; gap: 20px; }
  .worry-illust { max-width: 250px; } 
  .worry-box { padding: 30px 20px; margin: -40px auto 50px; }
  
  .recommend-grid { grid-template-columns: 1fr; } 
  .recommend-item { height: auto; min-height: 110px; grid-template-columns: 90px 1fr; } 
  /* ▼ 「おすすめ」のテキストを大きく ▼ */
  .recommend-item p { font-size: 17px; line-height: 1.5; padding: 15px; }
  
  .content-features { grid-template-columns: 1fr; gap: 15px; }
  .reason-grid { grid-template-columns: 1fr; } 
  .flow-step { flex-direction: column; text-align: center; padding: 30px 20px; }
  .flow-num { margin: 0 auto 20px; } 
  .flow-img { flex: none; margin: 0 auto 20px; max-width: 200px; }
  
  .price-premium-card { margin-top: 40px; }
  .price-ribbon { font-size: 16px; padding: 8px 30px; top: -18px; }
  .price-header { font-size: 22px; padding: 30px 15px 15px; }
  .price-body { padding: 30px 20px; }
  .price-amount { font-size: 48px; }
  .price-features-grid { grid-template-columns: 1fr; gap: 10px; } 
  .feat-card { padding: 12px; font-size: 14px; }

  /* ▼ 制作実績（スマホで1列） ▼ */
  .works-grid { grid-template-columns: 1fr; gap: 20px; }
  
  .company-profile dl { grid-template-columns: 1fr; }
  .company-profile dt { padding-bottom: 5px; border-bottom: none; }
  .company-profile dd { padding-top: 5px; }
  
  .contact-form { padding: 30px 20px; }
  .closing-title { font-size: 24px; }
  .page-top { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}