:root {
  --primary: #2589d0;
  --secondary: #2e8b57;
  --dark: #1c1c1c;
  --light: #f5f5f5;
  --gray: #666;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--primary);
}
/* ヘッダー */
.blog-header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  background-position: top center;
  background-position: center;
  color: white;
  padding: 80px 0;
  text-align: center;
  margin-top: 76px;
}

.blog-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.blog-header .meta {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* メインコンテンツ */
.blog-content {
  padding: 40px 0;
}

h2 {
  display: inline-block;
  position: relative;
  padding: 0.5em 0.7em;
  border-radius: 50px 0 0 50px;
  background-color: #2589d0;
  color: #fff;
  width: 100%;
  font-size: 1rem;
  margin: 2rem 0 1em;
}

h2::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 13px;
  border-radius: 50%;
  background: #fff;
}

h3 {
  display: flex;
  align-items: center;
  column-gap: 8px;
  color: #333333;
  margin: 2rem 0 1rem;
  border-bottom: solid 1px #999;
}

h3::before {
  width: 0.8em;
  height: 0.4em;
  border-bottom: 4px solid #2589d0;
  border-left: 4px solid #2589d0;
  transform: rotate(-45deg) translate(2px, -2px);
  content: "";
}

h4 {
  margin: 1rem 0;
}

/* テーブルスタイル */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: var(--dark);
  color: white;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

/* リストスタイル */
ul,
ol {
  padding-left: 20px;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 10px;
}

/* カードスタイル */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px 0;
}

/* FAQセクション */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 15px;
  text-align: left;
  background: #f9f9f9;
  border: none;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.faq-answer p {
  padding: 15px 0;
}

/* 装飾要素 */
.highlight {
  background-color: #e7f3f8;
  padding: 20px;
  border-left: 4px solid var(--primary);
  margin: 20px 0;
}

.tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-right: 5px;
}

.tags {
  margin-bottom: 0.5rem;
}

/* フッター */
.blog-footer {
  background: var(--dark);
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s;
}

.cta-button:hover {
  background: #ff6347;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section {
  margin-bottom: 0rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 1.3rem;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .card {
    padding: 15px;
  }
  .blog-header {
    margin-top: 45px;
  }
}
