/*
Theme Name: Konerudo
*/
main li {
  font-size: 1.2rem;
}
.keiei-main {
  background-color: #fafaf8;
  font-family: "Noto Sans JP", sans-serif;
}
.keiei-main .keiei-section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.keiei-main .keiei-section-title .title-english {
  font-size: 1.5rem;
  color: #f0a30a;
  display: block;
}

.keiei-reason,
.keiei-problem,
.keiei-solution,
.keiei-flow,
.keiei-faq {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.keiei-hero {
  background-position: right -15vw top -15vw;
  background-repeat: no-repeat;
  background-size: 100vw;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 10vw;
}

.keiei-hero-content {
  color: #333;
}

.keiei-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: 1rem;
}
.keiei-hero-content p {
  font-size: 1.5rem;
  font-weight: 700;
  color: #74512b;
}

.keiei-hero-content .site-name {
  font-size: 2.5rem;
  font-weight: 700;
  background-color: #95c11f;
  color: white;
  padding: 8px 9vw 8px;
  margin-bottom: 20px;
  border-radius: 0 50px 50px 0;
  margin-left: -10vw;
}

@media (max-width: 768px) {
  .keiei-hero {
    height: 50vh;
  }
  .keiei-hero-content h1 {
    font-size: 2rem;
    margin: 0;
  }
  .keiei-hero-content .site-name {
    font-size: 1.5rem;
  }
  .keiei-hero-content p {
    font-size: 1.5rem;
    margin: 0;
  }
  .keiei-hero-content .site-name {
    display: inline-block;
    margin-bottom: 0;
  }
}

/* Reason Section */
.keiei-reason {
  padding: 80px 0;
  background-image: url("../img/keiei/reason_background.png");
  background-size: contain;
  background-position: center;
  background-position-y: 30vh;
  background-repeat: no-repeat;
}
.keiei-reason-logo {
  text-align: center;
  height: 20vh;
}
.keiei-reason-logo img {
  height: 100%;
}

.keiei-reason-content ol {
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
}

.keiei-reason-content li {
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 8px;
  background: linear-gradient(transparent 50%, #ecdb9f 50%);
}

@media (max-width: 768px) {
  .keiei-reason {
    padding-top: 0;
    background-position-y: 15vh;
  }
  .keiei-main .keiei-section-title {
    font-size: 1.5rem;
  }
  .keiei-reason-content li {
    font-size: 1.3rem;
    margin-left: 2em;
  }
}
/* Problem Section */
.keiei-problem {
  padding: 80px 0;
  margin: 0;
  background: #fff;
  max-width: 100vw;
}

.keiei-problem-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.keiei-problem-cards .card {
  width: 22%;
  overflow: hidden;
  min-width: 300px;
}

.keiei-problem-cards .card-title {
  padding: 8px;
  background: #fafaf8;
  border-radius: 15px;
}

.keiei-problem-cards .card-title h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.keiei-problem-cards .card-content {
  padding: 30px;
}

.keiei-problem-cards .card-content ul {
  list-style: none;
  padding-left: 0;
}
.card-content ul li {
  position: relative;
  padding-left: 24px;
}
.card-content ul li strong {
  text-decoration: underline;
}
.card-content ul li::before {
  content: "☑";
  position: absolute;
  left: 0;
  top: 2px;
  color: #3a3a3a;
  font-size: 18px;
}
.card-image img {
  width: 60%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .keiei-problem-cards .card {
    width: 100%;
  }
}

/* Solution Section */
.keiei-solution {
  padding: 80px 0;
  position: relative;
}

.keiei-solution::before {
  content: ""; /* 疑似要素には必須 */
  position: absolute;
  top: calc(150px / 2);
  left: 50%;

  /* 中央に配置するための調整 */
  transform: translate(-50%, -100%);

  clip-path: polygon(0 0, 100% 0, 50% 100%);
  height: calc(150px / 2);
  width: 150px;
  background: #fff;
}

.keiei-solution .solution-text {
  text-align: center;
  margin-bottom: 40px;
}

.keiei-solution-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.solution-button {
  background-color: #fff;
  border: 2px solid #ffdb00;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.2rem;
  width: 200px;
  text-align: center;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .solution-button {
    width: 30%;
  }
}

/* Flow Section */
.keiei-flow {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.keiei-flow-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.keiei-flow-steps .step {
  border: 2px solid #ffdb00;
  padding: 30px 18px 8px;
  border-radius: 10px;
  width: calc(100% / 3 - 20px * 3);
  position: relative;
  box-sizing: border-box;
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .keiei-flow-steps .step {
    width: 80%;
  }
}
.keiei-flow-steps .step h3 {
  text-align: center;
  height: 2.5em;
  margin: 0.5em;
}

.keiei-flow-steps .step-number {
  position: absolute;
  top: -22px;
  left: calc(50% - 22px);
  background-color: #ffef8e;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}
.keiei-flow-steps .step .step-image img {
  width: 25%;
  display: block;
  margin: 0 auto;
}

.keiei-flow-steps .step ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin: 0 0 0 -1em;
}

.keiei-flow-steps .step li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.5em;
  font-size: 1.1rem;
}

.keiei-flow-steps .step li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* FAQ Section */
.keiei-faq {
  padding: 80px 8px;
}

/* CTA Section */
.keiei-cta {
  background-image: url(../img/keiei/cta_background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.keiei-cta-container {
  padding: 80px 8px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.keiei-cta-content {
  width: 70%;
}
.keiei-cta-image {
  width: 30%;
  display: flex;
  align-items: end;
  justify-content: center;
}
.keiei-cta-image img {
  width: 100%;
}
.keiei-cta-content p {
  font-size: 1.25rem;
}
.keiei-cta .keiei-section-title {
  text-align: left;
  width: 100%;
}
.keiei-cta .cta-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .keiei-cta-content,
  .keiei-cta-content {
    width: 100%;
  }
}
