@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  /* Dev outline: 1px solid #FF0000; /* デバッグ用アウトライン */
}

body {
  background-color: #202124;
  padding-top: 60px;
  max-width: 500px;
  margin: 50px auto;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 10px 20px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

h1 {
  text-align: center;
}

h2 {
  text-align: center;
}

h1 img {
  width: 300px;
  height: auto;
}

/* ハンバーガーボタン（ヘッダーの外） */
.menu-toggle {
  position: fixed;
  top: 8px;
  right: 20px;
  width: 40px;
  height: 40px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
}

.bar {
  width: 30px;
  height: 4px;
  background: #dbdbdb;
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* サイドバー */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100vh; /* Changed to viewport height */
  background: rgba(32, 33, 36, 0.95);
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.4s ease;
  z-index: 2000;
  padding: 80px 20px 20px;
  box-sizing: border-box; /* Added for better padding and height management */
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 18px;
  color: #333;
}
.sidebar ul li a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
}

/* PCナビ */
.pc-nav {
  display: none;
}

.pc-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.pc-nav ul li {
  font-size: 16px;
  color: #000000;
  cursor: pointer;
}

.pc-nav ul li a {
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
}

/* レスポンシブ：PC */
@media screen and (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
  .sidebar {
    display: none;
  }
  .pc-nav {
    display: block;
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  h1 img {
    width: 150px;
    height: auto;
  }

  .em_map {
    width: 100%;
    height: 200px;
  }

  .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
  }
}

.em_map {
  width: 100%;
  height: 400px;
}

.production_list_list::after {
  content: "";
  width: 150px;
  display: block;
  position: relative;
  flex: 0 0 auto;
}
.production_list_list_item {
  color: #000;
  width: 40%;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  transition: 0.3s;
}
.production_list_list_item img {
  width: 100%;
  height: 200px; /* お好みの高さに調整してください */
  object-fit: cover; /* 画像の比率を維持しつつ、要素に収まるように調整 */
}
.production_list_list_item h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
}
.production_list_list_item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}
.production_list_list_item:hover {
  scale: 1.02;
  opacity: 0.8;
}
/*サービス一覧*/

/*コンテナ群*/
.container {
  font-family: "Noto Sans JP", sans-serif;
  width: 85%;
  margin: 20px auto; /* 中央配置 */
  padding: 20px;
  background-color: #ffffff; /* 背景色 */
  border-radius: 5px;
}

.container01 {
  width: 85%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 15px;
  color: white;
  border: 2px solid #7d7d7d;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  /* 横方向のレイアウトを保つ */
  display: block;
}

.Video_container {
  padding-top: 20px;
  text-align: center;
  position: relative;
  margin: 0 auto;
  background: rgb(255, 255, 255);
  overflow: hidden;
  width: 100%;
}
.Video_container img,
video {
  width: 100%;
}

.map_container {
  font-family: "Noto Sans JP", sans-serif;
  width: 60%;
  margin: 20px auto; /* 中央配置 */
  padding: 20px;
  background-color: #5acdd4; /* 背景色 */
  border-radius: 10px;
}

.tcc_info_container {
  width: 60%;
  margin: 20px auto; /* 中央配置 */
  padding: 20px;
  border: 2px solid #7d7d7d;
  color: #000;
  border-radius: 10px;
}

.container_title {
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
  margin: 20px auto; /* 中央配置 */
  background-color: #ffffff; /* 背景色 */
  border-radius: 10px;
  display: flex; /* 横並びにする */
  justify-content: space-between; /* 左右に要素を配置 */
  align-items: center; /* 上下の中央揃え */
}
/*コンテナ群*/

/* 各お知らせアイテム */
.notice_item {
  display: flex; /* 横並び配置 */
  justify-content: space-between; /* 左右に要素を分ける */
  align-items: center; /* 縦中央揃え */
  padding: 10px 0; /* 上下余白 */
  border-bottom: 1px solid #ddd; /* 下線 */
}

.notice_item:last-child {
  border-bottom: none; /* 最後のアイテムは下線を削除 */
}

/* 左側の日付 */
.notice_date {
  flex: 1; /* 左側の余白調整 */
  color: #333; /* 文字色 */
  font-weight: bold;
}

/* 中央の説明文 */
.notice_description {
  flex: 10; /* 中央の説明文が広く表示される */
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
}

.title_btn .etc_btn {
  display: inline-block; /* ボタンとして機能 */
  padding: 5px 10px; /* ボタン内の余白 */
  font-size: 1rem; /* フォントサイズ */
  color: #000000; /* テキストの色 */
  background-color: #ffffff; /* ボタンの背景色 */
  border-radius: 50px; /* 角を丸くする */
  text-decoration: none; /* 下線を削除 */
  text-align: center; /* テキスト中央揃え */
  border: 1px solid #c0c0c0;
}

.title_btn .etc_btn:hover {
  background-color: #c0c0c0; /* ボタンのホバー時の色 */
}
/*お知らせ*/

/* 左側のタイトルテキスト */
.title_txt h4 {
  margin: 0; /* 余白をリセット */
  font-size: 1.5rem; /* フォントサイズを調整 */
  color: #333; /* テキストの色 */
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
}

.nav-left {
  left: 10px;
}

.nav-right {
  right: 10px;
}

.mute-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  z-index: 10;
}

/* From Uiverse.io by cssbuttons-io */
.fancy {
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  outline: none;
  overflow: visible;
  padding: 1.25em 2em;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: all 0.3s ease-in-out;
  user-select: none;
  font-size: 13px;
}

.fancy::before {
  content: " ";
  width: 1.5625rem;
  height: 2px;
  background: black;
  top: 50%;
  left: 1.5em;
  position: absolute;
  transform: translateY(-50%);
  transform-origin: center;
  transition: background 0.3s linear, width 0.3s linear;
}

.fancy .text {
  font-size: 1.125em;
  line-height: 1.33333em;
  padding-left: 2em;
  display: block;
  text-align: left;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  text-decoration: none;
  color: black;
}

.fancy .top-key {
  height: 2px;
  width: 1.5625rem;
  top: -2px;
  left: 0.625rem;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
  height: 2px;
  width: 1.5625rem;
  right: 1.875rem;
  bottom: -2px;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
  height: 2px;
  width: 0.625rem;
  right: 0.625rem;
  bottom: -2px;
  position: absolute;
  background: #e8e8e8;
  transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy:hover {
  color: white;
  background: black;
}

.fancy:hover::before {
  width: 0.9375rem;
  background: white;
}

.fancy:hover .text {
  color: white;
  padding-left: 1.5em;
}

.fancy:hover .top-key {
  left: -2px;
  width: 0px;
}

.fancy:hover .bottom-key-1,
.fancy:hover .bottom-key-2 {
  right: 0;
  width: 0;
}

/*アニメーション*/
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgb(255, 255, 255);
}

.sns-btn {
  display: flex;
  display: flex;
  justify-content: center; /* ← 中央揃え */
  padding: 0;
}

.sns-btn li {
  text-align: center;
  margin-left: 10px;
  margin-right: 10px;
  list-style: none;
}

.sns-btn li img {
  width: 30px;
  height: auto;
}

.MutualLink {
  color: #53acff;
}

.error {
  color: red;
}
form div {
  margin-bottom: 10px;
}
label {
  display: block;
}
input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}
button {
  padding: 10px 15px;
}

.add_dev_program_btn {
  background-color: #E5E5E5;
  border: solid 1px #000000;
  text-decoration: none;
  border-radius: 3px;
  font-weight: thin;
  cursor: pointer;
  display: flex;
  padding: 10px 15px;
  color: #000;
}

/*ローディング用*/
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
