@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Roboto:wght@400;700&display=swap');

/* For modern browsers */

.cf:before,
.cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */

.cf {
    zoom: 1;
}



/* tags
---------------------------------------------------- */

body {
    margin: 0px;
    padding: 0px;
    color: #000;
    -webkit-text-size-adjust: 100%;
    font-family: 'Roboto', sans-serif;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;

}

a {
    color: #000;
    text-decoration: none;
    transition: all .4s;
}

a:hover {
    color: #000;
    text-decoration: none;
    transition: all .4s;
    opacity: 0.6;
}

img {
    border: none;
    margin: 0px;
    padding: 0px;
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dt,
dd,
div,
img {
    margin: 0px;
    padding: 0px;
    list-style: none;
    font-weight: normal;
}

article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
    margin: 0px;
    padding: 0px;
}


/* common
---------------------------------------------------- */

.inner1 {
    max-width: 1280px;
    margin: 0px auto;
}

.inner2 {
    max-width: 960px;
    margin: 0px auto;
}

.st1 {
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 60px;
    position: relative;
    letter-spacing: 1px;
}

.st1::after {
    content: '';
    width: 60px;
    border-bottom: 4px solid #44ade9;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -20px;
}

@media screen and (max-width: 768px) {
    .st1 {
        font-size: 18px;
        margin: 0 0 40px;
    }

    .st1::after {
        width: 50px;
        bottom: -18px;
        border-width: 3px;
    }
}

/* header
---------------------------------------------------- */
#header {
    padding: 18px 0 21px;
}

#header h1,
#header .logo {
    float: left;
}

#header .tel,
#header .header_btn {
    float: right;
    padding-top: 9px;
}

#header .header_btn a {
    display: block;
    background-color: #d94444;
    border-radius: 50px;
    color: #fff;
    text-align: center;
    width: 305px;
    height: 59px;
    line-height: 57px;
    font-weight: 500;
    font-size: 17px;
    margin-left: 24px;
}

#header .header_btn a img {
    display: inline-block;
    vertical-align: middle;
    margin: -5px 10px 0 0;
}

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

    #header h1,
    #header .logo {
        width: 260px;
    }

    #header .tel,
    #header .header_btn {
        padding-top: 6px;
    }

    #header .tel {
        width: 200px;
    }

    #header .header_btn a {
        width: 260px;
        height: 47px;
        line-height: 45px;
        font-size: 15px;
        margin-left: 10px;
    }

    #header .header_btn a img {
        margin: -4px 7px 0 0;
    }
}

@media screen and (max-width: 768px) {
    #header {
        padding: 13px 20px 15px;
    }

    #header h1,
    #header .logo {
        width: 200px;
    }

    #header .tel,
    #header .header_btn {
        display: none;
    }

}

/* gnavi
---------------------------------------------------- */
#gnavi {
    border-top: 1px solid #222;
}

#gnavi .inner1 {
    position: relative;
}

#gnavi li.li1 {
    display: block;
    float: left;
    width: 16.66%;
    text-align: center;
}

#gnavi li.li1>a {
    display: block;
    height: 69px;
    line-height: 69px;
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

#gnavi li.current > a::after {
    border-top: 4px solid #44ade9;
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    top: -2px;
}

#gnavi li.li1>a::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0;
    height: 40px;
    width: 1px;
    box-sizing: border-box;
    border-left: 1px solid #222;
}

#gnavi li.li1:last-child a span::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 0;
    height: 40px;
    width: 1px;
    box-sizing: border-box;
    border-left: 1px solid #222;
}

.child {
    visibility: hidden;
    opacity: 0;
    width: 60%;
    position: absolute;
    top: 69px;
    left: 0px;
    background-color: #fff;
    box-shadow: 1px 2px 15px rgba(0, 0, 0, 0.2);
    transition: all .4s;
    z-index: 100;
}

#gnavi li.li1:hover .child {
    visibility: visible;
    opacity: 1;
    transition: all .4s;
}

.child li {
    display: block;
    float: left;
    width: 33.33%;
    text-align: left;
}

.child li a {
    display: block;
    padding: 18px 30px;
    font-size: 15px;
    line-height: 1.2;
    border-bottom: 1px dotted #ccc;
    border-right: 1px dotted #ccc;
    font-weight: 500;
    position: relative;
}

.child li:nth-child(3n) a {
    border-right: none;
}

.child li:last-child a {
    border-bottom: none;
}

.child li a::after {
    position: absolute;
    top: 50%;
    right: 10px;
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-top: 2px solid #44ade9;
    border-right: 2px solid #44ade9;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
    #gnavi {
        display: none;
    }
}

#pagetitle {
    background-color: #44ade9;
    padding: 48px 0;
}

#pagetitle h1 {
    color: #fff;
    text-align: center;
    font-size: 33px;
    font-weight: 500;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    #pagetitle {
        padding: 25px 0;
    }

    #pagetitle h1 {
        font-size: 20px;
    }
}

/* footer
---------------------------------------------------- */
#footer {
    padding: 55px 0;
    text-align: center;
}

#footer li {
    display: inline;
    font-size: 14px;
    line-height: 1.4;
}

#footer li+li::before {
    content: '｜';
}

#footer p {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 25px;
}

#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
}

@media screen and (max-width: 768px) {
    #footer {
        padding: 20px 0;
    }

    #footer ul {
        display: none;
    }

    #footer p {
        font-size: 11px;
        margin-top: 0;
    }

    #pagetop {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}


/* new drawer
---------------------------------------------------- */
#drawer_container {
    display: none;
}

@media screen and (max-width: 768px) {
    #drawer_container {
        display: block;
    }

    .drawer {
        position: fixed;
        right: 20px;
        top: 25px;
        width: 30px;
        z-index: 300;
        cursor: pointer;
    }

    .navbar_toggle_icon {
        position: relative;
        display: block;
        height: 2px;
        width: 30px;
        background: #333;
        transition: ease .5s;
    }

    .navbar_toggle_icon:nth-child(1) {
        top: 0;
    }

    .navbar_toggle_icon:nth-child(2) {
        margin: 8px 0;
    }

    .navbar_toggle_icon:nth-child(3) {
        top: 0;
    }

    .navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
        top: 10px;
        transform: rotate(45deg);
    }

    .navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
        opacity: 0;
    }

    .navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
        top: -10px;
        transform: rotate(-45deg);
    }

    .menu {
        transition: ease .5s;
        z-index: 200;
        background-color: #fff;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0px;
        left: 0px;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
    }

    .menu.open {
        opacity: 1;
        visibility: visible;
    }

    .menu .drawer_menu_tit {
        width: 200px;
        margin: 0 auto;
        text-align: center;
        padding-top: 60px;
    }

    .menu .drawer_menu_tit img {
        width: 100%;
        height: auto;
    }

    .menu ul.menu_ul {
        width: 80%;
        max-width: 600px;
        margin: 30px auto 0;
        border-bottom: 1px dotted #555;
    }

    .menu .menu_item {
        display: block;
        border-top: 1px dotted #555;
    }

    .menu .menu_item>a {
        display: block;
        font-weight: 500;
        font-size: 15px;
        line-height: 1;
        padding: 20px 5px;
        position: relative;
    }

    .menu .menu_item>a::after {
        position: absolute;
        top: 50%;
        right: 10px;
        display: block;
        content: '';
        width: 10px;
        height: 10px;
        margin-top: -5px;
        border-top: 2px solid #44ade9;
        border-right: 2px solid #44ade9;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

/* contactbox
---------------------------------------------------- */
.contactbox {
    background-color: #fff;
    margin-top: 50px;
    position: relative;
    height: 141px;
}

.contactbox .img1 {
    position: absolute;
    left: 4.84%;
    bottom: 0px;
    width: 15.07%;
    height: auto;
}

.contactbox p {
    width: 31.17%;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 22.26%;
}

.contactbox_btn {
    position: absolute;
    top: 33px;
    right: 5.07%;
    max-width: 477px;
    width: 37.26%;
}

.contactbox_btn a {
    display: block;
    height: 75px;
    background-color: #d94444;
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    font-size: 21px;
    line-height: 72px;
}

.contactbox_btn a img {
    vertical-align: middle;
    display: inline-block;
    margin: -3px 12px 0 0;
}

@media screen and (max-width: 1280px) {
    .contactbox_btn {
        right: 3%;
        width: 40%;
    }

    .contactbox_btn a {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .contactbox {
        margin-top: 10px;
        height: auto;
        padding: 30px 20px;
    }

    .contactbox .img1 {
        display: none;
    }

    .contactbox p {
        width: auto;
        position: static;
        top: auto;
        transform: translate(0, 0);
        left: auto;
        text-align: center;
    }

    .contactbox p img {
        max-width: 250px;
        width: 100%;
        height: auto;
    }

    .contactbox_btn {
        position: static;
        top: auto;
        right: auto;
        width: auto;
        max-width: 350px;
        margin: 20px auto 0;
    }

    .contactbox_btn a {
        height: auto;
        font-size: 15px;
        line-height: 1;
        padding: 18px 20px 20px;
    }

    .contactbox_btn a img {
        margin: -2px 8px 0 0;
        width: 20px;
        height: auto;
    }

    .contactbox_btn a span {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .contactbox {
        padding: 20px 15px;
    }
}



/* flow
---------------------------------------------------- */
#flow {
    background-color: #44ade9;
    padding: 60px 0;
}

#flow h2 {
    text-align: center;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 60px;
}

#faq+#flow h2 {
    font-size: 33px;
}

#flow h2 span {
    font-size: 51px;
    font-family: "Roboto";
    margin-right: 15px;
}

#flow li {
    width: 21.09%;
    float: left;
    box-sizing: border-box;
    display: block;
    min-height: 265px;
}

#flow li+li {
    border-left: 1px solid #fff;
}

#flow li:nth-child(1),
#flow li:nth-child(5) {
    width: 18.35%;
}

#flow li div {
    max-width: 210px;
    text-align: center;
    margin: 0 auto;
    color: #fff;
}

#flow li:nth-child(1) div {
    float: left;
}

#flow li:nth-child(5) div {
    float: right;
}

#flow h3 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 500;
}

#flow figure {
    margin: 30px 0;
}

#flow ol li p {
    text-align: left;
    font-size: 15px;
    line-height: 1.8;
}

@media screen and (max-width: 1280px) {
    #flow h3 {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    #flow {
        padding: 30px 20px;
    }

    #flow h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    #faq+#flow h2 {
        font-size: 20px;
    }

    #flow h2 span {
        font-size: 16px;
        display: block;
        margin: 0 0 10px;
    }

    #flow li,
    #flow li:nth-child(1),
    #flow li:nth-child(5) {
        width: auto;
        float: none;
        border-top: 1px dashed #fff;
        padding: 20px 0;
        min-height: initial;
        min-height: auto;
    }

    #flow li+li {
        border-left: none;
    }

    #flow li div {
        max-width: initial;
        max-width: auto;
        margin: 0;
    }

    #flow li:nth-child(1) div,
    #flow li:nth-child(5) div {
        float: none;
    }

    #flow figure {
        margin: 20px auto;
        max-width: 120px;
    }

    #flow ol li p {
        font-size: 14px;
    }

}