/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #FAF8F5;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: #2B4C7C;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  line-height: 1.6;
  color: #555;
}

/* Centered sections */
.centered-section {
  text-align: center;
}

.centered-section .container {
  text-align: center;
}

.centered-section .section-header {
  text-align: center;
}

/* Header */
.header {
  background-color: #FAF8F5;
  padding: 1rem 0;
  border-bottom: 1px solid #F5F3F0;
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 48px;
  height: 48px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2B4C7C;
  margin: 0;
}

.brand-tagline {
  font-size: 0.875rem;
  color: #888;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2B4C7C;
  color: white;
  padding: 1rem 0;
  z-index: 1001;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  display: none;
}

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

.cookie-text p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.cookie-text a {
  color: #D4A574;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #c49660;
}

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

.cookie-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.cookie-btn.accept {
  background-color: #D4A574;
  color: white;
}

.cookie-btn.accept:hover {
  background-color: #c49660;
}

.cookie-btn.reject {
  background-color: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.3);
}

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

.cookie-btn.customize {
  background-color: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn.customize:hover {
  background-color: rgba(255,255,255,0.2);
}

.cookie-btn.save {
  background-color: #D4A574;
  color: white;
}

.cookie-btn.save:hover {
  background-color: #c49660;
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.cookie-modal-header h2 {
  margin: 0;
  color: #2B4C7C;
}

.cookie-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-close-btn:hover {
  color: #333;
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-modal-body > p {
  margin-bottom: 1.5rem;
  color: #666;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 6px;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.cookie-category-header input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cookie-category-header label {
  cursor: pointer;
  color: #2B4C7C;
  margin: 0;
}

.cookie-category p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-left: 2.25rem;
}

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-policy-link {
  color: #2B4C7C;
  text-decoration: underline;
  font-size: 0.9rem;
}

.cookie-policy-link:hover {
  color: #1f3a5f;
}

.order-btn {
  background-color: #2B4C7C;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.order-btn:hover {
  background-color: #1f3a5f;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background-color: #F5F3F0;
  text-align: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.hero-text {
  display: flex;
  .hero-text {
    align-items: center;
    text-align: center;
  }
  
  flex-direction: column;
  align-items: flex-start;
}

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2B4C7C;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-btn {
  background-color: #D4A574;
  color: white;
  border: none;
  .hero-img {
    height: 250px;
  }
  
  padding: 15px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #c49660;
}

.hero-img {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .cookie-modal-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .cookie-modal-footer {
    flex-direction: column;
    gap: 1rem;
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Image Styles */
.category-img,
.product-img,
.gift-img,
.mission-img,
.services-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.category-image {
  
  .cookie-banner {
    padding: 1rem 0;
  }
  
  .cookie-content {
    padding: 0 15px;
  }
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.gift-image {
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}

.mission-image,
.services-image {
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.image-placeholder {
  background-color: #e0e0e0;
  border: 2px dashed #999;
  border-radius: 8px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.9rem;
}

/* Section Styles */
section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  color: #2B4C7C;
  margin-bottom: 0.5rem;
}

/* About Section */
.about {
  background-color: #FAF8F5;
}

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

.about-item {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
}

.about-icon svg {
  width: 100%;
  height: 100%;
}

/* Categories Section */
.categories {
  background-color: white;
}

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

.category-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
}

/* Products Section */
.products {
  background-color: #F5F3F0;
}

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

.product-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  margin-bottom: 0.5rem;
  color: #2B4C7C;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #D4A574;
  margin-bottom: 0.5rem;
}

.product-info p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.product-btn {
  background-color: #2B4C7C;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

.product-btn:hover {
  background-color: #1f3a5f;
}

/* Services Section */
.services {
  background-color: white;
}

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

.service-item {
  text-align: center;
  padding: 2rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
}

/* Why Choose Section */
.why-choose {
  background-color: #F5F3F0;
}

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

.feature-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #D4A574;
}

/* Gift Section */
.gift {
  background-color: #2B4C7C;
  color: white;
}

.gift-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.gift h2 {
  color: white;
  margin-bottom: 1rem;
}

.gift p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.gift-btn {
  background-color: #D4A574;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.gift-btn:hover {
  background-color: #c49660;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

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

.testimonial-item {
  background-color: #FAF8F5;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #2B4C7C;
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-item span {
  font-size: 0.9rem;
  color: #888;
}

/* Contacts Section */
.contacts {
  background-color: #F5F3F0;
}

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

.contact-item {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.contact-item h3 {
  color: #2B4C7C;
  margin-bottom: 1rem;
}

.contact-hours {
  font-size: 0.875rem;
  color: #888;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background-color: #2B4C7C;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-section {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-description {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-section ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-section ul li a:hover {
  color: white;
}

.contact-info p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-info strong {
  color: white;
}

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

.footer-bottom p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  margin: 0;
  color: #2B4C7C;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #333;
}

.order-form {
  padding: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2B4C7C;
}

.submit-btn {
  background-color: #2B4C7C;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #1f3a5f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .gift-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .about-grid,
  .categories-grid,
  .products-grid,
.cookie-text h3 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.cookie-text p {
  .features-grid,
  .testimonials-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .image-placeholder {
    height: 200px;
  }
  
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  line-height: 1.5;
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .about-item,
  .service-item {
    padding: 1.5rem;
  }
  
  .product-info {
  gap: 0.75rem;
  }
  flex-wrap: wrap;
}