@charset "UTF-8";

/* =========================================================
   シンデレラグループ紹介 リニューアルテスト
   /identity/ と共通のページ構成・トーンに合わせた専用スタイル
========================================================= */
.majorTestBody,
.majorContentWrap {
  background-color: #faf6f3;
  color: #4a4341;
  font-family: "Hiragino Maru Gothic ProN", "Noto Sans JP", YuGothic, sans-serif;
}

.majorTestPage {
  --major-pink: #ff6283;
  --major-pink-dark: #eb4e72;
  --major-pink-pale: #fff3f6;
  --major-blue: #70bce2;
  --major-gold: #cca752;
  --major-text: #4a4341;
  --major-muted: #746966;
  --major-border: rgba(242, 161, 181, 0.25);
  --major-border-soft: rgba(242, 161, 181, 0.15);
  --major-shadow: rgba(242, 161, 181, 0.08);
  color: var(--major-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

.majorContentWrap .heading p.intro-text {
  font-size: 15px;
  line-height: 1.9;
}

.majorTestPage,
.majorTestPage * {
  box-sizing: border-box;
}

.majorTestPage a {
  color: inherit;
}

.majorTestPage p {
  font-weight: 500;
}

.majorContainer {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1px 15px 60px;
}

/* identity と同じ二重枠のコンテンツカード */
.majorCard {
  width: 100%;
  max-width: 760px;
  margin: 40px auto;
  padding: 12px;
  border: 1px solid var(--major-border-soft);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px var(--major-shadow);
}

.majorCard > .inner-frame {
  padding: 15px 30px 28px;
  border: 1px solid var(--major-border);
  border-radius: 14px;
}

.majorOverview {
  margin-top: 40px;
}

.majorSectionTitle {
  margin: 0;
  padding: 0 20px 20px;
  text-align: center;
}

.majorSectionTitle h2 {
  display: block;
  width: auto;
  margin: 0 0 15px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--major-blue);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-align: center;
}

.majorSectionTitle h2::before,
.majorSectionTitle h2::after {
  display: none;
}

.majorSectionTitle__en {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.majorSectionTitle__en::before,
.majorSectionTitle__en::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: #b0b0b0;
}

.majorSectionTitle__en::before {
  margin-right: 15px;
}

.majorSectionTitle__en::after {
  margin-left: 15px;
}

.majorSectionTitle__en p {
  margin: 0;
  padding: 0;
  color: #999999;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: capitalize;
}

.majorSectionLead {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--major-muted);
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

.majorSeparator {
  position: relative;
  max-width: 760px;
  margin: 35px auto;
  text-align: center;
}

.majorSeparator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 1px;
  background-color: rgba(242, 161, 181, 0.3);
}

.majorSeparator span {
  position: relative;
  z-index: 2;
  padding: 0 25px;
  background-color: #faf6f3;
  color: var(--major-pink);
  font-size: 14px;
}

/* 数字で見るグループ */
.majorStats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--major-border);
  border-radius: 12px;
  background: #fffaf8;
}

.majorStats__item {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  justify-content: center;
  padding: 22px 12px 18px;
  text-align: center;
}

.majorStats__item + .majorStats__item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: var(--major-border);
}

.majorStats__value {
  color: var(--major-pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}

.majorStats__unit {
  margin: 0 0 4px 4px;
  color: var(--major-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.majorStats__label {
  grid-column: 1 / -1;
  margin-top: 10px;
  color: var(--major-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.majorNote {
  margin: 10px 0 0;
  color: #8a7d79;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

/* ページ内メニュー */
.majorPageNav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 760px;
  margin: 25px auto 0;
  overflow: hidden;
  border: 1px solid var(--major-border);
  border-radius: 12px;
  background: #ffffff;
}

.majorPageNav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 27px 10px 12px;
  color: var(--major-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.majorPageNav a + a {
  border-left: 1px solid var(--major-border);
}

.majorPageNav a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--major-pink);
  border-bottom: 1px solid var(--major-pink);
  transform: translateY(-70%) rotate(45deg);
}

/* ページ内リンク位置 */
#policy,
#merit-01,
#safety,
#faq {
  scroll-margin-top: 110px;
}

/* 集客力 */
.majorEvidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.majorEvidence article {
  padding: 22px 20px;
  border: 1px dashed rgba(242, 161, 181, 0.45);
  border-radius: 10px;
  background-color: rgba(242, 161, 181, 0.04);
}

.majorEvidence__label {
  margin: 0 0 16px;
  color: var(--major-pink);
  font-size: 11px;
  font-weight: 700 !important;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.majorEvidence__number {
  margin: 0 0 14px;
  color: var(--major-pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 400 !important;
  line-height: 1;
}

.majorEvidence__number span {
  margin-left: 5px;
  color: var(--major-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
}

.majorEvidence__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 61px;
  height: 61px;
  margin: 0 0 14px;
  border: 1px solid var(--major-border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--major-pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;
}

.majorEvidence h3 {
  width: auto;
  height: auto;
  margin: 0 0 9px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(242, 161, 181, 0.2);
  border-radius: 0;
  background: none;
  color: var(--major-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  text-indent: 0;
}

.majorEvidence article > p:last-child {
  margin: 0;
  color: var(--major-muted);
  font-size: 15px;
  line-height: 1.9;
}

.majorPoint {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--major-pink-pale);
}

.majorPoint span {
  color: var(--major-pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.majorPoint p {
  margin: 0;
  color: var(--major-text);
  font-size: 15px;
  font-weight: 700 !important;
  line-height: 1.8;
}

.majorMiniPoints {
  border-top: 1px solid var(--major-border);
}

.majorMiniPoints > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px;
  padding: 11px 0;
  border-bottom: 1px solid var(--major-border);
}

.majorMiniPoints span {
  color: var(--major-pink);
  font-size: 11px;
  font-weight: 700;
}

.majorMiniPoints p {
  margin: 0;
  color: var(--major-muted);
  font-size: 15px;
  line-height: 1.9;
}

.majorMiniPoints strong {
  display: block;
  color: var(--major-text);
  font-size: 15px;
  font-weight: 700;
}

.majorTextLink {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 98, 131, 0.35);
  color: var(--major-pink) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.majorTextLink::after {
  content: "→";
  margin-left: 8px;
}

/* 安心・安全 */
.majorSafetyList {
  border-top: 1px solid var(--major-border);
}

.majorSafetyList > section {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 14px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--major-border);
}

.majorSafetyList > section > span {
  color: var(--major-pink);
  font-size: 12px;
  font-weight: 700;
}

.majorSafetyList h3 {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--major-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  text-indent: 0;
}

.majorSafetyList p {
  margin: 5px 0 0;
  color: var(--major-muted);
  font-size: 15px;
  line-height: 1.9;
}

.majorRelatedLinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 24px;
  margin-top: 12px;
}

/* FAQ */
.majorFaqList {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.majorFaqList details {
  border-bottom: 1px solid var(--major-border);
}

.majorFaqList details:first-child {
  border-top: 1px solid var(--major-border);
}

.majorFaqList summary {
  position: relative;
  padding: 16px 44px 16px 38px;
  color: #4a4341;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  list-style: none;
}

.majorFaqList summary::-webkit-details-marker {
  display: none;
}

.majorFaqList summary::before {
  content: "Q.";
  position: absolute;
  top: 16px;
  left: 8px;
  color: var(--major-pink);
}

.majorFaqList summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--major-pink);
  font-size: 21px;
  font-weight: 400;
  transform: translateY(-50%);
}

.majorFaqList details[open] summary::after {
  content: "−";
}

.majorFaqList details > p {
  position: relative;
  margin: 0;
  padding: 0 12px 18px 38px;
  color: var(--major-muted);
  font-size: 15px;
  line-height: 1.9;
}

.majorFaqList details > p::before {
  content: "A.";
  position: absolute;
  top: 0;
  left: 8px;
  color: var(--major-blue);
  font-weight: 700;
}

/* 最終導線 */
.majorClosing {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 36px 42px;
  border: 1px solid var(--major-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px var(--major-shadow);
  text-align: center;
}

.majorClosing__en {
  margin: 0 0 8px;
  color: var(--major-pink);
  font-size: 12px;
  font-weight: 700 !important;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.majorClosing h2 {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--major-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.majorClosing > p:not(.majorClosing__en) {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--major-muted);
  font-size: 15px;
  line-height: 1.9;
}

.majorClosing__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 600px;
  margin: 24px auto 0;
}

.majorButton {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 11px 42px 11px 22px;
  border: 1px solid var(--major-pink);
  border-radius: 40px;
  background: var(--major-pink);
  box-shadow: 0 4px 12px rgba(255, 98, 131, 0.2);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.majorButton::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 23px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.majorButton--secondary {
  border-color: var(--major-blue);
  background: var(--major-blue);
  box-shadow: 0 4px 12px rgba(112, 188, 226, 0.2);
}

@media (hover: hover) {
  .majorPageNav a:hover {
    background-color: var(--major-pink-pale);
  }

  .majorTextLink:hover {
    color: var(--major-pink-dark) !important;
  }

  .majorButton:hover {
    background-color: var(--major-gold);
    border-color: var(--major-gold);
    box-shadow: 0 6px 18px rgba(191, 158, 74, 0.3);
    transform: translateY(-1px);
  }
}

.majorPageNav a:focus-visible,
.majorTextLink:focus-visible,
.majorFaqList summary:focus-visible,
.majorButton:focus-visible {
  outline: 3px solid var(--major-blue);
  outline-offset: 3px;
}

@media screen and (max-width: 980px) {
  .majorContainer {
    padding-right: 12px;
    padding-bottom: 40px;
    padding-left: 12px;
  }

  .majorCard {
    margin-top: 30px;
    margin-bottom: 25px;
    padding: 8px;
  }

  .majorCard > .inner-frame {
    padding: 18px 15px 24px;
    border-radius: 12px;
  }

  .majorSectionTitle {
    padding: 0 15px 15px;
  }

}

@media screen and (max-width: 680px) {
  .majorTestPage {
    font-size: 15px;
  }

  .majorAbout__copy,
  .majorSectionLead {
    text-align: left;
  }

  .majorSectionTitle h2 {
    font-size: 20px;
  }

  .majorSectionTitle__en p {
    font-size: 12px;
  }

  .majorPageNav {
    grid-template-columns: 1fr;
  }

  .majorPageNav a + a {
    border-left: 0;
    border-top: 1px solid var(--major-border);
  }

  .majorStats {
    grid-template-columns: 1fr;
  }

  .majorStats__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: 0;
    row-gap: 8px;
    padding: 14px 18px;
    text-align: center;
  }

  .majorStats__item + .majorStats__item::before {
    top: 0;
    right: 18px;
    bottom: auto;
    left: 18px;
    width: auto;
    height: 1px;
  }

  .majorStats__value {
    font-size: 34px;
  }

  .majorStats__unit {
    margin: 0 0 0 6px;
  }

  .majorStats__label {
    flex: 0 0 100%;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: center;
  }

  .majorEvidence {
    grid-template-columns: 1fr;
  }

  .majorClosing {
    padding: 30px 20px;
  }

  .majorClosing h2 {
    font-size: 22px;
  }

  .majorClosing__actions {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media screen and (max-width: 460px) {
  .majorCard > .inner-frame {
    padding-right: 12px;
    padding-left: 12px;
  }

  .majorSectionTitle {
    padding-right: 4px;
    padding-left: 4px;
  }

  .majorSectionTitle h2 {
    font-size: 18px;
  }

  .majorOverview .majorSectionTitle {
    padding-right: 0;
    padding-left: 0;
  }

  #overview-title {
    margin-bottom: 12px;
    font-size: clamp(16px, 4.8vw, 18px);
    line-height: 1.35;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .majorPageNav a {
    min-height: 54px;
    padding-right: 24px;
    font-size: 11px;
  }

  .majorEvidence article {
    padding: 15px;
  }

  .majorPoint {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .majorRelatedLinks {
    align-items: flex-start;
    flex-direction: column;
  }

  .majorFaqList summary {
    padding-right: 36px;
    padding-left: 34px;
    font-size: 15px;
  }

  .majorFaqList details > p {
    padding-left: 34px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .majorButton {
    transition: none;
  }
}
