@charset "utf-8";

/*--------------------------------------------
	header
--------------------------------------------*/

@media screen and (max-width: 766px) {
  .menu1 a {
    display: none;
  }

  .touroku_btn {
    margin-left: 10px;
  }

  #first_view h2 {
    font-size: 32px;
    line-height: 48px;
  }
}

@media screen and (max-width: 545px) {
  #first_view {
    margin-top: 7rem;
  }

  .menu1 img {
    padding: 11px 5%;
  }

  .logo_pc {
    display: none !important;
  }

  .logo_sp {
    display: block !important;
  }

  .header_logo img {
    width: 65%;
  }

  .header_list ul li a {
    margin: 0 0 0 2px;
    font-size: 12px;
  }

  .menu1 a,
  .menu2 a,
  .menu3 a {
    padding: 10px 5px;
  }

  header {
    padding: 12px 6%;
    height: 65px;
  }

  #first_view h2 {
    font-size: 24px;
    line-height: 36px;
  }

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

/*--------------------------------------------
	image
--------------------------------------------*/
@media screen and (max-width: 1100px) {
  .slide_image img,
  .editor_image img,
  .path_image img {
    width: 90%;
    height: auto;
  }
}

@media screen and (max-width: 545px) {
  .slide_image img,
  .editor_image img,
  .path_image img .plan_image {
    width: 80%;
    height: auto;
    margin: 0 0 0 auto;
  }

  .plan_image img {
    width: 70%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 545px) {
  .slide_image,
  .editor_image,
  .path_image {
    overflow-x: scroll;
  }

  .slide_image img,
  .editor_image img,
  .path_image img {
    width: 145%;
    margin: 0 0 0 5%;
  }
}

/*--------------------------------------------
	first_view
--------------------------------------------*/
@media screen and (max-width: 1100px) {
  .first_view_image img {
    width: 90%;
    height: auto;
    margin-top: 8%;
  }
}

@media screen and (max-width: 766px) {
  .first_view_comment2 h2 {
    font-size: 32px;
    line-height: 55px;
  }

  .hajimeru_btn {
    width: 30%;
  }
}
@media screen and (max-width: 545px) {
  .first_view_image {
    overflow: hidden; /*はみ出た部分を隠して表示するoverflow: hidden*/
  }

  .first_view_image img {
    width: 108%;
    margin: 7% 0 0 5%;
  }

  .first_view_comment2 {
    margin: 10% auto;
    font-size: 11px;
  }

  .first_view_comment img {
    width: 1rem;
  }
}

/*--------------------------------------------
	plan
--------------------------------------------*/
@media screen and (max-width: 1100px) {
  .plan_image {
    width: 90%;
    height: auto;
    gap: 5%;
  }

  .plan_box {
    width: 90%;
    height: auto;
  }

  .plan_tyusyaku {
    width: 93%;
  }
}

@media screen and (max-width: 545px) {
  .plan_image {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .plan_box {
    display: flex;
    flex-wrap: wrap;
    margin: 10% auto;
    justify-content: space-between;
    text-align: center;

    gap: 3%;
  }

  .plan1 {
    margin-bottom: 7%;
  }
}

/*--------------------------------------------
		sucsess 
--------------------------------------------*/
@media screen and (max-width: 1100px) {
  .sucsess_story {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1.5fr);
    margin: 0 auto;
  }
}

@media screen and (max-width: 545px) {
  .sucsess_story {
    display: none;
  }

  .story_person_image {
    padding: 3% 1%;
  }

  .story_person_image img {
    width: 3rem;
    border-radius: 50%;
    padding-right: 3px;
  }

  .sucsess_story_sp {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 40px 5%;
    flex-wrap: nowrap;
    flex-direction: column;
  }

  p.story_comment {
    margin: 0;
    text-align: left;
    font-size: 0.8rem;
    width: 100%;
  }

  .story_box {
    padding: 0.8rem 0.7rem;
  }

  .story_gedan {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1rem;
  }

  p.story_country {
    font-size: 11px;
  }

  .story_text {
    text-align: left;
    margin: 3px;
  }
}

/*--------------------------------------------
		slide
--------------------------------------------*/

@media screen and (max-width: 766px) {
  .slide_comment h2,
  .editor_comment h2,
  .path_comment h2,
  .sucsess_comment h2,
  .plan_comment h2,
  .plan_comment__2 h2,
  .app_comment h2,
  .start1 h2,
  .start2 h2 {
    font-size: 24px;
    line-height: 41px;
    padding-top: 5%;
  }
}

@media screen and (max-width: 766px) {
  .slide_comment p,
  .editor_comment p,
  .path_comment p,
  .sucsess_comment p,
  .plan_comment p,
  .plan_comment__2 p,
  .app_comment p,
  .start1 p,
  .start2 p,
  .plan_tyusyaku p,
  .plan_tyusyaku a {
    font-size: 14px;
    line-height: 28px;
    padding-bottom: 5%;
  }
}

@media screen and (max-width: 545px) {
  .slide_comment h2,
  .editor_comment h2,
  .path_comment h2,
  .start1 h2,
  .first_view_comment2 h2 {
    font-size: 18px;
    line-height: 31px;
    text-align: left;
    margin: 1rem 5% 1rem 5%;
  }

  .start2 h2,
  .app_comment h2,
  .plan_comment h2,
  .plan_comment__2 h2,
  .sucsess_comment h2 {
    font-size: 18px;
    line-height: 31px;
    text-align: center;
  }

  .slide_comment p,
  .editor_comment p,
  .path_comment p,
  .sucsess_comment p,
  .start1 p {
    font-size: 12px;
    line-height: 24px;
    text-align: left;
    margin: 0 5%;
  }

  .plan_tyusyaku a,
  .plan_tyusyaku p {
    padding-bottom: 3px;
  }

  .start2 p,
  .app_comment p,
  .sucsess_comment p,
  .plan_comment__2 p,
  .story_name {
    font-size: 12px;
    line-height: 24px;
    padding-bottom: 0;
  }

  .plan_comment__2 h3 {
    font-size: 32px;
  }
}

/*--------------------------------------------
		editor
--------------------------------------------*/

/*--------------------------------------------
		path
--------------------------------------------*/

/*--------------------------------------------
		sucsess
--------------------------------------------*/
@media screen and (max-width: 545px) {
  .sucsess_comment {
    padding-top: 5%;
  }
}
/*--------------------------------------------
		plan
--------------------------------------------*/
@media screen and (max-width: 545px) {
  p.plan_texit {
    margin: 0 0 45px 0;
  }
  .plan_image {
    margin: 10% auto 0 auto;
  }
}
/*--------------------------------------------
		app
--------------------------------------------*/
@media screen and (max-width: 1100px) {
  .app_image img {
    max-width: 80%;
    margin: 0 10%;
  }

  .app_wrap {
    width: 92%;
    height: auto;
  }

  .download_image img {
    width: 100px;
  }
}

@media screen and (max-width: 766px) {
  .app_text h2 {
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 10px;
  }

  .app_text_2 {
    margin-top: 20px;
  }

  .app_text p {
    font-size: 12px;
    line-height: 21px;
    margin: 0;
  }

  .download_image {
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .download_image img {
    height: 90%;
  }

  .app_left {
    padding-bottom: 0;
  }
}

@media screen and (max-width: 545px) {
  .app_wrap {
    width: 92%;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .download_image {
    margin-top: 25px;
    margin-bottom: 25px;
  }
}
/*--------------------------------------------
		start
--------------------------------------------*/
@media screen and (max-width: 545px) {
  .start1 {
    background-color: #ffffff;
    padding: 4%;
  }
}

@media screen and (max-width: 766px) {
  .touroku_btn2 {
    width: 30%;
  }
}

/*--------------------------------------------
		footer
--------------------------------------------*/
@media screen and (max-width: 545px) {
  .layout_footer {
    display: flex;
    justify-content: space-around;
    padding: 15% 3% 3% 3%;
    flex-wrap: nowrap;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  p.corporate {
    text-align: center;
  }

  .midasi {
    margin-top: 0.7rem;
  }
}
