﻿@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');


.font2,.en_font,
#contents_links .box_wrap .box a p span,
#top_cms .top_cms_box .top_cms_title p,
#page_title p,
.cate_list .cate_no,
#page10 .box a > div p{
    font-family: 'Permanent Marker', cursive;
}


.linkStyle{
    color:#e7a542;
    text-decoration:underline;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
}




/*--all page---------------------------
-------------------------------------*/
#footer::after {
    background-color: rgb(44,44,44)!important;
}
#loader::after{
    background-color:white;
}


/*--top page---------------------------
-------------------------------------*/
h1::after{
    border-color: rgba(255, 255, 255,0.5) transparent transparent transparent!important;
}
#main_img {
    width: 100%;
    height: 100vh;
    min-height:initial; 
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
/**/
#main_img{
    background-image:url(./Dup/img/main_img.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position:50% 50%;
}

#main_img::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 704px;
    background-image: url(./Dup/img/main.png);
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    left: 0;
    z-index: 2;
}
#main_img::after{
    pointer-events:none;
}
#main_img h2{
    font-size:4rem;
    line-height: 1.5;
    position:absolute;
}
#main_nav {
    left:auto;
    right: 0;
    transform: translateY(-250%);
}

#video {
    width: 100%;
    position: absolute;
}
/*
.video {
    width: 110%!important;
}
*/
.video::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 704px;
    background-image: url(./Dup/img/main.png);
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    left: 0;
    z-index: 2;
}
.men{
    top: -53%;
    right: 5%;
    width: 25%;
    /*height: 69vh;*/
    z-index: 4;
}
#intro h3{
    font-size:5rem;
}
#intro .en_title{
    color: #f9cb21;    
}
#intro #intro_box #intro_txt h3 span{
    letter-spacing: 6px;
    line-height: 1.2;
}
/*下からフェードイン*/
 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}
.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}
.car {
    top: -62%;
    left: 5%;
    width:35%;
    /*height:70vh;*/
    z-index: 2;
}

#contents_links .box_wrap .box:first-of-type{
    position:relative;
    z-index:2;
}
#contents h3{
    padding-left:10px;
}


/*--under page---------------------------
-------------------------------------*/
#cms_2-e .box_title::after{
    top:20px;
}
#page10 .box a > div p{
    opacity:0.1;
}


/* ---------- responsive ---------- */
@media screen and (max-width: 1700px){
.men{
    top:-40%;
    width:20%;
}    
.car{
    width:30%;
}
#intro h3 {
    font-size: 4rem;
}
}

@media screen and (max-width: 1460px){
#intro h3 {
    font-size: 3.6rem;
}    
}
/*
@media screen and (max-width: 1438px){
#video {
    width: 100%;
    position: absolute;
    height: 100%;
    background-size: cover;
}
}
*/

@media screen and (max-width: 1370px){
#main_img h2 {
    font-size: 3.6rem;
}
.men{
    top:-30%;
}
}

@media screen and (max-width: 1345px){
#main_img h2 {
    font-size: 3.4rem;
}
}

/*
@media screen and (max-width: 1348px){
.video {
    width: auto !important;
    height: 110%;
    }
}
*/

@media screen and (max-width: 1085px){
.men{
    right:1%;
}
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#video {
    top: 0;
}
#main_img{
    height:432px;
    min-height:432px;
}

#main_img h2 {
    font-size: 2.5rem;
    top: 30%;
}
.video {
    width: 120% !important;
    height: 50%;
    margin-left: -77px;
}

.men{
    top:-15%;
    width:25%;
}
#intro h3 {
    font-size: 3rem;
}
.car{
    width:40%;
    top:-25%;
    z-index:4;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
h1 img{
    filter: drop-shadow(0 0 1px #fff);    
}

#main_img{
    padding-top:0;
    height: 210.938px;
    min-height: 210.938px;
}
#main_img::before{
    display:none;
}
#main_img h2{
    font-size:1.5rem;
}
#main_img h2 {
    position: relative;
    z-index: 3;
    overflow: hidden;
}
#intro .en_title{
    line-height:1.5;
}
.men {
    top: -29%;
    width: 25%;
}
.car{
    top:-14%;
}
#footer_box h2{
    padding:0 20px;
}
#cms_2-e .box_title::after{
    top: 100%;
}
#cms_2-e .box_item{
    border-bottom:1px dotted;
}
}

/* ---------- IEの処理 ---------- */
@media all and (-ms-high-contrast: none){
#main_img h2{display:block;}
}


/*2025-06-19*/
h1 img {
    width: 130px;
}
@media screen and (max-width: 667px) {
    h1 img {
        width: 80px;
    }
}
