/* Multifaice Corporate Site - Oops-inspired Minimal Design */

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 1.0625rem; /* 17px - モバイル読みやすさ優先 */
  line-height: 1.8;
  color: #333;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header & Navigation ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 62px;      /* ここでサイズ調整 */
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-img {
    height: 28px;
  }
}


header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0066cc;
}

/* モバイルメニュー */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 153, 255, 0.02) 100%);
  z-index: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 32px;
  color: #1a1a1a;
}

.hero p {
  font-size: 1.25rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 48px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.2);
}

.cta-button:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 102, 204, 0.3);
}

/* ===== Sections ===== */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: #666;
  margin-bottom: 64px;
  font-weight: 400;
}

/* ===== MVV Card ===== */
.mvv-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 80px 60px;
  margin: 0 auto 80px;
  max-width: 1000px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/02_mvv-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.mvv-content {
  position: relative;
  z-index: 1;
}

.mvv-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.mvv-content p {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 32px;
}

.mvv-content p:last-child {
  margin-bottom: 0;
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.card p {
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 24px;
  flex: 1;
}

.card-link {
  display: inline-block;
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #0052a3;
}

/* ===== Wide Block (Technology SES) ===== */
.wide-block {
  background: #fff;
  border-radius: 12px;
  padding: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 48px;
  display: flex;
  gap: 48px;
  align-items: center;
}

.wide-block-image {
  width: 45%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.wide-block-content {
  flex: 1;
}

.wide-block h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.wide-block p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 32px;
}

/* ===== Contact Sales Box ===== */
.contact-sales-box {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #fff;
  padding: 48px;
  border-radius: 12px;
  margin-top: 48px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25);
}

.contact-sales-box h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-sales-box p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.contact-sales-box .cta-button {
  background: #fff;
  color: #0066cc;
}

.contact-sales-box .cta-button:hover {
  background: #f0f0f0;
  color: #0052a3;
}

/* ===== Footer ===== */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 32px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #333;
  color: #999;
  font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  /* ヘッダー */
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* ヒーロー */
  .hero {
    min-height: 60vh;
    padding: 80px 24px 60px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  /* MVV */
  .mvv-card {
    padding: 48px 32px;
  }

  .mvv-content h3 {
    font-size: 1.5rem;
  }

  .mvv-content p {
    font-size: 1rem;
  }

  /* カード */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* ワイドブロック */
  .wide-block {
    flex-direction: column;
    padding: 40px 32px;
  }

  .wide-block-image {
    width: 100%;
    height: 240px;
  }

  .wide-block h3 {
    font-size: 1.75rem;
  }

  .wide-block p {
    font-size: 1rem;
  }

  /* セクション */
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 48px;
  }

  /* コンタクトセールス */
  .contact-sales-box {
    padding: 36px 24px;
  }

  .contact-sales-box h3 {
    font-size: 1.5rem;
  }

  .contact-sales-box p {
    font-size: 1rem;
  }

  /* CTA */
  .cta-button {
    width: 100%;
    text-align: center;
    padding: 16px 32px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 1.875rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}
