/* ======================
   Base
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fde8d8;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* ======================
   Header
====================== */
.site-header {
  background: #AD002D;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.site-header .container {
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;   /* 縦中央揃え */
  gap: 12px;             /* 画像と文字の間隔 */
  text-align: left;
}

.logo img {
  height: 40px;        /* ロゴの高さ */
  width: auto;
}

.logo-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo p {
  margin-top: 0;         /* ← これ重要（縦並び用の余白を消す） */
  font-size: 0.9rem;
  color: #fff;
}

.logo a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

/* テキスト部分を縦並び */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* 日本語社名 */
.logo-ja {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

/* 英語タグライン */
.logo-en {
  margin-top: 4px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  margin-left: 12px; /* ロゴ画像幅に合わせて微調整 */
}


/* スマホ用調整 */
@media (max-width: 768px) {
  .logo img {
    height: 32px;
  }
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.nav a:hover {
  color: #0073e6;
}

/* ======================
   Hero
====================== */
.hero {
  background: #fde8d8;
  text-align: center;
  padding: 30px 0;
}

.hero h2 {
  font-size: 2.2rem;
  color: #FFFFFF;              /* ← セクション内の基本文字色 */
  margin-bottom: 10px;
}

.hero p {
  color: #FFFFFF;
}
/* ======================
   Hero Background Image
====================== */
.hero-bg {
  position: relative;
  background-image: url("../images/top.png");
  background-size: cover;
  background-position: center;
  padding: 160px 0;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-bg h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-bg p {
  color: #f0f0f0;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .hero-bg {
    padding: 120px 0;
  }

  .hero-bg h2 {
    font-size: 2rem;
  }
}

/* ======================
   Services
====================== */
.services {
  justify-content: center;
}

.services {
  padding: 60px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.services-section {
  background-color: #AD002D; /* 臙脂色 */
  padding: 80px 0;
}


.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-card img {
  display: block;
  width: 100%;
  height: auto;          /* ← 画像比率そのまま */
  max-width: 280px;      /* ← 最大サイズ制御 */
  margin: 30px auto 0;   /* 中央寄せ */
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-content p {
  color: #555;
  margin-bottom: 15px;
}

.service-content a {
  color: #0073e6;
  text-decoration: none;
  font-weight: bold;
}

/* ======================
   Footer
====================== */
.site-footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #777;
}

/* ======================
   Animations
====================== */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   Responsive
====================== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .service-card img {
    height: 180px;
  }
}




/* ===== Detail Page ===== */

.detail-hero {
  background-color: #AD002D;
    /* ★ 外側の余白（上下左右） */
  margin: 30px auto;

  /* ★ 内側の余白（上下左右） */
  padding: 80px 40px;

  /* ★ 横幅を制限して中央寄せ */
  max-width: 1100px;
}

.detail-section {
  padding: 80px 0;
}

.detail-section.bg-light {
  background-color: #f7f7f7;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.detail-text h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.detail-text p {
  color: #555;
}

.detail-image img {
  width: 100%;
  height: auto;
  max-width: 2000px;
  margin: auto;
  display: block;
}

/* 特徴リスト */
.feature-list {
  margin-top: 20px;
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 10px;
}

/* CTA */
.detail-cta {
  background-color: #1f2933;
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  background-color: #AD002D;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= TOP ================= */

.top-hero {
  padding: 120px 0;
  text-align: center;
}

.top-hero h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.top-hero p {
  color: #fff;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: #AD002D;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}

/* Section */
.top-section {
  padding: 50px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 24px;
  color: #fff;
}

.center {
  text-align: center;
  margin-top: 30px;
}

.text-link {
  color: #b00020;
  text-decoration: none;
  font-weight: 600;
}

/* CTA */
.top-cta {
  background: #1f2933;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .top-hero h2 {
    font-size: 2rem;
  }
}

/* ======================
   Company Page
====================== */

.company-table {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  overflow: hidden;
}

.company-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #eee;
}

.company-row:last-child {
  border-bottom: none;
}

.company-label {
  background: #f7f7f7;
  padding: 18px 20px;
  font-weight: 600;
  color: #333;
}

.company-value {
  padding: 18px 20px;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .company-row {
    grid-template-columns: 1fr;
  }

  .company-label {
    background: none;
    padding-bottom: 6px;
  }

  .company-value {
    padding-top: 0;
  }
}




















/* ======================
   Scroll Reveal
====================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

