/* ===================================
   MIORA - Package Design Service
   Static CSS Stylesheet
   =================================== */

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

/* ===================================
   CSS Variables
   =================================== */
:root {
  --cobalt-green: #00b5a6;
  --cobalt-green-light: #33c4b7;
  --cobalt-green-dark: #008f83;
  --light-green: #e0f7f5;
  --yamabuki: hsl(42, 90%, 55%);
  --yamabuki-hover: hsl(42, 90%, 48%);
  
  --background: hsl(0, 0%, 100%);
  --background-muted: hsl(210, 20%, 98%);
  --foreground: hsl(222, 20%, 20%);
  --foreground-muted: hsl(220, 10%, 45%);
  --card: hsl(0, 0%, 100%);
  --border: hsl(220, 13%, 91%);
  
  --primary: var(--cobalt-green);
  --primary-foreground: hsl(0, 0%, 100%);
  
  --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --header-height: 80px;
  --header-height-mobile: 64px;
  
  --container-max: 1200px;
  --container-narrow: 800px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===================================
   Layout
   =================================== */
.container-main {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ===================================
   Header
   =================================== */
.header {
  display: flex;
  align-items: center;
  
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height-mobile);
}

@media (min-width: 768px) {
  .header {
    height: var(--header-height);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo img {
    height: 48px;
  }
}

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

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu .nav-dropdown-link {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-menu .nav-dropdown-link:hover {
  background: var(--background-muted);
  color: var(--primary);
}

/* Footer nav group */
.footer-nav-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 4px;
}

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

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--foreground);
  transition: var(--transition);
}

.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);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height-mobile);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--card);
  z-index: 90;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

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

.mobile-menu-inner {
  padding: 2rem 1.5rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.5rem 0;
  transition: color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

/* ===================================
   Main Content
   =================================== */
.main-content {
  margin-top: var(--header-height-mobile);
}

@media (min-width: 768px) {
  .main-content {
    margin-top: var(--header-height);
  }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  height: calc(100vh - var(--header-height-mobile));
  min-height: 500px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    height: calc(100vh - var(--header-height));
    min-height: 600px;
  }
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.indicator.active,
.indicator:hover {
  background: white;
  transform: scale(1.2);
}

/* ===================================
   Sections
   =================================== */
.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.section-about {
  background: var(--background);
}

.section-work {
  background: var(--background-muted);
}

.section-service {
  background: var(--background);
}

.section-contact {
  background: var(--background);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--foreground);
  position: relative;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 1rem auto 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--foreground-muted);
  text-align: center;
  margin-bottom: 3rem;
}

/* About Section */
.about-text {
  text-align: center;
  max-width: 700px;
  margin: 2rem auto 3rem;
  color: rgba(34, 47, 62, 0.8);
  line-height: 1.9;
}

.about-text p {
  margin-bottom: 1.5rem;
}

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

.hidden-sp {
  display: none;
}

@media (min-width: 768px) {
  .hidden-sp {
    display: inline;
  }
}

/* Comparison Section */
.comparison-section {
  margin-top: 4rem;
}

.comparison-heading {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .comparison-heading {
    font-size: 1.25rem;
  }
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.comparison-card {
  border-radius: 0.75rem;
  overflow: hidden;
}

.comparison-card--general {
  background: var(--background-muted);
  border: 1px solid var(--border);
}

.comparison-card--miora {
  background: var(--light-green);
  border: 1px solid rgba(47, 128, 109, 0.2);
}

.comparison-card-header {
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
}

.comparison-card-header--general {
  background: rgba(0, 0, 0, 0.05);
  color: var(--foreground);
}

.comparison-card-header--miora {
  background: var(--primary);
  color: var(--primary-foreground);
}

.comparison-card-body {
  padding: 1.5rem;
}

.comparison-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comparison-icon-group {
  text-align: center;
}

.comparison-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  margin: 0 auto 0.25rem;
  font-size: 1.5rem;
}

.comparison-icon--miora {
  border-color: rgba(47, 128, 109, 0.3);
}

.comparison-icon-label {
  font-size: 0.75rem;
  color: var(--foreground-muted);
}

.comparison-icon-label--miora {
  color: var(--primary);
  font-weight: 500;
}

.comparison-arrow-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.comparison-arrow {
  color: var(--primary);
  font-size: 1.25rem;
}

.comparison-arrow-label {
  font-size: 0.75rem;
  color: var(--foreground-muted);
}

.comparison-tags {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.comparison-tag {
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

.comparison-check {
  text-align: center;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.comparison-summary {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.comparison-summary--general {
  color: var(--foreground-muted);
}

.comparison-summary--miora {
  color: var(--foreground);
}

/* Work Section */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.work-card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.work-card:hover .work-card-image img {
  transform: scale(1.05);
}

.work-card-content {
  padding: 1rem;
}

.work-card-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  text-align: center;
}

.work-more {
  text-align: center;
  margin-top: 2.5rem;
}

.work-empty,
.news-empty{
  text-align: center;
}

/* Service Section */
.service-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .service-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

/* Pricing Section */
.pricing-section {
  margin-top: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-heading {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-heading {
    font-size: 1.25rem;
  }
}

.price-table-wrapper {
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

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

.price-table th,
.price-table td {
  padding: 0.75rem 1.5rem;
  text-align: left;
}

.price-table th {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}

.price-table th:last-child {
  text-align: right;
}

.price-table tbody tr:nth-child(even) {
  background: var(--background-muted);
}

.price-table td {
  color: var(--foreground);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.pricing-notes {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

.pricing-notes p {
  margin-bottom: 0.25rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-item-label{
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group{
  margin-bottom: 1rem;
}

/* .form-group .form-label{
  display: inline-block;
  margin-bottom: 0.5rem;
} */

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.required {
  color: #ef4444;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 128, 109, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--foreground-muted);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-file {
  padding: 0.5rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--foreground-muted);
  margin-top: 0.25rem;
}

.form-submit {
  text-align: center;
  margin-top: 1rem;
}

.plan-select-contactttl label{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  background: #fff;
  font-size: 0.95em;
  font-weight: 500;
  color: #555;
  transition: all 0.2s;
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: var(--cobalt-green-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-cta {
  background: var(--yamabuki);
  color: #1a1a1a;
  font-weight: 600;
  padding: 1rem 3rem;
  border: none;
}

.btn-cta:hover {
  background: var(--yamabuki-hover);
}

.wpcf7-spinner{
  display: block !important;
}

.btn-company {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all var(--transition);
}

.btn-company:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===================================
   Recruitment Banner
   =================================== */
.recruitment-banner {
  background: linear-gradient(135deg, rgba(47, 128, 109, 0.1), rgba(234, 179, 8, 0.1));
  padding: 2rem 0;
}

.recruitment-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .recruitment-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.recruitment-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .recruitment-title {
    font-size: 1.25rem;
  }
}

.recruitment-subtitle {
  color: var(--foreground-muted);
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--foreground);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.footer-links-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: var(--cobalt-green-light);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   Product / Recruit Page
   =================================== */
.product-page {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .product-page {
    padding: 5rem 0;
  }
}

.product-header {
  text-align: center;
  margin-bottom: 3rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .product-title {
    font-size: 2.5rem;
  }
}

.product-description {
  color: rgba(34, 47, 62, 0.8);
  line-height: 1.8;
}

/* Recruit Styles */
.recruit-content {
  margin-top: 3rem;
}

.recruit-positions {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem 2rem;
}

.recruit-positions-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.recruit-position {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.recruit-position--last {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.recruit-position-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.recruit-position-desc {
  color: var(--foreground-muted);
}

.recruit-freelance {
  margin-top: 2rem;
  background: linear-gradient(to right, rgba(47, 128, 109, 0.1), rgba(47, 128, 109, 0.05));
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.recruit-freelance-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.recruit-freelance-desc {
  color: var(--foreground-muted);
  margin-bottom: 1.5rem;
}

.recruit-form{
  margin-top: 4rem;
}

.recruit-form-title{
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
  text-align: center;
}

/* ===================================
   Work Detail Page
   =================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground-muted);
  margin-bottom: 2rem;
}

.breadcrumb-link {
  color: var(--foreground-muted);
  transition: color var(--transition);
}

.breadcrumb-link:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  color: var(--foreground-muted);
}

.breadcrumb-current {
  color: var(--foreground);
}

@media (max-width: 480px) {
  .breadcrumb{
    font-size: 0.75rem;
    line-height: 1rem;
    flex-wrap: wrap;
  }
}

.news-detail-title,
.work-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .news-detail-title,
  .work-detail-title {
    font-size: 1.875rem;
  }
}

.news-detail-image,
.work-detail-image {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}

.news-detail-image img,
.work-detail-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-detail-body,
.work-detail-body {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .news-detail-body,
  .work-detail-body {
    padding: 2.5rem;
  }
}

.news-detail-body h2,
.work-detail-body h2{
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--foreground);
  position: relative;
  margin-top: 4rem;
}

.news-detail-body h2:after,
.work-detail-body h2:after{
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 1rem auto 0;
}

.news-detail-body h3,
.work-detail-body h3{
  margin-top: 3rem;
  padding: 0.5rem 1.25rem;
  background: var(--background-muted);
  border-left: 6px solid var(--primary);
  font-size: 1.25rem;
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .news-detail-body h2,
  .work-detail-body h2{
    font-size: 1.35rem;
    margin-top: 2.5em;
  }

  .news-detail-body h3,
  .work-detail-body h3{
    font-size: 1.1rem;
    margin-top: 2rem;
    line-height: 1.65rem;
  }
}

.news-detail-body p,
.work-detail-body p {
  color: rgba(34, 47, 62, 0.8);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .news-detail-body p,
  .work-detail-body p {
    font-size: 1.125rem;
  }
}

.news-detail-body p:last-child,
.work-detail-body p:last-child {
  margin-bottom: 0;
}

.news-detail-back,
.work-detail-back {
  text-align: center;
  margin-top: 2.5rem;
}

.news-back-link,
.work-back-link {
  color: var(--primary);
  font-weight: 500;
  transition: opacity var(--transition);
}

.news-back-link:hover,
.work-back-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

a.news-card,
a.work-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 12px;

  margin-top: 24px;
  text-align: center;
}

.pagenavi-conts a,
.pagenavi-conts .page-numbers.current {
  display: inline-block;
  border: 1px solid var(--foreground);
  box-sizing: border-box;
  padding: 4px 12px;
}

.pagenavi-conts .page-numbers.current {
  font-weight: bold;
}

.news-section{
  width: 100%;
  max-width: 800px;
  margin: 5rem auto 0;
}

.news-section dl{
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
  border-bottom: 1px dotted #999;
  padding-bottom: 0.5rem;
}

.news-section dl dt{
  width: 6em;
  margin-right: 1rem;
}

.news-section dl dd{
  width: calc(100% - 7rem);
}

@media (max-width: 480px) {
  .news-section{
    margin-top: 3rem;
  }

  .news-section dl{
    flex-direction: column;
  }

  .news-section dl dt,
  .news-section dl dd{
    width: 100%;
    margin: 0;
  }
}

/* ===================================
   Reason Section
   =================================== */
.section-reason {
  background: var(--background);
}

/* Reason heading section: bottom padding removed so toggle connects naturally */
.section-reason--heading {
  padding-bottom: 0;
}

/* Reason panels section: top padding reduced */
.section-reason--panels {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

/* Plan Toggle — sticky wrapper spanning reason→service→contact */
#plan-zone {
  background: var(--background);
}

.plan-toggle-wrap {
  position: sticky;
  top: var(--header-height-mobile);
  z-index: 80;
  /* frosted-glass: match surrounding white background */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}

@media (min-width: 768px) {
  .plan-toggle-wrap {
    top: var(--header-height);
  }
}

/* Plan Toggle Buttons */
.plan-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 480px) {
  .plan-toggle {
    grid-template-columns: 1fr;
  }
}

.plan-toggle-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: inherit;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.plan-toggle-btn:hover:not(.plan-toggle-btn--active) {
  border-color: var(--cobalt-green-light);
  background: var(--light-green);
}

.plan-toggle-btn--active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(47, 128, 109, 0.3);
}

.plan-icon {
  font-size: 1.875rem;
  line-height: 1;
  flex-shrink: 0;
}

.plan-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.plan-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

.plan-desc {
  font-size: 0.75rem;
  line-height: 1.3;
  opacity: 0.7;
}

/* Reason Panels */
.reason-panel {
  display: none;
  margin-top: 2.5rem;
}

.reason-panel--active {
  display: block;
}

.reason-panel-intro {
  text-align: center;
  color: var(--foreground-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Merit Grid (design-only panel) */
.merit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .merit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.merit-card {
  background: var(--background-muted);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow var(--transition);
}

.merit-card:hover {
  box-shadow: var(--shadow-md);
}

.merit-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.merit-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
}

.merit-desc {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  line-height: 1.7;
}

/* Panel switch animation */
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reason-panel--active,
.service-panel--active {
  animation: panelFadeIn 0.35s ease;
}

/* Service Panels */
.service-panel {
  display: none;
}

.service-panel--active {
  display: block;
}

/* Section mode indicator (pill badge) */
.section-mode-indicator {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
}

.mode-pill {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.mode-pill--active {
  display: inline-flex;
}

.mode-pill[data-type="design-only"].mode-pill--active {
  background: rgba(47, 128, 109, 0.12);
  color: var(--primary);
  border: 1px solid rgba(47, 128, 109, 0.25);
}

.mode-pill[data-type="design-materials"].mode-pill--active {
  background: var(--primary);
  color: white;
}


/* 7-step grid override */
.service-steps--7 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .service-steps--7 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .service-steps--7 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 3-column pricing table */
.price-table--3col th:last-child,
.price-table--3col td:last-child {
  text-align: center;
  color: var(--foreground-muted);
  font-weight: 400;
}

/* Contact Subtitles (dynamic) */
.contact-subtitle {
  display: none;
}

.contact-subtitle--active {
  display: block;
}

/* Materials Fields */
.materials-fields {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--light-green);
  border: 1px solid rgba(47, 128, 109, 0.2);
  border-radius: 0.75rem;
}

.materials-fields--active {
  display: flex;
}

.materials-fields-heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: -0.25rem;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}



/* ===================================
   Animations
   =================================== */

/* Floating CTA pulse */
@keyframes mioraPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 181, 166, 0.35); }
  50%       { box-shadow: 0 6px 28px rgba(0, 181, 166, 0.55); }
}

/* Nav link underline slide */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cobalt-green);
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Work card image zoom on hover */
.work-card-image img {
  transition: transform 0.4s ease;
}
.work-card:hover .work-card-image img {
  transform: scale(1.04);
}

/* Pricing card border highlight on hover */
.pricing-card {
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.pricing-card:hover {
  border-color: var(--cobalt-green-light);
}

/* About feature left-border grow */
.about-feature {
  transition: border-left-width 0.2s ease, padding-left 0.2s ease;
}
.about-feature:hover {
  border-left-width: 5px;
}
