﻿@import url('https://fonts.googleapis.com/css2?family=Sorts+Mill+Goudy&display=swap');
.font1,
.font_mon_l{
    font-family: 'Sorts Mill Goudy', serif;
}

:root{
    --bg2:url(./Dup/img/bg2.jpg);
    --color_blue:#769cca;
}

/*
#page_top,
#bottom_tel{
    position:absolute;
}
*/


/*--all page---------------------------
-------------------------------------*/

.linkStyle{
    color:var(--color_blue);
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
}

/*header*/
header{
    padding-top:0!important;
    padding-bottom:0!important;
}
#header .logo_wrap {
    width: 120px;
}
#header.active{
    padding-top: 10px!important;
    padding-bottom: 10px;
    box-shadow: 0 0 10px #e3e3e3;
}
#header.active .logo_wrap {
    width: 80px;
}

/*footer*/
.footer_bg{
    background-color:transparent;
    /*background-image:url(./Dup/img/bg2.jpg);*/
    background-image:var(--bg2);
    background-size:cover;
}
footer{
    background-color:var(--color_blue)!important;
}
.info_txt_wrap .time{
    display:none;
}
#footer_info .info_title,
.footer_tel a,
.footer_txt{
    color:#fff;
}
#footer_info .info_title{
    opacity:1;
}


/*bottom_tel*/
#bottom_tel .bottom_box{
vertical-align: middle;
    display: table-cell;
    width: 300px;    
    border:1px solid;
    border-color:var(--color_blue);    
}
#bottom_tel .bottom_box a:first-of-type{
    border-bottom: 1px solid;
    padding-bottom: 5px;
    font-size: calc(1rem + 1px);
}
#bottom_tel .bottom_box a:last-of-type{
    padding-top: 10px;
}




/*--top page---------------------------
-------------------------------------*/
#main_img:before{
    content:'';
    position:absolute;
    display:block;
    width:100%;
    height:100%;
    background-color:rgba(123,155,191,0.2);
    top:0;
    left:0;
    z-index:1;
    pointer-events:none;
}
.catch{
    font-size:2rem;
    z-index:2;
}
.catch span{
    font-size:25px;
}
.en1,.en2{
    display: block;
    z-index:2;
    /*
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    */
    width:600px;
    height:600px;
    pointer-events:none;
}
/*右回転*/
.en1 {
  animation: r1 20s linear infinite;
}
@keyframes r1 {
  0%   { transform:translate(-50%,-50%) rotate(0deg); }
  100% { transform:translate(-50%,-50%)  rotate(360deg); } 
}

.en2 {
    animation: r1 25s linear infinite;
    opacity: 0.5;
}
@keyframes r1 {
  0%   { transform:translate(-50%,-50%) rotate(360deg); }
  100% { transform:translate(-50%,-50%) rotate(0deg); } 
}

#con_nav{
    background-image:var(--bg2);
    background-size:cover;
}
/*下からフェードイン*/
 .fadeup {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}
.fadeup.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}

#top_contents1 .info_title{
    font-size:4rem;
    top: 45px;
}
#top_contents1 h3,
#top_contents2 h3{
    font-size: 4rem;
}

#top_con3_4{
    background-image:var(--bg2);
    background-repeat:no-repeat;
    background-size:cover;
}
.bnr_box a{
    width:300px;
}
.top_bnr,
.bottom_bnr a{
    border-radius:50px;
}
#top_con3 .d_flex p{
    text-align:center;
}
#top_con3 .d_flex img{
    width:55%;
    margin:0 auto;
    display:block;
}
.u_line {
    width: 1px;
    height: 50px;
    top: -50px;
    right: 0;
    left: 0;
    margin: auto;
}
.u_line .u_bar {
    animation: lineu 2s ease 0s infinite;
}
@keyframes lineu{
0% {
    top: 0;
    height: 0;
}
20% {
    top: 0;
    height: 0;
}
40% {
    top: 0;
    height: 50px;
}
100% {
    top: 50px;
    height: 0;
}
}

#top_news .font1{
    font-size: 3rem;
}


#top_cms:before,
#top_cms:after{
    content:'';
    position:absolute;
    display:block;
    z-index:2;
}
#top_cms:before{
    width:40vw;
    height:70vh;
    background:url(./Dup/img/kage1.png) no-repeat;
    background-size:contain;
    top:-4%;
    right:-6%;
    opacity:0.3;
}
#top_cms:after{
    width:40vw;
    height:65vh;
    background:url(./Dup/img/kage2.png) no-repeat;
    background-size:contain;
    bottom:-4%;
    left:-6%;
    opacity:0.3;
}

/*--under page---------------------------
-------------------------------------*/
#page_title{
    margin-bottom:200px;
}
#page_title .title_wrap {
    margin-top: -250px;
}
#page_title .sub_title{
    color:#fff!important;
    margin-bottom:0;
}
#page_title h2{
    color:#fff!important;
    font-weight:normal;
}
.bnr a{
    border-radius:50px;
}
.bottom_bnr{
    margin-bottom:250px;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#loader img{
    width:200px;
}

.en1, .en2{
    width:500px;
    height:500px;
}

.top_bnr{
    margin: 50px auto 20px;
}
#top_con4 .top_bnr{
    margin:10px auto;
}

.con2_item img{
    display:block;
    width:30%;
    margin:auto;
}

#top_cms:before {
    width: 50vw;
    height: 30vh;
    top: -6%;
    right: -11%;
}
#top_cms:after {
    width: 60vw;
    height: 50vh;
    bottom: -15%;
    left: -15%;
}

#footer_info .info_title{
    position:static;
}

/*bottom_tel*/
#bottom_tel{

}
#bottom_tel .bottom_box{
    display: flex;
    width: 400px;
    height:48px;
}
#bottom_tel a{
    width:200px;
    line-height: 50px;
}
#bottom_tel a:first-of-type{
    border-right:1px solid;
    border-color:var(--color_blue);
}
#bottom_tel .bottom_box a:last-of-type{
    padding-top: 0;
}

#page_title {
    margin-bottom: 100px;
}
#page_title .title_wrap {
    margin-top: -185px;
}
#page_title .sub_title{
    font-size:3rem;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#loader img {
    width: 150px;
}

#header .logo_wrap {
    width: 100px;
}
#header.active .logo_wrap {
    width: 70px;
}
.catch {
    font-size: 1.5rem;
}
.catch span {
    font-size: 15px;
}
.en1, .en2{
    width:300px;
    height:300px;
}

#con_nav ul {
    margin-top: -15px;
}

#top_contents1 h3,
#top_contents2 h3{
    font-size: 3rem;
}

.con2_item img{
    width:45%;
}
#top_con3_4{
    background-image:url(./Dup/img/bg_sp.jpg);
    background-repeat:no-repeat;
    background-size:cover;
}

#top_cms:before {
    width: 70vw;
    height: 40vh;
}
#top_cms:after {
    width: 75vw;
    height: 75vh;
}

#bottom_tel .bottom_box{
    width: 100%;
}
#bottom_tel .bottom_box a:first-of-type{
    font-size:1rem;
}

#header_sns{
    background-color:transparent;
}


#page_title {
    margin-bottom: 10px;
}
#page_title .title_wrap {
    margin-top: -100px;
}
#page_title .sub_title{
    margin-bottom:0;
    font-size:2rem;
}
}






