@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Poppins:wght@400;500;700&display=swap');

:root {
  /* Colors */
  --color-white: #ffffff;
  --color-bg: #ffffff; /* White base */
  --color-primary: #8ab692; /* Soft green */
  --color-primary-dark: #74a07c;
  --color-secondary: #555555; /* Changed to #555555 */
  --color-text-main: #555555;
  --color-text-light: #555555;
  --color-border: #eaeaea;
  --color-accent-line: #06c755; /* LINE color */
  --color-accent-phone: #ff9f43; /* Warm orange for phone */
  
  /* Typography */
  --font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 96px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

/* --------------------------------
   Typography
-------------------------------- */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

#flow .section-title::after {
  background-color: #0b7b59; /* Corporate logo green */
}

.features-title::after {
  background-color: #ffffff;
}

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

/* --------------------------------
   Layout
-------------------------------- */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-light {
  background-color: var(--color-white);
}

/* --------------------------------
   Header
-------------------------------- */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 2%;
  width: 100%;
}

.header-logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 60px;
  width: auto;
}

.header-concept {
  font-size: 0.85rem;
  color: #ab9668;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s;
}

.header-contact-item:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.header-phone-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 16px;
}

.header-hours {
  font-size: 0.75rem;
  color: #555555;
  font-weight: 500;
  line-height: 1;
  margin-top: 2px;
}

.header-phone-icon {
  height: 0.8em;
  width: auto;
  margin-right: 8px;
}

.header-contact-item.phone {
  color: #555555;
  background-color: transparent;
  font-size: 2.2rem;
  font-weight: 400;
  padding: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}

.header-contact-item.line,
.header-contact-item.email {
  background-color: #ab9668;
  color: var(--color-white);
}

@media (max-width: 900px) {
  .header-hours {
    display: none;
  }
  .header-phone-group {
    margin-right: 0;
  }
  .header-contact-item span {
    display: none;
  }
  .header-contact-item {
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    justify-content: center;
  }
  .header-contact-item.phone {
    font-size: 1.2rem;
  }
}

/* --------------------------------
   Hero Section
-------------------------------- */
.hero {
  margin: 92px 2% 4vh;
  height: calc(96vh - 92px);
  min-height: 600px;
  padding: 0 calc(10vw - 2%);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  border-radius: 20px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: max-content;
  display: flex;
  z-index: 0;
  animation: slideHero 60s linear infinite;
  pointer-events: none;
}

.hero-slide-img {
  height: 100%;
  width: auto;
  display: block;
}

@keyframes slideHero {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-content {
  text-align: left;
  padding: 32px;
  max-width: 46%;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 10px;
}

/* Info Box */
.hero-info-box {
  width: 440px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(40px);
  z-index: 10;
}

.info-box-header {
  background-color: #ab9668;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  padding: 16px 24px;
}

.info-box-body {
  padding: 24px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.schedule-table th, .schedule-table td {
  padding: 12px 2px;
  border-bottom: 1px solid #eaeaea;
  font-size: 0.95rem;
  color: #555555;
  text-align: center;
  font-weight: 400;
}

.schedule-table th.table-label {
  text-align: left;
  font-weight: 500;
}

.schedule-table td.time-cell {
  text-align: left;
  width: 130px;
}

.schedule-table td .time {
  display: block;
  font-size: 1.05rem;
  font-weight: 400;
  color: #555555;
}

.schedule-table td .last-call {
  display: block;
  font-size: 0.75rem;
  color: #555555;
  margin-top: 4px;
}

.schedule-notes {
  font-size: 0.8rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 24px;
}

.schedule-notes p {
  margin-bottom: 2px;
}

.info-box-contact {
  background-color: #e6dfd3;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
}

.info-box-contact .contact-title {
  font-size: 0.85rem;
  color: #555555;
  margin-bottom: 4px;
}

.info-box-contact .contact-tel {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 400;
  color: #555555;
  text-decoration: none;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.info-box-contact .contact-tel .tel-text {
  font-size: 1rem;
  margin-right: 6px;
}

.info-box-contact .contact-hours {
  font-size: 0.75rem;
  color: #555555;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-info-box {
    width: 100%;
    transform: translateY(20px);
  }
}

.hero-catch {
  font-size: 2.75rem;
  font-weight: 700;
  color: #0b7b59;
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}

.hero-catch::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: #ab9668;
  margin-top: 16px;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 0;
}

.hero-image-wrap {
  width: 100%;
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}



/* --------------------------------
   CTA Buttons
-------------------------------- */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  opacity: 1;
}

.btn i {
  margin-right: 8px;
  font-size: 1.3rem;
}

.btn-line {
  background-color: #ab9668;
  color: var(--color-white);
}

.btn-phone {
  background-color: var(--color-accent-phone);
  color: var(--color-white);
}

@media (min-width: 768px) {
  .cta-group {
    flex-direction: row;
  }
  .btn {
    min-width: 250px;
  }
}

/* --------------------------------
   Pain Section (Troubles)
-------------------------------- */
#about {
  background-color: #0b7b59;
  position: relative;
  padding-top: calc(var(--spacing-xl) * 3);
  margin-top: -200px;
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/onayami.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.1;
  z-index: 0;
}

#about .container {
  position: relative;
  z-index: 1;
  width: 80%;
  max-width: none;
}
.pain-box {
  padding: 0;
  max-width: none;
  margin: 0 auto;
}

.pain-title {
  text-align: center;
  font-size: 3.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--spacing-md);
}

.pain-panels {
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.pain-panel {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  color: #555555;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pain-panel-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #cccccc;
  background-size: cover;
  background-position: center;
}

.pain-panel-content {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pain-panel-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #cccccc;
  line-height: 1.4;
  color: #ab9668;
}

.pain-panel-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #666666;
}

.pain-message {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 900px) {
  .pain-panels {
    flex-direction: column;
  }
}

/* --------------------------------
   Symptoms Cards
-------------------------------- */
.symptom-lead {
  text-align: center;
  margin: 0 auto 48px;
  color: #555555;
  line-height: 1.8;
  font-size: 1.125rem;
  width: 100%;
}

@media (min-width: 768px) {
  .symptom-lead {
    width: calc((80% + var(--spacing-md)) * 0.8);
  }
}

.symptom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .symptom-grid {
    grid-template-columns: 40% 40%;
    justify-content: center;
  }
}

.symptom-card {
  background-color: #f5f5f5;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border: none;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.symptom-card:hover {
  transform: translateY(-5px);
}

.symptom-text {
  flex: 1;
  padding-right: 32px;
}

.symptom-icon {
  width: 120px;
  height: 120px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 3rem;
  border: 4px solid var(--color-primary);
}

.symptom-name {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-xs);
}

.symptom-label {
  display: inline-block;
  background-color: #0b7b59;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 8px;
}

.symptom-label.desc {
  background-color: #ab9668;
  margin-top: 8px;
}

.symptom-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --------------------------------
   Features
-------------------------------- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.feature-item {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-image {
  width: calc(100% - 40px);
  margin-left: 40px;
  height: auto;
  min-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.feature-text {
  padding: var(--spacing-md);
}

.feature-num {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}

@media (min-width: 768px) {
  #features .section-title {
    position: sticky;
    top: 8vh;
    z-index: 20;
    margin-bottom: calc(17vh + 500px) !important; /* タイトルとパネルの固定解除タイミングを合わせる */
  }
  .feature-list {
    gap: 80vh; /* スクロールして重なるための十分なスペース */
    margin-top: calc(var(--spacing-lg) - (17vh + 500px)); /* 見た目のレイアウトを元に戻す */
  }
  .feature-list::after {
    content: '';
    display: block;
    height: 30vh; /* 3枚目が揃った後に固定され続ける「ワンテンポ」の溜め */
    margin-top: -80vh; /* flex containerのgapの影響を相殺 */
  }
  .feature-item {
    position: sticky;
    flex-direction: row;
    align-items: center;
    height: 500px; /* パネルの高さを統一して固定解除タイミングを完璧に同期させる */
  }
  .feature-item:nth-child(1) {
    top: 25vh;
    z-index: 10;
    margin-bottom: 80px;
  }
  .feature-item:nth-child(2) {
    top: calc(25vh + 40px);
    z-index: 11;
    margin-bottom: 40px;
  }
  .feature-item:nth-child(3) {
    top: calc(25vh + 80px);
    z-index: 12;
    margin-bottom: 0;
  }
  .feature-image {
    width: calc(48% - 40px);
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
  }
  .feature-text {
    width: 52%;
    padding: 40px 40px 40px 0;
  }
}

/* --------------------------------
   Philosophy
-------------------------------- */
#philosophy {
  position: relative;
  background-color: #ffffff;
  z-index: 1;
}

#philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/philosophy01.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.3;
  z-index: -1;
}

.philosophy-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  background-color: #0b7b59;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.philosophy-image img {
  border-radius: var(--radius-md);
}

.philosophy-content {
  padding: var(--spacing-sm) 0;
}

.philosophy-catch {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.philosophy-text {
  margin-bottom: var(--spacing-md);
}

.philosophy-sign {
  text-align: right;
  font-weight: 700;
  color: var(--color-white);
}

@media (min-width: 768px) {
  .philosophy-wrap {
    flex-direction: row-reverse;
    align-items: flex-end;
    padding: 0 var(--spacing-lg) 0 80px;
  }
  .philosophy-image {
    width: 49.5%; /* 45% * 1.1 */
    margin-top: -135px; /* Adjust protrusion slightly for larger image */
  }
  .philosophy-image img {
    display: block;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .philosophy-content {
    width: 56%;
    padding: 40px var(--spacing-lg) 40px 0;
  }
  .philosophy-catch {
    font-size: 1.8rem;
  }
}

/* --------------------------------
   Flow
-------------------------------- */
.flow-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .flow-list {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
  }
}

.flow-item {
  width: 100%;
  max-width: 300px;
  text-align: center;
}

@media (min-width: 768px) {
  .flow-item {
    flex: 1;
    max-width: none;
  }
}

.flow-card {
  background-color: #ab9668; /* Corporate logo beige */
  border: none;
  border-radius: var(--radius-sm);
  padding: 40px 10px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Align from top to fix icon/step positions */
  height: 280px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.flow-step-label {
  color: var(--color-white);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  border: 2px solid var(--color-white);
  border-radius: 50px;
  padding: 4px 16px;
}

.flow-icon {
  font-size: 2.8rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.flow-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 0;
}

.flow-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-main);
  text-align: left;
}

.flow-arrow {
  display: none;
}

@media (min-width: 768px) {
  .flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b7b59; /* Match corporate logo green */
    font-size: 1rem;
    height: 280px; /* same as min-height of card */
    flex-shrink: 0;
  }
  .flow-arrow i {
    width: 30px;
    height: 30px;
    border: 2px solid #0b7b59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --------------------------------
   Contact Section
-------------------------------- */
.contact-section {
  background-color: var(--color-bg);
}

.contact-box-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 768px) {
  .contact-box-wrapper {
    flex-direction: row;
  }
}

.contact-box {
  border-radius: 0;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  flex: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

.contact-box.left {
  background-color: #e6dfd3;
  position: relative;
  overflow: hidden;
}

.contact-box.left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/contact.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: grayscale(100%);
  z-index: 0;
  pointer-events: none;
}

.contact-box.right {
  background-color: #d1c8b3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
}

.contact-info {
  margin-top: var(--spacing-lg);
}

.contact-info p {
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
}

.contact-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 400;
  color: #555555;
  margin: var(--spacing-sm) 0;
  line-height: 1;
}

/* --------------------------------
   Floating Right Bottom CTA
-------------------------------- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 99;
  border: 1px solid var(--color-border);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
  pointer-events: none; /* prevent clicks when hidden */
}

.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 12px;
  }
}

/* --------------------------------
   Footer
-------------------------------- */
.footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.footer-info {
  margin-bottom: var(--spacing-lg);
  color: rgba(255,255,255,0.8);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* --------------------------------
   Animations
-------------------------------- */
.back-to-top {
  position: fixed;
  top: 0; /* will be set via JS to align at boundary */
  right: 2%;
  left: auto;
  transform: translateX(0);
  width: 70px;
  height: 70px;
  background-color: #0b7b59; /* corporate logo green */
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 100;
}

.back-to-top.is-visible {
  opacity: 0.95;
  pointer-events: auto;
  transform: translateX(0);
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------
   Image Marquee Section
-------------------------------- */
.image-marquee-section {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-bg);
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 40s linear infinite;
}

.marquee-track img {
  height: 400px;
  width: 400px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .marquee-track img {
    height: 200px;
    width: 200px;
  }
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
