body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, #ba2636, #007bbb);
}

header {
  display: flex; /* Flexboxを有効にする */
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  width: 100%; /* ヘッダー全体の幅 */
  /* 必要に応じて高さや背景色を設定 */
  height: 75px;
  background-color: white;
  position: fixed;
}

.logo {
  font-size: 24px;
}

/* メニューのスタイル */
.menu {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態では画面の外に隠れている */
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, #ba2636, #007bbb);
  color: black;
  transition: right 0.3s ease; /* スライドインのアニメーション */
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

/* メニューが開いているとき */
.menu.open {
  right: 0;
}

/* ボタンのスタイル */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(180deg, black, gray);
  margin: 5px 0;
  transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 50px;
}

.menu li {
  padding: 17.5px 25px;
  border-bottom: 3px solid white;
  transition: background-color 0.75s;
}

.menu li a {
  text-align: center;
  color: white;
  text-shadow: 3px 5px 10px black;
  text-decoration: none;
  display: block;
}

.btn {
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn.slide-bg {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn.slide-bg span {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: #752100;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  transition: transform 0.3s;
  z-index: -1;
}

.btn.slide-bg:hover {
  color: white;
}
.btn.slide-bg:hover span {
  transform: none;
}

.main-contents {
  padding-top: 75px;
  padding-bottom: 75px;
  height: auto;
}

p {
  color: white;
}

h2 {
  margin: 125px auto 25px auto;
  text-align: center;
  width: 175px;
  color: white;
  border-bottom: 3px solid #fff;
  text-shadow: 3px 5px 10px black;
}

ruby {
  color: white;
  font-weight: lighter;
}

.news {
  height: 150px; /*スクロールの高さ*/
  width: auto;
  padding: 25px;
  margin: 25px 50px;
  overflow-y: scroll;
  background: linear-gradient(135deg, #ba2636, #007bbb);
  border: 3px solid #fff;
  box-shadow: 3px 5px 10px black;
}

.contact {
  height: auto;
  width: auto;
  padding: 25px;
  margin: 25px 50px;
  background: linear-gradient(135deg, #ba2636, #007bbb);
  border: 3px solid #fff;
  box-shadow: 3px 5px 10px black;
  text-align: center;
}

.contact a {
  width: auto;
  text-align: center;
  font-weight: bold;
  color: white;
  border-bottom: 1px solid white;
  text-shadow: 3px 5px 10px black;
  margin: 25px auto;
  text-decoration: none;
  display: block;
}

.sns {
  height: auto;
  width: auto;
  padding: 25px;
  margin: 25px 50px;
  background: linear-gradient(135deg, #ba2636, #007bbb);
  border: 3px solid #fff;
  box-shadow: 3px 5px 10px black;
  text-align: center;
}

.sns a {
  margin: 25px auto;
  text-align: center;
}

.sns a img {
  padding: 10px;
  margin: 25px;
  box-shadow: 3px 5px 10px black;
}

.about-me {
  display: flex;
  flex-direction: column;
  height: auto;
  width: auto;
  padding: 25px;
  margin: 25px 50px;
  background: linear-gradient(135deg, #ba2636, #007bbb);
  border: 3px solid #fff;
  box-shadow: 3px 5px 10px black;
}

.about-me img {
  margin: 0 auto;
  border: 1px solid white;
  border-radius: 100%;
  box-shadow: 3px 5px 10px black;
}

.profile {
  margin: 0 auto;
}

.profile h3 {
  text-align: center;
  color: white;
  text-shadow: 3px 5px 10px black;
  border-bottom: 1px solid white;
}

.profile h3 p {
  text-align: right;
}

footer {
  display: flex; /* Flexboxを有効にする */
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  width: 100%; /* ヘッダー全体の幅 */
  /* 必要に応じて高さや背景色を設定 */
  height: 75px;
  background-color: white;
}
