/* ==================================================
演奏会テンプレート TOPページ用 CSS【最終版】
外：黒 / 中：白 / アクセント：金
================================================== */

.ensou-top{
  --bg-black: #0b0b0b;
  --panel-white: #ffffff;
  --line-gray: #e5e5e5;
  --text-main: #222;
  --text-sub: #555;

  --gold-main: #c8a85a;
  --gold-light: #e6d28c;

  max-width: 980px;
  margin: 0 auto;
  padding: 16px 0 40px;
  color: var(--text-main);
}

.ensou-top strong{ font-weight: 600; }

/* ===============================
  セクション（白カード）
=============================== */
.ensou-top__intro,
.ensou-top__templates,
.ensou-top__merit,
.ensou-top__pricewhy,
.ensou-top__products,
.ensou-top__otheruse,
.ensou-top__quality,
.ensou-top__faq,
.ensou-top__bottomcta{
  background: var(--panel-white);
  border: 1px solid var(--line-gray);
  border-radius: 16px;
  padding: 22px 22px;
  margin-bottom: 18px;
}

/* ===============================
  見出し
=============================== */
.ensou-top__h1{
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.ensou-top__h2{
  font-size: 22px;
  margin-bottom: 12px;
  position: relative;
}

.ensou-top__h2::after{
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(
    90deg,
    var(--gold-main),
    var(--gold-light),
    transparent
  );
}

/* ===============================
  テキスト
=============================== */
.ensou-top__lead{
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 12px;
}

.ensou-top__sub{
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.ensou-top__note{
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

/* ===============================
  ボタン（CTA）
=============================== */
.ensou-top__cta{
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.ensou-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}

.ensou-btn:hover{
  transform: translateY(-1px);
  opacity: .95;
}

.ensou-btn--primary{
  background: linear-gradient(
    180deg,
    var(--gold-light),
    var(--gold-main)
  );
  color: #222;
  font-weight: 600;
}

.ensou-btn--ghost{
  border: 1px solid var(--gold-main);
  color: var(--gold-main);
  background: transparent;
}

/* ===============================
  メリットリスト
=============================== */
.ensou-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.ensou-list li{
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-sub);
  line-height: 1.8;
  border-bottom: 1px dashed #ddd;
}

.ensou-list li:last-child{ border-bottom: none; }

.ensou-list li::before{
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold-main);
  border-radius: 50%;
  position: absolute;
  left: 8px;
  top: 18px;
  box-shadow: 0 0 0 3px rgba(200,168,90,.25);
}

/* ===============================
  カード（テンプレ・内訳）
=============================== */
.ensou-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.ensou-cards--2{
  grid-template-columns: repeat(2, 1fr);
}

.ensou-card{
  position: relative;
  background: #fff;
  border: 1px solid var(--line-gray);
  border-radius: 14px;
  padding: 16px 16px 18px;
}

.ensou-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--gold-main),
    var(--gold-light)
  );
  border-radius: 14px 14px 0 0;
}

.ensou-card__h3{
  font-size: 16px;
  margin-bottom: 6px;
}

.ensou-card__p{
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}

/* ===============================
  DL（サイズ表記）
=============================== */
.ensou-dl{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.ensou-dl dt{
  font-size: 12px;
  color: var(--gold-main);
  margin-bottom: 4px;
}

.ensou-dl dd{
  font-size: 13px;
  margin: 0;
  color: var(--text-sub);
}

/* ===============================
  比較テーブル
=============================== */
.ensou-compare{
  margin-top: 14px;
  border: 1px solid var(--line-gray);
  border-radius: 14px;
  overflow: hidden;
}

.ensou-compare__row{
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}

.ensou-compare__row:last-child{ border-bottom: none; }

.ensou-compare__label{
  font-size: 13px;
  font-weight: 600;
}

.ensou-compare__value{
  font-size: 13px;
  color: var(--text-sub);
}

/* ===============================
  FAQ
=============================== */
.ensou-faq{
  border: 1px solid var(--line-gray);
  border-radius: 14px;
  margin-top: 12px;
  overflow: hidden;
}

.ensou-faq summary{
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}

.ensou-faq summary::-webkit-details-marker{ display:none; }

.ensou-faq summary::after{
  content:"+";
  position:absolute;
  right:18px;
  top:12px;
  width:26px;
  height:26px;
  border-radius:50%;
  border:1px solid var(--gold-main);
  color: var(--gold-main);
  display:flex;
  align-items:center;
  justify-content:center;
}

.ensou-faq[open] summary::after{ content:"?"; }

.ensou-faq__body{
  padding: 0 18px 18px;
  color: var(--text-sub);
  line-height: 1.8;
  font-size: 14px;
}

/* ===============================
  SEOテキスト（控えめ）
=============================== */
.ensou-seo{
  font-size: 12px;
  color: #888;
  line-height: 1.8;
  margin-top: 16px;
}

/* ===============================
  レスポンシブ
=============================== */
@media (max-width: 768px){
  .ensou-top__h1{ font-size: 24px; }
  .ensou-top__h2{ font-size: 19px; }
  .ensou-cards,
  .ensou-cards--2{
    grid-template-columns: 1fr;
  }
  .ensou-compare__row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Twenty Twelve の li マージン対策 */
.ensou-top li{
  margin-left: 0;
}

/* ===============================
  3列 比較テーブル
=============================== */

.ensou-compare-title{
  font-size: 18px;
  margin: 10px 0 14px;
}

.ensou-compare3{
  display: grid;
  grid-template-columns: 160px 1fr 1fr 1fr;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.ensou-compare3__head{
  padding: 14px 12px;
  font-weight: 600;
  text-align: center;
  background: #f7f7f7;
  border-bottom: 1px solid #e5e5e5;
}

.ensou-compare3__head--gold{
  background: linear-gradient(180deg, #e6d28c, #c8a85a);
  color: #222;
}

.ensou-compare3__row-title{
  padding: 12px;
  font-weight: 600;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
}

.ensou-compare3__cell{
  padding: 12px;
  text-align: center;
  color: #555;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  font-size: 14px;
}

.ensou-compare3__cell:last-child,
.ensou-compare3__head:last-child{
  border-right: none;
}

.ensou-compare3__cell--gold{
  background: rgba(200,168,90,.08);
  color: #222;
  font-weight: 600;
}

/* SP対応 */
@media (max-width: 768px){
  .ensou-compare3{
    grid-template-columns: 1fr;
  }

  .ensou-compare3__head{
    display: none;
  }

  .ensou-compare3__row-title{
    border-right: none;
    background: #f2f2f2;
  }

  .ensou-compare3__cell{
    text-align: left;
    border-right: none;
  }

  .ensou-compare3__cell--gold{
    background: rgba(200,168,90,.12);
  }
}


/* ===============================
  料金表
=============================== */

.ensou-price{
  width: 100%;
  max-width: 980px;   /* サイト基準幅 */
  margin: 0 auto 32px;
  box-sizing: border-box;
}

.ensou-price{
  background:#fff;
  border:1px solid #e5e5e5;
  border-radius:16px;
  padding:24px;
  margin-bottom:32px;
}

.ensou-price__h1{
  font-size:28px;
  margin-bottom:12px;
}

.ensou-price__h2{
  font-size:22px;
  margin-bottom:12px;
}

.ensou-price__spec{
  margin-bottom:16px;
  color:#555;
  line-height:1.8;
}

.ensou-price__note{
  font-size:13px;
  color:#777;
}

.ensou-price__table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.ensou-price__table th{
  background:linear-gradient(180deg,#e6d28c,#c8a85a);
  color:#222;
  padding:12px;
  text-align:center;
  font-weight:600;
  border:1px solid #e5e5e5;
}

.ensou-price__table td{
  padding:10px 12px;
  border:1px solid #e5e5e5;
  text-align:center;
}

.ensou-price__table tr:nth-child(even) td{
  background:#fafafa;
}

.ensou-price__highlight td{
  background:rgba(200,168,90,.12);
  font-weight:600;
}

/* SP */
@media (max-width:768px){
  .ensou-price__table{
    font-size:13px;
  }
}

/* ===============================
  料金表タブ
=============================== */

.ensou-price-tabs{
  max-width:980px;
  margin:0 auto;
}

.ensou-price-tabs__nav{
  display:flex;
  gap:6px;
  list-style:none;
  padding:0;
  margin:0 10px;
}

.ensou-price-tabs__nav li{
  flex:1;
  text-align:center;
  padding:12px 0;
  cursor:pointer;
  border:1px solid #e5e5e5;
  border-bottom:none;
  background:#f5f5f5;
  font-weight:600;
  color:#666;
  border-radius:12px 12px 0 0;
}

.ensou-price-tabs__nav li.is-active{
  background:linear-gradient(180deg,#e6d28c,#c8a85a);
  color:#222;
}

.ensou-price-tab{
  display:none;
}

.ensou-price-tab.is-active{
  display:block;
}

.ensou-price-page-title{
  font-size:32px;
  margin:0 0 20px;
  text-align:center;
}