@charset "UTF-8";

:root {
  --main-color: #00a551;
  --sub-color: #f1bf36;
  --line-color: #e0e0e0;
  --text-color: #444444;
  --bg-color: #f2faf6;
  --bg-gray: #f8f8f8;
  --selection-color: rgb(67, 133, 175 , 0.1);
}

/* ==================================================================================================================================

  *パンくずリスト

================================================================================================================================== */
.c-breadcrumb {
  margin: 30px auto !important;
  font-size: 80%;
}

@media screen and (max-width: 768px) {
  .c-breadcrumb {
    margin: 0 auto 30px !important;
  }
}

.c-breadcrumb__list {
  counter-reset: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
}

.c-breadcrumb__item {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* 共通スタイル：デフォルトでは矢印を表示 */
.c-breadcrumb__item::after {
  content: "\f054";
  position: relative;
  top: -1px;
  padding: 0 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 70%;
}

/* 親、子、孫が複数ある場合、最後以外にカンマを表示 */
.c-breadcrumb__item.c-breadcrumb__item--parent:has(~ .c-breadcrumb__item--parent)::after,
.c-breadcrumb__item.c-breadcrumb__item--child:has(~ .c-breadcrumb__item--child)::after,
.c-breadcrumb__item.c-breadcrumb__item--grandchild:has(~ .c-breadcrumb__item--grandchild)::after {
  content: ",";
  position: relative;
  top: 0;
  padding: 0 5px;
  font-family: inherit;
  font-weight: normal;
  font-size: 100%;
}

/* 最後の要素の矢印を消す */
.c-breadcrumb__item:last-of-type::after {
  display: none;
}

/* ==================================================================================================================================

  *メインボタン

================================================================================================================================== */
/* --------------------------------------------------
ボタンラッパー
-------------------------------------------------- */
.c-buttun__wrapper {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.c-buttun__wrapper--center {
  justify-content: center;
}

/* --------------------------------------------------
メインボタン
-------------------------------------------------- */
.c-main-button--center {
  text-align: center;
}

.c-main-button a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 15px 45px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 1000px;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.c-main-button a:hover {
  background: #ffffff;
  color: var(--main-color);
}

.c-main-button a::before {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 20px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  transform: translateY(-50%);
  transition: right 0.2s;
}

.c-main-button a:hover::before {
  right: 17px;
}

@media screen and (max-width: 768px) {
  .c-main-button a {
    padding: 12px 40px;
  }
}

/* --------------------------------------------------
h1
-------------------------------------------------- */
.l-heading-h1 {
  position: absolute;
  right: 60px;
  bottom: 30px;
  z-index: 2;
  width: fit-content;
  color: #ffffff;
  font-size: 10px;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .l-heading-h1 {
    position: static;
    width: 100%;
    margin: 0 auto 15px;
    padding: 20px;
    color: #777777;
    text-align: center;
  }
}

/* --------------------------------------------------
h2
-------------------------------------------------- */
h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  padding: 15px 30px;
  background: var(--main-color);
  border-radius: 10px;
  color: #ffffff;
  font-size: 150%;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  h2 {
    padding: 10px 20px;
    font-size: 140%;
  }
}

/* --------------------------------------------------
h3
-------------------------------------------------- */
h3 {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-bottom: 25px;
  padding: 8px 30px;
  background: var(--bg-color);
  border-left: 10px solid var(--main-color);
  border-radius: 7px;
  font-size: 20px;
}

/* --------------------------------------------------
h4
-------------------------------------------------- */
h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  padding: 0 0 0 27px;
  font-size: 18px;
}

h4::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  display: block;
  width: 12px;
  height: 12px;
  background: var(--main-color);
}

/* --------------------------------------------------
h5
-------------------------------------------------- */
h5.wp-block-heading {
  margin-bottom: 25px;
  color: var(--main-color);
  font-size: 18px;
}

/* --------------------------------------------------
h6
-------------------------------------------------- */
/* =================================================================================================================================

  *リスト（ul）

================================================================================================================================== */
/* --------------------------------------------------
リストスタイル
-------------------------------------------------- */
.c-list {
  border-radius: 15px;
}

.c-list--none {
  padding: 0;
}

.c-list--bg {
  padding: 25px;
  background: var(--bg-color);
}

.c-list--border {
  padding: 25px;
  border: 1px solid var(--main-color);
}

@media screen and (max-width: 768px) {
  .c-list--bg {
    padding: 20px;
  }

  .c-list--border {
    padding: 20px;
  }
}

/* --------------------------------------------------
表示形式
-------------------------------------------------- */
.c-list-disp--vertical {
  display: flex;
  flex-flow: column;
  gap: 20px;
}

.c-list-disp--horizontal {
  display: flex;
  flex-flow: wrap;
  gap: 10px 20px;
}

@media screen and (max-width: 768px) {
  .c-list-disp--vertical {
    gap: 20px;
  }

  .c-list-disp--horizontal {
    gap: 10px 20px;
  }
}

/* --------------------------------------------------
リストタイプ
-------------------------------------------------- */
.c-list-type--circle li {
  position: relative;
  padding: 0 0 0 25px;
  list-style-type: none;
}

.c-list-type--circle li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 10px;
  display: block;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
}

.c-list-type--check li {
  position: relative;
  padding: 0 0 0 30px;
  list-style-type: none;
}

.c-list-type--check li::before {
  content: "\f14a";
  position: absolute;
  top: 1px;
  left: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
  font-size: 97%;
}

@media screen and (max-width: 768px) {
  .c-list-type--circle li {
    padding: 0 0 0 25px;
  }

  .c-list-type--circle li::before {
    top: 12px;
    left: 10px;
    width: 5px;
    height: 5px;
  }

  .c-list-type--check li {
    padding: 0 0 0 30px;
  }

  .c-list-type--check li::before {
    top: 1px;
    left: 7px;
    font-size: 97%;
  }
}

/* ==================================================================================================================================

  *メインビジュアル

================================================================================================================================== */
.p-mainvisual {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0 0 0 auto;
  padding: 0 50px;
  background: var(--main-color);
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .p-mainvisual {
    padding: 0;
  }
}

.p-mainvisual__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 300px;
  padding: 100px;
}

@media screen and (max-width: 768px) {
  .p-mainvisual__inner {
    min-height: 200px;
    padding: 30px 25px;
  }
}

.p-mainvisual__img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 0 0 auto;
}

.p-mainvisual__img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(69, 69, 69, 0.5);
}

.p-mainvisual__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* --------------------------------------------------
ページタイトル
-------------------------------------------------- */
.p-mainvisual__title {
  display: inline-block;
  color: var(--text-color);
  font-size: 210%;
  line-height: 1.65;
  text-align: center;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 15px #ffffff) drop-shadow(0 0 15px #ffffff);
}

@media screen and (max-width: 768px) {
  .p-mainvisual__title {
    margin: 0;
    font-size: 150%;
  }
}

/* ==================================================================================================================================

  *ページャー

================================================================================================================================== */
.c-pager {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 30px auto 0;
  font-size: 15px;
}

.c-pager .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 1px 2px;
  background: var(--bg-gray);
  border-radius: 50%;
  color: #ffffff;
  line-height: 1;
  transition: background 0.2s;
}

.c-pager .page-numbers.current {
  background: var(--main-color);
  color: #ffffff;
}

.c-pager a.page-numbers:hover {
  background: #929292;
  color: #ffffff;
}

.c-pager .page-numbers.next, .c-pager .page-numbers .prev {
  padding: 0 0 3px 1px;
  font-size: 150%;
}

/* ==================================================================================================================================

  *サイドバー

================================================================================================================================== */
.c-sidebar {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  flex-shrink: 0;
  gap: 50px;
  width: 320px;
  height: fit-content;
}

@media screen and (max-width: 768px) {
  .c-sidebar {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    width: 100%;
    padding: 0 20px;
  }

  .c-sidebar--column {
    padding: 0;
  }
}

/* --------------------------------------------------
サイドボックス
-------------------------------------------------- */
.c-sidebar__box--banner {
  padding: 0;
  background: none;
}

@media screen and (max-width: 768px) {
  .c-sidebar__box--banner {
    order: 10;
  }
}

/* --------------------------------------------------
ボックスタイトル
-------------------------------------------------- */
.c-sidebar__title {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  padding: 0 0 15px 5px;
  border-bottom: solid 2px var(--main-color);
  font-size: 115%;
  line-height: 1.5;
  text-align: left;
}

.c-sidebar__title i {
  margin-right: 10px;
  color: var(--main-color);
}

/* --------------------------------------------------
記事リスト
-------------------------------------------------- */
.c-sidebar__list {
  display: flex;
  flex-flow: column;
}

.c-sidebar-item {
  padding: 15px 0;
}

.c-sidebar-item:first-child {
  padding-top: 0;
}

.c-sidebar-item:last-child {
  padding-bottom: 0;
}

.c-sidebar-item:not(:last-child) {
  border-bottom: 1px dashed var(--line-color);
}

.c-sidebar-item a {
  display: flex;
  gap: 10px;
  color: var(--text-color);
  font-size: 95%;
  line-height: 1.75;
}

.c-sidebar-item a:hover {
  color: var(--main-color);
}

.c-sidebar-item--category a {
  display: inline-flex;
}

.c-sidebar-item--category a::before {
  content: "-";
}

.c-sidebar-item--banner {
  padding: 7px 0;
  border: none !important;
  text-align: center;
}

.c-sidebar-item--banner a {
  display: block;
  color: var(--text-color);
}

.c-sidebar-item--banner a img {
  transition: opacity 0.2s;
}

.c-sidebar-item--banner a:hover img {
  opacity: 0.8;
}

.c-sidebar-item--banner span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  padding: 20px 15px;
  background-color: #ffffff;
  border: 1px solid var(--line-color);
  font-style: normal;
  text-align: center;
}

/* --------------------------------------------------
記事サムネイル
-------------------------------------------------- */
.c-sidebar-item__thumbnail {
  float: none;
  display: block;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.c-sidebar-item__thumbnail img {
  float: none;
  display: block;
  width: auto;
  min-height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.2s;
}

.c-sidebar-item__link:hover img {
  transform: scale(1.1);
}

/* --------------------------------------------------
記事タイトル
-------------------------------------------------- */
.c-sidebar-item__title {
  padding: 5px 0;
}

/* ==================================================================================================================================

  *ページ内リンク

================================================================================================================================== */
.js-anchor {
  margin-bottom: 50px;
}

.js-anchor__list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 20px 40px;
  padding: 30px;
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

@media screen and (max-width: 768px) {
  .js-anchor__list {
    gap: 20px;
    padding: 25px 10px;
  }
}

.js-anchor__item {
  position: relative;
  z-index: 1;
}

.js-anchor--custom .js-anchor__item {
  width: fit-content;
}

@media screen and (max-width: 768px) {
  .js-anchor--custom .js-anchor__item {
    width: 100%;
  }
}

.js-anchor--two .js-anchor__item {
  width: calc(50% - 20px);
}

@media screen and (max-width: 768px) {
  .js-anchor--two .js-anchor__list {
    justify-content: flex-start;
  }

  .js-anchor--two .js-anchor__item {
    width: 100%;
  }
}

.js-anchor--three .js-anchor__list {
  justify-content: flex-start;
}

.js-anchor--three .js-anchor__item {
  width: calc(33.3333333333% - 26.6666666667px);
}

@media screen and (max-width: 768px) {
  .js-anchor--three .js-anchor__item {
    width: 100%;
  }
}

.js-anchor__link {
  display: flex;
  align-items: center;
  width: fit-content;
  height: auto;
  padding: 4px 0 4px 50px;
  color: var(--text-color);
  font-size: 100%;
  transition: color 0.2s, background 0.2s;
}

.js-anchor__link:hover {
  color: var(--main-color);
}

.js-anchor__link::before {
  content: "\f063";
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  padding: 0 0 0 2px;
  background: var(--bg-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 11px;
  transition: background 0.2s, color 0.2s;
}

.js-anchor__link:hover::before {
  background: var(--main-color);
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .js-anchor__link {
    padding: 1px 0 2px 50px;
    font-size: 105%;
  }

  .js-anchor__link::before {
    top: 0px;
    width: 33px;
    height: 33px;
    padding: 0 0 0 2px;
    font-size: 10px;
  }
}

/* ==================================================================================================================================

  *ブログ - （共通）

================================================================================================================================== */
.p-column {
  margin: 0 auto 80px;
}

.p-column__container {
  display: flex;
  gap: 50px;
}

@media screen and (max-width: 768px) {
  .p-column__container {
    flex-flow: column;
    gap: 50px;
  }
}

.p-column__inner {
  width: 75%;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .p-column__inner {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *ブログ - （アーカイブページ）

================================================================================================================================== */
.p-column__box:not(:last-child) {
  margin-bottom: 80px;
}

.p-column__category-title {
  margin-bottom: 20px;
  padding: 10px 20px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 130%;
}

.p-column__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
  width: 100%;
  margin: 0 !important;
}

@media screen and (max-width: 768px) {
  .p-column__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* --------------------------------------------------
記事ボックス
-------------------------------------------------- */
.p-column-item {
  display: flex;
  flex-flow: column;
  height: auto;
  background-color: #ffffff;
  border: solid 1px var(--line-color);
}

.p-column-item__thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-bottom: solid 1px var(--line-color);
  text-align: center;
}

.p-column-item__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 13/9;
}

.p-column-item__inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 15px 15px 20px;
  border-top: none;
}

.p-column-item__info {
  margin-bottom: 20px;
}

/* ----- 見出し ----- */
.p-column-item__title {
  margin: 0 0 15px;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 105%;
  line-height: 1.65;
  text-align: start;
}

.p-column-item__title::before {
  display: none;
}

/* ----- 日付 ----- */
.p-column-item__date {
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.5;
}

.p-column-item__date::before {
  content: "\f073";
  display: inline-block;
  margin-right: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
}

/* ----- カテゴリー ----- */
.p-column-item__category-list {
  display: flex;
  flex-flow: wrap;
  gap: 0 5px;
  line-height: 1.5;
}

.p-column-item__category-item a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.5;
}

.p-column-item__category-item a::before {
  content: "\f02b";
  position: relative;
  top: 1px;
  display: inline-block;
  margin-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

/* --------------------------------------------------
記事のボタン
-------------------------------------------------- */
.p-column-button {
  text-align: center;
}

/* ==================================================================================================================================

  *ブログ - （シングルページ）

================================================================================================================================== */
/* --------------------------------------------------
日付
-------------------------------------------------- */
.p-column__date {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.5;
}

.p-column__date::before {
  content: "\f073";
  display: inline-block;
  margin-right: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
}

/* --------------------------------------------------
カテゴリー
-------------------------------------------------- */
.p-column__category-list {
  display: flex;
  flex-flow: wrap;
  gap: 0 5px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.p-column__category-item a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.5;
}

.p-column__category-item a::before {
  content: "\f02b";
  position: relative;
  top: 1px;
  display: inline-block;
  margin-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

.p-column__excerpt {
  margin: 40px auto;
}

.p-column__thumbnail {
  width: 100%;
  height: auto;
  margin: 0 auto 25px;
  text-align: center;
}

.p-colum__contents .l-text {
  margin: 50px auto 0;
}

/* --------------------------------------------------
自動生成リンク
-------------------------------------------------- */
.js-index {
  padding: 30px;
  background: var(--bg-color);
}

@media screen and (max-width: 768px) {
  .js-index {
    margin: 0 0 50px;
    padding: 22px 25px;
  }
}

.js-index__top {
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  cursor: pointer;
}

.js-index__title {
  font-size: 120%;
}

.js-index__button {
  position: relative;
  top: 1px;
  font-size: 95%;
  letter-spacing: 0.05em;
}

.js-index__inner {
  margin-top: 30px;
}

.js-index__item--h2:not(:first-of-type) {
  margin-top: 15px;
}

.js-index__item--h2:not(:last-of-type) {
  margin-bottom: 10px;
}

.js-index__item--h3 {
  padding-left: 20px;
}

.js-index__item--h3:not(:last-of-type) {
  margin-bottom: 5px;
}

.js-index__link {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--text-color);
}

.js-index__link:hover {
  color: var(--main-color);
}

.js-index__link--h2 {
  padding: 0 0 10px 30px;
  border-bottom: 1px solid var(--line-color);
  color: var(--text-color);
  font-size: 17px;
}

.js-index__link--h2::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 10px;
  display: block;
  width: 6px;
  height: 6px;
  background: var(--main-color);
  border-radius: 50%;
}

.js-index__link--h3 {
  padding: 5px 0 5px 25px;
}

.js-index__link--h3::before {
  content: "-";
  position: absolute;
  top: 4px;
  left: 10px;
}

@media screen and (max-width: 768px) {
  .js-index__link--h2 {
    padding: 0 0 10px 25px;
    font-size: 16px;
  }

  .js-index__link--h2::before {
    top: 15px;
    left: 7px;
    width: 5px;
    height: 5px;
  }

  .js-index__link--h3 {
    padding: 3px 0 3px 22px;
  }

  .js-index__link--h3::before {
    content: "-";
    position: absolute;
    top: 3px;
    left: 7px;
  }
}

/* ==================================================================================================================================

  *監修

================================================================================================================================== */
.p-author {
  margin: 100px auto 0;
}

.p-author__inner {
  display: flex;
  gap: 30px;
}

@media screen and (max-width: 768px) {
  .p-author__inner {
    display: flex;
    flex-flow: column;
    gap: 50px;
  }
}

.p-author__images {
  flex-shrink: 0;
  width: 100%;
  max-width: 250px;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .p-author__images {
    width: 100%;
    max-width: 300px;
  }
}

.p-author__text {
  position: relative;
  top: -12px;
  width: 100%;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .p-author__text {
    font-size: 15px;
  }
}

.p-author__career {
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .p-author__career {
    font-size: 16px;
  }
}

.p-author__title {
  margin: 0 auto 30px;
  font-family: "heisei-maru-gothic-std", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
}

@media screen and (max-width: 768px) {
  .p-author__title {
    margin: 0 auto 30px;
    font-size: 20px;
  }
}

.p-author__name {
  display: inline-block;
  margin-left: 25px;
}

.p-author-profile {
  margin-top: 30px;
  padding: 35px 0 0;
  border-top: solid 1px var(--line-color);
}

.p-author-profile__title {
  width: fit-content;
  margin: 0 auto 20px 0;
  background: linear-gradient(120deg, var(--main-color) 20%, var(--sub-color));
  -webkit-background-clip: text;
  font-family: "futura-pt", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 768px) {
  .p-author-profile__title {
    font-size: 22px;
  }
}

/* ==================================================================================================================================

  *関連記事

================================================================================================================================== */
.p-related {
  margin-top: 70px;
}

.p-related__title {
  margin-bottom: 20px;
  padding: 20px;
  background: var(--main-color);
  font-family: "heisei-maru-gothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  font-size: 130%;
}

@media screen and (max-width: 768px) {
  .p-related__title {
    padding: 10px 15px;
  }
}

.p-related__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 20px;
}

@media screen and (max-width: 768px) {
  .p-related__list {
    gap: 25px 15px;
  }
}

.p-related-item__category-list {
  display: flex;
  flex-flow: wrap;
  gap: 0 5px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.p-related-item__link {
  color: var(--text-color);
}

.p-related-item__link:hover {
  color: var(--main-color);
}

.p-related-item__thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 10px;
  text-align: center;
  overflow: hidden;
}

.p-related-item__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
  aspect-ratio: 13/9;
}

.p-related-item__link:hover .p-related-item__thumbnail img {
  transform: scale(1.1);
}

.p-related-item__title {
  font-family: "heisei-maru-gothic-std", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 105%;
}

.p-related-item__category-item span {
  display: inline-block;
  font-size: 13px;
  line-height: 1.5;
}

.p-related-item__category-item span::before {
  content: "\f02b";
  position: relative;
  top: 1px;
  display: inline-block;
  margin-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

.p-news__article {
  padding: 50px 0;
  border-bottom: 1px solid var(--line-color);
}

.p-news__article:first-child {
  padding-top: 0;
}

.p-news__article:not(:first-child) {
  padding-top: 30px;
}

.p-news__title {
  margin: 0 auto 30px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text-color);
  font-size: 130%;
  text-align: start;
}

.p-news__title::before, .p-news__title::after {
  display: none;
}

.p-news__info {
  display: flex;
  gap: 20px;
  margin: 0 0 20px !important;
  font-size: 14px;
}

.p-news__term {
  display: flex;
  flex-shrink: 0;
  gap: 5px;
}

.p-news__taxonomy {
  display: inline-block;
  min-width: 100px;
  padding: 2px 10px;
  border-radius: 1000px;
  font-size: 13px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .p-news__taxonomy {
    font-size: 11px;
  }
}

.f-news-item__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================================================================================================================================

  *医師紹介

================================================================================================================================== */
.p-doctor-box:not(:last-child) {
  margin: 0;
  padding: 0 0 60px;
}

.p-doctor-box:not(:first-child) h2 {
  margin-top: 20px;
}

.p-doctor__box--flex {
  display: flex;
  justify-content: center;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  .p-doctor__box--flex {
    flex-flow: column;
  }
}

.p-doctor__left {
  width: 100%;
}

.p-doctor__left > *:not(:first-child) {
  margin-top: 30px !important;
}

@media screen and (max-width: 768px) {
  .p-doctor__left {
    order: 2;
  }
}

.p-doctor__right {
  flex-shrink: 0;
  width: 100%;
}

/* ----- 写真がある時 ----- */
.p-doctor__box--flex .p-doctor__right {
  width: 400px;
}

@media screen and (max-width: 768px) {
  .p-doctor__right {
    order: 1;
    width: 100% !important;
  }
}

.p-doctor__img {
  margin: 0 auto;
  text-align: center;
}

.p-doctor__profile {
  margin-top: 30px;
  text-align: right;
}

.p-doctor__profile .--position {
  font-size: 130%;
}

.p-doctor__profile .--name {
  font-size: 150%;
}

@media screen and (max-width: 768px) {
  .p-doctor__profile {
    text-align: center;
  }
}

.p-doctor-career {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .p-doctor-career {
    margin-top: 40px;
  }
}

.p-doctor-career__box {
  padding: 30px 40px;
  background: var(--bg-color);
}

.p-doctor-career__box:not(:last-of-type) {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .p-doctor-career__box {
    padding: 30px;
  }
}

.p-doctor-career__title {
  margin: 0 0 5px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text-color);
  font-size: 140%;
}

.p-doctor-career__title::before, .p-doctor-career__title::after {
  display: none;
}

.p-doctor-career__definition {
  display: flex;
  gap: 10px;
  border-bottom: 1px dashed var(--line-color);
}

.p-doctor-career__definition dt {
  width: 15%;
  padding: 10px 20px;
}

.p-doctor-career__definition dd {
  padding: 10px 20px;
}

@media screen and (max-width: 768px) {
  .p-doctor-career__definition {
    flex-flow: column;
    gap: 0;
  }

  .p-doctor-career__definition dt {
    width: 100%;
    padding: 15px 10px 5px;
  }

  .p-doctor-career__definition dd {
    width: 100%;
    padding: 5px 10px 15px;
  }
}

.p-doctor-career__list li {
  padding: 10px 20px;
  border-bottom: 1px dashed var(--line-color);
}

@media screen and (max-width: 768px) {
  .p-doctor-career__list li {
    padding: 15px 10px;
  }
}

.p-doctor__freearea {
  margin-top: 30px;
}

/* ==================================================================================================================================

  *クリニック紹介

================================================================================================================================== */
.p-clinic-information {
  width: 100%;
}

.p-clinic-information dl {
  display: flex;
}

.p-clinic-information dt {
  width: 20%;
  padding: 20px;
  border-bottom: 1px solid var(--line-color);
  font-weight: bold;
}

.p-clinic-information li:first-child dt {
  padding-top: 0;
}

.p-clinic-information dd {
  width: 80%;
  padding: 20px;
  border-bottom: 1px solid var(--line-color);
}

.p-clinic-information dd .zipcode {
  margin-right: 10px;
}

.p-clinic-information #office-hours dd {
  padding: 30px 0;
}

.p-clinic-information li:first-child dd {
  padding-top: 0;
}

@media screen and (max-width: 768px) {
  .p-clinic-information dl {
    display: block;
  }

  .p-clinic-information dt {
    width: 100%;
    padding: 20px 0 10px;
    border-bottom: none;
  }

  .p-clinic-information li:first-child dt {
    padding-top: 0;
  }

  .p-clinic-information dd {
    width: 100%;
    padding: 0 0 20px;
  }

  .p-clinic-information dd .zipcode {
    margin-right: 10px;
  }

  .p-clinic-information #office-hours dd {
    padding: 10px 0 35px;
  }
}

.p-clinic-facilities__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-flow: wrap;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .p-clinic-facilities__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .p-clinic-facilities__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-clinic-facilities__item {
  background: var(--bg-color);
}

.p-clinic-facilities__item dd {
  padding: 15px;
}

.p-clinic-facilities__item dd p {
  padding-top: 5px;
}

.p-clinic-facilities__item h3 {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  font-size: 125%;
}

.p-clinic-facilities__item h3::before, .p-clinic-facilities__item h3::after {
  display: none;
}

/* ----- 画像がない時用 ----- */
.p-clinic-facilities__item--noimg {
  padding: 15px;
}

/* ==================================================================================================================================

  *アクセス

================================================================================================================================== */
.p-access__container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.p-access__container > * {
  width: calc(50% - 10px) !important;
}

@media screen and (max-width: 768px) {
  .p-access__container {
    flex-flow: column;
  }

  .p-access__container > * {
    width: 100% !important;
  }
}

.p-access__googlemap {
  position: relative;
  z-index: 1;
  margin: 0 !important;
}

.p-access__googlemap iframe {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
}

.p-access__googlemap--resize iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-access__illustmap {
  width: 100%;
  height: fit-content;
  margin: 0 !important;
  text-align: center;
}

/* ----- 住所 ----- */
.p-access__location {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 0 0 0 40px;
}

.p-access__location::before {
  content: "\f3c5";
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 13px;
}

.p-access__location span {
  display: inline-block;
  margin-right: 10px;
}

.p-access-list {
  margin-top: 20px;
}

/* ----- ルート案内 ----- */
.p-route__list {
  display: flex;
  flex-flow: wrap;
  gap: 50px 30px;
}

@media screen and (max-width: 768px) {
  .p-route__list {
    gap: 40px;
  }
}

.p-route__item {
  width: calc(50% - 15px);
}

.p-route__item > *:not(:last-child) {
  margin-bottom: 1em;
}

@media screen and (max-width: 768px) {
  .p-route__item {
    width: 100%;
  }
}

.p-route__title {
  position: relative;
  z-index: 1;
  min-height: 30px;
  padding: 0 0 0 40px;
  font-size: 110%;
}

.p-route__title .--number {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1;
}

.p-route__img {
  width: 100%;
  height: auto;
}

/* ==================================================================================================================================

404

================================================================================================================================== */
.l-inner--error404 {
  padding: 50px 0 60px;
}

.l-inner--error404 p {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .l-inner--error404 {
    padding: 0 20px 60px;
  }

  .l-inner--error404 p {
    text-align: start;
  }
}

/* ==================================================================================================================================

  *パスワード保護ページ

================================================================================================================================== */
.p-password__text {
  text-align: center;
}

.p-password__input {
  display: block;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line-color);
  border-radius: 10px;
}

.p-password__submit {
  display: block;
  width: 80%;
  max-width: 300px;
  margin: 30px auto 0;
  padding: 10px 0;
  background: var(--sub-color);
  border: solid 1px var(--sub-color);
  border-radius: 300px;
  color: #ffffff;
  font-size: 110%;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.p-password__submit:hover {
  background: #ffffff;
  color: var(--sub-color);
}
