/* object/project/index.css */
/* トップページ固有のスタイル */

/* =========================================================
   FV (ファーストビュー) セクション
   サイトのトップページの一番上に表示されるメインエリアです。
========================================================= */
.fv-section {
  position: relative;
  padding-top: 80px;
  background-color: #F4F4F4;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 2;
  margin-bottom: 0 !important;
}

/* --- FVレイアウト --- */
.fv-wrapper {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.fv-content-left {
  flex: 0 0 35%;
  padding-left: 5%;
  z-index: 10;
  position: relative;
}

/* --- FVロゴ --- */
.fv-logo-box {
  margin-bottom: 60px;
  text-align: center;
}

.fv-logo-img {
  max-height: 100px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.fv-brand-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-text);
}

/* 全体の見出し（h2）を Poppins に統一 */
h2 {
  font-family: var(--font-heading) !important;
  font-size: 40px !important;
}

.fv-tagline {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
}

/* --- FVニュースカード --- */
.fv-news-card {
  background-color: #fff;
  padding: 30px;
  width: 120%;
  position: relative;
  z-index: 20;
  margin-bottom: -60px;
  display: flex;
  flex-direction: column;
}

.news-label {
  display: inline-block;
  padding: 2px 10px;
  background: #eee;
  font-size: 0.8rem;
  border-radius: 4px;
  margin-bottom: 15px;
}

.news-date {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 5px;
}

.news-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-more-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  text-decoration: none;
}

/* --- FVスライダー --- */
.fv-slider-right {
  flex: 1; /* 残りのスペースを全て埋める */
  width: 100%;
  position: relative;
}

.fv-slider-img {
  height: 600px;
  object-fit: cover;
  border-radius: 0;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 40px;
  display: flex;
  gap: 10px;
}

.dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.dot.active {
  background: #fff;
  transform: scale(1.5);
}

/* --- FVとAboutの間のウェーブ装飾 --- */
.fv-union-wave {
  line-height: 0;
  margin-top: -1px;
  width: 100%;
  overflow: visible;
  position: relative;
  z-index: 20;
}

.fv-union-wave img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   About (サービス紹介) セクション
   各サービス（gorilla、cotoriなど）の概要を載せるエリアです。
========================================================= */
.about-intro-section {
  background-color: #FFFFFF;
  position: relative;
  z-index: 5;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* --- サービスカード --- */
.about-card {
  background: transparent;
  border-radius: 30px;
  padding: 60px 190px;
  border: 3px solid transparent;
}

.gorilla-card {
  border-color: rgba(139, 158, 107, 0.3);
}

.cotori-card {
  border-color: rgba(139, 158, 107, 0.3);
}

.about-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
}

.about-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0;
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--color-text-light);
}

.sns-icon {
  width: 24px;
}

/* --- サービスカードのボタン --- */
.btn-about-more,
.btn-about-contact {
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
}

.btn-about-more.btn-cotori,
.btn-about-more.btn-gorilla {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.about-btn-group {
  flex-wrap: nowrap !important;
}

.about-btn-item {
  flex: 1;
  min-width: 0;
}

.about-icon {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

/* ゴリラ系ボタン */
.btn-gorilla {
  background-color: #fff;
  border: 2px solid #D4C390;
  color: #2B2A32;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-gorilla-tel {
  background-color: #D4C390;
  color: #fff;
  border: none;
  font-weight: 400 !important;
}

.btn-gorilla-alt {
  background-color: #D4C390;
  color: #fff;
  border: none;
  font-weight: 400 !important;
}

/* コトリ系ボタン */
.btn-cotori {
  background-color: #fff;
  border: 2px solid #D4C390;
  color: #2B2A32;
  border-radius: 30px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  align-self: flex-start;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-cotori-tel {
  background-color: #D4C390;
  color: #fff;
  border: none;
  font-weight: 400 !important;
}

.btn-cotori-alt {
  border: 1px solid #D4C390;
  color: #D4C390;
  background: transparent;
  font-weight: 400 !important;
}

/* =========================================================
   Vision (ビジョン) セクション
   企業や団体の想い、理念を伝えるエリアです。
========================================================= */
.vision-section {
  background-color: #fff;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.vision-main-img {
  width: 100%;
  max-width: 450px;
  border-radius: 0;
}

.vision-line {
  width: 2px;
  height: 120px;
  background-color: var(--color-accent);
  margin: 0 auto;
}

.vision-subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 4vw, 1.6rem);
  font-weight: 400;
  color: var(--color-accent);
}

.vision-intro {
  font-weight: 700;
  color: #8A9A5B;
}

/* =========================================================
   Seminar (セミナー・お知らせ) セクション
   最新のセミナー情報やニュースを表示するエリアです。
========================================================= */
.seminar-news-section {
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  margin-bottom: 0 !important;
}

/* --- 背景ベクター装飾 --- */
.seminar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.seminar-bg img {
  position: absolute;
  max-width: 160px;
  width: auto;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
  transition: none !important;
}

.seminar-bg img.vector-1 {
  top: 20%;
  left: 5%;
}

.seminar-bg img.vector-2 {
  top: 10%;
  left: 70%;
}

.seminar-bg img.vector-3 {
  top: 40%;
  left: 15%;
}

.seminar-bg img.vector-4 {
  top: 50%;
  left: 85%;
}

.seminar-news-section>.container {
  position: relative;
  z-index: 1;
}

/* --- セミナーとアクセスの間のウェーブ装飾 --- */
.seminar-union-wave {
  line-height: 0;
  width: 100%;
  position: relative;
  z-index: 1;
  margin-bottom: -1px;
}

.seminar-union-wave img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- セミナーカード --- */
.seminar-news-card {
  background: transparent;
  border-radius: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left !important;
  color: #2B2A32 !important;
}

.seminar-news-card h4,
.seminar-news-card h5,
.seminar-news-card p {
  text-align: left !important;
  color: #2B2A32 !important;
}

.seminar-news-card .seminar-badge-container {
  min-height: 35px;
}

.seminar-news-card .badge {
  align-self: flex-start;
}

.seminar-news-card .seminar-card-title {
  margin-top: 0;
}

.seminar-news-card .seminar-card-subtitle {
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  min-height: 38px;
}

.seminar-news-card .seminar-card-body {
  flex: 1;
}

/* --- セミナーボタン --- */
.btn-seminar {
  background-color: #fff;
  border: 2px solid var(--color-accent-green);
  border-radius: 30px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  align-self: flex-start;
}

/* セミナーカード内のボタン中央寄せ */
.seminar-news-card .btn-cotori,
.seminar-news-card .btn-seminar {
  display: inline-flex;
  margin: 1rem auto 0;
}

.btn-all-seminars {
  background-color: #D4C390;
  color: #fff;
  border-radius: 30px;
  padding: 10px 40px;
}

/* セミナーセクション内「一覧を見る」ボタンのテキスト色 */
.seminar-news-section .btn-cotori-tel {
  color: #2B2A32;
}

/* =========================================================
   Access (アクセス) セクション
   地図や住所など、所在地情報を表示するエリアです。
========================================================= */
.access-section {
  background-color: #F4F4F4;
  margin-top: 0 !important;
  padding-bottom: 120px !important;
}

.access-card {
  background-color: #FFFFFF;
  border: 1px solid #eee;
  border-radius: 0;
}

.map-wrapper {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   電話ボタンのPC/スマホ切り替え
   PCではクリック無効、スマホでは電話発信可能にする
========================================================= */
.btn-tel {
  pointer-events: none;
  cursor: default;
}

@media (max-width: 1023px) {
  .btn-tel {
    pointer-events: auto;
    cursor: pointer;
  }
}

/* =========================================================
   レスポンシブ
========================================================= */

/* --- タブレット対応 --- */
@media (max-width: 991px) {
  .fv-section {
    min-height: auto;
    padding-top: 80px;
    overflow: visible;
  }

  .fv-wrapper {
    flex-direction: row;
    align-items: center;
    overflow: visible;
  }

  .fv-content-left {
    flex: 0 0 30%;
    padding-left: 3%;
    z-index: 10;
    position: relative;
    margin-right: -8%;
  }

  .fv-logo-box {
    margin-top: 80px;
    margin-bottom: 40px;
    text-align: center;
  }

  .fv-logo-img {
    max-height: 70px !important;
  }

  .fv-brand-name {
    font-size: 1.8rem !important;
    white-space: nowrap;
  }

  .fv-tagline {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .fv-news-card {
    width: 150%;
    margin-bottom: 0;
    padding: 20px 24px;
  }

  .fv-news-card .news-date {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }

  .fv-news-card .news-body p {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .fv-news-card .news-text {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .fv-news-card .fv-news-btn-wrap {
    margin-top: 8px !important;
  }

  .fv-slider-right {
    flex: 0 0 70%;
    width: 70%;
  }

  .fv-slider-img {
    border-radius: 0;
    height: 450px;
  }

  .about-card {
    padding: 40px 20px;
  }

  /* About: 画像の右にボタンが横並び */
  .about-card>.row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  .about-card>.row>[class*="col-lg-6"]:first-child {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .about-card>.row>[class*="col-lg-6"]:last-child {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* ビジョン: 左寄せ (モバイルと同等) */
  .vision-section .row {
    flex-direction: column;
    text-align: left;
  }

  .vision-section .col-lg-5 {
    text-align: left;
  }

  .vision-main-img {
    margin: 0 auto 30px auto;
    display: block;
    width: 100%;
    max-width: 450px;
  }

  .vision-intro,
  .vision-subtitle,
  .vision-text {
    text-align: left;
  }

  .vision-subtitle {
    color: #333 !important;
    font-weight: 700 !important;
  }

  .vision-line {
    display: block !important;
    width: 100%;
    max-width: 450px;
    height: 2px;
    margin: 15px auto 20px auto;
  }

  .access-card {
    border-radius: 0 !important;
  }
  
  .map-wrapper {
    border-radius: 0 !important;
  }

  /* セミナー: row g-4 mb-5の中身を縦並び */
  .seminar-news-section .row.g-4.mb-5 {
    flex-direction: column;
  }

  .seminar-news-section .row.g-4.mb-5>.col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* --- 中画面ボタンの折り返し防止 --- */
@media (min-width: 992px) and (max-width: 1199px) {

  .btn-about-more,
  .btn-about-contact,
  .btn-gorilla,
  .btn-cotori,
  .btn-gorilla-tel,
  .btn-gorilla-alt,
  .btn-cotori-tel,
  .btn-cotori-alt {
    white-space: nowrap !important;
    font-size: 18px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* --- モバイル対応 (Bootstrap sm以下) --- */
@media (max-width: 767.98px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .fv-section {
    padding-top: 60px;
    min-height: auto;
  }

  .fv-wrapper {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
  }

  .fv-slider-right {
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .fv-slider-img {
    height: 400px;
    border-radius: 0;
  }

  .slider-dots {
    bottom: 50px;
    left: 20px;
    z-index: 2;
  }

  .fv-content-left {
    position: static;
    padding: 0;
    margin-right: 0;
    width: 100%;
  }

  .fv-logo-box {
    position: absolute;
    top: 10px;
    left: 20px;
    margin-top: 0;
    margin-bottom: 0;
    text-align: left;
    z-index: 10;
  }

  .fv-logo-img {
    display: none;
    /* FVのロゴ画像は非表示にしテキストだけにする（必要に応じて変更可） */
  }

  .fv-brand-name {
    font-size: 2.8rem !important;
    /* タブレット用の !important を上書きするために必要です */
    color: #333;
    margin-bottom: 0;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.9);
  }

  .fv-tagline {
    font-size: 0.9rem;
    text-align: left !important;
    color: #333;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.9);
  }

  .fv-news-card {
    position: relative;
    width: calc(100% - var(--bs-gutter-x));
    margin-top: -30px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 20px;
    border-radius: 0;
    /* 角を四角にする */
    z-index: 20;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  }

  /* --- About --- */
  .about-card {
    padding: 40px 20px;
    border-radius: 30px;
  }

  /* タブレット用の横並びを解除して縦積みに */
  .about-card>.row {
    flex-wrap: wrap !important;
    flex-direction: column;
  }

  .about-card>.row>[class*="col-lg-6"]:first-child,
  .about-card>.row>[class*="col-lg-6"]:last-child {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about-card-title {
    font-size: 2.0rem !important;
    margin-bottom: 30px !important;
  }

  .section-title,
  .access-title {
    font-size: 1.8rem !important;
  }

  .vision-section .col-lg-5,
  .vision-intro,
  .vision-subtitle,
  .vision-text {
    text-align: left !important;
  }

  .vision-subtitle {
    color: #333 !important;
    font-weight: 700 !important;
  }

  .vision-line {
    display: block !important;
    width: 100%;
    max-width: 450px;
    height: 2px;
    margin: 15px auto 20px auto;
  }

  .about-text {
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-align: left;
  }

  .about-btn-group {
    flex-wrap: wrap !important;
    flex-direction: column;
    gap: 15px;
  }

  .about-btn-item {
    width: 100%;
    flex: none;
  }

  .btn-about-more,
  .btn-about-contact,
  .btn-gorilla,
  .btn-cotori {
    font-size: 15px;
    padding: 12px 20px;
    min-height: 50px;
    width: 100% !important;
    align-self: stretch !important;
  }

  .about-btn-item p {
    font-size: 0.8rem;
    margin-top: 5px;
    margin-bottom: 0;
    color: #666;
  }

  .about-icon {
    width: 24px !important;
    height: 24px !important;
    margin-right: 6px;
  }

  /* --- Vision --- */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px !important;
  }

  .vision-main-img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .vision-subtitle {
    white-space: normal;
    font-size: 1.2rem;
    margin-bottom: 20px !important;
  }

  .vision-text {
    text-align: left;
  }

  /* --- Seminar --- */
  .seminar-bg img {
    max-width: 60px;
  }

  .seminar-news-card {
    padding: 24px !important;
    border-radius: 20px;
    border: 1px solid #eee;
  }

  .seminar-card-title {
    font-size: 1.1rem;
  }

  .seminar-card-subtitle {
    font-size: 1rem;
  }

  .seminar-card-body {
    font-size: 0.9rem;
  }

  /* --- Access --- */
  .access-section {
    padding: 40px 0;
  }

  .access-card {
    padding: 30px 20px !important;
    margin-bottom: 20px;
    border-radius: 0;
  }
  
  .map-wrapper {
    border-radius: 0 !important;
  }

  .access-title {
    font-size: 1.4rem;
    text-align: center;
  }

  .access-info {
    text-align: center;
  }
}
@media (max-width: 767.98px) { .access-section { padding-bottom: 40px !important; } }
