@charset "UTF-8";

:root {
  --main-color: #daa8ab;
  --sub-color: #b2adc5;
  --line-color: #eeeeee;
  --text-color: #444444;
  --bg-color: #fef5f5;
  --bg-gray: #fafafa;
  --selection-color: rgba(137, 137, 137, 0.1);
}

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

  *パンくずリスト

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

@media screen and (max-width: 768px) {
  .c-breadcrumb {
    margin: 30px auto !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;
  min-width: 250px;
  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;
}

.c-main-button--coming {
  pointer-events: none;
}

.c-main-button--coming a::after {
  content: "準備中";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 1000px;
  color: white;
  font-size: 90%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
  .c-main-button--center {
    text-align: center;
  }

  .c-main-button a {
    min-width: 220px;
    padding: 12px 30px;
  }
}

/* --------------------------------------------------
ベース設定
-------------------------------------------------- */
.l-inner > *:not(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 2.5em;
}

.l-inner > *:not(h1, h2, h3, h4, h5, h6):last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------
h2
-------------------------------------------------- */
h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  padding: 15px 30px;
  background: var(--main-color);
  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;
  margin-bottom: 25px;
  padding: 12px 30px;
  border: dashed 1px var(--main-color);
  font-size: 120%;
}

/* --------------------------------------------------
h4
-------------------------------------------------- */
h4 {
  margin-bottom: 25px;
  padding: 0 15px 10px;
  border-bottom: 1px solid var(--main-color);
  font-size: 120%;
}

/* --------------------------------------------------
h5
-------------------------------------------------- */
h5 {
  width: fit-content;
  margin-bottom: 25px;
  padding: 6px 25px 6px 23px;
  background: var(--bg-gray);
  border-left: 5px solid var(--main-color);
  font-size: 115%;
}

/* --------------------------------------------------
h6
-------------------------------------------------- */
/* --------------------------------------------------
最初のh2と連続したタイトルの設定
-------------------------------------------------- */
h2:first-of-type, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
  margin-top: 0 !important;
}

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

  *メインビジュアル

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

@media screen and (max-width: 768px) {
  .p-mainvisual {
    width: 100%;
    margin-top: 55px;
    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: linear-gradient(135deg, rgb(218, 168, 171), rgb(178, 173, 197));
  opacity: 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: 25%;
  min-width: 300px;
  height: fit-content;
}

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

/* --------------------------------------------------
サイドボックス
-------------------------------------------------- */
.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;
}

.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;
}

.c-frame {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.c-frame__text {
  font-size: 130%;
}

.c-frame--bg {
  background: var(--bg-color);
}

.c-frame--bg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid #eee1e1;
  transform: translate(-50%, -50%);
}

.c-layout__img {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 20px;
}

.c-layout__img--fl {
  float: left;
  margin-right: 30px;
  text-align: center;
}

.c-layout__img--fr {
  float: right;
  margin-left: 30px;
  text-align: center;
}

.c-layout__img img {
  width: auto;
  max-width: 450px;
  height: auto;
  max-height: 400px;
}

@media screen and (max-width: 768px) {
  .c-layout__img--fl, .c-layout__img--fr {
    float: none;
    margin: 0 auto 2.25em;
    text-align: center;
  }

  .c-layout__img img {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
  }
}

.c-flexbox {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.c-flexbox--01 {
  flex: 1;
  width: 100%;
}

.c-flexbox--02 > * {
  width: calc(50% - 5px);
}

.c-flexbox--03 > * {
  width: calc(33.3333333333% - 6.6666666667px);
}

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

  .c-flexbox--01 {
    flex: auto;
  }

  .c-flexbox--02 > * {
    width: 100%;
  }

  .c-flexbox--03 > * {
    width: 100%;
  }
}

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

  *アコーディオン

================================================================================================================================== */
/* --------------------------------------------------
ベース設定
-------------------------------------------------- */
.c-accordion__item:not(:last-child) {
  margin: 0 auto 15px;
}

.c-accordion__inner {
  position: relative;
  z-index: 1;
}

.c-accordion__title {
  position: relative;
  z-index: 1;
  padding: 20px 50px 20px 30px;
  background: var(--bg-color);
  cursor: pointer;
  transition: background 0.3s, color 0.2s;
}

.c-accordion__title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--main-color);
  transform: rotate(90deg);
  transition: transform 0.3s, opacity 0.3s;
}

.c-accordion__title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 2;
  width: 15px;
  height: 2px;
  background: var(--main-color);
}

.c-accordion__title.is-active::before {
  opacity: 1;
  transform: rotate(180deg);
}

.c-accordion__contents {
  display: none;
  margin: 10px 0 0;
  padding: 20px 30px;
  background: var(--bg-gray);
}

.c-accordion__contents .c-accordion__inner > *:not(:last-child) {
  margin: 0 auto 1em;
}

/* --------------------------------------------------
FAQ
-------------------------------------------------- */
.c-accordion--faq .c-accordion__inner {
  padding: 0 0 0 37px;
}

.c-accordion--faq .c-accordion__inner::before, .c-accordion--faq .c-accordion__inner::after {
  position: absolute;
  top: 47%;
  left: 0;
  font-size: 140%;
  line-height: 1;
  transform: translateY(-50%);
}

.c-accordion--faq .c-accordion__title > .c-accordion__inner::before {
  content: "Q.";
  color: var(--main-color);
}

.c-accordion--faq .c-accordion__contents > .c-accordion__inner::before {
  content: "A.";
  color: #c52b2b;
}

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

  *ページ内リンク

================================================================================================================================== */
.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(--text-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;
  }
}

.js-tab-list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.js-tab-list__item {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
  background: var(--bg-gray);
  font-size: 120%;
  cursor: pointer;
  transition: background 0.2s;
}

.js-tab-list__item:hover {
  background: var(--bg-color);
}

.js-tab-list__item.is-active {
  background: var(--main-color);
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .js-tab-list__item {
    flex: auto;
    padding: 10px;
  }
}

.js-tab-panel {
  margin-top: 20px;
}

.js-tab-panel__item {
  display: none;
}

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

  *ブログ - （共通）

================================================================================================================================== */
.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: 5px 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 {
  margin-top: auto;
  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;
}

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

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

.js-index__title {
  margin-bottom: 10px;
  font-size: 120%;
}

.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: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-custom__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 50px;
}

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

.p-custom__container .l-article .c-main-button {
  margin-top: 30px;
  text-align: right;
}

.p-custom__container .l-article .c-main-button > * {
  min-width: 220px;
}

.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: 120%;
}

.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;
}

.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: 30px;
}

.p-access__item {
  padding: 0px 10px 10px;
  border-bottom: 1px dashed var(--line-color);
}

/* ----- ルート案内 ----- */
.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;
}

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

  *パスワード保護ページ

================================================================================================================================== */
.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);
}

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

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;
  }
}
