@charset "utf-8";

/* 
Theme Name: JGI
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    overflow-x: hidden;
    scroll-padding-top:180px;  
    scroll-behavior: auto;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #0E0E0E;
    color: #fff;
    overflow-x: clip;
    box-sizing: border-box;
}
.zenKaku {
    font-family: "Zen Kaku Gothic New", sans-serif;
}
.roboto {
    font-family: "Roboto Slab", serif;
}
.montserrat {
    font-family: "Montserrat", sans-serif;
}

img,
video {
    width: 100%;
}

a {
    text-decoration: none;
    color: #fff;
    transition: all .3s;
}

a:hover {
    opacity: 0.5;
}

li {
    list-style: none;
}

/* 共通 */
.pc,.pc_2 {
    display: block;
}

.sp,.sp_2 {
    display: none !important;
}
.pc_only {
    display:block;
}
@media (max-width: 768px) {
    .pc_only {
        display:none !important;
    }
    .pc_2 {
        display: none !important;
    }

    .sp_2 {
        display: block !important;
    }
}
@media (max-width: 480px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}


/* wrapper */
.bg_wrapper {
    position: relative;
}
.bg_wrapper.news_wrapper {
    background: url("../images/img_news_b.webp") no-repeat center center / cover;
}
.service_01_wrapper {
    background: url("../images/img_service_1_b.webp") no-repeat center center / cover;
}
.service_02_wrapper {
    background: url("../images/img_service_2_b.webp") no-repeat center center / cover;
}
.service_03_wrapper {
    background: url("../images/img_service_3_b.webp") no-repeat center center / cover;
}
.service_04_wrapper {
    background: url("../images/img_service_4_b.webp") no-repeat center center / cover;
}

.mv_wrapper {
    position: relative;
}
.contents_wrapper {
    position: relative;
    width: 1360px;
    margin: 0 auto;
}
.contents_eria {
    padding: 120px 40px 180px;
    border-top: 1px solid #fff;
}
.works_wrapper .contents_eria {
    padding: 120px 40px 0;
}
.service_01_wrapper .contents_eria,
.service_02_wrapper .contents_eria,
.service_03_wrapper .contents_eria,
.service_04_wrapper .contents_eria {
    padding: 120px 40px 250px;
}
.service_02_wrapper .contents_eria,
.service_03_wrapper .contents_eria,
.service_04_wrapper .contents_eria {
    border-top: none;
}

@media screen and (max-width: 1360px) {
    .contents_wrapper {
        width: 100%;
    }
    .contents_eria,
    .service_01_wrapper .contents_eria,
    .service_02_wrapper .contents_eria,
    .service_03_wrapper .contents_eria,
    .service_04_wrapper .contents_eria {
        padding: 50px 20px 50px;
    }
    .works_wrapper .contents_eria {
        padding: 50px 20px 0;
    }
}

@media screen and (max-width: 992px) {

}

@media screen and (max-width: 480px) {
    .contents_eria,
    .service_01_wrapper .contents_eria,
    .service_02_wrapper .contents_eria,
    .service_03_wrapper .contents_eria,
    .service_04_wrapper .contents_eria {
        padding: 50px 10px 50px;
    }
    .works_wrapper .contents_eria {
        padding: 50px 10px 0;
    }
}

/* 見出し */
h2 {
    font-weight: 600;
    font-style: Italic;
    font-size: clamp(2.5rem, 1.792rem + 3.774vw, 5rem);
    line-height: 100%;
    letter-spacing: 2px;
}
h2 span {
    position: relative;
    padding: 0 0 0 50px;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.875rem, 0.804rem + 0.377vw, 1.125rem);
    line-height: 100%;
    letter-spacing: 2px;
}
h2 span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #fff, transparent);
}
h2.p_service span {
    position: relative;
    padding: 0;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.875rem, 0.804rem + 0.377vw, 1.125rem);
    line-height: 100%;
    letter-spacing: 2px;
}
h2.p_service span::after {
  content: none;
}
h2.p_service div {
    position: relative;
    margin: 30px 0 0;
    padding: 0 0 0 50px;
    font-weight: 500;
    font-style: normal;
    font-size: clamp(0.875rem, 0.804rem + 0.377vw, 1.125rem);
    line-height: 100%;
    letter-spacing: 2px;
}
h2.p_service div::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #fff, transparent);
}
h2.m_h2 {
    margin: 100px 0;
}
h2.p_service.m_h2 {
    margin: 100px 0 0;
}
h2.center {
    text-align: center;
}
.service_h3 {
    margin: 0 0 40px;
    font-weight: 700;
    /* font-size: 40px; */
    font-size: clamp(1.375rem, 1.057rem + 1.698vw, 2.5rem);
    line-height: 100%;
    letter-spacing: 2px;
}
.service_h3.center {
    text-align: center;
}
.service_line_title {
    position: relative;
    margin: 40px 0 30px;
    padding: 0 0 0 50px;
    font-weight: 700;
    /* font-size: 30px; */
    font-size: clamp(1.125rem, 0.913rem + 1.132vw, 1.875rem);
    line-height: 100%;
    letter-spacing: 2px;
}
.service_line_title::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #fff, transparent);
}

/* header */
.header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.header_logo {
    width: 80px;
    margin: 0 0 0 50px;
    font-weight: 900;
    font-size: clamp(1.625rem, 1.289rem + 1.792vw, 2.813rem);
    line-height: 100%;
    letter-spacing: 2px;
    z-index: 100;
}
.nav_menu {
    width: auto;
}
.header_menu {
    width: auto;
    margin: 0 70px 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
}
.header_menu_li {
    flex: 0 0 auto;
    width: auto; 
    position: relative;
}
.header_menu_li--has_submenu {
    position: relative;
}
.header_submenu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
}
.header_menu_li--has_submenu:hover .header_submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header_submenu_li {
    width: 100%;
    padding: 0;
}
.header_submenu_li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-weight: 400;
    font-size: clamp(0.875rem, 0.822rem + 0.283vw, 1rem);
    line-height: 1.5;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.header_submenu_li a:hover {
    background-color: #f5f5f5;
    color: #000;
}
.hamburger {
    display: none;
}
@media screen and (max-width: 992px) {
    .header {
        position: fixed;
        width: 100%;
        z-index: 100;
    }
    .hamburger {
      position: absolute;
      display: block;
      top: 20px;
      right: 20px;
      z-index: 100;
      width: 48px;
      height: 48px;
      border: none;
      background: transparent;
      cursor: pointer;
    }

    .hamburger_line {
      position: absolute;
      left: 11px;
      width: 26px;
      height: 2px;
      background-color: #333;
      transition: all .4s;
    }

    .hamburger_line:nth-of-type(1) {
      top: 14px;
    }
    .hamburger_line:nth-of-type(2) {
      top: 23px;
    }
    .hamburger_line:nth-of-type(3) {
      top: 32px;
    }

    /* メニューオープン時 */
    .hamburger.active .hamburger_line:nth-of-type(1) {
      transform: translateY(9px) rotate(-45deg);
    }
    .hamburger.active .hamburger_line:nth-of-type(2) {
      opacity: 0;
    }
    .hamburger.active .hamburger_line:nth-of-type(3) {
      transform: translateY(-9px) rotate(45deg);
    }

    .nav_menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 300px;
      height: 100vh;
        background-color: #8c8c8c;
      color: #0E0E0E;
      box-shadow: 2px 0 4px rgba(0,0,0,.1);
      transform: translateX(-100%);
      transition: transform .4s;
      z-index: 90;
    }
    .header_menu_li {
        margin: 20px 0;
    }
    .nav_menu a {
        margin: 20px 0;
        color: #fff;
        font-weight: 400;
        font-size: clamp(1.125rem, 0.594rem + 2.83vw, 3rem);
        line-height: 100%;
        letter-spacing: 2px;
    }

    .nav_menu.active {
      transform: translateX(0);
    }

    .header_menu {
      display: block;
      margin: 0;
      padding: 130px 0 0;
      list-style: none;
    }

    .header_menu_li {
      padding: 0 20px;
    }

    .nav_link {
      display: block;
      padding: 15px 0;
      color: #0E0E0E;
    }

    .header_submenu {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none;
      background-color: transparent;
      box-shadow: none;
      margin: 0;
      padding: 0 0 0 20px;
    }

    .header_menu_li--has_submenu:hover .header_submenu {
      transform: none;
    }

    .header_submenu_li a {
      padding: 10px 0;
      color: #fff;
      font-size: clamp(1rem, 0.528rem + 2.358vw, 2.5rem);
    }

    .header_submenu_li a:hover {
      background-color: transparent;
      color: #fff;
    }
}

.mv_title {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 15%;
    left: 10%;
}
.mv_title_top {
    width: auto;
    font-weight: 700;
    font-size: clamp(1.000rem, 0.594rem + 2.00vw, 2rem);
    line-height: 100%;
    letter-spacing: 2px;
}
.mv_title_middle {
    width: auto;
    margin: 0 0 30px;
    font-weight: 700;
    font-size: clamp(1.625rem, 0.475rem + 6.132vw, 5.688rem);
    line-height: 100%;
    letter-spacing: 4px;
}
.mv_title_middle span {
    font-size: clamp(2rem, 0.620rem + 7.358vw, 6.875rem);
    line-height: 100%;
}
.mv_title_bottom {
    width: auto;
    padding: 20px 0 0;
    font-weight: 500;
    font-size: clamp(0.875rem, 0.769rem + 0.566vw, 1.25rem);
    line-height: 140%;
    letter-spacing: 1px;
    border-top: 1px solid #8C8C8C;
}
.mv_background {
    padding: clamp(8.125rem, 6.002rem + 11.321vw, 15.625rem) 0 0;
}

/* insta */
.insta_flex {
    transform: rotate(90deg);
    position: fixed;
    top: 50%;
    right: -30px;
    font-weight: 300;
    font-size: 17px;
    line-height: 100%;
    z-index: 100;
}
.insta_flex span {
    position: absolute;
    top: 50%;
    left: -30px;
    width: 20px;
    height: 20px;
    transform: translate(0, -50%);
    background: url(../images/Instagram_white.webp) no-repeat center center / cover;
}

/* content */
.content_flex {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}
.content_flex.center {
    align-items: center;
}
.content_more {
    padding: 50px 0;
    text-align: center;
}
.content_more.p_bottom {
    padding: 70px 0 170px;
}
.content_more.p_right {
    padding: 50px 70px 50px 0;
    text-align: left;
}
.content_more a {
    position: relative;
    width: auto;
    font-weight: 500;
    font-style: Italic;
    font-size: clamp(0.875rem, 0.822rem + 0.283vw, 1.063rem);
    line-height: 100%;
    letter-spacing: 3px;
    border-bottom: 1px solid #FFF;
}
.content_more.arrow span {
    position: absolute;
    top: 50%;
    right: -70px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(0, -50%);
    border: 1px solid white;
}
.content_more.arrow span::after {
    content: '';
    position: absolute;
    border: solid white;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 6px;
    transform: translate(-20%, 0) rotate(-45deg);
}
.content_more.instagram span {
    position: absolute;
    top: 50%;
    right: -25px;
    width: 20px;
    height: 20px;
    transform: translate(0, -50%);
    background: url("../images/Instagram_white.webp") no-repeat center center / cover;
}
.content_more.window span {
    position: absolute;
    top: 50%;
    right: -30px;
    width: 25px;
    height: 25px;
    transform: translate(0, -50%);
    background: url("../images/light_select-window-2.webp") no-repeat center center / cover;
}
.content_more a:hover {
    border-bottom: none;
}

.content_more.arrow a:hover span {
    background: rgba(255, 255, 255, 0.3);
    border-color: #FFF;
}

.content_more.arrow a:hover span::after {
    border-color: #FFF;
}

/* news */
.news_left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 35%;
}
.news_right {
    width: 60%;

}
.news_block {
    display: flex;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #8C8C8C;
}
.news_img {
    width: 25%;
    margin: 0 5% 0 0;
    overflow: hidden; 
}
.news_img img {
    transition: transform 0.4s ease;
}
.news_img:hover img {
    transform: scale(1.1);
}
.news_content {
    width: 70%;
}
.news_title {
    color: #B5B5B5;
    font-weight: 400;
    font-size: clamp(0.75rem, 0.715rem + 0.189vw, 0.875rem);
    line-height: 100%;
    letter-spacing: 4px;
}
.news_text {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
}

/* service */
.service_content {
    flex-direction: row-reverse;
}
.service_left {
    width: 55%;
}
.subservice_left {
    width: 45%;
}
.service_right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 40%;
}
.subservice_right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 45%;
}
.service_num {
    margin: 0 0 15px;
    font-weight: 700;
    font-size: clamp(1rem, 0.929rem + 0.377vw, 1.25rem);
    line-height: 100%;
    letter-spacing: 1px;
}
.service_title {
    margin: 0 0 40px;
    font-weight: 700;
    font-size: clamp(1.5rem, 1.111rem + 2.075vw, 2.875rem);
    line-height: 100%;
    letter-spacing: 2px;
}
.service_text {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
}

.about_text {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
}

/* access */
.access_map {
    display: flex;
    justify-content: center;
    margin: 0 0 60px;
}
.access_map iframe {
    width: 80%;
    height: 450px;
}
.access_text {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
    text-align: center;
}

/* contact */
.contact_content {
    padding: 160px 0;
    border-bottom: 1px solid #8C8C8C;
}
.contact_flex {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact_block {
    margin-top: 50px;
    width: 50%;
    display: block;
    justify-content: space-between;
    align-items: center;
}
.contact_tel_text {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 4px;
}
.contact_tel_num {
    font-weight: 500;
    font-size: clamp(1.25rem, 1.073rem + 0.943vw, 1.875rem);
    line-height: 150%;
    letter-spacing: 1px;
}


/* footer */
.footer {
    background: url("../images/img_footer.webp") no-repeat center center / cover;
}
.footer_content {
    padding: 200px 0 0;
}
.footer_left {
    width: 35%;
}
.footer_right {
    width: 35%;
}
.footer_name {
    margin: 0 0 40px;
}
.footer_name_title {
    margin: 0 0 5px;
    font-weight: 900;
    font-size: clamp(1.5rem, 1.129rem + 1.981vw, 2.813rem);
    line-height: 100%;
    letter-spacing: 2px;
}
.footer_name_text {
    font-weight: 700;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 100%;
    letter-spacing: 2px;
}
.footer_address {
    margin: 0 0 60px;
}
.footer_address_text {
    margin: 0 0 15px;
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 150%;
    letter-spacing: 1px;
}
.footer_address_tel {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 100%;
    letter-spacing: 1px;
}
.footer_copy_right {
    font-weight: 500;
    font-style: Italic;
    font-size: clamp(0.75rem, 0.715rem + 0.189vw, 0.875rem);
    line-height: 100%;
}
.footer_menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-weight: 500;
    font-size: clamp(0.875rem, 0.822rem + 0.283vw, 1.063rem);
    line-height: 130%;
    letter-spacing: 1px;
}

/* service */
.service_nav {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
    text-align: center;
}
.service_nav_li {
    position: relative;
    border-left: 1px solid #8C8C8C;
    padding: 0 20px;
    font-weight: 500;
    /* font-size: 16px; */
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 100%;
    letter-spacing: 1px;
}
.service_nav_li:last-child {
    border-right: 1px solid #8C8C8C;
}
@media screen and (max-width: 1262px) {
    .service_nav {
        grid-template-columns: auto auto auto;
        max-width: 694px;
    }
    .service_nav_li:nth-child(3) {
        border-right: 1px solid #8C8C8C;
    }
    .service_nav_li {
        margin: 0 0 10px;
    }
}
@media screen and (max-width: 720px) {
    .service_nav {
        grid-template-columns: auto auto;
        max-width: 470px;
    }
    .service_nav_li:nth-child(3) {
        border-right: none;
    }
    .service_nav_li:nth-child(2) {
        border-right: 1px solid #8C8C8C;
    }
    .service_nav_li:nth-child(4) {
        border-right: 1px solid #8C8C8C;
    }
}
@media screen and (max-width: 500px) {
    .service_nav {
        grid-template-columns: auto auto;
        max-width: 320px;
    }


}
.service_nav_num {
    padding: 5px 0;
    text-align: center;
}
.service_nav_title {
    padding: 10px 0 30px;
}
.service_nav_li::after {
    content: '';
    left: 50%;
    bottom: 0;
    position: absolute;
    border: solid white;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 4px;
    transform: translate(-50%, -100%) rotate(45deg);
}
.p_service_left {
    width: 50%;
}
.p_service_right {
    width: 45%;
}
.p_service_text {
    font-weight: 400;
    /* font-size: 16px; */
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
}
.service_inner {
    padding: 100px 0 80px;
}
.service_inner.no_bor {
    border-bottom: none;
}
.service_construction {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 0 40px;
}
.service_construction_li {
    width: 250px;
    padding: 15px 10px;
    font-weight: 400;
    /* font-size: 16px; */
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
    border: 1px solid #8C8C8C;
    text-align: center;
}
.service_construction_time {
    width: 100%;
    max-width: 600px;
    margin: 0 0 20px;
    border-bottom: 1px solid #8C8C8C;
}
.service_construction_time_title {
    margin: 0 0 10px;
    font-weight: 700;
    /* font-size: 24px; */
    font-size: clamp(1.125rem, 1.019rem + 0.566vw, 1.5rem);
    line-height: 100%;
    letter-spacing: 2px;
}
.service_construction_time_text {
    margin: 0 0 20px;
    font-weight: 400;
    /* font-size: 16px; */
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
}
.service_list_inner {
    text-align: center;
    overflow-x: auto;
    margin: 0 0 20px;
}
.service_list_wrapper {
    display: inline-block;
    text-align: left;
}
table.service_list {
    text-align: center;
    border-collapse: collapse;
    min-width: max-content;
    margin: 0 0 20px;
}
.service_list tr {
    border-bottom: 1px solid #8C8C8C;
}
.service_list tr.inner_li {
    border-bottom: none;
}
.service_list th {
    height: 47px;
    font-weight: 400;
    /* font-size: 20px; */
    font-size: clamp(1rem, 0.929rem + 0.377vw, 1.25rem);
    line-height: 160%;
    letter-spacing: 1px;
    white-space: nowrap;
}
.service_list th.service_li_l {
    font-weight: 500;
    /* font-size: 24px; */
    font-size: clamp(1.125rem, 1.019rem + 0.566vw, 1.5rem);
}
.service_list td {
    height: 55px;
    font-weight: 400;
    /* font-size: 18px; */
    font-size: clamp(1rem, 0.965rem + 0.189vw, 1.125rem);
    line-height: 160%;
    letter-spacing: 1px;
    white-space: nowrap;
}
.service_list td.service_td_l {
    font-weight: 500;
    /* font-size: 24px; */
    font-size: clamp(1.125rem, 1.019rem + 0.566vw, 1.5rem);
}
.service_list ul {
    display: inline-block;
    text-align: left;
}
.service_list ul li {
    list-style: disc;
}
.service_list_asterisk {
    margin: 0 0 30px;
    font-weight: 400;
    /* font-size: 14px; */
    font-size: clamp(0.75rem, 0.715rem + 0.189vw, 0.875rem);
    line-height: 180%;
    letter-spacing: 1px;
}
/* company */

table.company_list {
    
    border-collapse: collapse;
    min-width: max-content;
    margin: 0 auto 20px;
    max-width: 980px;
}
.company_list tr {
    border-bottom: 1px solid #8C8C8C;
}
.company_list th {
    padding:16px;
    font-weight: 600;
    /* font-size: 20px; */
    font-size: clamp(1rem, 0.929rem + 0.377vw, 1.25rem);
    line-height: 160%;
    letter-spacing: 1px;
    white-space: nowrap;
    width:30%;
}

.company_list td {
    padding:16px;
   
    font-weight: 400;
    /* font-size: 18px; */
    font-size: clamp(1rem, 0.965rem + 0.189vw, 1.125rem);
    line-height: 160%;
    letter-spacing: 1px;
    width:70%;
}

/* contact */
.contact_form_wrapper {
    max-width:980px;
    margin:0 auto;
    padding:32px;
}
.wpcf7 table {
    width: 100%;
    border-collapse: collapse; /* テーブルのセルの境界線を重ねない */
  }
  .wpcf7 table tr {
    display:flex;
    align-items: center;
  }
  form table th {
    text-align: left;
    padding-right: 10px;
    width: 20%; /* ラベルの幅を設定 */
    vertical-align: middle;
   
  }
  
  form table td {
    padding: 15px 0;
    width: 80%; /* 入力欄の幅を設定 */

  }
  
  form table th.textarea_title {
    vertical-align: top;
    padding-top:15px;
  }
  
  input.form_text_box, textarea {
    width: 100%;
    padding: 8px;
    margin: 3px 0;
    border-radius: 10px;
    background-color: #fff;
    font-size:16px;
    border:1px solid #707070;
  }
  input.form_text_box {
    height:50px;
  }
  span.required {
    color: #FF0000;
    font-weight: bold;
  }
  
  .custom-submit,.custom-pre {
    display: block;
    position: relative;
    width:240px;
    margin: 0 auto;
  
  
    text-align: center;
  
  }
  .custom-submit {
    margin-top:24px;
  }
  .wpcf7-submit {
    /* box-shadow: 4.9px 5px 8px 0 rgba(101, 101, 101, 0.44); */
    border: solid 1px #fff;
    background-color: #fff;
    margin: 0 auto;
    border-radius: 50px;
    color:#333;
    font-weight: bold;
    padding:18px;
    padding-right:32px;
    cursor: pointer;
    width:100%;
    transition: all 0.3s;
  }
  .wpcf7-submit:hover {
    background-color: #333;
    color:#fff;
    border:1px solid #fff;
  }
  .wpcf7-previous {
    margin:0 auto;
    color:#333;
    padding:18px;
    padding-right:32px;
    font-weight: bold;
    width:100%;
  
  }

  
  .wpcf7-spinner {
    display:none;
  }
  .contact_bottom_text {
    text-align: center;
  }
  .contact_bottom_text a {
    text-decoration: underline;
    transition: all 0.3s;

  }
  .contact_bottom_text a:hover {
    opacity: 0.7;
  }
/* レスポンシブ対応 */

@media screen and (max-width: 1360px) {
    .contact_flex {
        display: block;
    }


}

@media screen and (max-width: 992px) {
    h2.m_h2 {
        margin: 0 0 50px;
    }
    h2.p_service.m_h2 {
        margin: 50px 0 0;
    }
    .mv_title {
        width: 80%;
    }
    .content_flex {
        display: block;
    }
    /* .contact_flex {
        width: 100%;
    }
    .contact_block {
        width: 100%;
    } */
    .news_left {
        width: 100%;
    }
    .news_right {
        width: 100%;
    }
    .service_left {
        width: 100%;
    }
    .subservice_left {
        padding-top: 30px;
        width: 100%;
    }
    .service_right {
        width: 100%;
    }
    .subservice_right {
        width: 100%;
    }
    .footer_left {
        width: 100%;
    }
    .footer_right {
        width: 100%;
        display: none;
    }
    .content_more.p_bottom {
        padding: 50px 0 100px;
    }
    .contact_content {
        padding: 50px 0;
        text-align: -webkit-center;
    }
    .footer_content {
        padding: 100px 0 0;
    }
    .footer_menu {
        margin: 50px 0 0;
    }
    .p_service_left {
        width: 100%;
    }
    .p_service_right {
        width: 100%;
    }
    .service_construction_time {
        max-width: 100%;
    }
    .service_construction {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0;
    }
    .service_construction {
        margin: 0 0 20px;
    }
    .service_construction_li {
        width: 48%;
        margin: 0 0 20px;
    }
    .service_inner {
        padding: 50px 0 40px;
    }
    .company_list tr {
        display: flex;
        flex-direction: column;
    }
    table.company_list {
        width: 100%;
        min-width: auto;
    }
    .company_list th,
    .company_list td {
        width:100%;
        text-align: center;
    }
    .wpcf7 table tr {
        flex-direction: column;
        justify-content: flex-start;
    }
    form table th,
    form table td {
        width: 100%;
    }
    form table td {
        padding-top:8px;
    }
}

@media screen and (max-width: 480px) {
    h2.p_service.m_h2 {
        margin: 30px 0 0;
    }
    .mv_title {
        top: 25%;
    }
    .mv_title_top{
        margin: 0 0 10px;
    }
    .mv_title_middle {
        margin: 0 0 10px;
    }
    .mv_title_bottom {
        padding: 10px 0 0;
    }
    .content_more.p_bottom {
        padding: 50px 0;
    }
    .contact_content {
        padding: 30px 0;
    }
    .service_construction_li {
        width: 100%;
        margin: 0 0 10px;
    }
    .access_map iframe {
        width: 100%;
        height: 400px;
    }
    .news_block {
        padding: 20px 0;
    }


}

/* 料金シミュレーション */
.price_simulation_wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.price_simulation_form {
    padding: 50px 0;
}
.simulation_step {
    margin: 0 0 40px;
}
.option_checkboxes {
    margin: 20px 0 0;
}
.option_group {
    margin: 0 0 30px;
    padding: 20px;
    border: 1px solid #8C8C8C;
    border-radius: 10px;
}
.option_group_title {
    margin: 0 0 15px;
    font-weight: 600;
    font-size: clamp(1rem, 0.929rem + 0.377vw, 1.25rem);
    line-height: 140%;
    letter-spacing: 1px;
}
.option_group .simulation_checkbox_label {
    margin: 0 10px 10px 0;
    display: inline-block;
}
.simulation_select {
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
    background-color: #fff;
    color: #0E0E0E;
    border: 1px solid #8C8C8C;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}
.simulation_select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.simulation_select:hover:not(:disabled) {
    border-color: #fff;
}
.simulation_checkbox_label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
}
.simulation_checkbox_label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    cursor: pointer;
}
.simulation_result {
    margin: 60px 0 0;
    padding: 50px;
    border: 1px solid #8C8C8C;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
}
.result_price {
    text-align: center;
}
.result_price_main {
    margin: 0 0 30px;
    padding: 30px 0;
    border-bottom: 1px solid #8C8C8C;
}
.result_price_label {
    display: block;
    margin: 0 0 15px;
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
}
.result_price_value {
    display: block;
    font-weight: 700;
    font-size: clamp(2rem, 1.629rem + 1.981vw, 3.5rem);
    line-height: 100%;
    letter-spacing: 2px;
    color: #fff;
}
.result_price_detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}
.result_detail_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(140, 140, 140, 0.3);
}
.result_detail_item:last-child {
    border-bottom: none;
}
.result_detail_label {
    font-weight: 400;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
}
.result_detail_value {
    font-weight: 500;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
    text-align: right;
}

@media screen and (max-width: 992px) {
    .simulation_result {
        padding: 30px 20px;
    }
    .result_price_detail {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .price_simulation_form {
        padding: 30px 0;
    }
    .simulation_step {
        margin: 0 0 30px;
    }
    .simulation_select {
        padding: 18px 15px;
        min-height: 56px;
        font-size: 16px; /* iOSでズームを防ぐ */
    }
    .simulation_result {
        padding: 30px 15px;
        margin: 40px 0 0;
    }
    .result_price_main {
        padding: 20px 0;
        margin: 0 0 20px;
    }
    .result_detail_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .result_detail_value {
        text-align: left;
    }
    .option_group {
        padding: 15px;
    }
    .option_group .simulation_checkbox_label {
        display: block;
        margin: 0 0 10px;
    }
}

/* 製品紹介ページ */
.product_price_info {
    padding: 20px;
    border: 1px solid #8C8C8C;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.03);
}
.product_price_label {
    font-weight: 500;
    font-size: clamp(0.875rem, 0.840rem + 0.189vw, 1rem);
    line-height: 180%;
    letter-spacing: 1px;
    color: #B5B5B5;
    margin: 0 0 10px;
}
.product_price_value {
    font-weight: 700;
    font-size: clamp(1.5rem, 1.292rem + 1.132vw, 2.25rem);
    line-height: 100%;
    letter-spacing: 2px;
    color: #fff;
}
.product_price_note {
    font-weight: 400;
    font-size: clamp(0.75rem, 0.715rem + 0.189vw, 0.875rem);
    line-height: 180%;
    letter-spacing: 1px;
}

@media screen and (max-width: 992px) {
    .product_price_info {
        margin-top: 30px;
    }
}