@charset "UTF-8";

/* =======================
  Variables
========================== */
:root {
  --ivory: #fcfcee;
  --yellow: #ffd334;
  --green: #63b3a1;
  --right-green: #8ec454;
  --deep-blue: #489ed8;
  --blue: #6a97cf;
  --right-blue: #91b2db;
  --pink: #ee7e69;

  --font_117: clamp(4.6rem, 2.018rem + 8.068vw, 11.7rem);
  --font_74: clamp(6rem, 2.764rem + 3.864vw, 7.4rem);
  --font_54: clamp(3rem, 2.127rem + 2.727vw, 5.4rem);
  --font_52: clamp(2rem, 0.836rem + 3.636vw, 5.2rem);
  --font_46: clamp(2.6rem, 1.873rem + 2.273vw, 4.6rem);
  --font_40: clamp(2.6rem, 2.091rem + 1.591vw, 4rem);
  --font_38: clamp(2.2rem, 0.836rem + 2.386vw, 3.8rem);
  --font_37: clamp(1.6rem, 0.836rem + 2.386vw, 3.7rem);
  --font_30: clamp(2.2rem, 1.909rem + 0.909vw, 3rem);
  --font_29: clamp(2.4rem, 1.709rem + 0.909vw, 2.9rem);
  --font_28: clamp(2rem, 1.709rem + 0.909vw, 2.8rem);
  --font_23: clamp(1.6rem, 1.345rem + 0.795vw, 2.3rem);
  --font_25: clamp(1.8rem, 0.556rem + 1.62vw, 2.5rem);
  --font_20: clamp(1.5rem, 1.318rem + 0.568vw, 2rem);
  --font_18: clamp(1.6rem, 1.527rem + 0.227vw, 1.8rem);
  --font_17: clamp(1.5rem, 1.427rem + 0.227vw, 1.7rem);
  --font_16: clamp(1.4rem, 1.327rem + 0.227vw, 1.6rem);
  --font_15: clamp(1.3rem, 1.227rem + 0.227vw, 1.5rem);
  --font_14: clamp(1.2rem, 1.127rem + 0.227vw, 1.4rem);
  --font_13: clamp(1.1rem, 1.027rem + 0.227vw, 1.3rem);
  --font_12: clamp(1rem, 0.927rem + 0.227vw, 1.2rem);
  --font_10: clamp(0.8rem, 0.727rem + 0.227vw, 1rem);

  --space_120: clamp(50px, 5vw, 120px);
  --space_80: clamp(50px, 5vw, 80px);
  --space_60: clamp(40px, 5vw, 60px);
  --space_40: clamp(20px, 5vw, 40px);
  --space_30: clamp(10px, 5vw, 30px);
  --space_20: clamp(10px, 5vw, 20px);
}

/* =======================
  Base
========================== */
html {
  font-size: 62.5%;
  width: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  color: #4f5353;
  font-family: YakuHanJP, "Noto Sans JP", "Source Han Sans", "Yu Gothic",
    "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 400;
  font-size: var(--font_16);
  letter-spacing: 0.02em;
  line-height: 1.8;
  font-kerning: normal;
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--ivory);
  overflow-x: hidden;
}

img,
video,
svg,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: from-font;
  text-underline-offset: 0.15em;
}

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

address {
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  line-height: 1.5;
}

iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}

/* =======================
  Layout
========================== */
.inner {
  margin-inline: auto;
  max-width: 1200px;
  width: 90%;
}

/* =======================
  Utilities
========================== */
.uppercase {
  text-transform: uppercase;
}

/* フォーカスリング強化 */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid #0b5fff;
  outline-offset: 2px;
}
.br-sp {
  display: none;
}

/* アニメーションを減らしたいユーザー向け */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media screen and (max-width: 768px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: block;
  }
  .pc-only {
    display: none;
  }
}

/* =======================
  Buttons
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  gap: 10px;
  transition: background-color 0.3s ease, opacity 0.3s ease,
    box-shadow 0.3s ease, transform 0.3s ease;
}

.btn img {
  width: 18px;
  height: auto;
  display: inline-block;
  margin-left: 8px;
  filter: brightness(0) saturate(100%);
  transition: transform 0.3s ease;
}

.btn--primary {
  background-color: #ffd54a;
  font-size: var(--font_18);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  position: relative;
  z-index: 300;
}

.btn:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn:active {
  opacity: 0.85;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transform: translateY(0);
}
.brand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 32px;
  max-width: 280px;
  border-radius: 999px;
  border: 1px solid #4f5353;
  text-decoration: none;
  font-weight: 500;
  color: #4f5353;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .brand-button:hover {
    background: #275034;
    border: 1px solid #275034;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  }
}
.header__brand-button {
  color: #fff;
  border: 1px solid #fff;
  z-index: 300;
  padding: 10px 28px;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.global__nav-brand-button {
  display: none;
}
@media (max-width: 960px) {
  .header__brand-button {
    display: none;
  }
  .global__nav-brand-button {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .btn--primary {
    display: none;
  }
  .brand-button {
    width: 100%;
    justify-content: center;
  }
}

/* =======================
  タイトル
========================== */
.section__head {
  text-align: center;
  margin-bottom: 60px;
}

.section__badge {
  margin-bottom: 40px;
}

.section__badge img {
  width: 120px;
  height: auto;
  margin-inline: auto;
  display: block;
}

.section__title {
  font-size: var(--font_52);
  font-weight: 300;
  line-height: 1.4;
}

.section-subtitle,
.section__lead {
  margin: 0;
  font-size: var(--font_16);
}
.section__lead {
  margin-top: 20px;
}

/* カラーバリエーション */
.section__title-green {
  color: var(--right-green);
}

.section__title-deep-blue {
  color: var(--deep-blue);
}

.section__title-pink {
  color: var(--pink);
}

.section__title-blue {
  color: var(--blue);
}

.section__title-white {
  color: #fff;
}
@media (max-width: 768px) {
  .section__head {
    margin-bottom: 30px;
  }

  .section__badge {
    margin-bottom: 20px;
  }

  .section__title {
    font-size: var(--font_54);
    line-height: 1.8;
  }
}
@media (max-width: 480px) {
  .section__lead {
    text-align: left;
  }
}

/* =======================
  Header
========================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  padding-block: 18px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

/* ロゴ周り */
.header__logo {
  display: flex;
  align-items: center;
  column-gap: 20px;
  row-gap: 5px;
  position: relative;
  z-index: 300;
}

.header__logo-main img {
  height: 46px;
}

.header__logo-sub {
  margin: 0;
  font-size: var(--font_18);
  color: #fff;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}
body.open .header__logo-sub {
  color: #231815;
}

/* 右側（ENTRY + ハンバーガー + ナビ） */
.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* PCナビ */
.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__link {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #fff;
}
@media (max-width: 768px) {
  .header__logo-main img {
    height: 34px;
  }
  .header__logo {
    display: flex;
    flex-direction: column;
    row-gap: 0;
  }
  .header__logo-sub {
    font-size: var(--font_16);
  }
}

/* -----------------------
  Hamburger
-------------------------- */
.nav-toggle {
  position: relative;
  width: 28px;
  height: 20px;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  display: inline-block;
  z-index: 300; /* 最前面（ENTRYと同じ層） */
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background-color: #fff;
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}
.nav-toggle span:nth-child(2) {
  top: 9px;
}
.nav-toggle span:nth-child(3) {
  top: 18px;
}

/*Hamburger背景*/
.global__nav {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: #f3c628;
  z-index: 120;
  display: flex;
  justify-content: center;
  overflow-y: auto;
  transition: opacity 0.3s ease;
}

body.open .global__nav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.global__nav-inner {
  max-width: 1040px;
  width: 100%;
  padding: 120px 5% 0;
}

/*Hamburgerメニュー*/
.global__nav-menu {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  padding-bottom: 80px;
}

.global__nav-block {
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  padding-top: 30px;
  display: flex;
  column-gap: 60px;
}

.global__nav-block-title {
  color: #fff;
  font-size: var(--font_25);
  line-height: 1;
  font-family: "Poppins", sans-serif;
  width: 240px;
}

.global__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global__nav-list a {
  display: inline-block;
  font-size: var(--font_17);
  line-height: 1;
  color: #404040;
  text-decoration: none;
  transition: opacity 0.2s;
}

.global__nav-list a:hover {
  opacity: 0.6;
}

/*Hamburger openの状態*/
body.open {
  overflow: hidden; /* 背景スクロール停止 */
}

/* ハンバーガー → × */
body.open .nav-toggle span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
body.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.open .nav-toggle span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* ENTRYボタン最前面＆色反転 */
.header__entry-btn {
  position: relative;
  z-index: 300;
}
body.open .header__entry-btn {
  background-color: #fff;
}
body.open .header__entry-btn img {
  filter: invert(1);
}

@media (max-width: 768px) {
  .global__nav-inner {
    padding: 100px 5% 0;
  }
  .global__nav-block-title {
    width: 150px;
  }
  .global__nav-block {
    padding-top: 20px;
    flex-wrap: wrap;
    column-gap: 40px;
  }
  .global__nav-menu {
    row-gap: 20px;
    padding-bottom: 60px;
  }
}
@media (max-width: 520px) {
  .global__nav-block-title {
    width: 100%;
    margin-bottom: 5px;
  }
  .global__nav-list a {
    padding: 4px 0;
  }
}

/* =======================
  Job Info（footer前共通）
========================== */
.job__info {
  background-color: #fff;
  padding-top: var(--space_120);
  padding-bottom: var(--space_120);
  text-align: center;
}

.job__info-head {
  margin-bottom: var(--space_60);
}

.job__info-lead {
  text-align: center !important;
}

/* 職種リスト */
.job__info-list {
  max-width: 560px;
  margin: 0 auto var(--space_40);
  padding: 0;
}

.job__info-item {
  font-size: var(--font_20);
  text-align: left;
  border-top: 1px solid var(--blue);
  position: relative;
  padding: 16px 24% 16px;
}

.job__info-item:last-child {
  border-bottom: 1px solid var(--blue);
}

/* ボタン */
.job__info-actions {
  margin-top: var(--space_40);
}

.btn--jobinfo {
  background-color: var(--blue);
  color: #fff;
  font-size: var(--font_18);
  padding-inline: 48px;
  position: relative;
  padding-right: 56px;
}

.btn--jobinfo::after {
  content: "＞";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--font_20);
  font-weight: 700;
  color: #fff;
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .job__info {
    padding-top: var(--space_80);
    padding-bottom: var(--space_80);
  }

  .job__info-list {
    max-width: 100%;
  }

  .job__info-item {
    padding: 16px 0 16px 16px;
  }
}

/* =======================
  Entry CTA（footer前共通）
========================== */
.entry__main {
  background-color: var(--ivory);
  overflow: hidden;
}

/* 水玉背景（全幅） */
.entry__main-top {
  background: url("../images/common/entry_bg.png") repeat center top;
  padding-top: var(--space_120);
  background-repeat: repeat;
  background-size: cover;
  position: relative;
}

/* 黄色グラデ＋写真パネル */
.entry__main-panel {
  background: url("../images/common/entry.jpg") no-repeat center / cover;
  border-radius: 40px;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: var(--space_80) 8%;
}

/* テキストエリア */
.entry__main-content {
  max-width: 520px;
  color: #4f5353;
}

.entry__main-title {
  margin: 0 0 16px;
  font-size: var(--font_54);
  font-weight: 300;
  line-height: 1.6;
}

.entry__main-lead {
  margin: 0 0 32px;
  font-size: var(--font_16);
  line-height: 2;
}

/* 白いエントリーボタン */
.btn--entry-main {
  background-color: #fff;
  color: #333;
  padding-inline: 48px;
  border-radius: 999px;
  position: relative;
  padding-right: 60px;
}

/* →アイコン */
.btn--entry-main::after {
  content: "＞";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--font_20);
  font-weight: 700;
  color: #333;
  transition: transform 0.3s ease;
}

/* 下の横スクロールテキスト */
.entry__main-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* innerの制限をリセット */
  margin-top: var(--space_40);
  overflow: hidden;
}

.entry__main-marquee-inner {
  display: inline-flex;
  white-space: nowrap;
  animation: entryMainMarquee 50s linear infinite;
}

.entry__main-marquee-text {
  font-size: var(--font_74);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--yellow);
  padding-right: 4rem;
  white-space: nowrap;
  line-height: 1;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

/* 無限スクロール用アニメーション */
@keyframes entryMainMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .entry__main-panel {
    background: url("../images/common/entry_sp.jpg") no-repeat top / cover;
    min-height: 520px;
    align-items: flex-end;
    padding-bottom: 40px;
  }
  .entry__main-lead {
    margin: 0 0 16px;
  }
  .btn--entry-main {
    display: flex;
    align-items: center;
    margin: 0 5%;
  }
}

/* =======================
  Footer
========================== */
.footer {
  background-color: var(--yellow);
  padding: 40px 0 20px;
  margin-top: -12px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
  max-width: 100%;
  padding: 0 3%;
}

/* 左ブロック：ロゴ＋会社情報 */
.footer__brand {
  display: flex;
  flex-direction: column;
  flex: 0 0 25%;
}

.footer__brand-logo img {
  display: block;
  width: 240px;
  height: auto;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
}

.footer__brand-name {
  margin: 4px 0 0;
  font-size: var(--font_17);
  font-weight: 600;
}

.footer__brand-address {
  margin: 4px 0 16px;
  line-height: 1.8;
  font-size: var(--font_14);
  white-space: nowrap;
}

/* 右ブロック：ナビゲーション */
.footer__nav {
  display: flex;
  flex: 0 0 75%;
  column-gap: 40px;
  justify-content: flex-end;
}

.footer__nav-col {
  min-width: 150px;
}

.footer__nav-title {
  margin: 0 0 12px;
  font-size: 1.9rem;
  font-weight: 600;
  color: #ffffff;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

.footer__nav-list {
  list-style: none;
  font-size: var(--font_15);
  padding: 0;
  margin: 0;
}

.footer__nav-link {
  display: block;
  font-weight: 500;
  line-height: 2.2;
}

.footer__bottom {
  margin-top: 20px;
  text-align: center;
}

.footer__copyright {
  font-size: var(--font_12);
}
@media (max-width: 1260px) {
  .footer__inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 10px;
    margin-top: -10px;
  }
  /* 
  .footer__brand {
    flex: 1;
  } */
  .footer__inner {
    align-items: flex-start;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 32px;
  }

  .footer__nav {
    flex-direction: column;
  }

  .footer__nav-title {
    margin: 0;
  }
  /* 左ブロック（会社情報）は中央寄せ */
  .footer__brand {
    align-items: center;
    text-align: center;
  }

  .footer__brand-text {
    text-align: center;
  }

  /* 全体はflex方向縦でOK */
  .footer__inner {
    align-items: center; /* brand を中央に寄せる */
  }

  /* 右側のナビ部分だけ左寄せキープ */
  .footer__nav {
    align-items: flex-start; /* ←左寄せ */
    text-align: left;
    width: 100%;
  }

  .footer__nav-col {
    text-align: left;
  }
}
