*{
    padding: 0;
    margin: 0;
}

body{
  font-family: 'Noto Sans JP', sans-serif;
}

main {
    width: 100%;
    margin: 0 auto; /* ← これがある前提なら中央配置 */
  }

  
  

/* ヘッダーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.main-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  /* 上部ロゴ・ナビ・ハンバーガーまとめ */
  .header-upper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 3vw; /* 左右を%ベースに */
  }
  
  /* ロゴ */
  .logo img {
    width: 6.8rem; /* 120px 相当 */
    height: auto;
    display: block;
  }
  
  /* ナビゲーション */
  .global-nav {
    margin-left: auto;
    margin-right: clamp(1rem, 3vw, 3.75rem); /* 画面幅に応じて柔軟に余白調整 */
  }
  
  .global-nav ul {
    display: flex;
    gap: 1.5rem;
    background-color: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    align-items: center;
  }
  
  .global-nav li {
    list-style: none;
  }
  
  .global-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
  }
  
  .global-nav ul li a:hover {
    color: #ccc;
  }
  
  /* ハンバーガーメニュー ーーーーーーーーーーーーーーーーーーー*/
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* ハンバーガーボタン */
  .burger {
    position: relative;
    width: 40px;
    height: 30px;
    background: transparent;
    cursor: pointer;
    display: block;
    z-index: 11000;
    position: fixed;
    top: 38px;
  }
  
  .burger input {
    display: none;
  }
  
  .burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: black;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  
  .burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
  }
  
  .burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
  }
  
  .burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-50%);
  }
  
  .burger input:checked ~ span:nth-of-type(1) {
    top: 0;
    left: 5px;
    transform: rotate(405deg);
  }
  
  .burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
  }
  
  .burger input:checked ~ span:nth-of-type(3) {
    top: 28px;
    left: 5px; 
    transform: rotate(-405deg);
  }

/* ハンバーガーメニュー開いた状態ーーーーーーーーーーーーーーーー */

  .slide-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;                /* ✅ 横幅を100%に固定 */
    height: 100vh;               /* ✅ 高さも画面全体に */
    background-color: white;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    padding: 60px 10vw;
    display: flex;
    flex-direction: column;
    color: white;
    box-sizing: border-box;
    font-family: "Helvetica Neue", sans-serif;
    overflow-y: auto;            /* ✅ 縦方向にスクロール可能に */
  }
  
  
  .slide-menu.open {
    transform: translateX(0);
  }
  
  .slide-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 3rem;
  }
  
  .slide-logo {
    width: 100px;
    height: auto;
  }
  
  .slide-nav {
    display: flex;
    flex-direction: column;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 2.8;
    border-top: 1px solid black;
  }
  
  .slide-nav a {
    text-decoration: none;
    color: black;
    padding: 1.5rem 0;
    border-bottom: 1px solid black;
    transition: all 0.3s ease;
  }
  
  .slide-nav a:hover {
    background-color: rgba(255,255,255,0.1);
    padding-left: 10px;
  }






  @media screen and (max-width: 768px) {

    /* ハンバーガー表示：スマホでは必ず表示 */
    .hamburger {
      display: block;
      z-index: 11001;
    }
  
    /* グローバルナビはスマホで非表示 */
    .global-nav {
      display: none;
    }
  
    /* ハンバーガー位置調整（右上固定） */
    .burger {
      top: 20px;
      right: 20px;
      position: fixed;
    }
  
    /* スライドメニュー全体：スマホ画面サイズで調整 */
    .slide-menu {
      padding: 60px 10vw;
      font-size: 1rem;
      overflow-y: auto;
      z-index: 10000;
      height: 105vh;
    }
  
    .slide-logo {
      width: 80px;
    }
  
    .slide-nav {
      font-size: 1.6rem;     /* スマホではやや小さめに */
      line-height: 2.2;
    }
  
    .slide-nav a {
      padding: 1rem 0;
    }
  }
  





  @media (max-width: 768px) {

    #main-header {
      background-position: center;
      background-repeat: no-repeat;
      color: #fff;
      height: 30vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }


    .logo img {
      width: 3.5rem; /* 120px 相当 */
      height: auto;
      display: block;
    }



    /* スマホではナビを非表示に */
    .global-nav {
      display: none;
    }
  
    /* ハンバーガーは表示 */
    .hamburger {
      display: block;
    }




  }






  /* メインーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

  /* トップーーーーーーーーーーーーーーーーーー */

  .page-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .hero-text {
    padding: 80px 5vw 40px;
    background-color: #fff;
  }
  
  .hero-text h1 {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
  }
  
  .hero-text p {
    font-size: 1.5rem;
    color: #666;
    margin-top: 0.5rem;
  }
  
  /* 背景画像部分 */
  .hero-image {
    width: 100%;
    height:  470px;
    background-image: url('/src/img/about-img/about-main.jpg'); /* ←お好きな画像パスに */
    background-size: cover;
    background-position: center;
  }
  


  
/* パンくずリストーーーーーーーーーーーーーーーーーーー */

  .breadcrumb {
    padding: 12px 5vw;
    font-size: 0.9rem;
  }
  
  .breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    color: #666;
    margin: 0;
    padding: 0;
  }
  
  .breadcrumb li::after {
    content: "›";
    margin: 0 0.5rem;
    color: #999;
  }
  
  .breadcrumb li:last-child::after {
    content: "";
  }
  
  .breadcrumb a {
    text-decoration: none;
    color: #37527d;
    transition: color 0.2s;
  }
  
  .breadcrumb a:hover {
    color: #1e3a5f;
  }
  


  @media screen and (max-width: 768px) {
    .hero-text {
      padding: 60px 6vw 30px;
    }
  
    .hero-text h1 {
      font-size: 2.4rem;
      font-weight: 500;
    }
  
    .hero-text p {
      font-size: 1.1rem;
      color: #666;
      margin-top: 0.4rem;
    }
  
    .hero-image {
      height: 220px; /* モバイルでは高さを縮める */
    }
  
    .breadcrumb {
      padding: 12px 6vw;
      font-size: 0.85rem;
    }
  
    .breadcrumb ul {
      flex-wrap: wrap;
      gap: 0.4rem;
    }
  }
  

  /* メッセージーーーーーーーーーーーーーーーーーーーーーーーーー */
  #company-message {
    background-color: #f4f6f8;
    padding: 100px 0vw;
    font-family: 'Noto Sans JP', sans-serif;
  }
  
  .message-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .message-left {
    flex: 1 1 50%;
    max-width: 500px;
  }
  
  .message-right {
    flex: 1 1 50%;
    max-width: 680px;
    margin-left: 100px;
  }
  
  .label {
    font-size: 0.95rem;
    color: #37527d;
    margin-bottom: 1rem;
    display: block;
  }
  
  .message-left h2 {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  
  .message-right p {
    margin-bottom: 1.6em;
    line-height: 2;
    letter-spacing: 0.03em;
  }
  
  
  
  @media screen and (max-width: 768px) {
    #company-message {
      padding: 40px 5vw;
    }
  
    .message-container {
      flex-direction: column;
      gap: 40px;
    }
  
    .message-left,
    .message-right {
      flex: 1 1 100%;
      max-width: 100%;
    }
  
    .message-left h2 {
      font-size: 1.8rem;
      line-height: 1.5;
      margin-bottom: 0.7rem;
    }
  
    .message-right {
      margin-left: 0;
      font-size: 0.7rem;
    }
  
    .message-right p {
      line-height: 1.9;
      margin-bottom: 0.4em;
    }
  
    .label {
      font-size: 0.85rem;
      margin-bottom: 0.8rem;
    }
  }
  
  




  /* 会社概要ーーーーーーーーーーーーーーーーーーーーーーーーー */
  .company-outline {
    padding: 100px 0;
  }
  
  .outline-heading-en {
    font-size: 0.95rem;
    color: #37527d;
    margin-bottom: 1.2rem;
    display: block;
    line-height: 1.2;
  }
  
  .outline-heading-ja {
    font-size: 2.4rem;
    font-weight: bold;
    color: #222;
    line-height: 1.4;
    margin: 0; /* h2のデフォルトmarginをリセットして詰まり防止 */
  }
  
  
  .outline-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    box-sizing: border-box;
  }
  
  .outline-heading-area {
    flex: 1 1 20%;
    min-width: 260px;
  }
  
  .outline-table {
    flex: 1 1 auto;
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-left: auto;
    margin-top: 180px;
  }
  
  .outline-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
    flex-wrap: wrap;
  }
  
  .outline-label {
    width: 30%;
    font-weight: 600;
    color: #555;
    font-size: 1rem;
  }
  
  .outline-value {
    width: 65%;
    font-size: 1rem;
    color: #222;
    line-height: 1.6;
  }
  
  /* 📱 スマホ対応 */
  @media screen and (max-width: 768px) {

    .company-outline {
      padding: 50px 0;
    }

    .outline-inner {
      flex-direction: column;
      gap: 40px;
      padding: 0 6vw;
    }
  
    .outline-heading-area {
      flex: 1 1 100%;
      min-width: 100%;
      text-align: left;
    }
  
    .outline-heading-en {
      font-size: 0.85rem;
      margin-bottom: 0.8rem;
    }
  
    .outline-heading-ja {
      font-size: 2rem;
    }

  
    .outline-table {
      width: 100%;
      margin: 0;
    }
  
    .outline-row {
      flex-direction: column;
      padding-bottom: 16px;
    }
  
    .outline-label,
    .outline-value {
      width: 100%;
      font-size: 1rem;
    }
  
    .outline-label {
      margin-bottom: 8px;
      font-weight: 600;
    }
  }
  



  /* お問い合わせーーーーーーーーーーーーーーーーーーーー */
  #contact-recruit-section {
    display: flex;
    justify-content: center;
    gap: 4rem;
    background-color: #7a7878;
    padding: 80px 40px;
    flex-wrap: wrap;
  }
  
  .info-box {
    background-color: #ddd;
    padding: 40px;
    border-radius: 50px 50px 50px 50px;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    min-width: 300px;
  }
  
  .info-box h2 {
    font-size: 3rem;
    font-weight: 600;
  }
  
  .info-box h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #333;
  }
  
  .info-box p {
    font-size: 1rem;
    line-height: 2;
    color: #222;
  }
  
  .info-button {
    display: inline-block;
    background-color: #f4f4f4;
    border: 1px solid #888;
    color: #111;
    padding: 1rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
    width: fit-content;
  }
  
  .info-button:hover {
    background-color: #e0e0e0;
    border-color: #555;
  }

  .recruit-box .info-button{
    margin-top: 35px;
    padding: 1rem 4.5rem;
  }



  @media screen and (max-width: 768px) {
    #contact-recruit-section {
      flex-direction: column;
      padding: 40px 20px;
      gap: 2rem;
    }
  
    .info-box {
      padding: 30px 20px;
      border-radius: 30px;
      max-width: 100%;
    }
  
    .info-box h2 {
      font-size: 2rem;
      text-align: left;
    }
  
    .info-box h3 {
      font-size: 1rem;
      text-align: left;
      margin-top: -0.5rem;     /* ← 上の余白をかなり小さく */
      margin-bottom: 0rem;  /* ← 下も少し小さく */
    }
  
    .info-box p {
      font-size: 0.7rem;
      line-height: 1.6; /* ← 適度な行間に調整 */
      padding: 0 10px;  /* ← スマホの読みやすさ向上 */
      text-align: left;
    }
  
    .info-button {
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;

    }
  
    .recruit-box .info-button {
      padding: 0.8rem 2rem;
      margin-top: 20px;
    }
  }
  


  /* フッターーーーーーーーーーーーーーーーーーーーーーー */
  .footer {
    background-color: #fff;
    text-align: center;
    padding: 40px 20px;
  }
  
  .footer-logo {
    height: 60px;
    margin-bottom: 20px;
  }
  
  .footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1.1rem;
  }





  @media screen and (max-width: 768px) {
    #footer {
      padding: 30px 15px;
    }
  
    .footer-logo {
      height: 40px; /* 小さめに */
      margin-bottom: 20px;
    }
  
    .footer-nav {
      flex-direction: column; /* ← 縦並びに変更 */
      gap: 1rem;
    }
  
    .footer-nav a {
      font-size: 0.95rem;
      text-align: center;
      display: block;
    }
  }




  /* スクロールトップボタンーーーーーーーーーーーーーーーーーーーーー */
  .scroll-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border: none;
    background: none;
    font-weight: bold;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.2s, visibility 0.2s;
    font-size: 14px;
    color: #000;
  }
  
  .scroll-top-btn.is-active {
    opacity: 1;
    visibility: visible;
  }
  
  /* 上矢印と丸枠の装飾 */
  .scroll-top-btn .scroll-top-arrow::before {
    position: absolute;
    top: -29px;
    left: 11px;
    transform: rotate(-45deg);
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid #000;
    border-width: 2px 2px 0 0;
    display: block;
  }
  
  .scroll-top-btn .scroll-top-arrow::after {
    position: absolute;
    top: -43px;
    left: 0px;
    content: "";
    width: 32px;
    height: 32px;
    border: 2px solid #000;
    border-radius: 50%;
    display: block;
  }

  


@media screen and (max-width: 768px) {
  .scroll-top-btn {
    right: 10px;         /* 画面端からの距離を短く */
    bottom: 10px;        /* 下端との距離も調整 */
    font-size: 12px;     /* ボタン内の文字サイズを小さく */
    letter-spacing: 2px;
  }

  .scroll-top-btn .scroll-top-arrow::before {
    top: -24px;          /* 位置調整（上矢印） */
    left: 8px;
    width: 10px;
    height: 10px;
    border-width: 2px 2px 0 0;
  }

  .scroll-top-btn .scroll-top-arrow::after {
    top: -36px;          /* 丸枠の位置調整 */
    left: -2px;
    width: 28px;
    height: 28px;
    border-width: 2px;
  }
}


