/* 
  Theme: Teal & Orange / Friendly & Safe
  Font: Zen Kaku Gothic New
*/

:root {
  /* Colors */
  --c-teal-main: #0B8B88;
  /* A vibrant friendly teal */
  --c-teal-light: #E0F4F4;
  --c-teal-dark: #075E5D;
  --c-orange-main: #F47A22;
  /* Warm energetic orange */
  --c-orange-light: #FDEBDD;
  --c-line-green: #06C755;
  --c-line-dark: #05A044;
  --c-text-main: #333333;
  --c-text-light: #666666;
  --c-bg-body: #FAFAFA;
  --c-bg-section: #F3F8F8;
  --c-white: #FFFFFF;

  /* Typography */
  --font-base: 'Zen Kaku Gothic New', sans-serif;

  /* UI Elements */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;
  --border-thick: 3px solid var(--c-teal-main);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-thick: 4px 4px 0px rgba(11, 139, 136, 0.2);
  /* Solid shadow for trendy look */
  --shadow-thick-orange: 4px 4px 0px rgba(244, 122, 34, 0.3);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--c-text-main);
  background-color: var(--c-bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

@media (min-width: 768px) {
  body {
    /* desktop reset if any */
  }
}

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

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

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilities */
.text-accent {
  color: var(--c-teal-main);
}

.text-orange {
  color: var(--c-orange-main);
}

.text-teal {
  color: var(--c-teal-main);
}

.text-line {
  color: var(--c-line-green);
}

.section-bg {
  background-color: var(--c-bg-section);
}

.sp-br {
  display: block;
}

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

.box-shadow-thick {
  border: var(--border-thick);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-thick);
  background: var(--c-white);
}

/* Typography styles */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.4;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background-color: var(--c-orange-main);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--c-text-light);
  font-size: 1rem;
  margin-top: 1.5rem;
}

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

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

  .section-subtitle {
    font-size: 1.125rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--border-radius-pill);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--c-line-green);
  color: var(--c-white);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: var(--c-line-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.4);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

.btn-block {
  width: 100%;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--c-teal-main);
  color: var(--c-teal-main);
  background-color: transparent;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--c-teal-light);
}

/* Shake Animation for CTA */
@keyframes shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-2deg) scale(1.02);
  }

  50% {
    transform: rotate(2deg) scale(1.02);
  }

  75% {
    transform: rotate(-2deg) scale(1.02);
  }
}

.btn-shake {
  animation: shake 5s infinite;
}

/* Header */
.header {
  background-color: var(--c-white);
  padding: 1rem 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--c-teal-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}

.logo-main {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text-main);
  font-family: 'Montserrat', var(--font-base);
  line-height: 1;
  letter-spacing: -0.02em;
}

.header-link {
  font-size: 0.875rem;
  color: var(--c-teal-main);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Sections Base Padding */
main section {
  padding: var(--space-lg) 0;
}

/* Hero Section */
.hero {
  padding: 0 0 var(--space-lg) 0;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto auto;
  margin-top: 1rem;
}

.hero-content {
  display: contents;
}

.hero-image {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 280px;
  width: 100%;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  border-radius: var(--border-radius-lg);
  border: var(--border-thick);
  box-shadow: var(--shadow-thick-orange);
}

.hero-badge {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  justify-self: center;
  align-self: start;
  margin-top: 1.5rem;
  display: inline-block;
  background-color: var(--c-teal-light);
  color: var(--c-teal-main);
  padding: 0.25rem 1rem;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid var(--c-teal-main);
}

.hero-title {
  grid-column: 1;
  grid-row: 2;
  z-index: 2;
  justify-self: center;
  align-self: center;
  margin-top: -2rem;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 1);
}

.hero-title .highlight {
  color: var(--c-orange-main);
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--c-orange-light);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  grid-column: 1;
  grid-row: 3;
  text-align: center;
  font-size: 0.95rem;
  color: var(--c-text-main);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 500;
  padding: 0 10px;
}

.hero-btn-wrap {
  grid-column: 1;
  grid-row: 4;
  width: 100%;
}

.hero-btn-wrap .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0 var(--space-md);
    margin-top: calc(var(--space-md) * 2);
  }

  .hero-image {
    grid-column: 2;
    grid-row: 1 / span 4;
    height: 100%;
    margin-bottom: 0;
  }

  .hero-image img {
    min-height: auto;
    max-height: 500px;
    object-position: center;
  }

  .hero-badge {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: end;
    margin-top: 0;
    margin-bottom: 1rem;
  }

  .hero-title {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    text-align: left;
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-shadow: none;
  }

  .hero-desc {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    align-self: start;
    text-align: left;
    font-size: 1.25rem;
    color: var(--c-text-light);
    margin-bottom: 2rem;
    padding: 0;
  }

  .hero-btn-wrap {
    grid-column: 1;
    grid-row: 4;
    justify-self: start;
    align-self: start;
    width: auto;
  }

  .hero-btn-wrap .btn {
    width: auto;
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
  }
}

/* Works Section */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

.card-work {
  background: var(--c-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: var(--border-thick);
  box-shadow: var(--shadow-thick);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card-work:hover {
  transform: translateY(-8px);
}

.card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 2px solid var(--c-teal-light);
  background-color: var(--c-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-fallback {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}

.instagram-icon-large {
  font-size: 5rem;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-content {
  padding: 1.5rem;
  position: relative;
  flex-grow: 1;
  text-align: center;
}

.card-icon {
  position: absolute;
  top: -24px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: var(--c-orange-main);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 3px solid var(--c-white);
}

.card-content h3 {
  font-size: 1.25rem;
  color: var(--c-teal-dark);
  margin-bottom: 0.75rem;
}

.card-content p {
  font-size: 0.95rem;
  color: var(--c-text-light);
}

/* Features Section */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feature-item {
  position: relative;
  padding-top: 1.5rem;
}

.feature-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  font-weight: 900;
  color: var(--c-orange-light);
  z-index: 0;
  line-height: 1;
  font-style: italic;
}

@media (min-width: 768px) {
  .feature-item {
    padding-top: 0;
    padding-left: 3rem;
  }

  .feature-number {
    font-size: 5rem;
    top: -30px;
    left: -10px;
    transform: none;
  }
}

.feature-box {
  position: relative;
  z-index: 1;
  background: var(--c-white);
  border: var(--border-thick);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-thick);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .feature-box {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 2rem;
    gap: 2rem;
  }
}

.feature-icon-circle {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  background-color: var(--c-teal-light);
  color: var(--c-teal-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 2px solid var(--c-teal-main);
}

.feature-text h3 {
  font-size: 1.35rem;
  color: var(--c-teal-dark);
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--c-text-main);
}

/* Flow Section (Timeline) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

/* Vertical line for desktop */
@media (min-width: 768px) {
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 80px;
    width: 4px;
    background-color: var(--c-teal-light);
    border-radius: 2px;
  }
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .timeline-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }
}

.timeline-step {
  background-color: var(--c-orange-main);
  color: var(--c-white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  display: inline-block;
  align-self: center;
  border: 2px solid var(--c-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .timeline-step {
    width: 160px;
    text-align: center;
    font-size: 1.1rem;
    padding: 0.75rem 0;
  }
}

.timeline-content {
  background: var(--c-white);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--c-teal-light);
  flex-grow: 1;
  box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-content p {
  color: var(--c-text-light);
  font-size: 0.95rem;
}

/* Info Section */
.info {
  padding-bottom: var(--space-xl);
}

.info-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .info-card {
    padding: 3rem;
  }
}

.info-title {
  font-size: 1.5rem;
  color: var(--c-teal-main);
  margin-bottom: 0.5rem;
}

.info-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.info-details {
  background-color: var(--c-teal-light);
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 2.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .info-details {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
  }
}

.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-row.mt-4 {
  margin-top: 1.5rem;
}

.info-icon {
  color: var(--c-teal-main);
  font-size: 1.25rem;
  margin-top: 2px;
}

.info-text p {
  margin-bottom: 0.25rem;
}

.postal {
  font-weight: 700;
}

.access {
  font-size: 0.85rem;
  color: var(--c-text-light);
  margin-top: 0.5rem;
}

.phone-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-orange-main);
  line-height: 1;
  margin-top: 0.5rem;
}

.info-cta {
  max-width: 400px;
  margin: 0 auto;
}

.cta-msg {
  font-weight: 700;
  color: var(--c-line-dark);
  margin-bottom: 1rem;
}

.hp-link-wrap {
  margin-top: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--c-teal-dark);
  color: var(--c-white);
  text-align: center;
  padding: 0.5rem 0 calc(0.5rem + 20px);
}

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

.copy {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Fixed Mobile CTA */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-top: 2px solid var(--c-teal-light);
  transition: transform 0.3s ease-in-out;
}

/* Hide if requested by js */
.fixed-cta.hide {
  transform: translateY(100%);
}

.fixed-cta-text {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 4px;
}

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

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.pop-up {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pop-up.active {
  opacity: 1;
  transform: scale(1);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.slide-in-left.active,
.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}