/*
Theme Name: 就労移行支援ベルテールlien
Theme URI: 
Author: Toshimi Nishihara
Author URI: トップページ
Memo: 2025/09｜全3ページ構成にリニューアルする段階で新規作成したCSS。
Note: トップページで使うスタイルを記述。
*/


/* ------------------------------------------------------------------- */
/* FV                                                                  */
/* ------------------------------------------------------------------- */
#page-image {
	padding-top: 145px;
  background: #fbfbf8;
}

/* FV本体 */
.fv {
  width: 100%;
  max-width: 1370px;
  height: 470px;
  margin: 0 auto;
  position: relative;
  background: url(images/page-imagex2.png) left top no-repeat;
  background-size: 1370px 470px;
  overflow: hidden;
}

/* テキスト画像共通スタイル */
.fv-text {
  position: absolute;
  max-width: 50%;
  height: auto;
  left: 50%;                /* 中央基準に配置 */
  transform: translateX(-50%); /* 自身の幅の半分を戻して中央寄せ */
}

/* テキスト画像1の位置 */
.text1 {
  top: 90px;
}

/* テキスト画像2の位置 */
.text2 {
  top: 150px;
}


/* ------------------------------------------------------------------- */
/* その願い、lienで一緒にかなえませんか                                   */
/* ------------------------------------------------------------------- */
/* セクション全体の余白と背景 */
.negai_section {
  padding: 0 20px;
  text-align: center;
}

/* PC表示用：1枚画像を表示 */
.negai_pc {
  display: block;
}

.negai_pc img {
  width: 100%;
  max-width: 800px;
  height: auto;
}

/* スマホ表示用：初期は非表示 */
.negai_sp {
  display: none;
}

.negai_sp img {
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  display: block;
}


/* ------------------------------------------------------------------- */
/* 利用対象となる方                                                      */
/* ------------------------------------------------------------------- */
.target_section {
  padding: 0;
  text-align: center;
}

.target_section > div {
  display: flex;
  align-items: flex-start;
  gap: 2rem; /* 要素間の余白 */
  flex-wrap: wrap; /* スマホで縦並びに切り替え */
}

.target_section p {
  flex: 1;
  text-align: left;
}

.target_section img {
  flex: 1;
  width: 50%;
  height: auto;
  margin-left: 20px;
}

/* ------------------------------------------------------------------- */
/* 利用から卒業までのステップ                                            */
/* ------------------------------------------------------------------- */
.step_section img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* 横並び用ラッパー */
.step_section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px; /* ステップ間の余白 */
  margin-top: 32px;
}

/* ステップブロック（共有） */
.step_section .step_list {
  flex: 1 1 calc(25% - 12px); /* 4つ並べるための幅調整 */
  box-sizing: border-box;
  min-width: 200px; /* スマホ時の崩れ防止 */
}

.step_section .step_list h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 160%;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: double 3px #cccccc;
}

.step_section h3 span {
  display: none;
}

.step_section .step_list p {
  line-height: 1.6;
  padding: 0 8px;
}

/* 各ステップブロック */
.step_section .step01 {
  margin-top: 0;
}

.step_section .step02 {
  margin-top: -20px;
}

.step_section .step03 {
  margin-top: -40px;
}

.step_section .step04 {
  margin-top: -60px;
}


/* ------------------------------------------------------------------- */
/* lienの取り組み                                                       */
/* ------------------------------------------------------------------- */
.torikumi_section p {
  margin-bottom: 20px;
}

.torikumi_section p:last-of-type {
  margin-bottom: 0;
}

.torikumi_section p span {
  color: #f2531c;
  font-size: 1.1rem;
  font-weight: bold;
  vertical-align: top;
}


/* ------------------------------------------------------------------- */
/* 利用の流れ                                                           */
/* ------------------------------------------------------------------- */
.flow_section {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.flow_section .flow_stepno {
  width: 8%;
  min-width: 80px;
}

.flow_section .flow_stepno img {
  width: 40%;
  height: auto;
  margin: 10px 0 0 8px;
}

.flow_section .flow_item {
  width: 92%;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.flow_section .flow_item h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.flow_section .flow_item p {
  margin-top: 10px;
}

.flow_section .flow_item .flow_item_txt {
  flex: 1;
}

.flow_section .flow_item .flow_item_photo {
  width: 230px;
}

.flow_section .flow_item .flow_item_photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ステップ番号背景 */
.flow_step01 {
  background: url(images/flow_bk01x2.png) bottom left no-repeat;
  background-size: 50px auto;
}

.flow_step02 {
  background: url(images/flow_bk02x2.png) bottom left no-repeat;
  background-size: 50px auto;
}

.flow_step03 {
  background: url(images/flow_bk03x2.png) bottom left no-repeat;
  background-size: 50px auto;
}

.flow_step04 {
  background: url(images/flow_bk04x2.png) bottom left no-repeat;
  background-size: 50px auto;
}


/* ------------------------------------------------------------------- */
/* 利用料金について                                                     */
/* ------------------------------------------------------------------- */
.income_table {
  width: 100%;
  border-collapse: collapse;
  line-height: 1.6;
  margin: 20px 0;
}

.income_table th,
.income_table td {
  border: 1px solid #084F6A;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.income_table th {
  border-right: 1px solid #ffffff;
  background-color: #084F6A;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
}

.income_table th:last-child {
  border-right: 1px solid #084F6A;
}

.income_table tr:nth-child(even) td {
  background-color: #e9f1f4;
}

/* 区分 */
.income_table .kubun {
  width: 15%;
}

/* 世帯の収入状況 */
.income_table .data {
  width: 65%;
}

/* 負担上限月額 */
.income_table .price {
  width: 20%;
  text-align: right;
}

.income_table .price span {
  font-size: 2rem;
  font-weight: 600;
  margin-right: 4px;
}

/* 注釈 */
.income_section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.income_section ul li {
  margin-bottom: 4px;
}

/* 小文字 */
.income_section .fts {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fa7816;
}


/* ------------------------------------------------------------------- */
/* よくある質問                                                         */
/* ------------------------------------------------------------------- */
.faq_section {
  margin-bottom: 40px;
}

.faq_section .faq_q , .faq_section .faq_a {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.faq_section img {
  width: 34px;
}

.faq_section .faq_q {
  border-bottom: dotted 1px #cccccc;
}

.faq_section .faq_q p {
  font-weight: bold;
  font-size: 1.8rem;
}

.faq_section .faq_a {
  margin-top: 20px;
}

/* 小文字 */
.faq_section .fts {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fa7816;
}


/* ------------------------------------------------------------------- */
/* レスポンシブ対応                                                      */
/* ------------------------------------------------------------------- */
@media screen and (max-width: 768px) {

  #page-image {
    padding-top: 90px;
    background: #fbfbf8;
  }

  .fv {
    max-width: 768px;
    height: 540px;
    margin: 0 auto;
    position: relative;
    background: url(images/page-image_tbx2.png) center top no-repeat;
    background-size: 768px 540px;
    overflow: hidden;
  }
  
  /* テキスト画像共通スタイル */
  .fv-text {
    left: 0;                 /* 左端に配置 */
    transform: none;         /* 中央寄せ解除 */
    max-width: 60%;
  }

  .text1 {
    top: 90px;
    left: 240px;
  }

  .text2 {
    top: 140px;
    left: 240px;
  }

  .target_section > div {
    flex-direction: column; /* 縦並びに強制 */
    align-items: center;     /* 中央寄せ（必要なら） */
  }

  .target_section p {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }

  .target_section img {
    width: 100%;
    margin-left: 0;
  }

  .forte_setction .forte_list {
    margin-right: 20px;
  }

  .step_section {
    flex-wrap: wrap;
    gap: 16px;
  }

  .step_section h3 span {
    display: inline;
    font-size: 1.2rem;
    color: #ffffff;
    background: #084F6A;
    padding: 2px 5px 3px 5px;
    margin-right: 8px;
    letter-spacing: 2px;
  }

  .step_section .step_list {
    flex: 1 1 calc(50% - 8px); /* 2カラムにする */
    margin-top: 0 !important;  /* 段差解除 */
  }

  .step_section .step01,
  .step_section .step02,
  .step_section .step03,
  .step_section .step04 {
    margin-top: 0 !important;
  }

  .step_section img {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
  }

  .flow_section .flow_item {
    flex-direction: column;
    gap: 20px;
  }

  .flow_section .flow_item .flow_item_photo {
    width: 100%;
  }

  .flow_section .flow_item .flow_item_photo img {
    width: 100%;
    height: auto;
  }


}

/* ------------------------------------------------------------------- */

@media screen and (max-width: 425px) {
  #page-image {
    padding-top: 0px;
    background: #FFFFFF;
  }

  .fv {
    max-width: 425px;
    height: 684px;
    margin: 0 auto;
    position: relative;
    background: url(images/page-image_spx2.png) right bottom no-repeat;
    background-size: 425px 684px;
    overflow: hidden;
  } 

  /* テキスト画像共通スタイル */
  .fv-text {
    left: 0;                 /* 左端に配置 */
    transform: none;         /* 中央寄せ解除 */
    max-width: 90%;
  }

  .text1 {
    top: 250px;
    left: 10px;
  }

  .text2 {
    top: 300px;
    left: 10px;
  }

  .negai_pc {
    display: none;
  }

  .negai_sp {
    display: block;
  }

  .negai_section {
    padding: 40px 15px;
  }

  .concern_section .concern_list {
    flex-direction: column;
    align-items: center; /* 中央寄せ（必要なら） */
  }

  .concern_section .concern_item {
    width: 100%;
    max-width: 500px; /* 任意：広すぎるのを防ぐ */
    min-height: auto; /* 高さ制限を解除（必要なら） */
  }

  .concern_section p {
    font-size: 1.6rem; /* 読みやすさ調整（任意） */
    padding: 30px 15px 0 15px;
  }

  .concern_section .concern_icon {
    text-align: right;
    padding-right: 15px;
  }

  .concern_section .concern_icon img {
    width: 40%; /* 必要に応じて調整 */
  }

  .forte_setction .forte_list .forte_item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .forte_setction .forte_list .forte_item div {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: dotted 1px #63d0f7;
    margin-bottom: 10px;
    padding-right: 0;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .forte_setction .forte_list .forte_item div img {
    width: 64px;
    margin-bottom: 0;
  }

  .forte_setction .forte_list .forte_item div h3 {
    font-size: 1.8rem;
    line-height: 150%;
  }

  .forte_setction .forte_list .forte_item p {
    flex: none;
    width: 100%;
    font-size: 1.6rem;
    line-height: 170%;
    margin: 0;
  }

  .pgm_block {
    flex-direction: column;
    gap: 3rem;
  }

  .pgm_column {
    width: 100%;
  }

  .pgm_item01,
  .pgm_item02 {
    padding: 20px 15px;
  }

  .pgm_item02 ul li {
    font-size: 1.2rem;
    padding: 5px 12px 6px 28px;
    margin: 0 4px 6px 0;
  }

  .schedule_list {
    width: 100%;
    padding-left: 0;
  }

  .schedule_list::before {
    display: none;
  }

  .schedule_list .time::before {
    display: none;
  }
  .schedule_list .time {
    padding-left: 16px;
    min-width: 100%;
    padding: 20px 10px 0 10px;
  }

  .schedule_list .desc {
    min-width: 100%;
    padding: 0 10px 20px 10px;
  }

  .schedule_list li {
    flex-direction: column;
    gap
  }

  .schedule_list li:nth-child(even) {
    background-color: #eaeff3;
  }

  .step_section {
    flex-direction: column;
    gap: 24px;
  }

  .step_section .step_list {
    flex: none;
    width: 100%;
    margin-top: 0 !important; /* 段差解除 */
  }

  .step_section .step01,
  .step_section .step02,
  .step_section .step03,
  .step_section .step04 {
    margin-top: 0 !important;
  }

}