/*
Theme Name: Umizoi Ocean Theme
Description: 合同会社Umizoi 海テーマ完全版
Version: 2.0
Author: Umizoi Team
*/

/* 海をテーマにしたカラーパレット */
:root {
  --ocean-deep: #1a365d;      /* 深海ブルー */
  --ocean-main: #2b77ad;      /* 海ブルー */
  --ocean-light: #90cdf4;     /* 浅瀬ブルー */
  --ocean-foam: #f0f9ff;      /* 波しぶき */
  --sand-light: #fafaf9;      /* 砂浜 */
  --sand-warm: #f7fafc;       /* 温かい砂 */
  --coral: #e53e3e;           /* サンゴ色 */
  --seaweed: #38a169;         /* 海藻グリーン */
  --text-primary: #2d3748;    /* 主要テキスト */
  --text-secondary: #4a5568;  /* 副次テキスト */
}

/* リセット・ベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--ocean-foam) 0%, var(--sand-light) 100%);
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-main), var(--ocean-deep));
  color: white;
  box-shadow: 0 4px 15px rgba(43, 119, 173, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 119, 173, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--ocean-main);
  border: 2px solid var(--ocean-main);
}

.btn-outline:hover {
  background: var(--ocean-main);
  color: white;
  transform: translateY(-2px);
}

/* ナビゲーション */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(144, 205, 244, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--ocean-deep);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
}

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

.nav-links a:hover {
  color: var(--ocean-main);
}

/* ★★★ 海沿いヒーローセクション ★★★ */
.hero {
  background: 
    /* 自然な空から海のグラデーション */
    linear-gradient(to bottom, 
      #87ceeb 0%,               /* 穏やかな空色 */
      #b0e0e6 20%,              /* 薄い雲色 */
      #4682b4 45%,              /* 水平線 */
      var(--ocean-main) 65%,    /* 海の色 */
      var(--ocean-deep) 100%    /* 深い海 */
    );
  color: white;
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* 控えめな雲の表現 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* ソフトな雲 */
    radial-gradient(ellipse at 25% 20%, 
      rgba(255, 255, 255, 0.15) 0%, 
      rgba(255, 255, 255, 0.05) 40%, 
      transparent 70%),
    radial-gradient(ellipse at 75% 15%, 
      rgba(255, 255, 255, 0.12) 0%, 
      rgba(255, 255, 255, 0.03) 50%, 
      transparent 80%),
    /* 水面の自然な反射 */
    radial-gradient(ellipse at 50% 70%, 
      rgba(255, 255, 255, 0.08) 0%, 
      rgba(255, 255, 255, 0.02) 60%, 
      transparent 100%);
  animation: natural-breeze 15s ease-in-out infinite;
}

/* 穏やかな波の表現 */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: 
    /* とてもソフトな波のライン */
    linear-gradient(to bottom,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.01) 60%,
      transparent 100%
    );
  animation: gentle-tide 20s ease-in-out infinite;
  z-index: 1;
}

/* 自然な風のアニメーション */
@keyframes natural-breeze {
  0%, 100% { 
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  33% { 
    transform: translateX(5px) translateY(-2px);
    opacity: 0.9;
  }
  66% { 
    transform: translateX(-3px) translateY(1px);
    opacity: 0.95;
  }
}

/* 穏やかな潮の動き */
@keyframes gentle-tide {
  0%, 100% { 
    transform: translateX(0);
    opacity: 1;
  }
  50% { 
    transform: translateX(-8px);
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  position: relative;
  z-index: 3;
  color: white;
  text-shadow: 
    0 2px 8px rgba(0,0,0,0.6),
    0 4px 16px rgba(0,0,0,0.4);
  font-weight: 700;
  margin-bottom: 30px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hero-subtitle {
  position: relative;
  z-index: 3;
  color: white;
  text-shadow: 
    0 1px 6px rgba(0,0,0,0.7),
    0 3px 12px rgba(0,0,0,0.5);
  font-weight: 300;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 40px;
  opacity: 0.96;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

/* 事業紹介セクション */
.services {
  padding: 80px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--ocean-deep);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

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

.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(43, 119, 173, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--ocean-light);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(43, 119, 173, 0.15);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--ocean-light), rgba(144, 205, 244, 0.7));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* 特徴セクション */
.features {
  padding: 80px 0;
  background: var(--sand-warm);
}

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

.feature-item {
  text-align: center;
  padding: 32px 24px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--ocean-main), var(--ocean-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 36px;
}

.feature-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 12px;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* CTAセクション */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-main));
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: white;
  color: var(--ocean-deep);
  font-weight: 600;
}

.btn-white:hover {
  background: var(--sand-light);
  transform: translateY(-2px);
}

/* フッター */
.footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 60px 0 30px;
}

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

.footer-section h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  line-height: 1.8;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  text-align: center;
  color: #9ca3af;
}

/* Contact Form 7 海テーマスタイル */
.wpcf7 {
  max-width: 100%;
}

.wpcf7-form p {
  margin-bottom: 24px;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 16px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ocean-light);
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: inherit;
  background: white;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--ocean-main);
  box-shadow: 0 0 0 3px rgba(43, 119, 173, 0.1);
}

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

.wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, var(--ocean-main), var(--ocean-deep));
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
  margin-top: 16px;
}

.wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 119, 173, 0.4);
}

.wpcf7-form .wpcf7-acceptance {
  margin: 16px 0;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  transform: scale(1.2);
}

/* エラー・成功メッセージ */
.wpcf7-validation-errors {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.wpcf7-mail-sent-ok {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #16a34a;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.wpcf7-mail-sent-ng {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.wpcf7-not-valid {
  border-color: var(--coral) !important;
}

.wpcf7-not-valid-tip {
  color: var(--coral);
  font-size: 14px;
  margin-top: 4px;
}

.wpcf7-response-output {
  margin: 16px 0;
  padding: 16px;
  border-radius: 6px;
}

.wpcf7-spinner {
  margin-left: 10px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .services,
  .features,
  .cta {
    padding: 60px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .wpcf7-form input[type="submit"] {
    width: 100%;
    max-width: 300px;
  }
}

/* お問い合わせボタンの修正 */
.btn-outline {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ocean-deep);
  border-color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  text-shadow: none;
}