﻿


/*
#loading{
    display:none;
}
*/

:root{
    --color_blue:#61b1b6;
    --color_green:#b5d240;
}


/*--all page---------------------------
-------------------------------------*/
.linkStyle{
    color:#333;
    transition:all 0.3s;
    text-decoration:underline;
}
.linkStyle:hover{
    opacity:0.7;
}

body{
    overflow:hidden;
    font-size: 18px;
}
#header{
    position:fixed;
    z-index:999;
    background-color:#fff;
    width:calc(100% - 90px);
    top:0;
    right:90px;
}
#logo .logo{
    left:55%;
}
.overlay.open{
    box-shadow: -3px 0 17px rgba(0,0,0,0.1);
}
.overlay .menu-box{
    font-size:100%;
}

#logo2{
    max-width:300px;
}
.fix_bnr{
    left:10px;
    z-index:2;
}


/*--top page---------------------------
-------------------------------------*/

#main_img::before{
    content:'';
    position:absolute;
    display:block;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.1);
    top:0;
    left:0;
    z-index:2;
}
.catch{
    z-index: 3;
    font-size: 3.5rem;
    bottom: 9%;
    right: 4%;
}
.catch2 {
    z-index: 3;
    font-size: 1.2rem;
    bottom: 5%;
    right: 6%;
    letter-spacing: 3px;
}
.txt_anim1 span,
.txt_anim2 span{
	position: relative;
	right: 20px;
	opacity: 0;
	transition: all .8s;
}
.txt_anim1 span.start,
.txt_anim2 span.start{
	right: 0;
	opacity: 1;
}

#top_contents1 .font1 {
    font-size: 6.5rem;
    line-height: 1;
    letter-spacing: 6px;
}
#top_contents1 h2 span{
    padding:0 10px;
    background-color:#fff;
}
#top_contents1 h2 span::before{
    content:'';
    position:absolute;
    display:block;
    width:calc(100% + 100px);
    height:1px;
    background-color:#333;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index: -1;
}
#top_contents1 h2{
    margin-bottom:70px;
}
#top_contents2 {
    padding: 300px 0 250px;
}
#top_contents2 .bnr{
    margin:30px auto 0 0;
}

.button-054::after {
    position: absolute;
    right: 2em;
    transform: translateY(-50%);
    transform-origin: left;
    width: 2em;
    height: .5em;
    background-color: #333;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: '';
    transition: transform .3s;
    top:20px;
}

.button-054:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}

.con2_subtitle {
    font-size: 8rem;
    line-height: 1;
    top: 2%;
    right: 5%;
}
.con2_subtitle2 {
    top: 6%;
    right: 6%;
    z-index: 2;
    font-size: 1.8rem;
}
.con2_font1{
    opacity:0.5;
}

#top_contents2 .con_box:nth-of-type(2) .text_box{
    padding: 5% 5% 5% 7%;
}

.con2_img3 {
    top: -14%;
    width: min(20vw,400px);
    left: 7%;
}

.topcms_title{
    font-size:8rem;
}
.top_cms_title .before, .top_cms_title .after, .top_info_title .before, .top_info_title .after{
    display:none;
}
.top_cms_title p,
.top_info_title p{
    font-size: 5rem;
    opacity: 0.07;
    margin-bottom: -50px;
}

/*--under page---------------------------
-------------------------------------*/
#page_title::before{
    display:none;
}
#page_title .page_title_inner {
    padding: 200px 20px;
    width: 82%;
    margin-left: auto;
}
#page_title .title_box {
    transform: none;
    left: 0;
    bottom: 0;
    padding: 40px 35px 0 100px;
    border-top: 0;
    /* background-color: rgba(255,255,255,0.5); */
    text-align: left;
    width: 30%!important;
}
#page_title p{
    font-size:3.5rem;
}

.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
    content: "0"counter(box);
    font-size: 86px;
    color: #f5f5f5;
    left: 0;
    top: -70px;
    z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}


/* ---------- responshive ---------- */
@media screen and (max-width: 1536px){

}


@media screen and (max-width: 1366px){
#page_title p {
    font-size: 2.5rem;
}
}

@media screen and (max-width: 1280px){
#header{
    width: calc(100% - 80px);
        right: 80px;
}
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#header{
    background-color:transparent;
}
.overlay.open {
    box-shadow: none;
}
.mainimg{
    position: relative;
    height: 43vh;
}
.mainimg img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 114%;
    height: auto;
}
.catch {
    font-size: 2.5rem;
    bottom: 12%;
}
#top_contents1 .font1 {
    font-size: 4.5rem;
    letter-spacing: 2px;
}
.con2_subtitle {
    font-size: 6rem;
    top: 4%;
}
#top_contents2 .con_box .text_box {
    padding: 5% 5% 5% 7%;
}
.con2_img3 {
    top: -13%;
    width: min(47vw,400px);
    left: 7%;
}
.topcms_title {
    font-size: 6rem;
}
#page_title .title_box{
    padding: 35px 35px 0 35px;
    width: 50%!important;
}
#page_title p {
    font-size: 3rem;
}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
body{
    font-size:16px;
}
.mainimg img{
    width:153%;
}
.catch {
    font-size: 1.5rem;
    bottom: 12%;
    right: 1%;
}
.catch2{
    font-size:0.9rem;
    letter-spacing:1px;
}
#top_contents1 .font1 {
    font-size: 2.5rem;
    letter-spacing: 0px;
}
#top_contents1 h2 span::before{
    display:none;
}
#top_contents1 h2 {
    margin-bottom: 40px;
}
#top_contents2 {
    padding: 200px 0 230px;
}
#top_contents2 .con_box .text_box {
    padding: 20px 10px;
}
.con2_subtitle {
    font-size: 4.5rem;
    top: 4%;
}
.con2_subtitle2 {
    top: 5.5%;
    font-size: 1.2rem;
}
.con2_font1{
    margin-top:5px;
    margin-bottom:5px;
}
.con2_img3 {
    top: -10%;
    width: min(54vw,400px);
}
.topcms_title {
    font-size: 4rem;
    margin-bottom: 60px;
    margin-top: 100px;
}
.top_cms_title p, .top_info_title p {
    font-size: 3rem;
    margin-bottom: -22px;
}


#page_title .page_title_inner {
    padding: 100px 20px;
    width: 100%;
}
#page_title .title_box {
    bottom: -18%;
    padding: 20px 20px 0 20px;
    width: 70%!important;
}
#page_title p {
    font-size: 1.7rem;
}
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
#cms_2-g .cate_title {
    font-size: 1.3em;
}
.page9 #page_title p{
    letter-spacing: 0px;
}
}




