/* Layout */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  justify-content: center;
}

.top {
  flex: 1 1 600px;
  min-width: 300px;
}

.top h2,
.magazine h2,
.youtube h2 {
  margin-bottom: 1rem;
  color: #e91e63;
}

.notice,
.news,
.magazine,
.youtube {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

/* お知らせ */
ul.notices {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.notices li {
  margin-bottom: 0.5rem;
  font-size: 14px;
}

ul.notices li strong {
  color: #999;
  margin-right: 0.5rem;
}

.pre-book{
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 10px;
}
.sale-date{
  font-size: small;
}
.synopsis{
  font-size: smaller;
}
.buy{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
.buy a{
  margin: 5px;
  border: 2px solid black;
  border-radius: 10px;
}
.special{
  border: 3px solid red;
}
/* 連載情報 */
.magazine li{
  list-style: none;
  margin-top: 5px;
}
.magazine li p{
  font-size: smaller;
}
.magazine li p span{
  background:linear-gradient(transparent 80%, rgb(102, 168, 255) 80%);
  margin-left: 15px;
}

.magazine li::before{
  content: '★';
}
/* スマホ対応 iframe */
.youtube iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

/* スライドショー */
.slideshow {
  flex: 1 1 600px;
}

.sidebar {
  flex: 1 1 300px;
  min-width: 300px;
}

.profile .name {
  font-size: 30px;
  text-align: center;
  text-shadow: 1px 1px 1px rgb(221, 141, 190), -1px 1px 1px rgb(221, 141, 190), 1px -1px 1px rgb(221, 141, 190), -1px -1px 1px rgb(221, 141, 190);
}

.profile li {
  list-style: none;
  font-size: small;
}

.job p{
  font-size: small;
}
.job p::before{
  content: "●";
  padding-right: 5px;
}
/* Cards */
.card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.card h2 {
  margin-bottom: 1rem;
  color: #e91e63;
}

/* Slideshow placeholder */
.slideshow-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.slideshow-track {
  display: flex;
  gap: 10px;
}

/* モバイル向けレイアウト（768px以下） */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .top,
  .sidebar {
    flex: 1 1 100%;
    width: 100%;
  }

  .magazine li {
    word-break: break-word;
  }
}
