@charset "utf-8";

/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

/*-----/リセット-----*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  vertical-align:baseline;
  background:transparent;
  font-weight: normal;
}
body {
  line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
  display:block;
}
nav ul {
  list-style:none;
}
blockquote, q {
  quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}
a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}
/* change colours to suit your needs */
mark {
  background-color:#ff9;
  color:#000; 
  font-style:italic;
  font-weight:bold;
}
del {
  text-decoration: line-through;
}
abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}
table {
  border-collapse:collapse;
  border-spacing:0;
}
/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;   
  margin:0;
  padding:0;
}
input, select {
  vertical-align:middle;
}
/*-----/リセット-----*/

body {
  color: #0e0000;
  font-family: 'YuGothic','Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', 'Meiryo','ＭＳ ゴシック',sans-serif;
  line-height: 1.5;
  font-size: 0.9rem;
}
a {
  color: #000;
  text-decoration: none;
}
a:hover {
  color:#00A29A;
  text-decoration: none;
}
.bg-green{
  background-color: #00A29A;
  color: #ffffff;
}
.bg-gray{
  background-color: #F0F0F0;
}
.bg-white{
  background-color: #ffffff;
  color: #00A29A;
}
.text-green{
  color: #00A29A;
}
.d-none {
  display: none!important;
}

/*-----ローディング-----*/

img.loading-Img {
  width: 60%;
  height: auto;
}
.loading-Bar {
  position: fixed;
  top: 0;
  left: 0;
  background: #00A29A;
  height: 4px;
  -webkit-transition: all 0.4s linear 0s;
  transition: all 0.4s linear 0s;
  width: 0;
}
.loading-Img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
/*-----/ローディング-----*/

/*-----ファーストビュー画像-----*/
.fv {
  background: #f2f7ff;
  position: relative;
}
.fv-img img{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  object-fit: cover;
}
.fv-img #title{
  position: absolute;
  top: calc(36% - 48px / 2 + 30px);
  left: 10%;
  z-index: 9999;
}
.fv-img #title h2{
  font-size: 2.0rem;
  font-weight: bold;
}
.fv-img #title p{
  font-size: 1.0rem;
}
/* scrolldownアニメーション設定 */
.scrolldown {
  width: 40px;
  height: 220px;
  overflow: hidden;
  position: absolute;
  top: calc(60% - 48px / 2 + 30px);
  right: 20px;
  z-index: 9999;
}
.arrowWrap {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 210px;
}
.arrowInner p {
  font-size: 1rem;
  text-align: end;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.arrowInner p a {
  color: #0e0000;
  text-decoration: none;
}
.arrowInner p a:hover {
  color: #00A29A;
  text-decoration: none;
}
.arrow {
  width: 2px;
  height: 120px;
  margin: 20px auto 0;
  background-color: #eee;
  position: relative;
  overflow: hidden;
}
.arrow::before {
  content: '';
  width: 4px;
  height: 120px;
  margin: 20px auto 0;
  background-color: #0e0000;
  position: absolute;
  top: -120px;
  left: 0;
  -webkit-animation: arrow 2.5s ease 0s infinite normal;
  animation: arrow 2.5s ease 0s infinite normal;
}
@keyframes arrow {
  0% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }

  60% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }

  100% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }
}
.maru {
  background: #0e0000;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin: 0 auto;
}
/*-----/ファーストビュー画像-----*/

/*-----グローバルメニュー-----*/
.header {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999;
  height: 55px;
}
.logo img{
  width: 150px;
  height: auto;
  margin: 16px 30px;
}
.nav-button {
  display: none;
}
.nav .tel-box a {
  color: #ffffff;
  text-decoration: none;
}
.nav .tel-box a:hover {
  color: #000000;
  text-decoration: none;
}
.nav li {
  display: inline-block;
  vertical-align: middle;
  margin: 0 10px;
  font-weight: bold;
}
.nav .tel-box {
  height: 70px;
}
.nav .tel-box img{
  width: 30px;
  height: auto;
  margin: 20px 20px;
}
.nav .tel-box p{
  font-size: 0.7rem;
}
.nav .tel-box h4{
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 10px;
}
.nav-wrap.open {
  display: block;
}
.nav-wrap.close {
  display: none;
}
/*-----/グローバルメニュー-----*/

/*-----アニメーション-----*/
.fade_in_up{
  animation:fadeInUp 2s linear;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade_in {
  animation: fadeIn 2s linear;
  visibility: visible !important;
}
@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
/* scrollupアニメーション設定 */
.scrollup {
  width: 45px;
  height: 220px;
  overflow: hidden;
  position: absolute;
  top: calc(82% - 48px / 2 + 30px);
  right: 20px;
  z-index: 9999;
}
.arrowup {
  width: 2px;
  height: 100px;
  margin: 0 auto 30px;
  background-color: #eee;
  position: relative;
  overflow: hidden;
}
.arrowup::before {
  content: '';
  width: 4px;
  height: 100px;
  margin: 20px auto 0;
  background-color: #0e0000;
  position: absolute;
  bottom: 120px;
  left: 0;
  -webkit-animation: arrowup 2.5s ease 0s infinite normal;
  animation: arrowup 2.5s ease 0s infinite normal;
}
@keyframes arrowup {
  0% {
    -webkit-transform: translate3d(-50%, 100px, 0);
    transform: translate3d(-50%, 100px, 0);
  }

  60% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}
.maru {
  background: #0e0000;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin: 0 auto;
}
/*-----/アニメーション-----*/

/*-----メインコンテンツ-----*/
.area {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
}
.area h3{
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  padding-bottom: 5px;
}
.area h4{
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}
.area h5{
  text-align: center;
  font-size: 1rem;
  padding-bottom: 15px;
}
.area h6{
  font-size: 0.9rem;
  font-weight: bold;
  padding-top: 30px;
}
.border {
  border-bottom: 2px solid #0e0000;
  width: 58%;
  position: absolute;
  left: 0;
}
.border-right {
  border-bottom: 2px solid #0e0000;
  width: 58%;
  position: absolute;
  right: 0;
}
.border-white {
  border-bottom: 2px solid #ffffff !important;
}
.heading-white {
  color:#0e0000;
  background-color: #ffffff;
  padding: 0.5em;
  border-radius: 1.5em;
  width: 200px;
  margin: 30px auto 0 auto;
}
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  padding-top: 30px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
  text-align: center;
}
.inner{
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flex{
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  position: relative;
  width: 100%;
  min-height: 1px;
}
.flex-768{
  margin-top: 15px;
  margin-bottom: 15px;
}
.img-box, .text-box, .fullimg-box{
  margin-top: 30px
}
.img-box .flex div{
  overflow: hidden;
  position: relative;
  height: 200px;
  margin-left: 5px;
  margin-right: 5px;
}
.fullimg-box{
  overflow: hidden;
  position: relative;
  height: 260px;
  margin-bottom: -80px;
}
.img-box .flex div img, .fullimg-box img{
  position: absolute;
  top: 0%;
  left: 50%;
  -webkit-transform: translate(-50%, -25%);
  -ms-transform: translate(-50%, -25%);
  transform: translate(-50%, -25%);
  width: 100%;
  height: auto;
}
.text-box div{
  margin-left: 15px;
  margin-right: 15px;
  padding: 15px;
  width: 100%;
}
.text-box div ul{
  text-align: left;
  margin: 15px;
}
.dd-box dt, .dd-box dd{
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #6F6F6F;
  margin-top: 0;
  margin-left: 15px;
  margin-right: 15px;
  padding: 0 10px 15px;
}
.form-box dt, .form-box dd{
  width: 100%;
  text-align: left;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0 20px 5px 5px;
}
.dd-box dt, .form-box dt {
  border-bottom: none;
  font-weight: bold;
  margin-bottom: 0;
}
.form-box input{
  width: 100%;
  height: 30px;
  font-size: 1rem;
}
.form-box textarea{
  width: 100%;
  height: 150px;
  font-size: 1rem;
}
#form dl{
  padding-top: 30px;
}
.thanks-message, #error{
  font-size: 1rem;
  font-weight: bold;
  padding-bottom: 5px;
  color: #fbf504;
}
.error-box{
  padding-top: 30px;
}
.p-box{
  text-align: left;
}
.p-box ul{
  list-style: disc inside;
}
footer{
  text-align: center;
  margin: 0 auto;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 0.7rem;
}
/*-----/メインコンテンツ-----*/

/*-----Google Maps-----*/
.gmap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-top: 50px;
}
.gmap iframe,
.gmap object,
.gmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/*-----/Google Maps-----*/

/*-----button-----*/
.button{
  margin: 30px auto 0 auto;
}
.btn-animation-02 {
  display: inline-block;
  width: 200px;
  text-align: center;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5em;
  position: relative;
}
.btn-animation-02 span {
  position: relative;
  z-index: 1;
}
.btn-animation-02::before,
.btn-animation-02::after {
  content: "";
  display: block;
  background-color: #00A29A;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .2s;
}
.btn-animation-02::before {
  left: 0;
}
.btn-animation-02::after {
  right: 0;
}
.btn-animation-02:hover:before,
.btn-animation-02:hover:after {
  width: 0;
  background-color: #00A29A;
}
.btn-animation-02:hover {
  color: #00A29A;
  text-decoration: underline;
}
/*-----/button-----*/

@media screen and (min-width: 576px) { 
    /*-----ファーストビュー画像-----*/
    .fv-img #title h2{
      font-size: 2.8rem;
    }
    .fv-img #title p{
      font-size: 1.2rem;
    }
    /*-----/ファーストビュー画像-----*/

    /*-----メインコンテンツ-----*/
    .container {
        max-width: 540px;
    }
    .d-576-block {
        display: block!important;
    }
    /*-----/メインコンテンツ-----*/
}

@media screen and (min-width:768px) {
    .d-768-block {
      display: block!important;
    }
    body {
      font-size: 1rem;
    }
    /*-----ローディング-----*/
    img.loading-Img {
      width: 30%;
    }
    /*-----/ローディング-----*/

    /*-----ファーストビュー画像-----*/
    .fv-img #title{
      left: 45%;
    }
    /* scrolldownアニメーション設定 */
    .scrolldown {
      top: calc(70% - 48px / 2 + 30px);
      right: 50px;
    }
    /*-----/ファーストビュー画像-----*/

    /*-----グローバルメニュー-----*/
    .header {
      height: 70px;
    }
    .logo img{
      width: 180px;
      margin: 20px 30px;
    }
    /*メニューボタン*/
    .nav-button {
      margin: 22px 30px 0 17px!important;
    }
    .nav .tel-box {
      margin: 0 0 0 10px;
    }
    .nav .tel-box .flex{
      max-width: 75%;
      width: 75%;
    }
    /*-----/グローバルメニュー-----*/

    /*-----メインコンテンツ-----*/
    .area {
      padding-top: 80px;
      padding-bottom: 80px;
    }
    .area h3{
      font-size: 1.6rem;
      padding-bottom: 5px;
    }
    .area h4{
      font-size: 1.2rem;
    }
    .area h5{
      font-size: 1.2rem;
      padding-bottom: 30px;
    }
    .area h6{
      font-size: 1rem;
      padding-top: 30px;
    }
    .heading-white {
      margin: 50px auto 0 auto;
    }
    .container {
      padding-top: 50px;
    }
    .img-box, .text-box, .fullimg-box{
      margin-top: 50px
    }
    .img-box .flex div{
      height: 260px;
    }
    .text-box div{
      padding: 30px;
    }
    .text-box div ul{
      margin: 30px;
    }
    /* scrollupアニメーション設定 */
    .scrollup {
      width: 40px;
      top: calc(78% - 48px / 2 + 30px);
      right: 50px;
    }
    .arrowup {
      height: 120px;
    }
    .arrowup::before {
      height: 120px;
    }
    @keyframes arrowup {
      0% {
        -webkit-transform: translate3d(-50%, 120px, 0);
        transform: translate3d(-50%, 120px, 0);
      }
    
      60% {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
      }
    
      100% {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
      }
    }
    .container {
      max-width: 720px;
    }
    .flex-768{
      -ms-flex-preferred-size: 0;
      flex-basis: 0;
      -ms-flex-positive: 1;
      flex-grow: 1;
      max-width: 100%;
      position: relative;
      width: 100%;
      min-height: 1px;
      margin-top: 0;
      margin-bottom: 0;
    }
    .dd-box dt, .dd-box dd, .form-box dt, .form-box dd {
      margin-left: 0;
      margin-right: 0;
      margin-bottom: 15px;
      padding: 0 30px 15px;
    }
    .dd-box dt {
      border-bottom: 1px solid #6F6F6F!important;
      -ms-flex: 0 0 25%;
      flex: 0 0 25%;
      max-width: 25%;  
      text-align: center;
      margin-left: 15px;
    }
    .dd-box dd, .form-box dd {
      margin-right: 15px;
    }
    .form-box dt {
      -ms-flex: 0 0 25%;
      flex: 0 0 25%;
      max-width: 25%;  
      text-align: center;
      margin-left: 15px;
    }
    .form-box input{
      width: 80%;
      height: 30px;
      font-size: 1rem;
    }
    .form-box textarea{
      width: 80%;
      height: 150px;
      font-size: 1rem;
    }
    #form dl{
      padding-top: 50px;
    }
    .thanks-message, #error{
      font-size: 1.2rem;
    }
    .error-box{
      padding-top: 50px;
    }
    /*-----/メインコンテンツ-----*/

    /*-----button-----*/
    .button{
      margin: 50px auto 0 auto;
    }
    /*-----/button-----*/
}

@media screen and (max-width: 991px) {
  /*-----グローバルメニュー-----*/
  .nav-button {
    display: block;
    cursor: pointer;
  }
  .nav-wrap {
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
  }
  .nav-wrap .nav {
    height: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 60px 0;
    text-align: center;
  }
  .nav-wrap li {
    display: block;
    margin: 2em;
  }
  .nav-wrap li a {
    color: #fff;
    font-size: 18px;
  }
  /*メニューボタン*/
  .nav-button,
  .nav-button span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
  }
  .nav-button {
    z-index: 20;
    position: relative;
    width: 32px;
    height: 26px;
    margin: 16px 30px 0 17px;
  }
  .nav-button span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #00A29A;
    border-radius: 4px;
  }
  .nav-button span:nth-of-type(1) {
    top: 0;
  }
  .nav-button span:nth-of-type(2) {
    top: 12px;
  }
  .nav-button span:nth-of-type(3) {
    bottom: 0;
  }
  .nav-button.active span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg);
  }
  .nav-button.active span:nth-of-type(2) {
    opacity: 0;
  }
  .nav-button.active span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
    transform: translateY(-12px) rotate(45deg);
  }
  .flex-tel{
    display: none;
  }
  /*-----/グローバルメニュー-----*/
}

@media screen and (min-width: 992px) { 
    .container {
        max-width: 920px;
    }
    /*-----ファーストビュー画像-----*/
    .fv-img #title{
      left: 56%;
    }
    /*-----グローバルメニュー-----*/
    .nav-wrap {
      display: block !important;
    }
    .content {
      padding: 20px;
    }
    .nav li {
      font-size: 0.9rem;
    }
    .flex-tel{
      -ms-flex: 0 0 25%;
      flex: 0 0 25%;
      max-width: 25%;
      text-align: center;
    }
    /*-----/グローバルメニュー-----*/
}

@media screen and (min-width:1200px) {
    .container {
        max-width: 1040px;
    }
    /*-----ファーストビュー画像-----*/
    .fv-img #title h2{
      font-size: 3.4rem;
    }
    .fv-img #title p{
      font-size: 1.4rem;
    }
    /*-----グローバルメニュー-----*/
    .nav li {
      font-size: 1rem;
    }
    /*-----/グローバルメニュー-----*/
}
