@charset "utf-8";

/* 
Base style
*/
body {
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}
label,
input,
textarea,
select,
button {
  cursor: pointer;
}
button {
  border: 0;
}

/* 
header
*/
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
.header-logo {
  margin: 0;
}
.header-logo > a {
  display: block;
  color: transparent;
}
.header .header-logo {
  padding-left: 6%;
  padding-left: 4%;
}
/* .header-nav {} */
.menu {
  margin: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* .header-navitem {} */
.header-navitem > a {
  display: block;
  padding: 15px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
}
.header-navitem > a:hover {
  border-bottom: 2px solid #fff;
}
@media screen and (max-width: 768px) {
  .header-logo {
    padding: 33px 15px;
  }
}

/* ハンバーガーメニュー */

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.hamburger {
  display: none; /* ハンバーガーアイコンを初めは非表示にする */
  cursor: pointer;
}

.hamburger-bar {
  width: 35px;
  height: 5px;
  background-color: #fff;
  margin: 6px 0;
}

@media screen and (max-width: 1200px) {
  .menu {
    display: none; /* 通常のメニューを非表示にする */
  }

  .hamburger {
    display: block; /* ハンバーガーアイコンを表示する */
  }

  .menu.active {
    display: flex; /* ハンバーガーアイコンクリックでメニューを表示する */
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 100px;
    right: 15px;
    width: 200px;
    border-radius: 5px;
    padding: 15px;
  }
}

/* 
hero
*/

.hero {
  background-image: url(../img/company.jpg);
  background-size: cover;
  width: 100%;
  height: 350px;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
}
.hero > strong {
  position: absolute;
  z-index: 3;
  top: 180px;
  left: 15%;
  font-size: 40px;
  color: #fff;
  font-weight: bold;
  display: block;
  width: 100%;
  text-align: center;
}

.hero span {
  background-color: #3333338d;
  padding: 5px;
}

#nav {
  list-style: none;
  display: flex;
  margin-top: 210px;
}

#nav li {
  width: 140px;
  text-align: center;
  background-color: #3333338d;
  height: 45px;
  line-height: 45px;
  margin-right: 2px;
}

#nav li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 2px;
}

#nav li > a:hover {
  border-bottom: 1px solid #fff;
}

@media screen and (max-width: 1200px) {
  #nav {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 768px) {
  .hero > strong {
    font-size: 30px;
  }

  #nav {
    padding-left: 2px;
  }

  #nav li {
    width: 95px;
    line-height: 50px;
    margin-right: 2px;
    margin-bottom: 1px;
  }

  #nav li a {
    font-size: 10px;
  }
}

/* 
footer
*/
footer {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
}

footer .footer {
  padding: 40px 20px;
}

/* フッターA： サイト情報 */
.footA {
  margin-bottom: 30px;
}

.footA h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  letter-spacing: -0em;
 }

.footA p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.footA a {
  color: inherit;
  text-decoration: none;
}

/* フッターB： フッターメニュー */
.footB div {
  margin-bottom: 20px;
}

.footB h3 {
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: solid 1px currentColor;
  font-size: 14px;
}

.footB ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footB a {
  display: block;
  padding: 5px;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}

.footB a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.footer-copy {
  display: block;
  text-align: center;
  padding: 10px;
}

@media (min-width: 768px) {
  .footB {
    display: flex;
  }

  .footB div {
    flex: 1;
  }

  .footB div:not(:first-child) {
    margin-left: 40px;
  }
}

/* コンテンツページ (沿革) */

.post .container {
  max-width: 600px;
  max-width: 800px;
  max-width: var(--middle-width);
  margin-left: auto;
  margin-right: auto;
  padding: 30px 20%;
}

.post h1 {
  padding-left: 1rem;
  border-left: solid 2rem #8e8e8e;
  font-size: 3.5rem;
  margin-bottom: 0;
  /*
  letter-spacing: 0.2em;
  */
}

.post h2 {
  padding-left: 1rem;
  border-left: solid 2rem #8e8e8e;
  font-size: 1.5rem;
  margin-top: 0;
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .post .container {
    padding: 30px 10%;
  }

  .post h1 {
    font-size: 1.8rem;
    line-height: 2rem;
  }

  .post h2 {
    font-size: 1rem;
  }
}

.post p {
  font-size: 1rem;
  line-height: 2;
}

.post img {
  max-width: 100%;
}

/*
@media (max-width: 1190px) {

   .post .container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 20%;
  }

  }
  */

  .gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    margin-bottom: 20px;
    }
    .gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    }
  