/* 全体設定 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* コンテンツ枠 */
.container {
  max-width: 720px;
  margin: 4vh auto;
  padding: 1em;
}

/* タイトルと作者名 */
.title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #222;
}

.author {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 2em;
  font-weight: bold;
  color: #444;
}

/* 上部リンク（X・お問い合わせ） */
.top-links {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 2em;
  flex-wrap: wrap;
}

.top-box {
  background: #ffffff;
  border: 2px solid #ccc;
  padding: 0.5em 1.5em;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.9em;
  transition: 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.top-box a {
  text-decoration: none;
  color: #333;
}

.top-box:hover {
  background-color: #f0f0f0;
}

/* 各セクション */
.section {
  background: #ffffff;
  border: 2px solid #ccc;
  border-radius: 20px;
  padding: 1.5em;
  margin-bottom: 2em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
}

.section:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* セクションタイトル */
.section h2 {
  margin-top: 0;
  font-size: 1.2em;
  color: #222;
}

/* 通常リンク */
.section a {
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

.section a:hover {
  color: #ff6666;
}

.section a:active {
  color: #cc0000;
}

.section a::after {
  content: ' 🔗';
  font-size: 0.9em;
}

/* 箇条書き */
.section ul {
  padding-left: 1.2em;
}

.section ul li {
  margin-bottom: 0.5em;
}

/* YouTube Shorts 埋め込み用 */
.youtube-shorts-wrapper {
  position: relative;
  padding-top: 177.78%; /* 9:16の比率 */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 1em;
}

.youtube-shorts-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* フッター */
footer {
  text-align: center;
  font-size: 0.8em;
  color: #aaa;
  margin-top: 2em;
  padding-bottom: 2em;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .container {
    padding: 1em;
  }

  .title {
    font-size: 1.6em;
  }

  .author {
    font-size: 1em;
  }

  .top-box {
    width: 100%;
    text-align: center;
  }
}
