@charset "UTF-8";
/* 幅960px以下からcss適応 */
@media only screen and (max-width: 960px) {
  /* 共通 */
  body {
    background: none;
  }
  #wrap {
    width: 100%;
    max-width: 960px;
  }
  /* ヘッダー */
  #header {
    display: none;
  }
  #sp_head {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../images/common/bg_sphead.png") repeat-x left top;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    padding: 16px 2.5%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
  }
  .sp_logo {
    display: block;
    line-height: 0;
  }
  .sp_logo img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 68px;
  }
  /* ハンバーガーメニュー */
  .sp_hummenu {
    position: absolute;
    right: 2.5%;
  }
  .hum_menu_obtn {
    background: none;
    border: none;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.05em;
    display: block;
    position: relative;
    top: 0;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  .hum_menu_obtn_bar {
    position: relative;
    width: 100%;
    border-top: 3px solid #fff;
    padding: 5px 0px 0;
  }
  .hum_menu_obtn_bar:before,
  .hum_menu_obtn_bar:after {
    content: "";
    display: block;
    border-top: 3px solid #fff;
    padding: 5px 0 0;
  }
  .hum_menu_obtn span {
    position: relative;
    width: 100%;
    display: block;
    top: 0;
    line-height: 1;
    color: #fff;
  }
  .hum_menu_nav {
    background: rgba(255, 255, 255, 0.98);
    height: 100%;
    left: 100%;
    position: fixed;
    top: 0;
    transition-duration: 0.3s;
    transition-property: left;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    width: 100%;
    color: #000;
  }
  .hum_menu_nav.clicked {
    left: 0;
    overflow: scroll;
    z-index: 9999;
  }
  .hum_menu_nav_close {
    padding: 15px 0;
  }
  .hum_menu_cbtn {
    background: rgba(64, 166, 41, 0);
    border: none;
    color: #000;
    padding: 0;
    font-weight: bold;
    letter-spacing: 0.05em;
    display: block;
    position: absolute;
    top: 25px;
    right: 17px;
  }
  .hum_menu_cbtn_bar {
    position: relative;
    top: 0;
    width: 100%;
    padding: 5px 0 0;
  }
  .hum_menu_cbtn_bar:before,
  .hum_menu_cbtn_bar:after {
    content: "";
    display: block;
    border-top: 3px solid #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: 3px;
  }
  .hum_menu_cbtn_bar:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-top: -3px;
    margin-bottom: 15px;
  }
  .hum_menu_nav_menu {
    margin-top: 55px;
    margin-bottom: 30px;
  }
  .hum_menu_nav_menu ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    border-top: 1px solid #000;
  }
  .hum_menu_nav_menu li {
    color: #000;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #000;
    line-height: 1.5;
    font-size: 0.85em;
    font-weight: bold;
    position: relative;
    text-align: center;
  }
  .hum_menu_nav_menu li:nth-child(2n+1) {
    width: 100%;
    border-bottom: 1px solid #000;
  }
  .hum_menu_nav_menu li a {
    font-size: 14px;
  }
  .hum_menu_nav_menu li a:after {
    content: "";
    position: absolute;
    right: 15px;
    width: 8px;
    height: 8px;
    margin-top: 4px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: transform 0.3s linear 0s;
    transition: transform 0.3s linear 0s;
  }
  .hum_menu_nav_menu li a.more_on:after {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .hum_menu_nav_menu li.sp_nav_more_wrap a {
    padding: 18px 0;
  }
  .hum_menu_nav_menu ul.sp_nav_more {
    border-top: none;
  }
  .hum_menu_nav_menu ul.sp_nav_more li {
    text-align: right;
    padding: 10px 15px 0;
    font-size: 1.05em;
    border-bottom: none;
    background: rgba(0, 0, 0, 0.05);
  }
  .hum_menu_nav_menu ul.sp_nav_more li:last-child {
    border-bottom: none;
    padding-bottom: 10px;
  }
  .hum_menu_nav_menu ul.sp_nav_more li:after {
    content: none;
  }
  .hum_menu_nav_menu ul.sp_nav_more li a {
    padding: 5px 0;
    text-align: center;
  }
  .hum_menu_nav_menu ul.sp_nav_more li a:after {
    content: none;
  }
  .sp_nav_more_o {
    display: none;
    width: calc(200% + 2px);
  }
  .sp_nav_more_r {
    position: relative;
    left: -100%;
    width: 200%;
  }
  .sp_nav_more_o ul {
    position: relative;
    top: 15px;
    background: #6fbd5f;
    z-index: 9999;
  }
  .sp_nav_more_o ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
    font-size: 1em;
    position: relative;
    z-index: 99999;
    font-size: 0.9em;
  }
  .sp_nav_more_o ul li:last-child {
    border-bottom: none;
  }
  .hum_menu_nav_menu li a {
    display: block;
    color: #000;
    margin-left: 5px;
    text-align: center;
    text-decoration: none;
    padding: 18px 0;
  }
  .hum_menu_nav_menu li span {
    display: block;
    font-weight: normal;
    font-size: 0.8em;
  }
  .hum_menu_contact {
    color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 50px 5px 15px;
  }
  .hum_menu_contact a {
    margin: 0;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    padding: 8px;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .hum_menu_contact a.h_menu_contact,
  .hum_menu_contact a.h_menu_tel {
    text-align: center;
    background: #d80c18;
    color: #fff;
  }
  .h_menu_tel {
    background: #df9814 !important;
  }
  .h_menu_contact {
    background: #477c1c !important;
  }
  .hum_menu_contact p {
    margin: 0;
    display: block;
    width: 48%;
    max-width: 200px;
  }
  .hum_menu_contact p:last-of-type {
    margin-bottom: 0;
    margin-left: 16px;
  }
  .h_menu_tel .fas {
    font-size: 1.2em;
    margin-right: 3px;
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
  }
  .h_menu_contact .fas {
    font-size: 1.2em;
    margin-right: 5px;
  }
  .hum_open_bg_display.active {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    left: 0;
    top: 0;
    z-index: 1000;
  }
  .hum_menu_info_ttl {
    font-size: 1em;
    text-align: center;
    font-weight: bold;
    padding-bottom: 5px;
  }
  .hum_menu_info_wrap {
    width: calc(100% - 20px);
    padding: 15px 10px;
    border-bottom: 1px solid;
    text-align: center;
  }
  .hum_menu_info_name {
    font-size: 1em;
    font-weight: bold;
    line-height: 1.5;
  }
  .hum_menu_info_tel {
    margin: 0;
    font-size: 1.3em;
    line-height: 1.5;
    position: relative;
    font-style: italic;
  }
  .hum_menu_info_tel i {
    font-size: 1em;
    transform: rotate(-45deg);
    margin-right: 3px;
    line-height: 1;
    position: relative;
    top: -2px;
  }
  .hum_menu_info_open {
    font-size: 0.8em;
    line-height: 1.5;
  }
  .hum_menu_sns ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    border-top: none !important;
  }
  .hum_menu_sns ul li {
    width: auto !important;
    border-bottom: none !important;
    margin-right: 12px;
  }
  .hum_menu_sns ul li:last-of-type {
    margin-right: 0;
  }
  .hum_menu_sns ul li a {
    padding: 10px 5px;
  }
  .hum_menu_sns ul li a img {
    width: auto;
    max-width: 32px;
    height: auto;
  }
  .hum_menu_sns ul li a:after {
    content: none !important;
  }
  /* ここまで */
  /* common */
  #cont {
    width: 95%;
    margin: 25px auto 0;
  }
  #cont #side {
    display: none;
  }
  #cont #main {
    width: 100%;
    max-width: 730px;
    float: none;
    margin: 0 auto;
  }
  #pagetop {
    position: fixed;
    right: 2.5%;
    bottom: 24px;
    margin-bottom: 0;
    line-height: 0;
  }
  #footer-wrap {
    background-size: cover;
    box-sizing: border-box;
  }
  #footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  #footer .f_logo,
  #footer .f_menu {
    width: 100%;
    text-align: center;
  }
  #footer .f_menu {
    order: 1;
  }
  #footer .f_logo {
    order: 2;
  }
  #footer .f_logo img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  #footer .footer_conts02{
    width: 95%;
    margin: 0 auto;
  }
  #footer .footer_conts02 .footer_bnr{
    width: 70vw;
    max-width: 320px;
  }
  #footer p.cr {
    display: block;
    text-align: center;
    box-sizing: border-box;
    padding: 0 2.5%;
    line-height: 1.8;
    order: 3;
  }
  #footer .footer_conts02 p.cr{
    text-align: left;
  }
  #footer .f-l,
  #footer .f-r {
    float: none;
  }
  .footer-navi {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
  }
  .footer-navi li {
    float: none;
    margin-right: 16px;
    margin-bottom: 12px;
  }
  .footer-navi li:last-of-type {
    border-right: none;
    margin-right: 0;
  }
  /* トップページ */
  #main-image {
    margin-top: 100px;
  }
  #main-image img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  /* 下層ページ */
  #second #cont {
    margin-top: 120px;
  }
}

/* 幅767px以下からcss適応 */
@media only screen and (max-width: 767px) {
  /* トップページ */
  .top_conts-l,
  .top_conts-r {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .top_conts-l {
    float: none;
  }
  .top_conts-l .inner {
    display: flex;
    justify-content: center;
  }
  .top_conts-l .inner p {
    margin-right: 12px;
  }
  .top_conts-l .inner p:last-of-type {
    margin-right: 0;
  }
  .top_conts-l .inner .f-l,
  .top_conts-l .inner .f-r {
    float: none;
  }
  .top_conts-r {
    float: none;
  }
  .top_conts h2 {
    display: block;
    width: 100%;
    clear: both;
    box-sizing: border-box;
  }
  .top_conts .top_conts-textarea {
    display: flex;
    flex-direction: row-reverse;
  }
  .top_conts .top_conts-textarea .inner {
    margin-right: 16px;
  }
  .top_proimise {
    counter-reset: num;
  }
  .top_proimise .top_proimiseconts h3 {
    font-size: 16px;
    font-family: "ＭＳ Ｐ明朝", "細明朝体", "ヒラギノ明朝 Pro W3", 'Noto Serif JP', serif;
    font-weight: bold;
    position: relative;
    padding-left: 32px;
    min-height: 24px;
    margin-bottom: 10px;
  }
  .top_proimise .top_proimiseconts h3:before {
    content: counter(num);
    counter-increment: num;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: #78943b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
  }
  /* 施工事例 */
  .w-case {
    width: 100%;
    max-width: 753px;
    display: flex;
    flex-wrap: wrap;
  }
  .w-case p {
    width: calc(100% / 3 - 12px);
    margin-right: 18px;
    margin-bottom: 12px;
    float: none;
    height: auto;
  }
  .w-case p:nth-of-type(3n) {
    margin-right: 0;
  }
  .w-case p a img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  /* 施工事例　詳細ページ */
  .w-case2 {
    width: 100%;
    max-width: 750px;
    display: flex;
    flex-wrap: wrap;
  }
  .w-case2 p {
    width: calc(100% / 4 - 12px);
    margin-right: 16px;
    margin-bottom: 16px;
    float: none;
    height: auto;
    line-height: 0;
  }
  .w-case2 p:nth-of-type(4n) {
    margin-right: 0;
  }
  .w-case2 p a img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  /* お客様の声 */
  .v-case {
    width: 100%;
    max-width: 753px;
    display: flex;
    flex-wrap: wrap;
  }
  .v-case p {
    width: calc(100% / 3 - 12px);
    margin-right: 18px;
    margin-bottom: 12px;
    float: none;
    height: auto;
  }
  .v-case p:nth-of-type(3n) {
    margin-right: 0;
  }
  .v-case p a img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}

/* 幅680px以下からcss適応 */
@media only screen and (max-width: 680px) {
  /* 共通 */
  #sp_head {
    padding: 0 2.5%;
    height: 72px;
  }
  .sp_logo img {
    max-height: 48px;
  }
  .hum_menu_obtn {
    transform: scale(1);
  }
  .section h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 6px;
    line-height: 1.5;
    background-position: 0 10px;
  }
  .hum_menu_nav_menu .hum_menu_contact {
    margin-bottom: 20px;
  }
  .hum_menu_nav_menu ul li a {
    padding: 15px 0;
    margin-left: 0;
  }
  .hum_menu_contact p a {
    font-size: 12px;
  }
  .hum_menu_contact p:last-of-type {
    margin-left: 8px;
  }
  /* トップページ */
  #main-image {
    margin-top: 72px;
  }
  #main-image .mainimage_pc {
    display: none;
  }
  #main-image .mainimage_sp {
    display: block;
  }
  .top_conts .top_conts-textarea {
    flex-direction: column;
  }
  .top_conts .top_conts-textarea .inner {
    margin-top: 8px;
  }
  .top_conts .top_conts-textarea .inner img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  .top_conts .top_conts-textarea02 .inner {
    display: flex;
    flex-direction: column-reverse;
  }
  .top_conts .top_conts-textarea02 .inner .img {
    float: none;
    margin-top: 8px;
    text-align: center;
  }
  .top_proimiseconts .img02 img {
    width: 32vw;
    max-width: 160px;
    height: auto;
  }
  .top_proimiseconts .ohz {
    overflow: visible;
  }
  /* フッター */
  #footer-wrap {
    margin-top: 0;
    padding: 0 0 24px;
    box-sizing: border-box;
    margin-bottom: 61px;
  }
  #footer {
    position: relative;
    padding-top: 0;
    margin-top: 0;
  }
  #footer .f_menu .footer-navi {
    display: flex;
    flex-wrap: wrap;
  }
  #footer .f_menu .footer-navi li {
    width: calc(100% / 3);
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border-right: 1px solid #160a02;
    border-bottom: 1px solid #160a02;
  }
  #footer .f_menu .footer-navi li:nth-of-type(3n) {
    border-right: none;
  }
  #footer .f_menu .footer-navi li:nth-last-of-type(1), #footer .f_menu .footer-navi li:nth-last-of-type(2), #footer .f_menu .footer-navi li:nth-last-of-type(3) {
    border-bottom: none;
  }
  #footer .f_menu .footer-navi li a {
    display: block;
    background: #281e18;
    box-sizing: border-box;
    padding: 10px 2px;
    font-size: 3vw;
  }
  #footer .footer_conts02{
    margin-top: 20px;
    flex-direction: column;
  }
  #footer .footer_conts02 .footer_bnr{
    width: 95%;
    text-align: center;
    margin: 0 auto 10px;
  }
  #footer .f_logo {
    padding: 0 5%;
    box-sizing: border-box;
    margin: 12px auto;
  }
  #footer p.cr {
    text-align: left;
    margin-right: 64px;
  }
  #pagetop {
    bottom: 90px;
    transition: opacity 0.25s linear 0s;
  }
  #sp_footbar {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
  }
  #sp_footbar .sp_footbar-conts {
    width: 50%;
    box-sizing: border-box;
    padding: 8px;
    display: flex;
    justify-content: center;
  }
  #sp_footbar .sp_footbar-conts a {
    display: flex;
    color: #fff;
    text-decoration: none;
  }
  #sp_footbar .sp_footbar-conts a figure {
    display: flex;
    align-items: center;
  }
  #sp_footbar .sp_footbar-conts a figure img {
    width: auto;
    max-width: 25px;
    height: auto;
  }
  #sp_footbar .sp_footbar-conts a .sp_footbar_text_wrap {
    text-align: left;
    margin-left: 3vw;
  }
  #sp_footbar .sp_footbar-conts a .sp_footbar_text_wrap p {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.4;
  }
  #sp_footbar .sp_footbar_tel {
    background: #df9814;
  }
  #sp_footbar .sp_footbar_form {
    background: #477c1c;
  }
  /* 下層ページ */
  #second #cont {
    margin-top: 100px;
  }
  #second #cont .inner .img02 {
    line-height: 0;
  }
  #second #cont .inner .img02 img {
    width: 32vw;
    max-width: 250px;
    height: auto;
  }
  #second #cont .inner .img02.waku {
    padding: 3px;
  }
  #second #cont .nt-c {
    display: block;
  }
  #second #cont .nt-c tbody {
    display: block;
  }
  #second #cont .nt-c tbody tr {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    box-sizing: border-box;
  }
  #second #cont .nt-c tbody tr:first-of-type {
    border-top: none;
  }
  #second #cont .nt-c tbody tr td {
    display: block;
    width: 100%;
    text-align: left;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
    padding: 8px;
  }
  #second #cont .nt-c tbody tr td.last {
    border-bottom: 1px solid #ddd;
  }
  #second #cont .nt-c tbody tr td.none {
    display: none;
  }
  ul.pan {
    display: none;
  }
  h2.page-title {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #ddd;
    position: relative;
    background: none;
    padding-top: 0;
    padding-left: 24px;
    padding-bottom: 8px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 20px;
  }
  h2.page-title:before {
    content: "";
    width: 0;
    height: calc(100% - 8px);
    border-left: 8px solid #7b9241;
    position: absolute;
    left: 4px;
    top: 0;
    margin-bottom: 4px;
  }
  /* 当社のこだわり */
  #second.feature .section .img img,
  #second.feature .section .img02 img {
    width: 32vw;
    max-width: 180px;
    height: auto;
  }
  /* 料金 */
  .price-t tbody tr th {
    text-align: left;
  }
  .price-t tbody tr th span.f10 {
    line-height: 1;
  }
  /* 施工事例 */
  .w-case p {
    width: calc(100% / 2 - 6px);
    margin-right: 12px;
    margin-bottom: 16px;
  }
  .w-case p:nth-of-type(3n) {
    margin-right: 12px;
  }
  .w-case p:nth-of-type(2n) {
    margin-right: 0;
  }
  /* 施工事例　詳細ページ */
  #second.works_single .price-t {
    display: block;
  }
  #second.works_single .price-t tbody {
    display: block;
  }
  #second.works_single .price-t tbody tr {
    display: flex;
    flex-wrap: wrap;
  }
  #second.works_single .price-t tbody tr th,
  #second.works_single .price-t tbody tr td {
    display: block;
    box-sizing: border-box;
    border-top: 1px solid #f5f5f5;
    padding: 8px;
  }
  #second.works_single .price-t tbody tr th:last-of-type,
  #second.works_single .price-t tbody tr td:last-of-type {
    border-bottom: 1px solid #f5f5f5;
  }
  #second.works_single .price-t tbody tr th {
    width: 8em;
    text-align: center;
  }
  #second.works_single .price-t tbody tr td {
    width: calc(100% - 8em);
    border-right: 1px solid #f5f5f5;
  }
  .w-case2 p {
    width: calc(100% / 3 - 8px);
    max-width: 167px;
    margin-right: 12px;
    margin-bottom: 12px;
  }
  .w-case2 p:nth-of-type(4n) {
    margin-right: 12px;
  }
  .w-case2 p:nth-of-type(3n) {
    margin-right: 0;
  }
  /* 施工の流れ */
  #second.flow .img.waku {
    padding: 3px;
    line-height: 0;
    margin-right: 12px;
  }
  #second.flow .img.waku img {
    width: 32vw;
    max-width: 200px;
    height: auto;
  }
  #second.flow h3.flow {
    font-size: 16px;
  }
  /* お客様の声 */
  .v-case p {
    width: calc(100% / 2 - 6px);
    margin-right: 12px;
    margin-bottom: 16px;
  }
  .v-case p:nth-of-type(3n) {
    margin-right: 12px;
  }
  .v-case p:nth-of-type(2n) {
    margin-right: 0;
  }
  /* 会社概要 */
  #second.company .nt tbody tr th {
    width: 8em;
  }
  .company_conts{
    margin-bottom: 20px;
  }
  .company_message{
    flex-direction: column;
  }
  .company_message-img{
    line-height: 0;
    margin: 0 auto 20px;
  }
  .company_message-text{
    width: 100%;
    margin: 0 auto;
  }
  /* お問い合わせ */
  #mailform table {
    display: block;
  }
  #mailform table tbody {
    display: block;
  }
  #mailform table tbody tr {
    display: flex;
    flex-direction: column;
  }
  #mailform table tbody tr th,
  #mailform table tbody tr td {
    display: block;
    width: 100%;
  }
  #mailform table tbody tr th {
    text-align: left;
  }
  #mailform table tbody tr td input,
  #mailform table tbody tr td textarea {
    width: 100% !important;
    box-sizing: border-box;
  }
  #mailform table tbody tr td input[type='radio'] {
    width: 1em !important;
  }
  #mailform table tbody tr td input[type='submit'],
  #mailform table tbody tr td input[type='reset'] {
    font-size: 15px;
    box-sizing: border-box;
    padding: 4px 0 !important;
  }
  #mailform table tbody tr td input[type='submit'] {
    margin: 16px auto;
  }
  #mailform table tbody tr td textarea {
    min-height: 200px;
  }
}
