/*
Theme Name: Ukyutoken Corporate
Theme URI: https://ukyutoken.com
Author: Codex
Description: 株式会社宇久塗建様向けのWordPressコーポレートサイトテーマ。
Version: 0.5.4
Template: Skeleton
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ukyutoken
*/

:root {
  --color-ink: #071522;
  --color-ink-soft: rgba(7, 21, 34, 0.72);
  --color-muted: #687782;
  --color-teal: #118b8c;
  --color-blue: #0c73a1;
  --color-cyan: #d7f4f5;
  --color-cyan-strong: #9fdde2;
  --color-white: #ffffff;
  --color-paper: #f7f9f9;
  --color-panel: #eef0f0;
  --color-black: #050505;
  --color-line: rgba(7, 21, 34, 0.14);
  --color-line-dark: rgba(255, 255, 255, 0.18);
  --color-red: #c93447;
  --shadow-card: 0 14px 36px rgba(7, 21, 34, 0.13);
  --layout: min(1180px, calc(100vw - 48px));
  --narrow: min(760px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
  line-height: 1.85;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(17, 139, 140, 0.035), transparent),
    repeating-linear-gradient(0deg, rgba(7, 21, 34, 0.026) 0 1px, transparent 1px 68px);
  pointer-events: none;
}

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

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

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--color-white);
  background: var(--color-teal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 96px;
  padding: 18px max(30px, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(7, 21, 34, 0.08);
  backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.site-brand img {
  width: 66px;
  height: 66px;
}

.site-brand strong,
.site-brand small {
  display: block;
}

.site-brand strong {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.54rem;
  font-weight: 800;
  line-height: 1.18;
}

.site-brand small {
  color: var(--color-teal);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}

.site-nav__link {
  display: grid;
  min-width: 82px;
  min-height: 54px;
  align-content: center;
  justify-items: center;
  padding: 4px 0;
  color: var(--color-ink);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

.site-nav__link small {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-teal);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 34px;
  height: 2px;
  margin: 8px 0;
  background: var(--color-ink);
}

.button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.button::after {
  content: ">";
  font-size: 1.35rem;
  line-height: 1;
}

.button--primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  box-shadow: 0 12px 24px rgba(12, 115, 161, 0.2);
}

.button--outline,
.button--ghost {
  color: var(--color-teal);
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--color-teal);
}

.site-header__cta {
  display: grid;
  grid-template-columns: 24px auto;
  gap: 4px 12px;
  min-width: 178px;
  min-height: 58px;
}

.site-header__cta::before {
  grid-row: 1 / 3;
  align-self: center;
  width: 21px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.site-header__cta::after {
  display: none;
}

.site-header__cta span,
.site-header__cta small {
  line-height: 1.1;
}

.site-header__cta span {
  font-size: 1rem;
}

.site-header__cta small {
  font-size: 0.78rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -170px;
  z-index: 1;
  width: 78vw;
  height: 320px;
  content: "";
  background: linear-gradient(135deg, rgba(215, 244, 245, 0.96), rgba(145, 211, 219, 0.8));
  border-radius: 50% 0 0 0;
  transform: rotate(-6deg);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  align-items: center;
  width: var(--layout);
  min-height: 620px;
  margin: 0 auto;
  padding: 74px 0 110px;
}

.hero--front .hero__inner {
  min-height: 760px;
}

.hero__copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 22px;
  max-width: 580px;
}

.hero__visual {
  position: absolute;
  inset: 0 calc((100% - 100vw) / 2) 0 38%;
  z-index: 0;
}

.hero__visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 24%, rgba(255, 255, 255, 0.42) 52%, rgba(255, 255, 255, 0) 78%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0) 34%);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.eyebrow,
.section-heading__eyebrow,
.cta-band__eyebrow {
  position: relative;
  margin: 0;
  color: var(--color-teal);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.4;
}

.eyebrow::before {
  display: inline-block;
  width: 48px;
  height: 2px;
  margin-right: 16px;
  vertical-align: middle;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero--front h1 {
  font-size: 4.45rem;
}

.hero h1 span {
  color: var(--color-teal);
}

.hero__lead {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.hero__badges li {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 16px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.hero__badges strong {
  display: block;
  margin-top: 10px;
  font-size: 0.96rem;
}

.line-icon {
  position: relative;
  display: block;
  width: 42px;
  height: 36px;
  color: var(--color-teal);
}

.line-icon::before,
.line-icon::after {
  position: absolute;
  content: "";
}

.line-icon--home::before {
  left: 8px;
  bottom: 0;
  width: 26px;
  height: 22px;
  border: 3px solid currentColor;
}

.line-icon--home::after {
  left: 9px;
  top: 0;
  width: 24px;
  height: 24px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: rotate(45deg);
}

.line-icon--helmet::before {
  left: 3px;
  bottom: 5px;
  width: 36px;
  height: 20px;
  border: 3px solid currentColor;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.line-icon--helmet::after {
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: currentColor;
}

.line-icon--people::before {
  left: 3px;
  top: 2px;
  width: 13px;
  height: 13px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 21px 0 0 -3px #fff, 21px 0 0 0 currentColor;
}

.line-icon--people::after {
  left: 0;
  bottom: 0;
  width: 17px;
  height: 16px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 22px 0 0 -3px #fff, 22px 0 0 0 currentColor;
}

.hero__note {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0;
  color: var(--color-ink);
  font-weight: 800;
}

.hero__note::before,
.hero__note::after {
  display: block;
  height: 1px;
  background: var(--color-teal);
  content: "";
}

.hero__note::before {
  width: 52px;
}

.hero__note::after {
  flex: 1;
}

.section {
  position: relative;
  padding: 96px 0;
  background: var(--color-white);
}

.section--news {
  background: linear-gradient(90deg, #f5f6f6, #fff);
}

.section--tint {
  background: linear-gradient(90deg, #f5f6f6, #fff);
}

.section--black {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 160px),
    var(--color-black);
}

.section__inner,
.entry-wrap {
  width: var(--layout);
  margin: 0 auto;
}

.section__inner--narrow {
  width: var(--narrow);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section__inner--narrow .section-heading {
  max-width: none;
}

.section-heading__eyebrow {
  color: var(--color-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.58rem;
}

.section--black .section-heading__eyebrow {
  color: var(--color-white);
}

.section-heading h2 {
  margin: 8px 0 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2.25rem;
  line-height: 1.42;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--color-ink-soft);
}

.section--black .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.script-label {
  margin: 0;
  color: rgba(7, 21, 34, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1;
}

.section--black .script-label {
  color: rgba(255, 255, 255, 0.24);
}

.mini-button,
.section-button .mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 32px;
  padding: 0 18px;
  color: var(--color-white);
  background: var(--color-black);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.mini-button::after {
  margin-left: 9px;
  content: ">";
}

.mini-button--light {
  color: var(--color-black);
  background: var(--color-white);
}

.section-button {
  margin: 28px 0 0;
  text-align: center;
}

.news-list {
  display: grid;
  border-top: 1px solid var(--color-line);
}

.news-card {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  background: transparent;
  border-bottom: 1px solid var(--color-line);
}

.news-card time,
.post-meta {
  color: var(--color-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.news-card h3,
.entry-title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.news-card p {
  grid-column: 2;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

.section--black .news-card {
  border-color: var(--color-line-dark);
}

.section--black .news-card p {
  color: rgba(255, 255, 255, 0.72);
}

.home-about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 34px;
  align-items: center;
  padding: 52px;
  background:
    linear-gradient(135deg, rgba(238, 240, 240, 0.88), rgba(255, 255, 255, 0.92)),
    var(--color-panel);
}

.home-about::before {
  position: absolute;
  left: -52px;
  bottom: -34px;
  width: 170px;
  height: 170px;
  content: "";
  border-left: 1px solid rgba(7, 21, 34, 0.14);
  border-bottom: 1px solid rgba(7, 21, 34, 0.14);
}

.home-about__text {
  position: relative;
  z-index: 1;
}

.home-about h2,
.split-feature h2 {
  margin: 8px 0 16px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2rem;
  line-height: 1.5;
}

.home-about p {
  color: var(--color-ink-soft);
}

.home-about__image {
  position: relative;
  z-index: 1;
  margin: 0;
  box-shadow: var(--shadow-card);
}

.home-about__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.split-feature figure {
  position: relative;
  margin: 0;
}

.split-feature figure::before {
  position: absolute;
  left: -38px;
  bottom: -38px;
  z-index: 0;
  width: 150px;
  height: 150px;
  content: "";
  background: rgba(255, 255, 255, 0.22);
}

.split-feature img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.split-feature p {
  color: rgba(255, 255, 255, 0.78);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.strength-grid--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.strength-card {
  background: var(--color-panel);
}

.strength-card:nth-child(even) {
  margin-top: 46px;
}

.strength-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.strength-card .script-label {
  padding: 16px 18px 0;
  font-size: 1.32rem;
}

.strength-card h3 {
  margin: 8px 18px 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.strength-card p:not(.script-label) {
  margin: 10px 18px 20px;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

.service-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 54px;
  align-items: center;
}

.service-overview h2 {
  margin: 0 0 12px;
  color: var(--color-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 4.7rem;
  font-weight: 900;
  line-height: 0.95;
}

.service-overview p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.76);
}

.service-thumb-list {
  display: grid;
  gap: 12px;
}

.service-thumb-list a {
  position: relative;
  display: block;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-thumb-list img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  opacity: 0.68;
}

.service-thumb-list span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-white);
  font-weight: 900;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 190px;
  padding: 26px;
  background: var(--color-white);
  border: 1px solid rgba(7, 21, 34, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.card p {
  margin: 12px 0 0;
  color: var(--color-ink-soft);
}

.card--image {
  padding: 0;
  overflow: hidden;
}

.card--image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center right;
}

.card--image h3,
.card--image p {
  margin-right: 22px;
  margin-left: 22px;
}

.card--image h3 {
  margin-top: 18px;
}

.card--image p {
  margin-bottom: 24px;
}

.section--black .card {
  background: rgba(255, 255, 255, 0.08);
}

.section--black .card p {
  color: rgba(255, 255, 255, 0.72);
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: 34px;
  overflow: hidden;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.service-feature:nth-of-type(even) {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
}

.service-feature:nth-of-type(even) .service-feature__visual {
  order: 2;
}

.service-feature__visual {
  min-height: 430px;
}

.service-feature__visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.service-feature__content {
  display: grid;
  align-content: center;
  padding: 46px;
}

.service-feature__content h3 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2rem;
}

.service-feature__content > p {
  color: var(--color-ink-soft);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: rgba(7, 21, 34, 0.12);
}

.service-list article {
  padding: 18px;
  background: var(--color-white);
}

.service-list h4 {
  margin: 0;
  color: var(--color-teal);
}

.service-list p {
  margin: 8px 0 0;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

.work-breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  width: min(1180px, calc(100vw - 48px));
  min-height: 58px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.work-breadcrumb a {
  color: var(--color-teal);
}

.work-breadcrumb span::before {
  margin-right: 12px;
  color: var(--color-line);
  content: ">";
}

.work-layout {
  border-top: 1px solid var(--color-line);
  background: var(--color-white);
}

.work-layout__inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 52px;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.work-layout__main {
  padding: 62px 0 92px;
}

.work-page-heading {
  margin-bottom: 34px;
}

.work-page-heading p {
  margin: 0 0 8px;
  color: var(--color-teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.work-page-heading h1 {
  max-width: 280px;
  padding-bottom: 22px;
  margin: 0;
  color: var(--color-teal);
  border-bottom: 3px solid currentColor;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.72rem;
  line-height: 1.45;
}

.work-main-visual {
  margin: 0 0 48px;
}

.work-main-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center right;
}

.work-intro,
.work-detail {
  margin-top: 38px;
}

.work-intro h2,
.work-detail > h2 {
  margin: 0 0 18px;
  padding: 10px 16px;
  color: var(--color-ink);
  background: linear-gradient(90deg, rgba(215, 244, 245, 0.58), #f3f7f7);
  border-left: 5px solid var(--color-teal);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.14rem;
  line-height: 1.45;
}

.work-intro p,
.work-detail__text > p {
  margin: 0;
  color: var(--color-ink-soft);
  font-weight: 700;
  line-height: 2.05;
}

.work-detail__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.work-detail__image {
  order: 2;
  margin: 0;
}

.work-detail__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center right;
}

.work-detail__items {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.work-detail__items article {
  padding: 16px 18px;
  background: #f7fafa;
  border-left: 3px solid rgba(17, 139, 140, 0.64);
}

.work-detail__items h3 {
  margin: 0;
  color: var(--color-teal);
  font-size: 0.98rem;
  line-height: 1.5;
}

.work-detail__items p {
  margin: 8px 0 0;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  line-height: 1.85;
}

.work-sidebar {
  padding: 0 0 92px;
  border-left: 1px solid var(--color-line);
}

.work-side-menu {
  margin-bottom: 34px;
  background: var(--color-white);
}

.work-side-menu h2 {
  display: grid;
  gap: 2px;
  min-height: 150px;
  align-content: center;
  padding: 28px 34px;
  margin: 0;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.work-side-menu h2 small {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.work-side-menu a {
  display: block;
  padding: 19px 34px;
  color: var(--color-ink-soft);
  border-bottom: 1px solid var(--color-line);
  font-weight: 800;
}

.work-side-menu a:hover,
.work-side-menu a:focus-visible,
.work-side-menu a.is-current {
  color: var(--color-ink);
  background: rgba(17, 139, 140, 0.12);
}

.work-side-banner {
  position: relative;
  display: block;
  margin: 0 0 30px 34px;
  overflow: hidden;
  color: var(--color-white);
}

.work-side-banner img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.86);
}

.work-side-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 21, 34, 0.6), rgba(7, 21, 34, 0.12));
}

.work-side-banner span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 800;
}

.work-side-banner small {
  display: block;
  margin-top: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 0.72rem;
}

.reason-hero {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  place-items: center;
  color: var(--color-white);
  background: #7f8f92;
}

.reason-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.82) contrast(0.96);
}

.reason-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 21, 34, 0.58), rgba(7, 21, 34, 0.18)),
    linear-gradient(0deg, rgba(17, 139, 140, 0.18), rgba(255, 255, 255, 0.04));
}

.reason-hero__content {
  position: relative;
  z-index: 1;
  width: var(--layout);
  padding: 68px 0;
  text-align: center;
}

.reason-hero__content p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 900;
}

.reason-hero__content h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2.3rem;
  line-height: 1.35;
  text-shadow: 0 2px 20px rgba(7, 21, 34, 0.25);
}

.reason-breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  width: var(--layout);
  min-height: 58px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.reason-breadcrumb a {
  color: var(--color-teal);
}

.reason-breadcrumb span::before {
  margin-right: 12px;
  color: var(--color-line);
  content: ">";
}

.reason-kenso {
  position: relative;
  overflow: hidden;
  padding: 72px 0 112px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.7)),
    repeating-linear-gradient(135deg, rgba(7, 21, 34, 0.038) 0 1px, transparent 1px 23px),
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.52) 0 2px, transparent 2px 31px),
    #e4ebeb;
}

.reason-kenso__inner {
  width: min(1060px, calc(100vw - 48px));
  margin: 0 auto;
}

.reason-intro-card {
  max-width: 920px;
  margin: 0 auto 70px;
  padding: 44px 58px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(7, 21, 34, 0.12);
}

.reason-intro-card__label {
  display: inline-grid;
  min-width: 150px;
  min-height: 28px;
  margin: 0 0 16px;
  place-items: center;
  color: var(--color-teal);
  border-top: 1px solid rgba(17, 139, 140, 0.28);
  border-bottom: 1px solid rgba(17, 139, 140, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
}

.reason-intro-card h2 {
  margin: 0 0 20px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.42rem;
  line-height: 1.55;
}

.reason-intro-card p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-ink-soft);
  font-weight: 700;
  line-height: 2.08;
}

.reason-works {
  margin-top: 76px;
}

.reason-works__heading,
.reason-points__heading {
  margin-bottom: 34px;
  text-align: center;
}

.reason-works__heading p,
.reason-points__heading p {
  margin: 0 0 6px;
  color: var(--color-teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.reason-works__heading h2,
.reason-points__heading h2 {
  margin: 0;
  color: rgba(7, 21, 34, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1.3;
}

.reason-feature-stack {
  display: grid;
  gap: 34px;
}

.reason-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.reason-feature-row:nth-child(even) {
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
}

.reason-feature-row:nth-child(even) .reason-feature-row__image {
  order: 2;
}

.reason-feature-row__image {
  margin: 0;
}

.reason-feature-row__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center right;
  box-shadow: 0 18px 38px rgba(7, 21, 34, 0.16);
}

.reason-feature-row__card,
.reason-feature-note,
.reason-point-card__copy {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(7, 21, 34, 0.12);
}

.reason-feature-row__card {
  padding: 34px 38px;
  border-left: 5px solid var(--color-teal);
}

.reason-feature-row__card h3,
.reason-feature-note h3 {
  margin: 0 0 14px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.14rem;
  line-height: 1.55;
}

.reason-feature-row__card p,
.reason-feature-note p,
.reason-point-card__copy > p:last-child {
  margin: 0;
  color: var(--color-ink-soft);
  font-weight: 700;
  line-height: 2.05;
}

.reason-feature-note {
  padding: 28px 34px;
  border-left: 5px solid var(--color-blue);
}

.reason-points {
  margin-top: 100px;
}

.reason-point-list {
  display: grid;
  gap: 92px;
}

.reason-point-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.88fr);
  align-items: center;
}

.reason-point-card:nth-child(even) {
  grid-template-columns: minmax(330px, 0.88fr) minmax(0, 1fr);
}

.reason-point-card:nth-child(odd) .reason-point-card__copy {
  margin-right: -44px;
}

.reason-point-card:nth-child(even) .reason-point-card__copy {
  order: 2;
  margin-left: -44px;
}

.reason-point-card:nth-child(even) .reason-point-card__image {
  order: 1;
}

.reason-point-card__copy {
  position: relative;
  z-index: 1;
  padding: 40px 44px;
}

.reason-point-card__number {
  position: absolute;
  top: -58px;
  left: -4px;
  margin: 0;
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.1rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.reason-point-card__copy h3 {
  margin: 0;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.12rem;
  line-height: 1.65;
}

.reason-point-card__copy span {
  display: block;
  width: 54px;
  height: 3px;
  margin: 18px auto 22px;
  background: var(--color-teal);
}

.reason-point-card__image {
  margin: 0;
}

.reason-point-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center right;
  box-shadow: 0 18px 38px rgba(7, 21, 34, 0.16);
}

.reason-list {
  display: grid;
  gap: 12px;
  counter-reset: reason;
}

.reason-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.reason-item::before {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-teal);
  content: counter(reason, decimal-leading-zero);
  counter-increment: reason;
  font-weight: 900;
}

.reason-item h3 {
  margin: 0;
}

.reason-item p {
  margin: 8px 0 0;
  color: var(--color-ink-soft);
}

.banner-image {
  margin: 34px 0 0;
}

.banner-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.profile-grid div {
  padding: 18px;
  background: var(--color-white);
}

.profile-grid dt {
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.profile-grid dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  background: var(--color-line-dark);
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline strong {
  color: var(--color-cyan-strong);
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.company-page {
  background: var(--color-white);
}

.company-hero {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  place-items: center;
  color: var(--color-white);
  background: #6f7f82;
}

.company-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.82) contrast(0.94);
}

.company-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 21, 34, 0.5), rgba(7, 21, 34, 0.2)),
    linear-gradient(0deg, rgba(17, 139, 140, 0.16), rgba(255, 255, 255, 0.1));
}

.company-hero__content {
  position: relative;
  z-index: 1;
  width: var(--layout);
  padding: 76px 0;
  text-align: center;
}

.company-hero__content p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 900;
}

.company-hero__content h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2.32rem;
  line-height: 1.35;
  text-shadow: 0 2px 20px rgba(7, 21, 34, 0.24);
}

.company-breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  width: var(--layout);
  min-height: 58px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.company-breadcrumb a {
  color: var(--color-teal);
}

.company-breadcrumb span::before {
  margin-right: 12px;
  color: var(--color-line);
  content: ">";
}

.company-page__inner {
  width: min(1000px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 74px 0 112px;
}

.company-message,
.company-philosophy {
  position: relative;
  max-width: 790px;
  margin: 0 auto;
  padding: 54px 64px;
  text-align: center;
  background: var(--color-white);
  border: 1px solid rgba(7, 21, 34, 0.28);
}

.company-message + .company-philosophy {
  margin-top: 54px;
}

.company-message__script {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  margin: 0;
  color: rgba(7, 21, 34, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.company-section-label {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--color-ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.company-message h2,
.company-philosophy h2 {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.22rem;
  line-height: 1.75;
}

.company-message__body {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  text-align: left;
}

.company-message__body p {
  margin: 0;
  color: var(--color-ink-soft);
  font-weight: 700;
  line-height: 2.12;
}

.company-message__body p + p {
  margin-top: 14px;
}

.company-message__name {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  text-align: right;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.company-philosophy {
  max-width: 790px;
  padding-top: 46px;
  padding-bottom: 46px;
}

.company-philosophy h2 {
  max-width: 620px;
}

.company-gallery-section,
.company-profile-section,
.company-access {
  margin-top: 72px;
}

.company-gallery-heading {
  margin-bottom: 28px;
  text-align: center;
}

.company-gallery-heading p {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.18rem;
  font-weight: 900;
}

.company-gallery-heading h2 {
  margin: 3px 0 0;
  color: rgba(7, 21, 34, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-style: italic;
  line-height: 1;
}

.company-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  background: var(--color-white);
}

.company-gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--color-panel);
}

.company-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.company-gallery__item--1 img {
  object-position: center right;
}

.company-gallery__item--2 img {
  object-position: center;
}

.company-gallery__item--3 img {
  object-position: center left;
}

.company-gallery__item:hover img {
  transform: scale(1.035);
}

.company-profile-table {
  display: grid;
  margin: 0;
  border: 1px solid rgba(7, 21, 34, 0.12);
  border-bottom: 0;
}

.company-profile-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 70px;
  border-bottom: 1px solid rgba(7, 21, 34, 0.12);
}

.company-profile-table dt,
.company-profile-table dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 18px 24px;
  line-height: 1.8;
}

.company-profile-table dt {
  justify-content: center;
  color: var(--color-white);
  background: #8c9699;
  font-weight: 900;
  text-align: center;
}

.company-profile-table dd {
  color: var(--color-ink);
  background: var(--color-white);
  font-weight: 700;
}

.company-profile-table dd.company-profile-table__history {
  display: block;
}

.company-profile-table dd span {
  display: block;
}

.company-profile-table dd span + span {
  margin-top: 4px;
}

.company-access {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
}

.company-access__map {
  border-radius: 0;
}

.entry-content {
  max-width: 780px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.contact-panel,
.form-panel {
  padding: 34px;
  background: var(--color-white);
}

.contact-panel h3 {
  margin-top: 0;
}

.contact-field-list {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 20px 0 0;
  background: var(--color-line);
  list-style: none;
}

.contact-field-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 12px 14px;
  background: var(--color-white);
}

.contact-field-list small {
  grid-column: 1 / -1;
  color: var(--color-muted);
}

.cf7-form-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.cf7-form-list dt {
  font-weight: 900;
}

.cf7-form-list dd {
  margin: 0;
}

.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid rgba(7, 21, 34, 0.18);
  border-radius: 8px;
}

.wpcf7-form-control-wrap {
  display: block;
}

.form-panel__fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wpcf7 textarea {
  min-height: 170px;
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  width: auto;
  min-height: 0;
}

.wpcf7-submit {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.required {
  color: var(--color-red);
  font-weight: 900;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: var(--layout);
  margin: 0 auto;
  padding: 34px;
  color: var(--color-white);
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-band h2,
.cta-band p {
  margin: 0;
}

.cta-band h2 {
  margin-top: 5px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2rem;
  line-height: 1.35;
}

.cta-band p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.74);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  padding: 64px 0 28px;
  color: var(--color-white);
  background: var(--color-black);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 34px;
  width: var(--layout);
  margin: 42px auto 0;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand h2,
.footer-brand p {
  margin: 0;
}

.footer-brand p {
  max-width: 560px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-profile {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--color-line-dark);
}

.footer-profile div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-profile dt {
  color: rgba(255, 255, 255, 0.52);
}

.footer-profile dd {
  margin: 0;
}

.site-footer__copy {
  width: var(--layout);
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
}

.quick-actions {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 40;
  display: grid;
  gap: 12px;
  pointer-events: none;
}

.quick-actions a {
  display: grid;
  width: 58px;
  min-height: 160px;
  place-items: center;
  padding: 18px 10px;
  color: var(--color-white);
  background: linear-gradient(180deg, var(--color-blue), var(--color-teal));
  box-shadow: 0 16px 30px rgba(12, 115, 161, 0.2);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.35;
  pointer-events: auto;
  text-align: center;
  writing-mode: vertical-rl;
}

.quick-actions a:first-child {
  background: linear-gradient(180deg, #1d9dd3, var(--color-blue));
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .site-header__cta {
    display: none;
  }

  .site-nav[data-open] {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-self: stretch;
    justify-content: stretch;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
  }

  .site-nav[data-open] .site-nav__link {
    min-width: 0;
    background: var(--color-paper);
  }

  .strength-grid,
  .strength-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero__inner,
  .hero--front .hero__inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0 0 64px;
  }

  .hero__visual {
    position: relative;
    inset: auto;
    order: -1;
    width: 100vw;
    height: 54vh;
    min-height: 360px;
    margin-left: calc((var(--layout) - 100vw) / 2);
  }

  .hero__visual::before {
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0.72) 32%, rgba(255, 255, 255, 0) 68%);
  }

  .hero__copy {
    width: 100%;
    max-width: none;
    margin-top: -82px;
    padding: 0;
  }

  .hero h1,
  .hero--front h1 {
    font-size: 3.1rem;
  }

  .home-about,
  .split-feature,
  .service-overview,
  .service-feature,
  .service-feature:nth-of-type(even),
  .reason-feature-row,
  .reason-feature-row:nth-child(even),
  .reason-point-card,
  .reason-point-card:nth-child(even),
  .work-layout__inner,
  .work-detail__body,
  .contact-layout,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .work-layout__main {
    padding-bottom: 44px;
  }

  .work-sidebar {
    padding: 0 0 72px;
    border-left: 0;
  }

  .work-side-menu h2 {
    min-height: 96px;
  }

  .work-side-banner {
    margin-left: 0;
  }

  .reason-hero {
    min-height: 300px;
  }

  .company-hero {
    min-height: 320px;
  }

  .reason-kenso {
    padding: 58px 0 86px;
  }

  .reason-feature-row:nth-child(even) .reason-feature-row__image,
  .reason-point-card:nth-child(even) .reason-point-card__copy,
  .reason-point-card:nth-child(even) .reason-point-card__image {
    order: 0;
  }

  .reason-point-card:nth-child(odd) .reason-point-card__copy,
  .reason-point-card:nth-child(even) .reason-point-card__copy {
    margin: 0;
  }

  .reason-point-card {
    gap: 18px;
  }

  .reason-point-card__number {
    position: static;
    margin-bottom: 12px;
    font-size: 2.4rem;
  }

  .service-feature:nth-of-type(even) .service-feature__visual {
    order: 0;
  }

  .cta-band__actions {
    justify-content: flex-start;
  }

  .quick-actions {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --layout: min(100vw - 28px, 1180px);
    --narrow: min(100vw - 28px, 760px);
  }

  .site-header {
    min-height: 86px;
    padding: 12px 20px;
  }

  .site-brand img {
    width: 54px;
    height: 54px;
  }

  .site-brand strong {
    font-size: 1.42rem;
  }

  .site-brand small {
    font-size: 0.9rem;
  }

  .hero::after {
    right: -54vw;
    bottom: -130px;
    width: 128vw;
    height: 260px;
  }

  .hero__visual {
    height: 44vh;
    min-height: 290px;
  }

  .hero__copy {
    gap: 18px;
    margin-top: -48px;
  }

  .hero h1,
  .hero--front h1 {
    font-size: 2.62rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__badges,
  .card-grid,
  .service-list,
  .work-detail__items,
  .profile-grid,
  .news-card,
  .strength-grid,
  .strength-grid--wide {
    grid-template-columns: 1fr;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__badges {
    gap: 10px;
  }

  .hero__badges li {
    min-height: 86px;
  }

  .hero__note {
    align-items: flex-start;
    font-size: 0.9rem;
  }

  .hero__note::after {
    display: none;
  }

  .section {
    padding: 66px 0;
  }

  .work-breadcrumb,
  .reason-breadcrumb,
  .company-breadcrumb,
  .work-layout__inner {
    width: min(100vw - 28px, 720px);
  }

  .work-breadcrumb,
  .reason-breadcrumb,
  .company-breadcrumb {
    min-height: 48px;
    font-size: 0.78rem;
  }

  .work-layout__main {
    padding-top: 34px;
  }

  .work-page-heading {
    margin-bottom: 24px;
  }

  .work-main-visual {
    margin-bottom: 34px;
  }

  .work-intro,
  .work-detail {
    margin-top: 30px;
  }

  .work-detail__image {
    order: 0;
  }

  .reason-hero {
    min-height: 230px;
  }

  .company-hero {
    min-height: 230px;
  }

  .reason-hero__content {
    padding: 48px 0;
  }

  .company-hero__content {
    padding: 48px 0;
  }

  .reason-hero__content h1 {
    font-size: 1.92rem;
  }

  .company-hero__content h1 {
    font-size: 1.92rem;
  }

  .reason-kenso__inner {
    width: min(100vw - 28px, 720px);
  }

  .company-page__inner {
    width: min(100vw - 28px, 720px);
    padding: 48px 0 72px;
  }

  .company-message,
  .company-philosophy {
    padding: 34px 24px;
  }

  .company-message + .company-philosophy {
    margin-top: 34px;
  }

  .company-message__script {
    top: 24px;
    font-size: 2.34rem;
  }

  .company-message h2,
  .company-philosophy h2 {
    font-size: 1.1rem;
    text-align: left;
  }

  .company-section-label {
    margin-bottom: 14px;
  }

  .company-message__name {
    text-align: left;
  }

  .company-gallery-section,
  .company-profile-section,
  .company-access {
    margin-top: 50px;
  }

  .company-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
  }

  .company-profile-table div {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .company-profile-table dt {
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
  }

  .company-profile-table dd {
    min-height: 58px;
    padding: 16px;
  }

  .reason-intro-card {
    margin-bottom: 52px;
    padding: 28px 22px;
  }

  .reason-intro-card h2 {
    font-size: 1.22rem;
  }

  .reason-works {
    margin-top: 58px;
  }

  .reason-works__heading,
  .reason-points__heading {
    margin-bottom: 24px;
  }

  .reason-works__heading h2,
  .reason-points__heading h2 {
    font-size: 1.58rem;
  }

  .reason-feature-stack {
    gap: 22px;
  }

  .reason-feature-row {
    gap: 18px;
  }

  .reason-feature-row__card,
  .reason-feature-note,
  .reason-point-card__copy {
    padding: 24px;
  }

  .reason-points {
    margin-top: 72px;
  }

  .reason-point-list {
    gap: 48px;
  }

  .reason-point-card__copy h3 {
    text-align: left;
  }

  .reason-point-card__copy span {
    margin-left: 0;
  }

  .section-heading__eyebrow {
    font-size: 1.34rem;
  }

  .section-heading h2,
  .home-about h2,
  .split-feature h2,
  .service-feature__content h3 {
    font-size: 1.72rem;
  }

  .home-about,
  .service-feature__content,
  .contact-panel,
  .form-panel,
  .cta-band {
    padding: 24px;
  }

  .home-about::before {
    display: none;
  }

  .strength-card:nth-child(even) {
    margin-top: 0;
  }

  .service-overview h2 {
    font-size: 3rem;
  }

  .service-feature__visual,
  .service-feature__visual img {
    min-height: 0;
  }

  .service-feature__visual img {
    aspect-ratio: 16 / 10;
  }

  .news-card p {
    grid-column: auto;
  }

  .timeline li,
  .reason-item,
  .footer-profile div {
    grid-template-columns: 1fr;
  }
}

/* Top page design override for the supplied PC/SP mockups. */
.top-page {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

.top-container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.top-button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  min-height: 56px;
  padding: 0 28px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 16px 28px rgba(12, 115, 161, 0.18);
  font-weight: 900;
  line-height: 1.25;
}

.top-button::after {
  content: ">";
  font-size: 1.25rem;
  line-height: 1;
}

.top-button--ghost {
  color: var(--color-teal);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--color-teal);
  box-shadow: none;
}

.top-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 34%, rgba(255, 255, 255, 0.2) 72%),
    var(--color-white);
}

.top-hero::after {
  position: absolute;
  right: -14vw;
  bottom: -148px;
  z-index: 1;
  width: 92vw;
  height: 320px;
  content: "";
  background: linear-gradient(135deg, rgba(215, 244, 245, 0.96), rgba(143, 215, 222, 0.72));
  border-radius: 100% 0 0 0;
  transform: rotate(-6deg);
}

.top-hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  width: min(1320px, calc(100vw - 64px));
  min-height: 720px;
  margin: 0 auto;
  padding: 56px 0 108px;
}

.top-hero__copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 20px;
  max-width: 660px;
}

.top-hero__eyebrow,
.top-heading__eyebrow {
  position: relative;
  margin: 0;
  color: var(--color-teal);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.4;
}

.top-hero__eyebrow::before,
.top-heading__eyebrow::before {
  display: inline-block;
  width: 48px;
  height: 2px;
  margin-right: 16px;
  vertical-align: middle;
  background: currentColor;
  content: "";
}

.top-hero h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 3.76rem;
  font-weight: 800;
  line-height: 1.34;
}

.top-hero h1 span {
  color: var(--color-teal);
}

.top-hero__lead {
  max-width: 560px;
  margin: 0;
  color: var(--color-ink);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 2;
}

.top-hero__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 2px 0 0;
  list-style: none;
}

.top-hero__badges li {
  display: grid;
  min-height: 106px;
  place-items: center;
  padding: 14px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-hero__badges strong {
  display: block;
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.top-hero__actions,
.top-company__actions,
.top-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.top-hero__visual {
  position: absolute;
  inset: 0 calc((100% - 100vw) / 2) 0 40%;
  z-index: 0;
  margin: 0;
}

.top-hero__visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.75) 26%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0) 36%);
}

.top-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.top-hero__note {
  position: absolute;
  left: -460px;
  bottom: 78px;
  z-index: 2;
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 520px;
  margin: 0;
  color: var(--color-ink);
  font-weight: 800;
}

.top-hero__note::before,
.top-hero__note::after {
  display: block;
  height: 1px;
  background: var(--color-teal);
  content: "";
}

.top-hero__note::before {
  width: 48px;
}

.top-hero__note::after {
  flex: 1;
  min-width: 70px;
}

.top-hero__note strong {
  color: var(--color-teal);
}

.top-section {
  position: relative;
  overflow: hidden;
  padding: 98px 0;
  background: var(--color-white);
}

.top-section--pale {
  background:
    linear-gradient(135deg, rgba(232, 249, 250, 0.86), rgba(255, 255, 255, 0.94) 64%),
    #f2fbfb;
}

.top-section--pale::before {
  position: absolute;
  right: -18vw;
  top: -170px;
  width: 56vw;
  height: 360px;
  content: "";
  background: rgba(215, 244, 245, 0.58);
  border-radius: 0 0 0 100%;
}

.top-heading {
  max-width: 680px;
  margin-bottom: 38px;
}

.top-heading h2,
.top-about h2,
.top-company h2,
.top-contact h2 {
  margin: 8px 0 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2.56rem;
  line-height: 1.42;
}

.top-heading p:not(.top-heading__eyebrow),
.top-about__copy p,
.top-company__copy p {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--color-ink-soft);
  font-weight: 700;
}

.top-about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: 58px;
  align-items: center;
}

.top-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.top-stats li {
  display: grid;
  gap: 6px;
}

.top-stats strong {
  color: var(--color-teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  line-height: 1;
}

.top-stats span {
  color: var(--color-ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.top-photo-card {
  position: relative;
  margin: 0;
}

.top-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center right;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-photo-card figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 14px 18px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.55;
}

.top-photo-card small {
  display: block;
  margin-bottom: 3px;
  font-size: 0.7rem;
  opacity: 0.82;
}

.top-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: top-service;
}

.top-service-card {
  overflow: hidden;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  counter-increment: top-service;
}

.top-service-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.top-service-card__body {
  position: relative;
  padding: 36px 22px 24px;
}

.top-service-card__body::before {
  display: block;
  color: rgba(17, 139, 140, 0.32);
  content: counter(top-service, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.top-service-card h3 {
  margin: 6px 0 0;
  font-size: 1.08rem;
  line-height: 1.55;
}

.top-service-card p {
  margin: 10px 0 0;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

.top-reason-layout {
  display: grid;
  gap: 34px;
}

.top-reason-promise {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  max-width: 930px;
  margin-left: auto;
  padding: 24px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-reason-promise__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.top-reason-promise h3 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.48rem;
  line-height: 1.52;
}

.top-reason-promise p {
  margin: 12px 0 0;
  color: var(--color-ink-soft);
  font-weight: 700;
}

.top-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: top-reason;
}

.top-reason-card {
  padding: 26px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  counter-increment: top-reason;
  transform: none;
}

.top-reason-card:nth-child(4),
.top-reason-card:nth-child(5) {
  transform: none;
}

.top-reason-card::before {
  display: block;
  color: var(--color-teal);
  content: counter(top-reason, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.top-reason-card h3 {
  margin: 9px 0 0;
  font-size: 1.04rem;
  line-height: 1.48;
}

.top-reason-card p {
  margin: 10px 0 0;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

.top-company {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: start;
}

.top-company__badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.top-company__badges li {
  display: grid;
  min-height: 86px;
  place-items: center;
  padding: 16px;
  text-align: center;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  color: var(--color-teal);
  font-weight: 900;
}

.top-company__actions {
  margin-top: 26px;
}

.top-representative {
  max-width: 280px;
  margin-top: 22px;
  padding: 18px 20px;
  color: var(--color-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.top-representative p {
  margin: 0;
}

.top-representative strong {
  display: block;
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-style: italic;
}

.top-profile {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-profile div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-line);
}

.top-profile div:last-child {
  border-bottom: 0;
}

.top-profile dt {
  color: var(--color-teal);
  font-size: 0.84rem;
  font-weight: 900;
}

.top-profile dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 700;
}

.top-map-card {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 18px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-map-card__label {
  display: grid;
  gap: 2px;
}

.top-map-card strong {
  color: var(--color-teal);
}

.top-map-card span {
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.top-map-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

.top-page #news .news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border-top: 0;
}

.top-page #news .news-card {
  display: block;
  min-height: 210px;
  padding: 24px;
  background: var(--color-white);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-page #news .news-card time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-muted);
}

.top-page #news .news-card h3 {
  font-size: 1rem;
}

.top-page #news .news-card p {
  margin-top: 14px;
  color: var(--color-ink-soft);
}

.top-news__more {
  margin: 28px 0 0;
}

.top-contact {
  color: var(--color-white);
  background:
    linear-gradient(132deg, #0f9692 0%, #0b6f99 100%);
}

.top-contact::before {
  position: absolute;
  right: -12vw;
  top: -170px;
  width: 54vw;
  height: 340px;
  content: "";
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0 0 0 100%;
}

.top-contact .top-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.48fr);
  gap: 54px;
  align-items: center;
}

.top-contact .top-heading__eyebrow,
.top-contact h2 {
  color: var(--color-white);
}

.top-contact .top-heading__eyebrow::before {
  background: currentColor;
}

.top-contact p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.top-contact .top-button {
  color: var(--color-teal);
  background: var(--color-white);
  box-shadow: none;
}

.top-contact .top-button--ghost {
  color: var(--color-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.top-contact-grid {
  display: grid;
  gap: 12px;
}

.top-contact-card {
  padding: 20px;
  color: var(--color-ink);
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-contact-card h3 {
  margin: 0;
  color: var(--color-teal);
  font-size: 1rem;
}

.top-contact-card p {
  margin: 8px 0 0;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .top-hero,
  .top-hero__inner {
    min-height: auto;
  }

  .top-hero {
    padding-bottom: 56px;
    background: var(--color-white);
  }

  .top-hero::after {
    right: -42vw;
    bottom: -150px;
    width: 132vw;
    height: 260px;
  }

  .top-hero__inner {
    display: flex;
    flex-direction: column;
    width: min(100vw - 28px, 720px);
    padding: 0 0 64px;
  }

  .top-hero__visual {
    position: relative;
    inset: auto;
    order: -1;
    width: 100vw;
    height: 44vh;
    min-height: 330px;
    margin-left: calc((min(100vw - 28px, 720px) - 100vw) / 2);
  }

  .top-hero__visual::before {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.5) 34%, rgba(255, 255, 255, 0) 74%);
  }

  .top-hero__copy {
    max-width: none;
    width: 100%;
    margin-top: -32px;
  }

  .top-hero h1 {
    font-size: 2.88rem;
  }

  .top-hero__note {
    display: none;
  }

  .top-about,
  .top-company,
  .top-contact .top-container,
  .top-reason-promise {
    grid-template-columns: 1fr;
  }

  .top-service-grid,
  .top-reason-grid,
  .top-page #news .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .top-container {
    width: min(100vw - 28px, 720px);
  }

  .top-button {
    width: 100%;
    min-width: 0;
  }

  .top-hero {
    min-height: 0;
    padding-bottom: 24px;
  }

  .top-hero__inner {
    width: min(100vw - 28px, 720px);
    padding-bottom: 36px;
  }

  .top-hero__visual {
    height: 39vh;
    min-height: 268px;
  }

  .top-hero__copy {
    gap: 16px;
    margin-top: -18px;
  }

  .top-hero h1 {
    font-size: 2.48rem;
    line-height: 1.36;
  }

  .top-hero__lead {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .top-hero__badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .top-hero__badges li {
    min-height: 86px;
    padding: 10px 6px;
  }

  .top-hero__badges .line-icon {
    width: 34px;
    height: 30px;
  }

  .top-hero__badges strong {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .top-section {
    padding: 66px 0;
  }

  .top-heading {
    margin-bottom: 24px;
  }

  .top-heading h2,
  .top-about h2,
  .top-company h2,
  .top-contact h2 {
    font-size: 1.78rem;
  }

  .top-heading p:not(.top-heading__eyebrow),
  .top-about__copy p,
  .top-company__copy p,
  .top-contact p {
    font-size: 0.96rem;
    line-height: 1.85;
  }

  .top-stats,
  .top-company__badges,
  .top-service-grid,
  .top-reason-grid,
  .top-page #news .news-list {
    grid-template-columns: 1fr;
  }

  .top-photo-card figcaption {
    position: static;
    max-width: none;
    margin-top: -8px;
    border-radius: 0 0 8px 8px;
  }

  .top-service-card__body,
  .top-reason-card,
  .top-contact-card {
    padding: 22px;
  }

  .top-service-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    min-height: 156px;
  }

  .top-service-card__image img {
    height: 100%;
    min-height: 156px;
    aspect-ratio: auto;
  }

  .top-service-card__body {
    display: grid;
    align-content: center;
  }

  .top-reason-promise {
    gap: 18px;
    padding: 18px;
  }

  .top-profile div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .top-hero__badges {
    grid-template-columns: 1fr;
  }

  .top-hero__badges li {
    grid-template-columns: 38px 1fr;
    justify-items: start;
    min-height: 64px;
    text-align: left;
  }

  .top-hero__badges strong {
    margin-top: 0;
  }
}

/* Pelican-inspired top page rhythm. Brand colors stay teal, pale cyan, and white. */
.top-page--pelican {
  background:
    linear-gradient(180deg, #fff 0 700px, #f3fbfb 701px 960px, #fff 961px);
}

.top-page--pelican .top-hero {
  min-height: auto;
  padding: 58px 0 34px;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 72%, rgba(215, 244, 245, 0.46) 72% 100%),
    var(--color-white);
}

.top-page--pelican .top-hero::after {
  right: 0;
  bottom: -116px;
  width: 100%;
  height: 210px;
  background: rgba(215, 244, 245, 0.82);
  border-radius: 0 0 54% 46%;
  transform: none;
}

.top-page--pelican .top-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 58px;
  align-items: center;
  width: min(1180px, calc(100vw - 56px));
  min-height: 560px;
  padding: 0 0 66px;
}

.top-page--pelican .top-hero__copy {
  gap: 18px;
  max-width: 620px;
}

.top-page--pelican .top-hero h1 {
  font-size: 3.48rem;
}

.top-page--pelican .top-hero__visual {
  position: relative;
  inset: auto;
  z-index: 2;
  overflow: visible;
  padding: 12px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(7, 21, 34, 0.16);
  transform: rotate(-1.4deg);
}

.top-page--pelican .top-hero__visual::before {
  display: none;
}

.top-page--pelican .top-hero__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.top-page--pelican .top-hero__note {
  left: auto;
  right: 28px;
  bottom: -26px;
  max-width: 360px;
  padding: 15px 18px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(12, 115, 161, 0.2);
}

.top-page--pelican .top-hero__note::before,
.top-page--pelican .top-hero__note::after {
  display: none;
}

.top-page--pelican .top-hero__note strong {
  color: var(--color-white);
}

.top-discovery {
  position: relative;
  z-index: 2;
  padding: 0 0 94px;
}

.top-discovery__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: -28px auto 76px;
}

.top-discovery__actions a {
  display: grid;
  gap: 4px;
  min-height: 92px;
  align-content: center;
  padding: 20px 28px;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid rgba(17, 139, 140, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-discovery__actions span {
  color: var(--color-teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.top-discovery__actions strong {
  font-size: 1.08rem;
  line-height: 1.45;
}

.top-playground {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  gap: 54px;
  align-items: center;
}

.top-playground__copy h2 {
  margin: 8px 0 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2.46rem;
  line-height: 1.46;
}

.top-playground__copy p:not(.top-heading__eyebrow) {
  margin: 18px 0 0;
  color: var(--color-ink-soft);
  font-weight: 700;
}

.top-playground__tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 16px;
  align-items: start;
}

.top-playground__tiles figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--color-white);
  border: 8px solid var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.top-playground__tiles figure:nth-child(even) {
  margin-top: 44px;
}

.top-playground__tiles img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center right;
  border-radius: 6px;
}

.top-playground__tiles figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  color: var(--color-white);
  background: rgba(17, 139, 140, 0.9);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.top-page--pelican .top-heading--center {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.top-page--pelican .top-heading--center .top-heading__eyebrow::before {
  display: block;
  width: 56px;
  margin: 0 auto 12px;
}

.top-page--pelican .top-section {
  padding: 104px 0;
}

.top-page--pelican #about {
  padding-top: 86px;
}

.top-page--pelican #service {
  border-radius: 48% 52% 0 0 / 5% 5% 0 0;
}

.top-page--pelican .top-service-grid {
  gap: 18px;
}

.top-page--pelican .top-service-card {
  min-height: 100%;
  border: 1px solid rgba(17, 139, 140, 0.12);
}

.top-page--pelican .top-service-card:nth-child(even) {
  margin-top: 34px;
}

.top-page--pelican .top-service-card__image img {
  aspect-ratio: 1 / 1;
}

.top-page--pelican .top-reason-promise {
  margin: 0 auto 12px;
}

.top-page--pelican .top-reason-grid {
  max-width: 980px;
  margin: 0 auto;
}

.top-page--pelican #company {
  border-radius: 0 0 48% 52% / 0 0 5% 5%;
}

.top-page--pelican #news .news-list {
  align-items: stretch;
}

.top-page--pelican #news .news-card {
  border: 1px solid rgba(17, 139, 140, 0.12);
}

.top-page--pelican .top-news__more {
  text-align: center;
}

.top-page--pelican .top-contact {
  margin-top: 16px;
  border-radius: 48% 52% 0 0 / 9% 9% 0 0;
}

@media (max-width: 980px) {
  .top-page--pelican .top-hero {
    padding-top: 0;
  }

  .top-page--pelican .top-hero__inner {
    display: flex;
    width: min(100vw - 28px, 720px);
    padding-bottom: 52px;
  }

  .top-page--pelican .top-hero__visual {
    width: 100%;
    height: auto;
    margin: 0;
    transform: rotate(-0.8deg);
  }

  .top-page--pelican .top-hero__copy {
    margin-top: -6px;
  }

  .top-playground {
    grid-template-columns: 1fr;
  }

  .top-playground__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-playground__tiles figure:nth-child(even) {
    margin-top: 26px;
  }
}

@media (max-width: 720px) {
  .top-page--pelican .top-hero h1 {
    font-size: 2.28rem;
  }

  .top-page--pelican .top-hero__visual {
    padding: 8px;
  }

  .top-page--pelican .top-hero__note {
    position: static;
    max-width: none;
    margin-top: -2px;
    border-radius: 0 0 8px 8px;
  }

  .top-discovery {
    padding-bottom: 64px;
  }

  .top-discovery__actions {
    grid-template-columns: 1fr;
    margin: -8px auto 54px;
  }

  .top-playground__copy h2 {
    font-size: 1.82rem;
  }

  .top-playground__tiles {
    gap: 12px;
  }

  .top-playground__tiles figure {
    border-width: 6px;
  }

  .top-page--pelican .top-section {
    padding: 72px 0;
  }

  .top-page--pelican .top-service-card:nth-child(even) {
    margin-top: 0;
  }

  .top-page--pelican .top-service-card__image img {
    aspect-ratio: auto;
  }
}

/* Sakuto-inspired sales polish: oversized hero, blue topic rail, and fixed consultation path. */
.top-page--sakuto {
  background:
    linear-gradient(180deg, #fff 0 620px, rgba(215, 244, 245, 0.42) 621px 900px, #fff 901px),
    var(--color-white);
}

.top-page--sakuto .top-hero {
  min-height: 760px;
  padding: 34px 0 86px;
  background:
    radial-gradient(circle at 0 100%, rgba(215, 244, 245, 0.78) 0 260px, transparent 261px),
    linear-gradient(180deg, #fff 0%, #fff 74%, rgba(215, 244, 245, 0.62) 74%, rgba(215, 244, 245, 0.62) 100%);
}

.top-page--sakuto .top-hero::after {
  right: auto;
  left: -14vw;
  bottom: -120px;
  z-index: 0;
  width: 62vw;
  height: 320px;
  background: rgba(215, 244, 245, 0.62);
  border-radius: 0 100% 0 0;
  transform: none;
}

.top-page--sakuto .top-hero__inner {
  grid-template-columns: minmax(0, 0.74fr) minmax(560px, 1.18fr);
  gap: 44px;
  width: min(1320px, calc(100vw - 72px));
  min-height: 620px;
  padding: 0 0 72px;
}

.top-page--sakuto .top-hero__copy {
  padding-top: 24px;
}

.top-page--sakuto .top-hero h1 {
  font-size: 3.72rem;
}

.top-page--sakuto .top-hero__lead {
  color: rgba(7, 21, 34, 0.86);
}

.top-page--sakuto .top-hero__visual {
  padding: 0;
  overflow: hidden;
  background: #e8f3f6;
  border-radius: 64px 0 0 64px;
  box-shadow: 0 30px 70px rgba(7, 21, 34, 0.16);
  transform: none;
}

.top-page--sakuto .top-hero__visual img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  filter: saturate(0.96) contrast(1.02);
}

.top-page--sakuto .top-hero__visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 21, 34, 0.18), rgba(7, 21, 34, 0)),
    linear-gradient(0deg, rgba(7, 21, 34, 0.18), rgba(7, 21, 34, 0) 38%);
  pointer-events: none;
}

.top-hero__sale-badge {
  position: absolute;
  top: 82px;
  left: 52px;
  z-index: 3;
  display: grid;
  width: 184px;
  min-height: 184px;
  align-content: center;
  padding: 24px 18px;
  color: var(--color-white);
  text-align: center;
  background: linear-gradient(135deg, #128f94, #0c73a1);
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 22px 36px rgba(12, 115, 161, 0.28);
}

.top-hero__sale-badge small {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
}

.top-hero__sale-badge strong {
  display: block;
  margin-top: 6px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 1.34rem;
  line-height: 1.25;
}

.top-hero__sale-badge span {
  display: block;
  margin-top: 7px;
  font-size: 0.76rem;
  font-weight: 900;
}

.top-hero__outline {
  position: absolute;
  left: 34px;
  bottom: 44px;
  z-index: 2;
  margin: 0;
  color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.66;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
  text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.top-page--sakuto .top-hero__note {
  right: 42px;
  bottom: 42px;
  z-index: 4;
  max-width: 420px;
  background: linear-gradient(135deg, #0c73a1, #087f9d);
}

.top-topic-bar {
  position: absolute;
  left: 50%;
  bottom: 48px;
  z-index: 6;
  display: grid;
  grid-template-columns: 132px auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(720px, calc(100vw - 120px));
  min-height: 72px;
  padding: 0 34px;
  color: var(--color-white);
  background: linear-gradient(90deg, #0c73a1, #0b89bd);
  border-radius: 999px 0 0 999px;
  box-shadow: 0 22px 40px rgba(12, 115, 161, 0.24);
}

.top-topic-bar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 900;
}

.top-topic-bar time,
.top-topic-bar strong {
  font-weight: 900;
}

.top-page--sakuto .top-discovery {
  padding-top: 22px;
}

.top-page--sakuto .top-discovery__actions {
  max-width: 860px;
  margin-top: -18px;
}

.top-page--sakuto .top-discovery__actions a {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background: linear-gradient(135deg, #0c73a1, #118b8c);
  border: 0;
  box-shadow: 0 24px 44px rgba(12, 115, 161, 0.18);
}

.top-page--sakuto .top-discovery__actions a:nth-child(2) {
  background: linear-gradient(135deg, #118b8c, #0a5f86);
}

.top-page--sakuto .top-discovery__actions span,
.top-page--sakuto .top-discovery__actions strong {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.top-page--sakuto .top-playground__tiles figure {
  border-width: 0;
  box-shadow: 0 18px 36px rgba(7, 21, 34, 0.15);
}

.top-page--sakuto .top-playground__tiles figcaption {
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  border-radius: 8px;
}

.top-page--sakuto .top-section--pale,
.top-page--sakuto #service,
.top-page--sakuto #company {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.92) 0 210px, transparent 211px),
    linear-gradient(135deg, rgba(215, 244, 245, 0.82), rgba(255, 255, 255, 0.98) 66%);
}

.top-page--sakuto .top-contact {
  background:
    linear-gradient(0deg, rgba(7, 21, 34, 0.18), rgba(7, 21, 34, 0.18)),
    linear-gradient(135deg, #087f9d, #0b5c83);
}

@media (max-width: 980px) {
  .top-page--sakuto .top-hero {
    padding-top: 0;
  }

  .top-page--sakuto .top-hero__inner {
    display: flex;
    width: min(100vw - 28px, 720px);
    padding-bottom: 98px;
  }

  .top-page--sakuto .top-hero__visual {
    width: 100%;
    border-radius: 0 0 40px 40px;
  }

  .top-hero__sale-badge {
    top: auto;
    left: 18px;
    bottom: 18px;
    width: 138px;
    min-height: 138px;
    padding: 18px 12px;
  }

  .top-hero__sale-badge strong {
    font-size: 1.05rem;
  }

  .top-hero__outline {
    display: none;
  }

  .top-topic-bar {
    left: 14px;
    right: 14px;
    bottom: 42px;
    width: auto;
    grid-template-columns: 86px 1fr;
    gap: 8px 14px;
    min-height: 78px;
    padding: 14px 18px;
    border-radius: 8px;
  }

  .top-topic-bar strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .top-page--sakuto .top-hero__visual {
    min-height: 318px;
  }

  .top-page--sakuto .top-hero h1 {
    font-size: 2.44rem;
  }

  .top-hero__sale-badge {
    width: 118px;
    min-height: 118px;
    border-width: 4px;
  }

  .top-hero__sale-badge small,
  .top-hero__sale-badge span {
    font-size: 0.68rem;
  }

  .top-hero__sale-badge strong {
    font-size: 0.92rem;
  }

  .top-topic-bar {
    font-size: 0.86rem;
  }
}
