@charset "UTF-8";

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0px;
  padding: 0px;
  width: 100%;
  background-color: #ede4cd;
  font-family: 'Noto Sans JP', sans-serif;
  color: #383c3c;
}
.text_sp_prof{
  display: none;
}
.p_tabcon_sp{
  display: none;
}


.main {
  width: 1360px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding-top: 80px;
}

.left_main {
  width: 900px;
}

.left_main, .right_main {
  background-color: #fff;
  border-radius: 30px;
}

.link_top {
  color: #007bbb;
}

.link_top:hover {
  color: #d9333f;
}

.main .left_main header {
  background-color: #007b43;
  border-radius: 30px 30px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 20px 0 20px;
}

.main .left_main header img {
  margin: 0;
  width: 160px;
  margin-bottom: -80px;
}

.prof {
  width: 860px;
  margin: 0 auto;
  margin-top: 100px;
  border-bottom: dashed 2px #007b43;
}

.prof h1 {
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  color: #007b43;
}

.prof p {
  letter-spacing: 0.1em;
  line-height: 1.7em;
  margin-bottom: 25px;
}

.box_tab {
  padding-bottom: 1em;
  background-color: #fff;
  margin: 0 auto;
  padding-top: 50px;
  width: 860px;
  border-radius: 0 0 30px 30px;
}

.tab_item {
  width: calc(100%/2);
  padding: 5px;
  border-bottom: 3px solid #fff;
  //background-color: #ececec;
  text-align: center;
  color: #7b7c7d;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.2s ease;
}

input[name="tab_item"] {
  display: none;
}

#tab1:checked~#tab1_content,
#tab2:checked~#tab2_content,
#tab3:checked~#tab3_content,
#tab4:checked~#tab4_content {
  display: block;
}

.box_tab input:checked+.tab_item {
  background-color: #fff;
  color: #007b43;
  //border-top: solid 3px #007b43;
  //border-left: solid 3px #007b43;
  //border-right: solid 3px #007b43;
  border-bottom: solid 3px #007b43;
}

.box_tab .tab_content {
  display: none;
  padding: 20px;
  clear: both;
  overflow: hidden;
  background-color: #f7f7f7;
  border-radius: 0 0 30px 30px;
}

.title_tabcon {
  width: 100%;
  background-color: #fff;
  color: #007b43;
  border-top: solid 1px #007b43;
  border-bottom: solid 1px #007b43;
  font-size: 18px;
  letter-spacing: 0.1em;
  padding: 7px 0;
  text-align: center;
  padding-left: -0.1em;
  margin-bottom: 30px;
}

.box_flow {
  width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.step {
  font-weight: bold;
  color: #007b43;
  width: 140px;
  border-right: solid 1px #383c3c;
  padding: 10px 0;
}

.right_tabcon {
  padding-left: 40px;
}

.right_tabcon p:first-child {
  font-weight: bold;
  margin-top: 0;
}

.right_tabcon p:last-child {
  margin: 0;
  line-height: 1.7em;
}

.heisha {
  width: 50%;
  font-size: 15px;
  padding: 10px;
  border-left: dashed 1px #383c3c;
  margin: 0 0 0 50%;
}

.right_main {
  width: 400px;
  height: 100%;
  padding-bottom: 15px;
}

.staff {
  background-color: #007b43;
  color: #fff;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 2px;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  margin: 0;
  border-radius: 30px 30px 0 0;
  padding: 15px 0;
}

.right_main .icon_staff {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.right_main img {
  width: 160px;
  margin: 0 auto;
}
.right_main .box1_staff .hina{
  margin-top: 55px;
}

.right_main p {
  text-align: center;
}

.name_staff {
  color: #007b43;
  font-weight: 900;
  font-size: 20px;
  margin-top: 21px;
  letter-spacing: 0.1em;
}

.ex_staff p:nth-child(2n-1) {
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  margin-top: 20px;
}

.ex_staff p:nth-child(2n) {
  margin-top: 8px;
  letter-spacing: 0.05em;
  line-height: 1.8em;
}

footer {
  background-color: #007b43;
  color: #fff;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

footer small {
  letter-spacing: 0.1em;
}

@media screen and (max-width: 1470px) {
  .main {
    width: 100%;
    padding: 80px 2% 0 2%;
  }

  .main .left_main {
    width: 65%;
  }

  .main .left_main .box_tab {
    width: 100%;
    padding: 0 20px 30px 20px;
  }

  .main .left_main .prof {
    width: 100%;
    padding: 0 20px;
  }

  .main .right_main {
    width: 30%;
  }
}

@media screen and (max-width: 1160px) {
  .main {
    flex-direction: column;
  }

  .main .left_main {
    width: 100%;
  }
  .test{
    //display: flex;
    //padding: 0 16%;
  }
  .box_flow{
    width: 100%;
  }
  .main .left_main .box_tab {
    width: 100%;
    padding: 0 20px 30px 20px;
  }

  .main .left_main .prof {
    width: 100%;
    padding: 0 20px;
  }

  .main .right_main {
    width: 30%;
  }

  #tab1:checked~#tab1_content,
  #tab2:checked~#tab2_content,
  #tab3:checked~#tab3_content,
  #tab4:checked~#tab4_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .main  .right_main{
    width: 100%;
    margin-top: 50px;
  }
  .wrap_staff{
    display: flex;
    justify-content: center;
  }
  .staff1{
    margin-right: 40px;
  }
  .staff2{
    margin-left: 40px;
  }
  .wrap_staff .box1_staff .icon_staff{
    margin-top: 30px;
  }
}

@media screen and (max-width: 770px) {
  .text_sp_prof{
    display: block;
  }
  .p_tabcon_sp{
    display: block;
  }
  .main {
    padding-top: 2%;
  }
  .wrap_staff{
    flex-direction: column;
  }
  .main .left_main header{
    height: 110px;
    padding: 30px 20px 0 20px;
  }
  .main .left_main header img{
    width: 90px;
  }
  h1{
    font-size: 25px;
    margin-top: -35px;
  }
  .text_pc_prof{
    display: none;
  }
  .text_sp_prof{
    font-size: 15px;
  }
  .a_sp_prof{
    font-weight: bold;
  }
  .tab_item{
    font-size: 16px;
  }
  .main .left_main .box_tab{
    padding: 15px 4%;
  }
  .main .left_main .box_tab .tab_content{
    padding: 15px 4%;
  }
  .main .left_main .box_tab .tab_content .title_tabcon{
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
  }
  .main .left_main .box_tab .tab_content .box_flow{
    flex-direction: column;
    align-items: center;
    margin-top: 27px;
  }
  .main .left_main .box_tab .tab_content .box_flow .step{
    border: none;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  .main .left_main .box_tab .tab_content .box_flow .right_tabcon{
    padding: 0;
    text-align: center;
  }
  .main .left_main .box_tab .tab_content .box_flow .right_tabcon p{
    font-size: 15px;
  }
  .right_tabcon p:first-child {
    font-weight: 500;
  }
  .main .left_main .box_tab .tab_content .box_flow .right_tabcon .p_tabcon_pc{
    display: none;
  }
  .right_tabcon .text_tabcon_sp{
    text-align: left;
  }
  .heisha{
    margin-top: 20px;
    margin-left: 7px;
    padding: 7px 0 7px 10px;
    width: 100%;
  }
  .right_tabcon p:first-child {
    margin-bottom: 0;
    margin-top: 7px;
  }

  .staff{
    font-size: 25px;
  }
  .box1_staff{
    margin: 0;
  }
  .box1_staff .ex_staff{
    font-size: 15px;
  }
  .ex_staff p:nth-child(2n-1) {
    font-size: 16px;
  }
  .ex_staff p:nth-child(2n) {
    margin-top: 3px;
  }
  footer{
    margin-top: 30px;
    border-radius: 30px 30px 0 0;
  }
}
