
body {
  margin: 0;
  font-family: 'Yu Gothic', 'Helvetica Neue', sans-serif;
  background-color: #c7d1d9;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background-color: #fff;
  text-align: center;
  padding: 10px 0;
}

.header-logo {
  width: 400px;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 0px 0px 0px;
  box-sizing: border-box;
  background-color: #fff;
}

.bg-dark {
  background-color: #171e3a;
  padding: 40px 0;
}

.content-img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

picture.content-img {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.cta-wrapper {
  text-align: center;
  padding: 80px 0 90px 0;
  background-color: #fff;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(to right, #28c76f, #00b894);
  color: #fff;
  font-weight: bold;
  font-size: 35px;
  padding: 20px 30px;
  border-radius: 999px;
  text-decoration: none;
  width: 600px;
  max-width: 90%;
  text-align: center;
  transition: background 0.3s, transform 0.2s;
  border: 1px solid green;
  text-shadow: 3px 1px 20px #333;
}

.cta-button:hover {
  background: linear-gradient(to right, #00b894, #28c76f);
  transform: scale(1.03);
}

.summary {
  max-width: 1000px;
  margin: 40px auto 80px auto;
  padding: 30px 50px 100px 50px;
  background-color: #fff;
  color: #333;
  font-size: 16px;
}

.text-title {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 50px;
}

.sub-title {
  font-size: 20px;
  font-weight: bold;
  display: block;
  text-align: center;
}

footer {
  padding: 30px 15px;
  background-color: #f1f3f6;
  text-align: center;
  font-size: 14px;
  color: #666;
}

footer img {
  margin-bottom: 10px;
  width: 800px;
  display: inline-block;
}

/* コンテント画像（top.png以外） */
picture.content-img {
  max-width: 1300px;       /* コンテンツ幅に制限 */
  margin: 0 auto;
  padding: 0;              /* 余白をなくして幅いっぱいに */
}

picture.content-img img {
  width: 100%;             /* 親要素（max-width: 1200px）いっぱいに広げる */
  height: auto;
  display: block;
}


.text-title {
  position: relative;
  display: inline-block;
  padding: 0 55px;
}

.text-title:before, .text-title:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}

.text-title:before {
  left:0;
}
.text-title:after {
  right: 0;
}

.center{
  text-align:center;
}
.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(to right, #28c76f, #00b894);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-button:hover {
  opacity: 0.9;
  transform: scale(1.03);
}


.floating-bottom-button {
  display: none;
}

@media (max-width: 768px) {
  .floating-button{
    display:none;
  }
  .floating-bottom-button {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #28c76f, #00b894);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 16px 0;
    text-decoration: none;
    z-index: 9999;
  }

  .floating-bottom-button:hover {
    opacity: 0.9;
  }
 footer {
  padding: 30px 15px 50px 15px;
} 
}


@media (max-width: 768px) {
  .cta-button {
    width: 90%;
    font-size: 18px;
    padding: 20px 0;
  }

  .summary {
    font-size: 14px;
    padding: 30px 30px;
  }

  .text-title {
    font-size: 20px;
  }

  .sub-title {
    font-size: 18px;
  }
 .summary {
  padding: 0px 20px 50px 20px;
} 
.header-logo {
  width: 400px;
  margin: 0 auto;
}

.cta-wrapper {
  text-align: center;
  padding: 30px 0 40px 0;
  background-color: #fff;
}
.sp-margin{
  margin-bottom: 20px;
}
.text-title {
  margin-bottom: 0px;
}
}
@media (max-width: 500px) {
 
.header-logo {
  width: 70%;
  margin: 0 auto;
  padding: 0px;
}
.header-logo {
  margin: 0,auto;
}

header {
  background-color: #fff;
  text-align: center;
  padding: 8px 0;
}
}
