/* ========================================
   リセット・基本設定
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: #2c3e50;
  background-color: #ecf0f1;
  letter-spacing: 0.03em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #2980b9;
  text-decoration: underline;
}
/* ========================================
   レイアウト
======================================== */
#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ecf0f1;
}
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
  width: 100%;
}
#column1 {
  flex: 1;
}
/* ========================================
   ヘッダー
======================================== */
#top {
  background: linear-gradient(to right, #16a085, #1abc9c);
  padding: 14px 0;
}
#top .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#top h1 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
#top h1 a {
  color: #fff;
}
#topmenubtn {
  cursor: pointer;
  padding: 7px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
#topmenubtn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}
#panel {
  display: none;
}
#header {
  background-color: #fff;
  padding: 40px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
#headertxt .title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1abc9c;
  margin-left: 28px;
}
#headertxt .title a {
  color: #1abc9c;
}
/* ========================================
   メインコンテンツ（2カラム）
======================================== */
#contents {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 25px;
  width: 100%;
}
#layoutbox {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
  width: 100%;
}
#main {
  background-color: #fff;
  padding: 45px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  min-width: 0;
}
/* ========================================
   サイドバー
======================================== */
#menu {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 20px;
  width: 100%;
  min-width: 0;
}
#menu nav {
  display: block;
  width: 100%;
}
.menuitem {
  width: 100%;
}
.menuitem h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 22px;
  color: #1abc9c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.menuitem h4 span {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid #1abc9c;
}
.menubox {
  width: 100%;
}
.menubox ul {
  list-style: none;
  width: 100%;
}
.menubox ul li {
  margin-bottom: 0;
  border-bottom: 1px solid #ecf0f1;
  width: 100%;
}
.menubox ul li:last-child {
  border-bottom: none;
}
.menubox ul li a {
  display: block;
  padding: 14px 12px;
  color: #34495e;
  font-size: 15px;
  transition: all 0.3s ease;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.menubox ul li a:hover {
  background-color: #f8f9fa;
  color: #1abc9c;
  padding-left: 18px;
  text-decoration: none;
}
/* ========================================
   記事
======================================== */
article h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 4px solid #1abc9c;
  color: #2c3e50;
  letter-spacing: 0.03em;
}
article h3 span {
  display: inline-block;
}
#text1 {
  margin-top: 45px;
}
#text1 h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 65px 0 32px;
  padding: 22px 0 22px 24px;
  border-left: 8px solid #16a085; /* h3より少し太めで階層を示す */
  background-color: #e8f6f3; /* h3より少し彩度を落とした薄緑トーン */
  color: #2c3e50;
  border-bottom: none;
  border-radius: 4px; /* 柔らかい印象を加える */
}
#text1 h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 55px 0 28px;
  padding: 18px 0 18px 20px;
  border-bottom: none;
  border-left: 6px solid #1abc9c;
  background-color: #f8f9fa;
  color: #2c3e50;
}
#text1 h4 {
  font-size: 22px;
  font-weight: 600;
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #ecf0f1;
  color: #2c3e50;
}
#text1 h5 {
  font-size: 19px;
  font-weight: 600;
  margin: 38px 0 20px;
  color: #34495e;
}
#text1 p {
  margin-bottom: 28px;
  line-height: 1.9;
}
#text1 .txt-img {
  margin: 45px 0;
  text-align: center;
}
.image-center {
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}
/* ========================================
   リスト
======================================== */
#text1 ul,
#text1 ol {
  margin: 32px 0;
  padding-left: 28px;
  line-height: 2;
}
#text1 ul li,
#text1 ol li {
  margin-bottom: 14px;
  padding-left: 8px;
}
#text1 ul li {
  list-style: none;
  position: relative;
}
#text1 ul li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 13px;
  width: 7px;
  height: 7px;
  background-color: #1abc9c;
  border-radius: 50%;
}
#text1 ol li {
  padding-left: 4px;
}
/* ========================================
   テーブル
======================================== */
#text1 table {
  width: 100%;
  border-collapse: collapse;
  margin: 38px 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-size: 15px;
}
#text1 table th {
  background: linear-gradient(to right, #16a085, #1abc9c);
  color: #fff;
  padding: 16px 18px;
  font-weight: 600;
  text-align: left;
}
#text1 table td {
  padding: 16px 18px;
  border-bottom: 1px solid #ecf0f1;
  background-color: #fff;
}
#text1 table tr:last-child td {
  border-bottom: none;
}
#text1 table tr:hover td {
  background-color: #f8f9fa;
}
/* ========================================
   装飾枠
======================================== */
.alert,
.accept,
.attention,
.thint {
  padding: 22px 28px;
  margin: 32px 0;
  border-radius: 6px;
  border: 2px solid;
  line-height: 1.8;
  position: relative;
  font-size: 15px;
}
.alert::before,
.accept::before,
.attention::before,
.thint::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
}
/* 警告 */
.alert {
  background-color: #ffeef0;
  border-color: #e74c3c;
  color: #c0392b;
}
.alert::before {
  content: "!";
  width: 26px;
  height: 26px;
  background-color: #e74c3c;
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  margin-right: 12px;
}
/* 承諾 */
.accept {
  background-color: #e8f6fd;
  border-color: #3498db;
  color: #2874a6;
}
.accept::before {
  content: "\2713";
  width: 26px;
  height: 26px;
  background-color: #3498db;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  margin-right: 12px;
}
/* 注意 */
.attention {
  background-color: #fef9e7;
  border-color: #f39c12;
  color: #d68910;
}
.attention::before {
  content: "!";
  width: 26px;
  height: 26px;
  background-color: #f39c12;
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  line-height: 26px;
  text-align: center;
  border-radius: 4px;
  margin-right: 12px;
}
/* ヒント */
.thint {
  background-color: #e8f8f5;
  border-color: #1abc9c;
  color: #138d75;
}
.thint::before {
  content: "?";
  width: 26px;
  height: 26px;
  background-color: #1abc9c;
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  margin-right: 12px;
}
/* ========================================
   カテゴリーリスト
======================================== */
#categorylist {
  margin-top: 65px;
  padding-top: 45px;
  border-top: 3px solid #ecf0f1;
}
.catbox {
  margin-bottom: 32px;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #1abc9c;
  transition: all 0.3s ease;
}
.catbox:hover {
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.catbox .title {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.catbox .title a {
  color: #2c3e50;
}
.catbox .title a:hover {
  color: #1abc9c;
}
.catbox .body {
  color: #5d6d7e;
  line-height: 1.8;
}
.catbox .body p {
  margin-bottom: 14px;
}
.catbox .more {
  margin-top: 16px;
}
.catbox .more a {
  display: inline-block;
  color: #fff;
  background-color: #1abc9c;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.catbox .more a:hover {
  background-color: #16a085;
  text-decoration: none;
  transform: translateX(3px);
}
/* ========================================
   更新履歴（メインカラム内）
======================================== */
#whatsnew {
  background-color: #fff;
  border: 2px solid #1abc9c;
  border-radius: 6px;
  margin-top: 65px;
  overflow: hidden;
}
#whatsnew .title {
  background: linear-gradient(to right, #16a085, #1abc9c);
  color: #fff;
  padding: 16px 28px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
#whatsnew .title span {
  display: inline-block;
}
#whatsnew ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#whatsnew ul li {
  padding: 18px 28px;
  border-bottom: 1px solid #ecf0f1;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: background-color 0.3s ease;
}
#whatsnew ul li:last-child {
  border-bottom: none;
}
#whatsnew ul li:hover {
  background-color: #f8f9fa;
}
#whatsnew ul li span:first-child {
  color: #1abc9c;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  min-width: 105px;
}
#whatsnew ul li span:last-child {
  flex: 1;
  color: #5d6d7e;
}
#whatsnew ul li span:last-child a {
  font-weight: 600;
  color: #3498db;
}
#whatsnew ul li span:last-child a:hover {
  color: #2980b9;
}
/* ========================================
   ページトップ
======================================== */
#pagetop {
  text-align: center;
  padding: 28px 0;
  margin-top: 35px;
}
#pagetop a {
  display: inline-block;
  color: #7f8c8d;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 10px 25px;
  border: 2px solid #bdc3c7;
  border-radius: 25px;
  transition: all 0.3s ease;
}
#pagetop a:hover {
  color: #1abc9c;
  border-color: #1abc9c;
  text-decoration: none;
}
/* ========================================
   フッター
======================================== */
#footer {
  background-color: #34495e;
  color: #bdc3c7;
  padding: 45px 25px 28px;
  text-align: center;
  margin-top: auto;
}
#footsub {
  margin-bottom: 22px;
}
#footsub a {
  color: #bdc3c7;
  font-size: 15px;
  padding: 10px 22px;
  border: 2px solid #7f8c8d;
  border-radius: 25px;
  transition: all 0.3s ease;
}
#footsub a:hover {
  color: #1abc9c;
  border-color: #1abc9c;
  text-decoration: none;
}
#footer small {
  display: block;
  font-size: 13px;
  color: #95a5a6;
  letter-spacing: 0.04em;
}
/* ========================================
   レスポンシブ（タブレット）
======================================== */
@media (max-width: 1024px) {
  #layoutbox {
    grid-template-columns: 1fr 300px;
    gap: 25px;
  }
  #main {
    padding: 35px;
  }
  #menu {
    padding: 25px 20px;
  }
}
/* ========================================
   レスポンシブ（スマホ：1カラム）
======================================== */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.8;
  }
  .inner {
    padding: 0 18px;
  }
  #contents {
    padding: 30px 18px;
  }
  #layoutbox {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  #main {
    padding: 28px 20px;
    width: 100%;
  }
  #menu {
    padding: 28px 20px;
    position: static;
    order: 2;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .menubox ul li a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  #header {
    padding: 28px 0;
  }
  #headertxt .title {
    font-size: 24px;
  }
  article h3 {
    font-size: 26px;
    margin-bottom: 28px;
  }
  
  #text1 h2 {
    font-size: 25px;
    margin: 50px 0 28px;
    padding: 18px 0 18px 18px;
    border-left: 6px solid #16a085;
  }
  
  #text1 h3 {
    font-size: 22px;
    margin: 45px 0 24px;
    padding: 15px 0 15px 16px;
  }
  #text1 h4 {
    font-size: 20px;
    margin: 40px 0 22px;
  }
  #text1 h5 {
    font-size: 18px;
  }
  #text1 p {
    margin-bottom: 24px;
  }
  #text1 .txt-img {
    margin: 38px 0;
  }
  #text1 table {
    font-size: 14px;
  }
  #text1 table th,
  #text1 table td {
    padding: 13px 12px;
  }
  #categorylist {
    margin-top: 50px;
    padding-top: 35px;
  }
  .catbox {
    padding: 20px;
  }
  .catbox .title {
    font-size: 17px;
  }
  .alert,
  .accept,
  .attention,
  .thint {
    padding: 18px 22px;
    font-size: 14px;
  }
  .alert::before,
  .accept::before,
  .attention::before,
  .thint::before {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 15px;
    margin-right: 10px;
  }
  .accept::before {
    font-size: 14px;
  }
  #whatsnew {
    margin-top: 50px;
  }
  #whatsnew .title {
    padding: 13px 20px;
    font-size: 16px;
  }
  #whatsnew ul li {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  #whatsnew ul li span:first-child {
    min-width: auto;
    font-size: 13px;
  }
}
/* ========================================
   装飾枠
======================================== */
.alert,
.accept,
.attention,
.thint {
  padding: 20px 25px;
  margin: 35px 0;
  border-radius: 4px;
  border-left: 5px solid;
  line-height: 1.8;
  position: relative;
  font-size: 16px;
}
.alert::before,
.accept::before,
.attention::before,
.thint::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
}
/* 警告 */
.alert {
  background-color: #fff5f5;
  border-left-color: #e74c3c;
  color: #c0392b;
}
.alert::before {
  content: "!";
  width: 24px;
  height: 24px;
  background-color: #e74c3c;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  margin-right: 12px;
}
/* 承諾 */
.accept {
  background-color: #f0f9ff;
  border-left-color: #3498db;
  color: #2980b9;
}
.accept::before {
  content: "\2713";
  width: 24px;
  height: 24px;
  background-color: #3498db;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  margin-right: 12px;
}
/* 注意 */
.attention {
  background-color: #fffbf0;
  border-left-color: #f39c12;
  color: #d68910;
}
.attention::before {
  content: "!";
  width: 24px;
  height: 24px;
  background-color: #f39c12;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  border-radius: 3px;
  margin-right: 12px;
}
/* ヒント */
.thint {
  background-color: #f0fdf4;
  border-left-color: #27ae60;
  color: #229954;
}
.thint::before {
  content: "?";
  width: 24px;
  height: 24px;
  background-color: #27ae60;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  margin-right: 12px;
}
@media (max-width: 768px) {
  .alert,
  .accept,
  .attention,
  .thint {
    padding: 18px 20px;
    font-size: 15px;
  }
  .alert::before,
  .accept::before,
  .attention::before,
  .thint::before {
    width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 14px;
    margin-right: 10px;
  }
  .accept::before {
    font-size: 13px;
  }
}