@charset "UTF-8";

/* ベース初期化 */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.6;
  /* 必要ならフォントを指定（Noto Sans JP を既に読み込み済み） */
  /* font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; */
}

/* 媒体要素の基本 */
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* フォームのフォント継承 */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ユーティリティ */
.pc-none {
  display: none;
}
.sp-none {
  display: block;
}

/* スクリーンリーダーのみ表示 */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a {
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* カラムの高さを内容量に合わせる */
.auto-height {
  align-items: flex-start;
}

.auto-height > .wp-block-column {
  align-self: flex-start;
}

.cta-title {
  color: #ef7a00;
  font-size: 60px;
  font-weight: 900;
  line-height: 1.4;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
  margin-bottom: 10px;
}

/* -----------------------------
   レイアウト
--------------------------------*/
.section_inner {
  width: 100%;
  max-width: calc(var(--vk-width-container) - var(--vk-width-container-padding) * 2);
  margin: 0 auto;
}

.w-600 {
  max-width: 600px;
  margin: auto;
}

/* -----------------------------
   表　table
--------------------------------*/
.common-info-table table {
  border: none !important;
  border-collapse: collapse;
}

.common-info-table th,
.common-info-table td {
  border: none !important;
}

.common-info-table th,
.common-info-table td:nth-child(2) {
  border: none !important;
  border-bottom: 1px solid #d9d9d9 !important;
}

.common-info-table tr:first-child td:nth-child(2) {
  border-top: 1px solid #d9d9d9 !important;
}

/* .common-info-table tr:first-child th,
.common-info-table tr:first-child td {
  border-top: 1px solid #d9d9d9 !important;
} */

.common-info-table {
  width: 100%;
  margin: 0;
}

.common-info-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

.common-info-table table th,
.common-info-table table td {
  padding: 28px 30px;
  border: none;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  vertical-align: middle;
}

.common-info-table th,
.common-info-table td:first-child {
  position: relative;
  /* width: 230px; */
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

/* 左列の上線 */
.common-info-table td:first-child::before,
.common-info-table th:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #175bae;
}

/* 最終行・左列の下線 */
.common-info-table tr:last-child td:first-child::after,
.common-info-table tr:last-child th:first-child::after {
  content: "";
  position: absolute;
  bottom: -0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #175bae;
}

.common-info-table td {
  font-size: 16px;
  line-height: 1.6;
}

/* -----------------------------
   会社概要テーブル
--------------------------------*/
.company-profile-table {
  width: 100%;
  margin: 0;
}

.company-profile-table table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  background-color: #fff;
}

.company-profile-table th,
.company-profile-table td {
  padding: 18px 20px;
  border: none !important;
  border-bottom: 1px solid #55a0c4 !important;
  vertical-align: middle;
  box-sizing: border-box;
}

/* 左側の項目 */
.company-profile-table th,
.company-profile-table td:first-child {
  /* width: 160px; */
  color: #fff;
  background-color: #175bae;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

/* 右側の内容 */
.company-profile-table td:not(:first-child) {
  color: #333;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  border-right: 1px solid #55a0c4 !important;
}

/* 最初の行にも上線を付ける */
.company-profile-table tr:first-child th,
.company-profile-table tr:first-child td {
  border-top: 1px solid #55a0c4 !important;
}

/* -----------------------------
   ボタン
--------------------------------*/
.common-button {
  display: flex;
  justify-content: center;
}
.common-button .vk_button_link.btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 360px !important;
  height: 64px !important;
  padding: 0 24px !important;
  border-radius: 9999px !important;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.4;
  box-sizing: border-box;
}

/* -----------------------------
   header
--------------------------------*/
.site-header {
  background-color: transparent !important;
  box-shadow: none !important; /* 影がついている場合は削除 */
}

.site-header .header_scrolled .site-header {
  background-color: #fff !important;
}

.header_scrolled .site-header {
  background-color: #fff !important;
}

.header_scrolled .site-header-logo {
  display: block;
}

/* -----------------------------
   Footer
--------------------------------*/
.site-footer {
  margin: 0;
  padding: 0;
  background-color: #005fa8;
}
/* フッターメニュー */
.site-footer-menu {
  margin: 0;
  padding: 18px 20px;
  background-color: #fff;
}

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

.site-footer-menu__item {
  position: relative;
  margin: 0;
  padding: 0 18px;
  line-height: 1;
}

.site-footer-menu__item + .site-footer-menu__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 14px;
  background-color: #b8b8b8;
  transform: translateY(-50%);
}

.site-footer-menu__link {
  color: #222;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.site-footer-menu__link:hover {
  color: #0068b7;
  text-decoration: underline;
}

/* コピーライト */
.site-footer-copyright {
  margin: 0;
  padding: 14px 20px;
  background-color: #005fa8;
  text-align: center;
}

.site-footer-copyright p {
  margin: 0;
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* -----------------------------
   追従お問い合わせ
--------------------------------*/
.fixed-contact {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

.fixed-contact__lead {
  margin: 0;
  padding: 12px 10px;
  color: #333;
  background-color: #fff;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.fixed-contact__lead span::before {
  content: "＼";
  margin-right: 6px;
}

.fixed-contact__lead span::after {
  content: "／";
  margin-left: 6px;
}

.fixed-contact__buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fixed-contact__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 16px;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}

.fixed-contact__button:hover {
  color: #fff;
  opacity: 1;
  filter: brightness(1.08);
}

.fixed-contact__button--tel {
  background-color: #ed6d00;
}

.fixed-contact__button--mail {
  background-color: #175bae;
}

.fixed-contact__button--line {
  color: #111;
  background-color: #fff;
  border: 2px solid #00cb42;
}

.fixed-contact__button--line:hover {
  color: #111;
}

.fixed-contact__icon-img {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fixed-contact__icon-img--tel {
  width: 28px;
}

.fixed-contact__icon-img--mail {
  width: 26px;
}

.fixed-contact__icon-img--line {
  width: 32px;
}

.fixed-contact__text {
  font-weight: 700;
  line-height: 1.3;
}

/* 追従ボタンに本文が隠れないようにする */
body {
  padding-bottom: 145px;
}

/* -----------------------------
   TOP
--------------------------------*/
.cta_inner {
  max-width: 670px !important;
  margin: auto;
}

/* 新着情報一覧 */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list__item {
  border-top: 1px solid #d9d9d9;
  background-color: #fff;
  max-width: 600px;
  margin: auto;
}

.news-list__item:last-child {
  border-bottom: 1px solid #d9d9d9;
}

.news-list__item li {
  padding: 0 10px;
}

/* 日付とカテゴリー */
.news-list__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.news-list__date {
  margin: 0;
  color: #868282;
  font-size: 12px;
  line-height: 1.4;
}

.news-list__category {
  margin: 0;
  line-height: 1;
}

.news-list__category a {
  display: inline-block;
  padding: 4px 14px;
  color: #fff !important;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

/* タイトル */
.heding_lv2 {
  font-size: 36px;
}

.news-list__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
}

.news-list__title a {
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-size: 16px;
  font-weight: 600;
}

.news-list__title a:hover {
  opacity: 0.7;
}

/* 施工事例 */
.news-list__category a[href*="/category/works"] {
  background-color: #175bae;
}

/* イベント */
.news-list__category a[href*="/category/event"] {
  background-color: #55a0c4;
}

/* お知らせ */
.news-list__category a[href*="/category/news"] {
  background-color: #ed6d00;
}

.voice_item {
  max-width: 600px;
  margin: auto;
}

.works-card__category {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 8px 32px;
  border-radius: 9999px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.home-mv-wrap {
  position: relative;
}

.mv-review {
  position: relative;
  z-index: 10;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin-top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.mv-review p {
  padding: 4px 20px;
  border-radius: 10px;
}

/* -----------------------------
   下層ページ
--------------------------------*/
.page-header {
  min-height: 120px;
  color: #fff;
  text-align: left;
  background-color: #175bae;
  background-image: url("../images/bg-header.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.page-header-title-en {
  margin-bottom: 0;
}

/* --------------------------------------------------
   施工事例一覧
-------------------------------------------------- */
.works-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 42px;
}

.works-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
}

.works-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.works-card__image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.7 / 1;
  background-color: #d9d9d9;
}

.works-card__thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.works-card__link:hover .works-card__thumbnail {
  transform: scale(1.04);
}

.works-card__no-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #999;
  font-size: 12px;
  background-color: #d9d9d9;
}

.works-card__body {
  padding-top: 9px;
}

.works-card__category {
  margin: 0 0 3px;
  color: #0071bd;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.works-card__title {
  margin: 0;
  padding: 0;
  border: 0;
  color: #111;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0;
}

.works-card__title::before,
.works-card__title::after {
  content: none;
}

.works-card__link:hover .works-card__title {
  color: #0069b4;
}

/* --------------------------------------------------
   ページネーション
-------------------------------------------------- */
.works-pagination {
  margin-top: 58px;
}

.works-pagination .navigation {
  margin: 0;
}

.works-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.works-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  margin: 0;
  padding: 0 7px;
  border: 1px solid #d7e1e8;
  border-radius: 0;
  color: #268ec4;
  background-color: #fff;
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
}

.works-pagination .page-numbers.current {
  border-color: #268ec4;
  color: #fff;
  background-color: #268ec4;
}

.works-pagination .page-numbers:hover {
  border-color: #268ec4;
}

/* --------------------------------------------------
   投稿がない場合
-------------------------------------------------- */
.works-empty {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}

/* ========================================
   施工事例一覧
======================================== */

.works-archive .main-section {
  width: 100%;
}

.works-archive__inner {
  width: 100%;
  padding-top: 48px;
  padding-bottom: 72px;
}

/* 一覧内の見出し */
.works-heading {
  margin-bottom: 34px;
  text-align: center;
}

.works-heading__title {
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
  color: #111;
  border: none;
  font-size: 32px;
  margin-bottom: 10px;
  padding: 0;
}

.works-heading__title::after {
  display: none;
}

.works-heading__en {
  font-size: 18px;
  margin: 4px 0 0;
  line-height: 1.4;
  font-weight: 700;
  color: #0068b7;
  text-transform: lowercase;
}

/* 投稿一覧 */
.works-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 24px;
}

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

.works-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.works-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #ddd;
}

.works-card__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.works-card__link:hover .works-card__thumbnail {
  transform: scale(1.04);
}

.works-card__no-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background-color: #ddd;
  color: #999;
  font-size: 12px;
}

.works-card__body {
  padding-top: 9px;
}

.works-card__category {
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: #0070bd;
  padding: 0;
}

.works-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
  color: #111;
}

.works-card__link:hover .works-card__title {
  color: #0068b7;
}

/* ページネーション */
.works-pagination {
  margin-top: 54px;
}

.works-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.works-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d5d5d5;
  background-color: #fff;
  color: #0068b7;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.works-pagination .page-numbers.current {
  border-color: #0068b7;
  background-color: #0068b7;
  color: #fff;
}

.works-empty {
  margin: 0;
  text-align: center;
  font-size: 16px;
}

.vk_posts.next-prev {
  display: none;
}

.entry-meta {
  display: none;
}

/* -----------------------------
   スタッフ紹介
--------------------------------*/

.staff-card {
  padding-bottom: 24px;
  border-bottom: 1px solid #d9d9d9;
}

.staff-card .wp-block-columns {
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 0;
}

.staff-card__body {
  min-width: 0;
}

.staff-card__position {
  display: inline-block;
  margin: 0 0 6px !important;
  padding: 3px 10px;
  color: #fff;
  background-color: #175bae;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.staff-card__name {
  margin: 0 0 10px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.staff-card__text {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

/* -----------------------------
   Contact Form 7
--------------------------------*/
.contact-form {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.contact-form__row {
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
}

.contact-form__label p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px !important;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-form__required,
.contact-form__optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 42px;
  padding: 3px 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-form__required {
  background-color: #f00;
}

.contact-form__optional {
  background-color: #aaa;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 0;
  background-color: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  box-sizing: border-box;
}

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

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: #175bae;
  outline: none;
  box-shadow: 0 0 0 1px #175bae;
}

.contact-form__privacy p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.6;
}

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

.contact-form__privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

.contact-form__privacy a {
  color: #333;
  font-weight: 700;
  text-decoration: underline;
}

.contact-form__submit {
  margin-top: 28px;
}

.contact-form__submit input[type="submit"] {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  background-color: #175bae;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact-form__submit input[type="submit"]:hover {
  opacity: 0.8;
}

/* CF7エラーメッセージ */
.contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d00;
  font-size: 13px;
}

.contact-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  font-size: 14px;
}

/* 送信中のスピナー */
.contact-form__submit .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.page-id-20 p {
  margin-bottom: 0;
}

.works-query .wp-block-post {
  height: 100%;
  padding: 14px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 16px;
}

.works-query .wp-block-post-featured-image {
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  margin-bottom: 20px;
}

.works-query .wp-block-post-featured-image a {
  display: block;
  height: auto !important;
  aspect-ratio: auto !important;
}

.works-query .wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  object-fit: contain !important;
}

.works-term {
  width: fit-content;
  margin: 0 0 10px;
  padding: 4px 16px;
  background: #ed6c00;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 100px;
}

.works-term a {
  color: inherit;
  text-decoration: none;
}

.works-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.works-title a {
  color: #111;
  text-decoration: none;
}

.works-more {
  margin-top: 20px;
}

.works-more {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  background: #1765b8;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
}

.works-more:hover {
  color: #fff;
  opacity: 0.8;
}

/* -----------------------------
   レスポンシブ
--------------------------------*/
@media screen and (max-width: 991px) {
  /* 991pxまでの幅の場合に適用される */
  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
  }
}

@media screen and (max-width: 768px) {
  /* 768pxまでの幅の場合に適用される */
  .pc-none {
    display: block;
  }

  .sp-none {
    display: none;
  }

  .sp-left {
    text-align: left !important;
  }

  .site-header-logo {
    max-width: 80%;
  }

  .site-header {
    height: 55px;
    display: flex;
    align-items: center;
  }

  .cta-title {
    font-size: 33px;
  }

  .heding_lv2 {
    font-size: 28px;
  }

  .news-list__meta {
    flex-wrap: wrap;
  }

  .news-list__date {
    font-size: 14px;
  }

  .news-list__category a {
    min-width: 90px;
    font-size: 13px;
  }

  .news-list__title {
    font-size: 18px;
  }
  .site-footer-menu {
    padding: 16px 15px;
  }

  .site-footer-menu__list {
    flex-direction: column;
    gap: 9px;
  }

  .site-footer-menu__item {
    padding: 0;
  }

  .site-footer-menu__item + .site-footer-menu__item::before {
    content: none;
  }

  .site-footer-menu__link {
    font-size: 12px;
  }

  .site-footer-copyright {
    padding: 12px 15px;
  }

  .site-footer-copyright p {
    font-size: 11px;
  }

  .fixed-contact__lead {
    padding: 9px 2px;
    font-size: 12px;
  }

  .fixed-contact__button {
    gap: 6px;
    padding: 8px 4px;
  }

  .fixed-contact__icon-img--tel {
    width: 16px;
  }

  .fixed-contact__icon-img--mail {
    width: 17px;
  }

  .fixed-contact__icon-img--line {
    width: 34px;
  }

  .fixed-contact__text {
    font-size: 13px;
  }

  body {
    padding-bottom: 105px;
  }

  .works-archive__inner {
    padding-top: 38px;
    padding-bottom: 60px;
  }

  .works-heading {
    margin-bottom: 26px;
  }

  .works-heading__en {
    font-size: 11px;
  }

  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 10px;
  }

  .works-card__body {
    padding-top: 7px;
  }

  .works-card__category {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .works-card__title {
    font-size: 13px;
    line-height: 1.5;
  }

  .works-pagination {
    margin-top: 42px;
  }

  .works-pagination .page-numbers {
    min-width: 28px;
    height: 28px;
    font-size: 11px;
  }

  /* 本文 */
  .works-archive__inner {
    padding-top: 38px;
    padding-bottom: 60px;
  }

  /* 見出し */
  .works-heading {
    margin-bottom: 25px;
  }

  .works-heading__en {
    margin-top: 3px;
    font-size: 16px;
  }

  /* 2列一覧 */
  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 26px;
  }

  .works-card__image {
    aspect-ratio: 1.65 / 1;
  }

  .works-card__body {
    padding-top: 6px;
  }

  .works-card__category {
    margin-bottom: 2px;
    line-height: 1.4;
  }

  .works-card__title {
    line-height: 1.5;
  }

  /* ページネーション */
  .works-pagination {
    margin-top: 42px;
  }

  .works-pagination .nav-links {
    gap: 3px;
  }

  .works-pagination .page-numbers {
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    font-size: 9px;
  }

  .contact-form__row {
    padding: 14px 0;
  }

  .contact-form__label {
    gap: 8px;
    font-size: 14px;
  }

  .contact-form__required,
  .contact-form__optional {
    min-width: 34px;
    padding: 3px 5px;
    font-size: 10px;
  }

  .contact-form__field input,
  .contact-form__field textarea {
    padding: 10px 12px;
    font-size: 16px;
  }

  .contact-form__field textarea {
    min-height: 150px;
  }

  .contact-form__privacy {
    justify-content: flex-start;
    font-size: 13px;
  }

  .contact-form__submit input[type="submit"] {
    padding: 13px 16px;
    font-size: 16px;
  }
}

@media screen and (max-width: 490px) {
  /* 991pxまでの幅の場合に適用される */
  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 16px;
  }

  .mv-review {
    margin-top: -70px;
  }
}

/* アニメーションを抑制（ユーザー設定尊重） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
