@charset "utf-8";

*, *:before, *:after {
  box-sizing: border-box;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body {
  font-size: 15px;
  line-height: 1.6; /* 読みやすさの向上 */
  margin: 0;
  padding: 0;
  background-color: #f8f8f8; /* 背景色の追加 */
}

.headerTop img {
  height: 130px;
  object-fit: fill;
  display: block;
  margin: 40px auto;
}

ul {
  padding-left: 0;
}

h1 {
  text-align: center;
  padding-top: 70px;
  padding-bottom: 40px;
  font-size: 25px;
}

h1 span {
  color: blue;
}

/* no3-2 斜線区切り hover時背景色変更2 */
.no3-2 {
  text-align: center;
}

.no3-2 ul li {
  list-style: none;
  display: inline-block;
  width: 10%; /* ここで項目の幅を指定します */
  transform: skewX(150deg);
  border-right: 2px solid dimgray;
  background-color: black;
}

.no3-2 ul li a {
  display: block;
  text-decoration: none;
  padding: 5px 0;
  color: white;
  transform: skewX(-150deg);
}

.no3-2 ul li:last-child {
  border-right: 0;
}

.no3-2 ul li:hover {
  opacity: 0.8; /* hover時の不透明度を調整します */
}

section {
  background-color: whitesmoke;
  display: flex;
  border-radius: 5px;
}

aside {
  width: 20%;
}

main {
  text-align: center;
  width: 80%;
}

.farst {
  margin-top: 80px;
  font-size: 18px;
}

h2 {
  text-align: left;
  margin-top: 60px;
}

ol li {
  text-align: left;
}

.video_wrapper video {
  width: 100%; /* スライド画像の幅を100%に */
  height: 40vw;
  top: 0; /* 上からの位置を0に */
  left: 0; /* 左からの位置を0に */
  background-size: cover; /* 画像をスライド全体にカバー */
  background-position: center center;
}

.contactBtn {
  text-decoration: none;
  display: inline-block;
  width: 300px;
  padding: 20px;
  margin: 3%;
  text-align: center;
  background: #000;
  color: #fff;
  transition: all 0.3s;
}

.contactBtn:hover, .contactBtn:focus {
  color: #fff;
  opacity: 0.8;
}

footer {
  text-align: center;
}

@media (max-width: 960px) {
  .no3-2 ul li {
    width: 15%;
  }
}

@media (max-width: 430px) {
  .no3-2 ul li {
    width: 60px;
    font-size: 8px;
  }

  aside {
    width: 10%;
  }

  main {
    width: 90%;
  }

  .farst p {
    font-size: 13px;
  }

  .contactBtn {
    width: 190px;
    font-size: 13px;
  }

  footer {
    font-size: 15px;
  }
}