@charset "utf-8";

/*==================================================================================================================
リセット
==================================================================================================================*/
/*リセット*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
div,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
hgroup,
menu,
nav,
output,
ruby,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    text-align: left;
    font-weight: normal;
    font-style: normal;
    background-repeat: no-repeat;
    border: 0 none;
}


/*==================================================================================================================
再定義
==================================================================================================================*/
/*基本リンク
------------------------------------------------------------------------------------------------------------------*/

/*
a:hover img, a:focus img {
	opacity:0.75;
	filter:alpha(opacity=75);
}
*/

/*リスト
------------------------------------------------------------------------------------------------------------------*/
ol,
ul,
li {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}

/* paddingやborderも widthに含める形式に統一
------------------------------------------------------------------------------------------------------------------*/
* {
    box-sizing: border-box;
}

/*==================================================================================================================
クリア
==================================================================================================================*/
.clear {
    clear: both;
    size: 0;
}

.clearfix {
    display: inherit;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    clear: both;
    height: 0;
    content: "";
    zoom: 1;
}

/* IE6 */
* html .clearfix {
    zoom: 1;
}

/* IE7 */
*:first-child+html .clearfix {
    zoom: 1;
}

/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* End hide from IE-mac */


/*==================================================================================================================
フォントに関する基本スタイル
==================================================================================================================*/
/*基本文字サイズ&文字色
------------------------------------------------------------------------------------------------------------------*/
body {
    font-size: 16px;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    line-height: 1.9;
    color: #333333;
    font-weight: 500;
}

/*段落*/
p {
    margin: 0px 0px 15px 0px;
    /*下部に余白*/
}

/*文字サイズ*/

.cap01 {
    font-size: 85%;
    display: block;
    line-height: 1.2;
}

@media (max-width:499px) {
    body {
        line-height: 1.7;
    }

    p,
    ul,
    dl {
        font-size: 1rem;
    }
}



/*基本リンク
------------------------------------------------------------------------------------------------------------------*/
/*リンク文字色*/
a {
    text-decoration: none;
}

a:link {
    color: #0099cc;
}

a:visited {
    color: #0099cc;
}

a:hover {
    color: #00a9f0;
}

a:hover {
    opacity: 0.8;
}

.link_under {
    text-decoration: underline;
}

/*マーカー＆強調文字色
------------------------------------------------------------------------------------------------------------------*/
/*ラインマーカー*/
.c_mrk {
    background-color: #e5d89b;
    /*Marker*/
    padding: 0 3px;
}

/*強調文字色*/
.c_ptv {
    color: #d64a5a;
}

/*positive*/
.c_pit {
    color: #900000;
}

/*point up*/
.c_ngt {
    color: #5488a2;
}

/*negative)*/
.c_off {
    color: #cac5ba;
}

/*off*/
.c_org {
    color: #de6625;
}

.c_grn {
    color: #00693e;
}

.c_pik {
    color: #d58b95;
}

.c_pik {
    color: #d58b95;
}

.c_bro {
    color: #6c5f56;
}

.att {
    color: #cc6666;
}

.text_under {
    text-decoration: underline;
}

.txt_bold {
    font-weight: bold;
}

.fs14 {
    font-size: 0.875rem;
}


/*右寄せ*/
.txt_right,
.txt_right p {
    text-align: right;
}

/*中央寄せ*/
.txt_center,
.txt_center p {
    text-align: center;
}

/*明朝*/
.f_mn {
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
}

/*ゴシック*/
.f_gothic {
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

/*丸ゴシック*/
.f_maru {
    font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
}



/*==================================================================================================================
テーブルに関する設定
==================================================================================================================*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

/*テーブルタイトル*/
caption {
    text-align: left;
    font-weight: bold;
    color: #993300;
}

/*枠線*/
th,
td {
    border: #7f9255 1px solid;
    padding: 10px 20px;
    font-size: 1rem;
}

thead th,
tfoot th {
    vertical-align: top;
    background-color: #728c42;
    color: #FFFFFF;
}

thead td,
tfoot td {
    vertical-align: top;
    background-color: #999;
    color: #FFFFFF;
}

tbody th {
    vertical-align: top;
    background-color: #a0cc3c;
    color: #fff;
}

tbody td {
    vertical-align: top;
    background-color: #fff;
}

input,
textarea {
    border: 1px solid #ccc;
}




/*その他
-------------------------------------------------------------------------------------------------------------------*/
/*区切り線*/
hr {
    clear: both;
    border: 0px solid #fff;
    padding: 15px 0;
    width: 0;
}

/*画像・オブジェクト*/
img {
    border: 0 none;
    vertical-align: top;
    max-width: 100%;
}

object {
    text-decoration: none;
    border: none;
    margin: 0px;
    padding: 0px;
    vertical-align: bottom;
}


/* メニューを非表示にするパターン */
@media (max-width: 499px) {

    .noTab,
    .noTab caption,
    .noTab thead,
    .noTab tfoot,
    .noTab tbody,
    .noTab tr,
    .noTab th,
    .noTab td {
        display: block;
        width: 100%;
    }
}


/*横並びの配置（flexbox）*/

.flex {
    display: -webkit-flex;
    /* Safari */
    display: flex;
    -webkit-flex-wrap: wrap;
    /* Safari */
    flex-wrap: wrap;
}

.f_between {
    -webkit-justify-content: space-between;
    /* Safari */
    justify-content: space-between;
}

.f_center {
    -webkit-justify-content: center;
    /* Safari */
    justify-content: center;
}

.a_center {
    align-items: center;
}

.f_reverse {
    flex-direction: row-reverse;
}

.img_left {
    float: left;
    margin: 0 30px 30px 0;
}

.img_right {
    float: right;
    margin: 0 0 30px 30px;
}

.img_top {
    margin-bottom: 30px;
}


@media (max-width: 499px) {

    .order1 {
        order: 1;
    }

    .order2 {
        order: 2;
    }



}

.signature {
    text-align: right;
}




/*==================================================================================================================
レイアウト設定
==================================================================================================================*/

/*共通
-------------------------------------------------------------------------------------------------------------------*/

/*#wrapper{padding-bottom: 100px;}*/

#container {
    width: 100%;
    position: relative;
}

.inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.inner:after {
    content: "";
    display: block;
    clear: both;
}

.inner-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}

@media (max-width:1100px) {

    .inner {
        padding: 0 2%;
    }

    .inner-section {
        padding: 50px 2%;
    }
}


@media (max-width:799px) {
    .inner {
        padding: 0 2%;
    }

    .inner-section {
        padding: 30px 2%;
    }
}




@media (max-width:499px) {}

.contents_btm01 {
    margin-bottom: 100px;
}

.contents_btm02 {
    margin-bottom: 80px;
}

.contents_btm03 {
    margin-bottom: 60px;
}

.contents_btm04 {
    margin-bottom: 40px;
}

.contents_btm05 {
    margin-bottom: 20px;
}

.contents_btm0 {
    margin-bottom: 0;
}

.p0 {
    padding: 0 !important;
}

.mb0 {
    margin-bottom: 0 !important;
}

.sp {
    display: none !important;
}

@media (max-width:499px) {


    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }


    .contents_btm01 {
        margin-bottom: 4rem;
    }

    .contents_btm02 {
        margin-bottom: 2rem;
    }

    .contents_btm03,
    .contents_btm04 {
        margin-bottom: 1rem;
    }
}



/*背景*/


.bg01 {
    background: #f8f8f8;
}



/*ヘッダー*/



header {
    background: #333333;
    width: 100%;
    padding: 10px 0;
}

.header_inner {
    position: relative;
}


#hdr_logo a {
    display: block;
    text-align: center;
}

.menu {
    display: none;
}

.nav_menu {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 999;
}

.nav_menu>li a {
    display: block;
}


@media (max-width:499px) {
    #header {
        width: 100%;
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        overflow: visible;
        height: 60px;
    }

    #hdr_logo {
        position: absolute;
        z-index: 999999;
        top: 10px;
        left: 10px;
    }

    #hdr_logo .logo_sp {
        width: auto;
        height: 37px;
        display: block;
    }

    .header_inner {
        position: relative;
        padding: 10px;
    }

}

/*グローバルメニュー*/


#gnav_wrap {
    width: 85%;
    padding: 10px 0;
}



#gnav li a {
    display: block;
    text-align: center;
    overflow: hidden;
    color: #fff;
    font-size: 1.125rem;
}



@media (max-width:799px) {

    #gnav li a {
        font-size: 1rem;
    }

}

@media (max-width:499px) {
    header::before {
        z-index: 999999;
        position: fixed;
    }

}



@media (max-width: 499px) {

    header #gnav_wrap .inner {
        padding: 0;
    }

    header {
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
    }

    .head_reserve {
        display: none;
    }

    /* グローバルナビゲーション */
    #gnav_wrap {
        display: block !important;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        float: none;
        width: 100%;
        max-height: 100vh;
        padding-top: 60px;
        margin: 0;
        position: absolute;
        top: 0;
        right: -500px;
        z-index: 1000;
        overflow: auto;
    }


    .sub_page #gnav_wrap {
        margin-bottom: 30px;
    }

    #gnav_wrap.open {
        -moz-transform: translateX(-500px);
        -webkit-transform: translateX(-500px);
        transform: translateX(-500px);
    }

    #gnav_wrap ul {
        clear: both;
    }

    #gnav_wrap #gnav>li {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        text-indent: 0;
        border-bottom: 1px solid #ccc;
        margin: 0;
    }

    #gnav_wrap #gnav>li:last-child {
        border-bottom: none;
    }

    #gnav_wrap #nav_inst {
        display: none;
    }

    #gnav_wrap #gnav>li>a {
        height: 50px !important;
        padding: 0;
        line-height: 50px;
        font-weight: bold;
        background: rgb(255 255 255 / 90%);
        color: #333;
    }

    #gnav_wrap #gnav>li:nth-of-type(4n+1)>a {
        border-left: solid 5px #e71e0f;
    }

    #gnav_wrap #gnav>li:nth-of-type(4n+2)>a {
        border-left: solid 5px #1d2088;
    }

    #gnav_wrap #gnav>li:nth-of-type(4n+3)>a {
        border-left: solid 5px #006e35;
    }

    #gnav_wrap #gnav>li:nth-of-type(4n)>a {
        border-left: solid 5px #fcc800;
    }

    #gnav_wrap #gnav>li>a:hover {
        text-decoration: none;
        opacity: 1;
    }



    /* メニューボタン */
    .menu {
        display: block;
        width: 50px;
        height: 60px;
        background: #333334;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2000;
        text-indent: -9999px;
    }

    .menu span {
        display: block;
        position: absolute;
        top: 18px;
        right: 10px;
        width: 30px;
        height: 22px;
        background: #fff;
        border-top: 9px solid #333334;
        border-bottom: 9px solid #333334;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    .menu span:before {
        content: '';
        position: absolute;
        width: 30px;
        height: 4px;
        background: #fff;
        top: -9px;
        right: 0;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    .menu span:after {
        content: '';
        position: absolute;
        width: 30px;
        height: 4px;
        background: #fff;
        bottom: -9px;
        right: 0;
        -moz-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
    }

    .menu span.active {
        background: none;
    }

    .menu span.active:before {
        -moz-transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
        top: 0;
        right: 0;
    }

    .menu span.active:after {
        -moz-transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        bottom: 0;
        right: 0;
    }

}


/*フッター*/
#footer {
    background: #333333;
    padding: 50px 0 30px;
    color: #fff;
}

#footer .foot_logo {
    text-align: center;
    margin-bottom: 20px;
}

#footer #foot_nav {
    margin-bottom: 20px;
    border-top: 1px solid rgba(233, 241, 248, 0.3);
    border-bottom: 1px solid rgba(233, 241, 248, 0.3);
    padding: 10px;
}

#footer #foot_nav li {
    margin: 5px 1em;
}

#footer #foot_nav a {
    color: #fff;
}


#copy {
    text-align: center;
    font-size: 0.714rem;
}



@media (max-width:799px) {

    #footer #foot_nav_wrap {
        width: 100%;
    }

    #footer #foot_nav {
        margin-bottom: 20px;
    }

}

@media (max-width:499px) {



    #footer .inner {
        padding: 0;
    }

    #footer #foot_nav {
        margin-bottom: 20px;
        padding: 10px 30px;
    }


}




.btn_more02,
.btn_more03 {
    margin: auto;
    text-align: center;
}




.btn_more01 a {
    display: block;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.125rem;
    background: #e71e0f;
    position: relative;
}

.btn_more02 a {
    display: block;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.125rem;
    background: #1d2088;
    position: relative;
}

.btn_more03 a {
    display: block;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.125rem;
    background: #006e35;
    position: relative;
}

.btn_more01 a::after,
.btn_more02 a::after,
.btn_more03 a::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f105';
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
}



@media (max-width: 499px) {}


.bg01 {
    background: url(../images/bg01.gif);
}

.line01 {
    position: relative;
}

.line01::after {
    content: "";
    display: block;
    background: url(../images/line01.gif) repeat-x;
    width: 100%;
    height: 10px;
    position: absolute;
    bottom: 0;
}






#page_top {
    width: 70px;
    height: 70px;
    position: fixed;
    z-index: 9999;
    right: 30px;
    bottom: 30px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
}

#page_top a {
    position: relative;
    display: block;
    width: 70px;
    height: 70px;
    text-decoration: none;
    text-align: center;
    color: #fff;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    display: block;
    font-size: 25px;
    color: #fff;
    width: 25px;
    height: 25px;
    margin: 0 auto 10px;
    text-align: center;
}


@media (max-width: 499px) {



    #page_top {
        width: 50px;
        height: 50px;
        right: 5px;
        bottom: 50px;
    }

    #page_top a {
        width: 50px;
        height: 50px;
        line-height: 1;
    }

    #page_top a::before {
        margin-bottom: 2px;
    }

}

@media (max-width: 369px) {

    #page_top,
    #page_top a {
        width: 45px;
        height: 45px;
    }

    #page_top {
        bottom: 45px;
    }

    #page_top a::before {
        margin-bottom: 0;
        height: 22px;
    }

}



h2,
h3 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}



/*トップページ
-------------------------------------------------------------------------------------------------------------------*/

/*メインイメージ*/

#visual {
    background: url(../index/main_img.jpg);
    background-size: cover;
    width: 100%;
    height: 50vw;
    max-height: calc(100vh - 80px);
    position: relative;
}

#visual .main_bubble {
    width: 20vw;
    max-width: 349px;
    position: absolute;
    top: 4.5vw;
    left: 49%;
    font-size: 2vw;
    font-weight: bold;
    line-height: 1.4;
}

#visual .main_txt {
    width: 27vw;
    max-width: 375px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}

#visual .main_logo {
    width: 10vw;
    max-width: 97px;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
}


@media (max-width: 499px) {

    #visual {
        margin-top: 60px;
        background: none;
        width: 100%;
        height: 60vw;
        max-height: 700px;
    }



}




#top_page h2 {
    font-size: 1.5rem;
    font-weight: bold;
}


#top_services .services_list li h3 {
    font-size: 1.875rem;
}

.txt {
    line-height: 2.4;
}


@media (max-width: 799px) {

    h2,
    h3 {
        margin-bottom: 30px;
    }

    #top_page h2 {
        font-size: 1.35rem;
    }

    #top_services .services_list li h3 {
        font-size: 1.3rem;
    }


}

@media (max-width: 499px) {

    h2,
    h3 {
        margin-bottom: 20px;
    }

    #top_page h2 {
        font-size: 1.2rem;
    }

    #top_services .services_list li h3 {
        font-size: 1.2rem;
    }

    .txt {
        text-align: left;
        line-height: 2;
    }


}



.anchor {
    padding-top: 60px;
    margin-top: -60px;
}








#top_ichiduke .text_area {
    width: 46%;
}

#top_ichiduke .img_area {
    width: 50%;
}


@media (max-width: 799px) {
    #top_ichiduke ul.flex {
        display: block;
    }

    #top_ichiduke .img_area {
        width: 40%;
        float: left;
        margin: 0 30px 10px 0;
    }

    #top_ichiduke .text_area {
        width: auto;
        display: inline;
    }

    #top_ichiduke .text_area .btn_more01 {
        text-align: center;
    }

    #top_ichiduke .text_area .btn_more01 a {
        max-width: 400px;
        margin: auto;
    }
}

@media (max-width: 599px) {
    #top_ichiduke ul.flex {
        display: flex;
        position: relative;
        padding-bottom: 90px;
    }

    #top_ichiduke .img_area {
        width: 80%;
        margin: auto;
        float: none;
        order: 2;
    }

    #top_ichiduke .text_area {
        width: 100%;
        display: block;
        margin-bottom: 20px;
        order: 1;
    }

    #top_ichiduke .btn_more01 {
        position: absolute;
        right: 0;
        left: 0;
        bottom: 10px;
        width: 90vw;
        margin-left: calc(50% - 45vw);
    }
}


#top_services .list,
#top_services .services_list {
    padding: 0 40px;
}

#top_services .list li {
    width: 20%;
}

#top_services .list p {
    color: #fff;
    padding: 1rem;
    margin-bottom: 30px;
    position: relative;
    font-weight: bold;
}

#top_services .list li .img_area img {
    border-radius: 50%;
}

#top_services .list li:nth-of-type(1) p {
    background: #1d2088;
}

#top_services .list li:nth-of-type(2) p {
    background: #e71e0f;
}

#top_services .list li:nth-of-type(3) p {
    background: #006e35;
}

#top_services .list li:nth-of-type(4) p {
    background: #fcc800;
    color: #333;
}

#top_services .list li p::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    position: absolute;
    bottom: -20px;
}

#top_services .list li:nth-of-type(1) p::after,
#top_services .list li:nth-of-type(3) p::after {
    left: 30px;
    border-width: 0 20px 20px 0;
    border-color: transparent #1d2088 transparent transparent;
}

#top_services .list li:nth-of-type(3) p::after {
    border-color: transparent #006e35 transparent transparent;
}

#top_services .list li:nth-of-type(2) p::after,
#top_services .list li:nth-of-type(4) p::after {
    right: 30px;
    border-width: 20px 20px 0 0;
    border-color: #e71e0f transparent transparent transparent;
}

#top_services .list li:nth-of-type(4) p::after {
    border-color: #fcc800 transparent transparent transparent;
}



#top_services .services_list li:nth-of-type(1) {
    background: url(../index/top_services_img05.jpg);
    background-size: cover;
}

#top_services .services_list li:nth-of-type(2) {
    background: url(../index/top_services_img06.jpg);
    background-size: cover;
}

#top_services .services_list li:nth-of-type(3) {
    background: url(../index/top_services_img07.jpg);
    background-size: cover;
}

#top_services .services_list li:nth-of-type(4) {
    background: url(../index/top_services_img08.jpg);
    background-size: cover;
}

#top_services .services_list li {
    width: 47.5%;
    position: relative;
    height: 45vw;
    max-height: 300px;
    margin-bottom: 60px;
}

#top_services .services_list li div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
    margin: auto;
    width: 100%;
    padding: 20px;
}

#top_services .services_list li h3 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

#top_services .services_list li p {
    font-size: 1.125rem;
    text-align: center;
    min-height: 5.6em;
}

#top_services .services_list li a {
    color: #fff;
}


#top_services .btn_more02 li {
    width: 48%;
    max-width: 300px;
    display: inline-block;
    margin: 0 20px;
}

@media (max-width: 1099px) {
    #top_services .list p {
        font-size: 0.875rem;
    }
}

@media (max-width: 999px) {

    #top_services .list,
    #top_services .services_list {
        padding: 0 10px;
    }

    #top_services .list li {
        width: 20vw;
    }

    #top_services .services_list {
        margin-bottom: 30px;
    }

    #top_services .services_list li {
        width: calc(50% - 20px);
        margin: 10px;
    }
}

@media (max-width: 899px) {

    #top_services .list,
    #top_services .services_list {
        padding: 0;
    }

    #top_services .list {
        justify-content: center;
        margin-bottom: 0;
    }

    #top_services .list li {
        width: 46%;
        max-width: 300px;
        padding: 10px 20px;
    }

    #top_services .list p {
        font-size: 1.2rem;
    }

    #top_services .list li:nth-of-type(2) {
        margin-top: 30px;
    }

    #top_services .list li:nth-of-type(3) {
        margin-top: -30px;
    }

    #top_services .list li {
        margin-bottom: 30px;
    }

    #top_services .services_list li {
        height: 30vw;
    }

    #top_services .services_list li p {
        font-size: 1rem;
        min-height: unset;
    }
}

@media (max-width: 799px) {
    #top_services .services_list li h3 {
        margin-bottom: 10px;
    }

    #top_services .services_list li p {
        min-height: 5.6em;
    }

    #top_services .services_list li p br {
        display: none;
    }

    #top_services .btn_more02 li {
        width: calc(50% - 30px);
        max-width: 240px;
        margin: 0 10px;
    }
}

@media (max-width: 699px) {
    #top_services .services_list {
        display: block;
    }

    #top_services .services_list li {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 20px;
        position: static;
        height: auto;
    }

    #top_services .services_list li div {
        position: static;
        transform: none;
    }

    #top_services .services_list li p {
        min-height: unset;
    }

    #top_services .services_list li p br {
        display: inline;
    }
}

@media (max-width: 599px) {
    #top_services .list li {
        width: 50%;
        margin-bottom: 0;
    }

    #top_services .list p {
        font-size: 3.2vw;
    }
}

@media (max-width: 499px) {
    #top_services .services_list li {
        width: 100%;
        height: auto;
        min-height: unset;
        margin-bottom: 10px;
    }

    #top_services .services_list li div {
        padding: 40px 20px;
    }

    #top_services .btn_more02 {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-bottom: 40px;
    }

    #top_services .btn_more02 li {
        width: 100%;
        max-width: 600px;
        margin: 0;
        margin-bottom: 1px;
    }

    #top_services .inner-section {
        padding-bottom: 0;
    }

    #top_services .list p {
        font-size: 3vw;
    }

    #top_services .list p br {
        display: none;
    }
}

@media (max-width: 399px) {
    #top_services .list {
        display: block;
    }

    #top_services .list li {
        width: 100%;
        max-width: unset;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    #top_services .list li:nth-of-type(2) {
        margin-top: 0;
    }

    #top_services .list li:nth-of-type(3) {
        margin-top: 0;
    }

    #top_services .list li:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    #top_services .list p {
        width: 55%;
        font-size: 4vw;
    }

    #top_services .list p br {
        display: inline;
    }

    #top_services .list li .img_area {
        width: 42%;
    }

    #top_services .list li:nth-of-type(odd) p {
        border-radius: 20px 20px 0 20px;
    }

    #top_services .list li:nth-of-type(even) p {
        border-radius: 20px 20px 20px 0;
    }

    #top_services .list li:nth-of-type(1) p::after,
    #top_services .list li:nth-of-type(3) p::after,
    #top_services .list li:nth-of-type(2) p::after,
    #top_services .list li:nth-of-type(4) p::after {
        display: none;
    }

    #top_services .services_list li p br {
        display: none;
    }
}



#top_message {
    background: url(../index/top_message_bg.jpg);
    background-size: cover;
    padding: 40px 0;
}

@media (max-width: 599px) {
    #top_message .txt_center {
        text-align: left;
    }

    #top_message .txt_center br {
        display: none;
    }
}



#top_company .left_area{
    width: 48%;
}

#top_company .left_area dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

#top_company .left_area dt {
    width: 30%;
}

#top_company .left_area dd {
    width: 70%;
}

#top_company .left_area li img {
    width: 30%;
    max-width: 80px;
}

#top_company .left_area li figure img,
#top_company .left_area li figure figcaption {
    display: inline-block;
    font-size: 0.875rem;
}

#top_company .left_area dl+ul li:first-of-type {
    margin-bottom: 10px;
}

#top_company .left_area li figure img {
    margin-right: 10px;
}

#top_company .left_area li figure figcaption {
    width: 70%;
    max-width: calc(100% - 100px);
}

#top_company .btn_more03 {
    width: 90%;
    margin: auto;
}

#top_company .btn_more03 li {
    width: 30%;
    min-width: 10em;
}


@media (max-width: 799px) {


    #top_company .left_area{
        width: 100%;
    }

    #top_company .left_area {
        margin-bottom: 30px;
    }





}


@media (max-width: 599px) {
    #top_company .btn_more03 {
        justify-content: center;
    }

    #top_company .btn_more03 li {
        width: calc(50% - 20px);
        margin: 10px;
    }
}

@media (max-width: 499px) {
    #top_company .inner-section {
        padding-bottom: 0;
    }

    #top_company .btn_more03 {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-bottom: 40px;
    }

    #top_company .btn_more03 li {
        width: 100%;
        margin-bottom: 1px;
    }


}


/*サブページ
-------------------------------------------------------------------------------------------------------------------*/

/*共通*/


#main {
    padding: 0;
    margin: 0 auto;
}

.ah1 {
    padding: 60px 0;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    background: #fff;
}

.sh1 {
    font-size: 1.6rem;
}

.commitment .nano_steam_link p {
    margin-bottom: 30px;
}

.sh2,
.commitment .nano_steam_link h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.commitment .nano_steam_link h3 {
    line-height: 1.4;
}

.commitment .nano_steam_link h3 span {
    font-size: 1rem;
}

.sh2::after {
    content: "";
    display: block;
    background: #3fbdd7;
    width: 100px;
    height: 3px;
    margin: 10px auto 0;
    text-align: center;
}

.mt {
    margin-top: 50px;
}


.sub_page #wrapper {
    padding-top: 0;
}





@media (max-width:799px) {
    .ah1 {
        font-size: 1.5rem;
        padding: 30px 0;
    }

    .mt {
        margin-top: 30px;
    }

    .sh1 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .sh2,
    .commitment .nano_steam_link h3 {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .fs01 {
        font-size: 1.5rem;
    }

    .t_v02,
    .fs02 {
        font-size: 1.25rem;
    }

    .bg03 {
        padding: 20px;
    }
}



@media (max-width:499px) {

    #main {
        padding: 20px 0 0;
    }

    .ah1 {
        font-size: 1.25rem;
    }

    .sh1 {
        font-size: 1.2rem;
    }

    .sh2,
    .commitment .nano_steam_link h3 {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }

    .sub_page #header::after {
        margin-top: 0;
    }

    .sub_page article {
        padding-top: 0;
    }

    .sub_page #wrapper {
        padding-top: 30px;
    }


}












.about-us ul {
    border: 1px solid #ccc;
    padding: 30px;
    background: #fffef8;
}

.about-us .img_area {
    width: 24%;
}

.about-us .text_area {
    width: 72%;
}

@media (max-width:599px) {
    .about-us ul {
        flex-direction: column-reverse;
    }

    .about-us .img_area {
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-us .text_area {
        width: 100%;
        margin: 0 auto 20px;
    }
}


.ichiduke .img_area {
    width: 50%;
}

.ichiduke .text_area {
    width: 46%;
}

@media (max-width:999px) {
    .ichiduke .contents_btm03 {
        margin-bottom: 4vw;
    }
}

@media (max-width:899px) {
    .ichiduke .inner-section>.flex {
        display: block;
    }

    .ichiduke .inner-section>.flex .img_area {
        width: 40%;
        float: left;
        margin: 0 40px 10px 0;
    }

    .ichiduke .inner-section>.f_reverse .img_area {
        float: right;
        margin: 0 0 10px 40px;
    }

    .ichiduke .text_area {
        width: 100%;
    }
}

@media (max-width:599px) {
    .ichiduke .inner-section>.flex {
        display: flex;
        flex-direction: column-reverse;
    }

    .ichiduke .inner-section>.flex .img_area,
    .ichiduke .inner-section>.f_reverse .img_area {
        width: 90%;
        max-width: 400px;
        float: none;
        margin: 0 auto;
    }

    .ichiduke .text_area {
        margin-bottom: 20px;
    }
}




.company .box01 dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.company .box01 dt {
    width: 30%;
    font-weight: bold;
}

.company .box01 dd {
    width: 70%;
}

.company .box01 li {
    width: 48%;
}

.company .box01 li .img_area {
    width: 30%;
    height: auto;
    max-width: 100px;
    margin-right: 2%;
}

.company .box01 li figure {
    display: flex;
    flex-wrap: wrap;
}

.company .box01 li figure figcaption {
    width: 67%;
}


@media (max-width: 499px) {


    .company .box01 dl {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .company .box01 dt,
    .company .box01 dd {
        width: 100%;
    }

    .company .box01 dt {
        margin-bottom: 5px;
    }

    .company .box01 li {
        width: 100%;
        margin-top: 10px;
    }


}




.result li {
    width: 48%;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
    font-weight: bold;
}


@media (max-width: 499px) {
    .result li {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

@media (max-width: 399px) {
    .result li {
        width: 100%;
    }
}




.recruit .box01 dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.recruit .box01 dt {
    width: 30%;
    font-weight: bold;
}

.recruit .box01 dd {
    width: 70%;
}

.recruit .btn_more01 a {
    max-width: 320px;
    margin: auto;
}


@media (max-width: 499px) {


    .recruit .box01 dl {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .recruit .box01 dt,
    .recruit .box01 dd {
        width: 100%;
    }

    .recruit .box01 dt {
        margin-bottom: 5px;
    }



}





.services .img_area {
    width: 50%;
}

.services .text_area {
    width: 46%;
}

.services .situation {
    background: #fff;
    padding: 20px 30px 10px;
}

.services .situation dt {
    font-size: 1.2rem;
}

.services .situation dt span {
    background: linear-gradient(transparent 70%, #fcc800 0%);
    display: inline;
    padding: 0;
    font-weight: bold;
}

.services .situation .check li {
    padding-left: 1.3em;
    text-indent: -1.3em;
    margin: 0.5em 0;
}

.services .situation .check li:before {
    content: "✓";
    margin-right: 0.3em;
    color: #e71e0f;
}

@media (max-width: 899px) {
    .services .situation {
        margin: 0 auto 30px;
    }

    .services .img_area {
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
    }

    .services .text_area {
        width: 100%;
    }
}

@media (max-width: 399px) {
    .services .situation {
        padding: 10px 20px 5px;
    }
}









/*フォーム関係*/

#form table {
    margin: 30px 0 50px;
}

#form table th,
#form table td {
    border: #ededed 1px solid;
    padding: 20px;
    font-size: 1rem;
}

#form table th {
    text-align: left;
    color: #333;
    vertical-align: top;
    background-color: #d0d0d0;
}

#form td input.w01 {
    width: 100%;
}

#form td input,
#form table td textarea {
    padding: 10px;
}

input::placeholder,
textarea::placeholder,
input:-ms-input-placeholder,
textarea::placeholder,
input::-ms-input-placeholder,
textarea::placeholder {
    color: #bbb;
}

#form td textarea {
    width: 100%;
}

#form .btn_area {
    margin: auto;
    text-align: center;
    width: 90%;
    max-width: 300px;
}

#form .btn_area a {
    margin: auto;
    text-align: center;
    display: block;
    background: #f57821;
    color: #fff;
    font-weight: bold;
    padding: 15px 30px;
}

#formNavi {
    text-align: center;
}

@media (max-width:499px) {
    #form table th {
        border-bottom: none;
        border-top: none;
        padding: 6px;
    }

    #form table th,
    #form table td {
        border: none;
    }

    #form td label {
        width: 100%;
        display: block;
    }
}

@media (max-width:399px) {

    #form table tr,
    #form table th,
    #form table td {
        display: block;
        width: 100%;
    }

    #form table tr {
        margin-bottom: 10px;
    }
}


/*************/
.ban_interview {
    background-color: #1d355c;
    width: 98%;
    margin: 0 auto;
    max-width: 600px;
    border-radius: 10px;
    border: double 5px #fff;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.ban_interview a {
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.ban_interview p {
    width: 60%;
    margin: 0;
    font-size: clamp(1.25rem, 1.202rem + 0.24vw, 1.5rem)
        /*20-24px*/
    ;
    line-height: 1.3;
    font-weight: bold;
}

.ban_interview img {
    width: 38%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    height: 100%;
    object-position: center right;
}

.dib {
    display: inline-block;
    font-weight: inherit;
}