:root {
  --bg: #fcfaf6;
  --bg-alt: #f5f2ec;
  --ink: #1c2422;
  --ink-soft: #4a5350;
  --green: #123b36;
  --orange: #e0913f;
  --line: #cfc9bd;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gutter: clamp(20px, 4.5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { padding-inline: var(--gutter); max-width: 1200px; margin-inline: auto; }

/* eyebrow label */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; color: var(--ink);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--ink); }

/* header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; max-width: none;
}
.logo img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.nav a:hover { opacity: .6; }
.btn-outline {
  border: 1px solid var(--green); border-radius: 999px;
  padding: 9px 26px; transition: background .25s, color .25s;
}
.nav a.btn-outline:hover { background: var(--green); color: #fff; opacity: 1; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px;
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art .swirl {
  position: absolute; right: 0; top: 50px; width: 38.9%; max-width: 560px; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 25%);
          mask-image: linear-gradient(to right, transparent, #000 25%);
}
.hero-art .dots {
  position: absolute; left: 44.3%; top: 55px; width: 30%; max-width: 440px; height: auto;
  mix-blend-mode: multiply;
}
.hero .wrap { position: relative; max-width: none; }
.hero h1 {
  margin: 0 0 40px;
  font-weight: 500; font-size: clamp(38px, 6.4vw, 62px);
  line-height: 1.38; letter-spacing: .02em;
}
.hero h1 .em {
  position: relative; display: inline-block; color: var(--orange);
  padding-bottom: 6px;
}
.hero h1 .em::after {
  content: ""; position: absolute; left: -4px; right: -14px; bottom: 0; height: 9px;
  border-bottom: 2px solid var(--orange); border-radius: 0 0 60% 8% / 0 0 100% 40%;
}
.hero .lead { margin: 0 0 44px; font-size: clamp(14px, 1.6vw, 16px); line-height: 2; color: var(--ink-soft); max-width: 640px; }
.btn-fill {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--green); color: #fff; border-radius: 999px;
  padding: 16px 38px; font-family: var(--sans); font-size: 13px; letter-spacing: .12em;
  transition: transform .25s, opacity .25s;
}
.btn-fill:hover { transform: translateY(-2px); opacity: .9; }

/* sections */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section h2 {
  margin: 0 0 clamp(32px, 5vw, 48px);
  font-weight: 500; font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.5; letter-spacing: .08em;
}
.philosophy .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.philosophy .cols p {
  margin: 0; font-size: 15px; line-height: 2.1; letter-spacing: .08em; color: var(--ink-soft);
}
.philosophy .cols p + p { padding-left: 40px; border-left: 1px solid var(--line); }
.philosophy .cols p:first-child { padding-right: 40px; }

.service { background: var(--bg-alt); }
.service-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.shot { border-radius: 8px; overflow: hidden; box-shadow: 0 14px 40px rgba(30, 40, 38, .22); }
.shot img { width: 100%; height: auto; }
.service-text .bar { display: block; width: 34px; height: 1px; background: var(--ink); margin-bottom: 26px; }
.service-text h3 { margin: 0 0 12px; font-weight: 400; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: .08em; }
.service-text .sub { margin: 0 0 28px; font-size: 18px; color: var(--ink-soft); letter-spacing: .06em; }
.service-text .desc { margin: 0 0 32px; font-size: 14px; line-height: 2.1; letter-spacing: .06em; color: var(--ink-soft); }
.text-link {
  display: inline-block; padding-bottom: 6px; border-bottom: 1px solid var(--green);
  color: var(--green); font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .1em;
}
.text-link:hover { opacity: .65; }

/* cta */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, #0e332e 0%, #164840 55%, #0f3a34 100%);
  padding: 52px 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/cta-bg.png") center / cover no-repeat;
  opacity: .55; mix-blend-mode: screen;
}
.cta .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { margin: 0 0 14px; font-weight: 400; font-size: clamp(24px, 3.6vw, 34px); letter-spacing: .12em; }
.cta p { margin: 0; font-size: 13px; line-height: 2; letter-spacing: .1em; opacity: .8; }
.cta .btn-outline { border-color: rgba(255, 255, 255, .85); font-family: var(--sans); font-size: 13px; letter-spacing: .12em; padding: 15px 40px; white-space: nowrap; }
.cta .btn-outline:hover { background: #fff; color: var(--green); }

/* footer */
.site-footer { text-align: center; padding: 20px 0 26px; font-size: 15px; letter-spacing: .06em; }
.site-footer small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .1em; color: var(--ink-soft); margin-top: 4px; }

/* tablet / mobile */
@media (max-width: 860px) {
  .hero { padding: 120px 0 56px; }
  .hero-art .swirl { width: 62%; top: auto; bottom: 0; opacity: .75; }
  .hero-art .dots { left: 38%; top: 70px; width: 58%; opacity: .7; }
  .hero .wrap { padding-bottom: 150px; }
  .philosophy .cols, .service-body { grid-template-columns: 1fr; }
  .philosophy .cols p:first-child { padding-right: 0; }
  .philosophy .cols p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .site-header .wrap { height: 64px; }
  .logo img { height: 26px; }
  .btn-outline { padding: 8px 18px; }
  .hero .lead br, .philosophy br { display: none; }
  .btn-fill { padding: 14px 30px; }
}

/* about page */
.page-head { position: relative; overflow: hidden; padding: 150px 0 56px; }
.page-head .wrap { max-width: none; position: relative; }
.page-head h1 { margin: 0; font-weight: 500; font-size: clamp(32px, 5vw, 48px); line-height: 1.4; letter-spacing: .08em; }
.page-head::after {
  content: ""; position: absolute; right: -60px; top: 40px; width: min(46vw, 520px); aspect-ratio: 1;
  background: url("../images/hero-swirl.png") right center / contain no-repeat; opacity: .5; pointer-events: none;
}
.about .wrap { max-width: 900px; }
.about dl { margin: 0; border-top: 1px solid var(--line); }
.about .row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.about dt { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.about dd { margin: 0; font-size: 15px; line-height: 2.1; letter-spacing: .06em; color: var(--ink-soft); }
.about dd p { margin: 0 0 10px; }
.about dd p:last-child { margin: 0; }
.about dd a { border-bottom: 1px solid currentColor; word-break: break-all; }
@media (max-width: 860px) {
  .page-head { padding: 110px 0 36px; }
  .about .row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
}
.about .email-img { display: block; max-width: 100%; height: auto; margin-block: 4px; }

/* hamburger menu */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-toggle {
    display: block; position: relative; z-index: 30;
    width: 44px; height: 44px; margin-right: -10px; padding: 0;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span {
    position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ink);
    transition: transform .3s, opacity .2s, top .3s;
  }
  .nav-toggle span:nth-child(1) { top: 15px; }
  .nav-toggle span:nth-child(2) { top: 21px; }
  .nav-toggle span:nth-child(3) { top: 27px; }
  .is-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .is-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  .site-header .logo { position: relative; z-index: 30; }
  .nav {
    position: fixed; inset: 0; z-index: 20;
    flex-direction: column; justify-content: center; gap: 8px;
    background: var(--bg);
    font-size: 16px; letter-spacing: .14em;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .is-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn-outline) { padding: 14px 20px; }
  .nav a.btn-outline { margin-top: 20px; padding: 14px 44px; }
  body.menu-open { overflow: hidden; }
}
