﻿
#fix_banner a {
    color: white;
}
#fix_banner:hover{
    opacity:0.6;
}
#fix_banner {
    position: fixed;
    /*bottom: 10px;*/
    right: 60px;
    width: 250px;
    height: 60px;
    z-index: 10;
    cursor: pointer;
    background: #f99601;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
#fix_banner,#page-top{
    transition:all 0.3s;
}

.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
	margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
}
#page-top {
    background: #353535;
}
p#copyright {
    background: #2b2424;
    color: white;
}
.link_type1 .link_top .link_title{
    font-size: 20px;
    margin-bottom: 20px;
}
.link_type1 .link_top a{
	padding-top: 80px;
    padding-bottom: 60px;
}
.link_type1 .link_top a:hover{
    background-color: #ededeb;
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
@media screen and (max-width: 667px){
.link_type1 .link_top .link_title{
    font-size: 15px;
}
}

#top_cms .more a {
    border-color: #353535;
}
#top_cms .more a:hover{
    border-color: #de1772;
}
.bg_color1 {
    background-color: #01b0cf;
}
.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: #ff9e03;
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.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;}
}


#cms_5-a .cate .cate_title {
    cursor: pointer;
    background: #17b6d2;
    color: white;
}
.close_menu.border_color1 {
    border-color: #353535;
}
#cms_5-a .box_title1 {
    color: #053777;
    font-weight: bold;
}
section#cms_3-d {
    max-width: 1280px;
    margin: auto;
}
section#cms_3-d .cate {
    padding: 50px;
    background: #f1f1f1;
}
.txt_color3 {
    color: #053777;
}
.cate_title {
    color: #01b0cf;
}
#main_img {
    overflow: hidden;
}
#top_cms .top_cms_box .top_cms_title p,#page_title p {
    color: #ffbc00;
}
.hvr_bg_color3:hover {
    background-color: #de1772;
}
header {
    background: #ffe849;
}
.bg_color2 {
    background-color: #ffe849;
}
.bg_color2 {
    background-color: #e6fcff;
}
nav ul li.bg_color2 {
    background-color: #ffffff;
}
.open_menu{
    background:white;
    color:black;
    border:0;
}
#main_img {
    height: auto;
    min-height:0;
}
#contents1 h4 {
    font-weight: bold;
    font-size: 24px;
    color: #053777;
}
#intro h2 span:before,#contents2_new h2 span:before {
    width: 50px;
    height: 4px;
    content: "";
    position: absolute;
    background: #00b0cf;
    transform: rotate(45deg);
    left: -60px;
    bottom: 20px;
}
#intro h2 span:after,#contents2_new h2 span:after {
    width: 50px;
    height: 4px;
    content: "";
    position: absolute;
    background: #00b0cf;
    transform: rotate(-45deg) ;
    right: -50px;
    bottom: 20px;
}
#intro h2 span,#contents2_new span{
    position: relative;
}
#intro h2,#contents2_new h2{
    color: #00b0cf;
    font-weight: bold;
    text-align: center;
    margin-bottom: 80px;
    position:relative;
}

#contents2 > div {
    background-color: rgb(0 24 40 / 50%); 
}
#intro h3 {
    font-size: 24px;
    color: #053777;
}
.border_color3 {
    border-color: #f7d804;
}
#page10 a.d_block.txt_color_nomal.border_color1.border_so1.en_font.font_20.font_16_sp.pd_10px.pd_l-50px.pd_r-50px.letter_2.hvr_bg_color3.hvr_txt_white.motion03s:hover {
    border-color: #de1772;
}
.btn {
    margin-top: 20px;
}

.btn a {
    color: white;
    background: #de1772;
    padding: 5px 50px;
    display: inline-block;
    border-radius: 30px;
    transition: all 0.3s;
}
.btn a:hover{
    opacity:0.8;
}
#contents2_new {
    padding: 5%;
    padding-top:170px;
    position:relative;
}
#contents2_new:before {
    width: 100%;
    height: 60%;
    background: #fffad4;
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
}
#contents2_new .box_wrap {
    justify-content: space-around;
    display: flex;
}
#contents2_new .box h3 {
    font-weight: bold;
    font-size: 20px;
    color: #053777;
    margin-bottom: 10px;
}
#contents2_new .box .box_txt {
    margin-top: 20px;
    padding: 10px;
    box-sizing: border-box;
}
#contents2_new h2:before {
    width: 100%;
    height: 140px;
    content: "";
    position: absolute;
    background: url(Dup/img/illust2.png) no-repeat;
    background-size: contain;
    background-position: center;
    left: -10px;
    top: -160px;
}
#intro .fig_wrap {
    position: relative;
}
#intro .fig_wrap:before {
    width: 190px;
    height: 160px;
    content: "";
    position: absolute;
    background: url(Dup/img/illust1.png) no-repeat;
    z-index: 2;
    bottom: -40px;
    left: -70px;
    background-size: contain;
}
.top_cms_title h3, #page_title h2{
    font-weight: bold;
    color: #00b0cf;
}
div#footer {
    background: #ffee76;
}
a.linkStyle {
    color: #de1772;
}
.border_color1 {
    border-color: #01b0cf;
}

/*-------------------------------タブレット---------------------------------------*/
@media screen and (max-width:768px){
    header h1 {
    max-width: 140px;
    margin-bottom: 5px !important;
}
#intro h2, #contents2_new h2 {
    font-size: 32px;
    letter-spacing: 1px;
}
#intro h2 span:before, #contents2_new h2 span:before {
    width: 40px;
}
#intro h2 span:after, #contents2_new h2 span:after {
    width: 40px;
}
#intro .fig_wrap:before{
bottom: 10px;
    left: -50px;
}
#contents2_new .box h3 {
    font-size:18px;
}
#menu_bt{
    background: #ffe849;
}
#menu_bt span ,#menu_bt span::before, #menu_bt span::after{
    background-color: #353535; 
    height: 2px;
}
section#cms_3-d .cate {
    padding: 50px 30px; 
}
#page_title h2 {
    font-size: 28px;
}
#page08 h4.txt_center.font_14.font_12_sp.mg_r-20px {
    white-space: nowrap;
}
#fix_banner{
    width:200px;
}
}
/*--------------------------------スマホ---------------------------------------------*/
@media screen and (max-width:667px){
    p#copyright {
    padding-bottom: 60px;
}
    #fix_banner {
    right: 40px;
    width: 200px;
    height: 40px;
    }
    span.d_none.d_block_sp:before, span.d_none.d_block_sp:after {
    display: none;
}
span.d_none.d_block_sp {
    display: inline;
}
#intro h2, #contents2_new h2 {
    font-size: 24px;
    letter-spacing: 1px;
}
#intro .fig_wrap:before {
    width: 140px;
    height: 120px;
    left: -30px;
}
#intro h2 span:before, #contents2_new h2 span:before {
    width: 50px;
    height: 3px;
    content: "";
    position: absolute;
    background: #00b0cf;
    transform: rotate(45deg);
    left: -80px;
    bottom: 10px;
}
#intro h2 span:after, #contents2_new h2 span:after {
    width: 50px;
    height: 3px;
    content: "";
    position: absolute;
    background: #00b0cf;
    transform: rotate(-45deg);
    right: -40px;
    bottom: 10px;
}
#intro h2 span, #contents2_new span {
    position: relative;
    line-height: 1.3em;
}
#contents2_new h2 span:before {
    left: -50px;
}
 #contents2_new h2 span:after{
    right:-50px;
}
#intro h2, #contents2_new h2{
    margin-bottom:50px;
}
header h1 {
    max-width: 100px;
    margin-bottom: 0 !important;
}
#intro h3,#contents1 h4{
    font-size: 20px; 
}
#contents2_new .box h3 {
    font-size: 18px;
    line-height: 1.3em;
}
#contents2_new .box_wrap {
    flex-direction: column;
}
#contents2_new h2:before {
    width: 100%;
    height: 120px; 
    top: -140px;
}
#contents2_new:before {
    height: 75%;
}
#contents2_new {
    padding: 5%;
    padding-top: 130px; 
}
#menu_bt span, #menu_bt span::before, #menu_bt span::after {
    background-color: #353535;
}
#contents2_new .box_wrap .box:last-of-type {
    margin-top: 50px;
}
#page_title h2 {
    font-size: 22px;
    letter-spacing: 1px;
    white-space: nowrap;
}
section#cms_3-d .cate {
    padding: 50px 15px;
}
#cms_3-d p.box_txt1 {
    white-space: nowrap;
}
#cms_3-d .cate_box {
    padding: 15px;
}
#page_title > div::after {
    background-color: rgb(255 255 255 / 90%);
}
}