@charset "UTF-8";

/* =========================
   Component: Section Heading
========================= */

.c-section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-section-heading__sub {
  display: inline-block;
  color: #37AB9D;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  line-height: 1;
}

.c-section-heading__title {
  display: inline-block;
  width: fit-content;
  padding-bottom: 0;
  border-bottom: 2px solid #37AB9D;
  color: #625449;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

/* =========================
   Component: Button
========================= */

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 250px;
  height: 60px;
  padding: 14px 24px;
  border: 1px solid #37AB9D;
  border-radius: 10px;
  background-color: #37AB9D;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}

.c-btn:hover {
  background-color: #fff;
  color: #37AB9D;
}

/* =========================
   Component: Badge
========================= */

.c-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-width: 160px;
  height: 60px;
  padding: 12px 10px;
  border: 3px solid #625449;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.c-badge__sub-text {
  color: #9f8f7f;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.c-badge__main-text {
  color: #5b514b;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

/* =========================
   Component: News Item
========================= */

.c-news-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid #d8d0c8;
}

.c-news-item__date {
  color: #625449;
  font-size: 1rem;
  line-height: 1.4;
}

.c-news-item__title {
  color: #625449;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.c-news-item__title:hover {
  opacity: 0.7;
}

/* =========================
   Tablet and up
========================= */

@media screen and (min-width: 768px) {
  .c-btn {
    min-width: 200px;
    padding: 16px 28px;
    font-size: 1rem;
  }

  .c-badge {
    padding: 14px 18px;
  }

  .c-badge__main-text {
    font-size: 1.125rem;
  }

  .c-news-item {
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
  }

  .c-news-item__date {
    flex-shrink: 0;
    width: 120px;
  }
}

/* ========================================
   page hero
======================================== */

.p-page-hero__grid {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 100px;
}

/* =========================
   左：テキスト
========================= */
.p-page-hero__heading {
  display: grid;
  gap: 12px;
}

.p-page-hero__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #5f5a54;
}

.p-page-hero__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-page-hero__item {
  position: relative;
  font-size: 0.825rem;
  font-weight: 700;
  color: #111111;
}

.p-page-hero__item + .p-page-hero__item {
  padding-left: 10px;
}

.p-page-hero__item + .p-page-hero__item::before {
  content: "-";
  position: absolute;
  left: 0;
}

.p-page-hero__item a {
  text-decoration: none;
  color: inherit;
}

.p-page-hero__item a:hover {
  opacity: 0.7;
}

/* =========================
   右：画像
========================= */
.p-page-hero__image {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.p-page-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========================================
   tablet
======================================== */
@media (min-width: 768px) {

  .p-page-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .p-page-hero__title {
    font-size: 2.5rem;
  }

  .p-page-hero__image {
    border-radius: 20px;
  }
}

/* ========================================
   pc
======================================== */
@media (min-width: 1024px) {

  .p-page-hero__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
  }

  .p-page-hero__heading {
    padding-left: 80px;
  }

  .p-page-hero__image {
    border-radius: 24px;
  }
}

/* ========================================
   p-link
======================================== */

.p-link .l-inner {
  max-width: 700px;
}

.p-link__heading {
  margin: 0 0 24px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
}

.p-link__list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-link__item {
  margin: 0;
}

.p-link__card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.p-link__image {
  margin: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.p-link__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.p-link__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  background-color: #efefef;
}

.p-link__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: #5f5a54;
}

.p-link__arrow {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.p-link__arrow::before,
.p-link__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  background-color: #5f5a54;
  transform-origin: right center;
}

.p-link__arrow::before {
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

.p-link__arrow::after {
  width: 8px;
  height: 2px;
  transform: translateY(-50%) rotate(45deg);
  top: calc(50%);
}

.p-link__card:hover .p-link__image img {
  transform: scale(1.03);
}

.p-link__card:hover .p-link__arrow {
  transform: translateX(2px);
}

.p-link__arrow {
  transition: transform 0.3s ease;
}

/* ========================================
   tablet
======================================== */
@media (min-width: 768px) {
  .p-link {
    padding: 80px 0;
  }

  .p-link__heading {
    margin-bottom: 28px;
    font-size: 1rem;
  }

  .p-link__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .p-link__text {
    min-height: 56px;
    padding: 0 20px;
  }

  .p-link__title {
    font-size: 1rem;
  }
}

/* ========================================
   pc
======================================== */
@media (min-width: 1024px) {
  .p-link {
    padding: 96px 0;
  }

  .p-link__list {
    gap: 28px;
  }

  .p-link__image img {
    aspect-ratio: 29 / 14;
  }

  .p-link__text {
    min-height: 60px;
    padding: 0 24px;
  }

  .p-link__arrow {
    width: 20px;
    height: 20px;
  }

  .p-link__arrow::before {
    width: 18px;
  }
}