/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: #333;
  background: #fff;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Shared ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.accent-line {
  width: calc(100% - 80px);
  max-width: 1100px;
  height: 2.5px;
  background: #9B4E20;
  margin: 0 auto;
}

.section-title {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.section-title-line {
  width: 320px;
  max-width: 100%;
  height: 2.5px;
  background: #9B4E20;
  margin: 10px 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-inner .nav {
  margin-left: auto;
}

.header-inner .lang-switcher {
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: baseline;
}

.logo-mark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #333;
  letter-spacing: -0.02em;
}

.logo-cast {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.6rem;
  color: #333;
  letter-spacing: 0.05em;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #333;
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #333;
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* ===== Hero ===== */
.hero {
  padding: 130px 0 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 40px;
}

.hero-content {
  flex: 1;
  padding: 50px 0;
}

.hero-img-wrap {
  flex: 1;
  max-width: 480px;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.hero-title {
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: 0.18em;
  margin-bottom: 40px;
}

.hero-desc {
  font-size: 0.92rem;
  line-height: 2;
  color: #444;
  margin-bottom: 12px;
}

/* ===== News ===== */
.section-news {
  padding: 50px 0 50px;
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  gap: 28px;
  padding: 16px 8px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.88rem;
  color: #555;
}

.news-item time {
  color: #888;
  white-space: nowrap;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ===== Services ===== */
.section-service {
  padding: 0 0 60px;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 50px 0;
}

.service-heading {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3px solid #e0e0e0;
  background: #f5f5f5;
  padding: 12px 16px;
}

.service-text p {
  font-size: 0.88rem;
  color: #444;
  line-height: 2;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: #9B4E20;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 8px;
}

.btn-primary:hover {
  background: #7d3d18;
  transform: translateY(-1px);
}

.service-visual {
  display: flex;
  justify-content: center;
}

.img-carousel {
  width: 100%;
  max-width: 480px;
}

.carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  background: #f0ece6;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.img-placeholder {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #e8e0d8;
}

.img-placeholder svg {
  width: 100%;
  display: block;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #666;
}

/* Sub services */
.sub-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  align-items: stretch;
}

.sub-service-card {
  background: #f8f8f8;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sub-service-heading {
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  background: #eee;
  border-left: 3px solid #ddd;
}

.sub-service-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.9;
  padding: 20px;
  flex: 1;
}

.sub-service-img {
  width: 100%;
  flex-shrink: 0;
}

.sub-service-img svg,
.sub-service-img img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ===== Works ===== */
.section-works {
  padding: 30px 0 60px;
}

.works-banner {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 16px;
  background: #f5f5f5;
  margin-bottom: 40px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.work-card {
  text-align: center;
}

.work-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-circle svg,
.work-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.work-circle.coming-soon {
  background: #222;
  color: #fff;
}

.work-circle.coming-soon span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: center;
}

.work-text {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.8;
}

/* ===== How to Use ===== */
.section-howto {
  padding: 30px 0 60px;
}

.howto-banner {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-align: center;
  padding: 16px;
  background: #f5f5f5;
  margin-bottom: 40px;
}

.howto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.howto-left p,
.howto-right p {
  font-size: 0.88rem;
  color: #444;
  line-height: 2;
  margin-bottom: 20px;
}

.howto-address {
  font-weight: 500;
  font-size: 0.92rem !important;
  color: #333 !important;
}

.line-qr {
  margin-top: 24px;
}

.qr-placeholder {
  width: 160px;
  margin-bottom: 12px;
}

.qr-placeholder svg {
  width: 100%;
  display: block;
}

.qr-desc {
  font-size: 0.82rem !important;
  color: #666 !important;
}

.howto-note {
  font-size: 0.82rem !important;
  color: #666 !important;
  margin-top: 16px;
}

/* ===== Map ===== */
.section-map {
  padding: 0;
}

.map-embed {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  line-height: 0;
}

.map-embed iframe {
  border-radius: 4px;
}

@media (max-width: 860px) {
  .map-embed {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .map-embed {
    padding: 0;
    border-radius: 0;
  }
  .map-embed iframe {
    border-radius: 0;
  }
}

.map-info {
  background: #f8f8f8;
  padding: 20px 0;
  border-top: 1px solid #e8e8e8;
}

.map-info-inner {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.map-info-item {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.88rem;
  color: #444;
}

.map-info-label {
  font-weight: 500;
  color: #9B4E20;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.map-info-item a {
  color: #9B4E20;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 600px) {
  .map-info-inner {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== Footer ===== */
.footer {
  padding: 0 0 40px;
}

.footer-inner {
  text-align: center;
  padding-top: 30px;
}

.btn-footer {
  display: inline-block;
  padding: 14px 40px;
  background: #9B4E20;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: background 0.3s;
  margin-bottom: 40px;
}

.btn-footer:hover {
  background: #7d3d18;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  font-size: 0.72rem;
  color: #aaa;
  letter-spacing: 0.05em;
}

/* ===== Scroll Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 50;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: rgba(0,0,0,0.6);
  transform: translateY(-3px);
}

/* ===== Fade In ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .container {
    padding: 0 24px;
  }

  .accent-line {
    width: calc(100% - 48px);
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sub-services {
    grid-template-columns: 1fr;
  }

  .howto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px 40px;
    gap: 16px;
    border-bottom: 1px solid #eee;
  }

  .nav.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-inner {
    flex-direction: column;
    padding: 0 20px;
  }

  .hero-img-wrap {
    max-width: 100%;
    width: 100%;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .header-inner {
    padding: 0 20px;
  }
}
