@charset "UTF-8";
/* CSS Document */
@media screen and (max-width: 800px) {
  h1, h2, h3, h4, p {
    font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif;
  }
  #header {
    background: #fff;
    width: 100%;
    margin: auto;
    padding: 0 0 10px 0;
  }
  #header h1 img {
    max-width: 70%;
    margin: auto;
    display: block;
  }
  .header_title {
    width: 100%;
    margin: auto;
    background: #b1a080;
  }
  p.header_title_in {
    /*max-width: 1000px;*/
    text-align: center;
    margin: auto;
    color: #fff;
    font-size: 0.6em;
    line-height: 1.5;
    padding: 5px 0;
    margin-bottom: 1em;
  }
  .pankuzu {
    width: 90%;
    margin: auto;
    margin-bottom: 30px;
  }
  .pankuzu p {
    text-align: right !important;
    font-size: 60% !important;
  }
  .w1000 {
    width: 84%;
    margin: auto;
  }
  .w1000 h3, .kodawari h3 {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 1em;
  }
  .w1000 h3 span, .kodawari h3 span {
    font-size: 50%;
    font-weight: bold;
    color: #b1a080;
  }
  .font70 {
    font-size: 70%;
  }
  .m50 {
    margin-bottom: 50px;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  /*テーブル*/
  .w1000 table {
    width: 100%;
    margin-bottom: 30px;
    font-size: 70%;
  }
  .w1000 table th {
    padding: 1em 0 1em 0em;
  }
  .w1000 table td {
    padding: 1em 0 1em 1em;
    border-bottom: 1px solid #ccc;
  }
  .input_size {
    padding: 0.2em;
    width: 95%;
  }
  .input_size2 {
    padding: 0.2em;
    width: 95%;
  }
  .input_size3 {
    padding: 0.2em;
    width: 95%;
  }
  #privacy {
    height: 80px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 70%;
  }
  .input_area {
    width: 100%;
  }
  .button {
    display: block;
    padding: 10px 0;
    border: none;
    width: 100%;
  }
  .kodawari {
    padding: 30px 0;
    margin-bottom: 50px;
  }
  .kodawari_in {
    width: 84%;
    ;
    margin: auto;
  }
  .map {
    height: 250px;
    margin-bottom: 30px;
  }
  /*リクルートバナー*/
  .flex_recruitbox {
    display: flex;
    margin: 30px 0 50px 0;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    min-height: 0%;
  }
  .flex_recruitbox div {
    width: 100%;
    min-height: 0%;
  }
  .flex_recruitbox img {
    width: 100%;
  }
  .flex_recruitbox h4 {
    color: #fff;
    font-family: Helvetica, "sans-serif";
    font-size: 2em;
    font-weight: bold;
  }
  .flex_recruitbox p {
    width: 100%;
    font-size: 70%;
    color: #fff;
    text-align: justify;
  }
  .recuitbox_left {
    background: #b1a080;
    padding: 1.5em;
    box-sizing: border-box;
  }
  .recuitbox_left h4 {
    text-align: center;
  }
  .recuitbox_left p:first-of-type {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 0.5em;
  }
  .recuitbox_left p a {
    background-color: #fff;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 30px;
    margin-top: 1em;
    color: #b1a080;
    display: block;
    text-align: center;
    transition: all 0.5s;
  }
  .recuitbox_left p a:hover {
    opacity: 0.8;
  }
  /*************************************************/
  /*トップページ*/
  /*************************************************/
  #main_img {
    position: relative;
    margin-bottom: 3em;
  }
  #main_img .main_title {
    width: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    z-index: 5;
  }
  #main_img .main_title img {
    width: 100%;
  }
  #main_img .slider img {
    width: 100%;
    background-size: cover;
  }
  .slick-dots {
    display: none;
  }
  .index_service {
    background: #f7f5f2;
    margin-bottom: 50px;
  }
  .index_service_title {
    width: 100%;
    background: #b1a080;
  }
  .index_service_title_in {
    width: 84%;
    margin: auto;
    padding: 1.5em 0;
  }
  .index_service_title_in h2 {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
  }
  .index_service_title_in h2 span {
    font-size: 0.3em;
    color: #fff;
  }
  .index_service_in {
    width: 84%;
    margin: auto;
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    box-sizing: border-box;
    column-gap: 5%;
    border-bottom: 1px solid #fff;
  }
  .index_service_in.left {
    justify-content: flex-end;
  }
  .index_service_in div {
    width: 100%;
  }
  .index_service_in div.index_service_in_text p:last-of-type a, .index_service_in .child01 p:last-of-type a {
    color: #b1a080;
    margin-top: 20px;
    display: block;
    font-weight: bold;
  }
  .index_service_in div.index_service_in_text p:last-of-type a::before, .index_service_in .child01 p:last-of-type a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #b1a080;
    margin-right: 5px;
  }
  .index_service_in div p:first-of-type {
    background: #b1a080;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    text-align: center;
    display: inline;
    padding: 0.2em 1em;
    font-size: 80%;
  }
  .index_service_in h3 {
    font-size: 2.2em;
    font-weight: bold;
    margin: 10px 0 20px 0;
    position: relative;
  }
  .service_title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .index_service_in h3::after {
    content: "";
    display: block;
    width: 150px;
    height: 3px;
    background-color: #b1a080;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .index_service_in img {
    width: 100%;
  }
  .index_service_in p {
    font-size: 70%;
    margin-bottom: 10px;
  }
  .service_title {
    font-size: 100% !important;
  }
  .index_service_in .child01 {
    order: 0;
  }
  .flex_48 p.a_left {
    text-align: left !important;
  }
  ol.index_ol {
    counter-reset: cp_clist; /*数字をリセット*/
    list-style-type: none;
    padding: 0em;
    margin-bottom: 1em;
  }
  ol.index_ol li {
    position: relative;
    padding: 1em 0.5em 1em 30px;
    color: #b1a080;
    font-size: 1em;
    font-weight: bold;
    border-top: 1px solid #b1a080;
  }
  ol.index_ol li:last-of-type {
    border-bottom: 1px solid #b1a080;
  }
  ol.index_ol li::before {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 0;
    /* カウントさせる */
    counter-increment: cp_clist;
    content: counter(cp_clist);
    /*装飾*/
    padding: 0 0.0em 0 0.0em;
    background: #b1a080;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    transform: translateY(-50%);
  }
  .flex_48 p a {
    background-color: #b1a080;
    color: #fff;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 30px;
    transition: 0.3s;
  }
  .flex_48 p a:hover {
    opacity: 0.7;
    transition: 0.5s;
  }
  #sub_img {
    width: 100%;
    margin: auto;
    border-bottom: 3px solid #b1a080;
    border-top: 3px solid #b1a080;
    padding: 1.5em 0;
    text-align: center;
    margin-bottom: 10px;
  }
  #sub_img h2 {
    font-size: 25px;
    font-weight: bold;
    color: #b1a080;
  }
  #sub_img p {
    font-size: 12px;
  }
  /*会社案内*/
  .flex_48 {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 0;
  }
  .flex_48 > div {
    width: 100%;
  }
  .flex_48 img {
    width: 100%;
    margin-bottom: 20px;
  }
  .flex_48 p {
    margin-bottom: 2em;
    line-height: 1.8;
  }
  .flex_48 p:first-of-type {
    font-size: 70%;
  }
  .flex_48 p:last-of-type {
    font-weight: bold;
    text-align: center;
  }
  .company_flex {
    margin-bottom: 30px;
  }
  .company_flex p {
    font-size: 70%;
  }
  .company_flex img {
    margin-bottom: 5px;
  }
  .company_flex div {
    width: 49%;
    margin-bottom: 1em;
  }
  /*由来*/
  #yurai {
    width: 100%;
    margin: auto;
    background: url("../img/haikei_yurai.jpg") no-repeat;
    background-size: cover;
    background-position: 50%;
    position: relative;
    margin-bottom: 50px;
    padding: 30px 0;
    height: 100%;
  }
  .yurai_in {
    width: 84%;
    margin: auto;
  }
  .yurai_in h3 {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #fff;
    font-weight: bold;
  }
  .yurai_in h3 span {
    font-size: 50%;
    font-weight: bold;
    color: #b1a080;
    color: #fff;
  }
  .yurai_flex {
    display: block;
    column-gap: 10%;
    z-index: 100 !important;
  }
  .yurai_flex img {
    width: 80%;
    padding-left: 10%;
    margin-bottom: 20px;
  }
  .yurai_flex p {
    color: #fff;
    font-size: 70%;
  }
  .yurai_flex .child_2 p:first-of-type {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 1em;
  }
  .yurai_flex .child_2 p:last-of-type {
    margin-top: 1em;
    font-size: 70%;
  }
  .yurai_flex .child_1 {
    width: 100%;
  }
  .yurai_flex .child_2 {
    width: 100%;
  }
  /*事業内容*/
  .kodawari_flex {
    display: flex;
    flex-direction: column-reverse;
  }
  .kodawari_flex div {
    width: 100%;
  }
  .kodawari_flex img {
    width: 100%;
    margin-bottom: 10px;
  }
  .kodawari_ol {
    counter-reset: cp_clist; /*数字をリセット*/
    list-style-type: none;
    padding: 0em;
    margin-bottom: 1em;
  }
  .kodawari_ol li {
    position: relative;
    padding: 1em 0.5em 1.2em 35px;
    color: #b1a080;
    font-size: 1em;
    font-weight: bold;
    border-top: 1px solid #b1a080;
  }
  .kodawari_ol li:last-of-type {
    border-bottom: 1px solid #b1a080;
  }
  .kodawari_ol li::before {
    position: absolute;
    display: inline-block;
    top: 27%;
    left: 0;
    /* カウントさせる */
    counter-increment: cp_clist;
    content: counter(cp_clist);
    /*装飾*/
    padding: 0 0.0em 0 0.0em;
    background: #b1a080;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    transform: translateY(-50%);
  }
  .kodawari_ol p {
    font-weight: normal;
    font-size: 70%;
    line-height: 1.5 !important;
  }
  .service_area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin: 0 auto 20px auto;
    background: #b1a080;
  }
  .service_area h3 {
    font-size: 1.5em;
    margin-bottom: 0.8em;
  }
  .service_area h3::before {
    content: "－";
  }
  .text-area p:first-of-type {
    color: #fff;
    font-size: 80%;
    margin-bottom: 1em;
    font-weight: bold;
  }
  .text-area p {
    font-size: 70%;
    margin-bottom: 1.5em;
  }
  .text-area p a {
    padding: 0.2em 2.5em;
  }
  .service_area {
    flex-direction: column;
  }
  .service_area .left {
    width: 84%;
    padding: 30px 0 0 0;
    margin-bottom: 10px;
  }
  .service_area .right img {
    width: 100% !important;
    height: 100% !important;
  }
  /*
  「position: static;」で absolute を解除する
  */
  .service_area .left .text-area {
    position: static;
  }
  /*
  スマホ表示の場合は画像を四角にするため、
  clip-pathにnoneを設定して斜めの設定をリセットする
  */
  .service_area .right {
    width: 100%;
    clip-path: none;
  }
  /*工事実績*/
  .works_box {
    margin-bottom: 50px;
  }
  .works_box p:first-of-type {
    font-size: 120%;
  }
  .works_box p {
    font-size: 70%;
  }
  .works_flex {
    margin-top: 20px;
    display: block;
  }
  .works_flex img {
    width: 100%;
    margin-bottom: 10px;
  }
  .works_sonota {
    padding: 30px 0;
    margin-bottom: 30px;
  }
  .works_sonota p:first-of-type {
    text-align: center;
    margin-bottom: 1em;
    font-size: 100%;
    font-weight: bold;
    color: #b1a080;
  }
  .works_sonota p {
    width: 80%;
    margin: auto;
    font-size: 70%;
  }
  .max_w_banner {
    width: 100%;
    display: block;
    margin: auto;
    font-weight: bold;
    align-items: center !important;
  }
  .max_w_banner div {
    width: 100%;
    transition-duration: 1s;
  }
  .banner_left {
    background-image: url("../img/banner_left.jpg");
    background-size: cover;
    background-position: bottom;
  }
  .banner_right {
    background-image: url("../img/banner_right.jpg");
    background-size: cover;
    background-position: bottom;
  }
  .banner_left::after, .banner_right::after {
    content: '';
    background-color: rgba(35, 24, 21, .3);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }
  .banner_left p, .banner_right p {
    margin: 0;
    font-size: 3.0em;
    color: #FFF;
    font-weight: bold;
    position: relative;
    top: 30%;
    z-index: 1;
    font-family: Helvetica, "sans-serif";
  }
  .banner_left p span, .banner_right p span {
    color: #fff;
    font-size: 0.5em;
  }
  .banner_left, .banner_right {
    position: relative;
  }
  .banner_left a, .banner_right a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
  }
  .banner_left:hover, .banner_right:hover {
    opacity: 0.7;
  }
  .banner_left, .banner_right, .banner_works, .banner_recruit {
    wight: 100%;
    height: 100%;
    position: relative;
    padding: 5em 2em;
    box-sizing: border-box;
  }
  .banner_left p, .banner_right p, .banner_works p, .banner_recruit p {
    margin: 0;
    font-size: 150%;
    color: #FFF;
    font-weight: bold;
    position: relative;
    z-index: 1;
    font-family: Helvetica, "sans-serif";
  }
  .banner_recruit {
    background-position: top;
  }
  /*採用*/
  .recruit_flex1 {
    width: 100%;
    ;
    display: flex;
    margin-bottom: 30px;
  }
  .recruit_flex1 img {
    width: 90%;
  }
  .greet {
    font-size: 70%;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .flex_recruit {
    display: flex;
    flex-direction: column-reverse;
  }
  .flex_recruit div:first-of-type {
    width: 100%;
  }
  .flex_recruit div:last-of-type {
    width: 100%;
  }
  .flex_recruit img {
    width: 80%;
    margin-bottom: 30px;
  }
  .flex_recruit p {
    font-size: 70%;
    margin-bottom: 1em;
    text-align: justify;
  }
  .flex_recruit p:last-of-type {
    font-weight: bold;
    text-align: right;
    margin-bottom: 20px;
  }
  .recruit_contact {
    display: block;
    text-align: center;
  }
  .recruit_contact a {
    font-size: 1em;
    font-weight: bold;
    padding: 1em 2em;
    display: block;
  }
  .haikei2 {
    background: url("../img/haikei_1.png")no-repeat;
    background-position: bottom;
  }
  /*お問い合わせ*/
  .tel_flex {
    display: block;
    padding: 20px;
    margin-bottom: 50px;
    text-align: center;
  }
  .tel_flex span {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 2px;
  }
  .tel_flex .tel_time {
    color: #b1a080;
    font-size: 90%;
    font-weight: bold;
    letter-spacing: 2px;
  }
  #formWrap {
    padding: 20px;
    margin: 20px 0 50px 0;
  }
  #formWrap p {
    font-size: 70%;
    margin-bottom: 10px;
  }
  /*共通コンテンツ*/
  /***************************************************/
  #none {
    display: none;
  }
  .none {
    display: none;
  }
  /*フッター*/
  #footer .foot_logo img {
    max-width: 280px;
    margin-bottom: 10px;
  }
  .footer_in {
    padding: 40px 0;
  }
  #footer .foot_logo img {
    max-width: 320px;
    margin-bottom: 10px;
  }
  #footer p {
    text-align: center;
    font-size: 0.9em;
  }
  .footer_in {
    width: 90%;
    margin: auto;
    padding: 40px 0 10px 0;
  }
  #footer ul {
    display: none;
  }
  #footer p.copy {
    text-align: center;
    font-size: 0.5em;
    color: #b1a080;
    padding: 20px 0;
  }
  #page-top {
    position: fixed;
    bottom: 0;
    right: 0;
    font-size: 60%;
  }
  #page-top a {
    background: #8e7d65;
    text-decoration: none;
    color: #fff;
    width: 60px;
    padding: 20px 0;
    text-align: center;
    display: block;
    /*border-radius: 100px;*/
  }
  #page-top a:hover {
    text-decoration: none;
    background: #999;
  }
}