@charset "UTF-8";

/* =========================================
   1. 基本設定・レイアウト共通
   ========================================= */
:root {
  --primary-color: #000;
  --text-color: #333;
  --bg-gray: #f9f9f9;
  --border-color: #eee;
  --white: #fff;
  --font-en: 'Montserrat', sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0; padding: 0;
  font-family: var(--font-en), var(--font-jp);
  color: var(--text-color);
  line-height: 1.8;
  background-color: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; vertical-align: bottom; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.bg-gray { background-color: var(--bg-gray); }
.dark-section { background-color: #1a1a1a; color: var(--white); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.05em; }
.section-title span { display: block; font-size: 14px; color: #888; margin-top: 8px; letter-spacing: 0.1em; }

/* =========================================
   2. ヘッダー
   ========================================= */
.header {
  position: fixed; top: 0; left: 0; width: 100%; height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px); z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex; align-items: center;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 40px; }
.logo { font-size: 24px; font-weight: 700; font-family: var(--font-en); white-space: nowrap; z-index: 1200; }
.logo span { font-size: 12px; font-weight: 400; color: #888; margin-left: 8px; }

.nav-menu { display: flex; gap: 32px; align-items: center; }
.nav-menu a { font-size: 14px; font-weight: 500; }
.nav-contact { background: #000; color: #fff !important; padding: 8px 20px; border-radius: 4px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 1200;
}
.nav-toggle span {
  position: absolute; left: 10px; width: 24px; height: 2px;
  background: #000; transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header { height: 60px; }
  .header-inner { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
    background: #fff; z-index: 1100; transition: 0.4s;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
  }
  .nav.active { right: 0; }
  .nav-menu { flex-direction: column; gap: 40px; }
}

/* =========================================
   3. ヒーロー
   ========================================= */
.home-hero {
  position: relative; overflow: hidden; 
  height: 100vh; height: 100dvh; /* dvhを使用してブラウザのバーを考慮 */
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-align: center;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('images/背景画像　小.jpeg');
  background-size: cover; background-position: center; z-index: 0;
  animation: kenBurns 20s infinite alternate;
}
@keyframes kenBurns { 0% { transform: scale(1.0); } 100% { transform: scale(1.1); } }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 20px; }

.btn { display: inline-block; padding: 15px 40px; border-radius: 50px; font-weight: 700; transition: 0.3s; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255,255,255,0.3); }

/* =========================================
   4. セクションパーツ
   ========================================= */
.nowrap { display: inline-block; white-space: nowrap; }
.sp-only { display: none; }
@media (max-width: 768px) { .sp-only { display: block; } }

.philosophy-row { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; }
.philosophy-row.reverse { flex-direction: row-reverse; }
.philosophy-img-box, .philosophy-text-box { flex: 1; }
.philosophy-num { font-size: 60px; font-weight: 700; color: #e0e0e0; font-family: var(--font-en); margin-bottom: 16px; }
.philosophy-h3 { font-size: 28px; font-weight: 700; margin-bottom: 24px; }

.outline-box { background: var(--white); padding: 60px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); max-width: 900px; margin: 0 auto; }
.outline-list { display: grid; grid-template-columns: 180px 1fr; text-align: left; }
.outline-list dt { font-weight: 700; border-bottom: 1px solid var(--border-color); padding: 24px 0; }
.outline-list dd { border-bottom: 1px solid var(--border-color); padding: 24px 0; margin: 0; }

#lineup .flow-grid { display: flex; flex-direction: column; gap: 20px; }
#lineup .flow-card { display: flex; align-items: center; padding: 0; overflow: hidden; border: 1px solid var(--border-color); border-radius: 8px; }
#lineup .product-photo { width: 40%; height: 350px; object-fit: contain; background: #f4f4f4; }
#lineup .product-info { flex: 1; padding: 40px; }

.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.flow-card { background: var(--white); padding: 40px 30px; text-align: center; }
.merit-icon { font-size: 40px; margin-bottom: 20px; }

/* =========================================
   5. フォーム
   ========================================= */
.contact-form { max-width: 600px; margin: 0 auto; text-align: left; }
.form-item { margin-bottom: 24px; }
.form-item label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-item input, .form-item select, .form-item textarea { width: 100%; padding: 12px; border: 1px solid #444; background: #222; color: #fff; border-radius: 4px; }

.privacy-box { height: 120px; overflow-y: scroll; background: #1a1a1a; border: 1px solid #333; padding: 15px; font-size: 12px; color: #bbb; border-radius: 4px; margin-bottom: 15px; }
.privacy-check { text-align: center; color: #ccc; cursor: pointer; }
.submit-btn { width: 100%; padding: 18px; background: #fff; color: #000; border: none; font-weight: bold; cursor: pointer; border-radius: 4px; margin-top: 20px; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(1); }

/* =========================================
   6. 演出・その他
   ========================================= */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-up.show { opacity: 1; transform: translateY(0); }

.footer { background: #000; padding: 40px 0; text-align: center; color: #888; }
.floating-cta { position: fixed; right: 20px; bottom: 20px; background: #000; color: #fff; padding: 15px 25px; border-radius: 50px; z-index: 999; border: 1px solid rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .philosophy-row, .philosophy-row.reverse { flex-direction: column !important; gap: 30px; }
  .outline-list { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  #lineup .flow-card { flex-direction: column; }
  #lineup .product-photo { width: 100%; height: 250px; }
}