body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 30px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* ヘッダー行 */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* ロゴコンテナ */
.logo-container {
  flex-shrink: 0;
}

.logo-container .logo {
  height: 40px;
  width: auto;
  max-width: 200px;
}

/* homeリンク */
.container > a.home-link {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: bold;
  color: #0070c0;
  text-decoration: none;
  font-size: 1.1em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.container > a.home-link:hover {
  border-bottom: 2px solid #0070c0;
}

.title-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 1rem;
}

h1 {
  color: #004b8d; /* メインカラー: 青系 */
  font-size: 1.8em;
  margin: 0;
  flex: 1;
}

h2 {
  color: #004b8d;
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 10px;
}

h3 {
  color: #0070c0;
  font-size: 1.2em;
  margin-bottom: 8px;
}

.tag-list {
  margin-bottom: 20px;
}

.tag-list span {
  display: inline-block;
  background-color: #0070c0;
  color: #fff;
  padding: 4px 10px;
  margin-right: 6px;
  margin-bottom: 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.section {
  margin-bottom: 25px;
}

.section ul, .section ol {
  margin-left: 20px;
}

.before-after {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.before-after > div {
  flex: 1 1 45%;
  background-color: #e6f0f8;
  padding: 15px;
  border-radius: 4px;
}

.before-after ul {
  margin: 0;
  padding-left: 20px;
}

.figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
  border: 1px solid #ddd;
}

a {
  color: #0070c0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* いいねセクション */
.like-section {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  border: 2px solid #0070c0;
  box-shadow: 0 2px 4px rgba(0, 112, 192, 0.2);
}

.like-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 3px;
  border-radius: 50%;
  transition: all 0.3s;
}

.like-button:hover {
  background-color: #e6f0f8;
}

.like-button.liked .heart {
  color: #ff4757;
}

.like-button .heart {
  color: #0070c0;
  transition: color 0.3s;
}

.like-count {
  font-size: 14px;
  color: #0070c0;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}

/* CTAセクション */
.cta-section {
  background: #0070c0;
  padding: 60px 20px;
  margin-top: 60px;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-label {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.cta-button {
  background: #ffffff;
  color: #0070c0;
  border: none;
  padding: 18px 40px;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  background: #f8f9fa;
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-text {
  font-size: 1.3rem;
}

