/*
Theme Name: 咲笑会 Amazing Style
Theme URI: https://sakushokai.jp
Author: 咲笑会
Author URI: https://sakushokai.jp
Description: 人と人とが出会う相談室 咲笑会 オリジナルテーマ
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: sakushokai
*/

/* ===== CSS変数 ===== */
:root {
  --blue-gray: #7A9BAD;
  --blue-dark: #5C7D8F;
  --blue-light: #A8C0CC;
  --blue-pale: #D6E4EA;
  --blue-bg: #C8D8DF;
  --section-bg: #E8EFF2;
  --card-bg: #F0F5F7;
  --cream: #E8D5C4;
  --cream-light: #F2E8DF;
  --orange: #C89060;
  --white: #FFFFFF;
  --charcoal: #3A3838;
  --gray: #6A6060;
  --light-gray: #9A9090;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--section-bg);
  color: var(--charcoal);
  overflow-x: hidden;
  padding-bottom: 60px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ===== FIXED SIDEBAR ===== */
.fixed-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.sidebar-btn {
  writing-mode: vertical-rl;
  padding: 16px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-contact { background: var(--blue-dark); color: white; }
.sidebar-line { background: #00B900; color: white; }

/* ===== FLOAT BOTTOM ===== */
.float-btns {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
}
.float-btn {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  font-weight: 500;
}
.float-btn-m { background: var(--charcoal); color: white; }
.float-btn-w { background: #C87090; color: white; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  background: rgba(200,216,223,0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.logo-wrap { text-decoration: none; }
.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.08em;
  display: block;
  line-height: 1.2;
}
.logo-sub { font-size: 9px; color: var(--gray); letter-spacing: 0.1em; }
.hamburger {
  width: 36px; height: 36px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: none;
}
.hamburger span { width: 18px; height: 1.5px; background: var(--charcoal); display: block; }

/* ===== DRAWER MENU ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer {
  position: fixed;
  top: 0; right: -280px;
  width: 280px; height: 100vh;
  background: var(--charcoal);
  z-index: 310;
  transition: right 0.3s ease;
  padding: 60px 0 40px;
  overflow-y: auto;
}
.drawer.open { right: 0; }
.drawer-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.drawer nav a {
  display: block;
  padding: 16px 28px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.drawer nav a:hover { color: #C87090; }
.drawer-cta { padding: 24px 20px 0; display: flex; flex-direction: column; gap: 12px; }
.drawer-cta a {
  display: block;
  padding: 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
}
.drawer-cta-m { background: var(--charcoal); color: white; border: 1px solid rgba(255,255,255,0.2); }
.drawer-cta-w { background: #C87090; color: white; }

/* ===== MAIN CONTENT PADDING ===== */
main { padding-top: 56px; }

/* ===== SECTION COMMONS ===== */
.section-en-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--light-gray);
  margin-bottom: 6px;
  display: block;
}
.section-big-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: rgba(92,125,143,0.25);
  letter-spacing: 0.05em;
  line-height: 0.9;
  display: block;
  margin-bottom: 16px;
}
.section-title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 16px;
}
.section-header { margin-bottom: 24px; }
.more-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--blue-dark);
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 40px;
  margin-top: 24px;
}
.more-btn::after { content: '→'; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
}
/* 旧photo-card系（未使用だが残す） */
.hero-label { display: none; }
.photo-placeholder { width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.photo-1 { background: linear-gradient(135deg, #C8D8D0, #90B0A0); }
.photo-2 { background: linear-gradient(135deg, #D0C8B8, #A89888); }
.photo-3 { background: linear-gradient(135deg, #90A8B8, #607888); }

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: calc(100vh - 56px);
  min-height: 500px;
  overflow: hidden;
  background: var(--blue-bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background: var(--blue-bg);
}
.hero-slide-bg img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: var(--blue-bg);
}
.hero-slide-bg .photo-placeholder {
  width: 100%; height: 100%;
  font-size: 80px;
  display: flex; align-items: center; justify-content: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(92,125,143,0.3) 0%,
    rgba(30,25,25,0.6) 100%
  );
}

.hero-slide-text {
  position: absolute;
  bottom: 80px; left: 24px; right: 60px;
  color: white;
  z-index: 2;
}
.hero-slide-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.3em;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.9);
}
.hero-slide-text .hero-catch-small {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 6px;
  display: block;
}
.hero-slide-text .hero-catch-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 0.2em;
  display: block;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* ドット */
.hero-dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
  background: white;
  transform: scale(1.4);
}

/* プログレスバー */
.hero-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.2);
  z-index: 10;
}
.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--blue-light);
}

/* PC対応 */
@media (min-width: 769px) {
  .hero-slideshow { height: calc(100vh - 56px); min-height: 600px; }
  .hero-slide-text { bottom: 100px; left: 60px; }
  .hero-slide-text .hero-catch-small { font-size: 18px; }
  .hero-slide-text .hero-catch-big { font-size: 52px; }
  .hero-slide-label { font-size: 11px; }
}

/* ===== AWARD ===== */
.award-section { background: var(--blue-bg); padding: 20px; text-align: center; }
.award-badge { display: inline-block; }

/* ===== SUPPORT INTRO ===== */
.support-intro { background: var(--white); border-radius: 24px 24px 0 0; padding: 40px 20px 32px; }
.support-intro-title { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 400; line-height: 1.6; color: var(--charcoal); margin-bottom: 24px; }
.support-stats { display: flex; gap: 12px; margin-bottom: 24px; justify-content: center; }
.stat-circle { width: 100px; height: 100px; border-radius: 50%; background: var(--blue-gray); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; padding: 8px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; line-height: 1; }
.stat-label { font-size: 8px; line-height: 1.4; margin-top: 2px; }
.stat-note { font-size: 10px; color: var(--light-gray); text-align: center; line-height: 1.8; }

/* ===== REASON ===== */
.reason-section { background: white; padding: 40px 20px; }
.reason-item { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--section-bg); }
.reason-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.reason-num { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 300; color: rgba(92,125,143,0.25); line-height: 1; margin-bottom: 8px; display: block; text-align: center; }
.reason-photo { width: 180px; height: 180px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 56px; margin: 0 auto 20px; overflow: hidden; }
.reason-photo img { width: 100%; height: 100%; object-fit: cover; }
.reason-photo-1 { background: linear-gradient(135deg, #C8D8D0, #7A9BAD); }
.reason-photo-2 { background: linear-gradient(135deg, #D0C8C0, #A09080); }
.reason-photo-3 { background: linear-gradient(135deg, #C0C8D8, #8090A8); }
.reason-title { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 400; line-height: 1.5; margin-bottom: 16px; color: var(--charcoal); }
.reason-body { font-size: 14px; line-height: 2; color: var(--gray); }
.reason-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { background: var(--blue-dark); color: white; font-size: 11px; padding: 4px 12px; border-radius: 4px; }

/* ===== MESSAGE ===== */
.message-section { background: var(--blue-bg); padding: 48px 20px; }
.message-photo {
  width: 100%; max-width: 320px;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #7A9BAD, #5C7D8F);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
  margin: 0 auto 24px;
  overflow: hidden;
}
.message-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.message-body { font-size: 14px; line-height: 2.2; color: var(--charcoal); }
.message-sign { font-size: 13px; color: var(--blue-dark); margin-top: 20px; font-weight: 500; letter-spacing: 0.1em; }

/* ===== RECORD ===== */
.record-section { background: var(--card-bg); padding: 48px 20px; border-radius: 24px 24px 0 0; }
.record-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--blue-pale); }
.record-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.record-photo { width: 100px; aspect-ratio: 1; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; overflow: hidden; }
.record-photo img { width: 100%; height: 100%; object-fit: cover; }
.rp-1 { background: linear-gradient(135deg, #C8D8DF, #8AACBA); }
.rp-2 { background: linear-gradient(135deg, #E0D0D0, #C0A0A0); }
.rp-3 { background: linear-gradient(135deg, #C8D8C8, #90A890); }
.record-text { flex: 1; }
.record-text h3 { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 400; line-height: 1.4; color: var(--charcoal); margin-bottom: 10px; text-align: right; }
.record-text p { font-size: 13px; line-height: 1.8; color: var(--gray); text-align: right; }

/* ===== VOICE ===== */
.voice-section { background: var(--card-bg); padding: 48px 20px; }
.voice-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.voice-scroll::-webkit-scrollbar { display: none; }
.voice-card { min-width: 180px; max-width: 200px; background: white; border-radius: 12px; overflow: visible; flex-shrink: 0; box-shadow: 0 2px 12px rgba(92,125,143,0.12); }
.voice-img { width: 100%; height: 100px !important; display: flex; align-items: center; justify-content: center; font-size: 32px; overflow: hidden; }
.voice-img img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center top; display: block; }
.vi-1 { background: linear-gradient(135deg, #DDD0C8, #B0A098); }
.vi-2 { background: linear-gradient(135deg, #C8D0D8, #9098A0); }
.voice-body { padding: 16px; }
.voice-excerpt { font-size: 13px; line-height: 1.7; color: var(--charcoal); margin-bottom: 12px; }
.voice-meta-tag { background: var(--cream); color: var(--orange); font-size: 10px; padding: 4px 12px; border-radius: 20px; display: inline-block; }

/* ===== SERVICE TABLE ===== */
.service-section { background: var(--card-bg); padding: 48px 20px; }
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 400px; }
.compare-table thead tr { background: var(--blue-dark); color: white; }
.compare-table thead th { padding: 12px 8px; text-align: center; font-weight: 400; font-size: 12px; }
.compare-table thead th:first-child { background: var(--blue-gray); width: 80px; }
.compare-table td { padding: 12px 8px; border-bottom: 1px solid var(--blue-pale); text-align: center; vertical-align: middle; color: var(--gray); font-size: 11px; line-height: 1.6; }
.compare-table td:first-child { background: var(--blue-dark); color: white; font-size: 11px; font-weight: 500; }
.compare-table td.highlight-col { color: var(--charcoal); font-weight: 500; }

/* ===== FLOW ===== */
.flow-section { background: var(--section-bg); padding: 0 20px 40px; }
.flow-card { background: white; border-radius: 20px; padding: 32px 24px; }
.flow-card-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--blue-dark); letter-spacing: 0.1em; margin-bottom: 4px; }
.flow-card-sub { font-size: 13px; color: var(--gray); margin-bottom: 16px; }
.flow-card-body { font-size: 14px; line-height: 2; color: var(--gray); }
.flow-step-v { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; position: relative; }
.flow-step-v::before { content: ''; position: absolute; left: 23px; top: 46px; width: 2px; height: calc(100% + 0px); background: var(--blue-pale); }
.flow-step-v:last-child::before { display: none; }
.flow-num-v { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-dark); color: white; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.flow-step-text { padding-top: 10px; }
.flow-step-text h4 { font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 400; color: var(--charcoal); margin-bottom: 4px; }
.flow-step-text p { font-size: 12px; color: var(--gray); line-height: 1.8; }

/* ===== PLAN ===== */
.plan-section { background: var(--section-bg); padding: 0 20px 40px; }
.plan-card-big { background: white; border-radius: 20px; padding: 32px 24px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.plan-item { background: var(--section-bg); border-radius: 12px; padding: 20px 16px; text-align: center; }
.plan-item.featured { background: var(--blue-dark); color: white; }
.plan-item-tag { font-size: 9px; letter-spacing: 0.15em; color: var(--blue-dark); background: var(--blue-pale); padding: 2px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.plan-item.featured .plan-item-tag { background: rgba(255,255,255,0.2); color: white; }
.plan-item-name { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 400; color: var(--charcoal); margin-bottom: 8px; line-height: 1.3; }
.plan-item.featured .plan-item-name { color: white; }
.plan-item-desc { font-size: 10px; color: var(--gray); line-height: 1.6; }
.plan-item.featured .plan-item-desc { color: rgba(255,255,255,0.7); }
.payment-info { text-align: center; font-size: 12px; color: var(--gray); margin-top: 20px; padding: 16px; background: var(--section-bg); border-radius: 8px; }

/* ===== CASE ===== */
.case-section { background: var(--blue-dark); padding: 48px 20px; }
.case-check { background: var(--cream-light); border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--charcoal); }
.check-circle { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-dark); display: flex; align-items: center; justify-content: center; color: white; font-size: 12px; flex-shrink: 0; }
.case-counseling-box { background: var(--orange); border-radius: 12px; padding: 24px; text-align: center; color: white; margin: 24px 0; }
.case-counseling-box p { font-size: 14px; line-height: 1.8; font-weight: 500; }
.case-result-item { background: var(--blue-dark); border: 1px solid rgba(255,255,255,0.2); border-radius: 40px; padding: 14px 20px; color: white; font-size: 14px; font-weight: 500; text-align: center; margin-bottom: 12px; }
.case-result-detail { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.75); margin-bottom: 20px; padding: 0 4px; }
.case-cta-w { display:block; background:rgba(255,255,255,0.15); color:white; padding:18px; border-radius:40px; font-size:14px; text-decoration:none; letter-spacing:0.1em; text-align:center; }
.case-cta-m { display:block; background:var(--orange); color:white; padding:18px; border-radius:40px; font-size:14px; text-decoration:none; font-weight:500; letter-spacing:0.1em; margin-bottom:12px; text-align:center; }

/* ===== NEWS ===== */
.news-section { background: var(--card-bg); padding: 48px 20px; border-radius: 24px 24px 0 0; }
.news-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--blue-pale); text-decoration: none; color: inherit; }
.news-date { font-size: 12px; color: var(--blue-dark); white-space: nowrap; font-family: 'Cormorant Garamond', serif; letter-spacing: 0.05em; margin-top: 1px; }
.news-text { font-size: 13px; line-height: 1.6; color: var(--charcoal); }

/* ===== BLOG ===== */
.blog-section { background: var(--card-bg); padding: 48px 20px; }
.blog-item { display: flex; gap: 0; align-items: stretch; margin-bottom: 16px; text-decoration: none; color: inherit; background: white; border-radius: 12px; overflow: hidden; }
.blog-thumb { width: 80px; height: 70px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bt-1 { background: linear-gradient(135deg, #D8C8C0, #B0908A); }
.bt-2 { background: linear-gradient(135deg, #C8C8D8, #9090B0); }
.bt-3 { background: linear-gradient(135deg, #C8D8C0, #90A888); }
.blog-info { padding: 12px 12px 12px; flex: 1; }
.blog-date { font-size: 10px; color: var(--blue-dark); letter-spacing: 0.06em; margin-bottom: 6px; font-family: 'Cormorant Garamond', serif; }
.blog-title { font-family: 'Noto Serif JP', serif; font-size: 13px; font-weight: 400; line-height: 1.6; color: var(--charcoal); }

/* ===== CONTACT ===== */
.contact-section { background: var(--blue-dark); border-radius: 24px 24px 0 0; padding: 48px 20px; margin-top: 8px; }
.contact-section .section-en-label { color: rgba(255,255,255,0.5); }
.contact-section .section-big-en { color: rgba(255,255,255,0.15); }
.contact-section .section-title-jp { color: white; }
.contact-body { font-size: 14px; line-height: 2; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.contact-btn { display: flex; align-items: center; justify-content: space-between; background: var(--cream-light); border-radius: 12px; padding: 16px 20px; text-decoration: none; color: var(--charcoal); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.contact-btn::after { content: '→'; color: var(--gray); }
.contact-tel-box { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 12px; }
.contact-tel-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; margin-bottom: 8px; }
.contact-tel-num { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 300; color: white; letter-spacing: 0.08em; text-decoration: none; display: block; }
.contact-hours { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; line-height: 1.7; }
.contact-addr { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 20px; line-height: 1.9; }

/* ===== FOOTER ===== */
footer { background: var(--charcoal); padding: 40px 20px 80px; }
.footer-logo { font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 300; color: white; letter-spacing: 0.12em; margin-bottom: 20px; }
.footer-logo span { color: #C87090; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 24px; }
.footer-nav a { font-size: 11px; color: rgba(255,255,255,0.4); text-decoration: none; padding: 6px 0; letter-spacing: 0.04em; min-width: 45%; }
.footer-sns { display: flex; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-sns a { font-size: 11px; color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-ibj { font-size: 10px; color: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.1); padding: 6px 12px; display: inline-block; margin-bottom: 24px; }
.footer-copy { font-size: 10px; color: rgba(255,255,255,0.25); }

/* ===== BLOG/PAGE CONTENT ===== */
.page-content, .single-content {
  background: white;
  padding: 40px 20px;
  margin-top: 56px;
  min-height: 60vh;
}
.page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--blue-pale);
}
.entry-content { font-size: 14px; line-height: 2.2; color: var(--gray); }
.entry-content h2 { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 400; color: var(--charcoal); margin: 32px 0 16px; }
.entry-content h3 { font-size: 16px; font-weight: 500; color: var(--blue-dark); margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content img { border-radius: 8px; margin: 16px 0; }

/* ===== BLOG ARCHIVE ===== */
.archive-section { padding: 32px 20px; }
.archive-grid { display: flex; flex-direction: column; gap: 16px; }

/* ===== FADE ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== POPUP ===== */
.sk-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.sk-popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.sk-popup-box {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.sk-popup-overlay.active .sk-popup-box {
  transform: translateY(0) scale(1);
}

/* 閉じるボタン */
.sk-popup-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--charcoal);
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  line-height: 1;
}

/* 上部ピンク帯 */
.sk-popup-top {
  background: linear-gradient(135deg, #E87090, #C85070);
  padding: 24px 20px 20px;
  text-align: center;
  color: white;
}
.sk-popup-top-small {
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  opacity: 0.9;
}
.sk-popup-top-small strong {
  font-size: 18px;
  font-weight: 700;
  color: #FFE040;
  margin: 0 2px;
}
.sk-popup-top-big {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}
.sk-popup-top-big span {
  font-size: 26px;
  font-weight: 700;
  display: block;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ボディ */
.sk-popup-body {
  padding: 20px 20px 16px;
  background: #FBF5F7;
}
.sk-popup-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.sk-popup-icon { font-size: 28px; }
.sk-popup-icon-main { font-size: 44px; }

.sk-popup-list {
  list-style: none;
  margin-bottom: 14px;
}
.sk-popup-list li {
  font-size: 13px;
  color: var(--charcoal);
  padding: 6px 0;
  border-bottom: 1px dashed #E0D0D8;
  line-height: 1.5;
}
.sk-popup-list li:last-child { border-bottom: none; }

.sk-popup-note {
  text-align: center;
  font-size: 11px;
  color: var(--gray);
  line-height: 1.8;
  background: white;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #E0D0D8;
}

/* CTAボタン */
.sk-popup-btns {
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sk-popup-btn {
  display: block;
  text-align: center;
  padding: 14px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.2s;
}
.sk-popup-btn:active { transform: scale(0.98); opacity: 0.85; }
.sk-popup-btn-w {
  background: linear-gradient(135deg, #E87090, #C85070);
  color: white;
}
.sk-popup-btn-m {
  background: var(--charcoal);
  color: white;
}

/* 今は閉じる */
.sk-popup-close-text {
  text-align: center;
  font-size: 11px;
  color: var(--light-gray);
  padding: 8px 16px 16px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* end of styles */

/* ========================================
   PC レイアウト（769px以上）
   ======================================== */
@media (min-width: 769px) {

  /* ボディ */
  body { padding-bottom: 0; font-size: 15px; }

  /* フロートボタン非表示（PC不要） */
  .float-btns { display: none; }

  /* サイドバー調整 */
  .fixed-sidebar { display: flex; }

  /* ===== HEADER ===== */
  header {
    padding: 0 40px;
    height: 68px;
  }
  .logo-main { font-size: 16px; }
  .hamburger { display: none; }

  /* PCナビを追加 */
  .pc-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .pc-nav a {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--charcoal);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
  }
  .pc-nav a:hover { color: var(--blue-dark); }
  .pc-nav-cta {
    display: flex;
    gap: 8px;
    margin-left: 8px;
  }
  .pc-nav-cta a {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 4px;
  }
  .pc-nav-cta-m { background: var(--charcoal); color: white !important; }
  .pc-nav-cta-w { background: #C87090; color: white !important; }

  /* ===== HERO SLIDESHOW ===== */
  .hero-slideshow { height: 80vh; min-height: 500px; max-height: 750px; }
  .hero-slide-text { bottom: 60px; left: 80px; right: auto; }
  .hero-slide-text .hero-catch-small { font-size: 18px; }
  .hero-slide-text .hero-catch-big { font-size: 52px; }

  /* ===== AWARD ===== */
  .award-section { padding: 48px 10%; text-align: center; }
  .award-badge {
    display: inline-block;
    text-align: center;
  }
  .award-badge > * { flex-shrink: 0; }
  .award-note { margin-top: 0; flex: 1; font-size: 12px; }

  /* ===== SUPPORT INTRO ===== */
  .support-intro {
    padding: 64px 10%;
    display: flex;
    align-items: center;
    gap: 64px;
  }
  .support-intro-title { font-size: 22px; margin-bottom: 0; flex: 1; }
  .support-intro-right { flex-shrink: 0; }
  .support-stats { margin-bottom: 12px; }
  .stat-circle { width: 110px; height: 110px; }

  /* ===== REASON ===== */
  .reason-section { padding: 80px 10%; }
  .reason-section .section-header { margin-bottom: 40px; }
  .reason-section { 
    padding: 80px 10%;
    display: block;
  }
  .reason-section .section-header,
  .reason-section .more-btn { display: block; }
  .reason-items-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0 32px;
  }
  .reason-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    text-align: center;
  }
  .reason-num { text-align: center; }
  .reason-photo { width: 140px; height: 140px; margin: 0 auto 20px; }
  .reason-title { font-size: 18px; }
  .reason-tags { justify-content: center; }

  /* ===== MESSAGE ===== */
  .message-section {
    padding: 80px 10%;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
  }
  .message-photo { max-width: 280px; margin: 0; aspect-ratio: 3/4; }

  /* ===== RECORD ===== */
  .record-section { padding: 80px 10%; border-radius: 0; }
  .record-section .section-header { margin-bottom: 40px; }
  .record-items-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 40px;
  }
  .record-item {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid var(--blue-pale);
    padding-right: 32px;
    width: 100%;
  }
  .record-item:last-child { border-right: none; padding-right: 0; }
  .record-photo { width: 80px; height: 80px; margin-bottom: 16px; }
  .record-text h3 { text-align: center; font-size: 17px; }
  .record-text p { text-align: center; }

  /* ===== VOICE ===== */
  .voice-section { padding: 80px 10%; }
  .voice-scroll { overflow-x: visible; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .voice-card { min-width: auto; }

  /* ===== SERVICE ===== */
  .service-section { padding: 80px 10%; }
  .compare-table { font-size: 13px; display: table; }
  .compare-table th { padding: 16px 20px; font-size: 14px; }
  .compare-table td { padding: 16px 20px; font-size: 13px; }

  /* ===== FLOW ===== */
  .flow-section { padding: 0 10% 80px; }
  .flow-card { padding: 48px; }
  .flow-steps-pc {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 40px;
  }
  .flow-steps-pc::before {
    content: '';
    position: absolute;
    top: 23px; left: 10%; right: 10%;
    height: 2px;
    background: var(--blue-pale);
    z-index: 0;
  }
  .flow-step-v {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
  }
  .flow-step-v::before { display: none; }
  .flow-num-v { margin-bottom: 16px; }
  .flow-step-text { padding-top: 0; }

  /* ===== PLAN ===== */
  .plan-section { padding: 0 10% 80px; }
  .plan-card-big { padding: 48px; }
  .plan-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  /* ===== CASE ===== */
  .case-section { padding: 80px 10%; }
  .case-checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
  }
  .case-result-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .case-result-item { margin-bottom: 8px; }
  .case-result-detail { font-size: 12px; }
  .case-btns-pc {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
  }
  .case-cta-m, .case-cta-w {
    display: inline-block;
    width: auto;
    padding: 16px 40px;
    margin-bottom: 0;
  }

  /* ===== NEWS ===== */
  .news-section { padding: 64px 10%; border-radius: 0; }

  /* ===== BLOG ===== */
  .blog-section { padding: 64px 10%; }
  .blog-list-pc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
  }
  .blog-item {
    flex-direction: row;
    border-radius: 12px;
  }
  .blog-thumb {
    width: 90px !important;
    height: 75px !important;
    flex-shrink: 0;
  }
  .blog-info { padding: 16px; }

  /* ===== CONTACT ===== */
  .contact-section {
    padding: 80px 10%;
    border-radius: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .contact-section > div { grid-column: span 2; }
  .contact-section > div:nth-child(1) { grid-column: 1; }
  .contact-btns-pc { grid-column: 2; }

  /* ===== FOOTER ===== */
  footer {
    padding: 64px 10% 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
  }
  .footer-logo { font-size: 18px; }
  .footer-nav {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  .footer-nav a { min-width: 33%; }
  .footer-sns {
    grid-column: 1;
  }
  .footer-ibj, .footer-copy {
    grid-column: 1 / -1;
  }
}

/* PC nav デフォルト非表示（モバイル） */
.pc-nav { display: none; }

@media (min-width: 769px) {
  .pc-nav { display: flex; align-items: center; gap: 20px; }
  .hamburger { display: none; }
}

/* Record items wrap - スマホでは縦並び */
@media (max-width: 768px) {
  .record-items-wrap { flex-direction: column !important; }
  .record-items-wrap .record-item { border-right: none !important; border-bottom: 1px solid var(--blue-pale); padding: 24px 0 !important; }
  .record-items-wrap .record-item:last-child { border-bottom: none; }
}
