:root {
  /* =========================
     0. サイト用の初期設定色 (Initial Colors)
     ================================ */
  --main-color: #799a54;
  --main-dark-color: #506f2c;
  --main-light-color: #f7ffef;
  --sub-dark-color: #57905d;
  --sub-light-color: #a5d3aa;
  --main-text-notice-color: #B81C2A;
  --light-gray-color: #f9f9fa;

  /* =========================
     1. 基本単色 (Solid Colors)
     ================================ */
  /* --- Blue  --- */
  --color-blue: #1d4ed8;
  --color-blue-light: #eff6ff;

  /* --- Red --- */
  --color-red: #dc2626;
  --color-red-light: #fef2f2;

  /* --- Yellow  --- */
  --color-yellow: #d97706;
  --color-yellow-light: #fef3c7;

  /* =======================================
     2. 汎用グラデーション (Modern Gradients)
     ========================================== */
  --grad-blue: linear-gradient(135deg, #2563eb, #06b6d4);
  /* 青 ➔ 水色 */
  --grad-red: linear-gradient(135deg, #f43f5e, #ed64a6);
  /* 赤 ➔ ピンク */
  --grad-yellow: linear-gradient(135deg, #f59e0b, #eab308);
  /* 橙 ➔ 金 */
}
/* .lnav-rich と .lnav-rich.alt 記述例
カスタム変数にカスタム変数を代入する書き方
*/
:root{
--color-lnav-rich-01: var(--color-red);
}
.wp_entry2 .lnav-rich ul li.lnav-rich-01 a{
  border-color: var(--color-lnav-rich-01);
}
.wp_entry2 .lnav-rich ul li.lnav-rich-01 a::after{
  background-color: var(--color-lnav-rich-01);
}
.wp_entry2 .lnav-rich li.lnav-rich-01 a:hover{
  background: var(--color-lnav-rich-01);
}
.wp_entry2 .lnav-rich.alt ul li.lnav-rich-01 a {
  border-color: var(--color-lnav-rich-01);
  background-color: var(--color-lnav-rich-01);
}
.wp_entry2 .lnav-rich.alt li.lnav-rich-01 a:hover {
  background-color: white;
}

:root {
  --color-lnav-rich-02: var(--color-blue);
  --grad-lnav-rich-02: var(--grad-blue);
}
.wp_entry2 .lnav-rich ul li.lnav-rich-02 a{
  border-color: var(--color-lnav-rich-02);
}
.wp_entry2 .lnav-rich ul li.lnav-rich-02 a::after{
  background-color: var(--color-lnav-rich-02);
}
.wp_entry2 .lnav-rich li.lnav-rich-02 a:hover{
  background: var(--grad-lnav-rich-02);
}
.wp_entry2 .lnav-rich.alt ul li.lnav-rich-02 a {
  border-color: var(--color-lnav-rich-02);
  background: var(--grad-lnav-rich-02);
}
.wp_entry2 .lnav-rich.alt li.lnav-rich-02 a:hover {
  background: white;
}



/* ------------------------------------------------------ */
.subpage {
  letter-spacing: 0;
}

.subpage #contents {
  width: 1200px;
  min-height: 80vh;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

@media screen and (max-width: 1199px) {
  .subpage #contents {
    width: 100%;
    padding: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  .subpage #contents {
    margin-top: 80px;
    width: 100%;
    padding: 0 20px;
  }
}

.subpage .container {
  padding: 0;
}

.content-body {
  margin-top: 30px;
  padding-bottom: 60px;
  min-height: 50vh;
}

@media screen and (max-width: 768px) {
  .content-body {
    padding-bottom: 30px;
  }
}

.doctor img[src*="dummy-dr"] {
  visibility: hidden;
}
.subpage.recruit .lnav-rich .lnav-subttl a{
  text-decoration: none;
  pointer-events: none;
}
.subpage.recruit .lnav-rich .lnav-subttl a::after{
  display: none;
}
.subpage #contents{
  margin-bottom: 40px;
}

.tcp > span{
  display: block;
}
.wp_entry2 img:not(.n) {
  border-radius: 25px;
aspect-ratio: 3 / 2;
  width: 100%;
  max-width: 600px;
  object-fit: cover;

  /* 上下・左右それぞれの端10%ずつを消し込む */
  mask-image:
    linear-gradient(to right, transparent, black 5%, black 95%, transparent),
    linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  mask-composite: intersect;

  -webkit-mask-image:
    linear-gradient(to right, transparent, black 5%, black 95%, transparent),
    linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
  -webkit-mask-composite: source-in;
}
.wp_entry2 img.tate:not(.n) {
aspect-ratio: 2 / 3;
}


.wp_entry2 .lnav-rich ul li a:not(:has(.lnav-rich-thumb)){
  border-radius: 100px;
}
.wp_entry2 .lnav-rich ul li a{
  height: 100%;
}
.timeline-smart h4{
  display: block;
}
.timeline-smart h4::before{
  display:none;
}
.wp_entry2 h1,
.wp_entry2 h2,
.wp_entry2 em {
  font-family: var(--font-min);
}
.wp_entry2 .h1-bg-img h1{
  background: none;
}


@media (max-width: 768px) {
  .wp_entry2 .iv-header {
    grid-template-columns: 1fr;
  }
  .wp_entry2 .iv-photo {
    grid-area: 1 / 1 / 2 / 2;
    width: 100%;
    height: auto;
  }
  .wp_entry2 .iv-info {
    grid-area: 2 / 1 / 3 / 2;
  }
  .wp_entry2 .iv-catch {
    grid-area: 3 / 1 / 4 / 2;
    padding: 20px 10px 20px 20px;
    font-size: 1.33em;
  }
  .wp_entry2 .iv-info-inner {
    padding: 20px 0 10px 20px;
  }
  .wp_entry2 .iv-body {
    padding: 0 20px 20px;
  }
  .iv-position,.iv-name{
    display: inline-block;
  }
}
a[href] .c-news__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}