@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;
        }
      }
    }
  }
}

/*ボイス*/
.voice {
  background-color: rgb(221, 246, 123);
  margin-top: 0;
  padding-bottom: 20px;
}

.voicebox {
  border: red solid 2px;
  display: flex;
  justify-content: center;
  .logo {
    width: 100px;
    padding-top: 30px;
  }
}
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;
}

.VOICE-text {
  color: #665144;
  margin: 10px auto;
  text-align: center;
  font-weight: bold;
  a {
    color: #665144;
    font-size: 1.2rem;
    font-style: italic;
  }
  a:hover {
    color: rgba(166, 151, 151, 0.611);
    text-decoration: underline;
  }
}
.medal {
  margin: auto;
  width: 300px;
}
.voice-wrap {
  background-color: #ffffff;
  padding: 10px 0;
  border-radius: 50px;
  width: 90%;
  text-align: left;
  padding: 20px;
  color: #665144;
  margin: 30px auto;

  /* 偶数番目を指定 */
  &:nth-of-type(even) {
    .voice-content {
      flex-direction: row-reverse; /* 並び順を逆にする */
    }
  }
}
/* ボイス＆写真丸を並べる */
.voice-content {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  .voice-text {
    width: 80%;
  }
  .img-wrap {
    margin: 15px;
    align-self: center; /* 小要素の配置を指定 */
    img {
      width: 200px; /* 画像サイズ */
      aspect-ratio: 1 / 1; /* アスペクト比を固定 */
      border-radius: 50%; /* 丸くする */
      object-fit: cover; /* 画像が伸びないよう調整 */
    }
  }
}
.voice-top {
  display: none;
}

.customer-name {
  font-family: "Kaisei Opti", serif;
  font-size: 1.3rem;
  text-align: center;
  font-weight: bold;
}

strong {
  color: red;
  font-weight: normal;
}

/*PC版で「トップに戻る」非表示*/

.VOICE-more {
  background-color: rgb(251, 241, 228);
  padding: 10px 0;
  border-radius: 9999px;
  border: 2px solid #665144;
  width: 200px;
  margin: 30px auto;

  a {
    color: #665144;
    font-size: 1rem;
    text-align: center;
    padding: 0px 0 10px 0;
    text-decoration: none;
    margin: auto;
    font-weight: bold;
  }
  a:hover {
    color: rgba(166, 151, 151, 0.611);
    text-decoration: underline;
  }
}

.voice-more {
  display: flex;
  background-color: rgb(221, 246, 123);
  padding: 10px 0;
  border-radius: 9999px;
  border: 3px solid #ffffff;
  width: 200px;
  margin: 30px auto;

  /*メニューをもっと見るリンク＆位置*/
  a {
    color: #665144;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    margin: auto;
    font-weight: bold;
  }
  a:hover {
    color: rgba(166, 151, 151, 0.611);
    text-decoration: underline;
  }
}

.contact {
  background-color: #ffffff;
  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: 15px 30px;
    border-radius: 9999px;
    outline: 3px solid white; /*outlineでドットの線を追加*/
    outline-offset: -5px; /*outline-offsetの値を-15pxにして内側に調整*/
    color: white;
    font-size: 1rem;
    text-align: center;
    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) {
  .about {
    h2 {
      font-size: 2rem;
      padding-top: 20px;
    }
    h3 {
      font-size: 1rem;
      margin-top: 10px;
    }
    .about-text {
      font-size: 0.8rem;
      margin: 10px auto;
      width: 300px;
      padding-bottom: 10px auto;
    }
  }
}
/*ボイス対応850*/
@media (max-width: 850px) {
  .voice {
    h2 {
      font-size: 2rem;
      margin-top: 5px;
    }
    h3 {
      font-size: 1rem;
      margin-top: 10px;
    }
    .voice-text {
      font-size: 0.8rem;
      margin: 0px auto;
      width: 100%;
      padding: 10px 10px;
    }
  }
}
/*クラスメニュー対応850*/
@media (max-width: 850px) {
  .class {
    h2 {
      font-size: 2rem;
      padding-top: 20px;
    }
    h3 {
      font-size: 1rem;
      margin-top: 10px;
    }
    .class-text {
      font-size: 0.8rem;
      margin: 10px auto;
      width: 300px;
      padding-bottom: 10px auto;
    }
    ul {
      display: flex;
      flex-direction: column;
      text-align: center;
      margin: 10px 20px 10px 0;
      li {
        img {
          width: 50%;
          border-radius: 50px;
          box-shadow: 0 0 10px #ccc;
        }
        .menu-name {
          font-size: 0.8rem;
          font-weight: bold;
        }
        .menu-price {
          color: chocolate;
          font-size: 0.8rem;
          font-weight: bold;
          margin-bottom: 20px;
        }
        a {
          text-decoration: none;
        }
      }
    }
  }
}

/*レスポンシブ対応600写真レイアウト変更*/
@media (max-width: 600px) {
  .voice-content {
    display: flex;
    flex-direction: column;
    .voice-text {
      width: 100%;
      margin-top: 5px;
    }
    .img-wrap {
      margin-top: 20px;
      img {
        border-radius: 20px;
        min-width: 150px;
      }
    }
  }
}
/*偶数指定の解除*/
@media (max-width: 600px) {
  .voice-wrap:nth-of-type(even) .voice-content {
    flex-direction: column !important;
  }
  .voice-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
}
/*レスポンシブ対応メダルバナー変更*/
@media (max-width: 600px) {
  .medal {
    width: 50%;
    min-width: 200px;
  }
}
/*レスポンシブ対応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);
      }
    }
  }
}

/*レスポンシブヘッダー＆ナビ*/
/*レスポンシブ対応850*/
/*ヘッダー850*/
@media (max-width: 850px) {
  header {
    h1 {
      margin: 10px auto;
    }
  }
}

/*ファーストビュー対応850*/
@media (max-width: 850px) {
  .first {
    height: 500px;
    .first-text {
      font-size: 2rem;
      padding-left: 0;
      margin-top: 50px;
      margin-left: 20px;
      .since {
        font-size: 0.8rem;
      }
    }
  }
}
/*問い合わせ対応850*/
@media (max-width: 850px) {
  .contact {
    h2 {
      font-size: 2rem;
      margin-top: 5px;
    }
    h3 {
      font-size: 1rem;
      margin-top: 10px;
    }
  }
}
@media (max-width: 600px) {
  .voice-top {
    display: block;
    margin-top: 0px;
    a {
      color: #665144;
      font-size: 0.8rem;
      text-decoration: none;
      font-style: italic;
    }
    a:hover {
      color: rgba(166, 151, 151, 0.611);
      text-decoration: underline;
    }
  }
}
@media (max-width: 600px) {
  .voice-wrap {
    margin: 20px auto 5px;
  }
}
