*{
    padding: 0;
    margin: 0;
}

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

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

  
  


/* ヘッダーーーーーーーーーーーーーーーーーーーーーーーーーーー */
#main-header {
    background-image: url('/src/img/main-header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    height: 100vh;
    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;
    }
  }
  




  
  
  /* キャッチコピー */
  .catchcopy {
    color: black;
    font-weight: bold;
    text-align: left;
    margin: 270px 7vw 0; /* 上に余白を追加、左右も相対値 */
    font-size: 3.9rem;
    text-shadow: 1px 1px 1px white;
  }
  



  @media (max-width: 768px) {

    #main-header {
      background-image: url('/src/img/main-header.jpg');
      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;
    }


    .catchcopy {
      color: black;
      font-weight: bold;
      text-align: left;
      margin: 20px 7vw 0; /* 上に余白を追加、左右も相対値 */
      font-size: 1.4rem;
    }


  }







  /* セクションタイトルーーーーーーーーーーーーーーーーーーーーーー */

  .section-title {
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 40px;
  }
  
  .section-title h2 {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    gap: 1rem;
  }
  
  /* 水色の四角アクセント */
  .accent-box {
    position: absolute;
    left: 0;
    top: 25%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: #30d3d3;
    z-index: 1;
  }
  
  /* NEWSのテキスト */
  .main-title {
    position: relative;
    z-index: 2;
  }
  
  /* 横棒（ダッシュ） */
  .dash {
    flex-grow: 0.08;
    height: 1px;
    background-color: #999;
    margin: 0 1rem;
  }
  
  /* サブタイトル（お知らせ） */
  .sub {
    font-weight: normal;
    font-size: 1rem;
    color: #888;
    white-space: nowrap;
  }


  @media (max-width: 768px) {
    .section-title {
      margin-top: 20px;
      margin-bottom: 1.5rem;
      padding: 0 1rem;
    }
  
    .section-title h2 {
      font-size: 1.5rem; /* 少し小さく */
      gap: 0.5rem;
    }
  
    .accent-box {
      width: 20px;
      height: 20px;
      top: 25%;
      transform: translate(-50%, -50%);
    }
  
    .dash {
      flex-grow: 0.05; /* やや短めに調整 */
      height: 1px;
      margin: 0 0.5rem;
    }
  
    .sub {
      font-size: 0.6rem;
    }
  }
  


  /* ニュースーーーーーーーーーーーーーーーーーーーーーーーー */

  #news-section{
    width: 85%;
    margin-top: 60px;
    margin: 0 auto;
  }

  .news-content {
    padding: 0 0 3rem 0; /* 下に少し余白をつけるなど調整しやすく */
  }

  .news-list {
    border-top: 1px solid #333;
    width: 90%;
    margin: 0 auto;
  }
  
  .news-item {
    display: flex;
    border-bottom: 1px solid #333;
    padding: 1.5rem 0;
    height: 40px;
    align-items: center;
  }
  
  .news-item dt {
    font-weight: bold;
    color: rgb(53, 52, 52);
    width: 25%;
    min-width: 120px;
  }
  
  .news-item dd {
    margin: 0;
    width: 75%;
    color: #8a8989;
  }

  @media (max-width: 768px) {

    .news-item {
      display: flex;
      border-bottom: 1px solid #333;
      padding: 0.3rem 0;
      height: 40px;
      align-items: center;
    }

    .news-item dt {
      font-weight: bold;
      color: rgb(53, 52, 52);
      width: 25%;
      min-width: 120px;
      font-size: 0.7rem;
    }

    .news-item dd {
      margin: 0;
      width: 85%;
      color: #8a8989;
      font-size: 0.6rem;
    }

  }
  

  /* もっとみるボタンーーーーーーーー */

  .button-common {
    display: inline-block;
    background-color: #fff;
    color: #000;
    border: 1px solid #aaa;
    padding: 0.6rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none; /* ← 下線を消す！ */
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
  }
  
  
  .button-common:hover {
    background-color: #000;
    color: #fff;
  }
  
  
  /* ラッパー：中央寄せ＆余白 */
.button-wrapper {
    text-align: center;
    margin-top: 2rem;
  }
  
  /* 汎用ボタンの基本スタイル */
  .button-common {
    background-color: #fff;
    color: #000;
    border: 1px solid #aaa;
    padding: 0.6rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
  }
  
  /* ホバーアクション（共通） */
  .button-common:hover {
    background-color: #000;
    color: #fff;
  }
  
  /* 特定の役割（例：NEWS用）に応じたスタイル追加が必要ならここで上書き可能 */
  .news-more-btn {
    /* 今は追加なし。必要ならここに入れる */
  }
  


  @media (max-width: 768px) {
    .button-common {
    padding: 0.4rem 1.7rem;
    font-size: 0.7rem;
  }

  }



  /* actについてーーーーーーーーーーーーーーーーーーーー */

  #about-section{
    width: 85%;
    margin: 0 auto;
  }

  .about-content {
    position: relative; /* 画像を絶対配置するために必要 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    overflow: visible; /* 画像が枠からはみ出すことを許容 */
  }
  
  .about-text {
    flex: 1 1 55%;
    font-size: 20px;
  }

  .about-text h3{
    font-size: 35px;
    margin-bottom: 50px;
  }

  .about-text p{
    line-height: 50px;
    font-size: 16px;
  }
  
  .pentagon-shape {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1.8 / 1; /* ← 横1.4 : 縦1 にして縦を低くする */
    clip-path: polygon(
      100% 0%,/*右上*/
      100% 50%, /*右中間*/
      80% 100%, /*右下*/
      0% 100%,/*左下*/
      50% 0% /*左上*/
    );
    overflow: hidden;
  }
  


  .about-image {
    position: absolute;
    right: 10px; /* 数値はお好みで調整。右にはみ出させる */
    top: 0;
    width: 600px; /* ここで大きさ調整 */
    max-width: none;
    z-index: 1;
  }
  
  .pentagon-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

    /* 初期状態：PC用画像表示・スマホ用非表示 */
  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }

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

    .about-content {
      
    }

    .about-text h3{
      font-size: 20px;
      margin-bottom: 30px;
    }

    .about-text p{
      line-height: 30px;
      font-size: 12px;
    }


    .pc-only {
      display: none;
    }

    .sp-only {
      display: block;
      width: 100%;
      margin-top: 30px; /* 適宜調整 */
    }

    .sp-only img {
      width: 100%;
      height: auto;
      display: block;
    }
  }
  


  /* 特徴ーーーーーーーーーーーーーーーーーーーーーー */

  #features-section{
    width: 85%;
    margin: 0 auto;
    margin-top: 150px;
  }

  .features-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 40px;
  }
  
  .feature-item {
    flex: 1 1 30%;
    max-width: 32%;
    text-align: left;
  }
  
  .feature-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
  }
  
  /* タイトル部分（縦棒＋テキスト） */
  .feature-title {
    display: flex;
    align-items: flex-start;
    margin: 20px 0 10px;
  }
  
  /* 縦棒 */
  .feature-bar {
    width: 5px;
    background-color: #00ced1;
    flex-shrink: 0;
    height: 100%; /* テキストの高さに自動で合わせる */
  }
  
  /* タイトルテキスト */
  .feature-text {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    color: #000;
    border-left:8px solid #00ced1;
    padding-left: 10px; /* ← テキストと棒の間に余白 */
  }
  
  /* 段落本文 */
  .feature-item p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-top: 20px;
  }
  

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

    #features-section{
      width: 85%;
      margin: 0 auto;
      margin-top: 50px;
    }

    .features-content {
      flex-direction: column;
      gap: 2.5rem;
    }
  
    .feature-item {
      max-width: 100%;
      flex: 1 1 100%;
    }
  
    .feature-text {
      font-size: 18px;
    }
  
    .feature-item p {
      font-size: 14px;
    }
  }
  

  /* 事業内容ーーーーーーーーーーーーーーーーーーーーーーーーー */
/* セクション全体 */
#works-section {
  background-color: #7a7878;
  padding: 50px 0;
  margin-top: 120px;
}

.work-section-title {
  width: 85%;
  margin: 0 auto;
  color: white;
}

.wprl-section-title {
  width: 100%;
  margin-bottom: 2rem;
  margin-top: 40px;
}

.work-section-title h2 {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 3rem;
  font-weight: bold;
  gap: 1rem;
}

/* 水色の四角アクセント */
.work-accent-box {
  position: absolute;
  left: 0;
  top: 25%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background-color: #30d3d3;
  z-index: 1;
}

/* NEWSのテキスト */
.work-main-title {
  position: relative;
  z-index: 2;
}

/* 横棒（ダッシュ） */
.work-dash {
  flex-grow: 0.08;
  height: 1px;
  background-color: white;
  margin: 0 1rem;
}

/* サブタイトル（お知らせ） */
.work-sub {
  font-weight: normal;
  font-size: 1rem;
  color: white;
  white-space: nowrap;
}




.work-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 85%;
  margin: 80px auto;
  position: relative;
}

.work-block.reverse {
  flex-direction: row-reverse;
}

.work-img {
  position: relative;
  width: 50%;
  z-index: 2;
}

.main-img {
  position: absolute;
  top: -240px;
  left: 0px;
  width: 120%;
  height: 400px;
  display: block;
  border-radius: 4px;
  z-index: 2;
}

.sub-img {
  position: absolute;
  bottom: -240px;
  right: -150px;
  width: 80%;
  border-radius: 4px;
  z-index: 2;
}

.work-block.reverse .main-img {
  left: auto;
  right: 20px;
}

.work-block.reverse .sub-img {
  left: -150px;
  right: auto;
}

/* リフォーム専用 */
.work-block.reverse .main-ref {
  right: -0px;
  top: -250px;
}

.work-text {
  position: relative; /* ← これが絶対必要 */
  z-index: 1;
  width: 65%;
  color: #fff;
  border: 2px solid #fff;
  padding: 100px 50px;
  background-color: transparent;
  box-sizing: border-box;
}

.text-inner {
  max-width: 85%;
  margin-left: 90px;  /* ← 右側に寄せる */
  text-align: left;    /* ← テキスト自体は左揃え */
}

.text-ref .text-inner {
  margin-left: 0;         /* ← 右に寄せない */
  margin-right: 10px;    /* ← 左に寄せる（右余白を取る） */
  text-align: left;       /* テキストはそのまま左揃え */
}

.text-inner h3 {
  font-size: 40px;
  margin-bottom: 70px;
}

.text-inner p {
  font-size: 16px;
  line-height: 2.4;
}



.more-btn {
  position: absolute;
  bottom: -50px;
  right: -40px;
  width: 150px;         /* 横幅 */
  height: 150px;        /* 高さ（同じにすることで正円） */
  border-radius: 50%;   /* 完全な円形に */
  background-color: #00e0e0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  display: flex;        /* 中央揃えのため */
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s;
}

.text-ref .more-btn {
  position: absolute;
  bottom: -50px;   /* 枠の内側下からの距離 */
  left: -40px;     /* 枠の内側左からの距離 */
}


.more-btn:hover {
  background-color: #00c2c2;
}


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

  
  .wprl-section-title {
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 40px;
  }
  
  .work-section-title h2 {
    font-size: 1.5rem;
  }
  
  /* 水色の四角アクセント */
  .work-accent-box {
    width: 20px;
    height: 20px;
    background-color: #30d3d3;
    z-index: 1;
  }
  
  /* NEWSのテキスト */
  .work-main-title {
    position: relative;
    z-index: 2;
  }
  
  /* 横棒（ダッシュ） */
  .work-dash {
    flex-grow: 0.05; /* やや短めに調整 */
    height: 1px;
    margin: 0 0.5rem;
  }
  
  /* サブタイトル（お知らせ） */
  .work-sub {
    font-size: 0.6rem;
  }
  


  .text-inner{
    margin-left: 0px;
  }

  .text-inner h3 {
    font-size: 30px;
    margin-bottom: 30px;
    margin-top: 30px;
  }

  .text-inner p{
    font-size: 0.9rem;
    width: 300px;
    
  }




  .work-block {
    flex-direction: column;
    width: 90%;
    margin: 60px auto;
  }

  .work-block.reverse {
    flex-direction: column; /* 反転解除 */
  }

  .work-img {
    position: relative;
    width: 100%;
    height: auto;
  }

  .main-img {
    position: static;
    width: 80%;
    height: auto;
    margin-bottom: 20px;
    position: absolute;
    top: -30px;
    left: 0;
  }

  .sub-img {
    position: absolute;
    bottom: 0;
    width: 60%;
    top: 80px;
    left: 140px;
    z-index: 2;
  }

  .work-text {
    width: 100%;
    padding: 40px 20px;
    text-align: left;
    margin-top: 120px;
  }

  
  
  
  /* リフォーム専用 */

  .work-block.reverse .main-img {
    left: auto;
    right: 20px;
  }

  .work-block.reverse .main-ref {
    right: 0px;
    top: 50px;
  }

  .work-block.reverse .sub-img {
    top: 150px;
    left: 0px;
    right: auto;
  }

  .text-ref .text-inner{
    margin-top: 120px;
  }






  .more-btn {
    position: absolute;
    bottom: -80px;
    right: -10px;
    width: 120px;         /* 横幅 */
    height: 120px;        /* 高さ（同じにすることで正円） */
    border-radius: 50%;   /* 完全な円形に */
    background-color: #00e0e0;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: flex;        /* 中央揃えのため */
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  
  .text-ref .more-btn {
    position: absolute;
    bottom: -80px;   /* 枠の内側下からの距離 */
    left: 235px;     /* 枠の内側左からの距離 */
  }

}




/* よくある質問ーーーーーーーーーーーーーーーーーーーーーーーー */

    #question-section{
      width: 85%;
      margin: 0 auto;
      margin-top: 120px;
      margin-bottom: 120px;
    }




    .qa-1 {
      max-width:  80%;
      margin: 0 auto;
      margin-bottom: 7px;
      border: 1px solid #d6dde3;
      border-radius: 5px;
  }
  
  .qa-1 summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      padding: 1em 2em 1em 3em;
      color: #333333;
      font-weight: 600;
      cursor: pointer;
  }
  
  .qa-1 summary::before,
  .qa-1 p::before {
      position: absolute;
      left: 1em;
      font-weight: 600;
      font-size: 1.3em;
  }
  
  .qa-1 summary::before {
      color: #75bbff;
      content: "Q";
  }
  
  .qa-1 summary::after {
      transform: translateY(-25%) rotate(45deg);
      width: 7px;
      height: 7px;
      margin-left: 10px;
      border-bottom: 3px solid #333333b3;
      border-right: 3px solid #333333b3;
      content: '';
      transition: transform .5s;
  }
  
  .qa-1[open] summary::after {
      transform: rotate(225deg);
  }
  
  .qa-1 p {
      position: relative;
      transform: translateY(-10px);
      opacity: 0;
      margin: 0;
      padding: .3em 3em 1.5em;
      color: #333;
      transition: transform .5s, opacity .5s;
  }
  
  .qa-1[open] p {
      transform: none;
      opacity: 1;
  }
  
  .qa-1 p::before {
      color: #ff8d8d;
      line-height: 1.2;
      content: "A";
  }

  @media screen and (max-width: 768px) {
    .qa-1 {
      max-width: 100%;
      margin: 0 auto;
      margin-bottom: 7px;
      border: 1px solid #d6dde3;
      border-radius: 5px;
  }

  .qa-1 summary {
    font-size: 13px;

  }

  .qa-1 p {
    font-size: 10px;

  }

  }





  /* お問い合わせーーーーーーーーーーーーーーーーーーーー */

  #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;
  }
}




