@charset "utf-8";
/* ==========================================================================
   下層サービスページ共通CSS（svc-page.css）
   - page-visa-status.php ほか、今後追加するサービス別下層ページで共通利用
   - すべて .svc- プレフィックスで記述し、既存の style.css には干渉しません
   - 配色は既存サイトに合わせています
     メイン青 #0088D2 / アクセント黄 #fee002 / 淡青 #D0F0FB
     ボタン青 #4D90FE / 濃紺 #062749 / 薄グレー背景 #f6f7f8
   ========================================================================== */

/* ---------- ベース ---------- */
.svc-page {
  color: #333;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}
/* :where() で詳細度を下げ、各コンポーネントの指定を優先させる */
.svc-page :where(p) { margin: 0; }
.svc-page :where(p + p) { margin-top: 1em; }
.svc-page :where(a) { color: #0088D2; }
.svc-page img { max-width: 100%; height: auto; }

.svc-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.svc-inner--narrow { max-width: 860px; }

.svc-section { padding: 80px 0; }
.svc-section--gray { background: #f6f7f8; }
.svc-section--blue { background: #D0F0FB; }

/* ---------- パンくず ---------- */
.svc-breadcrumb {
  font-size: 13px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 28px;
}
.svc-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
.svc-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 8px;
  opacity: 0.8;
}
.svc-breadcrumb a {
  color: #fff;
  text-decoration: underline;
}
.svc-breadcrumb a:hover { text-decoration: none; }

/* ---------- ヒーロー（ページ見出し） ---------- */
.svc-hero {
  position: relative;
  padding: 56px 0 64px;
  color: #fff;
  background-color: #0088D2;
  /* 背景画像の拡大率・表示位置（ページごとに style 属性の --svc-hero-* で上書き可） */
  /* 既定：画像幅90%・中心人物（画像の横39%地点）を画面中央に配置。左の余白は青のオーバーレイで目立たない */
  background-size: var(--svc-hero-size-pc, 90% auto);
  background-position: var(--svc-hero-pos-pc, 150% 60%);
  background-repeat: no-repeat;
  z-index: 0;
}
.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 136, 210, 0.95) 0%, rgba(0, 136, 210, 0.86) 55%, rgba(6, 39, 73, 0.72) 100%);
  z-index: -1;
}
.svc-hero__label {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: #062749;
  background: #fee002;
  border-radius: 4px;
  padding: 2px 12px;
  margin-bottom: 14px;
}
.svc-hero__title {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.svc-hero__title::after {
  content: "";
  display: block;
  width: 100px;
  height: 6px;
  margin: 20px 0 22px;
  border-radius: 6px;
  background: #fee002;
}
.svc-hero__lead {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
}
.svc-hero__btn { margin-top: 30px; }

/* ---------- 見出し ---------- */
.svc-title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  color: #000;
}
.svc-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  margin: 18px auto 40px;
  border-radius: 5px;
  background: #fee002;
}
.svc-title--left { text-align: left; }
.svc-title--left::after { margin-left: 0; }

.svc-heading {
  position: relative;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
  color: #000;
  padding: 4px 0 4px 18px;
  margin-bottom: 16px;
}
.svc-heading::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 6px;
  border-radius: 3px;
  background: #0088D2;
}

.svc-lead {
  text-align: center;
  margin-bottom: 40px;
}
.svc-center-text {
  text-align: center;
  margin-top: 40px;
}

/* ---------- テキストブロック ---------- */
.svc-textbox {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(2, 2, 2, 0.1);
  padding: 40px 44px;
}
.svc-marker {
  background: linear-gradient(transparent 62%, #fff38a 62%);
  font-weight: bold;
}

/* ---------- 吹き出し風の声 ---------- */
.svc-voices {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  list-style: none;
  margin: 28px 0;
}
.svc-voices li {
  position: relative;
  background: #D0F0FB;
  color: #062749;
  font-weight: bold;
  border-radius: 30px;
  padding: 12px 24px;
  line-height: 1.6;
}
.svc-voices li::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 32px;
  border-style: solid;
  border-width: 10px 8px 0 8px;
  border-color: #D0F0FB transparent transparent transparent;
}

/* ---------- チェックリスト ---------- */
.svc-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  list-style: none;
  background: #fff;
  border: 3px solid #0088D2;
  border-radius: 10px;
  padding: 36px 40px;
}
.svc-checklist li {
  position: relative;
  padding-left: 34px;
  font-weight: bold;
  line-height: 1.6;
}
.svc-checklist li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #0088D2;
}
.svc-checklist li::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 6px;
  height: 11px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

/* ---------- 箇条書き（本文用） ---------- */
.svc-list {
  list-style: none;
  margin: 14px 0;
}
.svc-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.7;
}
.svc-list li + li { margin-top: 6px; }
.svc-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 8px;
  height: 8px;
  background: #0088D2;
}

/* ---------- カード（手続き一覧など） ---------- */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-cards--2col { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(2, 2, 2, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc-card__head {
  background: #0088D2;
  color: #fff;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.5;
  padding: 18px 22px;
}
.svc-card__num {
  display: block;
  font-size: 13px;
  color: #fee002;
  letter-spacing: 0.1em;
}
.svc-card__body {
  padding: 22px 24px 26px;
  flex: 1;
}

/* ---------- サービス紹介（アイコン付き・詳細リンク） ---------- */
.svc-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-service {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(2, 2, 2, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.svc-service--wide { grid-column: 1 / -1; }
.svc-service__head {
  display: flex;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ddd;
}
.svc-service__icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  margin-right: 18px;
  border-radius: 50%;
  background: #D0F0FB;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-service__icon img { width: 55%; height: auto; }
.svc-service__title {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  color: #000;
}
.svc-service__body { flex: 1; }
.svc-service__more { margin-top: 20px; text-align: right; }

/* テキストリンク（→ 詳しく見る） */
.svc-link {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  color: #0088D2;
  text-decoration: none;
  border-bottom: 2px solid #D0F0FB;
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.svc-link::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.svc-page a.svc-link:hover { color: #062749; border-color: #0088D2; }

/* ---------- 強み（番号付き） ---------- */
.svc-feature {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(2, 2, 2, 0.1);
  padding: 32px;
}
.svc-feature + .svc-feature { margin-top: 24px; }
.svc-feature__img {
  flex: 0 0 200px;
  width: 200px;
  margin-right: 30px;
  border-radius: 8px;
  overflow: hidden;
}
.svc-feature__img img { width: 100%; display: block; }
.svc-feature__body { flex: 1; }
.svc-feature__title {
  display: flex;
  align-items: flex-start;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
  color: #000;
  margin-bottom: 14px;
}
.svc-feature__num {
  flex: 0 0 auto;
  font-size: 40px;
  font-style: normal;
  font-weight: bold;
  line-height: 1;
  color: #0088D2;
  margin-right: 16px;
  font-family: "Lato", "Noto Sans JP", sans-serif;
}

/* ---------- 流れ（ステップ） ---------- */
.svc-flow {
  list-style: none;
  counter-reset: svc-flow;
}
.svc-flow__item {
  position: relative;
  display: flex;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(2, 2, 2, 0.1);
  overflow: hidden;
}
.svc-flow__item + .svc-flow__item { margin-top: 36px; }
.svc-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 14px 22px 0 22px;
  border-color: #0088D2 transparent transparent transparent;
}
.svc-flow__step {
  flex: 0 0 120px;
  background: #0088D2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  line-height: 1.2;
  padding: 16px 0;
}
.svc-flow__step span {
  font-size: 13px;
  letter-spacing: 0.1em;
  font-family: "Lato", "Noto Sans JP", sans-serif;
}
.svc-flow__step strong {
  font-size: 36px;
  font-family: "Lato", "Noto Sans JP", sans-serif;
}
.svc-flow__body { padding: 24px 30px; flex: 1; }
.svc-flow__title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  color: #000;
  margin-bottom: 8px;
}

/* ---------- FAQ ---------- */
.svc-faq { list-style: none; }
.svc-faq__item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(2, 2, 2, 0.1);
  overflow: hidden;
}
.svc-faq__item + .svc-faq__item { margin-top: 16px; }
.svc-faq__q {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  color: #000;
  padding: 20px 60px 20px 24px;
}
.svc-faq__q::-webkit-details-marker { display: none; }
.svc-faq__q::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 10px;
  height: 10px;
  margin-top: -8px;
  border-right: 2px solid #0088D2;
  border-bottom: 2px solid #0088D2;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.svc-faq__item[open] .svc-faq__q::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}
.svc-faq__mark {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-right: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  font-family: "Lato", sans-serif;
  color: #fff;
  background: #0088D2;
}
.svc-faq__mark--a { color: #062749; background: #fee002; }
.svc-faq__a {
  display: flex;
  align-items: flex-start;
  padding: 20px 24px 24px;
  border-top: 1px dashed #ccc;
  background: #fbfcfd;
}
.svc-faq__a p { flex: 1; padding-top: 4px; }

/* ---------- CTA ---------- */
.svc-cta {
  background: #0088D2;
  color: #fff;
  border-radius: 10px;
  padding: 50px 48px;
  text-align: center;
}
.svc-cta__title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.45;
}
.svc-cta__title::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  margin: 18px auto 28px;
  border-radius: 5px;
  background: #fee002;
}
.svc-cta__text { text-align: left; max-width: 760px; margin: 0 auto; }
.svc-cta .svc-voices li { background: #fff; }
.svc-cta .svc-voices li::after { border-top-color: #fff; }
.svc-cta__btn { margin-top: 34px; }

/* ボタン（既存お問い合わせボタンと同系統） */
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  padding: 18px 36px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #fff;
  background: #4D90FE;
  border: 2px solid #fff;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(6, 39, 73, 0.25);
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}
.svc-btn::before {
  content: "";
  display: block;
  width: 1.8em;
  height: 1.1em;
  margin-right: 0.7em;
  background: url(../images/icon_mail.png) no-repeat center / contain;
}
.svc-page a.svc-btn { color: #fff; }
.svc-page a.svc-btn:hover { background: #062749; transform: translateY(-2px); }
.svc-btn--yellow { color: #062749; background: #fee002; border-color: #fee002; }
.svc-btn--yellow::before { display: none; }
.svc-page a.svc-btn--yellow { color: #062749; }
.svc-page a.svc-btn--yellow:hover { color: #fff; }


/* ボタン横並び（メール＋電話） */
.svc-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}
/* 電話ボタン */
.svc-btn--tel {
  flex-direction: column;
  padding: 10px 36px 12px;
  font-size: 26px;
  line-height: 1.25;
  font-family: "Lato", "Noto Sans JP", sans-serif;
  letter-spacing: 0.04em;
  color: #0088D2;
  background: #fff;
  border-color: #fff;
}
.svc-btn--tel::before { display: none; }
.svc-btn__sub {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
  color: #062749;
}
.svc-btn__sub::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230088D2' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.svc-page a.svc-btn--tel { color: #0088D2; }
.svc-page a.svc-btn--tel:hover { color: #fff; }
.svc-page a.svc-btn--tel:hover .svc-btn__sub { color: #fff; }

/* ---------- 補足 ---------- */
.svc-note {
  font-size: 14px;
  color: #666;
  margin-top: 16px;
}

/* ---------- 改行制御ユーティリティ ---------- */
.svc-pc-none { display: none; }   /* PCでは非表示（SPのみ改行） */

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media screen and (min-width: 1001px) {
  /* 画像左端（画面幅の約15%地点）の境目が見えないよう、左側を不透明な青でフェード */
  .svc-hero::before {
    background: linear-gradient(90deg, rgba(0, 136, 210, 1) 0%, rgba(0, 136, 210, 1) 16%, rgba(0, 136, 210, 0.9) 30%, rgba(0, 136, 210, 0.86) 55%, rgba(6, 39, 73, 0.72) 100%);
  }
}

@media screen and (max-width: 1000px) {
  /* 画面幅が狭いPC・タブレットでは画像が枠の高さに足りなくなるため cover に切り替え */
  .svc-hero {
    background-size: var(--svc-hero-size-tab, cover);
    background-position: var(--svc-hero-pos-tab, 30% 55%);
  }
}

@media screen and (max-width: 900px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-cards--2col { grid-template-columns: 1fr; }
  .svc-feature__img { flex-basis: 150px; width: 150px; margin-right: 20px; }
}

@media screen and (max-width: 767px) {
  .svc-page { font-size: 15px; line-height: 1.85; }
  .svc-pc-none { display: inline; }
  .svc-sp-none { display: none; }
  .svc-section { padding: 50px 0; }
  .svc-inner { padding: 0 16px; }

  .svc-hero {
    padding: 28px 0 40px;
    background-size: var(--svc-hero-size-sp, cover);
    background-position: var(--svc-hero-pos-sp, 35% 50%);
  }
  .svc-breadcrumb { font-size: 12px; margin-bottom: 20px; }
  .svc-hero__title { font-size: 26px; }
  .svc-hero__title::after { width: 70px; height: 5px; margin: 14px 0 16px; }
  .svc-hero__lead { font-size: 16px; }

  .svc-title { font-size: 20px; }
  .svc-title::after { width: 70px; height: 4px; margin: 14px auto 28px; }
  .svc-heading { font-size: 18px; }
  .svc-lead { text-align: left; margin-bottom: 28px; }
  .svc-center-text { text-align: left; margin-top: 28px; }

  .svc-textbox { padding: 24px 20px; }

  .svc-voices { flex-direction: column; align-items: flex-start; gap: 14px; }
  .svc-voices li { border-radius: 20px; padding: 10px 18px; font-size: 14px; }

  .svc-checklist { grid-template-columns: 1fr; padding: 24px 20px; gap: 12px; }

  .svc-card__head { font-size: 17px; padding: 14px 18px; }
  .svc-card__body { padding: 18px 18px 22px; }

  .svc-services { grid-template-columns: 1fr; gap: 18px; }
  .svc-service { padding: 22px 20px; }
  .svc-service__icon { flex-basis: 56px; width: 56px; height: 56px; margin-right: 14px; }
  .svc-service__title { font-size: 18px; }

  .svc-feature { flex-direction: column; padding: 22px 20px; }
  .svc-feature__img { width: 100%; flex-basis: auto; margin: 0 0 18px; max-height: 200px; }
  .svc-feature__img img { height: 200px; object-fit: cover; }
  .svc-feature__title { font-size: 18px; }
  .svc-feature__num { font-size: 30px; margin-right: 12px; }

  .svc-flow__item { flex-direction: column; }
  .svc-flow__step { flex-direction: row; flex-basis: auto; gap: 8px; padding: 8px 0; }
  .svc-flow__step strong { font-size: 22px; }
  .svc-flow__body { padding: 18px 20px 22px; }
  .svc-flow__title { font-size: 17px; }

  .svc-faq__q { font-size: 15px; padding: 16px 44px 16px 16px; }
  .svc-faq__q::after { right: 18px; }
  .svc-faq__mark { flex-basis: 30px; width: 30px; height: 30px; font-size: 15px; margin-right: 12px; }
  .svc-faq__a { padding: 16px 16px 20px; }

  .svc-cta { padding: 36px 20px; }
  .svc-cta__title { font-size: 20px; }
  .svc-btn { min-width: 0; width: 100%; font-size: 15px; letter-spacing: 0; padding: 16px 16px; }
  .svc-btn--tel { font-size: 24px; padding: 8px 20px 10px; }
}
