/*worksギャラリー切り替え用CSS*/
.gallery-main{
    position:relative;
    overflow:hidden;
}

.gallery-main img{

    display:block;
    width:100%;
    opacity:1;

    transform:scale(1.04);

    transition:
        opacity .45s ease,
        transform 1.0s ease;

    will-change:opacity,transform;
}

.gallery-main img.is-hide{

    opacity:0;
    transform:scale(1);

}

.gallery-thumbs .thumb{

    transition:
        opacity .3s,
        transform .3s;

}

.gallery-thumbs .thumb:hover{

    transform:translateY(-3px);

}

.gallery-thumbs .thumb.active{

    transform:translateY(-3px);
}
:root {
    --gold: #b4924c;
    --ink: #2b2b2b;
    --bg: #ffffff;
    --muted: #6f6f6f;

    /* この物件専用のアクセント：ネイビー＆ウッド */
    --navy: #1f2d40;
    --navy-soft: #eef1f5;
    --wood: #a9835a;
  }

  /* ---------- 見どころ ---------- */
  .highlight-section {
    max-width: 960px;
    margin: 48px auto;
    padding: 0 20px;
  }

  .highlight-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .highlight-heading .label-en {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--gold);
    font-weight: 500;
  }

  .highlight-heading h3 {
    font-size: 18px;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin: 2px 0 0;
    font-weight: 600;
  }

  .highlight-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
  }

  .highlight-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e4e0d8;
  }

  .highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 6px;
    border-bottom: 1px solid #e4e0d8;
    transition: background-color 0.25s ease;
  }

  .highlight-item:hover {
    background-color: var(--navy-soft);
  }

  .highlight-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--navy);
    color: var(--navy);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "EB Garamond", "Times New Roman", serif;
  }

  .highlight-text {
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--ink);
  }

  /* ---------- 参考情報 ---------- */
  .reference-section {
    max-width: 960px;
    margin: 0 auto 48px;
    padding: 0 20px;
  }

  .reference-box {
    background: var(--navy);
    border-radius: 4px;
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
  }

  .reference-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
  }

  .reference-heading {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
  }

  .reference-heading .label-en {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--gold);
  }

  .reference-heading h3 {
    font-size: 15px;
    letter-spacing: 0.04em;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
  }

  .reference-table {
    width: 100%;
    border-collapse: collapse;
  }

  .reference-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .reference-table tr:last-child {
    border-bottom: none;
  }

  .reference-table th,
  .reference-table td {
    text-align: left;
    padding: 8px 10px;
    font-size: 1.4rem;
    font-weight: 400;
    vertical-align: top;
  }

  .reference-table th {
    width: 110px;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .reference-table td {
    color: #f0f0ee;
    line-height: 1.5;
  }

  .reference-note {
    margin-top: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
  }

  /* ---------- レスポンシブ ---------- */
  @media (max-width: 640px) {
    .highlight-section,
    .reference-section {
      margin: 32px auto;
    }

    .highlight-item {
      gap: 10px;
      padding: 10px 4px;
    }

    .highlight-num {
      width: 26px;
      height: 26px;
      font-size: 11px;
    }

    .highlight-text {
      font-size: 12.5px;
    }

    .reference-box {
      padding: 20px 18px;
    }

    .reference-table th,
    .reference-table td {
      display: block;
      width: 100%;
      padding: 2px 0;
    }

    .reference-table th {
      padding-top: 10px;
    }

    .reference-table tr {
      display: block;
      padding-bottom: 4px;
    }
  }
  .fs-page {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px 60px;
    color: var(--ink);
  }
  /* ---------- 価格・スペックボックス ---------- */
  .fs-price-box {
    background: var(--navy);
    color: #fff;
    padding: 24px 24px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
  }

  .fs-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 14px;
    margin-bottom: 14px;
  }
  .fs-price-label {
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    color: var(--gold);
  }
  .fs-price {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
  }
  .fs-price-num {
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--price-red);
    font-family: "EB Garamond", "Times New Roman", serif;
  }
  .fs-price-unit {
    font-size: 14px;
    color: #fff;
  }

  .fs-points {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
  }
  .fs-point-badge {
    font-size: 1.3rem;
    padding: 5px 10px;
    background: rgba(180, 146, 76, 0.16);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 3px;
    white-space: nowrap;
  }

  .fs-spec-heading {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 12px;
  }
  .fs-spec-heading .fs-spec-en {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 400;
  }

  .fs-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }
  .fs-spec-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3px;
    padding: 10px 8px;
    text-align: center;
  }
  .fs-spec-card .label {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 4px;
  }
  .fs-spec-card .value {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0;
  }
  .fs-spec-card .value span {
    font-size: 11px;
    font-weight: 400;
    margin-left: 1px;
  }
  .fs-spec-card .sub {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 2px 0 0;
  }
  .fs-spec-card--type {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .fs-info-rows { display: flex; flex-direction: column; gap: 6px; }
  .fs-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
  }
  .fs-info-label {
    flex-shrink: 0;
    width: 84px;
    text-align: center;
    padding: 5px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    color: var(--gold);
    font-size: 1.3rem;
  }
  .fs-info-text { color: rgba(255, 255, 255, 0.9); 
  font-size: 1.4rem;}

  /* ---------- Floor Map ---------- */
  .fs-section-tag {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    margin-bottom: 12px;
  }

  .fs-floormap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }
  .fs-floormap-col img {
    width: 100%;
    display: block;
    border: 1px solid #e4e0d8;
    border-radius: 2px;
  }
  .fs-floormap-tag {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  /* ---------- Access ---------- */
  .fs-access { margin-bottom: 28px; }
  .fs-access-map {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #e4e0d8;
  }
  .fs-access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  /* ---------- 周辺環境 ---------- */
  .fs-surroundings { margin-bottom: 32px; }

  .fs-surroundings-wrap {
    position: relative;
  }

  .fs-surroundings-wrap::before,
  .fs-surroundings-wrap::after {
    content: "";
    position: absolute;
    top: 1px;
    bottom: 1px;
    width: 28px;
    pointer-events: none;
    z-index: 2;
  }
  .fs-surroundings-wrap::before {
    left: 1px;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
  }
  .fs-surroundings-wrap::after {
    right: 1px;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
  }

  .fs-surroundings-list {
    display: flex;
    gap: 1px;
    background: #e4e0d8;
    border: 1px solid #e4e0d8;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fs-surroundings-list::-webkit-scrollbar {
    display: none;
  }

  .fs-surround-item {
    flex: 0 0 144px;
    scroll-snap-align: start;
    background: #fff;
    padding: 14px 8px 12px;
    text-align: center;
  }

  .fs-surround-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s ease;
  }
  .fs-surround-arrow:hover { opacity: 0.85; }
  .fs-surround-arrow.prev { left: -14px; }
  .fs-surround-arrow.next { right: -14px; }
  .fs-surround-arrow[disabled] {
    opacity: 0.25;
    cursor: default;
  }
  .fs-surround-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: var(--navy-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
  }
  .fs-surround-icon svg { width: 48px; height: 48px; }
  .fs-surround-label {
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: var(--gold);
    margin: 0 0 4px;
    line-height: 1.3;
  }
  .fs-surround-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 3px;
    line-height: 1.35;
  }
  .fs-surround-dist {
    font-size: 1.3rem;
    color: var(--muted);
    margin: 0;
  }

  /* ---------- CTA ---------- */
  .fs-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .fs-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 14px 10px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 2px;
    transition: opacity 0.2s ease;
  }
  .fs-btn:hover { opacity: 0.85; }
  .fs-btn--outline {
    border: 1px solid var(--navy);
    color: var(--navy);
  }
  .fs-btn--gold {
    background: var(--gold);
    color: #fff;
  }
  .fs-btn--navy {
    background: var(--navy);
    color: #fff;
  }

  /* ---------- レスポンシブ ---------- */
  @media (max-width: 640px) {
    .fs-spec-grid { grid-template-columns: repeat(2, 1fr); }
    .fs-floormap { grid-template-columns: 1fr; }
    .fs-info-row { align-items: flex-start; }
    .fs-cta { flex-direction: column; }
    .fs-btn { flex: none; }

    /* スマホはスワイプ操作を主とし、矢印は非表示 */
    .fs-surround-arrow { display: none; }
    .fs-surround-item { flex-basis: 92px; }
  }