/* ICHICARA — layout inspired by quickcamp.jp (airy, no boxed sections) */

:root {
  --cream: #f5f2ea;
  --cream-deep: #ebe6dc;
  --text: #141414;
  --text-soft: #3d3d3d;
  --accent: #5a4f42;
  --accent-hover: #6d6152;
  --line: rgba(20, 20, 20, 0.08);
  --watermark: rgba(20, 20, 20, 0.04);
  --max: 1180px;
  --font: "Noto Sans JP", system-ui, sans-serif;
  /* 透かし等の欧文。Futura は主に macOS 等に同梱。無い環境は Century Gothic 等へフォールバック */
  --font-en: Futura, "Futura PT", "Century Gothic", "Trebuchet MS", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

a:hover {
  color: var(--accent);
}

p {
  margin: 0 0 1.25em;
}

p:last-child {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.logo--img {
  line-height: 0;
  display: inline-flex;
  align-items: center;
}

.logo__mark {
  height: 2.35rem;
  width: auto;
  max-width: min(42vw, 11.5rem);
  display: block;
  /* SVG が白ベースのため、ヘッダー上で単色に */
  filter: brightness(0);
}

.logo span {
  font-weight: 400;
  opacity: 0.85;
  font-size: 0.75rem;
  display: block;
  letter-spacing: 0.12em;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  font: inherit;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--text);
}

.social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social a {
  opacity: 0.75;
  transition: opacity 0.2s;
}

.social a:hover {
  opacity: 1;
}

.social svg {
  width: 18px;
  height: 18px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.cta-pill:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background:
    linear-gradient(rgba(20, 18, 16, 0.5), rgba(20, 18, 16, 0.52)),
    radial-gradient(ellipse 120% 80% at 20% 40%, #6b5348 0%, transparent 55%),
    radial-gradient(ellipse 100% 70% at 80% 60%, #4a4038 0%, transparent 50%),
    linear-gradient(160deg, #2e2824 0%, #5a4f42 40%, #7a6b5c 100%);
}

.hero.hero--photo {
  background:
    linear-gradient(rgba(20, 18, 16, 0.45), rgba(20, 18, 16, 0.52)),
    url("../images/photos/ichicara-home-hero.png") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  max-width: 38rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  letter-spacing: 0.02em;
}

.hero-lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.section {
  position: relative;
  padding: clamp(4rem, 10vw, 6.5rem) 1.5rem;
}

.section-alt {
  background: var(--cream-deep);
}

.section-tight-top {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

.photo-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  margin: 0 auto 2rem;
  max-height: min(58vh, 520px);
  position: relative;
  z-index: 1;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  outline: 1px solid var(--text);
  display: block;
}

.photo-mosaic__hero {
  grid-row: 1 / -1;
  min-height: 200px;
}

.photo-mosaic--compact {
  max-height: min(40vh, 400px);
}

@media (max-width: 720px) {
  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    max-height: none;
  }

  .photo-mosaic__hero {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 10;
    max-height: 42vh;
    height: auto;
  }

  .photo-mosaic img:not(.photo-mosaic__hero) {
    aspect-ratio: 1;
    height: auto;
    min-height: 140px;
  }

  .photo-mosaic--compact .photo-mosaic__hero {
    max-height: 36vh;
  }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.watermark {
  position: absolute;
  pointer-events: none;
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 500;
  font-family: var(--font-en);
  letter-spacing: 0.02em;
  color: var(--watermark);
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

.watermark-tr {
  top: -0.25em;
  right: -5%;
  transform: rotate(-8deg);
}

.watermark-bl {
  bottom: -0.15em;
  left: -8%;
  transform: rotate(-6deg);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.split-visual--empty {
  min-height: min(42vw, 380px);
  outline: 1px solid var(--text);
  background: linear-gradient(
    145deg,
    var(--cream-deep) 0%,
    rgba(90, 79, 66, 0.1) 100%
  );
}

.split-visual::before {
  content: "";
  position: absolute;
  left: -12%;
  top: 8%;
  width: 88%;
  height: 92%;
  background: rgba(90, 79, 66, 0.08);
  z-index: -1;
}

.split-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  outline: 1px solid var(--text);
  outline-offset: 0;
}

.split-body h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.split-body .body-soft {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.lead-block {
  max-width: 40rem;
  margin: 0 auto 3.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.lead-block h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.lead-block p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.page-title {
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem 2.5rem;
  text-align: center;
  background: var(--cream-deep);
}

.page-title h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.page-title p {
  margin: 0.75rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.prose {
  max-width: 40rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.link-row a {
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}

.cards-asym {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  z-index: 1;
}

.cards-asym article {
  padding: 0;
}

.cards-asym h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.cards-asym p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.news-list li {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

@media (max-width: 560px) {
  .news-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.news-list time {
  font-size: 0.8rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.news-list a {
  font-weight: 600;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid currentColor;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table th,
.price-table td {
  padding: 1rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  width: 32%;
  font-weight: 600;
  color: var(--text);
}

.price-table td {
  color: var(--text-soft);
}

.price-offering {
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
}

.price-offering:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.price-offering h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.price-offering .price-tag {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

.gallery-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.gallery-section-title {
  margin: 2.5rem 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  scroll-margin-top: 5rem;
}

.gallery-caption-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.gallery-caption-list li {
  margin: 0 0 0.4rem;
  padding-left: 0.9rem;
  position: relative;
}

.gallery-caption-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

@media (min-width: 720px) {
  .gallery-caption-list {
    column-count: 2;
    column-gap: 2rem;
  }

  .gallery-caption-list li {
    break-inside: avoid;
  }
}

.faq-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.gallery-grid li {
  margin: 0;
  padding: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  outline: 1px solid var(--text);
}

.gallery-ph {
  aspect-ratio: 1;
  background: linear-gradient(
    145deg,
    var(--cream-deep) 0%,
    rgba(90, 79, 66, 0.12) 100%
  );
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 1.25rem 0 0.4rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  max-width: 32rem;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: inherit;
  color: var(--text);
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form .actions {
  margin-top: 2rem;
}

.contact-form button.cta-pill {
  border: 0;
  cursor: pointer;
}

.meta-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text-soft);
}

.meta-block strong {
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  margin-top: 0;
  padding: 3.5rem 1.5rem 2rem;
  background: var(--cream-deep);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  align-items: start;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.footer-address {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.copyright {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--text-soft);
  text-align: center;
}

.sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap li {
  margin: 0.75rem 0;
}

.sitemap a {
  font-weight: 600;
}

.notice {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-visual::before {
    left: -6%;
  }

  .cards-asym {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-wrap {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 1rem;
    gap: 0.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .social {
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .logo__mark {
    height: 2rem;
    max-width: 36vw;
  }
}
