/* ============================================================
   FileLocker - CSS スタイルシート
   テーマ: Howlite (モダン・コーポレート・ミニマリスト)
   ============================================================ */

/* === リセット & ベース === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent-color: #2D2E34;
  --body-color: #3D3838;
  --heading-color: #000000;
  --bg-main: #bff4f4;
  --bg-light: #FFFFFF;
  --bg-gray: #F2F2F2;
  --bg-muted: #EDEDED;
  --border-color: #d8d4d4;
  --shape-bg: #f2eeee;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-width: 1050px;
  --card-radius: 4px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--body-color);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* === ナビゲーション === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 75px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.navbar-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.navbar-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* === コンテナ === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === セクション共通 === */
.section {
  width: 100%;
  padding: 80px 0;
  position: relative;
}

.section-white {
  background-color: #FFFFFF;
}

/* === ヒーローセクション === */
.section-hero {
  background-color: var(--bg-gray);
  padding-top: calc(75px + 40px);
  padding-bottom: 60px;
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.section-hero .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 20px 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.hero-banner-wrap {
  max-width: 680px;
  width: 100%;
}

.hero-banner-img {
  width: 100%;
  height: auto;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--body-color);
  max-width: 800px;
  line-height: 1.7;
}

/* === 2カラムレイアウト（FileLockerとは） === */
.two-col-layout {
  display: grid;
  grid-template-columns: 37.5% 62.5%;
  min-height: 400px;
  gap: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.col-accent {
  position: relative;
  min-height: 380px;
  border-radius: 4px 0 0 4px;
  overflow: hidden;
}

.accent-image {
  position: absolute;
  inset: 1em;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
}

.col-body {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background-color: #FFFFFF;
}

/* === ラベル === */
.label-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.label {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background-color: #e4e4e7;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--body-color);
}

/* === 見出し === */
.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--heading-color);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-subheading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--heading-color);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section-lead {
  margin-bottom: 32px;
}

/* === 本文テキスト === */
.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: 16px;
}

.body-text:last-child {
  margin-bottom: 0;
}

/* === 主な機能グリッド === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.feature-card {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: #FFFFFF;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature-accent-bar {
  width: 4px;
  background-color: var(--accent-color);
  flex-shrink: 0;
  border-radius: 4px 0 0 4px;
}

.feature-content {
  padding: 20px 20px 20px 16px;
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--body-color);
}

/* === 広告スペースグリッド === */
.ad-space-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.ad-space-item {
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 16px 20px;
  background: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--heading-color);
  transition: background-color var(--transition);
}

.ad-space-item:hover {
  background-color: var(--bg-muted);
}

/* === センター画像 === */
.centered-image-wrap {
  margin: 32px 0;
  display: flex;
  justify-content: center;
}

.centered-image {
  border-radius: var(--card-radius);
  max-width: 100%;
}

.summary-img {
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* === 理由カード === */
.reason-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--shape-bg);
  padding: 28px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
}

.reason-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.reason-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.reason-body {
  flex: 1;
}

.reason-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.reason-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--body-color);
  margin-bottom: 8px;
}

.reason-desc:last-child {
  margin-bottom: 0;
}

/* === コールアウトボックス === */
.callout-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  background-color: #d6d7dc;
  padding: 20px 24px;
  border-radius: var(--card-radius);
  margin-bottom: 24px;
  color: #000;
}

.callout-icon {
  font-size: 1.2rem;
  color: #474952;
  flex-shrink: 0;
}

.callout-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.callout-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #000;
  line-height: 1.3;
}

/* === 価値の3ピラー (pills) === */
.value-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.value-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 12px 20px;
}

.pill-icon-wrap {
  width: 56px;
  height: 56px;
  background-color: var(--shape-bg);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.pill-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-color);
}

.pill-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading-color);
  line-height: 1.3;
}

.pill-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--body-color);
}

/* === 用途グリッド === */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.usecase-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--shape-bg);
  padding: 24px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  transition: transform var(--transition), box-shadow var(--transition);
}

.usecase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.usecase-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.usecase-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.usecase-body {
  flex: 1;
}

.usecase-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--heading-color);
  margin-bottom: 8px;
  line-height: 1.35;
}

.usecase-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--body-color);
}

/* === お問い合わせセクション === */
.contact-blockquote {
  position: relative;
  padding-left: 24px;
  margin: 32px 0;
  border-left: none;
}

.blockquote-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.blockquote-content {
  padding-left: 8px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.25;
}

.contact-link-card {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #FFFFFF;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.contact-link-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.contact-card-image {
  flex: 1;
  min-height: 140px;
  overflow: hidden;
  background: #eee;
}

.contact-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card-body {
  flex: 1.618;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--body-color);
  opacity: 0.6;
}

.contact-favicon {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  object-fit: contain;
}

.contact-site-name {
  font-size: 0.82rem;
  font-weight: 500;
}

.contact-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--body-color);
  line-height: 1.4;
}

.contact-card-desc {
  font-size: 0.85rem;
  color: var(--body-color);
  opacity: 0.65;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* === 区切り線 === */
.divider {
  border: none;
  border-bottom: 1px solid var(--border-color);
  margin: 28px 0;
  opacity: 0.5;
}

/* === 小テキスト === */
.small-text {
  font-size: 0.82rem;
  color: var(--body-color);
  opacity: 0.7;
  line-height: 1.8;
}

.brand-footer {
  font-size: 0.85rem;
  color: var(--body-color);
  opacity: 0.8;
  font-style: italic;
  text-align: center;
}

/* === アニメーション === */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === レスポンシブ === */
@media (max-width: 900px) {
  .two-col-layout {
    grid-template-columns: 1fr;
  }

  .col-accent {
    min-height: 260px;
    border-radius: 4px 4px 0 0;
  }

  .col-body {
    padding: 36px 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .ad-space-grid {
    grid-template-columns: 1fr;
  }

  .value-pills {
    grid-template-columns: 1fr;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .section-hero {
    padding-top: calc(75px + 32px);
    padding-bottom: 48px;
  }

  .hero-content {
    gap: 28px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 16px;
  }

  .contact-link-card {
    flex-direction: column;
  }

  .contact-card-image {
    min-height: 120px;
    max-height: 180px;
  }

  .reason-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
