@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Noto+Sans+JP:wght@300;400;500;600&display=swap");

:root {
  --color-bg: #f7f4ef;
  --color-text: #2a2a2a;
  --color-text-sub: #8a8177;
  --color-accent: #1f4d3a;
  --color-accent-dark: #3f3a34;
  --color-accent-darker: #2b2622;
  --color-white: #ffffff;
  --color-shadow: rgba(0, 0, 0, 0.08);
  --header-height: 96px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN",
    "Yu Mincho", serif;
}

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

html {
  scroll-behavior: smooth;
}

/* ページ内リンクでヘッダー被りを防ぐ */
section[id],
main[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.7;
  letter-spacing: 0.02rem;
}

body.is-fixed {
  overflow: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

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

.is-sp {
  display: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

/* 共通パーツ: リード文 */
.section__intro {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.heading-lg {
  font-size: clamp(1.75rem, 5vw, 3rem);
}

.heading-md,
.section__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 12px var(--color-shadow);
  height: var(--header-height);
}

.header .container {
  width: 100%;
  margin: 0;
  padding: 0 0 0 40px;
  height: 100%;
}

.header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
  padding: 0;
}

.header h1 {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 1rem;
  line-height: 1;
}

.header__brand {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 1rem;
  line-height: 1;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.5rem;
  text-transform: lowercase;
}

.header__nav {
  height: 100%;
  position: static;
}

.header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
}

.header__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header__toggle-line + .header__toggle-line {
  margin-top: 5px;
}

.header__toggle.is-active .header__toggle-line:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle.is-active .header__toggle-line:nth-child(3) {
  opacity: 0;
}

.header__toggle.is-active .header__toggle-line:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.header__overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav__list {
  height: 100%;
  align-items: stretch;
  display: flex;
  gap: 42px;
}

.nav__item {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.nav__link {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  padding: 0;
  font-size: 0.95rem;
  letter-spacing: 0.1rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.nav__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
  border-radius: 2px;
}

.nav__link--contact {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 26px;
  background: var(--color-accent-dark);
  border-radius: 0;
  letter-spacing: 0.08rem;
  transition: background-color 0.2s ease;
}

.nav__link--contact::after {
  content: none;
}

.nav__close {
  display: none;
}

@media (max-width: 768px) {
  .is-sp {
    display: block;
  }

  :root {
    --header-height: 72px;
  }

  .header .container {
    padding-left: 20px;
  }

  .header__inner {
    gap: 16px;
    align-items: center;
  }

  .header__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: 20px;
    line-height: 1;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 82%);
    height: 100vh;
    padding: 24px;
    background: var(--color-bg);
    color: var(--color-text);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1100;
    box-shadow: -12px 0 24px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .header__nav.is-open {
    transform: translateX(0);
  }

  .nav__close {
    display: inline-flex;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    line-height: 1;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    background: var(--color-accent);
    color: var(--color-white);
    cursor: pointer;
  }

  .nav__list {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: auto;
    gap: 24px;
  }

  .nav__item {
    height: auto;
    width: 100%;
  }

  .nav__link {
    height: auto;
    padding: 10px 0;
    font-size: 1.2rem;
  }

  .nav__link::after {
    content: none;
  }

  .nav__link--contact {
    width: 100%;
    padding: 14px 20px;
    background: var(--color-accent);
    color: var(--color-white);
  }
}

.nav__link--contact:hover,
.nav__link--contact:focus-visible {
  background: var(--color-accent-darker);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80vh;
  /* 背景画像は::beforeで処理するため削除 */
  /* background-image: url("../images/hero-img.webp"); */
  /* background-size: cover; */
  /* background-position: center 75%; */
  color: var(--color-white);
  overflow: hidden; /* ズーム演出のはみ出し防止 */
}

/* ヒーロー背景のアニメーション */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero-img.webp");
  background-size: cover;
  background-position: center 75%;
  z-index: -1;
  will-change: transform, filter;
  /* ズームと明るさ変化を別々に設定 */
  animation: 
    hero-zoom 13s ease-in-out infinite alternate,
    hero-dim 5s ease-out forwards;
}

/* ズームだけのアニメーション（ちらつき防止の回転ハック追加） */
@keyframes hero-zoom {
  0% { transform: scale(1) rotate(0.01deg); }
  100% { transform: scale(1.25) rotate(0.01deg); }
}

/* 明るさ変化のアニメーション（白飛び→暗くなる） */
@keyframes hero-dim {
  0% { filter: brightness(2.3) contrast(0.8); } /* かなり明るく白っぽく */
  100% { filter: brightness(0.7) contrast(1.3); } /* 暗く、コントラスト強めに */
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 60px 0;
  text-align: center;
}

/* --- オープニングアニメーション用スタイル --- */

/* 共通：初期状態（隠しておく） */
.hero-anim-1,
.hero-anim-2,
.hero-anim-3,
.hero-anim-logo {
  opacity: 0;
}

/* 1. キャッチコピー（上） */
.hero-anim-1 {
  animation: fadeUp 1.0s ease-out 0.3s forwards;
}

/* 2. リード文（上） */
.hero-anim-2 {
  animation: fadeUp 1.0s ease-out 0.6s forwards;
}

/* 3. ロゴ（give） */
.hero-anim-logo {
  animation: blurIn 1.5s ease-out 1.0s forwards;
  /* Safari対策: 描画最適化 */
  will-change: opacity, transform, filter;
  /* Safari対策: バックフェイス可視性の設定 */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* 4. 下部テキスト */
.hero-anim-3 {
  animation: fadeUp 1.0s ease-out 1.0s forwards;
}

/* 下からふわっと浮き上がるアニメーション */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ぼかしながら光るように現れるアニメーション（フェードイン＋バウンス） */
@keyframes blurIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  60% {
    opacity: 1;
    transform: scale(1.05); /* 少し大きく膨らむ */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* 元のサイズに戻る */
  }
}

.hero__catch {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.18rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

.nobr {
  display: inline-block;
  white-space: nowrap;
}

.hero__lead {
  max-width: 760px;
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  letter-spacing: 0.08rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

.hero__word-wrap {
  width: min(480px, 80%);
  margin: 12px 0;
}

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

.hero__text {
  max-width: 760px;
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  letter-spacing: 0.06rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}

.section-service {
  padding: 60px 0 70px;
  text-align: center;
}

.section-service .service__catch {
  font-family: var(--font-serif);
  font-size: clamp(0.8rem, 5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.08rem;
  color: var(--color-text);
  margin-bottom: 10px;
}

.section-service .service__en {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 500;
  color: #a5b3aa;
  line-height: 1;
  margin-top: 30px;
}

.section-service .service__jp {
  display: inline-block;
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  letter-spacing: 0.2rem;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 32px;
}

.section-service .section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 110px;
  height: 2px;
  background: var(--color-text);
  transform: translateX(-50%);
}

.section-service .service__lead {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.5vw, 1rem);
  letter-spacing: 0.08rem;
  color: var(--color-text);
  line-height: 2;
}

/* --- Service Card Common Layout --- */

.service-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-top: 50px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  /* 親コンテナに相対配置を設定し、子要素の絶対配置の基準を安定させる */
  position: relative;
}

.service-card {
  position: relative;
  display: flex;
  align-items: center; /* 上下中央揃え */
  justify-content: flex-end; /* 右寄せベース */
  padding: 0;
  min-height: 500px; /* 最低高さを確保 */
}

/* 1. グレー背景（::before） */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 40px;
  right: 0;
  width: 88%; /* 指示通り82% */
  background: #e5e2dc; /* 濃いめのグレーベージュ */
  z-index: 0;
}

/* 2. 画像の配置（.service-card__media） */
.service-card__media {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 43%;
  height: max-content; /* 高さはコンテンツなり */
  z-index: 2;
}

.service-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3. テキストブロックの調整（.service-card__body） */
.service-card__body {
  position: relative;
  width: 88%; /* 背景と同じ幅 */
  z-index: 3;
  /* 
     画像の幅が48%なので、それと被らないように左パディングを設定。
     48%のうち、背景(82%)と重なっている部分は約30%。
     そこに余白を加えて、38%〜40%程度のパディングが必要。
  */
  padding: 30px 60px 60px 36%; 
  text-align: left;
}

.service-card__catch {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-sub);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

/* 4. パーツのデザイン詳細 */
.service-card__title {
  display: block;
  background: var(--color-white);
  padding: 10px 20px;
  font-size: 1.4rem;
  font-weight: 600;
  border-top: 4px solid var(--color-accent);
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  /* タイトルが右端まで行き過ぎないように少し制限 */
  width: 100%;
}

.service-card__text {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 40px;
  color: #4a4a4a;
}

/* チェックリスト */
.service-card__list {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-accent); /* 指示通り：緑の細い線 */
  border-radius: 6px;
  padding: 20px 30px;
  margin-bottom: 20px;
}

.service-card__list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.service-card__list li:last-child {
  margin-bottom: 0;
}

.service-card__text {
  line-height: 1.8;
}

/* チェックボックス（白背景・グレー枠） */
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: #fff; /* 指示通り：白背景 */
  border: 2px solid #b8b1a9; /* 指示通り：グレー枠 */
  border-radius: 4px;
}

/* 緑のレ点 */
.service-card__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 17px;
  height: 9px;
  border-left: 3px solid var(--color-accent); /* 指示通り：緑 */
  border-bottom: 3px solid var(--color-accent); /* 指示通り：緑 */
  transform: rotate(-45deg);
}

/* --- Service Next Section (giveの連鎖へ) --- */
.service-next {
  margin-top: 120px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-next__title {
  margin-bottom: 30px;
}

/* 英語部分（EC、Product等） */
.service-next__en {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: #b8b1a9; /* グレー */
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

/* 日本語見出し（giveの連鎖へ） */
.service-next__jp {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-text);
}

.service-next__text {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 50px;
}

/* グレーのボックス（リスト部分）のコンテナ */
.service-next__box {
  max-width: 700px; /* 横幅を制限 */
  margin: 0 auto 50px;
}

/* グレーのボックス（リスト部分） */
.service-next__list {
  background: #4a4a4a;
  color: var(--color-white);
  padding: 40px 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-next__list li {
  position: relative;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 500;
  /* 各項目の下にアンダーライン */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.service-next__list li:last-child {
  border-bottom: none;
}

/* お問い合わせテキスト */
.service-next__lead {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 30px;
}

/* ボタン共通スタイル */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 60px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.button--primary,
.button--contact {
  background: var(--color-accent);
  color: var(--color-white);
}

/* 右矢印を追加 */
.button--primary::after,
.button--contact::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%; /* 正円 */
  border: 2px solid rgba(255, 255, 255, 0.6); /* 白い枠線 */
  font-size: 1.2rem;
  font-weight: normal;
  transition: all 0.3s ease;
}

.button--primary:hover,
.button--contact:hover {
  background: #164030;
  transform: translateX(5px);
}

/* --- 偶数番目（2つ目など）のカード：左右反転設定（PCのみ） --- */
.service-card:nth-child(even) {
  justify-content: flex-start; /* 左寄せベースに変更 */
}

/* 背景板：左寄せ */
.service-card:nth-child(even)::before {
  left: 0;
  right: auto;
}

/* 画像：右寄せ */
.service-card:nth-child(even) .service-card__media {
  left: auto;
  right: 0;
}

/* テキスト：左側に配置し、右パディングで画像除けを作る */
.service-card:nth-child(even) .service-card__body {
  /* 左パディングを通常に戻し、右パディングを大きく取る */
  padding: 30px 36% 60px 60px;
}

/* 5. レスポンシブ対応 */
@media (max-width: 768px) {
  .hero__catch {
    text-shadow:
    0 0 3px rgba(0, 0, 0, 0.4), 
    1px 1px 3px rgba(0, 0, 0, 0.5);
  }

  .hero__lead {
    text-shadow:
    0 0 1px rgba(0, 0, 0, 0.8), 
    1px 1px 3px rgba(0, 0, 0, 0.7);
  }
  
  .hero__text {
    text-shadow:
    0 0 3px rgba(0, 0, 0, 0.8);
  }

  .section-service {
    padding: 30px 0 30px;
  }
  .service-list {
    gap: 20px;
    margin-top: 30px;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-bottom: 40px;
  }

  /* スマホ版：背景板 */
  .service-card::before {
    top: 200px; /* 画像の下あたりから */
    bottom: 0;
    width: 100%;
    right: 0;
    left: 0;
  }

  /* スマホ版：画像 */
  .service-card__media {
    position: relative;
    width: 90%;
    margin: 0 auto -60px auto; /* センター寄せ、下マージンでテキストと重ねる */
    top: auto;
    bottom: auto;
    left: auto;
  }

  /* スマホ版：テキストブロック */
  .service-card__body {
    width: 100%;
    padding: 80px 20px 2px 20px; /* 上余白を増やして重なりを調整 */
  }

  .service-card__catch {
    font-size: 1.1rem; /* PCの1.4remより小さく */
    text-align: center;
  }

  .service-card__title {
    width: 100%;
    font-size: 1.1rem; /* PCの1.6remより小さく */
    padding: 15px 20px; 
    margin-bottom: 24px;
    text-align: center;
  }

  .service-card__list {
    padding: 24px;
    margin-bottom: 0;
  }

  /* --- スマホ版：偶数番目の反転設定を強制リセット --- */
  .service-card:nth-child(even) {
    justify-content: flex-start;
    flex-direction: column;
  }

  .service-card:nth-child(even)::before {
    left: 0;
    right: 0;
    width: 100%;
  }

  .service-card:nth-child(even) .service-card__media {
    left: auto;
    right: auto;
    margin: 0 auto -60px auto;
  }

  .service-card:nth-child(even) .service-card__body {
    padding: 80px 20px 2px 20px;
  }

  /* --- スマホ版：Service Next --- */
  .service-next {
    margin-top: 60px;
    padding: 0 20px;
  }

  .service-next__en {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .service-next__jp {
    font-size: 1.4rem;
  }

  .service-next__text {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .service-next__box {
    max-width: 100%;
  }

  .service-next__list {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

  .service-next__list li {
    font-size: 0.9rem;
    padding: 15px 0;
  }

  .service-next__lead {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .button {
    padding: 14px 40px;
    font-size: 0.95rem;
  }

  .button--primary::after {
    font-size: 1.2rem;
  }

  /* --- スマホ版：理念（Mission） --- */
  .section-mission {
    padding: 60px 0;
  }

  .section-mission .section__eyebrow {
    font-size: 2.2rem;
    margin-top: 20px;
  }

  .section-mission .section__title {
    font-size: 1.2rem;
    padding-bottom: 8px;
    margin-bottom: 24px;
  }

  .section-mission .section__title::after {
    width: 80px;
    bottom: 5px;
  }

  .section-mission .section__intro {
    font-size: 1rem !important; /* 1.4remから16px相当(1rem)に縮小 */
  }

  .mission-item__header {
    width: 95% !important;
    padding: 10px 20px !important;
    justify-content: center !important; /* スマホではセンター寄せ */
    gap: 10px !important;
    margin-bottom: 20px !important; /* 広すぎるため20pxに縮小 */
  }

  /* スマホ版の尖り具合も緩和 */
  .mission-item__header::before {
    clip-path: polygon(15px 0%, calc(100% - 15px) 0%, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0% 50%) !important;
  }

  .mission-item__title {
    font-size: 1.6rem !important; /* スマホ用に調整 */
  }

  .mission-item__sub {
    font-size: 0.9rem !important; /* スマホ用に調整 */
  }

  .mission-list {
    gap: 60px !important;
  }
}

/* --- 理念（Mission）セクション --- */
.section-mission {
  padding: 100px 0;
  background-image: url("../images/mission_bg.webp");
  background-repeat: repeat;
  color: var(--color-white);
  text-align: center;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 緑色の帯のコンテナ（ここで影をつける） */
.mission-item__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* PCでは左寄せ */
  gap: 30px; 
  padding: 8px 60px; /* 左の余白を少なく調整（100px→60px） */
  margin-bottom: 50px;
  width: 100%; 
  max-width: 1100px; /* 横幅をさらに広く（1000px→1100px） */
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* 緑色の帯の本体（ここで形状を作る） */
.mission-item__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-accent);
  z-index: -1;
  /* 両端の尖り具合を緩和（40px→20pxにして角度を浅く） */
  clip-path: polygon(20px 0%, calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 20px 100%, 0% 50%);
  /* 上下の装飾線を太く維持 */
  border-top: 3px solid rgba(255, 255, 255, 0.35);
  border-bottom: 3px solid rgba(255, 255, 255, 0.35);
}

/* 英字タイトル */
.mission-item__title {
  font-family: var(--font-serif);
  font-size: 3.0rem; /* ひとまわり小さく（3.5rem→3.0rem） */
  font-weight: 500;
  color: #a5b3aa; 
  line-height: 1;
}

/* 日本語サブタイトル */
.mission-item__sub {
  font-family: var(--font-sans);
  font-size: 1.2rem; /* ひとまわり小さく（1.4rem→1.2rem） */
  font-weight: 600;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: 0.1em;
}

/* 本文テキスト（Mission / Vision） */
.mission-item__text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 3.5; /* 行間を大幅に拡大 */
  color: #eee;
  letter-spacing: 0.05em;
}

/* Value リスト */
.mission-item__list {
  max-width: 800px;
  margin: 0 auto;
}

.mission-item__list li {
  margin-bottom: 50px; /* 1, 2, 3 の間隔を広く */
}

.mission-item__list li:last-child {
  margin-bottom: 0;
}

.mission-item__label {
  display: block;
  font-size: 1.3rem; /* 見出しを一回り大きく */
  font-weight: 600; /* ボールド */
  color: var(--color-white);
  margin-bottom: 12px; /* 説明文との間隔 */
}

.mission-item__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #eee;
}

/* --- レスポンシブ対応 (Mobile) --- */
@media (max-width: 768px) {
  /* ...既存のSPスタイル... */
  .mission-item__text {
    font-size: 0.95rem;
    line-height: 2.0;
    padding: 0 10px;
  }

  .mission-item__list li {
    margin-bottom: 40px;
  }

  .mission-item__label {
  font-size: 1.15rem;
  }
}

/* Mission / Vision / Value */
.section-mission .section__eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 6rem); /* .service__en と同じ */
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3); /* 薄いグレー（白の透過） */
  line-height: 1;
  margin-top: 0;
}

/* 理 念 */
.section-mission .section__title {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 3vw, 1.25rem); /* .service__jp と同じ */
  letter-spacing: 0.2rem;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 32px;
  color: var(--color-white);
}

/* アンダーライン */
.section-mission .section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 110px;
  height: 2px;
  background: var(--color-white);
  transform: translateX(-50%);
}

/* 私たちが大切にしていること（リード文） */
.section-mission .section__intro {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.4rem; /* 事業案内のリードより一回り大きく */
  font-weight: 500;
  letter-spacing: 0.08rem;
  line-height: 2;
}

/* --- Why give（企業ストーリー）セクション --- */
.section-story {
  position: relative; /* 背景アニメーション用の基準点 */
  padding: 100px 0;
  overflow: hidden; /* 背景のはみ出しを隠す */
  text-align: center;
  color: var(--color-text);
  z-index: 1; /* コンテンツを手前に表示 */
}

/* 背景画像（疑似要素で独立させる） */
.section-story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/why-give_bg.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -1; /* コンテンツの後ろに配置 */
  transform-origin: center;
  will-change: transform;
  animation: bg-zoom 50s ease-in-out infinite alternate;
}

/* 背景のゆっくりズーム＋回転アニメーション */
@keyframes bg-zoom {
  0% {
    transform: scale(1.1) rotate(0deg);
  }
  50% {
    transform: scale(2.0) rotate(-25deg);
  }
  100% {
    transform: scale(1.1) rotate(0deg);
  }
}

/* Why give */
.section-story .section__eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 6rem); /* Serviceセクションと統一 */
  font-weight: 500;
  color: #a5b3aa;
  line-height: 1.2; /* 重なり防止のため少し広げる */
  margin-top: 0;
  margin-bottom: 10px; /* 下の見出しとの間隔を確保 */
}

/* 企業ストーリー */
.section-story .section__title {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  letter-spacing: 0.2rem;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 32px;
  color: var(--color-text);
}

/* アンダーライン */
.section-story .section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 180px; /* 140pxからさらに延長 */
  height: 2px;
  background: var(--color-text);
  transform: translateX(-50%);
}

/* なぜ、give なのか */
.section-story .section__intro {
  max-width: 800px;
  margin: 0 auto 80px;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08rem;
  line-height: 2;
}

/* 小さな “give” が、次の優しさを生む。 */
.story__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--color-accent);
  margin-bottom: 60px;
  font-weight: 600;
}

.story__text {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 2.4;
  color: var(--color-text);
}

.story__text p + p {
  margin-top: 40px;
}

/* --- Company（会社概要）セクション --- */
.section-company {
  padding: 100px 0;
  background-image: url("../images/company_bg.webp"); /* オーバーレイを削除 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* 背景を固定（パララックス効果） */
  text-align: center;
  color: var(--color-white);
}

/* Company */
.section-company .section__eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3); /* Missionと同じ薄いグレー */
  line-height: 1.2; /* Why giveと同じ調整 */
  margin-top: 0;
  margin-bottom: 10px; /* Why giveと同じ調整 */
}

/* 会社概要 */
.section-company .section__title {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  letter-spacing: 0.2rem;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 60px;
  color: var(--color-white);
}

/* アンダーライン (白) */
.section-company .section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 110px; /* 事業案内と同じサイズに戻す */
  height: 2px;
  background: var(--color-white);
  transform: translateX(-50%);
}

.company-content {
  max-width: 900px;
  margin: 0 auto;
}

.company-list {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.company-list__row {
  display: flex;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: left;
}

.company-list dt {
  width: 30%;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

.company-list dd {
  width: 70%;
  line-height: 1.6;
}

/* --- スマホ用追加スタイル（Story & Company） --- */
@media (max-width: 768px) {
  .section-story {
    padding: 60px 0;
  }
  
  .section-story .section__intro {
    font-size: 1rem !important;
    margin-bottom: 50px;
  }

  .story__title {
    font-size: 1.4rem !important;
    margin-bottom: 40px !important;
  }

  .story__text {
    font-size: 1rem !important;
    line-height: 2.0 !important;
  }

  /* Company SP */
  .section-company {
    padding: 60px 0;
    background-attachment: scroll; /* スマホでは固定を解除 */
  }



  .section-company .section__title {
    font-size: 1.2rem;
    padding-bottom: 8px;
    margin-bottom: 40px;
  }

  .section-company .section__title::after {
    width: 110px;
    bottom: 5px;
  }

  .company-list__row {
    flex-direction: column;
    padding: 20px 15px; /* 左右に15pxの余白を追加 */
  }

  .company-list dt {
    width: 100%;
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .company-list dd {
    width: 100%;
    margin-left: 1em; /* 全角1文字分だけインデント */
    font-size: 1rem;
    word-break: break-all; /* 長い英単語やURLの折り返し対策 */
  }
}

/* --- Contact（お問い合わせ）セクション --- */
.section-contact {
  padding: 100px 0;
  background-color: #f9f8f6; /* 非常に薄いベージュ */
  text-align: center;
}

/* Contact */
.section-contact .section__eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 500;
  color: #a5b3aa;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 10px;
}

/* お問い合わせ */
.section-contact .section__title {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  letter-spacing: 0.2rem;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 32px;
  color: var(--color-text);
}

/* アンダーライン */
.section-contact .section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 180px;
  height: 2px;
  background: var(--color-text);
  transform: translateX(-50%);
}

.section-contact .section__intro {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
}

/* フォーム全体 */
.contact-form {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.contact-form__row {
  display: flex;
  align-items: center;
  padding: 24px 30px;
  border-bottom: none; /* 白いラインを削除 */
}

/* 奇数行：お名前、メールアドレス、お問い合わせ内容（やや濃いグレー） */
.contact-form__row:nth-child(odd) {
  background-color: #e5e2dc; /* #edece8から少し濃く調整 */
}

/* 偶数行：ふりがな、電話番号（やや薄いグレー） */
.contact-form__row:nth-child(even) {
  background-color: #f0eee9; /* #f6f5f2から少し濃く調整 */
}

.contact-form__row:last-of-type {
  border-bottom: none;
}

.contact-form__row--textarea {
  align-items: flex-start;
}

/* 項目名（左側） */
.contact-form__label-box {
  width: 350px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-form__label {
  font-weight: 600;
  color: var(--color-text);
}

.contact-form__note {
  font-size: 0.75rem;
  color: #888;
}

/* 入力欄（右側） */
.contact-form__input-box {
  flex: 1;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form__input--tel {
  width: 250px; /* 電話番号は少し短く */
}

.contact-form__textarea {
  height: 240px;
  resize: vertical;
}

/* プライバシーポリシー */
.contact-form__privacy {
  margin-top: 40px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-form__privacy a {
  color: var(--color-accent); /* サイトのアクセントカラー（緑） */
  text-decoration: underline;
}

.contact-form__privacy a:hover {
  color: #ee0000; /* ホバー時の赤 */
  text-decoration: none;
}

/* 送信ボタン */
.contact-form__submit {
  text-align: center;
}

.button--submit {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 18px 80px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: opacity 0.3s;
  cursor: pointer;
  border: none;
}

.button--submit:hover {
  opacity: 0.8;
}

/* --- スマホ用追加スタイル（Contact） --- */
@media (max-width: 768px) {
  .section-contact {
    padding: 60px 0;
  }


  .section-contact .section__title {
    font-size: 1.2rem;
    padding-bottom: 8px;
    margin-bottom: 24px;
  }

  .section-contact .section__title::after {
    width: 140px;
    bottom: 5px;
  }

  .section-contact .section__intro {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    margin-bottom: 40px;
  }

  .contact-form__row {
    flex-direction: column;
    padding: 20px 15px;
    gap: 12px;
  }

  .contact-form__label-box {
    width: 100%;
    justify-content: space-between;
  }

  .contact-form__input-box {
    width: 100%;
  }

  .contact-form__input--tel {
    width: 100%;
  }

  .contact-form__textarea {
    height: 180px;
  }

  .contact-form__privacy {
    font-size: 0.85rem;
    padding: 0 10px;
    line-height: 1.6;
  }

  .button--submit {
    width: 100%;
    padding: 15px 0;
  }
}

/* --- Privacy Policy（個人情報保護方針） --- */
.privacy-hero {
  padding: 120px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("../images/company_bg.webp");
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--color-white);
}

.privacy-hero__en {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  margin-bottom: 15px;
  opacity: 0.9;
}

.privacy-hero__jp {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.privacy-content {
  padding: 100px 0;
}

.privacy-body {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-section {
  margin-bottom: 60px;
}

.privacy-section__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.privacy-section p {
  line-height: 2;
  margin-bottom: 15px;
}

.privacy-section ul {
  padding-left: 10px;
}

.privacy-section li {
  line-height: 1.8;
  margin-bottom: 5px;
}

.privacy-footer {
  margin-top: 100px;
  text-align: right;
  line-height: 2;
}

.privacy-footer__date {
  margin-bottom: 10px;
}

.privacy-footer__sign {
  font-weight: 500;
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .privacy-hero {
    padding: 80px 0;
  }
  
  .privacy-content {
    padding: 60px 0;
  }

  .privacy-section {
    margin-bottom: 40px;
  }

  .privacy-footer {
    margin-top: 60px;
    text-align: left;
  }
}

/* --- Page Top Button（ページトップへ戻る） --- */
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    background-color 0.3s,
    transform 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagetop.is-show {
  opacity: 1;
  visibility: visible;
}

.pagetop__arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  transform: rotate(-45deg);
  margin-top: 4px;
  transition: border-color 0.3s;
}

/* フッター上での反転スタイル */
.pagetop.is-footer {
  background-color: #fff;
}

.pagetop.is-footer .pagetop__arrow {
  border-top-color: var(--color-accent);
  border-right-color: var(--color-accent);
}

.pagetop:hover {
  transform: translateY(-5px);
  opacity: 0.8;
}

/* --- Animation Styles --- */
/* 基本：下からふわっと */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

/* 左からスライド */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 1s ease-out,
    transform 1s ease-out;
}

/* 右からスライド */
.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 1s ease-out,
    transform 1s ease-out;
}

/* ポヨンと拡大（お問い合わせボタン用） */
.animate-zoom {
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 活性化状態（JavaScriptで付与） */
.is-active {
  opacity: 1;
  transform: translate(0, 0);
}

/* 時差表示（スタッガー）用の遅延設定 */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Footer（フッター）セクション --- */
.footer {
  padding: 60px 0;
  background-color: var(--color-accent); /* ブランドカラーの緑 */
  color: var(--color-white);
  text-align: center;
}

.footer__name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer__copy {
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .footer {
    padding: 40px 0;
  }
  
  .footer__name {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }
  
  .footer__copy {
    font-size: 0.75rem;
  }
}
