* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif; color: #333; background: #fff; }
a { color: inherit; }
header { text-align: center; padding: 28px 16px 10px; }
.site-name { font-size: 26px; letter-spacing: 2px; font-weight: 300; }
.site-name a { text-decoration: none; }
nav { margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
nav a { text-decoration: none; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #555; }
nav a:hover { color: #000; }
main { max-width: 1200px; margin: 0 auto; padding: 20px 16px 40px; }
.carousel-wrap { position: relative; margin: -20px -16px 24px; }
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; scroll-snap-align: start; }
.carousel .slide img { width: 100%; height: 78vh; object-fit: cover; display: block; cursor: pointer; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.22); color: #fff; border: 0; font-size: 34px; line-height: 1; padding: 10px 15px; cursor: pointer; z-index: 3; }
.car-btn.prev { left: 10px; }
.car-btn.next { right: 10px; }
.car-count { position: absolute; right: 14px; bottom: 10px; color: #fff; font-size: 13px; letter-spacing: 1px; text-shadow: 0 1px 6px rgba(0,0,0,.6); z-index: 3; }
.hero-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); pointer-events: none; z-index: 2; }
.hero-text h1 { font-size: clamp(30px, 6vw, 56px); font-weight: 300; letter-spacing: 4px; }
.hero-text p { margin-top: 8px; font-size: clamp(14px, 2.4vw, 20px); letter-spacing: 2px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.card { position: relative; display: block; overflow: hidden; }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .4s; }
.card:hover img { transform: scale(1.04); }
.card span { position: absolute; inset: auto 0 0 0; padding: 10px; color: #fff; font-size: 18px; letter-spacing: 1.5px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.page-title { text-align: center; font-weight: 300; letter-spacing: 3px; font-size: 28px; margin: 6px 0 22px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid figure { overflow: hidden; }
.grid img { width: 100%; height: 260px; object-fit: cover; display: block; cursor: pointer; }
.grid figcaption { padding: 6px 2px; font-size: 13px; color: #666; }
.text-page { max-width: 720px; margin: 0 auto; line-height: 1.9; }
.text-page p { margin-bottom: 14px; }
.button { display: inline-block; border: 1px solid #333; padding: 8px 26px; text-decoration: none; letter-spacing: 1px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.contact-form input, .contact-form textarea { padding: 10px; border: 1px solid #bbb; font: inherit; }
.contact-form button { align-self: flex-start; padding: 10px 34px; background: #333; color: #fff; border: 0; cursor: pointer; letter-spacing: 1px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.error { color: #b00020; }
footer { border-top: 1px solid #e5e5e5; padding: 22px 16px 30px; text-align: center; color: #777; font-size: 12px; line-height: 1.7; }
.social { display: flex; justify-content: center; gap: 14px; margin-bottom: 14px; }
.social a { width: 38px; height: 38px; border: 1px solid #ccc; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #555; text-decoration: none; }
.social a:hover { color: #000; border-color: #999; }
.social svg { width: 18px; height: 18px; }
.social .at-mark { font-size: 19px; font-weight: 600; line-height: 1; }
#lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; z-index: 50; }
#lightbox[hidden] { display: none; }
#lightbox img { max-width: 92vw; max-height: 88vh; }
#lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
#lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; padding: 10px 16px; }
#lb-close { top: 8px; right: 12px; }
#lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
#lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
@media (max-width: 800px) {
  .cards, .grid { grid-template-columns: repeat(2, 1fr); }
  .grid img { height: 180px; }
  .card img { height: 150px; }
}
@media (max-width: 480px) {
  .cards, .grid { grid-template-columns: 1fr; }
  .grid img { height: auto; }
}
