/* index.php reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#index section {
  margin-bottom: 30px;
  /*overflow: hidden;*/
}

/* ====== main visual ====== */
#index .mv {
  width: 100%;
  max-height: 680px;
  position: relative;
}
#index .mv .mv_img {
  max-width: 1100px;
  width: 70%;
}
#index .mv .mv_copy {
  font-size: 60px;
  line-height: 1.4;
  font-weight: 900;
  color: #000000;
  position: absolute;
  left: 48%;
  top: 15%;
  z-index: 10;
}

@media screen and (max-width: 1500px) {
  #index .mv .mv_copy {
    font-size: calc(100vw / 26);
  }
  #index .mv .mv_img {
    width: 70%;
  }
}
#index .mv .mv_copy .mv_copy_label {
  display: inline-block;
  margin-right: 20px;
  padding: 6px 20px 12px;
  font-size: 60%;
  font-weight: 700;
  line-height: 1;
  color: #000000;
  background: #8cd8f5;
  border-radius: 12px;
}
#index .mv .mv_copy .mv_copy_label:nth-of-type(1) {
  background: #ffe71a;
}
#index .mv .mv_copy .mv_copy_label:nth-of-type(2) {
  background: #a0cf31;
}
#index .mv .mv_copy .mv_copy_label:nth-of-type(3) {
  background: #fc999f;
}
#index .mv .mv_copy_img {
  max-width: 810px;
  width: 54%;
  position: absolute;
  left: 45%;
  bottom: 50px;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  #index .mv {
    max-height: 700px;
    height: 40%;
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 26);
    left: 50%;
    top: 15%;
  }
  #index .mv .mv_copy_img {
    position: absolute;
    left: 45%;
    bottom: 15px;
  }
  #index .mv .mv_copy .mv_copy_label {
    padding: 0.6vw 1vw 0.75vw;
    border-radius: 5px;
    margin-right: 1vw;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .mv {
    max-height: 700px;
    height: 95vw;
  }
  #index .mv .mv_img {
    max-width: none;
    width: 100%;
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 16);
    line-height: 1.2;
    top: auto;
    left: 12vw;
    bottom: 16vw;
  }
  #index .mv .mv_copy .mv_copy_label {
    margin-right: 2vw;
    padding: 2vw 4vw 2vw;
    background: #8cd8f5;
    border-radius: 10px;
  }
  #index .mv .mv_copy_img {
    width: 98%;
    position: absolute;
    top: auto;
    left: 1vw;
    bottom: 4vw;
  }
}
@media screen and (max-width: 391px) {
  #index .mv {
    height: 50vh;
  }
  #index .mv .mv_copy {
    font-size: calc(100vw / 15);
    line-height: 1.2;
    top: auto;
    left: 12vw;
    bottom: 12vw;
  }
  #index .mv .mv_copy .mv_copy_label {
    margin-right: 2vw;
    padding: 2vw 4vw 2vw;
    background: #8cd8f5;
    border-radius: 10px;
  }
  #index .mv .mv_copy_img {
    width: 98%;
    position: absolute;
    top: auto;
    left: 1vw;
    bottom: 2vw;
  }
}

/* introducs */
#index .into_box {
  margin-top: -25px;
  margin-bottom: 240px;
  background: #ffffff;
  position: relative;
}
#index .into_box::before,
#index .into_box::after {
  content: "";
  display: block;
  width: 100vw;
  height: 180px;
  position: absolute;
}
#index .into_box::before {
  background: url("../images/index/content01_t.png") center top no-repeat;
  background-size: cover;
  top: -120px;
  left: 0;
}
#index .into_box::after {
  background: url("../images/index/content01_b.png") center bottom no-repeat;
  background-size: cover;
  bottom: -170px;
  left: 0;
  z-index: -1;
}
#index .into_box .into_wpap {
  max-width: 1160px;
  width: 96vw;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px;
  position: relative;
}
#index .into_box .into_wpap::before,
#index .into_box .into_wpap::after {
  content: "";
  display: block;
  width: 160px;
  height: 200px;
  background: url("../images/index/top_greeting.png") left top no-repeat;
  background-size: 100%;
}
#index .into_box .into_wpap::before {
  position: absolute;
  top: 0;
  left: -20px;
}
#index .into_box .into_wpap::after {
  position: absolute;
  bottom: 0;
  right: -20px;
  transform: scale(-1, -1);
}
#index .into_box .into_txt {
  width: 56%;
  line-height: 1.8;
}
#index .into_box .into_img {
  width: 40%;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  #index .into_box {
    margin-bottom: 16vw;
  }
  #index .into_box::before,
  #index .into_box::after {
    height: 11vw;
  }
  #index .into_box::before {
    top: -7vw;
  }
  #index .into_box::after {
    bottom: -78px;
  }
  #index .into_box .into_wpap {
    padding: 4vw 6vw 0 6vw;
  }
  #index .into_box .into_wpap::before,
  #index .into_box .into_wpap::after {
    width: 12vw;
    height: 18vw;
  }
  #index .into_box .into_wpap::before {
    position: absolute;
    top: 0;
    left: 2px;
  }
  #index .into_box .into_wpap::after {
    position: absolute;
    bottom: 0;
    right: 2px;
    transform: scale(-1, -1);
  }
}
@media screen and (max-width: 811px) {
  /*  #index .into_box .into_wpap{
    display: block;
    padding: 10vw;
  }*/
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .into_box {
    padding: 0;
    font-size: calc(100vw / 28);
  }
  #index .into_box::before {
    top: -12vw;
    left: 0vw;
  }
  #index .into_box::before,
  #index .into_box::after {
    height: 14vw;
  }
  #index .into_box::after {
    bottom: -12vw;
    left: 0vw;
    z-index: -2;
  }
  #index .into_box .into_wpap {
    display: block;
    padding: 5vw 3vw;
    width: 100%;
  }
  #index .into_box .into_wpap::before,
  #index .into_box .into_wpap::after {
    width: 16vw;
    height: 22vw;
  }
  #index .into_box .into_wpap::before {
    position: absolute;
    top: 0;
    left: -10px;
  }
  #index .into_box .into_wpap::after {
    position: absolute;
    right: -10px;
    bottom: auto;
    top: 0;
    transform: scale(-1, 1);
  }
  #index .into_box .into_txt {
    width: 100%;
    line-height: 1.8;
    text-align: center;
  }
  #index .into_box .into_img {
    width: 90%;
    margin: 10px auto 0;
  }
}
/* work */
#index .work {
  margin-bottom: 200px;
  padding-top: 20px;
}
#index .work .work_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}
#index .work .work_box .work_img {
  width: 40%;
  max-width: 520px;
  border: 6px #ffffff solid;
  border-radius: 20px;
  box-shadow: 8px 8px 0 #fcee21;
  overflow: hidden;
  margin-bottom: 20px;
}
#index .work .work_box .work_cntns {
  width: 60%;
  max-width: 700px;
  padding: 30px 50px;
  margin-bottom: 20px;
}
#index .work .work_box .work_cntns dt {
  font-weight: bold;
  margin-bottom: 15px;
}
#index .work .work_box .work_cntns dd {
  line-height: 1.8;
}

#index .work .work_box2 ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 10px;
}
#index .work .work_box2 ul li {
  max-width: 200px;
  width: calc((90vw - 30px) / 5);
}

/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  /*   #index .cotns_box {
    width: 96%;
  } */
  #index .work .work_box .work_cntns {
    padding: 0 5vw;
    margin-bottom: 20px;
  }
  #index .work .work_box .work_img {
    border: 3px #ffffff solid;
    border-radius: 10px;
    box-shadow: 6px 6px 0 #fcee21;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .work {
    margin-bottom: 20vw;
  }
  #index .work .work_box {
    justify-content: center;
    margin-bottom: 6vw;
  }
  #index .work .work_box .work_img {
    width: 90%;
    border: 3px #ffffff solid;
    border-radius: 10px;
    box-shadow: 6px 6px 0 #fcee21;
  }
  #index .work .work_box .work_cntns {
    width: 100%;
    padding: 3vw 5vw;
    margin: 0;
  }
  #index .work .work_box2 ul {
    gap: 10px;
  }
  #index .work .work_box2 ul li {
    max-width: 200px;
    width: calc((90vw - 30px) / 3);
  }
}

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

/* aboutus */
#index .aboutus {
  margin-bottom: 240px;
  background: #ffffff;
  position: relative;
}
#index .aboutus::before,
#index .aboutus::after {
  content: "";
  display: block;
  width: 100vw;
  height: 180px;
  position: absolute;
}
#index .aboutus::before {
  background: url("../images/index/content02_t.png") center top no-repeat;
  background-size: cover;
  top: -120px;
  left: 0;
}
#index .aboutus::after {
  background: url("../images/index/content02_b.png") center bottom no-repeat;
  background-size: cover;
  bottom: -170px;
  left: 0;
  z-index: -1;
}

#index .aboutus .cotns_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
}
#index .aboutus .about_box {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
}
#index .aboutus .about_info_box {
  width: 100%;
  margin-bottom: 20px;
  padding: 30px;
  background: url("../images/index/top_office_il.png") no-repeat bottom 10%
    right 2%;
  background-size: 10%;
  border: 4px solid #8cd8f5;
  border-radius: 10px;
}
#index .aboutus .about_info_box h4 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
}
#index .aboutus .about_info_box .about_addr {
  display: flex;
  flex-wrap: wrap;
  font-weight: bold;
}
#index .aboutus .about_info_box .about_addr dt {
  width: 12%;
  position: relative;
}
#index .aboutus .about_info_box .about_addr dt::after {
  content: "：";
  position: absolute;
  right: 0;
}
#index .aboutus .about_info_box .about_addr dd {
  width: 86%;
  margin-bottom: 10px;
  align-items: baseline;
}
#index .aboutus .about_info_box .about_addr dd small {
  font-size: 80%;
}
#index .aboutus .about_info_box .about_addr dd:last-child {
  margin-bottom: 0;
}
#index .aboutus .about_info {
  margin-bottom: 10px;
}
#index .aboutus .about_info dt {
  font-size: 120%;
  color: #a0cf31;
  font-weight: bold;
}
#index .aboutus .about_info dd {
  padding-left: 20px;
  line-height: 1.4;
}
#index .aboutus .about_info dd::before {
  margin-left: -20px;
  content: "・";
  color: #8cd8f5;
}

#index .aboutus .about_box_img {
  width: 32%;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  #index .aboutus {
    margin-bottom: 24vw;
  }
  #index .aboutus::before,
  #index .aboutus::after {
    height: 9vw;
  }
  #index .aboutus::before {
    top: -7vw;
  }
  #index .aboutus::after {
    bottom: -8vw;
  }
  #index .aboutus .about_box {
    display: flex;
    flex-wrap: wrap;
    width: 62%;
  }
  #index .aboutus .about_info_box {
    background: url("../images/index/top_office_il.png") no-repeat bottom 8%
      right 3%;
    background-size: 8%;
    padding: 3vw;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .aboutus {
    padding: 0;
    font-size: calc(100vw / 28);
  }
  #index .aboutus::before {
    top: -12vw;
    left: 0vw;
  }
  #index .aboutus::before,
  #index .aboutus::after {
    height: 14vw;
  }
  #index .aboutus::after {
    bottom: -12vw;
    left: 0vw;
    z-index: -2;
  }
  #index .aboutus .about_box_img {
    width: 80%;
    margin: 10px auto 0;
  }
  #index .aboutus .about_box {
    display: flex;
    flex-wrap: wrap;
    width: 92%;
  }
  #index .aboutus .about_info_box {
    border: 2px solid #8cd8f5;
  }
  #index .aboutus .about_info_box h4 {
    font-size: calc(90vw / 20);
    margin-bottom: 2vw;
  }
  #index .aboutus .about_info_box .about_addr dt {
    width: 10vw;
  }
  #index .aboutus .about_info_box .about_addr dd {
    width: 60vw;
  }
  #index .aboutus .about_info dd {
    padding-left: 3vw;
  }
  #index .aboutus .about_info dd::before {
    margin-left: -3vw;
  }
}
@media screen and (max-width: 391px) {
  #index .aboutus {
    margin-bottom: 40vw;
    position: relative;
  }
}

/* contactadd ページが増えた場合common.cssに移動させる※index.php記述のみ残す */
#index .contactadd {
  width: 100%;
  margin-bottom: 170px;
  position: relative;
}
#index .contactadd .contactadd_cntns {
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 30px;
  background: #ffffff;
  text-align: center;
  border: 4px solid #8cd8f5;
  border-radius: 10px;
  position: relative;
}
#index .contactadd .contactadd_cntns p {
  width: fit-content;
  margin: 30px auto;
  font-size: 24px;
  font-weight: bold;
  color: #a0cf31;
  line-height: 1.4;
  position: relative;
}
#index .contactadd .contactadd_cntns p::before,
#index .contactadd .contactadd_cntns p::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #000000;
  transform: rotate(45deg);
  border-radius: 10px;
}
#index .contactadd .contactadd_cntns p::before {
  position: absolute;
  bottom: 0;
  left: -40px;
}
#index .contactadd .contactadd_cntns p::after {
  position: absolute;
  bottom: 0;
  right: -40px;
  transform: scale(-1, 1) rotate(45deg);
}

#index .contactadd .contactadd_cntns .contactadd_cntns_form {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
#index .contactadd .contactadd_cntns .contactadd_cntns_form .main_btn {
  width: 100%;
}
#index .contactadd .contactadd_cntns .contactadd_cntns_form .main_btn {
  width: 100%;
}
/* お問い合わせの写真 */
#index .contactadd .contactadd_img01 {
  width: 20vw;
  position: absolute;
  top: -100px;
  right: -30px;
  transition: all 0.3s ease 0s;
  z-index: -1;
}
#index .contactadd .contactadd_img02 {
  width: 20vw;
  position: absolute;
  bottom: -100px;
  left: -70px;
  transition: all 0.3s ease 0s;
  z-index: -1;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  #index .contactadd .contactadd_cntns {
    width: 90%;
    padding: 5vw;
  }
  /* お問い合わせの写真 */
  #index .contactadd .contactadd_img01,
  #index .contactadd .contactadd_img02 {
    width: 30vw;
  }
  #index .contactadd .contactadd_img01 {
    top: -17vw;
    right: -3vw;
  }
  #index .contactadd .contactadd_img02 {
    bottom: -20vw;
    left: -5vw;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #index .contactadd .cotns_box {
    margin: 20vw auto 26vw;
  }
  #index .contactadd .contactadd_cntns p {
    margin: 5vw auto;
    padding-left: 2vw;
    font-size: calc(80vw / 18);
  }
  #index .contactadd .contactadd_cntns p::before,
  #index .contactadd .contactadd_cntns p::after {
    width: 40px;
    height: 2px;
  }
  #index .contactadd .contactadd_cntns p::before {
    left: -5vw;
  }
  #index .contactadd .contactadd_cntns p::after {
    right: -5vw;
  }
  #index .contactadd .contactadd_cntns .contactadd_cntns_form li {
    width: 100%;
    margin-bottom: 10px;
  }
  /* お問い合わせの写真 */
  #index .contactadd .contactadd_img01 {
    width: 40vw;
    position: absolute;
    top: -33vw;
    right: -5vw;
  }
  #index .contactadd .contactadd_img02 {
    width: 40vw;
    position: absolute;
    bottom: -30vw;
    left: -7vw;
  }
}
@media screen and (max-width: 391px) {
  #index .contactadd .cotns_box {
  }
}
