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

:root {
--primary-color: #4A5568;
--secondary-color: #667EEA;
--accent-color: #48BB78;
--text-color: #2D3748;
--light-bg: #F7FAFC;
--white: #FFFFFF;
--border-color: #E2E8F0;
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

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

.navbar {
padding: 1rem 0;
}

.nav-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--primary-color);
font-size: 1.5rem;
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(--primary-color);
font-weight: 500;
transition: color 0.3s;
}

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

.cart-link {
position: relative;
}

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

.countdown-section {
background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
color: var(--white);
padding: 2rem 0;
text-align: center;
}

.countdown-section h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
}

.countdown {
display: flex;
justify-content: center;
gap: 2rem;
}

.countdown-item {
display: flex;
flex-direction: column;
align-items: center;
}

.countdown-item span:first-child {
font-size: 2.5rem;
font-weight: bold;
display: block;
min-width: 60px;
background: rgba(255, 255, 255, 0.2);
padding: 10px;
border-radius: 8px;
}

.countdown-label {
font-size: 0.9rem;
margin-top: 5px;
}

.hero {
background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
color: var(--white);
padding: 4rem 0;
text-align: center;
}

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

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

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

.cta-button:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}

.features {
padding: 4rem 0;
background: var(--white);
}

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

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

.feature-card {
text-align: center;
padding: 2rem;
background: var(--light-bg);
border-radius: 12px;
transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}

.feature-icon {
color: var(--secondary-color);
margin-bottom: 1rem;
}

.feature-card h3 {
color: var(--primary-color);
margin-bottom: 0.5rem;
font-size: 1.25rem;
}

.stats {
display: flex;
justify-content: space-around;
margin: 3rem 0;
padding: 2rem;
background: var(--light-bg);
border-radius: 12px;
}

.stat-item {
text-align: center;
}

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

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

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

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

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

.products {
padding: 4rem 0;
}

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

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

.product-card {
background: var(--white);
border-radius: 12px;
padding: 1.5rem;
box-shadow: var(--shadow);
transition: transform 0.3s, box-shadow 0.3s;
text-align: center;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}

.product-card img {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 1rem;
}

.product-card h3 {
color: var(--primary-color);
margin-bottom: 0.5rem;
font-size: 1.25rem;
}

.price {
font-size: 1.5rem;
color: var(--accent-color);
font-weight: bold;
margin: 1rem 0;
}

.description {
color: #718096;
margin-bottom: 1rem;
}

.btn-primary {
display: inline-block;
background: var(--secondary-color);
color: var(--white);
padding: 0.75rem 1.5rem;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
transition: background 0.3s, transform 0.3s;
border: none;
cursor: pointer;
}

.btn-primary:hover {
background: #5568d3;
transform: translateY(-2px);
}

.btn-secondary {
display: inline-block;
background: var(--accent-color);
color: var(--white);
padding: 0.75rem 1.5rem;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
transition: background 0.3s, transform 0.3s;
border: none;
cursor: pointer;
}

.btn-secondary:hover {
background: #38a169;
transform: translateY(-2px);
}

.btn-large {
padding: 1rem 2rem;
font-size: 1.1rem;
}

.spell-check-section {
padding: 3rem 0;
background: var(--white);
}

.spell-check-section h3 {
text-align: center;
font-size: 2rem;
margin-bottom: 1.5rem;
color: var(--primary-color);
}

#spell-check-text {
width: 100%;
min-height: 150px;
padding: 1rem;
border: 2px solid var(--border-color);
border-radius: 8px;
font-size: 1rem;
margin-bottom: 1rem;
font-family: inherit;
}

#spell-result {
margin-top: 1rem;
padding: 1rem;
background: var(--light-bg);
border-radius: 8px;
min-height: 50px;
}

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

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

.footer-section h4 {
margin-bottom: 1rem;
font-size: 1.25rem;
}

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

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

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

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

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

.social-links a {
color: var(--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: var(--primary-color);
color: var(--white);
padding: 1.5rem;
box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
z-index: 10000;
display: none;
}

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

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

.cookie-content p {
flex: 1;
margin: 0;
}

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

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

.cookie-accept, .cookie-reject {
padding: 0.75rem 1.5rem;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}

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

.cookie-accept:hover {
background: #38a169;
}

.cookie-reject {
background: transparent;
color: var(--white);
border: 2px solid var(--white);
}

.cookie-reject:hover {
background: rgba(255, 255, 255, 0.1);
}

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

.product-detail-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
background: var(--white);
padding: 2rem;
border-radius: 12px;
box-shadow: var(--shadow);
}

.product-image-section img {
width: 100%;
border-radius: 12px;
}

.product-info-section h1 {
color: var(--primary-color);
font-size: 2.5rem;
margin-bottom: 1rem;
}

.product-price {
font-size: 2rem;
color: var(--accent-color);
font-weight: bold;
margin-bottom: 2rem;
}

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

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

.product-description h4 {
color: var(--primary-color);
margin-top: 1rem;
margin-bottom: 0.5rem;
}

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

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

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

.cart-page {
padding: 4rem 0;
min-height: 60vh;
}

.cart-page h1 {
color: var(--primary-color);
font-size: 2.5rem;
margin-bottom: 2rem;
text-align: center;
}

.cart-empty {
text-align: center;
padding: 3rem;
background: var(--white);
border-radius: 12px;
}

.cart-empty svg {
margin-bottom: 1rem;
color: var(--primary-color);
}

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

.cart-items {
background: var(--white);
border-radius: 12px;
padding: 2rem;
margin-bottom: 2rem;
}

.cart-item {
display: grid;
grid-template-columns: 100px 1fr auto;
gap: 1.5rem;
padding: 1.5rem;
border-bottom: 1px solid var(--border-color);
align-items: center;
}

.cart-item:last-child {
border-bottom: none;
}

.cart-item img {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 8px;
}

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

.cart-item-price {
color: var(--accent-color);
font-weight: bold;
font-size: 1.25rem;
}

.cart-item-actions {
display: flex;
flex-direction: column;
gap: 1rem;
align-items: flex-end;
}

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

.quantity-control button {
background: var(--secondary-color);
color: var(--white);
border: none;
width: 30px;
height: 30px;
border-radius: 4px;
cursor: pointer;
font-size: 1.2rem;
}

.quantity-control button:hover {
background: #5568d3;
}

.quantity-control span {
min-width: 40px;
text-align: center;
font-weight: bold;
}

.remove-btn {
background: #F56565;
color: var(--white);
border: none;
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
}

.remove-btn:hover {
background: #E53E3E;
}

.cart-summary {
background: var(--white);
border-radius: 12px;
padding: 2rem;
max-width: 400px;
margin-left: auto;
}

.summary-row {
display: flex;
justify-content: space-between;
margin-bottom: 1rem;
font-size: 1.1rem;
}

.summary-row.total {
font-size: 1.5rem;
font-weight: bold;
color: var(--primary-color);
padding-top: 1rem;
border-top: 2px solid var(--border-color);
}

.checkout-page {
padding: 4rem 0;
}

.checkout-page h1 {
color: var(--primary-color);
font-size: 2.5rem;
margin-bottom: 2rem;
text-align: center;
}

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

.checkout-form {
background: var(--white);
padding: 2rem;
border-radius: 12px;
}

.checkout-form h2 {
color: var(--primary-color);
margin-bottom: 1.5rem;
}

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

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--primary-color);
}

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

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

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

.order-summary h2 {
color: var(--primary-color);
margin-bottom: 1.5rem;
}

#checkout-items {
margin-bottom: 1.5rem;
}

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

.checkout-item:last-child {
border-bottom: none;
}

.summary-totals {
margin-top: 1.5rem;
}

.success-page {
padding: 4rem 0;
min-height: 60vh;
}

.success-content {
background: var(--white);
padding: 4rem 2rem;
border-radius: 12px;
text-align: center;
max-width: 600px;
margin: 0 auto;
}

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

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

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

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

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

.contact-page h1 {
color: var(--primary-color);
font-size: 2.5rem;
margin-bottom: 2rem;
text-align: center;
}

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

.contact-info {
background: var(--white);
padding: 2rem;
border-radius: 12px;
}

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

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

.contact-item svg {
color: var(--secondary-color);
flex-shrink: 0;
}

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

.contact-item p {
color: #718096;
}

.contact-item a {
color: var(--secondary-color);
text-decoration: none;
}

.contact-item a:hover {
text-decoration: underline;
}

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

.contact-form-wrapper h2 {
color: var(--primary-color);
margin-bottom: 1.5rem;
}

.form-message {
padding: 1rem;
border-radius: 8px;
margin-top: 1rem;
}

.form-message.success {
background: #C6F6D5;
color: #22543D;
border: 1px solid #9AE6B4;
}

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

.about-page h1 {
color: var(--primary-color);
font-size: 2.5rem;
margin-bottom: 2rem;
text-align: center;
}

.about-intro {
background: var(--white);
padding: 2rem;
border-radius: 12px;
margin-bottom: 3rem;
}

.about-intro p {
font-size: 1.1rem;
line-height: 1.8;
margin-bottom: 1rem;
}

.mission-vision {
margin-bottom: 3rem;
}

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

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

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

.team-section {
margin-bottom: 3rem;
}

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

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

.team-card {
background: var(--white);
padding: 1.5rem;
border-radius: 12px;
text-align: center;
box-shadow: var(--shadow);
transition: transform 0.3s;
}

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

.team-card img {
width: 100%;
height: 400px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 1rem;
}

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

.team-card .position {
color: var(--secondary-color);
font-weight: 600;
margin-bottom: 1rem;
}

.team-card p {
color: #718096;
line-height: 1.6;
}

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

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

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

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

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

.value-card p {
color: #718096;
line-height: 1.6;
}

.notification {
position: fixed;
top: 100px;
right: 20px;
background: var(--accent-color);
color: var(--white);
padding: 1rem 1.5rem;
border-radius: 8px;
box-shadow: var(--shadow-lg);
z-index: 10000;
animation: slideIn 0.3s ease;
}

@keyframes slideIn {
from {
transform: translateX(400px);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}

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

.blog-post .post-header {
margin-bottom: 2rem;
}

.blog-post .post-header h1 {
color: var(--primary-color);
font-size: 2.5rem;
margin-bottom: 1rem;
line-height: 1.3;
}

.post-meta {
display: flex;
gap: 1.5rem;
color: #718096;
font-size: 0.95rem;
margin-bottom: 1.5rem;
flex-wrap: wrap;
align-items: center;
}

.post-meta time {
display: flex;
align-items: center;
gap: 0.5rem;
}

.post-author {
color: var(--secondary-color);
font-weight: 600;
}

.post-content {
background: var(--white);
padding: 2.5rem;
border-radius: 12px;
box-shadow: var(--shadow);
line-height: 1.9;
}

.post-featured-image {
width: 100%;
max-height: 500px;
object-fit: cover;
border-radius: 12px;
margin-bottom: 2rem;
}

.post-section {
margin-bottom: 2.5rem;
}

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

.post-section p {
margin-bottom: 1rem;
color: var(--text-color);
text-align: justify;
}

.post-cta {
background: linear-gradient(135deg, var(--secondary-color), #764BA2);
color: var(--white);
padding: 2.5rem;
border-radius: 12px;
text-align: center;
margin-top: 3rem;
}

.post-cta h3 {
font-size: 1.5rem;
margin-bottom: 0.75rem;
}

.post-cta p {
margin-bottom: 1.5rem;
font-size: 1.1rem;
opacity: 0.9;
}

.post-cta .btn-primary {
background: var(--white);
color: var(--secondary-color);
}

.post-cta .btn-primary:hover {
background: var(--light-bg);
transform: translateY(-2px);
}

@media (max-width: 768px) {
.nav-menu {
gap: 1rem;
font-size: 0.9rem;
}

.hero h1 {
font-size: 2rem;
}

.product-detail-grid,
.checkout-grid,
.contact-grid {
grid-template-columns: 1fr;
}

.countdown {
gap: 1rem;
}

.countdown-item span:first-child {
font-size: 2rem;
min-width: 50px;
}

.product-actions {
flex-direction: column;
}

.cookie-content {
flex-direction: column;
text-align: center;
}

.blog-post .post-header h1 {
font-size: 1.75rem;
}

.post-content {
padding: 1.5rem;
}

.post-featured-image {
max-height: 300px;
}

.post-meta {
flex-direction: column;
gap: 0.5rem;
}

.stats {
flex-direction: column;
gap: 1.5rem;
}
}
