@charset "utf-8";

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  background: transparent;
  border: 0;
  font-size: 100%;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f4f6f8;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  padding-bottom: 96px;
}

.container {
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin: 0 auto;
  max-width: 480px;
  min-height: 100vh;
  padding-bottom: 30px;
  position: relative;
}

/* ヘッダー */
.app-header {
  align-items: center;
  background: #fff;
  display: flex;
  height: 40px;
  justify-content: flex-start;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-btn {
  align-items: center;
  background: none;
  background-color: #f0f0f0;
  border: none;
  border-radius: 50%;
  color: #666;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  height: 32px;
  justify-content: center;
  left: 12px;
  position: absolute;
  width: 32px;
}
.header-logo {
  align-items: center;
  color: #222;
  display: flex;
  font-size: 18px;
  font-weight: bold;
  gap: 6px;
  margin: 0 auto;
}
.header-logo span {
  color: #e65c00;
}

/* メイン画像 */
.hero-image-container {
  background-color: #ddd;
  height: 300px;
  overflow: hidden;
  width: 100%;
}
.hero-image-container img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* 求人タイトルエリア */
.job-main-section {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 20px 0 20px;
}
.job-main-title {
  align-self: stretch;
  color: var(--233-d-4-c, #233D4C);
  display: -webkit-box;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.32px;
  line-height: 140%;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* おすすめポイントカード */
.recommend-section {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recommend-box {
  align-items: flex-start;
  align-self: stretch;
  background: #FFF;
  border: 2px solid var(--7-a-878-c, #7A878C);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.recommend-title-box {
  align-items: center;
  align-self: stretch;
  background: var(--7-a-878-c, #7A878C);
  border-top-left-radius: 6px; 
  border-top-right-radius: 6px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 8px 16px;
}
.recommend-title-icon {
  align-items: center;
  background: var(--ffffff, #FFF);
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 16px;
  justify-content: center;
  width: 16px;
}
.recommend-title-icon svg {
  height: 6.284px;
  flex-shrink: 0;
  width: 7.553px;
}
.recommend-text {
  color: var(--ffffff, #FFF);
  flex: 1 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 160%;
  leading-trim: both;
  text-edge: cap;
}
.recommend-body {
  align-items: center;
  align-self: stretch;
  border-bottom: 1px solid var(--7-a-878-c, #7A878C);
  color: var(--596266, #596266);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  line-height: 160%;
  padding: 12px 16px;
}

/* 基本情報（勤務地・時給など） */
.info-section {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.info-row {
  align-items: center;
  align-self: stretch;
  border-bottom: 1px solid var(--e-6-e-6-e-6, #E6E6E6);
  display: flex;
  gap: 8px;
  padding: 16px 0;
}
.info-row:last-child {
  border: none;
}
.info-icon-box {
  aspect-ratio: 1/1;
  background: var(--7-a-878-c, #7A878C);
  border-radius: 50%;
  height: 24px;
  width: 24px;
}
.info-text-box {
  align-items: flex-start;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 8px;
}
.info-label {
  color: var(--233-d-4-c, #233D4C);
  font-size: 13px;
  font-weight: 700;
  line-height: 160%;
}
.info-value {
  align-self: stretch;
  color: var(--596266, #596266);
  leading-trim: both;
  font-size: 13px;
  font-weight: 500;
  line-height: 160%;
  text-edge: cap;
}

/* タグクラウド */
.tag-section {
  align-content: flex-start;
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tag-item {
  align-items: center;
  background: #E7F2F4;
  border-radius: 4px;
  color: var(--596266, #596266);
  leading-trim: both;
  font-size: 12px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.4px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 6px 8px;
}

/* CTA */
.cta-section {
  align-items: center;
  align-self: stretch;
  background: #FFF;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-section .btn-apply {
  align-items: center;
  align-self: stretch;
  background: #D85041;
  border: none;
  border-radius: 8px;
  color: #FFF;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 140%;
  display: flex;
  height: 52px;
  justify-content: center;
}
.cta-section .btn-apply:disabled {
  opacity: 0.7;
}
.btn-consult {
  align-items: center;
  align-self: stretch;
  background: #FFF;
  border: 2px solid #233D4C;
  border-radius: 8px;
  color: #233D4C;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 140%;
  display: flex;
  height: 52px;
  justify-content: center;
}
.consult-subtext {
  align-self: stretch;
  color: #596266;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
  text-align: center;
}

/* 募集要領 */
.job-detail-section {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-detail-box {
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-detail-title {
  align-items: center;
  align-self: stretch;
  background: var(--233-d-4-c, #233D4C);
  border-radius: 4px;
  color: var(--ffffff, #FFF);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  gap: 10px;
  line-height: normal;
  padding: 4px 8px;
}
.job-detail-item-box {
  align-items: flex-start;
  border-bottom: 1px solid var(--e-6-e-6-e-6, #E6E6E6);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 4px;
  width: 100%;
}
.job-detail-heading {
  align-items: center;
  align-self: stretch;
  display: flex;
  gap: 8px;
}
.job-detail-heading-text {
  color: var(--233-d-4-c, #233D4C);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  padding-left: 8px;
  position: relative;
  text-align: right;
}
.job-detail-heading-text:before {
  background: var(--a-4-afb-3, #A4AFB3);
  border-radius: 20px;
  content: "";
  flex-shrink: 0;
  height: 17px;
  left: 0;
  position: absolute;
  transform: translateY(-50%);
  top: 13px;
  width: 4px;
}
.detail-content-box {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 0 8px;
}
.detail-item-content {
  align-self: stretch;
  color: var(--596266, #596266);
  font-size: 13px;
  font-weight: 500;
  line-height: 160%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  padding: 0 8px;
}
/* もっと見る */
.accordion-container {
  max-height: 160px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}
.accordion-container.is-expanded {
  max-height: none;
}
.accordion-overlay {
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 70%, rgba(255, 255, 255, 1) 100%);
  bottom: 0;
  display: flex;
  height: 80px;
  justify-content: center;
  left: 0;
  padding-bottom: 10px;
  position: absolute;
  transition: opacity 0.2s ease;
  width: 100%;
}
.accordion-container.is-expanded .accordion-overlay {
  display: none;
}
.accordion-btn {
  align-items: center;
  background: #FFF;
  border: 2px solid var(--7-a-878-c, #7A878C);
  border-radius: 48px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  color: var(--7-a-878-c, #7A878C);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  line-height: normal;
  padding: 12px 40px;
  transition: background-color 0.2s;
}

/* 下部固定アクションボタン */
.footer-actions {
  align-items: flex-start;
  bottom: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 100%;
}
.footer-action-box {
  align-items: center;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(7px);
  border-radius: 8px 8px 0 0;
  display: flex;
  gap: 8px;
  padding: 16px;
  width: 100%;
}
.btn-apply-box {
  align-items: center;
  background: #D85041;
  border-radius: 8px;
  box-shadow: 0 4px 6px 0 rgba(216, 80, 65, 0.20);
  cursor: pointer;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 14px 10px;
  width: 100%;
}
.btn-apply-box.disabled {
  opacity: 0.7;
}
.btn-apply-box .btn-apply-text {
  color: #FFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 160%;
}
.btn-apply-box .btn-apply-icon {
  align-items: center;
  aspect-ratio: 1/1;
  background: var(--ffffff, #FFF);
  border-radius: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.btn-apply-box .btn-apply-icon svg {
  flex-shrink: 0;
  height: 11px;
  width: 14px;
}
.btn-apply-box svg.arrow {
  height: 15px;
  stroke-width: 2px;
  stroke: var(--ffffff, #FFF);
  width: 10px;
}

/* ローディング・エラー */
.loading-state, .error-state {
  color: #666;
  font-size: 14px;
  padding: 60px 20px;
  text-align: center;
}

.error-state {
  color: #e5533d;
}
