@charset "utf-8";

html {
  scroll-behavior: smooth;
  color: #666666;
  font-family: "Noto Sans JP", sans-serif;
  background-color: #f9f3ee;
}

.header{
  max-width: 1040px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  padding-bottom: 15px;
  z-index: 10;
}
.header_btn_box {
  max-width: 1040px;
  max-width: auto;
}

.header_btn_box a {
  color: #fff;
}

.header_btn1 {
  width: 35%;
  display: block;
  color: #fff;
  background-color: #444;
  /* border: 1px solid #000; */
  line-height: 65px;
  text-align: center;
  /* font-size: 25px; */
  /* position: relative; */
}

.header_btn1 a {
  display: block;
  font-size: 20px;
  /* padding: px 10px 12px 48px; */
}
.header_btn1 a::before{
  content: '';
  background-image: url(../img/mail_icon.jpg);
  background-repeat: no-repeat;
  display: inline-block;
  width: 22px;
  height: 22px;
  background-size: contain;
  vertical-align: middle;
  margin-right: 10px;
}

.header_btn2 {
  position: relative;
  width: 35%;
  background-color: #ff7878;
  text-align: center;
  padding: 18px;
  height: 65px;
  inset: 0;
  margin: auto;
  line-height: 0.6;
}

.header_btn2 a{
  display: block;
  font-size: 150%;
  height: 65px;
  color: #fff;

}
.header_btn2 span {
  display: block;
  text-align: center;
  color: #ffffff;
  font-size: 60%;
  line-height: 2.5;
}

.header_btn3 {
  width: 35%;
  color: #fff;
  background-color: #5095ef;
  text-align: center;
  height: 65px;
}
.header_btn3 a {
  display: block;
  font-size: 130%;
  line-height: 65px;
}

.header_btn_box {
  display: flex;
  margin: 0 auto;
}

.header_inner {
  max-width: 1040px;
  margin: 0 auto;
  background-color: #fff;
}

.logo{
  display: block;
  max-width: 1040px;
  padding: 20px 0;
  background: linear-gradient(to bottom, rgba(255,255,255,50), transparent);
}

/* ここから飯田作 */

body {

  background-color: #f9f3ee;
  /* position: relative; */
}
.zentai {
  width: 100vw;
  background-color: #f9f3ee;
}


.main_photo {
  background: url(../img/pixta.jpg) center/cover;
  height: clamp(300px, 50vw, 500px);
  /* position: relative; */
  background-size: 70%;
  background-repeat: no-repeat;
}

h1{
    /* position: relative; */
    margin: 0 auto;
    line-height: clamp(300px, 50vw, 200px);
    width: fit-content;
    font-size: 40px;

}

/* .line{
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid #000;
 } */

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  background-color: #f9f3ee;
  padding: 0 20px;
  border: 0px solid #000;
}

.nav_outer {
  margin: 18px 0 40px;
  max-width: 1000px;/* 後から追加 */
  border: 0px solid #000;/* 後で調整 */
}
.nav_inner {
  padding: 20px 4vw 0px;
  margin: 0 auto;
  background-color: rgb(255, 255, 255);
  border: 1px solid #000;
}
.nav_inner .element li{
  background-color: #ddd;
}
.nav_inner ul {
  display: flex;
  justify-content: space-around;
  line-height: 1;
  margin-bottom: 20px;
}
.nav_inner ul li {
  width: 40%;
  text-align: center;
  line-height: 3;
  border: 1px solid #000;
}
.nav_inner ul li a {
  font-size: clamp(12px, 1.5vw, 20px);
  display: block;
  text-decoration: none;
}
section {
  margin-bottom: 35px;
}
.tbl1 {
  border-collapse: collapse;
  border: 1px solid #000000;
  background-color: #f00;
  width: 80%;
  line-height: 3;
  /* margin-top: 25px; */
  margin: 25px auto;
}
.tbl1 td:nth-child(1){
  width: 30%;
  padding: 10px;
  background-color: rgb(255, 255, 255);
}
.tbl1 td:nth-child(2){
  padding: 10px;
  background-color: rgb(255, 255, 255);
}
.tbl1,
.tbl1 th,
.tbl1 td {
  border-collapse: collapse;
  border: 1px solid #000000;
  /* background-color: rgb(230, 22, 22); */
  line-height: 2;
}
h2{
  margin-top: 20px;
  margin-bottom: 5px;
  padding: 6px;
  background-color: #c9c6c6;
  border-bottom: 10px solid #303030;
}
.MHLW{
  text-decoration: underline;
}

/*ここからフロー */
section{
  margin: 55px;
}

.flow01 li{
  margin: 30px 0;
}
.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 50px 0 50px;
  border-color: #acacac transparent transparent transparent;
  /* text-align: center; */
  /* justify-content: center; */
  margin: 30px auto;
}
.box{
  display: flex;
  background-color: #f3f0f1;
  border: 1px solid #9291919a;
  width: 90%;
  /* justify-content: center;←これダメ！！ */
  margin: 0px auto;
  align-items: center;
  border-radius: 20px;
}
.box .step{
  display: flex;
  background-color: #6b6b6b;
  border-bottom: 6px solid #0000007a;
  padding: 10px 20px;
  border-radius: 20px;
  /* height: fit; */
  /* align-items: stretch; */
  align-self: auto;
  color: #fff;
}
.box .phrase{
  padding: 0 15px;
  width: 85%;
  line-height: 2;
}

/* .box #last_box{
  margin-bottom: 30px;
} */


/* ここまでフロー */



footer.sfooter {
  background-color: #444;
  color: #fff;
  padding-top: 50px;
}

footer.sfooter a {
  color: #fff;
}

.sfooter .footer_inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer_left {
  width: 365px;
  padding-left: 20px;
}

.footer_center {
  width: 300px;
}

.footer_right {
  width: 300px;
  margin-right: 20px;
}

.company_name {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
}

.company_address {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sfooter .privacy_policy {
  display: block;
  width: 170px;
  text-align: center;
  font-size: 18px;
  background-color: #fff;
  padding: 7px 13px;
}

.sfooter .privacy_policy a {
  color: #444;
  font-weight: bold;

}

.sfooter .privacy_policy a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.link_item {
  color: #fff;
  font-size: 16px;
}

.link_item_detail {
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  padding-left: 16px;
  margin-bottom: 20px;
}

.link_item a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.link_item_detail a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.company_name a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.company_address a:hover {
  color: #0d9ab6;
  font-weight: bold;
}

.mb25 {
  margin-bottom: 25px;
}

.mb7 {
  margin-bottom: 7px;
}

.mt33 {
  margin-top: 33px;
}

.copyright {
  max-width: 1040px;
  margin: 0 auto;
  font-size: 14px;
  color: #fff;
  border-top: solid 1px #fff;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 35px;
}

.sp_nav{
  display: none;
}


@media screen and (max-width: 768px){
  .main_photo {
    background: url(../img/pixta.jpg) center/cover;
    height: clamp(300px, 50vw, 500px);
    /* position: relative; */
    background-size: 70%;
    background-repeat: no-repeat;
  }

  h1{
      /* position: relative; */
      margin: 0 auto;
      line-height: clamp(200px, 30vw, 50vw);
      width: fit-content;
      font-size: 5vw;

  }

  /* .line{
    width: 100%;
    height: 100%;
    padding: 10px;
    border: 1px solid #000;
   } */




  section {
    margin-bottom: 50px;
    width: 95%;
    margin: 0 auto;
  }
  h2{
    margin-top: 10px;
  }
  .content_text{font-size: 14px;
    line-height: 2;
  }
  .tbl1{
    font-size: 14px;
    line-height: 2;
  }
  .flow01 > li:not(:last-child) {
    margin-bottom: 30px;
  }
  .box .step{
    display: block;
    /* margin: 0 auto; */
    text-align: center;
    /* justify-content: center; */
    /* vertical-align: auto; */
  }
  .phrase{
    font-size: 14px;
  }

  .header{
    position: sticky;
    top: 0;
    padding-bottom: 5px;
    z-index: 10;
  }

  .header_inner {
    max-width: 100%;
    margin: 0 auto;
    /* background-color: #fff; */
  }

  .logo{
    display: block;
    text-align: center;
  }

  .logo img{
    max-width: 330px;
  }

/* ■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■ */
/* 上部のボタン */
/* ■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■ */

  .header_btn_box {
    max-width: 100%;
    display: block;
  }

  .header_btn_box a {
    color: #fff;
  }

  .header_btn1 {
    width: 100%;
    display: block;
    color: #fff;
    background-color: #444;
    /* border: 1px solid #000; */
    line-height: 250%;
    text-align: center;
    /* font-size: 25px; */
    position: relative;
  }

  .header_btn1 a {
    display: block;
    font-size: 100%;
    letter-spacing: 0.5em;
    line-height: 250%;
    /* padding: px 10px 12px 48px; */
  }

  .header_btn1 a::before{
    content: '';
    background-image: url(../img/mail_icon.jpg);
    background-repeat: no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    vertical-align: middle;
    margin-right: 5px;
  }

  .header_btn2 {
    display: none;

    float: left;
    /* position: relative; */
    width: 50%;
    background-color: #ff7878;
    text-align: center;
    padding: 5px;
    height: 35px;
    inset: 0;
    margin: auto;
    line-height: 0.6;
  }

  /* .header_btn2 a{
    display: none;
    display: block;
    font-size: 13px;
    height: 35px;
    color: #fff;
  } */

  /* .header_btn2 span {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 10px;
    line-height: 35px;
  }
   */

  .header_btn3 {
    display: none;

    float: right;
    width: 50%;
    color: #fff;
    padding: 5px;
    background-color: #5095ef;
    text-align: center;
    height: 35px;
  }

  /* .header_btn3 a {
    display: block;
    font-size: 13px;
    line-height: 35px;
  } */

  .header_btn_box {
    max-width: 100%;
    margin: 0 auto;
  }

  /* ■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■ */
/* SP用のボタン表示 */
  /* ■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■ */

  .sp_nav{
    display: block;
    justify-content: space-between;
    width: 100%;
    display: flex;
    height: 40px;
    position: sticky;
    bottom: 0;
  }

  .sp_btn2{
    width: 50%;
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
    padding: 5px;
    text-align: center;
    background-color: #ff7878;
    color: #fff;
  }
  .sp_btn2 span{
    font-size: 8px;
    color: #fff;
  }

  .sp_btn3{
    width: 50%;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    background-color: #5095e8;
    line-height: 40px;
    color: #fff;
  }

  /* ■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■ */
  /* フッター部ここから*/
  /* ■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■◇■ */

  footer.sfooter {
    background-color: #444;
    color: #fff;
    padding-top: 50px;
  }

  footer.sfooter a {
    color: #fff;
  }

  .sfooter .footer_inner {
    max-width: 100%;
    margin: 0 auto;
    /* display: flex; */
    /* justify-content: space-between; */
    display: block;
  }

  .footer_left {
    width: 100%;
    margin-top: 15px;
    padding-left: 20px;
  }

  .footer_center {
    width: 100%;
    padding-left: 20px;
    margin-top: 50px;
  }

  .footer_right {
    width: 100%;
    margin-right: 20px;
    padding-left: 20px;
  }

  .company_name {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .company_address {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .sfooter .privacy_policy {
    display: block;
    width: 170px;
    text-align: center;
    font-size: 18px;
    background-color: #fff;
    padding: 7px 13px;
  }

  .sfooter .privacy_policy a {
    color: #444;
    font-weight: bold;
  }

  .sfooter .privacy_policy a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }

  .link_item {
    color: #fff;
    font-size: 16px;
  }

  .link_item_detail {
    color: #fff;
    font-size: 16px;
    line-height: 1.8;
    padding-left: 16px;
    margin-bottom: 20px;
  }

  .link_item a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }

  .link_item_detail a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }

  .company_name a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }

  .company_address a:hover {
    color: #0d9ab6;
    font-weight: bold;
  }

  .mb25 {
    margin-bottom: 25px;
  }

  .mb7 {
    margin-bottom: 7px;
  }

  .mt33 {
    margin-top: 33px;
  }

  .copyright {
    max-width: 1040px;
    margin: 0 auto;
    font-size: 14px;
    color: #fff;
    border-top: solid 1px #fff;
    padding-top: 20px;
    padding-left: 20px;
    padding-bottom: 35px;
  }
  /*フッター部ここまで*/
}
