body {
  font-family: "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  font-size: 15px;
  background: linear-gradient(to bottom, #d1ecf9, #aed9e0);
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  color: #f16565;
}

img {
  width: 100%;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.2);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 120px;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to right, #b8d8d8, #66b6b6);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header ul {
  display: flex;
  list-style: none;
}

.header ul li {
  width: 20%;
  min-width: auto;
  text-align: center;
  border-right: 1px solid #b4d7ff;
}

header,
footer {
  text-align: center;
  padding: 20px;
  background-color: #80c8c9;
}

main {
  padding-top: 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.container {
  padding: 20px;
  margin: 20px;
  border: 1px solid #ccff99;
  border-radius: 8px;
  background-color: #f0f0f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2), 0 2px 3px rgba(0, 0, 0, 0.1);
}

.wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: calc(100% - 16px);
  padding: 8px;
}

.box {
  width: 50%;
}

/* 480px以下のデバイスで適用されるスタイル */
@media (max-width: 720px) {
  .wrapper {
    flex-direction: column;
  }
  .box {
    width: 100%;
  }
}

.slider {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
}

.slide {
  flex: 0 0 100%;
  transition: transform 0.5s ease;
}

.content-text {
  padding: 0 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  font-family: Sawarabi Mincho;
  font-size: larger;
}

button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ccff99;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.suisudayo {
  text-decoration: underline;
  text-decoration-color: #000;
  font-weight: bold;
}

.R1 {
  text-decoration: underline;
  text-decoration-color: #000;
  font-weight: bold;
}

#protectedContent {
  display: none; /* 最初はコンテンツを隠す */
}
