/* ==========================================================
   Base
========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

#wrap {
  max-width: 960px;      /* ←ここを 960px に戻す（広すぎる問題の原因） */
  margin: 0 auto;
  padding: 0 15px;
}

.center {
  text-align: center;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}

/* ==========================================================
   Header / Hero Section
========================================================== */

#header {
  padding: 50px 20px;
  border-radius: 16px;
  margin-top: 20px;

  /* はっきりしたグラデーションに修正 */
  background: linear-gradient(180deg, #ff8b2c 0%, #ff6500 100%);
  color: #fff;
}

.main-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.sub-title {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.95;
}

/* ===== ヒーローボックス ===== */

.hero-cta {
  margin: 32px auto 0;
  background: rgba(255, 255, 255, 0.20);
  padding: 28px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.16);
}

.hero-copy {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.hero-copy .em {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.hero-point {
  margin: 20px auto;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-point li {
  background: #fff;
  color: #ff6500;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* ボタン */
.btn-main {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  background: #fff;
  color: #ff6500;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin-top: 20px;
}

.btn-main:hover {
  opacity: 0.9;
}

/* 電話番号 */
.tel {
  margin-top: 20px;
  color: #fff;
}

.tel-number {
  font-size: 22px;
  font-weight: 700;
}

/* ==========================================================
   Section 共通
========================================================== */

.section {
  padding: 60px 0;
}

.bg-gray {
  background: #fafafa;
}

.bg-accent {
  background: #fff2e6;
}

/* 見出し */
.sec-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.lead {
  font-size: 16px;
  margin-bottom: 24px;
}

/* ==========================================================
   Sample / Features / Flow
========================================================== */

.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

.sample-item {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sec-subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* =============================================
   Flow
============================================= */

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.flow-step {
  font-size: 16px;
  font-weight: bold;
  background: #ff6500;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  height: fit-content;
}

.flow-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* ==========================================================
   Price
========================================================== */

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table th,
.price-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
  background: #fff;
}

.price-table th {
  background: #f0f0f0;
  font-weight: 700;
}

.note {
  font-size: 14px;
  margin-top: 20px;
}

/* ==========================================================
   Faq
========================================================== */

.faq-list dt {
  font-weight: 700;
  margin-top: 20px;
}

.faq-list dd {
  margin-left: 0;
  margin-bottom: 20px;
}

/* ==========================================================
   Form
========================================================== */

.contact-form {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.form-row {
  margin-bottom: 20px;
}

label {
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

input[type=text],
input[type=email],
input[type=number],
input[type=tel],
textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

.req {
  background: #ff6500;
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.btn-submit {
  padding: 14px 36px;
  background: #ff6500;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.btn-submit:hover {
  opacity: 0.88;
}

/* ==========================================================
   Footer
========================================================== */

#footer {
  padding: 40px 0;
  text-align: center;
  background: #1b1b23;
  color: #fff;
}

.small {
  opacity: 0.85;
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 768px) {

  #wrap {
    padding: 0 10px;
  }

  .main-title {
    font-size: 26px;
  }

  .sample-grid {
    grid-template-columns: 1fr;
  }

  .hero-point {
    flex-direction: column;
    gap: 10px;
  }
}
/* ==========================================================
   ▼ 隠しフィールド（honeypot）を完全に非表示にする
========================================================== */
.hp-wrap {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* ==========================================================
   ▼ CTAボタン（新規追加）
========================================================== */

/* ボタン共通 */
.cta-btn {
  display: inline-block;
  width: 100%;
  max-width: 360px;
  padding: 16px 10px;
  margin: 25px auto;
  border-radius: 999px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s ease-in-out;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* オレンジ（メイン） */
.cta-orange {
  background: #ff6500;
  color: #fff;
}
.cta-orange:hover {
  opacity: .88;
}

/* 白ボタン（サブ） */
.cta-white {
  background: #ffffff;
  color: #ff6500;
  border: 2px solid #ff6500;
}
.cta-white:hover {
  background: #fff5eb;
}

/* CTAを上下にまとめる */
.cta-wrap {
  text-align: center;
  margin: 40px 0;
}

/* スマホ改善 */
@media(max-width: 768px) {
  .cta-btn {
    font-size: 18px;
    max-width: 300px;
  }
}
/* ===============================
   Sample Photos（写真サイズ調整）
=============================== */

/* サンプル全体の３カラム */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列固定 */
  gap: 24px;
}

/* 写真の縦を1.5倍に伸ばす（高さ270px） */
.sample-photo {
  width: 100%;
  height: 270px;      /* ←ここを 180px → 270px にした調整版 */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* 写真枠のデザイン */
.sample-item {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時 */
.sample-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

/* スマホ時は1列表示 */
@media (max-width: 768px) {
  .sample-grid {
    grid-template-columns: 1fr;  /* 1列に変更 */
    gap: 18px;
  }

  .sample-photo {
    height: 220px; /* スマホは少し低めに調整 */
  }
}
