:root {
  --cqw: 1px;
}

@media (max-width: 1440px) {
  :root {
    --cqw: calc(100cqw / 1440);
  }
}

@media (max-width: 991px) {
  :root {
    /* --cqw: calc(100cqw / 1023); */
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:focus {
  border: none !important;
  box-shadow: none !important;
}

ul,ol {
  padding-inline-start: 0;
  list-style: none;
}

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

button {
  border: none;
  background-color: transparent;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  /* font-weight: normal; */
  font-weight: 600;
}

@media (hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}

@media (hover: hover) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

html {
  background-color: #2E96FF;
  color: #ffffff;
  /* font-family: "Noto Sans JP", sans-serif; */
  /* font-weight: normal; */
  font-family: "dnp-shuei-gothic-gin-std", sans-serif;
  font-weight: 600;
  line-height: 1;
}

body {
  container-type: inline-size;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  padding-top: calc(var(--cqw) * 100);
  padding-bottom: calc(var(--cqw) * 500);
}

/* * ===============================================
 * utilities
 * ===============================================
 */
.u-sp-only {
  display: none !important;
}

@media (max-width: 575px) {
  .u-sp-only {
    display: block !important;
  }
}

.u-pc-only {
  display: none !important;
}

@media (min-width: 576px) {
  .u-pc-only {
    display: block !important;
  }
}

@media (max-width: 575px) {
  .u-sp-no {
    display: none !important;
  }
}

@media (min-width: 576px) {
  .u-pc-no {
    display: none !important;
  }
}

/* .anchor {
  position: relative;
  padding-top: calc(var(--cqw) * 108);
  margin-top: calc(var(--cqw) * -108);
}
@media screen and (max-width: 768px) {
  .anchor {
    padding-top: 0;
    margin-top: 0;
  }
} */

/* * ===============================================
 * Common
 * ===============================================
 */

.section-header {
  display: flex;
  align-items: center;
  gap: calc(var(--cqw) * 70);
  margin-bottom: calc(var(--cqw) * 69);
}

@media screen and (max-width: 767px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--cqw) * 40);
  }
}
.section-title {
  font-size: max(24px , calc(var(--cqw) * 50));
  line-height: 1.5;
  flex-shrink: 0;
}

.section-intro {
  font-size: max(14px , calc(var(--cqw) * 16));
  line-height: calc(30 / 20);
  max-width: 600px;
}

.sub-section-header {
  display: flex;
  align-items: flex-start;
  gap: max(30px , calc(var(--cqw) * 69));
  margin-bottom: max(30px , calc(var(--cqw) * 69));
}
@media screen and (max-width: 767px) {
  .sub-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.sub-section-title {
  font-size: max(20px , calc(var(--cqw) * 28));
  margin-top: calc(var(--cqw) * 9);
  flex-shrink: 0;
}

.sub-section-intro {
  font-size: max(16px , calc(var(--cqw) * 16));
  line-height: calc(23 / 16);
  max-width: 675px;
}

/* * ===============================================
 * main
 * ===============================================
 */
.main-inner {
  max-width: 1440px;
  padding: 0 calc(var(--cqw) * 50);
  margin: 0 auto;
}

/* * ===============================================
 * header
 * ===============================================
 */
.header {
  max-width: 1440px;
  padding: 0 calc(var(--cqw) * 50);
  margin: 0 auto;
  margin-bottom: calc(var(--cqw) * 127);
}

.header__logo {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 991px) {
  .header__logo {
    flex-direction: column;
    align-items: flex-start;
  }
}

.header__logo__image {
  width: 363.09px;
}
@media screen and (max-width: 575px) {
  .header__logo__image {
    width: 80%;
  }
}

.header__logo__text {
  margin-left: 21px;
  font-size: 16px;
  line-height: calc(22 / 16);
}
@media screen and (max-width: 991px) {
  .header__logo__text {
    margin-left: 0;
    margin-top: 10px;
  }
  .header__logo__text br {
    display: none;
  }
}

/* =================================== */
/* 2. フローティングナビ (body > div > nav)
/* =================================== */
/* body>div:nth-of-type(1) nav {
  position: fixed;
  top: 291px;
  right: 50px;
  z-index: 100;
}

body>div:nth-of-type(1) ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body>div:nth-of-type(1) li {
  margin-bottom: 23px;
}

body>div:nth-of-type(1) a {
  font-size: 16px;
}

body>div:nth-of-type(1) a:hover {
  text-decoration: underline;
} */

/* * ===============================================
 * message
 * ===============================================
 */
.message {
}

.message-inner {
  display: grid;
  grid-template-columns: 1fr 323px;
  grid-template-rows: auto auto;
  gap: max(40px , calc(var(--cqw) * 72));
  align-items: start;
}
@media screen and (max-width: 991px) {
  .message-inner {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
  }
}

.message-content {
  container-type: inline-size;
  --cqw: calc(100cqw / 945);
  grid-column: 1 / 2;
  grid-row: 1 / span 2;
}
@media screen and (max-width: 991px) {
  .message-content {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }
}

.message-content p {
  font-size: max(18px , calc(var(--cqw) * 30));
  line-height: calc(62 / 30);
  margin-bottom: calc(var(--cqw) * 62);
}

.message-content p:last-child {
  margin-bottom: 0;
}

.side-navigation{
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  justify-self: end;
  width: fit-content;
}
@media screen and (max-width: 991px) {
  .side-navigation {
    margin-left: 0;
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    justify-self: stretch;
    width: 100%;
  }
  .side-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 30px;
  }
}

.side-navigation__link{
  font-size: 16px;
  font-weight: 400;
  margin: max(8px , calc(var(--cqw) * 21)) 0;
  display: block;
}
@media screen and (max-width: 575px) {
  .side-navigation__link {
    font-size: 14px;
  }
}
.message-profile {
  width: 100%;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  align-self: end;
}
@media screen and (max-width: 991px) {
  .message-profile {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
    align-self: stretch;
  }
}

.profile-image {
  width: 150px;
  margin-bottom: 17px;
}

.profile-info p {
  font-size: 14px;
  font-weight: 400;
  line-height: calc(19 / 14);
  margin-bottom: 18px;
}

/* =================================== */
/* 4. 強み (strengths)
/* =================================== */
.strengths {
  padding-top: calc(var(--cqw) * 337);
}

.strengths .section-title {
  margin-bottom: max(20px , calc(var(--cqw) * 26));
}

.strengths .section-intro {
  font-size: max(16px , calc(var(--cqw) * 20));
  line-height: calc(30 / 20);
  margin-bottom: max(40px , calc(var(--cqw) * 85));
  max-width: 100%;
}

.strength-list {
}

.strength-item {
  margin-bottom: max(40px , calc(var(--cqw) * 75));
}

.strength-item:last-child {
  margin-bottom: 0;
}

.strength-item__title {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
  font-size: max(20px , calc(var(--cqw) * 34));
  line-height: 1.5;
}

.strength-item__title-number {
  margin-right: calc(var(--cqw) * 12);
}

.strength-item__title-text {
}

.strength-item__description {
  font-size: max(16px , calc(var(--cqw) * 20));
  line-height: calc(30 / 20);
}

@media screen and (max-width: 767px) {
  br.sp-none {
    display: none;
  }
}

/* =================================== */
/* 5. 事業紹介 (services)
/* =================================== */
.services {
  padding-top: calc(var(--cqw) * 208);
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--cqw) * 86) calc(var(--cqw) * 40);
  margin-bottom: max(80px , calc(var(--cqw) * 166));
}
@media screen and (max-width: 767px) {
  .services-list {
    grid-template-columns: 1fr;
    gap: max(30px , calc(var(--cqw) * 40));
  }
}

.service-item img {
  width: 100%;
  margin-bottom: max(10px , calc(var(--cqw) * 23));
}

.service-item h3 {
  font-size: max(20px , calc(var(--cqw) * 28));
  line-height: calc(42 / 28);
  margin-bottom: 9px;
}

.service-item p {
  font-size: max(14px , calc(var(--cqw) * 18));
  line-height: calc(28 / 18);
}

.initiatives-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(30px , calc(var(--cqw) * 40)) max(30px , calc(var(--cqw) * 40));
}
@media screen and (max-width: 767px) {
  .initiatives-list {
    grid-template-columns: 1fr;
  }
}

.initiative-item {
  display: flex;
  gap: max(10px , calc(var(--cqw) * 30));
  align-items: flex-start;
}

.initiative-item h3 {
  font-size: max(16px , calc(var(--cqw) * 18));
  line-height: calc(24 / 18);
  margin-top: max(-2px , calc(var(--cqw) * -4));
  margin-bottom: max(6px , calc(var(--cqw) * 14));
}

.initiative-item p {
  font-size: max(14px , calc(var(--cqw) * 14));
  font-weight: 400;
  line-height: calc(20 / 14);
}
.initiative-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
}

/* =================================== */
/* 6. 拠点紹介 (locations)
/* =================================== */
.locations {
  padding-top: calc(var(--cqw) * 189);
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(30px , calc(var(--cqw) * 40));
}
@media screen and (max-width: 767px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

.locations-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(30px , calc(var(--cqw) * 81)) max(10px , calc(var(--cqw) * 20));
}

.location-item img {
  width: 100%;
  margin-bottom: max(10px , calc(var(--cqw) * 22));
}

.location-item h3.--main {
  font-size: max(20px , calc(var(--cqw) * 28));
  margin-bottom: max(6px , calc(var(--cqw) * 11));
}

.location-item h3 {
  font-size: max(16px , calc(var(--cqw) * 20));
  margin-bottom: max(5px , calc(var(--cqw) * 11));
  line-height: 1.5;
}

.location-item p {
  font-size: max(14px , calc(var(--cqw) * 16));
  font-weight: 400;
  line-height: calc(24 / 16);
}

/* =================================== */
/* 7. キャリアストーリー (stories)
/* =================================== */
.stories {
  padding-top: calc(var(--cqw) * 203);
}

.stories-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: max(30px , calc(var(--cqw) * 81)) max(30px , calc(var(--cqw) * 40));
}
@media screen and (max-width: 991px) {
  .stories-list {
    grid-template-columns: 1fr;
  }
}

.story-item {
  display: grid;
  grid-template-columns: max(150px , calc(var(--cqw) * 205)) 1fr;
  column-gap: max(10px , calc(var(--cqw) * 31));
  row-gap: max(20px , calc(var(--cqw) * 24));
  align-items: start;
}
@media screen and (max-width: 575px) {
  .story-item {
    grid-template-columns: 150px 1fr;
    grid-template-areas:
      "image heading"
      "image meta"
      "text text";
  }
}

.story-image {
  width: max(150px , calc(var(--cqw) * 205));
  height: auto;
  aspect-ratio: 205 / 329;
}
@media screen and (max-width: 575px) {
  .story-image {
    grid-area: image;
    aspect-ratio: 150 / 150;
  }
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content {
}
@media screen and (max-width: 575px) {
  .story-item .story-content {
    display: contents;
  }
}

.story-content h3 {
  font-size: max(16px , calc(var(--cqw) * 20));
  line-height: calc(28 / 20);
  margin-bottom: max(10px , calc(var(--cqw) * 22));
}
@media screen and (max-width: 575px) {
  .story-content h3 {
    grid-area: heading;
    margin-bottom: 0;
    margin-top: auto;
  }
}

.story-content p {
  font-size: max(14px , calc(var(--cqw) * 16));
  font-weight: 400;
  line-height: calc(28 / 16);
}
@media screen and (max-width: 575px) {
  .story-content p {
    grid-area: text;
  }
}

.story-meta {
  font-size: max(12px , calc(var(--cqw) * 14));
  font-weight: 400;
  line-height: calc(20 / 14);
  margin-bottom: max(10px , calc(var(--cqw) * 27));
}
@media screen and (max-width: 575px) {
  .story-meta {
    grid-area: meta;
    margin-bottom: 0;
  }
}

.story-meta div {
  display: flex;
}

.story-meta dt {
  margin-right: 9px;
  width: 62px;
  flex-shrink: 0;
}

/* =================================== */
/* 8. 募集職種 (jobs)
/* =================================== */
.jobs {
  padding-top: calc(var(--cqw) * 209);
}

.job-category {
  margin-bottom: max(40px , calc(var(--cqw) * 95));
}

.job-category:last-child {
  margin-bottom: 0;
}

.job-category h3 {
  font-size: max(20px , calc(var(--cqw) * 30));
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: max(15px , calc(var(--cqw) * 35));
}
@media screen and (max-width: 575px) {
  .job-category h3 {
    line-height: 1.5;
    align-items: flex-start;
  }
}

.job-category .category-intro {
  font-size: max(16px , calc(var(--cqw) * 18));
  line-height: calc(23 / 18);
  margin-bottom: max(30px , calc(var(--cqw) * 64));
}

.job-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 30px max(15px , calc(var(--cqw) * 25));
}
@media screen and (max-width: 575px) {
  .job-list {
    grid-template-columns: 1fr;
  }
}

.job-item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: max(15px , calc(var(--cqw) * 24)) 0;
}
@media screen and (max-width: 575px) {
  .job-item {
    gap: 15px 0;
  }
}

.job-item h4 {
  font-size: max(20px , calc(var(--cqw) * 24));
  line-height: calc(30 / 24);
}

.job-image {
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 585;
  flex-shrink: 0;
}
@media screen and (max-width: 575px) {
  .job-image {
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
  }
}

.job-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-item p {
  font-size: max(14px , calc(var(--cqw) * 16));
  line-height: calc(23 / 16);
}

/* =================================== */
/* 9. エントリー (entry)
/* =================================== */
.entry {
  padding-top: calc(var(--cqw) * 259);
}

.entry-inner {
  margin: 0 auto;
  text-align: center;
  margin-bottom: max(30px , calc(var(--cqw) * 63));
  padding: 0 10px;
}

.entry-message {
  font-size: max(20px , calc(var(--cqw) * 24));
  line-height: calc(40 / 24);
  margin-bottom: 33px;
}

.entry-message:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .entry-message:last-child {
  }
}

.entry-button-wrapper {
  padding: max(60px , calc(var(--cqw) * 128)) 0;
  border-top: 1px solid rgb(255 255 255 / 0.5);
  border-bottom: 1px solid rgb(255 255 255 / 0.5);
  text-align: center;
}

.entry-button {
  display: inline-block;
  background-color: rgb(255 255 255 / 0.16);
  color: #ffffff;
  font-size: max(16px , calc(var(--cqw) * 20));
  padding: max(10px , calc(var(--cqw) * 24)) max(40px , calc(var(--cqw) * 80)) max(10px , calc(var(--cqw) * 25)) max(40px , calc(var(--cqw) * 80));
  border-radius: 999px;
  transition: 0.3s;
}

.entry-button:hover {
  background-color: rgb(255 255 255 / 1);
  color: #2E96FF;
  opacity: 1;
}
