/*
Theme Name: Gouda Design
Theme URI: https://gouda-design.example.com
Description: Figmaデザイン対応のモダンなWordPressテーマ
Version: 2.0.0
Author: Gouda Design
Author URI: https://gouda-design.example.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gouda-design
Domain Path: /languages
*/

/* ========================================
   リセット & ベーススタイル
   ======================================== */

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

html, body {
  font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  color: #3e1c16;
  background-color: #fcefdc;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
}

a {
  color: #ff9800;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #f57c00;
}

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

/* ========================================
   背景の曲線要素（Figmaデザイン準拠）
   ======================================== */

.background-curves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Vector 1: 右上の曲線（362.77px × 227px） */
.curve-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 363px;
  height: 227px;
  background: #ffa100;
  clip-path: polygon(100% 0, 0 40%, 30% 100%, 100% 100%);
}

/* Vector 4: 左上の曲線（382px × 489px） */
.curve-top-left {
  position: absolute;
  top: -48px;
  left: 0;
  width: 382px;
  height: 489px;
  background: #ffa100;
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%, 0 50%);
}

/* Vector 5: 下部の曲線（1852px × 858px） */
.curve-bottom {
  position: absolute;
  bottom: 0;
  left: -70px;
  width: 1852px;
  height: 858px;
  background: #ffa100;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
}

/* ========================================
   ヘッダー
   ======================================== */

.site-header {
  background-color: transparent;
  padding: 30px 20px;
  position: relative;
  z-index: 100;
  border-bottom: none;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #3e1c16;
}

.site-logo img {
  width: 50px;
  height: 50px;
}

.site-logo span {
  font-size: 14px;
  color: #3e1c16;
}

.site-navigation {
  display: none;
}

.language-switcher {
  display: flex;
  gap: 10px;
  font-size: 12px;
  font-weight: bold;
}

.language-switcher a {
  color: #3e1c16;
  padding: 5px 10px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.language-switcher a.active {
  color: #ff9800;
}

.language-switcher span {
  color: #3e1c16;
}

/* ========================================
   メインコンテンツ
   ======================================== */

.site-content {
  position: relative;
  z-index: 10;
}

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

/* ========================================
   ヒーローセクション
   ======================================== */

.hero-section {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  z-index: 10;
}

.hero-logo {
  margin-bottom: 40px;
  animation: float 3s ease-in-out infinite;
}

.hero-logo img {
  width: 100px;
  height: auto;
  margin: 0 auto;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-title {
  font-size: 32px;
  font-weight: bold;
  color: #3e1c16;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title .highlight {
  color: #ff9800;
}

.hero-subtitle {
  font-size: 14px;
  color: #3e1c16;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.hero-description {
  font-size: 14px;
  color: #3e1c16;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  background-color: #3e1c16;
  color: white;
  padding: 15px 50px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.hero-cta:hover {
  background-color: #2a1810;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   サービスセクション
   ======================================== */

.services-section {
  padding: 60px 20px;
  background-color: transparent;
  position: relative;
  z-index: 10;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-card-image {
  width: 100%;
  height: 250px;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-content {
  padding: 30px;
}

.service-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #3e1c16;
  margin-bottom: 15px;
}

.service-card-description {
  font-size: 13px;
  color: #3e1c16;
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-card-link {
  color: #ff9800;
  font-size: 13px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: underline;
}

.service-card-link:hover {
  gap: 12px;
  color: #f57c00;
}

.service-card-link::after {
  content: '';
  transition: transform 0.3s ease;
}

.service-card-link:hover::after {
  transform: translateX(4px);
}

/* ========================================
   チーズアニメーション（上部の垂れ - デザイン準拠）
   ======================================== */

@keyframes cheeseDripLeft {
  0% {
    transform: translateY(-80px);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(0px);
    opacity: 0.7;
  }
}

@keyframes cheeseDripRight {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(0px);
    opacity: 0.7;
  }
}

.cheese-drip {
  position: fixed;
  top: 0;
  width: 45px;
  height: 60px;
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 50%, #ff9800 100%);
  border-radius: 50% 50% 50% 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.75;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.15));
}

/* 左側のチーズ */
.cheese-drip:nth-child(1) {
  left: 8%;
  animation: cheeseDripLeft 5s ease-in-out infinite;
  animation-delay: 0s;
}

.cheese-drip:nth-child(2) {
  left: 15%;
  animation: cheeseDripLeft 5.5s ease-in-out infinite;
  animation-delay: 1.5s;
  width: 40px;
  height: 55px;
}

/* 中央 */
.cheese-drip:nth-child(3) {
  left: 50%;
  transform: translateX(-50%);
  animation: cheeseDripLeft 6s ease-in-out infinite;
  animation-delay: 0.8s;
  width: 38px;
  height: 52px;
  opacity: 0.5;
}

/* 右側のチーズ */
.cheese-drip:nth-child(4) {
  right: 15%;
  animation: cheeseDripRight 5.5s ease-in-out infinite;
  animation-delay: 1s;
  width: 42px;
  height: 58px;
}

.cheese-drip:nth-child(5) {
  right: 8%;
  animation: cheeseDripRight 5s ease-in-out infinite;
  animation-delay: 0.5s;
  width: 44px;
  height: 59px;
}

/* ========================================
   波形ディバイダー
   ======================================== */

.wave-divider {
  width: 100%;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="%23FFA500" opacity="0.9"/><path d="M0,60 Q300,20 600,60 T1200,60 L1200,120 L0,120 Z" fill="%23FFB300" opacity="0.7"/></svg>') repeat-x;
  background-size: 1200px 120px;
  animation: wave 15s linear infinite;
  margin-top: -1px;
  position: relative;
  z-index: 10;
}

@keyframes wave {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1200px 0;
  }
}

/* ========================================
   コンタクトセクション
   ======================================== */

.contact-section {
  background: #ffa100;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><circle cx="100" cy="100" r="80" fill="rgba(255,255,255,0.05)"/><circle cx="1100" cy="300" r="120" fill="rgba(255,255,255,0.05)"/><circle cx="600" cy="50" r="100" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat;
  background-size: cover;
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-size: 40px;
  font-weight: bold;
  color: #3e1c16;
  margin-bottom: 30px;
}

.contact-description {
  font-size: 14px;
  color: #3e1c16;
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-form-wrapper {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  margin-bottom: 40px;
}

/* Contact Form 7 カスタマイズ */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wpcf7-form-control-wrap {
  width: 100%;
}

.wpcf7-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  color: #3e1c16;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: #ff9800;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7-submit {
  background-color: #3e1c16;
  color: white;
  padding: 15px 50px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.wpcf7-submit:hover {
  background-color: #2a1810;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.wpcf7-submit:active {
  transform: translateY(-1px);
}

.wpcf7-mail-sent-ok {
  background-color: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.wpcf7-mail-sent-ng {
  background-color: #f44336;
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.contact-cta {
  display: inline-block;
  background-color: #3e1c16;
  color: white;
  padding: 15px 50px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.contact-cta:hover {
  background-color: #2a1810;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   フッター
   ======================================== */

.site-footer {
  background: #ffa100;
  padding: 60px 20px 30px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-partners {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.partner-box {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.partner-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.partner-box img {
  max-width: 80%;
  max-height: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  color: #3e1c16;
  font-size: 12px;
}

.footer-copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #3e1c16;
}

/* ========================================
   レスポンシブデザイン
   ======================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-section {
    padding: 60px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 60px 20px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .footer-partners {
    grid-template-columns: 1fr;
  }

  .wave-divider {
    height: 80px;
  }

  .curve-top-right {
    width: 250px;
    height: 180px;
  }

  .curve-top-left {
    width: 250px;
    height: 350px;
  }

  .curve-bottom {
    width: 1200px;
    height: 600px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 20px;
  }

  .hero-logo img {
    width: 70px;
  }

  .contact-title {
    font-size: 22px;
  }

  .wpcf7-form-control {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero-cta, .contact-cta {
    padding: 12px 40px;
    font-size: 13px;
  }

  .curve-top-right {
    width: 150px;
    height: 120px;
  }

  .curve-top-left {
    width: 150px;
    height: 200px;
  }

  .curve-bottom {
    width: 800px;
    height: 400px;
  }
}
