/* 全体設定 */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.container {
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 600px;
  box-sizing: border-box;
}

/* 見出し */
h1,
h2,
h3 {
  font-family: "noto serif jp", sans-serif;
  margin-bottom: 0.5em;
  line-height: 1.4;
  color: #222;
}

h1 {
  font-size: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}

h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
  text-align: center;
  margin-top: 0;
}

h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  text-align: center;
}

/* 小見出し・英語 */
.subheading {
  font-size: 0.9rem;
  font-family: Oswald, sans-serif;
  color: #00acee;
  display: block;
  margin-bottom: 0.2rem;
  text-align: center;
}

/* セクション */
section {
  padding: 1.5rem 0;
}

.hero {
  margin: 300px 0;
}

.hero p {
  font-family: "noto serif jp", serif;
  font-size: 0.8rem;
  text-align: center;
  color: #666;
}

.staff {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.sns-icon {
  width: 50px;
  height: 50px;
  vertical-align: middle;
  margin-right: 4px;
}

.qr-code {
  width: 100px;
  height: 100px;
  display: block;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
/* ヘッダーロゴ＆ボタン */
.header {
  display: flex;
  align-items: center;
  padding: 1em 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.5); /* 半透明白 */
  backdrop-filter: blur(2px); /* 背景ぼかし */
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 2rem;
}

.header img {
  height: 40px;
  vertical-align: middle;
}

.consult-button {
  display: inline-block;
  background-color: #06c755;
  color: white;
  padding: 0 1em; /* 上下の padding をなくす */
  height: 40px;
  line-height: 40px; /* テキストを中央に揃える */
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.consult-note {
  font-size: 0.75rem;
  margin-top: 0.3em;
  color: #666;
  text-align: right;
}

.consult-button:hover {
  background-color: #009900;
}

/* Q&Aスタイル */
.qa-item {
  margin-bottom: 1em;
  border-bottom: 1px solid #ddd;
}

.qa-question {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.8em 0;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
}

.qa-question::after {
  content: "＋";
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.qa-question.active::after {
  content: "−";
}

.qa-answer {
  display: none;
  padding: 0.5em 0 1em 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ======================== 申し込みのステップ ======================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: #00acee;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 16px;
}

.contents-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.step-text {
  font-weight: bold;
  font-size: 16px;
}

.button-wrapper {
  text-align: center;
  margin: 1rem 0;
}

/* フッター */
footer {
  background-color: #f0f0f0;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

footer img {
  width: 100px;
  margin: 0 auto;
  display: block;
}

.logo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

footer a:hover {
  text-decoration: underline;
}

a.article-link {
  font-family: "Kosugi Maru", sans-serif;
  background-color: #00acee;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  text-align: center;
  font-size: 18px;
  display: inline-block;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  margin: 4px;
  width: fit-content;
  line-height: 1.4;
}

a.article-link:hover {
  background-color: #008ecf;
  box-shadow: 0 4px 16px rgba(0, 172, 238, 0.15);
  transform: translateY(-2px) scale(1.04);
  transition: all 0.3s ease;
}

.play {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  display: inline-block;
  transform: translateY(-1px); /* ← ズレがある場合に微調整 */
}

.x-profile-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background-color: #000;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.x-profile-button:hover {
  background-color: #111;
}

.x-profile-button .x-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
