:root{
  --bg: #fbfbfb;
  --grid: rgba(20, 20, 20, .06);
  --text: #222;
  --muted: #666;

  --green: #2ea66a;
  --green-d: #218a55;

  --cream: #f5efd2;
  --shadow: 0 14px 30px rgba(0,0,0,.08);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --container: 920px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin:0;
  font-family: "Zen Maru Gothic", system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}


/* 背景グリッド */
.bg-grid{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .7;
  z-index: 0;
}

/* 背景ブロブ（bg-gridと同じ固定レイヤー） */
.bg-blobs{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;

  /* 画面下に向かってフェード＝「少し残る」感じ */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 68%, transparent 100%);
}

.bg-blobs .blob{
  position: absolute;
  will-change: transform;
}

/* 背景ブロブの配置と動き */
.blob--bg-left{
  width: 420px;
  left: -180px;
  top: 160px;
  opacity: .32;
  animation: blobFloatLeft 8s ease-in-out infinite;
}

.blob--bg-right{
  width: 360px;
  right: -200px;
  top: 240px;
  opacity: .22;
  animation: blobFloatRight 6s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes blobFloatLeft{
  0%,100%{ transform: translate3d(0, 0, 0); }
  50%    { transform: translate3d(-6px, 22px, 0); }
}

@keyframes blobFloatRight{
  0%,100%{ transform: translate3d(0, 12px, 0); }
  50%    { transform: translate3d(6px, 0, 0); }
}
/* スクロール追従用：JSが --parX / --parY を入れる */
.bg-blobs{
  --parX: 0px;
  --parY: 0px;
}

/* 画像ブロブの最終変形：ベースの揺れ + スクロール分 */
.blob--bg-left{
  transform: translate3d(calc(var(--parX) * 1), calc(var(--parY) * 1), 0);
}

.blob--bg-right{
  transform: translate3d(calc(var(--parX) * -1), calc(var(--parY) * 0.6), 0);
}
.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* 背景 → コンテンツ の順序を固定 */
.header, .main{ position: relative; z-index: 2; }

/* HEADER */
/* HEADER typography（英字だけFutura系） */
.header,
.header .nav__link,
.header .logo{
  font-family: Futura, "Futura PT", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .12em;
}

.header{
  position: sticky;
  top: 0;
  z-index: 20; /* ヘッダーは最前面 */
  backdrop-filter: blur(8px);
  background: rgba(251,251,251,.8);
}
.header__inner{
  height: 76px;
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.logo img{ height: 18px; display:block; }

.nav{
  display:flex;
  align-items:center;
  gap: 22px;
}
.nav__link{
  font-size: 12px;
  letter-spacing: .08em;
  color: #333;
  text-decoration: none;
}
.nav__link:hover{ opacity: .7; }

.mailbtn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  text-decoration:none;
  font-size: 12px;
  letter-spacing: .05em;
  box-shadow: 0 8px 16px rgba(46,166,106,.18);
}
.mailbtn:hover{ background: var(--green-d); }
.mailbtn__icon{ transform: translateY(-1px); }

/* MAIN spacing */
.main{ padding-bottom: 40px; }

/* HERO */
.hero{ padding: 18px 0 36px; }

.hero__wrap{
  position: relative;
}

.hero__card{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd;
}

.hero__img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display:block;
}

.hero__copy{
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.hero__copy img{
  width: 240px;
  height: auto;
  display: block;

  opacity: 0;
  transform: translateX(-8px) scale(0.98);
  animation: heroLogoIn 3000ms cubic-bezier(.2,.8,.2,1) 200ms forwards;
}

@keyframes heroLogoIn{
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* SECTION */
.section{
  padding: 46px 0;
}
.section--center{
  text-align: center;
}
.section__label{
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 28px;
}
.section__cta{ margin-top: 18px; }

/* ABOUT text */
.about__lead{ margin: 0; 
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}
.about__text{
  margin: 10px 0 0;
  font-size: 14px;
  color: #333;
}
.about__logo{
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 6px;
}

.about__logo img{
  height: 18px;   /* ここで大きさ調整 */
  width: auto;
  display: block;
}

/* pill button */
.pillbtn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green);
  color:#fff;
  text-decoration:none;
  font-size: 12px;
  letter-spacing: .05em;
  box-shadow: 0 10px 18px rgba(46,166,106,.16);
}
.pillbtn:hover{ background: var(--green-d); }
.pillbtn__arrow{
  width: 20px;
  height: 20px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 18px;
  line-height: 1;
}

/* SERVICE */
.service__brand{
  margin-top: 10px;
}

.service__brandLogo{
  height: 42px;      /* ← まずはこのくらい */
  width: auto;
  display: block;
  margin: 0 auto;    /* センター配置 */
}

.service__desc{
  margin: 10px 0 0;
  font-size: 14px;
  color: #333;
}
.service__desc mark{
  background: rgba(255, 231, 76, .55);
  padding: 0 .25em;
}

/* 黄色い箱 */
.serviceBox{
  width: min(760px, 100%);
  margin: 26px auto 0;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 26px rgba(0,0,0,.12);
  padding: 32px 32px 26px;
}
.serviceBox__cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;              /* 少し広げると安定 */
  align-items: start;     /* ← これが重要 */
}

.serviceBox__title{
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
}
.serviceBox__list{
  margin: 0;
  padding-left: 0;
  list-style: none;

  font-size: 13px;
  line-height: 2.0;
  text-align: left;

  /* ここがポイント */
  padding-left: 100px;     /* ← 内側にちょっとだけ */
}

.serviceBox__list li::before{
  content: "✓";
  margin-right: 6px;
  color: var(--green);
  font-size: 12px;
}

.serviceBox__col{
  display: flex;
  flex-direction: column;
}


.serviceBox__footer{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.serviceBox__footer .pillbtn{
  grid-column: 2;
  justify-self: center;
}

.serviceBox__note{
  grid-column: 3;
  justify-self: end;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}


.serviceBox__note{
  margin: 0;
  font-size: 9px;
  color: var(--muted);
}

/* ===== 自動横スクロール ===== */
.autoScroller{
  overflow: hidden;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.autoScroller__track{
  display: flex;
  gap: 16px;
  width: max-content;
  animation: autoScroll 80s linear infinite;
}

.autoCard{
  width: 260px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.autoCard img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes autoScroll{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* CONTACT green box */
.contactBox{
  width: min(760px, 100%);
  margin: 0 auto;
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 22px 22px 26px;
  box-shadow: 0 22px 34px rgba(46,166,106,.20);
}
.contactBox__title{
  margin: 0 0 14px;
  text-align:center;
  color:#fff;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 14px;
}

/* Form rows */
.form{
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.form__row{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items:center;
}
.form__row--textarea{ align-items: start; }

.form__label{
  color:#eafff3;
  font-size: 12px;
  letter-spacing: .02em;
  text-align: left;
  white-space: nowrap;
}

.form__input, .form__textarea{
  width: 100%;
  border: none;
  outline: none;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
}
.form__textarea{
  height: 160px;
  resize: vertical;
  padding-top: 12px;
}
.form__actions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.form__actions .pillbtn{
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: none;
}




.footer{
  margin-top: 40px;
  padding: 18px 0 26px;
  background: rgba(255,255,255,.65);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items:center;
}
.footer__copy{
  color: var(--muted);
  font-size: 11px;
}
.footer__links{
  display:flex;
  gap: 18px;
}
.footer__links a{
  font-size: 11px;
  color: #444;
  text-decoration:none;
}
.footer__links a:hover{ opacity:.7; }
.footer__logo img{ height: 14px; display:block; }

/* Responsive */
@media (max-width: 820px){
  .hero__img{ height: 280px; }
  .serviceBox__cols{ grid-template-columns: 1fr; }
  .form__row{ grid-template-columns: 1fr; }
  .form__label{ white-space: normal; }
  .footer__inner{ grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 520px){
  .nav{ gap: 12px; }
  .nav__link{ display:none; }
  .mailbtn{ padding: 10px 14px; }

  .hero__copy{ left: 18px; top: 50%; transform: translateY(-50%); }
}

/* ===== Coming Soon ===== */
.coming{
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.coming__label{
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--green);
  font-weight: 700;
}

.coming__title{
  margin: 0;
  font-size: 24px;
  letter-spacing: .04em;
}

.coming__text{
  margin: 14px 0 22px;
  font-size: 14px;
  line-height: 2.0;
  color: #333;
}
