@charset "UTF-8";

/* =========================================================
  Link Page
========================================================= */

.link-page-section {
  background: var(--color-white);
}

/* =========================================================
  Lead
========================================================= */

.link-lead {
  position: relative;
  margin-bottom: 42px;
  padding: 34px 38px;
  overflow: hidden;
  background:var(--color-main);
  color: var(--color-white);
  box-shadow: 0 10px 28px rgba(31, 63, 48, 0.16);
}
/*
.link-lead::after {
  content: "LINK";
  position: absolute;
  right: 26px;
  bottom: -8px;
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--font-en);
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  pointer-events: none;
}
*/
.link-lead__text {
  position: relative;
  z-index: 1;
  /*  max-width: 840px;*/
}

.link-lead__label {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-en);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.link-lead h2 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 25px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.link-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.9;
}

/* =========================================================
  Block
========================================================= */

.link-block {
  margin-top: 42px;
  padding: 30px 34px;
  border: 1px solid rgba(47, 93, 70, 0.14);
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(31, 63, 48, 0.05);
}

.link-block:first-of-type {
  margin-top: 0;
}

.link-block__title {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 18px 12px 20px;
  background: #338b41;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
}

.link-block__title::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 46px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%);
}

/* =========================================================
  Link Cards
========================================================= */

.link-card-list {
  display: grid;
  gap: 14px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(47, 93, 70, 0.16);
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdfb 100%
    );
  box-shadow: 0 6px 18px rgba(31, 63, 48, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.link-card::after {
  content: "LINK";
  position: absolute;
  right: 22px;
  top: 10px;
  color: rgba(47, 93, 70, 0.06);
  font-family: var(--font-en);
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  pointer-events: none;
}
/*
.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 93, 70, 0.28);
  box-shadow: 0 12px 28px rgba(31, 63, 48, 0.1);
}
*/

.link-card__body,
.link-card__button {
  position: relative;
  z-index: 1;
}

.link-card__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  padding: 4px 10px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.link-card__category--member {
  background: #338b41;
}

.link-card__category--related {
  background: #8a7a55;
}

.link-card__title {
  margin: 0 0 8px;
  color: var(--color-main);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.link-card__text {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.8;
}

.link-card__url {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-family: var(--font-en);
  font-size: 12.5px;
  line-height: 1.6;
  word-break: break-all;
}

.link-card__button a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 10px 18px;
  /*background: var(--color-main);*/
  background: var(--color-bt);	
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  transition: background 0.25s ease;
}

.link-card__button a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.link-card__button a:hover {
  background: var(--color-main-dark);
	
}

/* =========================================================
  Responsive
========================================================= */

@media screen and (max-width: 768px) {
  .link-lead {
    margin-bottom: 32px;
    padding: 26px 22px;
  }

  .link-lead::after {
    right: 16px;
    bottom: -2px;
    font-size: 42px;
  }

  .link-lead h2 {
    font-size: 19px;
    line-height: 1.7;
  }

  .link-lead p {
    font-size: 14px;
    line-height: 1.8;
  }

  .link-block {
    margin-top: 32px;
    padding: 24px 5px;
  }

  .link-block__title {
    margin-bottom: 18px;
    padding: 10px 15px;
    font-size: 18px;
  }

  .link-block__title::after {
    display: none;
  }

  .link-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 20px;
  }

  .link-card::after {
    right: 14px;
    top: 10px;
    font-size: 38px;
  }

  .link-card__title {
    font-size: 16px;
  }

  .link-card__text {
    font-size: 13.5px;
  }

  .link-card__button a {
    width: 100%;
  }
}
/* =========================================================
  Page Title Background Text
========================================================= */

body.link .page-title-section {
  position: relative;
  overflow: hidden;
}

body.link .page-title-section::after {
  content: "LINK";
  position: absolute;

  /* 広い画面ではメインコンテンツ幅の右端付近で止める */
  right: max(26px, calc((100% - 1200px) / 2 + 26px));

  /* 背景色の下端に密着 */
  bottom: -8px;

  z-index: 0;
  color: rgba(47, 93, 70, 0.07);
  font-family: var(--font-en);
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  pointer-events: none;
}

body.link .page-title-section .inner {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  body.link .page-title-section::after {
    right: 16px;
    bottom: -2px;
    font-size: 42px;
  }
}