@charset "UTF-8";

/** TOP Slider **/

section#i_top_page {
    padding: 150px 0 0 0; /** メニュー高さ **/
    height: 100vh;
}

section#i_sec_page {
    padding: 250px 0 100px 0;
    min-height: inherit;
}

section#i_sec_page h1 {
    font-size: 120%;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    text-align: center;
}

section.SecTopSpace {
    padding: 250px 0 100px 0;
    min-height: inherit;
}

#top_fade_box {
	padding: 0;
	margin: 0;
    height: 100vh;
}

#slide {
    height: calc(100vh - 145px);
    width: 100%;
    position: relative;
	overflow: hidden;
	padding: 0;
}

#slide img {
    width: 100%;
    height: auto;
    position: absolute;
}

/* JSの秒数に合わせる */
.top_zoom {
    animation: top_zoom_animation 13s;
}
@keyframes top_zoom_animation {
  0% {
    top: 50%;
    transform: scale(1) translateY(-50%);
  }
  100% {
    top: 50%;
    transform: scale(1.4) translateY(-40%);
  }
}

.top_object {
    width: calc(100vw * 0.25);
    height: calc(100vw * 0.25);
    line-height: 1.8em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1em;
    border: #ffffff solid;
    border-width: 5px;
}

.top_object .innner {
    width: 90%;
    height: 90%;
    line-height: 1.8em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    border: #ffffff solid;
    border-width: 2px;
    background-color: rgba(255,255,255,0.7);
}

.top_object .innner .in_txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.top_object h1 {
    font-size: 120%;
    margin: 0 auto;
    padding: 0;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

.top_object a .txt {
    text-align: left;
}


/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1680px) {
/* ------------------------------------------------------ */
.top_object {
    width: calc(100vw * 0.4);
    height: calc(100vw * 0.25);
}

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1440px) {
/* ------------------------------------------------------ */
section#i_top_page {
    padding: 145px 0 0 0; /** メニュー高さ **/
    min-height: 100vh;
}

a.head_tel img {
    width: 250px;
    margin: 9px 0 0 0;
}

section.SecTopSpace {
    padding: 200px 0 100px 0;
    min-height: inherit;
}
.top_object {
    width: calc(100vw * 0.25);
    height: calc(100vw * 0.25);
}

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1280px) {
/* ------------------------------------------------------ */
.top_object {
    width: calc(100vw * 0.35);
    height: calc(100vw * 0.22);
}

}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 1024px) {
/* ------------------------------------------------------ */
.top_object {
    width: calc(100vw * 0.35);
    height: calc(100vw * 0.35);
}
    
#top_fade_box a {
    margin: 40px auto;
}

section.SecTopSpace {
    padding: 180px 0 100px 0;
    min-height: inherit;
}
}

/* ------------------------------------------------------ */
/* Media Query for Tablets */
@media only screen and (max-width : 960px) {
/* ------------------------------------------------------ */

section#i_top_page {
    padding: 90px 0 0 0; /** メニュー高さ **/
    min-height: inherit;
}

#top_fade_box a {
    margin: 40px auto;
}

.service_headbox .read {
    text-align: left;
    width: 90%;
}

}

/* ------------------------------------------------------ */
/* Media Query for Mobile */
@media only screen and (max-width : 823px) {
/* ------------------------------------------------------ */

#top_fade_box a {
    width: 90%; /** 幅調整 **/
}

#top_fade_box a {
    text-align: left;
}

#top_fade_box a br {
    display: none;
}

section.SecTopSpace {
    padding: 120px 0 50px 0;
}

}

/* ------------------------------------------------------ */
/* Media Query for Mobile */
@media only screen and (max-width : 768px) {
/* ------------------------------------------------------ */
.top_object {
    width: calc(100vw * 0.45);
    height: calc(100vw * 0.45);
}

section#i_top_page {
    height: 60vh;
}

#slide {
    height: 60vh;
}

#slide img {
    height: 60vh;
    width: auto;
}

    .top_object {
        top: 40%;
    }

}

/* ------------------------------------------------------ */
/* Media Query for Mobile */
@media only screen and (max-width : 640px) {
/* ------------------------------------------------------ */
#top_fade_box a {
    width: 90%; /** 幅調整 **/
}

}

/* ------------------------------------------------------ */
/* Media Query for Mobile */
@media only screen and (max-width : 420px) {
/* ------------------------------------------------------ */

section#i_top_page {
    height: 100vh;
}
.top_object {
    width: calc(100vw * 0.9);
    height: calc(100vw * 0.9);
    padding: 0.5em;
}

#slide {
    height: 100vh;
}
    
.top_object .innner {
    width: 94%;
    height: 94%;
    padding: 1em;
}

#top_fade_box img.top_logo {
    display: none;
}

.slick-dots {
    bottom: 20px!important;
}

section.SecTopSpace {
    padding: 140px 0 50px 0;
}

#slide img {
    width: auto;
    height: 100%;
}

/* JSの秒数に合わせる */
.top_zoom {
    animation: top_zoom_animation 13s;
}
@keyframes top_zoom_animation {
  0% {
    top: 50%;
    transform: scale(1) translateY(-50%);
  }
  100% {
    top: 50%;
    transform: scale(1.4) translateY(-50%);
  }
}

.top_sp01 {
    animation: top_zoom_animation_sp01 13s;
}
@keyframes top_zoom_animation_sp01 {
  0% {
    right: 0;
    top: 50%;
    transform: scale(1) translateY(-50%);
  }
  100% {
    right: -70%;
    top: 50%;
    transform: scale(1.4) translateY(-50%);
  }
}
    
.top_sp02 {
    animation: top_zoom_animation_sp02 13s;
}
@keyframes top_zoom_animation_sp02 {
  0% {
    right: -220%;
    top: 50%;
    transform: scale(1) translateY(-50%);
  }
  100% {
    right: -190%;
    top: 50%;
    transform: scale(1.4) translateY(-50%);
  }
}
    
.top_sp03 {
    animation: top_zoom_animation_sp03 13s;
}
@keyframes top_zoom_animation_sp03 {
  0% {
    right: -30%;
    top: 50%;
    transform: scale(1) translateY(-50%);
  }
  100% {
    right: -180%;
    top: 50%;
    transform: scale(1.4) translateY(-50%);
  }
}
    
.top_sp04 {
    animation: top_zoom_animation_sp04 13s;
}
@keyframes top_zoom_animation_sp04 {
  0% {
    right: 0;
    top: 50%;
    transform: scale(1) translateY(-50%);
  }
  100% {
    right: -100%;
    top: 50%;
    transform: scale(1.4) translateY(-50%);
  }
}


}

/* ------------------------------------------------------ */
/* Media Query for Mobile */
@media only screen and (max-width : 380px) {
/* ------------------------------------------------------ */
.top_object .innner .in_txt {
    width: 90%;
}
}

/* ------------------------------------------------------ */
/* Media Query for Mobile */
@media only screen and (max-width : 320px) {
/* ------------------------------------------------------ */ 


}