@charset "UTF-8";
/* ==========================================================================
   various-innovation  /  style.css
   PC：1024px以上（デザイン幅1920px・コンテンツ幅1400px）
   SP：1023px以下（デザイン幅390px）
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --c-green: #0b251e;
  --c-gold: #b9a16c;
  --c-beige: #b8aea3;
  --c-brown: #ae8533;
  --c-white: #fff;

  --ff-en: "Marcellus", serif;
  --ff-mincho: "Shippori Mincho", serif;
  --ff-sans: "Noto Sans JP", sans-serif;

  /* 背景のノイズ（Figmaの「ノイズ」画像の代わりにSVGで生成） */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");

  --header-h-sp: 129px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; }

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--c-green);
  color: var(--c-white);
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
body.is-menu-open { overflow: hidden; }

:focus-visible { outline: 1px solid var(--c-gold); outline-offset: 4px; }

.u-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.u-sp { display: none; }
.u-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Layout ---------- */
.l-inner {
  width: min(1400px, calc(100% - 120px));
  margin-inline: auto;
}

.l-bg-dark {
  position: relative;
  z-index: 1;
  background: var(--noise), var(--c-green);
}

.l-bg-gradient {
  background: var(--noise), linear-gradient(180deg, var(--c-green) 0%, var(--c-brown) 51%, var(--c-brown) 100%);
}

/* ---------- Header ---------- */
.l-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 0;
}

.l-header__logo {
  position: absolute;
  top: 72px;
  left: 80px;
  font-family: var(--ff-en);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: .2em;
  color: var(--c-white);
}

.l-nav {
  position: fixed;
  top: 59px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 120px;
  transition: top .4s var(--ease), right .4s var(--ease), padding .4s var(--ease), background-color .4s, border-color .4s;
}

.l-nav__list {
  display: flex;
  gap: 40px;
}

.l-nav__list a {
  display: block;
  font-family: var(--ff-en);
  font-size: 12px;
  line-height: 26px;
  letter-spacing: .2em;
  color: var(--c-green);
  transition: color .4s, opacity .3s;
}
.l-nav__list a:hover { opacity: .6; }

.l-nav__menu-btn { display: none; }

/* スクロール後（およびトップ以外のページ）はガラス調のピル型ナビ */
.is-scrolled .l-nav,
.l-header--glass .l-nav {
  top: 20px;
  right: 20px;
  padding: 9px 9px 9px 39px;
  background-color: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.is-scrolled .l-nav__list a,
.l-header--glass .l-nav__list a { color: var(--c-white); }

/* ---------- SP Menu ---------- */
.l-sp-menu { display: none; }

/* ---------- Components ---------- */
/* メールボタン（二重円＋封筒） */
.c-mail-btn {
  display: block;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  color: var(--c-gold);
  transition: opacity .3s;
}
.c-mail-btn svg { width: 100%; height: 100%; }
.c-mail-btn:hover { opacity: .7; }

/* ガラス調の丸ボタン */
.c-circle-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--c-white);
  transition: background-color .3s;
}
.c-circle-btn::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
}
.c-circle-btn svg { width: 12px; height: 16px; }

.c-circle-link {
  display: flex;
  align-items: center;
  gap: 20px;
}
.c-circle-link__label {
  font-family: var(--ff-en);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
  white-space: nowrap;
}
.c-circle-link:hover .c-circle-btn { background-color: rgba(255, 255, 255, .2); }

/* セクション見出し */
.c-title__en {
  display: block;
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  letter-spacing: .1em;
  color: var(--c-gold);
}
.c-title__ja {
  display: block;
  margin-top: 50px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .3em;
}

/* 本文 */
.c-text-ja {
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 32px;
  letter-spacing: .2em;
}
.c-text-en {
  font-family: var(--ff-en);
  font-size: 10px;
  line-height: 18px;
  letter-spacing: .2em;
  color: var(--c-beige);
}
.c-text-ja + .c-text-en { margin-top: 40px; }

/* ==========================================================================
   FV
   ========================================================================== */
.p-fv {
  position: relative;
  height: 1009px;
}

.p-fv__media {
  position: absolute;
  inset: 20px 20px auto;
  height: 840px;
  overflow: hidden;
  border-radius: 20px;
  background: #1b2a24;
}
.p-fv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-fv__logo {
  position: absolute;
  top: 776px;
  left: 80px;
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: 70px;
  line-height: 1;
  letter-spacing: .1em;
}
.p-fv__logo-line { position: relative; }
.p-fv__logo-line::after {
  content: "";
  position: absolute;
  top: 46px;
  left: calc(100% + 7px);
  width: 110px;
  height: 1px;
  background: rgba(255, 255, 255, .8);
}

.p-fv__copy {
  position: absolute;
  top: 801px;
  left: 549px;
  font-family: var(--ff-mincho);
  font-weight: 500;
  font-size: 20px;
  line-height: 40px;
  letter-spacing: .2em;
}
.p-fv__copy-sub,
.p-fv__copy-main { display: block; }
.p-fv__copy-main { padding-left: 8px; }

.p-fv__scroll {
  position: absolute;
  top: 811px;
  right: 80px;
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
.p-about { padding: 93px 0 100px; overflow-x: clip; }

.p-about__body {
  position: relative;
  margin-top: 139px;
  min-height: calc((min(1400px, 100vw - 120px)) * 1231 / 1400);
}

.p-about__collage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1400 / 1240;
}

.p-about__img {
  position: absolute;
  border-radius: 6px;
  object-fit: cover;
}
.p-about__img--01 { left: 0;       top: 0;       width: 35.714%; aspect-ratio: 500 / 380; }
.p-about__img--02 { left: 23.571%; top: 26.613%; width: 19.286%; aspect-ratio: 1; }
.p-about__img--03 { left: 57.143%; top: 34.677%; width: 42.857%; aspect-ratio: 600 / 320; }
.p-about__img--04 { left: 50%;     top: 68.548%; width: 28.571%; aspect-ratio: 400 / 280; }
.p-about__img--sp { display: none; }

.p-about__illust {
  position: absolute;
  left: 54.286%;
  top: 1.613%;
  width: 18.857%;
}

.p-about__deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.p-about__deco-line { stroke-width: 1; vector-effect: non-scaling-stroke; }

.p-about__circles {
  position: absolute;
  left: 45.714%;
  top: -8.065%;
  width: 35.714%;
  opacity: .5;
  filter: blur(.3px);
  pointer-events: none;
}
.p-about__circles circle { vector-effect: non-scaling-stroke; }

.p-about__catch {
  position: absolute;
  left: 64.286%;
  top: 16.129%;
  white-space: nowrap;
}
.p-about__catch-ja {
  font-family: var(--ff-mincho);
  font-weight: 400;
  font-size: 28px;
  line-height: 42px;
  letter-spacing: .1em;
}
.p-about__catch-en {
  margin-top: 23px;
  font-family: var(--ff-en);
  font-size: 10px;
  line-height: 18px;
  letter-spacing: .2em;
  color: var(--c-beige);
}

.p-about__text {
  position: relative;
  width: 28.571%;
  min-width: 300px;
  margin-left: 14.286%;
  padding-top: calc(51.429% - 11px);
}

/* ==========================================================================
   SERVICE
   ========================================================================== */
.p-service { padding: 93px 0 136px; }

.p-service__inner {
  position: relative;
  display: grid;
  grid-template-columns: 400fr 430fr 370fr 200fr;
  align-items: start;
}
.p-service__ja { margin-top: -4px; padding-right: 60px; }
.p-service__en { margin-top: -4px; }
.c-text-ja + .c-text-en.p-service__en { margin-top: -4px; }

.p-service__line {
  position: absolute;
  top: 7px;
  right: 0;
  width: 1px;
  height: 502px;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

/* ==========================================================================
   SERVICE 詳細
   ========================================================================== */
.p-service-detail {
  position: relative;
  overflow: hidden;
  padding: 200px 0 160px;
  background: #2b2a1a;
}

.p-service-detail__bgs,
.p-service-detail__bgs::after {
  position: absolute;
  inset: 0;
}
.p-service-detail__bgs::after {
  content: "";
  background: var(--noise), rgba(37, 33, 11, .5);
}
.p-service-detail__bg {
  position: absolute;
  inset: -60px;
  width: calc(100% + 120px);
  max-width: none;
  height: calc(100% + 120px);
  object-fit: cover;
  filter: blur(30px);
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
.p-service-detail__bg.is-active { opacity: 1; }

/* 上端：前セクションの背景からのフェード */
.p-service-detail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 100px;
  background: var(--noise), var(--c-green);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
  pointer-events: none;
}

.p-service-detail__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200fr 400fr 100fr 500fr 200fr;
  align-items: center;
}

.p-service-detail__photos {
  position: relative;
  grid-column: 2;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 6px;
}
/* 写真：次へ＝右から、前へ＝左からワイプで切り替え */
.p-service-detail__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.p-service-detail__photo.is-leaving { z-index: 1; opacity: 1; }
.p-service-detail__photo.is-active {
  z-index: 2;
  opacity: 1;
  animation: sd-photo-in-next 1.1s var(--ease) both;
}
[data-dir="prev"] .p-service-detail__photo.is-active { animation-name: sd-photo-in-prev; }
.p-service-detail.is-ready-static .p-service-detail__photo.is-active { animation: none; }

@keyframes sd-photo-in-next {
  from { clip-path: inset(0 0 0 100%); transform: scale(1.12); }
  to   { clip-path: inset(0 0 0 0);    transform: scale(1); }
}
@keyframes sd-photo-in-prev {
  from { clip-path: inset(0 100% 0 0); transform: scale(1.12); }
  to   { clip-path: inset(0 0 0 0);    transform: scale(1); }
}

/* テキスト：横にスライド＋フェード */
.p-service-detail__texts {
  display: grid;
  grid-column: 4;
  touch-action: pan-y;
}
.p-service-detail__item {
  grid-area: 1 / 1;
  align-self: start;
  opacity: 0;
  visibility: hidden;
}
.p-service-detail__item.is-active {
  visibility: visible;
  animation: sd-text-in-next .9s .4s var(--ease) both;
}
.p-service-detail__item.is-leaving {
  visibility: visible;
  animation: sd-text-out-next .5s ease-in both;
}
[data-dir="prev"] .p-service-detail__item.is-active { animation-name: sd-text-in-prev; }
[data-dir="prev"] .p-service-detail__item.is-leaving { animation-name: sd-text-out-prev; }
.p-service-detail.is-ready-static .p-service-detail__item.is-active { animation: none; opacity: 1; }

@keyframes sd-text-in-next  { from { opacity: 0; transform: translateX(48px);  filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes sd-text-in-prev  { from { opacity: 0; transform: translateX(-48px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes sd-text-out-next { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-48px); } }
@keyframes sd-text-out-prev { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(48px); } }

.p-service-detail__num {
  font-family: var(--ff-en);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .1em;
}
.p-service-detail__ttl {
  margin-top: 47px;
  font-family: var(--ff-mincho);
  font-weight: 400;
  font-size: 28px;
  line-height: 42px;
  letter-spacing: .1em;
}
.p-service-detail__en {
  margin-top: 13px;
  font-family: var(--ff-en);
  font-size: 10px;
  line-height: 18px;
  letter-spacing: .2em;
  color: var(--c-beige);
}
.p-service-detail__body { margin-top: 64px; }

/* スライダー操作（番号・進行バー・矢印） */
.p-service-detail__controls {
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
}
.p-service-detail__count {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-en);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .1em;
}
.p-service-detail__current { color: var(--c-white); }
.p-service-detail__total { color: rgba(255, 255, 255, .5); }
.p-service-detail__progress {
  position: relative;
  width: 120px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .25);
}
.p-service-detail__progress-bar {
  position: absolute;
  inset: 0;
  background: var(--c-gold);
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
}
.p-service-detail.is-autoplay .p-service-detail__progress-bar {
  animation: sd-progress var(--interval, 6s) linear both;
}
.p-service-detail.is-paused .p-service-detail__progress-bar { animation-play-state: paused; }
@keyframes sd-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.p-service-detail__arrows {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.c-slide-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--c-white);
  transition: background-color .3s, border-color .3s, color .3s;
}
.c-slide-btn svg { width: 16px; height: 10px; transition: transform .4s var(--ease); }
.c-slide-btn:hover {
  border-color: var(--c-gold);
  background: rgba(185, 161, 108, .18);
  color: var(--c-gold);
}
.js-slide-prev:hover svg { transform: translateX(-3px); }
.js-slide-next:hover svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .p-service-detail__photo.is-active,
  .p-service-detail__item.is-active,
  .p-service-detail__item.is-leaving { animation: none !important; opacity: 1; }
  .p-service-detail__item.is-leaving { visibility: hidden; }
}

/* ==========================================================================
   NEWS
   ========================================================================== */
.p-news { padding: 93px 0 95px; padding-top: 193px; }

.p-news__inner {
  display: grid;
  grid-template-columns: 400fr 1000fr;
  align-items: start;
}

.p-news__list { margin-top: 0; }
.p-news__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  padding-bottom: 43px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.p-news__item + .p-news__item { margin-top: 42px; }
.p-news__date {
  font-family: var(--ff-en);
  font-size: 10px;
  line-height: 18px;
  letter-spacing: .1em;
}
.p-news__ttl {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: .1em;
}

/* ==========================================================================
   COMPANY
   ========================================================================== */
.p-company { padding: 93px 0 100px; }

.p-company__inner {
  display: grid;
  grid-template-columns: 500fr 800fr;
  grid-template-rows: auto 1fr;
  column-gap: 100px;
}

.p-company__table {
  position: relative;
  margin-top: 128px;
  font-size: 14px;
  line-height: 32px;
  letter-spacing: .2em;
}
.p-company__table::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 140px;
  width: 1px;
  height: 330px;
  background: rgba(255, 255, 255, .3);
}
.p-company__row {
  display: grid;
  grid-template-columns: 240px 1fr;
}
.p-company__row + .p-company__row { margin-top: 48px; }

.p-company__map {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-top: 99px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: #ddd;
}
.p-company__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer { padding: 100px 60px 60px; }

.l-footer__box {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 338px;
  padding: 53px 60px 0;
  border-radius: 20px;
  background: var(--noise), var(--c-green);
}

.l-footer__logo {
  font-family: var(--ff-en);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: .2em;
}

.l-footer__nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 17px 0 0 102px;
}
.l-footer__list { display: flex; gap: 40px; }
.l-footer__list a {
  font-family: var(--ff-en);
  font-size: 12px;
  line-height: 26px;
  letter-spacing: .2em;
  transition: opacity .3s;
}
.l-footer__list a:hover { opacity: .6; }

.l-footer__top { margin: -7px 0 0 auto; }

.l-footer__box::after {
  content: "";
  position: absolute;
  top: 249px;
  left: 56px;
  right: 50px;
  height: 1px;
  background: rgba(255, 255, 255, .3);
}
.l-footer__copy {
  position: absolute;
  right: 50px;
  top: 280px;
  font-family: var(--ff-en);
  font-size: 12px;
  line-height: 28px;
  letter-spacing: .2em;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.page-contact .l-main {
  background: var(--noise), linear-gradient(180deg, var(--c-green) 0%, var(--c-brown) 51%, var(--c-brown) 100%);
}

.p-contact { padding: 286px 0 200px; }
.p-contact__inner { width: min(800px, calc(100% - 80px)); margin-inline: auto; }

.p-contact__title { text-align: center; }
.p-contact__title-en {
  display: block;
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: 70px;
  line-height: 1;
  letter-spacing: .1em;
}
.p-contact__title-ja {
  display: block;
  margin-top: 31px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .3em;
}
.p-contact__divider {
  height: 1px;
  margin: 78px 0 0;
  border: 0;
  background: rgba(255, 255, 255, .3);
}

.p-contact__lead {
  margin-top: 40px;
  font-family: var(--ff-mincho);
  font-size: 14px;
  line-height: 2;
  text-align: center;
}

.c-form { margin-top: 69px; }
.c-form__field + .c-form__field { margin-top: 49px; }
.c-form__label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--ff-mincho);
  font-size: 16px;
  line-height: 32px;
}
.c-form__req { font-size: 10px; line-height: 1; }

.c-form__controls { margin-top: 9px; }
.c-form__controls--name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.c-form__input {
  display: block;
  width: 100%;
  height: 65px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  background: rgba(255, 255, 255, .2);
  color: var(--c-white);
  font-family: var(--ff-mincho);
  font-size: 15px;
  letter-spacing: .1em;
  transition: background-color .3s, border-color .3s, color .3s;
  -webkit-appearance: none;
  appearance: none;
}
textarea.c-form__input {
  height: 159px;
  padding: 22px 30px;
  line-height: 32px;
  resize: vertical;
}
.c-form__input::placeholder { color: rgba(255, 255, 255, .5); }
.c-form__input:focus,
.c-form__input:not(:placeholder-shown) {
  outline: none;
  border-color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .8);
  color: var(--c-green);
}
.c-form__input:focus::placeholder { color: rgba(11, 37, 30, .4); }
.c-form__input.is-error { border-color: #e7a59a; }

.c-form__error {
  margin-top: 8px;
  font-family: var(--ff-mincho);
  font-size: 13px;
  line-height: 1.6;
  color: #ffd8cf;
}
.c-form__alert {
  margin-top: 40px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 216, 207, .6);
  border-radius: 4px;
  font-family: var(--ff-mincho);
  font-size: 14px;
  line-height: 1.8;
  color: #ffe6e0;
  text-align: center;
}

.c-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.c-form__agree {
  margin-top: 69px;
  text-align: center;
  font-family: var(--ff-mincho);
}
.c-form__agree-text { font-size: 12px; line-height: 32px; }
.c-form__agree-text a { text-decoration: underline; text-underline-offset: 3px; }
.c-form__check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: -4px;
  font-size: 14px;
  line-height: 32px;
  cursor: pointer;
}
.c-form__check input {
  position: relative;
  width: 12px;
  height: 12px;
  margin: 0;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.c-form__check input:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 6px;
  height: 3.5px;
  border-left: 1px solid var(--c-green);
  border-bottom: 1px solid var(--c-green);
  transform: rotate(-45deg);
}
.c-form__check input:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }

.c-form__submit-wrap { margin-top: 34px; text-align: center; }
.c-submit {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  font-family: var(--ff-en);
  font-size: 14px;
  line-height: 1;
  letter-spacing: .1em;
  transition: background-color .3s;
}
.c-submit::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
}
.c-submit svg { width: 9px; height: 7px; }
.c-submit:hover { background-color: rgba(255, 255, 255, .2); }

.p-contact__thanks {
  margin-top: 69px;
  font-family: var(--ff-mincho);
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .1em;
  text-align: center;
}
.p-contact__back {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: .2em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   PC：中間幅の調整（1024〜1439px）
   ========================================================================== */
@media (max-width: 1439px) {
  .l-header__logo { left: 40px; }
  .p-fv__logo { left: 40px; font-size: 60px; top: 786px; }
  .p-fv__logo-line::after { top: 40px; width: 80px; }
  .p-fv__copy { left: 470px; }
  .p-fv__scroll { right: 40px; }
  .l-nav { right: 40px; }
  .l-nav, .l-nav__list { gap: 32px; }
  .l-footer { padding-inline: 30px; }
  .l-footer__nav { margin-left: 60px; }
}

/* ==========================================================================
   SP（1023px以下）
   ========================================================================== */
@media (max-width: 1023px) {
  .u-sp { display: inline; }
  .u-pc { display: none; }

  .l-inner { width: min(100%, 520px); }

  /* Header */
  .l-header {
    position: relative;
    height: var(--header-h-sp);
    background: var(--noise), var(--c-green);
  }
  .l-header__logo { top: 23px; left: 20px; }

  .l-nav {
    top: 30px;
    right: 10px;
    gap: 10px;
    padding: 9px;
    border-radius: 35px;
  }
  .is-scrolled .l-nav,
  .l-header--glass .l-nav {
    top: 30px;
    right: 10px;
    padding: 9px;
  }
  /* SPはスクロールするまでピルの背景なし */
  body:not(.is-scrolled) .l-header--glass .l-nav {
    background-color: transparent;
    border-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .l-nav__list { display: none; }
  .l-nav__menu-btn {
    display: block;
    width: 50px;
    height: 50px;
    color: var(--c-gold);
  }
  .l-nav__menu-btn svg { width: 100%; height: 100%; fill: currentColor; }

  /* SP Menu */
  .l-sp-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    background: rgba(11, 37, 30, .6);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility 0s .4s;
  }
  .l-sp-menu.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s, visibility 0s;
  }
  .l-sp-menu__close {
    display: block;
    width: 24px;
    height: 24px;
    color: var(--c-white);
  }
  .l-sp-menu__close svg { width: 100%; height: 100%; }
  .l-sp-menu__close--top { position: absolute; top: 53px; right: 33px; }
  .l-sp-menu__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 179px;
  }
  .l-sp-menu__list { display: grid; gap: 45px; text-align: center; }
  .l-sp-menu__list a {
    font-family: var(--ff-en);
    font-size: 18px;
    line-height: 1;
    letter-spacing: .2em;
  }
  .l-sp-menu .c-mail-btn { margin-top: 48px; }
  .l-sp-menu__body .l-sp-menu__close { margin-top: 80px; }

  /* Components */
  .c-title { padding-left: 20px; }
  .c-title__en { font-size: 40px; }
  .c-title__ja { margin-top: 22px; }
  .c-text-ja { line-height: 26px; letter-spacing: .16em; }
  .c-text-en { line-height: 14px; letter-spacing: .1em; }
  .c-text-ja + .c-text-en { margin-top: 30px; }

  .c-circle-btn { width: 66px; height: 66px; }
  .c-circle-link {
    flex-direction: column;
    gap: 4px;
  }
  .c-circle-link__label { line-height: 16px; text-align: center; }

  /* FV */
  .p-fv { height: 440px; }
  .p-fv__media { inset: 0 0 auto; height: 240px; border-radius: 0; }
  .p-fv__logo { top: 158px; left: 20px; font-size: 50px; }
  .p-fv__logo-line::after { top: 34px; left: calc(100% + 3px); width: 83px; background: rgba(255, 255, 255, .8); }
  .p-fv__copy { top: 281px; left: 13px; font-size: 18px; line-height: 36px; }
  .p-fv__scroll { top: 281px; right: 20px; }

  /* About */
  .p-about { padding: 34px 0 60px; }
  .p-about__body { margin-top: 58px; min-height: 0; }
  .p-about__collage {
    position: relative;
    aspect-ratio: 390 / 387;
  }
  .p-about__collage .p-about__img--03,
  .p-about__collage .p-about__img--04,
  .p-about__deco { display: none; }
  .p-about__img--01 { left: 5.128%;  top: 0;       width: 69.231%; }
  .p-about__img--02 { left: 63.846%; top: 29.716%; width: 30.769%; }
  .p-about__circles { left: 11.538%; top: 31.008%; width: 128.205%; max-width: none; }
  .p-about__illust  { left: 94.872%; top: 76.227%; width: 56.41%;  max-width: none; }
  .p-about__catch   { left: 10%;     top: 63.049%; }
  .p-about__catch-ja { font-size: 26px; line-height: 40px; }
  .p-about__catch-en { margin-top: 20px; line-height: 14px; letter-spacing: .1em; }
  .p-about__text {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 40px;
  }
  .p-about__img--sp { position: static; display: block; }
  .p-about__img--03.p-about__img--sp { width: 83.846%; margin: 40px 0 0 40px; }
  .p-about__img--04.p-about__img--sp { width: 54.872%; margin: 10px 0 0 20px; }

  /* Service */
  .p-service { padding: 34px 0 60px; }
  .p-service__inner { display: block; }
  .p-service__ja,
  .p-service__en { padding: 0 40px; }
  .p-service__ja { margin-top: 50px; }
  .c-text-ja + .c-text-en.p-service__en { margin-top: 30px; }
  .p-service__line { display: none; }

  /* Service detail */
  .p-service-detail { min-height: 604px; padding: 120px 0 112px; display: flex; align-items: center; }
  .p-service-detail::before { height: 80px; }
  .p-service-detail__inner { display: block; width: 100%; }
  .p-service-detail__photos { display: none; }
  .p-service-detail__texts { padding: 0 40px; }
  .p-service-detail__controls { margin-top: 40px; }
  .p-service-detail__progress { width: 80px; }
  .c-slide-btn { width: 48px; height: 48px; }
  .p-service-detail__ttl { margin-top: 18px; font-size: 26px; line-height: 40px; }
  .p-service-detail__en { margin-top: 3px; }
  .p-service-detail__body { margin-top: 17px; }

  /* News */
  .p-news { padding: 94px 0 60px; }
  .p-news__inner { display: block; }
  .p-news__list { margin: 53px 40px 0; }
  .p-news__item {
    display: block;
    padding-bottom: 23px;
  }
  .p-news__item + .p-news__item { margin-top: 25px; }
  .p-news__ttl { margin-top: 7px; }
  .p-news__item:last-child { border-bottom: 0; padding-bottom: 0; }

  /* Company */
  .p-company { padding: 34px 0 60px; }
  .p-company__inner { display: block; }
  .p-company__table { margin: 47px 40px 0; }
  .p-company__table::before { display: none; }
  .p-company__row {
    display: block;
    padding-bottom: 19px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
  }
  .p-company__row + .p-company__row { margin-top: 19px; }
  .p-company__row:last-child { border-bottom: 0; padding-bottom: 0; }
  .p-company__row dd { margin-top: -2px; }
  .p-company__map { margin: 29px 40px 0; aspect-ratio: 310 / 240; }

  /* Footer */
  .l-footer { padding: 40px 20px 20px; }
  .l-footer__box {
    display: block;
    max-width: 520px;
    height: 371px;
    margin-inline: auto;
    padding: 0;
  }
  .l-footer__logo {
    position: absolute;
    top: 55px;
    left: 40px;
    font-size: 16px;
    line-height: 26px;
  }
  .l-footer__nav {
    position: absolute;
    top: 51px;
    right: 40px;
    flex-direction: column;
    gap: 12px;
    margin: 0;
  }
  .l-footer__list { flex-direction: column; gap: 12px; text-align: center; }
  .l-footer__list a { display: block; }
  .l-footer__top { position: absolute; top: 233px; left: 40px; margin: 0; }
  .l-footer__box::after { top: 302px; left: 20px; right: 20px; }
  .l-footer__top { z-index: 1; }
  .l-footer__copy { top: 323px; right: 20px; }

  /* Contact */
  .page-contact .l-header { background: var(--noise), var(--c-green); }
  .p-contact { padding: 44px 0 60px; }
  .p-contact__inner { width: auto; max-width: 520px; padding: 0 40px; }
  .p-contact__title-en { font-size: 40px; }
  .p-contact__title-ja { margin-top: 22px; }
  .p-contact__divider { margin-top: 39px; }
  .c-form { margin-top: 28px; }
  .c-form__field + .c-form__field { margin-top: 40px; }
  .c-form__label { line-height: 30px; }
  .c-form__controls { margin-top: 0; }
  .c-form__controls--name { grid-template-columns: 1fr; gap: 10px; }
  .c-form__agree { margin-top: 48px; }
  .c-form__submit-wrap { margin-top: 40px; }
  .p-contact__thanks { margin-top: 40px; font-size: 15px; }
}

@media (max-width: 374px) {
  .p-fv__logo { font-size: 44px; }
  .p-fv__logo-line::after { width: 60px; }
  .p-fv__copy { font-size: 16px; }
}

/* Contact：フッター上の余白はフォーム側で確保 */
.page-contact .l-footer { padding-top: 0; }
@media (max-width: 1023px) {
  .page-contact .l-footer { padding-top: 40px; }
}
body.is-menu-open .l-nav { visibility: hidden; }

/* 会社概要：メールアドレスを途中で改行させない */
.p-company__row a { white-space: nowrap; letter-spacing: .1em; transition: opacity .3s; }
.p-company__row a:hover { opacity: .7; }
@media (min-width: 1024px) and (max-width: 1439px) {
  .p-company__row { grid-template-columns: 110px 1fr; }
  .p-company__table::before { left: 75px; }
}

/* ==========================================================================
   お問い合わせモーダル
   ========================================================================== */
body.is-modal-open { overflow: hidden; }

.c-modal {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 60px 20px;
  border: 0;
  background: transparent;
  color: var(--c-white);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.c-modal[open] { display: grid; justify-items: center; align-items: start; }
.c-modal::backdrop {
  background: rgba(11, 37, 30, .6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.c-modal__panel {
  position: relative;
  width: min(1000px, 100%);
  padding: 100px 100px 90px;
  border-radius: 20px;
  background: var(--noise), linear-gradient(180deg, var(--c-green) 0%, var(--c-brown) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.c-modal[open] .c-modal__panel { animation: modal-in .45s var(--ease); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.c-modal__close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 24px;
  height: 24px;
  color: var(--c-white);
  transition: opacity .3s;
}
.c-modal__close svg { width: 100%; height: 100%; }
.c-modal__close:hover { opacity: .6; }

.c-modal .p-contact__title-en { font-size: 46px; }
.c-modal .p-contact__title-ja { margin-top: 26px; }
.c-modal .p-contact__divider { margin-top: 50px; }
.c-modal .c-form { margin-top: 50px; }
.c-modal .c-form__alert { margin-top: 40px; }
.c-modal .p-contact__thanks { margin-top: 50px; }

.c-submit[disabled] { opacity: .6; cursor: wait; }

@media (max-width: 1023px) {
  .c-modal { padding: 20px 10px; }
  .c-modal__panel { padding: 70px 30px 50px; }
  .c-modal__close { top: 24px; right: 24px; }
  .c-modal .p-contact__title-en { font-size: 40px; }
  .c-modal .p-contact__title-ja { margin-top: 22px; }
  .c-modal .p-contact__divider { margin-top: 39px; }
  .c-modal .c-form { margin-top: 28px; }
}
