body {
  font-family: 'Noto Sans JP', sans-serif;;
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 999;
}

@media (max-width: 650px) {
  .menu-item {
    display: none;
  }
  .menu-item-sp {
    display: block;
  }
  
  .container {
    flex-direction: column !important; /* 狭い画面では縦並びに変更 */
    align-items: center;
    padding-left: 0 !important;
    padding-right: 30px !important;
  }

  .column {
    width: 100%; /* カラムの幅を100%に設定 */
    padding: 10px; /* パディングを調整して余白を縮小 */
    margin-bottom: 5px;
  }

  .start {
    padding-left: 20px;
    padding-right: 20px;
  }
  .main {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 651px) {
  .menu-item {
    display: block;
  }
  .menu-item-sp {
    display: none;
  }
  .main {
    padding-left: 100px;
    padding-right: 100px;
  }
}

.logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.title {
  font-size: 24px;
  color: #333333;
  font-weight: bold;
  text-decoration: none;
}

.title-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.menu-group {
  display: flex;
  list-style: none;
}

.menu-item-sp img {
  height: 35px;
  padding: 5px;
}

.menu-item a {
  text-decoration: none;
  color: #333333;
  font-weight: bold;
}

.background-image {
  position: relative;
  width: 100%;
  height: 300px; /* お好みの高さに調整 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  transform: translate3d(0px, 0px, 0px);
}

.background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://raw.githubusercontent.com/ssmn93/depart-melody/refs/heads/main/picture/P6083547.jpg"); /* 指定画像を挿入 */
  background-size: cover;
  background-position: center;
  opacity: 0.3; /* 透明度を調整（0.0～1.0） */
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2; /* 背景画像よりも前面に表示 */
  font-family: "arial", sans-serif;
  font-size: 30px; /* 文字の大きさを設定 */
  color: #0d1b2a; /* 文字の色を設定 */
  font-weight: bold; /* 太字に設定（必要に応じて） */
  margin: 0; /* 不要な余白を削除 */
}

.main h1 {
  border-left: 10px solid #3f7aa1;
  color: #3f7aa1;
  font-weight: 400;
  display: flex;
  margin-bottom: 0;
  font-size: 3rem;
  padding-bottom: 10px;
/*   padding-top: 20px; */
  justify-content: left;
  padding-left: 30px;
}

.main p {
  color: #000000;
  display: flex;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 25px;
  font-weight: 500;
/*   padding-top: 20px; */
  justify-content: left;
}

label {
  color: #000000;
  display: flex;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 500;
/*   padding-top: 20px; */
  justify-content: left;
}

.container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 30px;
  flex-direction: row;
  align-items: stretch;
  text-align: center;
}

.column {
  flex: 1;
  background-color: #ededed;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  position: relative;
/*   display: flex; */
  align-items: center;
}

/* 画像のスタイル */
.column img {
  width: 100%; /* 画像の幅を親要素に合わせる */
  height: auto;
}

.column p {
  text-align: center;
  justify-content: center;
  text-decoration: none;
}

.column:hover {
  background-color: #e8e8e8; /* ホバー時の色 */
  transform: translateY(-2px); /* ホバー時に少し浮かせる */
}

.column:active {
  background-color: #e8e8e8; /* クリック時の色 */
  transform: translateY(0px); /* クリック時に戻す */
}

.column a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer {
  padding: 2rem;
  margin-top: 40px;
  font-size: 15px;
  color: #999999;
  background: #ffffff;
  background-color: #ededed;
  text-align: left !important;
}

.footer__navi {
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer__navi li {
  display: inline-block;
}

.footer__navi li:not(:last-child) {
  margin-right: 16px;
}

.footer__logo {
  display: flex;
  margin-bottom: 1rem;
}

.footer__logo img {
  margin-right: 10px;
}

.footer p {
  margin: 0;
}

table {
  margin-top: 20px;
  margin-left: 30px;
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

thead,
tfoot {
  background-color: rgb(228 240 245);
}

th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
}

td:last-of-type {
  text-align: center;
}

tbody > tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}

tfoot th {
  text-align: right;
}

tfoot td {
  font-weight: bold;
}

@media (max-width: 650px) {
  .menu-item {
    display: none;
  }
  .menu-item-sp {
    display: block;
  }
  
  .container {
    flex-direction: column !important; /* 狭い画面では縦並びに変更 */
    align-items: center;
    padding-left: 0 !important;
    padding-right: 0;
  }

  .column {
/*     width: 100%; カラムの幅を100%に設定 */
    padding: 10px; /* パディングを調整して余白を縮小 */
    margin-bottom: 5px;
  }

  .start {
/*     padding-left: 20px;
    padding-right: 20px; */
  }
  .main {
/*     padding-left: 20px;
    padding-right: 20px; */
  }
  
  .melody {
    flex-direction: column;
  }
  
  .rect {
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  
  svg {
    width: 100%;
  }
}

@media (min-width: 651px) {
  .menu-item {
    display: block;
  }
  .menu-item-sp {
    display: none;
  }
  .main {
    padding-left: 100px;
    padding-right: 100px;
  }
  
  .arrange {
    flex-direction: row;
  }
  
  svg {
    width: 30vw;
  }
}

svg {
  padding-top: 20px;
}

.bellCanvas {
  width: 100%;
}

.container img {
  width: 100%;
  height: auto;
}

.button-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px; /* ONとOFFの間隔を調整 */
}

/* ボタン共通スタイル */
.button-wrapper button {
  width: 50%; /* 画像の幅に対する割合 */
  max-width: 80px; /* ボタンの最大幅 */
  padding: 10px 0;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  opacity: 0.8; /* 半透明 */
}

/* ONボタン */
.start {
/*   background-color: black; */
  color: white;
}

/* OFFボタン */
.stop {
/*   background-color: red; */
  color: white;
}

/* svg {
  width: 200px;
  height: 300px;
} */
.button {
  cursor: pointer;
}

.melody {
  display: flex;
}

p {
  text-decoration: none;
}
