@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 ul {padding-left: 30px; margin-bottom: 20px;}
.intro-copy li {font-size: .9rem;}

@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%） */
}


/* 基本 */
.intl-shipping{padding:0 0 60px; background:#fff;}

.title-dot{
  font-weight:bold; margin:0 0 14px; color:#0b5cab; font-size:clamp(18px,1.8vw,18px);
  position:relative; padding-left:28px;
}
.title-dot::before{
  content:""; position:absolute; left:0; top:.45em; width:14px; height:14px;
  background:#0b5cab; border-radius:3px;
}

/* 上段 2カラム */
.grid{display:grid; grid-template-columns:1.2fr .8fr; gap:20px; align-items:start;}
@media (max-width: 960px){ .grid{grid-template-columns:1fr;} }

/* 特徴 */
.features{display:flex; flex-direction:column; gap:14px;}
.feat{display:flex; gap:10px; background:#f7fbff; border:1px solid #e5edf7; border-radius:10px; padding:12px;}
.num{
  flex:0 0 28px; height:28px; border-radius:999px; background:#0b5cab; color:#fff;
  display:grid; place-items:center; font-weight:800;
}
.feat h3{margin:.1rem 0 .3rem; font-weight:bold; font-size:1.0rem;}
.feat p{margin:0; color:#333; line-height:1.7}

/* 右側カード */

@media (max-width: 560px){ .mapcard{grid-template-areas:"map" "photo" "addr"; grid-template-columns:1fr;} }

.map{grid-area:map; background:#eef4fb; border:1px solid #e5edf7; border-radius:8px; overflow:hidden;}
.photo{grid-area:photo; border:1px solid #0b5cab; border-radius:8px; overflow:hidden;}
.map img, .photo img{width:100%; height:auto; display:block;}

.address{grid-area:addr; margin-top:6px;}
.address strong{display:block; font-weight:bold; font-size:.9rem;}
.address p{margin:.25rem 0 0; font-size:.9rem; color:#444}

/* スケジュール */
.subhead{margin:18px 0 10px; color:#1e6bb8; font-weight:bold;}
.schedule img {
    max-width: 1243px;
    width: 100%;
}
/* PC版表示・スマホ非表示 */
.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

/* スマホ：PC画像を消してSP画像だけ表示 */
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
    width: 100%;
    height: auto;
  }
}

.schedule{background:#fff;}
.sched{width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; border:2px solid #3a3a3a; font-size:.9rem;}
.sched th, .sched td{border-right:2px solid #3a3a3a; border-bottom:2px solid #3a3a3a; padding:8px 6px; vertical-align:top;}
.sched th{background:#2f2f2f; color:#fff; font-weight:bold; text-align:center;}
.sched tr > *:first-child{border-left:0;}
.sched tr:last-child td{}
.sched td {
  height: 70px;
  padding: 0;          /* 全セルをまずリセット */
}

@media (max-width: 900px){
  .sched{
    font-size:.7rem;
  }
  .sched th{
    font-size:.55rem;
    padding:4px 2px;       /* 余白も少しだけ狭くする */
    white-space: nowrap;   /* 改行させない（横スクロール前提） */
  }
}

/* cut & 通関メモ */
.note{font-size:.85rem; line-height:1.4; color:#c51d1d; background:#fff;}
.note .tag{
  display:inline-block; margin-top:6px; background:#ffefef; border:1px solid #f1bcbc; color:#d33;
  padding:2px 6px; border-radius:4px; font-weight:bold; font-size:.8rem;
}

/* ETD/ETAセル */
.cell {
  display: flex;       /* grid より flex の方が縦中央寄せが安定 */
  align-items: center; /* 縦中央 */
  justify-content: center; /* 横中央 */
  font-weight: bold;
  color: #fff;
  font-size: 1.1rem;
}

.cell span {
  font-size: .95rem;
}
.cell.etd { background:#00a6d6; }
.cell.eta { background:#79b83a; }

/* 矢印（ETD→ETA） */
.arrow{position:relative; background:#eaf7ff;}
.arrow::before{
  content:""; position:absolute; left:6px; right:6px; top:50%; height:6px; transform:translateY(-50%);
  background:linear-gradient(to right, #ff8c00, #ff8c00);
  border-radius:4px;
}
.arrow::after{
  content:""; position:absolute; right:6px; top:50%; transform:translateY(-50%);
  border-left:10px solid #ff8c00; border-top:7px solid transparent; border-bottom:7px solid transparent;
}
.arrow.long::before{left:6px; right:6px;} /* 横長用 */

.legend{margin:8px 0 0; color:#6b7280; font-size:.85rem}


.img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3列 */
  gap: 20px;
  align-items: center;
}

/* スマホ対応：幅768px以下 → 1列縦並び */
@media (max-width: 768px) {
  .img-grid {
    grid-template-columns: 1fr; /* 1列 */
  }

  .img-grid img {
    width: 100%;
    height: auto;
  }
}