/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:    #1a2744;
  --navy2:   #243057;
  --accent:  #e07b00;
  --accent2: #f59200;
  --white:   #ffffff;
  --bg:      #f7f8fa;
  --bg2:     #eef0f5;
  --text:    #1a1a2e;
  --gray:    #6b7280;
  --border:  #e2e6ed;
  --radius:  6px;
  --trans:   0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--trans);
}

a:hover {
  opacity: 0.75;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background var(--trans), color var(--trans), transform var(--trans);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent2);
  opacity: 1;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  opacity: 1;
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ===========================
   Section
=========================== */
.section {
  padding: 80px 0;
}

.section--bg {
  background: var(--bg);
}

.section--navy,
.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 48px;
  color: var(--navy);
}

.section__title--light {
  color: var(--white);
}

/* ===========================
   Header
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-img {
  height: 36px;
  width: auto;
}

.header__logo-company {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--black, #0a0a0a);
  letter-spacing: 0.05em;
}

.header.scrolled .header__logo-company {
  color: var(--text);
}

.header__logo-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.header.scrolled .header__logo-text {
  color: var(--accent);
}

.header__tel {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--trans);
}

.header__tel:hover {
  background: var(--accent2);
  opacity: 1;
}

/* ===========================
   Hero
=========================== */
.hero {
  padding-top: 68px;
}

.hero__img-wrap {
  width: 100%;
  line-height: 0;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__content {
  background: var(--navy);
  padding: 48px 0;
}

.hero__company {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.hero__since {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--accent2);
  margin-bottom: 12px;
  display: block;
}

.hero__title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

.hero__title-accent {
  color: var(--accent2);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__point {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===========================
   Appeal
=========================== */
.appeal {
  background: var(--white);
  padding: 0;
  margin-top: -1px;
}

.appeal__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.appeal__item {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  background: var(--white);
}

.appeal__item:last-child {
  border-right: none;
}

.appeal__num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}

.appeal__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.appeal__desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ===========================
   Salary
=========================== */
.salary__main {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.salary__big {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.salary__type {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 700;
}

.salary__amount {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.salary__amount small {
  font-size: 1.2rem;
}

.salary__example {
  background: var(--navy);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius);
}

.salary__example-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.salary__example-val {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent2);
  line-height: 1;
}

.salary__example-val span {
  font-size: 1.2rem;
}

.salary__example-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}

.salary__extras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.salary__extras li {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  border-left: 4px solid var(--accent);
  color: var(--text);
}

/* ===========================
   Job
=========================== */
.job__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.job__img img {
  border-radius: var(--radius);
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.job__lead {
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
}

.job__lead strong {
  color: var(--accent2);
}

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

.job__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  padding: 16px 20px;
  border-radius: var(--radius);
}

.job__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  font-family: 'Oswald', sans-serif;
  border-radius: 50%;
  font-size: 0.9rem;
}

.job__step-title {
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--white);
}

.job__step-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* ===========================
   Conditions
=========================== */
.conditions__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.conditions__table th,
.conditions__table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  line-height: 1.8;
}

.conditions__table tr:last-child th,
.conditions__table tr:last-child td {
  border-bottom: none;
}

.conditions__table th {
  width: 160px;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  vertical-align: top;
  background: var(--bg);
}

.conditions__table td {
  color: var(--text);
}

/* ===========================
   Welfare
=========================== */
.welfare__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.welfare__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--trans), transform var(--trans);
}

.welfare__item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.welfare__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.welfare__label {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.welfare__desc {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===========================
   History
=========================== */
.history__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.history__img img {
  border-radius: var(--radius);
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.history__year {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.history__text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--gray);
  margin-bottom: 16px;
}

.history__stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.history__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history__stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.history__stat-num small {
  font-size: 1rem;
}

.history__stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===========================
   Flow
=========================== */
.flow__list {
  display: flex;
  position: relative;
  gap: 0;
}

.flow__list::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 56px;
  right: 56px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.flow__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
}

.flow__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.flow__desc {
  font-size: 0.85rem;
  color: var(--gray);
  max-width: 160px;
}

/* ===========================
   Apply
=========================== */
.apply__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.apply__tel-wrap {
  background: var(--navy);
  color: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
}

.apply__tel-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.apply__tel {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent2);
  margin-bottom: 6px;
}

.apply__tel-name {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.apply__tel-hours {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.apply__mail {
  font-size: 0.9rem;
  color: var(--accent2);
  word-break: break-all;
}

/* ===========================
   Form
=========================== */
.apply__form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.form__required {
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 700;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  transition: border-color var(--trans), background var(--trans);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #adb5bd;
}

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

.form__note {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer__company-en {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.footer__company-ja {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.footer__address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer__address a {
  color: rgba(255,255,255,0.6);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-list a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer__nav-list a:hover {
  color: var(--white);
  opacity: 1;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 900px) {
  .appeal__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .appeal__item {
    border-bottom: 1px solid var(--border);
  }

  .job__grid,
  .history__grid {
    grid-template-columns: 1fr;
  }

  .welfare__list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .flow__list {
    flex-direction: column;
    gap: 20px;
  }

  .flow__list::before {
    top: 28px;
    left: 28px;
    bottom: 28px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .flow__item {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }

  .flow__num {
    margin-bottom: 0;
    min-width: 56px;
  }

  .flow__desc {
    max-width: none;
  }

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

@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

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

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

  .conditions__table th {
    width: 90px;
    padding: 14px 16px;
  }

  .conditions__table td {
    padding: 14px 16px;
  }

  .apply__form {
    padding: 24px 20px;
  }

  .header__tel-num {
    display: none;
  }

  .header__tel {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}
