@charset "UTF-8";
/* =========================================================
   サカシタ電装 / TOPページ専用スタイル
   ========================================================= */

/* ---------------------------------------------------------
   ヒーロー
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: var(--header-h);
  background: linear-gradient(168deg, #f3f8f2 0%, #fdfdfb 58%, #ffffff 100%);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob {
  position: absolute;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  animation: blob 20s ease-in-out infinite;
}
.hero__blob--1 {
  width: 420px; height: 420px;
  left: -160px; top: 12%;
  background: rgba(156, 199, 168, .22);
}
.hero__blob--2 {
  width: 240px; height: 240px;
  left: 34%; bottom: 12%;
  background: rgba(228, 240, 230, .8);
  animation-delay: -8s;
}

/* --- コピー --- */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(80vh, 780px);
  padding: clamp(40px, 5vw, 72px) 0 clamp(84px, 9vw, 128px);
}
.hero__copy { max-width: min(580px, calc(44vw - 40px)); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px 7px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  color: var(--forest);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
}
.hero__eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 4px rgba(67, 135, 90, .16);
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(27px, 3.1vw, 45px);
  line-height: 1.44;
  color: var(--forest-deep);
  letter-spacing: 0;
}

.hero__lead {
  margin-top: 26px;
  color: var(--ink-sub);
  font-size: var(--fs-lead);
  line-height: 2.1;
}

.hero__badges {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 17px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-size: 12.5px;
  font-weight: 700;
}
.hero__badges li::before {
  content: "";
  width: 5px; height: 9px;
  margin-top: -3px;
  border-right: 2px solid var(--leaf);
  border-bottom: 2px solid var(--leaf);
  transform: rotate(42deg);
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__tel {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-mute);
}
.hero__tel a {
  font-family: var(--font-en);
  font-size: 23px;
  font-weight: 600;
  color: var(--forest-deep);
  margin: 0 8px;
  letter-spacing: .02em;
}
.hero__tel a:hover { color: var(--leaf); }

/* --- ビジュアル（右側に張り出す） --- */
.hero__visual {
  position: absolute;
  top: calc(var(--header-h) + 22px);
  right: 0;
  bottom: 84px;
  width: 48%;
  z-index: 1;
}
/* 写真の枠。画像未設定でも枠として見えるよう背景を敷いている */
.hero__photo {
  position: relative;
  height: 100%;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--mint) 0%, #eef5ee 100%);
  box-shadow: var(--shadow-l);
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 横位置の写真を縦長の枠に収めるため、手元が切れないよう左寄りでトリミング */
  object-position: 35% center;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.02);
}

.hero__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-m);
  animation: float 5.5s ease-in-out infinite;
}
.hero__chip--1 { left: -34px; top: 12%; }
.hero__chip--2 { left: -18px; bottom: 12%; animation-delay: -2.6s; }

.hero__chip-num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: var(--forest);
}
.hero__chip-label {
  font-family: var(--font-round);
  font-size: 13px;
  font-weight: 700;
  color: var(--forest-deep);
  white-space: nowrap;
}
.hero__chip-icon {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
}
.hero__chip-icon svg { width: 17px; height: 17px; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- スクロールの合図 --- */
.scroll-cue {
  position: absolute;
  left: 0; bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-mute);
}
.scroll-cue__text {
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.scroll-cue__line {
  position: relative;
  width: 62px; height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--forest);
  animation: cue 2.4s var(--ease-inout) infinite;
}
.scroll-cue:hover { color: var(--forest); }

@keyframes cue {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* --- 対応エリアの流れる帯 --- */
.hero__marquee {
  position: relative;
  z-index: 2;
  padding: 15px 0;
  background: var(--forest);
  color: #fff;
  overflow: hidden;
}
.hero__marquee-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.hero__marquee-track span {
  font-family: var(--font-round);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .14em;
  white-space: nowrap;
  opacity: .92;
}
.hero__marquee-track span::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 42px;
  border-radius: 50%;
  background: var(--moss);
  vertical-align: middle;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .hero { padding-top: 0; }
  .hero__visual {
    /* チップの位置基準を保つため relative に切り替える */
    position: relative;
    top: auto; right: auto; bottom: auto;
    width: auto;
    margin-top: var(--header-h);
    padding-left: var(--gutter);
  }
  .hero__photo {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-l) 0 0 var(--radius-l);
  }
  .hero__inner {
    min-height: 0;
    padding: clamp(30px, 5vw, 48px) 0 clamp(60px, 8vw, 84px);
  }
  .hero__copy { max-width: none; }
  .hero__chip--1 { left: 6px; top: auto; bottom: -22px; }
  .hero__chip--2 { left: auto; right: 16px; bottom: -22px; }
  .hero__blob--1 { left: -180px; top: 40%; }
  .scroll-cue { display: none; }
}

@media (max-width: 560px) {
  .hero__chip { padding: 10px 16px; gap: 8px; }
  .hero__chip-num { font-size: 24px; }
  .hero__chip-label { font-size: 11px; }
  .hero__chip--1 { left: 4px; }
  .hero__chip--2 { right: 8px; }
  .hero__actions .btn { width: 100%; }
  .hero__photo { aspect-ratio: 16 / 11; }
}

/* ---------------------------------------------------------
   選ばれる理由
   --------------------------------------------------------- */
.reason { overflow: hidden; }
.reason__label { right: 24px; top: 18%; }

.reason__head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 54px);
}
.reason__head .sec-head { margin-bottom: 0; }
.reason__note {
  font-size: var(--fs-body);
  color: var(--ink-sub);
  padding-left: 24px;
  border-left: 2px solid var(--mint);
}

.reason__list { border-top: 1px solid var(--line); }
.reason__item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(28px, 3.2vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--ease);
}
.reason__item::before {
  content: "";
  position: absolute;
  inset: 0 -28px;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--mint-soft);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease);
}
.reason__item:hover { padding-left: 18px; }
.reason__item:hover::before { transform: scaleX(1); }

.reason__num {
  font-family: var(--font-en);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
  line-height: 1;
  color: var(--line-strong);
  transition: color .45s var(--ease);
}
.reason__item:hover .reason__num { color: var(--leaf); }

.reason__title {
  font-size: var(--fs-h3);
  color: var(--forest-deep);
}
.reason__text {
  margin-top: 12px;
  font-size: var(--fs-body);
  color: var(--ink-sub);
}

.reason__ico {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--forest);
  flex: none;
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .55s var(--ease);
}
.reason__ico svg { width: 30px; height: 30px; }
.reason__item:hover .reason__ico {
  background: var(--forest);
  color: #fff;
  transform: rotate(-7deg) scale(1.05);
}

@media (max-width: 900px) {
  .reason__head { grid-template-columns: 1fr; align-items: start; }
  .reason__note { padding-left: 18px; }
  .reason__item { grid-template-columns: auto 1fr; }
  .reason__ico { display: none; }
  .reason__item:hover { padding-left: 10px; }
}
@media (max-width: 560px) {
  .reason__item { grid-template-columns: 1fr; gap: 10px; }
  .reason__num { font-size: 34px; }
}

/* ---------------------------------------------------------
   数字で見る
   --------------------------------------------------------- */
.stats {
  position: relative;
  padding: clamp(46px, 5.5vw, 74px) 0;
  background: linear-gradient(140deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M-10 34h44l26 26h50l30-30'/%3E%3Cpath d='M34 -10v44l26 26v50'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.1'%3E%3Ccircle cx='34' cy='34' r='2.6'/%3E%3Ccircle cx='60' cy='60' r='2.6'/%3E%3C/g%3E%3C/svg%3E");
}
.stats .container { position: relative; z-index: 1; }
.stats__title {
  text-align: center;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 30px;
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats__item {
  display: grid;
  justify-items: center;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}
.stats__item:last-child { border-right: 0; }
.stats__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-round);
  color: #fff;
  line-height: 1;
}
.stats__value em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  letter-spacing: .01em;
}
.stats__value i { font-style: normal; font-size: 16px; font-weight: 700; }
.stats__label {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .72);
}

@media (max-width: 700px) {
  .stats__list { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stats__item:nth-child(2n) { border-right: 0; }
}

/* ---------------------------------------------------------
   サービス
   --------------------------------------------------------- */
.service-sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(34px, 4vw, 52px);
}
.service-sec__head .sec-head { margin-bottom: 0; max-width: 42em; }
.service-sec__link { flex: none; padding-bottom: 6px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--mint-soft);
  transform: scale(0);
  transition: transform .6s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
  border-color: var(--moss);
}
.service-card:hover::after { transform: scale(1); }
.service-card > * { position: relative; z-index: 1; }

.service-card__num {
  position: absolute;
  right: 26px; top: 22px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--line-strong);
}
.service-card .icon-circle {
  transition: background-color .45s var(--ease), color .45s var(--ease), transform .55s var(--ease);
}
.service-card:hover .icon-circle { background: var(--forest); color: #fff; transform: rotate(-7deg); }

.service-card__title {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--forest-deep);
}
.service-card__text {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-sub);
}

@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-sec__head { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 620px) {
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------------------------------------------------------
   料金・対応エリア
   --------------------------------------------------------- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.price-card {
  position: relative;
  padding: clamp(30px, 3.2vw, 42px) clamp(24px, 3vw, 34px);
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.price-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-m); border-color: var(--moss); }
.price-card__label {
  font-family: var(--font-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--leaf);
  text-transform: uppercase;
}
.price-card__value {
  margin: 14px 0 10px;
  /* 数字と日本語が混ざるため丸ゴシックで揃える */
  font-family: var(--font-round);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--forest);
}
.price-card__value span {
  font-family: var(--font-round);
  font-size: 15px;
  font-weight: 700;
  margin-left: 4px;
}
.price-card__title {
  font-size: 17px;
  color: var(--forest-deep);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.price-card__text {
  font-size: 14px;
  color: var(--ink-sub);
  text-align: left;
}

/* 対応エリア */
.area-block {
  margin-top: clamp(30px, 4vw, 48px);
  padding: clamp(30px, 4vw, 50px);
  border-radius: var(--radius-l);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.area-block__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 24px;
}
.area-block__title {
  font-size: 21px;
  color: var(--forest-deep);
  position: relative;
  padding-left: 18px;
}
.area-block__title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--leaf);
}
.area-block__text { font-size: 14px; color: var(--ink-sub); }

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-family: var(--font-round);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--forest-deep);
  transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.area-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--leaf);
  transition: background-color .4s var(--ease);
}
.area-list li:hover {
  transform: translateY(-3px);
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.area-list li:hover::before { background: var(--moss); }

.area-block__note {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--ink-sub);
}

@media (max-width: 900px) {
  .price-cards { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   サービスの流れ
   --------------------------------------------------------- */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.flow__line {
  position: absolute;
  top: 11px;
  left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--moss), var(--leaf));
  border-radius: 2px;
}
.flow__item {
  position: relative;
  padding-top: 48px;
  text-align: center;
}
.flow__dot {
  position: absolute;
  left: 50%; top: 4px;
  width: 18px; height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--leaf);
  box-shadow: 0 0 0 6px var(--bg-soft);
}
.flow__step {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--leaf);
  text-transform: uppercase;
}
.flow__title {
  margin-top: 10px;
  font-size: 19px;
  color: var(--forest-deep);
}
.flow__text {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-sub);
  text-align: left;
}

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__line {
    top: 10px; bottom: 30px;
    left: 9px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--moss), var(--leaf));
    transform-origin: center top;
  }
  [data-reveal="line-x"] { scale: 1 0; }
  [data-reveal="line-x"].is-visible { scale: 1 1; }
  .flow__item {
    padding: 0 0 34px 42px;
    text-align: left;
  }
  .flow__item:last-child { padding-bottom: 0; }
  .flow__dot { left: 0; top: 2px; margin-left: 0; box-shadow: 0 0 0 5px var(--bg-soft); }
  .flow__title { margin-top: 6px; }
}

/* ---------------------------------------------------------
   社長の一言（抜粋）
   --------------------------------------------------------- */
.message-sec { overflow: hidden; }
.message-sec__inner {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
}
.message-sec__visual { position: relative; }
.message-sec__photo {
  position: relative;
  z-index: 1;
  border-radius: 200px 200px 26px 26px;
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.message-sec__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.02);
}
.message-sec__deco {
  position: absolute;
  left: -30px; bottom: -30px;
  width: 200px; height: 200px;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: var(--mint);
  animation: blob 17s ease-in-out infinite;
}

.message-sec__title {
  margin-top: 14px;
  margin-bottom: 26px;
  font-size: var(--fs-h2);
  color: var(--forest-deep);
  line-height: 1.6;
}
.message-sec__text {
  margin-bottom: 18px;
  font-size: var(--fs-body);
  color: var(--ink-sub);
}
.message-sec__sign {
  margin: 28px 0 24px;
  font-family: var(--font-round);
  font-size: 16px;
  font-weight: 700;
  color: var(--forest-deep);
  letter-spacing: .1em;
}

@media (max-width: 900px) {
  .message-sec__inner { grid-template-columns: 1fr; }
  .message-sec__visual { max-width: 360px; }
  .message-sec__photo { border-radius: 150px 150px 22px 22px; }
}

/* ---------------------------------------------------------
   FAQ（抜粋）
   --------------------------------------------------------- */
.faq-sec__more { margin-top: 38px; text-align: center; }
