/*
Theme Name:     Lightning-child
Description:    Lightningの子テーマ
Author:          owner
Template:       lightning

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/


/* =====================================================
   visamaru.com HOME リニューアル
   爽やかな青ベース
===================================================== */

.visa-home {
  --visa-blue: #0284c7;
  --visa-blue-dark: #075985;
  --visa-blue-light: #e0f2fe;
  --visa-blue-soft: #f0f9ff;
  --visa-text: #1f2937;
  --visa-muted: #64748b;
  --visa-border: #dbeafe;
  --visa-white: #ffffff;
  --visa-shadow: 0 18px 45px rgba(15, 82, 128, 0.12);

  color: var(--visa-text);
  background: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
}

.visa-home *,
.visa-home *::before,
.visa-home *::after {
  box-sizing: border-box;
}

.visa-home img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

.visa-center {
  text-align: center;
}


/* =====================================================
   Hero
===================================================== */

.visa-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  background:
    radial-gradient(circle at 12% 16%, rgba(14, 165, 233, 0.22), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(37, 99, 235, 0.16), transparent 26%),
    linear-gradient(135deg, #f0f9ff 0%, #ffffff 52%, #e0f2fe 100%);
}

.visa-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.12);
}

.visa-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 44px;
  align-items: center;
}

.visa-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 14px;
  color: var(--visa-blue-dark);
  background: #ffffff;
  border: 1px solid var(--visa-border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.visa-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--visa-blue);
  border-radius: 50%;
}

.visa-hero h1 {
  margin: 0 0 22px;
  color: #0f172a;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  font-weight: 800;
}

.visa-lead {
  margin: 0 0 26px;
  color: #334155;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 600;
}

.visa-hero-points {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.visa-hero-points li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.visa-hero-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--visa-blue);
  font-weight: 900;
}

.visa-hero-buttons,
.visa-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.visa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.visa-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.visa-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 12px 26px rgba(2, 132, 199, 0.28);
}

.visa-btn-secondary {
  color: var(--visa-blue-dark);
  background: #fff;
  border: 1px solid #bae6fd;
}

.visa-btn-white {
  color: var(--visa-blue-dark);
  background: #fff;
}

.visa-hours {
  margin: 18px 0 0;
  color: var(--visa-muted);
  font-size: 14px;
}

.visa-hero-card {
  padding: 34px 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 28px;
  box-shadow: var(--visa-shadow);
  backdrop-filter: blur(10px);
  text-align: center;
}

.visa-card-label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  color: #fff;
  background: var(--visa-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.visa-card-tel {
  margin: 0 0 12px;
  color: var(--visa-blue-dark);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.01em;
}


/* =====================================================
   Common Section
===================================================== */

.visa-section {
  padding: 76px 0;
  background: #fff;
}

.visa-blue-bg {
  background:
    linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.visa-section-title {
  margin-bottom: 34px;
  text-align: center;
}

.visa-section-title p {
  margin: 0 0 8px;
  color: var(--visa-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visa-section-title h2 {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
  color: #0f172a;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  font-weight: 800;
}

.visa-section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: var(--visa-blue);
  transform: translateX(-50%);
}

.visa-left {
  text-align: left;
}

.visa-left h2::after {
  left: 0;
  transform: none;
}

.visa-section-lead {
  max-width: 860px;
  margin: -10px auto 34px;
  text-align: center;
  color: #475569;
  font-size: 16px;
}

.visa-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--visa-border);
  border-radius: 24px;
  box-shadow: var(--visa-shadow);
}


/* =====================================================
   Blog
===================================================== */

.visa-blog-section {
  padding: 46px 0 64px;
}

.visa-blog-box {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--visa-border);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(15, 82, 128, 0.08);
}

.visa-blog-box h2 {
  margin: 0 0 18px;
  color: var(--visa-blue-dark);
  font-size: 24px;
  text-align: center;
}

.visa-blog-list {
  margin-bottom: 18px;
}

.visa-text-link {
  color: var(--visa-blue-dark);
  font-weight: 800;
  text-underline-offset: 4px;
}


/* =====================================================
   Check list
===================================================== */

.visa-check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.visa-check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  background: var(--visa-blue-soft);
  border: 1px solid var(--visa-border);
  border-radius: 14px;
  font-weight: 700;
}

.visa-check-list li::before {
  content: "\2713";
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--visa-blue);
  font-weight: 900;
}


/* =====================================================
   Profile
===================================================== */

.visa-profile {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.visa-profile-photo {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--visa-border);
  border-radius: 24px;
  box-shadow: var(--visa-shadow);
  text-align: center;
}

.visa-profile-photo img {
  border-radius: 18px;
}

.visa-profile-photo p {
  margin: 12px 0 0;
  color: var(--visa-blue-dark);
  font-weight: 800;
}

.visa-profile-text {
  padding: 34px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--visa-border);
  border-radius: 24px;
}


/* =====================================================
   Promise
===================================================== */

.visa-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.visa-promise-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--visa-border);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(15, 82, 128, 0.08);
}

.visa-promise-card img {
  width: 100%;
  aspect-ratio: 4 / 2.5;
  object-fit: cover;
}

.visa-promise-card div {
  padding: 24px;
}

.visa-promise-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--visa-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.visa-promise-card h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 21px;
  line-height: 1.45;
}

.visa-promise-card p {
  margin: 0;
  color: #475569;
}


/* =====================================================
   CTA
===================================================== */

.visa-cta {
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #0284c7 0%, #075985 100%);
  text-align: center;
}

.visa-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
}

.visa-cta p {
  max-width: 820px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.92);
}

.visa-cta-buttons {
  justify-content: center;
}


/* =====================================================
   Voice
===================================================== */

.visa-voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.visa-voice-card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--visa-border);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 82, 128, 0.07);
}

.visa-voice-card::before {
  content: "“";
  position: absolute;
  right: 22px;
  top: 8px;
  color: rgba(2, 132, 199, 0.16);
  font-size: 70px;
  line-height: 1;
  font-family: serif;
}

.visa-voice-card p {
  position: relative;
  margin: 0 0 16px;
}

.visa-voice-card strong {
  display: block;
  color: var(--visa-blue-dark);
  font-size: 14px;
}


/* =====================================================
   Office
===================================================== */

.visa-office-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--visa-border);
  border-radius: 24px;
  box-shadow: var(--visa-shadow);
}

.visa-office-list {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--visa-border);
}

.visa-office-list dt,
.visa-office-list dd {
  margin: 0;
  padding: 17px 18px;
  border-bottom: 1px solid var(--visa-border);
}

.visa-office-list dt {
  color: var(--visa-blue-dark);
  background: var(--visa-blue-soft);
  font-weight: 800;
}

.visa-office-list dd {
  background: #fff;
}


/* =====================================================
   Price
===================================================== */

.visa-subtitle {
  margin: 42px 0 18px;
  padding-left: 16px;
  color: #0f172a;
  border-left: 5px solid var(--visa-blue);
  font-size: 24px;
  line-height: 1.4;
}

.visa-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
  border: 1px solid var(--visa-border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 82, 128, 0.06);
}

.visa-price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.visa-price-table th,
.visa-price-table td {
  padding: 15px 16px;
  border: 1px solid var(--visa-border);
  text-align: left;
  vertical-align: middle;
}

.visa-price-table th {
  color: #fff;
  background: var(--visa-blue);
  font-weight: 800;
}

.visa-price-table tr:nth-child(even) td {
  background: #f8fbff;
}

.visa-price-table small {
  color: var(--visa-muted);
}

.visa-price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.visa-price-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--visa-border);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 82, 128, 0.06);
}

.visa-price-card h4 {
  margin: 0 0 12px;
  color: var(--visa-blue-dark);
  font-size: 21px;
}

.visa-price-card p {
  margin: 0 0 12px;
}

.visa-price-note {
  color: var(--visa-muted);
  font-size: 14px;
}

.visa-price-main {
  color: var(--visa-blue-dark);
  font-size: 22px;
  font-weight: 900;
}


/* =====================================================
   Last section
===================================================== */

.visa-last-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.visa-final-box {
  padding: 42px;
  background: #fff;
  border: 1px solid var(--visa-border);
  border-radius: 28px;
  box-shadow: var(--visa-shadow);
  text-align: center;
}

.visa-final-box h2 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
}

.visa-final-box p {
  max-width: 820px;
  margin: 0 auto 24px;
}

.visa-manga img {
  max-width: 520px;
  border-radius: 16px;
  border: 1px solid var(--visa-border);
}

.visa-final-contact {
  max-width: 560px;
  margin: 30px auto 0;
  padding: 24px;
  background: var(--visa-blue-soft);
  border: 1px solid var(--visa-border);
  border-radius: 20px;
}

.visa-final-contact p {
  margin: 0 0 8px;
  color: var(--visa-blue-dark);
  font-weight: 800;
}

.visa-final-contact a {
  display: block;
  margin-bottom: 8px;
  color: var(--visa-blue-dark);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  text-decoration: none;
}

.visa-final-contact span {
  color: var(--visa-muted);
  font-size: 14px;
}


/* =====================================================
   Footer info
===================================================== */

.visa-footer-info {
  padding: 34px 0;
  color: #fff;
  background: #075985;
  text-align: center;
}

.visa-footer-info p {
  margin: 0;
}


/* =====================================================
   Responsive
===================================================== */

@media (max-width: 900px) {
  .visa-container {
    width: min(100% - 28px, 1120px);
  }

  .visa-hero {
    padding: 56px 0;
  }

  .visa-hero-inner,
  .visa-profile {
    grid-template-columns: 1fr;
  }

  .visa-hero-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .visa-promise-grid,
  .visa-price-cards {
    grid-template-columns: 1fr;
  }

  .visa-voice-grid {
    grid-template-columns: 1fr;
  }

  .visa-profile-photo {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .visa-section {
    padding: 54px 0;
  }

  .visa-hero h1 {
    font-size: 34px;
  }

  .visa-lead {
    font-size: 17px;
  }

  .visa-card,
  .visa-profile-text,
  .visa-office-card,
  .visa-final-box {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .visa-hero-buttons,
  .visa-cta-buttons {
    display: grid;
  }

  .visa-btn {
    width: 100%;
  }

  .visa-office-list {
    grid-template-columns: 1fr;
  }

  .visa-office-list dt {
    border-bottom: none;
  }

  .visa-office-list dd {
    padding-top: 8px;
  }

  .visa-price-table {
    min-width: 660px;
    font-size: 14px;
  }

  .visa-manga img {
    max-width: 100%;
  }

  .visa-final-contact a {
    font-size: 32px;
  }
}


/* =====================================================
   visamaru.com お問い合わせページ
   爽やかな青ベース
===================================================== */

.visa-contact-page {
  --vc-blue: #0284c7;
  --vc-blue-dark: #075985;
  --vc-blue-light: #e0f2fe;
  --vc-blue-soft: #f0f9ff;
  --vc-text: #1f2937;
  --vc-muted: #64748b;
  --vc-border: #dbeafe;
  --vc-white: #ffffff;
  --vc-shadow: 0 18px 45px rgba(15, 82, 128, 0.10);

  max-width: 880px;
  margin: 0 auto;
  padding: 54px 20px 72px;
  color: var(--vc-text);
  line-height: 1.9;
  font-size: 16px;
}

.visa-contact-page > p:first-child,
.visa-contact-page > br:first-child + p {
  margin-top: 0;
}

.visa-contact-page a {
  color: var(--vc-blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.visa-contact-page a[href^="tel:"] {
  display: inline-block;
  margin: 0 4px;
  color: #fff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  padding: 3px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}


/* =====================================================
   上部案内文
===================================================== */

.visa-contact-page::before {
  content: "Contact";
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 14px;
  color: var(--vc-blue-dark);
  background: var(--vc-blue-soft);
  border: 1px solid var(--vc-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.visa-contact-page > p:first-of-type {
  margin: 0 0 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid var(--vc-border);
  border-left: 6px solid var(--vc-blue);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 82, 128, 0.06);
  font-weight: 700;
}


/* =====================================================
   Contact Form 7 フォーム全体
===================================================== */

.visa-contact-page .wpcf7 {
  margin: 0 0 58px;
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--vc-border);
  border-radius: 24px;
  box-shadow: var(--vc-shadow);
}

.visa-contact-page .wpcf7 form {
  margin: 0;
}

.visa-contact-page .wpcf7 p {
  margin: 0 0 22px;
}

.visa-contact-page .wpcf7 p:last-child {
  margin-bottom: 0;
}

.visa-contact-page .wpcf7 label {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-weight: 800;
}

.visa-contact-page .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}

.visa-contact-page .wpcf7 input[type="text"],
.visa-contact-page .wpcf7 input[type="email"],
.visa-contact-page .wpcf7 input[type="tel"],
.visa-contact-page .wpcf7 input[type="url"],
.visa-contact-page .wpcf7 input[type="date"],
.visa-contact-page .wpcf7 input[type="number"],
.visa-contact-page .wpcf7 select,
.visa-contact-page .wpcf7 textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--vc-text);
  background: #ffffff;
  border: 1px solid #cfe3f5;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 16px;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.visa-contact-page .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.visa-contact-page .wpcf7 select {
  appearance: auto;
  background-color: #fff;
}

.visa-contact-page .wpcf7 input:focus,
.visa-contact-page .wpcf7 select:focus,
.visa-contact-page .wpcf7 textarea:focus {
  border-color: var(--vc-blue);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.14);
  background: #fbfdff;
}


/* =====================================================
   チェックボックス・ラジオ
===================================================== */

.visa-contact-page .wpcf7-checkbox,
.visa-contact-page .wpcf7-radio {
  display: grid;
  gap: 8px 14px;
  margin-top: 10px;
}

.visa-contact-page .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 18px 8px 0;
  line-height: 1.6;
}

.visa-contact-page .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-weight: 600;
}

.visa-contact-page .wpcf7-list-item input[type="checkbox"],
.visa-contact-page .wpcf7-list-item input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0 7px 0 0;
  accent-color: var(--vc-blue);
}


/* =====================================================
   必須・補足・エラー
===================================================== */

.visa-contact-page .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 700;
}

.visa-contact-page .wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.visa-contact-page .wpcf7 form.invalid .wpcf7-response-output,
.visa-contact-page .wpcf7 form.unaccepted .wpcf7-response-output {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.visa-contact-page .wpcf7 form.sent .wpcf7-response-output {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}


/* =====================================================
   送信ボタン
===================================================== */

.visa-contact-page .wpcf7 input[type="submit"],
.visa-contact-page .wpcf7 button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 50px;
  padding: 13px 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(2, 132, 199, 0.28);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.visa-contact-page .wpcf7 input[type="submit"]:hover,
.visa-contact-page .wpcf7 button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.34);
  opacity: 0.94;
}

.visa-contact-page .wpcf7-spinner {
  vertical-align: middle;
}


/* =====================================================
   個人情報保護方針・アクセス解析
===================================================== */

.visa-contact-page h2.standard01,
.visa-contact-page h3.standard01 {
  position: relative;
  margin: 52px 0 22px;
  padding: 0 0 16px;
  color: #0f172a;
  border: none;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  font-weight: 900;
}

.visa-contact-page h2.standard01::after,
.visa-contact-page h3.standard01::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 4px;
  background: var(--vc-blue);
  border-radius: 999px;
}

.visa-contact-page .waku1,
.visa-contact-page #kojin {
  margin: 0 0 34px;
  padding: 32px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--vc-border);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(15, 82, 128, 0.06);
}

.visa-contact-page .waku1 p,
.visa-contact-page #kojin p {
  margin-top: 0;
}

.visa-contact-page #kojin {
  white-space: pre-line;
}

.visa-contact-page .right {
  text-align: right;
  color: var(--vc-muted);
  font-size: 14px;
}


/* =====================================================
   Contact Form 7 の項目見出し調整
   ◆が付いている現在フォーム用
===================================================== */

.visa-contact-page .wpcf7 form p {
  color: var(--vc-text);
}

.visa-contact-page .wpcf7 form p strong,
.visa-contact-page .wpcf7 form p b {
  color: var(--vc-blue-dark);
}

.visa-contact-page .wpcf7 input::placeholder,
.visa-contact-page .wpcf7 textarea::placeholder {
  color: #94a3b8;
}


/* =====================================================
   スマホ対応
===================================================== */

@media (max-width: 768px) {
  .visa-contact-page {
    padding: 38px 14px 56px;
    font-size: 15px;
  }

  .visa-contact-page > p:first-of-type {
    padding: 20px;
  }

  .visa-contact-page .wpcf7 {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .visa-contact-page .wpcf7 input[type="text"],
  .visa-contact-page .wpcf7 input[type="email"],
  .visa-contact-page .wpcf7 input[type="tel"],
  .visa-contact-page .wpcf7 input[type="url"],
  .visa-contact-page .wpcf7 input[type="date"],
  .visa-contact-page .wpcf7 input[type="number"],
  .visa-contact-page .wpcf7 select,
  .visa-contact-page .wpcf7 textarea {
    font-size: 16px;
  }

  .visa-contact-page .wpcf7 input[type="submit"],
  .visa-contact-page .wpcf7 button[type="submit"] {
    width: 100%;
  }

  .visa-contact-page .waku1,
  .visa-contact-page #kojin {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .visa-contact-page .wpcf7-list-item {
    display: flex;
    width: 100%;
    margin-right: 0;
  }
}

/* =====================================================
   visamaru.com contact page
   爽やかな青のお問い合わせ・個人情報保護方針
===================================================== */

.visa-contact-renew {
  --vcr-blue: #0284c7;
  --vcr-blue-dark: #075985;
  --vcr-blue-deep: #0f3f68;
  --vcr-blue-soft: #f0f9ff;
  --vcr-blue-light: #e0f2fe;
  --vcr-border: #dbeafe;
  --vcr-text: #1f2937;
  --vcr-muted: #64748b;
  --vcr-white: #ffffff;
  --vcr-shadow: 0 18px 45px rgba(15, 82, 128, 0.10);

  max-width: 920px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  color: var(--vcr-text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  font-size: 16px;
}

.visa-contact-renew *,
.visa-contact-renew *::before,
.visa-contact-renew *::after {
  box-sizing: border-box;
}

.visa-contact-renew a {
  color: var(--vcr-blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.visa-contact-renew a:hover {
  color: var(--vcr-blue);
}


/* =====================================================
   上部案内
===================================================== */

.visa-contact-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  padding: 38px 40px;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.20), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid var(--vcr-border);
  border-radius: 26px;
  box-shadow: var(--vcr-shadow);
}

.visa-contact-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  background: rgba(2, 132, 199, 0.10);
  border-radius: 50%;
}

.visa-contact-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  color: var(--vcr-blue-dark);
  background: #ffffff;
  border: 1px solid var(--vcr-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  z-index: 1;
}

.visa-contact-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--vcr-blue);
  border-radius: 50%;
}

.visa-contact-hero h1 {
  position: relative;
  margin: 0 0 16px;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
  font-weight: 900;
  z-index: 1;
}

.visa-contact-hero p:last-child {
  position: relative;
  max-width: 760px;
  margin: 0;
  color: #334155;
  font-size: 17px;
  font-weight: 700;
  z-index: 1;
}

.visa-contact-hero a[href^="tel:"] {
  display: inline-block;
  margin: 0 4px;
  padding: 3px 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}


/* =====================================================
   フォーム
===================================================== */

.visa-contact-form-section {
  margin-bottom: 64px;
}

.visa-contact-form-card {
  padding: 36px;
  background: #ffffff;
  border: 1px solid var(--vcr-border);
  border-radius: 26px;
  box-shadow: var(--vcr-shadow);
}

.visa-contact-form-card h2 {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 15px;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  font-weight: 900;
}

.visa-contact-form-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  background: var(--vcr-blue);
  border-radius: 999px;
}

.visa-contact-form-lead {
  margin: 0 0 26px;
  color: var(--vcr-muted);
}


/* =====================================================
   Contact Form 7
===================================================== */

.visa-contact-renew .wpcf7 {
  margin: 0;
}

.visa-contact-renew .wpcf7 form {
  margin: 0;
}

.visa-contact-renew .wpcf7 p {
  margin: 0 0 22px;
}

.visa-contact-renew .wpcf7 p:last-child {
  margin-bottom: 0;
}

.visa-contact-renew .wpcf7 label {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-weight: 800;
}

.visa-contact-renew .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 7px;
}

.visa-contact-renew .wpcf7 input[type="text"],
.visa-contact-renew .wpcf7 input[type="email"],
.visa-contact-renew .wpcf7 input[type="tel"],
.visa-contact-renew .wpcf7 input[type="url"],
.visa-contact-renew .wpcf7 input[type="date"],
.visa-contact-renew .wpcf7 input[type="number"],
.visa-contact-renew .wpcf7 select,
.visa-contact-renew .wpcf7 textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--vcr-text);
  background: #ffffff;
  border: 1px solid #cfe3f5;
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 16px;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.visa-contact-renew .wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.visa-contact-renew .wpcf7 input:focus,
.visa-contact-renew .wpcf7 select:focus,
.visa-contact-renew .wpcf7 textarea:focus {
  border-color: var(--vcr-blue);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.14);
  background: #fbfdff;
}

.visa-contact-renew .wpcf7 input::placeholder,
.visa-contact-renew .wpcf7 textarea::placeholder {
  color: #94a3b8;
}


/* チェックボックス・ラジオ */
.visa-contact-renew .wpcf7-checkbox,
.visa-contact-renew .wpcf7-radio {
  display: grid;
  gap: 8px 14px;
  margin-top: 10px;
}

.visa-contact-renew .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 18px 8px 0;
  line-height: 1.6;
}

.visa-contact-renew .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-weight: 600;
}

.visa-contact-renew .wpcf7-list-item input[type="checkbox"],
.visa-contact-renew .wpcf7-list-item input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0 7px 0 0;
  accent-color: var(--vcr-blue);
}


/* 送信ボタン */
.visa-contact-renew .wpcf7 input[type="submit"],
.visa-contact-renew .wpcf7 button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 52px;
  padding: 13px 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #075985 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(2, 132, 199, 0.28);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.visa-contact-renew .wpcf7 input[type="submit"]:hover,
.visa-contact-renew .wpcf7 button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.34);
  opacity: 0.94;
}


/* エラー・送信完了 */
.visa-contact-renew .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 700;
}

.visa-contact-renew .wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.visa-contact-renew .wpcf7 form.invalid .wpcf7-response-output,
.visa-contact-renew .wpcf7 form.unaccepted .wpcf7-response-output {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.visa-contact-renew .wpcf7 form.sent .wpcf7-response-output {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}


/* =====================================================
   個人情報保護方針
===================================================== */

.visa-policy-section {
  margin-top: 58px;
}

.visa-section-title {
  margin-bottom: 24px;
  text-align: center;
}

.visa-section-title p {
  margin: 0 0 8px;
  color: var(--vcr-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visa-section-title h2 {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  font-weight: 900;
}

.visa-section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 76px;
  height: 4px;
  background: var(--vcr-blue);
  border-radius: 999px;
  transform: translateX(-50%);
}

.visa-policy-card {
  padding: 34px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--vcr-border);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(15, 82, 128, 0.08);
}

.visa-policy-card p {
  margin: 0 0 18px;
}

.visa-policy-card p:last-child {
  margin-bottom: 0;
}

.visa-policy-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  counter-reset: policy-counter;
}

.visa-policy-list > li {
  position: relative;
  padding: 18px 20px 18px 58px;
  background: var(--vcr-blue-soft);
  border: 1px solid var(--vcr-border);
  border-radius: 16px;
  counter-increment: policy-counter;
}

.visa-policy-list > li::before {
  content: counter(policy-counter);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  background: var(--vcr-blue);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.visa-policy-list ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
}

.visa-policy-list ul li {
  margin-bottom: 6px;
}

.visa-policy-date {
  text-align: right;
  color: var(--vcr-muted);
  font-size: 14px;
}


/* =====================================================
   スマホ対応
===================================================== */

@media (max-width: 768px) {
  .visa-contact-renew {
    padding: 38px 14px 60px;
    font-size: 15px;
  }

  .visa-contact-hero {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .visa-contact-hero p:last-child {
    font-size: 16px;
  }

  .visa-contact-form-card,
  .visa-policy-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .visa-contact-renew .wpcf7 input[type="text"],
  .visa-contact-renew .wpcf7 input[type="email"],
  .visa-contact-renew .wpcf7 input[type="tel"],
  .visa-contact-renew .wpcf7 input[type="url"],
  .visa-contact-renew .wpcf7 input[type="date"],
  .visa-contact-renew .wpcf7 input[type="number"],
  .visa-contact-renew .wpcf7 select,
  .visa-contact-renew .wpcf7 textarea {
    font-size: 16px;
  }

  .visa-contact-renew .wpcf7 input[type="submit"],
  .visa-contact-renew .wpcf7 button[type="submit"] {
    width: 100%;
  }

  .visa-contact-renew .wpcf7-list-item {
    display: flex;
    width: 100%;
    margin-right: 0;
  }

  .visa-policy-list > li {
    padding: 58px 16px 18px;
  }

  .visa-policy-list > li::before {
    left: 16px;
    top: 18px;
  }
}