/* ================================================
   障害福祉サービス ほっぷ - style.css
   ================================================ */

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

/* ── CSS Variables ── */
:root {
  --blue:        #3d87b8;
  --blue-dark:   #2d6a94;
  --blue-light:  #e8f4fd;
  --orange:      #f5a623;
  --orange-dark: #d4891a;
  --orange-light:#fff8ec;
  --green:       #5eaa4c;
  --green-dark:  #4a8c3a;
  --green-light: #eef7eb;
  --white:       #ffffff;
  --bg:          #fafaf8;
  --text:        #333333;
  --text-light:  #666666;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   32px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.12);
  --font-main:   'Noto Sans JP', sans-serif;
  --font-display:'Zen Maru Gothic', sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position:  200% center; }
}
@keyframes petal {
  0%   { transform: translateY(-10px) rotate(0deg);   opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(120vh) rotate(720deg); opacity: 0; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);    opacity: .6; }
  100% { transform: scale(1.6);  opacity: 0;  }
}

.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Floating petals decoration ── */
.petal {
  position: fixed;
  pointer-events: none;
  font-size: 1.4rem;
  z-index: 0;
  animation: petal linear infinite;
}

/* ── Header ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(93,170,76,.2);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.header-logo img {
  height: 56px;
  width: auto;
}
.header-logo-text {
  line-height: 1.3;
}
.header-logo-text .name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .03em;
}
.header-logo-text .sub {
  font-size: .72rem;
  color: var(--text-light);
  font-weight: 400;
}
nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  padding: .3rem .5rem;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
nav a:hover { color: var(--blue); background: var(--blue-light); }
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: .45rem 1.1rem !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 12px rgba(245,166,35,.35);
  transition: transform .2s, box-shadow .2s !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(245,166,35,.45) !important; background: var(--orange-dark) !important; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 70% 40%, rgba(245,166,35,.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(94,170,76,.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 90%, rgba(61,135,184,.08) 0%, transparent 60%),
    var(--bg);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
}
.hero-blob-1 { width: 500px; height: 500px; background: var(--blue-light); top: -100px; right: -150px; }
.hero-blob-2 { width: 350px; height: 350px; background: var(--orange-light); bottom: -80px; left: -100px; }
.hero-blob-3 { width: 280px; height: 280px; background: var(--green-light); top: 40%; right: 15%; }

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { animation: fadeUp .8s ease .1s both; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--green-light);
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  letter-spacing: .05em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 1rem;
}
.hero-title .accent { color: var(--blue); }
.hero-title .accent-orange { color: var(--orange); }
.hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.9;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.8rem;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(61,135,184,.35);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(61,135,184,.4); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.8rem;
  border-radius: 100px;
  border: 2px solid var(--blue);
  transition: background .2s, color .2s, transform .2s;
}
.btn-secondary:hover { background: var(--blue-light); transform: translateY(-3px); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp .8s ease .3s both;
}
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.15) 0%, transparent 70%);
  animation: pulse-ring 3s ease-out infinite;
}
.hero-logo-wrap img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(61,135,184,.2));
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.stat {
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.stat-num span { font-size: 1rem; }
.stat-label { font-size: .78rem; color: var(--text-light); margin-top: .2rem; }

/* ── Section Common ── */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  border: 1.5px solid rgba(245,166,35,.4);
  padding: .25rem .9rem;
  border-radius: 100px;
  margin-bottom: .9rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: .8rem;
}
.section-title .hl { color: var(--blue); }
.section-desc { font-size: .97rem; color: var(--text-light); max-width: 540px; margin: 0 auto; }

/* ── About ── */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-bg {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 40% 60% 55% 45% / 45% 45% 55% 55%;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 50%, var(--orange-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}
.about-img-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.3) 100%);
}
.about-content {}
.about-lead {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.about-text {
  color: var(--text-light);
  line-height: 2;
  font-size: .96rem;
  margin-bottom: 1.5rem;
}
.about-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .94rem;
}
.about-points li .icon {
  width: 26px;
  height: 26px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: .2rem;
}

/* ── Features ── */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.feature-card.blue::before  { background: var(--blue); }
.feature-card.orange::before { background: var(--orange); }
.feature-card.green::before { background: var(--green); }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(61,135,184,.15);
}
.feature-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
}
.feature-desc {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ── Flow ── */
.flow { background: var(--white); }
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}
.flow-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 2rem;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
}
.flow-step:last-child::before { display: none; }
.flow-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(61,135,184,.35);
}
.flow-step-content { padding-top: .4rem; }
.flow-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .35rem;
}
.flow-step-desc {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ── Voice / Testimonials ── */
.voices { background: linear-gradient(135deg, var(--blue-light) 0%, var(--green-light) 100%); }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.voice-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.voice-card::before {
  content: '"';
  position: absolute;
  top: .5rem; left: 1rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--blue-light);
  line-height: 1;
  pointer-events: none;
}
.voice-text {
  font-size: .93rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.voice-author {
  font-size: .82rem;
  color: var(--text-light);
  font-weight: 700;
}
.voice-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .74rem;
  font-weight: 700;
  padding: .15rem .7rem;
  border-radius: 100px;
  margin-left: .5rem;
}

/* ── FAQ ── */
.faq { background: var(--bg); }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(61,135,184,.12);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-main);
  font-size: .96rem;
  font-weight: 700;
  color: var(--text);
  transition: background .2s;
}
.faq-q:hover { background: var(--blue-light); }
.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}
.faq-q-arrow {
  margin-left: auto;
  transition: transform .3s;
  color: var(--blue);
}
.faq-item.open .faq-q-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 1.4rem;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: .5rem 1.4rem 1.2rem;
}
.faq-a p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.9;
  border-top: 1px solid rgba(61,135,184,.1);
  padding-top: .8rem;
}

/* ── Access ── */
.access { background: var(--white); }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.access-info { }
.access-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.2rem;
}
.access-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.access-table tr { border-bottom: 1px solid rgba(61,135,184,.12); }
.access-table tr:last-child { border-bottom: none; }
.access-table th {
  padding: .75rem .5rem;
  text-align: left;
  font-weight: 700;
  color: var(--blue);
  width: 30%;
  vertical-align: top;
}
.access-table td {
  padding: .75rem .5rem;
  color: var(--text-light);
  line-height: 1.7;
}
.access-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--blue-light);
  height: 380px;
}

/* ── Contact / CTA ── */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245,166,35,.15) 0%, transparent 50%);
}
.cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.cta-desc {
  font-size: 1rem;
  opacity: .85;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn-primary {
  background: var(--orange);
  box-shadow: 0 4px 20px rgba(245,166,35,.45);
}
.cta .btn-primary:hover { background: var(--orange-dark); }
.cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.cta .btn-secondary:hover { background: rgba(255,255,255,.15); border-color: white; }
.cta-contact-info {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-tel {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.cta-tel small { font-size: .85rem; display: block; opacity: .75; font-family: var(--font-main); font-weight: 400; letter-spacing: 0; }

/* ── Footer ── */
footer {
  background: #1a3a52;
  color: rgba(255,255,255,.75);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}
.footer-brand img { height: 60px; margin-bottom: 1rem; }
.footer-brand p {
  font-size: .85rem;
  line-height: 1.8;
  opacity: .75;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .9rem;
  letter-spacing: .05em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a { font-size: .85rem; opacity: .7; transition: opacity .2s; }
.footer-col ul a:hover { opacity: 1; color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  opacity: .55;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ── Scroll-to-top ── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; text-align: center; }
  .hero-visual      { order: -1; }
  .hero-logo-wrap img { width: 220px; height: 220px; }
  .hero-btns        { justify-content: center; }
  .hero-stats       { justify-content: center; }
  .hero-desc        { margin: 0 auto 2rem; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-img-wrap   { display: none; }
  .features-grid    { grid-template-columns: 1fr; }
  .voices-grid      { grid-template-columns: 1fr; }
  .access-grid      { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; }
  nav               { display: none; }
}
@media (max-width: 600px) {
  section           { padding: 3.5rem 1rem; }
  .hero-inner       { padding: 2rem 1rem; }
  .features-grid    { grid-template-columns: 1fr; }
}
