@charset "UTF-8";
/* ==================================================
   common.css - 共通スタイルシート【整理・統合版】
   ================================================== */

/* --- 共通リセット設定 --- */
html {
  background-color: #050f1e !important;
  margin-top: 0 !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  color: #fff;
  background-color: #000;
}

/* =========================================
   共通ヘッダー
   ========================================= */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important;
  padding: 40px 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8) 0%,
    transparent 100%
  );
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo a {
  text-decoration: none;
  color: #ff991c;
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.13em;
}
.logo-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  margin-top: -2px;
}

.header-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.header-nav a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: 0.3s;
}
.header-nav a:hover {
  color: #c19b4b;
}

/* 特集ページリンクの強調 */
.header-nav a.nav-pickup,
.full-menu-list a.nav-pickup {
    color: #c19b4b !important;
    position: relative;
}
.header-nav a.nav-pickup:hover {
    text-shadow: 0 0 10px rgba(193, 155, 75, 0.6);
    opacity: 1;
}

/* ハンバーガーメニュー */
.menu-trigger {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10000;
}
.menu-trigger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
.menu-trigger.is-active span:nth-of-type(1) {
  transform: translateY(10px) rotate(-45deg);
}
.menu-trigger.is-active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.is-active span:nth-of-type(3) {
  transform: translateY(-10px) rotate(45deg);
}

.full-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9998;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.full-menu.is-active {
  visibility: visible;
  opacity: 1;
}
.full-menu-list {
  list-style: none;
  text-align: center;
}
.full-menu-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 15px 0;
  transition: 0.3s;
}
.full-menu-list a:hover {
  color: #c19b4b;
}
.full-menu-list a.nav-pickup {
    font-size: 1.4rem;
}

@media (max-width: 768px) {
  .site-header {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.6);
  }
  .header-container {
    max-width: 100%;
  }
  .header-nav {
    display: none !important;
  }
  .menu-trigger {
    display: flex !important;
  }
  .logo-main {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
  }
}

/* =========================================
   共通フッター
   ========================================= */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  text-align: left;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}
.footer-brand {
  flex: 1.5;
}

.footer-logo .logo-main {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff991c;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1px;
  font-family: "Montserrat", sans-serif;
}

.footer-logo .logo-sub {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff991c;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
}

.footer-description {
  color: #999;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.footer-title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 7px;
  font-family: "Montserrat", sans-serif;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 2px;
  background: #c19b4b;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-links a {
  color: #bbb !important;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: #c19b4b !important;
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
  text-align: center;
}
.copyright {
  color: #666;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* 下層ページ用フッター設定 */
body:not(.home) .site-footer {
  position: relative;
  background: #131313;
  padding: 40px 0 10px;
  margin-top: 100px;
  border-top: 1px solid rgba(193, 155, 75, 0.3);
  text-align: left;
  width: 100%;
}
body:not(.home) .site-footer .footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
  .site-footer {
    text-align: left;
    padding-bottom: 80px;
  }
  body:not(.home) .site-footer {
    padding-bottom: 80px !important;
  }
  body:not(.home) .site-footer .footer-container {
    flex-direction: column;
  }
  body:not(.home) .site-footer .footer-column {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* =========================================
   スマホ専用：フローティングナビゲーション
   ========================================= */
.mobile-floating-nav {
  display: none;
}
@media (max-width: 768px) {
  .mobile-floating-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(19, 19, 19, 0.95);
    backdrop-filter: blur(10px);
    z-index: 99999;
    border-top: 1px solid rgba(193, 155, 75, 0.3);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  }
  .mobile-floating-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #aaa;
    font-size: 0.65rem;
    transition: 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }
  .mobile-floating-nav .nav-item:last-child {
    border-right: none;
  }
  .mobile-floating-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: #fff;
  }
  .mobile-floating-nav .nav-item:active,
  .mobile-floating-nav .nav-item:hover {
    background: rgba(193, 155, 75, 0.1);
    color: #c19b4b;
  }
  .mobile-floating-nav .nav-item:active i,
  .mobile-floating-nav .nav-item:hover i {
    color: #c19b4b;
  }
  .mobile-floating-nav .nav-item.accent {
    background: #c19b4b;
    color: #fff !important;
  }
  .mobile-floating-nav .nav-item.accent i {
    color: #fff !important;
  }
}

/* =========================================
   下層ページ (page.php 等) のスタイル
   ========================================= */
.page-main {
  padding-top: 80px;
  min-height: 80vh;
  background-color: #000;
}
.page-header {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  overflow: hidden;
  margin-bottom: 60px;
}
.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.page-header-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
  text-shadow:
    2px 2px 0px #000000,
    0 0 20px rgba(0, 0, 0, 0.8);
}
.page-title-en {
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.9;
  display: block;
}
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 100px;
}
.page-content-wrapper {
  background: #131313;
  padding: 60px;
  border-radius: 12px;
  border: 1px solid #222;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .page-header {
    height: 180px;
  }
  .page-title {
    font-size: 1.5rem;
  }
  .page-title-en {
    font-size: 1rem;
  }
  .page-content-wrapper {
    padding: 30px 15px;
  }
}

/* =========================================
   セクション見出しスタイル
   ========================================= */
.section-title {
  font-size: 1.5rem;
  color: #c19b4b;
  margin-bottom: 35px;
  border-left: 4px solid #c19b4b;
  padding-left: 15px;
  line-height: 1.4;
}
.section-title .en {
  font-family: "Montserrat", sans-serif;
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #c19b4b;
  opacity: 0.8;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .section-title .en {
    display: block;
    margin-top: 3px;
    margin-left: 0;
    font-size: 0.4em;
  }
}

/* =========================================
   記事内装飾（テーブル・リンク・規約）
   ========================================= */
.page-entry-content {
  color: #ddd;
  line-height: 1.8;
  font-size: 1rem;
}
.page-entry-content a {
  color: #c19b4b !important;
  text-decoration: underline;
  transition: opacity 0.3s;
  word-break: break-all;
}
.page-entry-content a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* 見出し */
.page-entry-content h2 {
  font-size: 1.5rem;
  color: #fff;
  border-left: 5px solid #c19b4b;
  padding-left: 20px;
  margin: 50px 0 30px;
}
.page-entry-content h2:first-child {
  margin-top: 0;
}
.page-entry-content h3 {
  font-size: 1.2rem;
  color: #c19b4b;
  margin: 40px 0 20px;
  border-bottom: 1px dashed rgba(193, 155, 75, 0.4);
  padding-bottom: 10px;
}
.page-entry-content h4 {
  font-size: 1rem;
  color: #ddd;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
}
.page-entry-content p {
  margin-bottom: 2em;
}

/* 英語タイトル */
.page-entry-content h2 .en,
.page-entry-content h3 .en {
  font-size: 0.75em;
  margin-left: 10px;
  opacity: 0.7;
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
}

/* リスト（PC） */
.page-entry-content ul,
.page-entry-content ol {
  margin-bottom: 2em;
  padding-left: 1.5em;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 30px 30px 50px;
  border-radius: 8px;
}
.page-entry-content li {
  margin-bottom: 8px;
}

/* テーブル（PC） */
.page-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
  border: 1px solid #ffffff !important;
}
.page-entry-content th,
.page-entry-content td {
  border: 1px solid #ffffff !important;
  padding: 20px 15px;
  text-align: left;
  vertical-align: top;
}
.page-entry-content th {
  color: #fff;
  font-weight: 500;
  width: 25%;
  white-space: nowrap;
}

/* 記事内装飾レスポンシブ */
@media (max-width: 768px) {
  .page-entry-content h2 .en,
  .page-entry-content h3 .en {
    display: block;
    margin-top: 0px;
    margin-left: 0;
    font-size: 0.5em;
    line-height: 1.2;
  }

  .page-entry-content ul,
  .page-entry-content ol {
    padding: 15px 15px 15px 30px;
  }
  .page-entry-content li > ul,
  .page-entry-content li > ol {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 10px 0 10px 15px;
    background: none;
  }

  /* テーブルスマホ化 */
  .page-entry-content table,
  .page-entry-content tbody,
  .page-entry-content tr,
  .page-entry-content th,
  .page-entry-content td {
    display: block;
    width: 100%;
    border: none !important;
  }
  .page-entry-content tr {
    border-bottom: 1px solid #ffffff !important;
    padding: 20px 0;
  }
  .page-entry-content tr:last-child {
    border-bottom: none !important;
  }
  .page-entry-content th,
  .page-entry-content td {
    border: none !important;
  }
  .page-entry-content th {
    padding: 0 0 5px 0;
    font-size: 0.85rem;
    color: #fff;
    opacity: 1;
    margin-bottom: 5px;
  }
  .page-entry-content td {
    padding: 0;
    font-size: 1rem;
    color: #fff;
  }
}

/* =========================================
   送信完了ページ (Thanks Page)
   ========================================= */
.thanks-wrapper {
  padding-bottom: 50px;
}
.thanks-wrapper h2 {
  margin-bottom: 35px;
}
.thanks-wrapper p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}
.thanks-note {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 30px;
  margin-bottom: 50px !important;
}

/* ボタン共通設定 (戻るボタン) */
.thanks-wrapper .wp-block-buttons {
  display: flex;
  justify-content: flex-start;
}
.thanks-wrapper .wp-block-button__link {
  background-color: transparent !important;
  border: 1px solid #c19b4b !important;
  color: #c19b4b !important;
  border-radius: 50px !important;
  padding: 12px 40px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
}
.thanks-wrapper .wp-block-button__link:hover {
  background-color: #c19b4b !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(193, 155, 75, 0.4) !important;
}

@media (max-width: 768px) {
  .thanks-wrapper h2 {
    font-size: 1.3rem;
  }
  .thanks-wrapper .wp-block-buttons {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .thanks-wrapper .wp-block-button {
    margin: 0 !important;
  }
  .thanks-wrapper p {
    font-size: 0.95rem;
    text-align: left;
  }
}

/* =========================================
   お問い合わせ & 変更依頼フォーム (Contact Form 7)
   ========================================= */
.contact-form-container,
.contact-form-wrapper {
  max-width: 720px;
  margin: 60px auto;
  padding: 40px;
  background-color: #0b0b0b;
  border: 1px solid #222;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.form-row {
  margin-bottom: 50px;
}

.form-row label {
  display: block;
  margin-bottom: -15px;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.required {
  background: #c19b4b;
  color: #000;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* 入力フィールド共通 */
.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance),
.contact-form-wrapper .form-control {
  width: 100%;
  padding: 12px 15px;
  background: #141414;
  border: 1px solid #333;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.wpcf7-form-control:focus,
.contact-form-wrapper .form-control:focus {
  border-color: #c19b4b;
  background: #000;
  outline: none;
  box-shadow: 0 0 8px rgba(193, 155, 75, 0.2);
}

textarea.wpcf7-form-control,
textarea.form-control {
  height: 180px;
  resize: vertical;
}

/* ファイル添付エリア */
input[type="file"].form-control {
  padding: 10px;
  height: auto;
}
input[type="file"]::file-selector-button {
  background-color: #333;
  color: #fff;
  border: 1px solid #555;
  padding: 5px 15px;
  border-radius: 4px;
  margin-right: 15px;
  cursor: pointer;
  transition: background 0.3s;
}
input[type="file"]::file-selector-button:hover {
  background-color: #555;
}

/* チェックボックスリスト (PCベース) */
.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: -10px;
}
.wpcf7-checkbox .wpcf7-list-item {
  display: inline-block;
  margin: 0;
}
.wpcf7-checkbox label {
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
  padding: 10px 15px;
  border: 1px solid #333;
  border-radius: 6px;
  cursor: pointer;
  font-weight: normal;
  font-size: 0.95rem;
  transition: all 0.2s;
  margin-bottom: 0;
}
.wpcf7-checkbox label:hover {
  border-color: #c19b4b;
  background-color: #252525;
}
.wpcf7-checkbox input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #c19b4b;
  transform: scale(1.1);
}
.wpcf7-list-item-label {
  margin-left: 8px;
  font-weight: bold;
  cursor: pointer;
}

/* 同意エリア */
.form-agreement {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 5px 5px;
  border: 1px solid #222;
  border-radius: 8px;
  margin: 40px 0;
}
.form-agreement p {
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: #ccc;
}
.form-agreement a {
  color: #c19b4b;
  text-decoration: underline;
  transition: color 0.3s;
}
.form-agreement a:hover {
  color: #fff;
}

/* 送信ボタンエリア */
.form-submit,
.submit-btn-wrapper {
  text-align: center;
  margin-top: 40px;
}

.btn-submit,
.submit-btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  min-width: 300px; /* 統一 */
  background: linear-gradient(135deg, #c19b4b 0%, #8e6e2f 100%);
  color: #fff;
  border: none;
  padding: 18px 80px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
}

.btn-submit:hover,
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(193, 155, 75, 0.3);
  filter: brightness(1.1);
  background: linear-gradient(135deg, #c19b4b 0%, #8e6e2f 100%);
  color: #fff;
  opacity: 1;
}

/* --- フォームのスマホ対応（共通 & 特殊修正） --- */
@media (max-width: 768px) {
  .contact-form-container,
  .contact-form-wrapper {
    padding: 10px 5px;
    margin: 30px auto;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .form-row {
    margin-bottom: 35px;
  }
  .form-row label {
    font-size: 0.9rem;
  }
  .btn-submit,
  .submit-btn {
    width: 100%;
    padding: 13px;
    min-width: unset;
  }

  /* 同意エリア（スマホ） */
  .form-agreement {
    padding: 20px 10px;
  }
  .form-agreement p {
    font-size: 0.85rem;
    line-height: 1.8;
  }
  .form-agreement a {
    display: inline-block;
    margin: 0 2px;
  }

  /* チェックボックス（スマホ・共通積み上げ設定） */
  .wpcf7-checkbox {
    flex-direction: column;
    gap: 8px;
  }
  .wpcf7-checkbox label {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ==============================================
   掲載依頼フォーム用 追加スタイル (既存CSSを継承)
   ============================================== */

/* セクション見出し (■ インボイス制度 など) */
.form-section-header {
    position: relative; /* 線を配置するための基準点 */
    
    /* 邪魔な余白や改行を無効化 */
    margin-top: 60px !important;
    margin-bottom: 20px;
    padding-bottom: 5px !important;
    border: none !important; /* 一旦ボーダーは消す */
    
    /* 文字自体の高さ設定 */
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 0 !important;

    font-size: 1.3rem;
    color: #c19b4b;
}

/* 勝手に入ってくる改行タグを抹殺 */
.form-section-header br {
    display: none !important;
}
.form-section-header p {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

/* 線を「図形」として強制的に配置 */
.form-section-header::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;         /* 線の太さ */
    background-color: #333; /* 線の色 */
    
    /* 位置の調整（ここを変えると線が上下に動きます） */
    position: absolute;
    bottom: -5px;        /* 文字の「5px下」に配置。数値を小さくすると上にいきます */
    left: 0;
}

/* 関連項目のグループ化エリア */
.form-row-group {
    background: #141414; /* 入力欄と同じ背景色で馴染ませる */
    border: 1px solid #333;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* グループ内の余白調整 */
.form-row-group .form-row:last-child {
    margin-bottom: 0;
}

/* ラジオボタンの並びを綺麗に (チェックボックスと同じスタイルを適用) */
.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.wpcf7-radio .wpcf7-list-item {
    margin: 0;
}
.wpcf7-radio label {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
    margin-bottom: 0 !important; /* 強制的に上書き */
}
.wpcf7-radio label:hover {
    border-color: #c19b4b;
    background-color: #252525;
}
.wpcf7-radio input[type="radio"] {
    margin-right: 8px;
    accent-color: #c19b4b;
    transform: scale(1.1);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .form-row-group {
        padding: 15px;
        background: transparent; /* スマホでは背景なしですっきりさせる */
        border: none;
        padding-left: 0;
        padding-right: 0;
    }
    .form-section-header {
        font-size: 1.1rem;
        margin-top: 30px;
        margin-bottom: 0;
    }
}
/* ==============================================
   ★重要：スマホ表示のはみ出し修正（手動修正優先版）
   ============================================== */
@media (max-width: 768px) {
    /* ラベルの調整 */
    .wpcf7-checkbox label {
        font-size: 0.82rem !important;       /* フォントサイズをかなり小さく */
        padding: 6px 1.5px !important;      /* 余白を詰める */
        white-space: normal !important;   /* 折り返しを強制 */
        line-height: 1.3 !important;      /* 行間を調整 */
        height: auto !important;          /* 高さをなりゆきに */
        width: 100% !important;           /* 横幅いっぱい */
        box-sizing: border-box !important;
        align-items: flex-start !important; /* 上揃え */
        background-color: transparent !important; /* 背景透明化 */
        border: none !important;          /* 枠線なし */
    }

    /* チェックボックス自体の調整 */
    .wpcf7-checkbox input[type="checkbox"] {
        margin-top: 1px !important;       /* テキストの開始位置に合わせる */
        margin-right: 4px !important;     /* テキストとの間隔 */
        transform: scale(1.0) !important; /* チェックボックスを少し小さく戻す */
        flex-shrink: 0 !important;        /* アイコンが潰れないようにする */
    }
}

/* ==============================================
   掲載エリア・注意書きボックス用スタイル
   ============================================== */

/* コンテナ全体の余白 */
.flow-attention-container {
    margin-top: 50px;
}

/* 1. エリア指定ボックス (黒背景に金枠) */
.area-box {
    background: #111;
    border: 1px solid #c19b4b; /* 金色の枠線 */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.area-box-title {
    color: #c19b4b;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.area-box-desc {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.6;
}

/* エリアタグのリスト */
.area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.area-tag {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid #444;
    white-space: nowrap; /* 折り返し防止 */
}

/* 2. 審査免責ボックス (薄いグレー枠) */
.flow-attention {
    padding: 20px;
    background: rgba(255,255,255,0.05); /* 半透明の白 */
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #aaa;
}

.attention-title {
    color: #c19b4b;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

/* 3. フォーム上部の通知ボックス (Contact Form 7用) - 修正版 */
.form-notice-box {
    background: #222;
    border-left: 5px solid #c19b4b; /* 左側に太い金色の線 */
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Contact Form 7が勝手に入れるpタグの余白をリセット */
.form-notice-box p {
    margin: 0 !important; /* 強制的に余白をゼロに */
    padding: 0 !important;
}

/* タイトルのスタイル調整 */
.form-notice-title {
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.2 !important; /* 行間を詰める */
    margin-bottom: 10px !important; /* タイトルと本文の間だけ少し空ける */
    display: block; /* ブロック要素として扱う */
}

/* 本文のスタイル調整 */
.form-notice-text {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5 !important; /* 読みやすい行間に設定 */
    display: block; /* ブロック要素として扱う */
}

/* ==============================================
   PWA・ホーム画面追加バナー
   ============================================== */
.pwa-banner {
    display: none; /* 初期状態は非表示（JSで制御） */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #c19b4b;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 9999;
    padding: 15px;
    color: #fff;
    backdrop-filter: blur(5px);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { bottom: -100px; opacity: 0; }
    to { bottom: 20px; opacity: 1; }
}

.pwa-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pwa-icon img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #333;
}

.pwa-text {
    flex: 1;
    padding: 0 15px;
}

.pwa-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: #c19b4b;
    margin: 0;
}

.pwa-desc {
    font-size: 0.75rem;
    color: #aaa;
    margin: 3px 0 0;
}

.pwa-action {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pwa-btn {
    background: #c19b4b;
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
}

.pwa-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
}

/* iOSガイドの吹き出し */
.ios-guide {
    display: none; /* 初期状態は非表示 */
    background: #c19b4b;
    color: #000;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 15px;
    position: relative;
    font-weight: bold;
}

.guide-arrow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: #c19b4b;
    font-size: 1.2rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
}