@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url('https://fonts.googleapis.com/css?family=Shadows+Into+Light&display=swap');
* {
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
 }

html {
  margin: 0;
  overflow:auto;
  scroll-behavior: smooth;
}

body {
  background-color: #fbf9f5;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none
}
footer {
  bottom: 0;
  width: 100%;
  background-color: #00a999;
}
img {
  border: none;
  vertical-align: bottom
}
a {
  text-decoration: none;
  color: #FFFFFF;
}
  a:link,
  a:visited {
    text-decoration: none
  }
  a:hover,
  a:active {
    color: #666666;
  }
  a:focus {
    outline: none
  }
button {
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}
button:hover {
  opacity: 0.5;
}
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.center {
  position: relative;
}

@media only screen and (min-width: 768px) {
  #contents {
    width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
  }
  #contents-img {
    text-align: center;
  }
  #white-area {
    margin: 50px 0;
  }
  #green-bg {
    background-color: #00a999;
    padding: 50px 0;
  }
/********************************************top**************************************************************/
  #topBG {
    margin: 0;
    padding: 0;
    position: relative;
  }
    .top_img {
      text-align: center;
      position: relative;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      z-index: 2;
    }
    .top-color {
      position: absolute;
      bottom: -80px;
      z-index: 1;
    }
      .top-color img {
        height: 350px;
      }
    .top-cloud {
      position: absolute;
      bottom: -80px;
      z-index: 999;
    }
/********************************************contents******************************************************/
#cont-title {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 999;
}
#coution-text {
  text-align: center;
  line-height: 2em;
  margin: 20px 0;
}
  #coution-text p {
    font-size: .8rem;
  }

#triangle-area {
  margin-bottom: 30px;
}
.tri-text {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px; 
}
.triangle {
  text-align: center;
  margin: 0 auto;
  background-color: #00a999;
  width: 45px;
  height: 40px;
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
}

#cont-text {
  text-align: center;
  font-size: 1.65rem;
  line-height: 1.65em;
  margin: 50px 0;
}

#hot-box {
  background-color: #FFFFFF;
  border:5px solid #fee303;
  margin: 50px 0;
  padding: 50px 20px;
}
  #hot-box p {
    text-align: center;
    font-size: 1.25rem;
  }
#hot-text {
  margin: 50px 0;
}
  #hot-text p {
    font-size: 1.25rem;
    color: #FFFFFF;
    text-align: center;
  }

#things-text {
  margin-top: 30px;
}
  #things-text p {
    text-align: right;
  }

#voice-bg {
  padding: 40px 0;
  border-top: dashed 3px #FFFFFF;
  border-bottom: dashed 3px #FFFFFF;
}

#method-text {
  position: relative;
  margin: 50px 0;
}
  #method-text p {
    text-align: center;
    font-size: 1.45rem;
  }
  .method-img1 {
    position: absolute;
    top: 0;
    left: 50px;
  }
  .method-img2 {
    position: absolute;
    bottom: 0;
    right: 50px;
  }
/********************FLEX始まり************************/
  #flex-container {
    width: 1000px;
    height: auto;
    margin: 50px 0;
  }
  #flexItem,
  #flexItem3,
  #flexItem4 {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    margin: 0 auto;
  }
  #flexItem2 {
    flex-flow: row-reverse;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    margin: 50px auto 0;
  }
  #flexItem5 {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    margin: 0 auto 50px;
  }
  #flexItem4 {
    margin-top: 50px!important;
  }
  #flexItem5:nth-child(2) {
    flex-flow: row-reverse;
  }
    .between {
      -webkit-box-pack:justify;
      -ms-flex-pack:justify;
      justify-content:space-between;
    }
    .around {
      -webkit-box-pack:justify;
      -ms-flex-pack:justify;
      justify-content:space-around;      
    }
    #flexItem .flex_child,
    #flexItem2 .flex_child,
    #flexItem5 .flex_child {
      text-align: justify;
    }
    #flexItem3 .flex_child {
      width: 32%;
      text-align: justify;
    }
    #flexItem4 .flex_child {
      width: 30%;
      text-align: justify;
    }
      #flexItem3 .flex_child:nth-child(2) {
        padding-top: 70px;
      }
      #flexItem .flex_child .flex-img,
      #flexItem2 .flex_child .flex-img,
      #flexItem3 .flex_child .flex-img,
      #flexItem4 .flex_child .flex-img,
      #flexItem5 .flex_child .flex-img {
        text-align: center;
      }
      .flex-title {
        text-align: center;
        color: #00a999;
        font-size: 2.25rem;
        font-weight: bolder;
      }
      .flex-title2 {
        text-align: center;
        font-size: 2.25rem;
        font-weight: bolder;
      }
      .flex-text {
        margin-top: 10px;
        text-align: left;
        font-size: 1.25rem;
      }
        .text-postion {
          text-align: left;
          padding-top: 50px;
          padding-right: 40px;
        }
          .text-postion2 {
            text-align: left;
            padding-top: 50px;
            padding-left: 40px;
          }
          .text-postion p,
          .text-postion2 p {
            font-size: 1.25rem;
            line-height: 2em;
          }
            .text-postion p.white,
            .text-postion2 p.white {
              color: #FFFFFF!important;
              font-size: 1.45rem!important;
            }
        .postion-title {
          font-size: 2rem;
          font-weight: bold;
          margin-bottom: 30px;
        }
        .voice-title {
          font-size: 3rem;
          font-weight: bold;
          margin-bottom: 30px;
          color: #FFFFFF;
        }
          .voice-title i {
            margin-right: 15px;
          }


/********************************************ボタン************************************************************/
#btn {
  text-align: center;
  margin: 50px 0;
}
#btn2 {
  text-align: center;
  margin: 0 auto 10px;
}
#btn a:hover img,
#btn2 a:hover img {
    filter:alpha(opacity=70);
    opacity:0.7;
}

#contact-btn {
  text-align: center;
  margin: 0 auto;
}
.btn {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
a.btn-yellow {
  color: #000000;
  background-color: #FFFF00;
}

a.btn-yellow:hover {
  color: #ffffff;
  background: #FFD700;
}

a.btn-yellow.btn-cubic {
  border-bottom: 5px solid #FFD700;
}

a.btn-yellow.btn-cubic:hover {
  margin-top: 3px;
  border-bottom: 2px solid #FFD700;
}

a.btn-y {
  font-size: 1.2rem;
  position: relative;
  border-radius: 100vh;
}

a.btn-y i.fa {
  margin-right: 1rem;
}

a.btn-y:before {
  font-family: 'Font Awesome 5 Free';
  font-size: 1.2rem;
  line-height: 1;
  position: absolute;
  top: calc(50% - .8rem);
  right: 1rem;
  margin: 0;
  padding: 0;
  content: '\f054';
}
#contact-box {
  width: 500px;
  margin: 50px auto 0;
  text-align: center;
}
.contact {
    position: relative;
    margin: 2em 0;
    padding: 1em 2em;
    border: solid 3px #FFFFFF;
}
.contact p {
    margin: 0; 
    padding: 0;
    color: #FFFFFF;
    line-height: 2em;
}
  .contact p a {
      color: #FFFFFF;
  }
  .contact p a:hover {
      color: #FFFF00;
  }
/********************************************規約*************************************************************/
  #kiyaku_contents {
    width: 1000px;
    height: 100%;
    margin: 50px auto 100px;
    overflow: hidden
  }
  #kiyaku_header {
    background-color: #032F04;
    color: #FFFFFF;
    font-size: 1.2rem;
    text-align: center;
    padding: 5px 0;
  }
  .kiyaku_title {
    color: #032F04;
    text-align: left;
    font-size: 1.4rem;
    line-height: 2em;
    margin: 30px 0;
  }
  #kiyaku_contents p {
    text-align: justify;
    font-size: 1rem;
    line-height: 2em;
    margin-bottom: 20px;
  }
  #kiyaku_contents p span {
    font-weight: bold;
  }
  #fkiyaku {
    text-align: center;
    margin: 0 auto
  }

  .footer_link {
    margin-bottom: 15px;
    color: #FFFFFF;
    font-size: 0.8rem;
  }
    .footer_link a {
      color: #FFFFFF;
      font-weight: 300;
    }
      .footer_link a:hover {
        color: #FFFF00;
        font-weight: 300;
      }

  #fkiyaku ul {
    width: 100%;
    font-size: 0;
    padding: 5px 0;
  }

  #fkiyaku ul li {
  font-size: 0.8rem;
  line-height: 1em;
  padding:0 ;
  font-weight: 200;
  color: #FFFFFF
  }
}