@charset "UTF-8";

:root {
  --color-primary-base: #f7723e;
  --color-primary-dark: #f66126;
  --color-primary-light: #fffaf7;
  --color-gray-100: #000000;
  --color-gray-80: #333333;
  --color-gray-60: #666666;
  --color-gray-40: #999999;
  --color-gray-10: #ebebeb;
  --color-gray-5: #f7f7f7;
  --color-white: #ffffff;
}

/* ===================== 
* Base
=====================  */

*,
*::before,
*::after {
  box-sizing: border-box;
}

article,
aside,
figcaption,
figure,
footer,
hgroup,
main,
nav,
section {
  display: block;
}

body {
  color: var(--color-gray-80);
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ",
    Meiryo, "MS Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.4;
}

a {
  color: inherit;
}

:where(a:hover),
:where(a:focus) {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

select {
  word-wrap: normal;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
  cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

[hidden] {
  display: none !important;
}

/* Component
* ===================== */

/* Text */
.c-text {
  font-size: 1rem;
}

@media (max-width: 750px) {
  .c-text {
    font-size: 0.875rem;
  }
}

.c-text + * {
  margin-top: 1rem;
}


/* List */
.c-list {
  padding-inline-start: 1rem;
}

.c-listItem {
  list-style: disc;
}

.c-listItem + * {
  margin-top: 0.5rem;
}

/* Button */
.c-primaryButton {
  position: relative;
  background: #f7723e;
  padding-block: 0.75rem;
  padding-inline: 1.5rem;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  position: relative;
  gap: 0.5rem;
  transition: 0.3s;
  text-align: center;
}

.c-primaryButton--chevron {
  position: relative;
  background: #f7723e;
  padding-block: 0.75rem;
  padding-inline: 1.5rem 2.5rem;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  position: relative;
  gap: 0.5rem;
  transition: 0.3s;
  text-align: center;
}

.c-primaryButton--chevron::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 1.5rem;
}

.c-primaryButton--referral {
  position: relative;
  background: #ece7d9;
  padding-block: 0.75rem;
  padding-inline: 1.5rem 2.5rem;
  font-size: 14px;
  color: #000;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  position: relative;
  gap: 0.5rem;
  transition: 0.3s;
  text-align: center;
}

.c-primaryButton--referral::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid #000000;
  border-right: 1px solid #000000;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 1.5rem;
}

.c-primaryButton:hover,
.c-primaryButton:focus,
.c-primaryButton--chevron:hover,
.c-primaryButton--chevron:focus {
  background-color: #f66126;
    color: #ffffff;
}
.c-primaryButton--referral:hover,
.c-primaryButton--referral:focus {
  background-color: #ece7d9;
  color: #000000;
}

/* 無料アイコン */

.c-icon--free {
  display: inline-flex;
  align-items: center;
}

.c-icon--free::after {
  content: "無料";
  display: inline-flex;
  padding-block: 0.1rem;
  padding-inline: 0.5rem;
  align-items: center;
  background-color: #ffffff;
  color: #f7723e;
  font-size: 0.625rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

/* Header */
.c-globalHeader {
  margin: 0;
  padding: 0;
  position: relative;
}

.c-globalHeader__inner {
  position: relative;
  margin: 0;
  padding: 0;
  height: 180px;
}

.c-globalHeader__title {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 190px;
  margin: 0;
}

.c-globalHeader__link {
  display: inline-block;
}

.c-globalHeader__logoImage {
  width: 100%;
}

.c-globalHeader__cta {
  position: absolute;
  min-width: 860px;
  height: 46px;
  top: 0.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.c-globalHeader__ctaTel {
  line-height: 1.4em;
  position: relative;
  flex-basis: 12rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.c-globalHeader__ctaTelIcon {
  display: inline-block;
  background: url(../img/common/freetel-icon.png) no-repeat center center;
  background-size: cover;
  width: 30px;
  height: 20px;
  margin-right: 10px;
}

.c-globalHeader__ctaTelNumber {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 23px;
  display: block;
  line-height: 1em;
}

.c-globalHeader__ctaTelCaption {
  font-size: 10px;
  text-align: left;
  width: 100%;
}

.c-globalHeader__ctaButtonWrapper {
  display: flex;
  gap: 1rem;
}

.c-globalHeader__ctaButton {
  position: relative;
  background: #f7723e;
  display: block;
  padding-block: 0.75rem;
  padding-inline: 1.5rem 2.5rem;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  border-radius: 2px;
  position: relative;
  gap: 0.5rem;
  transition: 0.3s;
}

.c-globalHeader__ctaButton::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 1.5rem;
}

.c-globalHeader__ctaButton:hover {
  background-color: #f66126;
  color: #ffffff;
}

.c-globalHeader__ctaButtonIcon {
  display: inline-block;
  background-color: #ffffff;
  color: #f7723e;
  font-size: 0.625rem;
  padding-block: 0.1rem;
  padding-inline: 0.5rem;
  border-radius: 9999px;
}

@media (max-width: 1104px) {
  .c-globalHeader__ctaTel {
    display: none;
  }
}

@media screen and (max-width: 750px) {
  .c-globalHeader {
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 999;
    background: #fff;
  }

  .c-globalHeader__inner {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100px;
  }

  .c-globalHeader__title {
    position: absolute;
    top: 0.75rem;
    left: 10px;
    width: 120px;
    margin: 0;
  }

  .c-globalHeader__logoImage {
    width: 100%;
  }

  .c-globalHeader__cta {
    padding-inline: 0.5rem;
    min-width: auto;
    width: 100%;
    top: 52px;
    left: 0;
    right: 0;
    height: 50px;
    justify-content: center;
  }

  .c-globalHeader__ctaButtonWrapper {
    gap: 0.25rem;
  }
}

@media (max-width: 576px) {
  .c-globalHeader__ctaButtonWrapper > .c-primaryButton {
    font-size: 0.6875rem;
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
  }
}

/* Footer */
.c-globalFooter {
  margin: 0;
  padding: 100px 0 40px 0;
  background: #f7f7f7;
}

.c-globalFooter__inner {
  max-width: 1096px;
  margin: 0 auto;
}

.c-globalFooter__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-inline: 0;
}

.c-globalFooterLinks__listItem:not(:last-child) {
  margin-bottom: 0.5em;
}

.c-globalFooterLinks__item {
  display: flex;
}

.c-globalFooter__heading {
  display: block;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #333;
  margin-bottom: 12px;
  padding-bottom: 10px;
  flex: 2;
}

* + .c-globalFooter__heading {
  margin-top: 1rem;
}

.c-globalFooter__link {
  transition: 0.3s;
}

.c-globalFooter__link:hover,
.c-globalFooter__link:focus {
  color: inherit;
  opacity: 0.7;
}

.c-globalFooter__copyright {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-weight: 300;
  font-size: 14px;
  margin-top: 56px;
}

@media (max-width: 1104px) {
  .c-globalFooter__inner {
    padding-inline: 20px;
  }

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

@media (max-width: 750px) {
  .c-globalFooter {
    margin: 0;
    padding: 40px 0 20px 0;
    background: #f7f7f7;
  }

  .c-globalFooter__heading {
    position: relative;
    font-size: 12px;
    border-bottom: 0;
    margin-block: 0;
    padding-block: 0;
    padding-inline-start: 2em;
  }

  * + .c-globalFooter__heading {
    margin-top: 1rem;
  }

  .c-globalFooter__heading::before {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    top: 50%;
    left: 0;
    transform: rotate(45deg) translateY(-50%);
  }

  .c-globalFooter__list {
    gap: 1rem;
  }
}

/* Footer Links */
.c-globalFooterLinks {
  padding-inline: 0;
  font-size: 13px;
  flex-grow: 1;
}

.c-globalFooterLinks__heading {
  flex: 0 0 102px;
}

.c-globalFooterLinks__list {
  color: #333;
  padding-inline: 0;
  flex-grow: 1;
}

.c-globalFooterLinks__item:not(:last-child) {
  margin-bottom: 1rem;
}

.c-globalFooterLinks__link {
  display: inline-block;
  transition: 0.3s;
}

.c-globalFooterLinks__link:hover,
.c-globalFooterLinks__link:focus {
  color: inherit;
  opacity: 0.7;
}

@media screen and (max-width: 750px) {
  .c-globalFooterLinks {
    display: none;
  }
}

/* Job list */
.c-jobList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0;
}

@media (max-width: 750px) {
  .c-jobList {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
}

/* Job Card */
.c-jobCard {
  position: relative;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #ebebeb;
  height: 100%;
}

.c-jobCard::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-bottom: 10px solid #f7723e;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.c-jobCard__body {
  color: #666666;
  line-height: 1.6;
}

.c-jobCard__body > * + * {
  margin-top: 0.25rem;
}

.c-jobCard__title {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ebebeb;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.c-jobCard__position {
  font-size: 12px;
  font-weight: 700;
}

.c-jobCard__description {
  font-size: 12px;
}

.c-jobCard__link {
  transition: 0.3s;
  padding: 1.5rem;
  display: block;
}

.c-jobCard__link:hover,
.c-jobCard__link:focus {
  color: inherit;
  opacity: 0.7;
}

/* Search List */
.c-searchList,
.c-searchList--columns3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0;
}

.c-searchList--columns2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0;
}

@media (max-width: 750px) {
  .c-searchList,
  .c-searchList--columns3,
  .c-searchList--columns2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Search Card */
.c-searchCard {
  background-color: #ffffff;
  border: 1px solid #ebebeb;
}

.c-searchCard__link {
  display: block;
  transition: 0.3s;
}

.c-searchCard__link:hover,
.c-searchCard__link:focus {
  opacity: 0.7;
}

.c-searchCard__title {
  position: relative;
  padding-block: 0.75rem;
  padding-inline: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.c-searchCard__title::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid #f7723e;
  border-right: 1px solid #f7723e;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 1rem;
  transition: 0.3s;
}

@media (max-width: 750px) {
  .c-searchCard__image {
    display: none;
  }

  .c-searchCard__title {
    font-size: 0.75rem;
  }

  .c-searchCard__title::after {
    width: 8px;
    height: 8px;
  }
}

/* Posts */
.c-postsList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0;
}

.c-postsList__item {
  backgound-color: #ffffff;
}

.c-postsList__link {
  display: block;
  transition: 0.3s;
}

.c-postsList__link:hover,
.c-postsList__link:focus {
  opacity: 0.7;
}

.c-postsList__link > * + * {
  margin-top: 0.5rem;
}

.c-postsList__image {
  object-fit: cover;
  aspect-ratio: 1.91/1;
  margin-bottom: 0.5rem;
}

.c-postsList__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: 0.75rem;
}

.c-postsList__tag {
  background-color: #fffaf7;
  color: #f7723e;
  padding-block: 0.25rem;
  padding-inline: 0.5rem;
}

.c-postsList__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.c-postsList__description {
  font-size: 0.875rem;
  color: #666666;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-postsList__date {
  font-size: 0.75rem;
  color: #999999;
  line-height: 1;
}

@media (max-width: 750px) {
  .c-postsList {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Utility
* ===================== */

/* Legacy text utilities (for compatibility with bengo4 theme) */
.txt__reg {
  font-size: 14px !important;
  line-height: 1.8em !important;
  margin-bottom: 0 !important;
}

.txt__lg {
  font-size: 16px !important;
}

.txt__lg h1 {
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
}

.fw__bold {
  font-weight: bold !important;
}

.txt__center {
  text-align: center !important;
}

/* LP完了ページ用スタイル */
.pages section {
  padding: 2em 1em !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

.pages section a img {
  display: inline-block !important;
  vertical-align: middle !important;
}

/* LINE友だち追加ボタン用スタイル */
.pages .txt__center {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

.pages .txt__center a {
  display: inline-block !important;
}

.pages .txt__center img {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* 固定ヘッダー分の余白（モバイル） */
@media screen and (max-width: 767px) {
  .pages {
    margin-top: 3.75rem;
  }
}

@media (max-width: 750px) {
  .txt__reg {
    font-size: 12px !important;
    line-height: 1.8em !important;
    margin-bottom: 0 !important;
  }

  .txt__lg {
    font-size: 16px !important;
  }
}

.u-visuallyHidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
  overflow: hidden;
}

.u-stretchedLinkWrapper {
  position: relative;
}

.u-stretchedLink::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  content: "";
  background-color: transparent;
}

/* No.35: 求人カード上部の青線を右端まで伸ばす（左端の開始位置は維持） */
.c-card3:before {
  width: calc(100% - 3rem) !important;
  height: 2px !important;
  background: linear-gradient(87deg, #00466b 0%, #00466b 44.46%, #006a9e 98.8%) !important;
}

/* 経験できる分野タグ（青背景＋白文字） */
.c-tag--experience {
  background-color: rgb(72, 119, 154) !important;
  color: #FFFFFF !important;
  border: 1px solid rgb(72, 119, 154) !important;
}

/* 求人カードの業務内容表示 */
.c-card3__desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #333;
  margin-top: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SP: 業務内容の文字サイズ */
@media screen and (max-width: 767px) {
  .c-card3__desc {
    font-size: 0.875rem;
  }
}

/* 業種タグの横並び表示（複数業種対応） */
.s-jobDetail__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.s-jobDetail__orangeBoxCats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.s-jobDetail__orangeBoxCats .s-jobDetail__cat {
  font-size: 0.75rem;
}

@media screen and (max-width: 767px) {
  .s-jobDetail__orangeBoxCats .s-jobDetail__cat {
    font-size: 0.625rem;
  }
}

/* 説明ボックス */
.c-description {
  margin: 2rem 0 0 0;
  padding: 1.25rem;
  border: 1px solid #ebebeb;
}

/* 目次 */
.c-toc {
  padding: 1rem;
  margin: 2.25rem 0;
  background-color: #f7f9f9;
}

/* !important: main.cssの.c-wysiwyg ul liより優先する必要があるため */
.c-toc__item,
.c-wysiwyg .c-toc__item {
  list-style: none !important;
  margin-top: 0;
}

.c-wysiwyg .c-toc__item:before {
  top: 50%;
  transform: translateY(-50%);
}

.c-toc__list,
.c-wysiwyg .c-toc__list {
  margin: 1rem 0;
  padding-left: 0;
}

.c-toc__link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #e6e6e6;
}

.c-toc .contentstable-number {
  display: none;
}

/* c-wysiwyg内のc-descriptionをc-wysiwyg pに合わせる */
.c-wysiwyg .c-description {
  font-size: 0.9375rem;
  color: #444;
  line-height: 200%;
  letter-spacing: 0.6px;
}

@media screen and (max-width: 767px) {
  .c-wysiwyg .c-description {
    font-size: 0.8125rem;
    letter-spacing: 0.52px;
  }
}

/* サイドカテゴリ: 選択中のカテゴリリンク */
.c-sideCategory .c-sideCategory__listSubLink.--active {
  border-left: 3px solid #014d73;
  padding-left: 0.5rem;
  background-color: #f0f7fa;
  color: #014d73;
  font-weight: 500;
}
