/* ===================================
   MODEL LIST PAGE — model/index.html 専用
   assets/css/page-model-list.css
   読み込み順: base → layout → components → page-model-list
=================================== */


/* トップのみ白背景（Newsページと共通挙動） */
.header.is-top {
  background: #ffffff;
  box-shadow: none;
}

/* ===================================
   MODEL LIST (PAGE)
=================================== */
.modellist-page {
  background: #ffffff;
  margin-top: var(--header-h);
}

.modellist-page__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 120px 100px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* タイトルエリア */
.modellist-page__title-area {
  display: flex;
  flex-direction: column;
  gap: 36px;
  color: #1c1818;
}

.modellist-page__title {
  font-family: var(--font-en);
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: #1c1818;
}

.modellist-page__subtitle-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.modellist-page__subtitle {
  font-family: var(--font-ja);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  color: #1c1818;
}

.modellist-page__desc {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #1c1818;
}

/* 拠点タブ（Japan / Indonesia）の基本スタイルは style.css の .modellist-tab を共通利用 */

/* モデルリスト */
.modellist-page__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* モデルアイテム */
.modelpage-item {
  display: flex;
  gap: 100px;
  align-items: center;
}

.modelpage-item__img {
  width: 405px;
  height: 540px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0eded;
}

.modelpage-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% top;
  display: block;
}

.modelpage-item__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: #1c1818;
  flex: 1;
}

.modelpage-item__name {
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #1c1818;
}

.modelpage-item__desc-area {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modelpage-item__subtitle {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #1c1818;
  max-width: 603px;
}

.modelpage-item__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 603px;
}

.modelpage-item__body p {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: #1c1818;
}

.modelpage-item__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 336px;
  height: 54px;
  background: #1c1818;
  color: #ffffff;
  border-radius: 30px;
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.modelpage-item__btn:hover {
  background: #3a3535;
  transform: translateY(-2px);
}

/* 左レイアウト（テキスト左・画像右） */
.modelpage-item--left {
  flex-direction: row-reverse;
}

/* COMING SOON ボタン */
.modelpage-item__btn--soon {
  background: #807575;
  color: #f7f5f5;
  cursor: default;
  pointer-events: none;
}

.modelpage-item__btn--soon:hover {
  background: #807575;
  transform: none;
}


/* ===================================
   PAGINATION（Newsと共通）
=================================== */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 20px;
}

.news-pagination__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.news-pagination__arrow {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #1c1818;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
  line-height: 1;
}

.news-pagination__arrow:hover:not(:disabled) {
  color: var(--color-red);
}

.news-pagination__arrow.is-disabled {
  color: #cccccc;
  cursor: default;
}

.news-pagination__num {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 50%;
  color: #1c1818;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.news-pagination__num--active {
  background: #d1caca;
  color: #1c1818;
  font-weight: 700;
}

.news-pagination__num:not(.news-pagination__num--active):hover {
  background: #f7f5f5;
}

.news-pagination__dots {
  color: #1c1818;
  font-size: 15px;
  padding: 0 4px;
}


/* ===================================
   RESPONSIVE
=================================== */

/* --- Model List 中間帯（1025px〜1280px）--- */
@media (max-width: 1280px) and (min-width: 1025px) {
  .modellist-page__inner {
    padding: 80px 64px;
  }

  .modellist-page__subtitle {
    font-size: 40px;
    white-space: normal;
  }

  .modelpage-item {
    gap: 60px;
  }

  .modelpage-item__img {
    width: 370px;
    height: auto;
    aspect-ratio: 405 / 540;
    flex-shrink: 1;
  }

  .modelpage-item__name {
    font-size: 56px;
  }
}

@media (max-width: 1024px) {
  

  

  /* ===== MODEL LIST タブレット ===== */
  .modellist-page__inner {
    padding: 80px 48px;
    gap: 60px;
  }

  /* gap/margin-top の代わりに padding-bottom を使用（Chrome 非互換回避） */
  .modellist-page__list {
    gap: 0;
  }

  .modelpage-item {
    padding-bottom: 80px;
  }

  .modelpage-item:last-child {
    padding-bottom: 0;
  }

  .modellist-page__title {
    font-size: 72px;
  }

  .modellist-page__subtitle {
    font-size: 36px;
    white-space: normal;
  }

  .modelpage-item {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    align-items: flex-start;
  }

  .modelpage-item__img {
    width: 100%;
    height: auto;
    aspect-ratio: 405 / 540;
    overflow: visible;
    flex-shrink: unset;
  }

  .modelpage-item__img img {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
    border-radius: 20px;
  }

  .modelpage-item__text {
    flex: none;
    width: 100%;
  }

  .modelpage-item__name {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  

  

  

  

  

  

  /* モデルリストセクション */
  .modellist-page__inner {
    padding: 64px 28px;
    gap: 60px;
    align-items: center;
  }

  /* SP: padding-bottom で確実に余白を確保 */
  .modelpage-item {
    padding-bottom: 60px;
  }

  .modelpage-item:last-child {
    padding-bottom: 0;
  }

  /* タイトルエリア */
  .modellist-page__title-area {
    width: 100%;
    gap: 20px;
  }

  .modellist-page__subtitle-wrap {
    gap: 16px;
  }

  .modellist-page__title {
    font-size: 56px;
  }

  .modellist-page__subtitle {
    font-size: 28px;
    white-space: normal;
  }

  /* モデルアイテム：縦積み */
  .modelpage-item {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    align-items: flex-start;
  }

  /* 画像：全幅・自然比率表示 */
  .modelpage-item__img {
    width: 100%;
    height: auto;
    aspect-ratio: 405 / 540;
    overflow: visible;
    flex-shrink: unset;
  }

  .modelpage-item__img img {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
    border-radius: 20px;
  }

  /* テキストエリア */
  .modelpage-item__text {
    gap: 0;
    flex: none;
    width: 100%;
  }

  .modelpage-item__name {
    font-size: 44px;
    margin-bottom: 10px;
  }

  .modelpage-item__desc-area {
    gap: 0;
    margin-bottom: 40px;
  }

  .modelpage-item__subtitle {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .modelpage-item__body {
    max-width: 100%;
  }

  .modelpage-item__body p {
    line-height: 2;
  }

  .modelpage-item__btn {
    width: 100%;
  }

  /* ページネーション：32px */
  .news-pagination__arrow {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .news-pagination__num {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .news-pagination__dots {
    font-size: 14px;
  }
}
