/* えがお社労士事務所 - style.css */
/* Soft Pink #FFF0F0 + Mint #4DB6AC */

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .3s, opacity .3s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
/* ==================== Utility ==================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 100px 0;
}
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #4DB6AC;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #222;
}
.section-desc {
  font-size: 1rem;
  color: #666;
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
/* ==================== Fade animation ==================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ==================== Sample banner ==================== */
.sample-banner {
  background: #4DB6AC;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .05em;
  position: relative;
  z-index: 1100;
}
/* ==================== Header ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0);
  transition: all .4s;
  padding-top: 30px;
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  padding-top: 0;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #333;
}
.logo-icon {
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: .85rem;
  font-weight: 500;
  color: #555;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #4DB6AC;
  transition: width .3s;
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}
.nav-cta {
  background: #4DB6AC !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background .3s, transform .3s !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: #3da89b !important;
  transform: translateY(-2px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all .3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #FFF0F0;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,240,240,.85) 0%, rgba(77,182,172,.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 60px;
}
.hero-sub {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: #4DB6AC;
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s;
  border: 2px solid transparent;
}
.btn-primary {
  background: #4DB6AC;
  color: #fff;
  border-color: #4DB6AC;
}
.btn-primary:hover {
  background: #3da89b;
  border-color: #3da89b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77,182,172,.3);
}
.btn-outline {
  background: transparent;
  color: #4DB6AC;
  border-color: #4DB6AC;
}
.btn-outline:hover {
  background: #4DB6AC;
  color: #fff;
  transform: translateY(-2px);
}
.btn-full {
  width: 100%;
}
/* ==================== About ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}
.about-text {
  font-size: .95rem;
  color: #555;
}
.about-text p {
  margin-bottom: 16px;
}
.about-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  border-left: 4px solid #4DB6AC;
  padding-left: 16px;
  margin-bottom: 24px !important;
  line-height: 1.7;
}
.about-image svg {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
/* ==================== Services ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.service-card {
  background: #fff;
  border: 1px solid #f0e8e8;
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(77,182,172,.1);
}
.service-icon {
  margin-bottom: 20px;
}
.service-icon svg {
  width: 52px;
  height: 52px;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}
.service-card p {
  font-size: .9rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-list {
  padding-top: 12px;
  border-top: 1px solid #f0e8e8;
}
.service-list li {
  font-size: .85rem;
  color: #555;
  padding: 6px 0 6px 20px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4DB6AC;
  opacity: .5;
}
/* ==================== Strength ==================== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.strength-card {
  background: #FFF0F0;
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  transition: transform .3s;
}
.strength-card:hover {
  transform: translateY(-4px);
}
.strength-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #4DB6AC;
  opacity: .3;
  line-height: 1;
  margin-bottom: 16px;
}
.strength-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}
.strength-card p {
  font-size: .88rem;
  color: #666;
  line-height: 1.7;
}
/* ==================== Cases ==================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.case-card {
  background: #fff;
  border: 1px solid #f0e8e8;
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform .3s, box-shadow .3s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.case-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: #4DB6AC;
  background: rgba(77,182,172,.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}
.case-card p {
  font-size: .85rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}
.case-result {
  border-top: 1px solid #f0e8e8;
  padding-top: 12px;
  font-size: .82rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-result-label {
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: #4DB6AC;
  padding: 2px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}
/* ==================== Numbers ==================== */
.numbers {
  background: #FFF0F0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.number-card {
  text-align: center;
  padding: 24px 16px;
}
.number-value {
  font-size: 2.8rem;
  font-weight: 900;
  color: #4DB6AC;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.number-unit {
  font-size: 1rem;
  font-weight: 700;
  color: #4DB6AC;
  opacity: .7;
}
.number-label {
  font-size: .85rem;
  color: #666;
  margin-top: 8px;
}
/* ==================== Flow ==================== */
.flow-steps {
  max-width: 700px;
  margin: 48px auto 0;
}
.flow-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #f0e8e8;
  align-items: flex-start;
}
.flow-step:last-child {
  border-bottom: none;
}
.flow-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #4DB6AC;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
  opacity: .6;
}
.flow-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}
.flow-body p {
  font-size: .88rem;
  color: #666;
  line-height: 1.7;
}
/* ==================== CTA Banner ==================== */
.cta-banner {
  background: linear-gradient(135deg, #4DB6AC, #3da89b);
  padding: 80px 0;
}
.cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: .95rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 32px;
  line-height: 1.8;
}
.cta-banner .btn-primary {
  background: #fff;
  color: #4DB6AC;
  border-color: #fff;
}
.cta-banner .btn-primary:hover {
  background: #FFF0F0;
  border-color: #FFF0F0;
}
/* ==================== Topics ==================== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.topic-card {
  background: #fff;
  border: 1px solid #f0e8e8;
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform .3s;
}
.topic-card:hover {
  transform: translateY(-4px);
}
.topic-date {
  font-size: .78rem;
  font-weight: 600;
  color: #4DB6AC;
  margin-bottom: 12px;
}
.topic-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
  line-height: 1.5;
}
.topic-card p {
  font-size: .85rem;
  color: #666;
  line-height: 1.7;
}
/* ==================== Seminar ==================== */
.seminar {
  background: #FFF0F0;
}
.seminar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.seminar-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform .3s;
}
.seminar-card:hover {
  transform: translateY(-4px);
}
.seminar-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: #4DB6AC;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.seminar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}
.seminar-card p {
  font-size: .88rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}
.seminar-info {
  font-size: .82rem;
  color: #4DB6AC;
  font-weight: 600;
}
/* ==================== FAQ ==================== */
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid #f0e8e8;
}
.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  transition: color .3s;
}
.faq-question:hover {
  color: #4DB6AC;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4DB6AC;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.faq-question h3 {
  font-size: .95rem;
  font-weight: 600;
  flex: 1;
  color: #333;
  line-height: 1.5;
}
.faq-toggle {
  font-size: 1.4rem;
  color: #4DB6AC;
  transition: transform .3s;
  flex-shrink: 0;
  font-weight: 300;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 20px 48px;
}
.faq-item.open .faq-answer {
  display: flex;
  gap: 16px;
}
.faq-a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFF0F0;
  color: #4DB6AC;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.faq-answer p {
  font-size: .9rem;
  color: #666;
  line-height: 1.8;
}
/* ==================== Voices ==================== */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.voice-card {
  background: #FFF0F0;
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform .3s;
}
.voice-card:hover {
  transform: translateY(-4px);
}
.voice-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.voice-text {
  font-size: .9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: italic;
}
.voice-author {
  border-top: 1px solid rgba(77,182,172,.2);
  padding-top: 12px;
}
.voice-name {
  font-size: .82rem;
  font-weight: 600;
  color: #333;
}
/* ==================== Access ==================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.access-item {
  margin-bottom: 28px;
}
.access-item h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.access-item p {
  font-size: .88rem;
  color: #666;
  line-height: 1.7;
}
.access-map-placeholder svg {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
/* ==================== Company ==================== */
.company-table {
  max-width: 760px;
  margin: 48px auto 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0e8e8;
}
.company-table table {
  width: 100%;
}
.company-table th,
.company-table td {
  padding: 16px 24px;
  font-size: .9rem;
  border-bottom: 1px solid #f0e8e8;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  background: #FFF0F0;
  font-weight: 600;
  width: 30%;
  color: #333;
}
.company-table td {
  color: #555;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}
/* ==================== Contact ==================== */
.contact {
  background: #FFF0F0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.contact-item strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}
.contact-item p {
  font-size: .88rem;
  color: #666;
  line-height: 1.6;
}
/* ==================== Form ==================== */
.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  border: 1px solid #f0e8e8;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: .9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  transition: border-color .3s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #4DB6AC;
  box-shadow: 0 0 0 3px rgba(77,182,172,.1);
}
.form-group textarea {
  resize: vertical;
}
/* ==================== Footer ==================== */
.footer {
  background: #222;
  color: #999;
  padding: 60px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}
.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: .82rem;
  color: #888;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .82rem;
  color: #999;
  transition: color .3s;
}
.footer-links a:hover {
  color: #4DB6AC;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
}
.footer-credit a {
  color: #4DB6AC;
}
.footer-credit a:hover {
  text-decoration: underline;
}
/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .strength-grid,
  .cases-grid,
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
    transition: right .3s;
    z-index: 999;
  }
  .nav.open {
    right: 0;
  }
  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid #f0e8e8;
    font-size: .95rem;
    width: 100%;
  }
  .nav-cta {
    margin-top: 20px;
    text-align: center;
  }
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section {
    padding: 70px 0;
  }
  .about-grid,
  .contact-grid,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-grid,
  .seminar-grid {
    grid-template-columns: 1fr;
  }
  .strength-grid,
  .cases-grid,
  .topics-grid,
  .voices-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .contact-form {
    padding: 24px;
  }
  .company-table th {
    display: block;
    width: 100%;
    border-bottom: none;
    padding-bottom: 4px;
  }
  .company-table td {
    display: block;
    padding-top: 0;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-desc {
    font-size: .9rem;
  }
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .number-value {
    font-size: 2.2rem;
  }
  .btn {
    padding: 12px 28px;
    font-size: .88rem;
  }
}
