/* ==================================================
   Chez KOBE Renewal
   TOP Page
================================================== */

.ck-top {
  width: 100%;
  padding-bottom: 100px;
}

.ck-top *,
.ck-top *::before,
.ck-top *::after {
  box-sizing: border-box;
}


/* ==================================================
   Hero
================================================== */

.ck-hero {
  position: relative;
  display: grid;
  grid-template-columns: 34% 66%;
  align-items: stretch;
  min-height: 570px;
  margin: 0 auto 78px;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
  background: #f7f2eb;
  box-shadow: 0 18px 42px rgba(83, 64, 45, 0.08);
}

.ck-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 36px 64px 54px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 249, 1) 0%,
      rgba(255, 253, 249, 0.98) 76%,
      rgba(255, 253, 249, 0.78) 100%
    );
}

.ck-hero__eyebrow {
  margin: 0 0 24px;
  color: var(--ck-gold);
  font-family: "Karla", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.ck-hero__title {
  margin: 0;
  color: var(--ck-text);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.11em;
}

.ck-hero__description {
  margin: 30px 0 0;
  color: var(--ck-sub-text);
  font-size: 13px;
  line-height: 2.05;
  letter-spacing: 0.07em;
}

.ck-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 570px;
  overflow: hidden;
  background: #eee9e2;
}

.ck-hero__visual::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 14%;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 249, 0.88) 0%,
      rgba(255, 253, 249, 0) 100%
    );
  content: "";
  pointer-events: none;
}

.ck-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center;
}

.ck-hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 570px;
  color: #b8aa99;
  font-family: "Karla", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
}


/* ==================================================
   Common Section
================================================== */

.ck-section {
  width: 100%;
  margin: 0 auto 82px;
}

.ck-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 34px;
  padding-bottom: 45px; 
  color: var(--ck-text);
  text-align: center;
}

.ck-section-title::before,
.ck-section-title::after {
  display: block;
  width: 54px;
  height: 1px;
  background: var(--ck-gold-light);
  content: "";
}

.ck-section-title span {
  position: relative;
  display: inline-block;
  padding: 0 28px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

.ck-section-title span::before,
.ck-section-title span::after {
  position: absolute;
  top: 50%;
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ck-gold);
  background: var(--ck-bg);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.ck-section-title span::before {
  left: 4px;
}

.ck-section-title span::after {
  right: 4px;
}


/* ==================================================
   Category
================================================== */

.ck-category-list {
  display: grid;
  gap: 10px;
}

.ck-category-card {
  position: relative;
  display: grid;
  grid-template-columns: 39% 61%;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(202, 180, 146, 0.17);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(76, 57, 40, 0.055);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ck-category-card:hover {
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(76, 57, 40, 0.09);
}

.ck-category-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 34px 34px 48px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 249, 1) 0%,
      rgba(255, 253, 249, 0.99) 78%,
      rgba(255, 253, 249, 0.74) 100%
    );
}

.ck-category-card__en {
  margin: 0 0 10px;
  color: var(--ck-gold);
  font-family: "Karla", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.ck-category-card h2 {
  margin: 0;
  color: var(--ck-text);
  text-align: left;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.1em;
}

.ck-category-card__content > p:not(.ck-category-card__en) {
  margin: 15px 0 0;
  color: var(--ck-sub-text);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.ck-category-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 20px;
  border: 1px solid var(--ck-gold-light);
  border-radius: 50%;
  color: var(--ck-gold);
  font-family: sans-serif;
  font-size: 15px;
  line-height: 1;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.ck-category-card:hover .ck-category-card__arrow {
  background: var(--ck-gold);
  color: #fff;
}

.ck-category-card__image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f1ede7;
}

.ck-category-card__image::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 18%;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 249, 0.92) 0%,
      rgba(255, 253, 249, 0) 100%
    );
  content: "";
  pointer-events: none;
}

.ck-category-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.ck-category-card:hover .ck-category-card__image img {
  transform: scale(1.025);
}


/* ==================================================
   Ranking
================================================== */

.ck-ranking-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ck-ranking-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(202, 180, 146, 0.18);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(76, 57, 40, 0.05);
}

.ck-ranking-card a {
  display: block;
  height: 100%;
  padding: 10px 10px 18px;
  color: inherit;
  text-decoration: none;
}

.ck-ranking-card a:hover {
  color: inherit;
  text-decoration: none;
}

.ck-ranking-card__number {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 42px;
  background: #d2b06d;
  color: #fff;
  font-family: "Karla", sans-serif;
  font-size: 15px;
  line-height: 1;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 82%,
    50% 100%,
    0 82%
  );
}

.ck-ranking-card:nth-child(2) .ck-ranking-card__number {
  background: #bcbab2;
}

.ck-ranking-card:nth-child(3) .ck-ranking-card__number {
  background: #b88462;
}

.ck-ranking-card:nth-child(n+4) .ck-ranking-card__number {
  border: 1px solid #d9c7aa;
  background: rgba(255, 253, 249, 0.96);
  color: var(--ck-text);
}

.ck-ranking-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  background: #f3f0eb;
}

.ck-ranking-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ck-ranking-card a:hover .ck-ranking-card__image img {
  transform: scale(1.035);
}

.ck-ranking-card__name {
  min-height: 3.2em;
  margin: 16px 4px 7px;
  color: var(--ck-text);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.ck-ranking-card__price,
.ck-ranking-card__soldout {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.ck-ranking-card__price {
  color: #755f4e;
}

.ck-ranking-card__soldout {
  color: #a15a57;
  font-family: "Karla", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.ck-section-button {
  margin-top: 26px;
  text-align: center;
}

.ck-section-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-width: 280px;
  min-height: 44px;
  padding: 8px 26px;
  border: 1px solid var(--ck-gold-light);
  border-radius: 999px;
  color: var(--ck-text);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.ck-section-button a:hover {
  background: var(--ck-gold);
  color: #fff;
  text-decoration: none;
}


/* ==================================================
   Information
================================================== */

.ck-information-section {
  max-width: 940px;
  margin-bottom: 0;
}

.ck-information-list {
  border-top: 1px solid var(--ck-border);
}

.ck-information-list a {
  display: grid;
  grid-template-columns: 120px 90px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--ck-border);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.ck-information-list a:hover {
  background: rgba(244, 237, 227, 0.45);
  color: inherit;
  text-decoration: none;
}

.ck-information-list time {
  color: #6f6055;
  font-family: "Karla", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.ck-information-list__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eee6d8;
  color: #786650;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.ck-information-list__title {
  min-width: 0;
  overflow: hidden;
  color: var(--ck-text);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ck-information-list__arrow {
  color: var(--ck-gold);
  text-align: right;
  font-family: sans-serif;
  font-size: 18px;
}


/* ==================================================
   TOP Responsive
================================================== */

@media (max-width: 1100px) {

  .ck-hero {
    grid-template-columns: 38% 62%;
    min-height: 500px;
  }

  .ck-hero__copy {
    padding: 52px 28px 52px 38px;
  }

  .ck-hero__visual,
  .ck-hero__visual img,
  .ck-hero__placeholder {
    min-height: 500px;
  }

  .ck-ranking-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}


@media (max-width: 768px) {

  .ck-top {
    padding-bottom: 70px;
  }

  .ck-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 60px;
    border-radius: 0 0 10px 10px;
  }

  .ck-hero__copy {
    order: 2;
    padding: 38px 30px 44px;
    background: #fffdf9;
    text-align: center;
  }

  .ck-hero__title {
    font-size: 30px;
    line-height: 1.65;
  }

  .ck-hero__description {
    font-size: 12px;
  }

  .ck-hero__visual {
    order: 1;
    min-height: 380px;
  }

  .ck-hero__visual::before {
    display: none;
  }

  .ck-hero__visual img,
  .ck-hero__placeholder {
    min-height: 380px;
  }

  .ck-section {
    margin-bottom: 64px;
  }

  .ck-section-title {
    gap: 14px;
    margin-bottom: 26px;
  }

  .ck-section-title::before,
  .ck-section-title::after {
    width: 32px;
  }

  .ck-section-title span {
    padding: 0 24px;
    font-size: 18px;
  }

  .ck-category-card {
    grid-template-columns: 43% 57%;
    min-height: 190px;
  }

  .ck-category-card__content {
    padding: 24px 18px 24px 26px;
  }

  .ck-category-card h2 {
    font-size: 20px;
  }

  .ck-category-card__content > p:not(.ck-category-card__en) {
    font-size: 11px;
  }

  .ck-category-card__image img {
    min-height: 190px;
  }

  .ck-ranking-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ck-information-list a {
    grid-template-columns: 95px 78px minmax(0, 1fr) 18px;
    gap: 8px;
  }

}


@media (max-width: 520px) {

  .ck-hero__visual,
  .ck-hero__visual img,
  .ck-hero__placeholder {
    min-height: 290px;
  }

  .ck-hero__copy {
    padding: 30px 20px 36px;
  }

  .ck-hero__eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
  }

  .ck-hero__title {
    font-size: 25px;
    letter-spacing: 0.08em;
  }

  .ck-hero__description {
    margin-top: 22px;
    line-height: 1.85;
  }

  .ck-category-card {
    grid-template-columns: 1fr;
  }

  .ck-category-card__content {
    order: 2;
    padding: 25px 24px 28px;
    background: #fffdf9;
  }

  .ck-category-card__image {
    order: 1;
    min-height: 210px;
  }

  .ck-category-card__image::before {
    display: none;
  }

  .ck-category-card__image img {
    min-height: 210px;
  }

  .ck-category-card h2 {
    font-size: 21px;
  }

  .ck-category-card__arrow {
    margin-top: 16px;
  }

  .ck-ranking-list {
    gap: 10px;
  }

  .ck-ranking-card a {
    padding: 8px 8px 15px;
  }

  .ck-ranking-card__number {
    top: 8px;
    left: 8px;
    width: 30px;
    height: 38px;
    font-size: 13px;
  }

  .ck-ranking-card__name {
    margin-top: 12px;
    font-size: 12px;
  }

  .ck-section-button a {
    min-width: 250px;
  }

  .ck-information-list a {
    grid-template-columns: 1fr auto;
    gap: 5px 10px;
    padding: 13px 8px;
  }

  .ck-information-list time {
    grid-column: 1;
    grid-row: 1;
  }

  .ck-information-list__label {
    grid-column: 2;
    grid-row: 1;
  }

  .ck-information-list__title {
    grid-column: 1;
    grid-row: 2;
    white-space: normal;
  }

  .ck-information-list__arrow {
    grid-column: 2;
    grid-row: 2;
  }

}

/* PC：カテゴリカードの縦幅を約1.3倍にする */
@media (min-width: 769px) {

  .ck-category-card {
    min-height: 380px;
  }

  .ck-category-card__image img {
    min-height: 380px;
  }

}

/* PC：メインビジュアルのタイトル幅を調整 */
@media (min-width: 769px) {

  .ck-hero {
    grid-template-columns: 40% 60%;
  }

  .ck-hero__copy {
    padding-right: 24px;
  }

  .ck-hero__title {
    font-size: clamp(30px, 2.7vw, 43px);
    letter-spacing: 0.08em;
  }

  .ck-hero__title-line {
    display: block;
    white-space: nowrap;
  }

}

/* ==================================================
   Smartphone Main Visual
   写真とコピーを一体化したファーストビュー
================================================== */

@media (max-width: 768px) {

  /* ヒーローだけ左右余白を外して画面幅いっぱいにする */
  .ck-hero {
    position: relative;
    display: block;
    width: 100vw;
    height: clamp(560px, 145vw, 680px);
    min-height: 0;
    margin-right: calc(50% - 50vw);
    margin-bottom: 72px;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    border-radius: 0;
    background: #d8cbbd;
    box-shadow: none;
  }

  /* メイン写真を全面に配置 */
  .ck-hero__visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #d8cbbd;
  }

  /* 文字を読みやすくする下部グラデーション */
  .ck-hero__visual::before {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 72%;
    background:
      linear-gradient(
        180deg,
        rgba(45, 34, 27, 0) 0%,
        rgba(45, 34, 27, 0.16) 32%,
        rgba(45, 34, 27, 0.72) 100%
      );
    content: "";
    pointer-events: none;
  }

  .ck-hero__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  /* コピーを写真の左下へ重ねる */
  .ck-hero__copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    padding: 120px 26px 38px;
    background: transparent;
    text-align: left;
  }

  .ck-hero__eyebrow {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .ck-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(27px, 7.2vw, 32px);
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 14px rgba(28, 20, 15, 0.3);
  }

  .ck-hero__title-line {
    display: block;
    white-space: nowrap;
  }

  .ck-hero__description {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    line-height: 1.9;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 10px rgba(28, 20, 15, 0.28);
  }

  /* 全幅表示による横スクロールを防止 */
  .ck-top {
    overflow-x: clip;
  }

}

/* ==================================================
   Information / Color Me System
================================================== */

.ck-information-section {
  max-width: 940px;
  margin-right: auto;
  margin-left: auto;
}

.ck-information-body {
  padding: 28px 32px;
  border-top: 1px solid var(--ck-border);
  border-bottom: 1px solid var(--ck-border);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ck-text);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.ck-information-body > :first-child {
  margin-top: 0;
}

.ck-information-body > :last-child {
  margin-bottom: 0;
}

.ck-information-body p {
  margin: 0 0 12px;
}

.ck-information-body div {
  max-width: 100%;
}

.ck-information-body ul,
.ck-information-body ol {
  margin: 12px 0;
  padding-left: 1.7em;
}

.ck-information-body li {
  margin-bottom: 6px;
}

.ck-information-body a {
  color: var(--ck-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ck-information-body img {
  max-width: 100%;
  height: auto;
}


/* Smartphone */
@media (max-width: 600px) {

  .ck-information-body {
    padding: 20px 18px;
    font-size: 12px;
    line-height: 1.9;
  }

}

/* ==================================================
   Information / Color Me News
================================================== */

.ck-information-section {
  max-width: 940px;
  margin-right: auto;
  margin-left: auto;
}

.ck-news-list {
  border-top: 1px solid var(--ck-border);
}

.ck-news-item {
  display: grid;
  grid-template-columns: 120px 90px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ck-border);
}

.ck-news-item__date {
  color: #6f6055;
  font-family: "Karla", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.ck-news-item__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 72px;
  min-height: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eee6d8;
  color: #786650;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.ck-news-item__message {
  min-width: 0;
  margin: 0;
  color: var(--ck-text);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}


/* Smartphone */
@media (max-width: 600px) {

  .ck-news-item {
    grid-template-columns: 1fr auto;
    gap: 7px 10px;
    min-height: 0;
    padding: 15px 8px;
  }

  .ck-news-item__date {
    grid-column: 1;
    grid-row: 1;
    font-size: 11px;
  }

  .ck-news-item__label {
    grid-column: 2;
    grid-row: 1;
  }

  .ck-news-item__message {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.7;
  }

}

/* ==================================================
   インフォメーション下部の余白調整
================================================== */

.ck-top {
  padding-bottom: 0;
}

#footer-wrapper.ck-footer {
  margin-top: 80px;
}

@media (max-width: 600px) {

  #footer-wrapper.ck-footer {
    margin-top: 55px;
  }

}

/* スマホ：メインビジュアルの説明文を非表示 */
@media (max-width: 768px) {

  .ck-hero__description {
    display: none;
  }

}

/* スマホ：メインビジュアルのグラデーションを下側へ調整 */
@media (max-width: 768px) {

  .ck-hero__visual::before {
    height: 33%;
    background:
      linear-gradient(
        180deg,
        rgba(45, 34, 27, 0) 0%,
        rgba(45, 34, 27, 0.12) 42%,
        rgba(45, 34, 27, 0.72) 100%
      );
  }

}

/* PCでは「人気のGIFTを」「ご自宅へ」を別の行にする */
.ck-hero__title-gift-main,
.ck-hero__title-gift-sub {
  display: block;
}


/* スマホ：タイトルを2行にして、全体を下部へ寄せる */
@media (max-width: 768px) {

  .ck-hero__copy {
    padding: 40px 26px 24px;
  }

  .ck-hero__title {
    font-size: clamp(23px, 6.2vw, 26px);
    line-height: 1.5;
  }

  .ck-hero__title-gift {
    display: block;
    white-space: nowrap;
  }

  .ck-hero__title-gift-main,
  .ck-hero__title-gift-sub {
    display: inline;
  }

}