/* =============================================
   brand-story.css — ブランドストーリーページ
   ============================================= */

/* ----- FV（全画面） ----- */
.brand-fv {
  position: relative;
  height: 895px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-fv__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.5);
}

.brand-fv__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  max-width: 701px;
  text-align: center;
}

.brand-fv__title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 48px;
  line-height: 68px;
  color: var(--color-text-light);
}

.brand-fv__text {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 20px;
  line-height: 40px;
  color: var(--color-text-light);
}

/* ----- ヒストリー ----- */
.brand-history {
  background-color: var(--color-white);
  overflow: hidden;
}

.brand-history__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 186px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 147px;
}

/* ブロック共通 */
.brand-history__block {
  display: flex;
  gap: 82px;
  align-items: center;
  width: 100%;
}

/* ブロック1: 左画像を画面左端に付ける */
.brand-history__block:first-child .brand-history__image {
  margin-left: calc(50% - 50vw);
}

/* ブロック2: 右画像を画面右端に付ける */

.brand-history__image {
  position: relative;
  width: 714px;
  height: 711px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-history__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-history__image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.2);
}

.brand-history__text {
  padding: 0 90px 0 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  flex: 1;
}

/* 縦書きタイトル */
.brand-history__vertical-title {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.brand-history__vertical-col {
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 26px;
  line-height: 30px;
  color: var(--color-text);
  text-align: center;
}

.brand-history__prose {
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 34px;
  color: var(--color-text);
}

/* 年号サークル（スライド） */
.brand-history__circle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 410px;
  flex-shrink: 0;
  position: relative;
  padding-left: 90px;
}

.brand-history__circle-slide {
  display: none;
}

.brand-history__circle-slide.is-active {
  display: block;
}

.brand-history__circle-inner {
  width: 413px;
  height: 413px;
  border-radius: 50%;
  border: 1px solid var(--color-gold-light);
  position: relative;
  overflow: hidden;
}

.brand-history__circle-logo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 252px;
  height: 229px;
  background-image: url('../images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.03;
}

.brand-history__circle-content {
  position: absolute;
  top: 83px;
  left: 50%;
  transform: translateX(-50%);
  width: 178px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.brand-history__year {
  font-family: var(--font-mincho);
  font-size: 26px;
  line-height: 30px;
  color: var(--color-text);
}

.brand-history__year-sub {
  font-family: var(--font-mincho);
  font-size: 12px;
  line-height: 20px;
  color: var(--color-gold);
  margin-top: -19px;
}

.brand-history__circle-text {
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 34px;
  color: var(--color-text);
}

/* スライドインジケーター */
.brand-history__dots {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.brand-history__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.brand-history__dot.is-active {
  background-color: var(--color-gold);
}

/* 右側写真スライド（右端に付ける） */
.brand-history__slider-images {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 711px;
  overflow: hidden;
  background-color: var(--color-gold-light);
  margin-right: calc(50% - 50vw);
}

.brand-history__slider-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.brand-history__slider-image.is-active {
  opacity: 1;
}

.brand-history__slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* エピローグ */
.brand-history__epilogue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  text-align: center;
}

.brand-history__epilogue-title {
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 36px;
  line-height: 55px;
  color: var(--color-text);
}

.brand-history__epilogue-text {
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 34px;
  color: var(--color-text);
}

/* ----- 変わらないものと、変わり続けるもの ----- */
.brand-philosophy {
  background-color: var(--color-bg-cream);
  position: relative;
  overflow: hidden;
}

.brand-philosophy__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 186px var(--section-padding-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 147px;
}

/* 代表メッセージ */
.brand-philosophy__message {
  display: flex;
  gap: 74px;
  align-items: center;
  width: 100%;
}

.brand-philosophy__message-image {
  width: 400px;
  height: 544px;
  background-color: var(--color-gold-light);
  flex-shrink: 0;
}

.brand-philosophy__message-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.brand-philosophy__message-text h3 {
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 26px;
  line-height: 30px;
  color: var(--color-text);
}

.brand-philosophy__message-body {
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text);
}

.brand-philosophy__signature {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}

.brand-philosophy__signature-line {
  width: 83px;
  height: 1px;
  background-color: var(--color-text);
}

.brand-philosophy__signature-name {
  font-family: var(--font-mincho);
  font-size: 20px;
  line-height: 24px;
  color: var(--color-text);
}

/* 素材＆発酵ブロック */
.brand-philosophy__blocks {
  display: flex;
  flex-direction: column;
  gap: 147px;
  width: 100%;
}

.brand-philosophy__block {
  display: flex;
  gap: 82px;
  align-items: center;
}

.brand-philosophy__block--reverse {
  flex-direction: row-reverse;
}

.brand-philosophy__block-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.brand-philosophy__block-text h3 {
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 26px;
  line-height: 30px;
  color: var(--color-text);
}

.brand-philosophy__block-prose {
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 34px;
  color: var(--color-text);
}

.brand-philosophy__block-image {
  width: 481px;
  height: 372px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--color-gold-light);
}

.brand-philosophy__block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 次の100年 */
.brand-philosophy__future {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  text-align: center;
}

.brand-philosophy__future-title {
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 36px;
  line-height: 55px;
  color: var(--color-text);
}

.brand-philosophy__future-text {
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 34px;
  color: var(--color-text);
}

/* ----- ページリンク（全画面背景） ----- */
.brand-links {
  position: relative;
  height: 751px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.brand-links__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.6);
}

.brand-links__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 68px 90px;
}

.brand-links__text {
  display: flex;
  gap: 61px;
  align-items: flex-start;
  justify-content: flex-end;
}

.brand-links__desc {
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 34px;
  color: var(--color-white);
  padding: 10px;
  max-width: 500px;
}

.brand-links__vertical {
  display: flex;
  gap: 7px;
  flex-direction: row-reverse;
}

.brand-links__vertical-col {
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 36px;
  line-height: 39px;
  color: var(--color-text-light);
}

.brand-links__vertical-col.line-2 {
  padding-top: 30px;
}

.brand-links__buttons {
  display: flex;
  justify-content: center;
  gap: 84px;
  width: 100%;
}

.brand-links__btn {
  width: 311px;
}

.brand-links__btn .btn-line__inner {
  justify-content: space-between;
  width: 100%;
}

/* ----- レスポンシブ ----- */
@media (max-width: 1024px) {
  .brand-fv {
    height: 600px;
  }

  .brand-fv__title {
    font-size: 36px;
    line-height: 52px;
  }

  .brand-fv__text {
    font-size: 16px;
    line-height: 32px;
  }

  .brand-history__block {
    flex-direction: column;
    gap: 40px;
  }

  .brand-history__block--reverse {
    flex-direction: column;
  }

  .brand-history__block--reverse .brand-history__text {
    padding-left: 40px;
  }

  .brand-history__image {
    width: 100%;
    height: 400px;
  }

  .brand-history__text {
    padding: 0 40px;
  }

  .brand-history__circle-inner {
    width: 300px;
    height: 300px;
  }

  .brand-history__circle-wrap {
    width: 100%;
  }

  .brand-history__block:first-child .brand-history__image {
    margin-left: 0;
  }

  .brand-history__slider-images {
    width: 100%;
    height: 400px;
    margin-right: 0;
  }

  .brand-philosophy__message {
    flex-direction: column;
    gap: 40px;
  }

  .brand-philosophy__message-image {
    width: 100%;
    height: 400px;
  }

  .brand-philosophy__block {
    flex-direction: column;
    gap: 40px;
  }

  .brand-philosophy__block--reverse {
    flex-direction: column;
  }

  .brand-philosophy__block-image {
    width: 100%;
    height: 300px;
  }

  .brand-links {
    height: auto;
    min-height: 600px;
  }

  .brand-links__text {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .brand-links__buttons {
    flex-direction: column;
    gap: 20px;
  }

  .brand-links__btn {
    width: 100%;
    max-width: 311px;
  }
}

@media (max-width: 767px) {
  .brand-fv {
    height: auto;
    min-height: 100vh;
    padding: 120px 20px 80px;
  }

  .brand-fv__title {
    font-size: 28px;
    line-height: 44px;
  }

  .brand-fv__text {
    font-size: 15px;
    line-height: 30px;
  }

  .brand-fv__content {
    gap: 40px;
  }

  .brand-history__inner {
    padding: 80px 20px;
    gap: 80px;
  }

  .brand-history__text {
    padding: 0 20px;
    gap: 30px;
  }

  .brand-history__block--reverse .brand-history__text {
    padding-left: 20px;
  }

  .brand-history__vertical-col {
    font-size: 20px;
  }

  .brand-history__circle-wrap {
    width: 100%;
  }

  .brand-history__circle-inner {
    width: 280px;
    height: 280px;
  }

  .brand-history__circle-content {
    top: 50px;
    width: 160px;
  }

  .brand-history__year {
    font-size: 22px;
  }

  .brand-history__circle-text {
    font-size: 13px;
    line-height: 24px;
  }

  .brand-history__slider-images {
    width: 100%;
    height: 300px;
  }

  .brand-philosophy__inner {
    padding: 80px 20px;
    gap: 80px;
  }

  .brand-philosophy__message-text h3 {
    font-size: 20px;
  }

  .brand-philosophy__block-text h3 {
    font-size: 20px;
  }

  .brand-philosophy__future-title {
    font-size: 26px;
  }

  .brand-links__content {
    padding: 40px 20px;
  }

  .brand-links__vertical-col {
    font-size: 24px;
    line-height: 30px;
  }
}

s