/* ========================================
   リセット & 基本設定
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* カラーパレット - 親しみやすく明るい色調 */
  --primary-color: #4A90E2;      /* 明るい青 - 親しみやすさ */
  --primary-light: #6FA8E8;      /* 柔らかい青 */
  --primary-dark: #3A7BC8;       /* 濃いめの青 */
  --secondary-color: #FFF4E6;    /* クリーム色 - 温かみ */
  --accent-color: #FF9066;       /* コーラルオレンジ - 活気 */
  --accent-light: #FFB088;       /* 淡いオレンジ */
  --success: #51CF66;            /* 明るいグリーン */
  --info: #74C0FC;               /* 爽やかな水色 */
  --text-dark: #333333;          /* 柔らかい黒 */
  --text-light: #758CA3;         /* 柔らかいグレー */
  --bg-light: #F7F9FC;           /* 淡い青系背景 */
  --white: #FFFFFF;
  --border-color: #E5E9F2;
  
  /* グラデーション */
  --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #2C5F9E 100%);
  --gradient-warm: linear-gradient(135deg, #FF9066 0%, #FFA577 100%);
  --gradient-soft: linear-gradient(135deg, #F7F9FC 0%, #E3F2FD 100%);
  
  /* フォント */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  
  /* シャドウ - より柔らかく */
  --shadow-sm: 0 2px 8px rgba(74, 144, 226, 0.08);
  --shadow-md: 0 4px 12px rgba(74, 144, 226, 0.12);
  --shadow-lg: 0 8px 24px rgba(74, 144, 226, 0.15);
  --shadow-colored: 0 8px 16px rgba(255, 144, 102, 0.2);
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.8;
  background-color: var(--white);
}

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

/* ========================================
   ヘッダー
   ======================================== */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary-color);
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.3s;
}

.logo a:hover {
  transform: scale(1.05);
}

.logo i {
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

.nav a:hover {
  color: var(--primary-color);
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-warm);
  color: var(--white) !important;
  padding: 0.6rem 1.8rem;
  border-radius: 25px;
  transition: all 0.3s;
  box-shadow: var(--shadow-colored);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(255, 144, 102, 0.3);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
  background: var(--gradient-soft);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 144, 102, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--gradient-warm);
  color: var(--white);
  box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 144, 102, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   セクション共通
   ======================================== */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-warm);
  border-radius: 2px;
}

/* ========================================
   強みセクション
   ======================================== */
.strengths {
  background: var(--white);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.strength-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.strength-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.strength-card:nth-child(2)::before {
  background: var(--gradient-warm);
}

.strength-card:nth-child(3)::before {
  background: linear-gradient(135deg, #51CF66 0%, #40C057 100%);
}

.strength-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.strength-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.3s;
}

.strength-card:nth-child(2) .strength-icon {
  background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
  color: var(--accent-color);
}

.strength-card:nth-child(3) .strength-icon {
  background: linear-gradient(135deg, #E7F5FF 0%, #D0EBFF 100%);
  color: var(--success);
}

.strength-card:hover .strength-icon {
  transform: scale(1.1) rotate(5deg);
}

.strength-card h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.strength-card p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 1.05rem;
}

/* ========================================
   実績セクション
   ======================================== */
.stats {
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '🏆';
  position: absolute;
  top: 20px;
  right: 50px;
  font-size: 8rem;
  opacity: 0.1;
}

.stats::after {
  content: '✨';
  position: absolute;
  bottom: 30px;
  left: 80px;
  font-size: 6rem;
  opacity: 0.1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 500;
}

/* ========================================
   サービスセクション
   ======================================== */
.services {
  background: var(--bg-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 24px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s;
  border: 3px solid transparent;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.5s;
}

.service-card:hover::before {
  top: -20%;
  right: -20%;
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.service-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  box-shadow: var(--shadow-colored);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.9rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-link {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card:hover .service-link {
  gap: 1rem;
}

/* ========================================
   取引先セクション
   ======================================== */
.partners {
  background: var(--white);
}

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

.partner-item {
  background: var(--gradient-soft);
  padding: 2rem;
  border-radius: 16px;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.partner-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   CTAセクション
   ======================================== */
.cta {
  background: var(--secondary-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '📞';
  position: absolute;
  top: -30px;
  left: 50px;
  font-size: 10rem;
  opacity: 0.05;
}

.cta::after {
  content: '✉️';
  position: absolute;
  bottom: -30px;
  right: 80px;
  font-size: 8rem;
  opacity: 0.05;
}

.cta-title {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.contact-method {
  background: var(--white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  border: 3px solid transparent;
}

.contact-method:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.contact-method i {
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: 50%;
}

.contact-method h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.contact-time {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-phone {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
  text-decoration: none;
  margin-top: 1rem;
  transition: all 0.3s;
}

.contact-phone:hover {
  color: var(--primary-color);
  transform: scale(1.05);
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

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

.footer-section h4 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--white);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.footer-section p {
  line-height: 1.9;
  opacity: 0.9;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '▸';
  color: var(--accent-color);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  opacity: 0.8;
  font-size: 1.05rem;
}

/* ========================================
   ページヘッダー（下層ページ用）
   ======================================== */
.page-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.page-content {
  padding: 5rem 0;
  background: var(--bg-light);
}

/* ========================================
   会社情報ページ
   ======================================== */
.company-info {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.company-info h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  border-left: 5px solid var(--accent-color);
  padding-left: 1rem;
}

.mission-statement {
  background: var(--secondary-color);
  padding: 2.5rem;
  border-radius: 16px;
  border-left: 5px solid var(--accent-color);
  margin-bottom: 3rem;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.company-table th {
  background: var(--gradient-soft);
  font-weight: 700;
  width: 220px;
  color: var(--primary-color);
  font-size: 1.05rem;
}

.company-table td {
  font-size: 1.05rem;
}

/* ========================================
   サービス詳細ページ
   ======================================== */
.service-detail {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.service-detail h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  border-left: 5px solid var(--accent-color);
  padding-left: 1rem;
}

.insurance-types {
  margin: 3rem 0;
}

.insurance-type {
  background: var(--gradient-soft);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  border-left: 5px solid var(--primary-color);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.insurance-type:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.insurance-type h3 {
  color: var(--primary-color);
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.insurance-type i {
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.insurance-type p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 1.05rem;
}

/* ========================================
   プロセスステップ
   ======================================== */
.process {
  margin-top: 4rem;
}

.process h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--gradient-warm);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 1.2rem;
  box-shadow: var(--shadow-colored);
}

.process-step h3 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .strength-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .hero, section {
    padding: 3rem 0;
  }
  
  .btn {
    font-size: 1rem;
    padding: 1rem 2rem;
  }
}
