* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #333;
  background: #f8f7f2;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, li {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

.lp {
  overflow: hidden;
}

.section-image,
.section-image picture,
.section-image img {
  display: block;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 28px;
  background: #f6f6f6;
  backdrop-filter: none;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.site-header h1 a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header h1 img {
  width: 150px;
}

.site-header h1 span {
  color: #fff;
  background: #ef8fa0;
  font-size: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.gnav ul {
  display: flex;
  gap: 28px;
}

.gnav a,
.footer-nav a,
.gnav-sp-menu a {
  font-size: 14px;
  font-weight: 700;
  color: #6d5b4d;
}

#navArea {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
}

.gnav-sp {
  position: fixed;
  inset: 0;
  background: rgba(248,247,242,.98);
  padding: 90px 24px 32px;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
}

#navArea.is-open .gnav-sp {
  opacity: 1;
  visibility: visible;
}

.gnav-sp-menu {
  display: grid;
  gap: 20px;
}

.gnav-sp-menu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #ddd3c8;
  font-size: 16px;
}

.toggle-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #a7cd96;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  z-index: 1300;
}

.toggle-btn span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: .3s ease;
}

.toggle-btn span:nth-child(1) { top: 16px; }
.toggle-btn span:nth-child(2) { top: 23px; }
.toggle-btn span:nth-child(3) { top: 30px; }

#navArea.is-open .toggle-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#navArea.is-open .toggle-btn span:nth-child(2) { opacity: 0; }
#navArea.is-open .toggle-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.cta-section {
  padding: 60px 16px;
  background: #f8f7f2;
}

.cta-section2 {
  padding: 40px 16px;
  background: #fff4f4;
}

.cta-section3 {
  padding: 40px 16px;
  background: #fdfdeb;
}

.cta-section4 {
  padding: 40px 16px;
  background: #ffffff;
}

.cta-box {
  width: min(100%, 1100px);
  margin: 0 auto;
  text-align: center;
}
.cta-lead {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #7c6b57;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-button {
  min-width: 300px;
  padding: 20px 24px;
  border-radius: 999px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: transform .2s ease, opacity .2s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.cta-section--first {
  padding: 48px 30px;
  background: url("../images/bg-grid.png") center;
}

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

.cta-button--orange {
  background: #f29a38;
  color: #fff;
}

.cta-button--green {
  background: #80ab6d;
  color: #fff;
}

.cta-button--pink {
  background: #fc7a7b;
  color: #fff;
}

.cta-button--outline {
  background: #fff;
  color: #7a6a59;
  border: 2px solid #d8cdbf;
  box-shadow: none;
}

.site-footer {
  background: #f6f6f6;
  border-top: 1px solid #e9e9e9;
  text-align: center;
  padding: 36px 20px 28px;
}

.site-footer__logo img {
  width: 180px;
  margin: 0 auto 22px;
}

.site-footer__nav ul {
  justify-content: center;
  margin-bottom: 18px;
}

.site-footer small {
  display: block;
  font-size: 12px;
  color: #8b6f60;
}

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(248,247,242,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}

.floating-cta__inner {
  width: min(100%, 900px);
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.floating-cta .cta-button {
  min-width: 0;
  width: 100%;
  padding: 14px 12px;
  font-size: 14px;
}

#page-top {
  position: fixed;
  right: 16px;
  bottom: 90px;
  z-index: 998;
}

#page-top a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #6d5b4d;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  font-weight: 700;
}

.footer-space {
  height: 88px;
}

.pc-only { display: block; }
.sp-only { display: none; }

@media (max-width: 767px) {
  .pc-only { display: none !important; }
  .sp-only { display: block !important; }

  .site-header {
    height: 64px;
    padding: 0 14px;
    
  }

  .site-header h1 img {
    width: 128px;
  }

  .site-header h1 span {
    display: none;
  }

  .cta-section {
    padding: 22px 14px;
  }

  .cta-lead {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .cta-buttons {
    gap: 10px;
  }

  .cta-button {
    min-width: 100%;
    padding: 14px 16px;
    font-size: 15px;
  }

  .floating-cta__inner {
    flex-direction: column;
  }


  .footer-space {
    height: 132px;
  }

  #page-top {
    right: 12px;
    bottom: 150px;
  }
}
@media (max-width: 767px) {
  .pc-only { display: none !important; }
  .sp-only { display: block !important; }

  .site-header {
    height: 64px;
    padding: 0 14px;
  }

  .site-header h1 img {
    width: 128px;
  }

  .site-header h1 span {
    display: none;
  }

  /* CTA共通 */
  .cta-section,
  .cta-section2,
  .cta-section3,
  .cta-section4 {
    padding: 22px 14px;
  }

  /* 1つ目のCTAだけ少し広めに調整 */
  .cta-section--first {
    padding: 24px 12px;
    background: url("../images/bg-grid.png") center;
  }

  .cta-box {
    width: 100%;
  }

  .cta-buttons {
    gap: 10px;
    flex-wrap: wrap;
  }

  .cta-button {
    min-width: 85%;
    width: 80%;
    padding: 14px 10px;
    font-size: 18px;
    line-height: 1.4;
  }

  .floating-cta__inner {
    flex-direction: column;
  }

  .footer-space {
    height: 132px;
  }

  #page-top {
    right: 12px;
    bottom: 150px;
  }
}