@charset "utf-8";

/* ============================================================
   MEMBER（member.php ＋ index.php の会員セクション）
   CONCEPT / SHOP INFO / RESERVATION と同じ
   明朝（Shippori Mincho B1 / Noto Serif JP）＋ Castoro Titling の文字組みに揃える。

   ※ <a> と <button> は style.css:84-98 のリセット対象外で content-box のままなので、
     幅とパディングを併用する箇所では box-sizing を明示している。
   ============================================================ */

.member {
  max-width: 900px;
  margin: 0 auto;
  color: #3a3230;
}

/* ---- リード ------------------------------------------------ */

.member__lead {
  text-align: center;
  margin-bottom: 44px;
}

.member__catch {
  font-family: "Shippori Mincho B1", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  color: #2e2725;
}

.member__catch::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background: #f17066;
  margin: 22px auto 0;
}

.member__text {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.03em;
  margin: 0;
  color: #4a423f;
}

/* ---- メリット ---------------------------------------------- */

.member__merits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0 0 50px;
  padding: 0;
}

.member__merit {
  background: #fff;
  border: 1px solid rgba(58, 50, 48, 0.14);
  border-radius: 4px;
  padding: 26px 20px 24px;
  text-align: center;
}

.member__meritIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(241, 112, 102, 0.1);
  color: #f17066;
  font-size: 20px;
}

.member__meritTitle {
  font-family: "Shippori Mincho B1", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin: 0 0 10px;
  color: #2e2725;
}

.member__meritText {
  font-family: "Noto Serif JP", serif;
  font-size: 13.5px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  margin: 0;
  color: #4a423f;
  text-align: left;
}

/* ---- 登録の流れ -------------------------------------------- */

.member__flow {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(58, 50, 48, 0.15);
  padding: 34px 38px;
  margin-bottom: 44px;
}

.member__flowHead {
  text-align: center;
  margin-bottom: 26px;
}

.member__flowEn {
  display: block;
  font-family: "Castoro Titling", serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #b89a95;
  margin-bottom: 6px;
}

.member__flowTitle {
  font-family: "Shippori Mincho B1", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
  color: #2e2725;
}

.member__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.member__step {
  text-align: center;
  position: relative;
}

/* ステップ間の矢印 */
.member__step + .member__step::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -15px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #cbbdba;
  border-right: 1px solid #cbbdba;
  transform: rotate(45deg);
}

.member__stepNum {
  display: inline-block;
  font-family: "Castoro Titling", serif;
  font-size: 15px;
  line-height: 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f17066;
  color: #fff;
  margin-bottom: 12px;
}

.member__stepTitle {
  font-family: "Shippori Mincho B1", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0 0 6px;
  color: #2e2725;
}

.member__stepText {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  line-height: 1.85;
  margin: 0;
  color: #6b605d;
}

/* ---- CTA --------------------------------------------------- */

.member__cta {
  text-align: center;
  margin-bottom: 44px;
}

.member__ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  padding: 18px 20px;
  border-radius: 100px;
  background: #f17066;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.member__ctaBtn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* 登録済みの方向けのログインボタン。
   「登録」と並べたときに主従がはっきりするよう、こちらは白抜きにしている */
.member__ctaBtn + .member__ctaBtn {
  margin-top: 12px;
}

.member__ctaBtn--login {
  background: #fff;
  color: #f17066;
  border: 1px solid #f17066;
}

.member__ctaNote {
  font-family: "Noto Serif JP", serif;
  font-size: 12.5px;
  line-height: 1.9;
  color: #a89b98;
  margin: 14px 0 0;
}

/* ---- 補足・旧サービス案内 ---------------------------------- */

.member__notice {
  border-top: 1px solid rgba(58, 50, 48, 0.15);
  padding-top: 26px;
}

.member__noticeTitle {
  font-family: "Shippori Mincho B1", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  color: #6b605d;
}

.member__noticeText {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  line-height: 1.95;
  margin: 0 0 16px;
  color: #6b605d;
}

.member__noticeText:last-child {
  margin-bottom: 0;
}

/* ---- TOPの会員セクション ----------------------------------- */
/* member.php より項目を絞った要約版 */

.member--top .member__merits {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 34px;
}

.member--top .member__cta {
  margin-bottom: 0;
}

/* ---- SP ---------------------------------------------------- */

@media (max-width: 768px) {
  .member__lead {
    margin-bottom: 30px;
  }

  .member__catch {
    font-size: 20px;
    line-height: 1.8;
  }

  .member__text {
    font-size: 13.5px;
    line-height: 1.95;
    text-align: left;
  }

  /* メリットは2列。3列だと文字が詰まる */
  .member__merits {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 34px;
  }

  .member--top .member__merits {
    grid-template-columns: repeat(2, 1fr);
  }

  .member__merit {
    padding: 20px 14px 18px;
  }

  .member__meritIcon {
    width: 44px;
    height: 44px;
    font-size: 17px;
    margin-bottom: 10px;
  }

  .member__meritTitle {
    font-size: 15px;
  }

  .member__meritText {
    font-size: 12.5px;
    line-height: 1.85;
  }

  .member__flow {
    padding: 24px 18px;
    margin-bottom: 32px;
  }

  .member__flowTitle {
    font-size: 18px;
  }

  /* ステップは縦積み。矢印も下向きに向け直す */
  .member__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .member__step + .member__step::before {
    top: -14px;
    left: 50%;
    margin-left: -4px;
    transform: rotate(135deg);
  }

  .member__ctaBtn {
    font-size: 15.5px;
    padding: 16px 16px;
  }
}
