body {
  font-family: 'Noto Sans Japanese', sans-serif;
  margin: 0;
  padding: 0;
}
/* ナビゲーションバー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed; /* 固定する */
  top: 0; /* 画面の上部に固定 */
  left: 0;
  width: 100%; /* ヘッダーを画面幅に広げる */
  z-index: 1000; /* ヘッダーが他の要素の上に表示されるようにする */
}
.logo-left {
  order: 1;
}
.logo-center {
  order: 2;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo img {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
  margin-right: 50px;
  order: 3;
  align-items: center; /* 上下中央揃えにする */
}
.nav-links a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
  display: flex;
  align-items: center; /* 上下中央揃えにする */
  height: 100%; /* 親要素の高さを継承 */
}
.nav-links a:hover {
  color: #007bff; /* マウスオーバー時に明るくする色 */
}
.nav-links .login {
  background-color: #007bff;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.nav-links .login:hover {
  background-color: #0056b3; /* ログインボタンのマウスオーバー時の色 */
}
.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  order: 4;
}
.hamburger-menu div {
  width: 25px;
  height: 3px;
  background-color: #333;
}
.menu-overlay {
  display: none;
  position: fixed;
  top: 60px; /* ヘッダーの直下から開始 */
  left: 0;
  width: 100%;
  height: calc(100% - 60px); /* ヘッダーを除いた高さ */
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.menu-overlay.active {
  display: block;
  opacity: 1;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 63px; /* ヘッダーの直下に配置 */
  left: calc(100% - 300px - 5px); /* 左端から要素の幅分引いて右寄せ + 右側に20pxの余白を追加*/
  width: 300px;
  height: 0; /* 初期高さを0に設定 */
  /* background-color: #fff; */
  background-color: rgba(255, 255, 255, 0.9); /* 背景色を半透明にする */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  overflow: hidden; /* はみ出した内容を隠す */
  transition: height 0.3s ease-in-out;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  border-bottom-left-radius: 10px; /* 左下の角を丸くする */
  border-bottom-right-radius: 10px; /* 右下の角を丸くする */
}
.dropdown-menu.active {
  display: flex;
  height: 700px;
  padding: 20px;
}
.dropdown-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: large;
  padding: 10px 0;
  border-bottom: 1px dashed #ccc;
}

.dropdown-menu a:hover {
  
  color: #007bff;
 
}

.dropdown-menu .login {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 1200px) {
  .logo-center {
    position: static;
    transform: none;
    order: 1;
    margin-right: auto;
    margin-left: 10px; /* ロゴ同士がくっつかないようにマージンを追加 */
  }
  .nav-links {
    order: 2;
    margin-left: 0;
  }
  .hamburger-menu {
    order: 3;
  }
}

@media (max-width: 768px) {
  .nav-links a {
    display: none; /* ログイン以外のリンクを非表示に */
  }
  .nav-links {
    margin-right: 0;
  }
  .hamburger-menu {
    margin-left: auto;  
  }
	.nav-links .login {
    margin-right: -70px;
  }
}

/* ページトップに戻るボタン */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* 初期状態は非表示 */
  z-index: 1000; /* ボタンが他の要素より前面に表示されるようにする */
}
.scroll-to-top img {
  width: 50px; /* ボタンのサイズ */
  height: 50px; /* ボタンのサイズ */
  cursor: pointer;
  transition: opacity 0.3s ease; /* フェードイン・アウトのトランジション */
  -webkit-box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}
.scroll-to-top.show {
  display: block;
  opacity: 1; /* 表示時は100%の透明度 */
}
.scroll-to-top.hide {
  opacity: 0; /* 非表示時は0%の透明度 */
}
/* フッター */
.footer {
  background-color: #0033cc;
  color: white;
  padding: 30px 0;
  position: relative;
}
.footer-logo, .footer-contact {
  background-color: white; /* 背景色を白に */
  padding: 10px;
  margin-bottom: 00px;
  border-radius: 10px; /* 角を丸く */
  display: flex;
  justify-content: center;
  align-items: center; /* 上下中央揃え */
}
.footer-logo {
  text-align: center;
  display: flex;
  flex-direction: column; /* ロゴとテキストを縦に並べる */
  align-items: center;
}
.footer-logo img {
  max-width: 200px;
  margin-bottom: 0px; /* ロゴとテキストの間に余白を追加 */
}
.company-info {
  font-family: 'Noto Sans Japanese', sans-serif;
  text-align: center; /* テキストを中央揃え */
  color: #333;
}
.footer-contact {
  text-align: center;
}
.footer-contact-text {
  margin: 0;
  font-size: 0.9em;
  color: #707070; /* 濃いグレー */
  font-family: 'Noto Sans Japanese', sans-serif;
  font-weight: bold;
}
.footer-phone-number {
  display: flex;
  align-items: center; /* アイコンと番号を上下中央揃え */
  justify-content: center;
  color: #707070; /* 濃いグレー */
  font-size: 2.1em;
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
  text-decoration: none;
}
.footer-phone-icon {
  width: 35px;
  height: 35px;
  vertical-align: middle;
  margin-right: 10px;
}
.footer-contact-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #0033cc;
  border-color: #0033cc;
  border-radius: 15px; /* 角を丸く */
  color: white;
  text-align: center;
  font-size: 2em;
  font-family: 'Noto Sans Japanese', sans-serif;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* ドロップシャドウ */
  transition: background-color 0.3s ease;
}
.footer-contact-button:hover {
  background-color: #0056b3; /* マウスオーバー時の色 */
}
.footer-sitemap {
  margin-top: 20px;
}
.footer-sitemap .row {
  justify-content: center;
  text-align: center;
  border-bottom: 1px dashed #ffffff; /* 各行の下に点線の罫線を追加 */
  padding-bottom: 10px; /* 罫線と内容の間に余白を追加 */
  margin-bottom: 10px; /* 行間の余白 */
}
.footer-sitemap a {
  color: white;
  margin: 5px 0;
  display: block;
  font-size: small;
}
.footer-copy {
  background-color: white; /* 背景色を白に */
  color: #333; /* テキストカラーをダークに */
  text-align: center;
  padding: 10px 0;
  font-size: small;
}


/* スマホ表示用 */
@media (max-width: 768px) {
  .footer-logo, .footer-contact {
    margin-left: 10px;
    margin-right: 10px;
  }
  .footer-phone-number {
    font-size: 1.5em;
  }
}


