/* c-btn — https://www.ouchi-zenb.com/custom/css/style.css から完全コピー */

.c-btn {
  width: 21.4rem;
  height: 4rem;
  max-width: 100%;
  background-image: linear-gradient(180deg, #fe6601, #ffa300);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border-radius: 999px;
  font-weight: 900;
  position: relative;
  transition: opacity 0.3s ease;
}
.c-btn::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 1.3rem;
  transform: translateY(-50%);
  width: 0.8rem;
  height: 1.6rem;
  background: url(../img/btn-arrow_white.svg) no-repeat center center/contain;
  transition: transform 0.3s ease;
}
.c-btn:hover {
  opacity: 0.8;
}
.c-btn--big {
  width: 100%;
  height: auto;
  border: 3px solid #fff;
  border-radius: 12px;
  gap: 15px;
  padding: clamp(10px, 1.25vw, 18px);
  max-width: clamp(400px, 31.25vw, 450px);
  font-size: clamp(24px, 2.2222222222vw, 32px);
  font-weight: 700;
  box-shadow: inset 0 6px 10px #ffb77c, inset 0 -6px 12px rgba(30, 30, 30, 0.3), 0 4px 10px rgba(0, 0, 0, 0.1019607843);
  transition: 0.3s;
  white-space: nowrap;
  position: relative;
}
@media (max-width: 767px) {
  .c-btn--big {
    padding: 3.125vw;
    max-width: unset;
    font-size: 7.25vw;
    gap: 10px;
  }
}
.c-btn--big:hover {
  box-shadow: inset 0 6px 10px #ffb77c, inset 0 -6px 12px rgba(30, 30, 30, 0.3), 0 0 10px rgba(0, 0, 0, 0.1019607843);
  transform: translateY(4px);
}
.c-btn--big:before {
  display: none;
}
.c-btn__detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  letter-spacing: 0.1rem;
  line-height: 1.4;
}
.c-btn__label-sub {
  display: block;
  margin-top: 10px;
  border-radius: 4px;
  padding: 5px;
  background: #e36200;
  font-size: clamp(12px, 1.0416666667vw, 15px);
  font-weight: 400;
  white-space: nowrap;
  text-align: center;
}
@media (max-width: 767px) {
  .c-btn__label-sub {
    font-size: 3.125vw;
  }
}
.c-btn__arrow {
  width: 35px;
  height: 35px;
  min-width: 35px;
  border-radius: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e36200;
  position: absolute;
  right: clamp(10px, 1.25vw, 18px);
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  .c-btn__arrow {
    width: 5.75vw;
    height: 5.75vw;
    min-width: 20px;
    right: 3.125vw;
  }
}
.c-btn__arrow-img {
  width: 5px !important;
  height: auto !important;
}

/* ── sumai 固有の上書き ── */

/* a:link のグローバル青字を打ち消す（詳細度を揃えた上でソース順で勝つ） */
a.c-btn { color: #fff; text-decoration: none; }

/* --big: PC は 600px、SP は全幅 */
a.c-btn.c-btn--big {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  a.c-btn.c-btn--big {
    max-width: 100%;
  }
}

/* book icon for study session CTA */
.c-btn__icon-book {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #fff;
    border-radius: 50%;
}
.c-btn__icon-book img {
    width: 26px;
    height: auto;
}
@media (max-width: 767px) {
    .c-btn__icon-book {
        width: 9vw;
        height: 9vw;
        min-width: 9vw;
    }
    .c-btn__icon-book img {
        width: 5.5vw;
    }
}

/* beige modifier */
.c-btn--beige {
  background-color: #ddeea1;
  background-image: none;
  color: #074a10;
  box-shadow: inset 0 6px 10px rgba(255, 255, 255, 0.5), inset 0 -4px 8px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.1);
}
a.c-btn--beige { color: #074a10; }
.c-btn--beige:hover {
  box-shadow: inset 0 6px 10px rgba(255, 255, 255, 0.5), inset 0 -4px 8px rgba(0, 0, 0, 0.08), 0 0 10px rgba(0, 0, 0, 0.1);
  transform: translateY(4px);
  color: #074a10;
}
.c-btn--beige .c-btn__arrow {
  background: #074a10;
}
