﻿
#page_title .page_box::before{
    background-color: #ffaf00;
}
section#page10 li.grid_4.grid_12_sp.pd_10px a {
    border-radius: 50px;
}
.txt_color_nomal {
    color: #170000;
}
a.linkStyle {
    color: #51b8e5;
}
a.linkStyle:hover{
    opacity:0.6;
}
.border_color3 {
    border-color: #ffe355;
}
.top_cms_wrap {
    padding-bottom: 80px;
}
.flex_box.all {
    background: #fffef5;
}
.all article section.width_1000-max{
        box-shadow: 0px 0px 10px #00000014;
}
ul.cate_list li a {
    border-radius: 50px;
    background: #51b8e5;
    color: white;
    border: 0;
    padding: 10px;
}
.all article section {
    border-radius: 20px;
}
footer .d_flex.flex_space-between.flex_top.bg_white.pd_20px {
    background: none;
}
.footer_back {
    background: #fffade;
    border-top: 1px solid #ffaf00;
}
.footer_back .f_before{
    display:none;
}
.bg_color1 {
    background-color: #ffb719;
}
#top_cms .box {
    border-radius: 20px;
}
.cms_title::before{
    color: #ffaf00;
}
.more a, footer .foot_tel_bt a {
    z-index: 1;
    color: #170000;
}
section#main_img:before {
    width: 100%;
    height: 100%;
    background: #ff7f00;
    position: absolute;
    content: "";
    z-index: 2;
    left: 0;
    opacity: 0.3;
    mix-blend-mode: multiply;
}
#main_img img {
    width: 40vw;
}
#main_b{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
        z-index: 2;
    
}
.top_cms_wrap .top_cms_before{
    display:none;
}
#loading img{
    max-width:180px;
}
.bg_color4 {
    background-color: #fffade;
}
div#loading_bg {
    background: #ffc954;
}
h1#logo img{
    width:70% !important;
}
.ul_wrap ul li:before {
    width: 20px;
    height: 20px;
    content: "";
    position: absolute;
    background: url(Dup/img/check.png) no-repeat;
    left: -30px;
    top: 3px;
    background-size: contain;
}
#attach {
    background: #fffade !important;
   padding: 100px 10%;
    box-sizing: border-box;
}
.blur{
    background:none;
}
#contents1 .left a {
   /*
    display: block;
    background: #51b8e5;
    color: white;
    padding: 7px;
    box-sizing: border-box;
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    width: 70%;
    border-radius: 50px;
    transition: all 0.3s;*/
    margin-left:0;
}
#contents1 p, #contents2 p, #contents3 p {
    font-size: 16px;
    line-height: 1.5em;
    font-family: 'Kosugi Maru';
    color: #170000;
    font-weight: normal;
}
body{
     font-family: 'Kosugi Maru';
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #ffd100 !important;
}
.hvr_border_color1:hover{
    color:white;
}
.bg_color2 {
    background-color: #fffce4;
}
div#contents1 {
    display: flex;
}
h2,h3,h4{
font-family: 'Kosugi Maru', sans-serif;
}
#contents1 h2 {
    font-size: 40px;
    color: #503600;
}
#contents1 .left{
    padding: 5%;
}
#contents1 .right{
    padding: 5%;
}
#contents1 .right figure {
    transform: rotate(3deg);
    position: relative;
}
#contents1 .right figure:before {
    width: 170px;
    height: 270px;
    content: "";
    position: absolute;
    background: url(Dup/img/intro.png) no-repeat;
    right: 0;
    bottom: -90px;
    background-size: contain;
}
#contents2 h2, #contents3 h3,#contents4 h3 {
    border-bottom: 1px solid;
    color: #ff9700;
    text-align: center;
    font-size: 28px;
    margin-top: 0;
}
div#contents2, #contents3,#contents4 {
    background: white;
    border-radius: 20px;
    margin-bottom: 100px;
    max-width: 1080px;
   padding-left: 50px;
    padding-right: 50px;
}

#contents3 p {
    max-width: 800px;
    margin: auto;
    margin-top: 30px;
}
.ul_wrap {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-top: 20px;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
}
.ul_wrap ul li {
    margin: 10px 0;
    position:relative;
}
.ul_wrap ul {
    width: 45%;
    position: relative;
    left: 20px;
}
div#contents3 {
    padding-left: 100px;
    padding-right: 100px;
    position:relative;
}
div#contents3:before {
    width: 170px;
    height: 280px;
    content: "";
    position: absolute;
    background: url(Dup/img/con_img2.png) no-repeat;
    background-size: contain;
    left: -50px;
    bottom: -50px;
}
.con4_box_wrap.d_flex {
    margin-top: 30px;
}
.con4_box_wrap.d_flex .box figure {
    border-radius: 100%;
    border: 2px solid #86c564;
}
.con4_box_wrap.d_flex .box {
    padding: 10px;
}
.con4_box_wrap .box p {
    background: #86c564;
    display: block;
    text-align: center;
    color: white;
    padding: 5px;
    font-size: 16px;
    border-radius: 100px;
    width: 90%;
    margin: auto;
    margin-top: 20px;
}
#contents4{
    margin-bottom:0;
}
#contents4 p.txt_white {
    color: #170000;
    font-size: 16px;
    margin-top: 30px;
}


#attach:before {
    width: 210px;
    height: 160px;
    content: "";
    position: absolute;
    background: url(Dup/img/con_img3.png) no-repeat;
    bottom: -6px;
    z-index: 5;
    right: 8%;
    background-size: contain;
}

.button{
    background:#51b8e5;
    color:white !important;
    border-color:white;
    border-radius: 50px;
    font-size:16px;
}

.box_wrap figure {
    border-radius: 10px;
}

@media screen and (max-width:1500px){
    #contents1 h2 {
    font-size: 32px;
    }
}


/*-------------------------------タブレット------------------------------------------*/
@media screen and (max-width:768px){
    #contents1 .right figure:before {
    width: 170px;
    height: 270px;
    content: "";
    position: absolute;
    background: url(Dup/img/intro.png) no-repeat;
    right: -40px;
    bottom: -90px;
    background-size: contain;
}
    h1#logo img {
    width: 100% !important;
}
#main_img img {
    width: 60vw;
}
#contents2 h2, #contents3 h3, #contents4 h3{
    font-size: 22px;
}
div#contents3 {
    padding-left: 80px;
    padding-right: 80px;
}
#contents1 .right figure:before {
    width: 150px;
    height: 250px;
}
#contents1 .left {
    padding: 5%;
    width: 100% !important;
}
#contents1 .right{
    margin:auto;
}
.con4_box_wrap.d_flex .box {
    padding: 10px;
    width: 50% !important;
}
#contents4 .grid_12.pd_l-20px.grid_12_sp.pd_clear_sp.mg_t-50px_sp {
    padding-left: 0;
}
ul.cate_list li {
    width: 50% !important;
}
}

/*---------------------------------スマホ-------------------------------------------------*/
@media screen and (max-width:667px){
    #contents2 h2, #contents3 h3, #contents4 h3 {
    font-size: 18px;
}
ul.cate_list li {
    width: 100% !important;
}
    div#contents1 {
    display: flex;
    flex-direction: column;
}
#contents1 h2 {
    font-size: 22px;
}
#contents1 .right {
    margin: auto;
    width: 100% !important;
}
#contents1 .right figure{
    width:100%;
}
#contents1 .right figure:before {
    width: 130px;
    height: 230px;
}
#attach {
    background: #fffade !important;
    padding: 50px 5%;
    box-sizing: border-box;
    padding-bottom: 100px;
}
div#contents2, #contents3, #contents4{
        padding-left: 30px;
    padding-right: 30px;
}
.ul_wrap{
        flex-direction: column;
}
.ul_wrap ul {
    width: 100%;
    position: relative;
    left: 20px;
    font-size: 16px;
}
div#contents3 {
    padding-left: 50px;
    padding-right: 50px;
}
div#contents3:before {
    width: 110px;
    height: 210px;
    content: "";
    position: absolute;
    background: url(Dup/img/con_img2.png) no-repeat;
    background-size: contain;
    left: -30px;
    bottom: -40px;
}
#contents3 p{
    width:90%;
}
.con4_box_wrap.d_flex {
    flex-direction: column;
}
.con4_box_wrap.d_flex .box {
    padding: 10px;
    width: 90% !important;
}
#attach:before {
    width: 190px;
    height: 140px;
}
#main_img img {
    width: 70vw;
}
#loading img {
    max-width: 140px;
}
#page_title h2 {
    font-size: 18px;
    white-space: nowrap;
}
.all article section {
    padding: 10px;
}
}