@charset "UTF-8";

/* ==================================================
   FLAIT - Main Stylesheet (style.css - 明るいライトデザイン)
   ================================================== */

/* ---- 変数定義 (カラーパレット) ---- */
:root {
  --primary-color: #00a896;       /* 明るく爽やかなターコイズブルー */
  --primary-hover: #00897b;
  --accent-color: #f7a072;        /* 温かみのあるオレンジ */
  --accent-hover: #e58e5f;
  --bg-gradient: linear-gradient(135deg, rgba(224, 242, 241, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
  --bg-light: #f4f9f9;
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: 'Helvetica Neue', Arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  background-color: #f8fafc;
}

/* ---- mainタグの全画面・レイアウト固定 ---- */
main {
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 180px);
}

/* ---- 全体背景画像の設定 ---- */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(224, 242, 241, 0.8) 100%), 
    url('hero-bg.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  pointer-events: none;
}

.bg-glow {
  display: none;
}

/* ---- ヘッダー (スタイリッシュ・モダン調整) ---- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 8%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 168, 150, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-color) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.85;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

/* ---- ボタン共通デザイン（.cta-btn と .sub-btn を完全に統一） ---- */
.cta-btn,
.sub-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color) 0%, #f9b38f 100%) !important;
  color: var(--white) !important;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(247, 160, 114, 0.4);
  transition: all 0.3s ease;
  border: none !important;
}

.cta-btn:hover,
.sub-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 160, 114, 0.5);
  opacity: 1 !important;
}

/* ※ヘッダーナビゲーション内のメニューリンクの例外設定 */
header nav a.sub-btn {
  background: transparent !important;
  color: var(--text-main) !important;
  padding: 0.5rem 0;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
  border: none !important;
  box-shadow: none !important;
}

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

header nav a.sub-btn:hover,
header nav a.sub-btn.active {
  color: var(--primary-color) !important;
  transform: none !important;
}

header nav a.sub-btn:hover::after,
header nav a.sub-btn.active::after {
  width: 100%;
}

/* ---- ヒーローセクション ---- */
.hero {
  background: var(--bg-gradient);
  padding: 5rem 8%;
  text-align: center;
  border-bottom: 1px solid rgba(0, 168, 150, 0.1);
}

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

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: #004d40;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ---- 3つのポイント ---- */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-number {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-color);
  background-color: #e0f2f1;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  color: #004d40;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ---- サービスセクション（個別背景画像TOP001.jpg適用） ---- */
.services {
  position: relative;
  padding: 5rem 8%;
  max-width: 100%;
  margin: 0 auto;
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.90) 0%, rgba(240, 248, 247, 0.85) 100%), 
    url('PIC/TOP001.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.services .intro-box,
.services .card-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.services .card,
.services .intro-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ---- 各セクション共通構造 ---- */
.testimonials, .company-info, .contact {
  padding: 4rem 8%;
  max-width: 1100px;
  margin: 0 auto;
}

.page-header {
  background: var(--bg-gradient);
  padding: 3rem 8%;
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: #1a252c;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.intro-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

/* カードレイアウト */
.bento-grid, .card-container, .testimonial-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.bento-card, .card, .testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.2rem;
  width: 320px;
  box-shadow: var(--card-shadow);
  border-top: 5px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.bento-card:hover, .card:hover, .testimonial-card:hover {
  transform: translateY(-5px);
}

/* ---- 会社概要テーブルデザイン ---- */
.company-info {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.company-table-container {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: var(--card-shadow);
  border-top: 5px solid var(--primary-color);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.company-table th,
.company-table td {
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1rem;
  line-height: 1.6;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 25%;
  color: var(--primary-color);
  font-weight: 700;
  white-space: nowrap;
  vertical-align: top;
}

.company-table td {
  color: var(--text-main);
}

/* ---- お問い合わせスタイリッシュ調整 ---- */
.contact-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 168, 150, 0.08);
  border: 1px solid rgba(0, 168, 150, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a252c;
}

.form-group .required {
  font-size: 0.7rem;
  background-color: #ffebe5;
  color: #e55835;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.12);
}

.contact-card .submit-btn,
.btn-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #00c9b1 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.25);
  transition: all 0.3s ease;
}

.contact-card .submit-btn:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 150, 0.35);
  opacity: 0.95;
}

/* ---- フッター ---- */
footer {
  background-color: #222222;
  color: #888888;
  padding: 2.5rem 8%;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-logo {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.copyright {
  font-size: 0.85rem;
}

/* ---- レスポンシブ対応 (スマホ向け) ---- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  nav ul {
    gap: 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-features {
    grid-template-columns: 1fr;
  }
  .bento-card, .card, .testimonial-card {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-card {
    padding: 2rem 1.5rem;
  }
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0.6rem 0;
  }
  .company-table th {
    border-bottom: none;
    padding-top: 1rem;
  }
  .company-table tr {
    border-bottom: 1px solid #e2e8f0;
  }
}
.services-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.service-row-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: var(--card-shadow);
  border-left: 6px solid var(--primary-color); /* 横長カードに合わせた左端のターコイズライン */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.service-row-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 168, 150, 0.12);
}

.service-row-card .card-tag {
  display: inline-block;
  background-color: #e0f2f1;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 0.2rem;
}

.service-row-card .card-content {
  flex: 1;
}

.service-row-card h3 {
  font-size: 1.3rem;
  color: #004d40;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.service-row-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* スマホ対応（画面が狭いときはタグを上に配置） */
@media (max-width: 650px) {
  .service-row-card {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.8rem 1.5rem;
  }
}
.hero .cta-btn {
  margin-top: 2.5rem;
}
.support-scope {
  margin-top: 2.5rem;
}
.support-scope {
  margin-top: 2.5rem;
  text-align: left; /* リストを見やすく左揃えに */
}

.support-scope h3 {
  text-align: center; /* タイトルは中央寄せ */
  margin-bottom: 1.2rem;
}

.support-list {
  list-style: none; /* デフォルトの点（黒丸）を消去 */
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.support-list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
  color: var(--text-main, #333333);
  line-height: 1.6;
}

/* 行頭にターコイズブルーのチェックマークアイコンを表示 */
.support-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color, #00a896);
  font-weight: bold;
  font-size: 1.1rem;
}

.support-list li strong {
  color: #004d40;
}

/* スマホでの折り返し調整 */
@media (max-width: 600px) {
  .support-list li {
    font-size: 0.88rem;
  }
}