/* ==========================================================================
   コグマ薬局グループ — Design System v4
   Left Sidebar + Circle Images + Color Blocks
   ========================================================================== */

:root {
  --primary:       #F4A6B8;
  --primary-dark:  #E88AA0;
  --primary-deep:  #C76A82;
  --primary-light: #FAD4DD;
  --primary-50:    #FDF0F3;
  --accent:        #E89B6C;
  --accent-light:  #F5D4C0;
  --sub:           #FAE3D9;
  --bg-main:       #FDF8F5;
  --bg-section:    #FBF1EC;
  --white:         #FFFFFF;
  --text-primary:  #1A1A1A;
  --text-secondary:#3C3C3C;
  --text-muted:    #7A7A7A;
  --border:        #F0DDD8;
  --shadow-sm:     0 2px 8px rgba(244, 166, 184, 0.10);
  --shadow-md:     0 8px 24px rgba(244, 166, 184, 0.16);
  --shadow-lg:     0 16px 48px rgba(244, 166, 184, 0.20);

  --sidebar-w:   260px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-sm:   8px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --duration:    0.35s;
  --mobile-h:    68px;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  overflow-y: auto;
}

.sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  text-decoration: none;
}

.sidebar-bear {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.sidebar-name {
  font-family: 'Klee One', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.5;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}

.sidebar-nav-item:hover {
  background: var(--primary-50);
  color: var(--primary-deep);
}

.nav-paw {
  font-size: 12px;
  opacity: 0.6;
}

.sidebar-contact {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 16px;
}

.sidebar-tel-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.sidebar-tel {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.sidebar-line {
  margin-top: 16px;
}

.sidebar-line-btn {
  display: block;
  background: #06C755;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
}

.sidebar-line-btn:hover {
  background: #05b04c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6,199,85,0.3);
}

/* ==========================================================================
   MOBILE HEADER
   ========================================================================== */

.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--mobile-h);
  background: rgba(253, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 40px; height: 40px; object-fit: contain; }
.logo-text {
  font-family: 'Klee One', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.mobile-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Nav Drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--mobile-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-main);
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform var(--duration) var(--ease);
  overflow-y: auto;
  z-index: 999;
}
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav-mobile li a:hover { color: var(--primary-deep); }
.nav-contact { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.nav-contact p { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.nav-contact a { font-size: 18px; font-weight: 700; color: var(--primary-deep); }

/* ==========================================================================
   MAIN WRAPPER
   ========================================================================== */

.main-wrapper {
  margin-left: var(--sidebar-w);
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary-deep);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--duration) var(--ease);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary-white {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--primary-deep);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--duration) var(--ease);
}
.btn-primary-white:hover {
  background: var(--primary-50);
  color: var(--primary-deep);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  transition: color var(--duration) var(--ease);
}
.btn-text:hover { color: var(--primary-deep); }

.btn-text-white {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}
.btn-text-white:hover { color: #fff; }

.btn-text-white-sm {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}
.btn-text-white-sm:hover { color: #fff; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(255,255,255,0.8);
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--duration) var(--ease);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #06C755;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--duration) var(--ease);
}
.btn-line:hover {
  background: #05b04c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.25);
}

/* ==========================================================================
   SECTION LABELS & HEADINGS
   ========================================================================== */

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-deep);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.section-label-white {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.section-heading-block {
  margin-bottom: 56px;
}

.section-heading-block h2 {
  font-family: 'Klee One', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Watanabesan-style outline tag box */
.tag-box {
  display: inline-block;
  border: 2.5px solid rgba(255,255,255,0.9);
  padding: 4px 20px;
  border-radius: 6px;
  font-size: 0.85em;
}

.section-heading-block-dark {
  margin-bottom: 48px;
}

.section-heading-block-dark h2 {
  font-family: 'Klee One', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.section-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(1.0) contrast(1.08) saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 8, 12, 0.88) 0%,
    rgba(15, 8, 12, 0.60) 40%,
    rgba(15, 8, 12, 0.25) 70%,
    rgba(15, 8, 12, 0.05) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 64px 72px;
}

.hero-content {
  max-width: 640px;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.section-hero h1 {
  margin-bottom: 20px;
}

.hero-line-1 {
  display: block;
  font-family: 'Klee One', serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}

.hero-line-2 {
  display: block;
  font-family: 'Klee One', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-line-2 .period {
  color: var(--primary-light);
}

.hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Hero Fade-in */
.hero-content > * {
  opacity: 0;
  animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-sub    { animation-delay: 0.1s; }
.section-hero h1 { animation-delay: 0.25s; }
.hero-lead   { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.55s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 30%;
  background: var(--primary-light);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

/* ==========================================================================
   NEWS TICKER
   ========================================================================== */

.news-ticker {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 64px;
  font-size: 14px;
  transition: background var(--duration) var(--ease);
}

.ticker-item:hover {
  background: var(--primary-50);
}

.ticker-tag {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.ticker-item time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--primary-deep);
  white-space: nowrap;
}

.ticker-title {
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
}

.ticker-arrow {
  color: var(--primary-deep);
  transition: transform var(--duration) var(--ease);
}
.ticker-item:hover .ticker-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.section-about {
  padding: 100px 0;
  background: var(--bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.about-tagline {
  font-family: 'Klee One', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.about-text p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.about-text p:last-of-type { margin-bottom: 28px; }

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.about-img-wrap:hover img {
  transform: scale(1.03);
}

.about-mascot {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--primary-light);
}
.about-mascot img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* ==========================================================================
   SERVICES — Pink Block
   ========================================================================== */

.section-services {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-deep) 0%, #D4729A 50%, #E8537A 100%);
  position: relative;
  overflow: hidden;
}

.section-services::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.section-services::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -60px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

/* Circle grid */
.services-circle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}

.service-circle-item {
  text-align: center;
}

.circle-img-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.circle-img-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.circle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-circle-item .service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.service-circle-item h3 {
  font-family: 'Klee One', serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.service-circle-item p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  margin-bottom: 12px;
}

/* ==========================================================================
   STORES
   ========================================================================== */

.section-stores {
  padding: 100px 0;
  background: var(--bg-main);
}

.store-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
.store-block:last-child { margin-bottom: 0; }

.store-block-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.store-block-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.store-block-img:hover img { transform: scale(1.04); }

.store-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}
.store-num.is-pink { color: var(--primary); }
.store-num.is-orange { color: var(--accent); }

.store-block-info h3 {
  font-family: 'Klee One', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.store-block-info dl { margin-bottom: 24px; }
.store-block-info dt {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
  margin-top: 12px;
}
.store-block-info dt:first-child { margin-top: 0; }
.store-block-info dd {
  font-size: 15px;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.store-block-info dd:last-of-type { border-bottom: none; padding-bottom: 0; }
.store-block-info dd a { color: var(--primary-deep); font-weight: 600; }

/* ==========================================================================
   LINE
   ========================================================================== */

.section-line {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--sub) 0%, #FFF0EA 60%, var(--sub) 100%);
}

.line-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.line-text h2 {
  font-family: 'Klee One', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}
.text-pink { color: var(--primary-deep); }

.line-text > p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.line-steps {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.line-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 18px 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.line-step .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--primary-deep);
  margin-bottom: 6px;
}
.line-step .step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

.line-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.line-qr-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.qr-img { width: 200px; margin: 0 auto 12px; }
.qr-label { font-size: 12px; color: var(--text-muted); }
.qr-bear {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 72px;
  opacity: 0.6;
}

/* ==========================================================================
   NEWS
   ========================================================================== */

.section-news {
  padding: 100px 0;
  background: var(--white);
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-item:hover { padding-left: 10px; }

.news-item time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--primary-deep);
  white-space: nowrap;
  min-width: 90px;
}

.news-tag-badge {
  background: var(--primary-50);
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.news-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   RECRUIT BANNER
   ========================================================================== */

.section-recruit-banner {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.recruit-bg { position: absolute; inset: 0; }
.recruit-bg img { width: 100%; height: 100%; object-fit: cover; }
.recruit-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(199, 106, 130, 0.88) 0%, rgba(232, 155, 108, 0.75) 100%);
}
.recruit-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
  color: #fff;
}
.recruit-content h2 {
  font-family: 'Klee One', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 16px;
}
.recruit-lead {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 36px;
  opacity: 0.92;
}
.recruit-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

/* フッター装飾クマ非表示（フッター内のロゴで代替） */
.footer-bear { display: none; }

.footer {
  background: #2A1F23;
  color: rgba(255,255,255,0.8);
  padding: 72px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-logo-img { width: 44px; height: 44px; object-fit: contain; }
.footer-logo-text {
  font-family: 'Klee One', serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.footer-logo-text small {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
}
.footer-brand > p { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.55); }

.footer-nav h4, .footer-stores h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: var(--primary-light); }

.footer-store-item { margin-bottom: 16px; }
.footer-store-item h5 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.footer-store-item p { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.55); }
.footer-store-item a { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-family: 'Cormorant Garamond', serif; font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 11px; color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: var(--primary-light); }

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */

.line-fab {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 901;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #06C755;
  color: #fff;
  padding: 11px 18px 11px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(6,199,85,0.35);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.line-fab:hover {
  background: #05b04c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.45);
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary-deep);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
.scroll-top::before {
  content: '';
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, 1px);
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet: 768px+ */
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
  .services-circle-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .circle-img-wrap { width: 200px; height: 200px; }
  .store-block { grid-template-columns: 55fr 45fr; gap: 64px; }
  .store-block.is-reverse { grid-template-columns: 45fr 55fr; }
  .store-block.is-reverse .store-block-img { order: 2; }
  .store-block.is-reverse .store-block-info { order: 1; }
  .line-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1.2fr; }
}

/* Mobile: max-width 1023px (sidebar collapses) */
@media (max-width: 1023px) {
  .sidebar { display: none; }
  .mobile-header { display: flex; }
  .nav-mobile { display: block; }
  .main-wrapper { margin-left: 0; padding-top: var(--mobile-h); }

  .section-hero { height: 75vh; }
  .hero-inner { padding: 0 24px 48px; }
  .hero-line-2 { font-size: clamp(32px, 8vw, 44px); }
  .hero-scroll { display: none; }

  .ticker-item { padding: 14px 24px; gap: 12px; }
  .container { padding: 0 24px; }

  .section-about,
  .section-services,
  .section-stores,
  .section-line,
  .section-news { padding: 72px 0; }

  .services-circle-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .circle-img-wrap { width: 140px; height: 140px; }

  .news-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .line-fab { bottom: 72px; right: 16px; }
}

/* Very small screens */
@media (max-width: 480px) {
  .hero-line-2 { font-size: clamp(28px, 9vw, 38px); }
  .services-circle-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .circle-img-wrap { width: 120px; height: 120px; }
  /* LINE steps: 3列横並び固定 */
  .line-steps {
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 10px;
  }
  .line-step {
    min-width: 0;
    padding: 12px 6px;
  }
  .line-step .step-num { font-size: 16px; }
  .line-step .step-label { font-size: 10px; }

  /* QRカードのクマ非表示（QRと被るため） */
  .line-qr-card .qr-bear { display: none; }
  .line-qr-card img.qr-img { width: 100%; max-width: 220px; }

  /* お知らせ見出し: モバイルは左寄せ */
  .heading-a.heading-right { text-align: left; }
  .heading-a.heading-right .heading-line { margin-left: 0; }
  .news-list.news-right { text-align: left; }
}


/* ========== SUB-PAGE STYLES ========== */
.page-header-visual { position: relative; height: 300px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.page-header-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(199,106,130,0.75), rgba(232,155,108,0.6)); }
.page-header-content { position: relative; z-index: 2; text-align: center; }
.page-header-content h1 { font-family: 'Klee One', serif; font-size: clamp(26px, 4vw, 42px); font-weight: 600; color: #fff; }
.page-header-simple { padding: 64px 0; background: var(--bg-section); text-align: center; }
.page-header-simple h1 { font-family: 'Klee One', serif; font-size: clamp(26px, 4vw, 42px); font-weight: 600; }
.breadcrumb { background: var(--bg-main); padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb ol { display: flex; gap: 8px; font-size: 12px; color: var(--text-muted); list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary-deep); }
.content-section { padding: 72px 0; }
.content-section.alt { background: var(--bg-section); }
.heading-a { margin-bottom: 40px; }
.heading-a h2 { font-family: 'Klee One', serif; font-size: clamp(22px, 3vw, 34px); font-weight: 600; }
.heading-line { width: 48px; height: 2px; background: var(--primary); margin-top: 14px; }
.about-statement { max-width: 760px; margin: 0 auto; text-align: center; padding: 80px 24px; }
.about-statement h2 { font-family: 'Klee One', serif; font-size: clamp(22px, 3.5vw, 40px); font-weight: 600; line-height: 1.5; margin-bottom: 20px; }
.about-statement .statement-line { width: 60px; height: 1px; background: var(--primary); margin: 0 auto 32px; }
.about-statement p { font-size: 16px; line-height: 2.1; color: var(--text-secondary); margin-bottom: 16px; text-align: left; }
.about-features { padding: 80px 0; background: var(--bg-section); }
.about-feature-item { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--border); max-width: 860px; margin: 0 auto; }
.about-feature-item:first-child { border-top: 1px solid var(--border); }
.feature-num { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 400; color: var(--primary-light); line-height: 1; }
.about-feature-item h3 { font-family: 'Klee One', serif; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.about-feature-item p { font-size: 15px; line-height: 2; color: var(--text-secondary); }
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question { padding: 24px 28px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: background var(--duration) var(--ease); }
.faq-question:hover { background: var(--primary-50); }
.faq-q { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--primary-deep); flex-shrink: 0; }
.faq-q-text { flex: 1; font-size: 15px; font-weight: 600; }
.faq-toggle { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; background: var(--text-muted); transition: transform var(--duration) var(--ease); }
.faq-toggle::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 28px 24px 64px; border-top: 1px solid var(--border); }
.faq-a { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--primary-deep); padding-top: 16px; margin-bottom: 8px; }
.faq-answer-inner p { font-size: 14px; line-height: 2; color: var(--text-secondary); }
.faq-item.is-open .faq-answer { max-height: 500px; }
.news-full-list { max-width: 840px; margin: 0 auto; }
.news-full-item { padding: 24px 0; border-bottom: 1px solid var(--border); transition: padding-left var(--duration) var(--ease); }
.news-full-item:first-child { border-top: 1px solid var(--border); }
.news-full-item:hover { padding-left: 8px; }
.news-full-item time { display: block; font-family: 'Cormorant Garamond', serif; font-size: 13px; color: var(--primary-deep); margin-bottom: 6px; }
.news-full-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.news-full-item p { font-size: 14px; line-height: 1.9; color: var(--text-secondary); }
.contact-phones { max-width: 840px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1fr; }
.contact-phone-item { padding: 36px; text-align: center; }
.phone-en { font-family: 'Cormorant Garamond', serif; font-size: 12px; letter-spacing: 0.15em; margin-bottom: 6px; }
.contact-phone-item.is-pink .phone-en { color: var(--primary-deep); }
.contact-phone-item.is-orange .phone-en { color: var(--accent); }
.phone-name { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.phone-number { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 500; margin-bottom: 6px; }
.contact-phone-item.is-pink .phone-number a { color: var(--primary-deep); }
.contact-phone-item.is-orange .phone-number a { color: var(--accent); }
.phone-hours { font-size: 12px; color: var(--text-muted); }
.contact-divider { display: none; width: 1px; background: var(--border); }
.contact-line-banner { max-width: 840px; margin: 40px auto 0; background: var(--sub); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.contact-line-en { font-family: 'Cormorant Garamond', serif; font-size: 13px; letter-spacing: 0.15em; color: var(--primary-deep); margin-bottom: 10px; }
.contact-line-text h3 { font-family: 'Klee One', serif; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.contact-line-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.contact-line-qr { text-align: center; }
.contact-line-qr img { width: 110px; margin: 0 auto; }
.form-section { padding: 64px 0; background: var(--bg-section); }
.form-wrapper { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.required { display: inline-block; background: var(--primary); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 4px; margin-left: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 15px; font-family: inherit; background: #fff; transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(244,166,184,0.15); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 12px; color: var(--text-muted); line-height: 1.9; margin-bottom: 28px; }
/* サービスページ: service-item レイアウト */
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  max-width: 960px;
  margin: 0 auto;
}
.service-item:last-child { border-bottom: none; }
.service-item:nth-child(even) .service-item-img { order: 2; }
.service-item:nth-child(even) .service-item-text { order: 1; }
.service-item-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 6px;
}
.service-item h3 {
  font-family: 'Klee One', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.service-item p {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* 採用ページ: 応募の流れ */
.recruit-steps {
  display: flex;
  gap: 16px;
  align-items: stretch;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.recruit-step {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.recruit-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 16px;
  z-index: 1;
}
.recruit-step .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 10px;
}
.recruit-step .step-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.recruit-message { max-width: 680px; margin: 0 auto; text-align: center; padding: 80px 24px; }
.recruit-message h2 { font-family: 'Klee One', serif; font-size: clamp(22px, 3.5vw, 38px); font-weight: 700; line-height: 1.5; margin-bottom: 28px; }
.recruit-message p { font-size: 15px; line-height: 2.1; color: var(--text-secondary); text-align: left; }
.recruit-requirements { max-width: 840px; margin: 0 auto; padding: 64px 24px; }
.recruit-dl { border-top: 1px solid var(--border); }
.recruit-dl-item { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.recruit-dl-item dt { font-size: 13px; font-weight: 600; }
.recruit-dl-item dd { font-size: 15px; line-height: 1.9; color: var(--text-secondary); }
.recruit-cta { background: var(--sub); padding: 64px 24px; text-align: center; }
.recruit-cta h3 { font-family: 'Klee One', serif; font-size: 22px; font-weight: 600; margin-bottom: 28px; }
.recruit-cta-phones { display: flex; justify-content: center; gap: 40px; margin-bottom: 28px; flex-wrap: wrap; }
.recruit-cta-phone .phone-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.recruit-cta-phone .phone-num { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; color: var(--primary-deep); }
.store-section-header { padding: 44px 0 36px; border-top: 3px solid transparent; }
.store-section-header.is-pink { border-color: var(--primary); }
.store-section-header.is-orange { border-color: var(--accent); }
.store-header-inner { display: flex; align-items: center; gap: 24px; }
.store-num-label { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 400; line-height: 1; }
.store-section-header.is-pink .store-num-label { color: var(--primary-light); }
.store-section-header.is-orange .store-num-label { color: #F5D4C0; }
.store-name-label { font-family: 'Klee One', serif; font-size: 28px; font-weight: 600; }
.store-hero { height: 380px; overflow: hidden; }
.store-hero img { width: 100%; height: 100%; object-fit: cover; }
.store-detail { padding: 64px 0; }
.store-detail-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.store-detail dl { border-top: 1px solid var(--border); }
.store-detail-item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.store-detail-item dt { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
.store-detail-item dd { font-size: 15px; line-height: 1.8; }
.store-detail-img { border-radius: var(--radius); overflow: hidden; }
.store-detail-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.store-map { margin-top: 40px; }
.store-map iframe { width: 100%; height: 320px; border: 1px solid var(--border); border-radius: var(--radius); }
.store-divider-bear { text-align: center; padding: 48px 0; }
.store-divider-bear img { height: 52px; opacity: 0.25; margin: 0 auto; }
.privacy-content { max-width: 760px; margin: 0 auto; }
.privacy-content > p { font-size: 15px; line-height: 2.1; color: var(--text-secondary); margin-bottom: 20px; }
.content-heading { margin-top: 40px; margin-bottom: 16px; }
.content-heading h3 { font-family: 'Klee One', serif; font-size: 18px; font-weight: 600; }
.content-list { margin-bottom: 20px; }
.content-list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 2; color: var(--text-secondary); }
.content-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; }
.content-date { margin-top: 28px; text-align: right; color: var(--text-muted); font-size: 12px; }
.disclosure-store-nav { background: var(--bg-section); border-bottom: 1px solid var(--border); }
.disclosure-store-nav .container { display: flex; }
.disclosure-store-tab { display: inline-flex; align-items: center; padding: 14px 24px; font-size: 14px; font-weight: 600; color: var(--text-muted); border-bottom: 3px solid transparent; transition: all var(--duration) var(--ease); }
.disclosure-store-tab:hover { color: var(--primary-deep); border-bottom-color: var(--primary); }
.disclosure-store-section { margin-bottom: 64px; }
.disclosure-store-header { padding: 24px 28px; border-radius: var(--radius); margin-bottom: 32px; }
.disclosure-store-header.is-pink { background: var(--primary-50); border-left: 4px solid var(--primary); }
.disclosure-store-header.is-orange { background: #FDF4ED; border-left: 4px solid var(--accent); }
.disclosure-store-header h2 { font-family: 'Klee One', serif; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.disclosure-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.disclosure-card-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.disclosure-card-header h3 { font-family: 'Klee One', serif; font-size: 17px; font-weight: 600; }
.disclosure-card p, .disclosure-card li { font-size: 14px; line-height: 2; color: var(--text-secondary); }

@media (min-width: 768px) {
  .contact-phones { grid-template-columns: 1fr auto 1fr; }
  .contact-divider { display: block; }
  .contact-line-banner { grid-template-columns: 1fr auto; }
  .recruit-dl-item { grid-template-columns: 180px 1fr; gap: 20px; align-items: baseline; }
  .store-detail-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .store-map iframe { height: 380px; }
  .store-hero { height: 420px; }
  .about-feature-item { grid-template-columns: 100px 1fr; gap: 32px; }
  .feature-num { font-size: 64px; }
}

/* service-meta (SEO/AIO対策: 対象者・費用・特徴) */
.service-meta { margin-top: 24px; padding: 20px 24px; background: var(--primary-50); border-radius: var(--radius); border-left: 4px solid var(--primary); }
.service-meta-list { display: grid; gap: 12px; }
.service-meta-item { display: flex; flex-direction: column; gap: 2px; }
.service-meta-item dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.service-meta-item dd { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
@media (min-width: 768px) {
  .service-meta-item { flex-direction: row; gap: 16px; align-items: baseline; }
  .service-meta-item dt { min-width: 90px; }
}
