/* 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 24px 60px;
}

.ms-hero__inner {
    max-width: 960px;
    margin: 0 auto;
}

.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;
}

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

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

.ms-purpose__inner {
    max-width: 960px;
    margin: 0 auto;
    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 24px;
    border-top: 1px solid #f0f0f0;
}

.ms-benefits__inner {
    max-width: 960px;
    margin: 0 auto;
}

.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 24px;
    border-top: 1px solid #f0f0f0;
}

.ms-mentors__inner {
    max-width: 960px;
    margin: 0 auto;
    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 24px;
    border-top: 1px solid #f0f0f0;
}

.ms-plans__inner {
    max-width: 1040px;
    margin: 0 auto;
}

.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;
}

.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;
}

.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 24px;
    border-top: 1px solid #f0f0f0;
}

.ms-flow__inner {
    max-width: 800px;
    margin: 0 auto;
}

.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;
}

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

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

.ms-contact__inner {
    max-width: 720px;
    margin: 0 auto;
}

/* ダウンロードエリア */
.ms-contact__downloads {
    background: #ffffff;
    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;
}
