﻿@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500&display=swap');

/*
html, body{overflow: auto}
.pp-section{position: static}
*/

body{
    font-size: 15px;
}
.font_bar, a[href^="tel:"], .intro_title span, #contents1 .con_title, #contents2 .con_title span, .date{
    font-family: 'M PLUS Rounded 1c', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}

#menu_stick, header .nav_bg {
    width: 60px;
    height: 60px;
}

#pp-nav ul {
    background: #E3F7FF;
    padding: 10px 0;
    border-radius: 20px;
}

.custom_box{
    background-repeat: repeat-x;
    background-position: 0 0;
    background-size: auto 100%;
    animation: main_loop 90s linear infinite;
}
@keyframes main_loop{
    0%{background-position: 0 0;}
    100%{background-position: -2400px 0;}
}
.custom_box::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(51, 51, 51, 0.1);
}
.custom_wrap img{
    width: 80%;
    max-width: 960px;
}

.intro_logo_left, .intro_logo_right{
    display: inline-block;
    max-width: 120px;
    margin-bottom: -15px;
}

.intro_title span{
    padding: 0 20px;
    background-image: linear-gradient(120deg, #fae012,#fae012 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 75%;
    color: #36afc9;
    letter-spacing: 4px;
    font-weight: 500;
}
.intro_txt{
    font-size: 14px;
    line-height: 2.4;
}
.intro_bt a{
    background: #fae012;
    padding: 10px 40px;
    border-radius: 35px;
    line-height: 1.5;
    display: inline-block;
}
.intro_left:before{
    content: "";
    display: block;
    background-repeat: no-repeat;
    position: absolute;
    background-image: url(./Dup/img/intro_bg.png);
    background-size: contain;
    width: 100%;
    max-width: 1000px;
    height: 200px;
    top: 0;
    left: 50%;
    transform: translate(-50%,0);
    z-index: -1;
}
.intro_right{
    border: 6px solid #ffffff;
}
.intro_right .intro_img1{
    border-bottom: 6px solid #ffffff;
}
.intro_right .intro_img2{
    border-right: 3px solid #ffffff;
}
.intro_right .intro_img3{
    border-left: 3px solid #ffffff;
}

#contents1{
    background-image: url('../Dup/img/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#contents1 .con_no{
    position: relative;
    color: #343434;
}
#contents1 .con_no::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    top: 0;
    bottom: 0;
    left: 60px;
    margin: auto;
    background-color: currentColor;
}
#contents1 .con_box1::before{
    display: none;
}
#contents1 .con_txt{
    font-size: 14px;
    line-height: 2.4;
}
#contents1 .con_img{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#contents1 .con_img::before{
    position: absolute;
    content: "";
    width: 10px;
    top: 50px;
    bottom: 50px;
    right: -10px;
    background-color: #44C4E0;
}
#contents1 .con_title{
    font-weight: 500;
}
.contents1_bt{
    justify-content: space-evenly;
}
.contents1_bt a{
    background: #fae012;
    padding: 10px 0;
    border-radius: 35px;
    line-height: 1.5;
    display: inline-block;
    width: 100%;
    max-width: 200px;
    margin-bottom: 20px;
}

#contents2 .con_title span{
    padding: 0 20px;
    background-image: linear-gradient(120deg, #fae012,#fae012 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 75%;
    color: #36afc9;
    letter-spacing: 4px;
    font-weight: 500;
}
#contents2 h4{
    position: relative;
    padding: 5px 5px 5px 24px;
    font-size: 14px;
}
#contents2 h4::before {
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f058";
    color: #36afc9;
    font-size: 18px;
}
.contents2_bg1{
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 120px 50vw 0 0;
    border-color: #44C4E0 transparent transparent transparent;
}
.contents2_bg2{
    top: 0;
    right: 0;
    border-style: solid;
    border-width: 0 50vw 120px 0;
    border-color: transparent #44C4E0 transparent transparent;
}

#top_cms .cms_title{
    border-color: #36afc9;
}
#top_cms .cms_title span{
    background-color: #36afc9;
}
#top_cms .more a{
    border-radius: 30px;
}

.cms_box:nth-child(even){
    background-color: #E3F7FF;
}
.cms_title p{
    letter-spacing: .2em;
    font-weight: bold;
}
.cms_title p{
    font-size: calc(1rem + 16px);
}
.footer_left .tel_bt a{
    background: #fae012;
    padding: 10px 40px;
    border-radius: 35px;
    line-height: 1.5;
    display: inline-block;
}
#logo2{
    width: 300px;
    margin-bottom: 60px;
}
footer #sns_links .sns_title{
    width: calc(100% - 40px);
    line-height: 40px;
    padding-left: 20px;
}
#top_footer_nav ul li a, #footer_nav ul li a{
    position: relative;
    padding-left: 20px;
}
#top_footer_nav ul li a{
    color: #ffffff;
}
#top_footer_nav ul li a::before, #footer_nav ul li a::before{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    content: "";
    background: #fae012;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    margin: auto;
}
#footer_nav ul li a::before{
    background: #36afc9;
}
#footer_sns a{
    color: #ffffff;
}
#footer_sns img{
    padding: 2px;
    background: #fff;
    border-radius: 50%;
}
.footer_bg::before{
    content: '';
    width: 60px;
    top: 0;
    bottom: 0;
    left: 0;
    position: absolute;
    background-image: url(./Dup/img/bg_line_w.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: auto 100%;
}

#page_title::before {
    position: absolute;
    content: "";
    width: calc(100% - 100px);
    max-width: 1280px;
    height: 10px;
    left: 0;
    right: 0;
    bottom: -10px;
    margin: auto;
    background-color: #44C4E0;
}
#page_title .title_wrap p {
    font-size: 42px;
}

#page08 .tel_box .more a{
    background-color: #36afc9;
}
.mitumori span{
    background-image: linear-gradient(120deg, #fae012,#fae012 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 75%;
    display: inline-block;
    padding: 0 10px;
    letter-spacing: 4px;
}

.cate_title{
    color: #333333;
	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-radius: 0!important;
	font-weight: bold;
	border-bottom: solid 2px;
}
.cate_title i{
    color: #fae012;
}

.topcms_news_type2 .date {
    color: #fff;
    background-color: #36afc9;
    border: none;
    display: inline-block;
    padding: 5px 10px;
    line-height: 1.2;
}
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #cccccc;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
#cms_1-a .cate_box.border_color1{
    border-color: #cccccc;
}
#cms_1-a .cate_box .date {
    color: #fff;
    background-color: #36afc9;
    border: none;
    line-height: 1.2;
}

.cms_3-b .cate_box a {
    color: #fff;
    /*border-radius: 14px;*/
    padding-top: 240px;
    padding-bottom: 10px;
}
.cms_3-b .cate_box a:before, .cms_3-b .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /*background-color: rgba(0,0,0,0.15);*/
    z-index: 1;
}
.cms_3-b .cate_box a:after {
    top: 100%;
    background-color: #36afc9;
    transition: 0.5s;
	z-index: 3;
}
.cms_3-b .cate_box a:hover:after {
    top: 0;
}
.cms_3-b .cate_box .txt_wrap {
    z-index: 2;
}
.cms_3-b .cate_box .txt_wrap h3{
    letter-spacing: 2px;
    color: #ffffff;
    background-color: #36afc9;
    padding: 10px 20px;
    line-height: 1.0;
    /*border-radius: 20px;*/
}
.cms_3-b .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}
.cms_3-b .cate_box a:hover .more {
    opacity: 1;
}

.BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
	width: 48%!important;
	margin: 0 1%;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: #4d4d4d;
	color: #fff;
	text-align: center;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
.BA_type2 .box_img2_wrap::before {
	content: "After";
	background-color: #36afc9;
}

#v_type3 .cate_box{
    width: 48%!important;
    margin: 0 auto;
}

.qa_type4 .cate_box{
	background-color: #36afc9;
}
.qa_type4 .box_title1{
	cursor: pointer;
	letter-spacing: 0.5px;
	padding: 12px 36px 12px 50px;
	background-image: url(./Dup/img/faq_q.png);
	background-position: 10px 10px;
	background-repeat: no-repeat;
	background-size: 32px 32px;
    color: #fff;
    font-weight: bold;
}
.qa_type4 .box_title1:after{
	font-size: 20px;
	font-weight: bold;
	position: absolute;
	top: 5px;
	right: 10px;
	content: '\2b';
	display: inline-block;
	-webkit-transition: transform 0.4s;
	transition: transform 0.4s;
}
.qa_type4 .box_title1.open:after{
	-webkit-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}
.qa_type4 .box_txt1 p{
	background-image: url(./Dup/img/faq_a.png);
	background-position: 6px 10px;
	background-repeat: no-repeat;
	background-size: 24px 24px;
	padding: 10px 10px 10px 40px;
}
.qa_type4 .box_title1:empty{
	height: 24px;
}

#fix_bnr{
    bottom: 10px;
    right: 10px;
    z-index: 7;
    width: 320px;
}
#fix_bnr .fix_bnr_btn{
    line-height: 1;
    top: -10px;
    left: -8px;
    cursor: pointer;
}

@media screen and (max-width: 768px){
    #custom{
        height: 50vh!important;
    }
    #contents1 .con_img::before{
        width: calc(100% - 40px);
        height: 10px;
        top: -10px;
        bottom: auto;
        left: 0;
        right: 0;
        margin: auto;
        background-color: #44C4E0;
    }
    #contents2 .flex_space-around{
        justify-content: flex-start;
    }
    footer.bg_white{
        background-color: #E3F7FF;
    }
    footer .footer_bg{
        display: none;
    }
    #sns_links{
        border-color: #333333;
    }
    #sns_links p, #footer_sns a {
        color: #333333;
    }
    .topcms_news_type2 .cate_box {
        width: 100%!important;
    }
    .topcms_news_type2 .txt_height {
        height: 3em;
    }
    .cms_3-b .cate_box a{
        padding-top: 140px;
    }
    #v_type3 .cate_box {
        width: 90%!important;
        margin: 20px auto;
    }
    #fix_bnr {
        width: 260px;
        right: 55px;
        bottom: 0;
    }
}

@media screen and (max-width: 667px){
    body{
        font-size: 14px;
    }
    .custom_wrap img {
        width: 94%;
        top: 60%;
    }
    .intro_logo_left, .intro_logo_right {
        max-width: 70px;
    }
    .more a::before, .more a::after {
        width: 10px;
    }
    #intro .intro_right div#video {
        height: 70%;
    }
    .intro_txt, #contents1 .con_txt {
        line-height: 2;
    }
    #contents1 .con_img{
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .contents2_bg1{
        border-width: 70px 50vw 0 0;
    }
    .contents2_bg2{
        border-width: 0px 50vw 70px 0;
    }
    .cms_title p {
        font-size: calc(1rem + 10px);
    }
    #page_title .title_wrap p {
        font-size: 26px;
        letter-spacing: 2px;
    }
    .cate_title, #contents2 .con_title span{
        font-size: 20px;
        letter-spacing: 0;
    }
    .cms_3-b .cate_box .txt_wrap h3 {
        padding: 10px 10px;
        font-size: 14px;
    }
    .BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{
    	width: 76px;
    	font-size: 13px;
    }
    .BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{padding: 1px 0px;}
    #fix_bnr {
        bottom: 7px;
        right: 72px;
        width: 65%;
    }
}
