/* google font */
body {
    .zen-maru-gothic-regular {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    }

    .zen-maru-gothic-medium {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    }

    .zen-maru-gothic-bold {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    }

    .zen-maru-gothic-black {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
    }
}

/* reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, ul, li,
figure, blockquote {
  margin: 0;
}

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

iframe {
  display: block;
  max-width: 100%;
}

ul, ol {
  padding: 0;
  list-style-type: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Base */
* {
  box-sizing: border-box;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.margin {
    padding-left: 4%;
    padding-right: 4%;
}


h2 {
  font-size: clamp(12px, 3.6vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-top: 30px;
  margin-bottom: 30px;
}

h3 {
  font-size: clamp(30px, 5.5vw, 55px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

h4 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0em;
}

p {
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0em;
}

li {
  font-size: clamp(14px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0em;
}

.leaf_list {
  display: flex;
  align-items: flex-start;

  gap: 15px;
}
.leaf_list::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 4vw;
  height: 4vw;
  max-width: 40px;
  max-height: 40px;
  background: url("../img/leaf.svg") no-repeat;
  background-size: contain;
}

a {
    color: inherit; /*親の文字色をそのまま使う*/
    text-decoration: none;
    transition: opacity 0.3s ease; /*色の変化を滑らかにする*/
}

a:hover {
  opacity: 0.6;
}

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



/*mv*/
#mv {
  position: relative;
}
.mv_bg {
  display: block;
}

.mv_img {
  position: absolute;
  width: 50%;
  bottom: 5%;
  left: 0;
}

.mv_txt {
  position: absolute;
  width: 80%;
  bottom: 4%;
  right: 0;
}

.main_ttl {
  font-size: clamp(24px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: right;
  color: #473527;
  margin-bottom: 8%;
}

.body_copy {
  display: flex;
  justify-content: right;
  align-items: flex-end;
  gap: 10px;
  font-size: clamp(12px, 2vw, 24px);
  text-align: left;
  margin-right: 3vw;
  margin-bottom: 5%;
}

.body_copy::before {
  content: "";
  display: inline-block;
  width: 70px;
  height: 120px;
  background: url("../img/00main_tree1.svg") no-repeat;
  background-size: contain;
  margin-right: 1vw;
}

.body_copy::after {
  content: "";
  display: inline-block;
  width: 70px;
  height: 120px;
  background: url("../img/00main_tree2.svg") no-repeat;
  background-size: contain;
}

/*solution*/
#solution {
  background-color: #FDFFE6;
}

.solution_cont {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 30%;
  column-gap: 4%;
  align-items: start;
}

.solution_cont h2 {
  grid-column: 1;
  grid-row: 1;
}

.solution_cont ul {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 50px;
}

.solution_img {
  width: 100%;
  height: auto;
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  transform: translateX(14%)
}


/*whats*/
#whats {
  background-color: #FFF9EC;
}

.whats_cont {
  display: grid;
  grid-template-columns: 40% 1fr;
  column-gap: 4%;
  align-items: start;
}

.whats_top {
  display: contents;
}

.whats_img {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 100%;
  height: auto;
}

.whats_top h2 {
  grid-column: 2;
  grid-row: 1;
}

.features_cont {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: space-between;
}

.features_box {
  width: 100%;
}

.features_box img {
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto 30px;
}

.features_box p {
  font-size: clamp(12px, 1.8vw, 24px);
  text-align: center;
  line-height: 1.5em;
  margin: 0 -15px;
}

.merit_cont {
  padding-bottom: 50px;
}

/*lineup*/
#lineup h2 {
  text-align: center;
}

.lineup_box {
  display: flex;
  align-items: flex-start;
  gap: 4%;
  width: 100%;
}

.lineup_box > div {
  flex: 1;
}

.lineup_box img {
  width: 36%;
  height: auto;
  flex-shrink: 0;
}

.right img {
  margin-left: auto;
}

.lineup_box h3, .lineup_box p {
  margin: 50px 0;
  text-align: left;
}

.right h3, .right p {
  margin-left: auto;
  text-align: right;
}

.lineup_box p {
  font-size: clamp(18px, 2.5vw, 24px);
}

/*assemble*/
.assemble_ttl {
  position: relative;
}

.assemble_ttl_txt {
  position: absolute;
}

.assemble_ttl img {
  width: 40%;
  height: auto;
  margin-left: auto;
  margin-top: 160px;
  margin-bottom: 80px;
}

.assemble_ttl h2 {
  color: #779438;
  line-height: 1;
}

.assemble_ttl h2::after {
  content: "";
  display: block;
  width: 64vw;
  height: 3vw;
  max-width: 640px;
  max-height: 20px;
  background: url("../img/04assemble1_line.svg") no-repeat;
  background-size: contain;
}

.assemble_ttl h3 {
  color: #956134;
}

.assemble_step {
  display: flex;
  position: relative;
  gap: 3%;
  justify-content: space-between;
  margin-bottom: 50px;
}

.assemble_step_num {
  position: absolute;
  top: -4vw;
  background: #F8B62D;
  border-radius: 50%;
  color: #FFF;
  font-size: clamp(18px, 2vw, 48px);
  font-weight: 900;
  padding: 0.8em 0.3em;
}

.assemble_step h4 {
  display: inline-block;
  width: 100%;
  background: #C9BC9C;
  border-radius: 10px 10px 0 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 7vw;
  font-size: clamp(18px, 2vw, 32px);
  color: #FFF;
}

.assemble_step_txt {
  display: inline-block;
  width: 100%;
  border: 3px solid #C9BC9C ;
  border-radius: 0 0 10px 10px;
  font-size: clamp(16px, 2vw, 22px);
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: clamp(200px, 21vw, 300px);
}

.assemble_step_img {
  position: relative;
  height: auto;
  flex-shrink: 0;
}

.assemble_step_img1 {
  position: absolute;
  width: 35%;
  top: clamp(100px, 10vw, 150px);
  left: clamp(15px, 5vw, 50px);
}

.assemble_step_img2 {
  position: absolute;
  width: 30%;
  top: clamp(100px, 10vw, 150px);
  right: clamp(100px, 5vw, 500px);
}

.assemble_point {
  display: flex;
  gap: 10%;
  justify-content: center;
}

.assemble_point li {
  display: flex;
  align-items: flex-start;
  gap: 3%;
}

.assemble_point_num {
  border-bottom: 3px solid #F8B62D;
  color: #F8B62D;
  font-size: clamp(18px, 2.5vw, 38px);
  font-weight: 900;
}

.assemble_point img {
  width: 25vw;
  max-width: 300px;
  height: auto;
  flex-shrink: 0;
  margin-right: 20px;
}

.assemble_point_txt {
  font-size: 16px;
}

/*parts*/
.parts_ttl {
  display: flex;
  align-items: flex-start;
}

.parts_ttl h2 {
  background-color: #779438;
  border-radius: 50px;
  font-size: clamp(20px, 3.5vw, 43px);
  text-align: center;
  padding: 20px;
  color: #FFF;
  margin-top: 200px;
}

.parts_ttl h3 {
  font-size: clamp(18px, 3.8vw, 52px);
  margin-bottom: 30px;
}

.parts_ttl p {
  font-size: clamp(14px, 2vw, 30px);
}

.parts_ttl img {
  width: 40%;
  height: auto;
  margin-top: 160px;
  flex-shrink: 0;
}

.parts_exmple h2 {
  color: #779438;
  border-bottom: 3px solid #779438;
}

.parts_exmple p {
  font-size: clamp(16px, 2vw, 28px);
  margin-top: -30px;
  margin-bottom: 30px;
}

.parts_exmple_img {
  display: flex;
  gap: 20%;
  justify-content: flex-start;
  width: 30%;
  margin-bottom: 160px;
}

.parts_exmple_arrow {
  width: 0;
  height: 0;
  /* 上下のボーダーを透明にして傾斜をつける（10pxが三角形の縦幅の半分になります） */
  border-top: 30px solid transparent; /*transparentは透明にするタグ*/
  border-bottom: 30px solid transparent;
  /* 左のボーダーに色をつける（15pxが三角形の横幅になります） */
  border-left: 30px solid #000;
  margin-top: 6vw;
}

/*cta*/
#cta {
  background: #F5F1E8;
  padding-bottom: 30px;
}

#cta h2 {
  text-align: center;
  color: #574B3B;
  line-height: 1.8em;
  margin-bottom: 100px;
}

#cta p {
  font-size: clamp(14px, 2.5vw, 28px);
  text-align: center;
  color: #574B3B;
  margin-bottom: -20px;
}

#cta a {
  display: block;
  max-width: 800px;
  width: 90%;
  margin: 30px auto;
  padding: 16px 15px;
  border-radius: 15px;
  text-align: center;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: bold;
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.3) ;
}

.cta_btn1 {
  background: #8B795E;
  color: #FFF;
}

.cta_btn2 {
  background: #fff;
  color: #8B795E;
  border: 3px solid #8B795E;
}

/*footer*/
#footer {
  margin-bottom: 20px;
}

#footer img {
  display: block;
  width: 50%;
  max-width: 400px;
  margin-top: 80px;
  margin-bottom: 10px;
}

#footer p, #footer a {
  font-family: sans-serif;
  font-size: clamp(10px, 3vw, 19px);
  line-height: 1.5;
}

.footer_nav {
  display: flex;
  gap: 30px;
  justify-content: center;
  border-top: 1px solid #000;
  padding-top: 10px;
  margin-top: 30px;
  margin-bottom: 50px;
}

.footer_nav :not(:last-of-type)::after {
  content: "|";
  padding-left: 30px;
}

.pc_only { display: inline;}
.sp_only { display: none;}


@media screen  and (max-width: 767px) {

.pc_only { display: none;}
.sp_only { display: block;}

  /* Base */
  .margin {
      padding-left: 3%;
      padding-right: 3%;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 24px;
  }

  p {
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0em;
  }

  li {
    font-size: 18px;
    font-weight: 300;
  }

  /*mv*/
  .mv_img {
    bottom: 20%;
    left: 0;
  }

  .mv_txt {
    top: 55;
    bottom: 4%;
    right: 0;
  }

  .main_ttl {
  font-size: clamp(20px, 4.5vw, 48px);
  }

  .main_ttl {
    -webkit-text-stroke: 3px #ffffff; /* 枠線の太さと色（白） */
    paint-order: stroke fill; /* 枠線が文字の内側に食い込むのを防ぐ */
    margin-bottom: 4%;
  }

  .body_copy {
    font-size: clamp(14px, 2vw, 19px);
    font-weight: 500;
    -webkit-text-stroke: 3px #ffffff; /* 枠線の太さと色（白） */
    paint-order: stroke fill; /* 枠線が文字の内側に食い込むのを防ぐ */
  }

  .body_copy::before {
    display: none;
  }

  .body_copy::after {
    display: none;
  }

  /*solution*/
  .solution_cont {
    grid-template-columns: 1fr 45%;
    column-gap: 3%;
    row-gap: 20px;
  }

  .solution_cont h2 {
    padding-right: 5px;
  }

  .solution_img {
    grid-row: 1;
    transform: translateX(6%);
  }

  .solution_cont ul {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .leaf_list::before {
    transform: translateY(10px);
  }

  /*what*/
  .whats_cont {
    grid-template-columns: 40% 1fr;
    column-gap: 4%;
    row-gap: 25px;
  }

  .whats_img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    transform: translateX(-6%);
  }

  .what_top h2 {
    grid-column: 2;
    grid-row: 1;
    font-size: 18px;
  }

  .features_cont {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .features_box img {
    margin-bottom: 10px;
  }

  .features_box p {
    font-size: 16px;
  }

  .merit_cont {
    padding-bottom: 50px;
  }


  /*lineup*/
  .lineup_box {
    flex-direction: column;
    gap: 20px;
  }

  .lineup_box img {
    width: 100%;
    margin-left: 0;
    margin-bottom: -20px;
  }

  .lineup_box > div {
    width: 100%;
  }

  .lineup_box h3, .lineup_box p {
    margin: 15px 10px;
    text-align: left;

  }

  .lineup_box p:last-child {
    margin-bottom: 50px;
  }

  .lineup_box:nth-child(2n) img {
    order: -1;
  }

  /*assemble*/
  .assemble_ttl_txt {
  position: unset;
}
  .assemble_ttl img {
    width: 80%;
    margin-top: 10px;
    margin-bottom: 40px;
  }

  .assemble_ttl h2 {
    color: #779438;
    line-height: 0.1;
  }

  .assemble_ttl h2::after {
    width: 100vw;
    transform: translateY(12px);
  }

  .assemble_step {
    flex-direction: column;
    gap: 40px;
  }

  .assemble_step li {
    position: relative;
  }

  .assemble_step_num {
    position: absolute;
    margin-bottom: -50px;
  }

  .assemble_step h4 {
    padding: auto;
    text-align: center;
  }

  .assemble_step_txt {
    padding: 4px 8px 235px 8px;
  }

  .assemble_step_img1 {
    position: absolute;
    width: 80%;
    left: 40px;
  }

  .assemble_step_img2 {
    position: absolute;
    width: 80%;
    top: 480px;
    left: 40px;
  }

  .assemble_point {
    flex-direction: column;
  }

  .assemble_point li {
    flex-direction: row;
  }

  .assemble_point img {
    width: 45%;
  }

  .assemble_point_num {
    font-size: 32px;
  }

  .assemble_point img:first-of-type {
    margin-bottom: 50px;
  }

  /*parts*/
.parts_ttl {
  display: block;
}

.parts_ttl h2 {
  font-size: 20px;
  padding: 8px;
  margin-top: 50px;
  margin-bottom: 10px;
}

.parts_ttl h3 {
  font-size: 20px;
  padding-left: 20px;
  margin-bottom: unset;
}

.parts_ttl p {
  font-size: 16px;
  padding-left: 20px;
}

.parts_ttl img {
  width: 50%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.parts_exmple p {
  font-size: 20px;
}

.parts_exmple_img {
  width: 35%;
  margin-bottom: 100px;
}

/*cta*/
#cta h2 {
  font-size: 18px;
  line-height: 1.8em;
  margin-bottom: 50px;
}

#cta p {
  font-size: 16px;
  padding: 0 25px 0 25px;
  margin-bottom: -20px;
}

#cta a {
  padding: 8px 15px;
  font-size: 16px;
  border-radius: 8px;
}

.cta_btn2 {
  border: 1px solid #8B795E;
}

/*footer*/
#footer img {
  width: 60%;
  margin-top: 20px;
}

#footer p {
  font-size: 14px;
}

#footer a {
  font-size: 12px;
}

.footer_nav {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  border-top: 1px solid #000;
  padding-top: 0px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.footer_nav :not(:last-of-type)::after {
  display: none;
}

}
