@charset "UTF-8";

/* ------
  - *基本設定
  - *パンくずリスト
  - *ページ内リンク
  - *ページャー
  - *書式設定
  - *タイトル
  - *メインビジュアル
  - *医院案内
  - *医師紹介
  - *アクセス
  - *ブログ
  - *求人案内
  - *404
------ */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
main section:not(:last-child) {
  margin-bottom: 100px;
}

main .wrapper {
  display: flex;
  gap: 50px;
  margin: 30px auto 100px;
}

main .contents {
  width: 100%;
}

/* ----- 1カラム用 ------ */
main .inner {
  max-width: 1200px;
}

/* ----- 2カラム用 ------ */
main .two_column.wrapper {
  max-width: 1200px;
}

main .two_column .inner {
  width: 100%;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
  main section:not(:last-child) {
    margin-bottom: 80px;
  }

  main .wrapper {
    margin: 0 auto 80px;
  }

  /* ----- 1カラム用 ------ */
  main .inner {
    padding: 0 20px;
  }

  /* ----- 2カラム用 ------ */
  main .two_column.wrapper {
    flex-flow: column;
  }
}

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

  *パンくずリスト

================================================================================================================================== */
.breadcrumb {
  margin: 0 auto 30px !important;
}

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

.breadcrumb_list li {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.breadcrumb_list li::after {
  content: "\f054";
  position: relative;
  top: -1px;
  padding: 0 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 70%;
}
.breadcrumb_list a {
    font-weight: 400;
    text-decoration: none;
}
/* 親、子、孫が複数ある場合、最後以外にカンマを表示 */
.breadcrumb_list li.parent:has(~ .parent)::after,
.breadcrumb_list li.child:has(~ .child)::after,
.breadcrumb_list li.grandchild:has(~ .grandchild)::after {
  content: ",";
  position: relative;
  top: 0;
  padding: 0 5px;
  font-family: inherit;
  font-weight: normal;
  font-size: 100%;
}

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

/* ==============================================
  *SP パンくずリスト
============================================== */
@media screen and (max-width: 640px) {
  .breadcrumb {
    font-size: 13px;
  }
}

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

  *ページ内リンク

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

.page_links_titile {
	font-size: 120%;
}

.page_links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.page_links li {
  position: relative;
  z-index: 1;
}

.page_links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 15px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  color: #ffffff;
  font-size: 95%;
  text-align: center;
  transition: color 0.2s, background 0.2s;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    border-radius: 300px;
}

.page_links a:hover {
  background: #ffffff;
  color: var(--sub-color);
}


/* ----- 2列 ----- */
.twoLinks li {
  width: calc(50% - 5px);
}

/* ----- 3列 ----- */
.threeLinks li {
  width: calc(33.3333333333% - 6.6666666667px);
}

/* ==============================================
  *SP ページ内リンク
============================================== */
@media screen and (max-width: 640px) {
  .page_links {
    margin-bottom: 40px;
  }

  /* ----- 2列 ----- */
  .twoLinks li {
    width: 100%;
  }

  /* ----- 3列 ----- */
  .threeLinks li {
    width: 100%;
  }
}
/* ==================================================================================================================================

  *リンク一覧

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

.links_list_titile {
	font-size: 120%;
}

.links_list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.links_list li {
  position: relative;
  z-index: 1;
}

.links_list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  font-size: 95%;
  text-align: center;
  transition: color 0.2s, background 0.2s;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    border-radius: 300px;
}

.links_list a:hover {
  background: #ffffff;
  color: var(--sub-color);
}


/* ----- 2列 ----- */
.twoLinks li {
  width: calc(50% - 5px);
}

/* ----- 3列 ----- */
.threeLinks li {
  width: calc(33.3333333333% - 6.6666666667px);
}

/* ==============================================
  *SP リンク一覧
============================================== */
@media screen and (max-width: 640px) {
  .links_list {
    margin-bottom: 40px;
  }

  /* ----- 2列 ----- */
  .twoLinks li {
    width: 100%;
  }

  /* ----- 3列 ----- */
  .threeLinks li {
    width: 100%;
  }
}
/* ==================================================================================================================================

  *ページャー

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

/* ----- ページャーのボタン ----- */
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 1px 2px;
  background: #d7d7d7;
  border-radius: 50%;
  color: #ffffff;
  line-height: 1;
}

/* リンクの場合  */
a.page-numbers.prev, a.page-numbers.next {
  padding: 0 0 5px 1px;
  font-size: 170%;
}

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

/* 開いているページ */
.page-numbers.current {
  background: var(--main-color);
  color: #ffffff;
}

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

  *サイドバー

================================================================================================================================== */
.sidebar {
  z-index: 3;
  flex-shrink: 0;
  width: 300px;
}

.side_box {
  padding: 20px;
  background: var(--bg-color);
  border-radius: 10px;
}

.side_box:not(:last-of-type) {
  margin-bottom: 30px;
}

.side_box .children {
  padding-left: 10px;
}

.side_box a {
  color: var(--text-color);
}

.side_box a:hover {
  color: var(--main-color);
}

.side_title {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
  padding: 0 0 5px 5px;
  border-bottom: solid 2px var(--main-color);
  font-size: 110%;
  line-height: 1.5;
  text-align: left;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
}

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

/* ----- サイドバー（診療案内） ----- */
.sidebar_medical li {
  padding: 10px 15px;
  border-bottom: 1px solid var(--line-color);
}

@media screen and (max-width: 640px) {
  .sidebar {
    width: 100%;
    margin: 0;
    padding: 0 20px;
  }

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

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

  *書式設定

================================================================================================================================== */
.mtem {
  margin-top: 2em;
}

.mbem {
  margin-bottom: 1em;
}

/* 段落余白 */
main .inner > *:not(h1, h2, h3, h4, h5) {
  margin-bottom: 2em;
}

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

/* ----- text ----- */
.text {
  position: relative;
}

.text > *:not(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 2em;
}

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

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

  *タイトル

================================================================================================================================== */
h2, h3, h4, h5, h6 {
  position: relative;
  z-index: 1;
  margin: 50px auto 25px 0;
  line-height: 1.75;
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
}

h2:first-of-type, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
  margin-top: 0;
}

h2 {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 0;
    background: none;
    color: #444;
    font-size: 180%;
    border-bottom: 2px solid var(--line-color);
    gap: 20px;
}
h2::before {
    display: block;
    flex-shrink: 0;
    content: "";
    background: url(../images/common/logo_mark.svg) top left / cover no-repeat;
    width: 60px;
    height: 38px;
}
h2::after {
    position: absolute;
    content: "";
    width: 10%;
    height: 2px;
    background: var(--sub-color02);
    left: 0;
    bottom: -2px;
}
h3 {
    padding: 15px 30px;
    border: 1px solid var(--main-color);
    font-size: 120%;
    border-radius: 7px;
    color: #fff;
}

h3::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    display: block;
    width: calc(100% - 6px);
    height: calc(100% - 5px);
    background: linear-gradient(-135deg, #aecc2a, #4baf31);
    transform: translate(-50%, -50%);
    border-radius: 4px;
}

h4 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  padding: 10px 15px 10px 20px;
  background: #f9f9f9;
  font-size: 125%;
  border-radius: 5px;
}
h4::before {
    content: "";
    display: block;
    min-width: 7px;
    height: 1.2em;
    background: var(--main-color);
    border-radius: 300px;
}
h5 {
  color: var(--sub-color02);
  font-size: 120%;
}

h6 {
  font-size: 110%;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
    h2 {
        font-size: 140%;
    }
    h2::before {
    width: 40px;
    height: 25px;
    }
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 480px;
}
.mainvisual::before {
    position: absolute;
    content: "";
    background: url(../images/common/bg_leaf01.png) top left / cover no-repeat;
    width: 365px;
    height: 325px;
    top: -50px;
    right: -34px;
    z-index: 1;
    opacity: 0.9;
}
.mainvisual::after {
    position: absolute;
    content: "";
    background: url(../images/common/bg_leaf01.png) top left / cover no-repeat;
    width: 365px;
    height: 325px;
    top: -50px;
    left: -34px;
    z-index: 1;
    opacity: 0.9;
    transform: scaleX(-1);
}
.mainvisual .mainvisual_bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 25px 25px 0 25px;
}


.mainvisual .mainvisual_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
}

.mainvisual .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: 50px 0;
}

/* ----- 下層ページの見出し ----- */
.main_headline {
  color: var(--text-color);
  padding-top: 175px;
  font-size: 200%;
  line-height: 1.5;
  text-align: center;
  font-family: var(--jp-font);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.12em;
  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);
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
    .mainvisual {
        height: 180px;
    }
    .mainvisual::before,
    .mainvisual::after {
        content: none;
    }
    .main_headline {
        padding-top: 0;
    }
    .mainvisual .mainvisual_bg {
        padding: 0;
    }
  .mainvisual .inner {
    min-height: 180px;
    padding: 30px 20px;
  }
.mainvisual .mainvisual_bg img {
    border-radius: 0;
}
  /* ----- 下層ページの見出し ----- */
  .main_headline {
    font-size: 150%;
  }
}

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

  *医院案内

================================================================================================================================== */
.clinic_desc {
  width: 100%;
}

.clinic_desc dl {
  display: flex;
}

.clinic_desc dt {
  width: 20%;
  padding: 15px;
  border-bottom: 1px dotted var(--line-color);
  font-weight: bold;
}

.clinic_desc li:first-child dt {
  padding-top: 0;
}

.clinic_desc dd {
  width: 80%;
  padding: 15px;
  border-bottom: 1px dotted var(--line-color);
}

.clinic_desc dd .zipcode {
  margin-right: 10px;
}

.clinic_desc li:first-child dd {
  padding-top: 0;
}

.facilities_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.two_column .facilities_list {
  grid-template-columns: repeat(2, 1fr);
}

.facilities_item {
  background: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dcebc3;
}

.facilities_item dd {
  padding: 15px 20px;
}

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

.facilities_item h3 {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 125%;
}

.facilities_item h3::before, .facilities_item h3::after {
  display: none;
}
.street_view iframe {
    width: 100%;
}
/* ----- 画像がない時用 ----- */
.facilities_item.noimg {
  padding: 15px 20px;
}

.facilities_item.noimg p {
  margin-top: 5px;
}

.google_calendar{
	text-align:center;
}

/* ==============================================
  *SP 医院案内
============================================== */
@media screen and (max-width: 640px) {
  .clinic_desc dl {
    display: block;
  }

  .clinic_desc dt {
    width: 100%;
    padding: 15px 0 5px;
    border-bottom: none;
  }

  .clinic_desc li:first-child dt {
    padding-top: 0;
  }

  .clinic_desc dd {
    width: 100%;
    padding: 0 0 15px;
  }

  .facilities_list {
    grid-template-columns: repeat(1, 1fr);
  }

  .two_column .facilities_list {
    grid-template-columns: repeat(1, 1fr);
  }
}

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

  *医師紹介

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

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

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

.doctor_text {
  width: 100%;
}

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

.doctor_name {
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
  /* text-align: right; */
}

.doctor_name .position {
  font-size: 130%;
}

.doctor_name .name {
  font-size: 150%;
}

.doctor_img {
  flex-shrink: 0;
  width: 350px;
}
.doctor_img img {
    border-radius: 10px;
}
.doctor_career {
  margin-top: 30px;
}

.career_box {
  padding: 30px;
  background: var(--bg-color);
  border-radius: 20px;
}

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

.career_box h3 {
    position: relative;
    padding: 15px 30px;
    border: 1px solid var(--main-color);
    font-size: 120%;
    border-radius: 7px;
    color: #fff;
}
.career_box h3::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    display: block;
    width: calc(100% - 7px);
    height: calc(100% - 7px);
    background: linear-gradient(-135deg, #aecc2a, #4baf31);
    transform: translate(-50%, -50%);
    border-radius: 5px;
}
.career_box h3::after {
  display: none;
}
.career_box > h3 {
    margin: 0 0 5px 0;
}

/* 日付あり */
.career_box dl {
  display: flex;
  gap: 10px;
  border-bottom: 1px dashed var(--line-color);
}

.career_box dl > * {
  padding: 10px 20px;
}

.career_box dt {
  width: 15%;
}

/* 日付なし */
.career_box li {
  padding: 10px 20px;
  border-bottom: 1px dashed var(--line-color);
}

/* フリーエリア */
.doctor_freearea {
  margin-top: 30px;
}

/* ==============================================
  *SP 医師紹介
============================================== */
@media screen and (max-width: 640px) {
  .doctor_flex {
    flex-flow: column;
    gap: 30px;
  }

  .doctor_img {
    order: -1;
    width: 100%;
    margin: 0 auto;
  }

  .career_box {
    padding: 20px 25px;
  }

  .career_box h3 {
    margin: 0;
  }

  /* 日付あり */
  .career_box dl {
    flex-flow: column;
    gap: 0;
  }

  .career_box dl > * {
    padding: 10px;
  }

  .career_box dt {
    width: 100%;
    padding: 10px 10px 5px;
  }

  .career_box dd {
    width: 100%;
    padding: 5px 10px 10px;
  }

  /* 日付なし */
  .career_box li {
    padding: 10px;
  }
}

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

  *アクセス

================================================================================================================================== */
/* ----- MAP ----- */
.access .googlemap iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
}

/* イラストマップのみ */
.access .illustmap {
  width: 100%;
  height: fit-content;
  text-align: center;
}

/* 両方を表示する時 */
.mapflex {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 30px;
}

.mapflex > * {
  display: flex;
  flex-grow: 1;
  align-items: stretch;
  width: calc(50% - 10px) !important;
}

.mapflex > .googlemap {
  position: relative;
  z-index: 1;
  flex-shrink: 1;
  width: calc(50% - 20px);
  height: auto;
}

.mapflex > .googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ----- 住所 ----- */
.access .location {
  position: relative;
  z-index: 1;
  padding: 0 0 0 40px;
  font-weight: bold;
}

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

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

.access .btn01 {
  text-align: center;
}

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

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

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

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

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

/* ==============================================
  *SP アクセス
============================================== */
@media screen and (max-width: 640px) {
  .mapflex > * {
    width: 100% !important;
  }

  /* ----- ルート案内 ----- */
  .route_list {
    gap: 30px;
  }

  .route_item {
    width: 100%;
  }
}

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

  *ブログ

================================================================================================================================== */
/* ----- 共通 ----- */
.wrapper_blog {
  display: flex;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
  margin: 30px auto 100px;
}

.blog_contents {
  width: 100%;
}

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

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

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

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

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

/* ----- サイドバ（サムネイル付き） ----- */
.blog_list_thum {
  display: flex;
  flex-flow: column;
}

.blog_list_thum li {
  padding: 15px 0;
}

.blog_list_thum li:first-child {
  padding-top: 0;
}

.blog_list_thum li:last-child {
  padding-bottom: 0;
}

.blog_list_thum li:not(:last-child) {
  border-bottom: 1px dashed var(--line-color);
}

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

.blog_list_thum li a:hover {
  color: var(--main-color);
}

/* サムネイル */
.blog_item_thum {
  float: none;
  display: block;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 10px;
}

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

.blog_item a:hover img {
  transform: scale(1.1);
}

/* タイトル */
.blog_item_title {
  padding: 5px 0;
}

/* カテゴリー */
.side_blog_category a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 0 0 15px;
  color: var(--text-color);
}

.side_blog_category a :hover {
  color: var(--main-color);
}

.side_blog_category a::before {
  content: "-";
  position: absolute;
  top: 0;
  left: 0;
}

/* ----- アーカイブページ ----- */
.blog_article {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog_archive_box {
  display: flex;
  flex-flow: column;
  height: auto;
  background-color: #ffffff;
  border: solid 1px var(--line-color);
  border-radius: 10px;
  overflow: hidden;
}

/* サムネイル */
.blog_archive_box .thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-bottom: solid 1px var(--line-color);
  text-align: center;
}

.blog_archive_box .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 13/9;
}

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

/* 見出し */
.blog_archive_box h2.blog_title {
  margin: 0 0 15px;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 110%;
}

.blog_archive_box h2.blog_title:before, .blog_archive_box h2.blog_title:after {
  display: none;
}

.blog_archive_box .btn01 {
  margin-top: auto;
  text-align: center;
}

.blog_archive_box .btn01 > * {
  min-width: auto;
}

/* ----- 記事ページ ----- */
.blog_single_box {
  width: 100%;
}

/* サムネイル */
.blog_single_box .thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 30px;
  text-align: center;
}

#index {
  margin: 0 0 30px;
  padding: 20px;
  background: var(--bg-color);
}

#index .index_title {
  margin: 0 0 0;
  font-weight: bold;
  font-size: 110%;
}

#index a {
  color: var(--text-color);
}

#index a:hover {
  color: var(--main-color);
}

#index .index_h2 {
  position: relative;
  z-index: 1;
  padding: 5px 0 5px 20px;
  font-weight: bold;
  color: var(--text-color);
  font-size: 110%;
}

#index .index_h2::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--main-color);
}

#index .index_h3 {
  position: relative;
  z-index: 1;
  padding: 5px 0 5px 25px;
}

#index .index_h3::before {
  content: "-";
  position: absolute;
  top: 5px;
  left: 10px;
}

.blog_single_box .blog_text > *:not(h1, h2, h3, h4, h5) {
  margin-bottom: 2em;
}

.blog_single_box .blog_text > *:not(h1, h2, h3, h4, h5):last-child {
  margin-bottom: 2em;
}

/* ==============================================
  *SP ブログ
============================================== */
@media screen and (max-width: 640px) {
  /* ----- 共通 ----- */
  .wrapper_blog {
    flex-flow: column;
    gap: 50px;
    width: 100%;
    margin: 30px auto 80px;
  }

  /* ----- アーカイブページ ----- */
  .blog_article {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .blog_archive_box {
    width: 100%;
  }

  /* サムネイル */
  .blog_archive_box .thumbnail {
    height: auto;
    min-height: auto;
  }

  .blog_archive_box .thumbnail img {
    width: 100%;
    height: auto;
  }
}/* ==================================================================================================================================

  *求人案内

================================================================================================================================== */
.recruit_freearea_inner {
    margin-bottom: 20px;
}
table.recruit_table th {
    width: 30%;
}
table.recruit_table td {
    width: 70%;
}

/* ==============================================
  *SP 求人案内
============================================== */
@media screen and (max-width: 640px) {
table.recruit_table th,
table.recruit_table td {
    display: block;
    width: 100%;
}
table.recruit_table th,
table.recruit_table tr:not(:last-child) td {
    border-bottom: none;
}
}
/* ==================================================================================================================================

  *お問い合わせ

================================================================================================================================== */
input, optgroup, select, textarea {
    background: #f7f7f7;
}
.inquiry_form_box input {
    padding: 5px 10px;
    border-radius: 5px;
}
.inquiry_form_box dl:first-child {
    border-top: 1px solid var(--line-color);
}
.inquiry_form_box dl {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--line-color);
}
.inquiry_form_box dt {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-width: 350px;
    padding: 30px 10px;
    background: var(--bg-color);
    margin: 2px 0;
}
.inquiry_form_box dd {
    padding: 30px 0;
    width: 100%;
}
.inquiry_form_box label {
    padding-right: 5px;
}
.inquiry_form_box .required {
    background: var(--sub-color);
    color: #fff;
    font-size: 80%;
    padding: 3px 10px;
    border-radius: 5px;
}
.inquiry_form_box textarea {
    width: 100%;
    border-radius: 5px;
    padding: 10px;
}
input::placeholder,
textarea::placeholder {
    color: #b6b6b6;
}
.form_btn {
    padding-top: 30px;
    text-align: center;
}
.form_btn > p {
    display: flex;
    flex-flow: column;
    align-items: center;
}
.form_btn input {
    background: var(--main-color);
    width: 250px;
    padding: 10px;
    text-align: center;
    color: #fff;
    border-radius: 300px;
    border: 1px solid var(--main-color);
    font-family: var(--jp-font);
    font-weight: 400;
    font-style: normal;
    font-size: 120%;
    letter-spacing: 0.12em;
    transition: 0.2s;
}
.form_btn input:hover {
    background: #fff;
    color: var(--main-color);
}
.recaptcha_text p {
    text-align: center;
    font-size: 90%;
    color: #a5a5a5;
}

/* ==============================================
  *SP お問い合わせ
============================================== */
@media screen and (max-width: 640px) {
.inquiry_form_box dl {
    flex-flow: column;
    gap: 5px;
    padding: 15px 0 20px;
}
.inquiry_form_box dt {
    min-width: 100%;
    padding: 10px;
    justify-content: flex-start;
    background: none;
    padding: 0;
}
.inquiry_form_box dd {
    padding: 0;
}
}
/* ==================================================================================================================================

404

================================================================================================================================== */
.error404 main > .inner {
  padding: 20px 0 80px;
}

.error404 main p {
  text-align: center;
}

/* ==============================================
  *SP 404
============================================== */
@media screen and (max-width: 640px) {
  .error404 main > .inner {
    padding: 0px 20px 60px;
  }
}
