@charset "utf-8";

/* ==========================================================================
   RiNAViS 採用サイト
   ========================================================================== */

/* ==========================================================================
   1. reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, dl, dt, dd,
figure, table, th, td {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  font: inherit;
  color: inherit;
}


/* ==========================================================================
   2. variables
   ========================================================================== */
:root {
  /* ---- layout ---- */
  --site-width: 640px;

  /* ---- color ---- */
  --color-main: #0098ae;
  --color-text: #333;
  --color-line: #e0e0e0;      /* QA / FAQ 区切り線 */
  --color-line-flow: #cfe6ea; /* sec09 1日の流れ 区切り線 ※要確認 */
  --color-line-spec: #9fd4de; /* sec10 テーブル 区切り線 ※要確認 */
  --color-line-boxed: #e5e5e5;/* sec12 テーブル 区切り線 ※要確認 */
  --color-head-bg: #eef6f7;   /* sec12 見出しセル背景 ※要確認 */

  /* ---- PC背景（ここを差し替えるだけで変更可能） ---- */
  --pc-bg-image: url("../img/pc_bg.webp");
  --pc-bg-color: #fff;
  --pc-bg-size: cover;              /* cover / contain / auto / 200px auto など */
  --pc-bg-position: center center;
  --pc-bg-repeat: no-repeat;        /* no-repeat / repeat など */
}


/* ==========================================================================
   3. base
   ========================================================================== */
html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--color-text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}


/* ==========================================================================
   4. layout
   ========================================================================== */
.site {
  display: flex;
  justify-content: center;
}

.site__aside {
  display: none;
}

.wrapper {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}


/* ==========================================================================
   5. header / footer
   ========================================================================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
}

.header__logo {
  display: block;
  width: 244px; /* ※ロゴ実寸に合わせて調整 */
}

.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 40px;
  border: 1px solid var(--color-main);
  border-radius: 20px;
  color: var(--color-main);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

.footer {
  padding: 24px 16px;
  text-align: center;
  background: #fff;
}

.footer__copy {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 768px) {
  .header__logo {
    width: 12em;
  }
}

/* ==========================================================================
   6. section common
   ========================================================================== */
.sec01__img img,
.sec02__img img,
.sec03__img img,
.sec04__img img,
.sec05__img img,
.sec06__img img,
.sec07__img img,
.sec08__img img,
.sec09__img img,
.sec10__img img,
.sec11__img img,
.sec12__img img,
.sec13__img img,
.sec14__img img,
.sec15__img img,
.tab__img img,
.consult img {
  display: block;
  width: 100%;
}


/* ==========================================================================
   7. sec07 / QA accordion（先輩社員の声）
   ========================================================================== */
.qa {
  padding: 0 20px;
}

.qa__item {
  border-bottom: 1px solid var(--color-line);
}

.qa__btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 24px 40px 24px 0;
  position: relative;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.qa__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-main);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.qa__text {
  flex: 1;
  padding-top: 6px;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}

.qa__mark {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.qa__mark::before,
.qa__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #555;
  transform: translateY(-50%);
  transition: transform .3s ease, opacity .3s ease;
}

.qa__mark::after {
  transform: translateY(-50%) rotate(90deg);
}

.qa__item.is-open .qa__mark::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.qa__item.is-open .qa__a {
  grid-template-rows: 1fr;
}

.qa__inner {
  overflow: hidden;
}

.qa__item.is-open .qa__inner {
  padding-bottom: 24px;
}

.qa__name {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 14px;
  background: #dff1f4;
  border-radius: 4px;
  color: var(--color-main);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}

.qa__body {
  margin-bottom: 24px;
  font-size: 1.7rem;
  line-height: 1.7;
  color: #222;
}

.qa__body:last-child {
  margin-bottom: 0;
}

.sec07__note {
  margin: 32px 20px;
  padding: 22px 20px;
  background: #f2f2f2;
  text-align: center;
  font-size: 1.5rem;
  color: #333;
}


/* ==========================================================================
   8. sec09 / tab（1日の流れ）
   ========================================================================== */
.tab {
  padding: 0 20px;
}

/* ---- tab nav ---- */
.tab__nav {
  display: flex;
  gap: 12px;
}

.tab__nav-item {
  flex: 1;
}

.tab__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  padding: 0 8px;
  border: 1px solid var(--color-main);
  border-radius: 10px 10px 0 0;
  background: #fff;
  color: var(--color-main);
  font-family: inherit;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.tab__btn.is-active {
  background: var(--color-main);
  color: #fff;
}

/* ---- tab panel ---- */
.tab__panel {
  display: none;
}

.tab__panel.is-active {
  display: block;
}

.tab__img {
  margin-top: 20px;
}

/* ---- flow table ---- */
.flow {
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid var(--color-line-flow);
}

.flow__row {
  border-bottom: 1px solid var(--color-line-flow);
}

.flow__head {
  width: 190px;
  padding: 22px 16px 22px 0;
  vertical-align: top;
  text-align: left;
  font-weight: normal;
}

.flow__time {
  display: inline-block;
  margin-right: 8px;
  color: var(--color-main);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.5;
}

.flow__title {
  color: var(--color-main);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
}

.flow__body {
  padding: 22px 0;
  vertical-align: top;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #222;
}


/* ==========================================================================
   9. spec table（sec10 勤務環境 / sec12 募集要項）
   ========================================================================== */

/* ---- sec12 募集要項（見出しセル背景あり・標準） ---- */
.spec-table {
  width: calc(100% - 40px);
  margin: 0 20px;
  border-top: 1px solid var(--color-line-boxed);
  table-layout: fixed;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--color-line-boxed);
  vertical-align: middle;
  text-align: left;
  line-height: 1.6;
}

.spec-table th {
  width: 176px;
  padding: 24px 8px;
  background: var(--color-head-bg);
  color: var(--color-main);
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
}

.spec-table td {
  padding: 24px 20px;
  font-size: 1.7rem;
  color: #222;
  word-break: break-word;
}

/* ---- sec10 勤務環境（見出しセル背景なし） ---- */
.spec-table--plain {
  border-top: 1px solid var(--color-line-spec);
}

.spec-table--plain th,
.spec-table--plain td {
  border-bottom: 1px solid var(--color-line-spec);
  vertical-align: top;
  padding: 26px 0;
}

.spec-table--plain th {
  width: 150px;
  padding-right: 20px;
  background: none;
  text-align: left;
  letter-spacing: normal;
  text-indent: 0;
}


/* ==========================================================================
   10. sec14 / FAQ accordion（よくある質問）
   ========================================================================== */
.faq {
  padding: 0 20px;
  margin-bottom: 50px;
}

.faq__item {
  border-bottom: 1px solid var(--color-line);
}

.faq__btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 24px 40px 24px 0;
  position: relative;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.faq__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-main);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.faq__text {
  flex: 1;
  padding-top: 6px;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
}

.faq__mark {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #555;
  transform: translateY(-50%);
  transition: transform .3s ease, opacity .3s ease;
}

.faq__mark::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__item.is-open .faq__mark::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow: hidden;
}

.faq__item.is-open .faq__inner {
  padding-bottom: 28px;
}

.faq__body {
  flex: 1;
  padding-top: 6px;
  font-size: 1.9rem;
  line-height: 1.5;
  color: #222;
}


/* ==========================================================================
   11. PC（1281px以上）
   ========================================================================== */
@media screen and (min-width: 1281px) {

  body {
    background-color: var(--pc-bg-color);
    background-image: var(--pc-bg-image);
    background-size: var(--pc-bg-size);
    background-position: var(--pc-bg-position);
    background-repeat: var(--pc-bg-repeat);
    background-attachment: fixed;
  }

  .site {
    justify-content: flex-start;
  }

  /* 左パネル：画面左半分にロゴを固定表示 */
  .site__aside {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50vw;
    height: 100vh;
    position: sticky;
    top: 0;
  }

  .site__aside img {
    width: 220px; /* ※ロゴ表示サイズ調整 */
    height: auto;
  }

  /* コンテンツ：左端が画面中央 */
  .wrapper {
    margin: 0;
  }
}
