@charset "UTF-8";

/* ==========================================================================
   Base Styles (全体設定)
   ========================================================================== */
   body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #000;
    line-height: 1.6;
    background-color: #fff;
    /* 全体幅800px + 予備の余白を含めた最小幅 */
    min-width: 840px; 
}

/* ==========================================================================
   Layout Container (Width: 800px Fixed)
   ========================================================================== */
.container {
    width: 800px; /* 全体幅を800pxに固定 */
    margin: 0 auto;
    box-sizing: border-box;
}

/* ==========================================================================
   2. Table of Contents (目次エリア)
   ========================================================================== */
/* 外側のコンテナ */
.info-container {
    position: relative;
    margin: 0 auto;
    max-width: 750px;
}

/* 緑の見出し部分 */
.info-title {
    position: absolute;
    top: -20px; /* 上に浮かせる */
    left: 10px;
    background-color: #00896C; /* 緑色 */
    color: #fff;
    padding: 8px 20px 8px 15px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-weight: bold;
    font-size: 35px;
    display: flex;
    align-items: center;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
}

/* 白い丸アイコン */
.info-title::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 10px;
}
.info-speechbubble {
    background: #fff;
    color: #333;
    position: relative;
    font-weight: bold;
    padding: 4px 21px 10px;
    font-size: 26px;
    border-radius: 5px 5px 0 5px;
    border: 2px solid #000;
    display: inline-block;
    height: 30px;
    top: 20px;
    z-index: 100;
    left: 70px;
  }
  
  .info-speechbubble::before {
    content: "";
    border: 31px solid transparent;
    border-top: 13px solid #000;
    top: 99%;
    left: 19%;
    position: absolute;
}
  
  .info-speechbubble::after {
    content: "";
    border: 29px solid transparent;
    border-top: 12px solid #fff;
    margin-top: 0;
    top: 98%;
    left: 20%;
    position: absolute;
}

.bubble-escape{
  font-size: 16px;
	color: #000;
	line-height: 1.6;
	display: block;
}

/* 説明文の枠線ボックス */
.info-box {
    border: 1px solid #000;
    padding: 60px 15px 30px; /* 上の余白を見出し分空ける */
    background-color: #fff;
    border-radius: 4px;
    top: 15px;
    position: relative;
    margin-top: 35px;
    font-size: 22px;
    width: 80;
}

.info-box li {
    list-style: none;
    position: relative;
    padding-left: 30px;
    width: 80%;
}

.info-box li span{
    color: red;
    font-size: 1.2em;
    font-weight: bold;
}

.info-box li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 20px;
    transform: translateY(-50%);
    font-size: 22px;
    color: #000;
}
.info-box h4 {
    font-weight: bold;
    text-decoration: underline;
}
.info-box a {
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
    text-decoration: underline;
}

.info-text {
    font-size: 22px;
    word-break: break-all;
}

/* 赤文字強調 */
.highlight {
    color: #E60012;
    font-weight: bold;
    font-size: 25px;
}

/* 注釈部分 */
.info-note {
    margin-top: 25px;
    font-size: 16px;
    color: #000;
    line-height: 1.4;
    width: 750px;
}
.toc-box {
    width: 100%; /* コンテナ幅(800px)いっぱいに広げる */
    height: 540px;
    margin: 0 auto 100px;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
    border-top: 8px solid #00947a; /* 緑色アクセント */
    padding: 40px 50px; /* 内側の余白 */
    background-color: #fff;
    box-sizing: border-box;
}




/* --- 追加：サブ項目（シミュレーター）のデザイン --- */
.toc-sub-item {
    margin-top: 15px;
    padding-left: 0;
    font-size: 18px; /* 少し小さく */
    font-weight: bold;
    display: flex;
    align-items: center;
}

.tree-line {
    color: #999;
    margin-right: 10px;
    font-weight: normal;
}

.simulator-link {
    text-decoration: none;
    color: #000;
}

/* 「＼10秒でわかる！／」の部分 */
.balloon {
    font-size: 15px;
    color: #000;
    margin-right: 5px;
    font-weight: bold;
}

/* ホバー時の挙動 */
.simulator-link:hover {
    text-decoration: underline;
    color: #00947a;
}

.simulator-link:hover .balloon{
    color: #00947a;
}

/* ==========================================================================
   Typography & Common Components
   ========================================================================== */

/* --- メインタイトル（緑色・下線付き） --- */
/* 基準サイズ: 40px */
.section-title, .main-title {
    font-size: 40px;
    font-weight: bold;
    color: #00947a; /* 画像のティールグリーン */
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px; /* タイトル下の余白 */
    padding-bottom: 5px;
    border-bottom: 3px solid #00947a;
    line-height: 1.3;
}

.header-title {
    font-weight: bold;
    text-align: center !important;
    font-size: 20px;
    color: #000; /*文字色*/
    padding-top: 10px;
    padding-bottom: 10px;
}

.header-text-block.top p {
    margin-bottom: 20px;
    padding: 0px 20px 0px 20px;
    font-size: 20px;
    text-align: justify;
    font-weight: bold;
}

/* アコーディオンスタイル */
.accordion-container {
    margin-top: 20px;
    position: relative; /* 親要素に相対位置を指定 */
}

.accordion-header {
    cursor: pointer;
    background-color: #f0f0f0;
    text-align: center;
    font-weight: bold;
    border: 1px solid white;
    position: relative; /* 親要素に対して相対位置 */
    border: 4px solid #f0f0f0;
    font-size: 20px;
}

.accordion-content {
    display: block; /* 初期状態で表示 */
    overflow: hidden; /* 内容がはみ出さないように */
    background-color: white;
    border-top: 1px solid white;
    max-height: 0; /* 初期状態で高さを0に */
    transition: max-height 0.3s ease-out; /* なめらかなアニメーション */
}

/* アコーディオンが開いているとき */
.accordion-content.open {
    max-height: 1000px; /* 高さを十分に大きな値に設定（内容に合わせて調整） */
}
.header-text-block{
    font-size: 22px;
    line-height: 1.8; /* 読みやすさを考慮した行間 */
    margin-bottom: 30px; /* 段落下の余白 */
    text-align: justify;
    text-align: center;
    border: red solid 5px;
}

/* --- 本文テキスト --- */
/* 基準サイズ: 20px */
.text-block p, 
.text-body p,
.note-body, 
.item-desc {
    font-size: 22px;
    line-height: 1.8; /* 読みやすさを考慮した行間 */
    margin-bottom: 30px; /* 段落下の余白 */
    text-align: justify; /* 両端揃え */
    
}

/* --- 注釈テキスト --- */
/* 基準サイズ: 18px */
small, .table-note, .chart-notes p, .final-note {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    display: block;
}

/* --- 画像共通スタイル --- */
/* 基準: 薄い青色の枠線 */
.section-image, .image-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.section-image img, .image-wrapper img {
    max-width: 100%;
    height: 320px;
    box-sizing: border-box;
}

/* セクション間の余白 */
.content-section, .support-section {
    margin-bottom: 100px;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
    margin-bottom: 60px;
}

.hero-image-box {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.main-img {
    width: 100%;
    height: 395px;
    display: block;
}

/* タイトル帯（画像下部の白グラデーション） */
.title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(255,255,255,1) 40%, rgba(255,255,255,0.7) 100%);
    padding: 20px 0 5px;
    text-align: center;
}

.site-title {
    position: absolute;
    bottom: 0;           /* 下端にぴったりくっつける場合 */
    left: 0;            /* 左端から開始 */
    right: 0;           /* 右端まで伸ばす */
    margin: 0;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    color: #000;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px; /* 上下の余白を少し調整 */
    line-height: 1.3;

    /* 上向きのシャドウ（水平方向0、垂直方向-5px、ぼかし10px、透明度のある黒） */
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.2);
}

.intro-text {
    font-size: 22px;
    margin: 0 auto 20px;

    width: 750px;
    line-height: 1.8;
}

/* =========================================================================
   2. Table of Contents (目次)
   ========================================================================== */
/* --- 目次エリア（修正版） --- */


.toc-header {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-top: -25px;
    margin-bottom: 30px;
}

.toc-list {
    counter-reset: toc-counter; /* リスト全体でカウンターをリセット */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* リスト項目の縦幅調整 */
.toc-list li {
    font-size: 22px; /* テキストサイズ */
    font-weight: bold;
    border-bottom: 1px dotted #ccc;
    position: relative;
    padding: 12px 0 12px 35px; /* 左に余白を取って番号用スペース確保 */
    line-height: 1.4;
    counter-increment: toc-counter; /* 各リストアイテムでカウントを増加 */
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list li a {
    text-decoration: none;
    color: #000;
    transition: color 0.2s;
}

.toc-list li a:hover {
    color: #00947a;
}

/* アイコン位置の微調整（paddingに合わせて調整） */
.toc-list li::before {
    content: counter(toc-counter) '. ';
    position: absolute;
    left: 0;
    top: 15px;
    height: 20px;
    color: #00947a;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
}


/* ==========================================================================
   4. Changes Section (変更点・テーブル)
   ========================================================================== */
.table-area {
    margin-top: 40px;
}

/* 「変更点」セクション内の小見出し（国公立・私立）は
   青い帯ではなく「黒の太字テキスト」として表示 */
#changes .sub-label {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    border-left: none; /* 左の青線なし */
    padding-left: 0;
    margin-bottom: 5px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    font-size: 16px; /* 表内の文字サイズ */
}

.compare-table th, 
.compare-table td {
    border: 1px solid #fff; /* 白い区切り線 */
    padding: 10px;
    vertical-align: middle;
}

/* ヘッダー行 */
.compare-table thead th {
    background-color: #4472c4; /* ヘッダーの青色 */
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    padding: 12px 0;
}
/* 左上の空セル */
.th-year {
    background-color: #4a7ebb; /* 青色 */
    color: #fff;
    width: 25%;
    font-size: 22px;
}
.th-year.attention{
    background-color: #fe7d00; 
    color: #fff;
    width: 35%;
    font-size: 22px;
    font-weight: bold;
}
.th-empty {
    background-color: #4a7ebb;
    border: none;
    width: 15%;
}

/* 左列（項目名） */
.td-label {
    background-color: #dbe5f1; /* 薄い青グレー */
    font-weight: bold;
    color: #000;
    text-align: center;
}
.td-content{
    font-size: 16px;
}
.td-content.attention{
    font-size: 22px;
    font-weight: bold;
}

/* データセル */
.compare-table tbody td {
    background-color: #e9eff7; /* さらに薄い背景 */
    text-align: center;
    line-height: 1.4;
}

/* 左寄せが必要なセル */
.align-left {
    text-align: left;
    padding-left: 15px;
}

/* 強調文字 */
.compare-table strong {
    font-weight: bold;
}

/* 2026年の強調（私立） */
.text-large {
    font-size: 22px;
    font-weight: bold;
}

.table-note {
    margin-top: -30px;
    margin-bottom: 50px;
    font-size: 16px; /* 注釈は少し小さめ */
}

/* ==========================================================================
   5. Overview 2026 (概要・グラフ)
   ========================================================================== */
/* グラフ画像の枠線は無しにする場合 */
.chart-wrapper img {
    border: none;
    max-width: 100%;
}

.chart-notes {
    text-align: left;
    margin-top: 20px;
}
.chart-notes p {
    margin: 5px 0;
    font-size: 16px;
}
/* --- 青いボックスエリア（2カラムレイアウト） --- */
.blue-box-container {
    display: flex;
    justify-content: space-between; /* 左右に配置 */
    gap: 30px; /* ボックス間の隙間 */
}

/* 個別のボックス */
.blue-box {
    width: 48%; /* 2つ並べるので半分弱の幅 */
    background-color: #eaf3fa; /* 薄い水色の背景 */
}

/* ボックスの見出し（濃い青） */
.box-head {
    background-color: #0070c0;
    color: #fff;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    margin: 0;
}

/* ボックスの中身 */
.box-body {
    padding: 20px;
}

/* メインのテキスト */
.box-lead {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: #000;
}

/* 参考情報のテキスト（少し小さく） */
.box-sub {
    font-size: 16px;
    font-weight: normal;
    display: block;
    margin-top: 5px;
    color: #000;
}

/* 赤字の注釈 */
.box-note-red {
    font-size: 16px;
    font-weight: bold;
    color: #e60012;
    margin-top: 15px;
    margin-bottom: 0;
}
/* ==========================================================================
   6. Notes Section (注意事項)
   ========================================================================== */
/* 「注意事項」や「その他支援」の小見出しは
   ① 番号付きの青いテキスト */
.note-head, 
.item-title {
    font-size: 26px; /* 基準サイズ: 26px */
    font-weight: bold;
    color: #0070c0; /* 明るめの青 */
    margin-bottom: 20px;
    border-left: none;
    padding-left: 0;
}

/* 番号のインデント調整が必要な場合はここに記述 */

.note-item {
    margin-bottom: 60px;
}
.note-item .note-body{
    padding-left: 35px;
}
.note-content{
    width: 750px;
    margin: 0 auto;

}
.note-diagram {
    text-align: center;
    margin-top: 30px;
}
.note-diagram img {
    border: none; /* 図解は枠線なし */
    
}

/* ==========================================================================
   7. Others Section (その他支援)
   ========================================================================== */
.support-content{
    width: 750px;
    margin: 0 auto;
}
.support-item {
    margin-bottom: 60px;
}
.support-item .item-desc{
    padding-left: 35px;
}
.item-desc .item-link{
    display: block;
}
.item-desc {
    margin-bottom: 10px; /* リンクとの間隔 */
}

/* URLリンク */
.item-link {
    font-size: 20px; /* URLの文字サイズ */
    word-break: break-all;
}
.item-link:hover {
    color: #0070c0;
    text-decoration: underline;
}

/* ==========================================================================
   8. Prefectures Section (都道府県別)
   ========================================================================== */
/* 都道府県の例リスト */
#prefectures .text-block p {
    margin-bottom: 20px;
}
/* PC全体のコンテナ設定 */
.simulator-container {
          /* PCで見やすい幅に固定 */
    margin: 80px auto 40px;      /* 画面中央に配置 */
    background-color: #fff;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ヘッダー部分 */
.simulator-header {
    background-color: #fff3b8;
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    height: 135px;
    
}
.simulator-header p {
    margin: 0;
    font-size: 25px;
    font-weight: bold;
}
.simulator-header h2 {
    margin: 10px 0 0;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
}

/* 吹き出し部分 */
.simulator-bubble {
    text-align: center;
    margin-bottom: 40px;
}
.bubble-tag {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
}
.bubble-content {
    background-color: #e8f3eb;
    border-radius: 60px;
    padding: 20px 40px;
    font-size: 23px;
    line-height: 1.6;
    display: inline-block;
}

/* フォームのデザイン */
.simulator-form {
    max-width: 550px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.form-group label {
    font-size: 25px;
    font-weight: bold;
    flex: 1;
    margin-right: 15px;
}

.form-group select {
    text-align: center;
}

/* 入力欄とセレクトボックスの幅を統一 */
.form-group select,
.form-group .input-wrapper {
    width: 320px;   /* PC用に幅を固定 */
    height: 45px;   /* PC用に少し高く */
}

.form-group select {
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

/* 年収入力欄の調整 */
.input-wrapper {
    position: relative;
}
.input-wrapper input {
    width: 100%;
    height: 100%;
    text-align: right;
    padding: 0 50px 0 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 18px;
}
.unit-text {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

/* 試算するボタン */
.btn-calc {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
    background-color: #1e73ff;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 0 #1556c5;
    transition: all 0.2s;
}
.btn-calc:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1556c5;
}

/* 矢印アニメーション */
.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    color: #999;
    font-size: 14px;
    line-height: 1.2;
}

/* 結果表示エリア */
.result-box {
    width: 750px; /* PC版想定の幅 */
    margin: 0 auto;
    border: 1px solid #ccc;
    border-top: 8px solid #00897b; /* 上部の太い緑線 */
    border-radius: 8px;
    padding: 40px 30px;
    background-color: #fff;
    text-align: left; /* 基本は左寄せ */
}

/* 「あなたは〜」のリード文 */
.result-lead {
    font-size: 24px;
    margin-bottom: 20px;
    padding-left: 40px; /* 画像の開始位置に合わせる */
}

/* メインの金額表示エリア */
.result-main {
    align-items: baseline; /* 文字の底辺を揃える */
    padding: 0 70px;    /* 画像の「00000」の開始位置 */
}

/* 数字とアンダーライン */
.amount-wrapper {
    border-bottom: 4px solid #000;
    margin-right: 15px;
    align-items: baseline;
    padding: 20px 10px 15px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 2px;
}
.amount-kingaku-box.country{
    text-align: center;
}
.amount-kingaku-box.sum{
    text-align: center;
}
.amount-wrapper.prefecture>.price{
    margin-left: 95px;
}

.price {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 2px;
}

.price-sum {
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 2px;
}

.currency {
    font-size: 20px;
    font-weight: bold;
    margin-left: 5px;
}

.price-text{
    max-width: 72%
}

.amount-title {
    font-size: 20px;
}
.amount-kingaku-box {
    justify-content: end;
    display: flex;
    padding: 0 40px;
}
.amount-kingaku-box-pref {
    justify-content: space-between;
    align-items: center;
    display: flex;
    padding: 10px 40px 0 40px;
}

/* 「もらえる可能性があります」 */
.potential-text {
    font-size: 20px;
    font-weight: bold;
    text-align: right;
    padding: 10px;
}

/* 下部の注意書き */
.result-footer {
    padding: 0 70px;
}

.note-text {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
}

.ref-link {
    font-size: 16px;
}
/* 例リストのスタイル（HTMLに直接書かれている場合を想定、あるいは汎用pタグ） */
/* 必要に応じてHTML側にクラスを追加すると管理しやすいですが、
   ここでは構造に合わせて調整します */

/* ==========================================================================
   9. Utilization Section (有効活用)
   ========================================================================== */
/* 文中の強調リンク */
.highlight-link {
    color: #0070c0;
    font-weight: bold;
    font-size: 22px;
}


.examples-list{
    margin-left: 20px;
    margin-bottom: 50px;
}

.examples-list-item{
    margin-bottom: 25px;
}

.examples-list-txt{
    font-size: 20px;
    margin:0 0 5px 0;
}

.yellow-marker{
    background: linear-gradient(transparent 30%, #ffff7f 0%);
    border-radius: 3px;
    padding: 0 2px;
    font-weight: bold;
}

.banner-box{
    text-align: center;
    margin: 25px auto;
}
.support-systems-txt{
    text-align: center;
}
.support-systems-header{
    text-align: center;
}

#hantei-status {
    width: 320px;
    padding-left: 30px;
}
.status-select {
    font-weight: normal !important;
    font-size: 20px !important;
}
#AjaxSalaryState{
    display : none;
}
#AjaxSalaryMoney{
    display : none;
}
#result-url {
    padding: 0 70px 30px;
}