/* ==========================================
   Header & Navigation Styles
   ========================================== */

/* ヘッダー全体（上部固定・すりガラス風背景） */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ヘッダー内部の配置設定 */
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 会社ロゴスタイル */
.site-logo a {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    letter-spacing: 1px;
}

/* ナビゲーションリスト */
.site-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    align-items: center;
}

.site-nav a {
    text-decoration: none;
    color: #444444;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: #0066cc; /* ホバー時の文字色 */
}

/* お問い合わせボタンの強調スタイル */
.site-nav a.btn-contact {
    background-color: #0066cc;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.site-nav a.btn-contact:hover {
    background-color: #004999;
    color: #ffffff;
}

/* スマホ表示（レスポンシブ対応） */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
        padding: 12px 15px;
    }

    .site-nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-nav a {
        font-size: 0.85rem;
    }
}

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

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

/* ヒーローセクション（スライドショーエリア） */

.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 5.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-content h2 {
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 12px 36px;
  background-color: #1e3a8a;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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






/* メインコンテンツ配置 */


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

.intro-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 40px;
  border-top: 2px solid #20b2aa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.intro-card h2 {
  font-size: 1.5rem;
  color:#1e3a8a;
  margin-bottom: 10px;
}


.intro-card h3 {
  font-size: 1.0rem;
  color: ##ff0000;
  margin-bottom: 10px;
}



.section-title {
  text-align: center;
  margin: 50px 0 30px;
}

.section-title h2 {
  font-size: 1.8rem;
  color: #1e3a8a;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #1e3a8a;
  margin: 8px auto 0;
  border-radius: 2px;
}


.section-title h3 {
  font-size: 1.3rem;
  color: #333;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.section-title h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #333;
  margin: 8px auto 0;
  border-radius: 2px;
}





/* 2列カードレイアウト */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 2px solid #20b2aa;
}

.card h2 {
  font-size: 1.35rem;
  color: 	#006400;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}


.card h3 {
  font-size: 1.0rem;
  color: #808080;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}





/* リスト・リンクスタイル */
.product-list {
  list-style: none;
}

.product-list > li {
  margin-bottom: 25px;
}

.product-list > li:last-child {
  margin-bottom: 0;
}

.product-title {
  display: block;
  font-size: 1.1rem;
  color: #1e3a8a;
  margin-bottom: 8px;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 4px;
}

.main-link {
  margin: 6px 0 6px 10px;
}

.main-link a {
  color: #1e3a8a;
  font-weight: bold;
  text-decoration: none;
}

.main-link a:hover {
  text-decoration: underline;
}

.sub-list {
  list-style-type: square;
  padding-left: 30px;
  margin-top: 6px;
}

.sub-list li {
  margin-bottom: 5px;
}

.sub-list a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.sub-list a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}






/* フッター */
footer {
  text-align: center;
  padding: 25px 20px;
  background-color: #20b2aa;
  color: #fff;
  font-size: 0.85rem;
  margin-top: 60px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .grid-container {
    grid-template-columns: 1fr;
  }
}