#keyword #content-block .first-lead {
  text-align: center;
  padding: 100px 0;
  font-weight: 500;
  font-size: clamp(1.475rem, 1.268rem + 0.3vw, 1.7rem);
}
@media screen and (max-width: 767px) {
  #keyword #content-block .first-lead {
    padding: 30px 5%;
  }
}
#keyword #content-block #first {
  margin-bottom: 60px;
}
#keyword #content-block #first .image {
  position: relative;
  border-radius: 15px 15px 0 15px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  #keyword #content-block #first .image {
    height: 180px;
  }
  #keyword #content-block #first .image img {
    -o-object-fit: cover;
       object-fit: cover;
    height: 100%;
    width: 100%;
  }
}
#keyword #content-block #first h2 {
  font-size: clamp(2.45rem, 1.848rem + 0.8vw, 3rem);
  font-weight: bold;
  color: #008B3E;
  line-height: 1.2;
  padding: 17px 32px;
  position: absolute;
  right: 0;
  bottom: 0;
}
@media screen and (max-width: 767px) {
  #keyword #content-block #first h2 {
    font-size: 20px;
  }
}
#keyword #content-block #first h3 {
  text-align: center;
  color: #008B3E;
  font-size: clamp(1.85rem, 1.48rem + 0.5vw, 2.2rem);
}
@media screen and (max-width: 767px) {
  #keyword #content-block #first h3 {
    font-size: 16px;
  }
}
#keyword #content-block #first p {
  text-align: center;
  font-size: clamp(1.325rem, 1.068rem + 0.3vw, 1.5rem);
}
#keyword #keyword-block {
  margin-bottom: 100px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6%;
}
#keyword #keyword-block .box {
  width: 47%;
  position: relative;
}
@media screen and (max-width: 767px) {
  #keyword #keyword-block .box {
    width: 100%;
  }
}
#keyword #keyword-block .box:nth-child(even) {
  margin-top: clamp(80px, 9vw, 150px);
}
@media screen and (max-width: 767px) {
  #keyword #keyword-block .box {
    margin-top: 60px !important;
  }
}
#keyword #keyword-block .box .num {
  position: absolute;
  top: -23px;
  left: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #008B3E;
  color: #fff;
  width: 90px;
  height: 90px;
  text-align: center;
  font-size: 14px;
  border-radius: 5px;
  z-index: 1;
}
#keyword #keyword-block .box .num span {
  display: block;
  text-align: center;
  font-size: 45px;
  font-weight: 500;
  line-height: 1;
}
#keyword #keyword-block .box .image {
  position: relative;
  border-radius: 15px 15px 0 15px;
  line-height: 0;
  overflow: hidden;
  margin-bottom: 40px;
}
#keyword #keyword-block .box .image h3 {
  font-size: clamp(2.45rem, 1.848rem + 0.8vw, 3rem);
  font-weight: bold;
  color: #008B3E;
  line-height: 1.2;
  padding: 17px 32px;
  position: absolute;
  right: 0;
  bottom: 0;
}
@media screen and (max-width: 767px) {
  #keyword #keyword-block .box .image h3 {
    font-size: 20px;
  }
}
#keyword #keyword-block .box p {
  font-size: clamp(1.325rem, 1.068rem + 0.3vw, 1.5rem);
}

#message #content-block {
  padding-block: 60px;
}
#message #content-block .inner {
  background: #F1F5F2;
  border-radius: 15px;
  max-width: 832px;
  padding: 70px 8vw;
}
#message #content-block .inner h2 {
  font-size: clamp(2.825rem, 2.06rem + 1vw, 3.5rem);
  font-weight: bold;
  color: #008B3E;
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  #message #content-block .inner h2 {
    font-size: clamp(2.45rem, 1.848rem + 0.8vw, 3rem);
  }
}
#message #content-block .inner p {
  font-size: clamp(1.325rem, 1.068rem + 0.3vw, 1.5rem);
  margin-bottom: 2rem;
}

#reason #content-block {
  position: relative;
  padding-block: 140px 50px;
}
@media screen and (max-width: 767px) {
  #reason #content-block {
    padding-top: 80px;
  }
}
#reason #content-block .scroll-text {
  top: 5rem;
}
@media screen and (max-width: 767px) {
  #reason #content-block .scroll-text {
    top: 0;
  }
}
#reason #content-block h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(2.45rem, 1.848rem + 0.8vw, 3rem);
  font-weight: bold;
  gap: 14px;
  margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
  #reason #content-block h2 {
    font-size: clamp(2rem, 1.536rem + 0.6vw, 2.4rem);
    margin-bottom: 50px;
  }
}
#reason #content-block h2 .en {
  background-color: #008B3E;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  font-size: clamp(1.7rem, 1.424rem + 0.4vw, 2rem);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  line-height: 1;
}
#reason #content-block .cards-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 5%;
}
@media screen and (max-width: 960px) {
  #reason #content-block .cards-block {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  #reason #content-block .cards-block {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
#reason #content-block .cards-block .card {
  position: relative;
  background-color: #F1F5F2;
  border-radius: 15px;
  padding: 0 35px 76px;
  cursor: pointer;
  transition: all 0.1s ease;
  margin-bottom: 50px;
}
@media screen and (max-width: 767px) {
  #reason #content-block .cards-block .card {
    margin-bottom: 50px;
  }
}
#reason #content-block .cards-block .card:hover {
  box-shadow: inset 0 0 0 4px #008B3E;
}
#reason #content-block .cards-block .card:hover img {
  opacity: 1;
}
#reason #content-block .cards-block .card .answer {
  position: relative;
  background-color: #008B3E;
  color: #fff;
  font-size: clamp(1.4rem, 0.936rem + 0.6vw, 1.8rem);
  font-weight: 500;
  text-align: center;
  padding: 15px 25px;
  border-radius: 15px;
  transform: translateY(-30px);
}
@media screen and (max-width: 767px) {
  #reason #content-block .cards-block .card .answer {
    font-size: clamp(1.4rem, 1.168rem + 0.3vw, 1.6rem);
  }
}
#reason #content-block .cards-block .card .answer::after {
  content: "";
  display: block;
  position: absolute;
  width: 11px;
  height: 11px;
  background-color: #008B3E;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  bottom: -11px;
  left: 40%;
}
#reason #content-block .cards-block .card .image {
  width: 100%;
  position: absolute;
  left: 5px;
  bottom: 5px;
  max-height: 360px;
  height: 30vw;
}
@media screen and (max-width: 920px) {
  #reason #content-block .cards-block .card .image {
    left: 5%;
  }
}
@media screen and (max-width: 767px) {
  #reason #content-block .cards-block .card .image {
    height: 40vh;
  }
}
#reason #content-block .cards-block .card .profile {
  width: 66%;
  margin-left: auto;
  margin-top: 30px;
  font-size: clamp(1.175rem, 1.012rem + 0.2vw, 1.3rem);
}
@media screen and (max-width: 767px) {
  #reason #content-block .cards-block .card .profile {
    margin-top: 0;
  }
}
#reason #content-block .cards-block .card .profile .name {
  font-size: clamp(1.475rem, 1.268rem + 0.3vw, 1.7rem);
  font-weight: 500;
}
#reason #content-block .cards-block .card .profile .position {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
#reason #content-block .cards-block .card .profile .position::after {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 1px;
  background-color: #000;
  bottom: 0;
  left: 0px;
}
#reason #content-block .cards-block .card .oc {
  position: absolute;
  width: 80px;
  height: 40px;
  border-radius: 100px;
  background-color: #008B3E;
  bottom: 22px;
  right: -14px;
}
@media screen and (max-width: 767px) {
  #reason #content-block .cards-block .card .oc {
    right: -5px;
  }
}
#reason #content-block .cards-block .card .oc::before {
  content: "";
  display: block;
  position: absolute;
  height: 16px;
  width: 1px;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#reason #content-block .cards-block .card .oc::after {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 1px;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#reason #content-block .cards-block .card#card02 .image {
  left: -10%;
}
@media screen and (max-width: 920px) {
  #reason #content-block .cards-block .card#card02 .image {
    left: 0;
  }
}
#reason #content-block .cards-block .card#card04 .image {
  left: -8%;
}
@media screen and (max-width: 920px) {
  #reason #content-block .cards-block .card#card04 .image {
    left: 0;
  }
}
#reason #content-block .cards-block .card#card10 .image {
  left: -10%;
}
@media screen and (max-width: 920px) {
  #reason #content-block .cards-block .card#card10 .image {
    left: 0;
  }
}
#reason #content-block .cards-block .card#card11 .image {
  left: -15%;
}
@media screen and (max-width: 920px) {
  #reason #content-block .cards-block .card#card11 .image {
    left: -5%;
  }
}

.modal .modal-close {
  z-index: 2;
}

.modal-content {
  position: relative;
  background: #fff url(/assets/image/modal-bg.webp) no-repeat center bottom 20px/100% auto;
  border-radius: 15px;
  padding: 0 5% 0px 0;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .modal-content {
    background: #fff url(/assets/image/atfirst/reason/modal-bg-sp2.png) no-repeat center bottom/100% auto;
  }
  .modal-content::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(/assets/image/atfirst/reason/modal-bg-sp1.png) no-repeat center top 100px/100% auto;
    z-index: -1;
  }
}
.modal-content .layout {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  .modal-content .layout {
    flex-direction: column;
    gap: 20px;
  }
}
.modal-content .layout .left {
  position: relative;
  width: 45%;
}
@media screen and (max-width: 767px) {
  .modal-content .layout .left {
    width: 100%;
  }
}
.modal-content .layout .left .image {
  width: 80%;
  max-width: 340px;
  left: 0;
  line-height: 0;
}
@media screen and (max-width: 767px) {
  .modal-content .layout .left .image {
    width: 100%;
    text-align: center;
  }
  .modal-content .layout .left .image img {
    max-width: 170px;
    margin: auto;
  }
}
.modal-content .layout .left .profile {
  position: absolute;
  width: 50%;
  min-width: 170px;
  bottom: 50px;
  right: 0;
  font-size: clamp(1.175rem, 1.012rem + 0.2vw, 1.3rem);
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 10px;
}
@media screen and (max-width: 960px) {
  .modal-content .layout .left .profile {
    width: 90%;
    bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .modal-content .layout .left .profile {
    width: 90%;
    margin-left: 5%;
    margin-top: -30px;
    position: static;
  }
}
.modal-content .layout .left .profile .name {
  font-size: clamp(1.475rem, 1.268rem + 0.3vw, 1.7rem);
  font-weight: 500;
}
.modal-content .layout .left .profile .position {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.modal-content .layout .left .profile .position::after {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 1px;
  background-color: #000;
  bottom: 0;
  left: 0px;
}
.modal-content .layout .right {
  flex: 1;
  padding: 5rem 0 2rem;
}
@media screen and (max-width: 767px) {
  .modal-content .layout .right {
    padding: 5%;
  }
}
.modal-content .layout .right h3 {
  font-size: clamp(1.7rem, 1.424rem + 0.4vw, 2rem);
  font-weight: 500;
  color: #008B3E;
  margin-bottom: 1rem;
}
.modal-content .layout .right p {
  font-size: clamp(1.325rem, 1.068rem + 0.3vw, 1.5rem);
  margin-bottom: 20px;
  font-weight: 400;
}

#modal10 .modal-content .layout .left .image {
  max-width: none;
  width: 100%;
}