/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.7;
  color: #111;
  background: #fff;
  overflow-x: hidden; /* 100vw要素の横スクロール防止 */
}

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

.container{
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.section{ padding: 56px 0; }
.section-alt{ background: #f7f7f8; }

.section-head{ margin-bottom: 20px; }
.section-title{
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: 0.02em;
}
.section-lead{ margin: 0; color: #333; }

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

/* ロゴ（画像） */
.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px;
  text-decoration: none;
}

.logo__img{
  display: block;
  height: 22px;      /* ←基準サイズ（必要なら 24px でもOK） */
  width: auto;
}

/* PCだけ少し大きく */
@media (min-width: 901px){
  .logo__img{
    height: 24px;
  }
}

.nav{
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #222;
}

.nav a{ opacity: 0.9; }
.nav a:hover{ opacity: 1; }

.nav-cta{
  padding: 10px 12px;
  border: 1px solid #111;
  border-radius: 999px;
}

/* ===== Hero ===== */
.hero{
  padding: 16px 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.hero-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.hero__title{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero__sub{
  margin: 0;
  color: #333;
}

.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media{ width: 100%; }
.hero-photo{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid #eee;
  overflow: hidden;

  /* 画像適用（css/ から見た相対パスなので ../img/ ） */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.12), rgba(0,0,0,0.00)),
    url("../images/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #111;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover{ text-decoration: none; }

.btn-primary{
  background: #111;
  color: #fff;
}

.btn-ghost{
  background: transparent;
  color: #111;
}

.btn-wide{
  width: 100%;
  max-width: 320px;
}

/* ===== Cards ===== */
.card{
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.card-title{
  margin: 0 0 10px;
  font-size: 18px;
}

.card-text{
  margin: 0;
  color: #222;
}

/* ===== Services ===== */
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card{ min-height: 180px; }

/* ===== Feature ===== */
.feature{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  align-items: start;
}

.mini-card{
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.mini-title{
  margin: 0 0 10px;
  font-weight: 700;
}

.mini-list{
  margin: 0;
  padding-left: 18px;
  color: #222;
}
.mini-list li{ margin: 6px 0; }

/* ===== Company ===== */
.section-company{ padding-bottom: 24px; }

.company-map{
  width: 100vw;                       /* ブラウザ幅100% */
  margin: 16px 0 28px;
  margin-left: calc(50% - 50vw);      /* 中央寄せcontainerの外に広げる */
  margin-right: calc(50% - 50vw);
  background: #f2f2f2;
  overflow: hidden;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.company-map iframe{
  display: block;
  width: 100%;
  height: 420px;  /* PC */
  border: 0;
}

.company-list{
  margin: 0;
  padding: 0;
}

.company-row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

.company-row dt{
  font-weight: 700;
  color: #111;
}

.company-row dd{
  margin: 0;
  color: #222;
}

/* ===== CTA ===== */
.cta{
  padding: 56px 0;
  background: #111;
  color: #fff;
}

.cta-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.cta-title{
  margin: 0 0 10px;
  font-size: 22px;
}

.cta-text{ margin: 0 0 12px; opacity: 0.95; }
.note{ opacity: 0.9; }

.cta-steps{
  margin: 0;
  padding-left: 18px;
  opacity: 0.95;
}

.cta-action{
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  justify-content: center;
}

.cta-sub{
  margin: 10px 0 0;
  font-size: 12px;
  opacity: 0.8;
}

/* CTAボタン色反転（背景が黒なので） */
.cta .btn-primary{
  background: #fff;
  color: #111;
  border-color: #fff;
}

/* ===== Footer ===== */
.site-footer{
  padding: 22px 0;
  border-top: 1px solid #eee;
  background: #fff;
  color: #111;
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ===== Responsive (SP) ===== */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .feature{ grid-template-columns: 1fr; }
  .cta-inner{ grid-template-columns: 1fr; }
  .service-grid{ grid-template-columns: 1fr; }
  .nav{ display: none; } /* SPはナビ非表示（必要ならハンバーガー化） */
}

@media (max-width: 768px){
  .section{ padding: 44px 0; }
  .company-map iframe{ height: 350px; } /* SP */
  .company-row{ grid-template-columns: 1fr; gap: 6px; }
}


/* 強調文：思想が伝わるが、主張しすぎない */
.feature-card .card-text strong{
  font-weight: 600;
  color: #111;
}

/* SPでは少しだけ読みやすく */
@media (max-width: 768px){
  .feature-card .card-text strong{
    display: inline-block;
  }
}
