@charset "UTF-8";

/* 色の変数 */
:root {
    --cherry-red: #DD2051;  /* メインの赤 */
    --leaf-green: #7CB356;  /* サブの緑 */
    --dark-pink1: #F9EDEF;    /* 濃いピンク背景 */
    --dark-pink2: #FCF8F9;    /* 次に濃いピンク背景 */
    --bg-main: #FEFDFE;    /* 白背景風 */
    --white: #ffffff;   /* ボタン背景の白 */
    --main-text: #2A160A;   /* メインテキストカラー */
    --contact-btn:#F9EDF0; /*ハートコンタクトボタン */
}

.news__main .breadcrumb {
    margin-top: 4vw;
    padding-left: 60px;
}


.news-detail {
  padding: 60px 16px;
}
@media (max-width:768px) {
    .news-detail {
        padding: 30px 16px;
    }
}

.news-detail__inner {
    background-color: var(--dark-pink2);
    border-radius: 90px;
}
@media (max-width:768px) {
    .news-detail__inner {
        border-radius: 60px;
    }
}
@media (max-width:500px) {
    .news-detail__inner {
        border-radius: 24px;
    }
}

.news-item__label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: "Zen Maru Gothic";
  font-weight: bold;
  color: #fff;
  width: 131px;
  height: 27px;
  border-radius: 8px;
}
@media (max-width:768px) {
    .news-item__label {
        width: 111px;
    }
}

.news-item__label--info {
  background-color: var(--leaf-green);
}
.news-item__label--recruit {
  background-color: var(--cherry-red);
}


.news-detail__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 4% 7%;
    padding-bottom: 15%;
}
@media (max-width:768px) {
    .news-detail__inner {
        padding: 7%;
    }
}

.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.news-detail__title {
  font-size: 2.2rem;
  font-weight: bold;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 2px dashed #EADFD7;
}
@media (max-width:500px) {
    .news-detail__title {
        font-size: 1.6rem;
    }
}

@media (max-width:500px) {
    .news-detail__body {
        line-height: 180%;
        letter-spacing: 1.4px;
    }
}

.news-detail__body p + p {
  margin-top: 1em;
}


.p-space {
    margin-bottom: 1em;
}
 
/* ーーーーーーーーーーー
ページャーエリア 
ーーーーーーーーーーーーー*/
.news-detail__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
@media (max-width:700px) {
    .news-detail__pager {
        flex-wrap: wrap;
        max-width: 400px;
        margin: 34px auto;
        gap: 16px;
    }
}

.news-detail__pager a {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s;
}
@media (max-width:700px) {
    .news-detail__pager a {
        flex: 0 1 auto;
        border-radius: 30px;
        text-align: center;
    }
}

.news-detail__pager a:hover {
  opacity: 0.7;
}

/* 前の記事ボタン */
.news-detail__prev ,.news-detail__next {
  padding: 8px 16px;
  gap: 20px;
}

/* 一覧へ戻るボタン */
.news-detail__back {
    border: 2px solid var(--cherry-red);
    padding: 10px 71px 10px 14px;
    border-radius: 30px;
    gap: 40px;
}
@media (max-width:700px) {
    .news-detail__back {
        width: 230px;
        display: flex;
        justify-content: center;
        padding: 8px 56px 8px 6px;
        gap: 33px;
        }
}

/* 次の記事ボタン */
.news-detail__next span {
  transform: rotate(180deg);
}

/* 非表示ボタン */
.news-detail__pager .no-next {
    display: none;
} 

.text-link {
    text-decoration: underline;
}