* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
--primary-color: #c41e3a;
--secondary-color: #2c3e50;
--accent-color: #d4af37;
--text-color: #333;
--bg-color: #fff;
--light-bg: #f8f9fa;
--border-color: #ddd;
--success-color: #4CAF50;
--shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--bg-color);
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

header {
background-color: var(--bg-color);
box-shadow: var(--shadow);
position: sticky;
top: 0;
z-index: 1000;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
}

.logo {
display: flex;
align-items: center;
gap: 10px;
}

.logo a {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--primary-color);
font-size: 1.2rem;
font-weight: bold;
}

.logo img {
border-radius: 50%;
object-fit: cover;
}

.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
align-items: center;
}

.nav-menu a {
text-decoration: none;
color: var(--text-color);
font-weight: 500;
transition: color 0.3s;
}

.nav-menu a:hover {
color: var(--primary-color);
}

.cart-link {
position: relative;
}

.cart-count {
position: absolute;
top: -8px;
right: -8px;
background-color: var(--primary-color);
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
font-weight: bold;
}

.hero {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
text-align: center;
padding: 4rem 0;
}

.hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 2rem;
}

.cta-button {
display: inline-block;
background-color: var(--accent-color);
color: var(--secondary-color);
padding: 1rem 2rem;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: transform 0.3s;
}

.cta-button:hover {
transform: translateY(-2px);
}

.features {
padding: 4rem 0;
background-color: var(--light-bg);
}

.features h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 3rem;
color: var(--secondary-color);
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}

.feature-card {
background-color: white;
padding: 2rem;
border-radius: 10px;
text-align: center;
box-shadow: var(--shadow);
transition: transform 0.3s;
}

.feature-card:hover {
transform: translateY(-5px);
}

.feature-icon {
margin-bottom: 1rem;
}

.feature-card h3 {
color: var(--primary-color);
margin-bottom: 1rem;
}

.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.stat-item {
text-align: center;
padding: 2rem;
background-color: white;
border-radius: 10px;
box-shadow: var(--shadow);
}

.stat-item h3 {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 0.5rem;
}

.about-products {
padding: 4rem 0;
}

.about-products h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 2rem;
color: var(--secondary-color);
}

.about-content {
max-width: 900px;
margin: 0 auto;
}

.about-content p {
margin-bottom: 1.5rem;
text-align: justify;
line-height: 1.8;
}

.about-content h3 {
color: var(--primary-color);
margin: 2rem 0 1rem;
}

.quote-future {
padding: 3rem 0;
background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
color: white;
}

.quote-future h2 {
text-align: center;
margin-bottom: 2rem;
}

.quote-future blockquote {
max-width: 800px;
margin: 0 auto;
font-size: 1.2rem;
font-style: italic;
padding: 2rem;
background-color: rgba(255,255,255,0.1);
border-radius: 10px;
border-left: 4px solid var(--accent-color);
}

.quote-future cite {
display: block;
text-align: right;
margin-top: 1rem;
font-style: normal;
color: var(--accent-color);
}

.statistics-section {
padding: 4rem 0;
background-color: var(--light-bg);
}

.statistics-section h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 3rem;
color: var(--secondary-color);
}

.statistics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}

.stat-card {
background-color: white;
padding: 2rem;
border-radius: 10px;
text-align: center;
box-shadow: var(--shadow);
}

.stat-card h3 {
font-size: 2rem;
color: var(--primary-color);
margin-bottom: 1rem;
}

.products {
padding: 4rem 0;
}

.products h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 3rem;
color: var(--secondary-color);
}

.products-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2rem;
}

.product-card {
background-color: white;
border-radius: 10px;
overflow: hidden;
box-shadow: var(--shadow);
transition: transform 0.3s;
}

.product-card:hover {
transform: translateY(-5px);
}

.product-card img {
width: 100%;
height: 300px;
object-fit: cover;
}

.product-card h3 {
padding: 1rem;
font-size: 1.1rem;
}

.product-card h3 a {
color: var(--text-color);
text-decoration: none;
}

.product-card h3 a:hover {
color: var(--primary-color);
}

.product-card p {
padding: 0 1rem;
color: #666;
font-size: 0.9rem;
}

.price {
font-size: 1.5rem;
color: var(--primary-color);
font-weight: bold;
padding: 1rem;
}

.add-to-cart {
width: calc(100% - 2rem);
margin: 0 1rem 1rem;
padding: 0.75rem;
background-color: var(--primary-color);
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s;
}

.add-to-cart:hover {
background-color: #a01829;
}

.product-detail {
padding: 4rem 0;
}

.product-detail-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
}

.product-image img {
width: 100%;
border-radius: 10px;
box-shadow: var(--shadow);
}

.product-info h1 {
color: var(--secondary-color);
margin-bottom: 1rem;
}

.product-description {
margin: 2rem 0;
}

.product-description h3 {
color: var(--primary-color);
margin: 1.5rem 0 1rem;
}

.product-description ul {
margin-left: 1.5rem;
}

.product-description li {
margin-bottom: 0.5rem;
}

.product-actions {
display: flex;
gap: 1rem;
margin-top: 2rem;
}

.btn-primary, .btn-secondary {
padding: 1rem 2rem;
border: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s;
text-decoration: none;
display: inline-block;
text-align: center;
}

.btn-primary {
background-color: var(--primary-color);
color: white;
flex: 1;
}

.btn-primary:hover {
background-color: #a01829;
}

.btn-secondary {
background-color: var(--secondary-color);
color: white;
flex: 1;
}

.btn-secondary:hover {
background-color: #1a252f;
}

.btn-full {
width: 100%;
}

.cart-section, .checkout-section {
padding: 4rem 0;
min-height: 60vh;
}

.cart-section h1, .checkout-section h1 {
text-align: center;
color: var(--secondary-color);
margin-bottom: 3rem;
}

.cart-empty {
text-align: center;
padding: 3rem;
}

.cart-empty p {
font-size: 1.2rem;
color: #666;
margin-bottom: 2rem;
}

.cart-table {
width: 100%;
border-collapse: collapse;
background-color: white;
box-shadow: var(--shadow);
border-radius: 10px;
overflow: hidden;
}

.cart-table th {
background-color: var(--primary-color);
color: white;
padding: 1rem;
text-align: left;
}

.cart-table td {
padding: 1rem;
border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 5px;
}

.cart-item-info h3 {
margin-bottom: 0.5rem;
}

.quantity-control {
display: flex;
align-items: center;
gap: 0.5rem;
}

.quantity-btn {
width: 30px;
height: 30px;
border: 1px solid var(--border-color);
background-color: white;
cursor: pointer;
border-radius: 3px;
}

.quantity-btn:hover {
background-color: var(--light-bg);
}

.quantity-input {
width: 50px;
text-align: center;
border: 1px solid var(--border-color);
border-radius: 3px;
padding: 0.25rem;
}

.remove-btn {
background-color: #e74c3c;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 5px;
cursor: pointer;
}

.remove-btn:hover {
background-color: #c0392b;
}

.cart-summary {
margin-top: 2rem;
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: var(--shadow);
}

.cart-total {
text-align: right;
margin-bottom: 2rem;
}

.total-price {
font-size: 2rem;
color: var(--primary-color);
font-weight: bold;
}

.cart-actions {
display: flex;
justify-content: space-between;
gap: 1rem;
}

.checkout-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 3rem;
}

.checkout-form {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: var(--shadow);
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 0.75rem;
border: 1px solid var(--border-color);
border-radius: 5px;
font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary-color);
}

.order-summary {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: var(--shadow);
height: fit-content;
}

.order-item {
display: flex;
justify-content: space-between;
padding: 1rem 0;
border-bottom: 1px solid var(--border-color);
}

.order-total {
margin-top: 1rem;
padding-top: 1rem;
border-top: 2px solid var(--primary-color);
}

.success-section {
padding: 6rem 0;
text-align: center;
}

.success-content {
max-width: 600px;
margin: 0 auto;
background-color: white;
padding: 3rem;
border-radius: 10px;
box-shadow: var(--shadow);
}

.success-icon {
margin-bottom: 2rem;
}

.success-content h1 {
color: var(--success-color);
margin-bottom: 1rem;
}

.success-content p {
margin-bottom: 1rem;
font-size: 1.1rem;
}

.success-actions {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 2rem;
}

.contact-section {
padding: 4rem 0;
}

.contact-section h1 {
text-align: center;
color: var(--secondary-color);
margin-bottom: 3rem;
}

.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
}

.contact-info {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: var(--shadow);
}

.contact-item {
display: flex;
gap: 1rem;
margin-bottom: 2rem;
}

.contact-item svg {
flex-shrink: 0;
}

.contact-item h3 {
color: var(--primary-color);
margin-bottom: 0.5rem;
}

.contact-form-wrapper {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: var(--shadow);
}

.about-hero {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
text-align: center;
padding: 3rem 0;
}

.about-hero h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}

.about-content {
padding: 4rem 0;
}

.about-text {
max-width: 900px;
margin: 0 auto;
}

.about-text h2 {
color: var(--secondary-color);
margin-bottom: 2rem;
}

.about-text p {
margin-bottom: 1.5rem;
line-height: 1.8;
text-align: justify;
}

.team-section {
padding: 4rem 0;
background-color: var(--light-bg);
}

.team-section h2 {
text-align: center;
color: var(--secondary-color);
margin-bottom: 3rem;
font-size: 2rem;
}

.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}

.team-card {
background-color: white;
border-radius: 10px;
overflow: hidden;
box-shadow: var(--shadow);
text-align: center;
transition: transform 0.3s;
}

.team-card:hover {
transform: translateY(-5px);
}

.team-card img {
width: 100%;
height: 400px;
object-fit: cover;
}

.team-card h3 {
color: var(--primary-color);
padding: 1rem 1rem 0.5rem;
font-size: 1.3rem;
}

.team-card p {
padding: 0 1rem 1rem;
}

.team-card p:first-of-type {
color: var(--secondary-color);
font-weight: 500;
padding-bottom: 0.5rem;
}

.values-section {
padding: 4rem 0;
}

.values-section h2 {
text-align: center;
color: var(--secondary-color);
margin-bottom: 3rem;
font-size: 2rem;
}

.values-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}

.value-card {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: var(--shadow);
text-align: center;
}

.value-card h3 {
color: var(--primary-color);
margin-bottom: 1rem;
}

footer {
background-color: var(--secondary-color);
color: white;
padding: 3rem 0 1rem;
margin-top: 4rem;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}

.footer-section h3 {
color: var(--accent-color);
margin-bottom: 1rem;
}

.footer-section ul {
list-style: none;
}

.footer-section ul li {
margin-bottom: 0.5rem;
}

.footer-section a {
color: white;
text-decoration: none;
transition: color 0.3s;
}

.footer-section a:hover {
color: var(--accent-color);
}

.social-links {
display: flex;
gap: 1rem;
}

.social-links a {
color: white;
transition: color 0.3s;
}

.social-links a:hover {
color: var(--accent-color);
}

.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: var(--secondary-color);
color: white;
padding: 1.5rem;
box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
z-index: 9999;
display: none;
}

.cookie-banner.show {
display: block;
}

.cookie-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 1rem;
}

.cookie-buttons {
display: flex;
gap: 1rem;
}

.btn-cookie {
padding: 0.5rem 1.5rem;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s;
}

.btn-cookie.accept {
background-color: var(--success-color);
color: white;
}

.btn-cookie.customize {
background-color: var(--accent-color);
color: var(--secondary-color);
}

.btn-cookie.reject {
background-color: transparent;
color: white;
border: 1px solid white;
}

.cookie-link {
color: var(--accent-color);
text-decoration: underline;
}

/* Blog Post Styles */
.blog-post {
padding: 4rem 0;
}

.blog-post .post-header {
margin-bottom: 2rem;
box-shadow: none;
position: static;
background-color: transparent;
}

.blog-post .post-header h1 {
color: var(--secondary-color);
font-size: 2rem;
margin-bottom: 1rem;
line-height: 1.4;
}

.post-meta {
display: flex;
gap: 1.5rem;
align-items: center;
color: #666;
font-size: 0.9rem;
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border-color);
}

.post-category {
background-color: var(--primary-color);
color: white;
padding: 0.25rem 0.75rem;
border-radius: 3px;
font-size: 0.8rem;
font-weight: 500;
}

.post-content {
max-width: 800px;
margin: 0 auto;
line-height: 1.9;
}

.post-content h2 {
color: var(--secondary-color);
margin: 2.5rem 0 1rem;
font-size: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--primary-color);
}

.post-content p {
margin-bottom: 1.5rem;
text-align: justify;
}

.post-featured-image {
width: 100%;
max-height: 500px;
object-fit: cover;
border-radius: 10px;
margin-bottom: 2rem;
box-shadow: var(--shadow);
}

.post-cta {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
padding: 2rem;
border-radius: 10px;
text-align: center;
margin: 3rem 0;
}

.post-cta h3 {
margin-bottom: 1rem;
font-size: 1.3rem;
}

.post-cta p {
margin-bottom: 1.5rem;
}

.post-cta .cta-button {
background-color: var(--accent-color);
color: var(--secondary-color);
}

.post-navigation {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid var(--border-color);
display: flex;
justify-content: flex-end;
}

.next-post {
text-decoration: none;
color: var(--primary-color);
font-weight: 500;
padding: 0.75rem 1.5rem;
border: 2px solid var(--primary-color);
border-radius: 5px;
transition: all 0.3s;
}

.next-post:hover {
background-color: var(--primary-color);
color: white;
}

/* Cart Content */
.cart-content {
margin-top: 1rem;
}

/* Contact Form */
.contact-form h2 {
color: var(--secondary-color);
margin-bottom: 1.5rem;
}

.contact-info h2 {
color: var(--secondary-color);
margin-bottom: 1.5rem;
}

/* Form select styling */
.form-group select {
width: 100%;
padding: 0.75rem;
border: 1px solid var(--border-color);
border-radius: 5px;
font-family: inherit;
background-color: white;
}

.form-group select:focus {
outline: none;
border-color: var(--primary-color);
}

@media (max-width: 768px) {
.nav-menu {
flex-direction: column;
gap: 1rem;
}
.hero h1 {
font-size: 1.8rem;
}
.product-detail-grid {
grid-template-columns: 1fr;
}
.checkout-grid {
grid-template-columns: 1fr;
}
.contact-grid {
grid-template-columns: 1fr;
}
.cart-actions {
flex-direction: column;
}
.product-actions {
flex-direction: column;
}
.cookie-content {
flex-direction: column;
text-align: center;
}
.cookie-buttons {
flex-direction: column;
width: 100%;
}
.btn-cookie {
width: 100%;
}
.blog-post .post-header h1 {
font-size: 1.5rem;
}
.post-meta {
flex-direction: column;
gap: 0.5rem;
}
.post-content h2 {
font-size: 1.25rem;
}
.form-row {
grid-template-columns: 1fr;
}
}

@media (max-width: 480px) {
.features-grid, .products-grid, .team-grid {
grid-template-columns: 1fr;
}
}
