:root {
  --main: #1a1c22;
  --footer: #101218;
  --bg: #eef1f4;
  --blue: #008bd5;
  --noise-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='5' seed='8' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='gamma' amplitude='1.35' exponent='1.15' offset='-.08'/%3E%3CfeFuncG type='gamma' amplitude='1.35' exponent='1.15' offset='-.08'/%3E%3CfeFuncB type='gamma' amplitude='1.35' exponent='1.15' offset='-.08'/%3E%3C/feComponentTransfer%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 .102 0 0 0 0 .110 0 0 0 0 .133 .06 .06 .06 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --content-width: 1194px;
  --side-pad: 30px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--main);
  background-color: var(--bg);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 96px 96px;
  font-family: "Yu Gothic Pr6N", "Yu Gothic", "Hiragino Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: 0.025rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
site-header,
site-footer {
  display: block;
}

.sp {
  display: none;
}
@media (max-width: 599px) {
  .sp {
    display: block;
  }
}

.container {
  width: min(calc(100% - (var(--side-pad) * 2)), var(--content-width));
  margin-inline: auto;
}

.hero {
  position: relative;
  aspect-ratio: 192 / 121;
  overflow: hidden;
  background: #272727 url("../img/hero.png") center / cover no-repeat;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.08) 24%,
    rgba(0, 0, 0, 0) 65%
  );
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 3% 4%;
}
@media (max-width: 780px) {
  .site-header {
    padding-top: 8%;
    align-items: flex-start;
  }
}

.brand--header > img {
  max-width: 258px;
  width: 68%;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  margin-right: 32px;
  color: #fff;
  font-size: clamp(0.813rem, 0.759rem + 0.27vw, 1rem);
  line-height: 24px;
  white-space: nowrap;
}
.site-header--subpage .global-nav {
  color: var(--main);
}
.site-header--subpage .contact-button {
  background-color: var(--main);
}

.global-nav a,
.footer-nav a {
  transition: opacity 0.2s ease;
}
.global-nav a:hover,
.footer-nav a:hover {
  opacity: 0.62;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  min-height: 60px;
  padding: 18px 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

.contact-button:hover {
  filter: brightness(1.08);
}
.contact-button img {
  width: 17px;
  height: 15px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 12;
  width: 25px;
  height: 18px;
  padding: 0;
  color: var(--main);
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition:
    top 0.3s ease,
    transform 0.3s ease,
    opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 1px;
}
.menu-toggle span:nth-child(2) {
  top: 8px;
}
.menu-toggle span:nth-child(3) {
  top: 15px;
}

.menu-toggle.is-open {
  color: #fff;
}
.menu-toggle.is-open span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 11;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  background: var(--main);
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  transition:
    visibility 0.35s ease,
    opacity 0.35s ease;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  z-index: 0;
  width: 300px;
  height: 300px;
  background:
    radial-gradient(
      circle at 31% 30%,
      rgba(74, 196, 255, 0.52) 0%,
      rgba(0, 164, 231, 0.28) 18%,
      transparent 38%
    ),
    radial-gradient(
      circle at 31% 30%,
      rgba(0, 139, 213, 0.84) 0%,
      rgba(0, 139, 213, 0.52) 22%,
      rgba(0, 139, 213, 0.22) 45%,
      transparent 72%
    );
  filter: blur(38px);
  mix-blend-mode: screen;
  transform: scale(1.12);
  transform-origin: left top;
  animation: business-light-glow 3.5s ease-in-out infinite alternate;
  will-change: transform, filter, opacity;
  pointer-events: none;
}

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

.mobile-menu__nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17px;
  line-height: 1.5;
  width: 77.46%;
}
.mobile-menu__nav > a:not(.mobile-menu__contact) {
  border-bottom: solid 1px #fff;
  padding-bottom: 16px;
}
.mobile-menu__contact {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 6px;
  background-color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.menu-open {
  overflow: hidden;
}

.updates,
.works {
  background: transparent;
}
.updates {
  padding-top: clamp(3rem, 1.415rem + 6.76vw, 7.5rem);
  padding-bottom: 6%;
}
.subpage-body .updates {
  padding: 0 0 clamp(5rem, 3.239rem + 7.51vw, 10rem);
}

.jp-heading {
  font-size: clamp(1.063rem, 0.864rem + 0.85vw, 1.625rem);
  font-weight: 600;
  line-height: 32px;
}
@media (max-width: 780px) {
  .jp-heading {
    font-weight: 500;
  }
  .updates {
    padding-bottom: 12%;
  }
}

.updates__list {
  margin-top: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  border-top: 1px solid rgba(26, 28, 34, 0.28);
}

.update-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  min-height: 79px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(26, 28, 34, 0.28);
  transition: background 0.2s ease;
}

updates__list a:hover {
  background: rgba(255, 255, 255, 0.42);
}
.update-row time {
  font:
    500 clamp(0.75rem, 0.714rem + 0.18vw, 0.875rem)/15px "Bricolage Grotesque",
    sans-serif;
  color: rgba(26, 28, 34, 0.8);
}
.update-row span {
  font-size: clamp(0.813rem, 0.759rem + 0.27vw, 1rem);
  font-weight: 600;
  line-height: 25px;
}

.section-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(1.5rem, 1.148rem + 1.5vw, 2.5rem);
}
.section-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(0.875rem, 0.821rem + 0.27vw, 1.063rem);
  line-height: 25px;
}
@media (max-width: 780px) {
  .section-link {
    font-weight: 500;
  }
}
.section-link__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.2s ease;
}
.section-link:hover .section-link__icon {
  transform: translateX(4px);
}
.section-link__icon img {
  width: 17px;
  height: 15px;
}

.works {
  padding: 0 0 97px;
}
.works__heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.en-heading {
  font:
    500 clamp(2rem, 1.34rem + 2.82vw, 3.875rem) "Bricolage Grotesque",
    sans-serif;
  letter-spacing: -0.02em;
}
.works__heading p {
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  line-height: 25px;
}

.works .works-archive-grid {
  margin-top: clamp(1.5rem, 1.324rem + 0.75vw, 2rem);
}
.subpage-body .works .works-archive-grid {
  margin-top: 0;
}

.work-card__visual {
  display: grid;
  width: 100%;
}
.work-card__visual img {
  border-radius: 6px;
}

.work-card__visual > span:not(.brand) {
  font:
    600 clamp(25px, 2.5vw, 36px)/1 "Bricolage Grotesque",
    sans-serif;
  letter-spacing: -0.02em;
}

.work-card__image {
  width: 100%;
  height: auto;
}

.work-card__visual > a:hover {
  color: var(--blue);
}
.work-card__visual--logo {
  background: #fff;
}
.work-card__logo {
  width: 186px;
  height: auto;
}
.brand--card {
  width: 186px;
  height: 44px;
}
.brand--card .brand__jmg {
  top: 0;
  left: 0;
  width: 186px;
}
.brand--card .brand__sports {
  right: 1px;
  bottom: 0;
  width: 85px;
}

.work-card__body {
  margin-top: 24px;
}
.work-card__body time {
  display: block;
  color: rgba(26, 28, 34, 0.8);
  font:
    500 clamp(0.813rem, 0.759rem + 0.27vw, 1rem)/16px "Bricolage Grotesque",
    sans-serif;
}
.work-card__body h3 {
  margin-top: 14px;
  font-size: clamp(1rem, 0.964rem + 0.18vw, 1.125rem);
  font-weight: 600;
  line-height: 25px;
}
.work-card__body a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.business {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--main);
  padding-bottom: min(140px, 22.9%);
}

.business::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 708px;
  height: 752px;
  background:
    radial-gradient(
      circle at 31% 30%,
      rgba(74, 196, 255, 0.52) 0%,
      rgba(0, 164, 231, 0.28) 18%,
      transparent 38%
    ),
    radial-gradient(
      circle at 31% 30%,
      rgba(0, 139, 213, 0.84) 0%,
      rgba(0, 139, 213, 0.52) 22%,
      rgba(0, 139, 213, 0.22) 45%,
      transparent 72%
    );
  filter: blur(38px);
  mix-blend-mode: screen;
  transform: scale(1.12);
  transform-origin: left top;
  animation: business-light-glow 3.5s ease-in-out infinite alternate;
  will-change: transform, filter, opacity;
  pointer-events: none;
}

@keyframes business-light-glow {
  0% {
    opacity: 0.72;
    filter: blur(44px) saturate(1);
    transform: translate3d(-8px, -6px, 0) scale(1.06);
  }
  50% {
    opacity: 0.92;
    filter: blur(36px) saturate(1.18);
    transform: translate3d(8px, 4px, 0) scale(1.14);
  }
  100% {
    opacity: 1;
    filter: blur(31px) saturate(1.3);
    transform: translate3d(18px, 10px, 0) scale(1.2);
  }
}

.business__inner {
  position: relative;
  padding-top: min(140px, 19.9%);
}
.business__eyebrow {
  font-size: clamp(0.813rem, 0.636rem + 0.75vw, 1.313rem);
  line-height: 18px;
}
@media (max-width: 780px) {
  .business__eyebrow {
    font-weight: 500;
    text-align: center;
  }
}
.business__intro {
  position: relative;
  margin-top: clamp(1rem, 0.296rem + 3vw, 3rem);
}

.business__title {
  position: relative;
  font:
    500 clamp(2.5rem, 0.497rem + 8.54vw, 8.188rem) "Bricolage Grotesque",
    sans-serif;
  white-space: nowrap;
  mix-blend-mode: exclusion;
}

.business__title span {
  display: block;
}
.business__title-we {
  top: 0;
  left: 0;
}
.business__title-big {
  margin-left: min(27.16%, 326px);
}
.business__title-spirits {
  margin-left: min(21.6%, 260px);
}

@media (max-width: 780px) {
  .business__title-big,
  .business__title-spirits {
    margin-left: 0;
  }
}

.business__copy {
  right: 0;
  font-size: clamp(0.938rem, 0.827rem + 0.47vw, 1.25rem);
  line-height: 35px;
  display: flex;
  justify-content: flex-end;
  margin-top: -28px;
}
@media (max-width: 780px) {
  .business__copy {
    font-weight: 500;
    margin-top: 8.35%;
    justify-content: center;
  }
}

.business__service {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 268px);
  margin-left: 268px;
  padding: 0 20px 60px;
  margin-top: min(120px, 8.3%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}

.business__service strong {
  font-size: clamp(1.063rem, 0.776rem + 1.22vw, 1.875rem);
  font-weight: 600;
  line-height: 1.25;
}
@media (max-width: 780px) {
  .business__service strong {
    font-weight: 500;
  }
}
.business__service span {
  font-size: clamp(0.813rem, 0.702rem + 0.47vw, 1.125rem);
  line-height: 28px;
}
@media (max-width: 780px) {
  .business__service span {
    font-weight: 500;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--footer);
  margin-top: -1px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 203px;
  right: -90px;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(74, 196, 255, 0.52) 0%,
      rgba(0, 164, 231, 0.28) 18%,
      transparent 38%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 139, 213, 0.84) 0%,
      rgba(0, 139, 213, 0.52) 22%,
      rgba(0, 139, 213, 0.22) 45%,
      transparent 72%
    );
  filter: blur(38px);
  mix-blend-mode: screen;
  transform: scale(1.12);
  transform-origin: center;
  animation: business-light-glow 3.5s ease-in-out infinite alternate;
  will-change: transform, filter, opacity;
  pointer-events: none;
}
.site-footer__inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: min(80px, 12%);
  padding: 0 5% 40px 5%;
}
.footer-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: clamp(0.813rem, 0.79rem + 0.09vw, 0.875rem);
}
.footer-nav a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 780px) {
  .footer-nav {
    font-weight: 500;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer__info {
    flex-direction: column-reverse;
    align-items: center;
    gap: 26px;
  }
}
.brand--footer > img {
  max-width: 463px;
  width: 52%;
  display: block;
  margin-inline: auto;
}
.footer__info {
  display: flex;
  justify-content: space-between;
  margin-top: min(40px, 6%);
}
@media (max-width: 780px) {
  .footer__info {
    flex-direction: column-reverse;
    margin-bottom: 13%;
  }
}
.company-info {
  display: flex;
  flex-direction: column;
  font-style: normal;
}
.company-info strong {
  font-size: clamp(0.875rem, 0.839rem + 0.18vw, 1rem);
  font-weight: 600;
  line-height: 26px;
}
.company-info span {
  font-size: clamp(0.75rem, 0.728rem + 0.09vw, 0.813rem);
  line-height: 20px;
}
.copyright {
  color: rgba(255, 255, 255, 0.5);
  font:
    300 16px / 14px "Bricolage Grotesque",
    sans-serif;
  white-space: nowrap;
  text-align: center;
}
@media (max-width: 780px) {
  .company-info {
    text-align: center;
  }
}

.subpage-body {
  position: relative;
  width: 100%;
  max-width: 100%;
  isolation: isolate;
  overflow-x: hidden;
  background-color: var(--bg);
}

.subpage-body::before {
  content: "";
  position: absolute;
  top: -210px;
  right: 0;
  z-index: 0;
  width: 720px;
  height: 710px;
  background:
    radial-gradient(
      circle at 75% 50%,
      rgba(74, 196, 255, 0.52) 0%,
      rgba(0, 164, 231, 0.28) 18%,
      transparent 38%
    ),
    radial-gradient(
      circle at 75% 50%,
      rgba(0, 139, 213, 0.84) 0%,
      rgba(0, 139, 213, 0.52) 22%,
      rgba(0, 139, 213, 0.22) 45%,
      transparent 72%
    );
  filter: blur(38px);
  mix-blend-mode: screen;
  transform: scale(1.12);
  transform-origin: right top;
  animation: subpage-light-glow 3.5s ease-in-out infinite alternate;
  will-change: transform, filter, opacity;
  pointer-events: none;
}

@keyframes subpage-light-glow {
  0% {
    opacity: 0.72;
    filter: blur(44px) saturate(1);
    transform: translate3d(0, -6px, 0) scale(1.06);
  }
  50% {
    opacity: 0.92;
    filter: blur(36px) saturate(1.18);
    transform: translate3d(0, 4px, 0) scale(1.14);
  }
  100% {
    opacity: 1;
    filter: blur(31px) saturate(1.3);
    transform: translate3d(0, 10px, 0) scale(1.2);
  }
}

.subpage-body > * {
  position: relative;
  z-index: 1;
}

.page-greeting {
  background-color: var(--bg);
}

/* 下層header */
.subpage-top {
  position: relative;
  padding-bottom: clamp(2rem, 0.283rem + 7.32vw, 6.875rem);
}

.subpage-heading {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--side-pad) * 2)), var(--content-width));
  margin-inline: auto;
  padding-top: 34px;
}
.subpage-heading h1 {
  color: #000;
  font-size: clamp(1.75rem, 1.134rem + 2.63vw, 3.5rem);
  font-weight: 500;
  line-height: 60px;
}
.subpage-heading p {
  margin: 10px 0 0 6px;
  color: rgba(26, 28, 34, 0.5);
  font:
    500 clamp(0.75rem, 0.464rem + 1.22vw, 1.563rem) "Bricolage Grotesque",
    sans-serif;
}
@media (max-width: 780px) {
  .subpage-heading h1 {
    line-height: 28px;
  }
  .subpage-heading p {
    line-height: 15px;
  }
}
/* Company profile */
.company-main {
  padding: 0 0 clamp(5rem, 3.239rem + 7.51vw, 10rem);
}

.company-profile {
  width: min(calc(100% - (var(--side-pad) * 2)), 950px);
  margin-inline: auto;
}

.company-profile__list {
  margin: 0;
}

.company-profile__row {
  display: grid;
  grid-template-columns: clamp(160px, 17.083333vw, 246px) minmax(0, 1fr);
  border-bottom: 1px solid rgba(26, 28, 34, 0.24);
  font-size: 16px;
  line-height: 26px;
}

.company-profile__row dt,
.company-profile__row dd {
  margin: 0;
}

.company-profile__row dt {
  font-size: clamp(0.813rem, 0.746rem + 0.28vw, 1rem);
  color: rgba(26, 28, 34, 0.6);
  line-height: 20px;
}
@media (max-width: 780px) {
  .company-profile__row dt {
    font-weight: 500;
  }
}

.company-profile__row dd {
  color: var(--main);
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
}

.company-profile__row dd strong {
  display: block;
  font-weight: 600;
}

.company-profile__row dd small {
  display: block;
  margin-top: 5px;
  color: #000;
  font-size: 13px;
  line-height: 20px;
}
@media (max-width: 780px) {
  .company-profile__row dd {
    font-weight: 500;
  }
}

.company-profile__row--name {
  min-height: 76px;
}
.company-profile__row--officers {
  min-height: 108px;
  padding-top: 22px;
}
.company-profile__row--address {
  min-height: 77px;
  padding-top: 22px;
}
.company-profile__row--website {
  min-height: 78px;
  padding-top: 23px;
}
.company-profile__row--founded {
  min-height: 72px;
  padding-top: 20px;
}
.company-profile__row--partners {
  min-height: 158px;
  padding-top: 19px;
}

.company-profile__row--website a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company-profile__row--partners ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Works archive */
.works-archive-main {
  padding: 0 0 clamp(5rem, 3.239rem + 7.51vw, 10rem);
}
.subpage-body .works {
  padding: 0;
}

.works-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

.works-archive-grid .work-card__body :is(h2, h3) {
  margin: 14px 0 0;
  font-size: clamp(0.813rem, 0.702rem + 0.47vw, 1.125rem);
  font-weight: 600;
  line-height: 25px;
}

.works-archive-grid .work-card__body a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Works/news detail */
.detail-main {
  width: min(calc(100% - (var(--side-pad) * 2)), 950px);
  margin-inline: auto;
  padding-top: 41px;
}

.detail-article__header time {
  display: block;
  color: rgba(26, 28, 34, 0.8);
  font:
    500 clamp(0.813rem, 0.746rem + 0.28vw, 1rem)/1.6 "Bricolage Grotesque",
    sans-serif;
}

.detail-article__header h1 {
  margin-top: 23px;
  color: var(--main);
  font-size: clamp(1.188rem, 0.967rem + 0.94vw, 1.813rem);
  font-weight: 600;
  line-height: 2;
  text-align: justify;
}

.works-detail__visual {
  display: grid;
  width: 705px;
  aspect-ratio: 705 / 400;
  margin-top: 56px;
  place-items: center;
  border-radius: 11px;
  background: #fff;
}

.works-detail__visual img {
  width: 354px;
  height: auto;
}

.detail-article__body {
  color: var(--main);
  font-size: clamp(0.813rem, 0.746rem + 0.28vw, 1rem);
  line-height: 2;
  text-align: justify;
}
@media (max-width: 780px) {
  .detail-article {
    padding: 0 2%;
  }
  .detail-article__body {
    font-weight: 500;
    line-height: 2.2;
  }
}

.page-works-detail .detail-article__body {
  margin-top: 39px;
}
.page-news-detail .detail-article__body {
  margin-top: clamp(2rem, 1.34rem + 2.82vw, 3.875rem);
}

.return-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  margin-top: 65px;
  border: 1px solid var(--main);
  font-size: clamp(0.938rem, 0.915rem + 0.09vw, 1rem);
  line-height: 1.6;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.return-link:hover {
  color: #fff;
  background: var(--main);
}

.return-link__icon {
  display: block;
  width: 19px;
  height: 14px;
}

.return-link__icon img {
  width: 100%;
  height: 100%;
}
.return-link:hover .return-link__icon img {
  filter: brightness(0) invert(1);
}

.page-works-detail .detail-main {
  padding-bottom: 145px;
}
.page-news-detail .detail-main {
  padding-bottom: 169px;
}
.greeting-main {
  padding-bottom: 154px;
}

.greeting-profile {
  display: flex;
  width: min(calc(100% - (var(--side-pad) * 2)), 950px);
  margin: 22px auto 0;
  align-items: flex-end;
  gap: 3%;
}

.greeting-profile__portrait {
  max-width: 336px;
  width: 43%;
}
.greeting-profile__portrait > img {
  border-radius: 6px;
}

.greeting-profile__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting-profile__message {
  color: var(--blue);
  font-size: clamp(0.938rem, 0.761rem + 0.75vw, 1.438rem);
  line-height: 35px;
}

@media (max-width: 780px) {
  .greeting-profile__message {
    line-height: 23px;
    font-weight: 500;
  }
}
.greeting-profile__identity h2 {
  font-size: clamp(1.5rem, 0.972rem + 2.25vw, 3rem);
  font-weight: 500;
  margin-top: 16px;
}

.greeting-profile__roman {
  margin: 8px 0 0 2px;
  font:
    300 clamp(0.875rem, 0.768rem + 0.54vw, 1.25rem)/23px "Bricolage Grotesque",
    sans-serif;
}

.greeting-message {
  width: min(calc(100% - (var(--side-pad) * 2)), 950px);
  margin: 27px auto 0;
  color: var(--ink);
  font-size: clamp(0.813rem, 0.702rem + 0.47vw, 1.125rem);
  line-height: 38px;
  text-align: justify;
}
.greeting-message p + p {
  margin-top: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
}

@media (max-width: 780px) {
  .greeting-message {
    font-weight: 500;
    line-height: 2.3;
    padding: 0 5%;
  }
}

.greeting-signature {
  width: min(calc(100% - (var(--side-pad) * 2)), 950px);
  margin: 27px auto 0;
  text-align: right;
}

.greeting-signature time {
  font-size: clamp(0.938rem, 0.871rem + 0.28vw, 1.125rem);
  line-height: 1.6;
}
.greeting-signature p {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 18px;
}
.greeting-signature span {
  font-size: clamp(0.875rem, 0.743rem + 0.56vw, 1.25rem);
  line-height: 25px;
}
.greeting-signature strong {
  font-size: clamp(1.688rem, 1.577rem + 0.47vw, 2rem);
  font-weight: 500;
  line-height: 40px;
}

@media (max-width: 780px) {
  .greeting-signature {
    padding: 0 5%;
    font-weight: 500;
  }
  .greeting-signature strong {
    font-weight: 400;
  }
}

.career {
  display: grid;
  grid-template-columns: 208px 1fr;
  width: min(calc(100% - (var(--side-pad) * 2)), 950px);
  margin: 55px auto 0;
  padding-top: 29px;
  border-top: 1px solid rgba(26, 28, 34, 0.34);
}

.career > h2 {
  padding-left: 0;
  font-size: clamp(1.063rem, 0.864rem + 0.85vw, 1.625rem);
  font-weight: 400;
  line-height: 1.6;
  font-weight: 500;
}
.career__list {
  margin: 0;
}
.career__list > div {
  display: grid;
  grid-template-columns: 162px 1fr;
  min-height: 58px;
  padding: 17px 10px;
  border-bottom: 1px solid rgba(26, 28, 34, 0.24);
  font-size: clamp(0.813rem, 0.746rem + 0.28vw, 1rem);
  line-height: 22px;
  font-weight: 500;
}
.career__list dt,
.career__list dd {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 780px) {
  .career__list dt,
  .career__list dd {
    font-weight: 500;
  }
}
.career__list small {
  display: block;
  margin: 12px 0 0 0;
  font-size: 12px;
  line-height: 20px;
}
.career__latest {
  padding: 31px 10px 0;
  color: var(--blue);
  font-size: 18px;
  line-height: 38px;
}

@media (max-width: 780px) {
  :root {
    --side-pad: 24px;
  }
  .hero {
    height: 620px;
    background-position: center;
    aspect-ratio: auto;
  }
  .global-nav {
    display: none;
  }
  .update-row {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 20px 2%;
  }
  .update-row span {
    font-weight: 500;
    line-height: 1.8;
  }
  .section-link__icon {
    width: 36px;
    height: 36px;
  }
  .works {
    padding-top: 56px;
    padding-bottom: 80px;
  }
  .works__heading {
    gap: 4px;
  }
  .works__heading p {
    font-weight: 500;
    padding-left: 4px;
  }
  .business::before {
    top: 0px;
    width: 100%;
    height: 200px;
    background:
      radial-gradient(
        circle at 28% 24%,
        rgba(74, 196, 255, 0.48) 0%,
        rgba(0, 164, 231, 0.24) 20%,
        transparent 42%
      ),
      radial-gradient(
        circle at 28% 24%,
        rgba(0, 139, 213, 0.8) 0%,
        rgba(0, 139, 213, 0.44) 25%,
        rgba(0, 139, 213, 0.17) 48%,
        transparent 74%
      );
  }
  .business__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.98;
    white-space: normal;
  }

  .business__service {
    width: 94%;
    margin: 64px 0 0;
    padding: 28px 0 28px;
    margin-inline: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.58);
  }
  .copyright {
    bottom: 52px;
    font-size: 14px;
  }
  .site-footer::before {
    top: 330px;
    right: -150px;
  }
}

@media (max-width: 420px) {
  .hero {
    height: 360px;
  }
}

@media (max-width: 780px) {
  .subpage-body::before {
    top: -185px;
    right: 0;
    width: 640px;
    height: 620px;
    background:
      radial-gradient(
        circle at 90.625% 50%,
        rgba(74, 196, 255, 0.52) 0%,
        rgba(0, 164, 231, 0.28) 18%,
        transparent 38%
      ),
      radial-gradient(
        circle at 90.625% 50%,
        rgba(0, 139, 213, 0.84) 0%,
        rgba(0, 139, 213, 0.52) 22%,
        rgba(0, 139, 213, 0.22) 45%,
        transparent 72%
      );
  }
  .subpage-heading {
    padding-top: 42px;
  }
  .subpage-heading p {
    margin: 5px 0 0 2px;
    font-size: 19px;
  }
  .company-profile__row {
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 0;
    padding: 20px 0;
    font-size: 14px;
    line-height: 1.8;
  }
  .company-profile__row dd small {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.6;
  }
  .greeting-main {
    padding-bottom: 80px;
  }
  .greeting-profile__roman {
    margin-top: 2px;
  }
  .career {
    display: block;
    margin-top: 40px;
    padding: 24px 2% 0;
  }
  .career > h2 {
    margin-bottom: 8px;
    font-weight: 500;
  }
  .career__list > div {
    grid-template-columns: 105px 1fr;
    padding-inline: 0;
  }
  .career__list small {
    margin-left: 0;
    font-size: 11px;
  }
  .career__latest {
    padding-inline: 0;
    font-size: 14px;
    line-height: 1.8;
  }
  .career__current br {
    display: none;
  }
}

/* Figma SP common layout */
@media (max-width: 780px) {
  :root {
    --side-pad: 16px;
    --mobile-header-space: clamp(82px, 23vw, 96px);
  }

  site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 900;
    width: 100%;
  }

  .subpage-top {
    padding-top: var(--mobile-header-space);
  }

  .subpage-body > site-header + .detail-main {
    margin-top: var(--mobile-header-space);
  }

  .subpage-body > .subpage-top {
    z-index: 100;
  }

  .subpage-body > site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 900;
    width: 100%;
  }

  .site-header .global-nav,
  .site-header .contact-button {
    display: none;
  }

  .site-header--hero .brand--header {
    opacity: 1;
    visibility: visible;
    transition:
      opacity 0.35s ease,
      visibility 0s linear;
  }

  .site-header--hero.is-over-hero-media .brand--header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      visibility 0s linear 0.35s;
  }

  .menu-toggle {
    display: block;
    margin: 4px 0 0 auto;
  }

  .site-header--hero .menu-toggle {
    color: #fff;
  }

  .mobile-menu {
    display: flex;
  }

  .subpage-heading {
    width: auto;
    margin: 0 16px;
    padding-top: 37px;
  }

  .subpage-heading p {
    margin: 8px 0 0 3px;
    font-size: 12px;
    line-height: 15px;
  }

  .subpage-body::before {
    top: -70px;
    right: 0;
    width: 250px;
    height: 250px;
    background:
      radial-gradient(
        circle at 80% 35%,
        rgba(74, 196, 255, 0.5) 0%,
        rgba(0, 164, 231, 0.25) 20%,
        transparent 43%
      ),
      radial-gradient(
        circle at 80% 35%,
        rgba(0, 139, 213, 0.78) 0%,
        rgba(0, 139, 213, 0.42) 27%,
        rgba(0, 139, 213, 0.16) 52%,
        transparent 76%
      );
  }
  .page-home .works-archive-grid {
    grid-template-columns: 1fr;
  }
  .works-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 15px;
    row-gap: 32px;
  }

  .works-archive-grid .work-card__visual {
    aspect-ratio: 164 / 93;
    border-radius: 2px;
  }

  .works-archive-grid .work-card__visual > span:not(.brand) {
    font-size: clamp(14px, 4.267vw, 16px);
    letter-spacing: -0.02em;
  }

  .works-archive-grid .work-card__logo {
    width: 82px;
  }

  .works-archive-grid .work-card__body {
    margin-top: 16px;
  }

  .works-archive-grid .work-card__body :is(h2, h3) {
    margin-top: 8px;
    line-height: 19px;
    font-weight: 500;
    text-align: justify;
  }

  .site-footer::before {
    top: auto;
    right: -73px;
    bottom: -75px;
    width: 200px;
    height: 200px;
  }

  .news-archive-heading h1 {
    font-size: 28px;
    line-height: 30px;
  }

  .news-archive-heading p {
    margin: 8px 0 0 3px;
    font-size: 12px;
    line-height: 15px;
  }

  .news-archive-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 94px;
    padding: 21px 10px 12px;
  }

  .news-archive-row time {
    font-size: 14px;
    line-height: 15px;
  }

  .news-archive-row span {
    font-size: 13px;
    line-height: 19px;
  }

  .detail-main {
    width: calc(100% - 32px);
    padding-top: 51px;
  }

  .detail-article__header h1 {
    margin-top: 12px;
    line-height: 1.6;
    font-weight: 500;
  }

  .works-detail__visual {
    width: 100%;
    aspect-ratio: 705 / 400;
    margin-top: 33px;
    border-radius: 0;
  }

  .works-detail__visual img {
    width: 50%;
  }

  .page-works-detail .detail-article__body {
    margin-top: 40px;
  }

  .return-link {
    height: 58px;
    font-size: 15px;
    line-height: 25px;
  }

  .page-works-detail .return-link {
    margin-top: 31px;
  }
  .page-news-detail .return-link {
    margin-top: 40px;
    font-weight: 500;
  }

  .page-works-detail .detail-main {
    padding-bottom: 101px;
  }
  .page-news-detail .detail-main {
    padding-bottom: 91px;
  }
}

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

/* Worksサムネイルのサイズ固定＆トリミング設定 */
.work-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 740 / 420; /* 16:9の比率を固定 */
  object-fit: cover; /* 枠に合わせて綺麗にトリミング */
  object-position: center; /* 中央を中心にトリミング */
}

/* 事業事例詳細：アイキャッチ画像出力時の白枠・余白削除 */
.works-detail__visual {
  padding: 0 !important; /* 内側の余白（白枠）を消去 */
  background: none !important; /* 白背景を削除 */
  border-radius: 0 !important; /* 角丸指定があれば解除 */
  overflow: hidden;
}

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

/* 記事本文内のリンクテキストを標準で青色にする */
.detail-article__body a,
.entry-content a {
  color: #0066cc !important; /* 好きな青色のカラーコード */
  text-decoration: underline;  /* 下線を付けてリンクだと分かりやすくする */
}

/* マウスを乗せた（ホバー）時の変化 */
.detail-article__body a:hover,
.entry-content a:hover {
  color: #003399 !important; /* 少し濃い青色 */
  text-decoration: none;
}

/* ヘッダーおよびハンバーガーメニュー内の「お知らせ」リンクを非表示 */
site-header a[href*="news"],
.drawer a[href*="news"],
.sp-nav a[href*="news"],
.nav-menu a[href*="news"] {
  display: none !important;
}

/* PC・モバイル共通：Worksセクション上の余白調整 */
.works {
  padding-top: clamp(3rem, 1.415rem + 6.76vw, 7.5rem);
}

/* サイン画像のレイアウト指定（PC・共通） */
.signature-img-wrap {
  display: flex;
  justify-content: flex-end; /* 右寄せ（中央寄せなら center） */
  margin-top: 5px;
}

.signature-img {
  max-width: 180px; /* PCでの横幅 */
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ（画面幅767px以下）の場合の設定 */
@media screen and (max-width: 767px) {
  .signature-img {
    max-width: 90px; /* スマホでの横幅（お好みで 80px〜100px 等に微調整可能） */
  }
}

/* トップページ限定：1番目の記事だけにモノクロの正円ピン（📌）を表示 *//* トップページ限定：1番目の記事だけにモノクロの正円ピンを表示 */
.home .works-archive-grid .work-card:first-child,
.front-page .works-archive-grid .work-card:first-child {
  position: relative;
}

.home .works-archive-grid .work-card:first-child::before,
.front-page .works-archive-grid .work-card:first-child::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  
  /* 正円のサイズ（直径28px） */
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  
  /* SVGでモノクロピンアイコンを描画 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333333'%3E%3Cpath d='M16 12V4h1V2H7v2h1v8l-2 2v2h5v6l1 1 1-1v-6h5v-2l-2-2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px; /* アイコンの大きさ */
}