/* === 基本設定 === */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background-repeat: no-repeat;
}

html {
  font-size: 100%;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  -webkit-text-size-adjust: 100%;
  word-break: normal;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  padding: 0;
  background: #ffffff;
  color: #333;
  text-align: center;
  max-width: 800px;
}

body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body h2 {
  font-size: 2rem;
  font-weight: bold;
  margin: 2rem auto;
  text-align: center;
}
.sp_only {
  display: none;
}
.pc_only {
  display: block;
}
ul,ol{
  list-style-position: inside;
}
/* === ヘッダー === */
header {
  padding: 0;
  text-align: center;
  max-width: 100%;
}

header img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
}

/* === CTAボタン === */
.cta {
  text-align: center;
  padding: 0 0 3rem;
}

.cta img {
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
}

.cta .btn {
  background: #000;
  color: #fff;
  padding: 0.75rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.5rem;
}

/* === 価格表示エリア === */
.price-box {
  text-align: center;
  margin: 0;
}

.price-main {
  font-size: 4vw;
  font-weight: 900;
}

.price-note {
  font-size: 1rem;
  color: #333;
  margin: 0;
}

/* === キャンペーン概要 === */
.campaign-summary {
  max-width: 800px;
  margin: 0 2rem;
  /* padding: 2rem 1rem; */
  padding: 2rem 1rem 0;
  text-align: left;
}

.campaign-summary .item {
  margin-bottom: 2rem;
}

.campaign-summary h3 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.campaign-summary p {
  margin: 0.3rem 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* === ターゲット紹介 === */
.audience-insight {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  font-size: 1.1rem;
  line-height: 2;
  background: #fff;
  color: #333;
  text-align: left;
}

.audience-insight img {
  /* margin: 2rem auto; */
  margin: 2rem auto 0;

}

/* === 実績セクション === */
@counter-style hyphen {
  system: cyclic;
  symbols: "-";
  suffix: " ";
}
ul.hyphen {
  list-style-type: hyphen; /* 文字列非対応でも動く */
  padding-left: 1.4em;
}
.problems {
  background-color: #f5f2f2;
  border-radius: 20px;
  width: 96%;
  margin: 0 auto;
  padding: 2rem;
}

.problems h2 {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1rem;
  margin-bottom: 2rem;
}

.problems ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.problems li {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.problems li a{
  text-decoration: dashed underline;
color: #007bdb;
}
.ala_link img{
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =========================
   1人送客あたりの費用（CPC換算）比較
   ========================= */

.cpc-section {
  max-width: 980px;
  /* margin: 0 auto 80px; */
  margin: 0 auto 0;
  /* padding: 40px 20px; */
  padding: 40px 20px 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  color: #333;
}

.cpc-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.cpc-lead {
  text-align: center;
  line-height: 1.9;
  font-size: 0.95rem;
}

.cpc-table-wrap {
  margin-top: 48px;
}

/* ---------- 表本体 ---------- */

.cpc-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.95rem;
}

.cpc-table th,
.cpc-table td {
  padding: 18px 20px;
  vertical-align: middle;
}

/* ヘッダー行 */
.cpc-table thead th {
  border-bottom: 2px solid #000;
  text-align: center;
}

/* 見出し「掲載形式」だけ左揃え */
.cpc-table thead th:first-child {
  text-align: left;
}

/* ボディ行の罫線 */
.cpc-table tbody tr {
  border-bottom: 2px solid #000;
}

/* 掲載形式（左端列）は左揃え */
.cpc-rowhead {
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
}

/* データ列は中央揃え */
.cpc-table td {
  text-align: center;
}

/* ---------- ALAALA 行（ハイライト） ---------- */

.cpc-highlight-row th,
.cpc-highlight-row td {
  background: #e6dbf5; /* 薄いラベンダー */
  color: #662d80;      /* パープル */
  font-weight: 700;
  border-bottom: none; /* 下線なし */
}

/* ALAALA 行の左端・右端に角丸を付ける場合 */
.cpc-highlight-row th:first-child {
  border-radius: 24px 0 0 24px;
}
.cpc-highlight-row td:last-child {
  border-radius: 0 24px 24px 0;
}
/* 最後の行（ALAALA行）の下線を消す */
.cpc-table tbody tr:last-child,
.cpc-highlight-row {
  border-bottom: none;
}

/* === FAQセクション === */
.faq-list {
  max-width: 780px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: left;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item .question {
  font-weight: bold;
  color: #007bdb;
  margin-bottom: 0.3rem;
}

.faq-item .answer {
  color: #f4a300;
  margin: 0;
  line-height: 1.6;
}

/* === フォーム === */
.red{
	color: #EF4154;
}
.p_left{
	text-align: left;
	margin-bottom: 4%;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

form h2 {
  font-size: 1.5rem;
  text-align: center;
}

form input, form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background: #000;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.privacy {
  /* max-width: 700px; */
  width: 100%;
  text-align: left;
  height: 200px;
  font-size: 0.9rem;
  font-weight: 300;
  overflow-y: scroll;
  margin: 0 auto 1%;
  border: 1px solid #ccc;
  padding: 1em;
  border-radius: 8px;
}
#agree{
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 2rem;
  width: 30px;
  transform: scale(1.5);
}
form textarea{
	width: 100%;
	height: 200px;
	margin-bottom: 2%;
	text-indent: 1em;
	border-radius: 8px;
}
#submit{
	margin-top:2%;
}
.btn_submit:hover{
	opacity: 0.7;
}
/*　エラーメッセージ　*/
span.error_m {
	font-size: 0.8rem;
	font-weight: normal;
	color: #EF4154;
	display: block;
	margin: -2% 0 0 0;
  text-align: center;
}

input[type="text"].inp_error,[type="email"].inp_error,textarea.inp_error,label.inp_error {
    border: 1px solid #F88A8A;
    background: #F4D4D4;
}



/* === フッター === */
footer {
  text-align: center;
  padding: 2rem;
  background: #eee;
  font-size: 0.9rem;
  color: #777;
}

/* === レスポンシブ対応 === */
@media screen and (max-width: 480px) {
  img {
    width: 100%;
  }
    .sp_only {
    display: block;
  }
  .pc_only {
    display: none;
  }
  .ala_link img{
  width: 95%;
}
.campaign-summary{
  margin:0 1rem ;
}
  .cpc-title {
    font-size: 1.4rem;
  }

  .cpc-table,
  .cpc-table thead {
    font-size: 0.85rem;
  }

  /* 表全体を横スクロール可にする */
  .cpc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative; /* 案内表示を重ねるため */
  }

  .cpc-table {
    min-width: 720px; /* 列幅に合わせて必要なら調整 */
  }

  /* 右端に「← スライド」のグラデ案内 */
  .cpc-table-wrap::after {
    content: "← スライド";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 80px; /* 帯の横幅。好みで調整可 */
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 0.7rem;
    color: #666;
    pointer-events: none;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.9) 60%,
      rgba(255, 255, 255, 1) 100%
    );
    opacity: 1;
    transition: opacity 0.25s ease;
  }

  /* 横にスクロールしたあと（JS で .is-scrolled が付いた状態） */
  .cpc-table-wrap.is-scrolled::after {
    opacity: 0;
  }
}

/* 三橋追記 */
.form_center .checkbox {
  display: flex;
  font-size: 1.3rem;
  width: fit-content;
}
.form_center .checkbox input {
  width: auto;
  margin-right: 0.5rem;
  display: inline-block;
  transform: scale(1.5);
}
/* ダウンロードボタン */

/* ラッパー：中央寄せ */
.dl-wrap {
  text-align: center;
  margin: 2rem auto 3rem;
}

/* 既存の黒ボタンに合わせたベース */
.dl_btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  background: #e1d5e9;
  color: #8A2786;
  padding: 1rem 1.75rem;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.2;
  transition: background .2s ease, transform .1s ease, box-shadow .2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

/* DLボタン固有 */
.btn--download {
  /* フォントを画面幅でなめらかに可変 */
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

/* ラベル＆サブテキストを縦積み（小見出し付き）に */
.btn--download .btn__label {
  display: block;
}

.btn--download .btn__sub {
  display: block;
  font-weight: 500;
  opacity: .8;
  font-size: .85em;
  margin-top: .15em;
}

/* アイコン */
.btn--download .btn__icon svg {
  display: block;
  fill: currentColor;
}

/* ホバー／アクティブ／フォーカス */
.btn:hover { background: #9889A2; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0,0,0,.5);
}

/* モバイル最適化 */
@media (max-width: 480px) {
  .btn {
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
  }
  .btn--download {
    gap: 0.6rem;
  }
  .btn--download .btn__sub {
    font-size: .82em;
  }
}
