/*
Theme Name: HS Career Theme
Theme URI: 
Author: Human Science
Author URI: https://www.science.co.jp/
Description: ヒューマンサイエンス採用サイト用レスポンシブWordPressテーマ。PC版・SP版を統合したモバイルファースト設計。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hs-career
*/

/* ============================================================
   CSS Reset (Simplified)
   ============================================================ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { vertical-align: top; max-width: 100%; height: auto; }

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

/* ============================================================
   Base Styles (Mobile First)
   ============================================================ */
body {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 12px;
  line-height: 23px;
  color: #333;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  min-width: 100%;
}

a { color: #00a0e9; text-decoration: none; }
a:hover { opacity: 0.8; }

::selection { background: #d1ecfa; }

/* ============================================================
   Header (Mobile)
   ============================================================ */
.site-header {
  padding: 6px 0;
  position: relative;
  min-height: 50px;
  background: #fff;
}

.site-header .logo {
  float: left;
  height: 44px;
  margin-left: 10px;
}

.site-header .logo a {
  display: block;
  width: 110px;
}

.site-header .logo a img {
  height: 44px;
  width: auto;
}

.site-header .btn_entry {
  height: 44px;
  position: absolute;
  right: 56px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.site-header .btn_entry > a { display: block; }
.site-header .btn_entry > a > img { width: auto; height: 44px; }

/* Hamburger Menu */
.menu-trigger {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
  z-index: 999;
  position: absolute;
  right: 5px;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 1px solid #eee;
  width: 44px;
  height: 44px;
  background: #fff;
  text-align: center;
  cursor: pointer;
}

.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
  position: absolute;
  right: 0; left: 0; top: 0; bottom: 0;
  margin: auto;
  width: 25px;
  height: 3px;
  background-color: #000;
}

.menu-trigger span:nth-of-type(1) { top: 12px; }
.menu-trigger span:nth-of-type(2) { bottom: 12px; }

.menu-trigger.active span:nth-of-type(1) {
  top: 0;
  transform: translateY(0) rotate(-45deg);
}

.menu-trigger.active span:nth-of-type(2) {
  bottom: 0;
  transform: translateY(0) rotate(45deg);
}

/* SP Navigation */
.sp-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 80%;
  max-width: 296px;
  text-align: center;
  z-index: 30;
  background: #fff;
}

/* メニュー開閉（クラス切り替え） */
.sp-nav.is-open {
  display: block !important;
}

.sp-nav ul { list-style: none; }

.sp-nav > ul > li {
  border-bottom: 1px solid #eee;
}

.sp-nav > ul > li > a {
  display: block;
  padding: 18px 20px;
  text-align: left;
  font-size: 16px;
  color: #000;
  text-decoration: none;
}

/* ============================================================
   Main Visual
   ============================================================ */
.main_ttl {
  background: url(assets/images/common/ttl_bg.jpg) repeat;
  background-size: 100% 100%;
  text-align: center;
  color: #fff;
  font-size: 21px;
  width: 100%;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 8px 0;
}

.main_ttl02 {
  background: #00a0e9;
  text-align: center;
  color: #fff;
  font-size: 18px;
  padding: 9px 0;
  letter-spacing: 1px;
  font-weight: bold;
}

/* ============================================================
   Info Page - Career Content (Mobile)
   ============================================================ */
.career-content {
  width: 90%;
  margin: 0 auto;
}

.info-page__heading {
  display: block;
  background: #d1ecfa;
  color: #00a0e9;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  margin: 2rem auto;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

.info-page__job-list--is-title,
.career-section__title {
  width: 100%;
  margin: 2rem auto 0;
  border-bottom: 2px solid #479ee2;
  padding-bottom: 4px;
}

.info-page__job-list--is-title h3,
.career-section__title h3 {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
}

.info-page__job-list--is-description,
.career-section__body {
  display: block;
  width: 100%;
  font-size: 12px;
  text-align: justify;
  margin: 5px auto;
  line-height: 1.8;
}

.career-section__list {
  list-style: none;
  font-size: 12px;
  line-height: 1.8;
}

.career-section__list li {
  margin-bottom: 2px;
}

/* Apply Button */
.career-apply-btn {
  display: inline-block;
  background: #03A9F4;
  color: #fff !important;
  border: solid 1px #0f9ada;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  text-align: center;
  text-decoration: none;
  padding: 2px 16px;
  font-size: 12px;
}

.career-apply-btn:active {
  border-color: #03A9F4;
  box-shadow: none;
  text-shadow: none;
}

/* Selection Flow */
.selection-flow {
  width: 100%;
  margin: 2rem auto;
}

.selection-flow__body {
  text-align: left;
  line-height: 1.8;
  font-size: 12px;
  padding: 1rem 0;
}

/* ============================================================
   Entry Button
   ============================================================ */
.entry-btn-wrapper {
  text-align: center;
  margin: 2rem auto;
  padding: 1rem;
}

.entry-btn-wrapper a {
  display: block;
}

.entry-btn-wrapper a img {
  width: 80%;
  max-width: 400px;
}

/* ============================================================
   Entry Modal
   ============================================================ */
.open-entry { cursor: pointer; }

#entry-bg {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  cursor: pointer;
}

.entry-bg-btn-wrapper {
  width: 200px;
  height: 280px;
  position: absolute;
  margin: auto;
  left: 0; right: 0; top: 0; bottom: 0;
}

#entry-fresh,
#entry-career {
  width: 200px;
  background: #fff;
  margin: 10px auto;
}

#entry-fresh img,
#entry-career img {
  transition: 0.3s;
  width: 100%;
}

#entry-fresh img:hover,
#entry-career img:hover {
  opacity: 0.8;
}

/* ============================================================
   Page Top Button
   ============================================================ */
.pagetop {
  background: none;
  height: 0;
  text-align: right;
  position: relative;
  z-index: 10;
  padding-right: 20px;
}

.pagetop a {
  display: inline-block;
  position: relative;
  top: 20px;
}

.pagetop img {
  width: 80px;
  margin: 0;
}
/*元ここにあった*/
/* ============================================================
   Utility
   ============================================================ */
.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

/* ============================================================
   H3 - 項目見出し（募集対象、仕事内容 等）
   ============================================================ */
.career-content h3 {
  font-size: 16px;
  font-weight: bold;
  border-bottom: 2px solid #00a0e9;
  padding-bottom: 6px;
  margin: 1.5rem 0 0.5rem;
}

/* ============================================================
   パンくずリスト
   ============================================================ */
.breadcrumb {
  width: 90%;
  margin: 1rem auto 0.5rem;
  font-size: 12px;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb li {
  display: inline-block;
}

.breadcrumb li + li::before {
  content: "\FF1E";
  margin: 0 0.5em;
  color: #666;
}

.breadcrumb a {
  color: #00a0e9;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ============================================================
   PC/SP 出し分け
   ============================================================ */
.pc-only { display: none; }
.sp-only { display: block; }

/* ============================================================
   ENTRYボタン
   ============================================================ */
.site-header .btn_entry {
  display: block;
  background: #00a0e9;
  text-align: center;
  transition: 0.4s;
}

.site-header .btn_entry:hover {
  background: #04b0ff;
}

.site-header .btn_entry img {
  display: block;
  width: auto;
  height: 44px;
}

/* ============================================================
   PC Styles (min-width: 768px)
   ============================================================ */
@media (min-width: 768px) {

  body {
    font-family: "\30E1\30A4\30EA\30AA", Meiryo, "\6E38\30B4\30B7\30C3\30AF", YuGothic,
                 "\30D2\30E9\30AE\30CE\89D2\30B4 ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 15px;
    line-height: 30px;
    color: #000;
    letter-spacing: 0;
    text-align: justify;
  }

  /* PC/SP 出し分け */
  .pc-only { display: block; }
  .sp-only { display: none; }

  /* Header (PC) */
  .site-header {
    background: url(assets/images/header-bar.jpg) center top repeat-x;
    padding-top: 8px;
    background-color: #fff;
  }

  .site-header-inner {
    height: 93px;
    width: 1200px;
    background: #fff;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .site-header .logo {
    margin-left: 0;
    height: auto;
  }

  .site-header .logo a {
    width: auto;
  }

  .site-header .logo a img {
    height: auto;
    width: auto;
  }

  .site-header .btn_entry {
    position: absolute;
    right: 100px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 260px;
    height: 50px;
    line-height: 50px;
  }

  .site-header .btn_entry > a > img {
    display: block;
    height: auto;
    width: 100%;
  }

  .site-header .btn_entry img {
    height: 50px;
  }

  /* ハンバーガーメニュー (PC) */
  .menu-trigger {
    display: inline-block !important;
    width: 80px;
    height: 80px;
    border: none;
    right: 0;
    top: 10px;
    bottom: auto;
    margin: 0;
  }

  .menu-trigger span {
    width: 46px;
    height: 5px;
    background: #8d8d8c;
  }

  .menu-trigger span:nth-of-type(1) { top: 28px; }
  .menu-trigger span:nth-of-type(2) { bottom: 28px; }

  /* ナビ (PC) */
  .sp-nav {
    width: 296px;
    right: 0;
  }

  /* Main Visual (PC) */
  .site-container {
    width: 1200px;
    margin: 0 auto;
  }

  .main_ttl {
    font-size: 30px;
    height: 60px;
    line-height: 60px;
    padding-left: 30px;
    text-align: left;
  }

  .main_ttl02 {
    font-size: 30px;
    height: 70px;
    line-height: 70px;
    padding-left: 30px;
    text-align: left;
  }

  .main-visual {
    height: 200px;
    text-align: center;
  }

  .main-visual > img {
    margin: 63px auto;
  }

  /* Info Page (PC) */
  .career-content {
    width: 1100px;
    margin: 0 auto;
  }

  .info-page__heading {
    font-size: 46px;
    height: 120px;
    line-height: 120px;
    margin-bottom: 60px;
  }

  .info-page__job-list--is-title,
  .career-section__title {
    width: 100%;
    border-bottom: 3px solid #00a0e9;
    margin-bottom: 20px;
  }

  .info-page__job-list--is-title h3,
  .career-section__title h3 {
    font-size: 30px;
    height: 62px;
    line-height: 62px;
  }

  .info-page__job-list--is-description,
  .career-section__body {
    width: 100%;
    font-size: 15px;
  }

  .career-section__list {
    font-size: 15px;
    line-height: 2;
  }

  .career-apply-btn {
    width: 110px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    padding: 0;
  }

  /* Selection Flow (PC) */
  .selection-flow__body {
    font-size: 15px;
  }

  /* Entry Button (PC) */
  .entry-btn-wrapper {
    margin: 40px auto 100px;
    background: #fff;
  }

  .entry-btn-wrapper a {
    display: block;
    background: #00a0e9;
    max-width: 1200px;
    height: 130px;
    line-height: 130px;
    margin: 0 auto;
    text-align: center;
    transition: 0.4s;
  }

  .entry-btn-wrapper a:hover {
    opacity: 0.8;
  }

  .entry-btn-wrapper a img {
    width: auto;
    max-width: none;
  }

  /* Entry Modal (PC) */
  .entry-bg-btn-wrapper {
    width: 580px;
    height: 140px;
  }

  #entry-fresh {
    width: 280px;
    float: left;
  }

  #entry-career {
    width: 280px;
    float: right;
  }

  /* Page Top (PC) */
  .pagetop {
    width: 1200px;
    margin: 0 auto;
    padding-right: 0;
    height: auto;
    padding: 20px;
  }

  .pagetop img {
    width: 100px;
  }

  .to-above {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
  }

  .to-above > a {
    float: right;
    display: block;
    width: 140px;
  }

/* ============================================================
   Footer (Mobile)
   ============================================================ */
.site-footer {
    min-width: 100%;
  position: relative;
}

.footer-gray {
  background: #efefef;
  width: 100%;
  padding: 30px 0;
}

.footer-inner {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav li {
  border-right: 1px solid #a0a0a0;
}

.footer-nav li:first-child {
  border-left: 1px solid #a0a0a0;
}

.footer-nav li a {
  display: block;
  padding: 0 15px;
  height: 35px;
  line-height: 35px;
  transition: 0.4s;
}

.footer-nav li a:hover {
  opacity: 0.5;
}

.footer-nav li a img {
  vertical-align: middle;
}

.footer-nav ul li.footer-copyright {
  border-right: none;
  border-left: none;
  margin-left: auto;
  padding: 0 10px;
}

.footer-nav ul li.footer-copyright img {
  vertical-align: middle;
}

.site-footer .foot_logo {
  text-align: center;
}

.site-footer .foot_logo img {
  width: 34vw;
  margin: 10vw auto 13vw;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #666;
  background: transparent;
  height: auto;
  line-height: 1.5;
}
/*貼ったのここまで*/


  /* Footer (PC) */
  .site-footer {
/*    min-width: 1200px; */
max-width: none !important;
width: 100%
  }

  .footer-inner {
    overflow: hidden;
    width: 1200px;
    margin: 0 auto;
  }

  .footer-nav {
    margin-left: 50px;
  }

  .footer-nav ul {
    display: flex;
    align-items: center;
  }

  .footer-nav ul li a {
    height: 35px;
    line-height: 35px;
    padding: 0 28px;
    transition: 0.4s;
    font-size: 14px;
    color: #00a0e9;
  }

  .footer-nav ul li a:hover {
    background: #fcfcfc;
  }

  /* 見出し (PC) */
  .career-content h2 {
    font-size: 30px;
    height: 62px;
    line-height: 62px;
    padding-bottom: 0;
  }

  .career-content h3 {
    font-size: 24px;
    padding-bottom: 8px;
  }

  /* パンくずリスト (PC) */
  .breadcrumb {
    width: 1200px;
    margin: 1rem auto 0.5rem;
    font-size: 14px;
  }

}  /* ★ メインの @media 閉じ */


/* カラーバー */
.footer-color-bar {
  line-height: 0;
  width: 100%
}

.footer-color-bar img {
  width: 100%;
  height: auto;
}


/* ===== テーブル 罫線なし ===== */
.career-content table,
.wp-block-table table {
  border: none !important;
  border-collapse: collapse;
  width: 100%;
}

.career-content table td,
.career-content table th,
.wp-block-table table td,
.wp-block-table table th {
  border: none !important;
  padding: 8px 12px;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.8;
}

/* ===== 応募ボタン ===== */
.square_btn4 {
    position: relative;
    display: inline-block;
	width:110px;
	height:28px;
	text-align: center;    text-decoration: none;
    color: #FFF;
    background: #03A9F4;/*色*/
    border: solid 1px #0f9ada;/*線色*/
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.square_btn4:active {/*押したとき*/
    border: solid 1px #03A9F4;
    box-shadow: none;
    text-shadow: none;
}

/* ===== 必須ラベル ===== */
.colblue {
  display: inline-block;
  background: #d1ecfa;
  color: #00a0e9;
  font-size: 10px;
  padding: 2px 10px;
  margin-left: 8px;
  border-radius: 2px;
  vertical-align: middle;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .colblue {
    font-size: 10px;
    padding: 2px 12px;
  }
}

/* ===== フッターテキストリンク ===== */
.footer-text-links {
  clear: both;
  padding: 15px 0 10px;
}

.footer-text-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.footer-text-links li a {
  color: #666;
  font-size: 12px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-text-links li a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-text-links {
    margin-left: 50px;
    padding: 20px 0 10px;
  }

  .footer-text-links li a {
    font-size: 14px;
  }
}
/* ===== ハンバーガーメニュー背景色 ===== */
.sp-nav {
  background: #00a0e9;
}

.sp-nav > ul > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.sp-nav > ul > li > a {
  color: #fff;
  font-size: 16px;
  padding: 18px 20px;
  text-align: left;
  display: block;
  text-decoration: none;
}

.sp-nav > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* サブメニュー（子メニュー）はちょっと濃い青 */
.sp-nav > ul > li > .sub-menu {
  background: #0090d9;
}

.sp-nav > ul > li > .sub-menu > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-nav > ul > li > .sub-menu > li > a {
  display: block;
  padding: 15px 20px 15px 35px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.sp-nav > ul > li > .sub-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* 開閉アイコン（+/-/> 風） */
.sp-nav > ul > li > a::after {
  content: "＋";
  float: right;
  font-size: 14px;
  color: #fff;
}

.sp-nav > ul > li.menu-item-has-children.active > a::after {
  content: "ー";
}

.sp-nav > ul > li > .sub-menu > li > a::after {
  content: "＞";
  float: right;
  font-size: 14px;
  color: #fff;
}

/* リンクなし親メニューのカーソル */
.sp-nav > ul > li > a:not([href]),
.sp-nav > ul > li > a[href=""],
.sp-nav > ul > li > a[href="#"] {
  cursor: pointer;
}

/* サブメニューはデフォルト非表示 */
.sp-nav > ul > li > .sub-menu {
  display: none;
}
