@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #776666;
  --background-color: #fffdf2;
  --accent-color01: #89c7ba;
  --accent-color02: #fcdbca;
  --accent-color03: #ffe9c1;
  --white-color: #fff;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

/* ---------- base ---------- */

body {
  color: var(--black-color);
  font-size: 12px;
  font-family: "Inter", "Noto Sans Javanese", sans-serif;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.1em;
  width: 100%;
  overflow-x: hidden;
}

@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}


/* ---------- utility ---------- */

@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

/* ---------- layout ---------- */

.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 40px);
}

.l_container {
  max-width: calc(var(--content-width) + 40px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 40px);
}

@media screen and (min-width: 768px) {
.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 40px;
  margin: 0 auto;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 80px);
}

.l_container {
  max-width: calc(var(--content-width) + 80px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 80px);
}
}

.l_contents {
  padding: 120px 0;
}

/* ---------- Opening ---------- */

/* =========================================================
  Opening（ひととき）
========================================================= */

.hitotoki_opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--background-color);
  display: grid;
  place-items: center;
}

.hitotoki_opening-inner {
  text-align: center;
}

/* ひととき */
.hitotoki_opening-title {
  font-size: clamp(28px, 70vw, 56px);
  color: var(--black-color);
  font-family: "Inter";
  font-weight: 400;
  margin-bottom: 28px; /* 数字との間隔 */
  opacity: 0;
  transform: translateY(15px);
}

/* ％表示 */
.hitotoki_opening-percent {
  font-size: 18px;
  color: var(--black-color);
  opacity: 0;
  font-variant-numeric: tabular-nums;
}

/* ---------- layout ---------- */
/* ---------- Header (追従・表示の強制) ---------- */
.l_header {
  position: fixed; /* 常に画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* 高さはデザインに合わせて調整 */
  z-index: 1000; /* オープニングより上に配置 */
  display: flex;
  align-items: center;
  transition: transform 0.3s;

  /* 消えるのを防ぐための強制設定 */
  opacity: 1 !important;
  visibility: visible !important;
}

.l_header-inner {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .l_header-inner {
    padding: 0 40px;
  }
}

.l_header-logo {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.l_header-logo_link {
  text-decoration: none;
  color: inherit;
}

/* ---------- Navigation (右からスライドするメニュー) ---------- */
.l_header-nav {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態は画面外（右） */
  width: 70%;
  height: 100vh;
  background: var(--accent-color02);
  transition: right 0.5s ease;
  z-index: 1200; /* ハンバーガー(1100)より上に配置 */
  display: grid;
  place-items: center;

  /* ★重要：閉じている時はクリックを無効化 */
  pointer-events: none;
  visibility: hidden;
}

@media screen and (min-width: 768px) {
  .l_header-nav {
    width: 40%; /* タブレット以上は幅を制限 */
  }
}

.l_header-nav.is-active {
  right: 0;
  /* ★重要：開いている時はクリックを有効化 */
  pointer-events: auto;
  visibility: visible;
}

.l_header-nav_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.l_header-nav_item {
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 400;
}

/* リンク自体のクリック有効化 */
.l_header-nav_item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 1300; /* 最前面に */
}

@media screen and (min-width: 768px) {
  .l_header-nav_item {
    font-size: 28px;
  }
}

/* ---------- Hamburger (ヘッダー内での配置) ---------- */
.m_hamburger {
  width: 40px;
  height: 12px;
  position: relative; /* ヘッダーの中で配置 */
  z-index: 1400; /* ナビより下に、ヘッダーより上に */
  background: transparent;
  border: none;
  cursor: pointer;
  display: block !important;
  opacity: 1 !important;
}

/* 棒のデザイン */
.m_hamburger-bar {
  width: 100%;
  height: 1px;
  position: absolute;
  background: var(--black-color);
  left: 0;
  transition: 0.3s;
}
.m_hamburger-bar:first-child {
  top: 0;
}
.m_hamburger-bar:last-child {
  bottom: 0;
}

/* 1本目：上から中央へ移動して45度回転 */
.js_hamburger.is-active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(20deg);
}

/* 2本目：下から中央へ移動して-45度回転 */
.js_hamburger.is-active .m_hamburger-bar:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-20deg);
}

/* オープニング中の制御：
   オープニング中はコンテンツのクリックのみ無効化 */
.js_body.is-active .l_contents,
.js_body.is-active .l_footer {
  pointer-events: none;
}

/* KVエリア */
.m_kv {
  height: 100vh;
  background: var(--background-color);
  overflow: hidden;
}

.m_kv-inner {
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-start; /* 上揃え */
}

.m_kv_img-wrapper {
  position: relative;
  /* 画面幅の70%を占めるように設定 */
  width: 70vw;
  /* 画面高さの70%を占めるように設定 */
  height: 60vh;
  /* 上から10%の位置に配置（10% + 画像70% + 下余白20% = 100%） */
  margin-top: 20vh;
}

.m_kv_img {
  width: 100%;
  height: 100%;
  /* 重要：指定した 70vw / 70vh の枠いっぱいに画像を拡大・切り抜きしてフィットさせる */
  object-fit: cover;
  display: block;
}

.m_kv_title {
  position: absolute;
  /* 画像に対しての位置調整 */
  top: 40%;
  right: -16%; /* 画像の端に少しかかる程度に調整 */
  font-size: clamp(48px, 7vw, 120px);
  color: var(--black-color);
  font-family: "Inter", sans-serif;
  font-weight: 100;
  z-index: var(--z-index-default);
  /* 文字の折り返しを防ぐ */
  white-space: nowrap;
}

/* スクロール指示全体 */
.m_kv_scroll {
  position: absolute;
  bottom: 40px;
  right: 28px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

/* 「スクロール」の文字 */
.m_kv_scroll_txt {
  writing-mode: vertical-rl;
  font-size: 10px;
  color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .m_kv_scroll_txt {
    font-size: 16px;
  }
}

/* 棒要素 */
.m_kv_scroll_bar {
  display: block;
  width: 1px;
  height: 30vh;
  background: var(--black-color);
  /* 上から下に伸ばすための基準点を設定 */
  transform-origin: top;
  /* 初期状態は縮めておく */
  transform: scaleY(0);
}

/* ---------- .top_concept ---------- */

.top_concept {
  display: flex;
  align-items: flex-start;
  gap: 0 30px; /* Conceptラベルと本文の距離 */
}

@media screen and (min-width: 768px) {
  .top_concept {
    /* PC版：背景色エリアを右側に配置 */
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 0;
  }
}

/* Conceptラベル・背景エリア */
.top_concept_aside {
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .top_concept_aside {
    /* PC版：背景色をつける */
    background-color: var(--accent-color02);
    width: 36%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.top_concept_aside_label {
  writing-mode: vertical-rl;
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 10vw, 48px); /* スマホで大きく、PCで適切に */
  color: var(--accent-color02); /* スマホではアクセントカラーの文字色 */
  font-weight: 400;
}

@media screen and (min-width: 768px) {
  .top_concept_aside_label {
    color: var(--white-color); /* PC版（背景色あり）では白文字 */
  }
}

/* メイン文章エリア */
.top_concept_main {
  flex-grow: 1;
  margin-top: 30%;
}

@media screen and (min-width: 768px) {
  .top_concept_main {
    width: 50%;
    flex-grow: 0;
  }
}

.top_concept_lead {
  font-size: 14px;
  margin-bottom: 4em;
}

.top_concept_body p {
  margin-bottom: 2.5em;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .top_concept_lead {
    font-size: 20px;
  }

  .top_concept_body p {
    font-size: 20px;
  }
}

.top_concept_body p:last-child {
  margin-bottom: 0;
}

/* JSが動く前の初期状態 */
.js_trigger {
  opacity: 0;
  transform: translateY(30px);
}

/* ---------- Service Title ---------- */

.m_section_title {
  margin-bottom: 60px;
  width: 100%;
  overflow: hidden; /* ★重要：中身がはみ出しても画面を広げない */
  position: relative;
}

@media screen and (min-width: 1080px) {
  .m_section_title_inner {
  margin-bottom: 80px;
  }
}


.m_section_title.js_trigger {
  opacity: 1 !important;
  transform: none !important;
}

.m_section_title_inner {
  opacity: 0;
  position: relative;
  display: inline-block;
  padding: 20px 20px;
  margin-left: 20px; /* モバイルの開始位置 */
}

@media screen and (min-width: 1080px) {
  .m_section_title_inner {
    margin-left: 80px; /* PCの開始位置 */
    padding: 30px 30px;
  }
}

.m_section_title_label {
  position: relative;
  z-index: 2; /* 背景(z-index:1)より上に */
  color: var(--white-color);
font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
}


/* 背景色：文字の左端から右画面端までをぴったり埋める */
.m_section_title_inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100vw - 20px);
  height: 100%;
  z-index: 1;
  background-color: var(--accent-color01);
}

@media screen and (min-width: 1080px) {
  .m_section_title_inner::before {
    /* PC版のマージン（80px）に合わせて計算し直す */
    width: calc(100vw - 80px );
  }
}



.top_service_list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.top_service_item {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1080px) {
  .top_service_item {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.top_service_header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

@media screen and (min-width: 1080px) {
  .top_service_header {
    width: 35%;
    margin-bottom: 0;
  }
}

.top_service_name {
  font-size: 18px;
  white-space: nowrap;
  color: var(--black-color);
}

.top_service_line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--black-color);
}


@media screen and (min-width: 1080px) {
  .top_service_body {
    width: 60%;
  }
}

.top_service_catch {
  font-size: 16px;
  color: var(--accent-color01);
  margin-bottom: 8px;
  font-weight: 400;
}

.top_service_txt {
  text-align: justify;
}

@media screen and (min-width: 768px) {
  .top_service_name{
    font-size: 24px;
  }
  .top_service_catch  {
    font-size: 20px;
  }
}

@media screen and (min-width: 1080px) {
  .top_service_catch  {
    font-size: 24px;
  }
}

/* ---------- .top_support ---------- */

.top_support {
  background-color: var(--accent-color03);
  padding: 80px 0;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_support {
    padding: 120px 0;
  }
}

.top_support_title {
font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  color: var(--white-color);
  margin-bottom: 60px;
}

@media screen and (min-width: 1080px) {
  .top_support_title {
    margin-bottom: 80px;
  }
}

.top_support_list {
  display: grid;
  /* スマホ：2列 */
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
  align-items: center;
  justify-items: center;
}

@media screen and (min-width: 768px) {
  .top_support_list {
    /* タブレット：3列 */
    grid-template-columns: repeat(3, 1fr);
    padding: 0px 48px;
  }
}

@media screen and (min-width: 1080px) {
  .top_support_list {
    /* PC：5列横並び (Support_pc.png) */
    grid-template-columns: repeat(5, 1fr);
    gap: 0 80px;
    padding: 0px 60px;
  }
}

.top_support_item {
  width: 100%;
  max-width: 100px; /* ロゴのサイズ感 */
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .top_support_item {
    max-width: 180px;
  }
}

.top_support_item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- .top_contact ---------- */

.top_contact {
  text-align: center;
}

.top_contact_title {
font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  margin-bottom: 60px;
}



.top_contact_form {
  text-align: left;
}

.top_contact_item {
  margin-bottom: 32px;
}

.top_contact_label {
  display: block;
  margin-bottom: 8px;
}

@media screen and (min-width: 768px) {
.top_contact_label {
  font-size: 16px;
}
}


.top_contact_input,
.top_contact_textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #ccc; /* 薄いグレーの線 */
  padding: 12px;
  font-size: 16px;
}

.top_contact_textarea {
  height: 200px;
}

/* 送信ボタン */
.top_contact_btn-wrapper {
  margin-top: 48px;
  text-align: center;
}

.m_btn {
  background-color: var(--black-color);
  color: var(--white-color);
  padding: 16px 80px;
  font-size: 16px;
  letter-spacing: 0.2em;
  transition: opacity 0.3s;
}

.m_btn:hover {
  opacity: 0.7;
}

/* 完了メッセージ表示用 */
.top_contact_complete {
  display: none; /* 初期は非表示 */
  padding: 60px 0;
}

.top_contact_complete.is-show {
  display: block;
}

.top_contact_complete_txt {
  font-size: 16px;
}

/* 送信ボタンの親要素：中央揃えにする */
.top_contact_btn-wrapper {
  margin-top: 80px;
  text-align: center;
}

/* ボタンの共通モジュール */
.m_btn {
  background-color: var(--black-color); /* #776666 */
  color: var(--white-color);
  padding: 16px 80px; /* 横に長いデザイン */
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
  display: inline-block;
}

/* ホバー時の演出 */
.m_btn:hover {
  opacity: 0.8;
}

.m_btn:active {
  transform: scale(0.98); /* 押した時に少し沈む演出 */
}

/* ---------- News Title (Serviceと位置を合わせる) ---------- */

/* これだけで、右突き抜けの背景色だけがピンクになります */
.m_section_title--news .m_section_title_inner::before {
  background-color: var(--accent-color02);
}

/* ---------- .top_news Content ---------- */

.top_news_list {
  margin-bottom: 40px;
}

.top_news_item {
  border-bottom: 0.8px solid var(--black-color);
}

.top_news_link {
  display: flex;
  align-items: center;
  padding: 30px 0;
  text-decoration: none;
  color: var(--black-color);
}

.top_news_date {
  font-family: "Inter", sans-serif;
  width: 150px;
  flex-shrink: 0;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .top_news_date {
    width: 250px;
    font-size: 16px;
  }
}

@media screen and (min-width: 768px) {
  .top_news_title {
    font-size: 16px;
  }
}

/* ---------- News More Button (修正版全文) ---------- */

/* JSが動く前の初期状態：透明にして少し下げておく */
.top_news_more.js_trigger {
  opacity: 0;
  transform: translateY(20px);
}

.top_news_more {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  margin-top: 40px;
  position: relative;
  z-index: 10; /* 他の要素に隠れないように */
}

@media screen and (min-width: 768px) {
  .top_news_more {
    font-size: 16px;
  }
}

.top_news_more_link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--black-color);
  transition: opacity 0.3s;
}

.top_news_more_link:hover {
  opacity: 0.6;
}

.top_news_more_txt {
  font-family: "Inter", sans-serif;
  text-transform: lowercase; /* 小文字に強制 */
}

.top_news_more_line {
  display: inline-block;
  width: 100px; /* デザイン案に合わせ、少し長めに設定 */
  height: 0.6px;
  background-color: var(--black-color);
  position: relative;
  vertical-align: middle;
}

/* 矢印の先端（細い線で構成） */
.top_news_more_line::after {
  content: "";
  position: absolute;
  top: -4px; /* 線の高さに合わせて微調整 */
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 0.6px solid var(--black-color);
  border-right: 0.6px solid var(--black-color);
  transform: rotate(45deg);
}

/* ---------- .top_shop ---------- */

.top_shop {
  background-color: var(--accent-color01); /* #89c7ba */
  padding-top: 100px;
  padding-bottom: 100px; /* 下の余白をなくしてフッターとくっつける */
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_shop {
    padding-top: 160px;
    padding-bottom: 160px;
  }
}

/* もし .l_contents の padding-bottom が干渉している場合の上書き */
#shop.l_contents {
  padding-bottom: 0;
}

.top_shop_title {
  color: var(--white-color);
  margin-bottom: 24px;
font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
}



.top_shop_txt {
  color: var(--white-color);
}

/* ---------- Footer ---------- */

.l_footer {
  width: 100%;
  margin-top: 0; /* 念のためマージンをリセット */
  display: block; /* 隙間防止 */
  vertical-align: bottom; /* 隙間防止 */
}

.l_footer-main {
  position: relative;
  padding: 80px 0;
  color: var(--black-color);
  z-index: 1;
}

/* 背景画像の設定（上下反転） */
.l_footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/top_img.jpg"); /* パスは適宜調整してください */
  background-size: cover;
  background-position: center;
  /* 画像を上下に反転させる */
  transform: scaleY(-1);
  z-index: -1;
  /* 画像が明るすぎて文字が見えにくい場合は少し明るさを調整 */
  filter: brightness(1.1);
}

@media screen and (min-width: 1080px) {
  .l_footer-main {
    padding: 120px 0;
  }
}

.l_footer-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media screen and (min-width: 1080px) {
  .l_footer-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.l_footer-logo {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 10px;
  font-weight: 400;
}

.l_footer-mail {
  font-size: 12px;
}

/* フッターナビゲーション */
.l_footer-nav_list {
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: flex-start;
}

@media screen and (min-width: 1080px) {
  .l_footer-nav_list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-direction: row;
  }
}

.l_footer-nav_list a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.l_footer-nav_list a:hover {
  opacity: 0.6;
}

/* コピーライトエリア */
.l_footer-copy {
  background-color: var(--background-color);
  text-align: center;
  padding: 20px 0;
}

.l_footer-copy small {
  color: var(--black-color);
  letter-spacing: 0;
}

/* ---------- 下層ページ共通 KV ---------- */

.l_sub-kv {
  height: 40vh; /* トップより低めに設定 */
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.l_sub-kv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/top_img.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.l_sub-kv_title {
  margin-left: 20px;
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 10vw, 64px);
  color: var(--black-color);
  font-weight: 300;
}

@media screen and (min-width: 1080px) {
  .l_sub-kv_title {
    margin-left: 80px;
  }
}

/* ---------- 下層ページ共通 KV ---------- */

.l_sub-kv {
  height: 40vh; /* トップより低めの高さ */
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.l_sub-kv_inner {
  width: 100%;
}

/* 背景画像をフッターと同じく反転させて配置 */
.l_sub-kv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/top_img.jpg");
  background-size: cover;
  background-position: center;
  transform: scaleY(-1); /* 上下反転 */
  z-index: -1;
}

.l_sub-kv_title {
  margin-left: 40px;
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 10vw, 64px);
  color: var(--black-color);
  font-weight: 300;
  letter-spacing: 0.1em;
}


/* ---------- ニュース一覧 (p_news) ---------- */

.p_news-list {
  margin-top: 20px;
}

.p_news-item {
  border-bottom: 1px solid var(--black-color);
}

.p_news-item_link {
  display: flex;
  flex-direction: column; /* スマホでは縦並び */
  padding: 40px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

@media screen and (min-width: 768px) {
  .p_news-item_link {
    flex-direction: row; /* PCでは横並び */
    align-items: center;
  }
}

.p_news-item_link:hover {
  opacity: 0.6;
}

.p_news-item_date {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--black-color);
  width: 150px;
  flex-shrink: 0;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .p_news-item_date {
    width: 250px;
    margin-bottom: 0;
  }
}

.p_news-item_title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

@media screen and (min-width: 768px) {
  .p_news-item_title {
    font-size: 18px;
  }
}

/* ---------- 記事詳細 (p_entry) ---------- */


@media screen and (min-width: 768px) {
.p_entry {
  padding-top: 60px;
}
}

.p_entry_header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--black-color);
  padding-bottom: 28px;
}

.p_entry_date {
  display: block;
  margin-bottom: 12px;
}

.p_entry_title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.4;
}

/* 本文内のスタイル */

.p_entry_body p {
  margin-bottom: 2em;
}

.p_entry_body ul {
  margin: 2em 0;
  padding-left: 1.5em;
  list-style: disc;
}

.p_entry_body li {
  margin-bottom: 0.5em;
}

/* 記事ナビゲーション */
.p_entry_nav {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--black-color);
}

.p_entry_nav a {
  text-decoration: none;
  color: var(--black-color);
  position: relative;
}

.p_entry_nav_prev a::before {
  content: "◀";
  margin-right: 5px;
  font-size: 10px;
}

.p_entry_nav_next a::after {
  content: "▶";
  margin-left: 5px;
  font-size: 10px;
}

/* 一覧に戻るボタン */
.p_entry_back {
  text-align: center;
  margin-top: 60px;
}

.m_btn_back {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid var(--black-color);
  text-decoration: none;
  color: var(--black-color);
  font-size: 14px;
  transition: all 0.3s;
}

.m_btn_back:hover {
  background-color: var(--black-color);
  color: var(--white-color);
}
