@charset "UTF-8";

@media only screen and (max-width: 1199px) {
    .container {
        width: 92%;
    }
    .company_img1 {
        min-width: 400px;
    }
}

@media only screen and (max-width: 768px) {
    .sp_none {display: none !important;}
    .pc_none {display: block !important;}

    #main {
        position: relative;
        padding-top: 0;
        width: 100%;
        height: 60vh;
        overflow: hidden;
        z-index: -1;
    }
    .top_main {
        position: relative;
        background: url("../images/mainbg.png") left 0  bottom 10px no-repeat;
        background-size: contain;
        padding: 30px 0 0;
        width: 100%;
        height: 60vh;
        z-index: +1;
    }
    .top_main h1 {
        margin: 0 auto 40px;
        padding-top: 60px;
        width: 96%;
    }
    .top_main h1 img {
        width: 100%;
    }
    .top_main h2 {
        font-size: 1.8em;
        line-height: 1.2;
        letter-spacing: 0;
        margin: 0 3%;
        width: 94%;
    }
    #top_cont1 {
        padding: 40px 0 60px;
    }
    .top_message dl {
        display: block;
        margin: 0 auto;
        width: 92%;
    }
    .top_message dt {
        text-align: center;
        margin: 0 auto;
        width: 70%;
    }
    .top_message dt img {
        margin-bottom: 10px;
        width: 100%;
    }
    .top_message dd {
        padding: 0;
        width: 100%;
    }
    .top_message dd h3 {
        font-size: 1.7em;
    }
    .top_message dd p{
        font-size: 1.15em;
        line-height: 1.8;
        margin-top: 25px;
    }
    #top_cont2 {
        margin: 0 auto;
        padding: 0 0 60px;
        width: 100%;
    }
    .top_service h2 {
        margin: 0 auto 10px;
        width: 80%;
    }
    .top_service h2 img,
    #top_cont3 h3 img {
        width: 100%;
    }
    .top_service h3,
    #top_cont3 h4 {
        font-size: 0.95em;
        margin-bottom: 15px;
    }
    .top_service ul {
        display: block;
        margin: 0 auto;
        padding: 0;
        width: 284px;
    }
    .top_service li {
        margin-bottom: 15px;
        width: 100%;
    }
    .top_service li a {
        width: 100%;
        display: block;
    }
    .top_service li img {
        margin-bottom: 10px;
        width: 100%;
    }
    #top_cont3 {
        padding: 80px 0 100px;
        width: 100%;
    }
    #top_cont3 h3 {
        margin: 0 auto 10px;
        width: 70%;
    }
    .top_news {
        margin: 0 auto;
        width: 92%;
    }
    .top_news dl {
        padding: 5px 0 15px;
        display: block;
    }
    .top_news dt {
        padding: 4px 5px;
    }
    .top_news dt span {
        width: 80px;
    }
    .top_news dd {
        padding: 4px 5px;
    }
    .top_news dd h3 {
        font-size: 1.1em;
    }
    .top_news dd p {
        font-size: 1em; 
    }
    a.news_bot {
        font-size: 1.0em;
    }

    /* Contents */
    /* ----------------------------------------- */

    #cont_main {
	position: relative;
	width: 100%;
    height: auto;
    min-height: 450px;
	overflow: hidden;
	z-index: -1;
    }
    #cont_main dl {
        display: block;
        width: 100%;
    }
    #cont_main dt {
        margin: 0 auto;
        width: 80%;
    }
    .cont_main1 dt h1,
    .cont_main2 dt h1,
    .cont_main3 dt h1,
    .cont_main4 dt h1,
    .cont_main5 dt h1,
    .cont_main6 dt h1 {
        margin: 0 auto;
        width: 100%;
    }
    .cont_main1 dt h2,
    .cont_main2 dt h2,
    .cont_main3 dt h2,
    .cont_main4 dt h2,
    .cont_main5 dt h2,
    .cont_main6 dt h2 {
        font-size: 1.25em;
        line-height: 1.3;
    }
    #cont_main dd {
        position: relative;
        background: #e2f6d8;
        text-align: center;
        margin: 50px 0;
        border-radius: 0;
        width: 100%;
        height: 170px;
    }
    .cont_main1 dd img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: -20px auto;
        width: 85%;
    }
    .cont_main2 dd img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: -35px auto;
        width: 85%;
    }
    .cont_main3 dd img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: -35px auto;
        width: 75%;
    }
    .cont_main4 dd img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: -25px auto;
        width: 90%;
    }
    .cont_main5 dd img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: -45px auto;
        width: 82%;
    }
    .cont_main6 dd img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: -45px auto;
        width: 75%;
    }
    h2.cont_title,
    h2.cont_title2 {
        font-size: 1.8em;
        letter-spacing: 0;
        margin: 0 auto 20px;
        width: 92%;
    }
    h3.cont_midashi {
        font-size: 1.2em;
        margin: 0 auto 25px;
        width: 92%;
    }
    h3.cont_title2 {
        font-size: 1.2em;
        letter-spacing: 0;
        margin: 0 auto 20px;
        width: 92%;
    }
    #contact_cont {
        display: none;
    }
    #cont_other {
        height: 180px;
    }
    #cont_other h1 {
        font-size: 1.75em;
        letter-spacing: 0;
        text-shadow:
        3px 3px 0 #f6f4dd,
        -3px 3px 0 #f6f4dd,
        -3px -3px 0 #f6f4dd,
        3px -3px 0 #f6f4dd;
        -webkit-text-stroke: 3px #f6f4dd;
        text-stroke: 3px #f6f4dd;
        paint-order: stroke;
        text-align: center;
        margin: 60px auto 15px;
    }
    #cont_other h2 {
        font-size: 0.9em;
        letter-spacing: 0;
    }

    /* About */
    /* ----------------------------------------- */
    #about_cont1 {
        padding: 40px 0 50px;
    }
    .about_block1 {
        margin: 0 auto 20px;
        width: 92%;
    }
    .about_img1 {
        margin: 0 auto 10px;
        width: 80%;
    }
    .about_block1 p {
        font-size: 1.0em;
    }
    #about_cont2 {
        margin-bottom: 30px;
        padding: 0 0 40px;
    }
    .about_block2 {
        margin: 0 auto 20px;
        width: 92%;
    }
    .about_block2 ul {
        display: block;
        margin-top: 25px;
        width: 100%;
    }
    .about_block2 li {
        text-align: center;
        width: 100%;
    }
    .about_block2 li img {
        margin: 0 auto;
        width: 60%;
    }
    .about_block2 li.and {
        text-align: center;
        margin: 15px 0;
        width: 100%;
    }
    .about_block2 li.and img {
        width: 55px;
    }
    .about_block2 li h3 {
        font-size: 1.15em;
        letter-spacing: 0;
        margin: 8px 0;
    }
    .about_block2 li p {
        font-size: 1.0em;
        text-align: center;
    }
    #about_cont3 {
        padding: 30px 0 40px;
    }
    .about_block3 {
        text-align: center;
        margin: 25px auto 0;
        width: 92%;
    }
    .about_block3 ul {
        display: block;
        padding: 0;
    }
    .about_block3 li {
        margin: 0 auto;
        width: 100%;
    }
    .about_block3 li img {
        margin: 0 auto 5px;
        width: 70%;
    }
    .about_block3 li p {
        font-size: 1.0em;
        margin-bottom: 15px;
    }
    #about_cont4 {
        padding: 10px 0 40px;
    }
    .about_block4 {
        margin: 35px auto 0;
        width: 92%;
    }
    .about_block4 table {
        width: 100%;
    }
    .about_block4 table th {
        background: #eaa31a;
        font-size: 1.0em;
        font-weight: 500;
        color: #fff;
        letter-spacing: 0;
        text-align: center;
        padding: 12px 3px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        width: 25%;
    }
    .about_block4 table td {
        font-size: 1.1em;
        padding: 12px 3px;
        border-bottom: 2px solid #fff;
        width: 75%;
    }
    .about_block4 table td a {
        font-size: 1.2em;
        text-decoration: none;
        letter-spacing: 0;
        color: #333;
    }
    .about_block4 table .tr1st th {
        border-radius: 9px 0 0 0;
    }
    .about_block4 table .tr1st td {
        border-radius: 0 9px  0 0;
    }
    .about_block4 table .trlast th {
        border-radius: 0 0 0 9px;
    }
    .about_block4 table .trlast td {
        border-radius: 0 0 9px 0;
    }

    /* SERVICE */
    /* ----------------------------------------- */
    #service_cont1 {
        padding: 40px 0 50px;
    }
    .service_block1 {
        margin: 25px auto 0;
        width: 92%;
    }
    .service_block1 table {
        width: 100%;
    }
    .service_block1 table th {
        background: #eaa31a;
        font-size: 1.0em;
        font-weight: 500;
        color: #fff;
        letter-spacing: 0;
        text-align: center;
        padding: 12px 3px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        width: 30%;
    }
    .service_block1 table td {
        font-size: 1.0em;
        padding: 12px 3px;
        border-bottom: 2px solid #fff;
        width: 70%;
    }
    .service_block1 table .tr1st th {
        border-radius: 9px 0 0 0;
    }
    .service_block1 table .tr1st td {
        border-radius: 0 9px  0 0;
    }
    .service_block1 table .trlast th {
        border-radius: 0 0 0 9px;
    }
    .service_block1 table .trlast td {
        border-radius: 0 0 9px 0;
    }
    #service_cont2 {
        padding: 30px 0 70px;
    }
    .service_block2 {
        margin: 25px auto 0;
        width: 92%;
    }
    .service_block2 p {
        font-size: 0.85em;
        margin-top: 25px;
    }

    /* Merit */
    /* ----------------------------------------- */
    #merit_cont1 {
        padding: 40px 0 50px;
    }
    .merit_block1,
    .merit_block2 {
        display: block;
        margin: 15px auto 25px;
        width: 92%;
    }
    .merit_block1 .merit_img,
    .merit_block2 .merit_img {
        text-align: center;
        margin: 0 auto 15px;
        width: 70%;
    }
    .merit_block1 .merit_img img,
    .merit_block2 .merit_img img {
        width: 100%;
    }
    .merit_block1 dl,
    .merit_block2 dl {
        margin-bottom: 20px;
        padding-bottom: 12px;
        width: 100%;
    }
    .merit_block1 dl:last-child,
    .merit_block2 dl:last-child {
        margin-bottom: 12px;
    }
    .merit_block1 dt,
    .merit_block2 dt {
        font-size: 1.2em;
        font-weight: 500;
        line-height: 25px;
        text-align: center;
        color: #fff;
        margin-right: 10px;
        padding: 0 6px;
        width: 25px !important;
        height: 25px;
    }
    .merit_block1 dd,
    .merit_block2 dd {
        font-size: 1.1em;
        font-weight: 500;
        padding-top: 3px;
    }
    
    /* Flow */
    /* ----------------------------------------- */

    #flow_cont1 {
        padding: 40px 0 50px;
    }
    .flow_block1 {
        margin: 25px auto 35px;
        width: 92%;
    }
    .flow_box dl {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 200px;
    }
    .flow_box dt {
        position: relative;
        background: #eaa31a;
        font-size: 1.4em;
        line-height: 1.0;
        font-weight: 500;
        letter-spacing: 0.1em;
        color: #fff;
        text-align: center;
        padding: 90px 0 0 20px;
        border-radius: 9px 0 0 9px;
        width: 30%;
        height: 200px;
    }
    .flow_box dt::after {
        position: absolute;
        content: '';
        top: 0;
        right: -50px;
        width: 0;
        height: 0;
        border-style: solid;
        border-top: 100px solid transparent;
        border-bottom: 100px solid transparent;
        border-left: 50px solid #eaa31a;
        border-right: 0;
    }
    .flow_arrow {
        background: url("../images/flow_arrow.png") center center no-repeat;
        margin: 12px 0;
        width: 100%;
        height: 43px;
    }
    .flow_box dd {
        padding: 0 30px 0 60px;
        flex: 1;
    }
    .flow_box  dd ul {
        display: block;
    }
    .flow_box dd li.flowtxt {
        font-size: 1.2em;
        line-height: 1.3;
        padding: 8px 0 15px;
    }
    .flow_box dd li.flowimg {
        margin: 15px auto 0;
        width: 50%;
    }
    .flow_box dd li.flowimg img {
        width: 100%;
    }

    /* FAQ */
    /* ----------------------------------------- */

    #faq_cont1 {
        padding: 40px 0 50px;
    }
    .faq_block1 {
        margin: 0 auto;
        width: 92%;
    }
    .faq_box {
        margin-bottom: 25px;
        padding: 10px;
    }
    .faq_box li.faq_q {
        padding: 8px;
    }
    .faq_box li.faq_q dl {
	align-items: center
}
    .faq_box li.faq_q dt {
        text-align: center;
        width: 60px;
    }
    .faq_box li.faq_q dd {
        font-size: 1.2em;
        line-height: 1.3;
        color: #fff;
        padding: 0 15px;
        flex: 1;
    }
    .faq_box li.faq_a {
        padding: 12px 8px 8px 8px;
    }
    .faq_box li.faq_a dt {
        text-align: center;
        width: 60px;
    }
    .faq_box li.faq_a dd {
        font-size: 1.1em;
        line-height: 1.4;
        padding: 0 15px;
        flex: 1;
    }

    /* Contact */
    /* ----------------------------------------- */

    #contact_cont1 {
        padding: 40px 0 50px;
    }
    .contact_block1 {
        width: 92%;
    }
    p.cont_txt {
        font-size: 1.0em;
        margin: 0 auto 25px;
        width: 92%;
    }
    .contact_block1 th {
        font-size: 1.0em;
        letter-spacing: 0;
        padding: 12px 10px;
        width: 40%;
    }
    .contact_block1 td {
        font-size: 1.0em;
        padding: 12px 10px;
        width: 60%;
    }
    .contact_block1 td textarea {
        font-size: 1.0em;
    }
    .contact_block1 label.chkbox {
        font-size: 0.9em;
        margin: 10px auto 20px;
    }
    .contact_block1 input[type='checkbox'] {
        vertical-align: -4px;
    }
    .contact_block1 input[type='submit'],
    .contact_block1 a.go_back  {
        background: #fff url("../images/contact_arrow.png") left 20px center no-repeat;
        font-size: 1.15em;
        letter-spacing: 0;
        padding: 15px 10px;
        width: 90%;
        height: auto
    }

    /* Other */
    /* ----------------------------------------- */
    #other_cont1 {
        padding: 40px 0 50px;
    }
    .other_block1 {
        margin: 0 auto;
        width: 92%;
    }
    .other_block1 p {
        margin-bottom: 30px;
    }
    .other_block1 h3 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
}

