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

html, body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  font-weight: 200;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Noto Serif JP', serif;
}

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

.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.c-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #2f4f46;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.c-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.sp__only {
  display: none;
}

/* =========================
   Header
========================= */
.header {
  background-color: #FAF9F7;
  border-bottom: 1px solid #2D4A3E;
  position: fixed;
  top: 0;
  left: 0;   /* ← 追加 */
  right: 0;  
  z-index: 1000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* =========================
   Logo
========================= */
.header__logo a {
  text-decoration: none;
  color: #000;
  display: inline-block;
}

.header__logo img {
  max-width: 120px;
  display: block;
}

.header__logo-main {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  border: 1px solid #000;
  padding: 6px 10px;
  width: fit-content;
}

.header__logo-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* =========================
   Nav
========================= */
.header__nav {
  flex: 1;
  margin-left: 60px;
}

.header__menu {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.header__menu li {
  list-style: none;
}
.header__item a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* =========================
   CTA
========================= */
.header__btn {
  background-color: #2f4f46;
  font-size: 14px;
}

/* =========================
   Hamburger
========================= */
.header__hamburger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
}

.header__hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #2f4f46;
  left: 0;
  transition: 0.3s;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 9px; }
.header__hamburger span:nth-child(3) { bottom: 0; }

/* =========================
   FV
========================= */
.fv {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

/* 背景画像レイヤー */
.fv::before {
  content: "";
  position: absolute;
  inset: 0;

 background:
    linear-gradient(
      to bottom,
      rgba(245, 245, 243, 0) 0%,   /* 上：透明 */
      rgba(122, 122, 122, 0.6) 100% /* 下：薄グレー */
    ),
    url("../img/fv_bg.jpg.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;

  z-index: 0;
}

/* 内側 */
.fv__inner {
  position: relative;
  padding: 120px 0 140px;
}

/* =========================
   Content
========================= */
.fv__content {
  max-width: 700px;
  margin: 0 auto;
}

/* タイトル */
.fv__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 63px;
  font-weight: 100;
  line-height: 1.6;
  color: #2f4f46;
  margin-bottom: 32px;
}

/* テキスト */
.fv__text {
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin-bottom: 40px;
}

/* =========================
   Buttons
========================= */
.fv__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.fv__btn {
  display: inline-block;
  padding: 14px 32px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

/* 塗り */
.fv__btn--primary {
  background: #2f4f46;
  color: #fff;
}

/* 枠 */
.fv__btn--outline {
  border: 1px solid #2f4f46;
  color: #2f4f46;
}

/* hover */
.fv__btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* =========================
   縦テキスト
========================= */
.fv__vertical {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 73px;
  font-weight: 100;
  font-family: 'Noto Sans', sans-serif;
  color: rgba(0,0,0,0.05);
  letter-spacing: 4px;
  height: 100%;
}

/* =========================
   Vision
========================= */
.vision {
  background: #FAF9F7;
  padding: 120px 0;
}

.vision__inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* =========================
   左テキスト
========================= */
.vision__content {
  flex: 1;
  max-width: 520px;
}

.vision__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6c8b7b;
  margin-bottom: 16px;
}

.vision__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 100;
  line-height: 1.4;
  color: #2f4f46;
  margin-bottom: 60px;
}

.vision__text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* =========================
   枠ボックス
========================= */
.vision__box {
  border: 1px solid #333;
  padding: 20px;
  margin: 32px 0;
  background: #f9f9f7;
}

.vision__box p {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 10px;
}

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

/* =========================
   右画像
========================= */
.vision__images {
  flex: 1;
}

.vision__image {
  margin-bottom: 24px;
}

.vision__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Pain
========================= */
.pain {
  background: #F8F6F2;
  padding: 120px 0;
  text-align: center;
}

/* =========================
   Header
========================= */
.pain__line {
  display: block;
  width: 1px;
  height: 40px;
  background: #2f4f46;
  margin: 0 auto 16px;
}

.pain__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6c8b7b;
  margin-bottom: 16px;
}

.pain__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 100;
  color: #2f4f46;
  margin-bottom: 60px;
}

/* =========================
   Grid
========================= */
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* =========================
   Card
========================= */
.pain__card {
  border: 1px solid #ddd;
  padding: 32px 20px;
  background: #fff;
  text-align: center;
}

.pain__icon {
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.pain__number {
  font-size: 30px;
  color: #e1e1e1;
  opacity: 0.7;
  margin-bottom: 10px;
}

.pain__text {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* =========================
   Highlight
========================= */
.pain__card--highlight {
  background: #dfe7e3;
  border: 1px solid #2f4f46;
}

.pain__card--highlight img {
  width: 55px;
  height: 55px;
  margin: 20px auto;
}

.pain__check {
  font-size: 28px;
  color: #2f4f46;
  margin-bottom: 12px;
}

/* =========================
   Service
========================= */
.service {
  background: #FAF9F7;
  padding: 120px 0;
  text-align: center;
}

/* =========================
   Header
========================= */
.service__line {
  display: block;
  width: 1px;
  height: 40px;
  background: #2f4f46;
  margin: 0 auto 16px;
}

.service__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6c8b7b;
  margin-bottom: 16px;
}

.service__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 100;
  color: #2f4f46;
  margin-bottom: 60px;
}

/* =========================
   Grid
========================= */
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* =========================
   Card
========================= */
.service__card {
  background: #fff;
  padding: 60px 40px;
  text-align: left;
  box-shadow: 0 8px 16px rgba(0,0,0,0.03);
}

.service__card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 200;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
}

.service__text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
}

/* =========================
   Values
========================= */
.values {
  background: #FAF9F7;
  padding: 80px 0 120px;
  text-align: center;
}

.values__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 16px;
}

.values__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 100;
  color: #2f4f46;
  margin-bottom: 60px;
}

.values__list {
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

.values__list {
  list-style: none;
}

.values__item {
  position: relative;
  font-size: 22px;
  color: #555;
  line-height: 2.2;
  padding-left: 32px;
}

/* チェック */
.values__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2f4f46;
  font-size: 20px;
}

/* =========================
   Works（Carousel Ver）
========================= */
.works {
  background: #F8F6F2;
  padding: 120px 0;
  text-align: center;
}

/* =========================
   Header
========================= */
.works__line {
  display: block;
  width: 1px;
  height: 40px;
  background: #2f4f46;
  margin: 0 auto 16px;
}

.works__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6c8b7b;
  margin-bottom: 16px;
}

.works__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 100;
  color: #2f4f46;
  margin-bottom: 60px;
}

/* =========================
   Gallery Frame
========================= */
.works__gallery {
  position: relative;
  border: 1px solid #999;
  padding: 100px 40px 80px;
  margin-bottom: 80px;
}

/* GALLERYテキスト */
.works__gallery-title {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f5f5f3;
  padding: 0 24px;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 4px;
  font-size: 22px;
}

/* =========================
   Carousel
========================= */
.works__carousel {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.works__slide {
  position: absolute;
  top: 0;
  left: 50%;
  /* transform: translateX(-50%) scale(0.8); */
  opacity: 0.4;
  transition: 0.6s;
  z-index: 1;
}

/* 中央 */
.works__slide.is-center {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
}

/* 左 */
.works__slide.is-left {
  transform: translateX(-140%) scale(0.85);
  opacity: 0.6;
  z-index: 2;
}

/* 右 */
.works__slide.is-right {
  transform: translateX(40%) scale(0.85);
  opacity: 0.6;
  z-index: 2;
}

.works__slide img {
  width: 100%;
  max-width: 90%;
  height: auto;
  display: block;
}

/* =========================
   Dots
========================= */
.works__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 80px 0 0;
}

.works__dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
  transition: 0.3s;
}

.works__dot.is-active {
  background: #2f4f46;
}

/* =========================
   Button
========================= */
.works__cta {
  text-align: center;
  position: absolute;
  bottom: -24px; /* ←ここで枠線にまたがる */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0 24px;
  background: #f5f5f3;
}

.works__btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid #2f4f46;
  text-decoration: none;
  color: #2f4f46;
  font-size: 14px;
  transition: 0.3s;

  background: #f5f5f3; /* ←これが重要 */
}

.works__btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* =========================
   Portfolio Text
========================= */
.works__content {
  max-width: 800px;
  margin: 0 auto;
}

.works__sub {
  font-size: 14px;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 2px;
  color: #6c8b7b;
  margin-bottom: 60px;
}

.works__text {
  font-size: 16px;
  font-family: 'noto serif jp', serif;
  line-height: 2;
  color: #555;
  margin-bottom: 60px;
}

.works__tags {
  font-size: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.works__tags p {
    border: #2f4f46 1px solid;
    padding: 10px 20px;
}

.works__note {
  font-size: 12px;
  color: #777;
}

/* =========================
   Price
========================= */
.price {
  background: #f5f5f3;
  padding: 120px 0;
  text-align: center;
}

/* =========================
   Header
========================= */
.price__line {
  display: block;
  width: 1px;
  height: 40px;
  background: #2f4f46;
  margin: 0 auto 16px;
}

.price__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6c8b7b;
  margin-bottom: 16px;
}

.price__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 100;
  color: #2f4f46;
  margin-bottom: 40px;
}

/* =========================
   Intro
========================= */
.price__intro {
  max-width: 700px;
  margin: 0 auto 80px;
  font-family: 'noto serif jp', serif;
  font-size: 16px;
}

.price__intro p {
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin-bottom: 20px;
}

/* =========================
   Grid
========================= */
.price__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* =========================
   Card
========================= */
.price__card {
  text-align: center;
  padding: 20px;
  position: relative;
}

/* 縦線（区切り） */
.price__card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  width: 1px;
  height: 100%;
  background: #ddd;
}

/* =========================
   Text
========================= */
.price__plan {
  font-family: 'Noto Serif JP', serif;
  font-weight: 200;
  font-size: 24px;
  margin-bottom: 15px;
}

.price__lead {
  font-size: 16px;
  font-family: 'noto serif jp', serif;
  color: #777;
  margin-bottom: 50px;
}

.price__list {
  font-size: 14px;
  line-height: 2;
  color: #444;
  margin: 30px auto 50px;
  text-align: left;
  max-width: 100%;
}

.price__list li {
  list-style: none;
}

.price__note {
  font-size: 12px;
  color: #777;
}

/* =========================
   Price
========================= */
.price__old {
  display: block;
  font-size: 16px;
  font-family: 'noto serif jp', serif;
  letter-spacing: 2px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 5px;
}

.price__new {
  font-size: 24px;
  font-family: 'noto serif jp', serif;
  letter-spacing: 2px;
}

/* =========================
   Profile
========================= */
.profile {
  background: #F8F6F2;
  padding: 120px 0;
}

/* =========================
   Header
========================= */
.profile__header {
  text-align: center;
  margin-bottom: 80px;
}

.profile__line {
  display: block;
  width: 1px;
  height: 40px;
  background: #2f4f46;
  margin: 0 auto 16px;
}

.profile__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6c8b7b;
  margin-bottom: 16px;
}

.profile__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 100;
  color: #2f4f46;
}

/* =========================
   Body
========================= */
.profile__body {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* =========================
   Left
========================= */
.profile__left {
  flex: 1;
  text-align: center;
}

.profile__image img {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto 20px;
}

.profile__brand {
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
}

.profile__name {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
}

/* =========================
   Right
========================= */
.profile__right {
  flex: 1;
}

.profile__text {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 20px;
}

/* 枠ボックス */
.profile__box {
  border: 1px solid #333;
  padding: 20px;
  margin: 32px 0;
  background: #f9f9f7;
  line-height: 2;
  font-size: 14px;
}

/* =========================
   Contact
========================= */
.contact {
  background: #f5f5f3;
  padding: 120px 0;
  text-align: center;
}

/* =========================
   Header
========================= */
.contact__label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #6c8b7b;
  margin-bottom: 16px;
}

.contact__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 100;
  color: #2f4f46;
  margin-bottom: 100px;
}

/* =========================
   Content
========================= */
.contact__content {
  max-width: 700px;
  margin: 0 auto;
}

.contact__text {
  font-size: 18px;
  font-family: 'noto serif jp', serif;
  line-height: 2.2;
  color: #555;
  margin-bottom: 60px;
}

/* =========================
   CTA
========================= */
.contact__cta {
  margin-top: 40px;
}

.contact__btn {
  padding: 16px 48px;
  font-size: 14px;
}

/* =========================
   Footer
========================= */
.footer {
  background: #2f4f46;
  color: #fff;
  padding: 100px 0;
}

/* =========================
   Layout
========================= */
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

/* =========================
   Left
========================= */
.footer__left {
  max-width: 320px;
}

.footer__logo img {
  width: 180px;
  display: block;
  margin-bottom: 16px;
}

.footer__logo-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.footer__text {
  font-size: 14px;
  line-height: 2;
  color: #dcdcdc;
}

/* =========================
   Right
========================= */
.footer__right {
  display: flex;
  gap: 80px;
}

.footer__nav {
  list-style: none;
}

.footer__nav li {
  margin-bottom: 16px;
}

.footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer__nav a:hover {
  opacity: 0.7;
}

/* =========================
   SP
========================= */
@media (max-width: 768px) {
  
   /* 横並び全部解除 */
  .vision__inner,
  .profile__body,
  .footer__inner {
    flex-direction: column;
  }

  /* 3カラム → 1カラム */
  .pain__grid,
  .service__grid,
  .price__grid {
    grid-template-columns: 1fr;
  }

  .sp__only {
    display: inline;
  }

  /* ヘッダー */
  .header__inner {
    height: 64px;
  }

  .header__logo img {
    max-width: 100px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    padding: 80px 20px;
    transition: 0.3s;
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__menu {
    flex-direction: column;
    gap: 20px;
  }

  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: block;
  }

  /* FV */
    .fv {
    margin-top: 64px;}
    .fv__inner {
    padding: 80px 0 100px;
  }

  .fv__title {
    font-size: 30px;
    line-height: 1.8;
    width: 85%;
    margin: 0 auto 40px;
  }

  .fv__text {
    font-size: 14px;
    width: 85%;
    margin: 0 auto 40px;
  }

  .fv__buttons {
    flex-direction: column;
    gap: 16px;
  }

  .fv__btn {
    width: 90%;
    text-align: center;
    margin: 0 auto;
  }

  .fv__vertical {
   display: none;
  }

  /* Vision */
  .vision {
    padding: 80px 0;
  }

  .vision__inner {
    flex-direction: column;
    gap: 40px; /* ←減らす */
  }

  /* 画像を上に */
  .vision__images {
    order: -1;
    margin-bottom: 32px;
  }

  .vision__title {
    font-size: 24px;
  }

  .vision__text {
    font-size: 13px;
  }

  .vision__box {
    padding: 16px;
  }

  /* Pain */
    .pain {
    padding: 80px 0;
  }

  .pain__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pain__title {
    font-size: 22px;
    line-height: 1.6;
  }

  .pain__card {
    padding: 24px 16px;
  }

  .pain__icon {
    height: 100px;
  }

  /* Service */
  .service {
    padding: 80px 0;
  }

  .service__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service__card {
    padding: 28px 20px;
  }

  .service__title {
    font-size: 22px;
  }

  /* Values */
   .values {
    padding: 40px 0;
  }

    .values__title {
    font-size: 24px;
  }

    .values__item {
    font-size: 15px;
    line-height: 2;
  }

  /* Works */
    .works {
    padding: 80px 0;
  }

  .works__title {
    font-size: 22px;
  }

  .works__gallery {
    padding: 60px 0 40px;
  }

  .works__carousel {
    height: auto;
    min-height: auto;
    padding: 40px 0;
  }

  .works__slide {
    padding: 0;
  }
  
  .works__dots {
    margin: 30px 0 20px;
  }

  .works__cta {
    width: 70%;
  }
  .works__btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }

  .works__sub{
    margin-bottom: 40px;
  }

  .works__text {
    margin-bottom: 40px;
  }

  .works__tags {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

.works__tags p {
  width: 300px; /* ←ここを固定するのがポイント */
  text-align: center;
  border: 1px solid #2f4f46;
  padding: 14px;
}

  /* Price */
  .price {
    padding: 80px 0;
  }

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

  .price__card {
    border-bottom: 1px solid #ddd;
    padding-bottom: 40px;
  }

  .price__card::after {
    display: none;
  }

  .price__title {
    font-size: 22px;
  }

  .price__list {
    width: 75%;
  }

  /* Profile */
    .profile {
    padding: 80px 0;
  }

  .profile__body {
    flex-direction: column;
    gap: 40px;
  }

  .profile__header {
    margin-bottom: 40px;
  }

  .profile__title {
    font-size: 22px;
  }

  .profile__text {
    font-size: 13px;
  }

  .profile__box {
    padding: 16px;
  }

  /* Contact */
    .contact {
    padding: 80px 0;
  }

  .contact__title {
    font-size: 22px;
  }

  .contact__text {
    font-size: 13px;
    line-height: 2;
  }

  .contact__btn {
    width: 100%;
  }

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

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer__logo img {
    width: 150px;
    margin: 0 auto 12px;
  }

  .footer__right {
    flex-direction: column;
    gap: 24px;
  }

  .footer__nav li {
    margin-bottom: 12px;
  }
}

/* * {
  outline: 1px solid red;
} */