@charset "UTF-8";

/* 他コンテンツへの導線。既存CSSより後に読み込んでください。 */
.ohtaya-sougi-links {
  --sougi-links-width: 1180px;
  --sougi-links-text: #163b2c;
  --sougi-links-muted: #53655d;
  --sougi-links-accent: #14553d;
  display: block;
  width: 100%;
  margin: 0;
  padding: clamp(52px, 6vw, 88px) 0;
  color: var(--sougi-links-text);
  background: transparent;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  text-align: left;
}

.ohtaya-sougi-links,
.ohtaya-sougi-links *,
.ohtaya-sougi-links *::before,
.ohtaya-sougi-links *::after {
  box-sizing: border-box;
}

.ohtaya-sougi-links .ohtaya-sougi-links__container {
  width: calc(100% - 40px);
  max-width: var(--sougi-links-width);
  margin: 0 auto;
  padding: 0;
}

.ohtaya-sougi-links .ohtaya-sougi-links__heading {
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 0;
  text-align: center;
}

.ohtaya-sougi-links .ohtaya-sougi-links__eyebrow {
  position: static;
  margin: 0 0 10px;
  padding: 0;
  color: var(--sougi-links-accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: .12em;
}

.ohtaya-sougi-links .ohtaya-sougi-links__heading h2 {
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sougi-links-accent);
  font-family: inherit;
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .035em;
  box-shadow: none;
}

.ohtaya-sougi-links .ohtaya-sougi-links__heading h2::before,
.ohtaya-sougi-links .ohtaya-sougi-links__heading h2::after {
  content: none;
}

.ohtaya-sougi-links .ohtaya-sougi-links__phrase {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ohtaya-sougi-links .ohtaya-sougi-links__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card {
  position: relative;
  display: flex;
  float: none;
  min-width: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  color: var(--sougi-links-text);
  background: #fff;
  border: 1px solid rgba(22, 59, 44, .14);
  border-radius: 16px;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card::before,
.ohtaya-sougi-links .ohtaya-sougi-links__card::after {
  content: none;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card__visual {
  display: block;
  flex: none;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eef1ed;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card__title {
  display: block;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card__text {
  display: block;
  margin-top: 10px;
  color: var(--sougi-links-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--sougi-links-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.ohtaya-sougi-links .ohtaya-sougi-links__card:focus-visible {
  outline: 3px solid #237050;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .ohtaya-sougi-links .ohtaya-sougi-links__card:hover {
    color: var(--sougi-links-text);
    text-decoration: none;
    border-color: rgba(22, 59, 44, .35);
    transform: translateY(-3px);
  }
  .ohtaya-sougi-links .ohtaya-sougi-links__card:hover img {
    transform: scale(1.035);
  }
}

@media (max-width: 900px) {
  .ohtaya-sougi-links .ohtaya-sougi-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .ohtaya-sougi-links .ohtaya-sougi-links__card__body {
    padding: 18px 16px;
  }
}

@media (max-width: 600px) {
  .ohtaya-sougi-links .ohtaya-sougi-links__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .ohtaya-sougi-links .ohtaya-sougi-links__heading {
    margin-bottom: 28px;
  }
  .ohtaya-sougi-links .ohtaya-sougi-links__eyebrow {
    font-size: 14px;
    letter-spacing: .06em;
  }
  .ohtaya-sougi-links .ohtaya-sougi-links__card__text {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ohtaya-sougi-links .ohtaya-sougi-links__card,
  .ohtaya-sougi-links .ohtaya-sougi-links__card__visual img {
    transition: none;
    transform: none;
  }
}
