/* CSS変数定義 */
:root {
  --main-color: #2C2C2C;
  --sub-color: #FFFFFF;
  --accent-color: #E74C3C;
  --text-color: #333333;
  --light-bg: #F8F9FA;
}

/* 共通 */
.bg-base-color{
    --bs-bg-opacity: 1;
    background-color: var(--sub-color)!important;
}

.bg-light-gray{
    --bs-bg-opacity: 1;
    background-color: var(--light-bg)!important;
}

.text-base-color {
    --bs-text-opacity: 1;
    color: var(--sub-color)!important;
}

.bg-sub-color{
    --bs-bg-opacity: 1;
    background-color: var(--main-color)!important;
}


.text-sub-color {
    --bs-text-opacity: 1;
    color: var(--text-color)!important;
}


.border-base-color {
    border-color: var(--main-color)!important;
}

.btn-base-color {
    color: #fff;
    background-color: var(--main-color);
    /* border-color: rgb(50, 50, 50); */
}

.btn-outline-base-color {
    color: var(--main-color);
    border-color: var(--main-color);
}

.bg-footer-color {
    color: #fff;
    background-color: var(--main-color);
}

h1{
    font-weight: bold;
    margin-bottom: 2rem;
}
h5{
    font-weight: bold;
    margin-bottom: 1rem;
}

/* divタグを並べた時、横と高さを揃える */
.row-eq-height{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


/* first-view */
#first-view h3{
    font-weight: bold;
    margin-bottom: 1rem;
}

#lead .lead_text {
    /* font-weight: bold; */
    /* font-size: 1.25rem; */
    line-height: 1.5rem;
    margin-bottom: 0.8rem;
}



#function .card-frame{
    min-height: 256px;
    position: relative;
}

#function .circle{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 5px solid var(--main-color);
    color: var(--sub-color);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 1rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}



/* #lead h1{
    font-weight: bold;
    margin-bottom: 2rem;
} */

#function h5{
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 1rem;
}

#description .card-frame {
    min-height: 256px;
}

#description .frame-body{
    margin: 1rem;
}

#description .frame-title{
    background-color: var(--main-color);
    color: var(--sub-color);
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    /* border: 1px solid #000; */
    width: 156px;
    margin: 0 auto;
}


/* price */
#price .frame-title{
    font-weight: bold;
    font-size: 1.25rem;
    text-align: center;
    margin: 0 auto;
}

#price .frame-price{
    font-weight: bold;
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
    margin: 0 auto;
}


/* process */
#process .title{
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.25rem;
    width: 160px;
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
#process .body{
    color: var(--text-color);
}
#process .custom-box{
    font-size: 1.1rem;
}


.br-sp {
    display: none;
}

.main-logo{
    height: 60px;
}

@media screen and (max-width:768px) {
    .br-sp {
        display: block;
    }
    .main-logo{
        height: 30px;
    }

}

/* お問い合わせ */
#contact .btn-contact{
    font-weight: bold;
    font-size: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}





/* トップ */
.main-visual{
    overflow: hidden;
}

.slide-items {
    padding: 0;
}
  
.slide-items img {
    width: 100%;
    max-height: 900px;
    object-fit: cover;
    object-position: 50% 50%;
}


.history {
    max-width: 1000px;
    margin: 0 auto;
}

.map iframe {
    width: 100%;
    height: 440px;
    aspect-ratio: 16/9; 
}


/* Footer */
.footer a{
    text-decoration: none;
    color: #FFF;
    transition: all .3s ease;
    word-wrap: break-word;  
}

/* faq */
.faq h3{
    background: var(--accent-color);
    color: #fff;
    padding: 0.5rem;
    margin: 1rem auto;  
}


.faq-title{
    margin-top: 1rem;
}

.accordion-item {
    /* border:0; */
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1spx solid #dee2e6;
}

.accordion-button {
    font-size: 1.5rem;
}
.faq-question{
    font-size: 2rem;
    margin-right: 1rem;
}

.accordion-header{
    border-bottom: none;
}

.accordion-button{
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-color);
    background-color: white;
    box-shadow: none;
}

.accordion-button:not(.collapsed){
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-color);
    background-color: white;
    box-shadow: none;
}

.accordion-body{
    color: var(--text-color);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}


#news a{
    text-decoration: none;
    color: var(--text-color)!important;
}

#news-detail .title{
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#news-body {
    min-height: 568px;
}

#news-body .body{
    font-size: 1rem;
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

#news-body h2{
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.news-footer{
    text-align: center;
    /* padding: 1rem; */
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.btn-top{
    background-color: var(--main-color);
    color: #fff;
}

.btn-top:hover{
    border-color: 1px solid var(--main-color);
    color: var(--main-color);
}

/* ご利用事例　*/
.main-description p {
    font-size: 1.1rem;
    line-height: 1.6;
}

#use_case img {
    border-radius: 8px;
    object-fit: cover;
}

#use_case h6 {
    font-weight: bold;
    margin-top: 10px;
}

.custom-heading {
    font-size: 1.1rem;
}

.custom-label {
    display: inline-block;
    padding: 2px 10px;
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 4px;
    line-height: 1.2;
    vertical-align: middle;
}

.customer-voice {
    border-top: 1px solid #ccc;
    padding-top: 20px;
}