/* -------------------------------------------
共通パッチ
------------------------------------------- */
img {
  vertical-align: bottom;
}

/* PCとタブレットのみ改行を適用 */
@media screen and (min-width: 767.01px) {
  .pc-tab {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .pc-tab {
    display: none;
  }
}

/* 要項ページ body */
.single-post_recruit {
  color: var(--sub-txt, #333);
  word-break: break-word;
}

.c-headline-001__en {
  font-weight: 400;
  /* text-transform: uppercase; */
}

.c-headline-001__ja {
  font-weight: 700;
  line-height: 1.6;
}

.m-footer-001__copyright {
  padding: 30px 0;
  font-family: inherit;
}

@media screen and (max-width: 767px) {
  .m-footer-001__copyright {
    padding: 20px 0;
  }
}

/* 募集要項の罫線 */
div[class^="m-require-"][class$="__detail-row"] {
  border-color: var(--primary-border);
}

/* 見出し下の余白設定 */
.c-headline-001 {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .c-headline-001 {
    margin-bottom: 20px;
  }
}

/* 見出し後のコンテンツの上余白を削除 */
.c-headline-001 + * {
  padding-top: 0;
  margin-top: 0;
}

/* フッター */
.m-footer-001 {
  color: #a1a1a1;
  background: var(--primary-txt, #fff);
}

@media screen and (max-width: 767px) {
  .c-headline-001__ja,
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
   font-size: 2rem;
   letter-spacing: .2rem;
 }
}

@media screen and (max-width: 374px) {
  .c-headline-001__ja,
  [class$="__headline-txt"],
  [class$="__content-ttl"] {
   font-size: 1.8rem;
   letter-spacing: .1rem;
 }
}

.m-header-001__logo-link-img {
    max-height: 40px;
}

@media screen and (max-width: 767px) {
    .m-header-001__logo-link-img {
        max-height: 30px;
    }
}

.m-header-001__btn-link {
    max-height: 80px;
}

@media screen and (max-width: 767px) {
    .m-header-001__btn-link {
        max-height: 60px;
    }
}

.c-headline-001__en {
    color: #0478c4;
}

/* -------------------------------------------
仕事内容（単体） 001
------------------------------------------- */
.m-jobs-001 {
  /* background: #e5f6ef; */
}

.m-jobs-001__content-desc {
  /* color: #333; */
  /* color: var(--primary); */
}

.m-jobs-001 {
  padding: 80px 20px 120px;
}

@media screen and (max-width: 767px) {
  .m-jobs-001 {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__content-desc {
    text-align: left;
  }
}

.m-jobs-001__list {
  padding: 0;
}

.m-jobs-001__list-item:last-child {
  padding-bottom: 0;
}

.m-jobs-001__list-item-inner {
  align-items: center;
}

.m-jobs-001__list-item-figure {
  min-height: 490px;
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-figure {
    min-height: auto;
  }
}

.m-jobs-001__list-item-detail {
  width: 40%;
  margin: 0 0 0 3%;
  padding: 40px 0;
}

.m-jobs-001__list-item-detail-ttl {
  display: block; /*safariバグ対策*/
  padding: 0;
  margin: 0 0 15px;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  background: transparent;
  color: var(--sub-txt);
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail-ttl {
    font-size: 1.8rem;
  }
}

.m-jobs-001__list-item-detail-desc {
  font-weight: 400;
}

/*テキストを内側に寄せたい場合は削除*/
.m-jobs-001__list-item-detail {
  width: 45%;
  margin: 0;
  padding: 40px 0% 40px 40px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .m-jobs-001__list-item-detail {
    padding: 20px 0 40px 20px;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-detail {
    width: 100%;
    margin: 0 0 0 0%;
    padding: 20px 0;
  }
}

.m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
  margin: 0 3% 0 0;
  padding: 40px 0%;
}

/*テキストを内側に寄せたい場合は削除*/
.m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
  margin: 0;
  padding: 40px 40px 40px 0%;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    padding: 20px 20px 40px 0;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    margin: 0;
    padding: 20px 0;
  }
}

@media screen and (max-width: 767px) {
  .m-jobs-001__list-item:last-child .m-jobs-001__list-item-detail {
    padding-bottom: 0;
  }
}

/*タブレットから縦並びの時*/
@media screen and (max-width: 1024px) {
  .m-jobs-001__list-item-inner,
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-inner {
    flex-direction: column;
  }
  .m-jobs-001__list-item-figure {
    width: 100%;
    min-height: 440px; /*適宜変更*/
  }
  .m-jobs-001__list-item-detail {
    width: 100%;
    margin: 0;
    padding: 20px 0px;
  }
  .m-jobs-001__list-item:nth-child(even) .m-jobs-001__list-item-detail {
    padding: 20px 0px;
  }
  .m-jobs-001__list-item:last-child .m-jobs-001__list-item-detail {
    padding-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .m-jobs-001__list-item-figure {
    min-height: auto;
  }
}

/* -------------------------------------------
インタビュー 004
------------------------------------------- */
/* 色調整 */
.m-interview-004__nav-item-btn {
  /* background: #000; */
}

.m-interview-004__contents-section-detail-ttl {
  /* color: var(--sub-txt); */
}

.m-interview-004__contents-section-detail-content-txt-name {
  /* color: var(--sub-txt); */
}

/*その他*/
.m-interview-004 {
  padding: 120px 0 80px;
  background: #f0fbff;
}

@media screen and (max-width: 767px) {
  .m-interview-004 {
    padding: 40px 0 10px;
  }
}

.m-interview-004__nav {
  display: none;
}

.c-headline-001 + .m-interview-004__nav {
  margin-top: -5px;
}

.m-interview-004__nav-item-btn {
  display: flex;
  flex-direction: column;
}

.m-interview-004__nav-item-figure {
  min-height: 1px; /* for IE */
}

.m-interview-004__nav-item-ttl-category {
  font-weight: 500;
}

.m-interview-004__nav-item-ttl-name {
  font-weight: 700;
}

.m-interview-004__nav-item-ttl-ruby {
  font-family: (--font-en, "Josefin Sans", "Noto Sans JP", Arial, Helvetica, sans-serif);
  font-weight: 400;
}

.m-interview-004__nav-item-ttl {
  flex: 1 0 auto;
}

@media screen and (max-width: 767px) {
  .m-interview-004__contents-section-figure+.m-interview-004__contents-section-detail {
    margin-top: -60px;
  }
}

.m-interview-004__contents-section-detail-ttl {
  font-weight: 700;
}

.m-interview-004__contents-section-detail-intro {
  font-weight: 500;
  color: #0478c4;
}

.m-interview-004__contents-section-detail-content-txt:last-child {
  margin-bottom: 0;
}

.m-interview-004__contents-section-detail-content-txt-name {
  font-weight: 700;
  color: #0478c4;
}

.m-interview-004__contents-section-detail-content-txt-block {
  font-weight: 500;
}

/* -------------------------------------------
社風 003
------------------------------------------- */
.m-culture-003 {
    background: #0478c4 !important;
    padding: 120px 0;
}

@media screen and (max-width: 767px) {
    .m-culture-003 {
        padding: 40px 0;
    }
}

.m-culture-003__inner {
  max-width: 840px;
  padding: 0 20px;
}

.m-culture-003 .c-headline-001__en {
  /* color: #fff; */
}

.m-culture-003 .c-headline-001__ja {
  /* color: #fff; */
}

.m-culture-003__list {
  padding: 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list {
    padding: 0;
  }
}

.m-culture-003__list-item {
  margin: 0;
  padding: 0 0 40px 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list-item {
    padding: 0;
  }
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item {
    padding: 0;
  }
}

.m-culture-003__list-item:last-child {
  padding-bottom: 0;
}

@media screen and (max-width: 1024px) {
  .m-culture-003__list-item-detail {
    padding-bottom: 40px;
  }
}

.m-culture-003__list-item:last-child .m-culture-003__list-item-detail {
  padding-bottom: 0;
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item:last-child .m-culture-003__list-item-detail {
    padding-bottom: 0;
  }
}

.m-culture-003__list-item-detail-ttl {
  border: solid #ddd;
  border-width: 0 0 1px;
}

.m-culture-003__list-item-detail-ttl-txt {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item-detail-ttl-txt {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 320px) {
  .m-culture-003__list-item-detail-ttl-txt {
    font-size: 1.6rem;
  }
}

.m-culture-003__list-item-detail-desc-txt {
  font-size: 1.5rem;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .m-culture-003__list-item-detail-desc-txt {
    font-size: 1.5rem;
  }
}

/* -------------------------------------------
メッセージ 003
------------------------------------------- */
/* 色調整 */
.m-message-003 {
    background: #fdf6e6 !important;
}

.m-message-003__headline-txt {
  /* color: var(--primary); */
}

.m-message-003__desc-txt {
  /* color: #fff; */
}

.m-message-003__detail {
    background: #ccaa4a;
}

/* その他 */
.m-message-003 {
  padding: 0 20px 120px;
}

@media screen and (max-width: 767px) {
  .m-message-003 {
    padding: 0 20px 40px;
  }
}

@media screen and (max-width: 1024px) {
  .m-message-003__inner {
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
}

@media screen and (max-width: 1024px) {
  .m-message-003__figure {
    width: calc(100% - 20px);
  }
}

@media screen and (max-width: 1024px) {
  .m-message-003__detail {
    width: calc(100% - 20px);
    margin: -10% 0 0 20px;
  }
}

.m-message-003__headline {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .m-message-003__headline {
    margin-bottom: 20px;
  }
}

.m-message-003__headline:only-child {
  margin-bottom: 0;
}

.m-message-003__headline + .m-message-003__desc {
  margin-top: -2px;
}

.m-message-003__desc-txt {
  padding: 0 0 30px;
}

@media screen and (max-width: 767px) {
  .m-message-003__desc-txt {
    padding: 0 0 24px;
  }
}

.m-message-003__desc-txt:last-child {
  padding-bottom: 4px;
}

@media screen and (max-width: 767px) {
  .m-message-003__desc-txt:last-child {
    padding-bottom: 2px;
  }
}

.m-message-003__desc:only-child .m-message-003__desc-txt:last-child {
  padding-bottom: 0;
}

/* -------------------------------------------
メッセージ 002
------------------------------------------- */
/* 色調整 */
.m-message-002 {
  /* background: #000 !important; */
}

.m-message-002__inner::before {
  /* display: none; */
  background: #ccaa4a;
  opacity: .7;
}

.m-message-002__headline-txt {
  /* color: var(--primary); */
}

.m-message-002__desc-txt {
  /* color: #fff; */
}

/* その他 */
@media screen and (max-width: 767px) {
  .m-message-002 {
    background-position: top left;
  }
}


.m-message-002__inner {
  padding: 100px 40px;
}

@media screen and (max-width: 767px) {
  .m-message-002__inner {
    padding: 60px 20px;
  }
}

.m-message-002__detail {
  padding: 0;
}

.m-message-002__headline {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .m-message-002__headline {
    margin-bottom: 30px;
  }
}

.m-message-002__headline:only-child {
  margin-bottom: 0;
}

.m-message-002__headline + .m-message-002__desc {
  margin-top: -2px;
}

@media screen and (max-width: 767px) {
  .m-message-002__desc-txt {
    text-align: left;
  }
}

.m-message-002__desc-txt {
  padding: 30px 0 0;
}

@media screen and (max-width: 767px) {
  .m-message-002__desc-txt {
    padding: 24px 0 0;
  }
}

.m-message-002__desc-txt:first-child {
  padding-top: 0;
}

.m-message-002__desc-txt:last-child {
  padding-bottom: 0;
}

/* -------------------------------------------
インタビュー 005
------------------------------------------- */
.m-interview-005 {
    background: #fffcf4 !important;
    padding: 120px 0;
}

@media screen and (max-width: 767px) {
  .m-interview-005 {
    padding: 40px 0;
  }
}
.m-interview-005__nav {
    display: none;
}

.m-interview-005__nav-item-btn {
  display: flex;
  flex-direction: column;
}

.m-interview-005__nav-item-figure {
  min-height: 1px; /* for IE */
}

.m-interview-005__nav-item-ttl {
  flex: 1 0 auto;
}

.m-interview-005__contents {
    margin-top: 0;
}

@media screen and (max-width: 767px) {
  .m-interview-005__contents {
    margin: 0 20px;
  }
}

.m-interview-005__contents-section-detail-question {
    border-color: #ccaa4a;
    color: #ccaa4a;
    font-weight: 700;
}

.m-interview-005__contents-card-lead {
  font-weight: 500;
}

.m-interview-005__contents-section-detail-ttl {
  font-weight: 700;
}

.m-interview-005__contents-section-detail-ttl,
.m-interview-005__contents-card-lead {
    color: #60503b;
}

/* -------------------------------------------
メッセージ 005
------------------------------------------- */
/* 色調整 */
.m-message-005 {
  background: #fff6f6 !important;
}

.m-message-005__headline-txt {
  /* color: var(--primary); */
}

.m-message-005__desc-txt {
  /* color: #fff; */
}

/* その他 */
.m-message-005 {
  padding: 120px 0;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .m-message-005 {
    padding: 40px 0;
  }
}

.m-message-005__inner {
  padding: 0;
}

.m-message-005__images {
  margin: -5px 0;
}

@media screen and (max-width: 767px) {
  .m-message-005__images {
    margin: -2.5px 0;
  }
}

.m-message-005__images-item {
  padding: 5px;
}

@media screen and (max-width: 767px) {
  .m-message-005__images-item {
    padding: 2.5px;
  }
}

@media screen and (max-width: 767px) {
  .m-message-005__images-item:nth-child(even) {
    padding-left: 2px;
  }
}

@media screen and (max-width: 767px) {
  .m-message-005__images-item:nth-child(odd) {
    padding-right: 2px;
  }
}

@media screen and (max-width: 767px) {
  .m-message-005__images-item:nth-child(odd):last-child {
    padding-right: 2.5px;
  }
}

@media screen and (min-width: 767.01px) {
  .m-message-005__images-item:first-child {
    padding-left: 0;
  }
  .m-message-005__images-item:last-child {
    padding-right: 0;
  }
}

.m-message-005__detail {
  padding: 40px 40px 0;
}

@media screen and (max-width: 1024px) {
  .m-message-005__detail {
    padding: 40px 20px 0;
  }
}

@media screen and (max-width: 767px) {
  .m-message-005__detail {
    padding: 30px 20px 0;
  }
}

.m-message-005__headline {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .m-message-005__headline {
    margin-bottom: 20px;
  }
}

.m-message-005__headline:only-child {
  margin-bottom: 0;
}

.m-message-005__headline + .m-message-005__desc {
  margin-top: -2px;
}

.m-message-005__desc-txt {
  padding: 0 0 30px;
}

@media screen and (max-width: 767px) {
  .m-message-005__desc-txt {
    padding-bottom: 24px;
    text-align: left;
  }
}

.m-message-005__desc-txt:last-child {
  padding-bottom: 0;
}

/* -------------------------------------------
企業理念 002
------------------------------------------- */
/* 色調整 */
.m-about-002 {
  background: #fda5a7 !important;
}

.m-about-002__detail {
  /* background: #000 !important; */
}

.m-about-002__headline-txt {
  /* color: var(--primary); */
  font-weight: 700;
}

.m-about-002__desc-txt {
  /* color: #fff; */
}

/* その他 */
.m-about-002 {
  padding-top: calc(16% + 120px);
  padding-bottom: 120px;
}

.m-about-002__background {
  top: 120px;
  height: 0;
  max-height: none;
  padding-top: 25%;
  /* background-position: top center; */
}

@media screen and (min-width: 1441px) {
  .m-about-002 {
    padding-top: calc(1440px * .16 + 80px);
  }
}

@media screen and (max-width: 767px) {
  .m-about-002 {
    padding-top: calc(16% + 40px);
    padding-bottom: 40px;
  }
  .m-about-002__background {
    top: 40px;
  }
}

.m-about-002__detail {
  padding-bottom: 80px;
}

@media screen and (max-width: 767px) {
  .m-about-002__detail {
    padding-bottom: 40px;
  }
}

.m-about-002__headline {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .m-about-002__headline {
    margin-bottom: 20px;
  }
}

.m-about-002__headline:only-child {
  margin-bottom: 0;
}

.m-about-002__headline + .m-about-002__desc {
  margin-top: -2px;
}

.m-about-002__desc-txt {
  padding: 30px 0 0;
}

@media screen and (max-width: 767px) {
  .m-about-002__desc-txt {
    text-align: left;
    padding-top: 24px;
  }
}

.m-about-002__desc-txt:first-child {
  padding-top: 0;
}

.m-require-003 {
    background: #f2faff;
    padding: 120px 0;
}

@media screen and (max-width: 767px) {
  .m-require-003 {
    padding: 40px 0;
}
}

.m-require-003__detail-ttl {
    color: var(--sub-txt);
}
/* -------------------------------------------
親ページ毎の調整
------------------------------------------- */
/* 歯科医師（海外） */
.postid-40 .m-jobs-001__list-item-detail-ttl {
  color: var(--primary);
}

.postid-40 .m-jobs-001__list-item-detail-ttl {
  display: inline-block;
  background: #0478c4;
  color: var(--primary-txt);
  padding: 4px 10px;
  margin: 0 0 30px;
  line-height: 1.5;
}

@media screen and (max-width: 1024px) {
  .postid-40 .m-jobs-001__list-item-detail-ttl {
    margin: 0 0 20px;
  }
}

@media screen and (max-width: 767px) {
  .postid-40 .m-jobs-001__list-item-detail-ttl {
    margin: 0 0 10px;
  }
}

@media screen and (max-width: 1024px) {
  .postid-40 .m-jobs-001__list-item-detail {
    padding: 30px 0px 20px !important;
  }
}

@media screen and (max-width: 767px) {
  .postid-40 .m-jobs-001__list-item-detail {
    padding: 15px 0px 20px !important;
  }
}

@media screen and (min-width: 1024.1px) and (max-width: 1490px) {
  .postid-42 .m-jobs-001__list-item-figure {
    background-size: contain;
    min-height: calc((100vw - 80px) * 0.34375);
  }
}

.postid-40 .m-interview-004 {
  padding-bottom: 120px;
}

@media screen and (max-width: 767px) {
  .postid-40 .m-interview-004 {
    padding-bottom: 40px;
  }
}

.postid-40 .m-interview-004__contents {
  margin-top: 0;
}

/* 歯科医師（国内） */
.postid-41 .m-culture-003 {
    background: #fdf6e6 !important;
}

.postid-41 .m-culture-003__list-item-detail-ttl {
    border-color: #d9d1be;
}

.postid-41 .m-culture-003__list-item-detail-ttl-txt {
    color: #60503b;
}

.postid-41 .m-culture-003__list-item-detail-desc-txt {
    color: #60503b;
}

.postid-41 .c-headline-001__en {
    color: #ccaa4a;
}

.postid-41 .c-headline-001__ja {
    color: #60503b;
}

.postid-41 .m-require-003 {
    background: #fdf6e6!important;
}

.postid-41 .m-require-003__detail-row {
    border-color: #d9d1be !important;
}

.postid-41 .m-require-003__detail-ttl {
    color: #60503b;
}

.postid-41 .m-require-003__detail-desc {
    color: #60503b;
}

/* 歯科衛生士 */
.postid-42 .c-headline-001__en {
  color: #fda5a7;
}

.postid-42 .m-interview-004 {
  background: #fff !important;
}

.postid-42 .m-interview-004__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.postid-42 .m-interview-004__nav-item-btn {
  background: #fda5a7;
}

.postid-42 .m-interview-004__contents-section-detail-intro {
  color: #fda5a7;
}

.postid-42 .m-interview-004__contents-section-detail-content-txt-name {
  color: #fda5a7;
}

.postid-42 .c-module-container>section:nth-of-type(odd).m-require-003 {
  background: #fff6f6 !important;
}

.postid-42 .m-require-003__detail-row {
  border-color: #cccccc !important;
}