@charset "UTF-8";

:root {
  --bg: #f3f0ea;
  --white: #ffffff;
  --text: #132b35;
  --sub: #6f6a63;
  --line: #d8d1c7;
  --brown: #9a7b57;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: 0.06em;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.sp-only {
  display: none;
}

/* =========================
   FV
========================= */

.fv {
  position: relative;
  min-height: 86vh;
  background: url("./images/fv.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.fv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.fv__inner {
  position: relative;
  width: min(1080px, 86%);
  margin: 0 auto;
  color: #fff;
}

.fv__logo-wrap {
  display: inline-block;
  margin-bottom: 34px;
}

.fv__logo {
  width: 150px;
  padding: 0;
  background: none;
}

.fv__label {
  margin: 0 0 34px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.34em;
  color: #d9c4a5;
  font-weight: 600;
}

.fv h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.12em;
}

.fv__text {
  margin: 42px 0 0;
  font-size: 15px;
  line-height: 2.25;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* =========================
   Common
========================= */

.section {
  padding: 150px 0;
}

.section:nth-of-type(even) {
  background: var(--bg);
}

.section__inner {
  width: min(1080px, 86%);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 86%);
  text-align: center;
}

.section__label {
  margin: 0 0 30px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.34em;
  color: var(--brown);
  font-weight: 600;
}

.section h2 {
  margin: 0 0 58px;
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.1em;
}

.section p {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 2.25;
}

.section__lead {
  text-align: center;
  margin-bottom: 72px !important;
}

/* =========================
   Concept
========================= */

.concept__logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 58px;
}

.concept__logo {
  width: 230px;
}

/* =========================
   Life
========================= */

.life {
  background: var(--white);
}

.life .section__label,
.life h2 {
  text-align: center;
}

.life__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 86px;
}

.life-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.life-card h3 {
  margin: 24px 0 0;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

/* =========================
   Balance
========================= */

.balance {
  background: var(--bg);
}

.balance h2 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.75;
}

/* =========================
   Dialogue
========================= */

.dialogue {
  background: var(--white);
}

.dialogue__question {
  margin: 30px auto 70px;
  padding: 56px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.dialogue__list {
  margin: 0 0 64px;
  padding: 0;
  list-style: none;
}

.dialogue__list li {
  margin: 0 0 12px;
  color: var(--sub);
  font-size: 15px;
  line-height: 2;
}

/* =========================
   Works
========================= */

.works {
  background: var(--bg);
}

.works .section__label,
.works h2 {
  text-align: center;
}

.works__scroll {
  display: flex;
  gap: 36px;
  overflow-x: auto;
  padding: 8px 0 34px;
  scroll-snap-type: x mandatory;
}

.work-card {
  flex: 0 0 360px;
  background: var(--white);
  border: 1px solid #e5ded3;
  scroll-snap-align: start;
}

.work-card a {
  display: block;
  height: 100%;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card__body {
  padding: 32px 30px 36px;
}

.work-card h3 {
  margin: 0 0 22px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.work-card p {
  margin: 0 0 24px;
  color: var(--sub);
  font-size: 14px;
  line-height: 2.1;
}

.text-link {
  display: inline-block;
  font-size: 13px;
  color: var(--brown);
  border-bottom: 1px solid var(--brown);
  line-height: 1.7;
}

/* ==========================
   LINEUP BACK
========================== */

.lineup-back {
  background: linear-gradient(
    90deg,
    #0f2430 0%,
    #132b38 50%,
    #0f2430 100%
  );
  padding: 120px 24px;
  text-align: center;
}

.lineup-back h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 48px;
}

.lineup-back__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: .3s;
}

.lineup-back__button:hover {
  background: rgba(255,255,255,.08);
}

.sp-only {
  display: none;
}

/* =========================
   Next
========================= */

.next {
  background: var(--white);
  padding: 120px 0;
}

.next h2 {
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin-bottom: 52px;
}

.next__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 48px auto 0;
}

.next__buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  border: 1px solid var(--text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: 0.25s ease;
}

.next__buttons a:hover {
  background: var(--text);
  color: #fff;
}

/* =========================
   Footer
========================= */

.site-footer {
  padding: 110px 20px;
  background: var(--bg);
  text-align: center;
}

.site-footer__text {
  margin: 0 0 46px;
  color: var(--sub);
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.site-footer__logo {
  display: inline-block;
}

.site-footer__logo img {
  width: 260px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .fv {
    min-height: 82vh;
    background-position: 60% center;
  }

  .fv__inner {
    width: 84%;
  }

   .fv__logo-wrap{
      position:relative;
      display:inline-block;
  }

  .fv__logo {
    width: 128px;
    background:linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.25) 60%,
        rgba(255,255,255,0.55) 100%);
    padding: 10px 12px;
  }


  .fv h1 {
    font-size: 38px;
    line-height: 1.6;
  }

  .fv__text {
    font-size: 13px;
    line-height: 2.15;
  }

  .section {
    padding: 92px 0;
  }

  .section h2 {
    margin-bottom: 40px;
    font-size: 30px;
  }

  .section p {
    font-size: 14px;
  }

  .section__lead {
    margin-bottom: 48px !important;
  }

  .life__grid {
    grid-template-columns: 1fr;
    gap: 46px;
    margin-top: 54px;
  }

  .life-card img {
    aspect-ratio: 4 / 3;
  }

  .dialogue__question {
    padding: 42px 12px;
    margin-bottom: 54px;
    font-size: 26px;
  }

  .works__scroll {
    gap: 22px;
  }

  .work-card {
    flex-basis: 82%;
  }

   .lineup-back {
    padding: 80px 24px;
  }

  .lineup-back h2 {
    font-size: 1.8rem;
    line-height: 1.7;
    letter-spacing: 0.08em;
    margin-bottom: 36px;
  }

  .lineup-back__button {
    min-width: 240px;
    height: 56px;
    font-size: 13px;
  }


  .next__buttons {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 320px;
  }

  .next__buttons a {
    min-height: 54px;
  }

  .sp-only {
    display: block;
  }

  .site-footer {
    padding: 84px 20px;
  }

  .site-footer__logo img {
    width: 220px;
  }
}