@charset "UTF-8";

/* ========================================
  Recruit Common
======================================== */
.recruit-page {
  padding-top: 76px;
  color: #111111;
}

.s .recruit-page {
  padding-top: 69px;
}

.recruit-container {
  width: min(calc(100% - 64px), 1272px);
  margin-inline: auto;
}

.s .recruit-container {
  width: calc(100% - 32px);
}

html {
  scroll-behavior: smooth;
}

.recruit-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}

.s .recruit-layout {
  display: block;
}

/* ========================================
  Recruit Hero
======================================== */
.recruit-hero {
  padding-top: 20px;
  padding-bottom: 120px;
}
.s .recruit-hero {
  padding-top: 0;
  padding-bottom: 60px;
}

.recruit-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56.6%;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);

  padding-top: 72px;
}
.s .recruit-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;

  padding-top: 42px;
}

.recruit-hero-title {
  margin: 0;

  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.02em;
}
.s .recruit-hero-title {
  font-size: 36px;
  min-width: 185px;
  margin-bottom: 20px;
}

.recruit-hero-sub-title {
  margin: 40px 0 0;
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 700;
}
.s .recruit-hero-sub-title {
  font-size: 20px;
}

.recruit-hero-description {
  margin: 30px 0 0;

  font-size: 20px;
  font-weight: 500;
  line-height: 190%;
}
.s .recruit-hero-description {
  margin-top: 22px;

  font-size: 16px;
  line-height: 1.9;
}

.recruit-hero-image {
  overflow: hidden;
}

.recruit-hero-image img {
  display: block;

  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Sidebar */
.s .sidebar-sp {
  margin-block: 0 80px;
}

/* Section Heading */
.section-heading {
  padding-bottom: 40px;
  border-bottom: 2px solid #006098;
}
.s .section-heading {
  padding-bottom: 20px;
  width: 100%;
}

.section-heading-label {
  display: block;
  position: relative;

  padding-left: 12px;

  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2%;
  line-height: 150%;
}
.s .section-heading-label {
  font-size: 12px;
}

.section-heading-label::before {
  position: absolute;
  top: 50%;
  left: 0;

  width: 5px;
  height: 5px;

  background-color: #0070b7;
  border-radius: 50%;

  content: "";
  transform: translateY(-50%);
}

.section-heading-title {
  margin: 10px 0 0;

  font-size: 36px;
  font-weight: 600;
  line-height: 150%;
}
.s .section-heading-title {
  font-size: 28px;
}

/* ========================================
  Environment Section
======================================== */
.environment-section {
  padding-bottom: 110px;
}
.s .environment-section {
  padding-bottom: 0;
}

/* environment Main */
.environment-main {
  min-width: 0;
}

.environment-content {
  display: flex;
  flex-direction: column;
  gap: 50px;

  margin-top: 70px;
}
.s .environment-content {
  gap: 30px;
  margin-top: 24px;
}

.environment-child-section {
  padding-top: 140px;
}
.s .environment-child-section {
  padding-top: 96px;
}

.environment-child-section:first-of-type {
  padding-top: 0;
}

.environment-card-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.s .environment-card-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.environment-card {
  border: 2px solid #006098;
  border-radius: 8px;
  padding: 24px 28px;
}
.s .environment-card {
  padding: 20px;
}

.environment-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #006098;
}

.environment-card h3 + p {
  margin-top: 16px;
}
.s .environment-card h3 + p {
  margin-top: 8px;
  font-size: 14px;
}

.s .benefits-section {
  padding-bottom: 100px;
}

/* ========================================
  Office
======================================== */

.office-main {
  min-width: 0;
}
/* .s .office-main {
  margin-bottom: 100px;
} */

.office-main h3 {
  font-size: 32px;
  margin-bottom: 48px;
}

.office-slider {
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
.s .office-slider {
  overflow: hidden;
}

.office-list {
  display: flex;
  gap: 26px;
  /* cursor: grab; */
  /* width: max-content; */
  width: calc(600% + 26px * 5);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.office-list:active {
  cursor: grabbing;
}
.s .office-list {
  width: calc(600% + 26px * 5);
}

.office-card {
  width: calc(600% / 6 + 26px);
}

.office-card-image {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 12px;
}
.s .office-card-image {
  width: 100%;
}

.office-card-image img {
  pointer-events: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-card-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}
.s .office-card-text {
  font-size: 14px;
}

.office-controls {
  display: flex;
  align-items: center;
  gap: 24px;

  margin-top: 52px;
  margin-right: max(var(--side-padding), calc((100vw - var(--content-width)) / 2));

  width: 100%;
}
.s .office-controls {
  margin-right: 0;
  width: 100%;
}

.office-controls-line {
  --office-thumb-width: 0px;
  --office-thumb-x: 0px;

  position: relative;
  flex: 1;
  height: 1px;
  overflow: hidden;
  background-color: #d7d7d7;
}

.office-controls-line::before {
  position: absolute;
  top: 0;
  left: 0;

  width: var(--office-thumb-width);
  height: 100%;

  background-color: #000000;
  content: "";

  transform: translateX(var(--office-thumb-x));
  transition:
    width 0.45s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: width, transform;
}

.office-controls-buttons {
  display: flex;
  gap: 10px;
}

.office-control-button {
  display: grid;
  width: 38px;
  height: 38px;
  font-size: 16px;
  background: transparent;
  border: 1px solid #cccccc;
  border-radius: 7px;
  place-items: center;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.office-control-button:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Entry Banner */
.entry-section {
  padding-bottom: 130px;
}
.s .entry-section {
  padding-bottom: 80px;
}

.entry-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;

  min-height: 324px;
  padding: 24px;

  color: #ffffff;
  text-decoration: none;

  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../images/entry-banner.png") center / cover no-repeat;
}
.s .entry-banner {
  min-height: 300px;
  padding: 22px;
}

.entry-banner::before {
  position: absolute;
  inset: 40px;

  border: 3px solid #006098;

  content: "";
  pointer-events: none;
}
.s .entry-banner::before {
  inset: 22px;
}

.entry-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  position: relative;
  z-index: 1;

  padding-inline: 50px;
}
.s .entry-banner-content {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 32px;

  min-height: 268px;
  padding: 30px 24px;
}

.entry-banner-title {
  margin: 0;

  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0%;
  font-family: "roboto", sans-serif;
}
.s .entry-banner-title {
  font-size: 24px;
}

.entry-banner-description {
  margin-top: 18px;

  font-size: 16px;
  line-height: 190%;
}
.s .entry-banner-description {
  font-size: 14px;
}

.entry-banner-button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 5px;

  min-width: 240px;
  padding: 16px 20px;

  color: #ffffff;
  font-size: 16px;

  background-color: #006098;
  border-radius: 8px;

  transition: background-color 0.25s ease;
}
.s .entry-banner-button {
  width: 100%;
  justify-content: center;

  font-size: 14px;

  min-width: 0;
  padding: 8px 12px;
}

.entry-banner:hover .entry-banner-button {
  background-color: #005d98;
}
