/* ========================================
   index.css - i.surala.jp トップページ
======================================== */

/* --- Page Base --- */
html, body {
  min-height: 100%;
}

body {
  background: linear-gradient(to right, #c5e6f8, #eaf2e1);
  background-attachment: fixed;
}

/* --- Main Wrapper --- */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  /* 高さは中身に合わせて可変 */
  padding: 80px 0 60px;
}

.hero__inner {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

/* キャッチコピー */
.hero__catch {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: #2a2f41;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

/* SVGロゴ */
.hero__logo {
  display: block;
  max-width: 480px;
  margin: 0 auto 48px;
}

.hero__logo img {
  display: block;
  width: 100%;
  height: auto; /* 高さは画像に合わせて可変 */
}

/* モックアップ画像 */
.hero__mockup {
  display: block;
  max-width: 700px;
  margin: 0 auto 64px;
}

.hero__mockup img {
  display: block;
  width: 100%;
  height: auto; /* 高さは画像に合わせて可変 */
}

/* ========================================
   CTA BUTTONS
======================================== */
.cta {
  padding: 0 0 80px;
}

.cta__inner {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}

.cta__btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  max-width: 100%;
  min-height: 70px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #2a2f40;
  text-align: center;
  background-color: #b7e300;
  border-radius: 100px;
  padding: 14px 32px;
  transition: opacity 0.3s;
}

.cta__btn:hover {
  opacity: 0.8;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  /* background-color: #2a2f40 は base.min.css に任せる */
  padding: 48px 0 40px;
  text-align: center;
}

.footer__inner {
  display: block;
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

.footer__company {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 20px;
  text-align: center;
}

.footer__company a {
  color: #fff;
  text-decoration: none;
}

.footer__company a:hover {
  opacity: 0.6;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 24px;
}

.footer__nav a {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  text-decoration: none;
  padding: 4px 12px;
  transition: opacity 0.3s;
}

.footer__nav a:hover {
  opacity: 0.6;
}

.footer__nav a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.footer__copy {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  text-align: center;
}

/* ========================================
   SP改行用ユーティリティ
   使い方: <br class="br-sp"> でSPのみ改行
======================================== */
.br-sp {
  display: none;
}

/* ========================================
   RESPONSIVE - SP (767px以下)
======================================== */
@media only screen and (max-width: 767px) {

  .hero {
    padding: 60px 0 40px;
  }

  .hero__catch {
    font-size: 16px;
  }

  .hero__logo {
    max-width: 280px;
    margin: 0 auto 36px;
  }

  .hero__mockup {
    max-width: 100%;
    margin: 0 auto 48px;
  }

  .cta {
    padding: 0 0 60px;
  }

  .cta__btn {
    width: 100%;
    max-width: 375px;
    font-size: 18px;
    min-height: 64px;
  }

  .footer {
    padding: 40px 0 32px;
  }

  .footer__company {
    font-size: 15px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 2px;
  }

  .footer__nav a + a {
    border-left: none;
    border-top: none;
  }

  .footer__nav a {
    font-size: 12px;
    padding: 2px 8px;
  }

  /* SP改行を有効化 */
  .br-sp {
    display: inline;
  }

}