/*
Theme Name:  冊子デザイン本舗 Child
Theme URI:
Description: Lightning v15 child theme for design.shoseki.net
Author:      つむぎ書房合同会社
Template:    lightning
Version:     1.0.0
*/

/* ============================================================
   CSS VARIABLES（サイト全体カラー）
   ============================================================ */
:root {
  --sasshi-yellow:     #f5c518;
  --sasshi-yellow-faq: #F5C400;
  --sasshi-green:      #7dc241;
  --sasshi-orange:     #e87722;
  --sasshi-dark:       #222;
  --sasshi-text:       #333;
  --sasshi-gray:       #666;
  --sasshi-light:      #f7f7f7;
  --sasshi-border:     #e0e0e0;
  --sasshi-bg-warm:    #fffbf0;
  --sasshi-radius:     4px;
  --sasshi-shadow:     0 2px 8px rgba(0,0,0,.08);
  --sasshi-max-w:      1100px;
}

/* ============================================================
   FONT
   ============================================================ */
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
               Meiryo, sans-serif;
  color: var(--sasshi-text);
}

/* ============================================================
   Lightning ヘッダーオーバーライド（2行スティッキー）
   ============================================================ */
#site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  background: #fff !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  border-bottom: 1px solid var(--sasshi-border);
}
/* ロゴ高さ */
#site-header .site-branding img,
#site-header .custom-logo {
  height: 48px !important;
  width: auto !important;
}
/* 電話番号エリア（カスタムHTMLウィジェット想定） */
.header-cta-tel a {
  font-size: 22px;
  font-weight: 900;
  color: var(--sasshi-orange) !important;
  letter-spacing: .02em;
}
.header-cta-tel a::before { content: 'Tel.'; font-size: 13px; margin-right: 2px; }
/* CTAボタン */
.header-cta-btn-yellow {
  background: var(--sasshi-yellow);
  color: #222;
  border-radius: var(--sasshi-radius);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta-btn-green {
  background: var(--sasshi-green);
  color: #fff;
  border-radius: var(--sasshi-radius);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
/* ナビカラー */
#global_navi a,
#nav-below a {
  color: var(--sasshi-text) !important;
}
#global_navi a:hover,
#nav-below a:hover {
  color: var(--sasshi-orange) !important;
}
/* アクティブメニュー下線 */
#global_navi .current-menu-item > a,
#global_navi .current_page_item > a {
  color: var(--sasshi-orange) !important;
  border-bottom: 2px solid var(--sasshi-orange);
}

/* ============================================================
   LAYOUT HELPERS（全ページ共通）
   ============================================================ */
.sasshi-container {
  max-width: var(--sasshi-max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.sasshi-section {
  padding: 64px 0;
}
.sasshi-section--gray  { background: #f7f7f7; }
.sasshi-section--warm  { background: var(--sasshi-bg-warm); }
.sasshi-section--dark  { background: var(--sasshi-dark); color: #fff; }

/* ============================================================
   TYPOGRAPHY（見出しラベル・セクションタイトル）
   ============================================================ */
.sasshi-label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--sasshi-orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sasshi-title {
  text-align: center;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--sasshi-dark);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 16px;
}
.sasshi-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: var(--sasshi-orange);
  border-radius: 2px;
}
.sasshi-title--left { text-align: left; }
.sasshi-title--left::after { left: 0; transform: none; }

/* ページTOPのパンくず下マージン調整 */
.vk_breadcrumb { margin-bottom: 0 !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.sasshi-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--sasshi-radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
  text-decoration: none !important;
}
.sasshi-btn:hover { opacity: .88; transform: translateY(-1px); }
.sasshi-btn--yellow  { background: var(--sasshi-yellow);  color: #222; }
.sasshi-btn--green   { background: var(--sasshi-green);   color: #fff; }
.sasshi-btn--orange  { background: var(--sasshi-orange);  color: #fff; }
.sasshi-btn--outline {
  background: transparent;
  border: 2px solid var(--sasshi-yellow);
  color: #555;
}
.sasshi-btn--lg  { padding: 14px 32px; font-size: 15px; border-radius: 6px; }
.sasshi-btn--xl  { padding: 16px 40px; font-size: 17px; border-radius: 6px; }
.sasshi-btn--full { width: 100%; justify-content: center; }

/* ============================================================
   HERO（トップページのみ）
   ============================================================ */
.sasshi-hero {
  position: relative;
  width: 100%;
  min-height: 540px;
  background-color: #333;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sasshi-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.50);
}
.sasshi-hero-body {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 56px 24px;
  max-width: 760px;
  width: 100%;
}
.sasshi-hero-copy {
  font-size: clamp(24px, 3.8vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.sasshi-hero-sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255,255,255,.92);
  line-height: 1.9;
  margin-bottom: 40px;
}
.sasshi-hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
/* ページヒーロー（内部ページ用小型版）*/
.sasshi-page-hero {
  background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
  border-bottom: 3px solid var(--sasshi-yellow);
  padding: 48px 24px;
  text-align: center;
}
.sasshi-page-hero-label {
  display: inline-block;
  background: var(--sasshi-yellow);
  color: #333;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  padding: 3px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sasshi-page-hero h1 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--sasshi-dark);
  margin-bottom: 12px;
}
.sasshi-page-hero p {
  font-size: 14px;
  color: var(--sasshi-gray);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   3つの強み カード
   ============================================================ */
.sasshi-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sasshi-strength-card {
  background: #fff;
  border: 1px solid var(--sasshi-border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--sasshi-shadow);
  transition: transform .2s, box-shadow .2s;
}
.sasshi-strength-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.sasshi-strength-icon {
  width: 64px; height: 64px;
  background: var(--sasshi-bg-warm);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.sasshi-strength-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sasshi-dark);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--sasshi-yellow);
  padding-bottom: 10px;
}
.sasshi-strength-desc {
  font-size: 14px;
  color: var(--sasshi-gray);
  line-height: 1.85;
  text-align: left;
}

/* ============================================================
   サービスカード（2カラムグリッド）
   ============================================================ */
.sasshi-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sasshi-service-card {
  background: #fff;
  border: 1px solid var(--sasshi-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--sasshi-shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
}
.sasshi-service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.13); }
.sasshi-service-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-bottom: 3px solid var(--sasshi-yellow);
  display: block;
}
.sasshi-service-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.sasshi-service-card-title {
  font-size: 18px; font-weight: 700; color: var(--sasshi-dark); margin-bottom: 10px;
}
.sasshi-service-card-desc {
  font-size: 14px; color: var(--sasshi-gray); line-height: 1.85; flex: 1; margin-bottom: 16px;
}
.sasshi-service-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 700; color: var(--sasshi-orange); margin-top: auto;
}
.sasshi-service-card-link::after { content: '→'; transition: transform .2s; }
.sasshi-service-card:hover .sasshi-service-card-link::after { transform: translateX(4px); }

/* ============================================================
   ポートフォリオ（Swiperスライダー）
   ============================================================ */
.sasshi-swiper { width: 100%; padding-bottom: 44px !important; }
.sasshi-portfolio-card {
  background: #fff;
  border: 1px solid var(--sasshi-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--sasshi-shadow);
}
.sasshi-portfolio-img {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
}
.sasshi-portfolio-img--placeholder {
  width: 100%; height: 220px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 36px; gap: 8px;
}
.sasshi-portfolio-body { padding: 16px 20px; }
.sasshi-portfolio-tag {
  display: inline-block;
  background: var(--sasshi-yellow); color: #333;
  font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: 2px; margin-bottom: 8px;
}
.sasshi-portfolio-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.sasshi-portfolio-spec  { font-size: 12px; color: var(--sasshi-gray); }
.swiper-pagination-bullet-active { background: var(--sasshi-orange) !important; }

/* ============================================================
   制作の流れ（フロー図）
   ============================================================ */
.sasshi-flow-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.sasshi-flow-item {
  flex: 1;
  max-width: 210px;
  background: #fff;
  border: 1px solid var(--sasshi-border);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  margin: 0 2px;
}
.sasshi-flow-item:not(:last-child)::after {
  content: '▶';
  position: absolute;
  right: -14px; top: 50%;
  transform: translateY(-50%);
  color: var(--sasshi-yellow);
  font-size: 14px;
  z-index: 1;
}
.sasshi-flow-num {
  width: 32px; height: 32px;
  background: var(--sasshi-yellow);
  color: #333;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900;
  margin: 0 auto 10px;
}
.sasshi-flow-icon  { font-size: 26px; margin-bottom: 8px; }
.sasshi-flow-title { font-size: 13px; font-weight: 700; color: var(--sasshi-dark); margin-bottom: 6px; }
.sasshi-flow-desc  { font-size: 11.5px; color: var(--sasshi-gray); line-height: 1.6; }

/* ============================================================
   料金カード
   ============================================================ */
.sasshi-pricing-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 15px;
  color: var(--sasshi-gray);
  line-height: 1.9;
}
.sasshi-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.sasshi-pricing-item {
  background: #fff;
  border: 1px solid var(--sasshi-border);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.sasshi-pricing-item--featured {
  border-color: var(--sasshi-yellow);
  box-shadow: 0 4px 16px rgba(245,197,24,.25);
  position: relative;
}
.sasshi-pricing-item--featured::before {
  content: 'おすすめ';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--sasshi-yellow);
  color: #333;
  font-size: 11px; font-weight: 700;
  padding: 2px 12px; border-radius: 10px;
}
.sasshi-pricing-label { font-size: 12px; color: var(--sasshi-gray); margin-bottom: 6px; }
.sasshi-pricing-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; min-height: 44px; }
.sasshi-pricing-price { font-size: 24px; font-weight: 900; color: var(--sasshi-orange); }
.sasshi-pricing-price span { font-size: 14px; font-weight: 400; color: var(--sasshi-gray); }
.sasshi-pricing-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 料金テーブル（pricing ページ用） */
.sasshi-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 32px;
}
.sasshi-price-table th,
.sasshi-price-table td {
  padding: 12px 16px;
  border: 1px solid var(--sasshi-border);
  text-align: left;
  vertical-align: top;
}
.sasshi-price-table thead th {
  background: var(--sasshi-dark);
  color: #fff;
  font-weight: 700;
}
.sasshi-price-table tbody tr:nth-child(even) { background: #fafafa; }
.sasshi-price-table .price-col { color: var(--sasshi-orange); font-weight: 700; }

/* ============================================================
   FAQブロック（shoseki.net/genre/illustration/ 準拠）
   ============================================================ */
.sasshi-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sasshi-faq-item {
  border-bottom: 1px solid #e8e4d8;
}
.sasshi-faq-item:first-child {
  border-top: 1px solid #e8e4d8;
}
.sasshi-faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 12px 18px 6px;
  cursor: pointer;
  list-style: none;
  transition: background .15s;
  user-select: none;
}
.sasshi-faq-q::-webkit-details-marker { display: none; }
.sasshi-faq-item[open] .sasshi-faq-q,
.sasshi-faq-q:hover { background: #FFFBE6; }
.sasshi-faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sasshi-yellow-faq);
  color: #1a1a1a;
  font-size: .78rem;
  font-weight: 900;
  flex-shrink: 0;
}
.sasshi-faq-q-text {
  font-size: .88rem;
  font-weight: 700;
  color: #1a1a1a;
  flex: 1;
  line-height: 1.5;
}
.sasshi-faq-arrow {
  width: 10px; height: 10px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform .2s;
  margin-right: 4px;
}
.sasshi-faq-item[open] .sasshi-faq-arrow {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.sasshi-faq-a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 12px 20px 6px;
  background: #FFFDF0;
  border-left: 3px solid var(--sasshi-yellow-faq);
}
.sasshi-faq-a-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--sasshi-yellow-faq);
  color: #b8920a;
  font-size: .78rem;
  font-weight: 900;
  flex-shrink: 0;
}
.sasshi-faq-a p {
  font-size: .86rem;
  color: #444;
  line-height: 1.8;
  margin: 0;
  padding-top: 4px;
}
.sasshi-faq-more { text-align: center; margin-top: 32px; }

/* ============================================================
   CTAセクション（3カラム）
   ============================================================ */
.sasshi-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sasshi-cta-card {
  background: #fff;
  border: 1px solid var(--sasshi-border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--sasshi-shadow);
}
.sasshi-cta-icon  { font-size: 36px; margin-bottom: 12px; }
.sasshi-cta-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--sasshi-dark); }
.sasshi-cta-desc  { font-size: 13.5px; color: var(--sasshi-gray); line-height: 1.8; margin-bottom: 20px; min-height: 56px; }
.sasshi-cta-tel   { font-size: 20px; font-weight: 900; color: var(--sasshi-orange); display: block; margin-bottom: 4px; }
.sasshi-cta-hours { font-size: 12px; color: var(--sasshi-gray); }

/* ============================================================
   会社情報テーブル
   ============================================================ */
.sasshi-company-wrap {
  display: flex; align-items: center; gap: 48px;
  max-width: 760px; margin: 0 auto;
}
.sasshi-company-logo img { height: 56px; width: auto; }
.sasshi-company-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sasshi-company-table th,
.sasshi-company-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  text-align: left; vertical-align: top;
}
.sasshi-company-table th {
  width: 130px;
  color: var(--sasshi-gray);
  font-weight: 500;
}

/* ============================================================
   フォームラッパー
   ============================================================ */
.sasshi-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--sasshi-border);
  border-radius: 8px;
  padding: 40px 48px;
  box-shadow: var(--sasshi-shadow);
}
/* Contact Form 7 スタイル調整 */
.sasshi-form-wrap .wpcf7-form input[type="text"],
.sasshi-form-wrap .wpcf7-form input[type="email"],
.sasshi-form-wrap .wpcf7-form input[type="tel"],
.sasshi-form-wrap .wpcf7-form textarea,
.sasshi-form-wrap .wpcf7-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--sasshi-border);
  border-radius: var(--sasshi-radius);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}
.sasshi-form-wrap .wpcf7-form input:focus,
.sasshi-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--sasshi-yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,.2);
}
.sasshi-form-wrap .wpcf7-form .wpcf7-submit {
  background: var(--sasshi-yellow);
  color: #222;
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity .2s;
}
.sasshi-form-wrap .wpcf7-form .wpcf7-submit:hover { opacity: .85; }

/* ============================================================
   インフォボックス（注意書き・補足など）
   ============================================================ */
.sasshi-info-box {
  background: #fff8e1;
  border-left: 4px solid var(--sasshi-yellow);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--sasshi-text);
  line-height: 1.8;
  margin: 24px 0;
}
.sasshi-info-box--green {
  background: #f1f8e9;
  border-left-color: var(--sasshi-green);
}

/* ============================================================
   プライバシーポリシー
   ============================================================ */
.sasshi-privacy-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 2;
  color: var(--sasshi-text);
}
.sasshi-privacy-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sasshi-dark);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sasshi-yellow);
}
.sasshi-privacy-body p { margin-bottom: 16px; }
.sasshi-privacy-body ul { padding-left: 24px; list-style: disc; margin-bottom: 16px; }
.sasshi-privacy-body ul li { margin-bottom: 8px; }

/* ============================================================
   Lightning フッターオーバーライド
   ============================================================ */
#footer { background: #222 !important; color: #ccc !important; }
#footer a { color: #bbb !important; }
#footer a:hover { color: var(--sasshi-yellow) !important; }
.vk_footer_nav li a { color: #bbb !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .sasshi-strengths   { grid-template-columns: 1fr; }
  .sasshi-service-grid { grid-template-columns: 1fr; }
  .sasshi-flow-list   { flex-direction: column; align-items: center; gap: 16px; }
  .sasshi-flow-item   { max-width: 100%; width: 100%; }
  .sasshi-flow-item::after { display: none; }
  .sasshi-pricing-grid { grid-template-columns: 1fr; }
  .sasshi-cta-grid    { grid-template-columns: 1fr; }
  .sasshi-company-wrap { flex-direction: column; gap: 24px; }
  .sasshi-form-wrap   { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .sasshi-section { padding: 48px 0; }
  .sasshi-hero { min-height: 420px; }
  .sasshi-hero-btns { flex-direction: column; align-items: center; }
  .sasshi-faq-q    { padding: 14px 8px; gap: 10px; }
  .sasshi-faq-a    { padding: 12px 8px 16px; gap: 10px; }
}

/* ============================================================
   お問い合わせ・資料請求フォーム
   ============================================================ */
.sasshi-form { max-width: 700px; margin: 0 auto; }

.sasshi-form-row {
  margin-bottom: 24px;
}
.sasshi-form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--sasshi-dark);
  margin-bottom: 8px;
}
.sasshi-required {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.sasshi-form-input,
.sasshi-form-select,
.sasshi-form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  color: var(--sasshi-dark);
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.sasshi-form-input:focus,
.sasshi-form-select:focus,
.sasshi-form-textarea:focus {
  outline: none;
  border-color: var(--sasshi-green);
  box-shadow: 0 0 0 3px rgba(82,183,136,.15);
}
.sasshi-form-textarea { resize: vertical; min-height: 120px; }
.sasshi-form-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
  cursor: pointer;
}

/* ============================================================
   会社情報テーブル
   ============================================================ */
.sasshi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.8;
}
.sasshi-table th,
.sasshi-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8e4d8;
  vertical-align: top;
  text-align: left;
}
.sasshi-table th {
  width: 140px;
  font-weight: 700;
  color: #555;
  background: #f9f9f7;
  white-space: nowrap;
}
.sasshi-table td { color: var(--sasshi-dark); }
.sasshi-table tr:first-child th,
.sasshi-table tr:first-child td { border-top: 1px solid #e8e4d8; }

/* ============================================================
   コンタクトカード（電話・メール表示）
   ============================================================ */
.sasshi-contact-card {
  background: #fff;
  border: 1px solid #e8e4d8;
  border-radius: 10px;
  padding: 28px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* ============================================================
   RESPONSIVE 追加（フォーム・テーブル）
   ============================================================ */
@media (max-width: 700px) {
  .sasshi-table th { width: 100px; font-size: 13px; }
  .sasshi-table td { font-size: 13px; }
}
@media (max-width: 600px) {
  .sasshi-table { display: block; }
  .sasshi-table tbody, .sasshi-table tr,
  .sasshi-table th, .sasshi-table td { display: block; width: 100%; }
  .sasshi-table th {
    border-bottom: none;
    padding-bottom: 4px;
    background: #f4f4f0;
  }
  .sasshi-table td { padding-top: 4px; }
}

/* ============================================================
   チェックボックス・ラジオボタン（お見積もりフォーム用）
   ============================================================ */

/* チェックボックスグループ */
.sasshi-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 4px 0;
}
.sasshi-checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--sasshi-dark);
  cursor: pointer;
  user-select: none;
}
.sasshi-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sasshi-green);
  cursor: pointer;
  flex-shrink: 0;
}
.sasshi-checkbox-label:hover span {
  color: var(--sasshi-green);
}

/* ラジオボタングループ */
.sasshi-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 4px 0;
}
.sasshi-radio-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--sasshi-dark);
  cursor: pointer;
  user-select: none;
}
.sasshi-radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sasshi-green);
  cursor: pointer;
  flex-shrink: 0;
}
.sasshi-radio-label:hover span {
  color: var(--sasshi-green);
}

/* ページ数・部数の横並びグリッド SP対応 */
@media (max-width: 500px) {
  .sasshi-checkbox-group { gap: 10px 14px; }
  .sasshi-radio-group    { gap: 10px 14px; }
}

/* ============================================================
   グローバルナビ CTA ボタン
   （メニュー設定の CSS クラス欄で付与したクラスに対応）
   menu-cta-primary  → お問い合わせ（グリーン）
   menu-cta-secondary → お見積もり（イエロー）
   ============================================================ */

/* 共通ベース */
li.menu-cta-primary > a,
li.menu-cta-secondary > a {
  display: inline-flex !important;
  align-items: center;
  padding: 5px 14px !important;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
  text-decoration: none !important;
}
li.menu-cta-primary > a:hover,
li.menu-cta-secondary > a:hover {
  opacity: .82;
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* お問い合わせ：グリーン */
li.menu-cta-primary > a {
  background: var(--sasshi-green) !important;
  color: #fff !important;
  border: 2px solid var(--sasshi-green);
}

/* お見積もり：イエロー（左にスペース） */
li.menu-cta-secondary {
  margin-left: 8px;
}
li.menu-cta-secondary > a {
  background: var(--sasshi-yellow) !important;
  color: #222 !important;
  border: 2px solid var(--sasshi-yellow);
}

/* <strong class="global-nav-name"> の文字色を継承 */
li.menu-cta-primary > a strong,
li.menu-cta-secondary > a strong {
  color: inherit !important;
  font-weight: 700;
}

/* SP（ハンバーガーメニュー展開時）は上下マージンをリセット */
@media (max-width: 900px) {
  li.menu-cta-primary > a,
  li.menu-cta-secondary > a {
    padding: 8px 16px !important;
    border-radius: 4px;
    margin: 4px 0;
  }
}
