/* page-membership.css - 会員ページ専用スタイル */

/* ===========================
   共通ユーティリティ
=========================== */

.ms-main {
  font-family:
    "Helvetica Neue", Helvetica, Arial, "游ゴシック体", YuGothic, "游ゴシック",
    "Yu Gothic", Meiryo, sans-serif;
  color: rgb(89, 89, 89);
}

/* セクション見出し（赤） */
.ms-heading {
  font-size: 40px;
  font-weight: 700;
  color: #c0401a;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.ms-heading--dark {
  color: #333;
}

.ms-heading--navy {
  color: #1a3a6c;
}

.ms-heading--center {
  text-align: center;
}

/* リードテキスト */
.ms-lead {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin: 0 0 40px;
}

.ms-lead--center {
  text-align: center;
}

/* ===========================
   1. ヒーロー
=========================== */

.ms-hero {
  background-color: #ffffff;
  padding: 64px 0 60px;
}

.ms-hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 30px;
}

.ms-hero__heading {
  font-size: 60px;
  font-weight: 700;
  color: #c0401a;
  letter-spacing: 0.06em;
  margin: 0 0 40px;
  line-height: 1.1;
}

.ms-hero__catch {
  position: relative;
  background: linear-gradient(135deg, #fffaf8 0%, #fafafa 60%);
  border: 1px solid #e8e8e8;
  border-left: 4px solid #c0401a;
  border-radius: 0 8px 8px 0;
  padding: 44px 56px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.ms-hero__catch-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #c0401a;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(192, 64, 26, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ms-hero__catch-title {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  line-height: 1.7;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.ms-hero__catch-sub {
  font-size: 14px;
  color: #999;
  margin: 0;
  letter-spacing: 0.04em;
}

/* ===========================
   1-2. 会員ログイン導線
=========================== */

.ms-login-cta {
  background-color: #1a3a6c;
}

.ms-login-cta__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ms-login-cta__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  letter-spacing: 0.02em;
}

.ms-login-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  background-color: #c0401a;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.ms-login-cta__btn:hover {
  background-color: #a8360d;
  color: #ffffff;
}

@media (max-width: 600px) {
  .ms-login-cta__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px 20px;
  }

  .ms-login-cta__text {
    font-size: 14px;
  }
}

/* ===========================
   2. 会員制度の目的
=========================== */

.ms-purpose {
  background-color: #ffffff;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
}

.ms-purpose__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  gap: 72px;
  align-items: center;
}

.ms-purpose__text {
  flex: 1;
}

.ms-purpose__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ms-purpose__body p {
  font-size: 15px;
  line-height: 2;
  color: rgb(89, 89, 89);
  margin: 0;
}

.ms-purpose__visual {
  flex: 0 0 380px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.ms-purpose__img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}

/* ===========================
   3. 会員制度のメリット
=========================== */

.ms-benefits {
  background-color: #fafafa;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
}

.ms-benefits__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 30px;
}

.ms-benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  counter-reset: benefit-counter;
}

.ms-benefit {
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  counter-increment: benefit-counter;
  overflow: hidden;
}

.ms-benefit::before {
  content: "0" counter(benefit-counter);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 32px;
  font-weight: 700;
  color: rgba(192, 64, 26, 0.07);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ms-benefit__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ms-benefit__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #c0401a;
  margin-top: 2px;
  background: rgba(192, 64, 26, 0.07);
  border-radius: 8px;
  padding: 6px;
  box-sizing: content-box;
}

.ms-benefit__title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.ms-benefit__title span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #c0401a;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.ms-benefit__desc {
  font-size: 13px;
  line-height: 1.9;
  color: rgb(89, 89, 89);
  margin: 0;
}

/* ===========================
   4. 専門家・メンター陣
=========================== */

.ms-mentors {
  background-color: #ffffff;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
}

.ms-mentors__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

.ms-mentors__label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #c0401a;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(192, 64, 26, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ms-mentors__heading {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.ms-mentors__rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, #c0401a, rgba(192, 64, 26, 0.3));
  margin: 0 auto 28px;
  border-radius: 1px;
}

.ms-mentors__intro {
  font-size: 14px;
  line-height: 2;
  color: #777;
  max-width: 740px;
  margin: 0 auto 64px;
}

.ms-mentor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
  text-align: center;
}

.ms-mentor-card__photo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  background-color: #f0ede8;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 5px rgba(192, 64, 26, 0.2);
}

.ms-mentor-card__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ms-mentor-card__role {
  font-size: 11px;
  font-weight: 700;
  color: #c0401a;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.ms-mentor-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
}

.ms-mentor-card__title {
  font-size: 12px;
  color: #888;
  line-height: 1.8;
  margin: 0;
}

.ms-mentors__sub-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #e0e0e0 20%,
    #e0e0e0 80%,
    transparent
  );
  margin: 0 0 48px;
}

.ms-mentor-minis {
  display: flex;
  justify-content: center;
  gap: 0;
}

.ms-mentor-mini {
  text-align: center;
  padding: 20px 48px;
  border-right: 1px solid #ebebeb;
}

.ms-mentor-mini:first-child {
  border-left: 1px solid #ebebeb;
}

.ms-mentor-mini__role {
  font-size: 11px;
  font-weight: 700;
  color: #c0401a;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}

.ms-mentor-mini__name {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.12em;
  margin: 0;
}

/* ===========================
   5. 会員プラン一覧
=========================== */

.ms-plans {
  background-color: #fafafa;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
}

.ms-plans__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 30px;
}

.ms-plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 20px;
  align-items: start;
  margin-top: 12px;
  padding: 28px 0 16px;
}

.ms-plan-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  border-top: 4px solid #c8c8c8;
}

.ms-plan-card--featured {
  border: 2px solid #c0401a;
  border-top: 4px solid #c0401a;
  transform: translateY(-14px);
  box-shadow: 0 12px 40px rgba(192, 64, 26, 0.16);
  background: linear-gradient(180deg, #fffaf8 0%, #ffffff 50%);
}

.ms-plan-card__recommend {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #c0401a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 22px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(192, 64, 26, 0.4);
}

.ms-plan-card__head {
  text-align: center;
  margin-bottom: 20px;
}

.ms-plan-card__name {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.ms-plan-card__name--featured {
  font-size: 20px;
  color: #c0401a;
}

.ms-plan-card__type {
  font-size: 11px;
  color: #aaa;
  margin: 0;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.ms-plan-card__price-block {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.ms-plan-card__price-label {
  font-size: 11px;
  font-weight: 700;
  color: #bbb;
  margin: 0 0 4px;
  letter-spacing: 0.06em;
}

.ms-plan-card__price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}

.ms-plan-card__price-num {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ms-plan-card__price-num--featured {
  font-size: 44px;
  color: #c0401a;
}

.ms-plan-card__price-unit {
  font-size: 15px;
  font-weight: 700;
  color: #555;
  padding-bottom: 4px;
}

.ms-plan-card__price-unit--featured {
  font-size: 18px;
  color: #c0401a;
}

.ms-plan-card__price-note {
  font-size: 11px;
  color: #c0401a;
  margin: 0 0 12px;
  line-height: 1.7;
}

.ms-plan-card__price-note--muted {
  color: #bbb;
}

.ms-plan-card__entry-fee {
  display: inline-block;
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #666;
}

.ms-plan-card__entry-fee span {
  font-size: 10px;
  font-weight: 400;
  color: #aaa;
}

.ms-plan-card__entry-fee--featured {
  background-color: #fff0eb;
  color: #c0401a;
  border: 1px solid rgba(192, 64, 26, 0.18);
}

.ms-plan-card__entry-fee--featured span {
  color: rgba(192, 64, 26, 0.65);
}

.ms-plan-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.ms-plan-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #444;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.ms-plan-card__feature:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ms-plan-card__feature svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #c0c0c0;
  margin-top: 2px;
}

.ms-plan-card__feature--accent svg {
  color: #c0401a;
}

.ms-plan-card__feature div {
  flex: 1;
  line-height: 1.5;
}

.ms-plan-card__feature div span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.ms-plan-card__feature--accent div span {
  color: rgba(192, 64, 26, 0.7);
}

.ms-plan-card__feature em {
  font-style: normal;
  font-size: 11px;
  color: #c0401a;
}

.ms-plan-card__feature--disabled {
  opacity: 0.3;
}

.ms-plans__footnote {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin: 36px 0 0;
}

/* ===========================
   6. ご入会の流れ
=========================== */

.ms-flow {
  background-color: #ffffff;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
}

.ms-flow__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 30px;
}

.ms-flow__timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.ms-flow__line {
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, #d0d8e8, #e8d0c8);
  transform: translateX(-50%);
  border-radius: 1px;
}

.ms-flow__step {
  position: relative;
  margin-bottom: 32px;
}

.ms-flow__step:last-child {
  margin-bottom: 0;
}

.ms-flow__step-num {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background-color: #1a3a6c;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  z-index: 2;
  border: 5px solid #ffffff;
  box-sizing: content-box;
  box-shadow: 0 2px 8px rgba(26, 58, 108, 0.3);
}

.ms-flow__step-num--complete {
  background-color: #c0401a;
  box-shadow: 0 2px 8px rgba(192, 64, 26, 0.35);
}

.ms-flow__step-num--complete svg {
  width: 18px;
  height: 18px;
}

.ms-flow__step-body {
  width: calc(50% - 46px);
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ms-flow__step-body--final {
  border-left: 4px solid #c0401a;
}

.ms-flow__step--right .ms-flow__step-body {
  margin-left: calc(50% + 46px);
}

.ms-flow__step--left .ms-flow__step-body {
  margin-left: 0;
}

.ms-flow__step-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a3a6c;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.ms-flow__step-desc {
  font-size: 13px;
  color: #777;
  line-height: 1.8;
  margin: 0;
}

/* ステップ内のテキストリンク（入会申込書ダウンロード） */
.ms-flow__step-link {
  display: inline-block;
  margin-top: 8px;
  color: #c0401a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ms-flow__step-link:hover {
  color: #a03415;
}

/* 入会申込書ダウンロードボタン */
.ms-flow__download {
  text-align: center;
  margin-top: 44px;
}

.ms-flow__download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #c0401a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 15px 36px;
  text-decoration: none;
  border-radius: 4px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(192, 64, 26, 0.25);
}

.ms-flow__download-btn::before {
  content: "↓";
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
}

.ms-flow__download-btn:hover {
  background-color: #a03415;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192, 64, 26, 0.35);
}

/* ===========================
   7. 会員規程（スクロール）
=========================== */

.ms-rules {
  background-color: #fafafa;
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
}

.ms-rules__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 30px;
}

.ms-rules__scroll {
  max-height: 340px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  -webkit-overflow-scrolling: touch;
}

.ms-rules__content {
  font-size: 14px;
  line-height: 1.9;
  color: rgb(89, 89, 89);
}

.ms-rules__content p {
  margin: 0 0 1em;
}

.ms-rules__meta {
  margin-bottom: 1.6em !important;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.ms-rules__article {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  margin: 1.8em 0 0.6em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #eee;
}

.ms-rules__article:first-of-type {
  margin-top: 0;
}

.ms-rules__sub {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin: 1.2em 0 0.4em;
}

.ms-rules__list,
.ms-rules__list-sub {
  list-style: none;
  margin: 0 0 1em;
  padding-left: 0;
}

.ms-rules__list > li,
.ms-rules__list-sub > li {
  position: relative;
  margin-bottom: 0.4em;
  padding-left: 1.2em;
}

.ms-rules__list > li::before,
.ms-rules__list-sub > li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: inherit;
}

.ms-rules__list-sub {
  margin: 0.4em 0 0;
}

.ms-rules__table-wrap {
  overflow-x: auto;
  margin: 0 0 1.2em;
}

.ms-rules__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
}

.ms-rules__table th,
.ms-rules__table td {
  border: 1px solid #e8e8e8;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.ms-rules__table th {
  background-color: #333333;
  color: #ffffff;
  font-weight: 700;
}

.ms-rules__table tr:nth-child(even) td {
  background-color: #f7f7f7;
}

/* ===========================
   8. お問い合わせ・フォーム
=========================== */

.ms-contact {
  background-color: #ffffff;
  padding: 80px 0 96px;
  border-top: 1px solid #f0f0f0;
}

.ms-contact__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ダウンロードエリア */
.ms-contact__downloads {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ms-contact__dl-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ms-contact__dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #c0401a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 13px 28px;
  text-decoration: none;
  border-radius: 3px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(192, 64, 26, 0.25);
}

.ms-contact__dl-btn::before {
  content: "↓";
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
}

.ms-contact__dl-btn:hover {
  background-color: #a03415;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192, 64, 26, 0.35);
}

/* フォーム */
.ms-form {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 40px 48px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ms-form__row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 0;
  gap: 24px;
}

.ms-form__row:first-child {
  padding-top: 0;
}

.ms-form__label {
  width: 160px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  padding-top: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ms-form__required {
  display: inline-block;
  background-color: #c0401a;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.ms-form__field {
  flex: 1;
}

.ms-form__input,
.ms-form__textarea {
  width: 100%;
  background-color: #fafafa;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  font-family: inherit;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}

.ms-form__input:focus,
.ms-form__textarea:focus {
  outline: none;
  border-color: #c0401a;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(192, 64, 26, 0.08);
}

.ms-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.ms-form__submit-wrap {
  text-align: center;
  padding-top: 36px;
}

.ms-form__submit {
  background-color: #c0401a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 16px 72px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 3px 12px rgba(192, 64, 26, 0.28);
}

/* ===========================
   CF7 スタイル調整
=========================== */

/* CF7 ラッパーのリセット */
.ms-form .wpcf7 {
  margin: 0;
  padding: 0;
}

.ms-form .wpcf7-form p {
  margin: 0;
}

/* バリデーションエラー */
.ms-form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0401a;
  margin-top: 4px;
  display: block;
}

.ms-form .wpcf7-not-valid {
  border-color: #c0401a !important;
}

/* 送信後のレスポンスメッセージ */
.ms-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  font-size: 13px;
  border-radius: 4px;
  border: none;
}

.ms-form .wpcf7-mail-sent-ok {
  background-color: #f0faf0;
  color: #2d7a2d;
  border-left: 4px solid #2d7a2d;
}

.ms-form .wpcf7-mail-sent-ng,
.ms-form .wpcf7-aborted {
  background-color: #fff4f0;
  color: #c0401a;
  border-left: 4px solid #c0401a;
}

.ms-form .wpcf7-spam-blocked,
.ms-form .wpcf7-validation-errors {
  background-color: #fffbf0;
  color: #8a6800;
  border-left: 4px solid #e6b800;
}

/* ==============================================
   レスポンシブ: タブレット（769px〜1024px）
============================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .ms-hero {
    padding: 48px 0;
  }

  .ms-hero__inner,
  .ms-purpose__inner,
  .ms-benefits__inner,
  .ms-mentors__inner,
  .ms-plans__inner,
  .ms-flow__inner,
  .ms-rules__inner,
  .ms-contact__inner {
    padding: 0 32px;
  }

  .ms-hero__heading {
    font-size: 48px;
  }

  .ms-hero__catch {
    padding: 36px 40px;
  }

  .ms-purpose {
    padding: 64px 0;
  }

  .ms-purpose__inner {
    gap: 40px;
  }

  .ms-purpose__visual {
    flex: 0 0 280px;
  }

  .ms-benefits {
    padding: 64px 0;
  }

  .ms-mentors {
    padding: 64px 0;
  }

  .ms-mentor-cards {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .ms-mentor-minis {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ms-plans {
    padding: 64px 0;
  }

  .ms-plan-cards {
    gap: 0 12px;
  }

  .ms-flow {
    padding: 64px 0;
  }

  .ms-contact {
    padding: 64px 0 80px;
  }

  .ms-form {
    padding: 32px 36px;
  }
}

/* ==============================================
   レスポンシブ: スマートフォン（〜768px）
============================================== */
@media (max-width: 768px) {
  /* ──────────────────────────────
       共通
    ────────────────────────────── */
  .ms-heading {
    font-size: 28px;
  }

  /* ──────────────────────────────
       1. ヒーロー
    ────────────────────────────── */
  .ms-hero {
    padding: 40px 0 48px;
  }

  .ms-hero__inner,
  .ms-purpose__inner,
  .ms-benefits__inner,
  .ms-mentors__inner,
  .ms-plans__inner,
  .ms-flow__inner,
  .ms-rules__inner,
  .ms-contact__inner {
    padding: 0 16px;
  }

  .ms-rules {
    padding: 56px 0;
  }

  .ms-rules__scroll {
    max-height: 360px;
    padding: 20px 16px;
  }

  .ms-hero__heading {
    font-size: 36px;
    margin-bottom: 28px;
  }

  .ms-hero__catch {
    padding: 28px 20px;
  }

  .ms-hero__catch-title {
    font-size: 18px;
    line-height: 1.6;
  }

  /* ──────────────────────────────
       2. 会員制度の目的
    ────────────────────────────── */
  .ms-purpose {
    padding: 48px 0;
  }

  .ms-purpose__inner {
    flex-direction: column;
    gap: 32px;
  }

  .ms-purpose__visual {
    flex: 0 0 auto;
    width: 100%;
  }

  .ms-purpose__img {
    height: 220px;
  }

  /* ──────────────────────────────
       3. 会員制度のメリット
    ────────────────────────────── */
  .ms-benefits {
    padding: 48px 0;
  }

  .ms-benefits__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ms-benefit {
    padding: 24px 20px;
  }

  /* ──────────────────────────────
       4. 専門家・メンター陣
    ────────────────────────────── */
  .ms-mentors {
    padding: 48px 0;
  }

  .ms-mentor-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ms-mentor-minis {
    flex-direction: column;
    align-items: stretch;
  }

  .ms-mentor-mini {
    padding: 16px 24px;
    border-right: none;
    border-bottom: 1px solid #ebebeb;
  }

  .ms-mentor-mini:first-child {
    border-left: none;
    border-top: 1px solid #ebebeb;
  }

  .ms-mentor-mini:last-child {
    border-bottom: none;
  }

  /* ──────────────────────────────
       5. 会員プラン一覧
    ────────────────────────────── */
  .ms-plans {
    padding: 48px 0;
  }

  .ms-plan-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 8px 0 0;
  }

  /* RECOMMEND バッジ分の余白を上に確保 */
  .ms-plan-card--featured {
    transform: none;
    margin-top: 20px;
  }

  .ms-plan-card__price-num {
    font-size: 28px;
  }

  .ms-plan-card__price-num--featured {
    font-size: 36px;
  }

  /* ──────────────────────────────
       6. ご入会の流れ
          デスクトップ: 中央縦線・左右交互
          SP: 左端縦線・全ステップを右側に
    ────────────────────────────── */
  .ms-flow {
    padding: 48px 0;
  }

  .ms-flow__timeline {
    max-width: 100%;
  }

  /* 縦線を左端（24px）に移動 */
  .ms-flow__line {
    left: 22px;
    transform: none;
  }

  /* ステップ番号を縦線上に配置 */
  .ms-flow__step-num {
    left: 22px;
    top: 8px;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* 全ステップのカードを右側（番号の右）に配置 */
  .ms-flow__step-body {
    width: calc(100% - 64px);
    margin-left: 64px;
    padding: 16px 18px;
  }

  .ms-flow__step--right .ms-flow__step-body {
    margin-left: 64px;
  }

  .ms-flow__step--left .ms-flow__step-body {
    margin-left: 64px;
  }

  .ms-flow__download {
    margin-top: 32px;
  }

  .ms-flow__download-btn {
    width: 100%;
    padding: 15px 24px;
  }

  /* ──────────────────────────────
       7. お問い合わせ・フォーム
    ────────────────────────────── */
  .ms-contact {
    padding: 48px 0 64px;
  }

  /* ダウンロードボタンを縦積み */
  .ms-contact__dl-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ms-contact__dl-btn {
    width: 100%;
    min-width: auto;
    justify-content: center;
  }

  /* フォーム */
  .ms-form {
    padding: 24px 16px;
  }

  /* ラベル + フィールドを縦積みに */
  .ms-form__row {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }

  .ms-form__label {
    width: auto;
    padding-top: 0;
  }

  .ms-form__submit {
    width: 100%;
    padding: 16px 24px;
  }
}
