:root {
    --primary-color: #ea68a2;
    --secondary-color: #f19149;
    --accent-color: #f7b685;
    --text-dark: #333;
    --bg-light: #fff;
}

* {
    scroll-behavior: smooth;
}

.text-white {
    color: var(--bg-light);
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Topbar Styles */
.topbar {
    background: #f8f9fa;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #dee2e6;
}

.topbar .contact-info {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
}

.topbar .contact-info a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.topbar .contact-info a:hover {
    color: var(--primary-color);
}

.topbar .social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.topbar .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.topbar .social-icons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
.navbar-custom {
    background: var(--bg-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.company-name {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
}

.company-logo img {
    max-width: 200px;
    height: auto;
}

/* Main Navigation */
.navbar-custom .navbar-nav {
    margin-left: auto;
}

.navbar-custom .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-custom .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(234, 104, 162, 0.1);
    transform: translateY(-2px);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* ハンバーガーメニューのスタイル */
.navbar-custom .navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 4px 8px;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(234, 104, 162, 0.25);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28234, 104, 162, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    margin-top: 0;
    margin-bottom: 80px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-section img {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* Product Sections */
.product-section {
    margin: 20px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto;
}

.product-card {
    background: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-body {
    padding: 30px;
}

.product-card-body p {
    line-height: 1.8;
    margin-bottom: 0;
}

.product-card-alt {
    background: var(--primary-color);
    color: var(--bg-light);
}

.product-card-alt .product-card-body {
    display: flex;
    align-items: center;
    min-height: 250px;
}

/* ページ固有のスタイル */
.product-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
}

.product-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-intro {
    background: #f8f9fa;
    padding: 20px 0;
}

.intro-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-grid {
    padding: 0;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

.special-product {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.special-product .product-title {
    color: white;
}

.special-product .product-description {
    color: rgba(255, 255, 255, 0.9);
}

.price-note {
    background: var(--accent-color);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    font-weight: bold;
}

/* セクション別スタイル */
.section-divider {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin: 20px 0;
}

.section-divider h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-divider p {
    font-size: 1.1rem;
    margin: 0;
}

/* カード化されたコンテンツ説明部分 */
.content-description-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    border-left: 5px solid var(--primary-color);
}

.content-description-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.content-description-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Buttons */
.btn-custom {
    background: var(--secondary-color);
    color: var(--bg-light);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-custom:hover {
    background: var(--accent-color);
    color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Three Column Layout */
.three-col-section .col-md-4 {
    margin-bottom: 30px;
}

.three-col-card {
    text-align: center;
    padding: 20px;
}

.three-col-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Access Section */
.access-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 80px;
}

.access-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.access-info ul {
    list-style: none;
    padding: 0;
}

.access-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.access-info li:last-child {
    border-bottom: none;
}

.access-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.access-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer-custom {
    background: var(--primary-color);
    color: var(--bg-light);
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-custom a {
    color: var(--bg-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: var(--accent-color);
}

.footer-nav {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-social {
    text-align: center;
    margin-bottom: 20px;
}

.footer-social a {
    margin: 0 10px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--bg-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--bg-light);
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .topbar .contact-info {
        justify-content: center;
        gap: 15px;
    }

    .topbar .social-icons {
        gap: 8px;
    }

    .hero-section {
        margin-bottom: 40px;
    }

    .hero-section img {
        min-height: 250px;
        max-height: 400px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .product-section {
        margin: 40px 0;
    }

    .navbar-brand {
        flex-direction: column;
        text-align: center;
    }

    .company-name {
        font-size: 0.8rem;
    }

    .footer-nav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .topbar {
        padding: 6px 0;
        font-size: 0.8rem;
    }

    .topbar .contact-info {
        gap: 12px;
    }

    .topbar .social-icons {
        gap: 6px;
    }

    .topbar .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .product-card-body {
        padding: 20px;
    }

    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}