@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montagu+Slab&family=Noto+Serif+JP:wght@400;700&display=swap');
body, main {
  overflow-x: hidden;
}

/*
font-family: 'Montagu Slab', serif;
font-family: 'Noto Serif JP', serif;

*/
/**************************************************
 Base style
**************************************************/

* {
  box-sizing: border-box;
  line-height: 170%;

}

body {
  color: #333;
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
}

a {
  text-decoration: none !important;
}

a:link, a:visited {
  color: #000;
}

a:hover {
  text-decoration: none !important;
}

img {
  max-width: 100%;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

a img {
  transition: .3s all;
}

@media screen and (max-width: 480px) {

  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }


}


/**************************************************
header
**************************************************/

header {
  width: 100%;
  background: #FFF;
  position: sticky;
  z-index: 80;
  top: 0;
  font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic',sans-serif; 
}
header h1 {
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    padding: 0 1.5rem;
    font-family: 'Montagu Slab', serif;
    color: #008899;

}
header h1 span {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    color: #000;
    display: inline-block;
    margin-left: 1rem;
    letter-spacing: .1rem;
    vertical-align: middle;
}
header h1 a {
    color: #008899 !important;  
    vertical-align: middle;
}
header .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  transition: .3s all;
  width: 96%;
  margin: 0 auto;
}

header h2 {
  width: 20%;
    padding: .5rem 0 .5rem .5rem;
}

header h2 img {
  max-width: 280px;
}

header nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
    height: 100%;
    margin-right: 150px;
}

header nav ul a {
    font-size: 16px;
}
header nav ul li {
    margin-left: 2rem;
}
header li.mail a {
    background: #008899;
    text-align: center;
    letter-spacing: .1rem;
    color: #fff !important;
    transition: .3s all;
    position: absolute;
    top: 0;
    right: 0;
    width: 190px;
    height: 80px;
    line-height: 80px;
}

header li.mail a:hover {
    background: #39668c;
    background-size:25px;
}



header nav ul li:nth-of-type(-n+3) a:hover {
    color: #47468a;
}
.icon-hamburger span {
  display: none;

}
@media screen and (max-width: 1366px) {
  header nav ul {
    margin-right: 200px;
  }
}
@media screen and (min-width: 813px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}
@media screen and (max-width: 1366px) {
    header nav ul li {
        margin-left: 1rem;
    }
}
@media screen and (max-width: 1024px) {
    header nav ul li:not(.tel) {
        margin-left: 1.5rem;
    }
    header nav {
        width: 100%;
    }
    
   
}

@media screen and (max-width: 768px) {
  .icon-hamburger s {
    display: inline-block;
  }
  header nav ul li:last-of-type {
    margin-left: 0;
  }
  header nav ul li:nth-of-type(-n+3) {
    margin-right: 10px;
  }
  header nav {
    width: 70%;
  }
}

@media screen and (max-width: 812px) {
  header .inner {
    padding: .8rem 0;
  }
    header h1 {
        padding: 0;
    }
  header h2 {
    width: 28%;
  }
  header h2 img {
    max-width: 180px;
  }
  header {
    position: fixed;
    top: 0;
    z-index: 999;
  }
  header nav {
    width: 100%;
  }
  .menuBtn {
    position: fixed;
    top: 30px;
    right: 15px;
    width: 20px;
    height: 27px;
    line-height: 50px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    z-index: 1;
  }
  .menuBtn span {
    color: #fff;
    background: url(../img/common/menuBtn.svg) no-repeat;
    background-size: contain;
    display: block;
    width: 17px;
    height: 26px;
  }
  .menuBtn span:after {
    content: attr(data-txt-menu);
    margin-left: -80px;
    font-family: 'Trebuchet MS',sans-serif;
    font-size: 14px;
    color: #238899;
  }
  /* 開閉用ボタンがクリックされた時のスタイル */
  .open .menuBtn span {
    background: url(../img/common/cross.svg) no-repeat;
    background-size: contain;
  }
  .open .menuBtn span:after {
    content: attr(data-txt-close);
      color: #fff;
  }
  nav {
    position: fixed;
    display: table;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(23 93 126 / 83%);
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: hidden;
    opacity: 0;
    max-width: none !important;
  }
  nav ul {
    display: table-cell;
  }
  header, header nav {
    display: block;
  }
  header nav h1 {
    margin-top: 20px;
  }
  header nav ul a {
    color: #fff !important;
  }
  nav li a:hover {
    color: #999;
  }
  /* 開閉用ボタンがクリックされた時のスタイル */
  header nav {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .open nav {
    cursor: url(../images/cross.svg), auto;
    -webkit-transition: all .5s;
    transition: all .5s;
    visibility: visible;
    opacity: 1;
  }
  header nav ul {
    width: 90%;
    margin: 0 auto;
      flex-wrap: wrap;
      height: auto;
      overflow: scroll;
    }

  header nav>div {
    width: 84%;
    margin: 1rem auto 0;
  }
  header nav ul a:link {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    padding: .5rem;
    letter-spacing: .2rem;
      width: 100%;
  }
    header li.mail img {
        margin-top: .2rem;
    }
  header nav ul li {
    text-align: center;
    border-bottom:1px solid #94969e;
        height: auto !important;
      margin-left: 0 !important;
      width: 100%;
  }
  header nav ul li:nth-of-type(-n+3) {
    margin-right: 0;
  }

    header nav ul li.tel {
        padding:.8rem ;
    }
    header nav ul li.tel a {
        line-height: 100%;
    margin: 0 auto ;
        padding: 0;
    }
    header nav ul li.mail {
        margin-top: 2rem;
        border-bottom: none;
    }
    header nav ul li.mail a{
        border-bottom: none;
        text-align: center;
        position: relative;
        padding: 0;
        height: 60px;
        line-height: 60px;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 28px;
margin: 0 auto 0 0;
    }
    header h1 span {
        font-size: 14px;
    }
    header h2 img {
        max-width: 180px;
    }
    header .inner {
       padding: 0 .3rem;
        width: 100%;
                background: #fff;
    }
    header h2 {
        padding: 0;
    }
    .menuBtn {
        top: 15px;
    }
    header + figure,
header + figure img{
    width: 100%;
    height: 240px;
    object-fit: cover;
}
    header {
        background: none;
    }
}
/**************************************************
footer
**************************************************/
aside {
  background: #008899;
  padding: 3rem 0;
}
aside > * {
  max-width: 1100px;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}
aside h4,
aside p:last-of-type {
  color: #fff;
}
aside h4 {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: .1rem;
}
aside ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
aside ul li {
  width: 47%;
  margin-top: 1.5rem;
  border-radius: 40px;
  background:#f8e58c;
  color: #333;
  font-size: 24px;
  padding:.8rem 0;
}
aside p:last-of-type {
  font-size: 28px;
  font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic',sans-serif; 
}
footer {
  font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic',sans-serif; 
  font-size: 18px;
  text-align: center;
  width: 90%;
  margin:2rem auto;
}
@media screen and (max-width: 812px) {
   
}
@media screen and (max-width: 480px) {
  aside h4 {
    font-size: 20px;
    margin-bottom: 1.5rem;
  }
  aside ul {
    width: 94%;
  }
  aside ul li {
    width: 100%;
    font-size: 18px;
    margin-top: .5rem;
  }
  aside p:last-of-type {
    font-size: 22px;
  }
  footer {
    font-size: 14px;
    width: 92%;
    text-align: left;
  }
  footer p:last-of-type {
    margin-top: .5rem;
  }
}



/**************************************************
link
**************************************************/
.link a {
    background: #007BBB;
    color: #fff;
    text-align: center;
    font-size: 16px;
    max-width: 290px;
    border-radius: 8px;
    display: block;
    padding: .4rem;
}
.btn a {
  display: block;
  background: linear-gradient(to bottom, #ffffff 0%,#d7d7d7 100%);
  padding: 1.2rem 0;
  max-width: 280px;
  border-radius: 10px;
  box-shadow: 0 5px 5px #156572;
  font-size: 22px;
  margin: 2rem auto 2rem;
  font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic',sans-serif; 
}
@media screen and (max-width: 480px) {
  .btn a {
    font-size: 18px;
  }
}

/**************************************************
title
**************************************************/
.ttl {
    font-size: 24px;
}
.ttl02 {
        color: #5b7e91;
    font-size: 30px;
    margin:  8rem auto 1.5rem;
    text-align: center;
}


/*背景のびて出現
---------------------------*/

/*全共通*/

.bgextend{
  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;
}
}

/*左から右*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    background-color: #5b7e91;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
  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);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger{
    opacity: 0;
}


@media screen and (max-width: 480px) {
    .ttl02 {
        margin: 4rem auto 1.5rem;
    } 
    .bgLRextend::before{
    width: 145%;

}
}

/**************************************************
sub page
**************************************************/
#pageTtl {
  background: url(../img/top/main.jpg) no-repeat center,rgb(86 54 42 / 45%);
  background-blend-mode: soft-light;
  height: 40vh;
  background-size:100% auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  font-size: 24px;
  text-shadow: 0 0 10px #401b06;
  letter-spacing: .2rem;
  font-weight: 400;
  line-height: 130%;
  padding: 1rem;
}
#pageTtl h3 {
font-size: 32px;
}
@media screen and (max-width: 480px) {
  #pageTtl {
    background: url(../img/top/main.jpg) no-repeat center,rgb(86 54 42 / 45%);
    background-size:cover;
letter-spacing: 0.05rem;
    font-size: 18px;
    margin-top: 1rem;

  }
}