/*
Theme Name: TSK総研　オリジナルテーマ
Theme URI: https://example.com
Author: 株式会社チイキモリ
Author URI: https://example.com
Description: 塗装会社専門広告代理店めけに制作したオリジナルテーマ
Version: 1.0.0
*/
body {
  font-family: 'Noto Sans JP', sans-serif;
}

/* 親セクション：トップ全体の余白はここで制御する */
/* 親セクション：トップ全体の余白はここで制御する */
.top {
  position: relative;
  max-width: 1380px;
  /* ← 固定幅ではなく最大幅に */
  width: 100%;
  /* ← 画面に合わせて縮む */
  margin: 0 auto;
  padding-top: 120px;
  box-sizing: border-box;
}


/* NEXTSTAGE：大きな背景文字は親の相対座標で絶対配置にしておく */
.nextstage {
  position: absolute;
  right: 5%;
  top: -90px;
  /* ヘッダー高さ（例80px）に合わせて調整してください */
  font-size: 160px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #F4F7FA;
  text-align: right;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 840px) {
  .top {
    padding-top: 60px;
  }
  .nextstage {
    font-size: 100px;
    top: -25px;
  }
}

/* 左側テキスト領域：topで動かさず padding/margin で調整 */
.top-left {
  width: 80%;
  padding: 0 60px;
  /* 上余白は親の .top の padding-top で確保 */
  text-align: left;
  position: relative;
  z-index: 2;
  /* 削除 or コメントアウトしてください: top: -150px; */
}

/* タイトルだけ下にずらしたいなら margin を使う（安全） */
.toptitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #002C5D;
  margin: 100px 0 30px 0;
  /* ← ここで「100px 下げ」を実現（必要に応じて微調整） */
  position: relative;
  /* 位置指定不要だが念のため */
}

.topex {
  font-weight: 800;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: #002C5D;
  margin: 0;
}

@media (max-width: 840px) {
  .toptitle {
    font-size: 48px;
    margin: 60px 0 30px 0;
  }

  .topex {
    font-size: 16px;
    padding-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .toptitle {
    font-size: 36px;
  }
.top-left {
  width: 80%;
  padding: 0 30px;
}
}

/* お問い合わせボタン */
.topcontact-btn {
  position: absolute;
  top: 420px;
  right: 5%;
  width: 150px;
  height: 150px;
  background-color: #002C5D;
  border-radius: 8px;
  z-index: 3;

  display: flex;
  justify-content: center;
  align-items: center;
}

.topcontact-btn a {
  color: white;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 840px) {
  .topcontact-btn {
    position: static;
    /* 絶対配置を解除 */
    width: 200px;
    /* 横幅はそのまま */
    height: 100px;
    margin: 20px auto 0;
    /* ← auto を入れることで中央寄せ */
    display: flex;
    /* ← 中央に配置するため flex に */
    justify-content: center;
    /* ← 横方向に中央配置 */
    align-items: center;
    /* ← 縦方向に中央配置 */
    text-align: center;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
  }

  .topcontact-btn a {
    font-size: 18px;
    line-height: 1.4;
    color: white;
    text-decoration: none;
  }
}

/* 600px以下（スマホ） */
@media (max-width: 600px) {
  .topcontact-btn {
    position: static;
    /* 絶対配置を解除 */
    width: 50%;
    /* 画面幅の50% */
    height: 100px;
    /* 指定の高さ */
    margin: 20px auto 0;
    /* 上に余白 & 中央寄せ */
    display: flex;
    /* 高さの中で中央揃え */
    justify-content: center;
    align-items: center;
    padding: 0;
    /* 不要なら削除 */
    border-radius: 12px;
  }

  .topcontact-btn a {
    font-size: 16px;
    line-height: 1.4;
  }
}


/* 画像はフローの下に置き、マイナスtopは使わない */
.topimg {
  width: 100vw;
  /* 画面幅いっぱい */
  height: 478px;
  /* 表示したい縦幅 */
  overflow: hidden;
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 40px;
  /* タイトル等との間隔（調整可） */
  box-sizing: border-box;
}

@media (max-width: 1080px) {
  .topimg {
    height: 404px;
  }
}

@media (max-width: 840px) {
  .topimg {
    height: 318px;
  }
}

@media (max-width: 600px) {
  .topimg {
    height: 170px;
    margin-bottom: 10px;
  }
}

.topimage {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;

}

.info-banner {
  width: 932px;
  height: 115px;
  background-color: #002C5D;
  display: flex;
  /* 中央揃えのため */
  align-items: center;
  /* 縦方向中央 */
  justify-content: center;
  /* 横方向中央 */
  text-align: center;
  /* 複数行を中央寄せ */
  margin: 0 auto;
  /* 中央配置（横方向） */
  margin-bottom: 60px;
  margin-top: 120px;
}

.info-banner a {
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.4;
  font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 840px) {
  .info-banner {
    width: 100%;
    height: auto;
    padding: 20px 10px;
    margin-top: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .info-banner a {
    font-size: 24px;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .info-banner {
    width: 100%;
    height: auto;
    padding: 16px 8px;
  }

  .info-banner a {
    font-size: 18px;
  }
}
  @media (max-width: 375px) {
  
    .info-banner a {
      font-size: 15px;
    }
}










.menu {
  padding-top: 60px;
  margin: 0 60px 120 60px;
  width: 100%;
  height: auto;
}
.menu .container {
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 100px;
  padding-right: 100px;
}

.menu-bg {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 40px 0 80px;

  background: linear-gradient(to right,
      #FAFAFA 0%,
      #FAFAFA 80%,
      transparent 80%,
      transparent 100%);
}

.menu-inner {
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.menu1 {
  text-align: right;
  margin-bottom: 40px;

}

.midashi {
  font-size: 72px;
  font-weight: 800;
  margin: 0;
  color: #002C5D;
}

.menu1 h2 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.2em;
  color: #002C5D;
}

.menu1-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 2.2;
  color: #002C5D;
  margin: 0;
}

.circle-arrow {
  width: 100px;
  height: 100px;
  border: 2px solid #002C5D;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  flex-shrink: 0;
  box-shadow: 0px 20px 20px -10px lightgray;
}

.circle-arrow a {
  display: inline-block;
  text-decoration: none;
}

.circle-arrow i {
  font-size: 24px;
  font-weight: 700;
  color: #002C5D;
}

@media (max-width: 840px) {

  .menu {
    padding-top: 20px;
    margin: 0 10px 20 10px;
    margin-bottom: 50px !important;
  }
  .menu-bg {
    background: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .menu-bg .container {
    max-width: none;
    padding: 0;
  }

  /* ===== MENU文字（背景なしで上に乗せる） ===== */
  .menu1 {
    position: relative;
    text-align: center;
    z-index: 2;
  }

  .midashi {
    font-size: 36px;
    background: none;
  }

  /* ===== 背景を担当するブロック ===== */
  .menu-bg-inner {
    background-color: #FAFAFA;
    width: 70vw;
    height: 255px;
    text-align: center;
    margin-left: 0;
    margin-right: auto;

    padding: 24px 16px;
    box-sizing: border-box;
  }

  .menu1 h2 {
    margin: 0 0 16px 0;
    font-size: 15px;
    text-align: center;
    position: relative;
    top: -20px;
    text-align: center;
    width: 100%;
  }

  .menu1-2 {
    position: relative;
    /* 位置調整を有効にする */
    top: -200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 0 30px;
    z-index: 10;
  }

  .menu2 {
    font-size: 15px;
    line-height: 2.2;
    letter-spacing: 0.05em;
    margin: 0 auto;
    text-align: left;
  }

  /* ===== 丸矢印（背景なし） ===== */
  .circle-arrow {
    width: 80px;
    height: 80px;
    margin: 40px auto 0;
    background: white;
  }
}

@media (max-width: 430px) {

  .menu {
    padding-top: 1px;
    margin: 0 10px 20 10px;
    margin-bottom: 1px !important;
  }
  .circle-arrow {
    margin: 15px auto 0;

  }

}









.menuul {
  display: flex;
  justify-content: space-between;
  /* 3つのカードを横並び */
  align-items: stretch;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 60px auto;
  width: 90%;
  max-width: 1280px;
  gap: 40px;
  box-sizing: border-box;
}

.menuul li {
  width: 32%;
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  /* 縦並び（上:コンテンツ / 下:リンク） */
  justify-content: space-between;
  /* 上下に分ける */
}

/* 数字と本文を横並びに */
.menu-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.menu3 {
  width: 60px;
  height: 60px;
  background-color: #002C5D;
  border-bottom-right-radius: 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-text-content {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  margin-right: -20px;
}

.menu4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: #002C5D;
  margin-bottom: 6px;
}

.menu5 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #002C5D;
  margin-bottom: 20px;
  line-height: 1.4;
}

.menu6 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  line-height: 1.8;
  margin-bottom: 20px;
}

.menu-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  /* menu7とmenu8の間隔 */
  margin-top: 20px;
}
.menuul a {
  text-decoration: none;
}

.menu7 {
  font-size: 14px;
  font-weight: 700;
  color: #002C5D;
  margin: 0;
  transition: all 0.3s ease;
}

.menu8 {
  font-style: normal;
  font-size: 16px;
  color: #002C5D;
  font-weight: 800;
  transition: transform 0.3s ease;
}

/* ホバー時のアニメーション */
.menu-bottom:hover .menu8 {
  transform: translateX(5px);
}



   @media (max-width: 840px) {
    .menu2-section .container {
        width: 100%;
        padding-left: 10px;
        padding-right: 20px;
        margin-top: -200px;


    }

    .menuul {
      width: 100% !important;
      max-width: none !important;
      margin: 30px 0 !important;
      padding: 0 !important;
  
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
  
    .menuul li {
      width: 100% !important;
      padding: 20px !important;
    }
  }
  
  @media (max-width: 600px) {
  
    .menuul {
      margin: 20px 0 !important;
      gap: 20px;
    }
  
    .menu3 {
      width: 44px;
      height: 44px;
      font-size: 16px;
    }
  
    .menu4 {
      font-size: 18px;
      line-height: 1.4;
    }
  
    .menu5 {
      font-size: 12px;
      margin-bottom: 12px;
    }
  
    .menu6 {
      font-size: 13px;
      line-height: 1.6;
    }
  
    .menu-bottom {
      margin-top: 16px;
    }
  }
  








.company {
  margin: 200px 0 0 0;
  padding: 60px 60px 0 0px;
  position: relative;
  min-height: 800px;
}


.company img {
  width: 80%;
  height: 52%;
  object-fit: cover;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  top: -50px;
}

@media (max-width: 840px) {
  .company img {
    width: 100%;

  }
}

.company1 {
  position: absolute;
  right: 60px;
  top: 20px;
  text-align: center;
  z-index: 5;
}

.company1 .midashi {
  line-height: 1.1;
  font-size: 72px;
  font-weight: 800;
  color: #002C5D;
  margin: 0;
}

.company1 h2 {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-size: 15px;
  font-weight: 800;
  color: #002C5D;
  margin: 10px 0 0;
  text-align: right;
}

.company2 {
  position: absolute;
  right: 60px;
  top: 200px;
  /* company1 の下に配置する高さは調整 */
  width: 40%;
  background: white;
  /* ★背景を白にする */
  padding: 30px;
  /* 任意：余白をつけると綺麗 */
  z-index: 5;
  box-sizing: border-box;
}


.company2-1 {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-size: 20px;
  font-weight: 800;
  color: #002C5D;
  padding-left: 30px;
}

.company2-2 {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 2.2;
  font-size: 15px;
  font-weight: 500;
  color: #002C5D;
  padding-left: 30px;
}

.company2-3 {
  margin-top: 40px;
  position: relative;
  /* ← absolute をやめる */
  display: block;
  /* 左寄せになる（デフォルト） */
}

.circle-company {
  width: 100px;
  height: 100px;
  background-color: white;
  border: 2px solid #002C5D;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 20px 20px -10px lightgray;
  position: relative;
  /* ← absolute を外す */
  margin-left: 0;
  /* 左寄せ（デフォルト） */
}

.circle-company a {
  display: inline-block;
  text-decoration: none;
}

.circle-company i {
  color: #002C5D;
  font-size: 24px;
  font-weight: 700;
}
@media screen and (max-width: 960px) and (min-width: 840px) {
  .company {
    margin-bottom: 200px;
  }
}

@media (max-width: 960px) {
  .company2 {
    position: static;
    /* 絶対配置解除 */
    width: 100%;
    /* 横幅いっぱい */
    padding: 30px 50px;
    /* パディング調整 */
    margin-top: 20px;
    /* 下のセクションとの間隔 */
  }

  .company {
    min-height: auto;
  }
}

@media (max-width: 840px) {
  .company {
    width: 100vw;
    /* 画面幅いっぱい */
    margin-left: calc(50% - 50vw);
    /* 中央寄せの解除（フル幅表示の定番テク） */
    margin-right: calc(50% - 50vw);
    padding: 0;
    margin-top: 0px;
  }

  .company img {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
  }

  .company {
    position: static;
  }

  .company1 {
    position: static;
    width: max-content;
    margin: 0 auto;
    text-align: center;
  }
  .company1 h2 {
    text-align: center;
  }


  .company1 .midashi {
    font-size: 64px;

  }

  .company2 {
    position: static;
    width: 100%;
    padding: 20px 50px;
    /* 指定通り左右50px */
    box-sizing: border-box;
    text-align: left;
    /* 左寄せ */
    font-size: 15px;
    /* 全体の文字サイズ統一 */
    margin-top: -50px;
  }

  .company2-1 {
    font-size: 18px;
    padding-left: 0;
    padding-top: 50px;
  }

  .company2-2 {
    padding-left: 0;
    font-size: 13px;

  }

  /* ボタン（縦並びに自然と入る） */
  .circle-company {
    width: 80px;
    height: 80px;
    margin-top: 20px;
  }
}

/* 600px 以下（スマホ） */
@media (max-width: 600px) {

  /* COMPANY 見出し */
  .company1 {
    margin-right: 0 auto;
    text-align: center;

  }
  .company {
    margin-top: 0;
    margin-bottom: 0;
  }

  .company1 .midashi {
    font-size: 36px;
  }

  .company1 h2 {
    font-size: 16px;
  }

  /* company2 は中央寄せに変更 */
  .company2 {
    padding: 20px 50px;
    text-align: center;
  }

  .company2-1,
  .company2-2 {
    padding-left: 0;
    text-align: left;
  }

  .circle-company {
    margin-left: auto;
    /* ← 中央寄せ */
    margin-right: auto;
  }
}













.case {
  background-color: #002C5D;
  margin-top: -180px;
  padding-bottom: 100px;
}
.case .container {
  padding-left: 100px;
  padding-right: 100px;
}


.case1 {
  margin: 0px 0 60px 0;
  padding-top: 100px;
  max-width: 1380px;
}

.midashi-case {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.1;
  font-size: 72px;
  font-weight: 800;
  color: white;
  margin: 0;
}

.case1 h2 {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-size: 15px;
  font-weight: 800;
  color: white;
  margin: 10px 0 0;
}

.case2 {
  margin: 0 0 70px 0;
  display: flex;
  justify-content: space-between;
  /* 左右に配置 */
  align-items: center;
  /* 上下を揃える */
}

.case2-1 {
  letter-spacing: 0.05em;
  line-height: 2.2;
  font-size: 18px;
  font-weight: 800;
  color: white;
}

.case2-2 {
  margin-top: 0;
  /* flex の中なので不要。必要なら値調整OK */
  position: static;
  /* ← absolute を解除 */
  text-align: right;
}

.circle-case {
  width: 100px;
  height: 100px;
  background-color: #002C5D;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  position: static;
  /* ← absolute を解除 */
}

.circle-case i {
  color: white;
  font-size: 24px;
  font-weight: 700;
}

@media (max-width: 840px) {

  /* caseセクション全体 */
  .case {
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 30px;
    padding-right: 20px;
    padding-left: 20px;
    background-color: #002C5D;
  }
  .case .container {
      padding-left: 5px;
      padding-right: 5px;
    }
  

  /* case1 見出し */
  .case1 {
    padding-top: 20px;
    /* 上余白調整 */
    margin-bottom: 30px;
    /* 下余白 */
    text-align: center;
    /* 文字中央揃え */
  }

  .midashi-case {
    font-size: 36px;
    /* スマホ向けに縮小 */
    line-height: 1.2;
    font-weight: 800;
    color: white;
    margin: 0;
  }

  .case1 h2 {
    font-size: 15px;
    /* スマホ向け */
    line-height: 1.4;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: white;
    margin: 10px 0 0;
  }

  /* case2 の文章と丸矢印を縦並びに中央寄せ */
  .case2 {
    flex-direction: column;
    /* 横並び → 縦並び */
    justify-content: center;
    /* 縦中央揃え */
    align-items: center;
    /* 横中央揃え */
    margin: 0 20px 50px 20px;
    /* 左右余白 & 下余白 */
    text-align: center;
    /* 文字中央 */
  }

  .case2-1 {
    font-size: 13px;
    /* スマホ向け文字サイズ */
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    text-align: left;
  }

  /* 丸矢印を中央寄せ */
  .case2-2 {
    text-align: center;
    position: relative;
    /* absolute を解除済み */
    margin-bottom: -50px;
  }

  .circle-case {
    display: inline-block;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 80px;
    height: 80px;
  }
}

/* Swiper 全体 */
.mySwiper {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 50px 0;
  position: relative;
}

/* スライドを覗き見できる設定 */
.swiper-wrapper {
  padding: 20px 0;
  /* 上下の余白（影や立体感を出す） */
}

.swiper-slide {
  width: 500px !important;
  /* 1枚の幅 */
  transition: transform 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 5%;
  background: rgb(49, 47, 47);
}

/* 中央スライドを少し大きく見せる */
.swiper-slide-active {
  transform: scale(1.05);
}

/* 画像 */
.swiper-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* テキスト */
.slide-letter p {
  color: #fff;
  margin: 3px 0;
}

/* ナビゲーションボタン */
.swiper-button-next,
.swiper-button-prev {
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  color: #fff;
  bottom: 20px;
}

.swiper-button-prev {
  right: 80px;
}

.swiper-button-next {
  right: 20px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
}

@media (max-width: 480px) {

  /* スライダー全体の左右余白を減らす */
  .mySwiper {
    padding: 20px 0;
  }

  /* スライド幅をスマホに最適化 */
  .swiper-slide {
    width: 260px !important;
    /* ← 320px画面で覗き見ができる最適幅 */
    padding: 10px;
    border-radius: 12px;
  }

  /* 中央の拡大率を調整（大きすぎると横にはみ出すため） */
  .swiper-slide-active {
    transform: scale(1.03);
  }

  /* 画像高さを縮める（縦長画面で圧迫しない） */
  .swiper-slide img {
    height: 190px;
    border-radius: 8px;
  }

  /* テキストのサイズ調整 */
  .slide-letter p {
    font-size: 11px;
    line-height: 1.3;
  }

  /* ナビボタンを少し小さく */
  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
    bottom: 5px;
  }

  .swiper-button-prev {
    right: 60px;
  }

  .swiper-button-next {
    right: 15px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 14px;
  }
}

/* スマホ用 */
@media (max-width: 839px) {
  .swiper-slide {
    width: 100% !important;
    padding: 10px;
  }

  .swiper-slide img {
    height: 200px;
  }

}










.plan-wrap {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  /* 画面幅が狭いときは自動で折り返し */
  background-color: #EEEEEE;
  padding: 60px 30px;
  margin-top: 150px;
}

.plan-card {
  width: 380px;
  border-radius: 4px;
  margin: 0 20px 0 20px;
  padding: 60px 40px 40px 40px;
  box-sizing: border-box;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

.plan-inner h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: #333333;
  margin-bottom: 20px !important;
  margin-top: -10px;
}

.plan-inner * {
  margin: 0 !important;
  padding: 0 !important;
}

.price {
  font-family: 'Noto Sans JP', sans-serif;
  display: flex;
  align-items: baseline;
  /* 金額の下のラインを揃える*/
  margin: 20px 0 !important;
  padding: 0;
  padding: 0 4px 0 11px;
  gap: 15px
}

.en {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
  font-size: 20px;
  font-weight: 400;
  color: #282828;
  padding-right: 10px;
}

.kingaku {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
  font-size: 72px;
  font-weight: 700;
  color: #111111;
}

.manen {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
  font-size: 18px;
  font-weight: 400;
  color: #333333;
}

.price-ex {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.2;
  font-size: 16px;
  font-weight: 400;
  color: #777777;
  margin-top: 20px !important;
}

.plan-inner3 {
  margin-top: 0;
}

.plan-inner2 {
  margin-top: 60px;
}

.features div {
  display: flex;
  align-items: center;
  /* i と p を縦方向中央揃え */
  margin-bottom: 10px !important;
}

.features i {
  font-family: 'Noto Sans JP', sans-serif;
  margin-right: 10px;
  font-size: 18px;
  color: #111111;
  font-weight: lighter;
  font-size: 0.9em;
  font-weight: 300;
}

.features div {
  display: flex;
  align-items: center;
  margin-bottom: 20px !important;
  /* div同士の間隔 */
}

.features div p {
  margin: 0 !important;
  /* pタグの余白をリセット */
}

.hoso {

  line-height: 1.2;
  font-size: 18px;
  font-weight: 300;
  color: #111111;
}

.futo {
  font-family: "Meiryo",sans-serif;
  line-height: 1.2;
  font-size: 18px;
  font-weight: 900;
  color: #111111;
}

.cta-btn {
  font-family: 'Noto Sans JP', sans-serif;
  padding: 10px 20px;
  align-self: flex-start;
  margin-top: 20px;
  display: inline-block;
  text-decoration: none;
  background: #000;
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  transition: transform 0.25s ease, background 0.25s ease;
}

.cta-btn:hover {
  transform: scale(1.06);
  /* ← ホバー時に拡大 */
  background: #222;
  /* ほんのり明るく（不要なら削除OK） */
}

.cta-btn p {
  margin: 0;
  padding: 0;
  display: inline;
}

@media (max-width: 840px) {

  .plan-wrap {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    margin-top: 80px;
  }

  .plan-card {
    width: 100%;
    max-width: 380px;
    margin: 0;
  }

  .cta-btn {
    align-self: center;
  }

}
@media (max-width: 430px) {

  .plan-wrap {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 30px;
    margin-top: 50px;
    margin-bottom: 30px;
  }
  .plan-card {
    margin: 0 20px 0 0px;
    padding: 30px 20px 20px 20px;
  }
  .plan-inner {
    margin: 0 auto;
  }
  .plan-inner h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px !important;
    margin-top: -10px;
  }
  
  .price {
    display: flex;
    align-items: baseline;
    margin: 20px 0 !important;
    padding: 0;
    gap: 10px;
  }

  .price p {
    margin: 0;
  }
  .en {
    line-height: 1;
    font-size: 20px;
    font-weight: 400;

  }
  
  .kingaku {
    line-height: 1;
    font-size: 60px;
    font-weight: 700;

  }
  
  .manen {
    line-height: 1;
    font-size: 18px;
    font-weight: 400;

  }
  
  .price-ex {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.2;
    font-size: 13px;
    font-weight: 400;
    color: #777777;
    margin-top: 5px !important;
    margin-bottom: 30px !important;
  }
  
  .plan-inner3 {
    margin: 0 auto;
  }
  
  .plan-inner2 {
    margin: 0 auto;
  }

  .features i {
    font-size: 14px;
  }
  
  .features div {
    margin-bottom: 15px !important;

  }

  .hoso {

    line-height: 1.2;
    font-size: 15px;
    font-weight: 300;
    color: #111111;
  }
  
  .futo {
    font-family: "Meiryo",sans-serif;
    line-height: 1.2;
    font-size: 15px;
    font-weight: 900;
    color: #111111;
  }
  
  .cta-btn {
    text-align: center;
    margin-bottom: 10px;
  }
}


.news {
  margin: 110px 0 110px 0;
  padding: 0 60px 0 60px;
  text-align: center;
}

.news-title {
  margin: 9px 0 60px 0;
  text-align: center;
  width: 100%;
}

.news-l {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.1;
  font-size: 72px;
  font-weight: 800;
  color: #002C5D;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.news-title h2 {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-size: 16px;
  font-weight: 800;
  color: #002C5D;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 840px) {

  .news {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    margin-top: 10px;
    margin-bottom: 70px;
  }

  .news-title {
    width: 100%;
    /* 45% を解除 */
    margin: 0 auto;
    /* 中央配置 */
    padding: 20px 0;
    box-sizing: border-box;
  }

  .news-l {
    font-size: 64px;
  }

  .news-title h2 {
    font-size: 15px;
  }
}

@media (max-width:600px) {
  .news-l {
    font-size: 36px;
  }
}






.news-ul {
  list-style: none;
  display: inline-block;
  /* 横幅を内容分だけにして中央に置けるように */
  text-align: left;
  margin: 0 auto;
  padding: 0;
}

.news-ul li {
  display: flex;
  align-items: center;
  gap: 40px;
  /* 3項目の間隔を40px */
  padding: 20px 0;
  /* 上下の間隔を40px */
  text-decoration: none;
  cursor: pointer;
}

.nengappi {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
  line-height: 1.4;
  font-size: 13px;
  font-weight: 500;
  color: #888888;
}

.cate {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
  line-height: 1.4;
  font-size: 11px;
  font-weight: 500;
  color: #FFFF;
  padding: 4px 8px;
  border-radius: 2px;
  background-color: #000;
  display: inline-block;
}

.ultitle {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
  line-height: 1.4;
  font-size: 13px;
  font-weight: 500;
  color: #222222;
  text-decoration: none;
  cursor: pointer;
}

.circle-news {
  width: 100px;
  height: 100px;
  background-color: white;
  border: 2px solid #002C5D;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0px 20px 20px -10px lightgray;
  /* ▼ これが中央寄せのポイント */
  margin: 40px auto 0 auto;
  position: relative;
}

.circle-news a {
  display: inline-block;
  text-decoration: none;
}

.circle-news i {
  color: #002C5D;
  font-size: 24px;
  font-weight: 700;
}










.recruit {
  margin: 0 0 120px 0;
  padding: 60px;
  position: relative;
}

.recruit img {
  width: 80%;
  height: 70%;
  object-fit: cover;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  top: -50px;
}

.recruit-text {
  width: 45%;
  position: relative;
  z-index: 5;
  background: transparent;
  /* 背景画像は削除 */
}

.recruit1 .midashi {
  line-height: 1.1;
  font-size: 72px;
  font-weight: 800;
  color: #002C5D;
  margin: 0;
}

.recruit1 h2 {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-size: 15px;
  font-weight: 800;
  color: #002C5D;
  margin: 10px 0 20px;
}

.recruit2 {
  background: white;
  padding: 30px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.recruit2-1 {
  letter-spacing: 0.2em;
  font-size: 20px;
  font-weight: 800;
  color: #002C5D;
}

.recruit2-2 {
  line-height: 2.2;
  font-size: 15px;
  font-weight: 500;
  color: #002C5D;
}

.circle-recruit {
  width: 100px;
  height: 100px;
  background-color: white;
  border: 2px solid #002C5D;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  /* recruit2 と画像の下辺からの距離 */
  box-shadow: 0px 20px 20px -10px lightgray;
}

.circle-recruit a {
  text-decoration: none;
}

.circle-recruit i {
  color: #002C5D;
  font-size: 24px;
  font-weight: 700;
}

@media (max-width: 840px) {

  .recruit {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
  }

  .recruit img {
    width: 100%;
    height: auto;
    position: static;
    display: block;
  }

  /* ★ ここが一番重要 */
  .recruit-text {
    width: 100%;
    /* 45% を解除 */
    margin: 0 auto;
    /* 中央配置 */
    padding: 20px 0;
    box-sizing: border-box;
  }

  .recruit1 {
    text-align: center;
  }

  .recruit1 .midashi {
    font-size: 64px;
  }

  .recruit2 {
    width: 100%;
    margin: 20px auto 0;
    padding: 20px 50px;
    text-align: center;
    box-sizing: border-box;
  }

  .recruit2-1 {
    font-size: 15px;
    padding-left: 0;
  }

  .recruit2-2 {
    font-size: 15px;
    padding-left: 0;
  }

  .circle-recruit {
    width: 80px;
    height: 80px;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .recruit1 {
    margin-right: 20px;
    text-align: right;
  }

  .recruit1 .midashi {
    font-size: 36px;
  }

  .recruit1 h2 {
    font-size: 16px;
  }

  .recruit2 {
    padding: 20px 50px;
    text-align: center;
    /* ← 中央寄せに */
  }

  .recruit2-1,
  .recruit2-2 {
    padding-left: 0;
    text-align: center;
    /* ← スマホで読みやすく */
  }

  .circle-recruit {
    margin-left: auto;
    /* ← 中央寄せ */
    margin-right: auto;
  }
}





.kaishagaiyo-top {
  position: relative;
  width: 100%;
  height: 420px;
  /* 好きな高さに変更 */
  background-image: url('img/companytop.jpeg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 840px) {
  .kaishagaiyo-top {
    width: 100%;
    height: 230px;
  }
}

/* 紺色の透過オーバーレイ */
.kaishagaiyo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 44, 93, 0.5);
  /* 紺色 + 透明度50% */
  z-index: 1;
}

/* 黒色の透過オーバーレイ */
.kuro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}


/* 白いテキスト */
.kaishagaiyo-top-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  /* オーバーレイより前 */
  font-family: 'Noto Sans JP', sans-serif;
}

.kaku-title {
  color: white;
  font-size: 64px;
  font-weight: 800;
  line-height: 110%;
  margin-bottom: 5px;
}

.kaku-subtitle {
  color: white;
  font-size: 24px;
  font-weight: 800;
  line-height: 140%;
  margin-top: 0px;
}

.kaishagaiyo-top-text {
  max-width: 1380px;
  /* サイトの横幅 */
  margin: 0 auto;
  /* 左右中央揃え */
  padding: 200px 60px 60px 60px;
  box-sizing: border-box;
}

@media (max-width: 840px) {
  .kaku-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 110%;
    margin-bottom: 0px;

  }

  .kaku-subtitle {
    font-size: 15px;
    font-weight: 600;
    line-height: 140%;
    margin-top: 0px;
  }

  .kaishagaiyo-top-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    /* オーバーレイより前 */
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
  }
}

.kaku-bar {
  background-color: #002C5D;
  width: 100%;
  padding: 10px 60px;
  text-align: left;
}

.kaku-bar a {
  color: white;
  font-size: 12px;
  font-weight: 500;
  line-height: 120%;
  text-decoration: none;
}

.kaku-bar p {
  color: white;
  font-size: 12px;
  font-weight: 500;
  line-height: 120%;
}

.kaku-bar a:hover {
  color: lightgray;
}
.kaku-bar p,
.kaku-bar a {
  line-height: 1;
}

@media (max-width: 840px) {
  .kaku-bar {
    background-color: #002C5D;
    width: 100%;
    padding: 12px 30px;
    text-align: left;
  }

  .kaku-bar a {
    color: white;
    font-size: 10px;
    font-weight: 500;
    line-height: 120%;
    text-decoration: none;
  }

  .kaku-bar p {
    color: white;
    font-size: 10px;
    font-weight: 500;
    line-height: 120%;
  }
}


.kaku-barkuro {
  background-color: black;
  width: 100%;
  padding: 10px 60px;
  text-align: left;
}

.kaku-barkuro a {
  color: white;
  font-size: 12px;
  font-weight: 500;
  line-height: 120%;
  text-decoration: none;
}

.kaku-barkuro p {
  color: white;
  font-size: 12px;
  font-weight: 500;
  line-height: 120%;
}

.kaku-barkuro a:hover {
  color: lightgray;
}
.kaku-barkuro p,
.kaku-barkuro a {
  line-height: 1;
}

@media (max-width: 840px) {
  .kaku-barkuro {
    background-color: black;
    width: 100%;
    padding: 12px 30px;
    text-align: left;
  }

  .kaku-barkuro a {
    color: white;
    font-size: 10px;
    font-weight: 500;
    line-height: 120%;
    text-decoration: none;
  }

  .kaku-barkuro p {
    color: white;
    font-size: 10px;
    font-weight: 500;
    line-height: 120%;
  }
}

.message-textsection {
  width: 100%;
  max-width: 1380px;
  padding: 0px;
  margin: 0 auto;
  text-align: center;
}

.message-title-wrap {
  position: relative;
  width: 100vw;
  /* 画面幅基準 */
  margin-left: calc(50% - 50vw);
  /* paddingの影響を打ち消す */
  margin-bottom: 40px;
  display: grid;
  place-items: center;
  text-align: center;
}


.message {
  color: #F0F0F0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;

}

.message-ue {
  color: black;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

@media (max-width: 840px) {
  .message-textsection {
    padding-left: 0;
    padding-right: 0;
  }

  .message {
    font-size: 34px;
  }

  .message-ue {
    font-size: 22px;
    white-space: nowrap;
    text-align: center;
  }
}

.message-text {
  color: #333333;
  font-size: 16px;
  font-weight: 300;
  line-height: 220%;
  max-width: 900px;
  margin: 0 20px;
  text-align: left;
  margin-bottom: 80px;
}

@media (max-width: 840px) {
  .message-text {
    width: 100%;
    padding: 0 25px;
    margin: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
  }
}

.kaishagaiyo-messageimg {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 840px) {
  .kaishagaiyo-messageimg {
    width: 90%;
    height: 250px;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
  }
}

/* PC（840px以上） */
@media (min-width: 841px) {

  .message-text {
    margin-left: 50px;
    margin-right: 50px;
  }

  .kaishagaiyo-messageimg {
    margin-left: 30px;
    margin-right: 30px;
    width: calc(100% - 60px);
    /* はみ出し防止 */
  }

}

/* SP（840px以下） */
@media (max-width: 840px) {

  .message-text {
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
  }

  .kaishagaiyo-messageimg {
    width: calc(100% - 40px);
    height: 250px;
    margin: 0 auto;
    display: block;
  }

}


.profile {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #F5F5F5;
  /* 薄いグレー */
  padding: 50px 0;
}

.access-map {
  padding-top: 60px;
}

.kaku-title-l {
  width: 100%;
  max-width: 600px;
  /* 好みで調整 */
  margin: 0 auto;
  /* 中央配置 */
  text-align: center;
  /* 中の文字も中央 */
}

/* 表全体（中央寄せ） */
.profile-hyo {
  width: 60%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 60px;
  border-radius: 10px;
  margin-top: 0px;
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
}

/* 各段（下線つき） */
.profile-hyo .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  /* 左200px、右自動 */
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid lightgray;
}

/* 左側のタイトル列 */
.profile-hyo .left {
  font-weight: 700;
  color: black;
  text-align: left;
  font-size: 14px;
}

/* 右側の内容列 */
.profile-hyo .right {
  color: #333;
  line-height: 1.6;
  text-align: left;
  font-size: 14px;
}

.kaku-title-m {
  font-size: 48px;
  font-weight: 800;
  line-height: 110%;
  margin-bottom: 0;
}

.kaku-title-s {
  font-size: 16px;
  font-weight: 800;
  line-height: 140%;
  letter-spacing: 0.2em;
  margin-top: 20px;
  margin-bottom: 50px;
}

.photo-crop {
  width: 1300px;
  height: 300px;
  overflow: hidden;
  /* 枠からはみ出した部分を隠す */
  position: relative;
  display: block;
  /* これが重要 */
  margin: 0 auto;
}

.photo-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 中央部分を切り抜く */
  object-position: center;
  /* 写真の中央を表示 */
  transform: scale(0.5);
  /* 写真を半分に縮小 */
}

.profile-img-wrap {
  position: relative;
  /* これが絶対に必須！！ */
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding-bottom: 470px;
}

@media (max-width: 840px) {

  /* セクション全体 */
  .profile {
    padding: 40px 0;
  }

  /* タイトル */
  .kaku-title-m {
    font-size: 32px;
  }

  .kaku-title-s {
    font-size: 14px;
    margin-bottom: 30px;
  }

  /* 写真エリア */
  .photo-crop {
    width: 90%;
    height: 200px;
    margin: 0 auto 20px;
  }

  .photo-crop img {
    transform: scale(1);
    /* スマホでは縮小しない */
  }

  /* 画像＋表のラッパー */
  .profile-img-wrap {
    padding-bottom: 0;
    /* PC用の余白を解除 */
  }

  /* 表全体 */
  .profile-hyo {
    position: static;
    /* absolute を解除 */
    transform: none;
    width: 85%;
    margin: 0 auto;
    padding: 20px 16px;
    background: white;
    border-radius: 12px;
  }

  /* 各行 */
  .profile-hyo .row {
    grid-template-columns: 1fr;
    /* 縦並び */
    gap: 8px;
    padding: 12px 0;
  }

  .profile-hyo .left {
    font-size: 13px;
    font-weight: 700;
  }

  .profile-hyo .right {
    font-size: 13px;
    line-height: 1.6;
  }
}

.map-wrap {
  max-width: 1380px;
  margin: 0 auto;
}

.access-map {
  margin-bottom: 120px;
}

.map {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: nowrap;
  /* ←絶対に折り返さない */
}

/* 地図エリア */
.map-left {
  width: 70%;
  min-width: 800px;
}

.map-left iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* 文章エリア */
.map-right {
  width: 30%;
  min-width: 280px;
}

.honshashisha {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 20px;
  padding-top: 40px;
  letter-spacing: 0.2em;
}

.map-adress {
  font-size: 14px;
}

@media (max-width: 840px) {

  /* 全体を縦並びにする */
  .map {
    flex-direction: column;
    gap: 24px;
    flex-wrap: wrap;
    /* ← nowrapを上書き */
  }

  /* 地図エリア */
  .map-left {
    width: 100%;
    min-width: auto;
    /* ← PCのmin-widthを解除 */
  }

  .map-left iframe {
    width: 100%;
    height: 300px;
    /* スマホ用高さ */
  }

  /* 文章エリア */
  .map-right {
    width: 100%;
    min-width: auto;
    /* ← 解除 */
    padding: 0 20px;
    /* 左右余白 */
    box-sizing: border-box;
  }

  .honshashisha {
    padding-top: 0;
    padding-bottom: 12px;
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .map-adress {
    font-size: 14px;
    line-height: 1.7;
  }

  /* 全体の左右余白 */
  .map-wrap {
    padding: 0 20px;
    box-sizing: border-box;
  }
}




.case-top {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w2MzQ2fDB8MXxzZWFyY2h8MTF8fGNvbXBhbnl8ZW58MHx8fHwxNjk4MTEwMTU1fDA&ixlib=rb-4.0.3&q=80&w=1080');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 840px) {
  .case-top {
    height: 230px;
  }
}

.casepage {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
  margin-bottom: 100px;
}

.case-list {
  font-family: 'Noto Sans JP', sans-serif;
  padding: 8px 15px;
  align-self: flex-start;
  margin-top: 20px;
  display: inline-block;
  text-decoration: none !important;
  border: 1px solid black;
  text-align: center;
  color: black !important;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  margin: 0 5px 20px 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.case-list a,
.case-list a:link,
.case-list a:visited,
.case-list a:hover,
.case-list a:active {
  text-decoration: none;
  color: black;
}

.case-list a:hover {
  color: lightgray;
}

.case-categorys {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 100px;
  margin-bottom: 15px;
}

.case-category {
  font-size: 12px;
  font-weight: 800;
}

.case-category-2 {
  font-size: 10px;
}

.case-lists {
  padding: 0;
  margin: 20px 0px;
}

.case-lists li {
  list-style: none;
}








.service-top {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w2MzQ2fDB8MXxzZWFyY2h8Mnx8b2ZmaWNlfGVufDB8fHx8MTY5NzU5MzYwMHww&ixlib=rb-4.0.3&q=80&w=1080');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 840px) {
  .service-top {
    width: 100%;
    height: 230px;
  }
}

.servicepage {
  max-width: 1380px;
  margin: 0 auto;
  /* 画面中央に配置 */
  padding: 0 40px;
  /* 画面端の余白（任意） */
  box-sizing: border-box;
}

.service-p {
  font-size: 18px;
  color: #002C5D;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 220%;
  text-align: left;
  margin-top: 120px;
  margin-bottom: 120px;
  padding: 0 60px;
}

.service-menuul {


  align-items: stretch;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0 20px;
  margin: 60px auto;
  max-width: 1280px;
  gap: 40px;
  box-sizing: border-box;
}

.servicemenu-main {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}

.servicemenu-image {
  width: 350px;
  /* 画像エリア幅 */
  flex-shrink: 0;
  /* 縮まないように */
}

.servicemenu-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-menuul li {
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  /* 縦並び（上:コンテンツ / 下:リンク） */
  justify-content: space-between;
  /* 上下に分ける */
}

/* 数字と本文を横並びに */
.servicemenu-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.servicemenu3 {
  width: 60px;
  height: 60px;
  background-color: #002C5D;
  border-bottom-right-radius: 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.servicemenu-text-content {
  display: flex;
  flex-direction: column;
}

.servicemenu4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: #002C5D;
  margin-bottom: -8px;
}

.servicemenu5 {
  font-family: 'Yu Gothic', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #002C5D;
  margin-bottom: 10px;
  line-height: 1.4;
}

.servicemenu6 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #888;
  line-height: 1.8;
  margin-bottom: 20px;
}

.servicemenu-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  /* menu7とmenu8の間隔 */
  margin-top: 20px;
  margin-left: calc(60px + 16px);
}

.servicemenu7 {
  font-size: 14px;
  font-weight: 700;
  color: #002C5D;
  margin: 0;
  transition: all 0.3s ease;
}

.servicemenu8 {
  font-style: normal;
  font-size: 16px;
  color: #002C5D;
  font-weight: 800;
  transition: transform 0.3s ease;
}

.servicemenu-bottom a:hover .servicemenu8 {
  transform: translateX(5px);
}

.servicemenu-bottom a:hover .servicemenu7,
.servicemenu-bottom a:hover .servicemenu8 {
  color: #999;
}

.servicemenu-bottom a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 840px) {

  /* 説明文 */
  .service-p {
    font-size: 15px;
    padding: 0 26px;
    margin: 0 0 60px;
  }

  /* li を基準にする（数字を重ねるため） */
  .service-menuul li {
    position: relative;
    padding: 0;
  }

  /* 全体を縦並び */
  .servicemenu-main {
    display: flex;
    flex-direction: column;
  }

  /* 画像を一番上 */
  .servicemenu-image {
    width: 100%;
    order: 1;
  }

  .servicemenu-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 数字を画像左上に重ねる */
  .servicemenu3 {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 56px;
    height: 56px;
    background-color: #002C5D;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  /* テキストは画像の下に */
  .servicemenu-header {
    order: 2;
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }

  .servicemenu-text-content {
    display: block;
  }

  /* 「詳しくはこちら →」 */
  .servicemenu-bottom {
    order: 3;
    margin: 0 20px 24px;
    justify-content: flex-start;
  }
}
@media (max-width: 430px) {
  .servicepage {
    padding: 0 30px;

  }
  /* 説明文 */
  .service-p {
    font-size: 15px;
    padding: 20px 26px;
    margin: 0 0 20px;
  }
  .service-menuul {
    padding: 0;
    margin: 0 auto;
    gap: 30px;
  }
  .servicemenu4 {
    margin-top: -20px;
  }
  
  
}

.news-top {
  position: relative;
  width: 100%;
  height: 420px;
  /* 好きな高さに変更 */
  background-image: url('https://images.unsplash.com/photo-1495020689067-958852a7765e?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w2MzQ2fDB8MXxzZWFyY2h8MXx8bmV3c3xlbnwwfHx8fDE2OTgxNTI5MjJ8MA&ixlib=rb-4.0.3&q=80&w=1080');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 840px) {
  .news-top {
    width: 100%;
    height: 230px;
  }
}


.digital {
  padding-left: 60px;
  padding-right: 60px;
  box-sizing: border-box;
}

.digital-title {
  font-size: 20px;
  font-weight: 800;
}

.digital-img {
  width: 90%;
  height: 52%;
}

.message-digital {
  font-size: 32px;
  font-weight: 800;
  text-align: left;
  padding-left: 60px;
  padding-right: 60px;
  box-sizing: border-box;
}

.message-dtext {
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  font-size: 15px;
  color: #333;
  padding-left: 60px;
  padding-right: 60px;
  box-sizing: border-box;
  text-align: left;
}

.digital-list {
  margin: 0;
  padding-left: 1.2em;
  list-style: none;
}

.digital-list li {
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 15px;
  color: #333;
}

.digital-list li strong {
  font-weight: 700;
}

@media (max-width: 840px) {
  .digital {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .digital-title {
    font-size: 20px;
    font-weight: 800;
  }

  .digital-img {
    width: 90%;
    height: 52%;
  }

  .message-digital {
    font-size: 20px;
    font-weight: 800;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .message-dtext {
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 13px;
    color: #333;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    text-align: left;
  }

  .digital-list {
    margin: 0;
    padding-left: 1.2em;
  }

  .digital-list li {
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 13px;
    color: #333;
  }

  .digital-list li strong {
    font-weight: 800;
  }

}

.custom-table {
  width: 100%;
  max-width: 600px;
  min-width: 360px;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  font-weight: 200;
  line-height: 1.4;
}

/* 列幅比率（1.5 : 2 : 1 : 1.5） */
.custom-table colgroup col:nth-child(1) {
  width: 25%;
}

.custom-table colgroup col:nth-child(2) {
  width: 33.33%;
}

.custom-table colgroup col:nth-child(3) {
  width: 16.67%;
}

.custom-table colgroup col:nth-child(4) {
  width: 25%;
}

/* 枠線 */
.custom-table th,
.custom-table td {
  border: 1px solid #f2f2f2;
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

/* 1段目の背景 */
.custom-table thead th {
  background-color: #f7f7f7;
}




.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* PC：3列 */
  gap: 30px;
  padding: 0 60px;
  /* 左右余白 */
  list-style: none;
  margin: 0 auto;
  max-width: 1380px;
}

/* 記事カード */
.post-card {
  background: #F5F5F5;
  /* グレー背景 */
  border: 1px solid #ddd;
  padding: 24px;
  box-sizing: border-box;
}

/* ダミー用（将来消してOK） */
.post-card.is-dummy {
  opacity: 0.8;
}

/* サムネイル */
.post-thumb {
  background: #e0e0e0;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: #999;
  margin-bottom: 16px;
}

/* タイトル */
.post-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

/* 概要文 */
.post-excerpt {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 840px) {
  .post-list {
    grid-template-columns: repeat(2, 1fr);
    /* 2列 */
    gap: 20px;
    padding: 0 20px;
    /* スマホ左右余白 */
  }

  .post-thumb {
    height: 120px;
    font-size: 14px;
  }

  .post-title {
    font-size: 14px;
  }

  .post-excerpt {
    font-size: 13px;
  }
}




.post-list-vertical {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 0 60px;
}

.post-list-vertical {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 0 60px;
}

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

.post-item {
  padding: 30px 0;

}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.post-category {
  font-weight: 700;
  color: #fff;
  background: #000;
  padding: 2px 8px;
  font-size: 10px;
  display: inline-block;
  line-height: 1.4;
}

.post-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #000;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: lightgray;
  margin: 0;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* ← 3行まで */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.more-banner {
  display: block;
  margin: 50px auto 0;
  width: 280px;
  padding: 16px 0;
  background: #000;
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2em;
  border-radius: 10px;
}

.jireiichiran {
  font-size: 16px;
  font-weight: 800;
  text-align: right;
  padding-right: 60px;
  padding-top: 70px;
}

/* 通常状態 */
.jireiichiran a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* 訪問済み */
.jireiichiran a:visited {
  color: #000;
}

/* ホバー時 */
.jireiichiran a:hover {
  color: #888;
  text-decoration: underline;
}

/* クリック中 */
.jireiichiran a:active {
  color: #888;
}


@media (max-width: 840px) {
  .post-list-vertical {
    padding: 0 20px;
  }

  .post-title {
    font-size: 16px;
  }

  .post-meta {
    font-size: 13px;
  }

  .post-excerpt {
    font-size: 13px;
  }

  .more-banner {
    width: 100%;
  }
}


.notfound-top {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: rgb(84, 81, 81);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 840px) {
  .notfound-top {
    width: 100%;
    height: 230px;
  }
}

.notfound-ex {
  font-size: 15px;
  text-align: center;
}

.news-archive {
  padding: 0 50px;
}


.news-list {
  list-style: none;
  padding: 0;
}

.news-item {
  margin-bottom: 20px;

}

.news-item a {
  display: block;
  text-decoration: none;
}

.news-title {
  font-size: 18px;
}






.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;

  max-width: 1380px;
  margin: 0 auto;

  padding-left: max(20px, 5vw);
  padding-right: max(20px, 5vw);
  padding-bottom: 50px;
}


.post-card {
  background: #fff;
}

.post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-thumb img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 50px;
}

.post-title {
  font-weight: bold;
  margin: 75px 0 10px;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.6;
}

.post-card {
  overflow: hidden;
  /* はみ出し防止 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 画像だけ少し拡大 */
.post-thumb img {
  transition: transform 0.4s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.08);
}

@media screen and (max-width: 1080px) {
  .post-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 840px) {
  .post-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.post-card a {
  display: block;
  height: 100%;
}

.category-title {
  text-align: center;
  font-size: 25px;
  padding-top: 100px;
  padding-bottom: 30px;
}

.category-description {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.case-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin: 60px 0 40px;
}

.case-content {
  max-width: 800px;
  margin: 0 auto 100px;
  font-size: 16px;
  line-height: 1.9;
}

.case-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
}

.case-content p {
  margin-bottom: 1.8em;
}

.full-line {
  width: 100vw;
  /* 画面幅いっぱい */
  margin-left: calc(50% - 50vw);
  /* 中央基準から画面端へ */
  border: none;
  border-top: 2px solid black;
  /* 線の色・太さ */
  margin-top: 100px;
  margin-bottom: 60px;
}



/* ===== 全体幅制御 ===== */
.news-archive {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== リスト ===== */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
}

.news-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ===== 日付・カテゴリ ===== */
.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.news-meta time {
  font-size: 10px;
  color: #999;
}

.news-category {
  font-size: 10px;
  color: #fff;
  background: #000;
  padding: 2px 6px;
  line-height: 1;
}

/* ===== タイトル ===== */
.news-title {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  margin: 4px 0;
  text-align: left;
}

/* ===== 抜粋 ===== */
.news-excerpt {
  font-size: 10px;
  color: #aaa;
  line-height: 1.6;

  /* 2行で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== ページネーション ===== */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 10px;
  font-size: 12px;
  color: #000;
  border: 1px solid #ccc;
  text-decoration: none;
}

.pagination .current {
  background: #000;
  color: #fff;
}


.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  text-decoration: none;
}

.singlenews-meta {
  display: flex;
  justify-content: center;
  /* 横中央 */
  align-items: center;
  gap: 8px;
  margin-top: 100px;
  margin-bottom: 20px;
}


.singlenews-meta time {
  font-size: 15px;
  color: #999;
}

.singlenews-category {
  font-size: 12px;
  color: #fff;
  background: #000;
  padding: 2px 6px;
  line-height: 1;
  border-radius: 2px;
}

.singlenews-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 840px) {
  .singlenews-meta {
    margin-top: 60px;
  }

  .singlenews-title {
    font-size: 18px;
  }
}







.recruitpage-top {
  position: relative;
  width: 100%;
  height: 420px;
  /* 好きな高さに変更 */
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w2MzQ2fDB8MXxzZWFyY2h8N3x8cmVjcnVpdHxlbnwwfHx8fDE2OTgxNTQ4NjJ8MA&ixlib=rb-4.0.3&q=80&w=1080');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

@media (max-width: 840px) {
  .recruitpage-top {
    width: 100%;
    height: 230px;
  }
}



.recruit-mk {
  background-color: lightgrey;
}

.recruit-topmessage {
  margin: 50px 0 0 0;
  padding: 100px 60px 50px 60px;
  position: relative;

}

@media (max-width: 960px) {
  .recruit-topmessage {

    padding-top: 0px;
    margin-top: 0px;
  }
}


.recruit-kasane {
  position: relative;
  padding-bottom: 150px;
}

.recruit-kasane img {
  width: 80%;
  height: 52%;
  object-fit: cover;
  left: 0;
  bottom: 0;
  z-index: 1;
  top: -50px;
}

@media (max-width: 840px) {
  .recruit-topmessage img {
    width: 100%;

  }
}

.recruit-topmessage2 {
  position: absolute;
  right: 60px;
  top: 200px;
  width: 40%;
  background: white;
  /* ★背景を白にする */
  padding: 30px;
  /* 任意：余白をつけると綺麗 */
  z-index: 5;
  box-sizing: border-box;
}


.recruit-topmessage2-1 {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.2em;
  line-height: 1.4;
  font-size: 16px;
  font-weight: 800;
  color: black;
  padding-left: 30px;
}

.recruit-topmessage2-2 {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 2.2;
  font-size: 12px;
  font-weight: 500;
  color: black;
  padding-left: 30px;
}


@media (max-width: 960px) {
  .recruit-topmessage2 {
    position: static;
    /* 絶対配置解除 */
    width: 100%;
    /* 横幅いっぱい */
    padding: 30px 50px;
    /* パディング調整 */
    margin-top: 20px;
    /* 下のセクションとの間隔 */
  }

  .recruit-topmessage {
    min-height: auto;
  }
}

@media (max-width: 840px) {
  .recruit-topmessage {
    width: 100vw;
    /* 画面幅いっぱい */
    margin-left: calc(50% - 50vw);
    /* 中央寄せの解除（フル幅表示の定番テク） */
    margin-right: calc(50% - 50vw);
    padding: 0;
    margin-top: 0px;
  }

  .recruit-topmessage img {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    display: block;
  }

  .recruit-topmessage {
    position: static;
  }

  .recruit-topmessage1 {
    position: static;
    width: max-content;
    margin: 0 auto;
    /* ★ 要素自体を中央に */
    text-align: center;
    /* 文字も中央 */
  }

  .recruit-topmessage2 {
    position: static;
    width: 100%;
    padding: 20px 50px;
    /* 指定通り左右50px */
    box-sizing: border-box;
    text-align: left;
    /* 左寄せ */
    font-size: 15px;
    /* 全体の文字サイズ統一 */
    margin-top: -50px;
  }

  .recruit-topmessage2-1 {
    font-size: 18px;
    padding-left: 0;
    padding-top: 50px;
  }

  .recruit-topmessage2-2 {
    padding-left: 0;
  }
}

/* 600px 以下（スマホ） */
@media (max-width: 600px) {


  /* company2 は中央寄せに変更 */
  .recruit-topmessage2 {
    padding: 20px 50px;
    text-align: center;
    /* ← 中央寄せに */
  }

  .recruit-topmessage2-1,
  .recruit-topmessage2-2 {
    padding-left: 0;
    text-align: left;
  }
}



.staff-section {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
}

.staff-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
}

/* PC：2列 */
.staff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.staff-item {
  text-align: left;
  /* ← ここ重要 */
}

/* 四角い写真 */
.staff-item img {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 16px;
}

/* 名前 */
.staff-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* 役職 */
.staff-role {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

/* 文章 */
.staff-text {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

/* スタッフ1人分の幅を統一 */
.staff-item {
  text-align: left;
  max-width: 500px;
  /* ← 文章の最大幅＝写真の幅 */
}

/* 写真は文章幅に100%合わせる */
.staff-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 16px;
}

/* 文章ブロック */
.staff-name,
.staff-role,
.staff-text {
  width: 100%;
}

.staff-item {
  max-width: 500px;
  /* 少し広く */
}

/* スマホ */
@media (max-width: 840px) {
  .staff-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .staff-item {
    max-width: 100%;
  }
}
