﻿.top_banner {
    max-width: 430px;
    margin: 50px auto;
}
#video{
   position: relative;
    overflow: hidden;
    height: 500px;
    margin: auto;
    margin-top: 50px;
}
span.en.pop400.txt_color3.font_12.br {
    font-family: "play";
}
#overlay .left li:before{
        color: rgb(5 24 68 / 90%);
}
.cms_banner a {
    background: #051844;
    color: white;
    padding: 10px 20px;
}

#page_left, #page_right {
    height: 450px;
}
.txt_color2 {
    color: #051844;
}
.button_container.active .top,.button_container.active .bottom{
    background:#051844;
}
.button_container.active span:nth-of-type(1){
    color:#051844;
}
#overlay .right .nav_menu_more a {
    background: #e7b4b4;
    color: white;
}
#overlay a, #overlay p,#overlay h2{
    color: #051844;
}
#overlay .left, #overlay .right {
    border-color: #e7b4b4;
}
.overlay {
    background: #fff9e9 !important;
}
.button_container span {
    background: #051844; 
}
.button_container span:nth-of-type(1){
    color: #051844;
}
p.main_txt {
    text-align: center;
    font-size: calc(30px + 1vw);
    color: #051844;
    margin-top: 20px;
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
.cms_title p.pop400.txt_color1.line-l {
    color: #584438;
    font-family: "play";
}
.bg_color3 {
    background-color: #e7b4b4;
}

.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-c .box_txt1::before,.cms_5-c .box_txt1::before {
    font-family: "play";
    color: #e7b4b4;
}
#cms_5-c .box_title1::before,.cms_5-c .box_title1::before{
    font-family: "play";
}
.border_color3 {
    border-color: #e7b4b4;
}
.cate_list li a:hover:before{
    color:white;
}
.cate_list li a:hover {
    background-color: #e7b4b4 !important;
    color: white;
}
#page_title .page_title_box{
    background:none;
}
#page_title .page_title_box h2 {
    color: #051844;
    font-size: 2.5em;
}
#page_title .page_title_box p {
    color: #462325;
    font-family: "play";
    font-size: 1.5em;
}
#page_title:before{
    background-color: rgb(255 255 255 / 50%);
}
p#copyright, p#copyright a {
    color: #051844;
}
.border_color2 {
    border-color: #051844;
}
#pc_nav li a::after, #top_pc_nav li a::after, #footer_nav li a::after{
    background: #e7b4b4;
}
a.linkStyle {
    color: #d89a9a;
}
.pager li a:hover {
    background: #e7b4b4 !important;
}
#contents3 p.con_txt a {
    width: 100%;
    display: block;
    background: #051844;
    text-align: center;
    margin-top: 10px;
    color: white;
    padding: 5px;
    box-sizing: border-box;
    transition: all 0.3s;
}
#contents3 p.con_txt a:hover{
    opacity:0.6;
}
#contents3 p.con_txt {
    background: #f1f1f1;
    padding: 20px;
    max-width: 820px;
    margin: auto;
    box-sizing: border-box;
}
#contents3 ul li:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(Dup/img/check.png) no-repeat;
    background-size: contain;
    left: -5px;
    top: 4px;
}
#contents3 ul {
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    max-width: 800px;
    margin: auto;
    margin-bottom: 30px;
}
#contents3 ul li {
    width: 50%;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
    box-sizing: border-box;
}


#intro .num {
    top: -105px;
    font-size: 90px;
    letter-spacing: 0px;
        letter-spacing: -5px;
}
#contents3 .num {
    top: -105px;
    left: 50%;
    font-size: 90px;
    letter-spacing: -5px;
}
.num {
    color: #271003 !important;
}
#contents1 .num {
    font-size: 90px;
    letter-spacing: -5px;
    left: 43%;
}
#contents2 .num {
    left: 56%;
    font-size: 90px;
    letter-spacing: -5px;
}
@font-face {
font-family: "play";
  src: url("Dup/css/play.ttf") format("ttf"),url("Dup/css/play.woff") format("woff"),url("Dup/css/play.woff2") format("woff2");
}


.num{
   font-family: "play"; 
}
p.square_box{
    height:300px !important;
}
#logo {
    max-width: 100px; 
}
#top_cms.back1:before {
    height: 100%;
    z-index: -1;
}
.num {
    opacity: 0.7;
}
.hannari {
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
header.scr_header {
    background-color: #e8e3d3 !important;
}
.bg_color1{
    background:#FFF9E9;
}
header.scr_header #logo {
    max-width: 70px;
}
.back1:before, .back2:before {
    background-color: #f6f3ea !important;
}
.line:before {
    background-color: #e7b4b4 !important;
    height: 2px;
}
.txt_color1 {
    color: #051844;
}
h3.hannari {
    color: #051844;
}
#contents3_wrap:after {
    background-color: #ffffff42 !important;
}
#pc_nav li a, #footer_nav li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #051844;
    
}
#top_pc_nav li a {
    font-size: 16px;
    color: #333333;
 }
#pc_nav li, #top_pc_nav li, #footer_nav li {
    max-width: 170px;
}
#main_img:before {
    background-color: rgb(255 255 255 / 25%);
}
.txt_color3 {
    color: #051844;
}
.border_color1 {
    border-color: #051844;
}
.bg_color2 {
    background-color: #fff9e9;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{
        background-color: #747474;
}
.BA_type2 .box_img2_wrap::before {
    content: "After";
    background-color: #e3a1a1;
}

/*---------------------------------タブレット---------------------------------------*/
@media screen and (max-width:768px){
    #video {
    height: 300px; 
    }
    p.square_box{
        display:none;
    }
    #intro .num {
    top: -70px;
    font-size: 60px; 
    }
    #contents1 .num {
    font-size: 50px;
    letter-spacing: -5px;
    left: 42%;
}
#contents2 .num {
    left: 42%;
    font-size: 50px;
    letter-spacing: -5px;
}
#contents3 .num {
    top: -60px;
    font-size: 50px; 
}
.cms_2-a .cate_box,#cms_2-a .cate_box{
    flex-direction: column;
}
.cms_2-a .cate_box .box_item,#cms_2-a .cate_box .box_item{
    width: 100% !important;
}
.BA_type2 .cate_box:first-of-type{
    margin-bottom: 50px;
}
#page_left, #page_right {
    height: 350px;
}
}

/*---------------------------------スマホ---------------------------------------*/
@media screen and (max-width:667px){ 
    
    p.main_txt span {
    display: inline;
}
p.main_txt {
    text-align: center;
    font-size: calc(36px + 1vw);
    line-height: 1.2em;
}
#logo {
    max-width: 60px;
}
#intro .num {
    top: -60px;
    font-size: 50px;
}
#fakeloader .fl{
    max-width:150px;
}
#contents1 .num,#contents2 .num{
        left: 50%;
            top: -60px;
}
#contents3 ul li {
    width: 100%;
    }
    #page_title .page_title_box h2 {
    color: #051844;
    font-size: 1.5em;
}
#page_title .page_title_box p{
    font-size: 1.2em;
}
#page_left, #page_right {
    height: 250px;
}
#page_title .page_title_box {
    background: none;
    width: 100%;
}
 #video {
    height: 180px; 
    }
}