/* =============================================
   COTTAGE PAGE
   ============================================= */

/* Design tokens */
:root {
  --cot-green:   #3a6b35;
  --cot-wood:    #7a5230;
  --cot-dark:    #2c2c28;
  --cot-bg:      #faf8f2;
  --cot-border:  #e8e3d8;
  --cot-label:   #8aaf84;
}

.cottage-main { background: var(--cot-bg); }

/* Shared section labels */
.cottage-sec__label {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--cot-label);
  font-weight: 700;
  margin-bottom: 8px;
}
.cottage-sec__h2 {
  margin: 0 0 36px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--cot-dark);
  line-height: 1.4;
}

/* ------------------------------------------
   HERO
   ------------------------------------------ */
.cottage-hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cottage-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.18) 0%, rgba(0,0,0,.32) 100%);
}
.cottage-hero__body {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.cottage-hero__label {
  font-size: 12px;
  letter-spacing: 5px;
  font-weight: 700;
  opacity: .8;
  margin: 0 0 10px;
}
.cottage-hero__h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 6vw, 58px);
  margin: 0 0 12px;
  letter-spacing: .04em;
}
.cottage-hero__sub {
  font-size: clamp(13px, 2vw, 16px);
  opacity: .9;
  margin: 0;
  letter-spacing: .05em;
}

/* ------------------------------------------
   CONCEPT
   ------------------------------------------ */
.cottage-concept {
  padding: 80px 40px;
  background: #fff;
}
.cottage-concept__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cottage-concept__body {
  font-size: 15px;
  line-height: 1.9;
  color: #4a4a42;
  margin: 0 0 32px;
}
.cottage-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--cot-green);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 4px;
  transition: background .2s;
}
.cottage-btn:hover { background: #2e5529; }
.cottage-concept__photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
}

/* ------------------------------------------
   TYPES
   ------------------------------------------ */
.cottage-types {
  padding: 80px 40px;
  background: var(--cot-bg);
}
.cottage-types__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cottage-types__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.cottage-type-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cottage-type-card__photo {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.cottage-type-card__body {
  padding: 28px 28px 32px;
}
.cottage-type-card__badge {
  display: inline-block;
  background: var(--cot-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.cottage-type-card__h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--cot-dark);
  margin: 0 0 4px;
}
.cottage-type-card__count {
  font-size: 13px;
  color: #8a8a80;
  margin: 0 0 12px;
}
.cottage-type-card__price {
  font-size: 28px;
  font-weight: 900;
  color: var(--cot-wood);
  margin: 0 0 16px;
  line-height: 1;
}
.cottage-type-card__price span {
  font-size: 14px;
  font-weight: 400;
  color: #6a6a62;
}
.cottage-type-card__specs {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--cot-border);
  padding-top: 14px;
}
.cottage-type-card__specs li {
  font-size: 13px;
  color: #5a5a52;
  padding: 4px 0 4px 14px;
  position: relative;
  line-height: 1.5;
}
.cottage-type-card__specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cot-green);
}
.cottage-types__note {
  margin: 28px 0 0;
  font-size: 12px;
  color: #9a9a92;
}

/* ------------------------------------------
   GALLERY
   ------------------------------------------ */
.cottage-gallery {
  padding: 80px 40px;
  background: #fff;
}
.cottage-gallery__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cottage-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 10px;
}
.cottage-gallery__item {
  overflow: hidden;
  border-radius: 6px;
  margin: 0;
  position: relative;
}
.cottage-gallery__item--wide {
  grid-column: span 2;
  grid-row: span 2;
}
.cottage-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.cottage-gallery__item:hover img { transform: scale(1.04); }
.cottage-gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
}

/* ------------------------------------------
   FACILITIES
   ------------------------------------------ */
.cottage-facilities {
  padding: 80px 40px;
  background: var(--cot-bg);
}
.cottage-facilities__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cottage-facilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cottage-fac-block {
  background: #fff;
  border-radius: 8px;
  padding: 28px 28px 32px;
  border-top: 3px solid var(--cot-green);
}
.cottage-fac-block__h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--cot-green);
  margin: 0 0 16px;
}
.cottage-fac-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cottage-fac-list li {
  font-size: 14px;
  color: #4a4a42;
  padding: 7px 0 7px 16px;
  border-bottom: 1px solid var(--cot-border);
  position: relative;
  line-height: 1.5;
}
.cottage-fac-list li:last-child { border-bottom: none; }
.cottage-fac-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cot-label);
}

/* ------------------------------------------
   RENTAL & NOTICE
   ------------------------------------------ */
.cottage-rental {
  padding: 72px 40px;
  background: #fff;
}
.cottage-rental__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.cottage-rental__h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--cot-dark);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--cot-wood);
}
.cottage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #4a4a42;
}
.cottage-table tr { border-bottom: 1px solid var(--cot-border); }
.cottage-table tr:last-child { border-bottom: none; }
.cottage-table td {
  padding: 9px 6px;
  line-height: 1.5;
}
.cottage-table td:last-child {
  text-align: right;
  color: var(--cot-wood);
  font-weight: 700;
  white-space: nowrap;
}
.cottage-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cottage-notice-list li {
  font-size: 13px;
  color: #5a5a52;
  padding: 7px 0 7px 20px;
  border-bottom: 1px solid var(--cot-border);
  position: relative;
  line-height: 1.5;
}
.cottage-notice-list li:last-child { border-bottom: none; }
.cottage-notice-list li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8b84b;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  line-height: 16px;
}

/* ------------------------------------------
   RESERVE CTA
   ------------------------------------------ */
.cottage-reserve {
  position: relative;
  padding: 100px 40px;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.cottage-reserve__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 50, 28, .52);
}
.cottage-reserve__body {
  position: relative;
  z-index: 1;
  color: #fff;
}
.cottage-reserve__label {
  font-size: 11px;
  letter-spacing: 5px;
  font-weight: 700;
  opacity: .7;
  margin: 0 0 10px;
}
.cottage-reserve__h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  margin: 0 0 16px;
}
.cottage-reserve__text {
  font-size: 15px;
  line-height: 1.8;
  opacity: .88;
  margin: 0 0 36px;
}
.cottage-reserve__btns {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cottage-btn-web {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--cot-green);
  color: #fff;
  text-decoration: none;
  padding: 20px 48px;
  border-radius: 8px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  transition: background .2s;
}
.cottage-btn-web:hover { background: #2e5529; }
.cottage-btn-web__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
}
.cottage-btn-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 8px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  gap: 2px;
  transition: background .2s;
}
.cottage-btn-tel:hover { background: rgba(255,255,255,.18); }
.cottage-btn-tel__small { font-size: 11px; letter-spacing: 1px; opacity: .8; }
.cottage-btn-tel__num { font-weight: 900; font-size: 24px; letter-spacing: 2px; }
.cottage-btn-tel__hours { font-size: 11px; opacity: .65; }

/* ------------------------------------------
   FLOOR PLAN
   ------------------------------------------ */
.cottage-floorplan {
  padding: 80px 40px;
  background: #f8faf6;
}
.cottage-floorplan__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.cottage-floorplan__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.cottage-floorplan__card {
  background: #fff;
  border: 1px solid #dde8d8;
  border-radius: 12px;
  overflow: hidden;
}
.cottage-floorplan__label {
  background: #2f5d34;
  color: #fff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 10px 20px;
  text-align: center;
}
.cottage-floorplan__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------
   RESPONSIVE
   ------------------------------------------ */
@media (max-width: 900px) {
  .cottage-concept__inner,
  .cottage-types__grid,
  .cottage-floorplan__grid,
  .cottage-facilities__grid,
  .cottage-rental__inner {
    grid-template-columns: 1fr;
  }
  .cottage-floorplan { padding-left: 20px; padding-right: 20px; }
  .cottage-gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .cottage-gallery__item--wide {
    grid-column: span 2;
    grid-row: span 1;
    height: 240px;
  }
  .cottage-gallery__item { height: 180px; }
  .cottage-concept,
  .cottage-types,
  .cottage-gallery,
  .cottage-facilities,
  .cottage-rental {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .cottage-hero { height: 55vh; }
  .cottage-gallery__grid {
    grid-template-columns: 1fr;
  }
  .cottage-gallery__item--wide { grid-column: span 1; }
  .cottage-gallery__item { height: 200px; }
}

/* ------------------------------------------
   ヴィラ誘導ポップアップ
   ------------------------------------------ */
.villa-popup {
  position: fixed;
  right: -320px;
  bottom: 40px;
  width: 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.22);
  z-index: 300;
  overflow: hidden;
  transition: right .45s cubic-bezier(.22,.68,0,1.2);
}
.villa-popup.is-visible {
  right: 20px;
}
.villa-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
  transition: background .15s;
}
.villa-popup__close:hover { background: rgba(0,0,0,.55); }
.villa-popup__img { width: 100%; height: 150px; overflow: hidden; }
.villa-popup__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.villa-popup__body { padding: 16px 18px 20px; background: #faf7f0; }
.villa-popup__eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 700;
  color: #c9943a;
  margin: 0 0 6px;
}
.villa-popup__title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #2a2a24;
  margin: 0 0 8px;
  line-height: 1.5;
}
.villa-popup__desc {
  font-size: 12px;
  color: #5a5a52;
  line-height: 1.7;
  margin: 0 0 14px;
}
.villa-popup__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2f5d34;
  color: #fff;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 7px;
  transition: background .15s;
}
.villa-popup__btn:hover { background: #1e3820; }
@media (max-width: 600px) {
  .villa-popup { width: 240px; }
  .villa-popup.is-visible { right: 12px; bottom: 24px; }
}
