/* ========================================
   ぎんカフェグループ LP - style.css
   ======================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.8; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section Base ---- */
.section {
  padding: 80px 0;
}
.section-gray { background: #f7f7f7; }
.section-red {
  background: #D32F2F;
  color: #fff;
}
.section-dark {
  background: #1a1a1a;
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-en {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #D32F2F;
  margin-bottom: 8px;
}
.section-red .section-en,
.section-dark .section-en {
  color: rgba(255,255,255,0.7);
}
.section-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.section-line {
  width: 50px;
  height: 3px;
  background: #D32F2F;
  margin: 0 auto 20px;
  border-radius: 2px;
}
.section-line.white { background: #fff; }
.section-lead {
  font-size: 0.95rem;
  line-height: 1.9;
  opacity: 0.85;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}
.btn-primary {
  background: #D32F2F;
  color: #fff;
  border: 2px solid #D32F2F;
}
.btn-primary:hover {
  background: #b71c1c;
  border-color: #b71c1c;
  opacity: 1;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
}
.btn-white {
  background: #fff;
  color: #D32F2F;
  border: 2px solid #fff;
}
.btn-white:hover {
  background: #f5f5f5;
  opacity: 1;
}
.btn-block {
  display: block;
  width: 100%;
}
.btn-large {
  padding: 18px 56px;
  font-size: 1.1rem;
}

/* ---- Fade In ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HEADER
   ======================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  transition: box-shadow 0.3s;
}
#header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-logo {
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: auto;
}
.header-nav {
  flex: 1;
}
.header-nav ul {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.header-nav a {
  font-size: 0.97rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.03em;
  padding: 4px 0;
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #D32F2F;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.header-nav a:hover::after { transform: scaleX(1); }
.header-cta {
  flex-shrink: 0;
  padding: 12px 26px;
  background: #D32F2F;
  color: #fff;
  border-radius: 4px;
  font-size: 0.97rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover { background: #b71c1c; opacity: 1; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================
   HERO
   ======================================== */
#hero {
  position: relative;
  height: calc(100vh + 80px);
  min-height: 720px;
  display: flex;
  align-items: center;
  margin-top: 76px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.10) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 700px;
  color: #fff;
}
.hero-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: #D32F2F;
}
.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-title-accent {
  color: #FF6B6B;
}
.hero-sub {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFD600;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.stat-unit {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFD600;
}
.stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   CATCH COPY
   ======================================== */
.catch-section {
  background: #fff;
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.catch-tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catch-tag {
  display: inline-block;
  background: #D32F2F;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  padding: 8px 28px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.catch-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.catch-main {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.8;
  margin-bottom: 36px;
}
.catch-main strong {
  color: #D32F2F;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  display: block;
  margin-top: 4px;
}
.catch-btn {
  display: inline-block;
}

/* ========================================
   NEWS TICKER
   ======================================== */
.news-ticker {
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  background: #D32F2F;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
}
.ticker-content {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-size: 0.85rem;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   GREETING
   ======================================== */
.greeting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.greeting-text h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: #D32F2F;
  margin-bottom: 24px;
  line-height: 1.6;
}
.greeting-text p {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #444;
}
.greeting-sign {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.sign-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.sign-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: #333;
}
/* 右カラム */
.greeting-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.greeting-photo {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.greeting-logo-wrap {
  margin-top: 20px;
  width: 80%;
  max-width: 320px;
}
.greeting-logo {
  width: 100%;
  height: auto;
}
/* 電話番号カード（ロゴの下） */
.greeting-contact-card {
  margin-top: 20px;
  width: 100%;
  background: #f9f9f9;
  border-left: 3px solid #D32F2F;
  border-radius: 4px;
  padding: 20px;
}
.contact-card-place {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}
.contact-card-address {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 12px;
}
.contact-card-tel {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #D32F2F;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.contact-card-tel i {
  font-size: 1.1rem;
  margin-right: 6px;
}
.contact-card-hours {
  font-size: 0.78rem;
  color: #888;
}

/* ========================================
   REASONS - 2カラム大型カード
   ======================================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.reason-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.reason-num-badge {
  flex-shrink: 0;
  width: 64px;
  background: #D32F2F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.reason-img {
  width: 160px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.reason-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reason-body h3 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #1a1a1a;
  line-height: 1.5;
}
.reason-body p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
}

/* ========================================
   FLOW - 2段おしゃれレイアウト
   ======================================== */
.flow-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.flow-item {
  background: #fff;
  border-radius: 12px;
  padding: 28px 16px 24px;
  text-align: center;
  margin: 0 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.flow-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(211,47,47,0.15);
}
.flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 11px solid #D32F2F;
  z-index: 2;
}
.flow-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  color: #D32F2F;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  background: #fff3f3;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
}
.flow-icon {
  font-size: 1.8rem;
  color: #D32F2F;
  margin-bottom: 10px;
}
.flow-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}
.flow-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  color: #bbb;
  letter-spacing: 0.12em;
}
.flow-arrow,
.flow-arrow-break,
.flow-arrow-rev {
  display: none;
}
.flow-divider {
  text-align: center;
  color: #D32F2F;
  font-size: 1.8rem;
  margin: -16px 0;
}


/* ========================================
   LINEUP
   ======================================== */
.lineup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.lineup-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.lineup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}
.lineup-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #D32F2F;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 1;
}
.lineup-badge-gold {
  background: #b8860b;
}
.lineup-img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #f5f5f5;
  padding: 8px 0;
}
.lineup-body {
  padding: 28px;
}
.lineup-name {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.lineup-catch {
  font-size: 0.85rem;
  color: #D32F2F;
  font-weight: 700;
  margin-bottom: 20px;
}
.lineup-features {
  margin-bottom: 24px;
}
.lineup-features li {
  font-size: 0.85rem;
  color: #555;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.lineup-features li i {
  color: #D32F2F;
  margin-top: 3px;
  flex-shrink: 0;
}
.lineup-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  padding: 16px;
  background: #fff8f8;
  border-radius: 6px;
}
.price-label {
  font-size: 0.8rem;
  color: #888;
}
.price-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #D32F2F;
}
.price-suffix {
  font-size: 0.85rem;
  color: #888;
}

/* ========================================
   LOAN
   ======================================== */
.loan-content {
  text-align: center;
}
.loan-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.loan-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.loan-label {
  font-size: 0.9rem;
  opacity: 0.8;
}
.loan-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.loan-value strong {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}
.loan-value small {
  font-size: 1.5rem;
}
.loan-plus {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  opacity: 0.6;
}
.loan-desc {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.9;
  margin-bottom: 36px;
}

/* ========================================
   RECOMMEND
   ======================================== */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recommend-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.25s;
}
.recommend-card:hover { transform: translateY(-4px); }
.recommend-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fafafa;
  padding: 8px;
  margin-bottom: 16px;
}
.recommend-card p {
  font-size: 1rem;
  line-height: 1.7;
  padding: 0 16px;
  color: #444;
}
.recommend-card strong { color: #D32F2F; }

/* ========================================
   VOICES
   ======================================== */
.voices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.voice-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.video-wrap {
  position: relative;
  padding-top: 56.25%;
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.voice-body {
  padding: 24px;
}
.voice-tag {
  display: inline-block;
  background: #fff3f3;
  color: #D32F2F;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.voice-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #1a1a1a;
}
.voice-name {
  font-size: 0.82rem;
  color: #888;
}

/* ========================================
   MENU
   ======================================== */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.menu-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.25s;
}
.menu-card:hover { transform: translateY(-4px); }
.menu-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.menu-body {
  padding: 24px;
}
.menu-body h3 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: #fff;
}
.menu-body p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #D32F2F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}
.contact-card h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.contact-tel {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #D32F2F;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.82rem;
  color: #666;
  margin-top: 8px;
}
.contact-cta {
  background: linear-gradient(135deg, #D32F2F 0%, #b71c1c 100%);
  border-radius: 12px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
}
.contact-cta h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.contact-cta p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo p {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-info p {
  font-size: 0.82rem;
  margin-bottom: 6px;
  line-height: 1.6;
}
.footer-info a {
  color: #FF6B6B;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #FF6B6B; opacity: 1; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ========================================
   FLOATING BUTTONS (PC)
   ======================================== */
.float-btns {
  position: fixed;
  right: 24px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 950;
}
.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.float-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 1;
}
.float-btn-mail {
  background: #D32F2F;
}
.float-btn-line {
  background: #06C755;
}
.float-btn i {
  font-size: 1.4rem;
}
.line-icon {
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
}
.float-btn span {
  display: block;
}

/* ========================================
   FLOATING FOOTER (SP only)
   ======================================== */
.float-footer-sp {
  display: none;
}

/* ========================================
   SCROLL TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #D32F2F;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(211,47,47,0.4);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover { transform: translateY(-3px); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .reason-img { width: 120px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-item::after { display: none; }
  .flow-item { margin: 0; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Floating buttons: PC非表示→SP固定フッターに切替 */
  .float-btns { display: none; }
  .float-footer-sp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    height: 60px;
  }
  .float-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .float-footer-mail {
    background: #D32F2F;
  }
  .float-footer-line {
    background: #06C755;
  }
  .float-footer-btn i { font-size: 1.1rem; }
  .line-icon-sm {
    width: 1.2rem;
    height: 1.2rem;
  }
  /* フッター固定バー分の余白 */
  #footer { padding-bottom: 60px; }

  /* TOPへ戻るボタンを固定バーの上に */
  .scroll-top {
    bottom: 72px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  /* Header */
  .header-nav { display: none; }
  .header-nav.open {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .header-nav.open ul {
    flex-direction: column;
    gap: 0;
  }
  .header-nav.open a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-content { padding: 0 24px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }

  /* Greeting */
  .greeting-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Reasons */
  .reasons-grid { grid-template-columns: 1fr; }
  .reason-card { flex-direction: column; }
  .reason-num-badge { width: 100%; height: 40px; writing-mode: horizontal-tb; font-size: 0.9rem; }
  .reason-img { width: 100%; height: 180px; }

  /* Lineup */
  .lineup-grid { grid-template-columns: 1fr; }

  /* Flow */
  .flow-rows { gap: 20px; }
  .flow-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow-item::after { display: none; }
  .flow-item { margin: 0; }

  /* Voices */
  .voices-grid { grid-template-columns: 1fr; }

  /* Menu */
  .menu-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-cards { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .hero-title { font-size: 1.9rem; }
  .loan-value strong { font-size: 2.8rem; }
  .recommend-grid { grid-template-columns: 1fr 1fr; }
}
