﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
html, body {
  overflow-x: hidden;
}
.linkStyle{
	color:var(--color1);
}
.linkStyle:hover{
	color:var(--color1);
	opacity: 0.7;
	transition: all 0.5s;
}

#fix_bnr {
    bottom: 10px;
    right: 100px;
    z-index: 5;
    width: 25%;
    max-width: 350px;
}

.logo1 {max-width: 170px;}
#fakeloader .fl {max-width: 270px;}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#fix_bnr{width: 40%;}

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.footer_contact .f_contact_box h4 {font-size: 40px;}
#fix_bnr{width: 250px;}

}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#main_img{overflow: hidden;}
#main_img .main{
    width: 63%;
}
#main_img .catch1{
    width: 38%;
    max-width: 630px;
    top: 15%;
    left: 0;
}
#main_img .catch2{
    width: 50%;
    max-width: 790px;
    bottom: 3%;
    right: 0;
}

.ani_fadein{display: none;overflow:hidden;}
.ani2 {
    animation: slideIn 2s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
    opacity: 0;
    animation-delay: 1.0s;
}
.ani3 {
    animation: slideIn2 2s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
    opacity: 0;
    animation-delay: 1.3s;
}
@keyframes slideIn {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}
@keyframes slideIn2 {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#main_img {height: 80vh;}
#main_img .main {width: 90%;}
#main_img .catch1 {
    width: 60%;
    top: 13%;
}
#main_img .catch2 {
    width: 80%;
}

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#main_img .main {width: 95%;}
#main_img .catch1 {
    width: 80%;
    top: 17%;
}
#main_img .catch2 {
    width: 98%;
}

}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#con3 .title .en, #topCms .cmstitle .en {
  font-family: "Zen Maru Gothic", sans-serif;
}
#con3 .box_item {
    cursor: pointer;
    border-radius: 30px;
}
#con3 .box_item figure{
    border-radius: 100%;
    overflow: hidden;
}
#con3 .box_item:hover {
    transform: scale(1.02);
    filter: drop-shadow(5px 5px 0px var(--color3));
}
#con3 .plus {
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 45px;
}
#con3 .box_title2, #con3 .box_txt1{
    border-top: 1px solid #edede6;
}
#con3 .modal .box_title2{
	border-top: none;
}
#con3 .modal{
	display: none;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	line-height: 1.7;
}
#con3 .modal-wrap {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 20px;
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
}
#con3 .modal-wrap::-webkit-scrollbar {
	display: none;
}
#con3 .modal-wrap:after {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 1px;
	height: 100%;
}
#con3 .modal-bg{
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
}
#con3 .modal-box {
    width: 90%;
    max-width: 900px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 10px;
    padding-bottom: 23px;
    background-color: #fff;
}
#con3 .modal-box .inner{
	max-height: 650px;
    overflow: auto;
	-ms-overflow-style: none;
}
#con3 .modal-box .inner::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
#con3 .modal-box .inner::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}
#con3 .modal-box .inner::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #333;
}
#con3 .modal-box .modal-close {
    cursor: pointer;
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
}
#con3 .modal_img{
    max-width: 600px;
}
#con3 .modal_title1{
	padding-top: 60px;
}
#con3 .modal_title1:before{
	content: "";
	display: block;
	background-color: #666; 
	width: 1px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 2px;
}
#con3 .modal_title1 span{
	transform: rotate(90deg);
	display: block;
	line-height: 1;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#con3 .modal-box .modal-close {
    top: 15px;
    right: 10px;
    width: 40px;
    z-index: 3;
}
#con3 .modal-box .inner{
    max-height: 500px;
}
.cmstitle .en {
    font-size: 28px;
    letter-spacing: 1px;
}

}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.pagetitle {
    padding-top: 200px;
    padding-bottom: 80px;
    background-color: var(--color3);
}
.pagetitle_img{
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
    /*mix-blend-mode: unset;*/
}
.pagetitle h2 {
    color: #fff;
    font-weight: bold;
}
.pagetitle p {
    font-weight: bold;
    color: #fff;
}
.cate_list li a:hover{
    background-color: var(--color3);
    border: 1px solid var(--color3);
    color: #fff;
}
.cate_list li a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 10px;
    font-weight: bold;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
.pagetitle {
    padding-top: 140px;
    padding-bottom: 70px;
}

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.pagetitle {
    padding-top: 130px;
    padding-bottom: 60px;
}
#cms_5-f .cate_box .box_item, .cms_5-f .cate_box .box_item {
    padding-right: 0;
}

}


