:root {
  --ink: #494d50;
  --muted: #9a9fa3;
  --pale: #f7f7f8;
  --line: #e8eaeb;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  color: #3b3b3b;
  background: rgba(253, 253, 253, .82);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.brand,
.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.global-nav a,
.mobile-contact {
  color: #6b6b6b;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  transition: color .5s ease;
}

.global-nav a:hover {
  color: #3b3b3b;
}

.mobile-contact {
  display: none;
}

body.is-splashing {
  overflow: hidden;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: transparent;
  pointer-events: auto;
}

.splash-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
  opacity: 1;
  transition: opacity .85s ease;
}

.splash-screen.is-fading {
  pointer-events: none;
}

.splash-screen.is-bg-fading::before,
.splash-screen.is-fading::before {
  opacity: 0;
}

.splash-logo {
  position: fixed;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  color: #3b3b3b;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  transition: none;
}

.splash-screen.is-moving .splash-logo {
  opacity: 0;
  transition: none;
}

.splash-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.splash-vector-layer {
  position: fixed;
  inset: 0;
  z-index: 4;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: visible;
}

.splash-vector-layer line {
  stroke: rgb(59, 59, 59);
  stroke-linecap: round;
  fill: none;
}

.splash-drift-line {
  position: fixed;
  left: var(--line-start-x, 50vw);
  top: var(--line-start-y, 50vh);
  z-index: 3;
  width: var(--line-start-width, 80px);
  height: var(--line-height, 5px);
  border-radius: 999px;
  background: rgb(59, 59, 59);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--line-start-rotate, 0deg));
  transform-origin: center;
  transition:
    left 2.85s cubic-bezier(.38, 0, .18, 1),
    top 2.85s cubic-bezier(.38, 0, .18, 1),
    width 2.85s cubic-bezier(.38, 0, .18, 1),
    height 2.85s cubic-bezier(.38, 0, .18, 1),
    transform 2.85s cubic-bezier(.38, 0, .18, 1);
}

.splash-screen.is-handoff .splash-drift-line {
  opacity: var(--line-start-alpha, 1);
}

.splash-screen.is-moving .splash-drift-line {
  transition:
    left 2.85s cubic-bezier(.38, 0, .18, 1),
    top 2.85s cubic-bezier(.38, 0, .18, 1),
    width 2.85s cubic-bezier(.38, 0, .18, 1),
    height 2.85s cubic-bezier(.38, 0, .18, 1),
    transform 2.85s cubic-bezier(.38, 0, .18, 1),
    opacity 2.85s cubic-bezier(.38, 0, .18, 1);
  left: var(--line-end-x);
  top: var(--line-end-y);
  width: var(--line-end-width);
  height: var(--line-end-height, 2px);
  opacity: var(--line-end-alpha, .18);
  transform: translate(-50%, -50%) rotate(var(--line-end-rotate, 0deg));
}

.splash-logo line {
  stroke: currentColor;
  stroke-linecap: round;
  fill: none;
}

.splash-logo-outline line {
  stroke-width: 1.35;
  opacity: .24;
}

.splash-logo-outline line:nth-child(3) {
  opacity: .16;
}

.splash-logo-fill {
  animation: splashLogoFill 1.9s ease .22s both;
  clip-path: inset(100% 0 0 0);
}

.splash-logo-fill line {
  stroke-width: 1.65;
  opacity: 1;
}

.splash-logo-fill line:nth-child(3) {
  stroke-width: 1.45;
  opacity: .55;
}

@keyframes splashLogoFill {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.menu-toggle,
.menu-close {
  display: none;
  appearance: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #3b3b3b;
}

.menu-toggle span,
.menu-close span {
  display: block;
  height: 1px;
  background: currentColor;
}

.menu-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  margin-left: auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  min-height: 100vh;
  background: rgba(253, 253, 253, .96);
  color: #3b3b3b;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.menu-close {
  position: relative;
}

.menu-close span {
  position: absolute;
  top: 50%;
  right: 0;
  width: 18px;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 64px 24px 80px;
}

.mobile-nav a {
  color: #5c5c5c;
  font-size: 13px;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.section-light {
  background: var(--pale);
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 0 clamp(160px, 22vw, 420px);
  background:
    linear-gradient(180deg, #f0f1f2 0%, #e9ebec 52%, #f4f4f5 100%);
}

.liquid-ether {
  position: absolute;
  inset: 72px 0 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

.liquid-ether::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(240, 241, 242, .84), rgba(240, 241, 242, 0) 20%, rgba(240, 241, 242, 0) 80%, rgba(240, 241, 242, .84)),
    linear-gradient(180deg, rgba(240, 241, 242, .78), rgba(240, 241, 242, 0) 24%, rgba(240, 241, 242, 0) 72%, rgba(240, 241, 242, .72));
  pointer-events: none;
}

.liquid-ether-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  padding: 96px 0 80px;
  color: #4a4e51;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-copy h1 {
  margin: 86px 0 32px;
  font-size: clamp(40px, 4.3vw, 56px);
  line-height: 1.28;
  font-weight: 400;
  color: #3f4447;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 48px;
  color: #63686c;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
}

.hero-actions a {
  padding-bottom: 8px;
  color: #4f5559;
  border-bottom: 1px solid rgba(73, 77, 80, .28);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  color: #a6aaad;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .44em;
  text-align: center;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 64px;
  margin: 16px auto 0;
  background: #d7dadd;
}

section:not(.hero) {
  padding: 116px 48px;
}

.eyebrow {
  margin: 0 0 34px;
  color: #a0a5a9;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .44em;
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 58px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: .04em;
}

.narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.message {
  text-align: left;
}

.message .eyebrow {
  text-align: center;
}

.message h2 {
  text-align: center;
}

.message p:not(.eyebrow) {
  color: #666b6f;
}

.section-heading {
  max-width: 1160px;
  margin: 0 auto;
}

.about-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 80px;
  align-items: start;
}

.about-list {
  margin: 0;
}

.about-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.about-list dt {
  color: #a1a6aa;
}

.about-list dd {
  margin: 0;
  font-weight: 400;
}

.about-grid img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
}

.service-list {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.service-scroll {
  min-height: 430vh;
  padding-bottom: 0 !important;
}

.service-heading {
  margin-bottom: 56px;
}

.service-sticky {
  position: sticky;
  top: 96px;
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: 84px;
}

.service-stage {
  --service-progress: 0;
  position: relative;
  height: min(560px, calc(100vh - 150px));
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(340px, .86fr) minmax(420px, 1fr);
  overflow: hidden;
  background: #f2f4f5;
  border: 1px solid rgba(73, 77, 80, .1);
  border-radius: 8px;
}

.service-stage::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  width: 1px;
  border-left: 1px dotted rgba(73, 77, 80, .36);
}

.service-stage-left,
.service-stage-right {
  position: relative;
  min-width: 0;
}

.service-stage-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-stage-left::before,
.service-stage-left::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px dashed rgba(73, 77, 80, .28);
  border-radius: 999px;
}

.service-stage-left::before {
  transform: translateX(-52px);
}

.service-stage-left::after {
  transform: translateX(52px);
}

.service-icon-set {
  position: relative;
  z-index: 2;
  width: 245px;
  height: 210px;
}

.service-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #4e5356;
  opacity: 0;
  transform: translateY(22px) scale(.96);
  transition: opacity .55s ease, transform .7s ease;
}

.service-icon.is-active {
  opacity: .82;
  transform: translateY(0) scale(1);
}

.service-icon rect,
.service-icon circle,
.service-icon path {
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-orbit {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.service-orbit::before {
  content: "";
  position: absolute;
  left: 104px;
  top: 168px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(73, 77, 80, .12);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.service-orbit-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #7a8084;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(73, 77, 80, .18);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  opacity: .48;
  transform: translate(var(--dot-x, 0), var(--dot-y, 0));
  transition: transform .28s ease, opacity .28s ease, color .28s ease, border-color .28s ease;
}

.service-orbit-number.is-active {
  color: #3f4447;
  border-color: rgba(73, 77, 80, .46);
  opacity: 1;
}

.service-stage-right {
  display: grid;
  align-items: center;
  padding: 78px min(7vw, 92px);
}

.service-copy {
  grid-area: 1 / 1;
  max-width: 560px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .48s ease, transform .58s ease;
  pointer-events: none;
}

.service-copy.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.service-copy span {
  display: block;
  margin-bottom: -8px;
  color: rgba(73, 77, 80, .12);
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: 0;
}

.service-copy h3 {
  position: relative;
  margin: 0 0 24px;
  color: #303538;
  font-size: clamp(24px, 2.15vw, 33px);
  font-weight: 500;
  line-height: 1.5;
}

.service-copy p {
  max-width: 540px;
  margin: 0 0 26px;
  color: #62686c;
  font-size: 14px;
}

.service-copy em {
  color: #9ba0a4;
  font-size: 12px;
  font-style: normal;
  letter-spacing: .08em;
}

.service-cards {
  display: grid;
  gap: 18px;
  border-top: 0;
}

.service-card {
  min-height: 268px;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(360px, 1fr);
  gap: 0;
  overflow: hidden;
  background: #f3f5f6;
  border: 1px solid rgba(73, 77, 80, .08);
  border-radius: 8px;
}

.service-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 268px;
  border-right: 1px dotted rgba(73, 77, 80, .38);
}

.service-visual::before,
.service-visual::after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(73, 77, 80, .34);
  border-radius: 999px;
}

.service-visual::before {
  width: 142px;
  height: 142px;
  left: calc(50% - 112px);
}

.service-visual::after {
  width: 142px;
  height: 142px;
  right: calc(50% - 112px);
}

.service-visual svg {
  position: relative;
  z-index: 1;
  width: min(210px, 68%);
  height: auto;
  color: #4d5255;
  opacity: .78;
}

.service-visual rect,
.service-visual circle,
.service-visual path {
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px min(7vw, 88px);
}

.service-body span {
  position: absolute;
  top: 34px;
  left: min(7vw, 88px);
  color: rgba(73, 77, 80, .13);
  font-size: clamp(44px, 5.4vw, 74px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.service-body h3 {
  position: relative;
  margin: 42px 0 20px;
  color: #3f4447;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.55;
}

.service-body p {
  position: relative;
  max-width: 520px;
  margin: 0 0 22px;
  color: #62686c;
  font-size: 14px;
}

.service-body em {
  position: relative;
  color: #9ba0a4;
  font-size: 12px;
  font-style: normal;
  letter-spacing: .08em;
}

.service-item {
  display: grid;
  grid-template-columns: 80px minmax(230px, .6fr) 1fr;
  gap: 36px;
  align-items: center;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

.service-item span,
.works-grid .work-card p {
  color: #a1a6aa;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .36em;
}

.service-item strong {
  font-size: 20px;
  font-weight: 400;
}

.service-item em {
  color: #74797d;
  font-style: normal;
}

/* お知らせ */
.news-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
}

.news-heading h2 {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 400;
}

.news-board {
  border-top: 1px solid var(--line);
}

.notice-list {
  display: grid;
}

.notice-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.notice-row time {
  color: #9a9fa3;
  font-size: 12px;
  letter-spacing: .12em;
}

.notice-row span {
  color: #555b5f;
}

.notice-empty {
  color: #969ba0;
  padding: 18px 0;
}

.notice-all {
  margin-top: 18px;
}

.notice-all summary {
  cursor: pointer;
  width: fit-content;
  margin-left: auto;
  color: #4f5559;
  font-size: 12px;
  letter-spacing: .2em;
  list-style: none;
  border-bottom: 1px solid rgba(73, 77, 80, .28);
  padding-bottom: 6px;
}

.notice-all summary::-webkit-details-marker {
  display: none;
}

.notice-scroll {
  max-height: 198px;
  overflow-y: auto;
  margin-top: 18px;
  padding-right: 14px;
  border-top: 1px solid var(--line);
}

.category-filters {
  max-width: 1160px;
  margin: -18px auto 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-filters button {
  width: auto;
  height: 36px;
  padding: 0 16px;
  border-color: var(--line);
  color: #7d858a;
  font-size: 11px;
  letter-spacing: .14em;
}

.category-filters button.is-active {
  border-color: #3b3b3b;
  color: #3b3b3b;
}

.works-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.works-grid img {
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
  margin-bottom: 24px;
}

.work-slider {
  width: 100%;
  aspect-ratio: 1.32;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--pale);
}

.work-slider-track {
  height: 100%;
  display: flex;
  transition: transform .7s ease;
  will-change: transform;
}

.work-slider img,
.works-grid .work-slider img {
  min-width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  margin-bottom: 0;
}

.works-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 500;
}

.works-grid span {
  color: #969ba0;
}

.work-card {
  display: block;
}

.works-empty {
  grid-column: 1 / -1;
  color: #969ba0;
  text-align: center;
  padding: 24px 0;
}

.works-more {
  max-width: 1160px;
  margin: 40px auto 0;
  text-align: right;
}

.works-more a {
  font-size: 12px;
  letter-spacing: .2em;
  color: #4f5559;
  border-bottom: 1px solid rgba(73, 77, 80, .28);
  padding-bottom: 6px;
}

.works-page-lead {
  max-width: 640px;
  margin-top: 20px;
  color: #74797d;
}

/* 管理ページ認証 */
.admin-locked main,
.admin-locked footer {
  display: none;
}

.admin-auth {
  min-height: calc(100vh - 72px);
  padding: 170px 24px 80px;
  display: grid;
  place-items: start center;
  background: linear-gradient(180deg, rgba(240, 241, 242, .94) 0%, rgba(233, 235, 236, .94) 52%, rgba(244, 244, 245, .94) 100%);
  background-attachment: fixed;
}

.admin.section-white {
  position: relative;
  background: linear-gradient(180deg, rgba(240, 241, 242, .92) 0%, rgba(233, 235, 236, .9) 52%, rgba(244, 244, 245, .94) 100%);
  background-attachment: fixed;
}

.admin.section-white::before {
  content: "";
  position: fixed;
  inset: 72px 0 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(240, 241, 242, .84), rgba(240, 241, 242, 0) 20%, rgba(240, 241, 242, 0) 80%, rgba(240, 241, 242, .84)),
    linear-gradient(180deg, rgba(240, 241, 242, .78), rgba(240, 241, 242, 0) 24%, rgba(240, 241, 242, 0) 72%, rgba(240, 241, 242, .72));
}

.admin .section-heading,
.admin .admin-page {
  position: relative;
  z-index: 1;
}

.admin-auth[aria-hidden="true"] {
  display: none;
}

.admin-auth-box {
  width: min(420px, 100%);
  display: grid;
  gap: 24px;
}

.admin-auth-box h1 {
  font-size: 28px;
  font-weight: 400;
}

.admin-auth-box label {
  display: grid;
  gap: 8px;
  color: #aeb3b7;
  font-size: 11px;
  letter-spacing: .22em;
}

.admin-auth-box input {
  height: 46px;
}

.admin-auth-box button {
  width: 140px;
  height: 44px;
}

.admin-auth-status {
  min-height: 24px;
  color: #7d858a;
  font-size: 13px;
}

/* 実績管理ページ */
.admin-page {
  max-width: 1240px;
  margin: 0 auto;
}

.admin-lead {
  width: min(1240px, 100%);
  max-width: none;
  margin-top: 20px;
  color: #5f666b;
  white-space: nowrap;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 32px 0 28px;
  padding: 16px;
  border: 1px solid #d7dadd;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 34px rgba(55, 62, 68, .08);
}

.admin-toolbar button {
  width: auto;
  height: 44px;
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: .18em;
}

.btn-primary {
  border-color: #3b3b3b !important;
  color: #3b3b3b !important;
}

.btn-danger {
  color: #b3564f !important;
}

.admin-status {
  min-height: 20px;
  color: #5f666b;
  font-size: 13px;
}

.admin-status:not(:empty) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #b9c7d3;
  background: #eef6fb;
  color: #315a73;
  font-weight: 500;
}

.admin-password {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8c9195;
  font-size: 12px;
  letter-spacing: .12em;
}

.admin-password input {
  width: 220px;
  height: 44px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  padding: 0 12px;
  border-bottom: 2px solid #3f474c;
}

.admin-tab {
  width: auto;
  min-width: 112px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid #d7dadd;
  border-bottom: 0;
  background: #f6f7f7;
  color: #687076;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
}

.admin-tab.is-active {
  position: relative;
  z-index: 2;
  border-color: #3f474c;
  background: #3f474c;
  color: #fff;
  box-shadow: 0 -6px 16px rgba(55, 62, 68, .08);
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
  padding: 32px;
  border: 1px solid #d7dadd;
  border-top: 0;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(55, 62, 68, .07);
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e1e4e6;
}

.admin-panel-head h3 {
  font-size: 18px;
  font-weight: 500;
}

.admin-panel-head button {
  width: auto;
  height: 40px;
  padding: 0 18px;
  font-size: 11px;
  letter-spacing: .14em;
}

.admin-list {
  display: grid;
  gap: 28px;
}

.admin-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

/* 実績カード: 画像列を上、入力欄を下に縦積み */
.admin-item-stacked {
  grid-template-columns: 1fr;
  gap: 24px;
}

/* 画像スロット4枚を横並び */
.admin-image-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* 中間サイズ(タブレット等)では2×2に */
@media (max-width: 1024px) and (min-width: 761px) {
  .admin-image-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* タイトル・カテゴリ・URL を横並び */
.admin-field-row-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
}

.admin-field-row-3 .admin-category-select-group {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-image-filename {
  padding: 6px 10px;
  color: #5f666b;
  font-size: 12px;
  font-family: "Consolas", "Menlo", monospace;
  background: rgba(240, 241, 242, .7);
  border: 1px solid rgba(73, 77, 80, .1);
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-item-flat {
  grid-template-columns: 1fr;
}

.admin-notice-item {
  transition: box-shadow .25s ease, border-color .25s ease;
}

.admin-notice-item.is-enabled {
  border-color: rgba(73, 77, 80, .18);
  box-shadow: 0 14px 34px rgba(73, 77, 80, .08);
}

.admin-notice-body-row {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.admin-item-thumb {
  display: grid;
  gap: 12px;
  align-content: start;
}

.admin-item-thumb input[type="file"] {
  height: auto;
  padding: 8px 0;
  font-size: 12px;
  color: #8c9195;
}

.admin-image-list {
  display: grid;
  gap: 16px;
}

/* 画像スロット: サムネイル・削除ボタン・パス入力を1枚ずつ表示 */
.admin-image-field {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(247, 247, 248, .5);
  border-radius: 4px;
}

.admin-image-field.has-image {
  border-color: rgba(73, 77, 80, .18);
  background: var(--white);
}

.admin-image-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1.32;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pale);
  overflow: hidden;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-empty {
  color: #b5babe;
  font-size: 11px;
  letter-spacing: .22em;
}

.admin-image-controls {
  display: grid;
  gap: 8px;
}

.admin-image-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-image-head label {
  color: #aeb3b7;
  font-size: 11px;
  letter-spacing: .22em;
}

.admin-image-remove {
  width: auto;
  height: 28px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: .1em;
  color: #b3564f;
  border: 1px solid rgba(179, 86, 79, .38);
  background: transparent;
  cursor: pointer;
}

.admin-image-remove:hover {
  background: rgba(179, 86, 79, .08);
}

.admin-image-field input[type="text"] {
  height: 36px;
  font-size: 12px;
}

.admin-image-field input[type="file"] {
  height: auto;
  padding: 4px 0;
  font-size: 11px;
  color: #8c9195;
}

/* パネル見出し内の補足注記 */
.admin-panel-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  color: #5f666b;
  font-size: 12px;
  line-height: 1.75;
  background: rgba(247, 247, 248, .6);
  border-left: 3px solid rgba(73, 77, 80, .28);
}

.admin-panel-note strong {
  color: #3f4447;
  font-weight: 500;
}

/* カテゴリ2枠を横並び */
.admin-category-select-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-category-select-group select {
  height: 44px;
  font-size: 14px;
}

.admin-item-fields {
  display: grid;
  gap: 18px;
}

.admin-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-field label {
  color: #aeb3b7;
  font-size: 11px;
  letter-spacing: .22em;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  height: 44px;
  font-size: 14px;
}

.admin-field textarea {
  height: auto;
  min-height: 72px;
}

.admin-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8c9195;
  font-size: 13px;
}

.admin-checkbox input {
  width: 17px;
  height: 17px;
  border: 1px solid #cfd3d6;
  accent-color: #7d858a;
}

.admin-item-actions {
  display: flex;
  gap: 10px;
}

.admin-item-actions button {
  width: auto;
  height: 36px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: .12em;
}

.admin-preview {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.admin-preview h3 {
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 500;
}

.admin-category-list {
  display: grid;
  gap: 14px;
}

.admin-category-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.admin-category-row input {
  height: 44px;
}

.admin-category-row button,
.admin-checkbox-inline {
  width: auto;
  height: 44px;
  padding: 0 14px;
}

@media (max-width: 760px) {
  .news-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .notice-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .admin-lead {
    white-space: normal;
  }

  .admin-toolbar,
  .admin-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-tabs {
    padding: 0;
  }

  .admin-tab {
    flex: 1 1 33.333%;
    min-width: 0;
    padding: 0 10px;
  }

  .admin-panel.is-active {
    padding: 22px 16px;
  }

  .admin-password {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-password input {
    width: 100%;
  }

  .admin-item {
    grid-template-columns: 1fr;
  }

  .admin-field-row,
  .admin-notice-body-row,
  .admin-category-select-group,
  .admin-field-row-3 {
    grid-template-columns: 1fr;
  }

  /* SP: 画像スロットは縦積み(横だと1枚あたり100px以下で潰れるため) */
  .admin-image-row {
    grid-template-columns: 1fr;
  }

  /* SP: カテゴリ2枠のグループはPCと違って明示的に横並びを維持 */
  .admin-field-row-3 .admin-category-select-group {
    grid-template-columns: 1fr 1fr;
  }
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(420px, 720px);
  gap: 92px;
  justify-content: center;
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 28px;
}

.contact-intro p:not(.eyebrow) {
  color: #74797d;
}

.contact-form {
  display: grid;
  gap: 28px;
}

.contact-form label {
  display: grid;
  gap: 12px;
  color: #8c9195;
  font-size: 14px;
}

.contact-form label span {
  color: #aeb3b7;
  font-size: 11px;
  letter-spacing: .28em;
}

input,
select,
textarea,
button {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  outline: none;
}

input,
select {
  height: 48px;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.agreement {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 14px !important;
}

.agreement input {
  width: 17px;
  height: 17px;
  border: 1px solid #cfd3d6;
  accent-color: #7d858a;
}

button {
  width: 190px;
  height: 56px;
  border: 1px solid var(--line);
  color: #a1a6aa;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  color: #7d858a;
  white-space: pre-line; /* メッセージ内の改行を反映する */
  line-height: 1.8;
}

.form-status[data-state="error"] {
  color: #b3403a;
}

/* ボット判定用の入力欄。display:none だと入力しないボットがいるため画面外へ逃がす */
.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信結果を受け取るだけのiframe */
.contact-form-frame {
  display: none;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  column-gap: clamp(48px, 8vw, 150px);
  row-gap: 56px;
  align-items: start;
  padding: 72px clamp(48px, 8vw, 120px) 36px;
  border-top: 1px solid var(--line);
}

.site-footer > div:not(.footer-bottom) {
  width: min(260px, 100%);
  justify-self: center;
}

.site-footer p,
.site-footer a {
  color: #6f767b;
}

.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #525a60;
  line-height: 1;
}

.site-footer .brand .brand-mark {
  width: 30px;
  height: 30px;
  color: #525a60;
  transform: translateY(-1px);
}

.site-footer .brand span {
  display: inline-block;
  transform: translateY(1px);
}

.site-footer .brand + p {
  margin-top: 14px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 56px;
}

small {
  color: #a0a5a9;
  font-size: 10px;
  letter-spacing: .18em;
}

  @media (max-width: 760px) {
  .site-header {
    height: 68px;
    padding: 0 24px;
    background: rgba(253, 253, 253, .86);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
  }

  .global-nav {
    display: none;
  }

  .menu-toggle,
  .menu-close {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .brand,
  .mini-brand {
    font-size: 11px;
    letter-spacing: .24em;
  }

  .scroll-cue {
    display: none;
  }

  section:not(.hero) {
    padding: 88px 24px;
  }

  h2 {
    margin-bottom: 38px;
    font-size: 26px;
  }

  .about-grid,
  .works-grid,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 44px;
  }

  .about-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }

  .service-item strong {
    font-size: 19px;
  }

  .service-card {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .service-scroll {
    min-height: auto;
    padding-bottom: 88px !important;
  }

  .service-sticky {
    position: relative;
    top: auto;
    padding-bottom: 0;
  }

  .service-stage {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .service-stage::before {
    display: none;
  }

  .service-stage-left {
    min-height: 250px;
    border-bottom: 1px dotted rgba(73, 77, 80, .28);
  }

  .service-icon-set {
    width: 210px;
    height: 184px;
  }

  .service-orbit {
    display: none;
  }

  .service-stage-right {
    min-height: 300px;
    padding: 42px 28px 46px;
  }

  .service-copy span {
    font-size: 52px;
  }

  .service-copy h3 {
    font-size: 22px;
  }

  .service-visual {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px dotted rgba(73, 77, 80, .28);
  }

  .service-visual::before,
  .service-visual::after {
    width: 116px;
    height: 116px;
  }

  .service-visual::before {
    left: calc(50% - 92px);
  }

  .service-visual::after {
    right: calc(50% - 92px);
  }

  .service-body {
    padding: 38px 28px 42px;
  }

  .service-body span {
    top: 24px;
    left: 28px;
    font-size: 48px;
  }

  .service-body h3 {
    margin-top: 34px;
    font-size: 21px;
  }

  .contact {
    gap: 48px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 44px 24px 20px;
    gap: 18px;
  }

  .site-footer > div:not(.footer-bottom) {
    width: min(320px, 100%);
    justify-self: start;
  }

  .site-footer .eyebrow {
    margin-bottom: 10px;
  }

  .site-footer .brand + p {
    margin-top: 8px;
  }

  .splash-logo {
    width: 68px;
    height: 68px;
  }

  .footer-bottom {
    padding-top: 16px;
  }
}


.admin-toolbar {
  position: sticky;
  top: 88px;
  z-index: 20;
}

#save-all.is-dirty {
  border-color: #9b3f32 !important;
  background: #9b3f32;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(155, 63, 50, .22);
}

.admin-has-unsaved .admin-toolbar {
  border-color: rgba(155, 63, 50, .38);
  box-shadow: 0 16px 38px rgba(155, 63, 50, .12);
}

.admin-notice-item.is-highlighted {
  border-color: rgba(155, 63, 50, .42);
  box-shadow: 0 20px 46px rgba(155, 63, 50, .18);
}

.admin-notice-item.is-highlighted::before {
  content: "追加・編集中";
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 10px;
  background: #9b3f32;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}


/* Compact sticky service */
.service.service-scroll {
  min-height: 360vh;
  padding-bottom: 0;
}

.service .service-heading {
  margin-bottom: 34px;
}

.service .service-sticky {
  position: sticky;
  top: 92px;
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: 72px;
}

.service .service-stage {
  height: min(520px, calc(100vh - 150px));
  min-height: 430px;
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1fr);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.service .service-stage::before {
  left: 42%;
  border-left-color: rgba(73, 77, 80, .2);
}

.service .service-stage-left::before,
.service .service-stage-left::after {
  width: 154px;
  height: 154px;
  border-style: solid;
  opacity: .42;
}

.service .service-icon-set {
  width: 220px;
  height: 190px;
}

.service .service-icon {
  color: #4b5053;
  opacity: 0;
  transform: translateY(18px) scale(.98);
}

.service .service-icon.is-active {
  opacity: .74;
  transform: translateY(0) scale(1);
}

.service .service-icon rect,
.service .service-icon circle,
.service .service-icon path {
  stroke-width: 4;
}

.service .service-stage-right {
  padding: 54px min(7vw, 88px);
}

.service .service-copy {
  text-decoration: none;
}

.service .service-copy span {
  margin-bottom: 12px;
  color: #a3a8ac;
  font-size: 13px;
  letter-spacing: .24em;
}

.service .service-copy h3 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.35;
  letter-spacing: .06em;
}

.service .service-copy p {
  max-width: 620px;
  margin-bottom: 22px;
}

.service .service-copy em {
  letter-spacing: .12em;
}

@media (max-width: 760px) {
  .service.service-scroll {
    min-height: auto;
    padding-bottom: 88px;
  }

  .service .service-sticky {
    position: relative;
    top: auto;
    padding-bottom: 0;
  }

  .service .service-stage {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .service .service-stage-left {
    min-height: 210px;
  }

  .service .service-stage-right {
    display: grid;
    gap: 0;
    padding: 0;
  }

  .service .service-copy {
    grid-area: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 28px 0;
    border-top: 1px solid var(--line);
  }

  .service .service-copy h3 {
    font-size: 22px;
  }
}


/* Left fixed service / right scrolling cards */
.service-flow-section {
  padding-bottom: 96px;
}

.service-flow {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: start;
}

.service-flow-pin {
  position: sticky;
  top: 116px;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 42px;
}

.service-flow-pin .section-heading {
  margin: 0;
}

.service-fixed-icon {
  position: relative;
  width: min(260px, 78%);
  aspect-ratio: 1;
  margin: 42px auto 0;
  display: grid;
  place-items: center;
}

.service-fixed-icon::before,
.service-fixed-icon::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(73, 77, 80, .22);
  border-radius: 999px;
}

.service-fixed-icon::before {
  transform: translateX(-18%);
}

.service-fixed-icon::after {
  transform: translateX(18%);
}

.service-fixed-icon .service-icon {
  position: absolute;
  inset: 12%;
  width: 76%;
  height: 76%;
  color: #4e5356;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .35s ease, transform .45s ease;
}

.service-fixed-icon .service-icon.is-active {
  opacity: .78;
  transform: translateY(0) scale(1);
}

.service-fixed-icon rect,
.service-fixed-icon circle,
.service-fixed-icon path {
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-flow-list {
  display: grid;
  gap: 34px;
}

.service-flow-card {
  min-height: 250px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding: 48px clamp(36px, 5.2vw, 72px);
  color: inherit;
  text-decoration: none;
  background: #f3f5f6;
  border: 1px solid rgba(73, 77, 80, .08);
  border-radius: 8px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.service-flow-card.is-active {
  border-color: rgba(73, 77, 80, .2);
  box-shadow: 0 18px 42px rgba(73, 77, 80, .07);
}

.service-flow-card span {
  align-self: start;
  color: #7f8589;
  font-size: 13px;
  letter-spacing: .18em;
}

.service-flow-card h3 {
  margin: 0 0 10px;
  color: #303538;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: .05em;
}

.service-flow-card em {
  display: block;
  margin-bottom: 34px;
  color: #8d9498;
  font-size: 12px;
  font-style: normal;
  letter-spacing: .08em;
}

.service-flow-card p {
  max-width: 620px;
  margin: 0;
  color: #4f5559;
}

@media (max-width: 760px) {
  .service-flow {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-flow-pin {
    position: relative;
    top: auto;
    min-height: 0;
    padding-bottom: 0;
  }

  .service-fixed-icon {
    width: 180px;
    margin: 18px 0 0;
  }

  .service-flow-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 24px;
  }

  .service-flow-card h3 {
    font-size: 23px;
  }

  .service-flow-card em {
    margin-bottom: 18px;
  }
}


/* Service flow refinement */
.service-flow-pin {
  justify-content: flex-start;
  min-height: auto;
}

.service-fixed-icon {
  width: min(250px, 82%);
  margin: 34px 0 0 52px;
}

.service-fixed-icon::before,
.service-fixed-icon::after {
  inset: 20%;
  border-color: rgba(73, 77, 80, .14);
}

.service-fixed-icon .service-icon {
  inset: 18%;
  width: 64%;
  height: 64%;
  color: #5c6266;
}

.service-fixed-icon .service-icon.is-active {
  opacity: .64;
}

.service .service-fixed-icon rect,
.service .service-fixed-icon circle,
.service .service-fixed-icon path {
  stroke-width: 2.7;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
}

.service-flow-list {
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-flow-card {
  min-height: 132px;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 36px;
  padding: 28px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.service-flow-card.is-active {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.service-flow-card span {
  padding-top: 4px;
  color: #99a0a5;
  font-size: 11px;
  letter-spacing: .32em;
}

.service-flow-card h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 1.75vw, 27px);
  line-height: 1.45;
  letter-spacing: 0;
}

.service-flow-card em {
  margin-bottom: 18px;
  color: #9aa0a5;
  font-size: 11px;
  letter-spacing: .14em;
}

.service-flow-card p {
  max-width: 640px;
  color: #667075;
  font-size: 13px;
}

@media (max-width: 760px) {
  .service-fixed-icon {
    margin-left: 0;
  }

  .service-flow-card {
    padding: 24px 0;
  }
}


/* News / message section rhythm */
.news.section-white {
  padding-top: clamp(78px, 8vw, 108px);
  padding-bottom: clamp(58px, 6vw, 78px);
  border-bottom: 1px solid rgba(214, 218, 221, .82);
  background-color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(59, 59, 59, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(59, 59, 59, .035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.news-inner {
  align-items: start;
}

.news-heading {
  padding-top: 2px;
}

.news-heading .eyebrow {
  margin-bottom: 38px;
}

.news-heading h2 {
  margin-bottom: 0;
}

.news-board {
  border-top-color: rgba(205, 211, 215, .78);
}

.notice-row {
  min-height: 66px;
  align-items: center;
}

.notice-all {
  margin-top: 20px;
  padding-bottom: 2px;
}

.notice-scroll {
  background: rgba(255, 255, 255, .62);
}

.message.section-white {
  position: relative;
  padding-top: clamp(82px, 8vw, 112px);
  background: var(--white);
}

@media (max-width: 760px) {
  .news.section-white {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .message.section-white {
    padding-top: 72px;
  }

  .news-heading .eyebrow {
    margin-bottom: 24px;
  }

  .notice-row {
    min-height: auto;
  }
}


/* About image / text balance */
.about .section-heading {
  margin-bottom: 16px;
}

.about .section-heading h2 {
  margin-bottom: clamp(42px, 5vw, 58px);
}

.about-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
  gap: clamp(56px, 7vw, 80px);
  align-items: stretch;
}

.about-list {
  min-height: clamp(300px, 27vw, 350px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-list div {
  min-height: 74px;
  align-items: center;
}

.about-grid img {
  height: clamp(300px, 27vw, 350px);
  aspect-ratio: auto;
  object-position: center;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-list {
    min-height: auto;
  }

  .about-grid img {
    height: auto;
    aspect-ratio: 1.34;
  }
}


/* About top-aligned balance */
.about .section-heading {
  margin-bottom: clamp(34px, 4vw, 46px);
}

.about .section-heading h2 {
  margin-bottom: 0;
}

.about-grid {
  align-items: start;
}

.about-list {
  min-height: 0;
  justify-content: flex-start;
  padding-top: 0;
}

.about-list div:first-child {
  padding-top: 0;
}

.about-grid img {
  align-self: start;
  height: clamp(292px, 25vw, 332px);
}

@media (max-width: 980px) {
  .about .section-heading {
    margin-bottom: 34px;
  }

  .about-grid img {
    height: auto;
  }
}


/* About equal visual height */
.about-grid {
  align-items: start;
}

.about-list,
.about-grid img {
  height: clamp(248px, 19vw, 286px);
}

.about-list {
  min-height: 0;
  justify-content: stretch;
}

.about-list div {
  flex: 1 1 0;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
}

.about-grid img {
  align-self: start;
  aspect-ratio: auto;
  object-fit: cover;
}

@media (max-width: 980px) {
  .about-list {
    height: auto;
  }

  .about-list div {
    min-height: 74px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .about-grid img {
    height: auto;
    aspect-ratio: 1.34;
  }
}


/* About image right alignment */
.about-grid img {
  width: min(100%, 526px);
  justify-self: end;
}

@media (max-width: 980px) {
  .about-grid img {
    width: 100%;
    justify-self: stretch;
  }
}


/* Service icon finer stroke */
.service-fixed-icon rect,
.service-fixed-icon circle,
.service-fixed-icon path {
  stroke-width: 1.02;
}


/* Works hero-style fixed background */
.works-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f0f1f2 0%, #e9ebec 52%, #f4f4f5 100%);
  /* スクロール時に半透明ヘッダー越しに見えるグラデーションがズレて
     継ぎ目のように見えるので、常にビューポート基準で固定する */
  background-attachment: fixed;
}

/* ヘッダーとモバイルメニューは index と同じ固定表示のままにする
   (position を上書きするとスクロール時に追従せず、背景に隙間ができる) */
.works-body main,
.works-body .site-footer {
  position: relative;
  z-index: 2;
}

/* 固定ヘッダーの分だけ本文を下げる */
.works-body main {
  padding-top: 72px;
}

.works-ether {
  position: fixed;
  inset: 72px 0 0;
  z-index: 0;
  opacity: 1;
}

.works-ether::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(240, 241, 242, .84), rgba(240, 241, 242, 0) 20%, rgba(240, 241, 242, 0) 80%, rgba(240, 241, 242, .84)),
    linear-gradient(180deg, rgba(240, 241, 242, .78), rgba(240, 241, 242, 0) 24%, rgba(240, 241, 242, 0) 72%, rgba(240, 241, 242, .72));
  pointer-events: none;
}

.works-body .works-page {
  min-height: calc(100vh - 72px);
  background: transparent;
}

.works-body .works-grid .work-card {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
}

.works-body .site-footer {
  background: rgba(255, 255, 255, .88);
}

@media (max-width: 760px) {
  /* SP のヘッダーは 68px。固定ヘッダーの分だけ本文を下げる */
  .works-body main {
    padding-top: 68px;
  }

  .works-body .works-grid .work-card {
    backdrop-filter: none;
  }

  /* SP: セクション全体の上下padding既定(88px)ではヒーロー領域(ヘッダー直下の
     ether演出エリア)にコンテンツが入らないので、見出しをその領域に収める */
  .works-body .works-page {
    padding-top: 32px;
    padding-bottom: 72px;
  }

  .works-body .works-page .section-heading {
    padding: 56px 0 40px;
    margin-bottom: 8px;
  }

  .works-body .works-page .section-heading .eyebrow {
    margin-bottom: 18px;
  }

  .works-body .works-page .section-heading h2 {
    margin-bottom: 18px;
    font-size: 28px;
  }

  .works-body .works-page-lead {
    margin-top: 0;
  }
}


/* Works card text breathing room */
.works-body .works-grid .work-card {
  overflow: hidden;
  padding-bottom: 26px;
}

.works-body .works-grid .work-card p,
.works-body .works-grid .work-card h3,
.works-body .works-grid .work-card span {
  display: block;
  padding-left: 26px;
  padding-right: 26px;
}

.works-body .works-grid .work-card p {
  margin-bottom: 12px;
}

.works-body .works-grid .work-card h3 {
  margin-bottom: 10px;
}

@media (max-width: 760px) {
  .works-body .works-grid .work-card {
    padding-bottom: 22px;
  }

  .works-body .works-grid .work-card p,
  .works-body .works-grid .work-card h3,
  .works-body .works-grid .work-card span {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* SP layout refinement */
@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    align-items: stretch;
    padding: 0 24px;
  }

  .liquid-ether {
    inset: 68px 0 0;
    opacity: .78;
  }

  .liquid-ether::after {
    background:
      linear-gradient(90deg, rgba(240, 241, 242, .88), rgba(240, 241, 242, .16) 18%, rgba(240, 241, 242, 0) 82%, rgba(240, 241, 242, .78)),
      linear-gradient(180deg, rgba(240, 241, 242, .76), rgba(240, 241, 242, 0) 28%, rgba(240, 241, 242, 0) 72%, rgba(240, 241, 242, .72));
  }

  .hero-copy {
    width: 100%;
    min-height: calc(100svh - 68px);
    padding: 128px 0 56px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    align-content: center;
    justify-items: center;
    row-gap: 0;
  }

  .mini-brand {
    margin-bottom: 40px;
  }

  .hero-copy h1 {
    width: min(100%, 320px);
    margin: 0 0 28px;
    text-align: center;
    font-size: clamp(38px, 11vw, 47px);
    line-height: 1.28;
  }

  .hero-copy p {
    max-width: 300px;
    margin: 0 0 68px;
    text-align: center;
    line-height: 2;
  }

  .hero-actions {
    width: 132px;
    justify-self: start;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-actions a {
    width: 100%;
    padding-bottom: 7px;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
  }

  .news.section-white {
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .news-inner {
    gap: 18px;
  }

  .news-heading .eyebrow {
    margin-bottom: 18px;
  }

  .news-heading h2 {
    font-size: 25px;
  }

  .notice-row {
    position: relative;
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
    padding: 14px 0 14px 22px;
  }

  .notice-row::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 22px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(115, 122, 127, .22);
    animation: noticeDotPulse 4.8s ease-in-out infinite;
  }

  .notice-row:nth-child(2n)::before {
    animation-delay: 1.4s;
  }

  .notice-row:nth-child(3n)::before {
    animation-delay: 2.8s;
  }

  .notice-row time {
    font-size: 11px;
  }

  .notice-row span {
    display: block;
    padding-left: 10px;
    line-height: 1.75;
  }

  .notice-all {
    margin-top: 14px;
  }

  .notice-all summary {
    margin-left: auto;
  }

  .notice-scroll {
    max-height: 156px;
  }

  .message.section-white {
    padding-top: 70px;
    padding-bottom: 78px;
  }

  .message .narrow {
    max-width: 340px;
    text-align: center;
  }

  .message h2 {
    margin-bottom: 34px;
    line-height: 1.55;
  }

  .message p:not(.eyebrow) {
    text-align: center;
    line-height: 2.05;
  }

  .about.section-light {
    padding-top: 74px;
  }

  .about .section-heading {
    margin-bottom: 32px;
  }

  .about-list div {
    padding-left: 18px;
    padding-right: 4px;
  }

  .about-list dd {
    padding-left: 14px;
    line-height: 1.95;
  }

  .about-grid {
    gap: 28px;
  }

  .service-flow {
    gap: 26px;
  }

  .service-flow-pin {
    position: sticky;
    top: 68px;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    column-gap: 18px;
    align-items: center;
    min-height: 92px;
    padding: 14px 24px 10px;
    margin: -88px -24px 0;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(214, 218, 221, .78);
    backdrop-filter: blur(10px);
  }

  .service-flow-pin .section-heading {
    margin: 0;
  }

  .service-flow-pin .eyebrow {
    margin-bottom: 6px;
  }

  .service-flow-pin h2 {
    margin: 0;
    font-size: 26px;
  }

  .service-fixed-icon {
    grid-column: 2;
    grid-row: 1;
    width: 84px;
    margin: 0 54px 0 0;
    justify-self: center;
  }

  .service-fixed-icon::before,
  .service-fixed-icon::after {
    inset: 16%;
  }

  .service-flow-pin .service-fixed-icon rect,
  .service-flow-pin .service-fixed-icon circle,
  .service-flow-pin .service-fixed-icon path {
    stroke-width: 1.6;
  }

  .service-flow-list {
    margin-top: 18px;
  }

  .service-flow-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
    padding-left: 12px;
  }
}

@keyframes noticeDotPulse {
  0%, 100% {
    background: rgba(115, 122, 127, .18);
  }

  45% {
    background: rgba(115, 122, 127, .42);
  }
}


/* SP about list repair */
@media (max-width: 760px) {
  .about-list {
    display: block;
    height: auto;
  }

  .about-list div,
  .about-list div:first-child {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 18px 0;
  }

  .about-list dt,
  .about-list dd {
    padding-left: 0;
  }

  .about-list dd {
    margin: 0;
    line-height: 1.9;
    text-indent: 0;
  }

  .about-grid {
    gap: 24px;
  }

  .about-grid img {
    margin-top: 0;
  }
}


/* Contact: TOPと同じトーンの縦横グリッド線(背景は白のまま) */
.contact.section-white {
  background-color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(59, 59, 59, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(59, 59, 59, .035) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Contact: 入力欄をグレー背景に */
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  background: #f8f8f9;
  padding: 0 14px;
}

.contact-form textarea {
  padding: 12px 14px;
}


/* 改行のデバイス別制御: <br class="br-pc"> はPCのみ、<br class="br-sp"> はSPのみ改行 */
.br-sp {
  display: none;
}

@media (max-width: 760px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline;
  }
}
