@charset "utf-8";

/* =========================================
   起立性調節障害 受付のお知らせバナー（FV右下）
   ========================================= */

.fv-wrapper {
  position: relative;
}

.od-notice {
  position: absolute;
  /* FVラッパーの右端よりさらに外側（画面右寄り）へ */
  right: -5vw;
  bottom: 4rem;
  z-index: 2;
  display: flex;
  align-items: stretch;
  padding-right: 2rem;
  background-color: #fff;
  border: 2px solid #5caf50;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.od-notice:hover {
  box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.od-notice-img {
  width: 18rem;
  flex-shrink: 0;
}

.od-notice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.od-notice-tx {
  align-self: center;
  padding: 1.4rem 1.6rem 1.4rem 1.8rem;
  color: #333;
  font-weight: 700;
  font-size: clamp(1.3rem, 1.6vw, 1.7rem);
  line-height: 1.6;
  text-align: left;
}

/* 詳細ページへの矢印 */
.od-notice::after {
  content: "";
  align-self: center;
  flex-shrink: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-top: 2px solid #5caf50;
  border-right: 2px solid #5caf50;
  transform: rotate(45deg);
}

.od-notice-tx .od-em {
  color: #5caf50;
}

@media screen and (max-width: 768px) {
  /* SP：申込ボタンの下に中央揃えで配置 */
  .od-notice {
    top: calc(100% + 5.6rem);
    bottom: auto;
    left: 0;
    right: 0;
    width: fit-content;
    margin: 0 auto;
    padding-right: 1.6rem;
    border-radius: 0.8rem;
  }

  #about {
    padding-top: 21rem;
  }

  .od-notice-img {
    width: 12.4rem;
  }

  .od-notice-tx {
    padding: 1.4rem 1.2rem 1.4rem 1.6rem;
    font-size: 1.5rem;
    line-height: 1.5;
    white-space: nowrap;
  }
}

/* =========================================
   ヘッダー・SPメニューのリンク
   ========================================= */

.header-od-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
  color: #5caf50;
  font-weight: bold;
  text-decoration: none;
}

.header-od-btn::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-top: 2px solid #5caf50;
  border-right: 2px solid #5caf50;
  transform: rotate(45deg);
}

.header-od-btn:hover {
  text-decoration: underline;
}

.header-btn-ct .header-od-btn {
  margin-right: 1.4rem;
}

.modal-ct .header-od-btn {
  justify-content: center;
  min-height: auto;
}

/* ヘッダーに収まらない幅では非表示（SPメニュー・ページ内バナーで導線を確保） */
@media screen and (max-width: 1180px) {
  .header-btn-ct .header-od-btn {
    display: none;
  }
}

/* =========================================
   トップ内の導線バナー（REASONとCTAの間）
   ========================================= */

#od-link {
  background-image: url(../images/bg-white.jpg);
  background-size: cover;
  padding: 0 0 clamp(4rem, 8vw, 8rem);
}

.od-link-card {
  max-width: 960px;
  width: 80vw;
  margin: auto;
  display: flex;
  align-items: stretch;
  background-color: #fff;
  border: 2px solid #5caf50;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.08);
  color: #333;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.od-link-card:hover {
  box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.od-link-img {
  position: relative;
  width: 42%;
  flex-shrink: 0;
}

.od-link-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.od-link-note {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 1.1rem;
  color: #5f6b5c;
  text-shadow: 0 1px 3px rgb(255 255 255 / 90%);
}

.od-link-tx {
  padding: 3.2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.od-link-label {
  color: #5caf50;
  font-weight: 700;
}

.od-link-title {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.6;
}

/* 文節の途中で改行させない */
.od-nw {
  display: inline-block;
}

.od-link-title .od-em {
  color: #5caf50;
}

.od-link-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
  padding: 1rem 2.4rem;
  border-radius: 5rem;
  background-color: #5caf50;
  color: #fff;
  font-weight: 700;
}

.od-link-more::after {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  .od-link-card {
    flex-direction: column;
    width: auto;
    margin: 0 2rem;
    border-radius: 1.6rem;
  }

  .od-link-img {
    width: 100%;
  }

  .od-link-tx {
    padding: 2rem 2rem 2.4rem;
    gap: 0.8rem;
  }

  .od-link-title {
    font-size: 1.8rem;
  }

  .od-link-more {
    align-self: stretch;
    justify-content: center;
  }
}
