@charset "UTF-8";

/* =========================================================
   井戸造園 — 全ページ共通スタイル
   Base : #e5e5ff / やさしい青 / 自然の緑
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #e5e5ff;
  --bg-deep: #d9d9fb;
  --surface: #ffffff;
  --surface-blue: #eef3fd;
  --surface-green: #eef7ec;

  --blue: #5c8fd6;
  --blue-deep: #3f6fb5;
  --blue-pale: #a9c6ec;
  --blue-mist: #cfdff5;

  --green: #6aab63;
  --green-deep: #2f5f47;
  --green-dark: #244b39;

  --ink: #223a52;
  --ink-soft: #5a6f96;
  --ink-mute: #8189bd;

  --line: #d3d3f0;
  --line-blue: #c4d8f2;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 24px;
  --radius-pill: 999px;

  --shadow-s: 0 2px 10px rgba(60, 70, 150, 0.08);
  --shadow: 0 8px 28px rgba(60, 70, 150, 0.12);
  --shadow-l: 0 18px 48px rgba(45, 55, 130, 0.16);

  --container: 1120px;
  --header-h: 128px;
  --header-h-sm: 64px;

  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic",
    sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Outfit", "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-deep);
  text-decoration: none;
  transition: color 0.3s var(--ease-soft), opacity 0.3s var(--ease-soft);
}

a:hover {
  color: var(--green-deep);
}

ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 88px;
  position: relative;
}

.section--tight {
  padding-block: 64px;
}

.section--white {
  background: var(--surface);
}

/* ---------- Logo frame (枠のみ / 差し替え前提) ---------- */
/* ヘッダー・ローダーはシンボルマークのみ、フッターはロゴ全体を使う */
.site-logo__mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.5s var(--ease-soft);
}

.loader__img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

/* 深緑のフッター上では白のシルエットにして視認性を確保 */
.footer__logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo:hover .site-logo__mark {
  transform: scale(1.06);
}

.site-logo__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  line-height: 1.3;
  white-space: nowrap;
}

.site-logo__name span {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--bg);
  transition: opacity 0.7s var(--ease-soft), visibility 0.7s var(--ease-soft);
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader__logo {
  animation: loader-breathe 2.6s var(--ease-soft) infinite;
}

.loader__bar {
  width: 180px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(92, 143, 214, 0.22);
  overflow: hidden;
}

.loader__bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  animation: loader-slide 1.5s var(--ease-soft) infinite;
}

.loader__text {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
}

@keyframes loader-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.02);
  }
}

@keyframes loader-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease-soft);
}

.header.is-stuck {
  box-shadow: var(--shadow-s);
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__tel {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-en);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.header__tel svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.header__tel small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.header__line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(106, 171, 99, 0.34);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft),
    background 0.3s var(--ease-soft);
}

.header__line:hover {
  color: #fff;
  background: #5e9b57;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106, 171, 99, 0.42);
}

.header__line svg {
  width: 16px;
  height: 16px;
}

/* ---------- Global nav ---------- */
.gnav {
  border-top: 1px solid var(--line);
}

.gnav__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.gnav__item {
  border-right: 1px solid var(--line);
}

.gnav__item:first-child {
  border-left: 1px solid var(--line);
}

.gnav__link {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 12px 6px 13px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}

.gnav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 0.4s var(--ease-soft);
}

.gnav__link:hover {
  background: var(--surface-blue);
  color: var(--blue-deep);
}

.gnav__link:hover::after,
.gnav__link[aria-current="page"]::after {
  width: 100%;
}

.gnav__link[aria-current="page"] {
  color: var(--blue-deep);
  background: var(--surface-blue);
}

.gnav__icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
  transition: transform 0.4s var(--ease-soft);
}

.gnav__link:hover .gnav__icon {
  transform: translateY(-2px);
}

.gnav__en {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

/* ---------- Drawer (mobile) ---------- */
.drawer-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  position: relative;
  background: var(--surface-blue);
}

.drawer-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-soft), opacity 0.3s var(--ease-soft);
}

.drawer-toggle span:nth-child(1) {
  top: 15px;
}
.drawer-toggle span:nth-child(2) {
  top: 21px;
}
.drawer-toggle span:nth-child(3) {
  top: 27px;
}

.drawer-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.drawer-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.drawer-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft),
    background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--line {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(106, 171, 99, 0.34);
}

.btn--line:hover {
  background: #5e9b57;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(106, 171, 99, 0.42);
}

.btn--mail {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(92, 143, 214, 0.32);
}

.btn--mail:hover {
  background: var(--blue-deep);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(92, 143, 214, 0.4);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line-blue);
}

.btn--ghost:hover {
  color: var(--blue-deep);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-s);
}

/* ---------- Section heading ---------- */
.heading {
  display: grid;
  gap: 8px;
  margin-bottom: 44px;
}

.heading--center {
  justify-items: center;
  text-align: center;
}

.heading__en {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--blue-deep);
}

.heading__en::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

.heading__ja {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.heading__lead {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 44em;
}

/* ---------- Image placeholder (写真差し替え用の枠) ---------- */
.ph {
  position: relative;
  display: grid;
  place-content: center;
  border: 2px dashed var(--blue-pale);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f4f7fd 0%, #eaf1fb 100%);
  color: var(--ink-mute);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  overflow: hidden;
}

.ph::after {
  content: attr(data-label);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.ph--4x3 {
  aspect-ratio: 4 / 3;
}

.ph--16x9 {
  aspect-ratio: 16 / 9;
}

.ph--1x1 {
  aspect-ratio: 1 / 1;
}

/* ---------- Image frame (実写真の配置枠) ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f4f7fd 0%, #eaf1fb 100%);
}

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

/* 地図埋め込み（Googleマップの iframe）も同じ枠に収める */
.media > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--16x9 {
  aspect-ratio: 16 / 9;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

/* 白背景の切り抜き素材向け。トリミングせず全体を収める */
.media--contain {
  background: #fff;
  border: 1px solid var(--line);
}

.media--contain > img {
  object-fit: contain;
}

/* ---------- Page hero (下層ページ) ---------- */
.page-hero {
  position: relative;
  padding-block: 66px 74px;
  background: linear-gradient(180deg, #edf1fe 0%, var(--bg) 100%);
  overflow: hidden;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.page-hero__en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--blue-deep);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.page-hero__leaf {
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 260px;
  color: rgba(106, 171, 99, 0.16);
  animation: sway 11s ease-in-out infinite;
  transform-origin: 80% 100%;
}

/* ---------- Breadcrumb ---------- */
.crumb {
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.crumb__list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--ink-mute);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  padding-block: 76px;
  background: linear-gradient(135deg, var(--green-deep) 0%, #3c7358 100%);
  color: #fff;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.cta__en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.7);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta__lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  max-width: 40em;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.cta__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.cta .btn--line {
  background: #fff;
  color: var(--green-deep);
}

.cta .btn--line:hover {
  background: #f0fbee;
  color: var(--green-deep);
}

.cta .btn--mail {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: none;
}

.cta .btn--mail:hover {
  background: rgba(255, 255, 255, 0.24);
}

.cta__leaf {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 240px;
  color: rgba(255, 255, 255, 0.07);
  animation: sway 13s ease-in-out infinite;
  transform-origin: 50% 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 60px 48px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding-left: 14px;
}

.footer__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}

.footer__links a:hover {
  color: #fff;
}

.footer__links a:hover::before {
  background: #fff;
  transform: translateX(3px);
}

.footer__brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer__address {
  font-style: normal;
  line-height: 2;
  color: rgba(255, 255, 255, 0.76);
}

.footer__address a {
  color: rgba(255, 255, 255, 0.9);
}

.footer__sns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  justify-self: start;
  transition: background 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}

.footer__sns:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.footer__sns svg {
  width: 15px;
  height: 15px;
}

.footer__copy {
  padding-block: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-en);
}

/* ---------- Page top ---------- */
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  place-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--blue-deep);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft),
    visibility 0.4s var(--ease-soft);
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover {
  transform: translateY(-4px);
  color: var(--green-deep);
}

.pagetop svg {
  width: 18px;
  height: 18px;
}

/* ---------- Ambient motion ---------- */
@keyframes sway {
  0%,
  100% {
    transform: rotate(-2.5deg);
  }
  50% {
    transform: rotate(2.5deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .section {
    padding-block: 62px;
  }

  .header__top {
    padding-block: 10px;
  }

  .header__contact {
    gap: 10px;
  }

  .header__tel {
    display: none;
  }

  .header__line {
    padding: 9px 16px;
    font-size: 13px;
  }

  .drawer-toggle {
    display: block;
  }

  /* ヘッダーの直下から開くドロワー */
  .gnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h-sm));
    overflow-y: auto;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-soft),
      visibility 0.4s var(--ease-soft);
  }

  .gnav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .gnav__list {
    grid-template-columns: 1fr;
  }

  .gnav__item,
  .gnav__item:first-child {
    border: none;
    border-bottom: 1px solid var(--line);
  }

  .gnav__link {
    grid-template-columns: 24px 1fr;
    justify-items: start;
    align-items: center;
    gap: 4px 12px;
    padding: 16px 20px;
    font-size: 15px;
  }

  .gnav__icon {
    grid-row: span 2;
  }

  .gnav__link::after {
    display: none;
  }

  .site-logo__name {
    font-size: 17px;
  }

  .site-logo__mark {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  /* 狭い画面ではロゴ枠・LINEボタンを詰めて1行に収める */
  .site-logo {
    gap: 8px;
  }

  .site-logo__mark {
    width: 34px;
    height: 34px;
  }

  .site-logo__name {
    font-size: 15px;
  }

  .site-logo__name span {
    font-size: 8px;
  }

  .header__line {
    padding: 8px 13px;
    font-size: 12px;
  }

  .header__line svg {
    width: 14px;
    height: 14px;
  }

  .drawer-toggle {
    width: 40px;
    height: 40px;
  }

  .drawer-toggle span {
    left: 10px;
  }

  .heading {
    margin-bottom: 32px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    padding-block: 44px 36px;
  }

  .cta {
    padding-block: 56px;
  }

  .cta__actions {
    width: 100%;
    flex-direction: column;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .page-hero__leaf {
    width: 170px;
  }
}

/* =========================================================
   Polish layer — 質感・動きの洗練（構造は変えず上乗せ）
   ※ 下部の prefers-reduced-motion 一括無効化がこの層にも効きます
   ========================================================= */

/* 背景の微細なドットテクスチャ（やさしい青の上に自然な奥行き） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(92, 143, 214, 0.05) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(
    120% 100% at 50% 0%,
    #000 55%,
    transparent 100%
  );
}

/* スクロール進捗バー（common.js が要素を挿入） */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 0 10px rgba(92, 143, 214, 0.45);
  transition: width 0.1s linear;
  will-change: width;
}

/* ページ読み込み後のやわらかな立ち上がり */
body.is-ready main > *:first-child {
  animation: page-rise 0.9s var(--ease-soft) both;
}

@keyframes page-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 写真枠・地図枠のシマー（素材差し替え前でも生きた印象に） */
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 68%
  );
  transform: translateX(-100%);
  animation: ph-shimmer 4.2s var(--ease-soft) infinite;
}

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

.ph::after {
  position: relative;
  z-index: 1;
}

/* ボタンの光沢スイープ */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 0;
}

.btn:hover::after {
  animation: btn-sheen 0.85s var(--ease-soft);
}

@keyframes btn-sheen {
  from {
    left: -130%;
  }
  to {
    left: 150%;
  }
}

/* ローダーの葉飾り（呼吸に合わせて淡く回る） */
.loader__bar {
  position: relative;
}

/* ナビのアイコンを現在地でも少し持ち上げる */
.gnav__link[aria-current="page"] .gnav__icon {
  transform: translateY(-2px);
  color: var(--blue-deep);
}

/* 見出しの英字ラベルにかすかな光 */
.heading__en::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-pale);
}

/* リンク下線のなめらかな伸長（本文中リンク） */
.policy__body a:not(.btn),
.message__body a:not(.btn) {
  background-image: linear-gradient(var(--blue), var(--blue));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.4s var(--ease-soft), color 0.3s var(--ease-soft);
}

.policy__body a:not(.btn):hover,
.message__body a:not(.btn):hover {
  background-size: 100% 1px;
}

/* CTA・フッターの上辺にやわらかなハイライト */
.cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

/* pagetop をブランドカラーのリングに */
.pagetop {
  border: 1px solid var(--line-blue);
}

.pagetop:hover {
  box-shadow: var(--shadow-l);
  border-color: var(--green);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
