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

/*アバウト*/
.about {
  background-color: rgb(251, 241, 228);
  background-image: url(../img/footprints.png);
  background-size: contain;
  color: #665144;
  padding-bottom: 20px;
  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;
  }
  .about-text {
    color: #665144;
    margin: 20px 0;
    padding-bottom: 20px;
  }
}
.about_btn {
  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;
  }
}

/* アバウトページ */
.profile-wrap {
  background-color: #ffffff;
  border-radius: 50px;
  width: 80%;
  text-align: center;
  padding: 20px;
  color: #665144;
  margin: 0px auto;
  h2,
  h3 {
    text-align: center;
    padding-top: 0px;
  }
}
/* プロフィール＆写真丸を並べる */
.profile-content {
  margin-bottom: 20px;
  width: 100%;
  margin-top: 0px;
  text-align: left;
  p + p {
    margin-top: 15px;
  }
  .strong {
    color: #665144;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
  }
  .float_none {
    clear: both;
  }
  .profile-txt {
    color: #665144;
    width: 100%;
    margin: 20px auto;
    padding: 0px 20px;
  }
  figure {
    float: left;
    margin: 0 10px 10px 0;
    width: 30%;
    width: 200px; /* 画像サイズ */
  }
  figure img {
    max-width: 100%;
  }
  img {
    border-radius: 20px; /* 角丸 */
    object-fit: cover; /* 画像が伸びないよう調整 */
  }
}

.table-wrap {
  overflow-x: scroll;
}
.table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  th,
  td {
    border: 1px solid #595959;
    border-collapse: collapse;
  }
  th,
  td {
    padding: 3px;
    width: 30px;
    height: 25px;
  }
  th {
    background: rgb(251, 241, 228);
  }
  .even {
    background: #fbf8f0;
  }
  .odd {
    background: #fefcf9;
  }
}

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

/*プロフィール写真調整ほか*/
@media (max-width: 600px) {
  .profile-content {
    margin-top: 10px;
    figure {
      float: none;
      margin: 0 15px 15px 0;
      width: 100%;
    }
    /*ここがどう働くのか要確認*/
    img {
      padding-right: 0;
      width: 200px;
      aspect-ratio: 1 / 1; /* アスペクト比を固定 */
      border-radius: 50%; /* 丸くする */
      object-fit: cover; /* 画像が伸びないよう調整 */
      margin: 15px auto;
      display: block;
    }
    .profile-txt {
      margin-left: 0;
      padding: 0px;
      width: 100%;
      .strong {
        color: #220de1;
      }
    }
  }
}

/* アバウトページ */
@media (max-width: 550px) {
  .profile-wrap {
    width: 90%;
  }
}

/*犬クラスとはの下のテキスト550*/
@media (max-width: 550px) {
  .about-text {
    padding: 0px 5px;
  }
}
/*レスポンシブ対応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) {
  .about {
    background-image: none;
  }
}

/*担当トレーナー文字550*/
@media (max-width: 550px) {
  .profile-wrap {
    h2 {
      font-size: 2rem;
      padding-top: 0;
    }
    h3 {
      font-size: 1rem;
    }
  }
}
/*問い合わせ対応850*/
@media (max-width: 850px) {
  .contact {
    h2 {
      font-size: 2rem;
      margin-top: 5px;
    }
    h3 {
      font-size: 1rem;
      margin-top: 10px;
    }
  }
}

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

/*ライセンス表スクロール*/
@media (max-width: 500px) {
  .license {
    overflow-x: auto;
    max-width: 100%;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  table {
    width: 100%;
    min-width: 300px;
  }
}
/*スクロール500オプション：反映されていない*/
@media (max-width: 500px) {
  .table-wrap::-webkit-scrollbar {
    height: 8px; /* 横スクロールの高さ */
  }
  .table-wrap::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
  }
  .table-wrap::-webkit-scrollbar-track {
    background-color: #f5f5f5;
  }
}
