:root {
    --primary-green: #0c7b39;
    --dark-green: #2c4c3b;
    --accent-red: #e60012;
    --text-main: #333333;
    --bg-light: #f8f9fa;
    --border-color: #dddddd;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);

}

/* --- Header --- */
.top-header {
    padding: 15px 0;
    background-color: #fff;
}
.header-catch {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 2px;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    display: flex;
    align-items: center;
}
.logo-icon {
    color: var(--primary-green);
    margin-right: 8px;
    font-size: 1.8rem;
}
.header-contact {
    text-align: right;
}
.phone-number {
    color: var(--accent-red);
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}
.phone-number i {
    font-size: 1.4rem;
}
.reception-time {
    font-size: 0.8rem;
    color: #333;
}

/* --- Navigation --- */
.main-nav {
    background-color: var(--primary-green);
}
.main-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 15px 30px !important;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.main-nav .nav-item:first-child .nav-link {
    border-left: 1px solid rgba(255,255,255,0.2);
}
.main-nav .nav-link:hover {
    background-color: rgba(0,0,0,0.1);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background-image: url('../../assets/images/ksrm/services/services-banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
}
.hero-content {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 50px;
    padding: 5px 25px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 30px;
}
.text-green { color: var(--primary-green) !important; }
.btn-custom-green {
    background-color: #5b9279;
    color: white;
    border-radius: 50px;
    padding: 6px 30px;
    font-weight: bold;
    border: none;
    transition: 0.3s;
}
.btn-custom-green:hover { background-color: #4a7a63; color: white; }
.btn-custom-outline {
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 6px 30px;
    font-weight: bold;
    transition: 0.3s;
}
.btn-custom-outline:hover { background-color: #f0f0f0; }

/* --- Section Titles --- */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}
.title-underline {
    width: 40px;
    height: 3px;
    background-color: #f4c542;
    margin: 0 auto 20px;
}

/* --- Worries Section --- */
.worries {
    padding: 80px 0;
    background-color: #fdfdfd;
}
.worry-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.worry-img {
    height: 160px;
    width: auto;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
}
.worry-img img { max-height: 100%; }
.worry-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.worry-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}
.worry-solution {
    background-color: #fef8ec;
    color: #82661e;
    border: 2px solid #e0b047;
    border-radius: 5px;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: left;
    position: relative;
}
.worry-solution::before {
    content: "";
    position: absolute;
    top: -9px; left: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e0b047;
}
.worry-solution::after {
    content: "";
    position: absolute;
    top: -6px; left: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

/* --- Support Section --- */
.support {
    padding: 80px 0;
}
.support-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.support-list li {
    width: 50%;
    margin-bottom: 15px;
    font-weight: 500;
}
.support-list li i {
    color: var(--primary-green);
    margin-right: 8px;
}
.food-circles {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    text-align: center;
}
.food-circle-item {
    width: 12%;
}
.food-circle-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #eee;
}
.food-circle-label {
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- Trends Section --- */
.trends {
    padding: 80px 0;
    background-color: #f9f9f9;
}
.trend-item {
    display: flex;
    margin-bottom: 30px;
}
.trend-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-right: 20px;
    line-height: 1;
}
.trend-content h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}
.trend-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* --- Vision Section --- */
.vision {
    padding: 80px 0;
    background-color: #fff;
}
.model-banner {
    background-color: #eef2f5;
    border: 2px solid #377659;
    color: #377659;
    font-weight: bold;
    padding: 15px;
    border-radius: 5px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.flow-box {
    background-color: #377659;
    color: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    line-height: 1.5;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.flow-arrow {
    color: #377659;
    font-size: 2.2rem;
    margin: 10px 0;
}
.vision-message {
    background-color: #f4f9f6;
    border-left: 5px solid var(--primary-green);
    padding: 20px;
    font-weight: bold;
    font-size: 1.15rem;
    color: var(--dark-green);
    max-width: 900px;
    margin: 0 auto;
}
.next-arrow {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* --- Efficiency Section --- */
.efficiency {
    background-color: #f0fdf4;
    padding: 80px 0;
}

/* --- FAQ Section --- */
.faq {
    padding: 80px 0;
}
.faq .card {
    border: none;
    margin-bottom: 10px;
}
.faq .card-header {
    background-color: #f5f5f5;
    border: none;
    border-radius: 5px;
    padding: 0;
}
.faq .btn-link {
    width: 100%;
    text-align: left;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    position: relative;
}
.faq .btn-link::after {
    content: '\f107'; /* fa-angle-down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
}
.faq .btn-link[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}
.faq .card-body {
    padding: 20px;
    background-color: #fff;
    border-left: 3px solid transparent;
}

/* --- Contact CTA --- */
.cta {
    background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    position: relative;
}
.cta::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(12, 123, 57, 0.7); /* Green overlay */
}
.cta-box {
    position: relative;
    background-color: var(--accent-red);
    padding: 30px 50px;
    border-radius: 10px;
    color: #fff;
}
.cta-btn {
    background-color: #fff;
    color: var(--accent-red);
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}
.cta-btn:hover {
    background-color: #f0f0f0;
    color: var(--accent-red);
    text-decoration: none;
}

/* Utility */
.br-sp { display: none; }
@media (max-width: 767px) {
    .br-pc { display: none; }
    .br-sp { display: block; }
    .hero-content { padding: 30px 20px; }
    .hero-title { font-size: 1.8rem; }
    .trend-item { flex-direction: column; }
    .food-circles { flex-wrap: wrap; }
    .food-circle-item { width: 30%; margin-bottom: 20px; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 10px; }
    .cta-box { text-align: center; }
    .cta-box .row > div { margin-bottom: 20px; }
}



/* タイトルなどの文字色 */
.text-green-dark { color: #166534; }
.text-green-mid { color: #15803d; }
.fw-extrabold { font-weight: 800; }
.fw-bold { font-weight: 700; }

/* ヘッダー周りのレスポンシブ調整 */
@media (max-width: 767.98px) {
    .header-text { text-align: center; margin-bottom: 2rem; }
    .header-title { font-size: 1.8rem; }
}
@media (min-width: 768px) {
    .header-title { font-size: 2.25rem; line-height: 1.2; }
}

/* イラスト周り */
.illustration-wrapper {
    max-width: 280px;
    margin: 0 auto;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.05));
}

/* サブタイトル装飾 */
.efficiency-section-subtitle {
    font-size: 1.1rem;
    color: #15803d;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.efficiency-section-subtitle::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #dcfce7;
    margin-left: 1rem;
}

/* カスタムカード（テーマカラー背景） */
.custom-card {
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 各テーマの配色設定 */
.card-breakfast { background-color: #eff6ff; border-color: #dbeafe; } /* 青：爽やかな朝 */
.card-lunch { background-color: #fff7ed; border-color: #ffedd5; }     /* オレンジ：活気ある昼 */
.card-dinner { background-color: #f5f3ff; border-color: #ede9fe; }    /* 紫：落ち着いた夜 */
.card-snack { background-color: #fdf2f8; border-color: #fce7f3; }     /* ピンク：楽しいおやつ */

.card-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.75rem;
    border-radius: 50rem;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1rem;
}
/* バッジの配色 */
.badge-breakfast { background-color: #3b82f6; color: #fff; }
.badge-lunch { background-color: #f97316; color: #fff; }
.badge-dinner { background-color: #8b5cf6; color: #fff; }
.badge-snack { background-color: #ec4899; color: #fff; }

.card-title-custom {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}
.card-desc-custom {
    color: #4b5563;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* カード用アイコン（SVG）の配置調整 */
.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: block;
}

/* 比較表（角丸・枠線・ホバー） */
.custom-table-container {
    background-color: #fff;
    border-radius: 1rem;
    border: 1px solid #dcfce7;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.table { margin-bottom: 0; }
.table th, .table td {
    vertical-align: middle;
    text-align: center;
    border-top: 1px solid #f3f4f6;
    padding: 1.5rem 1.25rem;
}
.table thead th {
    border-bottom: 2px solid #dcfce7;
    border-top: none;
    background-color: rgba(249, 250, 251, 0.5);
}
.col-item {
    width: 25%;
    font-weight: 700;
    color: #343a40;
    background-color: rgba(249, 250, 251, 0.3);
}
.col-current {
    width: 37.5%;
    color: #6c757d;
}
.col-optimized {
    width: 37.5%;
    color: #166534;
    font-weight: 700;
    font-size: 1rem;
    background-color: rgba(240, 253, 244, 0.3);
}
.table thead th.bg-green-light {
    background-color: rgba(240, 253, 244, 0.5);
    color: #166534;
}
.table tbody tr:hover {
    background-color: rgba(249, 250, 251, 0.5);
    transition: background-color 0.2s;
}

/* --- ご提案事例セクション用 CSS --- */
.proposals-section {
    margin-top: 6rem;
}
.proposals-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin-bottom: 0.75rem;
}
.proposals-subtitle {
    font-size: 1rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3.5rem;
}
.proposal-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}
/* モバイル表示時に、縦並びになるカード間の余白を確保 */
@media (max-width: 767.98px) {
    .proposal-wrapper {
        margin-bottom: 4rem; 
    }
}
.speech-bubble-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem 3.5rem; /* バッジがかぶる下部を少し広めに */
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0,0,0,0.02);
    flex-grow: 1; /* 高さを揃えるため */
}
/* 吹き出しの尻尾（三角形） */
.speech-bubble-card::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 25px 25px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    display: block;
    width: 0;
}
.proposal-card-title {
    color: #d97706; /* オレンジ */
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.proposal-card-text {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}
.text-highlight-green {
    color: #166534; /* 濃い緑 */
    font-weight: 700;
}
/* 解決バッジ */
.solution-badge {
    position: absolute;
    bottom: -32.5px; /* 高さ65pxの半分だけ下にずらす */
    left: 50%;
    transform: translateX(-50%);
    background-color: #166534;
    color: #ffffff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
.proposals-note {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin-top: 4rem;
}
