@charset "UTF-8";

/* ============================================================
  apartment.css
============================================================ */

/* --------------------------------------------------
  CSS変数
-------------------------------------------------- */
:root {
  --ct-main:      #6b4a2f;
  --ct-main-dark: #3f2d22;
  --ct-accent:    #e27a21;
  --ct-text:      #231f1c;
  --ct-sub:       #666;
  --ct-bg:        #f7f1e8;
  --ct-white:     #fff;
  --ct-border:    #e3d5c4;
}


/* --------------------------------------------------
  共通レイアウト
-------------------------------------------------- */
.ct-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.ct-section {
  padding: 80px 0;
}

.ct-section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
  text-align: center;
  color: var(--ct-main-dark);
  margin-bottom: 48px;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.ct-section-title__en {
  display: block;
  font-size: 14px;
  color: var(--ct-accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}


/* --------------------------------------------------
  ボタン共通
-------------------------------------------------- */
.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  padding: 18px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ct-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.ct-btn--primary {
  background: linear-gradient(135deg, #f08a24, #d66a12);
  color: #fff;
  box-shadow: 0 12px 24px rgba(214, 106, 18, 0.24);
}

.ct-btn--primary:hover {
  color: #fff;
  font-weight: 800;
}

.ct-btn--outline {
  background: linear-gradient(135deg, #f08a24, #d66a12);
  color: #fff;
  border: 1px solid #d66a12;
  box-shadow: 0 12px 24px rgba(214, 106, 18, 0.20);
}


/* --------------------------------------------------
  HERO
-------------------------------------------------- */
.ct-hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(circle at 16% 18%, rgba(182, 123, 50, .12) 0, rgba(182, 123, 50, .12) 28%, transparent 29%),
    linear-gradient(135deg, #fff 0%, #f8f5ef 52%, #efe7dc 100%);
  overflow: hidden;
}

.ct-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--ct-bg));
  pointer-events: none;
}

.ct-hero .ct-inner {
  position: relative;
  z-index: 1;
  /* ★ HERO は ct-inner の横幅制限を無効化して画面幅いっぱいに使う */
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* ★ グリッド：左側テキストだけ内側に余白、画像は右端まで伸ばす */
.ct-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 0;
  align-items: center;
    max-width: 1600px; /* ← ここで上限を設定 */
  margin-left: auto;
  margin-right: auto;
}

/* ★ テキスト側に左余白を設ける */
.ct-hero-content {
  padding: 0 40px 0 40px;
  /*max-width:700px;
  margin-left:auto;*/
}

/* ラベル */
.ct-hero-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background-color: rgba(47, 38, 32, .06);
  border: 1px solid rgba(47, 38, 32, .14);
  border-radius: 999px;
  font-weight: 700;
  color: var(--ct-main-dark);
  margin-bottom: 22px;
  font-size: 15px;
}

/* タイトル */
.ct-hero-title {
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.18;
  letter-spacing: 0.04em;
  color: var(--ct-main-dark);
  margin-bottom: 24px;
  font-weight: 800;
}

.ct-hero-title__large {
  font-size: 1.6em;
  letter-spacing: -5px;
  color: #d70404;
}

.ct-hero-title__large-2{
  font-size: 1.3em;
  letter-spacing: -5px;
  color: var(--ct-accent);
}

.ct-hero-title__line {
  display: inline-block;
  white-space: nowrap;
}

.ct-hero-lead {
  font-size: clamp(16px, 1.8vw, 20px) !important;
  font-weight: 700;
  margin-bottom: 20px;
  color: #332b26;
}

.ct-hero-text {
  color: var(--ct-sub);
  margin-bottom: 32px;
  max-width: 580px;
  font-size: 15px;
}

/* バッジ */
.ct-hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ct-hero-badge {
  background: var(--ct-white);
  border: 1px solid var(--ct-border);
  border-top: 4px solid var(--ct-accent);
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  box-shadow: 0 8px 18px rgba(60, 40, 30, .07);
  color: var(--ct-main-dark);
}

/* ★ ビジュアルエリア：右端まで広げる */
.ct-hero-visual {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  /*max-width:1000px;*/
}

.ct-hero-visual::before {
  display: none; /* 右端ブリードでは装飾がずれるため非表示 */
}

.ct-hero-visual::after {
 /* content: "APARTMENT";*/
  position: absolute;
  right: 12px;
  bottom: -20px;
  color: rgba(47, 38, 32, .07);
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}


/* ★ フレーム：右端ぴったり・左側だけ角丸 */
.ct-hero-visual-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  /*border-radius: 22px 0 0 22px;*/ /* 右側の角丸をなくす */
  /*border: 6px solid #fff;*/
  /*border-right: none; */          /* 右ボーダーなし */
  /*box-shadow: 0 28px 56px rgba(60, 40, 30, .17);*/
  aspect-ratio: 16 / 10;
  height: auto;
  width: 100%;
}

.ct-hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------
  CATALOG
-------------------------------------------------- */
.ct-catalog {
  margin-top: -32px;
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

.ct-catalog-panel {
  background: var(--ct-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ct-border);
  box-shadow: 0 16px 34px rgba(60, 40, 30, .08);
}

.ct-catalog-images {
  display: block;
}

.ct-catalog-image {
  aspect-ratio: 16 / 5;
  background: #ddd center / cover no-repeat;
}

.ct-catalog-body {
  padding: 30px;
  text-align: center;
}

.ct-catalog-title {
  font-size: 22px;
  color: var(--ct-main-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.ct-catalog-text {
  color: var(--ct-sub);
  max-width: 720px;
  margin: 0 auto 22px;
  font-size: 15px;
}


/* --------------------------------------------------
  STRENGTH
-------------------------------------------------- */
.ct-strength {
  background: var(--ct-white);
  position: relative;
}

.ct-strength::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,  rgba(47, 38, 32, .033) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 38, 32, .033) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ct-strength .ct-inner {
  position: relative;
  z-index: 1;
}

.ct-strength-list {
  display: grid;
  gap: 22px;
}

.ct-strength-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--ct-white);
  border: 1px solid var(--ct-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(60, 40, 30, .06);
}

.ct-strength-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a5636, #3f2d22);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(63, 45, 34, .18);
  flex-shrink: 0;
}

.ct-strength-title {
  font-size: clamp(19px, 2.8vw, 26px) !important;
  color: var(--ct-main-dark);
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
  line-height: 1.45;
}

.ct-strength-title strong {
  color: var(--ct-accent);
  font-weight: 700;
}

.ct-strength-text {
  color: var(--ct-sub);
  line-height: 1.8;
  font-size: 15px;
}


/* --------------------------------------------------
  WORKS
-------------------------------------------------- */
.ct-works {
  background: var(--ct-bg);
}

.ct-works-list {
  display: grid;
  gap: 40px;
}

.ct-works-slider {
  background: var(--ct-white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ct-border);
  box-shadow: 0 14px 30px rgba(60, 40, 30, .08);
}

.ct-works-slider-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: stretch;
}

.ct-works-main {
  position: relative;
  min-height: 420px;
  background: #ddd center / cover no-repeat;
  transition: background-image 0.25s ease;
}

.ct-works-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .26));
  pointer-events: none;
}

.ct-works-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.ct-works-arrow {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ct-main-dark);
  font-size: 21px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ct-works-arrow:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.ct-works-body {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.ct-works-label {
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid var(--ct-border);
  border-left: 4px solid var(--ct-accent);
  color: var(--ct-main-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ct-works-name {
  font-size: clamp(21px, 2.6vw, 29px);
  color: var(--ct-main-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.ct-works-meta {
  color: var(--ct-sub);
  font-size: 14px;
  margin-bottom: 18px;
}

.ct-works-comment {
  color: var(--ct-text);
  margin-bottom: 22px;
  flex-grow: 1;
  font-size: 15px;
}

.ct-works-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: auto;
}

.ct-works-thumb {
  aspect-ratio: 4 / 3;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #ddd center / cover no-repeat;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ct-works-thumb:hover,
.ct-works-thumb.is-active {
  border-color: var(--ct-accent);
  opacity: 1;
  transform: translateY(-2px);
}

.ct-works-footer {
  margin-top: 32px;
  text-align: center;
}


/* --------------------------------------------------
  CTA
-------------------------------------------------- */
.ct-cta {
  background:
    linear-gradient(rgba(31, 26, 23, .88), rgba(31, 26, 23, .88)),
    url("images/apartment_img003.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 90px 0;
}

.ct-cta-title {
  font-size: clamp(30px, 4.5vw, 54px);
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 26px;
  font-weight: 900;
}

.ct-cta-lead {
  max-width: 680px;
  margin: 0 auto 28px !important;
  color: rgba(255, 255, 255, .86);
  font-size: 16px !important;
}

.ct-cta-note {
  display: inline-block;
  color: #fff;
  padding-left: 16px;
  border-left: 4px solid var(--ct-accent);
  font-weight: 700;
  margin-bottom: 32px !important;
  text-align: left;
  font-size: 15px;
}

.ct-cta .ct-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: none;
}

.ct-cta .ct-btn--outline:hover {
  background: #fff;
  color: var(--ct-main-dark);
}


/* --------------------------------------------------
  レスポンシブ : タブレット（〜900px）
-------------------------------------------------- */
@media screen and (max-width: 900px) {

  /* HERO */
   .ct-hero {
    padding: 56px 0 92px;
  }

  /* ★ 1カラムに戻し、ct-inner の制限も戻す */
  .ct-hero .ct-inner {
    width: min(1120px, calc(100% - 40px));
    max-width: 1120px;
    padding: 0;
    margin: 0 auto;
  }

  .ct-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: center;
  }

  /* ★ テキスト側の左余白リセット */
  .ct-hero-content {
    padding: 0;
  }

  .ct-hero-visual {
    order: -1;
    align-self: auto;
  }

  /* ★ 四隅すべて角丸に戻す */
  .ct-hero-visual-frame {
    aspect-ratio: 16 / 7;
    height: auto;
   /* border-radius: 20px;
    border: 6px solid #fff;
    border-right: 6px solid #fff;*/
  }

  .ct-hero-badges {
    grid-template-columns: 1fr;
  }


  /* STRENGTH */
  .ct-strength-item {
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 22px;
  }

  .ct-strength-number {
    width: 72px;
    height: 72px;
    font-size: 27px;
  }

  /* WORKS */
  .ct-works-slider-layout {
    grid-template-columns: 1fr;
  }

  .ct-works-main {
    min-height: 280px;
  }

  .ct-works-body {
    padding: 24px;
  }

  /* CATALOG */
  .ct-catalog-image {
    aspect-ratio: 16 / 6;
  }
}


/* --------------------------------------------------
  レスポンシブ : スマートフォン（〜600px）
-------------------------------------------------- */
@media screen and (max-width: 600px) {

  /* 共通 */
  .ct-section {
    padding: 52px 0;
  }

  .ct-inner {
    width: calc(100% - 28px);
  }

  /* セクションタイトル */
  .ct-section-title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  /* ボタン */
  .ct-btn {
    min-width: 0;
    width: 100%;
    max-width: 340px;
    padding: 16px 24px;
    font-size: 16px;
  }

  /* HERO */
   .ct-hero {
    padding: 44px 0 72px;
  }

  .ct-hero-label {
    font-size: 13px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .ct-hero-title {
    font-size: 40px;
    margin-bottom: 18px;
  }

  .ct-hero-title__large {
    font-size: 1.5em;
    font-weight: 900;
  }

  .ct-hero-lead {
    font-size: 16px !important;
    margin-bottom: 14px;
  }

  .ct-hero-text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .ct-hero-badges {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ct-hero-badge {
    font-size: 14px;
    padding: 12px 16px;
  }

  /* HERO ビジュアル */
   .ct-hero-visual-frame {
    aspect-ratio: 16 / 8;
    border-width: 4px;
   /* border-radius: 12px;
    border-right: 4px solid #fff;*/
  }
  /* CATALOG */
  .ct-catalog {
    margin-top: -20px;
  }

  .ct-catalog-image {
    aspect-ratio: 16 / 7;
  }

  .ct-catalog-body {
    padding: 22px 18px;
  }

  .ct-catalog-title {
    font-size: 18px;
  }

  .ct-catalog-text {
    font-size: 14px;
  }

  /* STRENGTH */
  .ct-strength-item {
    grid-template-columns: 58px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .ct-strength-number {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .ct-strength-title {
    font-size: 17px !important;
  }

  .ct-strength-text {
    font-size: 14px;
  }

  /* WORKS */
  .ct-works-main {
    min-height: 230px;
  }

  .ct-works-body {
    padding: 18px;
  }

  .ct-works-name {
    font-size: 20px;
  }

  .ct-works-meta {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .ct-works-comment {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .ct-works-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .ct-works-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  /* CTA */
  .ct-cta {
    padding: 64px 0;
  }

  .ct-cta-title {
    font-size: 28px;
    letter-spacing: 0.06em;
  }

  .ct-cta-lead {
    font-size: 14px !important;
    margin-bottom: 22px !important;
  }

  .ct-cta-note {
    font-size: 14px;
    margin-bottom: 24px !important;
    display: block;
    text-align: left;
  }
}
