/* =========================================================
   Envy Origin - app.css (FULL REPLACE)
   - Reset / Base
   - Layout
   - Header(Global Nav) (envy-like)
   - Breadcrumb
   - Works
   - People
   - Pagination / Utilities
   ========================================================= */

/* -------------------------
   Reset / Base
------------------------- */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-size: 90%;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
p {
  margin: 0 0 1em;
}

/* -------------------------
   Design Tokens
------------------------- */
:root {
  /* container width for header/nav (envy-like: slightly wider than main) */
  --container-width: 1200px;

  /* main content width */
  --content-width: 1100px;

  /* header “density” */
  --header-min-height: 80px;
  /* --header-padding-y: 18px; */
  --header-padding-x: 0;

  /* logo size */
  --logo-height: 34px;

  /* typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --nav-font-family: "Cormorant", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --nav-font-size: 15px;
  --nav-letter-spacing: 0.02em;

  /* colors */
  --text: rgba(0, 0, 0, 0.86);
  --text-strong: rgba(0, 0, 0, 0.95);
  --text-muted: rgba(0, 0, 0, 0.68);
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.75);
  --bg: #fff;
  --header-bg: #111;
  --nav-color: #fff;
  --cta-bg: #fff;
  --cta-text: #000;

  /* radius */
  --radius-card: 8px;
  --radius-pill: 999px;
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0.6em 0 0.4em;
}
h1 {
  font-size: 28px;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 16px;
}
main h2 {
  font-family: "Cormorant", Sans-serif;
  font-size: 4.8em;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 36px auto 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
}
main h2::before,
main h2::after {
  content: "";
  position: static;
  display: inline-block;
  width: 50px;
  height: 1px;
  background-color: #545454;
  padding: 1px;
}
main h2::before {
  left: auto;
}
main h2::after {
  right: auto;
}
@media (min-width: 981px) {
  .page_section,
  .news_section,
  .works_section,
  .people_section {
    margin-top: 160px;
  }
}
@media (min-width: 981px) {
  .page_section p {
    text-align: center;
    line-height: 2em;
  }
}

/* -------------------------
   Layout (IMPORTANT)
   - DO NOT style generic "header" tag globally.
   - It breaks site-header sizing.
------------------------- */
main,
footer {
  max-width: var(--content-width);
  margin: 0 auto;
  /* padding: 16px; */
}

article {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* -------------------------
   Header / Global Nav (envy-like)
------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 0 #b08a3e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-header-inner {
  max-width: none;
  margin: 0;
  padding: var(--header-padding-y) var(--header-padding-x);
  min-height: var(--header-min-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  margin-right: 24px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.nav-toggle-bar {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 20vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 55;
}

/* logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 220px;
}
.site-logo img {
  display: block;
  height: var(--logo-height);
  width: 180px;
  height: auto;
}

/* menu base */
.global-nav {
  display: block;
  margin-left: auto;
}
.global-nav-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding-right: 60px;
  padding-top: 20px;
}
.mobile-nav-logo {
  display: none;
}
.mobile-nav-logo img {
  display: block;
  width: 180px;
  height: auto;
}

.global-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.global-menu > li {
  width: 70px;
}

/* menu link */
.global-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--nav-color);
  font-family: var(--nav-font-family);
  font-size: var(--nav-font-size);
  font-weight: 500;
  letter-spacing: var(--nav-letter-spacing);
  width: 100%;
  padding: 10px 6px; /* slim nav feel */
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    background 0.15s ease;
}
.global-menu a:hover {
  opacity: 0.65;
  transform: translateY(-1px);
}

/* current */
.global-menu .current-menu-item > a,
.global-menu .current-menu-ancestor > a {
  color: #fff;
  font-weight: 700;
  opacity: 1;
  position: relative;
}
.global-menu .current-menu-item > a::after,
.global-menu .current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

/* CTA (Contact): add menu item class "is-cta" in WP menu settings */
.global-menu .is-cta > a {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  font-weight: 600;
  opacity: 1;
  background: var(--cta-bg);
  color: var(--cta-text);
}
.global-menu .is-cta > a:hover {
  transform: none;
  opacity: 1;
  background: #e9e9e9;
}

body.is-nav-open {
  overflow: hidden;
}

/* responsive */
@media (max-width: 980px) {
  :root {
    --header-min-height: 80px;
    --header-padding-y: 14px;
    --header-padding-x: 0;
    --nav-font-size: 14px;
    --logo-height: 52px;
  }
  .home-hero {
    height: 600px;
  }
  .home-hero img {
    object-fit: cover;
  }
  .site-logo {
    margin-left: 0;
    padding-left: 30px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .global-menu > li {
    width: auto;
  }
  .global-nav-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    height: 100vh;
    padding: 28px 24px 24px;
    background: var(--header-bg);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 60;
    margin-left: 0;
    padding-right: 24px;
  }
  .mobile-nav-logo {
    display: block;
    margin-bottom: 24px;
  }
  .global-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }
  .global-menu > li {
    width: 100%;
  }
  .global-menu a {
    justify-content: flex-start;
    width: 100%;
    padding: 10px 0;
  }
  .global-menu .is-cta > a {
    padding: 10px 16px;
  }
  body.is-nav-open .global-nav-wrap {
    transform: translateX(0);
  }
  body.is-nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 520px) {
  :root {
    --header-min-height: 60px;
  }
  .home-hero img {
    height: 600px;
  }
  .site-header {
    height: 60px;
  }
  .site-header-inner {
    justify-content: center;
  }
  .site-logo {
    margin-left: 0;
    padding-left: 0;
  }
  .site-logo img {
    width: 130px;
    height: auto;
  }
  .nav-toggle {
    position: absolute;
    right: 0;
  }
  .global-menu {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-nav-wrap,
  .nav-overlay {
    transition: none;
  }
}

/* -------------------------
   Breadcrumb (ol only)
   - separator "≫" generated by CSS
------------------------- */
.home-hero {
  width: 100%;
  height: 700px;
  background: #000;
}
.home-hero picture {
  display: block;
  width: 100%;
  height: 100%;
}
.home-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.breadcrumb {
  max-width: none;
  margin: 0;
  padding: 10px 30px;
  font-size: 12px;
  color: #fff;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #000;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "≫";
  opacity: 1;
  color: #fff;
}

.breadcrumb a {
  text-decoration: none;
  color: inherit;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* -------------------------
   Works
------------------------- */
.work-archive-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 300px;
  background: #111 url("../img/work-pc-cover.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-archive-title {
  margin: 0;
  color: #fff;
  font-family: "Cormorant", serif;
  font-size: 5.5em;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  padding: 10px 40px;
  background-color: #00000094;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.5);
}
.work-archive-title::before,
.work-archive-title::after {
  content: none;
}
.work-archive {
  max-width: none;
  margin: 0;
  padding: 24px 0 60px;
}
.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 16px 0 26px;
}
.work-filter-link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  color: #000;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.work-filter-link.is-active,
.work-filter-link:hover {
  background: #000;
  color: #fff;
}
.work-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
@media (min-width: 981px) {
  .works_section .work-grid-wrap {
    max-width: 1000px;
    margin: 0 auto;
  }
}
@media (min-width: 981px) {
  .work-grid-section {
    max-width: 1060px;
    margin: 0 auto;
  }
}
@media (min-width: 981px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.work-card a {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px;
  border-radius: var(--radius-card);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    border-color 0.12s ease;
}

.work-card a:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.work-thumb img,
.work-hero img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
}
.work-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.work-thumb img {
  object-fit: cover;
}

.work-title {
  font-size: 14px;
  margin: 10px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-title::before,
.work-title::after {
  content: none;
}
.works-lead {
  text-align: center;
  margin: 0 0 18px;
}
.works-lead p {
  margin: 0 0 6px;
}
.news-list-wrap {
  margin: 0 auto 16px;
}
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  margin: 0 0 6px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.35);
  padding-bottom: 6px;
}
.news-list .news-title {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list .news-date {
  white-space: nowrap;
}
.news-list .news-title {
  text-decoration: none;
}
.news-list .news-title:hover {
  text-decoration: underline;
}
@media (min-width: 981px) {
  .news-list-wrap {
    max-width: 700px;
  }
}
@media (max-width: 980px) {
  .news-list-wrap {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
.works-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  padding: 10px 0;
  border: 1px solid #000;
  text-decoration: none;
  color: #fff;
  background: #000;
  transition: width 0.2s ease;
  margin-top: 40px;
}
.works-more-button:hover {
  width: 120px;
}
.works_section p {
  text-align: center;
}

.work-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  justify-content: flex-start;
  padding-left: 10px;
}
.work-meta-item {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 2px 8px;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.work-meta-tag {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.work-excerpt {
  margin: 8px 0 0;
  color: rgba(0, 0, 0, 0.75);
}

/* single */
.work-single .work-content {
  margin-top: 12px;
}
.work-comment {
  margin-top: 16px;
}
.work-comment-title {
  font-size: 1.8em;
  text-align: center;
  font-weight: 600;
  width: 100%;
  display: block;
  margin: 0 0 12px;
}
.work-comment-title::before,
.work-comment-title::after {
  content: none;
}
.work-content {
  background: #f2f2f2;
  border: 1px dashed #000;
  padding: 16px;
  text-align: left;
  font-size: 14px;
  margin-bottom: 100px;
}
.recruit-single .work-content {
  background: #fff;
  border: none;
  width: 96%;
}
@media (min-width: 981px) {
  .recruit-single .work-content {
    width: 84%;
    margin: 0 auto;
  }
}
.recruit-single .work-content p {
  font-size: 16px;
}
.recruit-single .work-content h2 {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  width: 100%;
  text-align: left;
  padding: 14px 12px;
  font-size: 24px;
  font-weight: 700;
  display: block;
  margin: 0 0 12px;
  gap: 0;
}
.recruit-single .work-content h3 {
  color: #fff;
  font-size: 18px;
  padding: 12px 18px;
  margin: 0 0 20px;
  background: repeating-linear-gradient(45deg, #5b5b5b 0 10px, #3f3f3f 10px 20px);
}
.recruit-related {
  margin-top: 24px;
}
.recruit-related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.recruit-related-grid .work-card a {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 16px;
  align-items: flex-start;
}
.recruit-related-grid .recruit-card-body {
  width: 100%;
}
.recruit-related-grid .work-title {
  font-size: 16px;
  font-weight: 500;
  background: #fff !important;
  color: #000 !important;
  border: none !important;
  box-shadow: none;
  padding: 0;
  margin: 0 0 8px;
}
.recruit-related-grid .work-title::before,
.recruit-related-grid .work-title::after {
  content: none;
}
.recruit-related-grid .work-card {
  background: #fff;
}
.recruit-related-grid .work-date {
  text-align: right;
  padding-right: 10px;
}
.recruit-related-grid .work-excerpt {
  margin: 4px 12px 4px 2px;
}
.recruit-related-grid .work-date {
  display: block;
}
.recruit-related-grid .work-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.recruit-related-grid .work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.recruit-single h2::before,
.recruit-single h2::after {
  content: none;
}
.work-footer {
  margin-top: 18px;
}

.work-related-section .work-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.92);
}
.work-related-section .work-card a {
  padding: 14px;
}
.recruit-grid-section {
  max-width: none;
}
.recruit-grid {
  grid-template-columns: 1fr;
}
.recruit-grid .work-card a {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 16px;
  align-items: center;
}
.recruit-grid .work-thumb {
  aspect-ratio: 16 / 9;
}
.recruit-grid .work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recruit-card-body {
  width: 100%;
}
@media (min-width: 981px) {
  .recruit-grid-section {
    width: 1000px;
    margin: 0 auto;
  }
}

.work-related-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 40px 24px 60px;
  background: #111 url("../img/img31.jpg") center/cover no-repeat;
}
.work-related-section .work-grid {
  max-width: 1100px;
  margin: 0 auto 28px;
}
@media (min-width: 981px) {
  .work-related-section .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .work-related-section .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.work-related-title {
  color: #fff;
  text-align: center;
  font-size: 1.6em;
  font-weight: 600;
  margin: 0 auto 18px;
}

/* Work gallery (Slick) */
.work-gallery {
  margin: 24px 0 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.75);
  padding: 24px;
}
.work-gallery-main {
  margin-bottom: 16px;
  height: 520px;
  overflow: hidden;
}
.work-gallery-main .slick-list,
.work-gallery-main .slick-track,
.work-gallery-main .slick-slide {
  height: 100%;
}
.work-gallery-main .slick-slide > div {
  height: 100%;
}
.work-slide {
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.work-video {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}
.work-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.work-gallery-thumbs .work-thumb-slide {
  padding: 4px;
  cursor: pointer;
}
.work-gallery-thumbs:not(.slick-initialized) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.work-gallery-thumbs:not(.slick-initialized) .work-thumb-slide {
  padding: 0;
}
.work-gallery-thumbs img {
  width: 100%;
  display: block;
  height: 110px;
  object-fit: cover;
}
.work-thumb-slide.is-video {
  position: relative;
}
.work-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
}
.work-thumb-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6px 0 0 -3px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}
@media (max-width: 980px) {
  .work-gallery {
    padding: 18px;
  }
  .work-gallery-main,
  .work-slide {
    height: 380px;
  }
  .work-gallery-thumbs img {
    height: 90px;
  }
}
@media (max-width: 520px) {
  .work-gallery {
    padding: 14px;
  }
  .work-gallery-main,
  .work-slide {
    height: 260px;
  }
  .work-gallery-thumbs img {
    height: 70px;
  }
}

/* -------------------------
   People
------------------------- */
.people-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.people-card a {
  display: block;
  text-decoration: none;
  padding: 0;
  text-align: center;
}
.people-card {
  text-align: center;
  grid-column: span 2;
}
@media (min-width: 981px) {
  .people-archive .people-card:nth-child(-n + 2) {
    grid-column: span 3;
  }
}
@media (max-width: 980px) and (min-width: 521px) {
  .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .people-card,
  .people-archive .people-card,
  .people-archive .people-card:nth-child(-n + 2) {
    grid-column: span 1 !important;
  }
}
@media (max-width: 520px) {
  .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
  }
  .people-archive .people-card,
  .people-card {
    grid-column: span 1 !important;
    width: 100%;
  }
}
@media (min-width: 981px) {
  .people-grid {
    max-width: 1140px;
    margin: 0 auto;
  }
}

.people-card h2,
.people-card h3,
.people-card h4 {
  margin: 10px 0 6px;
}
.people-archive .people-card h2 {
  font-size: 20px;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.people-archive .people-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.people-archive .people-card h2::before,
.people-archive .people-card h2::after,
.people-archive .people-card h4::before,
.people-archive .people-card h4::after {
  content: none;
}
.people-archive .people-card-title {
  display: block;
  text-align: left;
  width: 100%;
  font-size: 20px;
  margin: 10px 6px 6px;
}
.people-archive .people-card-category {
  display: block;
  text-align: left;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  padding-left: 4px;
}
.people-archive .people-card {
  text-align: center;
}
.people-archive .people-card a {
  display: block;
  background: #fff;
  border: 1px solid #d6d6d6;
  padding: 2px 2px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
}
.people-archive .people-card img {
  display: block;
  width: 100%;
}
.people-card-arrow {
  position: absolute;
  right: 10px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  color: #333;
}
.people-card-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.people-grid-title {
  width: 100%;
  text-align: center;
  font-size: 2em;
  font-weight: 500;
  margin: 0 0 40px;
}
.people-grid-wrap {
  margin-top: 100px;
}
.people-archive-header {
  text-align: center;
}
.news-archive-hero {
  background-image: url("../img/people_pc_back.jpg");
}
.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.news-grid .news-card {
  grid-column: span 1;
}
.news-grid .news-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .news-archive-hero {
    background-image: url("../img/people_sp_back.jpg");
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.people-archive-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 300px;
  background: #111 url("../img/people_pc_back.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.people-archive-title {
  margin: 0;
  color: #fff;
  font-family: "Cormorant", serif;
  font-size: 5.5em;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
  width: auto;
  display: inline-block;
  white-space: nowrap;
  padding: 10px 40px 10px 40px;
  background-color: #00000094;
  box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.5);
}
.people-archive-title::before,
.people-archive-title::after {
  content: none;
}
.people-archive .breadcrumb {
  /* margin-bottom: 100px; */
}
@media (max-width: 980px) {
  .people-archive-hero {
    height: 200px;
  }
  .people-archive-title {
    font-size: 3.3em;
  }
}
@media (max-width: 520px) {
  .people-archive-hero {
    height: 200px;
    background-image: url("../img/people_sp_back.jpg");
  }
}

.people-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

@media (min-width: 981px) {
  .people-card img {
    width: 321px;
    height: 321px;
    object-fit: cover;
  }
  .people-archive .people-card a {
    position: relative;
    overflow: hidden;
  }
  .people-archive .people-card a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .people-archive .people-card a:hover::after {
    opacity: 1;
  }
}

/* People detail: Works section spacing */
.people-works {
  margin-top: 20px;
  max-width: 990px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

/* -------------------------
   People Single (Envy-like)
------------------------- */
.people-single-main {
  background: #f2f2f2;
  padding: 40px 0 80px;
  max-width: none;
  margin: 0;
}
.recruit-single {
  background: #f2f2f2;
}
body.single-recruit {
  background: #f2f2f2;
}
.people-single-card {
  max-width: 1140px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #2b2b2b;
  /* padding: 32px; */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.people-single-inner {
  width: 800px;
  margin: 0 auto;
}
.people-single-header {
  padding: 16px 16px 0;
}
.people-hero {
  margin: 0;
  position: relative;
}
.people-hero img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 16px;
  border-radius: 0;
}
.people-single-title {
  margin: 0 0 12px;
  font-size: 2.2em;
  font-weight: 500;
}
.people-social {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0 16px;
  padding: 0;
}
.people-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
}
.people-social svg {
  width: 40px;
  height: 40px;
  fill: #000;
}
.people-social img {
  width: 40px;
  height: 40px;
  display: block;
}
.people-social a:hover {
  transform: scale(1.06);
}
.people-social-link.is-line svg {
  fill: #00b900;
}
.people-social-link.is-youtube svg {
  fill: #ff0000;
}
.people-social-link.is-facebook {
  background: #3b5998;
  border: 1px solid #3b5998;
  border-radius: 4px;
}
.people-social-link.is-facebook svg {
  fill: #fff;
}
.people-content {
  text-align: left;
  background: #e6e6e6;
  border: 1px dashed #777;
  margin: 40px 0;
  padding: 20px;
}
.people-profile-title {
  text-align: center;
  font-size: 1.4em;
  margin: 10px 0 10px;
  width: 100%;
}
.people-profile-title::before,
.people-profile-title::after {
  content: none;
}
.people-extra-photos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
  padding: 0;
}
.people-extra-photos img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
  object-position: center;
}
.people-extra-photos a {
  display: block;
}
.people-extra-photos a:hover img {
  cursor: zoom-in;
}

.people-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 200;
}
.people-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.people-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
}
body.is-lightbox-open {
  overflow: hidden;
}
.people-works-title {
  text-align: center;
  font-size: 1.8em;
  width: 100%;
  margin: 10px 0 16px;
}
.people-works-title::before,
.people-works-title::after {
  content: none;
}
.people-work-grid {
  list-style: none;
  margin: 0;
  padding: 20px;
  background: #efefef;
}
.people-work-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.people-work-thumb img {
  width: 220px;
  height: auto;
  display: block;
}
.people-work-title {
  font-size: 14px;
  margin: 8px 0 6px;
}

@media (max-width: 980px) {
  .people-single-card {
    width: calc(100% - 24px);
    margin: 0 auto;
  }
  .people-single-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .people-hero img {
    width: 100%;
  }
  .people-work-grid {
    padding: 16px;
  }
}
@media (max-width: 520px) {
  .people-hero img {
    width: 94%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 981px) {
  .people-hero {
    width: 800px;
    margin: 0 auto 16px;
  }
  .people-hero img {
    width: 100%;
    margin: 0;
  }
  /* .people-single-title {
    position: absolute;
    left: 10px;
    bottom: -40px;
    margin: 0;
    color: #000;
  } */
}

/* -------------------------
   Home Company Section
------------------------- */
.home-company_section {
  background: #fff;
  padding: 100px 0 80px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.home-contact_section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 80px 0;
  background: #111 url("../img/car-bgimage.jpg") center/cover no-repeat;
  background-attachment: fixed;
}
.home-contact_section > * {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}
.home-contact_section h2 {
  color: #fff;
  width: 100%;
  text-align: center;
}
.recruit_section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
  background: #898989 !important;
  color: #fff;
}
.recruit-inner {
  max-width: none;
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 70% 30%;
  align-items: stretch;
  gap: 0;
  text-align: left;
}
.recruit-left {
  background: #898989 !important;
  padding: 80px 60px;
}
.recruit-left h2 {
  color: #fff;
  width: 100%;
  text-align: left;
}
.recruit-left h2::before,
.recruit-left h2::after {
  background-color: #fff;
}
.recruit-lead {
  margin: 8px 0 18px;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}
.recruit-lead p {
  margin: 0 0 6px;
}
.recruit-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 18px;
}
.recruit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  padding: 10px 0;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.recruit-button--light {
  background: #fff;
  color: #000;
}
.recruit-button:hover {
  transform: scaleX(0.9);
}
.recruit-right {
  width: 100%;
  min-height: 320px;
  height: 100%;
  background: url("../img/recruit.jpg") center/cover no-repeat;
  background-size: cover;
}
@media (max-width: 980px) {
  .recruit-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .recruit-left h2 {
    text-align: center;
  }
  .recruit-buttons {
    align-items: center;
  }
  .recruit-left {
    padding: 60px 24px;
  }
  .recruit-right {
    min-height: 240px;
  }
}
@media (max-width: 980px) and (min-width: 521px) {
  .home-contact_section .wpcf7-form {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    padding: 24px;
  }
}
@media (max-width: 520px) {
  .home-contact_section .wpcf7-form {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    padding: 20px;
  }
}
@media (min-width: 981px) {
  .home-contact_section .wpcf7-form {
    width: 770px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }
  .home-contact_section .wpcf7-form p {
    margin: 0;
    min-width: 0;
  }
  .home-contact_section .wpcf7-form p:nth-of-type(5),
  .home-contact_section .wpcf7-form p:last-of-type {
    grid-column: 1 / -1;
  }
  .home-contact_section .wpcf7-form label,
  .home-contact_section .wpcf7-form input,
  .home-contact_section .wpcf7-form select,
  .home-contact_section .wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
  }
}
.home-company-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: none;
  margin: 0;
  padding: 0;
}
.home-company-col img {
  display: block;
  width: 100%;
  height: auto;
}
.home-company-col-center h2 {
  margin-top: 0;
}
.home-company-cta {
  margin-top: 20px;
  text-align: center;
  padding-top: 100px;
}
.home-company-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  padding: 10px 0;
  border: 1px solid #000;
  border-radius: 0;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: #000;
  margin: 0 auto;
  transition: width 0.2s ease;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
}
.home-company-button:hover {
  width: 120px;
}

@media (min-width: 981px) {
  .home-company-inner {
    grid-template-columns: 25% 50% 25%;
  }
  .home-company-col-left img {
    margin-top: 20px;
  }
  .home-company-col-right img {
    margin-top: 400px;
  }
}

@media (max-width: 980px) {
  .home-company-inner {
    grid-template-columns: 1fr;
  }
  .home-company-col-left {
    display: none;
  }
  .home-company-col-right {
    order: 3;
  }
  .home-company-col-right img {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 520px) {
  .home-company-col-right {
    display: none;
  }
}

.people_section {
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("../img/img10.jpg") center/cover no-repeat;
  background-attachment: fixed;
  padding: 60px 0 80px;
  color: #fff;
  position: relative;
  z-index: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  text-align: center;
}
.people_section h2 {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  margin-right: auto;
}
.people_section h2::before,
.people_section h2::after {
  background-color: #fff;
  position: static;
}
.people_section h2::before {
  left: auto;
}
.people_section h2::after {
  right: auto;
}
.people-meta {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.people-sep {
  opacity: 0.7;
}

@media (max-width: 980px) {
  .work-archive-hero {
    height: 200px;
    background-image: url("../img/work-sp-cover.jpg");
  }
  .work-archive-title {
    font-size: 3.3em;
  }
  .people_section {
    background-attachment: scroll;
  }
  .people_section .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* -------------------------
   News (minimal)
------------------------- */
small {
  color: var(--text-muted);
}

/* -------------------------
   Pagination / Utilities
------------------------- */
.pagination {
  padding: 16px 0;
}

.pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
}

.pagination .current {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
}

/* footer */
.site-footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding: 100px 0 16px;
  width: 100%;
  margin: 0;
  max-width: none;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}
.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-logo {
  margin-right: auto;
}
.footer-logo img {
  width: 250px;
  height: auto;
  display: block;
}
.footer-nav {
  display: block;
  margin: 0 auto;
}
.footer-menu {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  font-family: "Cormorant", Sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-menu a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.75);
  padding: 4px 6px;
}
.footer-menu a:hover {
  color: rgba(0, 0, 0, 0.95);
}
.footer-menu .is-cta > a {
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  font-weight: 600;
}
.footer-bottom {
  border-top: 0;
  text-align: center;
  padding: 14px 0;
  font-size: 13px;
  color: #fff;
  background: #000;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: 60px;
}
.footer-bottom small {
  color: #fff;
  font-size: 14px;
}

@media (max-width: 980px) {
  .footer-inner {
    flex-direction: column;
  }
  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* -------------------------
   Company Page
------------------------- */
.company-hero {
  height: 340px;
  min-height: 300px;
  background: #111 url("../img/img26.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}
.company-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  /* width: 100%; */
  /* padding: 0 130px; */
}
.company-hero h2 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant", serif;
  font-size: 5.5em;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
  width: 100%;
  white-space: nowrap;
  padding: 10px 40px 10px 40px;
  background-color: #00000094;
  box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.5);
}

.company_section {
  background: #000;
  /* padding: 60px 0 80px; */
  width: 100%;
  overflow: hidden;
}
.company-main {
  max-width: none;
  margin: 0;
  padding: 0;
}
.company-card {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
  /* padding: 0 24px; */
  position: relative;
}
.company-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100vw;
  width: 100vw;
  height: 100%;
  background: #8b8b8b;
  z-index: 0;
}
.company-card-left {
  flex: 1 1 70%;
  background: #8b8b8b;
  color: #fff;
  padding: 48px;
  position: relative;
  z-index: 1;
}
.company-card-left .company-title {
  text-align: center;
  font-size: 4.5em;
  margin: 0 auto 28px;
  width: fit-content;
}
.company-card-left .company-title::before {
  content: "—";
  margin-right: 12px;
  background-color: transparent;
  width: auto;
  height: auto;
  padding: 0;
}
.company-card-left .company-title::after {
  content: "—";
  margin-left: 12px;
  background-color: transparent;
  width: auto;
  height: auto;
  padding: 0;
}
.company-info {
  margin: 0 0 0 auto;
  width: 85%;
  font-size: 14px;
  font-weight: 400;
  line-height: 35px;
}
.company-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #9b9b9b;
  align-items: center;
}
.company-row dt {
  font-weight: 600;
}
.company-row dd {
  margin: 0;
  line-height: 1.7;
  align-self: center;
}

.company-card-right {
  flex: 1 1 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.company-card-right img {
  max-width: none;
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.15);
  transform-origin: center;
}

@media (max-width: 980px) {
  .company-hero {
    height: 200px;
    min-height: 200px;
  }
  .company-hero h2 {
    font-size: 3.3em;
  }
  .company-card {
    flex-direction: column;
  }
  .company-card-left {
    padding: 32px;
  }
}
@media (min-width: 981px) {
  .company-card-right {
    height: 700px;
  }
}

/* -------------------------
   Contact Page
------------------------- */
.contact-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 300px;
  background: #111 url("../img/car-bgimage.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-hero-inner h2 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant", serif;
  font-size: 5.5em;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  padding: 10px 40px;
  background-color: #00000094;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.5);
}
.contact-main {
  max-width: none;
  margin: 0;
  padding: 0;
}
.contact_section {
  background: #8b8b8b;
}
.contact-content {
  display: flex;
  width: 100%;
}
.contact-image {
  flex: 0 0 30%;
  background: #000 url("../img/kabuki-girl-bg.jpg") center/cover no-repeat;
  min-height: 520px;
}
.contact-form-wrap {
  flex: 0 0 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.contact-form-card {
  background: #fff;
  width: min(620px, 92%);
  padding: 36px 32px 40px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.contact-form-title {
  text-align: center;
  font-family: "Cormorant", serif;
  font-size: 2.2em;
  font-weight: 400;
  margin: 0 0 18px;
}
.contact-form-body .wpcf7 {
  margin: 0;
}
.contact-form-body label {
  font-size: 14px;
}
.contact-form-body h2 {
  font-size: 3.2em;
}
.contact-form-body h2::before,
.contact-form-body h2::after {
  content: none;
}

@media (max-width: 980px) {
  .contact-hero {
    height: 220px;
  }
  .contact-hero-inner h2 {
    font-size: 3.3em;
  }
  .contact-content {
    flex-direction: column;
  }
  .contact-form-wrap {
    order: 2;
    width: 100%;
  }
  .contact-image {
    order: 3;
    width: 100%;
    min-height: 320px;
  }
}

@media (min-width: 981px) {
  .contact-form-body .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    width: 100%;
  }
  .contact-form-body .wpcf7-form p {
    margin: 0;
    min-width: 0;
  }
  .contact-form-body .wpcf7-form label,
  .contact-form-body .wpcf7-form input,
  .contact-form-body .wpcf7-form select,
  .contact-form-body .wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .contact-form-body .wpcf7-form p:nth-of-type(5) {
    grid-column: 1 / -1;
  }
  .contact-form-body .wpcf7-form textarea {
    width: 100%;
  }
  .contact-form-body .wpcf7-form p:last-of-type {
    grid-column: 1 / -1;
  }
}

.contact-form-body .wpcf7-form input[type="submit"] {
  width: 100%;
  display: block;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 16px 16px;
  cursor: pointer;
  transition: width 0.2s ease;
}
.contact-form-body .wpcf7-form input[type="submit"]:hover {
  width: 90%;
}
.contact-form-body .wpcf7-form .wpcf7-submit {
  width: 100%;
}

.contact-form-body .wpcf7-form input,
.contact-form-body .wpcf7-form select,
.contact-form-body .wpcf7-form textarea {
  padding: 12px 12px;
  min-height: 60px;
}
.contact-form-body .wpcf7-form textarea {
  min-height: 150px;
}

.home-contact_section .wpcf7-form input,
.home-contact_section .wpcf7-form select,
.home-contact_section .wpcf7-form textarea {
  padding: 12px 12px;
  min-height: 60px;
}
.home-contact_section .wpcf7-form textarea {
  min-height: 180px;
}
.home-contact_section .wpcf7-form input[type="submit"] {
  width: 100%;
  display: block;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-origin: center;
}
.home-contact_section .wpcf7-form input[type="submit"]:hover {
  transform: scaleX(0.9);
}
@media (max-width: 980px) {
  .home-contact_section .wpcf7-form {
    display: block;
    text-align: center;
  }
  .home-contact_section .wpcf7-form label {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .home-contact_section .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
  }
  .home-contact_section .wpcf7-form input,
  .home-contact_section .wpcf7-form select,
  .home-contact_section .wpcf7-form textarea {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .home-contact_section .wpcf7-form input[type="submit"] {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 980px) {
  .contact-form-body .wpcf7-form {
    display: block;
  }
  .contact-form-body .wpcf7-form {
    text-align: center;
  }
  .contact-form-body .wpcf7-form label {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .contact-form-body .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
  }
  .contact-form-body .wpcf7-form input,
  .contact-form-body .wpcf7-form select,
  .contact-form-body .wpcf7-form textarea {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form-body .wpcf7-form input[type="submit"] {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}
