#title {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}

main {
  background-color: #f1f1f1;
  height: 800px;
  display: flex;
}

.main {
  margin: auto;
}

.footer {
  background-color: #f6f6f6;
  height: 200px;
  display: flex;
}

.footer div {
  margin: auto;
}

/* ヘッダー */
.header {
  background-color: white;
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}

.header__title {
  width: 400px;
}

@media screen and (min-width: 960px) {
  .header__title {
    width: 400px;
  }
}

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease 0.4s;
}

@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }
}

@media screen and (min-width: 960px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}

.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}

@media screen and (min-width: 960px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
    position: inherit;
    top: 0;
    left: 0;
    margin-left: -170px;
    margin-right: 170px;
    transform: translate(0, 0);
    font-size: 18px;
  }
}

@media screen and (max-width: 960px) {
  .nav-items__item {
    /* color: black;
  width: 100%; */
    /* margin-left: -400px;
  margin-right: 300px; */
    display: flex;
    justify-content: center;
    /* margin-left: 100px;
    margin-right: -100px; */
    /* display: block;
  text-align: center; */
    font-size: 18px;
  }
}
.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease 0.4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
}

.settei {
  display: flex;
  justify-content: center;
  padding: 5px 0px;
  margin: 0px;
  background-color: bisque;
}

.midasi {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  margin-bottom: 10px;
  cursor: text;
}

@media (min-width: 768px) {
  .sentaku {
    font-size: large;
    display: flex;
    justify-content: center;
    margin: 10px 0px;
  }
}

@media (max-width: 768px) {
  .sentaku {
    font-size: large;
    display: inline-block;
    justify-content: center;
    margin: 10px 0px;
  }
}

.check {
  margin: 0px 20px;
  white-space: nowrap;
  display: inline-block;
}

/* .kennsakufo-mu {
  vertical-align: middle;
  display: flex;
  justify-content: center;
  margin: 10px px;
} */

@media (min-width: 768px) {
  .kensakubotan {
    text-align: center;
    margin-bottom: 5px;
  }
}

@media (max-width: 768px) {
  .kensakubotan {
    text-align: center;
    margin-left: 200px;
    margin-bottom: 5px;
  }
}

.douzi {
  vertical-align: middle;
  font-size: 1.4rem;
  cursor: text;
  margin-left: -200px;
}

/* #ken {
  vertical-align: middle;
  font-size: 1.2rem;
  height: 40px;
  border-radius: 5px;
  border: 2px solid black;
  background-color: coral;
  color: lightgoldenrodyellow;
} */
#ken {
  vertical-align: middle;
  display: inline-block;
  width: 35px;
  height: 35px;
  font-size: 35px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
#ken span {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  width: 56%;
  height: 56%;
  border-radius: 50%;
  margin: -0.28em 0 0 -0.28em;
  border: 0.1em solid #673ab7;
}
#ken span::after {
  position: absolute;
  display: block;
  content: "";
  top: 50%;
  left: 50%;
  width: 72%;
  height: 36%;
  background: #673ab7;
  margin: 0.2em 0 0 0.14em;
  transform: rotate(45deg);
}

.nyuuryokutyousei {
  display: flex;
  justify-content: center;
}
#nyuuryoku {
  vertical-align: middle;
  font-size: large;
  height: 35px;
  border: 2px solid black;
}

@media (min-width: 768px) {
  .tandoku {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .tandoku {
    display: inline-block;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .tandokukensaku {
    margin-top: 4px;
    font-size: 1.4rem;
    cursor: text;
  }
}

@media (max-width: 768px) {
  .tandokukensaku {
    display: none;
    margin-top: 4px;
    font-size: 1.4rem;
    cursor: text;
  }
}

@media (min-width: 768px) {
  .tandokukensaku2 {
    display: none;
    margin-top: 4px;
    font-size: 1.4rem;
    cursor: text;
  }
}

@media (max-width: 768px) {
  .tandokukensaku2 {
    margin-top: 4px;
    font-size: 1.4rem;
    cursor: text;
  }
}

@media (min-width: 768px) {
  .hitotu {
    cursor: pointer;
    padding: 4px 5px 3px 5px;
    margin: 5px 3px;
    display: block;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #27acd9;
    font-weight: bold;
    letter-spacing: 2px;
    background: transparent;
    color: #27acd9;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
  }
  .hitotu:hover {
    color: #fff;
    background: #27acd9;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
}

@media (max-width: 768px) {
  .hitotu {
    cursor: pointer;
    padding: 4px 5px 3px 5px;
    margin: 5px 3px;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #27acd9;
    font-weight: bold;
    letter-spacing: 2px;
    background: transparent;
    color: #27acd9;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
  }
  .hitotu:hover {
    color: #fff;
    background: #27acd9;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
}
