/*初期設定*/
*{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:2% 3%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }
  /* ロゴ */
  .logo img {
    height: 60px;
    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;
  }


/*recruit*/
  .section-recruit {
    background:
      radial-gradient(circle at top left, rgba(185, 157, 107, .08), transparent 34%),
      linear-gradient(180deg, #fff 0%, #faf7f1 100%);
    padding: 100px 20px;
    color: #1d1d1d;
    font-family: "Noto Sans JP", sans-serif;
  }
  
  .recruit-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
  }
  
  /* heading */
  
  .recruit-heading {
    text-align: center;
    margin-bottom: 64px;
  }
  
  .recruit-en {
    color: #9a7c4d;
    letter-spacing: .18em;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px;
  }
  
  .recruit-heading h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-family: serif;
    letter-spacing: .12em;
    margin: 0;
  }
  
  .recruit-heading span {
    display: block;
    width: 54px;
    height: 2px;
    background: #9a7c4d;
    margin: 22px auto 30px;
  }
  
  .recruit-lead {
    line-height: 1.9;
    color: #444;
    margin: 0;
  }
  
  /* card */
  
  .recruit-card {
    background: rgba(255,255,255,.92);
    border: 1px solid #eee6da;
    border-radius: 32px;
    padding: clamp(28px, 4vw, 54px);
    box-shadow: 0 18px 45px rgba(68, 52, 31, .08);
  }
  
  /* list */
  
  .recruit-list {
    margin: 0;
  }
  
  .recruit-list div {
    display: grid;
    grid-template-columns: 190px 1fr;
    border-top: 1px solid #e8e1d6;
  }
  
  .recruit-list div:last-child {
    border-bottom: 1px solid #e8e1d6;
  }
  
  .recruit-list dt,
  .recruit-list dd {
    padding: 22px 20px;
    line-height: 1.9;
  }
  
  .recruit-list dt {
    color: #8a6f43;
    font-weight: 700;
    background: #faf6ef;
  }
  
  .recruit-list dd {
    margin: 0;
    color: #333;
  }
  
  /* animation */
  
  .recruit-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
  }
  
  .recruit-card.is-show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* mobile */
  
  @media (max-width: 768px) {
    .section-recruit {
      padding: 70px 16px;
    }
  
    .recruit-heading {
      margin-bottom: 44px;
    }
  
    .recruit-card {
      border-radius: 24px;
      padding: 24px 20px;
    }
  
    .recruit-list div {
      grid-template-columns: 1fr;
    }
  
    .recruit-list dt {
      background: transparent;
      padding-bottom: 4px;
    }
  
    .recruit-list dd {
      padding-top: 0;
    }
  }


















  /*footer*/
  .site-footer {
    width: 100%;
    background:
    linear-gradient(
      180deg,
      #0f2742 0%,
      #12365a 45%,
      #1a4974 100%
    );
    color: #fff;
    padding: 5rem 5vw 1.5rem;
    overflow: hidden;
  }
  
  .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  
  width: 100%;
  height: 120px;
  
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.08),
      transparent
    );
  
  pointer-events: none;
  }
  
  .footer-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1.6fr;
    gap: 4rem;
  }
  
  .footer-brand h2 {
    font-size: 2rem;
    margin: 0 0 1.2rem;
    letter-spacing: 0.08em;
  }
  
  
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .footer-title {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    padding: 0 0 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    cursor: default;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col li {
    margin-bottom: 0.9rem;
  }
  
  .footer-col a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
  }
  
  .footer-col a:hover {
    color: #fff;
    padding-left: 0.4rem;
  }
  
  .footer-info {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.85;
  }
  .footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.65;
  }
  
  /* スマホ */
  @media (max-width: 700px) {
    .site-footer {
      padding: 4rem 1.4rem 1.5rem;
    }
  
    .footer-inner {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
  
    .footer-brand h2 {
      font-size: 1.6rem;
    }
  
    .footer-nav {
      grid-template-columns: 1fr;
      gap: 0;
    }
  
    .footer-title {
      position: relative;
      cursor: pointer;
      margin-bottom: 0;
      padding: 1.2rem 0;
    }
  
    .footer-title::after {
      content: "+";
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.4rem;
    }
  
    .footer-col.active .footer-title::after {
      content: "−";
    }
  
    .footer-col ul {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: 0.4s ease;
    }
  
    .footer-col.active ul {
      max-height: 20rem;
      opacity: 1;
      padding: 0.8rem 0 1.2rem;
    }
  
    .footer-info {
      margin-top: 1rem;
      font-size: 0.85rem;
    }
  }