@charset "utf-8";


.counseling-scroll-nav {
  background: #fafaf2;
  padding: 1px;
  margin-bottom: 0;
  border-radius: 0;
}

.counseling-scroll-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between; /* 均等に配置 */
  flex-wrap: wrap; /* 小さい画面で折り返し */
}

.counseling-scroll-nav ul li {
  flex: 1 1 25%; /* 4等分。25%幅、縮小許容 */
  text-align: center;
}

.counseling-scroll-nav ul li a {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 10px 0;
  border-radius: 5px;
  transition: background 0.2s;
}

.counseling-scroll-nav ul li a:hover {
  background: #fae7bf;
}


.counseling2-image {
    display: block; /* インライン要素をブロック要素に */
    margin: 0; /* 上下の余白は0に */
    margin-left: 0; /* 左寄せ */
}


.counseling-area {
    background-color: #ffffff; /* 白 */
    border-radius: 10px; /* 角を丸める */
    padding: 20px; /* 内側の余白 */
}


.counseling-title {
    text-align: left;
    /* 中央揃えにする場合 */
    color: #814f20;
    /* 色を指定 */
    margin-top: 40px;
    border-bottom: 4px solid #814f20;
    /* 下にラインを引く */
    padding-bottom: 0;
    /* ラインとテキストの間隔を調整 */
    font-size: 28px;
    font-weight: bolder;
  }
  
 .text-black{
    color: black;
 }

/* ボタンスタイル */
.counseling-toggle-button {
    
    color: #000000; /* ダークブラウン */
    border: 1px solid black; /* 黒の枠を追加 */
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    display: block;
    text-align: left;
    width: 100%;
    transition: background-color 0.3s;
 
  }
  
  .counseling-toggle-button:hover {
    background-color: #fae7bf; /* ダークベージュ */
  }
  
  /* クリック後のコンテンツのスタイル */
  .toggle-content {
   /* background-color: #ffffff;  白 */
    padding: 15px;

    border-radius: 5px;
    margin-bottom: 0;
  }

  /* フォーム全体のスタイル */
.consultation-form {
    background-color: #ffffff;
    border-radius: 8px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

/* ご相談代金の表 */
.price-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.price-table th {
  background-color:rgb(244, 244, 244);
  color: #333;
  font-weight: bold;
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.price-table td {
  padding: 4px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  color: #555;
}


@media screen and (max-width: 600px) {
  .price-table td, .price-table th {
    font-size: 14px;
    padding: 10px;
  }
}

/* 専門家紹介　所属講師 */
.counselor-image {
    text-align: left;    /* 左寄せ */
    margin: 20px 0;
  }
  
  .counselor-image img {
    display: block;              /* ブロックにすることでtext-alignが効く */
    margin: 0;        /* 中央寄せ防止 */
    width: 500px;                 /* 画像の幅 */
    max-width: 100%;             /* スマホ対応 */
  
  }


/* お問合せフォーム項目 */
.form-group {
    margin-bottom: 20px;
}

/* ラジオボタンのスタイルを調整 */
.radio-group {
    display: flex;
    gap: 20px; /* ラジオボタン間にスペースを設ける */
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;

    padding: 8px 16px;
    border-radius: 20px; /* 角を丸める */
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease; /* ホバー時に色が変わるアニメーション */
}

.radio-label input {
    display: none; /* デフォルトのラジオボタンを非表示 */
}

.radio-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid #000000; /* 黄色の枠線 */
    margin-right: 10px; /* 〇とテキストの間隔を空ける */
    transition: background-color 0.3s ease; /* ラジオボタンがクリックされたときに色が変わる */
}

.radio-label input:checked + .radio-circle {
    background-color: #FF9800; /* クリック時にオレンジ色に変わる */
    border-color: #FF9800; /* 枠線もオレンジ色に */
}





/* ラベルスタイル */
label {
    font-size: 1.1em;
    margin-bottom: 5px;
    display: block;
}

/* 入力フィールド */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    margin-top: 5px;
}

textarea {
    resize: vertical;
    height: 150px;
}

/* プレースホルダースタイル */
input::placeholder,
textarea::placeholder {
    color: #aaa;
}

/* ボタンスタイル */
button {
    padding: 12px 20px;
    font-size: 1.1em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

/* 注意事項 */
#disclaimer {
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
    line-height: 1.5;
}

/* エラーメッセージ */
.response-message {
    color: red;
    font-weight: bold;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    margin-top: 5px;
}

/* レスポンシブデザイン */
@media screen and (max-width: 600px) {
    .toggle-content p {
        font-size: 16px; /* <p>タグ内のフォントサイズを16pxに設定 */
    }
    .consultation-form {
        padding: 20px;
    }

    .section-title {
        font-size: 1.6em;
    }

    
    .counseling-toggle-button {
        width: 98%; /* 画面幅の90%に収める */
        padding-left: 5px;  /* トグル内容の左の余白 */
        padding-right: 5px; /* トグル内容の右の余白 */
    }

   
    .toggle-content {
        padding-left: 1px;  /* トグル内容の左の余白 */
        padding-right: 1px; /* トグル内容の右の余白 */
    }
}

