/* ========================================
   TOPページ共通設定
======================================== */

.section {
  width: min(1180px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.sectionHeading {
  text-align: center;
}

.sectionLabel {
  margin: 0 0 12px;
  color: #758cab;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.sectionHeading h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.1em;
}

.sectionHeading > p:last-child {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
}

.spOnly {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 17px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #082c6b, #00327c);
  box-shadow: 0 12px 30px rgba(2, 42, 101, 0.14);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  transition:
    opacity 0.25s,
    transform 0.25s;
}

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

.button span {
  font-size: 22px;
  line-height: 1;
}

.textLink {
  display: inline-block;
  padding: 0 4px 7px;
  border-bottom: 1px solid #8194ad;
  font-size: 12px;
  font-weight: 700;
  transition: opacity 0.25s;
}

.textLink:hover {
  opacity: 0.6;
}


/* ========================================
   メインビジュアル
======================================== */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  min-height: 585px;
  padding-left: 13.5vw;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 70% 46%,
      #f3f8fd 0,
      transparent 34%
    ),
    linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 43%,
      #f7faff 100%
    );
}

.heroCopy {
  position: relative;
  z-index: 3;
  padding-bottom: 8px;
}

.heroBadge {
  width: 108px;
  height: 108px;
  margin: 0 0 20px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(2, 42, 101, 0.18);
}

.eyebrow {
  margin: 0 0 0px 0px;
  font-size: 18px;
}

.eyebrow span {
  margin-left: 8px;
  font-size: 26px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(39px, 4.2vw, 62px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.12em;
}

.lead {
  margin: 0 0 34px;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.1;
  letter-spacing: 0.08em;
}

.heroVisual {
  position: relative;
  align-self: stretch;
  height: 100%;
}

.heroVisual::before {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 -30%;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.1) 35%,
    transparent
  );
  content: "";
  pointer-events: none;
}

.heroVisual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% center;
  filter: saturate(0.8) brightness(1.03);
}


/* ========================================
   大切にしていること
======================================== */

.valueSection {
  padding-top: 90px;
  padding-bottom: 90px;
}

.valueIntro {
  max-width: 760px;
  margin: 30px auto 42px;
  text-align: center;
}

.valueIntro p {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.15;
}

.valueIntro p:last-child {
  margin-bottom: 0;
}

.valueCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.valueCards article {
  position: relative;
  min-height: 210px;
  padding: 36px 34px;
  overflow: hidden;
  border: 1px solid #e1e8f1;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 15px 45px rgba(8, 40, 95, 0.055);
}

.valueCards article > span {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #e3eaf3;
  font-family: Georgia, serif;
  font-size: 34px;
}

.valueCards h3 {
  margin: 28px 0 15px;
  font-size: 20px;
  font-weight: 500;
}

.valueCards p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 2;
}


/* ========================================
   月200件の強み
======================================== */

.matchingFeature {
  background: linear-gradient(
    120deg,
    #06265f,
    #0b438c
  );
  color: #ffffff;
}

.matchingFeatureInner {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.matchingFeature .sectionLabel {
  color: #b9cdeb;
}

.matchingCopy h2 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.6;
}

.matchingCopy > p:last-child {
  max-width: 390px;
  margin: 0;
  font-size: 12px;
  line-height: 2;
}

.matchingNumbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.matchingNumbers article {
  padding: 27px 18px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.matchingNumbers small {
  font-size: 12px;
}

.matchingNumbers p {
  margin: 8px 0 0;
  line-height: 1;
}

.matchingNumbers strong {
  color: #ffffff;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 58px;
  font-weight: 400;
}

.matchingNumbers b {
  margin-left: 4px;
  font-size: 16px;
}


/* ========================================
   7つのサポート
======================================== */

.supportSection {
  padding-top: 92px;
  padding-bottom: 92px;
  text-align: center;
}

.supportGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 42px 0 34px;
  text-align: left;
}

.supportGrid article {
  position: relative;
  min-height: 225px;
  padding: 28px 24px;
  border-radius: 12px;
  background: #f5f8fc;
}

.supportGrid article > span {
  display: block;
  margin-bottom: 26px;
  color: #7e94b2;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.supportGrid article > b {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #d6e0ed;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.supportGrid h3 {
  margin: 0 0 13px;
  font-size: 17px;
  font-weight: 500;
}

.supportGrid p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.9;
}

.supportGrid article:last-child {
  grid-column: 2 / 4;
}


/* ========================================
   代表あいさつ
======================================== */

.greeting {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 55px;
  padding-top: 82px;
  padding-bottom: 82px;
  border-top: 1px solid #edf1f6;
}

.profile {
  text-align: center;
}

.profile h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 500;
}

.profile i {
  display: block;
  width: 30px;
  height: 1px;
  margin: 17px auto 28px;
  background: #06265f;
}

.profile img {
  width: 290px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 5px;
  object-fit: cover;
}

.message {
  padding-top: 22px;
}

.message h2 {
  margin: 0 0 22px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.7;
}

.message p {
  margin: 0 0 15px;
  font-size: 13px;
  font-weight: 600;
  line-height: 2.15;
}

.signature {
  margin-top: 28px;
  font-size: 23px;
  letter-spacing: 0.16em;
}

.signature small {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
}


/* ========================================
   ご成婚までの流れ
======================================== */

.flowSection {
  padding-top: 82px;
  padding-bottom: 82px;
  border-top: 1px solid #edf1f6;
  text-align: center;
}

.stepGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 40px;
  max-width: 850px;
  margin: 38px auto 30px;
}

.step {
  position: relative;
}

.step > b {
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.step > span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 10px auto;
  border-radius: 50%;
  background: #f4f6fa;
  color: #0c3677;
  font-size: 27px;
}

.stepIcon svg {
  width: 34px;
  height: 34px;
}

.step p {
  margin: 8px -5px;
  font-size: 10px;
  font-weight: 700;
}

.step em {
  position: absolute;
  top: 51px;
  right: -5px;
  font-size: 22px;
  font-style: normal;
}


/* ========================================
   無料相談
======================================== */

.contactSection {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 42px;
  padding: 29px 48px;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    #f5f8fc,
    #edf3fa
  );
}

.contactDecoration {
  color: #90a9ce;
  font-family: Georgia, serif;
  font-size: 58px;
  text-align: center;
}

.contactCopy h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 500;
}

.contactCopy p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}


/* ========================================
   タブレット
======================================== */

@media (max-width: 980px) {
  .section {
    width: min(100% - 56px, 1180px);
  }

  .hero {
    grid-template-columns: 54% 46%;
    min-height: 500px;
    padding-left: 5vw;
  }

  .hero h1 {
    font-size: 36px;
  }

  .valueCards {
    gap: 14px;
  }

  .matchingFeatureInner {
    grid-template-columns: 40% 60%;
  }

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

  .supportGrid article:last-child {
    grid-column: auto;
  }

  .greeting {
    grid-template-columns: 36% 64%;
    gap: 35px;
  }

  .contactSection {
    grid-template-columns: 70px 1fr;
  }

  .contactSection .button {
    grid-column: 1 / 3;
    justify-self: center;
  }
}


/* ========================================
   スマートフォン
======================================== */

@media (max-width: 700px) {
  .section {
    width: calc(100% - 44px);
  }

  .spOnly {
    display: block;
  }

  .sectionHeading h2 {
    font-size: 23px;
  }

  .sectionHeading > p:last-child {
    font-size: 11px;
  }

  .hero {
    display: flex;
    align-items: flex-start;
    min-height: 710px;
    padding: 50px 24px 0;
    background: linear-gradient(
      90deg,
      #eff6fc 0%,
      #dde6f6 100%
    );
  }

  .heroCopy {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
    padding-bottom: 0;
  }

  .heroBadge {
    grid-row: 1 / 3;
    grid-column: 1;
    width: 90px;
    height: 84px;
    margin: 0px 10px 0px 10px;
  }

  .eyebrow {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 4px;
    font-size: 14px;
  }

  .hero h1 {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 26px;
    line-height: 1.5;
    letter-spacing: 0.08em;
  }

  .lead {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.9;
  }

  .lead br {
    display: none;
  }

  .heroVisual {
    position: absolute;
    right: -18%;
    bottom: 0;
    left: 28%;
    height: 60%;
    opacity: 0.9;
  }

  .heroVisual::before {
    display: none;
  }

  .heroVisual img {
    object-position: 44% center;
  }

  .button {
    gap: 10px;
    padding: 15px 23px;
    font-size: 12px;
  }

  .valueSection {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .valueIntro {
    margin: 25px 0 32px;
    text-align: left;
  }

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

  .valueIntro br {
    display: none;
  }

  .valueCards {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .valueCards article {
    min-height: auto;
    padding: 27px 24px;
  }

  .valueCards h3 {
    margin: 20px 0 10px;
  }

  .matchingFeatureInner {
    grid-template-columns: 1fr;
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .matchingCopy h2 {
    font-size: 25px;
  }

  .matchingNumbers {
    gap: 10px;
    margin-top: 32px;
  }

  .matchingNumbers article {
    padding: 22px 8px;
  }

  .matchingNumbers small {
    font-size: 10px;
  }

  .matchingNumbers strong {
    font-size: 39px;
  }

  .supportSection {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .supportGrid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .supportGrid article {
    min-height: auto;
    padding: 25px 22px;
  }

  .supportGrid article > span {
    margin-bottom: 18px;
  }

  .greeting {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .profile img {
    width: 250px;
  }

  .message {
    padding-top: 0;
  }

  .message h2 {
    font-size: 21px;
  }

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

  .flowSection {
    padding-top: 62px;
    padding-bottom: 62px;
    overflow: hidden;
  }

  .stepGrid {
    grid-template-columns: repeat(5, 110px);
    justify-content: flex-start;
    max-width: none;
    margin-top: 28px;
    padding: 0 10px 15px;
    overflow-x: auto;
  }

  .step em {
    right: -2px;
  }

  .contactSection {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    margin-bottom: 24px;
    padding: 25px 20px;
  }

  .contactDecoration {
    font-size: 42px;
  }

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

  .contactCopy p {
    font-size: 10px;
    line-height: 1.8;
  }

  .contactSection .button {
    grid-column: 1 / 3;
    width: 100%;
  }
}


/* ========================================
   動きを減らす設定
======================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* ========================================
   SUPPORT・写真付きカード
======================================== */

.supportFeatureSection {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #eaf2fb 0%,
      #f7faff 48%,
      #edf4fb 100%
    );
}

.supportFeatureSection::before {
  position: absolute;
  top: -170px;
  right: -130px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(8, 44, 107, 0.08);
  border-radius: 50%;
  content: "";
}

.supportFeatureSection::after {
  position: absolute;
  bottom: -210px;
  left: -170px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(8, 44, 107, 0.07);
  border-radius: 50%;
  content: "";
}

.supportFeatureInner {
  position: relative;
  z-index: 2;
}

.supportFeatureHeading {
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: end;
  margin-bottom: 48px;
}

.supportFeatureTitle {
  padding-right: 50px;
}

.supportFeatureTitle h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.1em;
}

.supportFeatureLead {
  padding: 6px 0 6px 48px;
  border-left: 1px solid #a8bad1;
}

.supportFeatureLead p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 2;
}

.supportFeatureLead p:last-child {
  margin-bottom: 0;
}

.supportFeatureGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.supportFeatureCard {
  overflow: hidden;
  border: 1px solid #d6e1ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(6, 38, 95, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.supportFeatureCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 23px 55px rgba(6, 38, 95, 0.13);
}

.supportFeatureImage {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #dfe9f5;
}

.supportFeatureImage::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(
    transparent,
    rgba(3, 28, 72, 0.32)
  );
  content: "";
  pointer-events: none;
}

.supportFeatureImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s;
}

.supportFeatureCard:hover .supportFeatureImage img {
  transform: scale(1.035);
}

.supportFeatureNumber {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #073676;
  box-shadow: 0 6px 18px rgba(3, 30, 75, 0.2);
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 17px;
  letter-spacing: 0.05em;
}

.supportFeatureBadge {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(3, 30, 75, 0.18);
  color: #073676;
  font-size: 12px;
  font-weight: 700;
}

.supportFeatureBadge strong {
  margin: 0 3px;
  color: #b4822f;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 25px;
  font-weight: 500;
}

.supportFeatureContent {
  padding: 30px 32px 34px;
}

.supportFeatureEnglish {
  margin: 0 0 10px;
  color: #b4822f;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.supportFeatureContent h3 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 17px;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.supportFeatureContent h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 2px;
  background: #b89251;
  content: "";
}

.supportFeatureContent > p:not(.supportFeatureEnglish) {
  margin: 0;
  color: #344c70;
  font-size: 12px;
  font-weight: 600;
  line-height: 2;
}

.supportFeatureCardStrong {
  border-top: 5px solid #b89251;
}

.supportFeatureCardWide {
  display: grid;
  grid-column: 1 / 3;
  grid-template-columns: 45% 55%;
}

.supportFeatureCardWide .supportFeatureImage {
  height: 100%;
  min-height: 330px;
}

.supportFeatureCardWide .supportFeatureContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 48px;
}

.supportFeatureLink {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding: 13px 22px;
  border: 1px solid #0a397a;
  border-radius: 999px;
  color: #073676;
  font-size: 11px;
  font-weight: 700;
  transition:
    background 0.25s,
    color 0.25s;
}

.supportFeatureLink:hover {
  background: #073676;
  color: #ffffff;
}

.supportFeatureLink span {
  font-size: 18px;
}


/* ========================================
   SUPPORT・タブレット
======================================== */

@media (max-width: 980px) {
  .supportFeatureHeading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .supportFeatureTitle {
    padding-right: 0;
  }

  .supportFeatureLead {
    padding-left: 24px;
  }

  .supportFeatureImage {
    height: 220px;
  }
}


/* ========================================
   SUPPORT・スマートフォン
======================================== */

@media (max-width: 700px) {
  .supportFeatureSection {
    padding: 68px 0;
  }

  .supportFeatureHeading {
    margin-bottom: 34px;
  }

  .supportFeatureTitle h2 {
    font-size: 25px;
  }

  .supportFeatureLead {
    padding: 0;
    border-left: none;
  }

  .supportFeatureLead p {
    font-size: 11px;
  }

  .supportFeatureGrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .supportFeatureImage {
    height: 210px;
  }

  .supportFeatureNumber {
    top: 14px;
    left: 14px;
    width: 46px;
    height: 46px;
    font-size: 14px;
  }

  .supportFeatureBadge {
    right: 13px;
    bottom: 13px;
    padding: 8px 12px;
    font-size: 10px;
  }

  .supportFeatureBadge strong {
    font-size: 20px;
  }

  .supportFeatureContent {
    padding: 25px 23px 28px;
  }

  .supportFeatureContent h3 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .supportFeatureContent > p:not(.supportFeatureEnglish) {
    font-size: 11px;
  }

  .supportFeatureCardWide {
    display: block;
    grid-column: auto;
  }

  .supportFeatureCardWide .supportFeatureImage {
    height: 210px;
    min-height: 0;
  }

  .supportFeatureCardWide .supportFeatureContent {
    display: block;
    padding: 25px 23px 28px;
  }

  .supportFeatureCardWide .supportFeatureLink {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0 0;
  }
}

/* ========================================
   代表あいさつ・新デザイン
======================================== */

.greetingFeatureSection {
  position: relative;
  padding: 105px 0;
  overflow: hidden;
  background: #ffffff;
}

.greetingFeatureSection::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 32%;
  height: 100%;
  background: #f4f7fb;
  content: "";
}

.greetingFeatureInner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: 75px;
}

.greetingFeatureVisual {
  position: relative;
  padding: 0 0 42px 28px;
}

.greetingFeaturePhoto {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 390px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(7, 45, 101, 0.14);
}

.greetingFeaturePhoto::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.greetingFeaturePhoto img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.greetingFeaturePhotoLabel {
  position: absolute;
  z-index: 3;
  right: -5px;
  bottom: 0;
  min-width: 245px;
  padding: 20px 24px;
  border-radius: 6px;
  background: #073676;
  box-shadow: 0 12px 30px rgba(7, 45, 101, 0.2);
  color: #ffffff;
}

.greetingFeaturePhotoLabel span {
  display: block;
  margin-bottom: 7px;
  color: #d6b67a;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.greetingFeaturePhotoLabel p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

.greetingFeatureContent {
  position: relative;
  padding: 20px 20px 20px 0;
}

.greetingFeatureTitle {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.1em;
}

.greetingFeatureLine {
  width: 65px;
  height: 2px;
  margin: 26px 0 30px;
  background: linear-gradient(
    90deg,
    #b68a3d,
    #dfc99f
  );
}

.greetingFeatureText {
  max-width: 650px;
}

.greetingFeatureText p {
  margin: 0 0 17px;
  color: #344c70;
  font-size: 13px;
  font-weight: 600;
  line-height: 2.15;
}

.greetingFeatureText p:last-child {
  margin-bottom: 0;
}

.greetingFeatureSignature {
  margin-top: 32px;
}

.greetingFeatureSignature small {
  display: block;
  margin-bottom: 8px;
  color: #7185a1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.greetingFeatureSignature p {
  margin: 0;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.greetingFeatureHeart {
  position: absolute;
  right: 5px;
  bottom: -65px;
  color: rgba(7, 54, 118, 0.08);
  font-family: Georgia, serif;
  font-size: 170px;
  line-height: 1;
  transform: rotate(10deg);
  pointer-events: none;
}


/* ========================================
   代表あいさつ・タブレット
======================================== */

@media (max-width: 980px) {
  .greetingFeatureInner {
    grid-template-columns: 42% 58%;
    gap: 42px;
  }

  .greetingFeatureVisual {
    padding-left: 0;
  }

  .greetingFeaturePhotoLabel {
    right: -15px;
    min-width: 210px;
  }

  .greetingFeatureTitle {
    font-size: 25px;
  }
}


/* ========================================
   代表あいさつ・スマートフォン
======================================== */

@media (max-width: 700px) {
  .greetingFeatureSection {
    padding: 68px 0;
  }

  .greetingFeatureSection::before {
    width: 100%;
    height: 44%;
  }

  .greetingFeatureInner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .greetingFeatureVisual {
    width: calc(100% - 18px);
    max-width: 390px;
    margin: 0 auto;
    padding: 0 0 36px;
  }

  .greetingFeaturePhoto {
    max-width: none;
  }

  .greetingFeaturePhotoLabel {
    right: -18px;
    min-width: 205px;
    padding: 17px 19px;
  }

  .greetingFeatureContent {
    padding: 0;
  }

  .greetingFeatureTitle {
    font-size: 22px;
    line-height: 1.75;
  }

  .greetingFeatureLine {
    margin: 22px 0 25px;
  }

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

  .greetingFeatureHeart {
    right: -25px;
    bottom: -45px;
    font-size: 125px;
  }
}

/* ========================================
   月200件・スマホ表示調整
======================================== */

@media (max-width: 700px) {
  .matchingNumbers {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 8px;
  }

  .matchingNumbers article {
    min-width: 0;
    padding: 22px 5px;
  }

  .matchingNumbers p {
    white-space: nowrap;
  }

  .matchingNumbers strong {
    font-size: 36px;
  }

  .matchingNumbers b {
    margin-left: 2px;
    font-size: 13px;
  }
}

/* ========================================
   無料相談：アイコン削除後のレイアウト
======================================== */

.contactSection {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.contactCopy {
  min-width: 0;
}

.contactCopy h2 {
  margin-bottom: 10px;
}

.contactCopy p {
  margin: 0;
}

.contactSection .button {
  min-width: 320px;
}

/* スマホ */
@media (max-width: 700px) {
  .contactSection {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .contactSection .button {
    width: 100%;
    min-width: 0;
  }
}

/* ========================================
   ご成婚までの流れ：スマホ縦並び
======================================== */

@media (max-width: 700px) {
  .stepGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
    padding: 0 20px;
  }

  .step {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-areas:
      "icon number"
      "icon title";
    column-gap: 18px;
    align-items: center;
    padding: 14px 0;
    text-align: left;
  }

  .step b {
    grid-area: number;
    align-self: end;
    margin: 0 0 3px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .step span {
    grid-area: icon;
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    margin: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f4f6fb;
    font-size: 25px;
  }

  .stepIcon svg {
    width: 28px;
    height: 28px;
  }

  .step p {
    grid-area: title;
    align-self: start;
    margin: 3px 0 0;
    font-size: 15px;
    line-height: 1.6;
  }

  /* 丸と丸をつなぐ縦線 */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 35px;
    top: 72px;
    width: 1px;
    height: calc(100% - 44px);
    background: #cbd6e8;
  }

  /* HTMLに矢印が入っている場合は非表示 */
  .step em {
    display: none;
  }

  .flowFull .textLink {
    display: table;
    margin: 28px auto 0;
  }
}

/* ========================================
   代表あいさつ：スマホ表示順
======================================== */

/* PCでは追加見出しを非表示 */
.greetingFeatureMobileHeading {
  display: none;
}

@media (max-width: 700px) {
  .greetingFeatureInner {
    display: flex;
    flex-direction: column;
  }

  /* スマホだけ表示する「代表あいさつ」 */
  .greetingFeatureMobileHeading {
    display: block;
    order: 1;
    margin: 0 0 28px;
    color: #06346f;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 0.08em;
  }

  /*
   * Contentの外箱だけを透明化して、
   * 中の要素をそれぞれ並べ替えられるようにする
   */
  .greetingFeatureContent {
    display: contents;
  }

  .greetingFeatureContent .sectionLabel {
    order: 2;
    margin: 0 0 12px;
  }

  .greetingFeatureTitle {
    order: 3;
    margin: 0;
  }

  .greetingFeatureLine {
    order: 4;
    margin: 24px 0 30px;
  }

  /* 見出しとコピーの後に写真を配置 */
  .greetingFeatureVisual {
    order: 5;
    margin-bottom: 36px;
  }

  .greetingFeatureText {
    order: 6;
  }

  .greetingFeatureSignature {
    order: 7;
  }

  .greetingFeatureContent .supportFeatureLink {
    order: 8;
    align-self: center;
    justify-content: center;
    margin-top: 20px;
    text-align: center;
    width: 320px;
  }

  .greetingFeatureHeart {
    order: 9;
  }
}

/* ========================================
   代表あいさつ：スマホ余白調整
======================================== */

@media (max-width: 700px) {
  .greetingFeatureInner.section {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .greetingFeatureMobileHeading {
    margin-bottom: 0px;
  }

  .greetingFeatureContent .sectionLabel {
    margin-bottom: 8px;
  }

  .greetingFeatureTitle {
    margin-bottom: 0;
    font-size: 20px;
    text-align: center;
  }

  .greetingFeatureLine {
    margin: 0px 0 0px;
  }

  .greetingFeatureVisual {
    margin-bottom: 26px;
  }

  .greetingFeatureText {
    margin-top: 0;
  }
  
}

/* ========================================
   無料相談：スマホ中央揃え修正
======================================== */

@media (max-width: 700px) {
  .contactSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .contactCopy {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    transform: none;
  }

  .contactCopy h2,
  .contactCopy p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .contactSection .button {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }
}

/* ========================================
   ファーストビュー：スマホのボタン調整
======================================== */

@media (max-width: 700px) {
  .heroCopy {
    width: 100%;
  }

  .heroCopy .button {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 60px;
    margin: 34px auto 0;
    padding: 16px 24px;
    font-size: 14px;
    text-align: center;
  }
}

/* ========================================
   ファーストビュー：スマホボタンを写真下へ
======================================== */

/* PCでは写真下のボタンを隠す */
.heroButtonSp {
  display: none;
}

@media (max-width: 700px) {
  /* スマホではコピー内のボタンを隠す */
  .heroButtonPc {
    display: none;
  }

  /* 写真下のスマホ用ボタンを表示 */
  .heroButtonSp {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    width: calc(100% - 56px);
    min-width: 0;
    min-height: 60px;
    margin: 24px auto 40px;
    padding: 16px 24px;
    font-size: 14px;
    text-align: center;
  }
}

/* ========================================
   ファーストビュー：スマホ最終配置
======================================== */

@media (max-width: 700px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 50px 24px 0;
    overflow: hidden;
  }

  .heroCopy {
    width: 100%;
  }

  .heroButtonPc {
    display: none;
  }

    /* 写真を少し上へ移動 */
  .heroVisual {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% + 48px);
    height: 420px;
    margin: 0 -24px 0;
    opacity: 1;
  }

  .heroVisual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: -150% center;
  }

  /* 写真下部に重ねるスマホ用ボタン */
  .heroButtonSp {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 60px;
    margin: -30px auto 40px;
    padding: 16px 24px;
    font-size: 14px;
    text-align: center;
  }
}
/* スマホ：コピー内にある上のボタンを非表示 */
@media (max-width: 700px) {
  .heroCopy .heroButtonPc {
    display: none;
  }
}

