body {
  font-family: "Arial", sans-serif;
}

.hero {
  position: relative;
  background-image: url("image/topimage.png");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  height: 500px;
  display: flex;
  align-items: center;
}

.hero .overlay {

  padding: 20px;
  max-width: 680px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 28px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.hero h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 15px;
  text-align: center;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}

.hero ul li {
  background: white;
  color: #1f5fae;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin: 8px 5px 0 0;
}


.entry-form {
  background: #f5f7f9;
  text-align: center;
  padding: 40px 20px;
}

.entry-form h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.signup-btn {
  display: inline-block;
  background: #f08100;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  margin-top: 20px;
  transition: background 0.3s;
}

.signup-btn:hover {
  background: #d96e00;
}

.contact-btn {
  display: inline-block;
  background: #1f5fae;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  margin-top: 20px;
  transition: background 0.3s;
}

.contact-btn:hover {
  background: #003d8b;
}

.merit-section {
  padding: 60px 20px;
  margin: 0 200px 0 200px;
}

.merit-box {
  max-width: 1200px;
  margin: 0 auto;
}

.merit-title {
  display: flex;
  align-items: center;
  background: #2266ae;
  color: #fff;
  padding: 30px 40px;
  gap: 30px;
  height: 62px;
}

.circle-number {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  color: #f08100;
  flex-shrink: 0;
  border: 11px solid;
  border-color: #2266ae;
}

.merit-title h2 {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

.merit-content {
  display: flex;
  flex-wrap: wrap;
  background: #f5f7f9;
  padding: 30px;
  gap: 40px;
  align-items: flex-start;
  margin: 0 0 80px 0;
}

.merit-image {
  flex: 1 1 50%;
  min-width: 300px;
}

.merit-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

.merit-points {
  flex: 1 1 45%;
  min-width: 280px;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  align-items: center;
}

.point-label {
  flex-shrink: 0;
  background: #1f5fae;
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 13px;
  display: inline-block;
  white-space: nowrap;
  margin-top: 3px;
  height: 25px;
  display: flex;
  align-items: center;
}

.point p {
  margin: 0;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

.merit-highlight {
  font-size: 28px;
  color: #f08100;
  font-weight: bold;
}

.merit-section h2 {
  font-size: 22px;
  line-height: 1.6;
  text-align: center;
}

.cta-bottom {
  background: #1f5fae;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.cta-bottom h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.cta-phone {
  font-size: 14px;
  margin-top: 10px;
}

.worries-section {
  background: #f9f9f9;
  padding: 60px 20px;
}

.worries-section .highlight {
  font-size: 28px;
  font-weight: bold;
}

.worries-section .blue {
  color: #1f5fae;
}

.worries-section .orange {
  color: #f28c28;
  font-weight: bold;
}

.worries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.worry {
  background: #fff;
  border: 1px solid #ccc;
  border-left: 20px solid #c7ccd1;
  padding: 20px 20px 20px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.worries-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 15px auto;
  text-align: left;
}

.worries-header h2 {
  font-size: 24px;
  line-height: 1.6;
  font-weight: bold;
  color: #222;
}

.worries-header .highlight {
  display: inline-block;
  font-size: 28px;
  font-weight: bold;
}


.onayami {

  height: 214px;
}

.solution-section {
  background-color: #2266ae;
  /* 青背景 */
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.solution-wrapper {
  position: relative;
  display: inline-block;
}

.solution-wrapper .balloon {
  background: #c7ccd1;
  color: #333;
  display: inline-block;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 3px;
  margin-bottom: 20px;
  position: relative;
}

.solution-wrapper .balloon::after {
  content: "";
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  border: 20px solid transparent;
  border-top-color: #c7ccd1;
}

.solution-wrapper h2 {
  font-size: 37px;
  font-weight: bold;
  margin-top: 20px;
  line-height: 1.6;
}

.cost-section {
  text-align: center;
  padding: 0 60px 30px 60px;
  background: #fff;
}

.triangle {
  width: 0;
  height: 0;
  margin: 0 auto 20px;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 40px solid #f08100;
}

.caption-top {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
}

.caption-bottom {
  font-size: 28px;
  font-weight: bold;
  color: #f08100;
  margin: 0;
}

.caption-bottom span {
  font-size: 28px;
  color: #f08100;
}

.flow-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.flow-section h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
}

.flow-step {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f7f9;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.step-number {
  background: #f08100;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  padding: 20px 0 20px;
  min-width: 80px;
  text-align: center;
}

.step-text {
  padding: 0 20px;
  font-size: 17px;
  text-align: left;
  color: #333;
  flex: 1;
}

.step-arrow {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid #c7ccd1;
  margin: 10px auto 30px;
}

.h2_mobile,
.h1_mobile {
  display: none;
}



@media (max-width: 768px) {

  .hero h2 {
    font-size: 29px;
  }

  .h2_mobile,
  .h1_mobile {
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }

  .h2_pc,
  .h1_pc {
    display: none;
  }

  .hero .overlay {
    padding: 0;
  }

  .worries-header h2 {
    font-size: 22px;
    text-align: center;
  }

  .worries-header .highlight {
    font-size: 24px;

  }

  .worries-grid {
    display: block;
  }

  .worry {

    margin: 0 0 10px 0;
  }

  .solution-wrapper h2 {
    font-size: 32px;

  }

  .merit-section {

    margin: 0;
  }

  .merit-title {
    padding: 0;
    gap: 0;

  }

  .circle-number {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .merit-section h2 {
    font-size: 17px;

  }

  .merit-content {

    padding: 13px;
    gap: 15px;
  }

  .point {
    display: block;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    align-items: center;
  }

  .merit-points {
    text-align: center;
  }

  .point-label {
    margin: 10px;
    height: auto;
    display: block;
  }

  .point p {

    font-size: 18px;

  }

  .step-number {

    min-width: auto;
  }
}