/*
Theme Name: Oteage
Theme URI: https://oteage.co.jp
Author: Oteage Inc.
Author URI: https://oteage.co.jp
Description: Oteage official website theme
Version: 1.0.1
License: GPL v2 or later
Text Domain: oteage
*/

/* リセットCSS */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.7;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* 共通スタイル */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

/* ヘッダー */
.site-header,
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  z-index: 1000;
  transition: all 0.3s;
}

.header-container,
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.site-branding,
.header-logo {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.main-navigation ul,
.header-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

.main-navigation a,
.header-nav a {
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

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

.mobile-menu-toggle {
  display: none;
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-navigation,
  .header-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* ヒーローセクション */
.hero {
  padding-top: 150px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
}

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

.btn-outline {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

/* カード */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

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

.card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
}

.card-text {
  color: #666;
  line-height: 1.8;
}

/* グリッド */
.grid {
  display: grid;
  gap: 32px;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* セクションタイトル */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-title p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* フッター */
.footer {
  background: #000;
  color: #fff;
  padding: 60px 0 40px;
}

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #999;
  line-height: 1.8;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 16px;
  opacity: 0.8;
}

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

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #999;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-copyright {
  font-size: 14px;
  color: #666;
}

/* フォーム */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #0066cc;
}

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

/* WordPress固有 */
.wp-block-image img {
  height: auto;
}

.aligncenter {
  text-align: center;
  margin: 32px auto;
}

.alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}

.alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ユーティリティ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 32px; }
.pt-5 { padding-top: 40px; }

.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 32px; }
.pb-5 { padding-bottom: 40px; }

/* 採用情報ページのお問い合わせCTA */
.apply-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.apply-cta .btn.btn-primary {
  background: white;
  color: #667eea;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.apply-cta .btn.btn-primary:before {
  content: '📧';
  font-size: 20px;
}

.apply-cta .btn.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.apply-cta .btn.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.apply-cta .btn.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
  color: white;
}

.apply-cta .btn.btn-primary:active {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .apply-cta {
    padding: 60px 0;
  }
  
  .apply-cta .btn.btn-primary {
    padding: 16px 40px;
    font-size: 16px;
    min-width: 180px;
  }
  
  .cta-content h2 {
    font-size: 24px;
  }
  
  .cta-content p {
    font-size: 16px;
    margin-bottom: 30px;
  }
}

/* アプローチグリッド */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.approach-item {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.approach-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.approach-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.approach-content h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.approach-content p {
  color: #666;
  line-height: 1.8;
}

/* お問い合わせリンク */
.contact-link {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 2px 0;
}

.contact-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}

.contact-link:hover {
  color: #764ba2;
  transform: translateY(-1px);
}

.contact-link:hover::after {
  width: 100%;
}

/* お問い合わせページのレイアウト改善 */
.contact-info {
  text-align: center;
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

.contact-info-description {
  max-width: 700px;
  margin: 0 auto;
}

.contact-info-description p {
  font-size: 18px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 50px;
}

.contact-cta {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.contact-cta h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.contact-email a {
  color: #667eea;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-email a:hover {
  color: #764ba2;
  transform: scale(1.05);
}

.response-time {
  font-size: 14px;
  color: #999;
  margin-top: 15px;
}

/* 連絡方法セクション */
.contact-methods {
  padding: 80px 0;
  background: white;
}

.contact-section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: bold;
  margin-bottom: 50px;
  color: #333;
}

/* 連絡方法カードのスタイル改善 */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.method-card {
  background: white;
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}

.method-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.method-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.method-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
}

.method-details {
  margin-bottom: 30px;
}

.method-details span {
  display: block;
  margin-bottom: 8px;
  color: #667eea;
  font-weight: 500;
}

.method-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.method-btn.primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.method-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-info {
    padding: 60px 0;
  }
  
  .contact-cta {
    padding: 30px 20px;
    margin: 0 20px;
  }
  
  .methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
  
  .method-card {
    padding: 25px 20px;
  }
}

/* 重複スタイル削除 - layout-fix.cssに移行済み */

