* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #172236;
  font-family: "Noto Sans JP", "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  background: #fff;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 12px rgba(8, 41, 79, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: none;
  min-height: 78px;
  margin: 0;
  padding: 0 0 0 clamp(18px, 3vw, 36px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand img {
  width: 280px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 44px;
  color: #fff;
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  background: #08294f;
}

.brand__body {
  display: grid;
  line-height: 1.35;
}

.brand__name {
  color: #08294f;
  font-weight: 800;
}

.brand__tagline {
  color: #333;
  font-size: 0.74rem;
  font-weight: 700;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1 1 auto;
}
.global-nav a {
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-action {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-left: auto;
}

.header-action__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 238px;
  min-height: 78px;
  padding: 10px 22px;
  color: #08294f;
  line-height: 1.25;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.header-action__tel-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  background: #08294f;
  border-radius: 50%;
  flex: 0 0 auto;
}

.header-action__tel-body {
  display: grid;
  gap: 2px;
}
.header-action__tel-body strong {
  color: #08294f;
  font-family: "Noto Sans JP", "Yu Gothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1.24rem;
  line-height: 1;
}
.header-action__tel-body small {
  color: #333;
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "label" "text";
  align-content: center;
  min-width: 160px;
  min-height: 78px;
  padding: 12px 16px;
  overflow: hidden;
  color: #08294f;
  font-weight: 900;
  line-height: 1.3;
  background: #e0c00b;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.header-contact::before {
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), transparent);
  opacity: 0;
  transform: skewX(-18deg);
}
.header-contact:hover {
  background: #a78f08;
  color: #fff;
}
.header-contact:hover::before {
  opacity: 1;
  animation: header-shine 0.72s ease;
}

.header-contact__label {
  grid-area: label;
  font-size: 0.68rem;
  letter-spacing: 0;
  opacity: 0.86;
}

.header-contact__text {
  grid-area: text;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  letter-spacing: 0;
}

@keyframes header-shine {
  0% {
    left: -55%;
  }
  100% {
    left: 115%;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(8, 41, 79, 0.14);
}

.btn--accent {
  color: #08294f;
  background: #e0c00b;
}

.btn--primary {
  color: #fff;
  background: #08294f;
}

.btn--outline {
  color: #08294f;
  background: #fff;
  border-color: #08294f;
}

.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--white {
  color: #08294f;
  background: #fff;
}

.btn--wide {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(11, 39, 77, 0.14);
}
.button--accent {
  color: #08294f;
  background: #e0c00b;
}
.button--light {
  color: #0b274d;
  background: #fff;
}

.menu-button {
  display: none;
}

.drawer {
  display: none;
}

.hero {
  position: relative;
  min-height: 680px;
  color: #fff;
}
.hero__bg, .hero__overlay {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  background: linear-gradient(90deg, rgba(11, 39, 77, 0.92), rgba(11, 39, 77, 0.7) 46%, rgba(11, 39, 77, 0.2));
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 40px;
  max-width: 1240px;
  min-height: 680px;
  margin: 0 auto;
  padding: 92px 28px;
}
.hero__content {
  max-width: 760px;
}
.hero__title {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: clamp(3.2rem, 5vw, 3.95rem);
  font-weight: 700;
  line-height: 1.18;
}
.hero__subtitle {
  margin: 20px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
}
.hero__text {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.hero-badges li {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  min-height: 92px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-left: 5px solid #e0c00b;
  backdrop-filter: blur(12px);
}
.hero-badges i {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #e0c00b;
  font-size: 3rem;
  border-radius: 50%;
}
.hero-badges strong,
.hero-badges span {
  display: block;
  min-width: 0;
}
.hero-badges strong {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
}
.hero-badges span {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: #1465a8;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #e0c00b;
}

.section-label {
  margin: 0 0 8px;
  color: #1f6fb2;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}
.section-label--light {
  color: #e0c00b;
}

.hero-panel {
  position: relative;
  text-align: center;
  padding: 30px 28px;
  overflow: hidden;
  color: #08294f;
  background: linear-gradient(135deg, #a78f08, #e0c00b);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  box-shadow: 0 28px 58px rgba(3, 31, 56, 0.34);
}
.hero-panel::before {
  position: absolute;
  top: -44px;
  right: -38px;
  width: 128px;
  height: 128px;
  content: "";
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}
.hero-panel::after {
  position: absolute;
  bottom: -44px;
  left: -38px;
  width: 128px;
  height: 128px;
  content: "";
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}
.hero-panel__title {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 5px 12px;
  margin: 0 auto 18px;
  color: #08294f;
  font-size: 1.08rem;
  font-weight: 900;
  background: #fff;
  border-radius: 999px;
}
.hero-panel__list {
  text-align: left;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-panel li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-left: 0;
  color: #08294f;
  font-size: 1.05rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  padding-bottom: 7px;
}
.hero-panel li::before {
  display: none;
}
.hero-panel li i {
  margin-top: 0.48em;
  color: #08294f;
  font-size: 1rem;
  flex: 0 0 auto;
}

.section {
  padding: 92px 0;
}

.section__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section--pale {
  background: #f6f9fc;
}

.section--blueprint {
  background-color: #f7fbff;
  background-image: linear-gradient(rgba(20, 101, 168, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 101, 168, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}

.section--navy {
  color: #fff;
  background: linear-gradient(135deg, #08294f, #0d3f75);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading--between {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 34px;
  max-width: none;
}
.section-heading--between p:last-child {
  max-width: 440px;
  color: #333;
}

.section-heading--light p {
  color: rgba(255, 255, 255, 0.86);
}

.section h2 {
  margin: 0;
  color: #08294f;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: 2.65rem;
  line-height: 1.35;
}

.section--navy h2,
.contact h2 {
  color: #fff;
}

.section-heading > p:not(.eyebrow) {
  color: #333;
}

.inline-cta {
  padding: 34px 0;
  background: #fff;
  border-top: 1px solid #dce5ef;
  border-bottom: 1px solid #dce5ef;
}

.inline-cta--strong,
.inline-cta--works {
  background: linear-gradient(90deg, rgba(8, 41, 79, 0.94), rgba(8, 41, 79, 0.82)), url("../images/sample-service-wall.avif") center/cover;
  color: #fff;
  border: 0;
}

.inline-cta--price {
  background: #fff8d8;
  border-color: rgba(167, 143, 8, 0.22);
}

.inline-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.inline-cta p {
  margin: 0 0 6px;
  color: #e0c00b;
  font-size: 0.92rem;
  font-weight: 900;
}

.inline-cta h2 {
  margin: 0;
  color: #08294f;
  font-size: 1.48rem;
  line-height: 1.45;
}

.inline-cta--strong h2,
.inline-cta--works h2 {
  color: #fff;
}

.inline-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #1465a8;
  font-weight: 900;
}
.text-link::after {
  content: ">";
  margin-left: 10px;
}

.worry-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.worry-list li {
  position: relative;
  min-height: 90px;
  padding: 24px 20px 20px 50px;
  font-size: 1.03rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(8, 41, 79, 0.05);
}
.worry-list li::before {
  position: absolute;
  top: 26px;
  left: 20px;
  width: 16px;
  height: 16px;
  content: "";
  border: 3px solid #e0c00b;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.about__layout,
.company__layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 54px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: 8px;
}

.about__note {
  position: absolute;
  right: -18px;
  bottom: 24px;
  max-width: 260px;
  padding: 18px;
  color: #fff;
  font-weight: 900;
  background: #08294f;
}

.about__content p,
.company__content p,
.recruit-box p {
  color: #333;
  font-size: 1.03rem;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.reason-card {
  min-height: 270px;
  padding: 30px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(8, 41, 79, 0.06);
}
.reason-card span {
  display: block;
  color: #e0c00b;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 700;
}
.reason-card h3 {
  margin: 0px 0 12px;
  color: #08294f;
  font-size: 1.22rem;
  line-height: 1.45;
}
.reason-card p {
  margin: 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
}

.reason-card--wide {
  grid-column: span 2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
}
.service-card img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}
.service-card h3 {
  margin: 0 0 7px;
  color: #08294f;
  font-size: 1.18rem;
}
.service-card p {
  margin: 0;
  color: #333;
  font-size: 0.98rem;
}

.sign-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sign-grid article {
  padding: 26px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
}
.sign-grid span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #08294f;
  font-weight: 900;
  background: #eaf4fb;
  border-left: 5px solid #e0c00b;
}
.sign-grid h3 {
  margin: 18px 0 8px;
  color: #08294f;
  font-size: 1.16rem;
}
.sign-grid p {
  margin: 0;
  color: #333;
  font-size: 1rem;
}
.sign-grid img {
  border-radius: 10px;
}

.price-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 780px;
  min-height: 58px;
  padding: 12px 22px;
  margin: 18px auto 4px !important;
  color: #08294f !important;
  font-size: 1.08rem;
  font-weight: 900;
  background: #e0c00b;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 34px rgba(3, 31, 56, 0.24);
}

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

.price-card {
  padding: 30px;
  color: #172236;
  background: #fff;
  border-radius: 8px;
}
.price-card p {
  margin: 0 0 8px;
  color: #1465a8;
  font-weight: 900;
}
.price-card h3 {
  margin: 0 0 18px;
  color: #08294f;
  font-size: 1.38rem;
}
.price-card strong {
  display: block;
  font-size: 1.48rem;
  color: #08294f;
}
.price-card span {
  display: block;
  margin-top: 14px;
  color: #333;
  font-size: 1rem;
}

.price-card--accent {
  border: 3px solid #e0c00b;
}

.price-note {
  max-width: 900px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.84);
  text-align: center;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.works {
  background: linear-gradient(180deg, rgba(246, 249, 252, 0.7), white);
}

.work-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  box-shadow: 0 22px 44px rgba(8, 41, 79, 0.1);
}

.work-card__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #dce5ef;
}
.work-card__photos figure {
  position: relative;
  margin: 0;
  background: #d7e0ea;
}
.work-card__photos img {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.work-card__photos figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 12px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(8, 41, 79, 0.86);
  border-radius: 4px;
}

.work-card__body {
  padding: 22px;
}

.work-card__body {
  display: grid;
  align-content: center;
  padding: 30px;
}

.work-card__area {
  display: inline-flex;
  width: max-content;
  padding: 6px 12px;
  margin: 0 0 12px;
  color: #fff;
  font-weight: 900;
  background: #08294f;
}

.work-card h3 {
  margin: 0 0 20px;
  color: #08294f;
  font-size: 1.34rem;
  line-height: 1.45;
}

.work-card dl {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px 14px;
  margin: 0;
  font-size: 1rem;
}

.work-card dt {
  color: #333;
  font-weight: 900;
}

.work-card dd {
  margin: 0;
  color: #172236;
  font-weight: 800;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.flow-list li {
  padding: 24px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
}
.flow-list span {
  color: #e0c00b;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}
.flow-list h3 {
  margin: 4px 0 8px;
  color: #08294f;
  font-size: 1.13rem;
}
.flow-list p {
  margin: 10px 0 0;
  color: #333;
  font-size: 0.98rem;
}
.flow-list img {
  border-radius: 10px;
}

.news-list {
  display: grid;
  gap: 12px;
  opacity: 0.82;
}
.news-list article {
  display: grid;
  grid-template-columns: 130px 120px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 66px;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
}
.news-list time {
  color: #333;
  font-weight: 800;
}
.news-list span {
  display: inline-flex;
  justify-content: center;
  padding: 4px 12px;
  color: #1465a8;
  font-size: 0.8rem;
  font-weight: 900;
  background: #eaf4fb;
  border-radius: 999px;
}
.news-list a {
  color: #08294f;
  font-weight: 800;
}

.news.section {
  padding-top: 66px;
  padding-bottom: 66px;
  background: #f6f9fc;
}

.company__content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: #fff;
}
.company__content table th, .company__content table td {
  padding: 14px 16px;
  border-bottom: 1px solid #dce5ef;
  text-align: left;
}
.company__content table th {
  width: 112px;
  color: #08294f;
}
.company__content table td {
  color: #333;
  font-weight: 700;
}

.recruit-box {
  padding: 34px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(8, 41, 79, 0.07);
}
.recruit-box h3 {
  margin: 0 0 12px;
  color: #08294f;
  font-size: 1.55rem;
  line-height: 1.5;
}

.recruit-modal-trigger {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

body.is-modal-open {
  overflow: hidden;
}

.recruit-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.recruit-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.recruit-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 31, 62, 0.72);
  backdrop-filter: blur(7px);
}

.recruit-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  color: #172236;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 252, 0.96)),
    #fff;
  border: 1px solid rgba(220, 229, 239, 0.9);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(3, 31, 56, 0.38);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.24s ease;
}

.recruit-modal.is-open .recruit-modal__dialog {
  transform: translateY(0) scale(1);
}

.recruit-modal__dialog::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  content: "";
  background: linear-gradient(180deg, #e0c00b, #08294f);
}

.recruit-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #08294f;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.recruit-modal__close::before,
.recruit-modal__close::after {
  position: absolute;
  width: 18px;
  height: 2px;
  content: "";
  background: #fff;
}

.recruit-modal__close::before {
  transform: rotate(45deg);
}

.recruit-modal__close::after {
  transform: rotate(-45deg);
}

.recruit-modal__head {
  padding: 42px 64px 26px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 41, 79, 0.96), rgba(8, 41, 79, 0.78)),
    url("../images/sample-service-wall.avif") center / cover;
}

.recruit-modal__head .eyebrow {
  color: #e0c00b;
}

.recruit-modal__head h2 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.recruit-modal__head p {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.recruit-modal__body {
  display: grid;
  gap: 16px;
  padding: 34px 64px 12px;
  font-size: 1.04rem;
}

.recruit-modal__body p {
  position: relative;
  margin: 0;
  padding-left: 22px;
}

.recruit-modal__body p::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: #e0c00b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(224, 192, 11, 0.14);
}

.recruit-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 64px 46px;
}

.contact {
  color: #fff;
  background: linear-gradient(90deg, rgba(8, 41, 79, 0.94), rgba(8, 41, 79, 0.78)), url("../images/sample-contact-bg.avif") center/cover;
}

.contact__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.contact__inner h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: 2.8rem;
  line-height: 1.35;
}
.contact__inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

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

.contact__tel {
  margin: 24px 0 0;
  color: #e0c00b !important;
  font-size: 1.25rem;
  font-weight: 900;
}

.site-footer {
  color: rgba(255, 255, 255, 0.86);
  background: #061f3e;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 24px 30px;
}

.site-footer__name {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.16rem;
  font-weight: 900;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  max-width: 640px;
}
.site-footer__nav a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer__copy {
  margin: 0;
  padding: 18px 24px;
  color: rgba(255, 255, 255, 0.64);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta {
  display: none;
}

@media screen and (max-width: 768px) {
  body {
    padding-bottom: 66px;
    font-size: 16px;
  }
  .site-header__inner {
    min-height: 68px;
    padding: 10px 16px;
  }
  .brand__mark {
    width: 58px;
    height: 38px;
    font-size: 0.84rem;
  }
  .brand__name {
    font-size: 0.94rem;
  }
  .brand__tagline {
    font-size: 0.66rem;
  }
  .global-nav, .header-action {
    display: none;
  }
  .menu-button {
    display: block;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  }
  .menu-button span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #08294f;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .menu-button:hover {
    transform: translateY(-3px);
    background: rgba(234, 244, 251, 0.86);
    box-shadow: 0 12px 24px rgba(8, 41, 79, 0.16);
  }
  .menu-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(8, 41, 79, 0.12);
  }
  .menu-button.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(38deg);
  }
  .menu-button.is-active span:nth-child(2) {
    opacity: 0;
  }
  .menu-button.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-38deg);
  }
  .drawer {
    display: none;
    position: fixed;
    inset: 68px 0 auto;
    max-height: calc(100vh - 68px);
    padding: 20px 18px 26px;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid #dce5ef;
    box-shadow: 0 24px 44px rgba(8, 41, 79, 0.18);
  }
  .drawer.is-open {
    display: block;
  }
  .drawer__nav {
    display: grid;
    gap: 2px;
  }
  .drawer__nav a {
    padding: 13px 4px;
    color: #08294f;
    font-weight: 900;
    border-bottom: 1px solid #dce5ef;
  }
  .drawer__buttons {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }
  .hero {
    min-height: auto;
  }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(11, 39, 77, 0.88), rgba(11, 39, 77, 0.66));
  }
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 58px 18px 40px;
  }
  .hero__title {
    font-size: 2.3rem;
  }
  .hero__subtitle {
    margin-top: 16px;
    font-size: 1.08rem;
  }
  .hero__text {
    margin-top: 14px;
    font-size: 0.96rem;
  }
  .hero-badges {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }
  .hero-badges li {
    grid-template-columns: 34px 1fr;
    grid-template-areas: "icon strong" "icon span";
    align-items: center;
    min-height: 70px;
    padding: 12px 12px;
  }
  .hero-badges i {
    grid-area: icon;
    width: 32px;
    height: 32px;
  }
  .hero-badges strong {
    grid-area: strong;
    font-size: 0.98rem;
  }
  .hero-badges span {
    grid-area: span;
    margin-top: 0;
    font-size: 0.8rem;
  }
  .hero__actions {
    display: grid;
  }
  .hero-panel {
    padding: 24px 20px;
  }
  .hero-panel__title {
    font-size: 0.98rem;
    margin-bottom: 14px;
  }
  .hero-panel__list {
    gap: 9px;
  }
  .hero-panel li {
    font-size: 0.94rem;
  }
  .hero-panel::before {
    width: 96px;
    height: 96px;
    top: -36px;
    right: -32px;
  }
  .hero-panel::after {
    width: 96px;
    height: 96px;
    left: -32px;
    bottom: -36px;
  }
  .inline-cta {
    padding: 26px 0;
  }
  .inline-cta__inner {
    display: grid;
    gap: 18px;
    padding: 0 18px;
  }
  .inline-cta h2 {
    font-size: 1.28rem;
  }
  .inline-cta__actions {
    display: grid;
  }
  .section {
    padding: 62px 0;
  }
  .section__inner {
    padding: 0 18px;
  }
  .section h2 {
    font-size: 1.7rem;
  }
  .section-heading, .section-heading--between {
    display: block;
    margin-bottom: 28px;
    text-align: left;
  }
  .section-heading--between p:last-child {
    max-width: none;
  }
  .text-link {
    margin-top: 12px;
  }
  .worry-list, .reason-grid, .service-grid, .sign-grid, .price-grid, .works-grid, .flow-list, .about__layout, .company__layout {
    grid-template-columns: 1fr;
  }
  .worry-list li {
    min-height: 0;
  }
  .about__layout, .company__layout {
    gap: 30px;
  }
  .about__note {
    right: 12px;
    bottom: 12px;
    max-width: 220px;
  }
  .reason-card {
    min-height: 0;
    padding: 24px;
  }
  .reason-card--wide {
    grid-column: auto;
  }
  .service-card {
    grid-template-columns: 92px 1fr;
    padding: 14px;
  }
  .price-alert {
    display: flex;
    font-size: 0.98rem;
  }
  .price-card {
    padding: 24px;
  }
  .work-card {
    grid-template-columns: 1fr;
  }
  .work-card__photos img {
    aspect-ratio: 16/11;
  }
  .work-card__body {
    padding: 22px;
  }
  .work-card h3 {
    font-size: 1.2rem;
  }
  .work-card dl {
    grid-template-columns: 82px 1fr;
    font-size: 0.94rem;
  }
  .news-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }
  .news-list span {
    width: max-content;
  }
  .company__content table th, .company__content table td {
    display: block;
    width: 100%;
    padding: 10px 12px;
  }
  .company__content table th {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .contact__inner {
    text-align: left;
  }
  .contact__inner h2 {
    font-size: 2rem;
  }
  .contact__inner p {
    font-size: 1rem;
  }
  .contact__buttons {
    display: grid;
  }
  .site-footer__inner {
    display: grid;
    padding: 36px 18px 24px;
  }

  .recruit-modal {
    padding: 14px;
  }

  .recruit-modal__dialog {
    max-height: calc(100vh - 28px);
    border-radius: 8px;
  }

  .recruit-modal__dialog::before {
    width: 5px;
  }

  .recruit-modal__head,
  .recruit-modal__body,
  .recruit-modal__foot {
    padding-right: 24px;
    padding-left: 28px;
  }

  .recruit-modal__head {
    padding-top: 58px;
  }

  .recruit-modal__close {
    top: 12px;
    right: 12px;
  }

  .recruit-modal__foot {
    display: grid;
  }
  .site-footer__nav {
    justify-content: flex-start;
  }
  .spcolWhite {
    color: #fff !important;
  }
  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -10px 24px rgba(8, 41, 79, 0.18);
  }
  .mobile-cta a {
    display: grid;
    place-items: center;
    min-height: 62px;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    background: #08294f;
  }
  .mobile-cta a:last-child {
    color: #08294f;
    background: #e0c00b;
  }
}
@media screen and (min-width: 769px) {
  .global-nav a:hover, .text-link:hover, .site-footer__nav a:hover {
    color: #e0c00b;
  }
}
.txWhite {
  color: #fff !important;
}

@media screen and (min-width: 960px) and (max-width: 1323px) {
  .header-action__tel {
    display: none;
  }
}
@media screen and (min-width: 769px) and (max-width: 1152px) {
  .global-nav a {
    font-size: 12px;
  }
  .brand img {
    width: 200px;
    height: auto;
  }
}
.fixed-line-cta {
  position: fixed;
  z-index: 999;
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: #06c755;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fixed-line-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.fixed-line-cta__label, .fixed-line-cta__main, .fixed-line-cta__sub {
  display: block;
}
.fixed-line-cta__label {
  width: fit-content;
  margin: 0 auto 7px;
  padding: 4px 11px;
  color: #06c755;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: #fff;
  border-radius: 999px;
}
.fixed-line-cta__main {
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.03em;
}
.fixed-line-cta__sub {
  margin-top: 4px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0.95;
}
@media screen and (min-width: 769px) {
  .fixed-line-cta {
    right: 24px;
    bottom: 40px;
    width: 250px;
    padding: 16px 18px;
    border-radius: 16px;
  }
  .fixed-line-cta__main {
    font-size: 16px;
  }
  .fixed-line-cta__sub {
    font-size: 12px;
  }
}
@media screen and (max-width: 768px) {
  .fixed-line-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px 16px;
    border-radius: 14px;
  }
  .fixed-line-cta__label {
    margin-bottom: 5px;
    padding: 3px 9px;
    font-size: 10px;
  }
  .fixed-line-cta__main {
    font-size: 15px;
  }
  .fixed-line-cta__sub {
    font-size: 11px;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-bottom: 92px;
  }
}
/* Case templates */
:root {
  --ink: #172236;
  --muted: #526174;
  --navy: #08294f;
  --blue: #1465a8;
  --accent: #e0c00b;
  --accent-dark: #a78f08;
  --line: #dce5ef;
  --pale: #f6f9fc;
  --white: #fff;
}

.case-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 78px;
  padding-left: clamp(18px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 12px rgba(8, 41, 79, 0.06);
  backdrop-filter: blur(16px);
}

.case-brand {
  display: inline-flex;
  align-items: center;
}

.case-brand img {
  width: min(280px, 48vw);
}

.case-nav {
  display: flex;
  align-items: stretch;
}

.case-nav a {
  display: grid;
  min-width: 128px;
  padding: 0 18px;
  color: var(--navy);
  font-weight: 900;
  place-items: center;
}

.case-nav a:last-child {
  color: var(--navy);
  background: var(--accent);
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  min-height: 560px;
  background: var(--navy);
}

.case-hero__media {
  order: 2;
  min-height: 560px;
}

.case-hero__media img {
  height: 100%;
  object-fit: cover;
}

.case-hero__content {
  display: grid;
  align-content: center;
  padding: clamp(42px, 7vw, 92px) clamp(22px, 5vw, 72px);
  color: var(--white);
}

.case-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.case-hero h1,
.detail-hero h1,
.case-section h2,
.detail-section h2,
.case-cta h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  line-height: 1.28;
}

.case-hero h1 {
  color: var(--white);
  font-size: clamp(2.45rem, 5vw, 4rem);
}

.case-hero p:not(.case-kicker) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.case-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.case-hero__stats span {
  min-height: 92px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 5px solid var(--accent);
}

.case-hero__stats strong {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
}

.case-section,
.detail-layout,
.detail-section,
.case-pager {
  width: min(1240px, 100% - 40px);
  margin: 0 auto;
}

.case-section {
  padding: 92px 0;
}

.case-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.case-section h2,
.detail-section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.case-filter button {
  min-height: 44px;
  padding: 8px 16px;
  color: var(--navy);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.case-filter button.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

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

.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(8, 41, 79, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  box-shadow: 0 24px 52px rgba(8, 41, 79, 0.16);
  transform: translateY(-3px);
}

.case-card.is-hidden {
  display: none;
}

.case-card--featured {
  grid-column: span 2;
}

.case-card__link {
  display: grid;
  height: 100%;
}

.case-card__visual {
  position: relative;
  background: #d7e0ea;
}

.case-card__visual > img {
  aspect-ratio: 16/10;
  object-fit: cover;
}

.case-card__visual > span,
.case-card__visual figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 900;
  background: rgba(8, 41, 79, 0.88);
  border-radius: 4px;
}

.case-card__visual--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

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

.case-card__visual--split img {
  aspect-ratio: 16/10;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.case-card__area {
  width: max-content;
  padding: 5px 10px;
  color: var(--white);
  font-weight: 900;
  background: var(--navy);
}

.case-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.45;
}

.case-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.case-card dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
}

.case-card dt {
  color: var(--muted);
  font-weight: 900;
}

.case-card dd {
  margin: 0;
  font-weight: 800;
}

.case-cta {
  width: min(1180px, 100% - 40px);
  margin: 0 auto 88px;
  padding: clamp(34px, 6vw, 58px);
  color: var(--white);
  background: linear-gradient(90deg, rgba(8, 41, 79, 0.95), rgba(8, 41, 79, 0.82)), url("../images/sample-case01-before.avif") center/cover;
  border-radius: 10px;
}

.case-cta p {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 900;
}

.case-cta h2 {
  max-width: 860px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.case-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 26px;
  padding: 12px 22px;
  color: var(--navy);
  font-weight: 900;
  background: var(--accent);
  border-radius: 6px;
}

.case-footer {
  padding: 22px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  background: #061f3e;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 0;
  background: var(--navy);
}

.detail-hero__body {
  display: grid;
  align-content: center;
  padding: clamp(42px, 7vw, 82px);
  color: var(--white);
}

.detail-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.detail-hero p:not(.case-kicker) {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.detail-tags span {
  padding: 6px 12px;
  color: var(--navy);
  font-weight: 900;
  background: var(--accent);
  border-radius: 999px;
}

.detail-hero__image img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.detail-section {
  padding: 82px 0 0;
}

.detail-section__head {
  max-width: 780px;
  margin-bottom: 28px;
}

.detail-section__head p:not(.case-kicker) {
  color: var(--muted);
  font-weight: 700;
}

.compare-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.compare-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 48px rgba(8, 41, 79, 0.12);
}

.compare-panel span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 7px 13px;
  color: var(--white);
  font-weight: 900;
  background: rgba(8, 41, 79, 0.9);
  border-radius: 4px;
}

.compare-panel--after span {
  color: var(--navy);
  background: var(--accent);
}

.compare-panel img {
  aspect-ratio: 16/11;
  height: 100%;
  object-fit: cover;
}

.compare-panel figcaption {
  min-height: 72px;
  padding: 15px 18px;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.55;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: start;
}

.detail-main .detail-section {
  width: auto;
}

.spec-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(8, 41, 79, 0.08);
}

.case-entry {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(8, 41, 79, 0.08);
}

.case-entry__label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 13px;
  margin: 0 0 18px;
  color: var(--navy);
  font-weight: 900;
  background: var(--accent);
  border-radius: 999px;
}

.case-entry h2,
.case-entry h3,
.case-entry h4 {
  color: var(--navy);
  line-height: 1.45;
}

.case-entry h2 {
  margin: 0 0 20px;
  padding-bottom: 14px;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  border-bottom: 3px solid var(--accent);
}

.case-entry h3 {
  margin: 34px 0 12px;
  padding-left: 14px;
  font-size: 1.42rem;
  border-left: 5px solid var(--accent);
}

.case-entry h4 {
  margin: 26px 0 10px;
  font-size: 1.12rem;
}

.case-entry p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.95;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.detail-gallery button {
  padding: 0;
  overflow: hidden;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.detail-gallery img {
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.detail-gallery button:hover img {
  transform: scale(1.04);
}

.detail-sidebar {
  position: sticky;
  top: 98px;
  padding-top: 82px;
}

.spec-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.45rem;
}

.spec-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.spec-card dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec-card dt {
  color: var(--muted);
  font-weight: 900;
}

.spec-card dd {
  margin: 0;
  font-weight: 800;
}

.spec-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 62px 0;
}

.case-pager a {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 18px;
  color: var(--navy);
  font-weight: 900;
  border: 1px solid var(--navy);
  border-radius: 6px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  padding: 24px;
  background: rgba(6, 31, 62, 0.88);
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox [data-lightbox-close] {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  background: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 92px;
  height: 56px;
  padding: 0 18px;
  color: var(--navy);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__nav:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.lightbox__nav::before {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  content: "";
  border: 3px solid var(--navy);
  border-top: 0;
  border-right: 0;
}

.lightbox__nav--prev {
  left: 28px;
}

.lightbox__nav--prev::before {
  transform: rotate(45deg);
}

.lightbox__nav--next {
  right: 28px;
}

.lightbox__nav--next::before {
  order: 2;
  transform: rotate(225deg);
}

@media (max-width: 900px) {
  .case-header {
    min-height: 68px;
    padding: 10px 16px;
  }
  .case-nav {
    display: none;
  }
  .case-hero,
  .detail-hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .case-hero__media {
    order: 0;
    min-height: 280px;
  }
  .case-hero__content,
  .detail-hero__body {
    padding: 38px 18px;
  }
  .case-hero__stats,
  .case-section__head,
  .compare-board,
  .detail-gallery {
    grid-template-columns: 1fr;
  }
  .case-section__head {
    display: grid;
  }
  .case-filter {
    justify-content: flex-start;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-card--featured {
    grid-column: auto;
  }
  .case-card__visual--split {
    grid-template-columns: 1fr;
  }
  .detail-hero__image img {
    min-height: 280px;
  }
  .detail-sidebar {
    position: static;
    padding-top: 0;
  }
  .case-pager {
    display: grid;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox [data-lightbox-close] {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    min-width: 82px;
    height: 48px;
    padding: 0 14px;
    transform: none;
  }

  .lightbox__nav:hover {
    transform: none;
  }

  .lightbox__nav--prev {
    left: 18px;
  }

  .lightbox__nav--next {
    right: 18px;
  }

  .lightbox img {
    max-height: calc(100vh - 132px);
  }
}
@media (min-width: 901px) and (max-width: 1160px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* WordPress blog templates */
.blog-hero {
  color: #fff;
  background: linear-gradient(135deg, #08294f, #0d3f75);
}

.blog-hero__inner {
  display: grid;
  align-content: center;
  max-width: 1240px;
  min-height: 320px;
  margin: 0 auto;
  padding: 70px 24px;
}

.blog-hero h1,
.blog-detail__hero h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

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

.blog-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 38px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(8, 41, 79, 0.12);
  border-left: 6px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(8, 41, 79, 0.08);
}

.blog-filter__head {
  display: grid;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 190px;
}

.blog-filter__head span {
  color: #1465a8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-filter__head strong {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.35;
}

.blog-filter__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.blog-filter a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 900;
  background: #f6f9fc;
  border: 1px solid rgba(8, 41, 79, 0.12);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-filter a:hover,
.blog-filter a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(206, 176, 7, 0.22);
  transform: translateY(-1px);
}

.blog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(8, 41, 79, 0.07);
}

.blog-card__link {
  display: grid;
  height: 100%;
}

.blog-card__image {
  display: grid;
  place-items: center;
  min-height: 210px;
  color: #08294f;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 2rem;
  font-weight: 900;
  background: #f6f9fc;
}

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

.blog-card__body {
  padding: 24px;
}

.blog-card__meta,
.blog-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #4b5563;
  font-size: 0.86rem;
  font-weight: 800;
}

.blog-card__meta span,
.blog-detail__meta span {
  padding: 3px 9px;
  color: #08294f;
  background: #f6f9fc;
  border-radius: 999px;
}

.blog-card h2 {
  margin: 14px 0 12px;
  color: #08294f;
  font-size: 1.24rem;
}

.blog-card p {
  margin: 0;
  color: #4b5563;
}

.blog-card__more {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 38px;
  margin-top: 18px;
  padding: 8px 14px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  background: var(--accent);
  border-radius: 4px;
}

.blog-card__more::after {
  content: ">";
  margin-left: 8px;
}

.news-index {
  background: linear-gradient(180deg, #f6f9fc 0%, #fff 100%);
}

.news-index__list {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(8, 41, 79, 0.06);
}

.news-index__item {
  border-bottom: 1px solid var(--line);
}

.news-index__item:last-child {
  border-bottom: 0;
}

.news-index__link {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 82px;
  padding: 22px 28px;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-index__link:hover {
  background: #f6f9fc;
}

.news-index__link time {
  color: #1465a8;
  font-size: 0.96rem;
  font-weight: 900;
  white-space: nowrap;
}

.news-index__link h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.14rem;
  line-height: 1.55;
}

.news-index__link:hover h2 {
  color: #1465a8;
}

.news-index__empty {
  padding: 30px;
  color: var(--muted);
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.blog-detail {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 24px 90px;
}

.blog-detail__hero {
  display: grid;
  gap: 16px;
  color: #08294f;
}

.blog-detail__image {
  margin: 34px 0 0;
}

.blog-detail__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.blog-entry {
  margin-top: 52px;
  font-size: 1.05rem;
}

.blog-entry.case-entry {
  margin-top: 52px;
}

.blog-entry h2 {
  margin: 0 0 20px;
  padding-bottom: 14px;
  color: var(--navy);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.45;
  border-bottom: 3px solid var(--accent);
}

.blog-entry h3 {
  margin: 34px 0 12px;
  padding-left: 14px;
  color: var(--navy);
  font-size: 1.42rem;
  line-height: 1.45;
  border-left: 5px solid var(--accent);
}

.blog-entry h4 {
  margin: 26px 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.45;
}

.blog-entry p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.95;
}

.blog-entry ul,
.blog-entry ol {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.9;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin: 34px 4px 0 0;
  padding: 8px 13px;
  color: var(--navy);
  font-weight: 900;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid #dce5ef;
}

.post-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  color: #08294f;
  font-weight: 900;
  background: #f6f9fc;
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-filter {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
  }

  .blog-filter__head {
    min-width: 0;
  }

  .blog-filter__items {
    justify-content: flex-start;
    gap: 8px;
  }

  .blog-filter a {
    min-height: 42px;
    padding: 8px 13px;
    font-size: 0.88rem;
  }

  .news-index__link {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
    padding: 18px;
  }

  .news-index__link h2 {
    font-size: 1.04rem;
  }

  .blog-detail {
    padding: 54px 18px 72px;
  }

  .blog-entry h2 {
    font-size: 1.55rem;
  }

  .post-nav {
    display: grid;
  }
}

/* Contact page */
.contact-page {
  padding: clamp(64px, 8vw, 104px) 0;
  background:
    linear-gradient(180deg, rgba(246, 249, 252, 0.92), rgba(255, 255, 255, 1)),
    #f6f9fc;
}

.contact-page__inner {
  width: min(1180px, 100% - 40px);
  margin: 0 auto;
}

.contact-page__header {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.contact-page__header h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.25;
}

.contact-page__header p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.9;
}

.contact-page__note {
  display: inline-block;
  padding: 16px 20px;
  color: var(--navy) !important;
  font-weight: 900 !important;
  background: #fff8d8;
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  text-align: left;
}

.contact-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.contact-guide__card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(8, 41, 79, 0.08);
}

.contact-guide__card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: "";
  background: var(--accent);
}

.contact-guide__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1.35rem;
  background: var(--navy);
  border-radius: 50%;
}

.contact-guide h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.24rem;
}

.contact-guide p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-guide small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact-guide__tel {
  display: inline-flex;
  margin-top: 16px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.contact-guide__line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 9px 16px;
  color: var(--white);
  font-weight: 900;
  background: #06c755;
  border-radius: 5px;
}

.contact-page__form-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(8, 41, 79, 0.1);
}

.contact-page__form-lead {
  position: sticky;
  top: 104px;
}

.contact-page__form-lead h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.contact-page__form-lead p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.9;
}

.contact-page__form {
  min-width: 0;
}

.wpcf7 {
  width: 100%;
}

.wpcf7-form {
  display: grid;
  gap: 20px;
  margin: 0;
}

.form-item,
.wpcf7-form p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.form-label,
.wpcf7-form label {
  color: var(--navy);
  font-weight: 900;
}

.required {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  margin-left: 8px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  background: var(--accent);
  border-radius: 999px;
}

.wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-radio):not(.wpcf7-checkbox),
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--ink);
  font: inherit;
  background: #f8fbfe;
  border: 1px solid #cfdbe8;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wpcf7-textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7-form-control:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 101, 168, 0.12);
  outline: 0;
}

.wpcf7-radio,
.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  background: #f8fbfe;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  cursor: pointer;
}

.wpcf7-list-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.form-submit,
.wpcf7-form p:has(.wpcf7-submit) {
  margin-top: 6px;
}

.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  padding: 13px 28px;
  color: var(--navy);
  font: inherit;
  font-weight: 900;
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wpcf7-submit:hover {
  background: #f0cc10;
  box-shadow: 0 14px 30px rgba(8, 41, 79, 0.16);
  transform: translateY(-1px);
}

.wpcf7-spinner {
  margin-left: 12px;
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 800;
}

.wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 14px 16px !important;
  color: var(--navy);
  font-weight: 800;
  background: #fff8d8;
  border: 1px solid rgba(224, 192, 11, 0.8) !important;
  border-radius: 6px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  color: #b42318;
  background: #fff4f2;
  border-color: #fda29b !important;
}

.grecaptcha-badge {
  bottom: 116px !important;
}

@media screen and (max-width: 768px) {
  .contact-page {
    padding: 52px 0 86px;
  }

  .contact-page__inner {
    width: min(100% - 32px, 1180px);
  }

  .contact-page__header {
    text-align: left;
  }

  .contact-guide,
  .contact-page__form-wrap {
    grid-template-columns: 1fr;
  }

  .contact-guide__card {
    min-height: 0;
    padding: 24px;
  }

  .contact-page__form-wrap {
    padding: 24px 18px;
  }

  .contact-page__form-lead {
    position: static;
  }

  .wpcf7-radio,
  .wpcf7-checkbox {
    display: grid;
    gap: 8px;
  }

  .wpcf7-list-item label {
    width: 100%;
  }

  .wpcf7-submit {
    width: 100%;
  }
}
