@import url(//use.fontawesome.com/releases/v5.0.11/css/all.css);

.title_page {
  /* background: url("../images/mainvisual_bg_bottom.jpg") no-repeat bottom center, url("../images/mainvisual_bg.jpg") repeat top center; */
  background: #f4faf3;
  margin-bottom: 10px;
}

.consultation2 .consultation2_items {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-justify-content: space-around;
  justify-content: space-around;
}

.consultation2 .consultation2_items::after {
  content: '';
  display: block;
  width: 480px;
}

@media (min-width: 768px) {
  .consultation2 .consultation2_items::after {
    margin-right: 20px;
    margin-left: 20px;
  }
}

.consultation2 .consultation2_item {
  width: 100%;
  margin-bottom: 17px;
  /* background-color: #d7f7f4; */
  /* border-bottom: 1px solid #603813; */
  overflow: hidden;
  background-size: 100%;
  background-repeat: no-repeat;
  height: 300px;
}

.consultation2 .consultation2_item.ci-01 {
  background-image: url(../images_ninkatuichiran/how1.jpg);
}

.consultation2 .consultation2_item.ci-02 {
  background-image: url(../images_ninkatuichiran/how2.jpg);
}

.consultation2 .consultation2_item.ci-03 {
  background-image: url(../images_ninkatuichiran/how3.jpg);
}



@media (min-width: 768px) {
  .consultation2 .consultation2_item {
    /* margin-right: 20px;
              margin-left: 20px; */

  }

  .consultation2 .consultation2_item {
    width: 30%;
  }

  .consultation2 .consultation2_item {
    /*margin-bottom: 30px;*/
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .consultation2 .consultation2_item {
    background-size: contain;
    /*height: 200vw;*/
    height: 80vw;
  }
}


.consultation2 .head-item {
  display: inline-block;
  background-color: #00a397;
  color: #fff;
  font-size: 16px;
  padding-top: 3px;
  padding-right: 50px;
  padding-bottom: 5px;
  padding-left: 20px;
  position: relative;
  min-width: 230px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .consultation .head-item {
    font-size: 18px;
  }
}

.consultation2 .head-item::before {
  content: '';
  display: block;
  background-color: #00a397;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.consultation2 .head-item.bg_blue::before {
  background-color: #008d71;
}

.consultation2 .head-item::after {
  content: '';
  display: block;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100%;
}

.consultation2 .head-item .icon-triangle {
  position: absolute;
  right: 20px;
  top: 55%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 13px;
  border-color: transparent transparent transparent #fff;
  z-index: 10;
}

.consultation2 .head-item_inner {
  position: relative;
  z-index: 2;
}

.consultation2 .consultation2_inner {
  /*padding-top: 15px;*/
  padding-top: 5px;
  padding-right: 10px;
  /*padding-bottom: 15px;*/
  padding-bottom: 5px;
  padding-left: 10px;
  text-align: center;
  /* border-top: 1px solid #603813; */
}

.consultation2 .consultation2_inner dd {
  padding: 0 25px;
  color: #757575;
}

.consultation2 .consultation2_inner {
  padding-top: 37px;
  padding-bottom: 35px;
}

@media (min-width: 768px) {
  .consultation2 .consultation2_inner {
    padding-top: 30px;
    padding-right: 20px;
    padding-bottom: 35px;
    padding-left: 20px;
  }
}

@media (max-width: 767px) {
  .consultation2 .consultation2_inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    /* height: 200vw;  */
    height: 80vw;
  }
}

.consultation2 .ttl-item {
  font-size: 16px;
}

.consultation2 .ttl-item a {
  text-decoration: none;
  position: relative;
}

.consultation2 .ttl-item a::after {
  position: absolute;
  content: "";
  background-image: url(../common_img/arrow01.svg);
  color: #4d4141;
  top: 25%;
  right: -18px;
  background-size: cover;
  display: block;
  width: 9px;
  height: 14px;
  background-repeat: no-repeat;
}


/* セミナーリスト表示用 */
#message {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin-top: 10px;
  /* ←修正 */
  display: none;
}



#message h2 {
  margin-top: 0;
  /* ←ここが一番重要 */
}

.btn {
  display: inline-block;
  background-color: #ffb6b9;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
}

#message h2 {
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 400;
  /* さらにやわらかい */
  letter-spacing: 0.03em;
  /* 少しだけ広げると優しい印象に */
  margin-top: 0;
  margin-bottom: 10px;
  color: #666;
  /* まろやかカラー */
}

.btn:hover {
  background-color: #ff8b90;

}

.message-img {
  text-align: center;
  /* 左寄せなら left に変更OKっちゃ！ */
  margin: 10px 0 20px;
}

.message-img img {
  width: 100%;
  max-width: 400px;
  /* 大きすぎないように制御っちゃ */
  height: auto;
  display: block;
  margin: 0 auto;
  /* 中央寄せ */
}

#container {

  border-radius: 30px;
  background-color: rgb(255, 254, 252);
  padding: 40px;
  width: 50%;
  display: inline-block;

}

@media(max-width:768px) {
  #container {
    width: 90%;
    padding: 20px;
  }

}




.sample-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.sample-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 260px;
  min-width: 200px;
  padding: 8px;
  transition: transform 0.3s ease;
}

.sample-card:hover {
  transform: translateY(-3px);
}

.sample-card img {
  width: 100%;
  border-radius: 8px;
  margin-right: 8px;
}

.sample-card h3 {
  font-size: 0.7rem;
  /* ← 0.9rem → 1rem にアップ！ */
  margin: 0 20px 0 0;
  font-weight: 600;
  /*      ← 少し太字にするとより見やすい💡 */
}

.sample-card p {
  font-size: 0.7rem;
  margin: 0 15px 0 0;
  /* ← ボタンとの間に少し広めの余白を */
}

.sample-card button {
  font-size: 0.5rem;
  padding: 4px 8px;
  border-radius: 10px;
  background: #fce2e0;
  border: none;
  cursor: pointer;
}

.detail-box {
  display: none;
  background: #fffaf6;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 30px auto;
  /* ←中央寄せ */
  font-size: 1rem;
  text-align: left;
  animation: fadeIn 0.5s ease;
  width: 260px;
  max-width: 600px;
  /* ← 詳細ボックスの幅を制御（ここを好きな値に！） */
  width: 90%;
  /* ← スマホ対応で柔軟にしたい場合 */
}

#detail-content {
  text-align: left;
  /* ← テキストだけ左寄せ */
}

.details-content figure {
  text-align: center;
  /* figure（画像）だけ中央寄せ */
  margin: 1em 0;
  /* 画像の上下に少し余白をつける（お好みで） */
}

.close-btn {
  float: right;
  background: none;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 💡スマホ表示用調整 */
@media (max-width: 600px) {
  .sample-card {
    width: 100%;
    flex-direction: row;
    padding: 6px;
  }

  .sample-card img {
    width: 100%;
    margin-right: 10px;
  }

  .sample-card h3 {
    font-size: 0.9rem;
  }

  .sample-card p {
    font-size: 0.7rem;
  }


  .detail-box {
    display: none;
    background: #fffaf6;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 20px 20px;
    margin: 30px auto;
    /* ←中央寄せ */
    font-size: 0.7rem;
    /* ← 詳細ボックスのフォントサイズを制御 */
    text-align: left;
    animation: fadeIn 0.5s ease;
    width: 100%;

    /* ← 詳細ボックスの幅を制御 */
    width: 90%;
    /* ← スマホ対応で柔軟にしたい場合 */
  }

  #detail-content {
    text-align: left;
    /* ← テキストだけ左寄せ */
  }

  .details-content figure {
    text-align: center;
    /* figure（画像）だけ中央寄せ */
    margin: 1em 0;
    /* 画像の上下に少し余白をつける（お好みで） */
  }

  .close-btn {
    float: right;
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

}

.face1::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background: url("../up_img/20260120HP.jpg") no-repeat center center;
  background-size: cover;
  margin-right: 5px;
  border-radius: 50%;
  vertical-align: middle;
}

/* 年間リスト */
.seminar-list {
  max-width: 680px;
  margin: 0 auto;
}

/* 月ごとのアコーディオン */
.details {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.details summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.details summary::-webkit-details-marker {
  display: none;
}

.month {
  color: #114512;
}

.badge {
  font-size: 0.75rem;
  background: #e6f1eb;
  color: #114512;
  padding: 4px 8px;
  border-radius: 12px;
}

.content {
  padding: 0 16px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.title {
  margin: 8px 0 10px;
  font-weight: bold;
}

.info p {
  margin: 4px 0;
}

.button {
  margin-top: 12px;
  display: block;
  text-align: center;
  background: #114512;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 24px;
  font-weight: bold;
}


/* 月別タイトル一覧（やさしい装飾） */
.month-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.month-list li {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.month-label {
  min-width: 6em;
  background: #e6f1eb;
  color: #114512;
  font-weight: bold;
  text-align: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
}

.title-text button {
  font-size: 1.2rem;
  padding: 4px 8px;
  border-radius: 10px;
  background: #fce2e0;
  border: none;
  cursor: pointer;
}

.title-text {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* 講師紹介（信頼感＋やさしさ） */
.lecturer {
  max-width: 680px;
  margin: 0 auto 28px;
}

.lecturer h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.lecturer-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.lecturer-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #e6f1eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #114512;
  flex-shrink: 0;
}

.lecturer-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 4px;
}

.lecturer-role {
  font-size: 0.7rem;
  color: #555;
  margin: 0 0 8px;
}

.lecturer-points {
  font-size: 1.2rem;
  padding-left: 1em;
  margin: 0 0 10px;
  font-size: 0.7rem;
}

.lecturer-points li {
  margin-bottom: 4px;
}

.lecturer-message {
  font-size: 1.2rem;
  line-height: 1.7;
}

/* 実績ブロック */
.lecturer-result {
  width: 100%;
  flex-basis: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  background: #f3f8f5;
  /* 白より一段やさしい背景 */
  border-radius: 12px;
}

.lecturer-result>p {
  margin: 0 0 8px;
  font-weight: bold;
  font-size: 0.9rem;
  color: #114512;
}

.lecturer-result ul {
  margin: 0;
  padding-left: 1em;
  font-size: 0.85rem;
  line-height: 1.6;
}

.lecturer-result li {
  margin-bottom: 6px;
}

.lecturer-result strong {
  color: #114512;
}

.lecturer-result span {
  font-size: 0.75rem;
  color: #666;
}

.lecturer-flex {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.lecturer-result {
  width: 100%;
  margin-top: 20px;
}