/*初期設定*/
*{padding:0; margin:0%;}
/*font-size:16PX*/
html{font-size:100%; overflow: auto;}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  padding-top: 80px;
  font-family: 'Noto Serif JP', serif;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open main,
body.menu-open section,
body.menu-open footer {
  pointer-events: none;
}
body.menu-open .header,
body.menu-open .mobile-menu {
  pointer-events: auto;
}
body.menu-open::before {
  content: "";
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100dvh - 80px);
  background: transparent;
  z-index: 2400;
  pointer-events: auto;
}
/*各種font設定*/
li{
    list-style: none;}
a{
    text-decoration:none;}



/*header-layout*/

  /* ヘッダー */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    z-index: 3000;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
  }
  
  /* スクロール時の影 */
  .header.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .header-inner {
    width:100%;
    padding:0 2%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  /* ロゴ */
  .logo img {
    height:70px;
    width:100%;
  }
  
  /* ナビ */

  .nav-menu{
    padding-right:3%;
  }
  .nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
  }
  
  .nav a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
  }
  



  /* 右 */
  .header-icons {
    display: flex;
    gap: 20px;
    font-size: 18px;
  }
  
  /* ハンバーガー */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .hamburger span {
    width: 25px;
    height: 2px;
    background: #000;
    display: block;
    transition: 0.3s;
  }
  
  /* モバイルメニュー */
  .mobile-menu {
    position: fixed;
  top: 80px;
  right: -100%;
  width: 75%;
  height: calc(100dvh - 80px);
  background: #fff;
  transition: right 0.35s ease;
  padding: 30px;
  z-index: 2500;

  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  }
  
  .mobile-menu ul {
    list-style: none;
  }
  
  .mobile-menu li {
    margin-bottom: 20px;
  }
  
  .mobile-menu a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
  }
  
  /* 開いた状態 */
  .mobile-menu.active {
    right: 0;
  }
  
  /* ハンバーガー変形 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px,5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px,-5px);
  }


 /* mobile-menuを縦レイアウトにする */
.mobile-menu {
  display:none;
  flex-direction: column;
  height:95%;
  overflow-y: auto;
}

/* ===== 下エリア ===== */
.mobile-footer {
  border-top: 1px solid #ddd; /* ←区切り線 */
  padding: 20px 0;
}

/* SNS */
.sns {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.sns img{
  width:100%;
  max-height:48PX;
}

/* ロゴ */
.footer-logo img {
  width:60%;
  height:60%;
}

  /* レスポンシブ */
  @media (max-width: 768px) {
    .nav {
      display: none;
    }
  
    .header-icons {
      display: none;
    }
  
    .hamburger {
      display: flex;
    }
    .mobile-menu{
      display:flex;
    }
  }

  /* ===== メニューリンク共通 ===== */
.mobile-menu a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color:#000;
    font-size: 18px;
    transition: all 0.3s ease;
  }
  
  /* ===== 下線（初期状態） ===== */
  .mobile-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: #000;
  
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  
  /* ===== PC：ホバー ===== */
  .mobile-menu a:hover::after {
    transform: scaleX(1);
  }
  
  .mobile-menu a:hover {
    transform: translateX(5px);
    letter-spacing: 1px;
  }
  
  /* ===== スマホ：タップ時 ===== */
  .mobile-menu a:active::after {
    transform: scaleX(1);
  }
  
  .mobile-menu a:active {
    transform: translateX(5px);
    letter-spacing: 1px;
  }
  
  /* ===== タップ時の背景（押した感） ===== */
  body.menu-open {
    overflow: hidden;
  }
  
  .header {
    z-index: 3000;
  }
  
  .hamburger {
    position: relative;
    z-index: 4000;
  }
  
  .mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 75%;
    height: calc(100vh - 80px);
    background: #fff;
    transition: right 0.35s ease;
    padding: 30px;
    z-index: 2500;
    overflow-y: auto;
  }
  
  .mobile-menu.active {
    right: 0;
  }

/* =========================
   Page Hero
========================= */

.page-hero {
    position: relative;
    padding: 3% 4%;
    background: #fff;
    overflow: hidden;
  }
  
  .page-hero-inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
  }
  
  .page-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
  }
  
  .page-label span {
    width: 14px;
    height: 14px;
    background: #1264d8;
    border-radius: 50%;
  }
  
  .page-label p {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
    color: #111;
  }
  
  .page-hero h1 {
    font-size: clamp(44px, 6vw, 64px);
    line-height: 1.2;
    font-weight: 900;
    margin: 0 0 22px;
    color: #111;
  }
  
  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #8b93a1;
    font-size: 18px;
    font-weight: 700;
  }
  
  .breadcrumb a {
    color: #8b93a1;
    text-decoration: none;
  }
  
  .breadcrumb a:hover {
    color: #1264d8;
  }
  
  .page-bg-title {
    position: absolute;
    right: 0;
    top: 8px;
    font-size: clamp(72px, 14vw, 150px);
    line-height: 1;
    font-weight: 900;
    color: rgba(0, 27, 63, 0.045);
    letter-spacing: -0.06em;
    pointer-events: none;
    z-index: -1;
  }
  
  /* スマホ */
  @media (max-width: 700px) {
  
    .page-label p {
      font-size: 18px;
    }
  
    .page-label span {
      width: 11px;
      height: 11px;
    }
  
    .breadcrumb {
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
    }
  
    .page-bg-title {
      right: -20px;
      top: 20px;
      font-size: 72px;
    }
  }

/* =========================
   Recruit Page
========================= */


  
  /* =========================
     Job Info
  ========================= */
  
  .recruit-info-section {
    position: relative;
    z-index: 5;
    width:100%;
    margin: auto 0;
    padding:4%;
  
    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.86),
        rgba(247,251,255,0.68)
      );
  
    backdrop-filter: blur(14px);
    border: 1px solid rgba(18,100,216,0.08);
    border-radius: 28px;
    box-shadow: 0 26px 70px rgba(0,80,160,0.10);
  }
  
  .recruit-card-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
  }
  
  .title-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eef6ff;
    color: #1264d8;
    font-size: 24px;
  }
  
  .recruit-card-title h2 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
    font-weight: 900;
  }
  
  .recruit-card-title p {
    color: #1264d8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.24em;
    margin: 4px 0 0;
  }
  
  .job-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }
  
  .job-info-box {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid rgba(0,27,63,0.10);
  }
  
  .job-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 10px;
    color: #1264d8;
    font-size: 14px;
    font-weight: 900;
  }
  
  .job-label span {
    width: 26px;
    text-align: center;
    font-size: 18px;
  }
  
  .job-text {
    padding: 18px 10px;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 600;
    color: #1f2937;
  }
  
  .recruit-entry {
    text-align: center;
    margin-top: 30px;
  }
  
  .entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
  
    min-width: 320px;
    padding: 18px 34px;
  
    border-radius: 999px;
    background: #1264d8;
    color: #fff;
  
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
  
    box-shadow: 0 18px 36px rgba(18,100,216,0.25);
    transition: 0.3s;
  }
  
  .entry-btn span {
    display: grid;
    place-items: center;
  
    width: 28px;
    height: 28px;
  
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
  }
  
  .entry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 46px rgba(18,100,216,0.32);
  }
  
  /* =========================
     Section Side Title
  ========================= */
  
  .section-side-title {
    flex: 0 0 180px;
    text-align: center;
    padding-bottom:4%;
  }
  
  .section-side-title h2 {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 900;
    margin: 0 0 8px;
  }
  
  .section-side-title p {
    color: #1264d8;
    font-size: 12px;
    letter-spacing: 0.24em;
    font-weight: 900;
    margin: 0;
  }
  
  /* =========================
     Welfare
  ========================= */
  
  .welfare-section {
    width: 100%;
    padding: 70px 5vw 20px;
    display: block;
    gap: 28px;
    align-items: stretch;
  }
  
  .welfare-scroll {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(180px, 1fr));
    gap: 22px;
  }
  
  .welfare-card {
    min-height: 190px;
    padding: 28px 22px;
  
    text-align: center;
  
    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.82),
        rgba(247,251,255,0.64)
      );
  
    border: 1px solid rgba(18,100,216,0.08);
    border-radius: 24px;
    box-shadow: 0 18px 46px rgba(0,80,160,0.07);
    backdrop-filter: blur(12px);
    transition: 0.35s;
  }
  
  .welfare-card:hover {
    transform: translateY(-8px);
  }
  
  .welfare-icon {
    font-size: 44px;
    color: #1264d8;
    margin-bottom: 22px;
  }
  
  .welfare-card h3 {
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 14px;
  }
  
  .welfare-card p {
    font-size: 13px;
    line-height: 1.8;
    color: #334155;
    font-weight: 600;
    margin: 0;
  }
  
  /* =========================
     Interview
  ========================= */
  
  .interview-section {
    width:95%;
    padding:4%;
    margin:1% 2%;

  
    display:block;
    gap: 32px;
  
    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.86),
        rgba(247,251,255,0.68)
      );
  
    backdrop-filter: blur(14px);
    border: 1px solid rgba(18,100,216,0.08);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(0,80,160,0.08);
  }
  
  .interview-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  
  .interview-card {
    display: grid;
    grid-template-columns: 38% 62%;
    gap: 18px;
    align-items: center;
  }
  
  .interview-img {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    background: #eef6ff;
  }
  
  .interview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .interview-text h3 {
    font-size: 21px;
    line-height: 1.55;
    margin: 0 0 14px;
    font-weight: 900;
  }
  
  .interview-text p {
    font-size: 13px;
    line-height: 1.9;
    color: #334155;
    font-weight: 600;
    margin: 0 0 14px;
  }
  
  .interview-text span {
    color: #001b3f;
    font-size: 13px;
    font-weight: 900;
  }
  
  /* =========================
     Selection Flow
  ========================= */
  
  .selection-flow-section {
    width:95%;
    margin:1% 2%;
    padding: 34px 28px;
  
    display:block;
    gap: 32px;
  
    background:
      linear-gradient(
        135deg,
        rgba(255,255,255,0.86),
        rgba(247,251,255,0.68)
      );
  
    backdrop-filter: blur(14px);
    border: 1px solid rgba(18,100,216,0.08);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(0,80,160,0.08);
  }
  
  .flow-heading {
    flex: 0 0 180px;
    text-align: center;
  }
  
  .flow-heading h2 {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 900;
    margin: 0 0 8px;
  }
  
  .flow-heading p {
    color: #1264d8;
    font-size: 12px;
    letter-spacing: 0.24em;
    font-weight: 900;
    margin: 0;
  }
  
  .selection-flow {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }
  
  .selection-item {
    position: relative;
    text-align: center;
  }
  
  .selection-item:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: -14px;
    top: 28px;
    color: #1264d8;
    font-size: 34px;
    font-weight: 300;
  }
  
  .selection-icon {
    width: 62px;
    height: 62px;
  
    margin: 0 auto 18px;
  
    display: grid;
    place-items: center;
  
    border-radius: 50%;
  
    background: #1264d8;
    color: #fff;
  
    font-size: 24px;
    box-shadow: 0 12px 28px rgba(18,100,216,0.24);
  }
  
  .selection-item h3 {
    font-size: 16px;
    font-weight: 900;
    margin: 0 0 10px;
  }
  
  .selection-item p {
    font-size: 12px;
    line-height: 1.8;
    color: #334155;
    font-weight: 600;
    margin: 0;
  }
  
  /* =========================
     Animation
  ========================= */
  
  .reveal-recruit {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.85s ease, transform 0.85s ease;
  }
  
  .reveal-recruit.is-show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* =========================
     Responsive
  ========================= */
  
  @media (max-width: 1200px) {
    .farwele-section,
    .interview-section,
    .selection-flow-section {
      flex-direction: column;
    }
  
    .section-side-title,
    .flow-heading {
      flex: none;
    }
  
    .welfare-scroll {
      overflow-x: auto;
      display: flex;
      padding-bottom: 10px;
      scroll-snap-type: x mandatory;
    }
  
    .welfare-card {
      min-width: 220px;
      scroll-snap-align: start;
    }
  
    .selection-flow {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .selection-item:not(:last-child)::after {
      display: none;
    }
  }
  
  @media (max-width: 900px) {
    .job-info-grid {
      grid-template-columns: 1fr;
    }
  
    .interview-grid {
      grid-template-columns: 1fr;
    }
  
    .interview-card {
      grid-template-columns: 180px 1fr;
    }
  }
  
  @media (max-width: 700px) {
    .recruit-hero {
      min-height: 620px;
    }
  
    .recruit-hero::before {
      background:
        linear-gradient(
          to bottom,
          rgba(255,255,255,0.97) 0%,
          rgba(255,255,255,0.88) 42%,
          rgba(255,255,255,0.35) 72%,
          rgba(255,255,255,0) 100%
        );
    }
  
    .recruit-hero-text {
      padding: 70px 20px 0;
    }
  
    .recruit-hero-text h1 {
      font-size: 46px;
    }
  
    .recruit-hero-text h2 {
      font-size: 20px;
    }
  
    .recruit-hero-text p:last-child {
      font-size: 14px;
      line-height: 2;
    }
  

    .interview-section,
    .selection-flow-section {
      width: calc(100% - 40px);
      padding: 24px 20px;
      border-radius: 22px;
    }

  
    .recruit-card-title h2 {
      font-size: 26px;
    }
  
    .job-info-box {
      grid-template-columns: 1fr;
      padding: 14px 0;
    }
  
    .job-label,
    .job-text {
      padding: 4px 0;
    }
  
    .entry-btn {
      min-width: 100%;
    }
  
    .welfare-section {
      padding: 60px 20px 10px;
    }
  
    .interview-card {
      grid-template-columns: 1fr;
    }
  
    .interview-img {
      aspect-ratio: 16 / 10;
    }
  
    .selection-flow {
      grid-template-columns: 1fr;
      gap: 28px;
    }
  }












/*recruit-toye*/
.recruit-type {
  background: #f3f4f7;
  padding: 90px 0;
  overflow: hidden;
}

.recruit-inner {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

.recruit-block {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center;
  padding: 0 0 70px;
  margin-bottom: 70px;
  border-bottom: 1px solid #ddd;
}

.recruit-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recruit-block.reverse {
  grid-template-columns: 1.25fr 1fr;
}

.recruit-block.reverse .recruit-image {
  order: 2;
}

.recruit-block.reverse .recruit-content {
  order: 1;
}

.recruit-image img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  display: block;
}

.recruit-content {
  position: relative;
  z-index: 1;
}

.bg-text {
  position: absolute;
  top: -72px;
  left: 0;
  z-index: -1;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.recruit-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.line {
  display: block;
  width: 90px;
  height: 3px;
  background: #006ee6;
  margin-bottom: 36px;
}

.recruit-content h4 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 22px;
}

.recruit-content p:not(.bg-text) {
  font-size: 16px;
  line-height: 2;
  font-weight: 600;
  margin-bottom: 28px;
}

.recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #222;
  color: #fff;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.3s;
}

.recruit-btn span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: #fff;
  color: #006ee6;
  border-radius: 50%;
  transition: 0.3s;
}

.recruit-btn.white {
  background: #fff;
  color: #006ee6;
}

.recruit-btn.white span {
  background: #006ee6;
  color: #fff;
}

.recruit-btn:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .recruit-type {
    padding: 60px 0;
  }

  .recruit-inner {
    width: min(100% - 24px, 1200px);
  }

  .recruit-block,
  .recruit-block.reverse {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-bottom: 55px;
    margin-bottom: 55px;
  }

  .recruit-block.reverse .recruit-image,
  .recruit-block.reverse .recruit-content {
    order: initial;
  }

  .recruit-image {
    width: 100%;
  }

  .recruit-image img {
    height: 240px;
  }

  .bg-text {
    top: -40px;
    font-size: 42px;
  }

  .recruit-content h4 {
    font-size: 23px;
  }

  .recruit-content p:not(.bg-text) {
    font-size: 14px;
    line-height: 1.9;
  }
}
































   /* ===== 全体 フッター ===== */

.footer {
    background: #f7f7f7;
    padding: 60px 0 30px;
  }
  
  .footer-container {
    width:100%;
    margin: 0 auto;
    padding: 0 5%;
  }
  
  /* PCでもグリッド維持 */
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  
  /* タイトル */
  .footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
  }
  
  /* ＋ */
  .footer-title::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: transform 0.3s ease;
  }
  
  /* 開いたら回転 */
  .footer-col.active .footer-title::after {
    transform: translateY(-50%) rotate(45deg);
  }
  
  /* ===== アコーディオン ===== */
  /* アコーディオン本体 */
  .footer-col ul {
    max-height: 0;          
    overflow: hidden;
  
    opacity: 0;
    transform: translateY(-10px);
  
    margin-top: 0;
  
    transition:
      max-height 0.7s ease,
      transform 0.6s ease,
      opacity 0.55s ease;
  
    pointer-events: none;
    will-change: max-height, transform, opacity;
  }
  
  /* 開いた時 */
  .footer-col.active ul {
    max-height: 300px;  /* ←中身より大きければOK */
  
    opacity: 1;
    transform: translateY(0);
  
    margin-top: 10px;
  
    pointer-events: auto;
  }
  
  
  
  /* ===== リンク ===== */
  .footer-col li {
    margin-bottom: 10px;
  }
  
  .footer-col a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
  }
  
  .footer-col a:hover {
    opacity: 0.6;
  }
  /* 各ブロックの高さを詰める */
  .footer-col {
    padding: 0;
    border-bottom: 1px solid #ddd;
  }
  .footer-title {
    padding: 15px 0;
    margin: 0;
  }
  /* ===== SNS ===== */
  .footer-sns {
    margin-top: 40px;
    display: flex;
    gap: 20px;
  }
  .footer-sns img{
    width:100%;
    mAx-height:48PX;
  }
  /* PC左寄せ / スマホ中央 */
  @media (max-width: 768px) {
    .footer-grid {
      display: block;
    }
  
    .footer-col {
      border-bottom: 1px solid #ddd;
    }
  
    .footer-sns {
      justify-content: center;
    }
  
    .copy {
      text-align: center;
    }
  }
  
  /* コピー */
  .copy {
    margin-top: 20px;
    font-size: 12px;
    color: #777;
  }