@charset "UTF-8";

/* SP style */

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}


h2 {
    font-size: 35px;
    color: #F5BB00;
}

h3 {
    font-size: 25px;
    color: #F5BB00;
    font-weight: 600;
}

.h2-top {
    font-size: 25px;
    color: #F5BB00;
    font-weight: 600;
}

hr {
    background-color: #F5BB00;
    width: 60%;
}

/* logo */
.logo_bg {
    background: #F5BB00;
    width: 114px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo_img {
    width: 70px;
    height: 66px;
}

/* ナビゲーション */
.nav_bg {
    width: 100%;
    height: 80%;
}

.text-black {
    color: #000;
}

.nav-item-top {
    position: relative;
    padding-bottom: 10px;
}

.custom-navlink-top {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-decoration: none;
    padding: 5px 0;
}

/* hamburger menu */
.nav_inner {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #707070;
    text-decoration: none;
}

.path {
    color: #fff;
    font-size: 18px;
    margin: 5px 5px 0 0;
    text-decoration: none;
}

.custom-nav_top {
    background-color: #373737;
    height: 100vh;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff;
}

.padding_nav {
    padding: 20px 35px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.custom-toggler {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.menu-text {
    font-size: 10px;
    color: #F5BB00;
    width: 100%;
    text-align: center;
}

/* hamburger通常時のスタイル */
.menu-text::after {
    content: "MENU";
}

/* hamburgerが開いたときのスタイル */
.navbar-toggler[aria-expanded="true"] .menu-text::after {
    content: "CLOSE";
}

.navbar-light .navbar-toggler:not([aria-expanded="true"]) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23F5BB00' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 10h22M4 20h22'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23F5BB00' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M6 6L 24 24M24 6L6 24'/%3E%3C/svg%3E");
    margin: 7px 0 -6px 9px;
}

.close-icon {
    display: none;
    font-size: 20px;
    color: #F5BB00;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 背景色の変更（ */
.bg-black {
    background-color: #373737 !important;
}

.bg-white {
    background-color: white !important;
}

/* 各ページタイトル */
.page_title {
    margin-top: 90px;
}

/* 各ページメインビジュアル */
.white_sli {
    overflow: hidden;
    position: relative;
}

.page-topConts__mvConts {
    width: 100%;
    max-width: 2650px;
    position: relative;
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

/* business,company table */
#table01 {
    margin: 0 auto;
    width: 100%;
}

#table01 tr {
    border-top: 1px solid #C6C2C2;
    border-bottom: 1px solid #C6C2C2;
}

#table01 td {
    padding: 20px 5px;
    border: none;
    width: 42%;
}

/* モーダル */
.modal-custom {
    padding-right: 0;
    padding-left: 0;
}

.modal-content-custom {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    border: none;
    height: 105vh;
    align-items: center;
}

.modal-content-custom .modal-title {
    font-size: 24px;
}

.modal-content-custom .modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content-custom .btn-close {
    position: absolute;
    right: 0;
    top: -50px;
}

.thumbnailGallery {
    margin: 10px 0;
}

.mainImage {
    max-height: 400px;
    object-fit: cover;
}

.thumbnails img {
    max-height: 70px;
    overflow-x: scroll;
}

.modal-dialog {
    margin: 0 auto;
}

.modal-dialog-fluid {
    max-width: inherit;
    width: 100%;
}

/* bottomlink */
.bottomlink {
    display: block;
}

.bottomlink_inner {
    position: relative;
    text-align: center;
}

.bottomlink_company {
    position: absolute;
    color: white;
    font-size: 35px;
    top: 50%;
    left: 25%;
    transform: translate(-35%, -59%);
    padding: 1rem;
    font-weight: 700;
}

.bottomlink_contact {
    position: absolute;
    color: white;
    font-size: 35px;
    top: 50%;
    left: 25%;
    transform: translate(-30%, -59%);
    padding: 1rem;
    font-weight: 700;
}

.bottomlink_company_inner {
    position: absolute;
    color: #F5BB00;
    font-size: 18px;
    top: 65%;
    left: 26%;
    transform: translate(-65%, -59%);
    padding: 1rem;
}

.bottomlink_contact_inner {
    position: absolute;
    color: #F5BB00;
    font-size: 18px;
    top: 65%;
    left: 26%;
    transform: translate(-50%, -59%);
    padding: 1rem;
}

.bottomimg {
    border-radius: 20px;
    margin: 10px 0;
}

.custom-back-to-top {
    display: none;
}

/* footer */
.footer {
    background-color: #F5BB00;
    padding: 20px 5px 10px 10px;
}

.copyright {
    font-size: 13px;
    font-weight: 600;
}

.custom-nav {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-weight: 600;
}

.custom-nav-item {
    margin: 2px 5px;
}

.custom-nav-item a {
    color: black;
    text-decoration: none;
}

.logo_footer_img {
    width: 80px;
    height: 80px;
}

/* インスタアイコン */
.hum_insta_icon {
    display: block;
    text-align: center;
    margin-top: 40px;
}

.sp_insta_icon {
    display: block;
    margin-bottom: 15px;
}

.pc_insta_icon {
    display: none;
    margin-bottom: 15px;
}


/* 560px以上のスタイル */
@media screen and (min-width: 561px) {
    h2 {
        font-size: 60px;
        color: #F5BB00;
    }

    h3 {
        font-size: 30px;
        color: #F5BB00;
        font-weight: 600;
    }

    .h2-top {
        font-size: 30px;
        color: #F5BB00;
        font-weight: 600;
    }

    .page_title {
        margin-top: 140px;
    }

    /* top */
    .page-topConts__mvConts {
        aspect-ratio: 100 / 40;
    }

    /* navigation */
    .custom-nav_top {
        height: 80px;
        background-color: #ffffff;
    }

    .custom-navlink-top {
        color: #000000 !important;
        font-weight: bold;
    }

    .custom-navlink-top:hover {
        opacity: 0.5;
    }
	
	.padding_nav {
        padding: 20px 0;
    }

    .nav_inner {
        border-bottom: none;
    }

    .path {
        display: none;
    }

    .active .custom-navlink-top {
        color: #F5BB00 !important;
    }
	
	.active_contact a {
        border-bottom: 1px solid #000;
        color: #000!important;
        font-weight: 700;
    }
	
	.active_contact a:hover {
		opacity: 0.7;
	}

    .header_contact {
        display: flex;
        width: 160px;
        background: #F5BB00;
        position: relative;
        z-index: 2;
        padding: 41px 0;
        top: -38px;
        align-items: center;
        justify-content: center;
        margin-left: calc(25 / 1568* 100vw);
    }
	
	.header_contact:hover {
        opacity: 0.7;
    }

    /* logo */
    .logo_img {
        width: 90px;
        height: 90px;
    }

    .logo_bg {
        padding: 9px 20px;
        /* 		max-width: 300px; */
    }

    .img-fluid_lower {
        width: 100%;
        height: 482px;
        object-fit: cover;
    }

    /* モーダル */
    .modal-content-custom {
        padding: 50px;
    }

    .modal-content-custom .btn-close {
        position: absolute;
        right: -50px;
        top: -50px;
    }

    .selected-image {
        width: 100%;
        margin: 0 auto;
    }

    .custom-modal-close {
        position: absolute;
        top: -5px;
        right: 0;
        margin: 1rem;
    }

    .mainImage {
        max-height: 400px;
        object-fit: contain;
    }

    .thumbnails img {
        max-height: 150px;
    }

    /* bottomlink */
    .bottomlink {
        display: flex;
        justify-content: center;
    }

    .bottomlink_company {
        font-size: 60px;
    }

    .bottomlink_contact {
        font-size: 60px;
    }

    .bottomlink_company_inner {
        font-size: 24px;
        left: 23%;
    }

    .bottomlink_contact_inner {
        font-size: 24px;
        left: 24%;
    }

    .bottomimg {
        margin: 0;
        transition: 1s all;
    }

    .bottomlink_hover {
        cursor: pointer;
        overflow: hidden;
        border-radius: 20px;
        position: relative;
    }

    .bottomlink_hover:hover .bottomimg {
        transform: scale(1.2, 1.2);
        transition: 1s all;
    }

    /* topへ戻る */
    .custom-back-to-top {
        display: block;
    }

    .back-to-top {
        display: none;
        position: fixed;
        right: 1%;
        bottom: 3%;
        color: #fff;
        padding: 2rem;
        text-decoration: none;
    }

    .back-to-top::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: inline-block;
        width: 50px;
        height: 50px;
        background-color: #000000;
        z-index: -1;
    }

    .work-col {
        width: 30%;
    }

    /* footer_link_hover */
    .nav-link:hover {
        opacity: 0.5;
		color: #000;
    }

    /*インスタアイコン */
    .pc_insta_icon {
        display: block;
    }

    .pc_insta_icon img {
        position: absolute;
        right: 3%;
        bottom: 40%;
    }

    .pc_insta_icon a:hover {
        opacity: 0.5 !important;
    }

    .sp_insta_icon {
        display: none;
    }

    .hum_insta_icon {
        display: none;
    }

}

@media (min-width: 561px) and (max-width: 767px) {
    .pc_insta_icon img {
        position: static;
    }
}

@media screen and (min-width: 768px) {
    .logo_bg {
        width: 200px !important;
    }

    .modal-content-custom {
        align-items: center;
    }
}

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

    .logo_bg {
        width: 114px;
    }

    .bottomlink_company {
        font-size: 35px;
    }

    .bottomlink_contact {
        left: 22%;
        transform: translate(-25%, -59%);
        font-size: 35px;
    }

    .bottomlink_company_inner {
        font-size: 16px;
        left: 25%;
    }

    .bottomlink_contact_inner {
        font-size: 16px;
        left: 26%;
    }

}

@media screen and (max-width: 1140px) {
    .bottomlink_company {
        font-size: 35px;
    }

    .bottomlink_contact {
        left: 15%;
        transform: translate(-19%, -59%);
        font-size: 35px;
    }

    .bottomlink_company_inner {
        font-size: 16px;
        left: 25%;
    }

    .bottomlink_contact_inner {
        font-size: 16px;
        left: 26%;
    }

}

/* 固定ヘッダー下へページ内リンクでスクロール */
#civil_link,
#civil_works,
#architecture,
#architecture_works {
    scroll-margin-top: 100px;
}