/* TOPページ ------------------------------------------------------- */
/* トップタイトル */
.top_title {
    background: linear-gradient(60deg, #FCEFC7, #FEFDF8, #FCF1C8);
    width: 100%;
    padding: 77px 0 64px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top_title img {
    width: 73%;
    max-width: 1400px;
    height: auto;
}
/* 最新のファンド */
.toppage_wrap_padding {
    padding: 100px 0;
    box-sizing: border-box;
}
.fund_section_title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 28px;
    margin-bottom: 49px;
}
.fund_table {
    width: 100%;
    border-collapse: collapse;
}
.fund_table_header {
    background: #F2F2EF;
}
.fund_table_th {
    padding: 22px 5px;
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
}
.fund_table_row {
    border-bottom: 1px solid #C2C2C2;
}
.fund_table_row:hover {
    background: #FAFAF9;
    cursor: pointer;
}
.fund_table_td {
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    height: 77px;
}
.recruit_end_td {
    color: rgb(8, 4, 4, 0.5);
    font-size: 1.7rem;
    font-weight: 500;
    height: 42px;
    line-height: 42px;
    background: #F2F2EF;
    /* max-width: 85%; */
    margin: 0 auto;
}
/* .time_td {
    font-weight: bold;
} */
.color_td {
    color: #AA8320;
    font-weight: 500;
}
.width_th {
    width: 20px;
}
.maxwidth_th {
    width: 130px;
}
/* ファンド一覧へボタン */
.fund_btn {
    display: block;
    border: solid 1px #AA8320;
    width: 228px;
    height: 55px;
    line-height: 55px;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #AA8320!important;
    text-align: center;
    margin: 40.5px auto 100px;
}
.fund_btn:hover {
    background: #AA8320;
    color: white!important;
    cursor: pointer;
}
/* お知らせ */
.notice_list {
    width: 100%;
}
.notice_top_line {
    width: 100%;
    height: 1px;
    background: #C2C2C2;
}
.notice_item {
    display: flex;
    align-items: center;
    padding: 31px 0;
    box-sizing: border-box;
    position: relative;
    border-bottom: 1px solid #C2C2C2;
}
.notice_item:hover {
    cursor: pointer;
}
.notice_item:hover .notice_date,
.notice_item:hover .notice_text {
    opacity: 0.3;
}
.notice_date {
    max-width: 270px;
    width: 100%;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.5px;
}
.notice_text {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 28px;
}

@media (max-width: 768px) {
    /* トップタイトル */
    .top_title {
        background: linear-gradient(40deg, #FCEFC7, #FEFDF8, #FCF1C8);
        padding: 25px 0 18px;
    }
    .top_title img {
        width: 94%;
        max-width: 354px;
    }
    .toppage_wrap_padding {
        padding: 60px 0 50px;
    }
    .fund_section_title {
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        line-height: 30px;
        margin-bottom: 25px;
    }
    /* 最新のファンド */
    .fund_card {
        max-width: 335px;
        width: 100%;
        border: solid 1px #C2C2C2;
        padding: 10px 25px;
        box-sizing: border-box;
        margin: 0 auto 20px;
        text-align: center;
    }
    .fund_card_title {
        font-size: 2rem;
        font-weight: bold;
        line-height: 29px;
        margin-bottom: 5px;
    }
    .fund_box {
        display: flex;
        justify-content: space-between;
    }
    .fund_card_row {
        width: 50%;
        border-top: solid 1px #C2C2C2;
        padding: 5px 0;
        box-sizing: border-box;
    }
    .fund_card_label {
        font-size: 1.2rem;
        font-weight: 400;
        letter-spacing: 0.4px;
        line-height: 18px;
        opacity: 0.5;
    }
    .fund_card_value {
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 20px;
    }
    .fund_box_end {
        width: 100%;
        border-top: solid 1px #C2C2C2;
        padding: 10px 0 0;
        box-sizing: border-box;
    }
    .fund_card_end {
        font-size: 1.5rem;
        font-weight: 500;
        height: 38px;
        line-height: 38px;
        color: rgba(8, 4, 4, 0.5);
        background: #F2F2EF;
    }
    .recruit_card {
        color: #AA8320;
        font-size: 1.4rem;
        font-weight: 500;
    }
    .recruit_card span {
        font-size: 1.2rem;
    }
    /* ファンド一覧へボタン */
    .fund_btn {
        max-width: 335px;
        width: 100%;
        height: 45px;
        line-height: 45px;
        font-size: 1.6rem;
        font-weight: bold;
        letter-spacing: 1.2px;
        text-align: center;
        margin: 30px auto 60px;
    }
    /* お知らせ */
    .notice_item {
        display: block;
        align-items: center;
        position: relative;
        border-bottom: 1px solid #C2C2C2;
        padding: 16px 0;
    }
    .notice_item:hover {
        cursor: pointer;
    }
    .notice_item:hover .notice_date,
    .notice_item:hover .notice_text {
        opacity: 0.3;
    }
    .notice_date {
        max-width: initial;
        width: 100%;
        font-size: 1.3rem;
        font-weight: 400;
        text-align: left;
        letter-spacing: 0.5px;
        margin-bottom: 7px;
    }
    .notice_text {
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 28px;
    }
}


/* お知らせ詳細ページ ------------------------------------------- */
.notice_wrap_padding {
    padding: 60px 0 100px;
    box-sizing: border-box;
}
.notice_header {
    display: flex;
    align-items: center;
    height: 47px;
}
.notice_header .notice_icon {
    width: 47px;
    height: 47px;
    background: #AA8320;
}
.notice_header .notice_title {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 0.3px;
    height: 47px;
    line-height: 47px;
    background: #F2F2EF;
    padding: 0 30px 0 21px;
    box-sizing: border-box;
}
.notice_content {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 31px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .notice_wrap_padding {
        padding: 50px 20px 60px;
    }
    .notice_header {
        height: 58px;
    }
    .notice_header .notice_icon {
        width: 32px;
        height: 58px;
    }
    .notice_header .notice_title {
        width: 100%;
        font-size: 1.6rem;
        letter-spacing: 0.5px;
        height: 58px;
        line-height: 28px;
        padding: 0 0 0 12px;
        box-sizing: border-box;
    }
    .notice_content {
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 25px;
        margin-top: 23px;
    }
}



    .nekomimi-box {
      /* 元の「文字表示領域」のサイズ */
/*       width: 524px;
 */   width: 100%;
      height: 50px;

      /* 【注意】背景と文字が同色だと見えないので、文字色を白にしています */
      /* 背景をグレーにするなら：background: rgba(50, 50, 50, 1); color: #fff; */
      background: rgba(242, 242, 239, 1);
/*       color: rgba(255, 255, 255, 1);
 */      /* 文字のスタイル */
      font-family: "Noto Sans JP", sans-serif;
      font-size: 20px;
      font-weight: 700;
      line-height: 50px; /* 高さ50pxに合わせて中央寄せ */
      letter-spacing: 1.4px;
      text-align: left;
      padding-left: 15px; /* 文字が左端に張り付かないための余白 */
      box-sizing: border-box;

      /* ★ここがポイント：box-shadowで外側の「枠全体(1200px×53px)」を表現 */
      /* 左右に(1200-524)/2 = 338px、上下に(53-50)/2 = 1.5px の影を広げる */
      margin: 1.5px auto; /* 上下中央に配置するためのマージン */
/*       box-shadow: 0 0 0 338px rgba(242, 242, 239, 1); */
    }

    /* 影が画面外にはみ出るのを防ぐための親要素（必要に応じて） */
/*     body {
      margin: 0;
      padding: 0;
      background: rgba(242, 242, 239, 1); 全体の背景色と同化させる
      overflow-x: hidden;
    }
 */

 /* 横一行に並べるための親要素 */
    .flex-container {
      display: flex;
      align-items: center; /* 上下中央揃え */
      gap: 0; /* 必要に応じて枠と枠の間の隙間（例: 10px など）を設定してください */
    }

    /* 四角の枠（Q） */
    .q-box {
      width: 47px;
      height: 47px;
      background: rgba(170, 131, 32, 1); /* 金・茶系 */

      /* 文字（Q）のスタイル */
      color: rgba(255, 255, 255, 1); /* 【修正】背景が白だと同化するため文字を白、文字表示領域の背景は無しに */
      font-family: "Inter", sans-serif;
      font-size: 30px;
      font-weight: 500;
      line-height: 47px; /* 枠の高さに合わせて中央寄せ */
      letter-spacing: 2.1px;
      text-align: center; /* 左右中央寄せ */
    }

    /* 長方形の枠（質問文） */
    .text-box {
      width: 1200px;
      height: 47px;
      background: rgba(242, 242, 239, 1); /* 薄いグレー */

      /* 文字のスタイル */
      color: rgba(50, 50, 50, 1); /* 【修正】背景と同化するため文字を濃いグレー、文字表示領域の背景は無しに */
      font-family: "Noto Sans JP", sans-serif;
      font-size: 20px;
      font-weight: 500;
      line-height: 47px; /* 枠の高さに合わせて垂直中央寄せ */
      letter-spacing: 0px;
      text-align: left;

      /* 内側の余白調整 */
      padding-left: 20px; /* 左端から文字を少し離す */
      box-sizing: border-box;
    }


/** ----------------------- */


/* 全体を包むラッパー（横幅を1247pxに固定） */

    .wrapper {
      width: 100%;
      margin: 50px auto;
    }

    /* 質問帯（クリックできる領域） */
    .question-header {
      display: flex;
      align-items: center;
      cursor: pointer; /* マウスホバーでポインターにする */
      position: relative; /* アイコンの位置基準用 */
      margin-top: 50px;
    }

    /* 四角の枠（Q） */
    .q-box {
      width: 47px;
      height: 47px;
      background: rgba(170, 131, 32, 1);
      color: rgba(255, 255, 255, 1);
      font-family: "Inter", sans-serif;
      font-size: 30px;
      font-weight: 500;
      line-height: 47px;
      letter-spacing: 2.1px;
      text-align: center;
    }

    /* 長方形の枠（質問文） */
    .text-box {
      width: 1200px;
      height: 47px;
      background: rgba(242, 242, 239, 1);
      color: rgba(50, 50, 50, 1);
      font-family: "Noto Sans JP", sans-serif;
      font-size: 20px;
      font-weight: 500;
      line-height: 47px;
      letter-spacing: 0px;
      text-align: left;
      padding-left: 20px;
      padding-right: 50px; /* 右端のボタンと被らないように余白を追加 */
      box-sizing: border-box;
    }

    /* ★右端の「＋」「－」アイコンボタン */
    .toggle-icon {
      position: absolute;
      right: 15px;
      font-family: "Inter", sans-serif;
      font-size: 24px;
      font-weight: 500;
      color: rgba(50, 50, 50, 1);
      user-select: none; /* 文字のダブルクリック選択を防止 */
    }

    /* アイコンの中身をCSSで制御（初期状態は「＋」） */
    .toggle-icon::before {
      content: "＋";
    }

    /* 質問帯がクリックされて「open」クラスがついたら「－」に変える */
    .question-header.open .toggle-icon::before {
      content: "－";
    }


    /* ----------------------------------
       解答エリアのスタイル
    ---------------------------------- */
    /* 解答欄のコンテナ（最初は非表示） */
    .answer-container {
      display: none; /* 通常は隠す */
      margin-top: 5px; /* 質問帯との間のすき間 */
    }

    /* 質問帯に「open」がついたら、次にある解答欄を表示する */
    .question-header.open + .answer-container {
      display: flex; /* 質問と同じように横並びにする */
    }

    /* 四角の枠（A） */
    .a-box {
      width: 47px;
      min-height: 47px; /* 解答が長くなってもいいようにmin-heightに */
      background: rgba(50, 50, 50, 1); /* Qと区別するため濃いグレーに */
      color: rgba(255, 255, 255, 1);
      font-family: "Inter", sans-serif;
      font-size: 30px;
      font-weight: 500;
      line-height: 47px;
      text-align: center;
    }

    /* 解答テキストの枠 */
    .answer-text-box {
      width: 1200px;
/*       background: rgba(242, 242, 239, 0.6); 質問より少し薄めの背景に
      color: rgba(50, 50, 50, 1);
 */
/*       font-family: "Noto Sans JP", sans-serif;
      font-size: 18px;
      line-height: 1.6;
 */
	font-family: "Noto Sans JP";
	font-size: 16px;
	font-weight: 400;
	line-height: 31px;
	letter-spacing: 0px;

      padding: 12px 20px; /* 上下に少し余裕を持たせる */
      box-sizing: border-box;
    }

    /* --- 追加：大項目（親アコーディオン）のスタイル --- */
.quetion-item1 {
  display: flex;
  align-items: center;
  /* width: 1247px; */ /* q-box(47px) + text-box(1200px) と同等の幅に合わせる場合 */
  width: 100%;
  height: 55px;  /* 質問帯より少し太くして大項目感を出す */
  background: rgba(242, 242, 239, 1);

	font-family: "Noto Sans JP";
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 1.4px;

/*   font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: bold;
 */
  padding-left: 20px;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  margin-top: 40px;
}

/* 大項目の右端「＋」「－」アイコン */
.category-toggle-icon {
  position: absolute;
  right: 15px;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  user-select: none;
}
.category-toggle-icon::before {
  content: "＋";
}
/* 大項目が開いた（openクラスがついた）ら「－」にする */
.quetion-item1.open .category-toggle-icon::before {
  content: "－";
}

/* 初期状態：大項目の中身（質問リスト）は非表示 */
.category-content {
  display: none;
}
/* 大項目が開いたら中身を表示 */
.quetion-item1.open + .category-content {
  display: block;
}


/* --- 既存のスタイル（一部調整） --- */
.question-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  margin-top: 20px; /* 大項目の直下なので50pxから20pxに少し縮小 */
}

.q-box {
  width: 47px;
  height: 47px;
  background: rgba(170, 131, 32, 1);
  color: rgba(255, 255, 255, 1);
  font-family: "Inter", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 47px;
  letter-spacing: 2.1px;
  text-align: center;
}

.text-box {
  width: 1200px;
  height: 47px;
  background: rgba(242, 242, 239, 1);
  color: rgba(50, 50, 50, 1);

	font-family: "Noto Sans JP";
	font-size: 20px;
	font-weight: 500;
    line-height: 47px;
	letter-spacing: 0px;

/*   font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 47px;
  letter-spacing: 0px;
 */
  text-align: left;
  padding-left: 20px;
  padding-right: 50px;
  box-sizing: border-box;
}

.toggle-icon {
  position: absolute;
  right: 15px;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: rgba(50, 50, 50, 1);
  user-select: none;
}
.toggle-icon::before {
  content: "＋";
}
.question-header.open .toggle-icon::before {
  content: "－";
}

/* 初期状態：回答欄は非表示 */
/* .answer-container {
  display: none;
}
 *//* 質問が開いたら回答を表示 */
/* .question-header.open + .answer-container {
  display: flex; 必要に応じてレイアウトを調整してください
}
 */

 /**-----------------------**/
/*  .cell-title td{
	background:#CCC9B9;
	padding:5px;
	border-bottom:#FFF solid 3px;
	border-right:#FFF solid 3px;
	text-align:center;
	font-size:12px;
}
.cell-copy td{
	background:#EEEEEE;
	padding:5px;
	border-bottom:#FFF solid 3px;
	border-right:#FFF solid 3px;
	text-align:center;
	font-size:12px;
}
 */

a.blue-link {
    color: #0000ee;
}

/* 訪問済みのリンクも青色に統一したい場合 */
a.blue-link:visited {
    color: #0000ee !important;
}
@media (max-width: 768px) {
  .quetion-item1,
  .category-text {
    height: auto;          /* 高さを固定から自動に変更 */
    line-height: 1.5;      /* 2行になったときの行間を適切に設定 */
    padding-top: 15px;     /* 上下の余白を調整 */
    padding-bottom: 15px;
    padding-right: 15px;   /* 右側もはみ出さないようにガード */
  }
}


/* 親要素：要素の並び順と中央揃えをキープ、余計なpaddingは外す */
  .question-header {
    margin-top: 30px; /* スマホ用にマージンを少し狭めるのもおすすめ */
    align-items: stretch; /* 子要素（Qとテキスト）の高さを揃える */
  }

  /* Qボックス：テキストが複数行になっても、Qの文字が常に上下中央にくるようにする */
  .q-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto; /* 高さをテキストボックスと連動させる */
    min-height: 47px; /* 最低限の高さはキープ */
    flex-shrink: 0; /* スマホ幅でQボックスが潰れるのを防ぐ */
  }

  /* テキストボックス：幅を100%にして、文字周りの余白を調整 */
  .text-box {
    width: 100%;
    height: auto;
    line-height: 1.5;
    padding-top: 12px;   /* テキスト上下のバランス調整 */
    padding-bottom: 12px;
    padding-left: 15px;  /* スマホ用に少し狭める */
    padding-right: 50px; /* アイコンと被らないようにキープ */
    display: flex;
    align-items: center; /* 1行のときも複数行のときも上下中央に */
  }

 /* 右端の「＋」「－」アイコンボタン */
  .toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;           /* 上から50%の位置に配置 */
    transform: translateY(-50%); /* アイコン自身の高さの半分だけ上に引き上げる */
    line-height: 1;     /* 行高によるズレをリセット */
  }
}


/** ------------------------ **/

.answer-container {
    display: none; /* 通常は隠す */
    margin-top: 5px; /* 質問帯との間のすき間 */
    width: 100%;     /* 親要素に合わせて100%にする */
}

.answer-text-box {
    width: 100%;             /* 横幅は画面（親要素）いっぱいに広げる */
    max-width: 1200px;       /* ただし最大でも1200pxまで（パソコン表示のサイズを維持） */
    box-sizing: border-box;  /* paddingを含めたサイズ計算にする */
    padding: 12px 20px;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-weight: 400;
    line-height: 31px;
    letter-spacing: 0px;
    word-break: break-all;   /* 英語や記号の連続でも強制的に折り返す設定（念のため） */
}

/* ↓ 新設：テーブルがはみ出た時だけ横スクロールさせる設定 */
.table-wrap {
    width: 100%;
    overflow-x: auto;        /* 画面幅を超えたら自動で横スクロールを出す */
    -webkit-overflow-scrolling: touch; /* スマホでのスクロールを滑らかにする */
    margin-top: 15px;        /* 文章とテーブルの間のすき間 */
}

.cell-table {
    width: 100%;             /* 基本は画面幅いっぱいに広がる */
    max-width: 920px;        /* ただし最大でも789pxまで */
    min-width: 500px;        /* 【重要】スマホでテーブルが潰れすぎないよう、最小幅を設定 */
    border-collapse: collapse;
    border: none;
}

.cell-title td {
    background: rgba(242, 242, 239, 1);
    color: rgba(170, 131, 32, 1);
    padding: 5px;
    border: 1px solid rgba(194, 194, 194, 1);
    text-align: center;
    font-size: 15px;
}

.cell-copy td {
    background: #ffffff;
    padding: 5px;
    border: 1px solid rgba(194, 194, 194, 1);
    text-align: center;
    font-size: 15px;
}

td.cell-small{font-size:15px;}

span.red {
	color: #FF0000;
}
