@charset "UTF-8";

.eb-intro {
  padding: clamp(70px, 8.5vw, 120px) 0 clamp(50px, 6.5vw, 90px);
}

.eb-intro__inner {
  position: relative;
  padding: 0 clamp(20px, calc(20px + 60 * var(--fluid)), 80px);
}

.eb-intro__content {
  text-align: center;
  margin: 0 auto;
}

.eb-intro__badge {
  font-size: clamp(16px, calc(16px + 20 * var(--fluid)), 36px);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: clamp(28px, 3.8vw, 48px);
}

.eb-intro__body {
  font-size: clamp(13px, calc(13px + 8 * var(--fluid)), 21px);
  line-height: 2;
  letter-spacing: 0;
}



.eb-sections {
  padding: clamp(64px, 8.5vw, 110px) 0 clamp(6.25rem, 2.778rem + 14.81vw, 15rem);
}

.eb-cat {
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid #ECECEC;

  &:first-child {
    border-top: none;
    padding-top: 0;
  }
}

.eb-cat__header {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.eb-cat__number-en {
  font-family: var(--font-en, 'Bentham', serif);
  font-size: clamp(15px, calc(15px + 18 * var(--fluid)), 33px);
  color: #667F73;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.eb-cat__title {
  font-size: clamp(16px, calc(16px + 20 * var(--fluid)), 36px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #667F73;
  margin-bottom: 10px;
}

.eb-cat__lead {
  line-height: 1.8;
  color: #666666;
  letter-spacing: 0.03em;
}


.eb-cat__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 4.5vw, 56px) clamp(1.25rem, -0.54rem + 7.64vw, 8.625rem);

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


.eb-card {
  display: flex;
  flex-direction: column;
}

.eb-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #E2E6E9;
  border-radius: 2px;
}

.eb-card__placeholder {
  width: 100%;
  height: 100%;
  background-color: #D2D8DE;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
  will-change: transform;

  .eb-card:hover & {
    transform: scale(1.04);
    background-color: #C6CED5;
  }
}

.eb-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;

  .eb-card:hover & {
    transform: scale(1.04);
  }
}

.eb-card__body {
  margin-top: 16px;
}

.eb-card__title {
  font-size: clamp(15px, calc(15px + 15 * var(--fluid)), 30px);
  font-weight: 600;
  color: #667F73;
  line-height: 1.5;
  margin-bottom: 8px;
  white-space: pre-line;
}

.eb-card__desc {
  font-size: clamp(0.82rem, 0.9vw, 0.88rem);
  line-height: 1.85;
  color: #555555;
  letter-spacing: 0.02em;
}


.eb-bottom {
  padding: 0 0 clamp(6.25rem, 0.298rem + 25.4vw, 21.25rem);
}

.eb-bottom__inner {
  text-align: center;
  margin-bottom: clamp(5rem, 3.938rem + 4.53vw, 9.375rem);
}

.eb-bottom__heading {
  font-size: clamp(16px, calc(16px + 20 * var(--fluid)), 36px);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #1a1a1a;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.eb-bottom__text {
  font-size: clamp(13px, calc(13px + 8 * var(--fluid)), 21px);
  line-height: 2;
  letter-spacing: 0;
}


.eb-gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 1.8vw, 22px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, calc(20px + 196 * var(--fluid)), 216px);
}

.eb-gallery__item {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  aspect-ratio: 560 / 780;

  &:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  }

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}


.eb-gallery__item--2,
.eb-gallery__item--4 {
  margin-top: clamp(24px, 3.2vw, 44px);
}

