.banner {
    position: fixed;
    margin: 15px 20px;
    z-index: 99998;
    bottom: 10rem;
    right: 0;
}
.banner a {
    text-decoration: none;
}
.banner-back {
    width: fit-content;
    background-color: #fff;
    border-radius: 25px;
}
.banner-copy {
    font-size: 18px;
    position: relative;
}
.banner-copy::after {
    font-family: 'Font Awesome 6 Free';
    font-size: 20px;
    content: '\f054';
    color: #006EB0;
    position: absolute;
    margin-top: 11px;
    top: 0;
    right: 18px;
}
.banner-body {
    width: fit-content;
    background: #f8f8f8;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 1rem #00000030;
    padding: 5rem 1rem 2rem 2rem;
    border: solid 3px #f9c6ce;
}
.banner-body:hover {
    transition: opacity 0.3s ease;
    opacity: 0.7;
}
.banner-close {
    font-weight: bold;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 99999;
    padding: 2px 8px;
    border: none;
    background-color: #f8f8f8;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 0 7px rgb(0 0 0 / 40%);
}
.banner-body p b {
    color: #e8678c;
}
.banner-body:before {
    content: "";
    background: url(https://www.driving-school-fukuoka.com/wp/wp-content/uploads/lower_bnr_img_pc.png);
    width: 180px;
    height: 130px;
    display: block;
    background-size: 100%;
    position: absolute;
    top: -8rem;
    left: -3rem;
    background-repeat: no-repeat;
}
.banner-body span {
    background: #689ee0;
    display: block;
    width: fit-content;
    margin: 1rem auto 0;
    padding: 3px 2rem 6px;
    color: #fff;
}

.banner-body p {line-height: 1.4;}

.wr_two-box {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.imgarea.caption {
    text-align: center;
}

.imgarea.caption img {
    display: block;
    margin: 0 auto 0.5rem;
    border: solid 1px #eee;
    width: auto;
    max-width: 600px;
}



.wr_two-box .wr_box {
    border: 1px solid #bcbcbcf0;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 49%;
    padding: 17px;
    float: left;
    margin-right: 10px;
    background: #fffbfb;
}

.wr_two-box .wr_box.wr_left_box {
    float: left;
    margin-right: 10px;
}

.wr_two-box .wr_box.wr_right_box {
    float: right;
    margin-left: 10px;
}

.wr_two-box .wr_box .wr_box-head {
    font-size: 16px;
    font-weight: bold;
    color: #160c03;

    text-align: center;
    border-bottom: 1px solid #aeaeae;
    padding: 10px;
}

.wr_two-box .wr_box .wr_box-body {
    color: #333;
    text-align: left;
    padding: 10px;
}

.wr_two-box .wr_box .wr_box-body .in_link_btn {
    display: none;
}

.shiro {
    font-size: 1.6rem !important;
    color: #1e1e1e !important;
    font-weight: bold !important;
    background: linear-gradient(transparent 60%, #ffffff 60%) !important;
}
.category_links{
  font-size: 3rem;
  font-weight: bold;
  margin: 50px auto 30px;
  line-height: 1.2;
  padding: 24px 70px;
  background: #f5f5f5;
  position: relative;
}
.category_links::before {
  content: '';
  width: 78px;
  height: 74px;
  background: url('img/h3_circle.png') center no-repeat;
  background-size: 100% auto;
  position: absolute;
  top: -10px;
  left: -25px;
}
.category_links::after {
  content: '';
  width: 84px;
  height: 72px;
  background: url('img/h3_dotline.png') center no-repeat;
  background-size: 100% auto;
  position: absolute;
  right: -12px;
  bottom: -21px;
}
/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/

@media screen and (max-width: 599px) {

    /*/////////////SP用のCSSをここに作成してください。/////////////*/
    /*/////////////必ず中括弧の中に作成してください。/////////////*/
    .wr_two-box {
        display: block;
        flex-wrap: nowrap;
    }
.imgarea.caption img {
    max-width: 90%;
}
    .wr_two-box .wr_box {
        border: 1px solid #aeaeaef0;
        position: relative;
        width: auto;
        vertical-align: middle;
        padding: 10px;
        background: #fffbfb;
    }

    .wr_two-box .wr_box.wr_left_box,
    .wr_two-box .wr_box.wr_right_box {
        float: none;
        margin: 0 0 20px 0;
    }

    .wr_two-box .wr_box .wr_box-head {
        font-size: 16px;
        font-weight: bold;
        color: #000000;
        text-align: center;
        border-bottom: 1px solid #adacac;
        padding: 10px;
    }

    .wr_two-box .wr_box .wr_box-body {
        color: #333;
        text-align: left;
        padding: 10px;
    }

    .wr_two-box .wr_box .wr_box-body .in_link_btn {
        display: block;
        width: 95%;
        margin: 15px auto 0;
        background: #935B2B;
        color: #fff !important;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        border-radius: 10px;
        padding: 10px;
        text-decoration: none !important;
        position: relative;
    }

    .wr_two-box .wr_box .wr_box-body .in_link_btn:after {
        content: '';
        position: absolute;
        top: 15px;
        right: 20px;
        padding: 5px;
        border-bottom: 2px solid #fff;
        border-right: 2px solid #fff;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
    }
    .shiro {
        font-size: 1.6rem !important;
        color: #1e1e1e !important;
        font-weight: bold !important;
        background: linear-gradient(transparent 60%, #ffffff 60%) !important;
    }
.category_links{
    font-size: 1.8rem;
    margin: 5.5rem auto 2.5rem;
    line-height: 1.4;
    padding: 1.2rem 3rem;
    position: relative;
  }
.category_links::before {
    content: '';
    width: 50px;
    height: 50px;
    background: url('img/h3_circle.png') center no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: -10px;
    left: -15px;
  }
.category_links::after {
    content: '';
    width: 39px;
    height: 39px;
    background: url('img/h3_dotline.png') center no-repeat;
    background-size: 100% auto;
    position: absolute;
    right: 10px;
    bottom: -15px;
  }
 
.banner {width: 100%;margin: 0;bottom: 0;}
.banner-body {width: 100%;padding: 1rem 0 0.2rem 10rem;}
.banner-back {
    width: 100%;
}
.banner-close {
    right: 0;
    top: -2rem;
}
.banner-body:before {
    width: 30%;
    left: 0.5rem;
    top: 2rem;
}
.banner-body span {
    margin: 5px auto;
}	
footer {
    padding-bottom: 14rem;
}
#page-top {
    bottom: 15rem !important;
}	
	
	
}