* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background: #eee;
  color: #333;
}

/* ヘッダー */
.header {
  text-align: center;
  padding: 20px;
}

.logo span {
  font-size: 40px;
  color: #4CAF50;
  font-weight: bold;
}

/* ナビ */
.nav {
  background: #6a3fa0;
}

.nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

.nav a {
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  display: block;
  transition: 0.3s;
}

.nav a:hover {
  background: #4b2c75;
}

/* レイアウト */
.container {
  display: flex;
  max-width: 1100px;
  margin: 20px auto;
  gap: 20px;
}

.main {
  flex: 3;
  background: white;
  padding: 20px;
}

.sidebar {
  flex: 1;
}

/* メイン */
.main-title {
  background: #7c96b2;
  color: white;
  padding: 15px;
  margin-bottom: 20px;
}

.main-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.section-title {
  background: #ddd;
  padding: 10px;
  margin: 20px 0;
}

.highlight-box {
  border-left: 5px solid #888;
  padding: 15px;
  margin: 20px 0;
  background: #f5f5f5;
  font-weight: bold;
}

.strong {
  color: red;
  font-weight: bold;
}

.site-title {
  font-size: 14px;
  color: #666;
  letter-spacing: 1px;
}

h2 {
  background: #7f93ad;
  color: #fff;
  font-size: 20px;
  font-weight: bold;

  padding: 18px 20px;
  margin: 30px 0 20px;

  border-left: 8px solid #a7b55b;
  line-height: 1.5;
}

h3 {
	background: #ececec;
	color: #0000CC;
	font-size: 18px;
	font-weight: bold;
	padding: 14px 18px;
	margin: 30px 0 20px;
	border-left: 6px solid #999;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-list li {
  margin-bottom: 35px;
}

/* 質問 */
.faq-q {
  background: #f3f3f3;

  border-left: 4px solid #bbb;

  padding: 14px 18px;

  margin-left: 20px;
  margin-bottom: 12px;

  font-size: 17px;
  font-weight: bold;

  line-height: 1.6;
}

/* 回答 */
.faq-a {
  margin-left: 50px;

  font-size: 16px;
  line-height: 1.9;

  color: #333;
}

.faq-mark-q {
  color: #4d6ea8;
  font-weight: bold;
}

.faq-mark-a {
  color: #c44;
  font-weight: bold;
}


  

/* サイドバー */
.side-box {
  background: white;
  padding: 15px;
  margin-bottom: 20px;
}

.side-box img {
  width: 100%;
}

.side-box ul {
  list-style: none;
}

.side-box li {
  padding: 5px 0;
}

.sticky-box {
  position: sticky;
  top: 20px;

  background: #fff;
  padding: 20px;

  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {

  .sticky-box {
    position: static;
  }

}

/* フッター */
.footer {
  text-align: center;
  padding: 20px;
  background: #ddd;
}

.footer ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 20px;
  margin-bottom: 10px;
}

.footer a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.footer a:hover {
  color: #6a3fa0;
}

.page-top {
  position: fixed;

  right: 20px;
  bottom: 20px;

  width: 50px;
  height: 50px;

  background: #6d3fa9;
  color: #fff;

  text-align: center;
  line-height: 50px;

  font-size: 20px;
  text-decoration: none;

  border-radius: 50%;

  box-shadow: 0 2px 6px rgba(0,0,0,0.2);

  transition: 0.3s;
}

.page-top:hover {
  background: #532d82;
  transform: translateY(-3px);
}


/* レスポンシブ */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .nav ul {
    flex-direction: column;
  }

  .nav a {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
}
