/* 変数定義 */
:root {
    /* ベースカラー */
    --color-base: #189187;          

    /* サブカラー（背景など） */
    --color-sub: #D9E8E3;   
    /* ダークテキストカラー */         
    --color-text-dark: #0F0F0F;       

    /* アクセントカラー */
    --color-accent: #D65A00;         

    /* フッター */
    --color-footer-bg: #362c2c;
    --color-footer-text: #ffffff;

    /* 黄色 */
    --color-yellow: #E6C15F;

    /* 共通ホワイト */
    --color-white: #ffffff;

    /* 水色　*/
    --color-benefit: #29c0d4;
}



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

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

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

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

.border-base-color {
    border-color: rgb(50, 50, 50)!important;
}

.btn-base-color {
    color: var(--color-white);
    background-color: var(--color-base);
    /* border-color: var(--color-base); */
}

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

.bg-footer-color {
    color: var(--color-footer-text);
    background-color: var(--color-footer-bg);
}

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

/* アプリ統一配色スタイル */
body {
    background-color: var(--color-sub); /* ライトベージュ背景 */
    color: var(--color-text-dark); /* ダークグレー文字 */
}

.card {
    background-color: var(--color-sub);
    border: 1px solid rgba(58, 150, 136, 0.2);
    color: var(--color-text-dark);
}

.lead-content {
    /* border-left: 4px solid var(--color-base); */
     /* ダークティール */
    background-color: rgba(241, 237, 227, 0.8);
}

.system-overview {
    border-top: 4px solid var(--color-base); /* ダークティール */
    background-color: var(--color-sub);
}

/* .function-card:hover, .feature-card:hover, .use-case-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
} */

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--color-base); /* ダークティール */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon-circle i {
    font-size: 1.5rem;
    color: var(--color-white);
}

.benefit-card {
    border-top: 4px solid var(--color-base); /* ダークティール */
    background-color: var(--color-sub);
}

.bg-primary {
    background-color: var(--color-base) !important; /* ダークティール */
    color: var(--color-white) !important;
}

.bg-success {
    background-color: var(--color-accent) !important; /* コーラルオレンジ */
    color: var(--color-text-dark) !important;
}

.bg-warning {
    background-color: var(--color-accent) !important; /* コーラルオレンジ */
    color: var(--color-white) !important;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: var(--color-base); /* ダークティール */
    color: var(--color-white);
}

.solution-box {
    border-top: 4px solid var(--color-accent); /* コーラルオレンジ */
    background-color: var(--color-base); /* ダークティール背景 */
    color: var(--color-white);
}

/* アイコンの色をアクセントとして変化させる */
.icon-circle:nth-child(2n) {
    background-color: var(--color-accent); /* コーラルオレンジ */
    color: var(--color-white);
}

.feature-icon-circle:nth-child(2n) {
    background-color: var(--color-accent); /* コーラルオレンジ */
}

/* カードの背景を統一 */
.use-case-card {
    background-color: var(--color-white) !important;
}

/* テキストカラー統一 */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-dark); /* ダークグレー */
}

.text-primary {
    color: var(--color-base) !important; /* ダークティール */
}

.text-success {
    color: var(--color-accent) !important; /* コーラルオレンジ */
}

/* 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.5rem;
}

/* --- 以下、既存CSSと同様 --- */

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

#function .circle{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 5px solid var(--color-base);
    color: var(--color-white);
    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(--color-base);
    color: var(--color-white);
    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(--color-accent);
    text-align: center;
    margin: 0 auto;
}

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

.br-sp {
    display: none;
}

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

/* お問い合わせ */
#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: var(--color-white);
    transition: all .3s ease;
    word-wrap: break-word;  
}

/* faq */
.faq h3{
    background: var(--color-accent);
    color: var(--color-white);
    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: 1px 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(--color-text-dark);
    background-color: var(--color-white);
    box-shadow: none;
}

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

/* アコーディオンのアイコンを修正 */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(0deg);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

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

#news a{
    text-decoration: none;
    color: var(--color-text-dark)!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: rgb(33, 33, 33);
    color: var(--color-white);
}

.btn-top:hover{
    border-color: 1px solid rgb(33, 33, 33);
    color: rgb(33, 33, 33);
}

/* ご利用事例　*/
.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: var(--color-white);
    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;
}

.text-yellow {
    color: var(--color-yellow)!important;
}

.text-blue {
    color: var(--color-benefit) !important;
}

.hero-h1 {
    font-size: 3.25rem;
}

/* 導入メリット */
#benefits .title {
    font-weight: bold;
}
#benefits .title-icon {
    display:inline-block;
    width:8px;
    height:1em;
    background:var(--color-base);
    margin-right:8px;
    vertical-align:-0.1em;
}

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