@charset "UTF-8";

:root {
  --news-color-bg: #FFFBF4;
  --news-color-accent: #f9ad90;
  --news-color-text: #3e3e3e;
  --news-color-white: #fff;
}

/**************************************************/
/* ボタン */
/**************************************************/
.p-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  padding: 16px 28px;
  background: linear-gradient(to right, #f9ad90, #fac6b4);
  border: 2px solid var(--news-color-white);
  border-radius: 30px;
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-color-white);
  text-decoration: none;
  letter-spacing: 1.2px;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  .p-btn {
    width: 100%;
  }
}
.p-btn:hover {
  opacity: 0.8;
}

/**************************************************/
/* トップページお知らせ */
/**************************************************/
.p-news {
  width: 100%;
  background-color: var(--news-color-bg);
  padding: 70px 0;
}
@media (max-width: 768px) {
  .p-news {
    padding: 40px 0;
  }
}
.p-news__title {
  margin: 0 auto 52px;
  text-align: center;
  font-size: 34px;
  font-weight: 600;
  color: var(--news-color-accent);
}
@media (max-width: 768px) {
  .p-news__title {
    font-size: 26px;
    margin-bottom: 20px;
  }
}
.p-news__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px;
  background-color: var(--news-color-white);
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .p-news__inner {
    max-width: 100%;
    padding: 24px 16px;
  }
}
.p-news__tab-container {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.p-news__tab {
  background-color: var(--news-color-bg);
  border: 3px solid var(--news-color-accent);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.7;
  color: var(--news-color-text);
  text-align: center;
  transition: background-color 0.3s ease;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .p-news__tab {
    font-size: 14px;
    padding: 10px 16px;
  }
}
.p-news__tab:hover,
.js-tabActive {
  background-color: var(--news-color-accent);
  color: var(--news-color-white);
}
.p-news__content {
  border: 3px solid var(--news-color-accent);
  border-radius: 0 5px 5px 5px;
  padding: 16px 20px 16px 12px;
  max-height: 350px;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .p-news__content {
    padding: 12px 12px 12px 8px;
    max-height: 300px;
  }
}
.p-topics .p-news__content {
  max-height: 500px;
}
.js-hidden {
  display: none;
}
.js-active {
  display: block;
}
.p-news__item {
  border-bottom: 1px solid #e5e7eb;
}
.p-news__item:last-child {
  border-bottom: none;
}
.p-news__item__link {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-color-text);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
  .p-news__item__link {
    flex-direction: column;
    gap: 4px;
    padding: 12px;
  }
}
.p-news__item__link:hover {
  opacity: 0.7;
}
.p-news__item__title {
  flex: 1;
}
@media (max-width: 768px) {
  .p-news__item__title {
    line-height: 20px;
  }
}
.p-news__insta-profile {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .p-news__insta-profile {
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 20px;
    row-gap: 4px;
  }
  .p-news__insta-avatar {
    flex-shrink: 0;
  }
  .p-news__insta-info {
    flex: 1;
  }
  .p-news__insta-follow-btn {
    width: 100%;
  }
}
.p-news__insta-avatar {
  width: 80px;
}
.p-news__insta-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.p-news__insta-info {
  display: flex;
  flex-direction: column;
  line-height: 1.7;
}
.p-news__insta-handle {
  font-weight: 600;
  font-size: 16px;
}
.p-news__insta-handle a {
  text-decoration: none;
}
.p-news__insta-name {
  font-size: 12px;
}
.p-news__btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .p-news__btn .p-btn {
    padding: 12px 28px;
  }
}

/**************************************************/
/* お知らせ詳細ページ */
/**************************************************/
.p-news-post {
  width: 100%;
  background-color: var(--news-color-bg);
  padding: 70px 0;
}
@media (max-width: 768px) {
  .p-news-post {
    padding: 40px 0;
  }
}
.p-news-post__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 48px;
  background-color: var(--news-color-white);
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .p-news-post__inner {
    padding: 40px 24px;
  }
}
.p-news-post__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.7;
  margin-bottom: 30px;
}
.p-news-post__date {
  font-size: 15px;
}
.p-news-post__title {
  font-weight: 600;
  font-size: 24px;
}
@media (max-width: 768px) {
  .p-news-post__title {
    font-size: 22px;
  }
}
.p-news-post__hero {
  margin: 30px auto;
}
.p-news-post__hero-img {
  width: 100%;
  height: 400px !important;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 768px) {
  .p-news-post__hero-img {
    height: 200px !important;
  }
}
.p-news-post__content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--news-color-text);
}
.p-news-post__content h2 {
  background-color: rgba(249, 173, 144, 0.1);
  border-left: 3px solid var(--news-color-accent);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 28px;
}
@media (max-width: 768px) {
  .p-news-post__content h2 {
    font-size: 18px;
    padding: 8px 16px;
    margin: 28px 0 20px;
  }
}
.p-news-post__content h3 {
  border-left: 3px solid var(--news-color-accent);
  padding: 0 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 20px;
}
@media (max-width: 768px) {
  .p-news-post__content h3 {
    margin: 20px 0 18px;
  }
}
.p-news-post__content h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 20px;
}
@media (max-width: 768px) {
  .p-news-post__content h4 {
    margin: 20px 0 18px;
  }
}
.p-news-post__content h4::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--news-color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.p-news-post__content ul,
.p-news-post__content ol {
  padding-left: 20px;
}
.p-news-post__content ul {
  list-style: disc;
}
.p-news-post__content ul > li,
.p-news-post__content ol > li {
  margin-top: 4px;
}
.p-news-post__content ul > li:first-child,
.p-news-post__content ol > li:first-child {
  margin-top: 0;
}
.p-news-post__content ol {
  list-style: decimal;
}

.p-news-post__osusume {
  margin-top: 70px;
}
@media (max-width: 768px) {
  .p-news-post__osusume {
    margin-top: 40px;
  }
}
.p-news-post__osusume-title {
  border-bottom: 3px solid var(--news-color-accent);
  padding-bottom: 4px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .p-news-post__osusume-title {
    margin-bottom: 4px;
  }
}



/**************************************************/
/* ユーティリティ */
/**************************************************/
.u-mt-30 {
  margin-top: 30px !important;
}
