/* ========================================
   株式会社レモラ コーポレートサイト
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ========================================
   Header
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.header__logo-text h1 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.header__logo-text p {
  font-size: 0.75rem;
  color: #6b7280;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .header__menu { display: flex; }
}

.header__menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s;
}

.header__menu a:hover {
  color: #2563eb;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  transition: transform 0.3s, opacity 0.3s;
}

@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 2rem 1.5rem;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu__close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.mobile-menu__close button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #374151;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu__links a {
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: #2563eb;
  color: #fff;
}

.btn--primary:hover {
  background: #1d4ed8;
}

.btn--outline {
  background: transparent;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.btn--outline:hover {
  background: #eff6ff;
}

.btn--full {
  width: 100%;
}

.btn--white {
  background: #fff;
  color: #2563eb;
}

.btn--white:hover {
  background: #f0f4ff;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 4rem 0;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
    gap: 3rem;
  }
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero__title { font-size: 2.75rem; }
}

.hero__subtitle {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
}

.hero__image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-height: 320px;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Section Common
   ======================================== */
.section {
  padding: 4rem 0;
}

.section--gray {
  background: #f9fafb;
}

.section--white {
  background: #fff;
}

.section__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.section__title--center {
  text-align: center;
}

.section__bar {
  width: 3rem;
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.section__title-mb {
  margin-bottom: 3rem;
}

/* ========================================
   About Section
   ======================================== */
.about__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}

.about__text p {
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__image {
  background: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: 320px;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   Features Section
   ======================================== */
.features__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-card__number {
  width: 48px;
  height: 48px;
  background: #dbeafe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.75rem;
}

.feature-card__desc {
  color: #374151;
  font-size: 0.9375rem;
}

/* ========================================
   Business Section
   ======================================== */
.business__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .business__grid { grid-template-columns: 1fr 1fr; }
}

.business__block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.business__block p {
  color: #374151;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.business__list {
  list-style: disc;
  padding-left: 1.25rem;
  color: #374151;
}

.business__list li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* ========================================
   Talent Section
   ======================================== */
.talent__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .talent__grid { grid-template-columns: 1fr 1fr; }
}

.talent-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
}

.talent-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.talent-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.talent-card__item {
  display: flex;
  gap: 0.75rem;
  color: #374151;
}

.talent-card__bullet {
  color: #2563eb;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========================================
   Results Section
   ======================================== */
.results__stats {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .results__stats { grid-template-columns: repeat(3, 1fr); }
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.stat__label {
  color: #374151;
}

.results__clients {
  background: #eff6ff;
  border-radius: 12px;
  padding: 2rem;
}

.results__clients h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.results__clients li {
  color: #374151;
  margin-bottom: 0.5rem;
}

/* ========================================
   For Companies Section
   ======================================== */
.companies__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .companies__grid { grid-template-columns: 1fr 1fr; }
}

.process-card, .cta-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
}

.process-card h3, .cta-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.process-step__number {
  width: 28px;
  height: 28px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step__text {
  color: #374151;
}

.terms-box {
  margin-top: 1.5rem;
  background: #eff6ff;
  border-radius: 8px;
  padding: 1rem;
}

.terms-box__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.5rem;
}

.terms-box li {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-card p {
  color: #374151;
  margin-bottom: 1.5rem;
}

/* ========================================
   Company Info Table
   ======================================== */
.info-table {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.info-table tr {
  border-bottom: 1px solid #f3f4f6;
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th {
  padding: 1rem 1.5rem;
  background: #f9fafb;
  font-weight: 500;
  color: #374151;
  text-align: left;
  width: 30%;
  vertical-align: top;
}

.info-table td {
  padding: 1rem 1.5rem;
  color: #111;
}

@media (max-width: 640px) {
  .info-table th, .info-table td {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
  }
  .info-table th {
    padding-bottom: 0.25rem;
  }
  .info-table td {
    padding-top: 0.25rem;
    padding-bottom: 1rem;
  }
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: #1e3a5f;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.contact__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact__subtitle {
  color: #93c5fd;
  margin-bottom: 2rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .contact__info {
    flex-direction: row;
    justify-content: center;
  }
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.contact__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #111827;
  color: #9ca3af;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #1f2937;
  font-size: 0.875rem;
}
