@charset "UTF-8";
/* ============================================================
   course-custom.css — コース・料金案内ページ固有
============================================================ */

/* 完全個別オーダーメイド */
.ace-custom__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.ace-custom-visual { position: relative; aspect-ratio: 1 / 1; margin: 0 auto; width: 100%; }
.ace-custom-visual img { width: 100%; height: 100%; object-fit: contain; }
.ace-cv-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--line); }
.ace-cv-ring:nth-child(1) { inset: 0; }
.ace-cv-ring:nth-child(2) { inset: 13%; border-color: rgba(177,60,74,0.25); }
.ace-cv-ring:nth-child(3) { inset: 26%; border-color: rgba(177,60,74,0.4); }
.ace-cv-core {
  position: absolute;
  inset: 39%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 20px 50px rgba(177,60,74,0.35);
  display: grid; place-items: center;
  text-align: center;
  color: #fff;
}
.ace-cv-core span { font-size: 1.3rem; font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; }
.ace-cv-tag {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.ace-cv-tag:nth-of-type(1) { top: 4%; left: 50%; transform: translateX(-50%); }
.ace-cv-tag:nth-of-type(2) { top: 50%; right: -6%; transform: translateY(-50%); }
.ace-cv-tag:nth-of-type(3) { bottom: 4%; left: 50%; transform: translateX(-50%); }

/* 3つのサポート体制（共通 .grid-3 と組み合わせ） */
.ace-support-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ace-support-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ace-sc-circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 2.6rem;
  margin: 0 auto 18px;
  box-shadow: 0 10px 24px rgba(177,60,74,0.28);
}
.ace-sc-step { font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0.18em; color: var(--red); font-weight: 700; }
.ace-sc-title { font-size: 1.8rem; font-weight: 700; margin: 6px 0 12px; color: var(--ink); }
.ace-sc-text { font-size: 1.45rem; color: var(--ink-soft); line-height: 1.9; }

/* コース（写真＋横並びリストの2カラム） */
.ace-course__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.ace-course__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ace-course__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.ace-course-list { display: flex; flex-direction: column; gap: 16px; }
.ace-course-row {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ace-course-row:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.ace-course-row__mark {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(177,60,74,0.28);
}
.ace-course-row__name { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.12em; color: var(--red); }
.ace-course-row__desc { font-size: 1.6rem; font-weight: 700; color: var(--ink); margin-top: 3px; line-height: 1.6; }

/* ご案内事項 */
.ace-info { max-width: 820px; margin: 0 auto; }
.ace-info-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.ace-info-row:first-child { border-top: 1px solid var(--line); }
.ace-ir-label { width: 220px; flex-shrink: 0; font-weight: 700; color: var(--red); font-size: 1.5rem; }
.ace-ir-value { font-size: 1.55rem; color: var(--ink); }

@media (max-width: 896px) {
  .ace-custom__grid { grid-template-columns: 1fr; }
  .ace-course__grid { grid-template-columns: 1fr; }
  .ace-course__media { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 639px) {
  .ace-info-row { flex-direction: column; gap: 6px; }
  .ace-ir-label { width: 100%; }
  .ace-course-row { gap: 16px; padding: 18px 18px; }
  .ace-course-row__mark { width: 48px; height: 48px; font-size: 2rem; }
  .ace-course-row__desc { font-size: 1.45rem; }
}
