/* Common */
html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Header */
.navbar-brand {
    font-weight: bold;
}

.site-header {
    background-color: #f8f9fa;
    padding: 1rem 0;
}

/* Footer */
.site-footer {
    background-color: #343a40;
    color: #fff;
    padding: 2rem 0;
    position: relative;
    width: 100%;
    z-index: 100;
}

.site-footer a {
    color: #fff;
}

/* Home */
.custom-jumbotron {
    position: relative;
    background-color: transparent;
    color: #ffffff;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.custom-jumbotron::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/drawing_image.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -1;
}

.custom-jumbotron h1,
.custom-jumbotron p {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #ffffff;
    background-color: rgba(26, 35, 126, 0.8);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

/* Service */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #007bff;
}

/* 3Dプリント試作の流れ */
.step-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.step-item {
    flex: 0 0 calc(25% - 20px);
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.step-item:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #6c757d;
}

.step-content {
    text-align: center;
}

.step-content h4 {
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.step-content p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .step-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .step-item:nth-child(2n):after {
        display: none;
    }
}

@media (max-width: 576px) {
    .step-item {
        flex: 0 0 100%;
    }
    
    .step-item:after {
        display: none;
    }
}

/* Contact */
.contact-info-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: #007bff;
}

/* Header Navigation */
.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.header-nav-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.navbar-nav {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 0.5rem;
}

.nav-link {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    letter-spacing: 0.01em;
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nav-link:active {
    transform: translateY(0);
}

/* モバイル表示の調整 */
@media (max-width: 768px) {
    .header-nav-container {
        justify-content: center;
    }
    
    .navbar {
        width: 100%;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        display: block;
        text-align: center;
    }
}

/* コンテンツスクロール対応 */
.blog-content, 
.contact-content,
.form-container {
    padding-top: 2rem;
}

.content-container {
    padding-bottom: 4rem;
}

/* スクロール調整用 */
.scroll-fix {
    padding-bottom: 60px;
}

/* メインコンテンツ調整 */
main {
    min-height: calc(100vh - 200px);
    padding-bottom: 120px;
}

.container, 
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
} 