/*
Theme Name: Shoho Corporate
Theme URI:
Author: 株式会社祥豊商事
Description: 株式会社祥豊商事のオリジナルテーマ
Version: 1.0.0
Text Domain: shoho
*/
/* ==========================
   Reset / Base
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Yu Gothic", sans-serif;
}

body {
  line-height: 1.7;
  color: #222;
}

/* ==========================
   Header
========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  background: rgba(255, 255, 255, 0.96);
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

header.scrolled {
  height: 66px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
  transition: 0.3s;
}

header.scrolled .logo img {
  height: 36px;
}

header ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 14px;
}

header a {
  color: #0b1f3a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s;
}

header a:hover {
  color: #0B3D91;
}

/* ハンバーガーボタン：PCでは非表示 */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #0B1F3A;
  transition: 0.3s;
}

/* ==========================
   Hero
========================== */
.hero {
  min-height: 600px;
  background:
    linear-gradient(rgba(0, 0, 50, 0.6), rgba(0, 0, 50, 0.6)),
    url("../images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
}

/* ==========================
   Common Section / Title
========================== */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 100px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #0b1f3a;
  font-size: 28px;
  letter-spacing: 1px;
}

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

.section-title span {
  color: #0B3D91;
  letter-spacing: 4px;
  font-size: 14px;
  font-weight: bold;
}

.section-title h2 {
  font-size: 38px;
  margin-top: 10px;
  color: #222;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #D4AF37;
  margin: 18px auto 0;
}

.center {
  text-align: center;
  margin-top: 50px;
}

/* ==========================
   Button
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 38px;
  background: #0B3D91;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  border: 2px solid #0B3D91;
}

.btn:hover {
  background: #fff;
  color: #0B3D91;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.2);
}

/* ==========================
   Card / Grid
========================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #E5E7EB;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 18px;
  color: #0B3D91;
  font-weight: 700;
}

.card p {
  color: #333;
  line-height: 2;
  font-size: 16px;
}

.icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 42px;
  color: #0B3D91;
  background: #F3F7FC;
  border-radius: 50%;
  transition: 0.3s;
}

.card:hover .icon {
  background: #0B3D91;
  color: #fff;
  transform: rotateY(180deg);
}

/* ==========================
   Page Title
========================== */
.page-title {
  height: 320px;
  margin-top: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(11, 31, 58, 0.72), rgba(11, 31, 58, 0.72)),
    url("../images/page-header.jpg") center 65%/cover no-repeat;
}

.page-title span {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 15px;
  opacity: 0.9;
}

.page-title h1 {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-title h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #D4AF37;
  margin: 18px auto 0;
}

/* ==========================
   Message
========================== */
.message {
  background: #fff;
  padding: 100px 20px;
}

.message .container {
  max-width: 900px;
  margin: auto;
}

.message h3 {
  text-align: center;
  font-size: 34px;
  color: #0B3D91;
  margin: 50px 0;
}

.message-body {
  max-width: 850px;
  margin: 0 auto;
}

.message-body p {
  font-size: 18px;
  line-height: 2.3;
  color: #444;
  margin-bottom: 28px;
}

.message-sign {
  max-width: 850px;
  margin: 70px auto 0;
  text-align: right;
}

.company {
  margin-bottom: 6px;
}

.position-name {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 18px;
}

.name {
  font-size: 24px;
  font-weight: 700;
}

.kana {
  padding-left: 110px;
  font-size: 14px;
  color: #777;
}

/* ==========================
   About
========================== */
.about-wrap {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image,
.about-text {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-text h3 {
  font-size: 32px;
  color: #0B3D91;
  margin-bottom: 30px;
}

.about-text p {
  color: #444;
  font-size: 17px;
  line-height: 2.1;
}

/* ==========================
   Business
========================== */
.business-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 100px;
}

/* 上段 */
.business-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 0 auto;
}

.business-item.reverse {
  flex-direction: row-reverse;
}

.business-image,
.business-text {
  flex: 1;
  min-width: 0;
}

.business-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.business-text h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #0b3d91;
  font-size: 30px;
  margin-bottom: 28px;
}

.business-text p {
  color: #444;
  font-size: 17px;
  line-height: 2;
  margin-bottom: 28px;
}

/* タグ */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-tags span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid #dce6f2;
  border-radius: 999px;
  background: #f3f7fc;
  color: #0b3d91;
  font-size: 14px;
  font-weight: 600;
}

.product-tags i {
  color: #d4af37;
}

/* 下段ギャラリー */
.product-gallery-area {
  margin-top: 70px;
}

.gallery-title {
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid #d4af37;
  color: #0b3d91;
  font-size: 24px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gallery-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, .07);
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .12);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  padding: 16px 12px;
  text-align: center;
  color: #0b3d91;
  font-size: 17px;
  font-weight: 700;
}

/* ==========================
   Company / Info Table
========================== */
.info-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
}

.info-table th,
.info-table td {
  padding: 22px 24px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 16px;
}

.info-table th {
  width: 220px;
  color: #0B3D91;
  background: #f8fafc;
  font-weight: 700;
}

.info-table td {
  color: #333;
}

/* ==========================
   Page Hero
========================== */
.page-hero {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 8px;
}

.page-hero img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  display: block;
}

/* ==========================
   Contact
========================== */
.contact {
  background:
    linear-gradient(rgba(11, 31, 58, 0.82), rgba(11, 31, 58, 0.82)),
    url("../images/contact-bg.jpg") center center/cover no-repeat;
  color: #fff;
  padding: 55px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.contact p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.contact .btn {
  background: #fff;
  color: #0B3D91;
  border-color: #fff;
  margin-top: 10px;
}

.contact .btn:hover {
  background: transparent;
  color: #fff;
}

.contact-form {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  background: #FAFBFD;
  color: #222;
  border: 1px solid #CFD8E3;
  border-radius: 7px;
  font: inherit;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

/* ==========================
   Map
========================== */
.map-area {
  margin-top: 80px;
}

.office {
  margin-bottom: 60px;
}

.office h3 {
  color: #0B3D91;
  margin-bottom: 15px;
}

.office iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* ==========================
   Contact Page
========================== */
.contact-page {
  max-width: 900px;
}

.contact-header {
  margin-bottom: 60px;
  text-align: center;
}

.contact-header h2 {
  margin-bottom: 20px;
  color: #0B3D91;
  font-size: 34px;
}

.contact-header > p {
  margin-bottom: 45px;
  color: #555;
  line-height: 2;
}

/* 電話番号・営業時間 */
.contact-info-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: #F7F9FC;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.info-item i {
  flex: 0 0 auto;
  color: #D4AF37;
  font-size: 34px;
}

.info-item h4 {
  margin-bottom: 8px;
  color: #0B3D91;
}

.info-item p {
  font-size: 18px;
  font-weight: 600;
}

.info-item small {
  color: #777;
}

/* フォーム */
.contact-form h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #0B3D91;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-form h3 i {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-form p {
  margin: 0;
}

.contact-form br {
  display: none;
}

.contact-form .form-group {
  margin-bottom: 24px;
}


.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 0;
  color: #333;
  font-size: 15px;
  font-weight: 600;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #D32F2F;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #0B3D91;
  box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.12);
}

/* 個人情報 */
.privacy-policy {
  margin-top: 36px;
  padding: 28px;
  background: #F7F9FC;
  border: 1px solid #DCE6F2;
  border-radius: 10px;
}

.privacy-policy h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #0B3D91;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.privacy-policy h4 i {
    font-size: 20px;
    color: #D4AF37;
    flex-shrink: 0;
}

.privacy-policy p {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.9;
}

.privacy-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: #0B3D91;
}

.privacy-check span {
  display: inline-block;
}

.submit {
  margin-top: 35px;
  text-align: center;
}

.privacy-check .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: #d32f2f;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.privacy-check:has(.wpcf7-not-valid-tip) {
  padding: 12px;
  border: 1px solid #d32f2f;
  border-radius: 8px;
}

/* ==========================
   Text Readability
========================== */
body {
  color: #222;
}

/* HOME / 会社概要 / 事業内容 */
.about-text p,
.card p,
.business-text p,
.message-body p {
  color: #333;
}

.about-text p,
.business-text p {
  font-size: 17px;
  line-height: 2;
}

.card p {
  font-size: 16px;
  line-height: 1.9;
}

/* 会社概要テーブル */
.info-table th {
  color: #0B3D91;
  font-weight: 700;
}

.info-table td {
  color: #222;
  font-weight: 500;
}

/* お問い合わせ */
.contact-header > p,
.privacy-policy p {
  color: #333;
}

.contact-header > p {
  font-size: 16px;
  line-height: 1.9;
}

.privacy-policy p {
  font-size: 15px;
  line-height: 1.9;
}

.info-item p {
  color: #222;
}

.info-item small {
  color: #555;
}

/* ==========================
   Footer
========================== */
footer {
  background: #0B1F3A;
  color: #fff;
  padding: 35px 20px 18px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.8;
}

.footer-contact i {
  width: 20px;
  color: #D4AF37;
  text-align: center;
}

.footer-contact a {
  color: #d1d5db;
  text-decoration: none;
  transition: 0.3s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #d1d5db;
  text-decoration: none;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #fff;
  padding-left: 6px;
}

.copy {
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================
   Top Button / Animation
========================== */
#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1e90ff;
  color: #fff;
  padding: 12px 15px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
}

#topBtn.show {
  opacity: 1;
  visibility: visible;
}

.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   Thanks Page
========================== */

.thanks-page {
  min-height: calc(100vh - 76px);
  padding: 140px 20px 100px;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-box {
  width: 100%;
  max-width: 760px;
  padding: 60px 50px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b3d91;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
}

.thanks-box h1 {
  margin-bottom: 30px;
  color: #0b1f3a;
  font-size: 34px;
  line-height: 1.5;
}

.thanks-message {
  margin-bottom: 36px;
}

.thanks-message p {
  margin-bottom: 8px;
  color: #333;
  font-size: 17px;
  line-height: 1.9;
}

.thanks-box .btn {
  min-width: 240px;
}


/* ==========================
   Responsive
========================== */
@media (max-width: 768px) {
  header {
    height: 70px;
    padding: 0 18px;
  }

  header.scrolled {
    height: 64px;
  }

  .logo img {
    height: 36px;
  }

  header.scrolled .logo img {
    height: 32px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1101;
  }

  .global-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: 0.3s;
  }

  header.scrolled .global-nav {
    top: 64px;
  }

  .global-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  header ul {
    display: block;
    padding: 10px 20px 18px;
  }

  header ul li {
    border-bottom: 1px solid #e5e7eb;
  }

  header ul li:last-child {
    border-bottom: 0;
  }

  header a {
    display: block;
    padding: 14px 6px;
    font-size: 15px;
  }

  /* 開いたときの×印 */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 480px;
  }

  .page-title {
    height: 240px;
    margin-top: 70px;
  }

  .page-title h1 {
    font-size: 34px;
  }

  .section {
    padding: 80px 20px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .message {
    padding: 80px 20px;
  }

  .message h3 {
    font-size: 28px;
  }

  .message-body p {
    font-size: 16px;
  }

  .position-name {
    justify-content: flex-end;
    gap: 12px;
  }

  .name {
    font-size: 22px;
  }

  .kana {
    padding-left: 0;
  }

  .about-wrap,
  .business-item,
  .business-item.reverse {
    flex-direction: column;
  }

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

  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-image img {
    height: 260px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    padding: 14px 16px;
  }

  .info-table th {
    border-bottom: none;
  }

  .contact-info-box,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .thanks-page {
    min-height: calc(100vh - 70px);
    padding: 110px 20px 70px;
  }

  .thanks-box {
    padding: 40px 24px;
  }

  .thanks-box h1 {
    font-size: 27px;
  }

  .thanks-message p {
    font-size: 16px;
  }

  .thanks-box .btn {
    width: 100%;
    min-width: 0;
  }
  .office iframe{
    width:100%;
    height:380px;
    border:0;
    border-radius:10px;
}
}

/* ==========================
   Contact Form 7 Fixes
   最新調整
========================== */

/* Contact Form 7全体の横幅 */
.contact-form-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.contact-form-wrap .wpcf7 {
  width: 100%;
}

/* Contact Form 7が追加するラッパー */
.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 8px;
}

/* バリデーションメッセージ */
.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  color: #d32f2f;
  font-size: 13px;
  line-height: 1.6;
}

/* 個人情報同意欄 */
.privacy-check {
  display: block;
  margin-top: 22px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.privacy-check .wpcf7-form-control-wrap,
.privacy-check .wpcf7-acceptance,
.privacy-check .wpcf7-list-item {
  display: inline-block;
  width: auto;
  margin: 0;
}

.privacy-check .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.privacy-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: #0b3d91;
}

/* 送信ボタン */
.contact-form .submit {
  margin-top: 35px;
  text-align: center;
}

.contact-form .submit input[type="submit"],
.contact-form input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 240px;
  padding: 15px 38px;
  background: #0b3d91;
  color: #fff;
  border: 2px solid #0b3d91;
  border-radius: 50px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form .submit input[type="submit"]:hover,
.contact-form input.wpcf7-submit:hover {
  background: #fff;
  color: #0b3d91;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.2);
}

/* 送信中のスピナー */
.contact-form .wpcf7-spinner {
  display: block;
  margin: 14px auto 0;
}

/* 送信結果メッセージ */
.contact-form .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 14px 18px;
  border-radius: 7px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .contact-form-wrap {
    max-width: 100%;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .privacy-policy {
    padding: 22px 18px;
  }

  .privacy-check .wpcf7-list-item label {
    align-items: flex-start;
    text-align: left;
  }

  .contact-form .submit input[type="submit"],
  .contact-form input.wpcf7-submit {
    width: 100%;
    min-width: 0;
  }
}
