#wpadminbar {
    display: none;
}

html {
    margin-top: 0 !important;
}

body {
    position: relative;
}

.pc {
    display: none;
}

.pcinline {
    display: none;
}

.mid {
    display: none;
}

.sp {
    display: block;
}


/*header*/

header {
    position: fixed;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

nav.sp {
    padding: 10px 10px;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

header .spnav h1 {
    float: left;
}

header .spnav img {
    width: auto;
    height: 35px;
}

.spMenu {
    float: right;
    width: 17.6%;
    text-align: center;
    cursor: pointer;
}

.spMenu .fa {
    display: block;
    font-size: 2.5rem;
}

.spMenu span {
    display: block;
    font-size: 1rem;
    line-height: 1;
}

.spMenuOpen {
    display: block;
    padding: 5px;
}

#spMenuArea {
    display: none;
}


/*menu*/

#spMenuArea {
    position: fixed;
    width: 100vw;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    vertical-align: middle;
    box-sizing: border-box;
    z-index: 100;
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
}

#spMenuAreaInner {
    display: none;
    vertical-align: middle;
}

#spMenuArea .spMenu {
    padding: 10px;
}

.spMenuClose {
    display: none;
    position: fixed;
    top: 7px;
    right: 0px;
    width: 17.6%;
    text-align: center;
    padding: 5px;
    z-index: 1000;
}

#spMenuArea .spNav {
    padding: 15px 0 40px;
}

#spMenuArea .spNav a:link,
#spMenuArea .spNav a:hover,
#spMenuArea .spNav a:visited,
#spMenuArea .spNav a:active {
    color: #fff;
    text-decoration: none;
}

.spHome {
    position: absolute;
    left: 15px;
    top: 20px;
    display: inline-block;
    padding: 0;
}

.spHome a {
    position: relative;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding: 0 8px 0 0;
    background-color: #7FB71C;
    border-radius: 0 3px 3px 0;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.spHome a::before {
    position: absolute;
    top: 0;
    left: -15px;
    content: '';
    width: 0;
    height: 0;
    border-color: transparent #7FB71C transparent transparent;
    border-style: solid;
    border-width: 15px 15px 15px 0;
    -webkit-transition: .2s;
    transition: .2s;
}

.spHome a span {
    display: block;
    max-width: 100px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.spHome a i {
    margin-right: 5px;
}

#spMenuArea .spNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#spMenuArea .spNav ul.spWorks {
    width: 240px;
    margin: 80px auto 0;
}

.spWorks li {
    margin-bottom: 20px;
    padding: 8px 15px;
    border-radius: 2em;
    font-size: 1.6rem;
    font-weight: bold;
}

.spWorks li a {
    display: block;
}

.spWorks img {
    width: auto;
    height: 1.6em;
    margin-right: 8px;
    margin-bottom: -5px;
}

.spWorks li.spNavSurvey {
    background: rgba(110, 185, 209, 1);
}

.spWorks li.spNavThinning {
    background: rgba(232, 216, 47, 1);
}

.spWorks li.spNavInheritance {
    background: rgba(58, 201, 142, 1);
}

.spWorks li.spNavShop {
    background: #161616;
}

.spNav li.borderBtn a {
    display: block;
    text-align: center;
    padding: 8px 0;
    font-size: 1.4rem;
    border: solid 1px #341A05;
    border-radius: 5px;
    line-height: 1;
}

#spMenuArea .spNav .borderBtn a:link,
#spMenuArea .spNav .borderBtn a:hover,
#spMenuArea .spNav .borderBtn a:visited,
#spMenuArea .spNav .borderBtn a:active {
    color: #341A05;
    text-decoration: none;
}

#spMenuArea .spNav ul.spCont,
#spMenuArea .spNav ul.spInq {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
}

#spMenuArea .spNav ul.spCont li,
#spMenuArea .spNav ul.spInq li {
    list-style: none;
    width: 50%;
    padding: 5px 10px;
    box-sizing: border-box;
    text-align: center;
}

#spMenuArea .spNav ul.spInq {
    margin-top: 20px;
    font-size: 1.6rem;
}

.navMail a {
    background: #EA6A90;
}

.navTel a {
    background: #A1D137;
}

.navInsta a {
    background-color: #ed4956;
}

.navFbk a {
    background-color: rgba(58, 89, 152, 1);
}

#spMenuArea .spNav ul.spInq li a {
    display: block;
    padding: 12px 0;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
}

#spMenuArea .spNav ul.spInq li a i {
    margin-right: 5px;
}

@media screen and (min-height: 481px) {
    .spWorks li {
        margin-bottom: 30px;
        border-radius: 2em;
        font-size: 1.8rem;
        font-weight: bold;
    }
    .spWorks li.spNavInheritance {
        margin-bottom: 40px;
    }
    #spMenuArea .spNav ul.spCont {
        display: block;
        width: 240px;
        margin: auto;
    }
    #spMenuArea .spNav ul.spCont li {
        display: block;
        width: 100%;
        margin-bottom: 40px;
        padding: 0;
        box-sizing: border-box;
    }
}


/*footer*/

.ftTel {
    display: block;
    background: #7FB71C;
    margin: 15px 15px 0;
    padding: 8px;
    text-align: center;
    border-radius: 30px;
    line-height: 1;
}

.ftTelft {
    display: block;
}

.ftTel a:link,
.ftTel a:visited,
.ftTel a:hover,
.ftTel a:active {
    color: #fff;
    text-decoration: none;
}

.ftTelUp {
    margin-bottom: 5px;
}

.ftTelBt {
    display: table;
    margin: auto;
}

.ftTelBt span {
    display: table-cell;
    width: 2em;
    font-size: 1.0rem;
    line-height: 1.2;
    vertical-align: middle;
}

.ftTelBt strong {
    display: table-cell;
    padding-left: 5px;
    font-size: 2.4rem;
    color: #fff;
    vertical-align: middle;
}

.ftTelft {
    margin-top: 3px;
    font-size: 12px;
    text-align: center;
}

/*common*/

#worksNav {
    display: none;
}

main {
    padding-top: 70px;
}


/*top*/

#topFlex ul li,
#topFlex ul li.survey .bgSurvey,
#topFlex ul li.thinning .bgThinning,
#topFlex ul li.inheritance .bgInheritance {
    min-height: 248px;
}

#topFlex ul li a {
    padding: 5px;
}

#topFlex ul li .flexInner {
    width: auto;
    padding: 5px;
}

#topFlex ul li p {
    display: none;
}

.iconArea img {
    width: 90%;
    height: auto;
    margin: 0px auto 20px;
}

#topFlex ul li h2 {
    height: 2.5em;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.2;
}

#topFlex ul li.survey h2 {
    height: 2em;
    padding: 0.5em 0 0;
}

#topFlex ul li .flexBtn {
    width: auto;
    padding: 5px 10px;
    border: solid 1px #fff;
    font-size: 14px;
    font-size: 1.4rem;
}

.spacer {
   padding-top: 80%;
}

.boku_btnarea .catch {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

#bokuarea a {
    width: 70%;
}

#topTorikumi {
    min-height: 420px;
}

#topTorikumi .txtWrap {
    padding-bottom: 30px;
}

#topTorikumi p {
    font-size: 24px;
    font-size: 2.4rem;
}

.btnTorikumi {
    width: 100%;
    padding: .9em 1.5em;
    font-size: 20px;
    font-size: 2.0rem;
}


/*common*/

.second .the-content {
    padding-bottom: 0px;
}

.the-content .inner {
    padding: 5px 20px;
}


/*works*/

#worksHd {
    height: 248px;
}

#worksHd h1.soudan {
    font-size: 3.2rem;
}

.the-content .inner h2 {
    margin-bottom: 25px;
    border-bottom: solid 1px #204F36;
    font-size: 20px;
    font-size: 2.0rem;
}

#flow ol {
    padding: 0;
}

#flow ol li:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid #ccc;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    z-index: 1;
}

#flow ol li:nth-child(1):after {
    border-top: 10px solid #F9C7C7;
}

#flow ol li:nth-child(2):after {
    border-top: 10px solid #F9F7C7;
}

#flow ol li:nth-child(3):after {
    border-top: 10px solid #E0F9C7;
}

#flow ol li:nth-child(4):after {
    border-top: 10px solid #C7F1F9;
}

#flow ol li:nth-child(5):after {
    border-top: 10px solid #D3DBF9;
}

#flow ol li .number {
    width: 30px;
    vertical-align: top;
}

#flow ol li .number img {
    display: block;
    width: 100%;
    height: auto;
}

#flow ol li .flowCont {
    padding: 0 0 0 5px;
    vertical-align: middle;
}

#flow ol li h3 {
    border: none;
}

#flow ol li .flowCont p {
    padding: 8px 0 0 0;
    margin-left: -35px;
}

#contactArea {
    margin-bottom: 20px;
}

#contactArea a {
    width: auto;
}


/*torikumi*/

.torikumi {
    overflow: hidden;
}

.torikumiPhoto {
    float: none;
    width: auto;
    text-align: center;
}

.torikumiPhoto img {
    max-width: 200px;
    height: auto;
}

.torikimiTxt {
    float: none;
    width: auto;
    margin-top: 20px;
}

.torikumi p {
    margin-top: 0;
}

.torikumi p:last-of-type {
    margin-bottom: 20px;
}


/*company*/

.outline th,
.outline td {
    padding: 10px;
}

.outline th {
    width: auto;
    white-space: nowrap;
}

.formRow {
    display: table;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: solid 1px #f6f6f6;
    color: #341A05;
}

.formRow.border-none {
    border: none;
}

.formTable label {
    display: block;
    width: 100%;
}

.formTh {
    display: block;
    width: auto;
    vertical-align: middle;
}

.formTh span {
    color: #ff0000;
}

.formTd {
    display: block;
}

.formTable input,
.formTable textarea {
    width: 100%;
    padding: 8px;
    border: solid 2px #f0f0f0;
    border-radius: 5px;
    box-sizing: border-box;
    outline: none;
    color: #341A05;
    font-size: 18px;
    font-size: 1.8rem;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

.formTable input:focus,
.formTable textarea:focus {
    border: solid 2px #204F36;
}

.formTable input[type='submit'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    display: block;
    background: #FF901E;
    width: 40%;
    margin: auto;
    cursor: pointer;
    color: #fff;
}

.formTable input[type='submit']:hover {
    border: solid 2px #341A05;
}

.formTable input[type='submit']:focus {
    border: solid 2px #341A05;
}

/*採用情報*/
.job-information-inner table,
.job-information-inner tr,
.job-information-inner th,
.job-information-inner td {
    display: block;
}

.job-information-inner table,
.job-information-inner tr {
    border: solid 1px lightgray;
    border-collapse: collapse;
    border-spacing: 0;
}

.job-information-inner table {
    width: 100%;
}

.job-information-inner th,
.job-information-inner td {
    padding: 0;
}

.job-information-inner th {
    padding: 0.5em 0.5em 0;
    text-align: left;
    border-right: none;
    border-bottom: dotted 1px lightgray;
}

.job-information-inner td {
    padding: 0.5em;
}

.button {
    margin-bottom: 1.5em;
}


/*sdgs*/
.sdgs-icons {
    padding: 40px 20px;
}
.the-content .inner .sdgs-item ul {
    justify-content: center;
    flex-wrap: wrap;
}

.the-content .inner .sdgs-item ul li {
    list-style: none;
    width: 43%;
    margin-right: 5%;
}
.the-content .inner .sdgs-item ul li:last-of-type {
    margin-right: 5%;
}

#boku_sdgs {
    margin-bottom: 0;
    padding: 80px 20px 50px;
}

#boku_sdgs h3 {
    margin-bottom: 50px;
    text-align: center;
}


#boku_sdgs h2 {
    width: 60%;
    margin: 0 auto 50px;
}

#boku_sdgs h4 {
    margin-bottom: 80px;
    font-size: 20px;
    font-size: 2.0rem;
}

#boku_sdgs .points {
    display: block;
}

#boku_sdgs .point-item h3 {
    text-align: left;
}

#boku_sdgs .point-item p {
    margin-bottom: 80px;
    text-indent: justify;
}

#boku_sdgs ul.shoplist {
    display: block;
}

#boku_sdgs ul.shoplist li {
    margin: 0;
}

#boku_sdgs ul.shoplist li:last-of-type {
    margin-top: 20px;
    margin-left: 0;
}