@charset "utf-8";

/*共通設定*/
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


ul,
ol {
  list-style: none;
}

p,
dd {
  line-height: 1.5;
}

p,
a,
h1,
h2,
h3,
h4,
dt,
dd,
dl {
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}


body {
  font-size: 16px;
  color: #000000;
  line-height: 1;
  background-color:#ffffff;
}

img {
  max-width: 100%;
}

h2 {
  font-size: 35px;
}

h3 {
  font-size: 25px;
}

.sec-title {
  display: inline-block;
  position: relative;
  z-index: 10;
  margin-bottom: 50px;
}

.sec-title p {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  font-size: 65px;
  color: #f0f0f0;
  font-family: 'Allura', cursive;
  z-index: -1;
}

.sec-title h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #000000;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.btn a {
  border: solid 3px #67a8dd;
  padding: 10px 20px;
  border-radius: 15px 0 15px 0;
  transition: 0.2s;
  font-weight: 900;
}

.btn a:hover {
  background-color: #67a8dd;
  color: #fff;
}

.wrap {
  overflow: hidden;
}

.toggle_btn,
#mask {
  display: none;
}
/*共通設定終わり*/


/*ヘッダー*/
.header {
  width: 100%;
  position: fixed;
  z-index: 100;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.8);
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2vw;
  padding-right: 2vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo:hover {
  opacity: 0.7;
}

.site-menu ul {
  display: flex;
  align-items: center;
}

.site-menu ul li {
  margin-left: 20px;
  margin-right: 20px;
}

.h-index,
.h-about,
.h-service,
.h-contact {
  border-bottom: solid 2px #000;
  padding-bottom: 13px;
}

.h-index:hover:after,
.h-about:hover:after,
.h-service:hover:after,
.h-contact:hover:after {
  display: none;
}
/*終わり*/


/*タイトル画像のアニメーション*/
.title-img {
    animation-name:bgextendAnimeBase;
    animation-duration:1s;
    animation-fill-mode:forwards;
    position: relative;
    overflow: hidden;/*　はみ出た色要素を隠す　*/
    opacity:0;
}

@keyframes bgextendAnimeBase{
    from {
      opacity:0;
    }
  
    to {
      opacity:1;  
  }
}

.bgappear{
    animation-name:bgextendAnimeSecond;
    animation-duration:1s;
    animation-delay: 0.6s;
    animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes bgextendAnimeSecond{
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
  }
}

.bgUDextend::before{
    animation-name:bgUDextendAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.4);/*伸びる背景色の設定*/
}
  
@keyframes bgUDextendAnime{
    0% {
      transform-origin:left;
      transform:scaleX(0);
    }
    50% {
      transform-origin:left;
      transform:scaleX(1);
    }
    50.001% {
      transform-origin:right;
    }
    100% {
      transform-origin:right;
      transform:scaleX(0);
    }
}




/*スクロールフェードイン*/
.js-fadeLeft {
  opacity: 0; /* 最初は非表示 */
  transform: translateX(-100px); /* 下に100pxの位置から */
  transition: opacity .5s, transform .5s; /* 透過率と縦方向の移動を0.5秒 */
}

.js-fadeLeft.is-inview {
  opacity: 1; /* 表示領域に入ったら表示 */
  transform: translateX(0); /* 100px上に移動する */
  transition-delay: 0.3s; /* フェード開始を0.2秒遅らせる */
}

.js-fadeRight {
  opacity: 0; /* 最初は非表示 */
  transform: translateX(100px); /* 下に100pxの位置から */
  transition: opacity .5s, transform .5s; /* 透過率と縦方向の移動を0.5秒 */
}

.js-fadeRight.is-inview {
  opacity: 1; /* 表示領域に入ったら表示 */
  transform: translateX(0); /* 100px上に移動する */
  transition-delay: .3s; /* フェード開始を0.2秒遅らせる */
}
/*終わり*/


/*スクロールふわっと表示*/
.scroll {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}
.scroll.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 1s;
}
/*終わり*/


/*フェードイン表示 一個ずつ出てくる*/
.scr-target {
  opacity: 0;
  transform: translate3d(0, 35px, 0);
}
.scr-target.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 1s;
}
/*終わり*/



/*
ヘッダーホバーアクション
*/
.site-menu ul li a {
  font-weight: bold;
  position: relative;
  font-size: 17px;
}

/*ホバーエフェクト*/
.site-menu ul li a::after {
  /*アンダーラインのスタイル*/
  position: absolute;
  content: "";
  display: block;
  height: 2px;
  background-color: #67a8dd;
  bottom: -15px;
  left: 0;
  /*幅を0に設定*/
  width: 0;
  /*アニメーションの速度設定*/
  -webkit-transition: all 0.5s ease;
  transition: all 0.4s ease;
}
.site-menu ul li a:hover::after {
  /*幅を100%に設定*/
  width: 100%;
}
/*ヘッダー終わり*/


/*<section class="title-h">*/  
.title-h {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  height: 380px;
  background-color: #f1f1f1;
  border-radius: 50px 0 50px 0;
}


.title-img {
  width: 60%;
  height: 380px;
  border-radius: 0 0 50px 0;
}

.title-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 50px 0;
}


.title-in {
  width: 40%;
}

.title-h h2 {
  text-align: center;
  color: #333;
  font-size: 45px;
}
/*終わり*/ 


/*.main*/
.main {
  padding-top: 70px;
}
/*.main終わり*/


/*トップページに戻す*/
#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#pageTop a {
  display: block;
  z-index: 999;
  padding-top: 18px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 10px;
  background-color: gray;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}
/*トップページに戻す終わり*/


/*.footer*/
.footer {
  background-color: #f1f1f1;
}

.footer a:hover {
  opacity: 0.7;
}

.footer-in {
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 5%;
}

.footer-l {
  display: flex;
  justify-content: space-around;
}

.footer-menu li {
  display: flex;
  flex-direction: column;
}

.footer-logo img {
  width: 100%;
}

.footer-menu span {
  display: block;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-menu li {
  padding-top: 25px;
  line-height: 26px;
}

.footer-menu li:first-child {
  padding-top: 0;
}

.copy {
  text-align: center;
  margin-top: 20px;
}
/*.footer終わり*/


/*タブレット*/
@media (max-width: 1024px) {
  .footer-in {
    padding-left: 1%;
  }

  .footer-in iframe {
    width: 40%;
  }
}
/*タブレット終わり*/


/*スマホ*/
@media (max-width: 599px) {
.title-h {
  height: 350px;
} 

.title-img {
  width: 50%;
  height: 100%;
}

.title-in {
  width: 50%;
}

.title-in h2 {
  font-size: 25px;
}

.title-h h2::after {
  font-size: initial;
}

.h-index,
.h-about,
.h-service,
.h-contact {
  border-bottom: solid 2px #f1f1f1;
  padding-bottom: 13px;
}



  .toggle_btn,
  #mask {
    display: block;
  }

  .header-inner {
    padding: 0 3vw;
  }


  .site-menu {
    position: fixed;
    top: 0;
    left: -1000px;
    width: 100%;
    height: 100%;
    padding: 50px;
    transition: all 0.5s;
    z-index: 20;
    opacity: 0;
  }

  .site-menu ul li a {
    font-size: 24px;
    color: #fff;
  }
  
  .site-menu ul {
    display: block;
    text-align: center;
    margin-top: 50px;
  }


  .site-menu li {
    margin-bottom: 60px;
    margin-top: 15px;
  }

  .catch h1 {
    margin-top: 40px;
  }

  .open .site-menu {
    opacity: 1;
    left: 0%;
  }


  .toggle_btn {
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 20;
  }


  /*
  ハンバーガーメニューの線の設定（メニューが閉じている時）
  */
  .toggle_btn span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all 0.5s;
  }

  /*
  1本目の線の位置を設定
  */
  .toggle_btn span:nth-child(1) {
    top: 10px;
  }

  /*
  2本目の線の位置を設定
  */
  .toggle_btn span:nth-child(2) {
    bottom: 10px;
  }

  /*
  ハンバーガーメニューの線の設定（メニューが開いている時）
  線の色を白に変更
  */
  .open .toggle_btn span {
    background-color: #fff; 
  }

  /*
  1本目の線を-45度回転
  */
  .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(4px) rotate(-45deg);
    transform: translateY(4px) rotate(-45deg);
  }

  /*
  2本目の線を45度回転
  */
  .open .toggle_btn span:nth-child(2) {
    -webkit-transform: translateY(-4px) rotate(45deg);
    transform: translateY(-4px) rotate(45deg);
  }

  #mask {
    display: none;
    transition: all 0.5s;
  }


    /*
  メニューを開いている時は、全体を黒背景にする
  */
  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #67a8dd;
    z-index: 10;
    cursor: pointer;
  }

  .footer-in {
    display: block;
    padding: 0;
  }

  .footer-logo {
    text-align: center;
    padding: 30px 0;
  }

  .footer-logo img {
    width: 50%;
  }

  .footer-menu {
    display: none;
  }
  
  .footer-in iframe {
    width: 100%;
  }
}