/* =========================================================
   トップページ専用（2026年12月〜 キャンペーン版）
   ========================================================= */
:root {
  --t-blue: #2176ff;
  --t-blue-deep: #0f4fc4;
  --t-navy: #13294b;
  --t-red: #e5323b;
  --t-red-deep: #c81e2a;
  --t-yellow: #ffe14d;
  --t-cream: #fff8ec;
  --t-line: #06c755;
  --t-gray: #f4f6fa;
  --t-text: #24324a;
}

html {
  scroll-behavior: smooth;
}

.top {
  color: var(--t-text);
}

/* common.css の打ち消し（br非表示・li hover・visited色） */
.top br {
  display: inline;
}

.top .t-sp {
  display: none;
}

.top li:hover {
  opacity: 1;
}

.top p,
.top h2,
.top h3,
.top ul,
.top ol {
  margin: 0;
}

.t-inner {
  width: min(100% - 2rem, 1040px);
  margin-inline: auto;
}

.t-inner--narrow {
  width: min(100% - 2rem, 760px);
}

.t-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  scroll-margin-top: 6rem;
}

.t-eyebrow {
  text-align: center;
  color: var(--t-red);
  font-weight: 800;
  font-size: clamp(0.85rem, 0.8rem + 0.25vw, 1rem);
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.t-h2 {
  margin-top: 0.4rem !important;
  text-align: center;
  color: var(--t-navy);
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.9rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.t-h2__num {
  display: inline-block;
  margin: 0 0.05em;
  color: var(--t-red);
  font-size: 1.45em;
  line-height: 1;
  transform: translateY(0.06em);
}

/* ---------------- ボタン ---------------- */
.t-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.75rem 3rem 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.t-btn::after {
  content: "›";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: -0.8rem;
  padding-bottom: 0.12rem;
  border-radius: 50%;
  background: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

.t-btn:hover {
  opacity: 1;
  transform: translateY(2px);
}

.t-btn:focus-visible {
  outline: 3px solid var(--t-yellow);
  outline-offset: 3px;
}

.t-btn--red,
.t-btn--red:visited {
  color: #fff;
  background: linear-gradient(180deg, #f0474f 0%, var(--t-red-deep) 100%);
  box-shadow: 0 5px 0 #9c1620, 0 10px 22px rgba(0, 0, 0, 0.18);
}

.t-btn--red::after {
  color: var(--t-red-deep);
}

.t-btn--line,
.t-btn--line:visited {
  color: #fff;
  background: var(--t-line);
  box-shadow: 0 5px 0 #04913e, 0 10px 22px rgba(0, 0, 0, 0.15);
}

.t-btn--line::after {
  color: var(--t-line);
}

.t-btn--yellow,
.t-btn--yellow:visited {
  color: var(--t-navy);
  background: var(--t-yellow);
  box-shadow: 0 5px 0 #c9a800, 0 10px 22px rgba(0, 0, 0, 0.18);
}

.t-btn--yellow::after {
  background: var(--t-navy);
  color: var(--t-yellow);
}

/* ---------------- ヒーロー ---------------- */
.t-hero {
  position: relative;
  overflow: hidden;
  padding: calc(6rem + clamp(2rem, 5vw, 3.5rem)) 0 clamp(3rem, 7vw, 5rem);
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.05) 0 18px, transparent 18px 46px),
    radial-gradient(circle at 85% 20%, rgba(76, 198, 237, 0.55), transparent 45%),
    linear-gradient(160deg, var(--t-blue) 0%, var(--t-blue-deep) 100%);
  color: #fff;
}

.t-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(28px, 5vw, 60px);
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.t-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.t-hero__tag {
  display: inline-block;
  padding: 0.45rem 1.6rem;
  background: var(--t-red);
  color: #fff;
  font-weight: 800;
  font-size: clamp(0.88rem, 0.8rem + 0.4vw, 1.1rem);
  letter-spacing: 0.05em;
  line-height: 1.4;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
}

.t-hero__title {
  margin-top: 1rem !important;
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.t-hero__mark {
  position: relative;
  display: inline-block;
  color: var(--t-yellow);
  transform: rotate(-4deg);
}

.t-hero__lead {
  margin-top: 1.2rem !important;
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.85;
}

.t-hero__lead strong {
  font-weight: 900;
  color: var(--t-yellow);
}

.t-hero__now {
  margin-top: 1.5rem !important;
  max-width: 560px;
  text-align: center;
  color: var(--t-yellow);
  font-weight: 900;
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.t-offer__main s,
.t-card__was s {
  color: #5f6878;
  text-decoration-line: line-through;
  text-decoration-color: var(--t-red);
  text-decoration-thickness: 2px;
}

.t-offer__main s {
  margin: 0 0.15em 0 0.2em;
  font-size: 0.9em;
  font-weight: 800;
}

.t-card__was {
  margin-top: 0.15rem !important;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.t-card__arrow {
  margin-left: 0.3em;
  color: var(--t-red);
}

.t-hero__offers {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 560px;
}

.t-offer,
.t-offer:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.6rem 0.6rem;
  background: #fff;
  border-radius: 14px;
  color: var(--t-navy);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.t-offer:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.t-offer__label {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #556;
}

.t-offer__main {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.t-offer__main b {
  margin: 0 0.05em 0 0.15em;
  color: var(--t-red);
  font-size: 2.3em;
  font-style: italic;
  line-height: 1;
}

.t-hero__cta {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0.75rem;
  max-width: 560px;
}

.t-hero__area {
  margin-top: 1.3rem !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  font-weight: 800;
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  line-height: 1.5;
}

.t-hero__area span {
  padding: 0.15rem 0.7rem;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  font-size: 0.8em;
}

/* 右側ビジュアル */
.t-speak {
  position: relative;
  padding: 3.6rem 1.6rem 1.8rem;
  margin-top: 2.2rem;
  background: #fff;
  border-radius: 24px;
  color: var(--t-navy);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.t-speak__mic {
  position: absolute;
  top: -2.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--t-red);
  box-shadow: 0 0 0 8px rgba(229, 50, 59, 0.2), 0 0 0 16px rgba(229, 50, 59, 0.1);
}

.t-speak__mic svg {
  width: 2.6rem;
  height: 2.6rem;
}

.t-speak__bubble {
  position: absolute;
  padding: 0.35rem 0.9rem;
  background: var(--t-yellow);
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.t-speak__bubble--1 {
  top: -1.2rem;
  left: -0.8rem;
  transform: rotate(-6deg);
}

.t-speak__bubble--2 {
  top: 0.4rem;
  right: -1rem;
  background: #bfe9ff;
  transform: rotate(5deg);
}

.t-speak__title {
  text-align: center;
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.5;
}

.t-speak__list {
  margin-top: 1rem !important;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.t-speak__list li {
  position: relative;
  padding: 0.7rem 0.9rem 0.7rem 2.6rem;
  background: var(--t-gray);
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.5;
}

.t-speak__list li::before,
.t-card__list li::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #22a559 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.t-speak__list li::before {
  left: 0.85rem;
  top: 50%;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: -0.6rem;
}

/* ---------------- 3つのコース ---------------- */
.t-courses {
  background: #fff;
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.t-cards {
  margin-top: clamp(2.4rem, 5vw, 3.2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.3rem 1.4rem;
  background: #fff;
  border: 2px solid #dfe5ef;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(19, 41, 75, 0.07);
}

.t-card--featured {
  border: 3px solid var(--t-red);
  background: linear-gradient(180deg, #fff 0%, var(--t-cream) 100%);
  box-shadow: 0 16px 36px rgba(229, 50, 59, 0.18);
  transform: translateY(-12px);
}

.t-card__badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 1.2rem;
  background: var(--t-red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.6;
  white-space: nowrap;
}

.t-card__no {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--t-blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.t-card__no span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--t-blue);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.t-card--featured .t-card__no {
  color: var(--t-red);
}

.t-card--featured .t-card__no span {
  background: var(--t-red);
}

.t-card__title {
  margin-top: 0.8rem !important;
  color: var(--t-navy);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  font-weight: 900;
  line-height: 1.45;
}

.t-card__plus {
  color: var(--t-red);
  font-size: 0.82em;
}

.t-card__target {
  margin-top: 0.4rem !important;
  color: #5a6475;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.t-card__list {
  margin-top: 0.9rem !important;
  padding: 0.9rem 0 0;
  border-top: 1px dashed #cfd7e4;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.t-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.t-card__list li::before {
  left: 0;
  top: 0.22em;
  width: 1.05rem;
  height: 1.05rem;
}

.t-card__foot {
  margin-top: auto;
  padding-top: 1.3rem;
  text-align: center;
}

.t-card__when {
  display: inline-block;
  padding: 0.15rem 0.85rem;
  background: var(--t-navy);
  color: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.6;
}

.t-card__what {
  margin-top: 0.5rem !important;
  color: var(--t-navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.t-card__big {
  color: var(--t-red);
  font-size: clamp(3.6rem, 3rem + 2vw, 4.6rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
}

.t-card__big span {
  margin-left: 0.08em;
  font-size: 0.42em;
  font-style: normal;
}

.t-card__note {
  margin-top: 0.55rem !important;
  padding: 0.35rem 0.6rem;
  background: #fff1b8;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.5;
}

.t-card__note--plain {
  background: var(--t-gray);
  font-weight: 700;
}

.t-card__foot--plain p {
  padding: 1rem 0.6rem;
  background: #eaf2ff;
  border-radius: 10px;
  color: var(--t-blue-deep);
  font-weight: 800;
  line-height: 1.6;
}

.t-note {
  margin-top: 1.4rem !important;
  text-align: center;
  color: #6b7486;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ---------------- 特長 ---------------- */
.t-features {
  background: var(--t-gray);
}

.t-features__grid {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.t-feature {
  padding: 1.8rem 1.4rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(19, 41, 75, 0.06);
}

.t-feature__no {
  color: var(--t-blue);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.t-feature__title {
  margin-top: 0.8rem !important;
  color: var(--t-navy);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  font-weight: 900;
  line-height: 1.45;
}

.t-feature__text {
  margin-top: 0.7rem !important;
  font-size: 0.95rem;
  line-height: 1.8;
}

.t-flow {
  margin-top: clamp(2rem, 5vw, 3rem) !important;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.t-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding: 0.8rem 1.6rem 0.8rem 2.2rem;
  background: var(--t-blue);
  color: #fff;
  font-weight: 900;
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  line-height: 1.4;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
}

.t-flow li:first-child {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
  border-radius: 12px 0 0 12px;
}

.t-flow li:nth-child(2) { background: #1b67e6; }
.t-flow li:nth-child(3) { background: #1658cc; }
.t-flow li:last-child { background: var(--t-red); }

.t-flow li span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

/* ---------------- 締めCTA ---------------- */
.t-final {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.05) 0 18px, transparent 18px 46px),
    linear-gradient(160deg, var(--t-red) 0%, var(--t-red-deep) 100%);
  color: #fff;
  text-align: center;
}

.t-final__tag {
  display: inline-block;
  padding: 0.3rem 1.1rem;
  background: #fff;
  color: var(--t-red-deep);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.5;
}

.t-final__title {
  margin-top: 0.9rem !important;
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.35;
}

.t-final__text {
  margin-top: 0.9rem !important;
  font-weight: 700;
  line-height: 1.85;
}

.t-final__cta {
  margin-inline: auto;
}

.t-final__area {
  justify-content: center;
}

/* ---------------- レスポンシブ ---------------- */
@media (max-width: 960px) {
  .t-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .t-hero__visual {
    max-width: 420px;
    width: 100%;
    margin: 1rem auto 0;
  }

  .t-cards,
  .t-features__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 540px;
    margin-inline: auto;
  }

  .t-cards {
    gap: 1.8rem;
  }

  .t-card--featured {
    transform: none;
  }

  .t-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    max-width: 540px;
    margin-inline: auto;
  }

  .t-flow li,
  .t-flow li:first-child {
    min-height: 0;
    flex-direction: row;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    clip-path: none;
  }

  .t-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.55rem;
    z-index: 1;
    margin-left: -0.5rem;
    border: 0.5rem solid transparent;
    border-bottom: 0;
    border-top-color: #9fb8e6;
  }
}

@media (max-width: 768px) {
  .top .t-sp {
    display: inline;
  }

  .t-hero {
    padding-top: 6.5rem;
  }

  .t-hero__offers,
  .t-hero__cta {
    max-width: none;
  }

  .t-hero__cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .t-section {
    padding: 3.2rem 0;
  }
}

@media (max-width: 480px) {
  .t-hero__offers {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }

  .t-offer {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    text-align: left;
  }

  .t-offer__main {
    margin-top: 0;
    white-space: nowrap;
  }
}

@media (max-width: 400px) {
  .t-hero__lead br {
    display: none;
  }

  .t-offer__label {
    font-size: 0.72rem;
  }
}
