@charset "utf-8";
/* CSS Document */

:root{
  --brand:#0b5cab;
  --brand-2:#1e88e5;
  --ink:#0f172a;
  --muted:#6b7280;
  --bg:#ffffff;
  --bg-soft:#f4f7fb;
  --line:#e5e7eb;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --container: 1280px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.eyebrow{
  display: inline-block;
  width: auto;
  padding-bottom: 40px;
  margin: 0 auto;
  font-size: 1.6rem;
  font-weight: bold;
  color: #005bac;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 100%; /* h1 の幅に合わせる */
  height: 4px; /* ラインの太さ */
  margin: 8px auto 0; /* タイトルとの余白 */
  background: linear-gradient(to right, #005bac, #E60019);
  border-radius: 2px;
}

/* Hero */
.mainimg { position: relative; isolation: isolate; }
.mainimg-media { position: relative; block-size: 24vh; min-block-size: 250px; display: grid; place-items: center; overflow: hidden; }
.mainimg-media::after { content: ""; position: absolute; inset: auto 0 0 0; block-size: 60%; }
.mainimg-media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.mainimg-heading {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%); /* 1280px幅を中央に固定 */
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;   /* コンテナの右端に寄せる */
  text-align: right;       /* テキストも右揃え */
  padding: 0 20px;         /* 余白を確保 */
  box-sizing: border-box;
  z-index: 2;
}

.mainimg .title {
  font-size: clamp(36px, 4.7vw, 60px);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  position: relative;
  display: inline-block;
  text-align: center;
  /* シャドウを強化（濃く & 広め） */
  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.8),   /* 下方向に濃い影 */
    0 0 8px rgba(0, 0, 0, 0.7);      /* 文字全体を縁取り */
}

.mainimg-heading .subtitle {
  margin-top: 8px;
  font-size: clamp(14px, 1.6vw, 20px);
  color: #fff;
  font-weight: 500;
  line-height: 1.4;

  /* サブタイトルも少し濃いめに */
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.7),
    0 0 6px rgba(0, 0, 0, 0.6);

  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.intro { position: relative; max-width: 1280px; width: 100%; margin: 0 auto; }
.intro-card { max-width: 100%; }
.intro-grid { display: grid; }
.intro-copy { max-width: 1280px; width: 100%; }
.intro-copy h2 { margin: 60px 0 8px; font-size: clamp(16px, 2.0vw, 20px); }
.intro-copy p { margin: .25rem 0 70px; color: #000; font-size: 14px; }
.intro-copy-sefety {
    display: flex;
    align-items: center;
    font-size: 14px;
}
.intro-copy-sefety img { display: block; box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); }

.section.safety {
  background:#f9faff; /* 薄いグレー背景 */
  padding: 64px 0;
}

.safety h2 {
  font-size: clamp(16px, 2.0vw, 20px);
  font-weight: bold;
  margin-bottom: 24px;
}

.safety-intro {
  display:flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  font-size: 14px;
}
.safety-intro img {
  max-width: 180px;
  height: auto;
}
.safety-intro p {
  flex:1;
  color:#374151;
  line-height:1.6;
}

.safety-points {
  margin: 32px 0;
}
.safety-points h3 {
  font-size:1.2rem;
  font-weight:700;
  margin-bottom: 12px;
}
.safety-points p {
  margin: 1.2em 0;
  color:#444;
  font-size: .9rem;
}

.safety-gallery {
  display:flex;
  justify-content: flex-start;
  gap: 30px;
  margin: 24px 0 120px;
}
.safety-gallery figure {
  text-align:center;
}
.safety-gallery img {
  width:auto;
  max-height: 298px;
  height:298px;
}
.safety-gallery figcaption {
  margin-top:6px;
  font-size:.9rem;
  color:#555;
}

.safety-photo {
  margin-top: 24px;
  text-align:center;
}
.safety-photo img {
  max-width: 500px;
  width: 100%;
}
.safety-photo figcaption {
  margin-top:6px;
  font-size:.9rem;
  color:#555;
}

.safety-photo2 {
  margin-top: 24px;
  text-align:left;
  max-width: 239px;
  width: auto;
}
.safety-photo2 img {
  max-width: 239px;
  width: 100%;
}
.safety-photo2 figcaption {
  margin-top:6px;
  font-size:.9rem;
  color:#555;
  text-align: center;
}

.safety-photo3 {
  margin-top: 24px;
  text-align:left;
  max-width: 339px;
  width: auto;
}
.safety-photo3 img {
  max-width: 339px;
  width: 100%;
}
.safety-photo3 figcaption {
  margin-top:6px;
  font-size:.9rem;
  color:#555;
  text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 900px){
  .safety-gallery { grid-template-columns: 1fr; }
  .safety-intro { flex-direction: column; }
}


@media (min-width: 1280px) and (max-width: 1350px){
  .intro-grid { grid-template-columns: 1fr; }
  .intro-copy { width: 100%; margin: 0 auto; }
  .card-media { min-block-size: 300px; }
}

@media (max-width: 1280px){
  .intro-grid { grid-template-columns: 1fr; }
  .intro-copy { width: 94%; margin: 0 auto; }
  .card-media { min-block-size: 300px; }
}

@media (max-width: 900px){
  .intro-grid { grid-template-columns: 1fr; }
  .card-media { min-block-size: 300px; }
  .mainimg-heading {
    right: 16px;   /* 端から16px */
    bottom: 24%;
  }
}

/* Strengths */
.section{ width: 100%; margin: 0 auto; padding:70px 0 0}
.section.alt{background:#f9faff; padding-bottom: 70px;}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.grid-2{display:grid; grid-template-columns: 60% 36%; /* 左7割 : 右3割 */; gap:4%;margin-bottom: 80px;}
/* 偶数番目のケースだけ左右反転 */
.grid-2:nth-of-type(even) {
  grid-template-columns: 38% 60%; /* 左30% / 右70% */
  gap:5%;margin-bottom: 80px;
}
.grid-2:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 900px){
  .grid-3,.grid-2{grid-template-columns:1fr}
  .grid-2:nth-of-type(even) {
  grid-template-columns: 1fr;
}
  /* 2段目と4段目の順番を修正 */
  #strengths .grid-2 {
    grid-template-columns: 1fr; /* 1列レイアウト */
    gap: 16px;                  /* お好みで調整 */
  }

  /* 偶数段（2段目・4段目…）だけ順序を入れ替え */
  #strengths .grid-2:nth-of-type(even) .visual { order: 1; }
  #strengths .grid-2:nth-of-type(even) .copy   { order: 2; }
}
.card{background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--shadow-sm)}
.card-media{aspect-ratio:16/7; width: 100%;overflow: hidden;position: relative;}
.card-media img{
  position: absolute;
  inset: 0;              /* top:0; right:0; bottom:0; left:0; の短縮 */
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 枠いっぱいにカバーして表示 */
  object-position: center; /* 中央基準でトリミング */
  display: block;
}
/* Strengthセクションのカード画像を制御 */
.section#strengths .card-media img {
  width: 100%;
  height: auto;
  max-width: 750px;
  max-height: 350px;
  object-fit: cover;      /* 枠をはみ出す場合はトリミング */
  display: block;
  margin: 0 auto;         /* 中央寄せ */
}
.card-body{padding:18px}
.card h3{margin:.2rem 0 .4rem; font-size:1.0rem}
.card p{margin:0; font-size: 14px;}
.section#strengths .copy{padding:0px}

/* Case studies */
.case{align-items:center}
.case .visual{ overflow:hidden; max-width: 750px; width: 100%;}
.case .copy{padding:10px}
.case h3{margin:.2rem 0 .6rem; font-size:1.3rem}
.copy p{font-size: .9rem;}
.chip{display:inline-flex; font-weight:700; font-size:.85rem; color:var(--brand)}
.chip::before{content:"●"; font-size:.65rem; color:var(--brand)}

/* Other solutions */
#others-title.eyebrow{
  display: inline-block;
  width: auto;
  padding-bottom: 40px;
  margin: 0 auto;
  font-size: 1.6rem;
  font-weight: bold;
}
/* PC幅：5列 */
.other-solutions{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:18px;
}

/* 900px以下：2列 */
@media (max-width:768px){
  .other-solutions{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 600px以下：1列（必要なら） */
@media (max-width:600px){
  .other-solutions{
    grid-template-columns: 1fr;
  }
}
.solution-card {
  display: flex;             /* 縦並びの基本 */
  flex-direction: column;    /* 画像 → テキストの順 */
  background: #fff;
  overflow: hidden;
  text-align: center;        /* テキストを中央寄せ（お好みで） */
  text-decoration: none;
  color: #000;
  font-size: 1.1rem;
}
/* サムネイル */
.solution-card .thumb {
  background: #e8eef7;  /* ローディング時の背景 */
}
.solution-card .thumb img {
  width: 100%;          /* カード幅にフィット */
  height: auto;         /* 縦横比を維持 */
  display: block;
}
.solution-card .thumb:hover img {
  transform: scale(1.05); /* 5% 拡大 */
}
/* テキスト部分 */
.solution-card .meta {
  padding: 14px;
  font-weight: 700;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #1E90FF, #005bac);
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 20px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.3s ease; /* hoverの透過アニメーション */
}

.btn:hover {
  opacity: 0.8; /* 少し透過（80%） */
}