@charset "UTF-8";

/* =========================================
   1. グローバル設定 (リセット・共通変数)
========================================= */
:root {
  --primary-color: #004d99;
  --text-color: #333333;
  --bg-color: #f7f9fa;
  --white: #ffffff;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* PC向け 改行制御クラス */
.sp-only {
  display: none;
}

/* Googleアイコン 共通設定 */
.material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =========================================
   2. ヘッダー
========================================= */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky; /* スクロール追従 */
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.btn-inquiry {
  background-color: #ff6600;
  color: var(--white);
  padding: 10px 24px;
  font-weight: bold;
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-inquiry:hover {
  opacity: 0.8;
}

/* =========================================
   3. パンくずリスト
========================================= */
.breadcrumb {
  background-color: var(--white);
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "\e5cc"; 
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  color: #757575;
  margin: 0 4px;
  vertical-align: -5px; 
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* =========================================
   4. メインビジュアル
========================================= */
.mv-split {
  display: flex;
  overflow: hidden;
  background-color: #f7f9fa;
}

/* --- テキストエリア (40%) --- */
.mv-split-text {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  box-sizing: border-box;
}

.mv-text-inner {
  max-width: 450px;
  width: 100%;
}

.mv-brand {
  margin-bottom: 25px;
  padding-left: 12px;
  border-left: 2px solid var(--primary-color);
}

.brand-en {
  display: block;
  font-size: 11px;
  color: var(--primary-color);
  letter-spacing: 0.15em;
  font-family: 'Times New Roman', Times, serif;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.brand-ja {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #555;
}

.mv-title {
  margin: 0 0 20px 0;
  font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

.title-en {
  display: block;
  font-size: 40px;
  color: #e0e0e0;
  font-style: italic;
  font-weight: normal;
  line-height: 0.8;
  margin-left: -5px;
}

.title-ja {
  display: block;
  font-size: 42px;
  color: #111111;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.mv-desc {
  font-size: 18px;
  margin: 0;
  color: #333333;
  line-height: 1.8;
  font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

/* --- 画像エリア --- */
.mv-split-image {
  width: 60%;
  position: relative;
  background-color: #000;
}

.fade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-1 { z-index: 1; }
.img-2 { z-index: 2; animation: crossFade 12s infinite; }

@keyframes crossFade {
  0%   { opacity: 0; }
  25%  { opacity: 0; }
  50%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}

/* =========================================
   5. 特集一覧エリア
========================================= */
.feature-section {
  padding: 60px 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  overflow: hidden;
  border: 2px solid #d1d5db;
  transition: all 0.3s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-color);
  transform: translateY(-4px);
}

.feature-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #111111;
  line-height: 1.5;
}

.card-text {
  font-size: 15px;
  margin: 0 0 20px 0;
  color: #333333;
  flex-grow: 1;
}

.card-action {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding-top: 15px;
  border-top: 1px dashed #d1d5db;
}

/* =========================================
   6. フッター
========================================= */
.footer-menu {
  background-color: #f2f5f7; 
  padding: 60px 0;
  border-top: 1px solid #e0e0e0;
}

.footer-menu h3 {
  text-align: center;
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 30px;
  font-weight: bold;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.footer-links li a {
  display: block;
  background-color: var(--white);
  padding: 16px 20px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  border: 1px solid #d1d5db;
  text-align: center;
  min-height: 54px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.footer-copyright {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 20px 10px;
}

.footer-copyright p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* =========================================
   7. スマホ・タブレット共通レスポンシブ対応
========================================= */
@media (max-width: 768px) {
  
  /* --- ヘッダー --- */
  .header-inner {
    flex-direction: row; 
    padding: 10px 15px;
  }
  .header-logo img {
    height: 32px;
  }

  /* --- メインビジュアル --- */
  .mv-split {
    display: block;
    position: relative;
    background-color: transparent;
    height: 350px; 
    min-height: 300px; 
  }
  .mv-split-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .mv-split-text {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; 
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .mv-brand {
    border-left: none;
    padding-left: 0;
    margin-bottom: 20px;
  }
  .brand-en {
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  .brand-ja {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  }
  .title-en {
    font-size: 28px;
    color: rgba(255,255,255,0.4);
  }
  .title-ja {
    font-size: 32px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  }
  .mv-desc {
    font-size: 15px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  }
  .sp-only {
    display: inline;
  }

  /* --- 特集一覧エリア --- */
  .feature-section {
    padding: 40px 20px;
  }

  /* --- フッター --- */
  .footer-menu {
    padding: 40px 0;
  }
  .footer-menu h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

/* =========================================
   8. スマホ専用レスポンシブ対応
========================================= */
@media (max-width: 599px) {
  .btn-inquiry {
    padding: 10px;
    border-radius: 50%;
  }
  .btn-inquiry .btn-text {
    display: none;
  }
  .footer-links {
    grid-template-columns: 1fr; 
    gap: 10px;
  }
}