/*
Theme Name: Depper Delivery Theme
Theme URI: https://depper.net
Author: Depper
Author URI: https://depper.net
Description: A custom WordPress theme for Depper delivery service
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: depper
*/

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ========================================
   Header Styles
======================================== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.site-branding {
  flex: 0 0 auto;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.site-title a {
  color: #0066cc;
}

.custom-logo-link {
  display: block;
  line-height: 0;
}

.custom-logo {
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
}

/* ロゴが表示されない場合のデバッグ用 */
.site-branding img {
  max-height: 60px;
  width: auto;
  height: auto;
}

/* Navigation */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  color: #333;
  font-weight: 500;
  padding: 10px 0;
  display: block;
}

.main-navigation a:hover {
  color: #0066cc;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
  background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin: 0 0 30px 0;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: #ff3333;
  color: white;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

.cta-button:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 51, 51, 0.4);
  color: white;
}

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

/* ========================================
   Section Title
======================================== */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin: 0 0 50px 0;
  color: #333;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #0066cc;
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ========================================
   About Section
======================================== */
.about-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h3 {
  font-size: 1.8rem;
  margin: 0 0 20px 0;
  color: #0066cc;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #555;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ========================================
   Services Section
======================================== */
.services-section {
  padding: 80px 20px;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: #0066cc;
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.service-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: #333;
}

.service-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* ========================================
   Features Section
======================================== */
.features-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.feature-item {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff3333 0%, #cc0000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

.feature-item h3 {
  font-size: 1.3rem;
  margin: 0 0 12px 0;
  color: #333;
}

.feature-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   Map Section
======================================== */
.map-section {
  padding: 80px 20px;
  background: white;
}

.map-container {
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

.map-placeholder {
  width: 100%;
  height: 450px;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1.1rem;
  text-align: center;
  padding: 20px;
  line-height: 1.6;
}

/* ========================================
   Contact Section
======================================== */
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
  color: white;
  text-align: center;
}

.contact-section .section-title {
  color: white;
}

.contact-section .section-title::after {
  background: white;
}

.contact-section > .container > p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

.contact-info {
  font-size: 3rem;
  font-weight: bold;
  margin: 30px 0;
  letter-spacing: 2px;
}

.contact-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: white;
  color: #0066cc;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.contact-button:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
  color: #0066cc;
}

.contact-button.line {
  background: #00b900;
  color: white;
}

.contact-button.line:hover {
  background: #009900;
  color: white;
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 40px 20px 20px;
  text-align: center;
}

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

.footer-widgets {
  margin-bottom: 30px;
}

.footer-widget {
  margin-bottom: 20px;
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}

.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
}

.site-info p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ========================================
   Responsive Styles
======================================== */
@media (max-width: 768px) {
  /* Header */
  .menu-toggle {
    display: flex;
  }
  
  .main-navigation ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 0;
  }
  
  .main-navigation ul.toggled {
    display: flex;
  }
  
  .main-navigation li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .main-navigation li:last-child {
    border-bottom: none;
  }
  
  .main-navigation a {
    padding: 15px 10px;
  }
  
  /* Hero */
  .hero-section {
    padding: 50px 20px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-content {
    text-align: center;
    gap: 30px;
  }
  
  .hero-text {
    text-align: center;
  }
  
  /* Sections */
  .about-section,
  .services-section,
  .features-section,
  .map-section,
  .contact-section {
    padding: 50px 20px;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }
  
  .about-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .contact-info {
    font-size: 2rem;
  }
  
  .contact-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .contact-info {
    font-size: 1.5rem;
  }
  
  .service-card,
  .feature-item {
    padding: 30px 20px;
  }
}

/* ========================================
   Utility Classes
======================================== */
.text-center {
  text-align: center;
}

.mt-30 {
  margin-top: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}
