@charset "utf-8";
/*ボディセンター*/
body {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/*ヘッダー*/
header {
  background-color: #665144;
  display: flex;
  h1 {
    color: #ffffff;
    font-size: 1.5rem;
    font-family: "Kaisei Opti", serif;
    margin: 10px 0 10px 20px;
  }
}

/*グローバルナビ*/
nav {
  ul {
    display: flex;
    justify-content: center;
    padding-top: 5px;
    padding-bottom: 5px;
    li {
      font-size: 1.2rem;
      font-family: "Oswald", serif;
      list-style: none;
      flex: 1;
      a {
        color: #665144;
        text-decoration: none;
        &:hover {
          opacity: 0.7;
        }
      }
    }
  }
}

.contact1 {
  background-color: rgb(251, 241, 228);
  background-image: url(../img/footprints.png);
  background-size: contain;
  color: #665144;
  padding-bottom: 20px;
  h2 {
    font-size: 3rem;
    font-family: "Kaisei Opti", serif;
    padding-top: 50px;
  }
  h3 {
    font-size: 1.5rem;
    margin-top: 10px;
    font-family: "Oswald", serif;
  }
}
.setumei {
  background-color: white;
  border: #665144 3px solid;
  border-radius: 30px;
  color: #665144;
  width: 60%;
  text-align: center;
  margin: 20px auto;
  padding: 10px;
  p + p {
    margin-top: 15px;
  }
  ul {
    background-color: rgb(221, 246, 123);
    width: 250px;
    text-align: left;
    margin: 20px auto;
    padding: 20px 20px;
    border-radius: 20px;
    font-weight: bold;
  }
}

.bikou {
  border: #665144 1px solid;
  margin: 20px auto;
  color: #665144;
  text-align: left;
  width: 60%;
  padding: 20px;
}

.contact {
  background-color: rgb(251, 241, 228);
  h2 {
    color: #665144;
    font-size: 3rem;
    font-family: "Kaisei Opti", serif;
    padding-top: 50px;
  }
  h3 {
    color: #665144;
    font-size: 1.5rem;
    margin-top: 10px;
    font-family: "Oswald", serif;
  }
}

.toiawase {
  margin-top: 20px;
  font-weight: bold;
  color: #665144;
  margin-bottom: 20px;
  a {
    color: #665144;
    font-size: 1.1rem;
    font-weight: bold;
  }
  a:hover {
    color: rgba(166, 151, 151, 0.611);
    text-decoration: underline;
  }
}

.contact_btn {
  margin: 30px auto;
  a {
    background-color: #665144;
    padding: 10px 0;
    border-radius: 9999px;
    border: 2px solid #665144;
    outline: 3px dotted white; /*outlineでドットの線を追加*/
    outline-offset: -5px; /*outline-offsetの値を-15pxにして内側に調整*/
    color: white;
    font-size: 1.5rem;
    text-align: center;
    padding: 15px 30px;
    text-decoration: none;
    margin: auto;
    font-weight: bold;
  }
  a:hover {
    color: rgba(166, 151, 151, 0.611);
    text-decoration: underline;
  }
}
.top {
  margin: 20px auto;
  font-weight: bold;
  a {
    color: #665144;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    font-style: italic;
  }
  a:hover {
    color: rgba(166, 151, 151, 0.611);
    text-decoration: underline;
  }
}

/*フッダー文字*/
footer {
  background-color: #665144;
  color: #ffffff;
  text-align: center;
  padding: 10px 0;
  margin-top: 0px;
}

/*レスポンシブ対応850*/
@media (max-width: 850px) {
  header {
    h1 {
      margin: 10px auto;
    }
  }
}
/*レスポンシブ対応550ナビ変更*/
/*Aタグ＆装飾＆display: block; でボタン揃える*/
@media (max-width: 550px) {
  nav {
    background-image: url(../img/footprints.png);
    background-size: contain;
    color: #665144;
    ul {
      display: flex;
      flex-direction: column;
      font-size: 1rem;
      text-align: center;
    }
    li {
      margin: 3px auto;
      a {
        border: 2px solid #665144;
        background-color: rgb(251, 241, 228);
        border-radius: 10px;
        color: #665144;
        text-decoration: none;
        display: block;
        width: 150px;
      }
      a:hover {
        background-color: rgb(221, 246, 123);
      }
    }
  }
}

/*レスポンシブ対応550*/
@media (max-width: 550px) {
  .contact1 {
    background-image: none;
  }
}

/*レスポンシブ対応700*/
@media (max-width: 700px) {
  .contact_btn {
    width: 90%;
  }
}
/*レスポンシブ対応450*/
@media (max-width: 450px) {
  .setumei {
    ul {
      width: 100%;
    }
  }
}

@media (max-width: 800px) {
  .setumei {
    width: 90%;
    text-align: left;
  }
}
@media (max-width: 800px) {
  .contact_btn {
    display: flex;
    a {
      margin: auto;
    }
  }
}
@media (max-width: 450px) {
  .contact_btn {
    a {
      font-size: 1.3rem;
    }
  }
}

@media (max-width: 800px) {
  .bikou {
    width: 100%;
  }
}
/*問い合わせ対応850*/
@media (max-width: 850px) {
  .contact1 {
    h2 {
      font-size: 2rem;
      margin-top: 5px;
    }
    h3 {
      font-size: 1rem;
      margin-top: 10px;
    }
  }
}
