@charset "UTF-8";

:root {
  --color-black: #333333;
  --color-gray: #444444;
  --color-white: #ffffff;
  --color-yellow: #ffc400;
  --color-blue: #00a7e7;
  --container: 1200px;
}

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

html {
  margin-top: 0 !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-black);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  background: var(--color-white);
}

.main-content > br:first-child,
.main-content > p:empty:first-child,
.main-content > section > br:first-child,
.main-content > section > p:empty:first-child {
  display: none;
}

.main-content > section {
  margin-top: 0;
}

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

figure {
  margin: 0;
}

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

.line-keep {
  display: inline-block;
}

.sp-break {
  display: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: rgba(48, 50, 52, 0.86);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding-left: clamp(22px, 5vw, 72px);
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 92px;
}

.site-header__logo img {
  width: 92px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  padding-inline: 24px;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav li {
  position: relative;
  padding-inline: clamp(14px, 2.2vw, 28px);
}

.global-nav li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.26);
  content: "";
  transform: translateY(-50%);
}

.global-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.global-nav a[aria-current="page"] {
  color: var(--color-white);
}

.site-header__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(150px, 15vw, 190px);
  background: var(--color-yellow);
}

.site-header__contact img {
  width: 142px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-button {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(620px, 47vw, 700px);
  padding: 126px 0 46px;
  overflow: hidden;
  color: var(--color-white);
  background: url("../images/fv_bg.png") center top / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

@media (min-width: 1025px) {
  .hero__content {
    margin-top: clamp(38px, 3vw, 56px);
  }
}

.hero__mark {
  margin-bottom: 14px;
  width: clamp(150px, 16vw, 190px);
}

.hero__mark img {
  width: 100%;
}

.hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  margin: 0 0 38px;
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.hero__lead--typing {
  min-height: 3.4em;
}

.hero__lead--typing.is-typing::after {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  background: currentColor;
  content: "";
  vertical-align: -0.12em;
  animation: cursorBlink 0.75s steps(1) infinite;
}

@keyframes cursorBlink {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.hero-service {
  display: grid;
  grid-template-columns: repeat(4, minmax(132px, 1fr));
  gap: clamp(18px, 3vw, 34px);
  width: min(760px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-service__item {
  display: flex;
}

.hero-service__link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  min-height: 116px;
  padding: 18px 12px 14px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  background: rgba(0, 0, 0, 0.08);
}

.hero-service__link:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
}

.hero-service__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  margin-bottom: 10px;
}

.hero-service__icon img {
  width: auto;
  max-width: 82px;
  max-height: 58px;
}

.hero-service__label {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.section-title {
  position: relative;
  margin: 0 0 28px;
  color: #FFF;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
}

.section-title::after {
  display: block;
  width: 46px;
  height: 3px;
  margin: 15px auto 0;
  background: #FFF;
  content: "";
}

.section-title__accent {
  color: var(--color-yellow);
}

.section-title--contact {
  color: #1f2021;
}

.section-title--contact::after {
  background: #1f2021;
}


.section-title--ja {
  margin-bottom: 42px;
  font-size: clamp(36px, 4.2vw, 48px);
  letter-spacing: 0.04em;
}

.concept {
  position: relative;
  padding: 48px 0 54px;
  overflow: hidden;
  background: url("../images/concept_bg.png") right center / cover no-repeat;
}

.concept::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(242, 243, 245, 0.9) 0%, rgba(242, 243, 245, 0.86) 64%, rgba(242, 243, 245, 0.42) 100%);
  content: "";
  pointer-events: none;
}

.concept > .container {
  position: relative;
  z-index: 1;
}

.concept--front {
  display: flex;
  align-items: center;
  min-height: 390px;
  padding-top: 116px;
  padding-bottom: 124px;
}

.concept__text {
  width: min(700px, 100%);
  margin: 0 auto;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
  letter-spacing: 0.06em;
  text-align: center;
}

.concept .section-title {
  color: #1f2021;
}

.concept .section-title::after {
  background: #1f2021;
}

.contact-cta {
  display: flex;
  align-items: center;
  min-height: 350px;
  padding: 88px 0 92px;
  color: var(--color-white);
  background: url("../images/contact_bg.png") center / cover no-repeat;
  text-align: center;
}

.contact-cta__text {
  margin: 0 0 22px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.home .contact-cta .section-title {
  color: #1f2021;
}

.home .contact-cta .section-title::after {
  background: #1f2021;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 236px;
  min-height: 54px;
  padding: 10px 28px;
  border: 2px solid currentColor;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.button--outline {
  color: var(--color-white);
}


.button--outline:hover,
.button--outline:focus-visible {
  color: var(--color-black);
  background: var(--color-white);
}

.button--dark {
  min-width: 260px;
  color: var(--color-white);
}

.button--dark:hover,
.button--dark:focus-visible {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: var(--color-black);
}

.works {
  padding: 70px 0 92px;
  background-color: #1F2021;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 18px;
  width: min(620px, 100%);
  margin: 0 auto 54px;
  padding: 26px 0 0;
  list-style: none;
}

.work-card {
  min-width: 0;
}

.work-card__image {
  overflow: hidden;
  aspect-ratio: 1.48 / 1;
  background: #caff94;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__caption {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.works__button {
  text-align: center;
}

.page-hero {
  display: flex;
  align-items: center;
  min-height: 340px;
  padding: 132px 0 58px;
  color: var(--color-white);
  background: url("../images/fv_bg.png") center 34% / cover no-repeat;
  text-align: center;
}

.page-hero__inner {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.page-hero__title {
  position: relative;
  margin: 0 0 18px;
  font-size: clamp(40px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.page-hero__title::after {
  display: block;
  width: 46px;
  height: 3px;
  margin: 18px auto 0;
  background: currentColor;
  content: "";
}

.page-hero__lead {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.about-message {
  padding: 88px 0 76px;
  background-color: #f4f5f7;
}

.about-message .section-title,
.access-section .section-title {
  color: #1f2021;
}

.about-message .section-title::after,
.access-section .section-title::after {
  background: #1f2021;
}

.about-message__body {
  width: min(860px, 100%);
  margin: 0 auto;
}

.about-message__text {
  width: min(820px, 100%);
  margin: 0 auto;
  color: #1f2021;
}

.about-message__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.about-message__signature {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.6;
  text-align: right;
}

.about-message__image {
  display: none;
}

.company-profile {
  padding: 76px 0 80px;
  color: var(--color-white);
  background-color: #1f2021;
}

.company-profile .section-title {
  color: var(--color-white);
}

.company-profile .section-title::after {
  background: var(--color-white);
}

.profile-list {
  display: grid;
  gap: 0;
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 0;
}

.profile-list__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.profile-list__row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.profile-list dt,
.profile-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.profile-list dt {
  color: var(--color-yellow);
  font-weight: 900;
}

.profile-list dd {
  color: var(--color-white);
}

.access-section {
  padding: 70px 0 86px;
  color: #1f2021;
  background-color: #F4F5F7;
}

.access-section__body {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: min(760px, 100%);
  margin: 0 auto;
}

.access-section__map {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 260px;
  color: var(--color-black);
  background: #a9a9a9;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.access-section__map iframe {
  width: 100%;
  min-height: 260px;
  height: 100%;
  border: 0;
}

.access-section__text {
  padding: 0 0 0 2px;
}

.access-section__text h3 {
  margin: 0 0 26px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.access-section__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.contact-page {
  padding: 68px 0 118px;
  background: var(--color-white);
}

.contact-form {
  width: min(940px, 100%);
  margin: 86px auto 0;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 24px;
}

.contact-form__label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 34px;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.form-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 40px;
  height: 27px;
  padding: 2px 6px;
  border: 2px solid #ff0000;
  border-radius: 8px;
  color: #ff0000;
  background: var(--color-white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.form-badge--required {
  color: var(--color-white);
  background: #ff0000;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 2px;
}

.choice-control,
.agreement-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.4;
  cursor: pointer;
}

.choice-control input,
.agreement-control input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--color-yellow);
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid #a8a8a8;
  border-radius: 8px;
  color: var(--color-black);
  font: inherit;
  font-weight: 700;
  background: var(--color-white);
}

.form-input {
  height: 58px;
  padding: 10px 14px;
}

.form-textarea {
  min-height: 242px;
  padding: 12px 14px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-yellow);
  outline: 2px solid rgba(255, 196, 0, 0.35);
  outline-offset: 1px;
}

.privacy-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(940px, 100%);
  min-height: 250px;
  margin: 58px auto 34px;
  overflow-y: auto;
  border: 1px solid #a8a8a8;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
}

.privacy-box p {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.contact-form__agreements {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  text-align: center;
}

.contact-form__agreements p {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.contact-form__submit {
  text-align: center;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  min-height: 64px;
  border: 0;
  border-radius: 8px;
  color: var(--color-black);
  background: var(--color-yellow);
  font: inherit;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  opacity: 0.82;
}

.greetings {
  padding: 88px 0 88px;
  background-color:#F4F5F7;
}

.greetings .ttl {
  margin: 0 0 56px;
}

.greetings .ttl_text {
  position: relative;
  margin: 0;
  color: var(--color-black);
  font-size: clamp(36px, 4.2vw, 48px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
}

.greetings .ttl_text::after {
  display: block;
  width: 46px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--color-yellow);
  content: "";
}

.greetings .section-title--contact {
  margin-bottom: 86px;
}

.greetings .ttl_yellow {
  color: var(--color-yellow);
}

.greetings .wpcf7 {
  width: min(940px, 100%);
  margin: 0 auto;
}

.greetings .wpcf7-form .row {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin: 0 0 24px;
}

.greetings .wpcf7-form .row > .col-md-9,
.greetings .wpcf7-form .row > .col-xl-6 {
  grid-column: 1 / -1;
}

.greetings .col-md-3 {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.greetings .col-md-3 label,
.greetings .wpcf7-list-item label,
.greetings .wpcf7-acceptance label {
  color: var(--color-black);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.greetings .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 27px;
  margin-left: 12px;
  padding: 2px 6px;
  border: 2px solid #ff0000;
  border-radius: 8px;
  color: #ff0000;
  background: var(--color-white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.greetings .text-bg-danger {
  color: var(--color-white);
  background: #ff0000;
}

.greetings .bg-secondary {
  border-color: #777777;
  color: #777777;
}

.greetings .wpcf7-checkbox,
.greetings .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 2px;
}

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

.greetings .wpcf7-list-item label,
.greetings .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  cursor: pointer;
}

.greetings input[type="checkbox"],
.greetings input[type="radio"] {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--color-yellow);
}

.greetings .form-control {
  width: 100%;
  height: 58px;
  padding: 10px 14px;
  border: 1px solid #a8a8a8;
  border-radius: 8px;
  color: var(--color-black);
  font: inherit;
  font-weight: 700;
  background: var(--color-white);
}

.greetings textarea.form-control {
  min-height: 242px;
  padding: 12px 14px;
  resize: vertical;
}

.greetings .form-control:focus {
  border-color: var(--color-yellow);
  outline: 2px solid rgba(255, 196, 0, 0.35);
  outline-offset: 1px;
}

.greetings .p-privacy {
  width: 100%;
  max-height: 310px;
  margin: 34px auto;
  overflow-y: auto;
  border: 1px solid #a8a8a8;
  border-radius: 8px;
  padding: 28px;
  color: var(--color-black);
  background: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
  text-align: left;
}

.greetings .p-privacy__ttl {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.greetings .p-privacy p,
.greetings .p-privacy li {
  margin-top: 0;
}

.greetings .text-center,
.greetings .text-sm-center,
.greetings .text-start {
  text-align: center;
}

.greetings .mt-3 {
  margin-top: 12px;
}

.greetings .mb-0 {
  margin-bottom: 0;
}

.greetings .wpcf7-form > .text-center,
.greetings .wpcf7-form > .text-start,
.greetings .wpcf7-form > .text-sm-center {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.greetings .wpcf7-acceptance,
.greetings .wpcf7-acceptance .wpcf7-list-item {
  display: flex;
  justify-content: center;
  width: 100%;
}

.greetings .wpcf7-acceptance .wpcf7-list-item label {
  justify-content: flex-start;
  width: min(250px, 100%);
}

.greetings .wpcf7-form > .mt-3.row.justify-content-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.greetings .wpcf7-form > .mt-3.row.justify-content-center > .col-xl-6 {
  width: min(360px, 100%);
}

.greetings .wpcf7-form > .mt-3.row.justify-content-center .text-center {
  width: 100%;
}

.greetings .submit_btn,
.greetings .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  min-height: 64px;
  border: 0;
  border-radius: 8px;
  color: var(--color-black);
  background: var(--color-yellow);
  font: inherit;
  margin-top: 20px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.greetings .submit_btn:hover,
.greetings .submit_btn:focus-visible,
.greetings .wpcf7-submit:hover,
.greetings .wpcf7-submit:focus-visible {
  opacity: 0.82;
}

.greetings .wpcf7-response-output {
  width: min(940px, 100%);
  margin: 24px auto 0;
  border-radius: 8px;
  font-weight: 900;
}

.page-hero--blog {
  background-position: center 38%;
}

.blog-index {
  padding: 88px 0 96px;
  background: #1F2021;
}

.blog-index__inner {
  width: min(1080px, calc(100% - 48px));
}

.blog-index__header {
  margin-bottom: 46px;
  text-align: center;
}

.blog-index__header .section-title {
  display: inline-block;
  margin-bottom: 18px;
  text-align: left;
}

.blog-index__lead {
  margin: 0;
  color: #FFF;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

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

.blog-card {
  min-width: 0;
  background: transparent;
}

.blog-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: var(--color-white);
}

.blog-card__thumbnail {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1.48 / 1;
  background: #f1f1f1;
}

.blog-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.blog-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-black);
  background: linear-gradient(135deg, #f1f1f1 0%, #ffffff 58%, #ffe47c 100%);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  padding: 18px 0 0;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.blog-card__date {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.blog-card__categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-card__categories li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 2px solid var(--color-yellow);
  border-radius: 8px;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.blog-card__title {
  margin: 0 0 10px;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.blog-card__excerpt {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.blog-card__more::after {
  width: 34px;
  height: 2px;
  background: var(--color-yellow);
  content: "";
  transition: width 0.2s ease;
}

.blog-card__link:hover .blog-card__thumbnail img,
.blog-card__link:focus-visible .blog-card__thumbnail img {
  transform: scale(1.04);
}

.blog-card__link:hover .blog-card__more::after,
.blog-card__link:focus-visible .blog-card__more::after {
  width: 48px;
}

.blog-index__pagination {
  margin-top: 58px;
  text-align: center;
}

.blog-index__pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-index__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 6px 10px;
  border: 2px solid #e5e5e5;
  color: var(--color-black);
  background: var(--color-white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.blog-index__pagination .page-numbers.current,
.blog-index__pagination a.page-numbers:hover,
.blog-index__pagination a.page-numbers:focus-visible {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
}

.blog-index__empty {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 42px 24px;
  border: 2px solid #eeeeee;
  text-align: center;
}

.blog-index__empty p {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.single-post {
  padding: 82px 0 96px;
  background: #1F2021;
}

.single-post__inner {
  width: min(920px, calc(100% - 48px));
}

.single-post__header {
  margin: 0 auto 38px;
  text-align: center;
}

.single-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.single-post__date {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.single-post__categories {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-post__categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 2px solid var(--color-yellow);
  border-radius: 8px;
  color: var(--color-white);
  background: #1F2021;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.single-post__title {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.single-post__thumbnail {
  width: 100%;
  margin: 0 auto 44px;
  overflow: hidden;
}

.single-post__thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.single-post__content {
  width: min(820px, 100%);
  margin: 0 auto;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.95;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.single-post__content > *:first-child {
  margin-top: 0;
}

.single-post__content > *:last-child {
  margin-bottom: 0;
}

.single-post__content p,
.single-post__content ul,
.single-post__content ol,
.single-post__content figure,
.single-post__content blockquote,
.single-post__content table {
  margin: 0 0 24px;
}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
  color: var(--color-white);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.single-post__content h2 {
  position: relative;
  margin: 48px 0 20px;
  padding-left: 18px;
  font-size: 24px;
}

.single-post__content h2::before {
  position: absolute;
  top: 0.32em;
  bottom: 0.32em;
  left: 0;
  width: 5px;
  background: var(--color-yellow);
  content: "";
}

.single-post__content h3 {
  margin: 38px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-yellow);
  font-size: 20px;
}

.single-post__content h4 {
  margin: 30px 0 12px;
  font-size: 17px;
}

.single-post__content a {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: var(--color-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.single-post__content ul,
.single-post__content ol {
  padding-left: 1.4em;
}

.single-post__content li + li {
  margin-top: 6px;
}

.single-post__content blockquote {
  padding: 18px 22px;
  border-left: 5px solid var(--color-yellow);
  background: rgba(255, 255, 255, 0.08);
}

.single-post__content img {
  height: auto;
  margin-inline: auto;
}

.single-post__content .aligncenter {
  margin-inline: auto;
}

.single-post__content .alignleft {
  margin-right: 24px;
  margin-bottom: 16px;
  float: left;
}

.single-post__content .alignright {
  margin-bottom: 16px;
  margin-left: 24px;
  float: right;
}

.single-post__content::after {
  display: block;
  clear: both;
  content: "";
}

.single-post__pages {
  width: min(820px, 100%);
  margin: 36px auto 0;
  text-align: center;
}

.single-post__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(820px, 100%);
  margin: 56px auto 0;
  padding-top: 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.28);
}

.single-post__nav-item:empty {
  display: none;
}

.single-post__nav a {
  display: block;
  min-height: 74px;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  color: var(--color-white);
  background: #1F2021;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.45;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.single-post__nav a:hover,
.single-post__nav a:focus-visible {
  border-color: var(--color-yellow);
  background: rgba(255, 196, 0, 0.12);
}

.single-post__nav span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.single-post__nav-item--next {
  grid-column: 2;
  text-align: right;
}

.single-post__back {
  margin-top: 34px;
  text-align: center;
}

.button--post-back {
  color: var(--color-black);
  background: var(--color-yellow);
}

.service-page {
  padding: 88px 0 46px;
  background-color: #1f2021;
}

.service-page > .container:first-child {
  margin-bottom: 44px;
}

.service-page p:empty,
.service-page > p,
.service-block > p,
.service-block__inner > p,
.service-block__content > p:empty,
.service-card > p:empty,
.contact-cta--service > p,
.contact-cta--service .container > p:empty,
.flow-section p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.contact-cta--service p:has(> .button) {
  display: contents;
}

.contact-cta--service .sp-break + br {
  display: none;
}

.service-block {
  padding: 50px 0;
}

.service-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 500px);
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.service-block__inner--reverse {
  grid-template-columns: minmax(0, 500px) minmax(0, 430px);
}

.service-block + .service-block .service-block__inner {
  position: relative;
  padding-top: 50px;
}

.service-block + .service-block .service-block__inner::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  content: "";
}

.service-block__image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
}

.service-block__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 28px;
  color:#FFF;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.service-block__title span {
  color: var(--color-yellow);
  font-size: 27px;
  letter-spacing: 0.06em;
  line-height: 1;
}

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

.service-card {
  min-width: 0;
  text-align: center;
}

.service-card img,
.service-card__screen {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.service-card__screen {
  position: relative;
}

.service-card__screen::before {
  position: absolute;
  inset: 5px 6px 12px;
  border: 3px solid #555555;
  content: "";
}

.service-card__screen::after {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 36px;
  height: 3px;
  background: #555555;
  box-shadow: 0 -6px 0 -1px #555555;
  content: "";
  transform: translateX(-50%);
}

.service-card h4 {
  margin: 0 0 8px;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.service-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.02em;
  line-break: strict;
  text-align: left;
}

.contact-cta--service {
  min-height: 350px;
  padding: 88px 0 92px;
}

.flow-section {
  padding: 70px 0 84px;
  background-color: #1F2021;
}

.flow-list {
  --flow-gap: 30px;
  --flow-dot: 15px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--flow-gap);
  width: min(940px, 100%);
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
}

.flow-list::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 2px;
  background: var(--color-yellow);
  content: "";
  transform: translateY(-50%);
}

.flow-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 176px;
  padding: 12px 10px 11px;
  border: 2px solid #FFF;
  background-color: #1F2021;
  text-align: center;
}

.flow-card:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -23px;
  width: var(--flow-dot);
  height: var(--flow-dot);
  border-radius: 50%;
  background: var(--color-yellow);
  content: "";
  transform: translateY(-50%);
}



.flow-card__step {
  color: #FFF;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.flow-card img {
  width: 58px;
  height: 58px;
  margin: 9px auto 6px;
  object-fit: contain;
}

.flow-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.flow-card p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  color: #FFF;
  letter-spacing: 0.02em;
}

.recruit-page {
  padding: 88px 0 72px;
  background-color: #1F2021;
}

.job-table-wrap {
  width: min(780px, 100%);
  margin: 72px auto 0;
}

.job-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #2f3b45;
}

.job-table th,
.job-table td {
  border-bottom: 2px solid #2f3b45;
  color: var(--color-black);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.65;
  vertical-align: middle;
}

.job-table tr:last-child th,
.job-table tr:last-child td {
  border-bottom: 0;
}

.job-table th {
  width: 195px;
  padding: 18px 14px;
  color: #333;
  background: #FDC400;
  text-align: center;
}

.job-table td {
  padding: 18px 20px;
  background: var(--color-white);
}

.job-table td p {
  margin: 0;
}

.job-table td p + p {
  margin-top: 18px;
}

.recruit-entry {
  margin-top: 38px;
  text-align: center;
}

.recruit-entry__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(390px, 100%);
  min-height: 56px;
  border-radius: 999px;
  color: var(--color-black);
  background: var(--color-yellow);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  transition: opacity 0.2s ease;
}

.recruit-entry__button:hover,
.recruit-entry__button:focus-visible {
  opacity: 0.82;
}

.selection-section {
  padding: 86px 0 94px;
  background: #f4f5f7;
}

.selection-section__title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.selection-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.selection-step {
  position: relative;
  min-width: 0;
  text-align: center;
}

.selection-step:not(:last-child)::after {
  position: absolute;
  top: 48%;
  right: -46px;
  color: var(--color-black);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  content: "→";
  transform: translateY(-50%);
}

.selection-step__number {
  margin: 0 0 30px;
  color: var(--color-black);
  line-height: 1;
}

.selection-step__number span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.selection-step__number strong {
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
  color: var(--color-yellow);
  font-size: 43px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.selection-step__number strong::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38px;
  height: 2px;
  background: var(--color-yellow);
  content: "";
  transform: translateX(-50%);
}

.selection-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  margin-bottom: 22px;
}

.selection-step__icon img {
  width: auto;
  height: auto;
  max-width: 112px;
  max-height: 112px;
  object-fit: contain;
}



.selection-step h3 {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 18px;
  color: var(--color-black);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.selection-step h3::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--color-yellow);
  content: "";
  transform: translateX(-50%);
}

.selection-step p:not(.selection-step__number) {
  margin: 0;
  color: var(--color-black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.selection-step small {
  display: inline-block;
  margin-top: 2px;
  font: inherit;
  font-size: 12px;
  line-height: 1.7;
}

.recruitment {
  padding: 112px 0 92px;
  background-color: #1F2021;
}

.recruitment__banner {
  display: block;
  width: min(610px, 100%);
  margin: 0 auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.recruitment__banner:hover,
.recruitment__banner:focus-visible {
  opacity: 0.9;
  transform: translateY(-2px);
}

.site-footer {
  color: var(--color-white);
  background: #3f3f3f;
}

.site-footer__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(58px, 10vw, 112px);
  min-height: 154px;
  padding: 26px 0;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  width: 260px;
}

.site-footer__logo {
  width: 84px;
}

.site-footer__address {
  margin: 0;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-align: left;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  width: min(540px, 100%);
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.footer-nav a,
.site-footer__privacy {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.site-footer__privacy {
  display: inline-block;
}

.site-footer__bottom {
  padding: 12px 0;
  background: #303030;
  text-align: center;
}

.site-footer__copyright {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

@media (max-width: 1024px) {
  .site-header {
    height: 78px;
  }

  .site-header__logo,
  .site-header__logo img {
    width: 78px;
  }

  .global-nav li {
    padding-inline: 13px;
  }

  .global-nav a {
    font-size: 12px;
  }

  .site-header__contact {
    flex-basis: 150px;
  }

  .site-header__contact img {
    width: 126px;
  }

  .hero {
    min-height: 510px;
    padding-top: 112px;
  }

  .about-message__body,
  .access-section__body {
    width: min(760px, calc(100% - 48px));
  }

  .service-block__inner {
    width: min(920px, calc(100% - 48px));
  }

  .flow-list {
    --flow-gap: 24px;
    --flow-dot: 12px;
    width: min(920px, calc(100% - 48px));
  }

  .flow-card:not(:last-child)::after {
    right: -18px;
  }
}

@media (max-width: 1024px) {
  .service-block__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    width: min(100% - 48px, var(--container));
  }

  .service-block__inner--reverse .service-block__image {
    order: -1;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

  .site-header {
    position: fixed;
    height: 68px;
    background: rgba(48, 50, 52, 0.94);
  }

  .site-header__inner {
    padding-left: 18px;
  }

  .site-header__logo,
  .site-header__logo img {
    width: 70px;
  }

  .site-header__nav {
    position: fixed;
    inset: 68px 0 auto;
    display: block;
    padding: 0;
    background: rgba(48, 50, 52, 0.98);
    transform: translateY(calc(-100% - 68px));
    transition: transform 0.25s ease;
  }

  body.admin-bar .site-header__nav {
    inset: 114px 0 auto;
    transform: translateY(calc(-100% - 114px));
  }

  .nav-toggle:checked ~ .site-header__nav {
    transform: translateY(0);
  }

  .global-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 18px 20px;
  }

  .global-nav li {
    padding: 0;
  }

  .global-nav li:not(:last-child)::after {
    display: none;
  }

  .global-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    text-align: center;
  }

  .site-header__contact {
    flex: 0 0 112px;
  }

  .site-header__contact img {
    width: 94px;
  }

  .nav-toggle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    cursor: pointer;
  }

  .nav-toggle-button__line,
  .nav-toggle-button__line::before,
  .nav-toggle-button__line::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    content: "";
  }

  .nav-toggle-button__line {
    position: relative;
  }

  .nav-toggle-button__line::before,
  .nav-toggle-button__line::after {
    position: absolute;
    left: 0;
  }

  .nav-toggle-button__line::before {
    top: -7px;
  }

  .nav-toggle-button__line::after {
    top: 7px;
  }

  .hero {
    min-height: auto;
    padding: 122px 0 54px;
    background-position: center top;
  }

  .hero__mark {
    margin-bottom: 18px;
  }

  .sp-break {
    display: block;
  }

  .hero__title {
    width: min(330px, 100%);
    margin-inline: auto;
    font-size: 26px;
    line-height: 1.45;
  }

  .hero__lead {
    width: min(340px, 100%);
    margin-inline: auto;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0.04em;
  }

  .hero__lead--typing {
    min-height: 5.25em;
  }

  .hero-service {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hero-service__link {
    min-height: 110px;
    padding-inline: 8px;
  }

  .concept {
    padding: 56px 0 66px;
    background-image: url("../images/concept_bg.png");
    background-position: right center;
  }

  .concept--front {
    min-height: 410px;
    padding: 96px 0 104px;
  }

  .section-title {
    margin-bottom: 28px;
    font-size: 34px;
  }

  .section-title--ja {
    margin-bottom: 32px;
  }

  .concept__text,
  .contact-cta__text {
    font-size: 14px;
    text-align: left;
  }

  .contact-cta {
    min-height: 320px;
    padding: 76px 0 80px;
    background-image: url("../images/contact_bg-sp.png");
  }

  .contact-cta__text {
    text-align: center;
  }

  .button {
    min-width: 210px;
    min-height: 50px;
    font-size: 16px;
  }

.service-page {
    padding: 70px 0 38px;
  }

  .service-page > .container:first-child {
    margin-bottom: 32px;
  }

  .service-block {
    padding: 50px 0;
  }

  .service-block__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    width: min(100% - 32px, var(--container));
  }

  .service-block + .service-block .service-block__inner {
    padding-top: 42px;
  }

  .service-block__inner--reverse .service-block__image {
    order: -1;
  }

  .service-block__image {
    height: 210px;
  }

  .service-block__title {
    justify-content: center;
    margin-bottom: 24px;
    font-size: 18px;
    text-align: center;
  }

  .service-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 460px;
    margin-inline: auto;
  }

  .service-card h4 {
    font-size: 15px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .service-card p {
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .contact-cta--service {
    min-height: 320px;
    padding: 76px 0 80px;
  }

  .flow-section {
    padding: 58px 0 66px;
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin-top: 40px;
  }

  .flow-card:not(:last-child)::after {
    display: none;
  }

  .flow-list::before {
    display: none;
  }

  .recruit-page {
    padding: 62px 0 58px;
  }

  .job-table-wrap {
    width: 100%;
    margin-top: 42px;
  }

  .job-table,
  .job-table tbody,
  .job-table tr,
  .job-table th,
  .job-table td {
    display: block;
    width: 100%;
  }

  .job-table {
    border: 1px solid #2f3b45;
  }

  .job-table tr {
    border-bottom: 2px solid #2f3b45;
  }

  .job-table tr:last-child {
    border-bottom: 0;
  }

  .job-table th,
  .job-table td {
    border-bottom: 0;
    font-size: 13px;
  }

  .job-table th {
    padding: 12px 14px;
  }

  .job-table td {
    padding: 14px 16px 18px;
  }

  .recruit-entry {
    margin-top: 32px;
  }

  .recruit-entry__button {
    min-height: 54px;
    font-size: 17px;
  }

  .selection-section {
    padding: 62px 0 70px;
  }

  .selection-steps {
    grid-template-columns: 1fr;
    gap: 58px;
    width: min(340px, 100%);
  }

  .selection-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -42px;
    left: 50%;
    font-size: 28px;
    transform: translateX(-50%) rotate(90deg);
  }

  .selection-step__number {
    margin-bottom: 24px;
  }

  .selection-step__number strong {
    font-size: 38px;
  }

  .selection-step__icon {
    height: 100px;
    margin-bottom: 18px;
  }

  .selection-step__icon img {
    max-width: 100px;
    max-height: 100px;
  }

  .selection-step h3 {
    margin-bottom: 22px;
    font-size: 20px;
  }

  .selection-step p:not(.selection-step__number) {
    font-size: 13px;
  }

  .works {
    padding: 66px 0 78px;
  }

  .page-hero {
    min-height: 290px;
    padding: 118px 0 54px;
  }

  .page-hero__title {
    font-size: 34px;
  }

  .page-hero__lead {
    font-size: 16px;
  }

  .about-message {
    padding: 54px 0 62px;
  }

  .about-message__body {
    width: 100%;
  }

  .about-message__text p {
    font-size: 13px;
    line-height: 1.85;
  }

  .about-message__signature {
    font-size: 17px;
  }
  .company-profile {
    padding: 54px 0 60px;
  }

  .profile-list {
    width: 100%;
  }

  .profile-list__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
.access-section {
    padding: 56px 0 66px;
  }

  .access-section__body {
    grid-template-columns: 1fr;
    gap: 26px;
    width: 100%;
  }

  .access-section__map {
    min-height: 230px;
  }

  .access-section__text h3 {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .contact-page {
    padding: 54px 0 76px;
  }

  .contact-form {
    margin-top: 52px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .contact-form__label {
    min-height: 0;
    font-size: 15px;
  }

  .choice-group {
    gap: 10px 18px;
  }

  .choice-control,
  .agreement-control {
    font-size: 14px;
  }

  .form-input {
    height: 52px;
  }

  .form-textarea {
    min-height: 190px;
  }

  .privacy-box {
    min-height: 210px;
    margin: 42px auto 30px;
    padding: 22px;
  }

  .contact-form__agreements p {
    font-size: 14px;
  }

  .submit-button {
    min-height: 58px;
    font-size: 18px;
  }

  .greetings {
    padding: 118px 0 76px;
  }

  .greetings .ttl {
    margin-bottom: 38px;
  }

  .greetings .ttl_text {
    font-size: 30px;
    line-height: 1.35;
  }

  .greetings .section-title--contact {
    margin-bottom: 52px;
  }

  .greetings .wpcf7-form .row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .greetings .col-md-3 {
    min-height: 0;
  }

  .greetings .col-md-3 label,
  .greetings .wpcf7-list-item label,
  .greetings .wpcf7-acceptance label {
    font-size: 14px;
  }

  .greetings .wpcf7-checkbox,
  .greetings .wpcf7-radio {
    gap: 10px 18px;
  }

  .greetings .form-control {
    height: 52px;
  }

  .greetings textarea.form-control {
    min-height: 190px;
  }

  .greetings .p-privacy {
    max-height: 260px;
    margin: 42px auto 30px;
    padding: 22px;
    font-size: 13px;
  }

  .greetings .submit_btn,
  .greetings .wpcf7-submit {
    min-height: 58px;
    font-size: 18px;
  }

  .blog-index {
    padding: 58px 0 72px;
  }

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

  .blog-index__header {
    margin-bottom: 34px;
  }

  .blog-index__header .section-title {
    margin-bottom: 14px;
  }

  .blog-index__lead {
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
  }

  .blog-list {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(420px, 100%);
    margin-inline: auto;
  }

  .blog-card__body {
    padding-top: 14px;
  }

  .blog-card__title {
    font-size: 17px;
  }

  .blog-card__excerpt {
    font-size: 13px;
  }

  .blog-index__pagination {
    margin-top: 44px;
  }

  .blog-index__pagination .page-numbers {
    min-width: 36px;
    min-height: 36px;
    font-size: 12px;
  }
  .single-post {
    padding: 58px 0 72px;
  }

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

  .single-post__header {
    margin-bottom: 28px;
  }

  .single-post__meta {
    gap: 8px 12px;
    margin-bottom: 14px;
  }

  .single-post__date {
    font-size: 13px;
  }

  .single-post__categories a {
    min-height: 26px;
    padding: 4px 10px;
    font-size: 12px;
  }

  .single-post__title {
    font-size: 24px;
    letter-spacing: 0.04em;
    line-height: 1.5;
  }

  .single-post__thumbnail {
    margin-bottom: 32px;
  }

  .single-post__thumbnail img {
    aspect-ratio: 4 / 3;
  }

  .single-post__content {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.03em;
  }

  .single-post__content p,
  .single-post__content ul,
  .single-post__content ol,
  .single-post__content figure,
  .single-post__content blockquote,
  .single-post__content table {
    margin-bottom: 20px;
  }

  .single-post__content h2 {
    margin-top: 38px;
    font-size: 20px;
  }

  .single-post__content h3 {
    margin-top: 30px;
    font-size: 18px;
  }

  .single-post__content .alignleft,
  .single-post__content .alignright {
    float: none;
    margin-right: auto;
    margin-left: auto;
  }

  .single-post__nav {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 44px;
    padding-top: 24px;
  }

  .single-post__nav-item--next {
    grid-column: auto;
    text-align: left;
  }

  .single-post__back {
    margin-top: 28px;
  }

  .works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
    margin-bottom: 40px;
    padding-top: 12px;
  }

  .work-card__caption {
    font-size: 12px;
  }

  .recruitment {
    padding: 72px 0;
  }

  .site-footer__main {
    align-items: center;
    flex-direction: column;
    gap: 24px;
    padding: 36px 0 32px;
    text-align: center;
  }

  .site-footer__address {
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .site-header__contact {
    flex-basis: 94px;
  }

  .site-header__contact img {
    width: 80px;
  }

  .hero__title {
    width: min(300px, 100%);
    font-size: 24px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 360px) {
  .hero-service {
    grid-template-columns: 1fr;
    width: min(240px, 100%);
  }

  .service-card-list {
    grid-template-columns: 1fr;
    max-width: 240px;
  }

  .works__grid {
    grid-template-columns: 1fr;
    width: min(240px, 100%);
  }
}
/* WordPress page editor can inject a leading br before pasted sections. */
.main-content > br,
.main-content > p:empty,
.main-content > section:first-child > br,
.main-content > section:first-child > p:empty {
  display: none !important;
}

.main-content,
.main-content > section:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.main-content > section:first-child > .page-hero:first-of-type {
  margin-top: 0 !important;
}
/* Balance company profile spacing when HTML is pasted into a WordPress page. */
.company-profile {
  padding-bottom: 66px;
}

.company-profile + .access-section {
  padding-top: 64px;
}

.company-profile .profile-list {
  gap: 14px;
}

.company-profile .profile-list__row {
  margin: 0;
}

.company-profile .profile-list p,
.company-profile .profile-list br {
  display: none !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .company-profile {
    padding-bottom: 46px;
  }

  .company-profile + .access-section {
    padding-top: 46px;
  }

  .company-profile .profile-list {
    gap: 12px;
  }
}
/* Lift small body copy across the site for readability. */
.concept__text,
.about-message__text p,
.access-section__text p,
.profile-list dt,
.profile-list dd,
.job-table th,
.job-table td {
  font-size: 15px;
}

.contact-cta__text {
  font-size: clamp(17px, 1.75vw, 20px);
}

.service-card h4,
.flow-card h3 {
  font-size: 17px;
  color: #FFF;
}

.service-card p,
.flow-card p,
.work-card__caption {
  font-size: 14px;
  color: #FFF;
}

.flow-card__step {
  font-size: 13px;
  color: #FFF;
}

.site-footer__address {
  font-size: 12px;
}

.footer-nav a,
.site-footer__privacy,
.site-footer__copyright {
  font-size: 13px;
}

@media (max-width: 767px) {
  .concept__text,
  .contact-cta__text,
  .about-message__text p,
  .access-section__text p,
  .profile-list dt,
  .profile-list dd,
  .job-table th,
  .job-table td {
    font-size: 15px;
  }

  .service-card p,
  .flow-card p,
  .work-card__caption {
    font-size: 13px;
  }

  .site-footer__address,
  .footer-nav a,
  .site-footer__privacy,
  .site-footer__copyright {
    font-size: 12px;
  }
}
/* Privacy page has no page hero, so keep content clear of the absolute header. */
.privacy-policy {
  padding: 150px 0 90px;
  background: var(--color-white);
}

.privacy-policy .ttl {
  margin-bottom: 42px;
  text-align: center;
}

.privacy-policy h2,
.privacy-policy h3,
.privacy-policy p,
.privacy-policy li {
  color: var(--color-black);
}

.privacy-policy p,
.privacy-policy li {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.privacy-policy h3 {
  margin: 34px 0 12px;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .privacy-policy {
    padding: 118px 0 64px;
  }

  .privacy-policy .ttl {
    margin-bottom: 30px;
  }

  .privacy-policy p,
  .privacy-policy li {
    font-size: 15px;
    line-height: 1.85;
  }

  .privacy-policy h3 {
    margin-top: 28px;
    font-size: 17px;
  }
}
.page-hero--works {
  background-position: center 42%;
}

.works-page {
  padding: 88px 0 104px;
  background: var(--color-white);
}

.works-page__inner {
  width: min(1040px, calc(100% - 48px));
}

.works-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px 32px;
}

.works-item {
  min-width: 0;
  color: var(--color-black);
}

.works-item__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1.52 / 1;
  background: #f1f1f1;
}

.works-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-item__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-black);
  background: linear-gradient(135deg, #f2f2f2 0%, #ffffff 56%, #ffe47c 100%);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.works-item__title {
  margin: 18px 0 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #cfcfcf;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  word-break: break-word;
}

.works-item__details {
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-item__detail {
  min-height: 37px;
  padding: 8px 0 7px;
  border-bottom: 1px dotted #c7c7c7;
  color: var(--color-black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.7;
  word-break: break-word;
}

.works-item__detail a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.works-item__detail a:hover,
.works-item__detail a:focus-visible {
  color: var(--color-yellow);
}

.works-item__detail--image {
  padding: 10px 0;
}

.works-item__detail--image img {
  width: min(160px, 100%);
  aspect-ratio: 1.48 / 1;
  object-fit: cover;
}

.works-page__empty {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 42px 24px;
  border: 2px solid #eeeeee;
  text-align: center;
}

.works-page__empty p {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .works-page {
    padding: 58px 0 72px;
  }

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

  .works-page__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(420px, 100%);
    margin-inline: auto;
  }

  .works-item__title {
    margin-top: 14px;
    font-size: 15px;
  }

  .works-item__detail {
    min-height: 35px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .works-page__grid {
    width: min(288px, 100%);
  }
}

.works-static-page {
    background: #1F2021;
  }

  .works-static {
    padding: 88px 0 104px;
    background: #1F2021;
  }

  .works-static__inner {
    width: min(1040px, calc(100% - 48px));
  }

  .works-static__heading {
    margin-bottom: 54px;
    text-align: center;
  }

  .works-static__lead {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.8;
    color: #FFF;
  }

  .works-static__grid,
  .works-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px 32px;
  }

  .works-static-card {
    min-width: 0;
  }

  .works-static-card__image,
  .works-image {
    overflow: hidden;
    aspect-ratio: 1.52 / 1;
    background: #f1f1f1;
  }

  .works-static-card__image img,
  .works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
  }

  .works-static-card:hover .works-static-card__image img,
  .works-static-card:hover .works-image img {
    transform: scale(1.035);
  }

  .works-static-card__title {
    margin: 18px 0 0;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.45;
  }

  .works-static-card__list {
    margin: 0;
    padding: 0;
  }

  .works-static-card__row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    margin: 0;
    padding: 8px 0 7px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.34);
    color: var(--color-white);
    font-size: 13px;
    letter-spacing: 0.03em;
    line-height: 1.7;
  }

  .works-static-card__label {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 900;
    white-space: nowrap;
  }

  .works-static-card__value {
    min-width: 0;
    margin: 0;
    font-weight: 700;
    word-break: break-word;
  }

  .works-static-card__value a {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .works-static-card__value a:hover,
  .works-static-card__value a:focus-visible {
    color: #ffc400;
  }

  @media (max-width: 767px) {
    .works-static {
      padding: 58px 0 72px;
    }

    .works-static__inner {
      width: min(100% - 32px, 420px);
    }

    .works-static__heading {
      margin-bottom: 36px;
    }

    .works-static__lead {
      text-align: left;
    }

    .works-static__grid,
    .works-list {
      grid-template-columns: 1fr;
      gap: 38px;
    }

    .works-static-card__title {
      margin-top: 14px;
      font-size: 15px;
    }

    .works-static-card__row {
      grid-template-columns: 76px minmax(0, 1fr);
      gap: 12px;
      font-size: 13px;
    }
  }

  @media (max-width: 360px) {
    .works-static-card__row {
      grid-template-columns: 1fr;
      gap: 2px;
    }
  }

/* TOP WORKS latest items sizing */
.home .works__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 28px;
  width: min(760px, 100%);
  padding-top: 30px;
  margin-bottom: 52px;
}

.home .work-card {
  min-width: 0;
}

.home .work-card__image {
  overflow: hidden;
  aspect-ratio: 1.52 / 1;
  background: #f1f1f1;
}

.home .work-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .work-card__caption {
  margin: 14px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .home .works__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(420px, 100%);
    padding-top: 18px;
    margin-bottom: 42px;
  }

  .home .work-card__caption {
    margin-top: 12px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .home .works__grid {
    width: min(288px, 100%);
  }
}
