/*
 * 総合英語 Evergreen New Edition 専用スタイル
 * 既存テーマへの影響を避けるため、すべて #evergreen_ne 内に限定しています。
 */

#evergreen_ne {
  --evergreen-orange: #ef8200;
  --evergreen-green: #006a2d;
  --evergreen-lime: #c7d400;
  --evergreen-ink: #2c2a29;
  --evergreen-shell: 1320px;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--evergreen-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

#evergreen_ne *,
#evergreen_ne *::before,
#evergreen_ne *::after {
  box-sizing: border-box;
}

#evergreen_ne img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
}

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

#evergreen_ne .section-shell {
  width: min(calc(100% - 64px), var(--evergreen-shell));
  margin-right: auto;
  margin-left: auto;
}

#evergreen_ne .evergreen-hero {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #0a6d2d;
}

#evergreen_ne .evergreen-hero__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

#evergreen_ne .intro {
  padding-top: clamp(120px, 11vw, 205px);
  padding-bottom: clamp(145px, 12vw, 230px);
  text-align: center;
}

#evergreen_ne .intro h1 {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  font-size: clamp(24px, 2vw, 36px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

#evergreen_ne .intro p {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  font-size: clamp(18px, 1.5vw, 28px);
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: 0.01em;
}

#evergreen_ne .features {
  padding-bottom: clamp(150px, 13vw, 250px);
}

#evergreen_ne .features h2,
#evergreen_ne .materials h2 {
  margin: 0 0 clamp(54px, 5vw, 90px);
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(28px, 2.65vw, 48px);
  font-weight: 800;
  line-height: 1.45;
}

#evergreen_ne .features h2 {
  text-align: center;
}

#evergreen_ne .feature-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#evergreen_ne .feature-list__item {
  position: relative;
  display: grid;
  min-height: 150px;
  margin: 0;
  padding: 36px 92px;
  place-items: center;
  background: #fbffe4;
  text-align: center;
}

#evergreen_ne .feature-list__number {
  position: absolute;
  top: 50%;
  left: 33px;
  display: grid;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--evergreen-lime);
  border-radius: 50%;
  place-items: center;
  font-size: 25px;
  font-weight: 900;
  transform: translateY(-50%);
}

#evergreen_ne .feature-list__item p {
  margin: 0;
  padding: 0;
  font-size: clamp(24px, 2.25vw, 40px);
  font-weight: 600;
  line-height: 1.45;
}

#evergreen_ne .product {
  display: grid;
  grid-template-columns: minmax(300px, 440px) 1fr;
  gap: clamp(70px, 8vw, 150px);
  align-items: center;
  padding-bottom: clamp(160px, 15vw, 290px);
}

#evergreen_ne .product__visual img {
  width: 100%;
  box-shadow: 0 18px 50px rgba(10, 57, 27, 0.2);
}

#evergreen_ne .product__details h2 {
  margin: 0 0 clamp(45px, 5vw, 82px);
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(30px, 3vw, 56px);
  font-weight: 800;
  line-height: 1.35;
}

#evergreen_ne .product__details h2 em {
  color: #b8c900;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95em;
  font-style: normal;
  font-weight: 500;
  text-shadow: 1px 1px 0 #364100;
  white-space: nowrap;
}

#evergreen_ne .credits {
  display: grid;
  gap: 34px;
  margin: 0;
  padding: 0;
}

#evergreen_ne .credits div {
  display: grid;
  gap: 12px;
}

#evergreen_ne .credits dt {
  width: max-content;
  min-width: 90px;
  margin: 0;
  padding: 2px 14px;
  background: var(--evergreen-lime);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.14em;
}

#evergreen_ne .credits dd {
  margin: 0;
  padding: 0;
  font-size: clamp(18px, 1.35vw, 25px);
  line-height: 2;
}

#evergreen_ne .product__meta {
  margin: 68px 0 0;
  padding: 0;
  font-size: clamp(18px, 1.4vw, 25px);
  line-height: 1.8;
}

#evergreen_ne .materials {
  padding-bottom: clamp(90px, 9vw, 160px);
}

#evergreen_ne .materials h2 {
  text-align: left;
}

#evergreen_ne .material-list {
  display: grid;
  gap: clamp(34px, 4.2vw, 72px);
}

#evergreen_ne .material-card {
  margin: 0;
  padding: clamp(38px, 4vw, 70px) clamp(36px, 4.8vw, 86px);
  border: 0;
  border-radius: 7px;
}

#evergreen_ne .material-card--blue {
  --evergreen-card-color: #2472bd;
  background: #e4edf9;
}

#evergreen_ne .material-card--green {
  --evergreen-card-color: #10a34f;
  background: #def3e8;
}

#evergreen_ne .material-card--orange {
  --evergreen-card-color: #ec7834;
  background: #fceddf;
}

#evergreen_ne .material-card h3 {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: var(--evergreen-card-color);
  background: transparent;
  font-size: clamp(24px, 2.2vw, 39px);
  font-weight: 700;
  line-height: 1.45;
}

#evergreen_ne .material-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.35em;
  font-family: inherit;
  font-size: clamp(22px, 1.7vw, 32px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

#evergreen_ne .material-card li {
  margin: 0;
  padding: 0;
}

#evergreen_ne .material-card a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 32px;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

#evergreen_ne .material-card a:hover,
#evergreen_ne .material-card a:focus-visible {
  color: var(--evergreen-card-color);
  text-decoration-color: currentColor;
}

#evergreen_ne .material-card a span {
  margin-left: 0;
  white-space: nowrap;
}

#evergreen_ne .contact-area {
  display: flex;
  justify-content: center;
  min-height: 420px;
  margin: 0;
  padding: 28px 24px 160px;
}

#evergreen_ne .outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 280px;
  min-height: 82px;
  padding: 14px 32px;
  border: 1px solid #c8c4bf;
  color: var(--evergreen-ink);
  background: #fff;
  font-size: 20px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#evergreen_ne .outline-button span {
  margin-left: 5px;
  font-size: 12px;
}

#evergreen_ne .outline-button:hover,
#evergreen_ne .outline-button:focus-visible {
  color: #fff;
  border-color: var(--evergreen-orange);
  background: var(--evergreen-orange);
}

#evergreen_ne .mobile-only {
  display: none;
}

@media screen and (max-width: 1080px) {
  #evergreen_ne .product {
    grid-template-columns: minmax(270px, 350px) 1fr;
    gap: 60px;
  }
}

@media screen and (max-width: 767px) {
  #evergreen_ne {
    font-size: 15px;
  }

  #evergreen_ne .section-shell {
    width: calc(100% - 38px);
  }

  #evergreen_ne .intro {
    padding-top: 74px;
    padding-bottom: 92px;
  }

  #evergreen_ne .intro h1 {
    margin-bottom: 18px;
    font-size: 23px;
  }

  #evergreen_ne .intro p {
    font-size: 16px;
    line-height: 2;
  }

  #evergreen_ne .desktop-only {
    display: none;
  }

  #evergreen_ne .mobile-only {
    display: initial;
  }

  #evergreen_ne .features {
    padding-bottom: 110px;
  }

  #evergreen_ne .features h2,
  #evergreen_ne .materials h2 {
    margin-bottom: 38px;
    font-size: 26px;
  }

  #evergreen_ne .feature-list {
    gap: 14px;
  }

  #evergreen_ne .feature-list__item {
    min-height: 118px;
    padding: 45px 22px 26px;
  }

  #evergreen_ne .feature-list__number {
    top: -17px;
    left: 50%;
    width: 50px;
    height: 50px;
    font-size: 26px;
    transform: translateX(-50%);
  }

  #evergreen_ne .feature-list__item + .feature-list__item {
    margin-top: 20px;
  }

  #evergreen_ne .feature-list__item p {
    font-size: 19px;
  }

  #evergreen_ne .product {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 120px;
  }

  #evergreen_ne .product__visual {
    width: min(70vw, 340px);
    margin: 0 auto;
  }

  #evergreen_ne .product__details h2 {
    margin-bottom: 38px;
    font-size: 29px;
    text-align: center;
  }

  #evergreen_ne .product__details h2 em {
    display: block;
    margin-top: 4px;
  }

  #evergreen_ne .credits {
    gap: 28px;
  }

  #evergreen_ne .credits dt {
    font-size: 16px;
  }

  #evergreen_ne .credits dd,
  #evergreen_ne .product__meta {
    font-size: 16px;
  }

  #evergreen_ne .product__meta {
    margin-top: 40px;
  }

  #evergreen_ne .materials {
    padding-bottom: 90px;
  }

  #evergreen_ne .materials h2 {
    line-height: 1.55;
  }

  #evergreen_ne .material-list {
    gap: 24px;
  }

  #evergreen_ne .material-card {
    padding: 30px 24px;
  }

  #evergreen_ne .material-card h3 {
    margin-bottom: 21px;
    font-size: 21px;
  }

  #evergreen_ne .material-card ul {
    gap: 14px;
    padding-left: 1.2em;
    font-size: clamp(17px, 4.5vw, 20px);
  }

  #evergreen_ne .material-card a {
    display: block;
  }

  #evergreen_ne .material-card a span {
    display: block;
    margin-left: 0;
    white-space: normal;
  }

  #evergreen_ne .contact-area {
    min-height: 280px;
    padding-bottom: 100px;
  }

  #evergreen_ne .outline-button {
    min-width: 230px;
    min-height: 68px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #evergreen_ne *,
  #evergreen_ne *::before,
  #evergreen_ne *::after {
    transition-duration: 0.01ms !important;
  }
}
