﻿
/*
#fakeloader{
    display:none!important;
}
*/

:root{
    --color1:#8b021d;
}


.linkStyle{
    color:#333;
    text-decoration:underline;    
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
}

body{
    overflow:hidden;
}
header.scr_header {
    background-color: rgba(85,85,85,0.5)!important;
}
#logo{
    opacity:0;
}
header.scr_header #logo{
    opacity:1;
}
#footer_con{
    align-items: flex-start;
}
#logo2 a{
    max-width:200px;
}
.return a{
    color:var(--color1);
}
.font_14{
    font-size:18px;
}


/*--top page---------------------------
-------------------------------------*/

#main_img::after,
.con1_2box::before,
#page_title::after{
    content:'';
    position:absolute;
    display:block;
        width:100%;
    height:50px;
    background:url(./Dup/img/item1.png) no-repeat;
    background-size:contain;
    background-position: bottom;
    bottom:0;
    z-index:2;
    pointer-events:none;
}

.catch{
    font-size:1.4rem;
}
.num{
    display:none;
}
.scroll_d {
    width: 1px;
    height: 50px;
    right: 0;
    left: 0;
    top: 0;
    margin: auto;
    color: #333;
}
.scroll_d span {
    width: 1px;
    height: 100%;
    background-color: rgba(255,255,255,0.4);
}
.scroll_d span::before {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    background-color: #333;
    animation: line 4s ease 0s infinite;
}
@keyframes line {
	0% {
		bottom: 50px;
		height: 0;
	}
	20% {
		bottom: 0;
		height: 50px;
	}
	40% {
		bottom: 0;
		height: 0;
	}
	100% {
		bottom: 0;
		height: 0;
	}
}
.txt_anim1 span{
	position: relative;
	right: 20px;
	opacity: 0;
	transition: all .8s;
}
.txt_anim1 span.start{
	right: 0;
	opacity: 1;
}
.intro_subtitle{
    font-size: 2.5rem;
    letter-spacing: 10px;
    color:var(--color1);
}

.con1_2box {
    background-color: #eee;
}
.con1_2box::before{
    top:0;
    transform: scale(1, -1);
}

.top_btn a{
    cursor:pointer;
}
.top_btn a::before, .top_btn a::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 1px;
    background-color: var(--color1);
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}
.top_btn a::after {
    transition: transform 0.5s;
    transform: rotate(90deg);
}

.con_img img{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}
.con1_subtitle,
.con2_subtitle,
.con3_subtitle{
    font-size: 2.5rem;
    letter-spacing: 5px;
    color:var(--color1);
}


.con3img{
    background-position:center center;
    background-size:cover;
}
#contents3 .box_wrap{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 3px;
    grid-row-gap: 3px;
    height: 800px;
}
#contents3 .box_wrap .con3img{
    transition: filter 0.3s;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

#contents3 .box_wrap .con3img:nth-of-type(1){grid-area: 1 / 1 / 2 / 2;}
#contents3 .box_wrap .con3img:nth-of-type(2){grid-area: 1 / 2 / 2 / 4;}
#contents3 .box_wrap .con3img:nth-of-type(3){grid-area: 1 / 4 / 3 / 5;}
#contents3 .box_wrap .con3img:nth-of-type(4){grid-area: 2 / 3 / 3 / 4;}
#contents3 .box_wrap .con3img:nth-of-type(5){grid-area: 2 / 1 / 4 / 3;}
#contents3 .box_wrap .con3img:nth-of-type(6){grid-area: 3 / 3 / 4 / 5;}

#contents3 .con_box{
    width:50%;
}

.cms_title{
    text-align:center;
}
.cms_title p{
    color:var(--color1);
}


/*--under page---------------------------
-------------------------------------*/
#page_title .page_title_box{
    background-color:var(--color1);
}


/* ---------- responshive ---------- */
@media screen and (max-width: 1280px){
#contents3 .con_box{
    width:60%;
}
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#contents2 .con_box {
    margin-top: 0;
}
#main_img::after,
.con1_2box::before,
#page_title::after{
    height:70px;
    background:url(./Dup/img/item1_tb.png) no-repeat;
    background-size: contain;
    background-position: bottom;
}
#page_title h2{
    font-size:28px;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.catch {
    font-size: 1rem;
}
.passing.move .passing-txt{
    border-bottom:0;
}
.intro_subtitle {
    font-size: 2rem;
    letter-spacing: 5px;
}
.con1_subtitle, .con2_subtitle, .con3_subtitle {
    font-size: 1.8rem;
}
#contents1 .top_btn{
    text-align: center;
}
.con1_subtitle,
.con2_subtitle,
.con3_subtitle{
    text-align:center;
}
#contents3 {
    margin-bottom: 0;
}
#contents3 .box_wrap{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    height: 500px;
}
#contents3 .box_wrap .con3img:nth-of-type(1){grid-area: 1 / 1 / 2 / 3;}
#contents3 .box_wrap .con3img:nth-of-type(2){grid-area: 2 / 1 / 4 / 2;}
#contents3 .box_wrap .con3img:nth-of-type(3){grid-area: 2 / 2 / 3 / 3;}
#contents3 .box_wrap .con3img:nth-of-type(4){grid-area: 1 / 3 / 3 / 4;}
#contents3 .box_wrap .con3img:nth-of-type(5){grid-area: 3 / 2 / 5 / 4;}
#contents3 .box_wrap .con3img:nth-of-type(6){grid-area: 4 / 1 / 5 / 2;}

#contents3 .con_box {
    width: 80%;
}
#contents3 .con_txt span{
    letter-spacing: 0;
}
#footer h2{
    display:none;
}
#page_title .page_title_box{
    width:70%;
}
#page_title h2 {
    font-size: 20px;
}

}




