/* 全体のスタイル */
:root {
    --primary: #FFD100; /* メインカラーを黄色に変更 */
    --secondary: #FFA800; /* セカンダリーカラーをオレンジ系の黄色に */
    --light: #f8f9fa;
    --dark: #212529;
    --success: #38b000;
    --warning: #ffba08;
    --danger: #d00000;
    --yellow-light: #FFF8E1; /* 薄い黄色背景用 */
    --yellow-dark: #E6BC00; /* 濃い黄色（ホバー効果用） */
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    padding-top: 76px; /* ヘッダーの高さ分のパディング */
}

/* ヘッダー */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    background-color: white;
    background-image: url('../img/honeycomb-pattern.svg');
    background-size: 300px;
    background-repeat: repeat;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: var(--dark);
}

.contact-btn {
    background-color: var(--primary);
    color: var(--dark) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    transition: all 0.3s ease;
    font-weight: bold;
}

.contact-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/random/1920x1080/?technology');
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* セクション共通 */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--yellow-light);
}

section h2 {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

section h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* サービスフロー */
.service-flow {
    position: relative;
}


/* カード */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* フローチャート */
.flow-chart {
    position: relative;
}

.flow-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.flow-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.flow-content {
    padding-top: 0.5rem;
}

.flow-item:not(:last-child):after {
    content: '';
    position: absolute;
    width: 2px;
    height: calc(100% + 1rem);
    background-color: var(--primary);
    left: 24px;
    top: 50px;
    z-index: -1;
}

/* よくある質問 */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--dark);
    background-color: rgba(255, 209, 0, 0.2);
}

/* アイコンの色を黄色に統一 */
.bi {
    color: var(--primary) !important;
}

/* 特定のセクションでのアイコン */
.card .bi,
.service-flow .bi,
.flow-item .bi {
    color: var(--primary) !important;
}

/* ボタン */
.btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    font-weight: bold;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    color: var(--dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
}

/* フッター */
footer {
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: rgba(0, 0, 0, 0.7);
}

footer a:hover {
    color: var(--primary) !important;
}

/* フッターロゴ */
.footer-logo {
    display: inline-block;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .service-flow .col-md-4:not(:last-child):after {
        display: none;
    }
    
    .hero {
        text-align: center;
        padding: 4rem 0;
        height: auto;
    }
    
    .hero .btn {
        margin-bottom: 0.5rem;
    }
    
    .flow-item:not(:last-child):after {
        height: calc(100% + 2rem);
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .flow-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .flow-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .flow-item:not(:last-child):after {
        display: none;
    }
}
