/**********フォント**********/
body{
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif !important;
    font-weight: 500 !important;
    font-size:18px;
    color:#333333;
    line-height: 2;
    letter-spacing: .2px;
}
h1{
font-size:32px;
}
h2{
font-size:28px;
}
h3{
font-size:24px;
}
h4{
font-size:20px;
}
a{
    color:#333333;
}

a:hover{
color:#e48011;
}
/****ヘッダー****/
#top{
margin-top:10px;
}
#top .row{
    align-items: center;
}
.logo img{
width:365px;
display:block;
}
.navbar-expand-lg .navbar-collapse{
justify-content: center;
}
.top_conbox{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}
.top_conbox .top_menu{
font-size:14px;
margin-right:20px;
display:flex;
    background-color: #e6e6e6;
    border-radius: 30px;
}
.top_conbox .top_menu a{
padding:10px 20px;
    color: #000;
line-height:28px;
}
.top_conbox .top_menu a.l_btn{
border-right:0;
border-radius: 30px;
background-color:#ffeb3b;
color:#000;
}
.top_conbox .top_menu a.l_btn:hover{
opacity: 0.8
}
.top_conbox .top_menu a.r_btn{
border-radius: 0px 30px 30px 0px;
border-left:0;
}

.top_conbox .top_menu a.r_btn:hover,
.top_conbox .top_menu a.m_btn:hover{
background-color:#ffeb3b;
border-radius: 30px;
}
.contact_tel h2{
line-height:1;
margin-bottom:0 !important;
font-size:22px;
align-items: center;
}
.contact_tel h2 span{
font-size: 12px;
font-weight: 400;
}
.contact_tel img{
width:30px;
margin-right:15px;
}
.footer .contact_tel{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#about_us, #contact{
padding-top:85px;
margin-top:-85px;
}

@media (max-width: 1400px) {
.logo img{
width:95%;
}
.top_conbox .top_menu a{
padding:10px 15px;
}
.navbar .navbar-nav .nav-link{
    white-space: nowrap;
}
}
@media (max-width: 991.98px) {
.logo img{
width:80%;
}
.contact_tel h2{
display:inline-block;
}
}
@media (min-width: 992px) {
.sp-only{
display:none;
}
}
/***全体***/
.container-fluid{
padding-left:0;
padding-right:0;
}
.gr-ttl{
color: #fff;
background-color: #3c3b41;
width: 185px;
text-align: center;
padding: 5px;
border-radius: 30px;
font-weight: 500;
}
.yb-s{
background-color:#f8d215;
width:280px;
text-align:center;
border-radius:10px;
margin:15px auto 30px auto;
display:block;
font-size:14px;
color:#000;
padding:8px 0;
border:none;
}
.yb-s:hover{
color:#000;
}
.require{
color:red;
}
table.table{
width:90%;
margin:15px auto;
}
table th,
table td{
padding:10px 15px;
border-bottom:dotted #333 thin;
font-weight:500;
color:#333333;
}
table th{
width:25%;
}
input, select, textarea{
    border: solid #d5d5d5 thin;
    border-radius: 3px;
}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1200px;
        padding:0;
    }
}

/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 20px;
    z-index: 99;
background-color:#ffeb3b;
color:#000;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}
.pl-6 {
    padding-left: 5rem;
}

.pr-6 {
    padding-right: 5rem;
}
@media (max-width: 991.98px) {
.pl-6 {
    padding-left: 2.5rem;
}

.pr-6 {
    padding-right: 2.5rem;
}
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 40px;
    height: 40px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    /*top: -100px;*/
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 44px;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active{
color:#e48011;
}
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
/***メイン画像セクション***/
#main-img{
background-image:url(../img/main-img.jpg);
        background-size: cover;
        background-position: center;
	position: relative;
}
.main-txt{
	position: absolute;
	color:#fff;
	font-size:36px;
	font-weight:600;
}

@media (min-width: 992px) {
#main-img{
height:583px;
}
.main-txt{
	top: 40%;
	left: 28%;
}
}

@media (max-width: 991.98px) {
#main-img{
height:300px;
}
.main-txt{
	top: 35%;
	left: 5%;
	font-size:22px;
}
}

/*** ***/
.fbox-ttl{
	position: relative;
}
.fbox-ttl h2{
    display:flex;
    justify-content: flex-end;
    margin-bottom:0;
}
.fbox-ttl h2 span{
    padding:0 10px 0 50px;
    z-index: 99;
}
.fbox-ttl h2:before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    height: 2px;
    content: '';
    background: #000;
}
@media (min-width: 992px) {
.fbox-ttl h2:before {
    width:73%;
}
}

@media (max-width: 991.98px) {
.fbox-ttl h2:before {
    width: 70%;
}
}

/***事業内容***/
#works .pt-4,
#group .pt-4{
	position: relative;
}
.left_box{
	position: relative;
    width: 60%;
    text-align: right;
    border-radius: 0 36px 36px 0;
    overflow: hidden;
}
.left_box img{
    border-radius: 36px;
}
.right_box{
    position:absolute;
    right:0;
    width: 50%;
    background-color: #fff;
    border-radius: 36px 0 0 36px;
    z-index:99;
    top:15%;
    height:395px;
    display: flex;
    align-items: center;
}
.right_box .r-cont{
    padding-left:45px;
}
.mt-x{
	margin-top:-4.75rem;
}
#works .works-img{
width:45%;
margin:0 15px;
}
.works_bt{
width:90%;
margin:auto;
border-radius:36px;
}
img.business-img{
border-radius:36px;
width:100%;
margin-bottom:10px;
}
@media (max-width: 991.98px) {
.left_box,
.right_box{
position:relative;
width:100%;
top:0;
}
.left_box img{
width:100%;
}
}
@media (max-width: 480px) {
.tab-content>.tab-pane{
display:block;
}
#about_us .nav.nav-tabs{
display:none;
}
#works .works-img{
width:100% !important;
margin:0;
}

#about1 table th,
#about1 table td,
#about2 table th,
#about2 table td,
#about3 table th,
#about3 table td{
    width: 100%;
    display: block;
}

#about2 table th,
#about1 table th {
        background-color: #f7f7f7;
}
}
@media (min-width: 1400px) {
.works_bt{
width:1369px;
margin:auto;
border-radius:36px;
}
}

/***会社情報***/
#about_us .nav.nav-tabs{
justify-content: center;
}
#about_us .nav.nav-tabs{
	border:none;
}
#about_us .nav-tabs .nav-link.active,
#about_us .nav-tabs .nav-item.show .nav-link,
#about_us .nav-tabs .nav-link:hover,
#about_us .nav-tabs .nav-link:focus{
border:none;
}
#about_us .nav-tabs .nav-link{
text-decoration: none;
    border: none;
padding:8px 60px;
color:#333;
}

#about_us .nav-tabs .nav-link.middle-nav{
border-left:solid #333 thin;
border-right:solid #333 thin;
}

#group_bt .h-logo img{
width:100%;
}
#group_bt .row.g-4{
align-items: center;
}
.group-box{
padding:35px 40px;
height:100%;
display:flex;
flex-direction: column;
justify-content: space-between;
}

/*** Contact・privacy***/

input[type="text"].fonrm_c,
input[type="email"].fonrm_c,
input[type="tel"].fonrm_c{
width:400px !important;
}
input[type="text"].fonrm_c.zip{
width:200px !important;
}
textarea.fonrm_c{
width:100% !important;
height:150px !important;
}
#mado{
    border: dotted #333 thin;
    width: 50%;
    padding: 30px;
    margin: 30px auto;
}
.thanks_box{
text-align:center;
margin:15% auto;
}
div.mfp_buttons{
display:flex;
    justify-content: center;
}
.mfp_element_reset, .mfp_element_button, button.mfp_next, button.mfp_prev{
    background: #f8d215 !important;
    text-align: center;
    border-radius: 10px;
    display: block;
    font-size: 14px;
    color: #000;
    padding: 8px 36px;
    border: none;
}
.mfp_element_submit:hover, .mfp_element_reset:hover, .mfp_element_button:hover, button.mfp_next:hover, button.mfp_prev:hover{
    background: #e2c01b !important;
    text-align: center;
    border-radius: 10px;
    display: block;
    font-size: 14px;
    color: #000;
    border: none;
box-shadow:none;
}
@media (max-width: 480px) {
.fonrm_c{
width:100% !important;
}
.contact_table th,
.contact_table td{
display:block;
width:100%;
}
.contact_table th{
background-color:#f7f7f7;
}
#mado{
width:100%;
padding:15px;
}
input[type="text"].fonrm_c,
input[type="email"].fonrm_c,
input[type="tel"].fonrm_c,
input[type="text"].fonrm_c.zip{
width:100% !important;
}
}
/*** Footer ***/


.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
    color:#fff;
    font-size: 12px;
    line-height: 1;
}

.copyright a {
    color: var(--bs-white);
}

.pc-only{
display:inline-block;
}
@media (max-width: 480px) {
.floating {
display:none;
}
.pc-only{
display:none;
}
.footer iframe{
width:100% !important;
margin-top:30px;
}
}
