﻿/* all page */
/*fonts*/

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
#google_privacy a{color: #160a0a;}
:root{
	--color1: #e67220;
	--color2: #ede9de;
	--color3: #b5a058;
	/*--font-jp: 'Noto Sans JP', "游ゴシック Medium", sans-serif;*/
}

.txt_color1, .hvr_txt_color1:hover{color: var(--color1);}
.txt_color2, .hvr_txt_color2:hover{color: var(--color2);}
.txt_color3, .hvr_txt_color3:hover{color: var(--color3);}
/*.txt_color4, .hvr_txt_color4:hover{color: var(--color4);}*/

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: var(--color1);}
.bg_color2, .hvr_bg_color2:hover{background-color: var(--color2);}
.bg_color3, .hvr_bg_color3:hover{background-color: var(--color3);}
/*.bg_color4, .hvr_bg_color4:hover{background-color: var(--color4);}*/

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: var(--color1);}
.border_color2, .hvr_border_color2:hover{border-color: var(--color2);}
.border_color3, .hvr_border_color3:hover{border-color: var(--color3);}
/*.border_color4, .hvr_border_color4:hover{border-color: var(--color4);}*/


/* header */
#header h1 span {
    border: none;
    padding: 0;
}
#header h1 img {
    max-width: 250px;
}
#header h1.active img {max-width: 150px;}

/* footer */
#footer_menu li a, #sns_links li a{opacity:1;}
#footer_menu li a:hover, #sns_links li a:hover{opacity:0.5;}


/* top ----------------------------------------------------------------*/

/* main img */
#main_img{position: relative;}
#main_img::before{
    content: "";
    background-color: #111;
    opacity: 0.15;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#main_img .main_txt {
    top: 50%;
    transform: translateY(-50%);
    right: 3%;
    height: 90%;
    max-height: 800px;
    z-index: 1;
}
#main_img .main_txt2 {
    top: 55%;
    transform: translateY(-50%);
    left: 15%;
    height: 80%;
    max-height: 700px;
    z-index: 1;
}
#main_img .main_txt img, #main_img .main_txt2 img {
    height: 100%;
    width: auto;
}

/* main */
#video .video{
    width: 100%;
    height: auto;
}

/* intro */
#intro, #contents3, #page_title{
    background-image: url(../img/bg.png);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
#intro::before, #intro::after, #contents1:before, #contents1::after, #contents2:before, #contents2::after, #page_title:before, #page_title::after {
    content: "";
    background-repeat: no-repeat;
    background-size: 17%;
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#intro::before, #contents1:before, #contents2:before, #page_title:before {
    background-image: url(../img/bg_l.png);
    background-position: top left;
    top: 0;
    left: 0;
}
#intro::after, #contents1::after, #contents2::after, #page_title::after {
    background-image: url(../img/bg_r.png);
    background-position: bottom right;
    bottom: 0;
    right: 0;
}
#intro .intro_item{
    padding-right: 5%;
    z-index: 1;
}

/* contents */
#contents1{
    background-repeat: no-repeat;
    background-position: bottom -1px left -1px;
    background-size: 60%;
}
#contents1 .con1_title img, #contents2 .con2_title img {
    width: auto;
    height: 100%;
}
#contents1 .con1_title img{
    transform: translateX(35%);
}
.con1_img2 {
    bottom: -30%;
    right: -30%;
    width: 85%;
}
#contents1 .con1_img3 {
    bottom: -10%;
    left: -10%;
    width: 65%;
}
#contents1 .con1_txt{z-index: 1;}

/* topcms */
.link_type2 .cate_box a {
    color: #fff;
}
.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
.link_type2 .cate_box a:after {
    top: 100%;
    background-color: var(--color1);
    transition: 0.5s;
	z-index: 3;
}
.link_type2 .cate_box a:hover:after {
    top: 0;
}
.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}
.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.link_type2 .cate_box a:hover .more {
    opacity: 1;
}

/* under page ----------------------------------------------------------------*/
#page_title >div {color: var(--color1);}
.cate_list li a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
}

/* ---------- 1536px ---------- */
@media screen and (max-width: 1536px){}
/* ---------- 1366px ---------- */
@media screen and (max-width: 1366px){}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#header h1 img{max-width: 200px;}
#header h1.active img {max-width: 70px;}
#intro .intro_item {
    padding-right: 0;
    margin-bottom: 20px;
}
#intro::before, #intro::after, #contents1:before, #contents1::after, #contents2:before, #contents2::after, #page_title:before, #page_title::after {
    background-size: 40%;
}
#contents1 h2 {
    max-height: none;
    margin: 30px auto;
}
#contents1 .con1_title img {
    transform: translateX(10%);
    width: 100%;
    height: auto;
}
#contents1 h2 span {
    writing-mode: unset;
}
#contents1 .con1_txt {
    background-color: rgba(255,255,255,0.7);
    padding: 2%;
}
#contents2 .con2_txt span {
    background-color: rgba(0,0,0,0.5);
    padding: 2%;
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#main_img .main_img{
    width: auto !important;
    height: 100%;
}
#main_img .main_img img{
    width: auto;
    height: 100%;
    transform: translateX(-15%);
}
#main_img .main_txt {
    right: -5%;
    height: 63%;
}
#main_img .main_txt2 {
    top: auto;
    transform: none;
    bottom: 3%;
    left: 5%;
    height: 55%;
}
#contents1 {background-size: 90%;}
#contents2 {padding: 50px 3%;}
#contents2 .con2_title img{
    width: 100%;
    height: auto;
}

}





