aside {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,245,230,1);
  border-width: 3px 0;
  border-style: solid;
  border-color: rgba(155,145,130,0.8);
}

aside p strong:first-child {
  display: block;
  margin: 0 0 1rem;
}

aside p {
  margin: 0;
  max-width: 30rem;
}


main article > figure > a:hover > img,
main article > figure > a:focus > img
{
  outline: 1px solid blue;
}

header > nav > ul > .sns {
  width: 2.5rem;
}

header > nav .sns img {
  vertical-align: middle;
}

.pickup {
  list-style-type: none;
}
.pickup > li > a:link {
  display: block;
  padding: 1rem;
  text-align: center;
  background-color: white;
  transition: background-color 1s ease 0s;
}
.pickup > li > a:link > img {
  vertical-align: middle;
  width: 2.5rem;
  margin-right: 0.5rem;
}
.pickup > li > a:hover {
  background-color: rgba(255,200,200, 0.5);
}


@media print {
  aside {
    border:0;
  }
  aside p {
    max-width: none;
  }
}

@media screen and (min-width: 30rem) {

  aside::before {
    content: "！";
    font-size: 10rem;
    font-family: monospace;
    line-height: 1;
    color: rgba(30,0,0,0.9);
  }

  /* animation設定 */
  main,aside,aside::before,aside>p {
    opacity: 0;
    animation-name: change-opacity;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-duration: 2s;
  }

  aside {
    animation-delay: 2s;
    animation-duration: 1.25s;
  }

  aside::before {
    animation-delay: 2.75s;
    animation-duration: 0.5s;
  }

  aside > p {
    animation-delay: 3.5s;
    animation-duration: 1.25s;
  }


  @keyframes change-opacity {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

}
/* --- 背景とレイアウトの修正 --- */
html {
    background-image: none; /* 全体固定背景を解除 */
    background-color: #fdfaf5; /* 全体のベースカラーを薄いパステルに */
}

body {
    background-color: transparent;
}

/* メインエリアの装飾 */

/* --- レイアウトの基本設定 --- */
main {
    max-width: none;
    margin: 2rem auto;
    background-color: #fff;
    border: none; /* 外側の太いボーダーを一旦解除 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}


/* --- ファーストビュー（ヒーローエリア） --- */
h1 > small {
  display: block;
  text-align: right;
  font-size: 80%;
}

.top-heading h2 {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    margin: -2rem 2rem 1rem; /* 画像に少し被せる */
    border-radius: 8px;
    border: none;
    border-left: 8px solid #ffcccc; /* パステルピンクのアクセント */
    font-size: 1.4rem;
    line-height: 1.5;
}

/* --- お知らせ（NEWS）のカードデザイン --- */
.news {
    padding: 2rem;
    background-color: #fffaf0; /* お知らせエリアを少し色分け */
}

.news h2 {
    text-align: center;
    border-bottom: 2px solid #ffcccc;
    padding-bottom: 10px;
    margin-bottom: 2rem;
    color: #884444;
}

/* お知らせ一覧のリンクを見やすく */
.news ul {
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 2rem;
}

/* 個別記事をカード化 */
main article {
    background: #ffffff;
    border: 1px solid #ffebeb;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: none; /* 元の破線を上書き */
}

main article h3 {
    color: #d66;
    margin-top: 0;
    font-size: 1.2rem;
}

/* スポンサー募集（aside） */
aside {
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 860px;
    border: 2px dashed #ffcccc;
}

/* 「会員募集中」をリボン風のアクセントに */
.ribbon {
  text-align: center;
  background: #ff6666;
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 5px;
  margin-left: 1rem;
  transform: rotate(-2deg);
  font-size: 2rem;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

@media screen and (min-width: 800px) {
  .ribbon{
    float: right;
  }
}

.tagline {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border: 2px solid #ffcccc;
    border-radius: 50px;
    font-weight: bold;
    color: #d66;
}

/* --- 【2】紹介文エリア（読み物） --- */
.intro-text {
    padding: 3rem 2rem;
    background-color: #fff;
}

.text-container {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.text-container p {
    margin-bottom: 1.5rem;
    color: #444;
}

.text-container p > strong {
  font-size: large;
}
.text-container p > strong::before {
  content: "◆";
}

/* インスタボタンを中央に */
.pickup {
    margin: 2rem auto 0;
    max-width: 400px;
    border: none;
}

.pickup > li > a:link {
    border-radius: 10px;
    border: 2px solid #ffcccc;
    font-weight: bold;
    color: #d66;
}

/* --- 【3】お知らせとの区切り --- */
.news {
    background-color: #fffaf0; /* 背景をわずかに変えて区切る */
    padding: 3rem 2rem;
    border-top: 2px dashed #ffcccc;
}