/*
Theme Name: SimpleOnePage
Author: D-SYNC
Version: 1.0
*/

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

html, body {
  margin: 0;
  padding: 0;
  background: #fff !important;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header,
.hero {
  width: 100%;
}

section:nth-child(even) {
  background: #f4f4f4;
}

.company-footer {
  background: #0b2a4a;
  color: #fff;
  padding: 80px 20px;
}

.company-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #0f3b66;
  border-radius: 12px;
  padding: 60px 40px;
}

.company-footer h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.company-info {
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 20px;
  column-gap: 20px;
  font-size: 15px;
}

.company-info dt {
  font-weight: bold;
  opacity: 0.9;
}

.company-info dd {
  margin: 0;
  line-height: 1.7;
}

.company-info dd:last-of-type {
  margin-bottom: 20px;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  opacity: 0.7;
}

/* ===== Header / Hero ===== */
.site-header {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* 上の濃紺バー */
.site-bar {
  background: #0b2a52;
  padding: 14px 20px;
}

.site-title {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ヒーロー */
.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
}

/* 背景画像 */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/themes/homepage/assets/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

/* 文字が読みやすいように薄い暗幕（左寄せ強め） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.30) 42%,
    rgba(0,0,0,0) 72%
  );
}

/* 中身 */
.hero-inner {
  position: relative;
  z-index: 1;
  padding-left: 80px;   /* ← 好きな量に調整（40〜120px） */
  padding-right: 24px;
}

.hero-kicker {
  color: rgba(255,255,255,.9);
  font-size: 14px;
  margin: 0 0 10px;
}

.hero-title {
  color: #fff;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1.1;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero-text {
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.9;
  max-width: 720px;
  margin: 0 0 22px;
}

/* ボタン */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: #ffffff;
  color: #0b2a52;
}

.btn-ghost {
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

/* スマホ */
@media (max-width: 640px) {
  .hero {
    min-height: 360px;
  }
  .hero-inner {
    padding: 42px 18px;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.55) 0%,
      rgba(0,0,0,.30) 55%,
      rgba(0,0,0,0) 100%
    );
  }
}

/* ===== Concept Section ===== */
.concept {
  background: #ffffff;
  padding: 120px 0;
}

.concept-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  text-align: center;
  color: #0b2a4a;
  margin-bottom: 12px;
}

.concept-subtitle {
  text-align: center;
  color: #555;
  font-size: 15px;
  margin-bottom: 80px;
}

.concept-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.concept-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.concept-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #0b2a4a;
  transform: translateX(-50%);
}

.concept-text {
  font-size: 15px;
  line-height: 2;
  color: #333;
}

/* ===== Service Card Section ===== */
.service-card-section {
  padding: 90px 0;
  background: #fff !important;
}

.service-card {
  position: relative;
  background: #f3f0e3;          /* 薄いベージュ */
  border-radius: 18px;
  padding: 300px 40px 52px;     /* 上は画像分あける */
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

/* 画像を上に浮かせる */
.service-card-media {
  position: absolute;
  left: 50%;
  top: -48px;
  transform: translateX(-50%);
  width: min(520px, 78%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.service-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.service-card-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #111;
}

.service-card-divider {
  width: 64px;
  height: 2px;
  background: rgba(0,0,0,.18);
  margin: 0 auto 22px;
}

.service-card-text {
  margin: 0 auto;
  max-width: 640px;
  font-size: 14px;
  line-height: 2;
  color: #333;
}

/* スマホ調整 */
@media (max-width: 640px) {
  .service-card {
    padding: 96px 18px 40px;
    border-radius: 14px;
  }
  .service-card-media {
    top: -34px;
    width: 86%;
  }
  .service-card-text {
    text-align: left; /* スマホは読みやすく */
  }
}
