/* ===================================
   matching.okoulove.com
   Warm Editorial Style
   Large Font / Mobile-First
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --bg:        #FDF6F0;
  --bg2:       #FAF0E8;
  --primary:   #C0524E;
  --primary2:  #A03E3A;
  --accent:    #E8956D;
  --accent2:   #D4784A;
  --dark:      #2D1F1F;
  --mid:       #7A5C5C;
  --light:     #F5E6E0;
  --light2:    #EDD5C8;
  --white:     #FFFFFF;
  --shadow:    rgba(45,31,31,0.12);
  --radius:    16px;
  --radius-sm: 10px;
  font-size:   18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.8;
  font-size: 1rem;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary2); }

img { max-width: 100%; height: auto; }

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--light2);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px var(--shadow);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.site-logo span { font-size: 0.75rem; color: var(--mid); display: block; font-family: 'Noto Sans JP', sans-serif; font-weight: 400; }
.header-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.header-nav a {
  background: var(--light);
  color: var(--dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-nav a:hover { background: var(--light2); color: var(--primary); }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #C0524E 0%, #E8956D 60%, #F5C8A0 100%);
  color: var(--white);
  padding: 60px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '💍';
  font-size: 180px;
  position: absolute; right: -30px; bottom: -30px;
  opacity: 0.12; line-height: 1;
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem; font-weight: 700;
  line-height: 1.4; margin-bottom: 16px;
}
.hero p {
  font-size: 1.05rem; opacity: 0.92;
  line-height: 1.9; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-hero {
  background: var(--white); color: var(--primary);
  padding: 14px 32px; border-radius: 50px;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.25); color: var(--primary2); }
.btn-hero-sub {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  padding: 12px 28px; border-radius: 50px;
  font-size: 1rem; font-weight: 500;
  transition: background 0.2s;
}
.btn-hero-sub:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ========== SECTION ========== */
.section { padding: 60px 20px; }
.section-alt { background: var(--bg2); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.9rem; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.section-head h2 em { color: var(--primary); font-style: normal; }
.section-head p { color: var(--mid); font-size: 1rem; line-height: 1.8; }
.section-label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  margin-bottom: 10px; letter-spacing: 0.08em;
}

/* ========== CATEGORY CARDS ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 16px var(--shadow);
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: block;
  color: var(--dark);
}
.cat-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow);
  color: var(--dark);
}
.cat-icon { font-size: 2.4rem; margin-bottom: 12px; }
.cat-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 6px; color: var(--dark);
}
.cat-sub { font-size: 0.82rem; color: var(--primary); font-weight: 500; margin-bottom: 10px; }
.cat-desc { font-size: 0.88rem; color: var(--mid); line-height: 1.7; }
.cat-count {
  margin-top: 14px;
  display: inline-block;
  background: var(--light);
  color: var(--mid);
  font-size: 0.78rem;
  padding: 4px 12px; border-radius: 20px;
}

/* ========== SERVICE CARDS ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 2px 16px var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px var(--shadow); }
.card-head {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--light);
}
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.card-tag {
  font-size: 0.72rem; font-weight: 700;
  background: var(--light); color: var(--mid);
  padding: 3px 10px; border-radius: 20px;
}
.card-tag.tag-primary { background: var(--primary); color: var(--white); }
.card-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.card-company { font-size: 0.78rem; color: var(--mid); margin-bottom: 8px; }
.card-stars { color: #E8A830; font-size: 0.9rem; }
.card-body { padding: 16px 22px; flex: 1; }
.card-target {
  font-size: 0.82rem; color: var(--mid);
  margin-bottom: 10px;
  display: flex; gap: 6px; align-items: flex-start;
}
.card-target::before { content: '👤'; font-size: 0.9rem; flex-shrink: 0; }
.card-appeal { font-size: 0.95rem; color: var(--dark); line-height: 1.75; margin-bottom: 14px; }
.card-features { list-style: none; margin-bottom: 0; }
.card-features li {
  font-size: 0.88rem; color: var(--mid);
  padding: 3px 0;
  display: flex; gap: 8px; align-items: flex-start;
}
.card-features li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.card-foot { padding: 16px 22px; border-top: 1px solid var(--light); }
.btn-cta {
  display: block; width: 100%;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 14px 20px;
  border-radius: 50px;
  font-size: 1rem; font-weight: 700;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 3px 12px rgba(192,82,78,0.35);
}
.btn-cta:hover { background: var(--primary2); color: var(--white); transform: scale(1.02); }
.btn-secondary {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 11px 28px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700;
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--primary); color: var(--white); }

/* ========== NICHE BANNER ========== */
.niche-banner {
  background: linear-gradient(135deg, #2D1F1F 0%, #4A2828 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex; gap: 30px; align-items: center;
  box-shadow: 0 4px 24px rgba(45,31,31,0.3);
  margin-bottom: 40px;
}
.niche-banner-text h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem; font-weight: 700;
  margin-bottom: 10px;
}
.niche-banner-text p { opacity: 0.85; font-size: 0.95rem; line-height: 1.8; }
.niche-banner-emoji { font-size: 4rem; flex-shrink: 0; }

/* ========== NICHE GRID ========== */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.niche-chip {
  background: var(--white);
  border: 2px solid var(--light2);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  display: block; color: var(--dark);
}
.niche-chip:hover { border-color: var(--primary); transform: translateY(-3px); color: var(--dark); }
.niche-chip-icon { font-size: 2rem; margin-bottom: 8px; }
.niche-chip-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 4px; color: var(--dark);
}
.niche-chip-target { font-size: 0.78rem; color: var(--mid); }

/* ========== COMPARE TABLE ========== */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.compare-table th {
  background: var(--primary); color: var(--white);
  padding: 14px 16px; text-align: left;
  font-size: 0.9rem; font-weight: 700;
}
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--light2); font-size: 0.92rem; }
.compare-table tr:nth-child(even) td { background: var(--bg2); }
.compare-table tr:hover td { background: var(--light); }
.tbl-name { font-weight: 700; color: var(--dark); }
.tbl-link { display: inline-block; background: var(--primary); color: var(--white); padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.tbl-link:hover { background: var(--primary2); color: var(--white); }
.badge-online { background: #5AC8B8; color: var(--white); font-size: 0.72rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; }
.badge-niche  { background: var(--primary); color: var(--white); font-size: 0.72rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; }
.star-cell { color: #E8A830; font-size: 0.85rem; }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 14px 20px; max-width: 1100px; margin: 0 auto; }
.breadcrumb-list { display: flex; gap: 8px; list-style: none; flex-wrap: wrap; }
.breadcrumb-list li { font-size: 0.82rem; color: var(--mid); }
.breadcrumb-list li::after { content: '›'; margin-left: 8px; }
.breadcrumb-list li:last-child::after { content: ''; }
.breadcrumb-list li a { color: var(--primary); }

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, var(--light) 0%, var(--light2) 100%);
  padding: 50px 20px 60px;
  text-align: center;
  border-bottom: 3px solid var(--light2);
}
.page-hero .icon { font-size: 3.5rem; margin-bottom: 14px; }
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.page-hero .subtitle { font-size: 1rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.page-hero p { color: var(--mid); font-size: 0.95rem; line-height: 1.85; max-width: 680px; margin: 0 auto 20px; }

/* ========== SERVICE DETAIL ========== */
.service-detail { max-width: 860px; margin: 0 auto; padding: 0 20px 60px; }
.service-detail-head {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 32px 24px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 28px;
}
.sd-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem; font-weight: 700; margin-bottom: 6px;
}
.sd-company { font-size: 0.88rem; color: var(--mid); margin-bottom: 12px; }
.sd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.sd-tag { background: var(--light2); color: var(--mid); font-size: 0.78rem; padding: 4px 12px; border-radius: 20px; }
.sd-appeal { font-size: 1.1rem; color: var(--dark); line-height: 1.85; margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 16px; }
.sd-cta {
  display: block;
  background: var(--primary); color: var(--white);
  text-align: center; padding: 18px 40px;
  border-radius: 50px; font-size: 1.1rem; font-weight: 700;
  box-shadow: 0 4px 20px rgba(192,82,78,0.4);
  transition: background 0.2s, transform 0.1s;
}
.sd-cta:hover { background: var(--primary2); color: var(--white); transform: scale(1.02); }
.detail-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 2px 16px var(--shadow);
  margin-bottom: 24px;
}
.detail-block h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--dark); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 2px solid var(--light2);
}
.feature-list { list-style: none; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--light);
  font-size: 1rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '✓'; color: var(--primary); font-weight: 900; font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.rec-list { list-style: none; }
.rec-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--light);
  font-size: 1rem;
}
.rec-list li:last-child { border-bottom: none; }
.rec-list li::before { content: '💡'; flex-shrink: 0; }

/* ========== FAQ ========== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--light2);
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-weight: 700; font-size: 1rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq-q::before { content: 'Q.'; color: var(--primary); font-size: 1.1rem; font-weight: 900; flex-shrink: 0; }
.faq-q .arrow { color: var(--mid); font-size: 0.8rem; transition: transform 0.25s; flex-shrink: 0; }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 22px 18px 22px;
  font-size: 0.95rem; color: var(--mid); line-height: 1.85;
  display: none;
}
.faq-a.open { display: block; }
.faq-a::before { content: 'A. '; color: var(--accent2); font-weight: 700; }

/* ========== NOTICE ========== */
.notice {
  background: var(--light);
  border: 1px solid var(--light2);
  border-radius: var(--radius-sm);
  padding: 16px 20px; font-size: 0.82rem;
  color: var(--mid); line-height: 1.75;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.75);
  padding: 50px 20px 30px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--white);
  margin-bottom: 8px;
}
.footer-desc { font-size: 0.82rem; line-height: 1.8; margin-bottom: 28px; }
.footer-links {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 28px; list-style: none;
}
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.78rem; opacity: 0.5; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.scroll-hint { text-align: center; color: var(--mid); font-size: 0.82rem; margin-top: 8px; }
.table-wrap { overflow-x: auto; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  :root { font-size: 17px; }
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 44px 18px 54px; }
  .section { padding: 44px 16px; }
  .section-head h2 { font-size: 1.55rem; }
  .header-nav { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .niche-banner { flex-direction: column; text-align: center; padding: 28px 20px; }
  .niche-grid { grid-template-columns: 1fr 1fr 1fr; }
  .sd-name { font-size: 1.6rem; }
  .detail-block { padding: 22px 18px; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .niche-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-hero, .btn-hero-sub { width: 100%; max-width: 300px; text-align: center; }
}

/* ===================================
   style_additions.css
   既存のstyle.cssの末尾に追記してください
   =================================== */

/* ========== PR表示バー ========== */
.pr-bar {
  background: #FFF8E8;
  border-bottom: 1px solid #F0D890;
  text-align: center;
  padding: 7px 16px;
  font-size: 0.78rem;
  color: #7A6020;
  line-height: 1.5;
}
.pr-badge {
  display: inline-block;
  background: #E8A830;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  margin-right: 6px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.pr-bar a {
  color: #9A7020;
  text-decoration: underline;
  margin-left: 8px;
  font-size: 0.75rem;
}

/* ========== フッター ナビラベル ========== */
.footer-nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 28px;
}
.footer-nav-label:first-of-type {
  margin-top: 0;
}

/* ========== お問い合わせフォーム input focus ========== */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(192,82,78,0.15);
}

/* ========== sticky-top（PRバー＋ナビ常時表示） ========== */
/* style.cssの末尾に追記してください */

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* site-header 側のstickyは無効化（sticky-topに委譲） */
.site-header {
  position: static;
  z-index: auto;
}

