/* --- 基本設定 --- */
body { 
    color: #3B4043; 
    margin: 0; 
    font-size: 14px; 
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "Meiryo", sans-serif; 
    border-top: #004D40 5px solid; 
    padding-top: 5px; 
    background-color: #fff; 
}
.contentsRight { width: 100%; max-width: 900px; margin: 0 auto; }
.contentsBox { width: 92%; margin: 0 4%; }

/* --- 見出しデザイン --- */
.title, .title02 { 
    font-size: 18px; 
    color: #fff; 
    border-left: #C5E1A5 10px solid; 
    background: #004D40; 
    padding: 14px 14px 14px 25px; 
    margin-bottom: 23px; 
}

/* --- メニューボタン --- */
.menuSub_contents { display: flex; flex-wrap: wrap; list-style: none; margin: 0 2% 25px 2%; padding: 0; }
.menuSub_contents_btn { 
    width: 48%; 
    min-height: 52px; 
    margin: 0 1% 1% 1%; 
  border: 1px solid #CDD6DD;
  box-sizing: border-box;
  display: flex;
      justify-content: center;
      align-items: center;
}
.menuSub_contents_btn a { 
  width: 100%;
  display: block;
  color: #3B4043;
  text-decoration: none;
}

/* --- 7:3 レイアウト設定 --- */
.flex-container { display: flex; align-items: stretch; gap: 20px; margin-bottom: 30px; }
.flex-text { flex: 7; display: flex; flex-direction: column; justify-content: space-between; }
.flex-image { flex: 3; text-align: center; }
.contentsBox p { line-height: 2.1; margin-bottom: 1.5em; text-align: justify; }
.source-text { font-size: 0.9em; color: #666; margin-bottom: 1.0em; }

.illustration-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    background-color: #F9FBF7;
    border-radius: 8px;
    box-sizing: border-box;
}
.illustration-box img { max-width: 100%; height: auto; border-radius: 4px; }
.illustration-caption { margin-top: 8px; font-size: 0.85em; color: #555; font-weight: bold; line-height: 1.4; }

/* 誘導ボタン */
.link-area-inline { text-align: right; margin-top: auto; padding-bottom: 10px; }
.link-button-small {
    display: inline-block;
    padding: 10px 22px;
    background-color: #689F38;
    color: #fff !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9em;
    transition: 0.3s;
}
.link-button-small::after { content: " ≫"; }

/* --- タイル風テーブル設定 --- */
.tile-layout-wrapper {
    background-color: #F1F4F0;
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
    margin-bottom: 40px;
}
.area_list_table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 0 10px; 
    margin: 0;
}
.area_list_table thead td {
    background-color: transparent !important;
    color: #004D40;
    font-weight: bold;
    text-align: center;
    padding: 0 10px 5px 10px;
    border: none;
}
.area_list_table tbody td {
    background-color: #ffffff; 
    border: none;
    padding: 18px 15px;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    line-height: 1.8;
}
.area_list_table tbody tr td:first-child { border-radius: 8px 0 0 8px; }
.area_list_table tbody tr td:last-child { 
    border-radius: 0 8px 8px 0; 
    border-left: 1px solid #F0F0F0; 
    text-align: center; 
    font-weight: bold;
    color: #004D40;
    font-size: 1.1em;
    white-space: nowrap;
}

/* 項目ごとの「●」装飾 */
.list-items { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.list-items span { position: relative; padding-left: 14px; display: inline-block; }
.list-items span::before {
    content: "●";
    color: #8BC34A;
    position: absolute;
    left: 0;
    font-size: 10px;
    top: 1px;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .flex-container { flex-direction: column; gap: 10px; }
    .flex-text, .flex-image { flex: none; width: 100%; }
    .flex-image { order: 2; margin-bottom: 30px; }
    .flex-text { order: 1; }
    .menuSub_contents_btn { width: 98%; margin-bottom: 8px; }
    .link-area-inline { text-align: center; margin: 20px 0; }
    .tile-layout-wrapper { padding: 10px; }
    .area_list_table tbody td { padding: 12px 10px; font-size: 13px; }
}
/* --- 前回の共通設定はそのまま維持 --- */

/* --- FAQ（Q&A）特有のスタイル --- */
.chapter-title {
    background-color: #F1F8E9;
    color: #2E7D32;
    padding: 12px 15px;
    font-weight: bold;
    border-radius: 4px;
    margin: 40px 0 20px 0;
    border-left: 5px solid #8BC34A;
    font-size: 1.1em;
}

.qa-item { margin-bottom: 40px; }

.question {
    display: flex;
    align-items: flex-start;
    font-weight: bold;
    font-size: 16px;
    color: #004D40;
    margin-bottom: 15px;
    line-height: 1.5;
}
.question::before {
    content: "Q";
    background-color: #004D40;
    color: #fff;
    min-width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 12px;
    font-family: serif;
}

.answer {
    display: flex;
    align-items: flex-start;
    line-height: 2.1;
    text-align: justify;
}
.answer::before {
    content: "A";
    background-color: #8BC34A;
    color: #fff;
    min-width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 12px;
    font-family: serif;
    margin-top: 5px;
}

/* 囲み装飾（宣言部分など） */
.highlight-box {
    background-color: #F9FBF7;
    border: 1px dashed #689F38;
    padding: 18px;
    margin: 15px 0 10px 0;
    border-radius: 8px;
}
.highlight-box b { color: #2E7D32; display: block; margin-bottom: 8px; }

/* 右寄せ誘導ボタン */
.link-area-right { 
    text-align: right; 
    margin: 20px 0 50px 0; 
}

/* モバイル調整 */
@media (max-width: 768px) {
    .question { font-size: 15px; }
    .question::before, .answer::before { min-width: 24px; height: 24px; font-size: 14px; }
    .link-area-right { text-align: center; margin-bottom: 40px; }
}
/* --- 共通・FAQ設定は維持 --- */

/* --- 選ぶポイント（point.html）特有のスタイル --- */
.point-header {
    display: flex;
    align-items: center;
    background-color: #F1F8E9;
    border-radius: 30px;
    margin: 40px 0 15px 0;
    padding: 5px 15px 5px 5px;
}

.point-badge {
    background-color: #689F38;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.point-title {
    color: #2E7D32;
    font-weight: bold;
    font-size: 1.1em;
}

/* 文頭の矢印アクセント */
.p-accent::before {
    content: "▶";
    color: #689F38;
    font-size: 0.8em;
    margin-right: 8px;
}

/* モバイル調整の追加 */
@media (max-width: 768px) {
    .point-header { border-radius: 10px; padding: 10px; }
    .point-badge { padding: 5px 10px; font-size: 11px; margin-right: 10px; }
    .point-title { font-size: 1em; }
}