﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Red+Hat+Display:wght@500;700&display=swap');

body, .font_sans-serif{
    font-family: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
.font_bar, a[href^="tel:"], .BA_type1 .box_img1::after, .BA_type1 .box_img2::after, .qa_type1 .cate_box .open_bt .box_title1::before{
    font-family: 'Red Hat Display', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

/*** fade ***/

#intro .fade_box, #contents .fade_box{
    opacity: 0;
    transform: scale(0.9);
    transition: 0.3s;
    transition-timing-function: cubic-bezier(.175,.885,.32,1.275);
    transition-property: transform;
}
#intro .fade_box.active, #contents .fade_box.active{
    opacity: 1;
    transform: none;
}

/*** oter ***/

.normal_img img, .rectangle_img, .square_img{
    border-radius: 10px;
}

html, body{
    font-size: 16px;
}

#pagepiling > .section, #wrap{
    background-color: #fcfbf5;
}

h2, h3, h4, h5, h6{
    line-height: 1.5;
}

#custom .custom_wrap{
    min-height: 730px;
}
#custom .custom_wrap::before{
    position: absolute;
    content: "";
    width: 800px;
    height: 800px;
    background-image: linear-gradient(to bottom, #ffa500, #ff6c22);
    border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
    animation: anime1 20s linear infinite;
    left: -200px;
    bottom: -300px;
}
#custom .custom_wrap::after{
    position: absolute;
    content: "";
    width: 300px;
    height: 300px;
    right: 50px;
    bottom: 0;
    z-index: 1;
    background-image: url('./Dup/img/bg_img2.png');
    background-size: contain;
}
#custom .main_logo{
    position: relative;
    z-index: 2;
}
#custom .main_logo::before{
    position: absolute;
    content: "";
    width: 600px;
    height: 600px;
    background-color: #fff;
    opacity: 0.8;
    border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
    animation: anime1 10s linear infinite;
    left: -200px;
    top: -350px;
    z-index: -1;
}
#custom #main_img{
    border-bottom-left-radius: 50px;
    border-left: solid 3px #ffa500;
    border-bottom: solid 3px #ffa500;
    z-index: 1;
    box-sizing: border-box;
}
#custom .main_title{
    left: 50px;
    bottom: 150px;
    z-index: 2;
}

#intro .intro_title{
    text-shadow: 3px 3px 0 #ff6c22;
}
#intro .intro_title::before{
    position: absolute;
    content: "";
    width: 100px;
    height: 3px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: #ffdc00;
}
#intro .intro_wrap{
    background-color: rgba(252,251,245,0.6);
    backdrop-filter: blur(2px);
}
#intro .intro_txt_wrap{
    box-shadow: 5px 5px 0 #ff6c22;
}
#intro .intro_txt_wrap::before{
    position: absolute;
    content: "";
    width: 70px;
    height: 70px;
    left: 0;
    right: 0;
    top: -55px;
    margin: auto;
    background-image: url(./Dup/img/intro_arrow.png);
    background-size: contain;
}

@keyframes anime1 {
    0% {transform: rotate(0deg)}
    100% {transform: rotate(360deg)}
}

#contents{
    background-image: linear-gradient(to bottom, #ffa500, #ff6c22);
}
#contents .con_box1, #contents .con_box2{
    z-index: 1;
}
#contents .con_box1::before, #contents .con_box1::after, #contents .con_box2::before, #contents .con_box2::after{
    position: absolute;
    content: "";
    width: 500px;
    height: 500px;
    border: solid 2px #fff;
    opacity: 0.4;
    z-index: -1;
    background-color: transparent;
}
#contents .con_box1::before, #contents .con_box1::after{
    top: -100px;
    left: -100px;
}
#contents .con_box2::before, #contents .con_box2::after{
    bottom: -100px;
    right: -100px;
}
#contents .con_box1::before, #contents .con_box2::before{
    border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
    animation: anime1 20s linear infinite;
}
#contents .con_box1::after, #contents .con_box2::after{
    border-radius: 40% 40% 50% 40%/30% 50% 50% 50%;
    animation: anime1 10s linear infinite;
}
#contents .con_title{
    text-shadow: 3px 3px 0 #ff6c22;
}

#top_cms .cms_title p{
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: solid 5px #ffa500;
    line-height: 1.5;
    margin-top: 10px;
}

#page_title{
    overflow: hidden;
}
#page_title::before, #page_title::after{
    position: absolute;
    content: "";
    width: 450px;
    height: 450px;
    border: solid 2px #fff;
    opacity: 0.6;
    z-index: -1;
    background-color: transparent;
    top: -100px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}
#page_title::before{
    border-radius: 50% 50% 50% 70%/50% 50% 70% 60%;
    animation: anime1 20s linear infinite;
}
#page_title::after{
    border-radius: 40% 40% 50% 40%/30% 50% 50% 50%;
    animation: anime1 10s linear infinite;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: left;
	padding-bottom: 10px!important;
	margin-bottom: 50px;
	border-bottom: solid 2px #333;
	color: #333;
	font-weight: bold;
	position: relative;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: #ffa500;
}

#cms_2-a .cate_box:nth-of-type(even){
    flex-direction: row-reverse;
}

.BA_type1 .box_item, .BA_type1 .box_img1, .BA_type1 .box_img2 {position: relative;}
.BA_type1 .box_item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50.3%;
    transform: translate(-50%,-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 17px 0 17px 46px;
    border-color: transparent transparent transparent #ff9e03;
}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {
    position: absolute;
    height: 30px;
    line-height: 30px;
    width: 90px;
    background-color: #fff;
    font-size: 16px;
    text-align: center;
}
.BA_type1 .box_img1::after {
    content: "BEFORE";
    color: #16c3f2;
}
.BA_type1 .box_img2::after {
    content: "AFTER";
    color: #ffa500;
    
}

.qa_type1 .cate_box {
	border-radius: 10px;
	border: 1px solid #909090;
}
.qa_type1 .cate_box .arrow {
	position: absolute;
	left: 2px;
	top: 50%;
	margin-top: 0px;
	transform: translateY(-50%);
}
.qa_type1 .cate_box .open_bt{
	position: relative;
	width: 100%;
	cursor: pointer;
	padding: 20px 0
}
.qa_type1 .cate_box .open_bt .arrow::before, .qa_type1 .cate_box .open_bt .arrow::after {
	position: absolute;
	content: '';
	width: 15px;
	height: 1px;
	background-color: #5c5c5c;
}
.qa_type1 .cate_box .open_bt .arrow::before {
	top: 48%;
	left: 15px;
	transform: rotate(0deg);
	transition: all 0.5s;
}
.qa_type1 .cate_box .open_bt .arrow::after {
	top: 48%;
	left: 15px;
	transform: rotate(90deg);
	transition: all 0.5s;
}
.qa_type1 .cate_box .open_bt .arrow.arrow_be::before {
	transform: rotate(-135deg);
	transition: all 0.5s;
}
.qa_type1 .cate_box .open_bt .arrow.arrow_be::after {
	transform: rotate(135deg);
	transition: all 0.5s;
}
.qa_type1 .cate_box .open_bt .box_title1 {
	display: inline-block;
	position: relative;
	letter-spacing: 1px;
	cursor: pointer;
	margin-left: 87px;
}
.qa_type1 .cate_box .open_bt .box_title1::before{
	content: "Q.";
	position: absolute;
	left: -32px;
	top: -1px;
	display: inline-block;
	vertical-align: baseline;
	color: #ffa500;
	font-size: 22px;
}
.qa_type1 .cate_box .box_item {
	display: none;
	padding-left: 30px;
}
.qa_type1 .cate_box .box_txt1 {
	padding: 20px;
	background-color: #f7f5eb;
	border-radius: 5px;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#custom .main_logo::before{
    display: none;
}
#custom{
    overflow: hidden!important;
    height: inherit!important;
}
#custom .custom_wrap{
    min-height: inherit;
    padding-bottom: 150px;
}
#custom .main_title {
    left: 30px;
    bottom: 50px;
}
#custom .custom_wrap::after {
    width: 150px;
    height: 150px;
    right: 20px;
    bottom: 120px;
}
#custom .custom_wrap::before {
    width: 700px;
    height: 700px;
    left: -100px;
    bottom: -300px;
}
#custom #main_img{
    height: 60vw!important;
    min-height: inherit;
    margin-left: auto;
    width: calc(100% - 50px)!important;
    border-radius: 50px 0 0 50px;
    border-top: solid 3px #ffa500;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#custom .main_logo{
    max-width: 250px;
}
#custom #main_img {
    width: calc(100% - 20px)!important;
    border-radius: 30px 0 0 30px;
}
#custom .custom_wrap{
    padding-bottom: 140px;
}
#custom .custom_wrap::before {
    width: 400px;
    height: 400px;
    left: -150px;
    bottom: -150px;
}
#custom .custom_wrap::after {
    width: 100px;
    height: 100px;
    right: 10px;
    bottom: 140px;
}
#custom .main_title {
    left: 20px;
}
#contents .con_box1::before, #contents .con_box1::after, #contents .con_box2::before, #contents .con_box2::after, #page_title::before, #page_title::after{
    width: 350px;
    height: 350px;
    opacity: 0.2;
}
.cate_title{
    font-size: 20px;
}
.BA_type1 .box_img1 {margin-bottom: 60px;}
.BA_type1 .box_img1::after, .BA_type1 .box_img2::after {height: 30px;font-size: 15px;}
.BA_type1 .box_item::after {transform: translate(-50%,-60%) rotate( 90deg);border-width: 20px 0 20px 23px;}
.qa_type1 .cate_box .open_bt {
	padding: 5px 0 7px;
}
.qa_type1 .cate_box .open_bt .box_title1 {
	margin-left: 73px;
}
.qa_type1 .cate_box .open_bt .box_title1::before{
	font-size: 20px;
}
.qa_type1 .cate_box .arrow {
    left: -5px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
#sns_links p, .cate_list a, #page09 a{
    padding-top: 0;
}
#page07 .info_title::before{
    top: 14px;
}
}