@charset "UTF-8";
/*
Theme Name: ARDERelle
Description: ARDERelle Official Theme
Version: 1.6
*/

/* ==============================================
   変数定義 / リセット / 共通設定
   ============================================== */
:root {
  --color-main-bg: #fafafa;
  --color-main-bgF: #f5f5f5;
  --color-sub-blue: #83a4a3;
  --color-accent-gold: #b27e28;
  --color-text-base: #333333;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-main-bg);
  color: var(--color-text-base);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

/* コンテナ設定 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ==============================================
   header / logo
   ============================================== */
.site-header {
  padding: 24px 0;
  background-color: var(--color-main-bg);
  text-align: left;
}

.logo {
  margin: 0;
}

.logo img {
  max-width: 200px;
}

/* ==============================================
   メインビジュアル / カルーセル (Final Balanced)
   ============================================== */

/* セクション全体 */
.hero-area,
.banner-carousel-section {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0;
  perspective: 1000px;
}

/* --- スライド（個々のバナー）設定 --- */
.banner-carousel .slide-item {
  margin: 0 -10px;
  display: block;
  box-sizing: border-box;
  outline: none;
  transform: scale(0.9);
  filter: brightness(0.5);
  z-index: 1;
  will-change: transform, filter;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out, filter 0.5s ease-out;
}

/* --- アクティブ時（中央） --- */
.banner-carousel .slide-item.custom-active {
  transform: scale(1);
  filter: brightness(1);
  z-index: 10;
  position: relative;
  transition: transform 0.5s ease-out, filter 0.5s ease-out;
}

/* --- PC表示時のサイズ調整 --- */
@media screen and (min-width: 1025px) {
  .banner-carousel-section {
    height: 315px;
  }

  .banner-carousel .slide-item {
    width: 540px;
    height: 284px;
  }
}

/* --- 画像設定 --- */
.banner-carousel .slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: opacity 0.3s ease;
}

.banner-carousel .slide-item.custom-active a:hover img {
  opacity: 0.7;
}

/* 矢印ボタン */
.slick-prev,
.slick-next {
  z-index: 100 !important;
  width: 50px !important;
  height: 50px !important;
  top: 50% !important;
  transform: translate(0, -50%) !important;
  display: block !important;
  font-family: inherit !important;
}

.slick-prev {
  left: 30px !important;
}

.slick-next {
  right: 30px !important;
}

.slick-prev:before,
.slick-next:before {
  content: '' !important;
  font-family: inherit !important;
  background-color: #fff;
  border-radius: 50%;
  width: 50px !important;
  height: 50px !important;
  display: block !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 1 !important;
  background-image: url('img/common/arrow.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50px auto;
  transition: all 0.3s ease;
}

.slick-prev:before {
  transform: scaleX(-1);
}

.slick-prev:hover:before,
.slick-next:hover:before {
  opacity: 0.7 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* ==============================================
   コンテンツエリア / LINE UP
   ============================================== */
.content-area {
  margin-top: 40px;
  margin-bottom: 80px;
}

.section-title {
  margin-bottom: 32px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent-gold);
  color: var(--color-sub-blue);
  font-family: "Libre Caslon Display", serif;
  font-size: 48px;
  font-weight: normal;
  text-transform: uppercase;
}

.work-item {
  display: block;
  box-sizing: border-box;
}

/* ==============================================
   フッター
   ============================================== */
.site-footer {
  background-color: var(--color-sub-blue);
  padding: 40px 0;
  color: #fff;
  text-align: left;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-footer {
  margin-bottom: 16px;
}

.logo-footer img {
  max-width: 176px;
}

.logo-footer img:hover {
  opacity: 0.7;
}

/* 注意書き（日本語部分） */
.footer-note {
  font-size: 11px;
  margin: 0 0 4px 0;
  opacity: 0.8;
  line-height: 1.4;
}

/* コピーライト（英語部分） */
.copyright {
  font-size: 11px;
  margin: 0;
  font-weight: bold;
  opacity: 0.9;
  font-family: Arial, Helvetica, sans-serif;
}

/* ==============================================
   レスポンシブ設定 (PC / Tablet / SP)
   ============================================== */

/* --- PC版レイアウト (768px以上) --- */
@media screen and (min-width: 768px) {

  /* コンテナ */
  .container {
    max-width: 1200px;
    padding: 0;
  }

  /* LINE UP グリッド */
  .works-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-item {
    width: 100%;
  }

  .work-thumb {
    width: 100%;
    margin-bottom: 16px;
  }

  .work-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 40 / 21;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    transition: opacity 0.3s ease;
  }

  .work-item:hover .work-thumb img {
    opacity: 0.7;
  }

  .work-content {
    width: 100%;
  }

  .work-title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .work-credits {
    font-size: 16px;
    line-height: 1.5;
  }

  .credit-group-row,
  .credit-row-single {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .credit-row-single {
    margin-top: 4px;
  }

  .credit-item {
    display: inline;
    margin-right: 16px;
  }

  /* カルーセル (Tablet: 768px - 1024px) */
  @media screen and (max-width: 1024px) {
    .banner-carousel-section {
      height: 293px;
    }

    .banner-carousel .slide-item {
      width: 557px;
      height: 293px;
    }

    .container {
      padding: 0 24px;
    }
  }

  /* カルーセル (PC: 1025px〜) */
  @media screen and (min-width: 1025px) {
    .banner-carousel-section {
      height: 355px;
    }

    .banner-carousel .slide-item {
      width: 600px;
      height: 315px;
    }
  }
}

/* --- SP版レイアウト (767px以下) --- */
@media screen and (max-width: 767px) {

  /* LINE UP */
  .section-title {
    font-size: 24px;
  }

  .container {
    padding: 0 16px;
  }

  .works-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .work-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    background-color: transparent;
  }

  .work-thumb {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .work-thumb img {
    width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: opacity 0.3s ease;
  }

  .work-item:hover .work-thumb img {
    opacity: 0.7;
  }

  .work-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
  }

  .work-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .work-credits {
    font-size: 12px;
    line-height: 1.5;
  }

  .credit-group-row,
  .credit-item,
  .credit-row-single {
    display: block;
    min-width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .credit-item {
    margin-bottom: 4px;
  }

  .credit-row-single {
    margin-top: 4px;
  }

  /* カルーセル設定 (SP) */
  .banner-carousel-section {
    height: 151px;
  }

  .banner-carousel .slide-item {
    width: 285px;
    height: 151px;
  }

  /* 矢印ボタン (SP調整) */
  .slick-prev,
  .slick-next {
    width: 40px !important;
    height: 40px !important;
  }

  .slick-prev {
    left: 10px !important;
  }

  .slick-next {
    right: 10px !important;
  }

  .slick-prev:before,
  .slick-next:before {
    width: 40px !important;
    height: 40px !important;
    background-size: 40px auto;
  }
}