@charset "UTF-8";

/* MV */
.mv {
  --mv-margin: 80px;
  position: relative;
  padding-top: var(--header-h);
  height: 700px;
  margin: 0 var(--mv-margin); 
}

.mv_top {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  z-index: 10;
}

.mv_title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mv_title_back {
  display: inline;
  width: fit-content;
  padding: 24px 24px 26px;
  font-size: 40px;
  letter-spacing: 3px;
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0px 0px 15px 2px #BDAA9721;
}

.mv_orange {
  color: #EF5C49;
}

.mv_green {
  color: #00815F;
}

.mv_text p {
  font-size: 19px;
  line-height: 32px;
  letter-spacing: 2px;
  text-shadow: 0px 0px 10px #FFFDEE;
}

.mv_btn p {
  font-family: "BIZ UDGothic", sans-serif;
  font-style: normal;
  display: flex;
  align-items: center;
  background: var(--button-orange);
  height: 65px;
  padding: 0 32px 2px;
  border-radius: 60px;
  color: #FFFFFF;
  font-size: 21px;
  letter-spacing: 0.02em;
}

.mv_bg {
  position: absolute;
  top: 6%;
  right: calc(-1 * var(--mv-margin));
  z-index: 1;
  width: 100%;
  max-width: 1064px;
  aspect-ratio: 600 / 500;
}

#tomato_bg {
  position: absolute;
  max-width: 100%;
  height: auto;
}

#bg1 {
  position: absolute;
  top: 46%;
  right: 50%;
  width: 23.7%;
  max-width: 252px;
  z-index: 5;
}

#bg2 {
  position: absolute;
  top: 25%;
  right: 25%;
  width: 35.9%;
  max-width: 382px;
  z-index: 4;
}

#bg3 {
  position: absolute;
  top: 40%;
  right: 8%;
  width: 25%;
  max-width: 266px;
  z-index: 3;
}

/* news */
.news {
  position: relative;
  display: flex;
  height: 340px;
}

.news_bg {
  position: absolute;
  z-index: 1;
  max-width: 100%;
}

.top_news_area {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 1120px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.top_news {
  position: absolute;
  display: flex;
  flex-direction: column;
  height: fit-content;
  padding: 32px;
  border-radius: 16px;
  width: 875px;
  max-width: calc(100% - 40px);
  background: #FFFFFF;
  box-shadow: 0px 0px 15px 2px #BDAA9721;
  z-index: 10;
  box-sizing: border-box;
}

.news_title_tp {
  display: flex;
  justify-content: space-between;
}

.news_title_tp h2 {
  font-size: 27px;
  letter-spacing: 2px;
}

.news_btn_area {
  display: flex;
  gap: 16px;
}

.news_btn {
  padding: 10px 14px 11px;
  border-radius: 3px;
}

.p_d {
  box-shadow: 0 0 0 1.5px var(--main-color);
  color: var(--main-color);
  font-size: 14px;
  letter-spacing: 1px;
}

.n_a {
  background: var(--main-color);
  color: #FFFFFF;
  font-size: 14px;
  letter-spacing: 1px;
}

.top_news hr {
  border: 1.5px solid #33A95980;
  margin: 16px 0;
}

/* feature */
#feature {
  position: relative;
  padding-top: 120px;
  background-image: url("../img/feature-bg.png");
  background-size: cover;
  z-index: 100;
}

.feature_bg_img {
  position: absolute;
  right: 5%;
}

.feature_bg_img img {
  width: 152px;
}

.feature_flex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 1120px;
  max-width: 100%;
  gap: 40px;
}

.feature_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.feature_icon_circle {
  position: relative;
  width: 125px;
  height: 62.5px;
  border-radius: 50% / 100% 100% 0 0;
  background: #FFFFFF;
  margin-bottom: -2px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature_icon_circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50% / 100% 100% 0 0;
  border: 1px solid #DDF3FE;
  border-bottom: none;
  box-shadow: 0px 0px 8px 0px #315DAF1A;
  clip-path: inset(-20px -20px 0px -20px); /* 影のカットはここだけに適用 */
  z-index: -1; /* 本体の背景色より下、でも親のstacking context内 */
}

.feature_icon_circle img {
  position: relative;
  object-fit: contain;
  top: 30%;
  z-index: 3;
}

.feature_main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  background: #FFFFFF;
  padding: 40px 24px 32px;
  gap: 24px;
  border: 1px solid #DDF3FE;
  box-shadow: 0px 0px 8px 0px #315DAF1A;
  border-radius: 16px;
}

.feature_main_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.feature_main_title span {
  font-size: 18px;
  letter-spacing: 2px;
}

.feature_main_title h3 {
  font-size: 32px;
  letter-spacing: 4px;
}

.feature_main img {
  width: 480px;
  max-width: 100%;
  border-radius: 20px;
}

.feature_main p {
  line-height: 28px;
  letter-spacing: 2px;
  text-align: center;
}

.main_title_ber {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.main_title_ber::before, 
.main_title_ber::after {
  content: "";
  height: 2px;
  flex: 1;
}

.main_title_ber::before {
  margin-right: 15px;
}

.main_title_ber::after {
  margin-left: 15px;
}

.red::before,
.red::after {
  background: #F09393;
}

.gre::before,
.gre::after {
  background: #8CC88C;
}

.our_btn {
  font-family: "BIZ UDGothic", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  padding: 25px 0 26px;
  margin-bottom: 80px;
  background: var(--main-color);
  color: #FFFFFF;
  font-size: 18px;
  letter-spacing: 0.02em;
  border-radius: 60px;
}

/* about_us */
#about_us {
  position: relative;
  z-index: 101;
  background: #D0F3C3;
  padding-bottom: 80px;
}

.about_us_bg_img {
  position: absolute;
  top: -17%;
  max-width: 1400px;
  width: 95%;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.about_us_bg_img img {
  height: clamp(100px, 20vw, 250px);
  max-width: 100%;
  width: auto;
}

.about_flex {
  display: flex;
  justify-content: space-between;
  width: 1120px;
  max-width: 100%;
  gap: 20px;
  padding-bottom: 30px;
}

.about_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  flex: 1 1 0;
  min-width: 0;
}

.about_box_top {
  position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.about_box_top h3 {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(20px, 3vw, 27px);
  letter-spacing: 2px;
  white-space: nowrap;
}

.about_circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEFEE8;width: clamp(120px, 26vw, 340px);
  height: clamp(112px, 24vw, 320px);
  max-width: 100%;
}

.circle_1 {
  border-radius: 46% 45% 32% 33% / 45% 41% 45% 37%;
}

.about_btn {
  font-family: "BIZ UDGothic", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  background: var(--main-color);
  border-radius: 60px;
  width: 100%;
  max-width: 250px;
  padding: 20px 0 21px;
  box-sizing: border-box;
}

.about_circle img {
  width: 56%;
  max-width: 100%;
}

@media (max-width: 1140px) {

  .mv_bg {
    top: 15%;
  }

}

@media (max-width: 1024px) {

  .mv_bg {
    top: 25%;
  }

}

@media (max-width: 880px) {

  .mv {
    --mv-margin: 20px;
  }

  .mv_top {
    gap: 16px;
  }

  .mv_bg {
    top: 35%;
    max-width: 630px;
  }

  .mv_title_back {
    font-size: 26px;
    padding: 8px 8px 9px;
    letter-spacing: 2px;
  }

  .mv_text p {
    font-size: 13px;
    letter-spacing: 5%;
  }

  .mv_btn p {
    font-size: 16px;
    height: 53px;
    padding: 0 24px 1px;
  }

  #tomato_bg {
    width: 110%;
    max-width: 110%; 
    right: -10%;
    transform: rotateZ(-20deg);
  }

  #bg1 {
    top: 13%;
    right: 56%;
    width: 30%;
  }

  #bg2 {
    top: 54%;
    right: 63%;
    width: 45%;
  }

  #bg3 {
    top: 21%;
    right: 8%;
    width: 30%;
  }

  .top_news {
    padding: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .news_title_tp h2 {
    font-size: 20px;
  }

  .news_btn_area {
    padding-top: 24px;
  }

  .news_btn {
    padding: 10px 11px 11px;
  }

  .news_bg {
    top: -30%;
    right: 0%;
  }

  .feature_bg_img {
    top: 0%;
  }

  .feature_flex {
    flex-direction: column;
    max-width: 480px;
    flex: 1;
    box-sizing: border-box;
    gap: 16px;
  }

  .feature_box {
    align-items: stretch;
  }

  .feature_icon_circle {
    align-self: center;
  }

  .feature_main {
    padding: 20px 16px;
  }

  .feature_main img {
    width: 300px;
  }

  .feature_main_title {
    gap: 8px;
  }

  .feature_main_title span {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .feature_main_title h3 {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .about_us_bg_img {
    top: -21%;
  }

  .about_btn {
    max-width: 180px;
  }

}

@media (max-width: 500px) {

  .mv {
    --mv-margin: 16px;
  }

  .mv {
    height: 650px;
  }

  .mv_bg {
    top: 45%;
  }

  #bg1 {
    top: 7%;
    width: 38%;
    right: 48%;
  }

  #bg2 {
    top: 63%;
    right: 52%;
    width: 65%;
  }

  #bg3 {
    right: 4%;
  }

  .news {
    height: 300px;
  }

  .top_news_area {
    padding: 0 16px;
  }

  .news_btn {
    padding: 6px 7px 6px;
  }

  #feature {
    padding-top: 80px;
  }

  .feature_bg_img {
    top: -2%;
  }

  .feature_bg_img img {
    width: 100px;
  }

  .feature_flex {
    max-width: 100%;
  }

  .feature_icon_circle {
    width: 100px;
    height: 50px;
  }

  .feature_icon_circle img {
    width: 30px;
  }

  .feature_main p {
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 1px;
  }

  .about_us_bg_img {
    top: -21%;
  }

  .our_btn {
    font-size: 16px;
    width: 255px;
    margin-bottom: 60px;
  }

  .about_flex {
    flex-direction: column;
    gap: 40px;
  }

  .about_box_top {
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
  }

  .about_circle {
    width: 100%;
    height: auto;
    aspect-ratio: 200 / 190;  /* 元のwidth:200px / height:190pxの比率をそのまま維持 */
  }

  .about_us_bg_img {
    top: -120px;
  }

}
