@charset "utf-8";


*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul, li {
  list-style: none;
  text-decoration: none;
}

a {
  color: inherit;
  text-decoration: none;
}
/* フッターが浮いてしまうため設定 */
html, body {
  margin: 0;     
  display: flex; 
  flex-direction: column; 
  overflow: auto  ;
}
/* 全体のスタイル */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1;
  background-color: #ffffff;
  height: 100%;
}

img {
  max-width: 100%;
} 


.toggle-menu-button {
  display: none; /* 初期状態では非表示 */
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.toggle-menu-button .bar {
  width: 30px;
  height: 4px;
  background-color: #000;
  border-radius: 2px;
}

/* 横幅と左右の余白 */
.w-container {
  width: min(92%, 1166px);
  margin: auto;
  position: relative;
}
.titles{
  padding: 80px 0;
  font-size: 30px;

}
/* ヘッダー */
header{
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  height: 70px;
  top: 0;
  z-index: 9999;
}
.header-container{
  width: min(92%, 1166px);  /* w-container と同じ幅 */
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-container img {
  max-height: 60px;
  width: auto;
  object-fit: contain; 
}
.header-container ul {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}
.header-contact-btn {
  background-color: black;
  color: #fff;
  min-width: 100px;
  width: 50%;  /* 必要に応じて調整 */
  height: 30px;  /* ボタンの高さを指定 */
  border-radius: 24px;  /* 丸みをつける */
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;  /* 文字サイズ調整 */
  display: block;  /* aタグ全体をブロック要素にする */
  text-align: center;  /* 文字を中央揃え */
  margin: 0 auto;  /* 上下中央揃え */
  line-height: 30px;  /* 縦方向に中央揃え */
}

.header-contact-btn a {
  display: block;  /* aタグをブロック要素にする */
  text-decoration: none;  /* リンクの下線を消す */
  height: 100%;  /* 高さを親要素に合わせる */
  width: 100%;  /* 幅を親要素に合わせる */
  line-height: 30px;  /* 縦方向に中央揃え */
  color: white;  /* 文字色 */
  text-align: center;  /* 文字を中央揃え */
}
/*  ------------------------------------------------------------------------------------------------*/
.works {
  padding-top: 0px; 
  box-sizing: border-box; 
  overflow: auto; 
  z-index: 0;
}


.works-area{
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}

.works-container {
  background-color: #f9f9f9;
  padding: 10px;
  margin-top: 100px;
}
.sub-titles {
  text-align: center;
}
.sub-titles h3 {
  font-size: 35px;
  font-family: 'Noto Sans JP';
  display: inline-block; /* 文字の幅だけに背景を適用 */
  font-weight: bold;
  position: relative;
  padding-bottom: 10px; /* 下線とテキストの間隔 */
  background: linear-gradient(to right, #bebebe 0%, #727272 100%);
  background-repeat: no-repeat;
  background-position: center 70%; /* 下線を文字の中央付近に */
  background-size: 100% 25%; /* 下線の幅と高さ */
}
@media screen and (max-width: 600px) {
  .sub-titles h3 {
    font-size: 25px;

  }
}

.show {
  margin: auto;
  height: 500px;  /* 高さを指定 */
  overflow: hidden;
  margin: 50px 0;
  background-color: #eee;
  padding: 10px;
  display: flex;
}
.dtp{
  height: 700px;
}
@media screen and (max-width: 600px) {
  .show {
    margin: 10px 0;
  }
}
.show img {
  width: 100%;  /* 画像の幅を親要素の幅に合わせる */
  height: 100%; /* 画像の高さを親要素の高さに合わせる */
  object-fit: contain; /* 画像の全体を表示（アスペクト比を保ちながら収める） */
  border-radius: 8px;
  overflow: hidden;
}


/* テーブル全体のデザイン */
table {
  width: 100%;
  max-width: 700px;
  margin: 20px auto;
  border-collapse: collapse;
  font-size: 16px;
  border-collapse: separate; /* border-spacing を有効にする */
  border-spacing: 0 50px; /* 行の間に 20px の余白を設定 */
  
}
/* 各セルのデザイン（枠線なし） */
table td {
  border: none;
  padding: 15px;
  font-weight: normal;
  line-height: 1.5;
}
/* 左側（ラベル）のデザイン */
table .label {
  font-weight: bold;
  text-align: left;
  width: 30%;
  min-width: 150px;
  font-weight: 700;;
}
/* 右側（内容）のデザイン */
table td:nth-child(2) {
  text-align: left;
}


/* レスポンシブ対応 */
@media screen and (max-width: 600px) {
  table {
    width: 100%;
    margin: 5px auto;
  }
  table td {
    display: block;
    width: 100%;
    text-align: left;
  }
  table .label {
    width: 100%;
    background: #eee;
  }
}
.works-container-inner {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
}
.works-container-inner-box {
  height: 400px;
  width: 320px;
  object-fit: contain;
  margin: 0 auto;
  display: flex;
}

.works-container-inner-box .work {
  flex: 0 0 auto;
  margin-right: 10px;
}

.works-container-inner img {
  height: 400px;
  width: auto;
  object-fit: contain;
}
.work:last-child{
  margin-right: 50vw;
}






/*  ------------------------------------------------------------------------------------------------*/

footer {
  width: 100%;
  height: 50px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  /* position: relative; */
  z-index: 20;
}

.footer-container{
  display: flex;
  justify-content: space-between;
  color: #000000;
}

.footer-container ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}




/* モバイル（768px以下）の場合 */
@media screen and (max-width: 768px) {
  .header-container ul {
    display: none; /* 最初はメニューを非表示 */
    flex-direction: row;
    gap: 15px;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0; /* 初期状態で透明 */
    color: #000000; /* 文字色は白 */
    transition: opacity 1s ease; /* フェードイン・フェードアウトのアニメーション */
    font-size: 14px;
    font-family: 'Noto Sans JP';
  }

  .header-container.active ul {
    display: flex; /* activeクラスが追加された場合にメニューを表示 */
    opacity: 1; /* メニュー表示時に不透明 */


  }

  .toggle-menu-button {
    display: flex;
    flex-direction: column; /* バーを縦に並べる */
    justify-content: space-between; /* バーの間隔を均等に */
    width: 30px; /* ボタンの横幅を調整 */
    height: 22px; /* ボタンの高さを調整 */
  }

  .toggle-menu-button .bar {
    width: 30px; /* バーの横幅 */
    height: 4px; /* バーの高さ */
    background-color: #000; /* バーの色 */
    border-radius: 2px; /* バーの角を丸くする */
  }
  /* contact ボタンのスタイル */
  .header-contact-btn {
    display: flex;
    background-color: transparent;
    min-width: auto;
    text-align: center;  /* 文字を中央揃え */
    margin: 0 auto;  /* 上下中央揃え */
    line-height: 30px;  /* 縦方向に中央揃え */
  }
  .header-contact-btn a {
    color: #000000; /* 文字色は白 */
    font-family: 'Noto Sans JP';
    padding: 0;
    margin: 0;
  }


  /* ワークス */
  .works{
    margin-top: 0px;
  }
  .work-title{
    font-size: 12px;
    text-align: center;
  }
  .work-type {
    font-size: 10px;
  }
  .titles, .sub-titles{
    padding-top: 40px;
    font-size: 20px;
  }
  .work-title{
    font-size: 18px;
  }
  .work-type{
    font-size: 16px;
  }

  /* フッター */
  footer {
    flex-direction: column; /* フッターアイテムを縦並び */
    text-align: center;
    padding: 10px 0;
  }

  .footer-container {
    display: flex;
    flex-direction: column; /* アイテムを縦並びに */
    align-items: center;
    gap: 15px;
    font-size: 12px; /* メニューアイテムのフォントサイズ調整 */
    margin-top: 100px;
  }

  .footer-container ul {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  .footer-container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-container p {
    margin-top: 10px;
  }
}