﻿@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&display=swap');
.font1,
.cms_title h3,
.sp_menu_btn .close,
.sp_menu_btn .open{
    /*font-family: 'Barlow', sans-serif;*/
    font-family: 'Crimson Text', serif;
}

.pop400{
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
.font_14{
    font-size:12px;
}


:root{
    --color1:#f8f8f8;
    --color2:#555;
}

/*
#return_top{
    position:absolute;
}
*/

/*--all page---------------------------
-------------------------------------*/

.linkStyle{
    color:var(--color2);
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

body{
    overflow:hidden;
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

header.scr_header {
    background-color: rgb(255 255 255 / 80%)!important;
}
.scr_header .button_container span:not(:nth-of-type(1)){
    background:var(--color2);
}
.scr_header .button_container span:nth-of-type(1){
    color:var(--color2)!important;
}
#pc_nav li a{
    color:#fff;
}
.scr_header #pc_nav li a,
.overlay ul li a,
#overlay .right,
#overlay .right .d_inline_b a{
    color:var(--color2);
}
.nav_menu_more a{
    background-color:var(--color2);
}

#copyright,#copyright a{
    color:var(--color2);
}
#overlay .right .mg_b-50px .nav_menu_more:last-of-type{
    display:none;
}

#pc_nav li,
#top_pc_nav li,
#footer_nav li,
.overlay ul li{
    max-width: 100%!important;
}

.num,
.line:before,
.back1:before,
.back2:before,
#footer_con h2,
#footer_con .tel_bt{
    display:none;
}

#footer_con{
    align-items: flex-start;
}
#h1txt{
    display:none;
}


/*sp_menu*/
.sp_menu{
    transition: .3s;
    z-index: 3;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 12px;
    letter-spacing: 0px;
}
.sp_menu li{
    width: 25%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    box-sizing: border-box;
}
.sp_menu li:nth-of-type(1),
.sp_menu li:nth-of-type(5){
    border-left: 1px solid #fff;
}
.sp_menu li:nth-of-type(5),
.sp_menu li:nth-of-type(6){
    border-top: none;
}
.sp_menu li a{
    padding: 10px 3px;
    height: 100%;
    box-sizing: border-box;
}

.sp_menu_btn{
    width: 20%;
    padding: 5px 9px;
    position: absolute;
    top: -38px;
    cursor: pointer;
    background-color: #333!important;
    border-left: 1px solid #fff;
}
.sp_menu_btn .nav_btn{
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    position: relative;
    top: 3px;
}
.sp_menu_btn .nav_btn span{
    display: block;
    background-color: #fff;
    height: 3px;
    width: 15px;
    position: absolute;
    left: 5px;
    top: 5px;
    transition: .3s;
}
.sp_menu_btn .nav_btn.open_btn span:nth-child(1){
    transform: rotate(-55deg);
    left: -1px;
    width: 13px;
}
.sp_menu_btn .nav_btn.open_btn span:nth-child(2){
    transform: rotate(55deg);
    right: -1px;
    width: 13px;
}

.sp_menu_btn .nav_btn.close_btn span{
    left: 0;
}
.sp_menu_btn .nav_btn.close_btn span:nth-child(1){
    transform: rotate(45deg);
}
.sp_menu_btn .nav_btn.close_btn span:nth-child(2){
    transform: rotate(-45deg)
}

.sp_menu_btn .close,.sp_menu_btn .open{
    display: inline-block;
    font-size: 14px;
}
.sp_menu_btn.opennow .open{
    display: none!important;
}

.sp_menu.navclose{
    bottom: -91px;
}






/*--top page---------------------------
-------------------------------------*/

.top_header #logo{
    opacity:0;
}
.scr_header .top_header #logo{
    opacity:1;
}
#main_img .square_box a{
    max-width:700px;
}
.intro_bg {
    width: 24%;
    height: 38vh;
    top: 0%;
    left: 19%;
    z-index: 0;
}
#intro_wrap{
    z-index:2;
}
#intro .font1{
    font-size:3rem;
    position:relative;
    z-index:2;
}
.intro_title h3 {
    font-size: 1.3rem;
    font-weight: bold;
}
.top_cms_box_gallery{
    margin-bottom:5%;
}
.con1_bg {
    width: 47vw;
    height: 85vh;
    bottom: -10%;
    left: 0;
    z-index: 1;
}
.con1_img2 {
    width: 13vw;
    max-width: 400px;
    bottom: -26%;
    left: 38%;
    z-index: 3;
}
.con1_img2_bg {
    width: 20vw;
    height: 70vh;
    top: -19%;
    right: 0;
    z-index: 1;
}

#contents1 figure,
#contents2 figure,
.con_box{
    z-index:2;
}

#contents1 figure img,
#contents2 figure img,
.topcms_news_type3 img,
#contents3 .link_bnr a,
#top_cms .top_cms_box img{
    transition: ease 0.3s;
    cursor: pointer;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}
#contents1 figure img:hover,
#contents2 figure img:hover,
.topcms_news_type3 img:hover,
#contents3 .link_bnr a:hover,
#top_cms .top_cms_box img:hover{
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
}
 .top_gallery .line-l:before{
     display:none;
 }

#contents1 .font1,
#contents2 .font1,
.con3_sub_title{
    font-size:3rem;
}
#contents1 .con_title h3,
#contents2 .con_title h3,
#contents3 .con_title h3{
    font-size:1.3rem;
    font-weight:bold;
}

.con2_img2 {
    width: 17vw;
    max-width: 320px;
    bottom: -22%;
    right: 4%;
    z-index: 3;
}
.con2_img2_bg {
    width: 30vw;
    height: 95vh;
    top: -8%;
    right: 0;
    z-index: 1;
}


.u_line {
    width: 1px;
    height: 100px;
    top: -100px;
    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:100px;
    }
    100%{
        top:100px;
        height:0;
    }
}


.con3_bg {
    width: 30%;
    height: 50vh;
    top: -28%;
    left: 3%;
    z-index: 0;
}
.con3_sub_title{
    position:relative;
    z-index:2;
}
#contents3 .u_line{
    top:-50px;
    z-index:2;
}
.link_bnr a{
    padding-top: 50px;
    padding-bottom: 60px;
    text-shadow: 0 0 3px rgb(0 0 0 / 50%);
}
.link_bnr .font1{
    font-size:3rem;
}
.line-l:before{
    display:none;
}
.cms_title{
    text-align:center;
}
.cms_title h3{
    font-size: 3.2rem;
    font-weight:bold!important; 
}
.cms_title p{
    font-size: 1.2rem;    
}

.swiper-button-next, .swiper-button-prev{
    z-index:2!important;
}

/*---top gallery------------------------------------*/
.topcms_news_type3 .box_txt1 {
    height: 6em;
	line-height: 1.7;
}
.topcms_news_type3 .date {
    padding: 9px 22px 7px;
    border-radius: 45px;
}
.slick-slide img {
    box-shadow: 0 2px 4px rgb(0 0 0 / 0%);
}
/*--- slick ---*/
.topcms_news_type3 .slick-box{
    opacity: 0;
    transition: 3s;
}
.topcms_news_type3 .slick-initialized{
    opacity: 1
}
.topcms_news_type3 .slick-box .prev,.slick-box .next {
    display: block;
	cursor: pointer;
	position: absolute;
	top: 40%;
	z-index: 1;
	padding: 15px;
}
.topcms_news_type3 .slick-box .prev {
	left: -54px;
}
.topcms_news_type3 .slick-box .next {
	right: -54px;
}
/* Dots */
.topcms_news_type3 .slick-dots{
    position: absolute;
    bottom: -35px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.topcms_news_type3 .slick-dots li{
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}
.topcms_news_type3 .slick-dots li button{
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.topcms_news_type3 .slick-dots li button:hover,
.topcms_news_type3 .slick-dots li button:focus{
    outline: none;
}
.topcms_news_type3 .slick-dots li button:hover:before,
.topcms_news_type3 .slick-dots li button:focus:before{
    opacity: 1;
}
.topcms_news_type3 .slick-dots li button:before{
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '●';
    text-align: center;
    opacity: .25;
    color: var(--color1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.topcms_news_type3 .slick-dots li.slick-active button:before{
    opacity: .75;
    color: var(--color1);
}
/* 最後まで行ったら、矢印透過する */
.topcms_news_type3 .slick-disabled{
	opacity: 0.3;
}
/* 要素の高さを合わせる */
.topcms_news_type3 .slick-slide {
	height: auto !important;
}
.topcms_news_type3 .slick-track {
	display: flex;
}

/*レイアウト変更*/
.topcms_news_type3 .slick-slide{
    padding:10px;
}

.topcms_news_type3 .slick-slide:nth-child(2n){
    padding-top:40px;
}
.topcms_news_type3 .slick-slide:nth-child(3n){
    padding-top:70px;
}

/*--under page---------------------------
-------------------------------------*/
#page_title .page_title_box{
    background-color: rgb(248 248 248 / 60%);
}
#page_title .page_title_box h2,
#page_title .page_title_box p{
    color:var(--color2);
}


/*--- page08 ---*/
.page8 .mail_title{
    font-size:2.5rem;
}
.page8 .mail_title:before{
    content:'';
    position:absolute;
    display:block;
    width:20%;
    height:1px;
    background:var(--color2);
    top:50%;
    transform:translateY(-50%);
    left:0;
    right:0;
    margin:auto;
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.intro_bg {
    width: 41%;
    height: 38vh;
    top: 0%;
    left: -9%;
}
#intro .font1 {
    font-size: 3rem;
}
#contents1 .font1, #contents2 .font1, .con3_sub_title {
    font-size: 2.5rem;
}
#contents1 .con_title h3{
    letter-spacing:1px;
}
.con1_bg {
    width: 50vw;
    height: 50vh;
    bottom: 6%;
}
.con1_img2_bg{
    display:none;
}
.con1_img2 {
    width: 20vw;
    max-width: 400px;
    bottom: -2%;
    left: 28%;
}
.con2_img2 {
    width: 20vw;
    max-width: 320px;
    bottom: 13%;
    right: auto;
    z-index: 3;
    left: 2%;
}
.con2_img2_bg {
    width: 30vw;
    height: 58vh;
    top: -31%;
}
.con3_bg {
    width: 43%;
    height: 34vh;
    top: -14%;
    left: -7%;
}
#contents3 .u_line {
    top: -30px;
    height: 70px;
}
.link_bnr a{
    text-shadow: 2px 2px 4px rgb(0 0 0);
}
#page_title .page_title_box{
    width:55%;
}
#copyright{
    padding-bottom:100px
}
.page8 .mail_title:before{
    width:50%;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#intro .font1 {
    font-size: 2.2rem;
}
.con1_bg{
    bottom: 43%;
}
#contents1 .con_title h3,
#contents2 .con_title h3,
#contents3 .con_title h3 {
    font-size: 1.1rem;
}
.con1_img2 {
    width: 39vw;
    bottom: -27%;
    left: 60%;
}
.con2_img2 {
    width: 35vw;
    bottom: -21%;
}
.con3_bg {
    width: 54%;
}
.link_bnr .font1 {
    font-size: 1.7rem;
}

.topcms_news_type3 .slick-container{
    padding-left: 0;
    padding-right: 0;
}
#page_title .page_title_box {
    width: 72%;
}
.page8 .mail_title:before{
    width:90%;
}
}

