@charset "UTF-8";
/* :rootで、サイト全体で使う色の変数を定義します */
:root {
    --bg-color: #fefbf6; /* 背景色: 温かいクリーム色 */
    --text-color: #2F2F2F; /* 文字色: 知的なオフブラック */
    --accent-color: #DAA520; /* アクセント: 品の良いゴールド */
    --base-font-size: 1.1rem;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: var(--base-font-size);
    line-height: 1.8;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

.section-title {
    margin-bottom: 4rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

/* ナビゲーションバー */
.navbar {
    background-color: rgba(254, 251, 246, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar-brand img { max-height: 40px; }

/* ヒーローセクション */
.hero {
    display: flex;
    align-items: center;
    text-align: center;
    background-color: rgba(254, 251, 246, 0.9);
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.4;
}
.hero h1 .highlight {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    padding: 0 0.5rem;
}

/* ボタン */
.btn-custom {
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
}
.btn-custom:hover:not(:disabled) {
    background-color: rgba(218, 165, 32, 1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: var(--bg-color);
}
.btn-custom:disabled {
    background-color: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
    color: #000;
    font-weight: normal;
}

section { padding: 5.5rem 0; }

/* 事業理念 */
.philosophy-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* カード共通スタイル */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.card-img-top { border-radius: 15px 15px 0 0; }

/* サービスカードのアイコン */
.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* 制作の流れ */
.process-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* FAQ アコーディオン */
.accordion-item {
    background-color: #fff;
    border: none;
    border-radius: 10px !important;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.accordion-button {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    background-color: #fff;
    border-radius: 10px !important;
    box-shadow: none;
}
.accordion-button:not(.collapsed) {
    background-color: #f6f1e9;
    color: var(--accent-color);
}
.accordion-button:focus { box-shadow: 0 0 0 0.25rem rgba(218, 165, 32, 0.25); }

/* お問い合わせ */
.form-control, .form-select {
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(218, 165, 32, 0.25);
}
.contact-info-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
}
.qr-code { max-width: 150px; }
.form-control::placeholder {
    color: #DAA520;
}
select:invalid {
    color: #DAA520;
}

/* フッター */
footer {
    background-color: #f6f1e9;
    padding: 2rem 0;
}

footer .copyright {
    font-size: 75%;
}

/* テーブルを見やすくするための簡単なスタイル */
.company-table {
    border: 1px solid #dee2e6;
}
.company-table th, .company-table td {
    padding: 1rem;
    vertical-align: top;
}
.company-table th {
    width: 30%;
    background-color: #f8f9fa;
    font-weight: 700;
}
/* セクションの上下の余白を調整 */
.page-section {
    padding-top: 120px; /* ヘッダーの高さ分を考慮 */
    padding-bottom: 80px;
}

/* レスポンシブ */
@media (max-width:575.98px) {
    .hero {
        /* background-image: url(./images/hero-webflame-sp.png); */
        background-size: contain;
        margin-top: 62px;
        min-height: calc(100svh - 62px);
    }
    .hero h1 {
        font-size: 2rem;
        line-height: 1.4;
    }
}

@media (min-width:576px) {
    .hero {
        /* background-image: url(./images/hero-webflame-sp.png); */
        background-size: contain;
        margin-top: 62px;
        min-height: calc(100svh - 62px);
    }
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.4;
    }
}

@media (min-width:768px) {
    .hero {
        /* background-image: url(./images/hero-webflame-tb.png); */
        background-size: contain;
        margin-top: 62px;
        min-height: calc(100svh - 62px);
    }
    .hero h1 {
        font-size: 3rem;
        line-height: 1.4;
    }
    h2.section-title {
        font-size: 2rem;
    }
}

@media (min-width:992px) {
    .hero {
        /* background-image: url(./images/hero-webflame-pc.png); */
        background-size: contain;
        margin-top: 62px;
        min-height: calc(100svh - 62px);
    }
    .hero h1 {
        font-size: 3rem;
        line-height: 1.4;
    }
    h2.section-title {
        font-size: 2rem;
    }
}

@media (min-width:1200px) {
    .hero {
        /* background-image: url(./images/hero-webflame-pc.png); */
        background-size: contain;
        margin-top: 62px;
        min-height: calc(100svh - 62px);
    }
    .hero h1 {
        font-size: 3.5rem;
        line-height: 1.4;
    }
    h2.section-title {
        font-size: 2rem;
    }
}
