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);
}

/* 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;
}

h1 {
  color: #004b8d; /* メインカラー: 青系 */
  font-size: 1.8em;
  margin-bottom: 20px;
}

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;
}

/* --- SNSシェアボタン --- */
.share-container {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share_button {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9em;
  font-weight: 600;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

/* 各SNSカラー */
.share_facebook {
  background-color: #3b5998;
}
.share_facebook:hover {
  background-color: #2d4373;
}

.share_twitter {
  background-color: #1da1f2;
}
.share_twitter:hover {
  background-color: #0d95e8;
}

.share_line {
  background-color: #00c300;
}
.share_line:hover {
  background-color: #009900;
}

.share_hatena {
  background-color: #00a4de;
}
.share_hatena:hover {
  background-color: #007aad;
}

.share_pocket {
  background-color: #ef4056;
}
.share_pocket:hover {
  background-color: #c43246;
}

/* --- お問い合わせフォーム --- */
.c-form {
  margin-top: 30px;
  max-width: 600px;
}

.c-form__item {
  margin-bottom: 18px;
}

.c-form__label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #004b8d;
}

.c-form__required {
  color: #e53935;
  margin-left: 4px;
  font-weight: normal;
  font-size: 0.9em;
}

.c-form__input,
.c-form__input[type="text"],
.c-form__input[type="email"],
.c-form__input textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.c-form__input:focus,
.c-form__input[type="text"]:focus,
.c-form__input[type="email"]:focus,
.c-form__input textarea:focus {
  outline: none;
  border-color: #0070c0;
  background-color: #f0f8ff;
}

.c-form__submit {
  margin-top: 12px;
}

.c-form__submit button {
  background-color: #0070c0;
  border: none;
  padding: 12px 28px;
  color: white;
  font-weight: 700;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.c-form__submit button:hover {
  background-color: #004b8d;
}

.txt-middle-content {
  color: #555;
  font-size: 1em;
  margin-bottom: 16px;
  line-height: 1.6;
}
