/*
Theme Name: うじひら木材産業株式会社 ver5
Theme URI: http://u-mokuzai.com
Author: Uedi,inc.
Author URI: http://uedi.jp
Description: うじひら木材産業株式会社専用 WordPressテーマ
Version: 2.0
License: GNU General Public License

-------------------------------------------------------------- */

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    background: url(images/wood.jpg) center center;
    overflow-y: scroll;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック  Medium', meiryo, sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #341A05;
}

body.spMenuActive {
   position: fixed;
   height: 100%;
   overflow: hidden;
}

a {
    color: #341A05;
}

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

.pc {
    display: block;
}

.pcinline {
    display: inline;
}

.mid {
    display: none;
}

.sp {
    display: none;
}

.inner {
    max-width: 1280px;
    margin: auto;
    box-sizing: border-box;
}

header {
    background: url(images/wood.jpg) center center;
    background-size: cover;
    padding: 15px 0;
    border-bottom: solid 5px #204F36;
    overflow: hidden;
    z-index: 100;
}

header .inner {
    padding: 0 60px;
    overflow: hidden;
}

header a,
header a:visited {
    color: #341A05;
    text-decoration: none;
}

header h1 {
    float: left;
    margin: 5px 0;
    padding: 0;
}

header img {
    display: block;
}

header nav.pc ul {
    float: right;
    display: table;
    margin: 0;
    padding: 0;
}

header nav.pc ul li {
    list-style: none;
    display: table-cell;
    padding-right: 20px;
    vertical-align: bottom;
}

header nav.pc ul li.gnavfb,
header nav.pc ul li.gnavinsta {
    font-size: 26px;
    font-size: 2.6rem;
    line-height: 1;
}

header nav.pc ul li.gnavfb {
    padding-right: 30px;
}

header nav.pc ul li.gnavfb a {
    color: rgba(52, 26, 5, 1);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

header nav.pc ul li.gnavfb a:hover {
    color: rgba(58, 89, 152, 1);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}


header nav.pc ul li.gnavinsta a {
    color: rgba(52, 26, 5, 1);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

header nav.pc ul li.gnavinsta a:hover {
    color: #ed4956;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

header nav.pc ul li.gnavTel {
    width: 200px;
    padding: 0;
}

header nav.pc ul li h5 {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-size: 1.2rem;
    font-weight: normal;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.01em;
}
header nav.pc ul li.gnavTel img {
    max-width: 100%;
}

.gnavBtn {
    padding: 5px 8px;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

.gnavBtn:hover {
    background: rgba(52, 26, 5, 0.5);
    color: rgba(255, 255, 255, 1);
    border-radius: 5px;
}

#spMenuArea {
    display: none;
}


/*top*/

#topFlex ul {
    display: -webkit-flex;
    display: flex;
    margin: 0;
    padding: 0;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
}

#topFlex ul li {
    list-style: none;
    display: -webkit-flex;
    display: flex;
    width: 100%;
    min-height: 590px;
    text-align: center;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
}

#topFlex ul li .flexInner {
    display: -webkit-flex;
    display: flex;
    text-align: center;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
    width: 80%;
    box-sizing: border-box;
    cursor: pointer;
}

#topFlex ul li a {
    position: relative;
    display: inline-block;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0);
    color: #fff;
    text-align: center;
    text-decoration: none;
    outline: none;
    transition: all .2s;
    padding: 30px 15px;
    box-sizing: border-box;
}

#topFlex ul li a::before,
#topFlex ul li a::after {
    position: absolute;
    top: -2px;
    left: -2px;
    z-index: 2;
    content: '';
    width: 0;
    height: 0;
    border: 2px solid transparent;
}

#topFlex ul li a:hover {
    background: rgba(0, 0, 0, .3);
}

#topFlex ul li a:hover::before,
#topFlex ul li a:hover::after {
    width: 100%;
    height: 100%;
}

#topFlex ul li a:hover::before {
    border-top-color: #fff;
    border-right-color: #fff;
    transition: width .3s, height .3s .3s;
}

#topFlex ul li a:hover::after {
    border-bottom-color: #fff;
    border-left-color: #fff;
    transition: height .3s, width .3s .3s;
}

#topFlex ul li p {
    margin: 0 0 80px;
    font-size: 20px;
    font-size: 2.0rem;
    line-height: 1em;
}

#topFlex ul li.survey {
    background: url(images/thumb_survey.jpg);
    background-size: cover;
}

#topFlex ul li.survey .bgSurvey {
    display: flex;
    width: 100%;
    min-height: 590px;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
    background: rgba(110, 185, 209, 1);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

#topFlex ul li.survey .bgSurvey.hover {
    background: rgba(110, 185, 209, 0);
}

#topFlex ul li.thinning {
    background: url(images/thumb_thinning.jpg);
    background-size: cover;
}

#topFlex ul li.thinning .bgThinning {
    display: flex;
    width: 100%;
    min-height: 590px;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
    background: rgba(232, 216, 47, 1);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

#topFlex ul li.thinning .bgThinning.hover {
    background: rgba(232, 216, 47, 0);
}

#topFlex ul li.inheritance {
    background: url(images/thumb_inheritance.jpg);
    background-size: cover;
}

#topFlex ul li.inheritance .bgInheritance {
    display: flex;
    width: 100%;
    min-height: 590px;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
    background: rgba(58, 201, 142, 1);
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

#topFlex ul li.inheritance .bgInheritance.hover {
    background: rgba(58, 201, 142, 0);
}

.iconArea img {
    display: block;
    margin: 0 auto 80px;
}

#topFlex ul li h2 {
    font-size: 32px;
    font-size: 3.2rem;
    line-height: 1em;
}

#topFlex ul li .flexBtn {
    display: block;
    width: 10em;
    margin: auto;
    padding: 18px 0;
    border: solid 1px #fff;
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 1em;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

#topFlex ul li a:hover .flexBtn {
    border: solid 1px rgba(0, 0, 0, 0);
    letter-spacing: 1px;
}

#bokuarea {
    position: relative;
    display: grid;
    justify-content: center;
    align-items: center;
}


#bokuarea > * {
    grid-area: 1 / 1;
}

.spacer {
    width: 100%;
    padding-top: 40%;
}

#bokuarea .boku_bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boku_btnarea .catch {
    margin-bottom: 15px;
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: center;
    color: #fff;
}

.boku_btnarea .catch span {
    display: inline-block;
}

#bokuarea a {
    display: block;
    width: 32%;
    margin: auto;
    transition: 0.3s;
    border-radius: 500em;
}

#bokuarea a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}

#bokuarea a img {
    display: block;
    max-width: 100%;
}

#topTorikumi {
    position: relative;
    display: flex;
    background: url(images/torikumi.jpg);
    background-size: cover;
    width: 100%;
    transition: .4s;
}

#topTorikumi::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}

#topTorikumi .inner {
    display: flex;
    position: relative;
    max-width: none;
    justify-content: center;
    align-items: center;
    margin: 85px auto;
    z-index: 10;
}

#topTorikumi .txtWrap {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#topTorikumi p {
    display: flex;
    justify-content: center;
    align-content: center;
    margin-bottom: 80px;
    color: #fff;
    font-size: 32px;
    font-size: 3.2rem;
    white-space: nowrap;
}

#topTorikumi p span {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

.btnTorikumi {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    padding: .9em 3.6em;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-align: center;
    text-decoration: none;
    outline: none;
    transition: all .2s;
    font-size: 24px;
    font-size: 2.4rem;
    box-sizing: border-box;
}

.btnTorikumi::before,
.btnTorikumi::after {
    position: absolute;
    z-index: 2;
    content: '';
    width: 0;
    height: 0;
    border: 2px solid transparent;
}

.btnTorikumi::before {
    top: -2px;
    left: -2px;
}

.btnTorikumi::after {
    bottom: -2px;
    right: -2px;
}

.btnTorikumi:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    letter-spacing: 4px;
}

.btnTorikumi:hover::before,
.btnTorikumi:hover::after {
    width: 100%;
    height: 100%;
}

.btnTorikumi:hover::before {
    border-bottom-color: #fff;
    border-left-color: #fff;
    transition: height .3s, width .3s .3s;
}

.btnTorikumi:hover::after {
    border-top-color: #fff;
    border-right-color: #fff;
    transition: height .3s, width .3s .3s;
}

.bnrSdgs {
    max-width: 369px;
    transition: 0.3s;
}

.bnrSdgs img {
    display: block;
    width: 100%;
}

.bnrSdgs:hover {
    transform: scale(1.05);
}

/*ページ共通*/

#content {
    font-size: 16px;
    font-size: 1.6rem;
}

#worksNav {}

#worksNav ul {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

#worksNav ul li {
    display: flex;
    width: 100%;
    list-style: none;
    font-size: 14px;
    font-size: 1.4rem;
    text-align: center;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
}

#worksNav ul li.active {
    position: relative;
}

#worksNav ul li.active: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;
}

#worksNav ul li.WNsurvey {
    background: rgba(110, 185, 209, 1);
}

#worksNav ul li.WNsurvey.active:after {
    border-top: 10px solid rgba(110, 185, 209, 1);
}

#worksNav ul li.WNthinning {
    background: rgba(232, 216, 47, 1);
}

#worksNav ul li.WNthinning.active:after {
    border-top: 10px solid rgba(232, 216, 47, 1);
}

#worksNav ul li.WNinheritance {
    background: rgba(58, 201, 142, 1);
}

#worksNav ul li.WNinheritance.active:after {
    border-top: 10px solid rgba(58, 201, 142, 1);
}

#worksNav ul li a {
    display: flex;
    width: 100%;
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
    text-align: center;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    transition: .5s;
}

#worksNav ul li a:hover {
    background: rgba(255, 255, 255, 0.3);
    letter-spacing: 5px;
}

#worksNav ul li.active a:hover {
    background: none;
    letter-spacing: 0px;
}

#worksNav ul li img {
    width: auto;
    height: 2.5rem;
    margin-right: 5px;
    line-height: 0;
}


/*footer*/

footer {
    background: url(images/wood.jpg) center center;
    background-size: cover;
    padding: 15px 0;
    text-align: center;
}

footer p {
    margin: 0;
    padding: 0;
}

.ftTel,
.ftTelft {
    display: none;
}

address {
    font-style: normal;
}

.footer_inner {
    position: relative;
    max-width: 1080px;
    margin: auto;
    padding: 5px 40px;
    box-sizing: border-box;
}

.ft_sns ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 30px 0 0;
    gap: 20px;
}

.ft_sns ul li {
    font-size: 24px;
}

.ft_sns ul li a {
    padding: 3px;
    line-height: 1;
}

/*works*/

#worksHd.errBg {
    background: url(images/bg_err.jpg);
    background-size: 100%;
    background-position: bottom center;
    height: 500px;
}

#worksHd {
    display: table;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 544px;
}

#worksHd h1 {
    display: table-cell;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 36px;
    font-size: 3.6rem;
    text-align: center;
    line-height: 1;
    vertical-align: middle;
    text-shadow: 0px 0px 5px #000;
}

.second .the-content {
    background: #fff;
    padding-bottom: 60px;
}

.the-content .inner {
    max-width: 1080px;
    margin: auto;
    padding: 5px 40px;
    box-sizing: border-box;
}

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

.the-content .inner h2 {
    margin: 50px 0 25px;
    border-bottom: solid 1px #204F36;
    font-size: 24px;
    font-size: 2.4rem;
}

.the-content .inner h3 {
    margin: 25px 0;
    border-bottom: dotted 1px #204F36;
    font-size: 18px;
    font-size: 1.8rem;
}

.the-content .inner h4 {
    margin: 25px 0;
    font-size: 16px;
    font-size: 1.6rem;
}

.the-content .inner h4::before {
    content: '■ ';
    color: #7FB71C;
}

.the-content .inner p {
    margin-bottom: 20px;
    line-height: 1.8;
}

#junbi,
#flow {
    margin-top: 50px;
}

#junbi ul.ininjyou {
    margin: 20px 0 40px;
}

#junbi ul.ininjyou li {
    list-style: none;
}

#junbi ul.ininjyou li a {
    color: #6EB9D1;
    text-decoration: none;
}

#junbi ul.ininjyou li a:hover {
    text-decoration: underline;
}

#junbi ul.ininjyou li a::after {
    content: '\f1c1';
    font-family: FontAwesome;
    color: #C11E07;
    text-decoration: none;
}

#flow ol {
    padding: 0 20px;
}

#flow ol li {
    position: relative;
    display: table;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

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

#flow ol li .number {
    display: table-cell;
    width: 68px;
    vertical-align: middle;
}

#flow ol li .number img {
    display: block;
}

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

#flow ol li h3 {
    margin: 0 0 8px;
    padding-bottom: 5px;
    border-bottom: solid 1px #999;
}

#flow ol li p {
    margin: 0;
}

#flow ol li:nth-child(1) {
    background: #F9C7C7;
}

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

#flow ol li:nth-child(2) {
    background: #F9F7C7;
}

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

#flow ol li:nth-child(3) {
    background: #E0F9C7;
}

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

#flow ol li:nth-child(4) {
    background: #C7F1F9;
}

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

#flow ol li:nth-child(5) {
    background: #D3DBF9;
}

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

#flow ol li:nth-child(6) {
    background: #F9DBD3;
}

#flow ol li:last-of-type:after {
    display: none;
}

#contactArea {
    margin-top: 10px;
    padding: 20px 20px 0;
    text-align: center;
}

#contactArea a {
    background: #FF901E;
    display: block;
    width: 50%;
    margin: 10px auto 0;
    padding: 8px;
    font-size: 20px;
    font-size: 2.0rem;
    font-weight: bold;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

#contactArea a span {
    display: block;
    padding: 10px 0;
    border: solid 3px #fff;
    border-radius: 5px;
}


/*torikumi*/

.torikumi {
    overflow: hidden;
}

.torikumiPhoto {
    float: left;
    width: 30.4%;
}

.torikumiPhoto img {
    max-width: 100%;
    height: auto;
}

.torikumiPhoto .torikumiSdgs {
    margin-top: 20px;
}

.torikumiPhoto .torikumiSdgs a img {
    transition: 0.3s;
}

.torikumiPhoto .torikumiSdgs a:hover img {
    opacity: 0.5;
}

.torikimiTxt {
    float: right;
    width: 65%;
}

.torikumi p {
    margin-top: 0;
}

.torikumi p:last-of-type {
    margin: 0;
}

.torikumiRight {
    text-align: right;
}


/*company*/

.outline {
    margin-bottom: 50px;
}

.outline table,
.outline th,
.outline td {
    border: solid 1px #eee;
    border-collapse: collapse;
    vertical-align: top;
    box-sizing: border-box;
}

.outline table {
    width: 100%;
}

.outline th,
.outline td {
    padding: 1em;
}

.outline th {
    width: 20%;
    font-weight: normal;
    text-align: left;
}

.outline tr:nth-child(odd) {
    background: #F9F9F9;
}

.access table {
    margin-bottom: 10px;
}

.access th {
    padding-right: 1em;
}

.gmapWrap {
    position: relative;
    height: 315px;
    margin-bottom: 40px;
    overflow: hidden;
}

.gmapWrap:last-of-type {
    margin-bottom: 0;
}

.gmap {
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.gmap iframe,
.gmap object,
.gmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*contact*/

.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: table-row;
    width: 100%;
}

.formTh {
    display: table-cell;
    width: 20%;
    vertical-align: middle;
}

.formTh span {
    color: #ff0000;
}

.formTd {
    display: table-cell;
}

.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'] {
    position: relative;
    display: block;
    background: #FF901E;
    width: 20%;
    margin: auto;
    cursor: pointer;
    color: #fff;
}

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

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

.address-item {
    margin-bottom: 15px;
}

.address-item-ttl {
    margin-bottom: 5px;
}

.address-item-ttl span {
    color: #ff0000;
}

.formTable select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: white url('./images/select-bg.svg') no-repeat calc( 100% - 0.8em ) center;
    background-size: 16px auto;
    padding: 8px;
    border: solid 1px #f0f0f0;
    border-radius: 5px;
    font-size: 18px;
}

/*ローディング*/

.loader {
    background: url(images/wood.jpg);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.loader-animation {
    display: block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 45px;
    height: 45px;
    line-height: 0;
    color: #fff;
}

/*採用情報*/
#staff {
    margin-top: 3em;
}

.staff-unit {
    max-width: 950px;
    margin: 0 auto 2.5em;
}

.staff-item {
    margin-bottom: 0.5em;
}

.staff-unit .staff-item:last-of-type {
    margin-bottom: 0;
}

.staff-photo img {
    display: block;
    max-width: 100%;
}

.the-content .inner #staff h4 {
    margin: 0;
    font-size: 120%;
}

.staff-message {
    text-align: justify;
}

.not_recruit {
    text-align: center;
}
.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.5em;
}

.job-information-inner th {
    text-align: right;
    border-right: solid 1px lightgray;
}

.job-information-inner td p {
    margin: 0 0 0.5em;
}

.job-information-inner td p:last-of-type {
    margin-bottom: 0;
}

.gocontact {
    margin-top: 2.5em;
    text-align: center;
}

.button {
  display: block;
  width: 280px;
  height: 54px;
  margin: 1.5em auto 0;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
  font-size: 120%;
  font-weight: bold;
  color: #fff;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.button {
  position: relative;
  z-index: 2;
  background-color: #FF901E;
  border: 2px solid #fff;
  line-height: 48px;
}
.button::after {
  top: 4px;
  left: 4px;
  width: 268px;
  height: 42px;
  border: 2px solid #fff;
  opacity: 0;
}
.button:hover::after {
  opacity: 1;
}

@media screen and (max-width: 1200px) {
    #topFlex ul li,
    #topFlex ul li.survey .bgSurvey,
    #topFlex ul li.thinning .bgThinning,
    #topFlex ul li.inheritance .bgInheritance {
        min-height: 410px;
    }
    #topFlex ul li p {
        margin: 0 0 40px;
        font-size: 16px;
        font-size: 1.6rem;
    }
    .iconArea img {
        margin: 0 auto 40px;
    }
    #topFlex ul li h2 {
        font-size: 20px;
        font-size: 2.0rem;
    }
    #topFlex ul li .flexBtn {
        padding: 15px 30px;
        border: solid 1px #fff;
        font-size: 18px;
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1060px) {
    header .inner {
        padding: 0 20px;
    }
}

/*SDGs*/
.sdgs-icons {
    background-color: #FFF;
    padding: 60px 20px;
    border-bottom: solid 1px #000;
}

.sdgs-icons img {
    display: block;
    width: 100%;
    max-width: 815px;
    margin: auto;
}

.sdgs-contents-wrap {
    padding-top: 20px;
}

.sdgs-contents-wrap h1 {
    margin: 50px 0 25px;
    border-bottom: solid 1px #204F36;
    font-size: 24px;
    font-size: 2.4rem;
}

.sdgs-contents  {
    padding: 65px 0 80px;
    text-align: center;
}

.the-content .inner .sdgs-contents h2 {
    margin-top: 0;
    border-bottom: none;
    font-size: 30px;
    font-size: 3.0rem;
    text-align: center;
}

.sdgs-company {
    max-width: 570px;
    margin: auto;
}

.sdgs-company img {
    display: block;
    width: 100%;
}

.the-content .inner .sdgs-item {
    margin-bottom: 70px;
}

.the-content .inner .sdgs-item h3 {
    font-size: 30px;
    font-size: 3.0rem;
    border: none;
}

.the-content .inner .sdgs-item ul {
    display: flex;
    align-items: center;
    margin: 0 0 25px;
    padding: 0;
}

.the-content .inner .sdgs-item ul li {
    list-style: none;
    width: 150px;
    margin-right: 35px;
}

.the-content .inner .sdgs-item ul li img {
    width: 100%;
}

#boku_sdgs {
    background-color: #E4E4E4;
    margin-bottom: -60px;
    padding: 150px 20px;
}

.boku_sdgs_inner {
    max-width: 1000px;
    margin: auto;
}

#boku_sdgs h3 {
    margin: 0 0 80px;
    font-size: 18px;
    font-size: 1.8rem;
    text-align: center;
    font-weight: normal;
}

#boku_sdgs h2 {
    width: 30%;
    margin: 0 auto 40px;
}

#boku_sdgs h2 img {
    display: block;
    width: 100%;
}

.boku_mainphoto {
    margin-bottom: 50px;
}

.boku_mainphoto img {
    display: block;
    width: 100%;
}

#boku_sdgs h4 {
    margin-bottom: 120px;
    font-size: 25px;
    font-size: 2.5rem;
    text-align: center;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
}

#boku_sdgs .points {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#boku_sdgs .point-item {
    flex-basis: 45%;
}

#boku_sdgs .point-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-size: 2.0rem;
    font-weight: bold;
    text-align: center;
}

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

#boku_sdgs .point-item.point-item-full-size {
    flex-basis: 100%;
}

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

#boku_sdgs ul.shoplist {
    display: flex;
    margin: 0;
    padding: 0;
}

#boku_sdgs ul.shoplist li {
    list-style: none;
    margin: 0;
}

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

#boku_sdgs ul.shoplist li h4 {
    margin: 0 0 15px;
    font-size: 16px;
    font-size: 1.6rem;
    text-align: left;
}

#boku_sdgs ul.shoplist li .shop_detail {
    font-size: 14px;
    font-size: 1.4rem;
}

.grecaptcha-badge {
    visibility: hidden;
}

.cktext {
    background-color: #EEEEEE;
    padding: 10px;
    font-size: 12px;
    text-align: justify;
}

.privacy_ck .wpcf7-list-item {
    margin-left: 0;
    margin-bottom: 10px;
}

.formTable input[type=checkbox] {
    display: inline;
    width: auto;
}

.recaptcha {
    font-size: 12px;
    text-align: center;
}