/* 基本設定 */
body {
    margin: 0;
    font-family: 'Noto Serif JP', serif;
    color: #333;
    line-height: 1.5;

    /* 背景画像 */
    background-color: #FFFFFF;
    background-image:
        url(bg-item1.png),
        url(bg-item2.png),
        url(bg-item3.png);
    background-repeat: no-repeat; 
    background-size: 350px, 250px, 350px;
    background-position: 90% 70%, 75% 40%, 10% 85%;
}

/* 最初のロゴ */
#main-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0; 
    margin-bottom: 2rem; 
}

#main-logo-area img {
    max-width: 50%;
    height: auto;
}

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color:#FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 1000;
    height: 80px;
    padding: 10px 0;
    transition: transform 0.4s ease-in-out;
    transform: translateY(-100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px; 
    box-sizing: border-box; 
}

.site-header.is-visible {
    transform: translateY(0);
}

.site-header img {
    height: 100%;
    width: auto;
    margin-left: 10px; 
}

/* ヘッダーのサイトタイトル */
.site-header .site-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    margin-left: 10px; 
    color: #333;
    font-weight: 700;
}

/* コンテンツ全体 */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: rgb(255, 255, 255, 0.7); /* コンテンツの背景を少し白くして読みやすくする */
    border-radius: 8px;
}

section {
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0rem;
    letter-spacing: 1px;
}
h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #B00000;
    margin: 0.2rem auto 0;
}

h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Aboutセクション */
.about-section p {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

/* 事業内容セクション */
.service-section {
    text-align: left;
}

.service-box {
    background-color: rgb(245, 245, 245,0.6);
    border-radius: 8px;
    padding: 2rem;

}

.service-category {
    margin-bottom: 1rem;
}
/*.service-category:last-child {
    margin-bottom: 0;
}*/
.service-box h3 {
    font-size: 1.1rem;
    font-family: 'Noto Sans JP', sans-serif;
    border-bottom: 2px solid #B00000;
    display: inline-block;
    padding-bottom: 2px;
    margin-bottom: 0.3rem;
}
.service-box p {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

/* 取引先セクション */
.clients-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 会社情報セクション */
.company-info {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    column-gap: 100px; 
    row-gap: 0;       
}

.company-info h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.company-info > h3 {
    flex-basis: 100%;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 0rem; 
}
.company-info .info-block {
    text-align: center;
}
address {
    font-style: normal;
}

/* フッター */
footer {
    background-color: #f7f7f7;
    text-align: center;
    padding: 2rem;
}
footer p {
    margin: 0 0 0.5rem 0;
}

footer a {
    color: #B00000;
}

/* スマートフォン対応 */
@media (max-width: 800px) {
    body {
        background-size: 250px, 150px, 250px; 
    }
    .site-header {
        height: 60px;
        padding: 8px 0;
    }
    .content-wrapper {
        margin: 2rem auto;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 1.2rem;
    }
    
    .service-box {
        padding: 1.5rem;
    }
    .service-box h3 {
        font-size: 1rem;
    }
    .service-box p {
        font-size: 0.9rem;
    }

    .about-section p {
        font-size: 1rem;
        margin-top: 1rem;
    }

}