@charset "utf-8";
/* CSS Document */

/* コンテンツ */
body {
	margin:0 0;
	line-height:1.7em;
	font-family: 'Noto Sans JP', sans-serif;
	font-feature-settings : "palt";
    letter-spacing: 0.1em;
    font-weight: normal;
}

#wrapper {
	width:100%;
}
header {
    margin:0;
	position:absolute;
    top:0;
}
a.anchor{
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}
a {
    color:#385995;
}
.small{
    font-size:80%;
}
#pc-menu {
	display: block;
}
#sp-menu {
    display: none;
}
@media screen and (max-width: 768px) {
#pc-menu {
	display: none;
}
#sp-menu {
    display: block;
}
}
.button-wrapper{
    width:100%;
    margin:5vw auto 0;
}
.button a{
    background-color: #000;
    padding:0.5vw 3vw;
    width:300px;
    color:#fff!important;
    text-align: center;
    margin:0 auto;
    text-decoration: none;
    display: block;
    font-size:0.9vw;
}
.button a:hover{
    opacity: 0.6;
}
@media screen and (max-width: 768px) {
.button-wrapper{
    width:100%;
    margin:15vw auto 0;
}
.button a{
    background-color: #000;
    padding:3vw 0;
    width:60%;
    color:#fff!important;
    text-align: center;
    margin:0 auto;
    text-decoration: none;
    display: block;
    font-size:80%;
}
.button a:hover{
    opacity: 0.6;
}
}
h2 {
    width:100%;
    display: block;
    text-align: center;
    color:#000;
    font-family: 'Noto Sans JP', sans-serif;
    font-size:2vw;
    font-weight: normal;
    letter-spacing: 0.3em;
    line-height:3vw;
}
.lead-title {
    width:100%;
    display: block;
    text-align: center;
    color:#000;
    font-family: 'Noto Sans JP', sans-serif;
    font-size:1.4vw;
    font-weight: normal;
    letter-spacing: 0.3em;
    line-height:3vw;
}
.lead-txt {
    max-width:950px;
    color:#000;
    font-size:0.9vw;
    line-height:220%;
    margin:3vw auto 6vw;
}
@media screen and (max-width: 768px) {
.lead-title {
    width:100%;
    display: block;
    text-align: center;
    font-size:4.5vw;
    line-height:10vw;
}
.lead-txt {
    width:100%;
    font-size:3.5vw;
    margin:14vw 0 24vw;
    line-height:8vw;
}
}
@media screen and (max-width: 768px) {
h2 {
    width:100%;
    display: block;
    text-align: center;
    font-size:6.5vw;
    line-height:8vw;
}
}
h3 {
    display: block;
    text-align: left;
    color:#000;
    font-family: 'Noto Sans JP', sans-serif;
    font-size:1.6vw;
    font-weight: normal;
    padding:0 0 0.5vw 1vw;
    margin:0 auto 4vw;
    border-left:solid 1px #000;
}
h4 {
    display: block;
    text-align: center;
    color:#000;
    font-family: 'Noto Sans JP', sans-serif;
    font-size:1vw;
    font-weight: normal;
    padding:0 0 0.5vw 1vw;
    margin:0 auto 2vw;
}
@media screen and (max-width: 768px) {
h3 {
    font-size:5.5vw;
    display: block;
    margin:0 auto 6vw;
    border-left:solid 2px #000;
    padding:0 0 0.5vw 3vw;
}
h4 {
    font-size:4.5vw;
    display: block;
    margin:0 auto 6vw;
    text-align: center;
    line-height:160%;
}
}
.title-underline-b {
    margin:2vw auto 5vw;
    width:30px;
    border-top: solid 4px #000;
}
@media screen and (max-width: 768px) {
.title-underline-b {
    margin:0 auto 30vw;
    width:30px;
    border-top: solid 4px #000;
}
}
.caution, .caution02{
    font-size:50%;
    color:#BB0A0A;
    display: inline-block;
    margin-left:5px;
    vertical-align:bottom;
}
.caution03{
    font-size:50%;
    display: block;
    vertical-align:bottom;
    text-align: right;
    margin-top:-6vw;
    color:#000;
    margin-bottom:6vw;
}
@media screen and (max-width: 768px) {
.caution{
    font-size:2.8vw;
    color:#000;
    display:inline;
    margin-left:5px;
    vertical-align:bottom;
    width:100%;
}
.caution02{
    font-size:2.8vw;
    color:#000;
    display:block;
    vertical-align:bottom;
    width:100%;
    margin-bottom:4vw;
}
.caution03{
    font-size:2.8vw;
    color:#000;
    display:block;
    vertical-align:bottom;
    width:100%;
    margin-top:-24vw;
    margin-bottom:26vw;
}
}
.sub-header {
    width:100%;
}
.sub-header img{
    width:100%;
    height:auto;
}
.sub-header-sp {
    display: none;
}
@media screen and (max-width: 768px) {
.sub-header {
    display: none;
}
.sub-header-sp {
    display: block;
    width:100%;
    padding-top:40px;
}
.sub-header-sp img{
    width:100%;
    height:auto;
}
}

/* Hero */
.hero {
    width:100%;
    height:100vh;
    position: absolute;
}
.head {
    left:7vw;
    top: 12vw;
    width: 80%;
    margin: 0 auto;
    z-index: 1;
    position: absolute;
}
.head img{
    width:40%;
    height:auto;
    image-rendering: -webkit-optimize-contrast;
}
@media screen and (max-width: 768px) {
.head {
    position: absolute;
    top: 12%;
    left: 7vw;
    width: 60vw;
    z-index: 1;
}
.head img{
    width:100%;
    height:auto;
    image-rendering: -webkit-optimize-contrast;
}
}
.sp-hero{
    display: none;    
}

@media screen and (max-width: 768px) {
.pc-hero{
    display: none;    
}
.sp-hero{
    position: relative;
    display: block; 
    height:100vh;
    background-image: url("../img/kv-top-sp.jpg");
    background-position: top left;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.hero-title {
    position: relative;
    width: 90%;
    top:45vh;
    left:0;
}
.hero-title img{
    width:80%;
    height:auto;
    image-rendering: crisp-edges;
}
}

/* 当院について */

.about-wrapper{
    background-color:rgba(255,255,255,1);
    width:80%;
    padding:80px 10% 80px;
    background-attachment: fixed;
    color:#000;
}
.about {
    max-width:800px;
    color:#fff;
    line-height:1.5em;
    margin:0 auto;
}
.about-txt {
    max-width:800px;
    color:#000;
    font-size:0.9vw;
    line-height:180%;
    margin:0 auto 6vw;
}
.about-txt a{
    color:#000;
}

@media screen and (max-width: 768px) {
.about-wrapper{
    background-color:rgba(255,255,255,1);
    width:100%;
    padding:80px 0;
    color:#fff;
}
.about {
    width:90%;
    margin:0 5%;
}
.about-txt {
    width:100%;
    font-size:3.5vw;
    margin:0 0 24vw;
    line-height:8vw;
}

.about-txt a{
    color:#000;
}
}


/* アクセス */
.access-wrapper{
    background-color:rgba(240,240,240,1);
    width:80%;
    padding:80px 10% 80px;
    color:#fff;
}
.access{
    max-width:800px;
    margin:0 auto 6vw;
}
.map {
    margin-bottom:2vw;
    width:100%;
}
.access-detail{
    max-width:980px;
    margin:0 auto;
}
.access-detail p{
    font-size:0.8vw;
    line-height:180%;
    color:#000;
    margin:0;
}

@media screen and (max-width: 768px) {
.access-wrapper{
    background-color:rgba(240,240,240,1);
    width:100%;
    padding:80px 0;
    color:#fff;
}
.access{
    width:90%;
    margin:0 5% 15vw;
    min-width: 90%;
}
.map {
    margin-bottom:2vw;
    width:100%;
    max-width: 100%;
}
.access-detail{
    width:100%;
    margin:0 auto;
    min-width: 90%;
    text-align: left;
}
.access-detail p{
    font-size:2.8vw;
    line-height:180%;
    color:#000;
    margin:0 0 1vh;;
}
}

/* お問い合わせ */
.contact-wrapper {
    background-color:rgba(240,240,240,1);
    width:80%;
    padding:80px 10% 80px;
}
.contact {
    max-width:800px;
    margin:0 auto;
}
.contact-txt {
    max-width:800px;
    color:#000;
    font-size:0.9vw;
    line-height:180%;
    margin:0 auto 3vw;
    text-align: center;
}
@media screen and (max-width: 768px) {
.contact-wrapper {
    background-color:rgba(240,240,240,1);
    width:100%;
    padding:80px 0 80px;
}
.contact {
    width:90%;
    margin:0 auto; 
}
.contact-txt {
    width:100%;
    font-size:3.5vw;
    margin:0 0 12vw;
    line-height:8vw;
    text-align: left;
}
}


/* フッター */
footer {
	background-color: #000;
	width:100%;
	padding:40px 0;
    font-size:0.8vw;
    color:#ECECEC;
    text-align: center;
}
footer #wrap{
	margin:0 auto;
    
}
@media screen and (max-width: 768px) {
footer{
	font-size:3vw;
}
}



.feature-image {
    width:48%;
    margin-bottom:3vw;
    overflow: hidden;
}
.feature-image img{
    width:100%;
    height:auto;
    transition: 0.8s;
}
.feature-image img:hover{
transform: scale(1.1);
    
}
@media screen and (max-width: 768px) {
.feature-image {
    width:100%;
    margin-bottom:3vw;
}
}
.float-l {
    float:left;
}
.float-r {
    float:right;
}
.feature-title {
    width:100%;
    font-size:1.5vw;
    text-align: center;
    color:#000;
    margin-bottom:3vw;
}
@media screen and (max-width: 768px) {
.feature-title  {
    font-size:5vw;
    line-height: 8vw;
    margin:15vw 0;
}
}
.thanks {
    text-align:center;
    margin-bottom:100px;
}

/* お知らせ */
dl {
    border-bottom:solid 1px #eee;
    padding-bottom:10px;
    margin-bottom:5px;
}
dl:last-child {
    border:none;
}
dt {
    float:left;
    color:#000;
    font-weight: bold;
    font-size:0.9vw;
}
dd {
    float:left;
    color:#000;
    font-size:0.9vw;
}

.news dl {
    border-bottom:solid 1px #eee;
    padding-bottom:10px;
    margin-bottom:5px;
}
.news dl:last-child {
    border:none;
}
.news dt {
    float:left;
    color:#000;
    font-weight: bold;
    color:#fff;
    font-size:0.8vw;
}
.news dd {
    float:left;
    color:#000;
     color:#fff;
    font-size:0.8vw;
}
.more {
    text-align:right;
    margin-top:10px;
    font-size:0.8vw;
}
.news {
    position: relative;
    margin-top:-230px;
    left:10%;
    color:#fff;
    width:30%;
    padding:20px;
}
.news a {
    color:#fff;
}
.news-title {
    width:100%;
    font-size:1.5vw;
    border-bottom:solid 1px #eee;
    margin-bottom:1vw;
    padding-bottom:1vw;
    line-height:180%;
}
.news-date {
    width:100%;
    font-size:0.8vw;
    text-align: right;
    font-weight: bold;
    margin:1vw 0;
}
.news-detail {
    width:100%;
    font-size:1vw;
    margin-bottom:13vw;
}

@media screen and (max-width: 768px) {
.news {
    position: relative;
    left:1%;
    color:#fff;
    width:80%;
    padding:20px;
    font-size:3vw;
    margin-top:-200px;
}
.news a {
    color:#fff;
}
dt {
    font-size:3.5vw;
}
dd {
    font-size:3.5vw;
}
.news dt {
    font-size:3vw;
}
.news dd {
    font-size:3vw;
}
.more {
    text-align:right;
    margin-top:10px;
    font-size:3vw;
}
.news-title{
	font-size:4.5vw;
    border-bottom:solid 1px #eee;
}
.news-date{
	font-size:3vw;
}
.news-detail{
	font-size:3vw;
}
}


.slider {
  margin: 90px 0 0;
  width: 100%;
}
.slick-img img {
  height: auto;
  width: 100%;
}
@media screen and (max-width: 768px) {
.slider {
  margin: 0 0;
  width: 100%;
    position: absolute;
    padding-top:44px;
}
}
.scroll {
  position: absolute;
  top: 30vw;
  width: 3em;
  height: 1em;
  cursor: pointer;
  text-decoration: none;
  color: #F5F5F5;
    z-index: 113;
      right: 0;
  left: 0;
  margin: 0 auto;
  span {
    font-size: 12px;
    color: #F5F5F5;
    text-align: center;
  }
}

.arrow {
  position: absolute;
  top: 1.75em;
  left: 1em;
  animation: 2s arrow-animation infinite ease-in-out;
  width: 0;
  height: 5em;
  border: .5px solid #F5F5F5;
  &::after {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: -2px;
    width: 1px;
    height: 10px;
    border-top: 10px solid #F5F5F5;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
  }
}

@keyframes arrow-animation {
  0% {
    height: 1em;
  }
  66% {
    height: 5em;
  }
}

.next-section {
  padding: 3em 1.5em;
  background-color: #78909C;
  h2 {
    margin-bottom: 2em;
    text-align: center;
    font-size: 24px;
    letter-spacing: .1em;
    &::after {
      content: '';
      display: block;
      width: 10%;
      height: 2px;
      margin-top: .5em;
      margin-left: 45%;
      background: #F5F5F5;
    }
  }
  p {
    padding: 1.5em;
  }
}


.shutter{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:#ddd;
  z-index:9999;
  animation: byeShutter 2.6s forwards;
  
  &::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    margin:auto;
    background-color:#fff;
    width:0;
    height:1px;
    animation: shutterOpen 2.6s forwards;
  }
}

.content{
  animation: contentScale 2.6s forwards;
}

@keyframes byeShutter{
  70%{
    opacity:1;
  }
  100%{
    opacity:0;
    display:none;
    z-index:-1;
  }
}

@keyframes shutterOpen{
  0%{
    width:0;
    height:1px;
  }
  50%{
    width:100%;
    height:1px;
  }
  90%{
    width:100%;
    height:100%;
  }
  100%{
    width:100%;
    height:100%;
  }
}

@keyframes contentScale{
  70%{
    transform:perspective(800px) scale(0.9) rotateX(15deg);
  }
  