﻿/*--------リンク・フォント--------*/
@font-face {
    font-family: 'A1gothic';
    font-style: normal;
    font-weight: 400;
    src: url('../Dup/img/A1gothic_r.woff') format('woff'),
        url('../Dup/img/A1gothic_r.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'A1gothic';
    font-style: normal;
    font-weight: 700;
    src: url('../Dup/img/A1gothic_bold.woff') format('woff'),
        url('../Dup/img/A1gothic_bold.eot')  format('eot');
    font-display: swap;
}

body,.font_serif{
    font-family: "A1gothic","游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important;
}

.linkStyle{color: #333333; text-decoration: underline;}




/*--------全体--------*/
body,#main_img .sc_icon.active{    background-color: #fffcf9;}
.add_shadow{box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;}

header h1,#loader div img  {
    background-color: #ffffff!important;
}
/*
#main_img{
    background-image: url(./Dup/img/main_img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 81% 50%;
}
*/
#main_img::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/main_img_txt.png) no-repeat;
    background-size: contain;
    z-index: +1;
    width: 37em;
    height: 16em;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.item1::before {
    display:  none;
}
#contents1 .box_wrap::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_13.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 10em;
    height: 10em;
    left: 37%;
    top: 40px;
    transform-origin: center center;
    animation: swing 1s steps(2, start) infinite;
}
#contents1 .item3::after{
        content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_08.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 14em;
    height: 10em;
    right: -15%;
    top: -60px;
    transform-origin: center center;
    animation: swing 1s steps(2, start) infinite;
}

#contents2 .box:first-of-type .box_img{position:relative;}
#contents2 .box:first-of-type .box_img::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_09.png) no-repeat;
    background-size: contain;
    z-index: 1;
    width: 15em;
    height: 11em;
    left: -15%;
    bottom: -60px;
    transform-origin: center bottom;
    animation: swing2 2s linear 0s infinite;
}
#contents2 .box:last-of-type .box_img{position:relative;}
#contents2 .box:last-of-type .box_img::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_10.png) no-repeat;
    background-size: contain;
    z-index: 1;
    width: 15em;
    height: 11em;
    right: -15%;
    bottom: -60px;
    transform-origin: center bottom;
    animation: swing2 2s linear 0s infinite;
}


#contents1 .box_wrap{
    position: relative;
}
#contents1 .item1 span::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_05.png) no-repeat;
    background-size: contain;
    z-index: -1;
    transform: rotate(-15deg);
    width: 4em;
    height: 1.2em;
    left: -38px;
    top: -49px;
}

#contents1 figure{
    border: 6px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, .3);
    border-radius: 3px;
}

#contents1 .item1::before, #contents1 .item2::before, #contents1 .item3::before {
    background-image: url(./Dup/img/item_02.png);
     background-repeat: repeat-x; 
    background-size: 26%;
    background-position: -3% 50%;
}

#contents1 .box h3{position:relative;}
#contents1 .box h3::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_06.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 5.5em;
    height: 2em;
    left: 50%;
    top: -52px;
    transform: translateX(-50%);
}
/*
#contents2 .box:first-of-type .box_txt h4::after {
    content: "";
    position: absolute;
    width: 15%;
    height: 1px;
    padding: 0 20px;
    top: 50%;
    left: -14%;
    transform: translate(-50%,-50%);
    background: #fd7e3b;
}

#contents2 .box:last-of-type .box_txt h4::after {
    content: "";
    position: absolute;
    width: 15%;
    height: 1px;
    padding: 0 20px;
    top: 50%;
    right: -14%;
    transform: translate(-50%,-50%);
    background: #fd7e3b;
}
*/
.box_wrap .box1_txt{
    position:relative;
    z-index:+1;
    
}
#contents2 .item1 span{
    font-size: 1.6em;
}
#contents2 .item1 span::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_03.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 1em;
    height: 1.8em;
    left: -60px;
    bottom: -9px;
    transform: rotate(-9deg);
}
#contents2 .item1 span::after{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_04.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 1em;
    height: 1.75em;
    right: -50px;
    bottom: -9px;
    transform: rotate(2deg);
}
#contents2 .box_txt {
    border: none;
    background-color:rgba(255,255,255,.8);
    position: relative;
}
#contents2 .box_txt::before{
        content: "";
    display: inline-block;
    position: absolute;
    background: url(./Dup/img/item_01.png) no-repeat;
    background-size: contain;
    z-index: -1;
    opacity: 0.8;
    width: 25em;
    height: 18em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    
}
#contents2 .box_txt .font_serif {
    font-size: 2em;
    border-bottom: 5px dotted #17c566;
    margin-bottom: 7%;
    line-height: 1.5;
}

#top_cms .top_cms_title{
    position:relative;
    z-index: +1;
}
#top_cms .top_cms_title:before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_07.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 6.5em;
    height: 11em;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#top_cms .top_cms_title > div{
    text-align: center;
}

#top_cms .top_cms_box .more a:hover {
    border-radius: 15px;
}
#footer{
    background: url(./Dup/img/footer.png) no-repeat!important;
    background-position: 71% 30%!important;
    background-size: 114%!important;
}

#footer .logo img{
    width:350px
}




@keyframes swing {
   0% {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(-10deg);
  }
}
@keyframes swing2 {
  0% {transform:translateY(0)}
25% {transform:translateY(10px)}
75% {transform:translateY(10px)}
100% {transform:translateY(0)
}
}

/*--------下層--------*/
 #page_title .item2::before {
    display:none;
}
#page_title > div{
    position:relative;
    z-index: +1;
    text-align: center;
}
#page_title > div::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_17.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 9em;
    height: 12em;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cate_list li a{
	display: inline-block;
	background: linear-gradient(to right, #ffffff 50%, #8e8e8e 50%);
	background-size: 200% auto;
	border: 2px solid #8e8e8e;
	box-sizing: border-box;
	padding: 5px 25px;
	color: #8e8e8e;
	font-size: 16px;
	text-align: left;
	text-decoration: none;
	position: relative;
	transition: .3s;
	opacity: 1;
	margin-bottom: 10px;
}
.cate_list li a:hover{
	background-position: -100% 0;
	border: 2px solid #8e8e8e;
	color: #fff;
	opacity: 1;
}
.cate_list li a:before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 15px 15px;
	border-color: transparent transparent #8e8e8e transparent;
}

.cate_list li a:hover:before {
	border-color: transparent transparent #ffffff transparent;
}

.subpage figure{
    border: 6px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, .3);
    border-radius: 3px;
}
#cms_3-d .cate{
    background-color: #f3f3f3;
    padding: 25px;
    border-radius: 15px;
}
#cms_6-c .cate_box:nth-of-type(even){
    margin-left: auto;
}
.cms_6-c .cate_box:nth-of-type(odd){
    margin-left: 150px;
}
.cms_6-c .cate_box:nth-of-type(even){
    margin-left: auto;
}

#cms_6-c .box_title,
.cms_6-c .box_title{
    border-radius: 50px;
    padding: 0px 20px;
}
.cms_6-c .box_title {
    padding: 5px 20px 0px;
}
#page08 .tel_box{
    position: relative;
    overflow: hidden;
    padding: 20px 20px 15px 20px;
}
#page08 .tel_box > a:before{
    content:"";
    position: absolute;
    width:100vw;
    height:100vh;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    left:50%;
    top:50%;
}
@media screen and (max-width: 1200px){
    #page08 .tel_box p{
        display: block;
        padding-right: 0px;
        margin-right: 0px;
        border-right: none;
        
    }
}

@media screen and (max-width: 667px){
  
#page08 .tel_box a{
    font-size: 5.3vw;
    letter-spacing: 2px;    
}

}
#page10 .item1 span {
    text-align: left;
}

#page10 .item1 span:first-of-type {
    padding-top: 10px;
}


/*--------タブレット--------*/
@media screen and (max-width: 768px){
    #main_img {
        height: 42vh;
    background-position: 83% 50%;
}
#main_img::before{
    width: 20em;
    height: 9em;
}
#contents1 .item1 span::before {
    top: -39px;
}

#contents1 .box_wrap::before {
    left: auto;
    top: 7px;
    right: 6%;
}

#contents1 .item3::after {
    left: 38%;
    top: -81px;
}
#contents1 .box_wrap .box:first-of-type{
    padding-bottom: 20px;
}

#contents1 .box h3 {
    text-align: center;
    display: block;
}
#contents2 .box_txt::before {
    width: 19em;
    height: 13em;
}
#contents2 .box_txt .font_serif {
    font-size: 3.1vw;
}
#contents2 .box:first-of-type .box_img::before {
    width: 13em;
    height: 9em;
    left: -8%;
    bottom: 5px;
}
#contents2 .box:last-of-type .box_img::before {
    width: 12em;
    height: 8em;
    right: -15%;
    bottom: 80px;
}
.cms_6-c .cate_box:nth-of-type(odd){
    margin-left: 0px;
}
.cms_6-c .cate_box:nth-of-type(even){
    margin-right: 0px;
}
#footer {
    background: url(./Dup/img/footer_sp.jpg) no-repeat!important;
    background-position: 50% 50%!important;
    background-size: 105%!important;
}

.subpage header h1 {
    background-color: rgba(255, 255, 255, .0)!important;
    top: 13px;
    left: 24px;
    max-width: 230px;
    width: 30%;
}

#page_title h2{
    font-size: 4.3vw;
}
#page_title p span{
font-size: 2.5vw;
}

}

/*--------スマートフォン--------*/

@media screen and (max-width: 667px){
    #main_img {
    height: 31.5vh;
    }
    #main_img::before {
    width: 11em;
    height: 5em;
}
#contents1 .item1 span::before {
    left: -30px;
    top: -35px;
}

#contents1 .box_wrap::before {
    left: auto;
    top: 90px;
    right: -1%;
    width: 5.5em;
    height: 4em;
}

#contents1 .item3::after {
    left: 0%;
    top: -56px;
    width: 8em;
    height: 8em;
}
#contents1 .box h3::before {
    top: -45px;
}

#contents2 .item1 span {
    font-size: 5.5vw;
}
#contents2 .item1 span::before {
    left: -33px;
}
#contents2 .item1 span::after {
    right: -40px;
}
#contents2 .box_txt .font_serif {
    font-size: 5vw;
}
#contents2 .box:first-of-type .box_img::before {
    width: 5em;
    height: 6em;
    left: -10%;
    bottom: -52px;
}
#contents2 .box:last-of-type .box_img::before {
    width: 6em;
    height: 5em;
    right: -9%;
    bottom: -35px;
}
#footer_cms > div{padding:25px;}
#footer .logo img {
    width: 200px;
}
#footer {
    background: url(./Dup/img/footer_sp.jpg) no-repeat!important;
    background-position: 95% 50%!important;
    background-size: cover!important;
}
#page_title > div::before {
   width: 6.5em;
    height: 9em;
    top: 60%;
    left: 50%;
}

#page_title h2 {
    font-size: 5.5vw;
    margin-bottom: 5px;
}
#page_title p span {
    font-size: 3.5vw;
}
.cate_list li{margin-bottom: 3px;}
.cate_list li a {
    display: block;
    margin-bottom: 5px;
}
#cms_3-d .cate {
 
    padding: 15px;
}

#cms_6-c .box_title, .cms_6-c .box_title {
    padding: 5px 20px;
}
header h1 {
    background-color: #ffffff!important;
    width: 60%;
    max-width: 180px;
    top: 4px;
    left: 12px;
    margin-top: 3px;
    margin-bottom: 12px;
}
.subpage header h1 {
    width: 44%;
    left: 12px;
    top: 7px;
    margin-bottom: 17px;
    max-width: 230px;
}
}


/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast:none){


}

