@charset "UTF-8";

/* デフォルトの背景（bg_floor.jpg） */
#wrapper {
  overflow: hidden;
  background: url(../img/bg_floor_yoko-big.jpg) center center fixed;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

/* 花→木目の背景切り替えは無しになった */
/* `bg_intro.jpg` を `::before` で適用してフェードさせる */
/* #wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/bg_intro.jpg) center center fixed;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity 0.8s ease-in-out;
  opacity: 1; 初期状態では表示
  z-index: -1;  背景だけを適用
} */
/* スクロール後、`bg_intro.jpg` をフェードアウト */
/* .wrapper-intro::before {
  opacity: 1;
} */
/* `wrapper-intro` のときに `background-image` を変更しない（影響を受けないように） */
/* .wrapper-intro {
  background: none !important;
}
ここまで */


section {
  background: url(../img/bg_floor.jpg)no-repeat center;
  background-size: cover;
}
/* ----------------------intro---------------------- */
.intro {
  background: #fff;
  padding-bottom: 40px;
}
.intro__topArea {
  position: relative;
  height: 280px;
  width: 100vw;
  max-width: 121.3%;
  display: block;
  margin-left: -35px;
}
@media (max-width: 400px) {
  .intro__topArea {
    max-width: 124%;
  }
}
@media (max-width: 360px) {
  .intro__topArea {
    max-width: 127%;
  }
}
.intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept-page__ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央揃え */
  color: #363737;
  font-size: 2.8rem;
  font-family: "EB Garamond", serif;
  text-align: center;
  z-index: 2; /* 画像の上に配置 */
  border-bottom: 1px solid #363737;
  padding-bottom: 2px;
  line-height: 1;
}
.intro__ttl {
  font-size: 2.8rem;
  line-height: 1;
  margin: 30px auto 15px;
}
.intro__txt-top {
  margin-top: 40px;
}
.intro__arrow {
  margin-top: 5px;
  width: 40px;
  animation: scrollBounce 1.5s infinite ease-in-out;
}
@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}



/* ----------------------concept---------------------- */
.concept {
  background: url(../img/bg_floor.jpg)no-repeat center;
  background-size: cover;
  position: relative;
  padding: 40px 35px 80px;
  margin-top: 1px;
}
.concept::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(204, 204, 204, .7);
  filter: blur(2px); /* ぼかし効果 */
}
.concept__label {
  font-family: "EB Garamond", serif;
  margin-bottom: 10px;
}
.concept__label .number-big {
  font-size: 2.8rem;
  margin-left: 3px;
}
.concept__ttlImg-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 7px;
}
.concept-2__ttlImg-container {
  flex-direction: row-reverse;
}
.concept__ttl {
  font-size: 2.8rem;
  writing-mode: vertical-rl;
  text-align: left;
  line-height: 1.4;
}
@media (max-width: 370px) {
  .concept__ttl {
    font-size: 2.6rem;
    line-height: 1.3;
  }
}
.concept__img {
  max-width: 220px;
  min-width: 0;
}



/* ナビ全体の固定配置 */
.concept-nav {
  position: fixed;
  left: 14%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
@media (max-width: 1350px) {
  .concept-nav {
    left: 5%;
  }
}
@media (max-width: 1000px) {
  .concept-nav {
    display: none;
  }
}
/* リスト項目（デフォルトは間隔20px） */
.concept-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px; /* 初期状態 */
  transition: gap 0.3s ease;
}
/* ナビアイテム */
.concept-nav li {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
}
.concept-nav li.active .concept-nav__text {
  font-size: 1.6rem;
  background-color: #b4f091;
  padding: 0 5px 2px;
  transition: all 0.3s ease;
  line-height: 1;
  margin-bottom: 10px;
}
.concept-nav li.active .concept-nav__number {
  font-size: 2.8rem;
}
/* 三角アイコン（デフォルト：白） */
.concept-nav__triangle {
  width: 10px;
  transition: all 0.3s ease;
  margin-right: 8px; /* 文字の左側に配置 */
}
/* テキスト */
.concept-nav__text {
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
.concept-nav__text::before {
  content: ''; /* これがないと擬似要素が表示されない */
  display: inline-block; /* 画像を表示するために必要 */
  width: 10px; /* 画像のサイズ */
  height: 16px;
  background-image: url(../img/img_triangle-line.png);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 3px; /* テキストと三角形の間隔 */
  transform: translateY(-2px);
}
/* 三角の色変更（白 → 黒） */
.concept-nav li.active .concept-nav__text::before {
  background-image: url(../img/img_triangle-black.png);
}
/* 番号 */
.concept-nav__number {
  font-size: 1.8rem;
}
/* 画像コンテナ（デフォルト非表示） */
.concept-nav__bg-container {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease, opacity 0.3s ease;
}
/* 画像 */
.concept-nav__bg {
  width: 240px;
  display: block;
}
.concept-nav li.active .concept-nav__bg-container {
  height: auto;
  opacity: 1;
}
/* 三角の色変更（白 → 黒） */
.concept-nav li.active .concept-nav__triangle {
  content: url(assets/img/img_triangle.png);
}

