/* ========================================
   Project — 新卒採用情報（freshers.html）
======================================== */

.p-fresh {
  position: relative;
  color: var(--works-color-text);
  font-family: var(--works-font);
  overflow: hidden;
}
.p-fresh__overviewCard a{
  color: #fff;
}
.p-fresh__overviewMini a{
  color: #fff;
}

/* .p-fresh__inner {
  max-width: 1280px;
} */

[aria-hidden="true"] {
  display: block;
}

/* ---- Hero ---- */
.p-fresh__hero {
  position: relative;
  padding-top: 20px;
}

.p-fresh__heroInner {
  position: relative;
  display: flex;
  flex-direction: column;
}

.p-fresh__heroPanel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 148px;
  margin: 0;
  padding: 55px 20px 42px;
  color: var(--works-color-white);
  background-color: var(--works-color-orange-sub);
  border-radius: 0;
  overflow: visible;
}

.p-fresh__heroPanel > .c-colorBalls {
  z-index: 0;
}

.p-fresh__heroPanel .c-colorBall--cream {
  background: rgba(253, 247, 224, 0.274783);
  opacity: 0.274783;
}

.p-fresh__heroTitle {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.02em;
}

.p-fresh__rings {
  position: absolute;
  z-index: 1;
  left: -32px;
  top: 80px;
  width: 92px;
  height: 92px;
  pointer-events: none;
  mix-blend-mode: screen;
}

.p-fresh__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid var(--works-color-orange-sub);
  border-radius: 50%;
  translate: -50% -50%;
}

.p-fresh__ring:nth-child(1) {
  width: 40px;
  height: 40px;
  opacity: 0.6;
}

.p-fresh__ring:nth-child(2) {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}

.p-fresh__ring:nth-child(3) {
  width: 74px;
  height: 74px;
  opacity: 0.2;
}

.p-fresh__ring:nth-child(4) {
  width: 92px;
  height: 92px;
  opacity: 0.1;
}

.p-fresh__heroMain {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.p-fresh__heroPortrait {
  position: relative;
  z-index: 2;
  margin: 32px 20px 0;
  width: calc(100% - 40px);
  aspect-ratio: 350 / 197;
  overflow: hidden;
  border-radius: 0;
  background-color: #d5d5d5;
}

.p-fresh__heroPortrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* SP color balls */
.p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(1) {
  top: -20px;
  left: -20px;
  width: 102px;
  height: 103px;
}

.p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(2) {
  top: 24px;
  left: 71px;
  width: 50px;
  height: 51px;
}

.p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(3) {
  top: 34px;
  left: 233px;
  width: 49px;
  height: 48px;
}

.p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(4) {
  top: 96px;
  left: 315px;
  width: 85px;
  height: 85px;
}

.p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(5) {
  top: 140px;
  left: -10px;
  width: 60px;
  height: 60px;
}

/* SP: ヘッダーあしらい — ENTRY/メニューがオレンジパネルに重なるよう余白を詰める */
@media screen and (max-width: 767px) {
  .Main:has(.p-fresh) {
    padding-top: var(--works-site-header-top);
  }

  .p-fresh__hero {
    padding-top: 0;
  }

  .p-fresh__heroPanel {
    /* Figma: タイトル y194 − オレンジ y113 = 81px（ボタン下にタイトル） */
    padding-top: 81px;
  }
}

/* ---- Page nav (overview.html と同系統) ---- */
.p-fresh__nav {
  margin: 0 20px;
}

.p-fresh__navList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.p-fresh__navLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 6px 0 12px;
  border-bottom: 1px solid rgba(90, 58, 58, 0.35);
  color: inherit;
  text-decoration: none;
}

.p-fresh__navLabel {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--works-color-text);
}

.p-fresh__navLink .p-entryNav__arrow {
  flex-shrink: 0;
}

.p-fresh__navLink .p-entryNav__arrow.p-entryNav__arrow--down {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.p-fresh__navLink .p-entryNav__arrow.p-entryNav__arrow--down img {
  width: 18px;
  height: 18px;
  max-width: none;
  margin: 0;
  display: block;
  object-fit: contain;
}

.p-fresh__navLink:hover .p-fresh__navLabel {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.p-fresh__navLink:hover .p-entryNav__arrow {
  background-color: var(--works-color-orange);
}

.p-fresh__messageLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 20px 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(90, 58, 58, 0.35);
  text-decoration: none;
  color: inherit;
}

.p-fresh__messageLabel {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--works-color-text);
}

.p-fresh__messageIcon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  line-height: 0;
  background-color: var(--works-color-brown);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.p-fresh__messageLink:hover .p-fresh__messageLabel {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.p-fresh__messageLink:hover .p-fresh__messageIcon {
  background-color: var(--works-color-orange);
}

.p-fresh__messageIcon img {
  width: 40px;
  height: 40px;
  display: block;
}

/* ---- Body / sections ---- */
.p-fresh__body {
  position: relative;
  padding-bottom: 40px;
}

.p-fresh__body > .p-info {
  margin-top: 40px;
  margin-bottom: 48px;
}

.p-fresh__section {
  margin: 0 0 64px;
  scroll-margin-top: calc(var(--works-site-header-top) - 40px);
}

.p-fresh__heading {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 40px;
  color: var(--works-color-text);
  border-bottom: 3px solid var(--works-color-orange);
}

.p-fresh__headingRow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 0 0 24px;
  padding: 0 0 12px;
  border-bottom: 3px solid var(--works-color-orange);
}

.p-fresh__headingRow .p-fresh__heading {
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.p-fresh__headingNote {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  color: var(--works-color-text);
}

.p-fresh__flowFrame {
  margin-top: 42px;
  border-radius: 20px;
  background-color: #fff;
}

/* ---- Overview cards ---- */
.p-fresh__overview {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-fresh__overviewRow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-fresh__overviewCard {
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
}

.p-fresh__overviewTitle {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.p-fresh__overviewTitle--research {
  color: #6fbc7e;
}

.p-fresh__overviewTitle--eng {
  color: #3cacd5;
}

.p-fresh__overviewBody {
  padding: 16px 15px;
  border-radius: 8px;
  box-sizing: border-box;
}

.p-fresh__overviewBody--research {
  background: rgba(111, 188, 126, 0.2);
}

.p-fresh__overviewBody--eng {
  background: rgba(60, 172, 213, 0.2);
}

.p-fresh__overviewTags {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 13px;
  line-height: 22px;
  color: var(--works-color-text);
}

.p-fresh__overviewDot[aria-hidden="true"] {
  display: inline;
  color: inherit;
}

.p-fresh__overviewBody--research .p-fresh__overviewDot {
  color: #6fbc7e;
}

.p-fresh__overviewBody--eng .p-fresh__overviewDot {
  color: #3cacd5;
}

.p-fresh__overviewBtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 40px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
}

.p-fresh__overviewBtn--research {
  background: #6fbc7e;
}

.p-fresh__overviewBtn--eng {
  background: #3cacd5;
}

.p-fresh__overviewBtn--office {
  background: var(--works-color-orange);
  font-size: 13px;
  line-height: 18px;
}

.p-fresh__overviewBtn--research,
.p-fresh__overviewBtn--eng,
.p-fresh__overviewBtn--office {
  transition: background-color 0.2s ease;
}

.p-fresh__overviewBtn--research:hover {
  background-color: color-mix(in srgb, #6fbc7e 78%, #fff);
}

.p-fresh__overviewBtn--eng:hover {
  background-color: color-mix(in srgb, #3cacd5 78%, #fff);
}

.p-fresh__overviewBtn--office:hover {
  background-color: color-mix(in srgb, var(--works-color-orange) 78%, #fff);
}

.p-fresh__overviewBtnIcon[aria-hidden="true"] {
  position: absolute;
  top: 50%;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  line-height: 0;
  transform: translateY(-50%);
}

.p-fresh__overviewBtnIcon img {
  width: 18px;
  height: 18px;
  display: block;
}

.p-fresh__overviewOffice {
  padding: 24px 20px 20px;
  background: #fff;
  border-radius: 16px;
  box-sizing: border-box;
}

.p-fresh__overviewOfficeTitle {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
  color: var(--works-color-orange);
}

.p-fresh__overviewOfficeGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.p-fresh__overviewMini {
  display: flex;
  flex-direction: column;
  padding: 20px 15px 16px;
  background: rgba(235, 208, 62, 0.2);
  border-radius: 8px;
  box-sizing: border-box;
}

.p-fresh__overviewMini .p-fresh__overviewBtn {
  margin-top: auto;
  height: 48px;
  min-height: 48px;
}

.p-fresh__overviewMiniTitle {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  color: var(--works-color-orange);
}

.p-fresh__overviewMiniText {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  min-height: 44px;
  font-size: 13px;
  line-height: 22px;
  color: var(--works-color-text);
}

.p-fresh__overviewMiniText .p-fresh__overviewDot {
  color: var(--works-color-orange);
}

/* ---- Job detail panels ---- */
.p-fresh__job {
  margin-top: 40px;
  padding: 28px 16px 32px;
  background: #fff;
  border-radius: 16px;
  scroll-margin-top: calc(var(--works-site-header-top) - 40px);
}

.p-fresh__jobTitle {
  margin: 0 0 16px;
  padding-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 1px solid #e0e0e0;
}

.p-fresh__job--research .p-fresh__jobTitle {
  color: #6fbc7e;
}

.p-fresh__job--eng .p-fresh__jobTitle {
  color: #3cacd5;
}

.p-fresh__job--office .p-fresh__jobTitle {
  color: var(--works-color-orange);
}

.p-fresh__jobHead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.p-fresh__jobAnchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.p-fresh__jobAnchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 24px;
  border: 1px solid;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  color: var(--works-color-text);
  box-sizing: border-box;
}

.p-fresh__jobAnchor--research {
  background: #ecf7ee;
  border-color: #6fbc7e;
}

.p-fresh__jobAnchor--eng {
  background: #e9f7fb;
  border-color: #3cacd5;
}

.p-fresh__jobAnchor--office {
  background: #fff3e4;
  border-color: #f08300;
}

.p-fresh__jobAnchor--research,
.p-fresh__jobAnchor--eng,
.p-fresh__jobAnchor--office {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.p-fresh__jobAnchor--research:hover {
  background-color: color-mix(in srgb, #ecf7ee 55%, #fff);
  border-color: color-mix(in srgb, #6fbc7e 78%, #fff);
}

.p-fresh__jobAnchor--eng:hover {
  background-color: color-mix(in srgb, #e9f7fb 55%, #fff);
  border-color: color-mix(in srgb, #3cacd5 78%, #fff);
}

.p-fresh__jobAnchor--office:hover {
  background-color: color-mix(in srgb, #fff3e4 55%, #fff);
  border-color: color-mix(in srgb, #f08300 78%, #fff);
}

.p-fresh__jobAnchorIcon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  line-height: 0;
}

.p-fresh__jobAnchorIcon img {
  width: 14px;
  height: 14px;
  display: block;
}

.p-fresh__jobCatch {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--works-color-text);
}

.p-fresh__jobLead {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--works-color-text);
}

.p-fresh__jobPhoto {
  width: 100%;
  aspect-ratio: 400 / 267;
  overflow: hidden;
}

.p-fresh__jobPhoto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-fresh__specs {
  margin: 8px 0 28px;
  padding: 20px 16px 8px;
  border: 2px solid #6fbc7e;
  border-radius: 10px;
}

.p-fresh__job--eng .p-fresh__specs {
  border-color: #3cacd5;
}

.p-fresh__job--office .p-fresh__specs {
  border-color: #f08300;
}

.p-fresh__spec + .p-fresh__spec {
  margin-top: 16px;
}

.p-fresh__spec dt {
  margin: 0;
  padding: 0 12px;
  background: rgba(111, 188, 126, 0.1);
  border-left: 3px solid #6fbc7e;
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
}

.p-fresh__job--eng .p-fresh__spec dt {
  background: rgba(60, 172, 213, 0.1);
  border-left-color: #3cacd5;
}

.p-fresh__job--office .p-fresh__spec dt {
  background: #FBF6D9;
  border-left-color: #f08300;
}

.p-fresh__spec dd {
  margin: 8px 0 0;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1.8;
}

.p-fresh__jobBlock {
  margin: 0 0 28px;
  padding: 20px 16px;
  border: 2px solid #6fbc7e;
  border-radius: 10px;
  scroll-margin-top: calc(var(--works-site-header-top) - 40px);
}

.p-fresh__job--eng .p-fresh__jobBlock {
  border-color: #3cacd5;
}

.p-fresh__jobBlockTitle {
  margin: 0 0 12px;
  padding-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  color: var(--works-color-text);
}

.p-fresh__jobBullets {
  margin: 0;
  padding: 0 0 0 1.2em;
  font-size: 14px;
  line-height: 2;
}

.p-fresh__jobRoles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-fresh__jobRoleTitle {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #6fbc7e;
}

.p-fresh__jobRole p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.p-fresh__people {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.p-fresh__peoplePhotos {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-fresh__peoplePhotos a {
  position: relative;
  display: block;
}

.p-fresh__peoplePhotos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.p-fresh__peopleDept {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  width: fit-content;
  max-width: calc(100% - 16px);
  min-height: 28px;
  padding: 6px 11px;
  border-radius: 15px;
  background-color: var(--works-color-white);
  box-sizing: border-box;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: var(--works-color-orange-sub);
  pointer-events: none;
}

.p-fresh__peopleDeptMark {
  flex-shrink: 0;
  color: var(--works-color-brown);
}

.p-fresh__peoplePhotos li {
  flex: 1 1 0;
  min-width: 0;
}

.p-fresh__peoplePhotos--wide li {
  flex-basis: calc(50% - 8px);
  max-width: 360px;
}

.p-fresh__peoplePhotos--wide img,
.p-fresh__peoplePhotos--single img {
  aspect-ratio: 3 / 2;
}

.p-fresh__peoplePhotos--single {
  justify-content: flex-end;
}

.p-fresh__peoplePhotos--single li {
  flex-basis: 100%;
  max-width: 360px;
}

.p-fresh__peopleHead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.p-fresh__peopleTitle {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.p-fresh__peopleLink {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20.7px;
  color: var(--works-color-brown);
  text-decoration: none;
}

.p-fresh__peopleLink img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--works-color-brown);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.p-fresh__peopleLink:hover img {
  background-color: var(--works-color-orange);
}

.p-fresh__peopleVisual {
  width: 100%;
  overflow: hidden;
  opacity: 0.6;
}

.p-fresh__peopleVisual img {
  display: block;
  width: 100%;
  height: auto;
}

.p-fresh__jobMore {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.p-fresh__moreBtn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 64px;
  padding: 0 56px 0 24px;
  border: 1px solid #5a3a3a;
  border-radius: 32px;
  font-size: 14px;
  font-weight: 700;
  line-height: 18.9px;
  color: #5a3a3a;
  text-decoration: none;
  background: #fff;
  box-sizing: border-box;
}

.p-fresh__moreBtnLabel {
  display: block;
  width: 240px;
  max-width: 100%;
  text-align: center;
}

.p-fresh__moreBtnIcon[aria-hidden="true"] {
  position: absolute;
  top: 50%;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  line-height: 0;
  background-color: var(--works-color-brown);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}

.p-fresh__moreBtn:hover .p-fresh__moreBtnIcon {
  background-color: var(--works-color-orange);
}

.p-fresh__moreBtnIcon img {
  display: block;
  width: 18px;
  height: 18px;
  max-width: none;
}

.p-fresh__jobPending {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin: 16px 0;
  padding: 24px 16px;
  background: rgba(217, 217, 217, 0.55);
  border-radius: 12px;
  text-align: center;
}

.p-fresh__pendingNote {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: #ff006f;
}

.p-fresh__jobLinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-fresh__jobLinks p {
  margin: 0;
  position: relative;
}

.p-fresh__jobLinks p + p::before {
  content: "〜";
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1;
}

.p-fresh__course {
  margin-top: 40px;
  padding-top: 8px;
  scroll-margin-top: calc(var(--works-site-header-top) - 40px);
}

#job-office,
#job-accounting,
#job-digital,
#job-overseas {
  scroll-margin-top: calc(var(--works-site-header-top) - 56px);
}

.p-fresh__courseTitle {
  margin: 0 0 20px;
  padding: 14px 22px;
  border-radius: 32px;
  background: #fbf6d9;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: #f08300;
}

.p-fresh__jobPending--wide {
  min-height: 240px;
  flex: 1;
}

/* ---- Requirements table ---- */
.p-fresh__reqTable {
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.p-fresh__reqRow {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid #e8e8e8;
}

.p-fresh__reqRow:last-child {
  border-bottom: none;
}

.p-fresh__reqTh {
  padding: 16px 20px;
  background: #fdf7e0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid #e8e8e8;
}

.p-fresh__reqTd {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.75;
}

.p-fresh__reqTd ul {
  margin: 0;
  padding-left: 1.2em;
}

.p-fresh__reqTd li + li {
  margin-top: 4px;
}

/* ---- FAQ ---- */
.p-fresh__faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-fresh__faqItem {
  margin: 0;
  border: 1px solid #ababab;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.p-fresh__faqSummary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 64px;
  padding: 18px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.p-fresh__faqSummary::-webkit-details-marker {
  display: none;
}

.p-fresh__faqQ,
.p-fresh__faqA {
  flex-shrink: 0;
  width: 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  color: var(--works-color-orange);
}

.p-fresh__faqQuestion {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  color: var(--works-color-text);
}

.p-fresh__faqSummary:hover .p-fresh__faqQuestion {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.p-fresh__faqToggle {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 28px;
}

.p-fresh__faqToggle::before,
.p-fresh__faqToggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #333;
  translate: -50% -50%;
}

.p-fresh__faqToggle::before {
  width: 16px;
  height: 2px;
}

.p-fresh__faqToggle::after {
  width: 2px;
  height: 16px;
}

.p-fresh__faqItem[open] .p-fresh__faqToggle::after {
  display: none;
}

.p-fresh__faqAnswer {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f5f5f5;
}

.p-fresh__faqAnswer p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 2;
  color: var(--works-color-text);
}

.p-works .p-fresh__faqLink {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.p-works .p-fresh__faqLink:hover {
  color: var(--works-color-orange);
}

/* ---- CTA ---- */
.p-fresh__body > .p-storyDetail__cta {
  margin-top: 40px;
}

/* ========================================
   PC
======================================== */
@media screen and (min-width: 768px) {
  .Main:has(.p-works){
    padding-top: 90px;
  }
  .p-fresh__hero {
    padding-top: 0;
  }

  .p-fresh__heroInner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: block;
  }

  .p-fresh__heroPanel {
    width: calc(100% + 80px);
    max-width: none;
    min-height: 148px;
    margin: 0 -40px;
    padding: 54px 40px 40px;
    border-radius: 0;
  }

  .p-fresh__heroTitle {
    font-size: 40px;
    line-height: 48px;
  }

  .p-fresh__rings {
    left: 307px;
    top: -10px;
    width: 215px;
    height: 215px;
  }

  .p-fresh__ring:nth-child(1) {
    width: 93px;
    height: 93px;
  }

  .p-fresh__ring:nth-child(2) {
    width: 130px;
    height: 130px;
  }

  .p-fresh__ring:nth-child(3) {
    width: 172px;
    height: 172px;
  }

  .p-fresh__ring:nth-child(4) {
    width: 215px;
    height: 215px;
  }

  .p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(6) {
    top: -40px;
    left: -50px;
    width: 215px;
    height: 215px;
  }

  .p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(7) {
    top: 40px;
    left: 280px;
    width: 90px;
    height: 90px;
  }

  .p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(8) {
    top: 100px;
    left: 150px;
    width: 95px;
    height: 95px;
  }

  .p-fresh__heroPanel > .c-colorBalls .c-colorBall:nth-child(9) {
    top: -10px;
    left: 340px;
    width: 57px;
    height: 56px;
  }

  .p-fresh__heroMain {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 560px 1fr;
    grid-template-areas:
      "portrait nav"
      "message .";
    column-gap: 80px;
    row-gap: 24px;
    align-items: start;
    margin-top: 80px;
  }

  .p-fresh__heroPortrait {
    grid-area: portrait;
    margin: 0;
    width: 560px;
    aspect-ratio: 560 / 315;
    border-radius: 0;
  }

  .p-fresh__messageLink {
    grid-area: message;
    margin: 0;
    width: 560px;
    padding: 18px 0;
  }

  .p-fresh__nav {
    grid-area: nav;
    margin: 0;
    align-self: stretch;
  }

  .p-fresh__navList {
    height: 100%;
    grid-template-rows: repeat(4, minmax(72px, 1fr));
  }

  .p-fresh__navLink {
    min-height: 72px;
    padding: 16px 0;
  }

  .p-fresh__navLabel {
    font-size: 20px;
    line-height: 40px;
  }

  .p-fresh__messageLabel {
    font-size: 20px;
    line-height: 40px;
  }

  .p-fresh__body > .p-info {
    margin-top: 56px;
    margin-bottom: 64px;
  }

  .p-fresh__section {
    margin-bottom: 96px;
  }

  .p-fresh__heading {
    font-size: 26px;
  }

  .p-fresh__overviewRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .p-fresh__overviewCard {
    padding: 24px;
    border-radius: 20px;
  }

  .p-fresh__overviewTitle {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 36px;
  }

  .p-fresh__overviewBody {
    padding: 16px;
  }

  .p-fresh__overviewTags {
    min-height: 44px;
    font-size: 14px;
  }

  .p-fresh__overviewMiniText {
    min-height: 44px;
    font-size: 14px;
  }

  .p-fresh__overviewBtn {
    width: 100%;
  }

  .p-fresh__overviewBtnIcon[aria-hidden="true"] {
    right: 20px;
  }

  .p-fresh__overviewOffice {
    padding: 28px 24px 24px;
    border-radius: 20px;
  }

  .p-fresh__overviewOfficeTitle {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 36px;
  }

  .p-fresh__overviewOfficeGrid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .p-fresh__overviewMini {
    padding: 20px 16px 16px;
  }

  .p-fresh__overviewMiniTitle {
    font-size: 18px;
    line-height: 26px;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .p-fresh__job {
    margin-top: 56px;
    padding: 48px 60px 56px;
    border-radius: 20px;
  }

  .p-fresh__jobTitle {
    font-size: 32px;
    line-height: 1.2;
  }

  .p-fresh__jobHead {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
  }

  .p-fresh__jobCatch {
    font-size: 20px;
    line-height: 36px;
  }

  .p-fresh__jobLead {
    font-size: 16px;
    line-height: 32px;
  }

  .p-fresh__jobPhoto {
    width: 400px;
    height: 267px;
    aspect-ratio: auto;
  }

  .p-fresh__specs {
    margin: 24px 0 40px;
    padding: 32px 40px 24px;
  }

  .p-fresh__spec + .p-fresh__spec {
    margin-top: 20px;
  }

  .p-fresh__spec dt {
    padding: 0 16px;
    font-size: 20px;
    line-height: 32px;
  }

  .p-fresh__spec dd {
    padding: 0 16px;
    font-size: 16px;
    line-height: 32px;
  }

  .p-fresh__peoplePhotos {
    flex: 1 1 480px;
    flex-wrap: nowrap;
    gap: 0;
    width: auto;
    min-width: 0;
    max-width: 720px;
    margin-left: auto;
  }

  .p-fresh__peoplePhotos li {
    flex: 1 1 0;
    min-width: 0;
    max-width: 240px;
  }

  .p-fresh__peoplePhotos--wide li,
  .p-fresh__peoplePhotos--single li {
    max-width: 360px;
  }

  .p-fresh__jobBlock {
    padding: 28px 40px;
  }

  .p-fresh__jobBlockTitle {
    font-size: 24px;
  }

  .p-fresh__jobBullets {
    font-size: 16px;
    line-height: 40px;
  }

  .p-fresh__jobRoleTitle {
    font-size: 16px;
  }

  .p-fresh__jobRole p {
    font-size: 16px;
    line-height: 1.5;
  }

  .p-fresh__people {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    margin: 40px 0;
  }

  .p-fresh__courseTitle {
    padding: 15px 22px;
    font-size: 24px;
    line-height: 33px;
  }

  .p-fresh__peopleHead {
    flex: 0 1 360px;
    gap: 16px;
  }

  .p-fresh__peopleTitle {
    font-size: 24px;
    line-height: 33.1px;
  }

  .p-fresh__peopleVisual {
    flex: 1 1 auto;
    max-width: 720px;
    width: 100%;
  }

  .p-fresh__peopleVisual img {
    height: 240px;
    object-fit: cover;
  }

  .p-fresh__courseTitle {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 0 40px;
    font-size: 24px;
    text-align: left;
  }

  .p-fresh__reqTable {
    display: grid;
    grid-template-columns: 300px 1fr;
  }

  .p-fresh__reqRow {
    display: contents;
  }

  .p-fresh__reqTh {
    display: flex;
    align-items: flex-start;
    padding: 28px 24px;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    font-size: 16px;
  }

  .p-fresh__reqTd {
    padding: 28px 40px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 16px;
    line-height: 28px;
  }

  .p-fresh__faqSummary {
    padding: 22px 32px;
  }

  .p-fresh__faqQuestion {
    font-size: 18px;
  }

  .p-fresh__faqAnswer {
    padding: 20px 32px 28px;
  }

  .p-fresh__faqAnswer p {
    font-size: 16px;
    line-height: 32px;
  }
}

/* ========================================
   Floating jobs nav（全職種を見る）
======================================== */
.p-freshJobsNav__tab {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 246px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: var(--works-color-brown);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  font-family: var(--works-font);
  appearance: none;
  -webkit-appearance: none;
}

.p-freshJobsNav__tab:hover {
  opacity: 0.92;
}

.p-freshJobsNav__tabLabel {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.p-freshJobsNav.is-open .p-freshJobsNav__tab {
  visibility: hidden;
  pointer-events: none;
}

.p-freshJobsNav__drawer[hidden] {
  display: none;
}

.p-freshJobsNav__drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.p-freshJobsNav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(51, 51, 51, 0.6);
}

.p-freshJobsNav__dialog {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: stretch;
  max-width: calc(100vw - 16px);
  transform: translateY(-50%);
}

.p-freshJobsNav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px;
  min-height: 246px;
  margin: auto 0;
  padding: 0;
  border: 0;
  border-radius: 18px 0 0 18px;
  background: var(--works-color-brown);
  color: #fff;
  cursor: pointer;
  font-family: var(--works-font);
  appearance: none;
  -webkit-appearance: none;
}

.p-freshJobsNav__close:hover {
  opacity: 0.92;
}

.p-freshJobsNav__closeLabel {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 0.12em;
}

.p-freshJobsNav__panel {
  width: min(520px, calc(100vw - 72px));
  max-height: min(640px, calc(100vh - 32px));
  overflow-y: auto;
  padding: 32px 32px 40px;
  border-radius: 24px 0 0 24px;
  background: #fff;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.p-freshJobsNav__title {
  margin: 0 0 28px;
  color: var(--works-color-brown);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
}

.p-freshJobsNav__section + .p-freshJobsNav__section {
  margin-top: 28px;
}

.p-freshJobsNav__heading {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
}

.p-freshJobsNav__heading a {
  color: inherit;
  text-decoration: none;
}

.p-freshJobsNav__heading a::before {
  content: "▶";
  margin-right: 0.3em;
  color: var(--works-color-brown);
  font-size: 13px;
}

.p-freshJobsNav__heading a:hover {
  opacity: 0.75;
}

.p-freshJobsNav__section--research .p-freshJobsNav__heading {
  color: #6fbc7e;
}

.p-freshJobsNav__section--eng .p-freshJobsNav__heading {
  color: #3cacd5;
}

.p-freshJobsNav__section--office .p-freshJobsNav__heading {
  color: #f08300;
  border-bottom-color: #f08329;
}

.p-freshJobsNav__tags,
.p-freshJobsNav__list,
.p-freshJobsNav__courseText {
  margin: 12px 0 0;
  padding: 0 0 0 16px;
  color: var(--works-color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.p-freshJobsNav__list {
  list-style: none;
}

.p-freshJobsNav__list li + li {
  margin-top: 0;
}

.p-freshJobsNav__dot[aria-hidden="true"] {
  display: inline;
}

.p-freshJobsNav__section--research .p-freshJobsNav__dot {
  color: #6fbc7e;
}

.p-freshJobsNav__section--eng .p-freshJobsNav__dot {
  color: #3cacd5;
}

.p-freshJobsNav__section--office .p-freshJobsNav__dot {
  color: #f08300;
}

.p-freshJobsNav__courses {
  margin-top: 12px;
  padding-left: 16px;
}

.p-freshJobsNav__course + .p-freshJobsNav__course {
  margin-top: 14px;
}

.p-freshJobsNav__courseTitle {
  margin: 0;
  color: #f08300;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.p-freshJobsNav__courseTitle a {
  color: inherit;
  text-decoration: none;
}

.p-freshJobsNav__courseTitle a::before {
  content: "▶︎";
  margin-right: 0.3em;
  color: var(--works-color-brown);
  font-size: 13px;
}

.p-freshJobsNav__courseTitle a:hover {
  opacity: 0.75;
}

.p-freshJobsNav__courseText {
  margin-top: 4px;
  padding-left: 0;
}

body.is-freshJobsNavOpen {
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .p-freshJobsNav__tab {
    width: 44px;
    height: 200px;
    border-radius: 8px 0 0 8px;
  }

  .p-freshJobsNav__tabLabel,
  .p-freshJobsNav__closeLabel {
    font-size: 15px;
  }

  .p-freshJobsNav__close {
    flex-basis: 44px;
    width: 44px;
    min-height: 200px;
    border-radius: 12px 0 0 12px;
  }

  .p-freshJobsNav__panel {
    width: min(100vw - 52px, 520px);
    max-height: calc(100vh - 24px);
    padding: 24px 20px 32px;
    border-radius: 16px 0 0 16px;
  }

  .p-freshJobsNav__title {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 28px;
  }

  .p-freshJobsNav__heading {
    font-size: 17px;
  }

  .p-freshJobsNav__courseTitle {
    font-size: 15px;
  }
}

@media screen and (min-width: 1280px) {
  .p-fresh__heroPanel {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    padding-left: calc(50vw - 600px);
  }
}
