@charset "utf-8";

.container {
  max-width: 1140px; /* 例：増やす */
  margin: 0 auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
/*ロゴ画像*/
header #logo {
  line-height: 0;
  margin: 0;
  width: 200px;
}

/*ようこそブロック*/
header p {
  margin-right: 10px;
  margin-top: 20px;
}

.logo-area {
  flex: 0 0 auto;
}

.header-text {
  flex: 1;
  text-align: right;
}

.clear {
  clear: both;
  display: block;
  height: 0;
}

/* デフォルト：PC用表示 */
.menu {
  display: flex;
  list-style: none;
  padding: 0;
  background-color: #333; /* ← 不透明にする */
  color: white;
  width: 100%;
  z-index: 1000;
 
}
.menu > li {
  position: relative;
}
.menu > li > a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: white;
}
.menu > li:hover .submenu {
  display: block;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  background: #444;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
}
.submenu li a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}
.submenu li a:hover {
  background: #555;
}

/* ハンバーガーボタン（スマホのみ表示） */
.menu-toggle {
  display: none;
  background: #333;
  color: white;
  padding: 10px;
  cursor: pointer;
}
#logo img {
  max-width: 100%;
  height: auto;
}
.logo-area img {
  display: block;
  max-width: 100%;
  height: auto;
}
#divmenu {
  padding-left: 10px;
  padding-right: 10px;
}
#divmenu ul {
  padding-left: 1em !important;
  list-style-type: disc;
}
#divmenu li {
  margin-bottom: 5px;
}
#divmenu a {
  display: block;
  text-decoration: none;
  color: #00f;
}
#divmenu a:hover {
  text-decoration: underline;
}

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

  .row .col-lg-3:first-child {
    display: none !important;
  }
  header {
    text-align: center;
    justify-content: center;
  }

  header #logo {

    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
  }

.logo-area {
    display: flex;
    justify-content: center;
  }

  .logo-area,
  .header-text {
    width: 100%;
    text-align: center;
  }
  header p {
margin: 0;
   
    display: block;
  }
.header-text p {
    margin-top: 10px;
  }
  .menu-toggle {
    display: block;
  }
  .menu {
    display: none;
    flex-direction: column;
    width: 100vw;  /* 画面全体の幅に */
    max-width: 100vw;
    box-sizing: border-box;
    background-color: #333; /* ←透けないように */
    z-index: 1000;
  }

  .menu-toggle {
    width: 100vw;  /* ハンバーガーボタンも広げる */
    max-width: 100vw;
  }
  .menu.active {
    display: flex;
  }

  /* ハンバーガーボタンも全幅に */
  .menu-toggle {
    width: 100vw;
    max-width: 100vw;
  }
  .menu > li {
    width: 100%;
  }
  .submenu {
    position: static;
    background: #555;
  }
}
