/* =========================
   hero
========================= */
.hero {
    padding-block: 100px;
    background-color: black;
}
.hero__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    text-align: center;
}
.hero__title {
    font-size: 70px;
    font-weight: 700;
    line-height: 80px;
    color: #fff;
}
.hero__subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
}
.hero__search {
    display: flex;
    height: 80px;
    margin-bottom: 80px;
    border-radius: 16px;
    background: #fff;
    gap: 20px;
}
.hero__search-icon {
    width: 16px;
    height: 16px;
}
.hero__fields {
    display: flex;
    align-items: center;
    padding-inline: 20px;
}
.hero__statistics {
    display: flex;
    gap: 60px;
}

.form__input,
.form__select {
    height: 100%;
    padding-inline: 20px;
    border: none;
    background: transparent;
}
.form__input {
    width: 195px;
}
.form__input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}
.form__select {
    width: 180px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: rgba(0, 0, 0, 0.5);
}
.form__select-wrapper {
    position: relative;
    width: 180px;
}
.form__select-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(199, 199, 199, 0.6);
}
.form__select-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.hero__button {
    width: 174px;
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.hero__stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__stat img {
    width: 60px;
    height: 60px;
}

.hero__stat-content {
    display: flex;
    flex-direction: column;
}
.hero__stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}
.hero__stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}
/* =========================
   company-logos
========================= */
.company-logos {
    background-color: black;
    padding-block: 40px;
}

.company-logos__list {
    display: flex;
    justify-content: space-between;
}
/* =========================
   Jobs Section
========================= */
.jobs {
    padding-block: 60px;
}

.jobs__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 60px;
}

.jobs__heading {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.jobs__header-title {
    font-size: 50px;
    font-weight: 700;
    color: #18191c;
}
.jobs__header-desc {
    font-size: 16px;
    font-weight: 500;
    color: #18191c;
}
.viewall-link {
    color: #309689;
    text-decoration: underline;
}
.viewall-link--desktop {
    font-size: 24px;
    font-weight: 600;
}
.viewall-link--mobile {
    display: none;
}
.jobs__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* =========================
   Category Section
========================= */
.category {
    padding-top: 60px;
    padding-bottom: 120px;
    background-color: rgba(48, 150, 137, 0.1);
}

.category__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
}

.category__header-title {
    font-size: 50px;
    font-weight: 700;
    color: #000;
    padding-bottom: 40px;
    line-height: 0.8;
}

.category__header-desc {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.category__list {
    display: grid;
    grid-template-columns: repeat(3, 306px);
    justify-content: center;
    gap: 24px;
}

.category__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;

    width: 306px;
    height: 280px;
    padding-block: 58px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(48, 150, 137, 0.05);
}

.category__icon {
    width: 40px;
    height: 40px;
}

.category__title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.category .badge {
    padding-inline: 12px;
}
/* =========================
   about
========================= */
.about {
    padding-top: 120px;
    padding-bottom: 60px;
}

.about__wrapper {
    display: flex;
    flex-direction: column;
    gap: 86px;
}

.about__content {
    display: flex;
    align-items: center;
    gap: 86px;
}

.about__body {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about__title {
    font-size: 50px;
    font-weight: 700;
    color: #000;
}

.about__desc {
    width: 520px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.about__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.about__list {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.about__item {
    display: flex;
    flex-direction: column;
    width: 306px;
}

.about__learn {
    display: inline-flex;
    align-items: center;

    font-size: 16px;
    font-weight: 600;
    color: #309689;
    text-decoration: underline;
}

.about__count {
    font-size: 40px;
    font-weight: 700;
    color: #309689;
}

.about__label {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.8;
    color: #000000;
}

.about__info {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}
/* =========================
   banner
========================= */
.banner {
    padding-top: 60px;
    padding-bottom: 120px;
    background-color: #fff;
}

.banner__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
}

.banner__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
}

.banner__text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.banner__title {
    font-size: 50px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}
.banner__desc {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
/* =========================
   Testimonial
========================= */
.testimonial {
    padding-block: 120px;
    background-color: #ebf5f4;
}
.testimonial__wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.testimonial__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.testimonial__title {
    font-size: 50px;
    font-weight: 600;
    color: #000;
    line-height: 1;
}
.testimonial__desc {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
.testimonial__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    width: 100%;
    height: 400px;
    padding: 40px;
    border-radius: 20px;
}
.testimonial__body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.testimonial__rating {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.testimonial__headline {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    line-height: 1;
}
.testimonial__content {
    height: 94px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
.testimonial__quote {
    width: 40px;
    height: 30px;
    margin-left: auto;
}
.testimonial__author {
    display: flex;
    gap: 16px;
}
.testimonial__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial__name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}
.testimonial__role {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
/* =========================
   blog
========================= */
.blog {
    padding-block: 60px;
}
.blog__wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.blog__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.blog__title {
    font-size: 50px;
    font-weight: 600;
    color: #000;
}
.blog__intro {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
.blog__list {
    display: flex;
    gap: 24px;
}
.blog__item {
    width: 636px;
}
.blog__link {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.blog__heading {
    position: relative;
}
.blog__image {
    width: 100%;
    aspect-ratio: 636 / 400;
    object-fit: cover;
    border-radius: 20px;
}
.blog__genre {
    position: absolute;
    top: 18px;
    left: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 12px;
    background-color: #309689;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}
.blog__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.blog__date {
    font-size: 16px;
    font-weight: 600;
    color: #8b8b8b;
}
.blog__headline {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
}
.blog__more {
    display: flex;
    align-items: center;
    gap: 12px;
}
.blog__read-more {
    font-size: 16px;
    font-weight: 600;
    color: #309689;
}
.blog__arrow {
    width: 20px;
}
/* =========================
   Page Hero (Jobsページ)
========================= */
.page-hero {
    background-color: #000;
    padding-block: 140px;
    text-align: center;
}

.page-hero__title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.page-hero__description {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
}
/* =========================
   Jobs Listing Page
========================= */
.page-jobs {
    padding-block: 60px;
}

/* Jobsページ専用（サイドバーがある場合だけ） */
.jobs__wrapper:has(.jobs__sidebar) {
    display: grid;
    grid-template-columns: 306px 1fr;
    gap: 40px;
    align-items: start;
}

/* ---------- Sidebar ---------- */
.jobs__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-filter {
    background-color: #ebf5f4;
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.job-filter__group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-filter__title {
    font-size: 18px;
    font-weight: 600;
    color: #1e1e1e;
}

/* Search */
.job-filter__search {
    position: relative;
    display: flex;
    align-items: center;
}

.job-filter__search img {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.job-filter__input {
    width: 100%;
    height: 48px;
    padding-inline: 48px 16px;
    border: none;
    border-radius: 12px;
    background-color: #fff;
    font-size: 15px;
    color: #1e1e1e;
}

.job-filter__input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Select */
.job-filter__select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.job-filter__icon {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 1;
}

.job-filter__select {
    width: 100%;
    height: 48px;
    padding-inline: 48px 40px;
    border: none;
    border-radius: 12px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* Checkbox list */
.job-filter__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-filter__label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #1e1e1e;
}

.job-filter__label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    background-color: rgba(48, 150, 137, 0.1);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

/* チェックされたとき */
.job-filter__label input[type="checkbox"]:checked {
    background-color: #309689;
    border-color: #309689;
}

/* チェックマーク（白い✓） */
.job-filter__label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.job-filter__text {
    flex: 1;
}

.job-filter__count {
    display: flex;
    flex-direction: column;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.4);
    font-size: 16px;
    font-weight: 500;
}

.job-filter__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding-inline: 20px;
    border-radius: 8px;
    background-color: #309689;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.job-filter__more:hover {
    background-color: #267a6f;
}

/* Salary range */
.job-filter__range-wrapper {
    padding-block: 8px;
}

.job-filter__range {
    width: 100%;
    height: 6px;
    appearance: none;
    background: #d1e7e4;
    border-radius: 4px;
    outline: none;
}

.job-filter__range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #309689;
    cursor: pointer;
}

.job-filter__salary-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.job-filter__salary-text {
    font-size: 14px;
    color: #1e1e1e;
}

.job-filter__apply {
    height: 36px;
    padding-inline: 16px;
    border-radius: 8px;
    background-color: #309689;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* Tags */
.job-filter__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-filter__tags .badge {
    padding: 6px 12px;
    font-size: 13px;
    background-color: rgba(48, 150, 137, 0.12);
}

.job-filter__tags .badge a {
    color: #309689;
}

/* Sidebar Banner */
.jobs__banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 280px;
}

.jobs__banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jobs__banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 37px 29px;
    color: #fff;
}

.jobs__banner-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

.jobs__banner-text {
    font-size: 24px;
    font-weight: 500;
    margin-top: 12px;
}

/* ---------- Content area ---------- */
.jobs__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jobs__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.jobs__result {
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
}

.jobs__sort-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.jobs__sort {
    height: 40px;
    padding-inline: 12px 12px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    font-size: 20px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
}

.jobs__sort-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none; /* クリックをselectに通す */
}

/* Job cards on Jobs page */

.page-jobs__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jobs__item .job-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s;
}

.jobs__item .job-card:hover {
    box-shadow: 0 8px 30px rgba(48, 150, 137, 0.12);
}

/* Pagination */
.jobs__pagination {
    position: relative;
    margin-top: 40px;
}

.jobs__pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
}

.jobs__pagination-pages {
    display: flex;
    gap: 24px;
}

.jobs__pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.jobs__pagination-next-item {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.jobs__pagination-link:hover {
    border-color: #309689;
    color: #309689;
}

.jobs__pagination-link.is-active {
    background-color: #309689;
    border-color: #309689;
    color: #fff;
}

.jobs__pagination-next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-inline: 16px 14px;
}

.jobs__pagination-next img {
    width: 24px;
    height: 24px;
}

/* =========================
   Top Company
========================= */
.top-company {
    padding-block: 80px 120px;
    background-color: #ebf5f4;
}

.top-company__wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.top-company__heading {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-company__title {
    font-size: 50px;
    font-weight: 700;
    color: #1e1e1e;
}

.top-company__desc {
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
    max-width: 600px;
    margin-inline: auto;
}

.top-company__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.top-company__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 40px 24px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    height: 100%;
}

.top-company__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(48, 150, 137, 0.12);
}

.top-company__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.top-company__name {
    font-size: 20px;
    font-weight: 700;
    color: #1e1e1e;
}

.top-company__text {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    line-height: 1.5;
    flex: 1;
}

.top-company__jobs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: rgba(48, 150, 137, 0.12);
    color: #309689;
    font-size: 14px;
    font-weight: 600;
}
/* =========================
   Job Details Page
========================= */
.job-details {
    padding-block: 60px 100px;
}

.job-details__wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* ---------- Header (求人タイトル部分) ---------- */
.job-details__header {
    grid-column: 1 / -1; /* 全幅 */
    margin-bottom: 40px;
}

.job-details__header .jobs__item {
    background-color: #fff;
    border-radius: 20px;
    padding: 32px 40px;
}

.job-details__header .jobs__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.job-details__header .jobs__details .button {
    min-width: 160px;
}

/* ---------- Content (左カラム) ---------- */
.job-details__content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.job-details__body {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.job-details__group {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.job-details__title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.job-details__group p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: #000;
}

/* リスト（Key Responsibilities / Professional Skills） */
.job-details__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-details__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.job-details__item img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.job-details__description {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #4b5563;
}

/* Tags */
.job-tag__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.job-tag__list .badge {
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 500;
}

/* Share */
.job-share__list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-share__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.job-share__link:hover {
    opacity: 0.7;
}

.job-share__link img {
    width: 20px;
    height: 20px;
}

/* ---------- Sidebar (右カラム) ---------- */
.job-details__sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
    top: 60px;
}

/* Job Overview */
.job-overview {
    background-color: #ebf5f4;
    border-radius: 20px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.job-overview__title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.job-overview__list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.job-overview__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.job-overview__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.job-overview__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-overview__label {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    line-height: 1;
}

.job-overview__value {
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1;
}

/* Map */
.job-overview-map__wrapper {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background-color: #e5e7eb;
}

.job-overview-map__frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Send Us Message */
.job-message {
    background-color: #ebf5f4;
    border-radius: 20px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-message__title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.job-message__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-message__field {
    position: relative;
    display: flex;
    align-items: center;
}

.job-message__icon {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    pointer-events: none;
    opacity: 0.5;
}

.job-message__input,
.job-message__textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background-color: #fff;
    font-size: 15px;
    color: #1e1e1e;
    outline: none;
    transition: border-color 0.3s;
}

.job-message__input:focus,
.job-message__textarea:focus {
    border-color: #309689;
}

.job-message__field--textarea {
    align-items: flex-start;
}

.job-message__field--textarea .job-message__icon {
    top: 18px;
}

.job-message__textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 16px;
}

.job-message__button {
    width: fit-content;
    align-self: flex-start;
}

/* ---------- Related Jobs ---------- */
.related-jobs {
    padding-block: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.related-jobs__header {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.related-jobs__title {
    font-size: 50px;
    font-weight: 600;
    color: #000;
}

.related-jobs__desc {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.related-jobs__body .jobs__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================
   About Intro
========================= */
.about-intro {
    padding-block: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-intro__header {
    padding-block: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-intro__title {
    font-size: 40px;
    font-weight: 600;
    color: #000;
}

.about-intro__desc {
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
}

.about-intro__img {
    width: 100%;
    border-radius: 20px;
}

/* =========================
   How it works
========================= */
.how-it-works {
    padding-block: 60px 120px;
}

.how-it-works__wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.how-it-works__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.how-it-works__title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}

.how-it-works__desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #4b5563;
    max-width: 646px;
    margin-inline: auto;
}

.how-it-works__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.how-it-works__item {
    width: 100%;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 24px;
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.how-it-works__logo {
    width: 40px;
    height: 40px;
}

.how-it-works__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.how-it-works__label {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.how-it-works__value {
    width: 240px;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
}

/* =========================
   About Video
========================= */
.about-video__wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-video__visual {
    position: relative;
}

.about-video__bg {
    width: 100%;
}

.about-video__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.about-video__icon {
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.about-video__title {
    width: 500px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}

.about-video__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    background-color: rgba(0, 0, 0, 0.9);
    padding: 45px 70px;
}

.about-video__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}

.about-video__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-video__count {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.about-video__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-video__subtitle {
    width: 280px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.about-video__more {
    font-size: 16px;
    font-weight: 600;
    color: #309689;
    cursor: pointer;
}

/* =========================
   FAQ
========================= */
.faq {
    padding-block: 120px 60px;
}

.faq__wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.faq__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.faq__title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

.faq__desc {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.faq__list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 40px;
    border-radius: 20px;
    border-bottom: 1px solid #d9e6e4;
    transition: background-color 0.3s;
}

.faq__item.is-active {
    background-color: #ebf5f4;
    border-top: 1px solid #d9e6e4;
}

.faq__count {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.faq__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__question {
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.faq__answer {
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
}

.faq__toggle {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* =========================
   About Best
========================= */
.about-best {
    padding-block: 60px;
}

.about-best__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-best__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-best__left .about-best__left-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 20px;
}

.about-best__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-best__right .about-best__right-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about-best__right-image:first-child img {
    height: 338px;
}
.about-best__right-image:last-child img {
    height: 200px;
}

.about-best__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-best__header {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-best__title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

.about-best__desc {
    width: 600px;
    font-size: 16px;
    font-weight: 500;
    color: #4b5563;
}

.about-best__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-best__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-best__icon {
    width: 40px;
    height: 40px;
}

.about-best__label {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}
/* =========================
   about-blog
========================= */
.about-blog__header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* =========================
   Contact Us Page
========================= */

/* ---------- Contact Section ---------- */
.contact {
    padding-block: 60px;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

/* Left: Info */
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.contact__header {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact__title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

.contact__desc {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    max-width: 620px;
}

.contact__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px 104px;
}

.contact__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__img {
    width: 28px;
    height: 28px;
}

.contact__heading {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

.contact__value {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    overflow-wrap: anywhere;
}

a.contact__value:hover {
    color: #309689;
}

/* Right: Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 40px;
    background-color: #ebf5f4;
    border-radius: 20px;
}

.contact-form__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form__title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
}

.contact-form__desc {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.contact-form__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form__message {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form__label {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 9px 16px;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    border-color: #309689;
}

.contact-form__textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .button {
    width: 248px;
    height: 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

/* ---------- Map Section ---------- */
.map {
    padding-bottom: 60px;
}

.map__wrapper {
    border-radius: 20px;
    overflow: hidden;
    background-color: #e5e7eb;
}

.map__frame {
    width: 100%;
    min-height: 420px;
    border: none;
    display: block;
}

/* ---------- Company Logos (Contact page) ---------- */
.contact-company {
    padding-block: 60px;
}

.contact-company__logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 60px;
    flex-wrap: wrap;
}

.contact-company__logo {
    transition: opacity 0.3s;
}

.contact-company__logo:hover {
    opacity: 0.85;
}

.contact-company__logo img {
    height: 60px;
    width: auto;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .header {
        padding-block: 16px;
    }

    .header__hamburger {
        display: flex;
    }

    .header__actions--desktop {
        display: none;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background-color: #000;
        padding: 80px 32px 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }

    .header__nav.is-open {
        transform: translateX(0);
    }

    .header__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .header__item a {
        font-size: 18px;
    }

    .header__actions--mobile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .header__actions--mobile a {
        color: #fff;
        font-size: 18px;
        font-weight: 500;
        transition: color 0.3s;
    }

    .header__actions--mobile a:hover {
        color: #309689;
    }

    .header__actions--mobile .button {
        background-color: transparent;
        color: #fff;
        padding: 0;
        border: none;
        border-radius: 0;
        height: auto;
        font-weight: 500;
    }

    .header__actions--mobile .button:hover {
        color: #309689;
    }

    .header__hamburger.is-active .header__hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__hamburger.is-active .header__hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .header__hamburger.is-active .header__hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header__overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 90;
    }

    .header__overlay.is-active {
        opacity: 1;
        visibility: visible;
    }
    /* 共通 */
    .container {
        padding-inline: 16px;
    }

    /* Header */
    .header {
        padding-block: 20px;
    }

    /* Hero */

    .hero__title {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__header {
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero__search {
        margin-bottom: 80px;
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 40px 20px;
        gap: 40px;
    }

    .hero__fields {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        padding-inline: 0;
    }

    .form__input,
    .form__select-wrapper,
    .form__select {
        width: 100%;
        justify-content: space-between;
    }

    .form__input,
    .form__select-wrapper {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.5);
        padding-bottom: 8px;
    }

    .form__select-wrapper::before {
        display: none;
    }

    .hero__button {
        width: 100%;
        height: 50px;
        border-radius: 8px;
    }

    .hero__statistics {
        display: flex;
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .hero__stat {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        min-width: 0;
        flex: 1 1 0;
    }

    .hero__stat img {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .hero__stat-number {
        font-size: 16px;
        line-height: 1.2;
    }

    .hero__stat-label {
        font-size: 12px;
    }

    /* Company Logos */
    .company-logos__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px 32px;
    }

    /* Jobs */
    .jobs {
        padding-block: 60px;
    }

    .jobs__wrapper {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    .jobs__header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding-bottom: 0px;
    }

    .jobs__heading {
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .jobs__header-title {
        font-size: 28px;
    }

    .viewall-link--desktop {
        display: none;
    }
    .viewall-link--mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 24px;
        font-weight: 600;
    }

    .job-card {
        gap: 40px;
        padding: 40px;
    }

    .job-card__main {
        flex-direction: column;
    }

    .job-card__main img {
        width: 40px;
        height: 40px;
    }

    .job-card__contents {
        gap: 20px;
    }

    .job-card__title {
        line-height: 1.2;
    }

    .job-card__subtitle {
        line-height: 1.2;
    }

    .job-card__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .job-card__meta {
        flex-direction: column;
        gap: 24px;
    }

    .job-card__details {
        width: 100%;
    }

    .job-card__details .button {
        width: 100%;
        justify-content: center;
    }

    /* Category */
    .category {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .category__header {
        padding-bottom: 32px;
    }

    .category__header-title {
        font-size: 32px;
        padding-bottom: 16px;
    }

    .category__list {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .category__link {
        width: 100%;
        height: auto;
        padding-block: 40px;
    }

    /* About */
    .about {
        padding-block: 40px;
    }

    .about__wrapper {
        gap: 40px;
    }

    .about__content {
        flex-direction: column;
        gap: 32px;
    }

    .about__title {
        font-size: 32px;
    }

    .about__body {
        gap: 32px;
    }

    .about__text {
        gap: 20px;
        text-align: center;
    }

    .about__desc {
        width: 100%;
        max-width: 100%;
    }

    .about__actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about__stats {
        padding-block: 40px;
    }

    .about__list {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 32px;
    }

    .about__item {
        width: 100%;
        gap: 29px;
    }

    .about__count {
        font-size: 60px;
        font-weight: 700;
        line-height: 1;
    }

    .about__label {
        font-size: 24px;
        font-weight: 600;
        line-height: 1;
    }

    .about__info {
        font-size: 16px;
        font-weight: 500;
    }

    /* Banner */
    .banner {
        padding-block: 60px;
    }

    .banner__wrapper {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 40px;
    }

    .banner__title {
        font-size: 28px;
    }

    .banner__left {
        gap: 32px;
    }

    .banner__text {
        gap: 16px;
    }

    .banner__left .button {
        width: 100%;
    }

    /* Testimonial */
    .testimonial {
        padding-block: 60px;
    }

    .testimonial__wrapper {
        gap: 40px;
    }

    .testimonial__header {
        gap: 40px;
        text-align: center;
    }

    .testimonial__title {
        font-size: 32px;
    }

    .testimonial__list {
        grid-template-columns: 1fr;
    }

    .testimonial__item {
        width: 100%;
        height: auto;
        padding: 28px;
    }

    .testimonial__content {
        width: 100%;
        height: auto;
    }

    /* Blog */
    .blog {
        padding-block: 40px;
    }

    .blog__wrapper {
        gap: 40px;
    }

    .blog__header {
        justify-content: center;
    }

    .blog__text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .blog__title {
        font-size: 28px;
        line-height: 1.2;
    }

    .blog__list {
        flex-direction: column;
        gap: 32px;
    }

    .blog__item {
        width: 100%;
    }

    .blog__genre {
        left: 15px;
    }

    .blog__content {
        gap: 24px;
    }

    .blog__headline {
        font-size: 20px;
    }

    /* Footer */
    .footer {
        padding-block: 100px 60px;
    }

    .footer__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer__col {
        display: flex;
        flex-direction: column;

        align-items: center;
    }

    .footer__col--brand,
    .footer__col--news {
        width: 100%;
    }

    .footer__input {
        width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer__form {
        width: 100%;
    }

    .footer__addition--desktop {
        display: none;
    }

    .footer__addition--mobile {
        display: flex;
        justify-content: center;
        gap: 20px;
        text-decoration: underline;
    }

    .footer__copy {
        font-size: 14px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.5);
    }

    /* ===== 他ページ共通調整 ===== */

    /* Page Hero */
    .page-hero {
        padding-block: 80px;
    }

    .page-hero__title {
        font-size: 36px;
    }

    /* Jobs Listing */

    /* Jobsページ専用（サイドバーがある場合だけ） */
    .jobs__wrapper:has(.jobs__sidebar) {
        grid-template-columns: 1fr;
    }

    .job-filter {
        gap: 24px;
    }

    .job-filter__button {
        height: 50px;
        font-size: 20px;
        font-weight: 700;
    }

    .job-filter__group {
        gap: 20px;
    }

    .job-filter__salary-text {
        font-size: 16px;
        font-weight: 600;
        color: #000;
    }

    .jobs__toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .jobs__pagination-list {
        justify-content: space-between;
    }

    .jobs__pagination-pages {
        gap: 12px;
    }

    /* Job Details */
    .job-details {
        padding-block: 40px;
    }

    .job-details__wrapper {
        grid-template-columns: 1fr;
    }

    .job-details__header {
        order: 1;
    }

    .job-details__sidebar {
        order: 2;
    }

    .job-details__content {
        order: 3;
    }

    .job-details__header .jobs__item {
        padding: 0px;
    }

    .related-jobs__title {
        font-size: 40px;
    }

    /* Top Company */
    .top-company__list {
        grid-template-columns: 1fr;
    }

    .top-company__title {
        font-size: 32px;
    }

    /* About Page */
    .about-intro__header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-intro__img {
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    /* How it works */
    .how-it-works__list {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .how-it-works__title {
        font-size: 32px;
    }

    /* About Video */
    .about-video__wrapper {
        border-radius: 0px;
    }

    .about-video__visual {
        width: 100%;
        aspect-ratio: 393 / 435;
    }

    .about-video__bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about-video__body {
        position: static;
        padding: 32px 24px;
    }

    .about-video__list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-video__title {
        width: auto;
        max-width: 90%;
        font-size: 32px;
    }

    .about-video__subtitle {
        width: 100%;
    }

    .about-video__overlay {
        gap: 32px;
    }

    .about-video__icon {
        width: 60px;
        height: 60px;
    }

    /* FAQ */
    .faq {
        padding-block: 60px 40px;
    }

    .faq__title {
        font-size: 32px;
    }

    .faq__item {
        padding: 24px 16px;
        flex-direction: flex;
        gap: 12px;
    }

    .faq__question {
        font-size: 18px;
    }

    /* About Blog */
    .about-blog__header {
        justify-content: center;
        text-align: center;
    }

    /* About Best */
    .about-best {
        display: none;
    }

    /* Contact Page */
    .contact__wrapper {
        grid-template-columns: 1fr;
    }

    .contact__info {
        align-items: center;
    }

    .contact__header {
        align-items: center;
        text-align: center;
    }

    .contact__title {
        font-size: 32px;
    }

    .contact__list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact__item {
        align-items: center;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-form .button {
        width: 100%;
    }

    .contact-company__logos {
        padding-inline: 0;
        justify-content: center;
        gap: 24px;
    }
    /* デバッグ用 */
    /* * {
    outline: 1px solid red;
  } */
}
