:root {
  /* コーポレートカラー */
  --color-primary: #00499c;
  --color-secondary: #ebf4fb;
  --color-text: #101010;
}

/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
  line-height: 1.6;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}
/* ヘッダー */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  background: white;
  height: 80px;
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
  transition:
    background-color 0.3s ease,
    border-bottom-color 0.3s ease;
  overflow-x: hidden;
  box-sizing: border-box;
}

.header-container {
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.778vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
}

.logo {
  height: 30px;
}

.logo img {
  height: 100%;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 50px;
  margin-left: auto;
}

.header-nav a {
  color: #101010;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-nav a.active {
  color: #101010;
}

.btn-recruit {
  background: linear-gradient(to right, var(--color-primary), #3795d9);
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  margin-left: 50px;
  flex-shrink: 0;
}

/* メインコンテンツ */
.main-content {
  background: var(--color-secondary);
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0 10rem;
}

/* タイトルセクション */
.title-section {
  margin-bottom: 60px;
}

.title-en {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 10px;
}

.title-ja {
  font-family: "Noto Serif JP", serif;
  font-size: 56px;
  color: var(--color-text);
  font-weight: 500;
}

/* ========================================
   プライバシーポリシー（PCファースト）
   ======================================== */
.policy-page {
  background: #fff;
}

/* ポリシーページ用ラッパー：読みやすい幅に制限 */
.policy-page .policy-content-wrapper {
  margin-left: auto;
  margin-right: auto;
}

/* イントロダクション */
.policy-page .intro-section {
  margin-bottom: 60px;
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

.policy-page .intro-section p {
  margin-bottom: 16px;
}

.policy-page .intro-section p:last-child {
  margin-bottom: 0;
}

/* ポリシーリスト（PC：見出し左・本文右の2カラム） */
.policy-page .policy-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.policy-page .policy-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

.policy-page .policy-item:last-child {
  border-bottom: 1px solid #e0e0e0;
}

/* 見出しを固定幅にして本文の文頭をすべて揃える */
.policy-page .policy-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  width: 300px;
  min-width: 300px;
  flex-shrink: 0;
  line-height: 1.6;
}

.policy-page .policy-content {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
  padding-left: 0;
  margin-left: 0;
}

.policy-page .policy-content p {
  margin-bottom: 0;
}

.policy-page .policy-content p + p {
  margin-top: 12px;
}

.policy-page .link-contact {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 共通（他ページで .policy-list 等を流用している場合のフォールバック） */
.intro-section {
  margin-bottom: 60px;
  font-size: 16px;
  line-height: 32px;
}

.intro-section p {
  margin-bottom: 16px;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.policy-item {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid #e0e0e0;
}

.policy-item:last-child {
  border-bottom: 1px solid #e0e0e0;
}

.policy-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  min-width: 200px;
  flex-shrink: 0;
}

.policy-content {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
  flex: 1;
}

.policy-content p {
  margin-bottom: 0;
}

.link-contact {
  color: var(--color-primary);
  text-decoration: underline;
}

/* フッター */
.footer {
  background: white;
}

.footer-contact {
  padding: 80px 40px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.footer-contact-title {
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.footer-contact-text {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 100px 0 0;
  flex-direction: column;
}

.contact-tel .tel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-tel .tel-icon img {
  width: clamp(2rem, 3vw, 2.5rem);
  height: clamp(2rem, 3vw, 2.5rem);
  object-fit: contain;
  padding-top: 5px;
}

.contact-tel .tel-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-tel .tel-number,
.contact-tel .tel-hours {
  text-align: center;
  margin: 0;
}

.tel-number {
  font-family: "Roboto", sans-serif;
  font-size: 48px;
  font-weight: bold;
  color: var(--color-primary);
}

.tel-hours {
  font-size: 12px;
  color: var(--color-text);
}

.contact-form-btn {
  border-left: 1px solid #e0e0e0;
  padding-left: 100px;
}

.btn-form {
  background: linear-gradient(to right, var(--color-primary), #3795d9);
  color: white;
  padding: 0 clamp(1.25rem, 2.083vw, 1.875rem) 0
    clamp(1.875rem, 2.083vw, 1.875rem);
  height: clamp(3.5rem, 4.861vw, 4.375rem);
  width: clamp(15rem, 27.778vw, 25rem);
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.btn-form span {
  flex: 1 0 0;
  text-align: center;
  white-space: nowrap;
}

.btn-form-arrow {
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  place-items: start;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
  margin-left: 1.3125rem;
}

.btn-form-arrow-border {
  background: white;
  opacity: 0.4;
  width: 0.0625rem;
  height: 1.25rem;
  position: absolute;
  left: 0;
  top: 0;
}

.btn-form-arrow img {
  width: 1.125rem;
  height: 0.375rem;
  margin-left: 1.3125rem;
  margin-top: 0.40625rem;
  display: block;
}

.footer-info {
  background: var(--color-primary);
  color: white;
  padding: 80px 120px 60px;
  position: relative;
}

.footer-info-content {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-company {
  display: flex;
  gap: 40px;
  align-items: center;
}

.footer-logo {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-company-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-company-name {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.company-address,
.company-tel,
.company-fax {
  font-size: 14px;
}

.footer-nav {
  display: flex;
  gap: 80px;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-nav-title {
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
}

.footer-nav-links a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

.footer-nav-links a:hover {
  opacity: 1;
}

.footer-nav-links a:hover::after {
  width: 100%;
}

.footer-nav-column > p {
  font-size: 14px;
  font-weight: bold;
  line-height: 40px;
  line-height: 1;
}

.footer-nav-column > a {
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  color: white;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  margin-bottom: 16px;
  position: relative;
  transition: opacity 0.3s ease;
}

.footer-nav-column > a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

.footer-nav-column > a:hover::after {
  width: 100%;
}

.footer-slogan-section {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.footer-slogan {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 4.167vw, 3.75rem);
  font-weight: 500;
}

.footer-copyright {
  text-align: right;
  font-size: 12px;
  opacity: 0.7;
}

/* サンクスページ */
.thanks-content {
  background: white;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

.content-form-wrapper {
  background: var(--color-secondary);
  padding-bottom: 10rem;
}

/* ステップインジケーター */
.step-indicator {
  padding: 60px 0;
}

.step-flow {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  width: 40px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.step-label {
  font-size: 12px;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
}

.step-item.active .step-label {
  color: var(--color-primary);
  font-weight: bold;
}

/* サンクスメッセージ */
.thanks-message {
  background: white;
  border-radius: 8px;
  padding: 80px 40px;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 1040px) {
  .thanks-message {
    width: 90%;
  }
}

.thanks-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 40px;
}

.thanks-text {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
  margin-bottom: 60px;
}

@media (max-width: 1040px) {
  .thanks-text {
    text-align: left;
  }
}

.thanks-button {
  display: flex;
  justify-content: center;
}

.btn-home {
  width: 400px;
  height: 70px;
  border: none;
  cursor: pointer;
  background: linear-gradient(to right, var(--color-primary), #3795d9);
  color: white;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 30px;
  letter-spacing: 0.32px;
  gap: 0;
  position: relative;
  text-decoration: none;
}

.btn-home span {
  flex: 1;
  text-align: center;
  white-space: pre-wrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.btn-home .btn-form-arrow {
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  place-items: start;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 0;
}

.btn-home .btn-form-arrow-border {
  background: white;
  opacity: 0.4;
  width: 1px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.btn-home .btn-form-arrow img {
  width: 18px;
  height: 6px;
  margin-left: 21px;
  margin-top: 6.5px;
  display: block;
}

/* サンクスページのステップインジケーター - すべて完了状態 */
.thanks-steps {
  position: relative;
}

.thanks-steps::before {
  content: "";
  position: absolute;
  left: calc(50% - 80px);
  top: 20px;
  width: 160px;
  height: 2px;
  background: var(--color-primary);
  z-index: 1;
}

.thanks-steps .step-item.active .step-number {
  background: var(--color-primary);
  color: white;
}

.thanks-steps .step-item.active .step-label {
  color: var(--color-primary);
  font-weight: bold;
}

/* 確認ページ */
.confirmation-content {
  background: white;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

/* 確認ページのステップインジケーター */
.confirmation-steps {
  position: relative;
}

.confirmation-steps::before {
  content: "";
  position: absolute;
  left: calc(50% - 50px);
  top: 20px;
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  z-index: 1;
  transform: translateX(-50%);
}

.confirmation-steps::after {
  content: "";
  position: absolute;
  left: calc(50% + 50px);
  top: 20px;
  width: 60px;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
  transform: translateX(-50%);
}

.step-number-inactive {
  background: white !important;
  color: #000 !important;
}

/* 確認フォーム */
.confirmation-form-notice {
  max-width: 1120px;
  margin: 0 auto 1rem;
  padding: 0 40px;
}

.confirmation-form-notice-text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.confirmation-form-notice-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.confirmation-form {
  background: white;
  border-radius: 8px;
  padding: 40px;
  max-width: 1120px;
  margin: 0 auto 40px;
}

/* 確認フォームのform-rowはcontact-formと同じスタイルを継承 */
.confirmation-form .form-row {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 20px 0;
  gap: 0;
  border-bottom: 1px solid #e0e0e0;
}

.confirmation-form .form-row-textarea {
  align-items: flex-start;
  padding: 25px 0;
}

.confirmation-form .form-label-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 240px;
  flex-shrink: 0;
}

.confirmation-form .form-value {
  flex: 1;
  font-size: 16px;
  color: var(--color-text);
  line-height: 28px;
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0 25px;
  word-break: break-word;
}

.confirmation-form .form-value-textarea {
  align-items: flex-start;
  line-height: 28px;
  white-space: pre-wrap;
  padding: 25px;
  min-height: 300px;
}

.form-row {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 10px 0;
}

.form-row-textarea {
  align-items: flex-start;
  padding: 25px 0;
}

.form-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  width: 240px;
  flex-shrink: 0;
  line-height: 28px;
}

.form-value {
  flex: 1;
  font-size: 16px;
  color: var(--color-text);
  line-height: 28px;
  min-height: 70px;
  display: flex;
  align-items: center;
}

.form-value-textarea {
  align-items: flex-start;
  line-height: 28px;
  white-space: pre-wrap;
}

.form-divider {
  height: 1px;
  background: #e0e0e0;
  width: 100%;
}

/* 確認ページのボタン */
.confirmation-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn-edit {
  background: #e6e6e6;
  color: #333333;
  padding: 20px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 70px;
  border: none;
  cursor: pointer;
}

.confirmation-buttons .btn-submit {
  width: 400px;
  height: 70px;
  border: none;
  cursor: pointer;
  background: linear-gradient(to right, #0056b3, #3399ff);
  color: #ffffff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 30px;
  letter-spacing: 0.32px;
  gap: 0;
  position: relative;
  text-decoration: none;
}

.confirmation-buttons .btn-submit span {
  flex: 1;
  text-align: left;
  white-space: pre-wrap;
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.confirmation-buttons .btn-submit .btn-form-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 70px;
  background: rgba(0, 86, 179, 0.45);
  border-radius: 0 8px 8px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.confirmation-buttons .btn-submit .btn-form-arrow-border {
  display: none;
}

.confirmation-buttons .btn-submit .btn-form-arrow img {
  width: 18px;
  height: 6px;
  display: block;
}

/* 確認画面ボタン：CF7出力用（.btn-submit-cf7-confirm ラッパー共通） */
.confirmation-buttons > p {
  margin: 0;
}

.confirmation-buttons .btn-submit-cf7-confirm {
  position: relative;
  height: 70px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.confirmation-buttons .btn-submit-cf7-confirm-text {
  position: relative;
  z-index: 0;
}

.confirmation-buttons .btn-submit-cf7-confirm-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

/* 修正する：グレー・中央・送信すると同じ幅 */
.confirmation-buttons .btn-submit-cf7-confirm.confirmation-buttons-prev {
  width: 400px;
  background: #e6e6e6;
  color: #333333;
}

.confirmation-buttons
  .btn-submit-cf7-confirm.confirmation-buttons-prev
  .btn-submit-cf7-confirm-text {
  text-align: center;
}

/* 送信する：.btn-submit-cf7 と同一スタイル */
.confirmation-buttons .btn-submit-cf7-confirm:not(.confirmation-buttons-prev) {
  width: 400px;
  margin: 0;
  background: linear-gradient(to right, var(--color-primary), #3795d9);
  color: white;
  font-weight: bold;
}

.confirmation-buttons
  .btn-submit-cf7-confirm:not(.confirmation-buttons-prev)
  .btn-submit-cf7-confirm-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.confirmation-buttons
  .btn-submit-cf7-confirm:not(.confirmation-buttons-prev)::before {
  content: "";
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
}

.confirmation-buttons
  .btn-submit-cf7-confirm:not(.confirmation-buttons-prev)::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 6px;
  background: url("../img/contact_arrow.svg") no-repeat center;
  background-size: contain;
}

/* お問い合わせフォームページ */
.contact-content {
  background: white;
  min-height: calc(100vh - 80px);
  padding: 60px 0 0;
}

.contact-description {
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text);
  margin-bottom: 40px;
}

/* 電話でのお問い合わせセクション */
.contact-tel-section {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 40px 0;
  margin: 60px 0 80px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.tel-section-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-text);
}

.tel-section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.contact-tel-section_divider {
  width: 1px;
  height: 80px;
  background: #e0e0e0;
  flex-shrink: 0;
  align-self: center;
}

.tel-section-content-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.tel-section-content .tel-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding-top: 5px;
}

.tel-section-content .tel-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tel-section-content .tel-number {
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  font-weight: bold;
  color: var(--color-text);
}

.tel-section-content .tel-hours {
  font-size: 12px;
  color: var(--color-text);
}

/* お問い合わせフォームのステップインジケーター */
.contact-steps::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  width: 160px;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
  transform: translateX(-50%);
}

.contact-steps .step-item.active .step-label {
  color: var(--color-primary);
  font-weight: bold;
}

.contact-steps .step-item:not(.active) .step-label {
  color: var(--color-text);
}

/* お問い合わせフォーム */
.contact-form {
  background: white;
  border-radius: 8px;
  padding: 40px;
  max-width: 1120px;
  margin: 0 auto 40px;
}

.form-row {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 20px 0;
  gap: 0;
}

.form-row-textarea {
  align-items: flex-start;
  padding: 25px 0;
}

.form-label-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 240px;
  flex-shrink: 0;
}

.form-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 28px;
}

.required-badge {
  background: #ea7676;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 4px;
  white-space: nowrap;
}

.form-input-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input,
.form-textarea {
  flex: 1;
  font-size: 16px;
  color: var(--color-text);
  line-height: 28px;
  min-height: 70px;
  padding: 0 25px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #f0f3f3;
  font-family: inherit;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

/* 未入力状態（デフォルト） */
.form-input.is-empty,
.form-textarea.is-empty {
  background: #f0f3f3;
  border-color: #e0e0e0;
}

/* 入力済み状態 */
.form-input.is-filled,
.form-textarea.is-filled {
  background: #ffffff;
  border-color: #e0e0e0;
}

/* エラー状態（必須項目で未入力/不正な値）※CF7の .wpcf7-not-valid でも同じ見た目にする */
.form-input.is-invalid,
.form-textarea.is-invalid,
.wpcf7-form-control-wrap.wpcf7-not-valid .form-input,
.wpcf7-form-control-wrap.wpcf7-not-valid .form-textarea,
.contact-form .wpcf7-form-control-wrap.wpcf7-not-valid .form-input,
.contact-form .wpcf7-form-control-wrap.wpcf7-not-valid .form-textarea,
.contact-form .wpcf7-not-valid .form-input,
.contact-form .wpcf7-not-valid .form-textarea {
  background: #fff0f0;
  border-color: #c00;
}

/* CF7のスタイルより優先して入力エラー時に赤くする（ラッパーに not-valid が付く場合） */
.contact-form .wpcf7-form-control-wrap.wpcf7-not-valid input,
.contact-form .wpcf7-form-control-wrap.wpcf7-not-valid textarea,
.wpcf7-form-control-wrap.wpcf7-not-valid input,
.wpcf7-form-control-wrap.wpcf7-not-valid textarea {
  background: #fff0f0 !important;
  border-color: #c00 !important;
}

/* input / textarea 自体に not-valid が付く場合 */
.contact-form input.wpcf7-not-valid,
.contact-form textarea.wpcf7-not-valid,
input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
  background: #fff0f0 !important;
  border-color: #c00 !important;
}

/* not-valid が付いている要素の内側の input/textarea（構造が違う場合の保険） */
.contact-form [class*="wpcf7-not-valid"] input,
.contact-form [class*="wpcf7-not-valid"] textarea {
  background: #fff0f0 !important;
  border-color: #c00 !important;
}

/* 既存のエラークラスとの互換性 */
.form-input-error {
  background: #fff0f0;
  border-color: #c00;
}

.form-input-error.is-filled {
  background: #fff0f0;
}

.form-input {
  display: block;
  width: 100%;
}

.form-textarea {
  min-height: 300px;
  padding: 25px;
  resize: vertical;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

.form-input-placeholder::placeholder {
  color: #bbb;
}

.form-input-error {
  background: #fff0f0;
  border-color: #c00;
}

.form-error-message,
.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c00;
  margin-top: 5px;
}

.form-error-message {
  display: none;
}

.form-error-message.is-visible {
  display: block;
}

.form-row-error {
  margin-bottom: 20px;
}

/* プライバシーポリシー同意 */
.form-policy {
  width: 100%;
  margin: 48px 0 40px 0;
  text-align: center;
}

.form-policy .policy-text {
  display: block;
  margin-bottom: 30px;
}

.policy-text {
  font-size: 16px;
  color: var(--color-text);
  text-align: center;
}

.policy-link {
  color: var(--color-primary);
  text-decoration: underline;
}

.policy-checkbox {
  background: #f0f3f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  border-radius: 4px;
  cursor: pointer;
  width: 240px;
}

/* CF7の [acceptance] ラッパーが幅を取らないように */
.policy-checkbox .wpcf7-form-control-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

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

.policy-checkbox input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-top: 8px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.checkbox-label {
  font-size: 16px;
  color: var(--color-text);
  cursor: pointer;
}

/* フォーム送信ボタン */
.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.form-submit .btn-submit {
  width: 400px;
  height: 70px;
  border: none;
  cursor: pointer;
  background: linear-gradient(to right, var(--color-primary), #3795d9);
  color: white;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 30px;
  letter-spacing: 0.32px;
  gap: 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.form-submit .btn-submit span {
  flex: 1;
  text-align: center;
  white-space: pre-wrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.form-submit .btn-submit .btn-form-arrow {
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  place-items: start;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 0;
}

.form-submit .btn-submit .btn-form-arrow-border {
  background: white;
  opacity: 0.4;
  width: 1px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.form-submit .btn-submit .btn-form-arrow img {
  width: 18px;
  height: 6px;
  margin-left: 21px;
  margin-top: 6.5px;
  display: block;
}

/* CF7用：ラッパー＋テキスト＋[submit]のみ。矢印はCSSの::afterで表示（CF7がHTMLを触らない構成） */
.form-submit .btn-submit-cf7 {
  position: relative;
  width: 400px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, var(--color-primary), #3795d9);
  color: white;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  box-sizing: border-box;
}

.form-submit .btn-submit-cf7::before {
  content: "";
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
}

.form-submit .btn-submit-cf7::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 6px;
  background: url("../img/contact_arrow.svg") no-repeat center;
  background-size: contain;
}

.form-submit .btn-submit-cf7-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  white-space: nowrap;
}

.form-submit .btn-submit-cf7 p {
  margin: 0;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.form-submit .btn-submit-cf7-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

/* 矢印画像はテーマルートからの相対パス（style.css が css/ 内にある場合） */

/* 採用情報ページ */
.recruit-content {
  background: white;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

/* 画像スライダー */
.image-slider {
  width: 100vw;
  height: 400px;
  overflow: hidden;
  margin: 60px calc((100vw - 100%) / -2);
  position: relative;
}

.slider-track {
  display: flex;
  gap: 30px;
  height: 100%;
  animation: slide 30s linear infinite;
  will-change: transform;
}

.slider-item {
  flex-shrink: 0;
  width: 320px;
  height: 400px;
  overflow: hidden;
  position: relative;
}

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

/* 各画像の切り抜き位置を調整（Figmaデザインに合わせる） */
.slider-item:nth-child(1) img {
  object-position: 50% 50%;
}

.slider-item:nth-child(2) img {
  object-position: 50% 50%;
}

.slider-item:nth-child(3) img {
  object-position: 50% 50%;
}

.slider-item:nth-child(4) img {
  object-position: 50% 50%;
}

.slider-item:nth-child(5) img {
  object-position: 50% 50%;
}

.slider-item:nth-child(6) img {
  object-position: 50% 50%;
}

.slider-item:nth-child(7) img {
  object-position: 50% 50%;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 7 - 30px * 7));
  }
}

/* キャッチコピーとリード文 */
.lead-section {
  display: flex;
  gap: clamp(2rem, 5.556vw, 5rem);
  align-items: flex-start;
  margin: 60px 0;
}

.catch-phrase {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.8;
  letter-spacing: 0.1em;
  flex: 0 0 auto;
  max-width: fit-content;
}

.catch-text {
  margin: 0;
  white-space: nowrap;
}

.lead-text {
  flex: 1;
  font-size: clamp(0.875rem, 1.111vw, 1rem);
  line-height: 2;
  color: var(--color-text);
  max-width: 720px;
}

.lead-text p {
  margin-bottom: 0;
}

/* recruit_lead-section */
.recruit_lead-section {
  display: flex;
  /* 1440px時に200px、それ以上は同比率でスケール: 200/1440 ≈ 13.89vw */
  gap: clamp(2rem, 13.89vw, 25rem);
  align-items: center;
  padding: 10rem 0;
  justify-content: right;
}

.recruit_lead-section .catch-phrase {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 2.5vw, 3.5rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.recruit_lead-section .catch-text {
  margin: 0;
  white-space: nowrap;
}

.recruit_lead-section .lead-text {
  flex: 0 0 60%;
  /* 1440px時に16px、それ以上は同比率でスケール: 16/1440 ≈ 1.111vw */
  font-size: clamp(1rem, 1.111vw, 1.25rem);
  line-height: 2;
  color: var(--color-text);
  max-width: none;
}

.recruit_lead-section .lead-text p {
  margin-bottom: 0;
}

/* タブレット幅以下のレイアウト調整 */
@media (max-width: 1040px) {
  .recruit_lead-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .recruit_lead-section .catch-phrase {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100%;
    text-align: left;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    flex-wrap: wrap;
  }

  .recruit_lead-section .catch-text {
    white-space: normal;
    display: inline-block;
  }

  .recruit_lead-section .lead-text {
    flex: 1;
    width: 100%;
    font-size: clamp(0.875rem, 3.5vw, 1rem);
  }
}

/* 募集要項 */
.recruitment-section {
  margin: 80px 0;
}

.recruitment-title {
  margin-bottom: 40px;
}

.recruitment-title .title-en {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 10px;
}

.recruitment-title .title-ja {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  color: var(--color-text);
  font-weight: 500;
}

.recruitment-table {
  display: flex;
  flex-direction: column;
}

.table-row {
  display: flex;
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}

.table-label {
  width: 240px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 28px;
}

.table-value {
  flex: 1;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text);
}

.table-value p {
  margin-bottom: 0;
}

.table-note {
  font-size: 12px;
  line-height: 20px;
  color: var(--color-text);
  margin-top: 20px;
}

/* アクセスページ */
.access-content {
  background: white;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

.access-main {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  align-items: flex-start;
}

.access-info {
  flex: 0 0 480px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.company-address {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.company-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
}

.address-details {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
}

.address-details p {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: #e0e0e0;
  width: 100%;
}

.access-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
}

.access-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 20px;
}

.access-list li {
  position: relative;
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
}

.access-list li > p:first-child {
  position: relative;
}

.access-list li > p:first-child::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 55%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.access-list li p {
  margin-bottom: 0;
}

.access-map {
  flex: 1;
  width: calc(100% + (100vw - 100%) / 2);
  margin-right: calc((100vw - 100%) / -2);
  height: 800px;
  min-height: 600px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 会社概要ページ */
.about-content {
  background: white;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

/* ヒーロー画像 */
.hero-image {
  width: 100vw;
  height: 50vw;
  max-height: 720px;
  margin: 60px calc((100vw - 100%) / -2);
  overflow: hidden;
  border-radius: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* 企業理念セクション */
.philosophy-section {
  display: flex;
  gap: clamp(3.75rem, 11.111vw, 10rem);
  margin: 80px 0;
}

.philosophy-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.philosophy-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.philosophy-title .title-en {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 500;
}

.philosophy-title .title-ja {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 56px;
}

.philosophy-text {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
}

/* 代表メッセージセクション */
.message-section {
  margin: 80px 0;
}

.section-divider {
  width: 100vw;
  margin-left: calc((100vw - 100%) / -2);
  height: 1px;
  background: #e0e0e0;
  margin-bottom: 60px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 60px;
}

.section-title .title-en {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 500;
}

.section-title .title-ja {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 56px;
}

.message-item {
  display: flex;
  gap: 60px;
  margin-bottom: 20px;
  align-items: center;
}

.message-item:last-child {
  margin-bottom: 0;
}

.message-image {
  flex: 0 0 clamp(18.75rem, 50vw, 45rem);
  width: clamp(18.75rem, 50vw, 45rem);
  height: clamp(25rem, 55.556vw, 50rem);
  overflow: hidden;
  border-radius: 0;
  margin-left: calc((100vw - 100%) / -2);
}

.message-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

@media (max-width: 768px) {
  .message-image img {
    /* 切り取り位置：center=中央 / 数値を小さくすると上寄り（例: 40% 30%）/ top で最上部 */
    object-position: center 80%;
  }
}

.message-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.message-title {
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 50px;
}

.message-text {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
}

.message-text p {
  margin-bottom: 0;
}

.message-name {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: auto;
}

.message-name .position {
  font-size: 16px;
  color: var(--color-text);
}

.message-name .name {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text);
}

/* 会社概要テーブル */
.overview-section {
  margin: 80px 0;
}

.overview-table {
  display: flex;
  flex-direction: column;
}

.overview-table .table-row {
  display: flex;
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}

.overview-table .table-label {
  width: 240px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 28px;
}

.overview-table .table-value {
  flex: 1;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text);
}

.overview-table .table-value p {
  margin-bottom: 0;
}

.link-access {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 沿革：PCは年と内容を横並び */
.table-value-history {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.history-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 0;
}

.history-item:not(:last-child) {
  margin-bottom: 1em;
}

.history-year {
  flex: 0 0 auto;
  white-space: nowrap;
}

.history-year p {
  margin-bottom: 0;
}

.history-content {
  flex: 1;
}

.history-content p {
  margin-bottom: 0;
}

/* サービスページ */
.service-content {
  background: white;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

/* キャッチコピー */
.catch-copy {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 42px;
  margin: 40px 0 60px;
}

.catch-copy p {
  margin-bottom: 0;
}

/* 私たちについてセクション */
.about-section {
  margin: 80px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  font-size: 16px;
  line-height: 32px;
  color: var(--color-text);
  max-width: 480px;
  margin-left: auto;
}

.about-text p {
  margin-bottom: 0;
}

/* ツクダの仕事セクション */
.service-work-section {
  background: var(--color-secondary);
  padding: 80px 10rem;
  margin: 80px 0;
  position: relative;
  width: 100vw;
  margin-left: calc((100vw - 100%) / -2);
}

.service-work-section .section-title {
  margin-bottom: 60px;
}

.work-item {
  gap: clamp(2.5rem, 4.167vw, 3.75rem);
  margin-bottom: clamp(5rem, 8.333vw, 7.5rem);
  align-items: center;
  position: relative;
}

.work-item:last-child {
  margin-bottom: 0;
}

.work-image {
  width: 100%;
  aspect-ratio: 1.75 / 1;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
  will-change: width, transform;
  transition:
    width 0.1s ease-out,
    transform 0.1s ease-out;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.work-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-top: 60px;
}

.work-title {
  flex: 1;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 2.778vw, 2.5rem);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.4;
}

.work-text {
  flex: 1;
  font-size: clamp(0.875rem, 1.111vw, 1rem);
  line-height: 2;
  color: var(--color-text);
}

/* 実績一覧セクション */
.works-section {
  margin: 80px 0;
}

.works-tabs {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 2px;
}

.tab-item {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.tab-item.active {
  color: var(--color-primary);
}

.tab-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

/* 実績グリッド */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 40px;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.work-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-card-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 28px;
  margin: 0;
}

.work-card-meta {
  font-size: 12px;
  color: var(--color-text);
  margin: 0;
}

/* TOPページ */
/* ヘッダー（TOPページ用・常に fixed、レイアウトは変えず背景色のみ切り替え） */
.header-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
  padding-bottom: clamp(0.75rem, 2vw, 1.25rem);
  background: transparent;
  border-bottom: none;
  box-sizing: border-box;
  transition:
    background-color 0.3s ease,
    border-bottom-color 0.3s ease;
}

/* スクロール時: 背景色・ボーダー・ロゴ・フォント色のみ変更（位置・高さは変更しない） */
.header-top.scrolled {
  background: white;
  border-bottom: 1px solid #e0e0e0;
}

.header-top .header-container {
  padding: 0 clamp(1rem, 2.778vw, 2.5rem);
  transition: padding 0.3s ease;
}

.header-top .logo {
  height: 2.125rem;
  width: 14.375rem;
  position: relative;
}

.header-top .logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.header-top .logo img.logo-white {
  display: block;
}

.header-top .logo img.logo-black {
  display: none;
}

.header-top.scrolled .logo img.logo-white {
  display: none;
}

.header-top.scrolled .logo img.logo-black {
  display: block;
}

.header-nav-white {
  position: relative;
}

.header-nav-white a {
  color: white;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-top.scrolled .header-nav-white a {
  color: #101010;
}

.header-nav-white a::after {
  content: "";
  position: absolute;
  bottom: -0.625rem;
  left: 0;
  width: 0;
  height: 0.0625rem;
  background: white;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
  transform-origin: left;
}

.header-nav-white a:hover::after {
  width: 100%;
}

.header-top.scrolled .header-nav-white a::after {
  background: #00499c;
}

.header-top.scrolled .header-nav-white a:hover {
  color: #00499c;
}

/* ハンバーガーボタン */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-text);
  border-radius: 0.0625rem;
  transition: all 0.3s ease;
  transform-origin: center;
}

.header-top .hamburger-btn span {
  background: white;
  transition: background-color 0.3s ease;
}

.header-top.scrolled .hamburger-btn span {
  background: var(--color-text);
}

body.menu-open .hamburger-btn span:first-child {
  transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
}

body.menu-open .hamburger-btn span:nth-child(2) {
  opacity: 0;
}

body.menu-open .hamburger-btn span:last-child {
  transform: rotate(-45deg) translate(0.3125rem, -0.3125rem);
}

/* ハンバーガーメニューオーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1.5rem 1.25rem;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  width: 100%;
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.4s ease 0.1s,
    transform 0.4s ease 0.1s;
}

.menu-overlay.active .menu-header {
  opacity: 1;
  transform: translateY(0);
}

.menu-logo-section {
  width: 200px;
}

.menu-logo-section img {
  width: 100%;
}

.menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.menu-company-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.menu-close-btn {
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-close-btn span {
  position: absolute;
  width: 100%;
  height: 0.125rem;
  background: #666;
  border-radius: 0.0625rem;
}

.menu-close-btn span:first-child {
  transform: rotate(45deg);
}

.menu-close-btn span:last-child {
  transform: rotate(-45deg);
}

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
  width: 100%;
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.4s ease 0.2s,
    transform 0.4s ease 0.2s;
}

.menu-overlay.active .menu-nav {
  opacity: 1;
  transform: translateY(0);
}

.menu-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.5rem 0;
  text-align: center;
}

.menu-recruit {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.4s ease 0.3s,
    transform 0.4s ease 0.3s;
}

.menu-overlay.active .menu-recruit {
  opacity: 1;
  transform: translateY(0);
}

.menu-btn-recruit {
  background: linear-gradient(to right, var(--color-primary), #3795d9);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: bold;
  display: inline-block;
  width: 100%;
  max-width: 20rem;
  text-align: center;
}

.menu-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
  align-items: center;
  width: 100%;
  justify-content: center;
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.4s ease 0.4s,
    transform 0.4s ease 0.4s;
}

.menu-overlay.active .menu-contact {
  opacity: 1;
  transform: translateY(0);
}

.menu-contact-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
}

.menu-tel-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.menu-tel-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.menu-tel-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.menu-tel-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.menu-tel-number {
  font-family: "Roboto", sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.2;
  text-decoration: none;
  display: inline-block;
  /* PC時はクリックできないようにする */
  pointer-events: none;
  cursor: default;
}

/* スマホ時のみクリック可能にする */
@media (max-width: 768px) {
  .menu-tel-number {
    pointer-events: auto;
    cursor: pointer;
  }

  .menu-tel-number:active {
    opacity: 0.7;
  }
}

.menu-tel-hours {
  font-size: 0.75rem;
  color: var(--color-text);
  margin: 0;
}

.menu-btn-form {
  background: linear-gradient(to right, var(--color-primary), #3795d9);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: 20rem;
}

.menu-btn-form span {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.menu-btn-form-arrow {
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  place-items: start;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.menu-btn-form-arrow-border {
  background: white;
  opacity: 0.4;
  width: 0.0625rem;
  height: 1rem;
  position: absolute;
  left: 0;
  top: 0;
}

.menu-btn-form-arrow img {
  width: 0.875rem;
  height: 0.3125rem;
  margin-left: 1rem;
  margin-top: 0.34375rem;
  display: block;
}

.menu-footer {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.4s ease 0.5s,
    transform 0.4s ease 0.5s;
}

.menu-overlay.active .menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.menu-privacy-link {
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
}

/* メインビジュアル */
.mv-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.mv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mv-bg img {
  position: absolute;
  right: 0;
  top: calc(-20vh - 6.25rem);
  width: 139vw;
  height: 166.625vh;
  object-fit: cover;
  object-position: center;
}

.mv-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  opacity: 0.16;
}

.mv-gradation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 37.5vh;
  background: linear-gradient(
    to bottom,
    rgba(16, 16, 16, 0.3),
    rgba(16, 16, 16, 0)
  );
}

.mv-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: clamp(1rem, 18.06vw, 16.25rem);
  padding-top: 26.25vh;
}

.mv-text-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 0;
}

.mv-catch {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 4.167vw, 3.75rem);
  font-weight: 500;
  color: white;
  line-height: 1;
  text-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.4);
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  letter-spacing: 0.2em;
}

.mv-catch:first-child {
  margin-left: 1.875rem;
}

.mv-catch + .mv-catch {
  margin-left: 3.125rem;
}

.mv-catch-sub {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(0.875rem, 1.389vw, 1.25rem);
  font-weight: 500;
  color: white;
  line-height: 1.2;
  text-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.4);
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  letter-spacing: 0.2em;
}

.mv-catch + .mv-catch + .mv-catch-sub {
  margin-left: 0.9375rem;
}

/* Leadセクション */
.lead-section {
  position: relative;
  min-height: 62.5rem;
  padding: 12.5rem 0 30rem;
  overflow: hidden;
}

.lead-bg {
  position: absolute;
  top: 32%;
  left: 67%;
  transform: rotate(-5deg) translate(-50%, -50%);
  width: 76.389vw;
  z-index: 0;
}

.lead-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-content {
  position: relative;
  z-index: 2;
  /* max-width: 77.778vw;
  margin: 0 auto; */
  padding: 0 2.5rem;
  width: 100%;
}

.lead-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 3.333vw, 3rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  margin-left: clamp(1rem, 15.28vw, 13.75rem);
  text-align: left;
}

.lead-text-vertical {
  display: flex;
  gap: 3.75rem;
  justify-content: center;
  align-items: flex-start;
  margin: 6.25rem auto 0;
  flex-direction: row-reverse;
  /* max-width: fit-content; */
}

.lead-text-col {
  /* writing-mode: vertical-rl; */
  text-orientation: upright;
  font-size: 1rem;
  line-height: 1;
  color: var(--color-text);
  display: flex;
  gap: 1.25rem;
  flex-direction: row-reverse;
  letter-spacing: 0.2em;
}

.lead-text-col p {
  margin: 0;
  writing-mode: vertical-rl;
}

.lead-images {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(40, minmax(1.25rem, 1fr));
  gap: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.lead-img {
  overflow: visible;
  position: relative;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.lead-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.lead-img-1 {
  grid-column: 1 / 4;
  grid-row: 13 / 29;
  z-index: 1;
}

.lead-img-2 {
  grid-column: 10 / 13;
  grid-row: 12 / 29;
  z-index: 2;
}

.lead-img-3 {
  grid-column: 9 / 11;
  grid-row: 24 / 37;
  z-index: 3;
}

@media screen and (min-width: 1300px) {
  .lead-img-3 {
    grid-row: 25 / 40;
  }
}

@media screen and (min-width: 1600px) {
  .lead-img-3 {
    grid-row: 29 / 40;
  }
}

.lead-img-4 {
  grid-column: 2 / 8;
  grid-row: 30 / 40;
  z-index: 1;
}

/* Serviceセクション（TOPページ） */
.service-top-section {
  padding: 7.5rem 0;
  background: white;
}

.service-top-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.service-top-title .title-en {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.service-top-title .title-ja {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 3.333vw, 3rem);
  color: var(--color-text);
  font-weight: 500;
}

.service-top-text {
  text-align: center;
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 5rem;
}

.service-top-grid {
  display: flex;
  gap: 1.875rem;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 1.875rem;
  margin-bottom: 3.75rem;
}

.service-top-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-top-card-image {
  width: 100%;
  height: 18.313rem;
  overflow: hidden;
  position: relative;
}

.service-top-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-top-card-content {
  padding: 0 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.service-top-card-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 1.667vw, 1.5rem);
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
}

.service-top-card-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
  text-align: left;
}

.service-top-more {
  text-align: right;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 11.111vw;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: var(--color-primary);
  font-family: "Roboto", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: bold;
}

.btn-more-white {
  color: white;
}

.btn-more-icon {
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-more-icon img {
  width: 100%;
}

/* 大きな画像セクション */
.large-image-section {
  width: 100%;
  height: 40rem;
  position: relative;
  overflow: hidden;
}

.large-image-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: var(--color-primary);
  opacity: 0.12;
  z-index: 2;
}

.large-image-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: 1;
  will-change: transform;
  overflow: hidden;
}

.large-image-wrapper img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
@media (max-width: 768px) {
  .large-image-wrapper {
    aspect-ratio: 1 / 1;
  }
}

/* Aboutセクション（TOPページ） */
.about-top-section {
  position: relative;
  min-height: 62.5rem;
  /* 1440px時は7.5rem(120px)、それ以上は同比率でスケール: 120/1440 ≈ 8.333vw */
  padding: clamp(7.5rem, 8.333vw, 15rem) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0;
}

/* 1440px基準で画面幅に応じてスケール（約8.333vw=120px/1440等） */
.about-top-content {
  position: relative;
  z-index: 2;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 clamp(1rem, 8.333vw, 7.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 2.778vw, 4rem);
  align-items: flex-end;
  margin-left: auto;
}

.about-top-title {
  width: 100%;
  max-width: clamp(30rem, 33.33vw, 55rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 1.389vw, 2rem);
}

.about-top-title .title-en {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1rem, 1.111vw, 1.25rem);
  color: var(--color-primary);
  font-weight: 500;
}

.about-top-title .title-ja {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.6;
}

.about-top-text {
  width: 100%;
  max-width: clamp(30rem, 33.33vw, 55rem);
  font-size: clamp(0.875rem, 1.111vw, 1.25rem);
  line-height: 2;
  color: var(--color-text);
}

.about-top-text p {
  margin-bottom: 0;
}

.about-top-text p:first-child {
  margin-bottom: clamp(1.25rem, 1.389vw, 2rem);
}

.about-top-links {
  width: 100%;
  max-width: clamp(30rem, 33.33vw, 55rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-top-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.25rem, 1.389vw, 2rem) 0;
  text-decoration: none;
  border-bottom: 0.0625rem solid #e0e0e0;
  transition: border-bottom-color 0.3s ease;
}

.about-top-link:hover {
  border-bottom-color: var(--color-primary);
}

.about-top-link-active span {
  color: var(--color-primary);
  font-weight: bold;
}

.about-top-link span {
  font-size: clamp(1rem, 1.389vw, 1.5rem);
  font-weight: bold;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.about-top-link:hover span {
  color: var(--color-primary);
}

.about-top-link-icon {
  width: clamp(3.75rem, 4.167vw, 5rem);
  height: clamp(3.75rem, 4.167vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-top-link-icon img {
  width: 100%;
  transition: opacity 0.3s ease;
}

.about-top-link-icon .arrow-default {
  position: absolute;
  opacity: 1;
}

.about-top-link-icon .arrow-hover {
  position: absolute;
  opacity: 0;
}

.about-top-link:hover .about-top-link-icon .arrow-default {
  opacity: 0;
}

.about-top-link:hover .about-top-link-icon .arrow-hover {
  opacity: 1;
}

.about-top-images {
  position: relative;
  flex: 0 0 50%;
  max-width: 50%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-top-img {
  position: relative;
  overflow: visible;
}

.about-top-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-top-img-1 {
  width: 100%;
  height: auto;
  z-index: 1;
}

.about-top-img-2 {
  position: absolute;
  width: 45%;
  bottom: -30%;
  right: 10%;
  z-index: 2;
}

/* Recruitセクション（TOPページ） */
.recruit-top-section {
  position: relative;
  width: 100%;
  height: 40rem;
  overflow: hidden;
}

.recruit-top-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.recruit-top-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--color-primary), #3795d9);
}

.recruit-top-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  opacity: 0.6;
  z-index: 2;
}

.recruit-top-images {
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
}

.recruit-top-img {
  position: absolute;
  height: 100%;
  object-fit: contain;
  display: block;
}

.recruit-top-img-1 {
  display: block;
}

.recruit-top-img-2 {
  display: none;
}

@media (max-width: 768px) {
  .recruit-top-img-1 {
    display: none;
  }

  .recruit-top-img-2 {
    display: block;
    height: 130%;
    top: -30%;
    right: -60%;
  }
}

.recruit-top-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-top-content {
  position: relative;
  z-index: 3;
  max-width: 77.778vw;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}

.recruit-top-title {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.recruit-top-title .title-en {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: white;
  font-weight: 500;
}

.recruit-top-title .title-ja {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.75rem, 2.778vw, 2.5rem);
  color: white;
  font-weight: 500;
  line-height: 1.25;
}

.recruit-top-text {
  font-size: 1rem;
  line-height: 2;
  color: white;
}

.recruit-top-text p {
  margin-bottom: 0;
}

.recruit-top-more {
  margin-top: 1.25rem;
}

/* ========================================
   レスポンシブ対応（TOPページ）
   ======================================== */

/* タブレット（768px〜1024px）: PCレイアウトを縮小 */
@media screen and (max-width: 1024px) {
  /* ヘッダー */
  .header-top .header-container {
    padding: 0 clamp(1rem, 3vw, 2.5rem);
  }

  .header-top .logo {
    height: clamp(1.5rem, 2.5vw, 2.125rem);
    width: clamp(10rem, 15vw, 14.375rem);
  }

  /* ハンバーガーメニュー表示 */
  .header-nav {
    display: none;
  }

  .btn-recruit {
    display: none;
  }

  .hamburger-btn {
    display: flex;
    margin-left: auto;
  }

  /* メインビジュアル */
  .mv-content {
    padding-right: clamp(1rem, 12vw, 16.25rem);
    padding-top: clamp(15vh, 20vw, 26.25vh);
  }

  .mv-catch {
    font-size: clamp(1.25rem, 3vw, 3.75rem);
  }

  .mv-catch + .mv-catch {
    margin-left: clamp(1.5rem, 2.5vw, 3.125rem);
  }

  .mv-catch-sub {
    font-size: clamp(0.75rem, 1.2vw, 1.25rem);
  }

  .mv-catch + .mv-catch + .mv-catch-sub {
    margin-left: clamp(0.5rem, 1vw, 0.9375rem);
  }

  .mv-bg img {
    top: calc(-15vh - 4rem);
    width: 150vw;
    height: 180vh;
  }

  /* Leadセクション */
  .lead-section {
    min-height: 50rem;
    padding: 8rem 0 20rem;
  }

  .lead-title {
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    margin-left: clamp(1rem, 10vw, 13.75rem);
  }

  .lead-text-vertical {
    gap: clamp(1.5rem, 3vw, 3.75rem);
    margin: 4rem auto 0;
  }

  .lead-text-col {
    font-size: clamp(0.75rem, 1vw, 1rem);
    gap: clamp(0.75rem, 1.2vw, 1.25rem);
  }

  .lead-images {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(40, minmax(0.75rem, 1fr));
  }

  .lead-bg {
    width: 85vw;
    top: 35%;
    left: 65%;
  }

  /* Serviceセクション */
  .service-top-section {
    padding: 5rem 0;
  }

  .service-top-title .title-ja {
    font-size: clamp(1.5rem, 2.5vw, 3rem);
  }

  .service-top-text {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    margin-bottom: 3rem;
  }

  .service-top-grid {
    gap: clamp(1rem, 1.5vw, 1.875rem);
    padding: 0 clamp(1rem, 1.5vw, 1.875rem);
    margin-bottom: 2.5rem;
  }

  .service-top-card-image {
    height: clamp(12rem, 18vw, 18.313rem);
  }

  .service-top-card-content {
    padding: 0 clamp(1rem, 1.5vw, 1.875rem);
    gap: 1.25rem;
  }

  .service-top-card-title {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
  }

  .service-top-card-text {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
  }

  .service-top-more {
    padding: 0 clamp(1rem, 8vw, 11.111vw);
  }

  /* 大きな画像セクション */
  .large-image-section {
    height: clamp(20rem, 35vw, 40rem);
  }

  /* Aboutセクション */
  .about-top-section {
    min-height: auto;
    padding: 5rem 0;
    flex-direction: column;
    margin-bottom: 100px;
  }

  .about-top-images {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
    margin-bottom: 2rem;
    margin-top: 4rem;
    margin-left: auto;
    margin-right: auto;
  }

  .about-top-content {
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
    padding: 0 clamp(1rem, 4vw, 3rem);
    gap: 2rem;
    align-items: flex-start;
    margin: 0 auto;
  }

  .about-top-title .title-ja {
    font-size: clamp(1.25rem, 2.2vw, 2.5rem);
  }

  .about-top-text {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
  }

  .about-top-link span {
    font-size: clamp(0.875rem, 1.2vw, 1.25rem);
  }

  .about-top-img-1 {
    width: 80%;
  }

  .about-top-img-2 {
    width: 40%;
    bottom: -20%;
    right: 5%;
  }

  /* Recruitセクション */
  .recruit-top-section {
    height: clamp(30rem, 35vw, 40rem);
  }

  .recruit-top-content {
    max-width: 85vw;
    padding: 0 clamp(1rem, 2vw, 2.5rem);
    gap: 2rem;
  }

  .recruit-top-title .title-ja {
    font-size: clamp(1.25rem, 2.2vw, 2.5rem);
  }

  .recruit-top-text {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
  }

  /* Accessページ */
  .access-main {
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
  }

  .access-info {
    flex: 0 0 auto;
    width: 100%;
    order: 1;
    gap: 2rem;
  }

  .access-map {
    flex: 0 0 auto;
    width: 100%;
    margin-right: 0;
    order: 2;
    height: 20rem;
    min-height: 20rem;
  }

  /* 事業内容（実績カード）タブレット：画像を縦長にしない */
  .work-card-image {
    height: auto;
    aspect-ratio: 1 / 1;
    position: relative;
  }

  .work-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* フッター（タブレット時から中央揃え） */
  .footer-contact {
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
  }

  .footer-contact .contact-info {
    align-items: center;
  }

  .footer-contact-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.25rem;
  }

  .footer-contact-text {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    margin-bottom: 2.5rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-tel {
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .contact-tel .tel-icon {
    flex-direction: row;
    gap: 0.75rem;
  }

  .contact-tel .tel-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .tel-number {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
  }

  .tel-hours {
    font-size: clamp(0.625rem, 1vw, 0.75rem);
  }

  .contact-form-btn {
    border-left: none;
    border-top: 1px solid #e0e0e0;
    padding-left: 0;
    padding-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .btn-form {
    width: 100%;
    max-width: 25rem;
  }

  .footer-info {
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 3vw, 7.5rem)
      clamp(2.5rem, 4vw, 3.75rem);
    text-align: center;
  }

  .footer-info-content {
    flex-direction: column;
    gap: clamp(2rem, 4vw, 5rem);
    margin-bottom: 2rem;
    align-items: center;
  }

  .footer-company {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-company-details {
    text-align: center;
  }

  .footer-logo {
    width: clamp(5rem, 8vw, 6.875rem);
    height: clamp(5rem, 8vw, 6.875rem);
  }

  .footer-nav {
    display: none;
  }

  .footer-slogan-section {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .footer-slogan {
    font-size: clamp(1.75rem, 4vw, 3.75rem);
    text-align: center;
  }

  .footer-copyright {
    text-align: center;
  }

  /* お問い合わせページ - 電話セクション */
  .contact-tel-section {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
    margin: 2rem 0;
  }

  .contact-tel-section_divider {
    display: none;
  }

  .tel-section-title {
    margin-bottom: 1rem;
    padding-left: 0;
    text-align: center;
  }

  .tel-section-content {
    flex-direction: column;
    gap: 1rem;
    padding-left: 0;
    align-items: center;
  }

  .tel-section-content .tel-number {
    font-size: 1.75rem;
  }

  .tel-section-content .tel-hours {
    font-size: 0.75rem;
    text-align: center;
  }

  /* お問い合わせフォーム */
  .contact-form {
    width: 90%;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .form-label-group {
    width: 100%;
  }

  .form-input,
  .form-textarea {
    width: 100%;
  }

  .form-input-wrapper {
    width: 100%;
  }

  .form-submit .btn-submit-cf7 {
    width: 90%;
    max-width: 400px;
  }

  /* 確認フォーム */
  .confirmation-form .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 0;
  }

  .confirmation-form .form-label-group {
    width: 100%;
  }

  .confirmation-form .form-value {
    width: 100%;
    padding: 0;
    min-height: auto;
  }

  .confirmation-form .form-value-textarea {
    padding: 0;
    min-height: auto;
  }

  .confirmation-form-notice {
    padding: 0 1rem;
  }

  .confirmation-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .confirmation-buttons > p,
  .confirmation-buttons > .btn-submit-cf7-confirm {
    width: 90%;
    max-width: 400px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
  }

  .btn-edit,
  .confirmation-buttons .btn-submit,
  .confirmation-buttons .btn-submit-cf7-confirm {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
}

/* スマートフォン（〜767px）: SPデザイン */
@media screen and (max-width: 767px) {
  /* SP: ロゴ左・ハンバーガー右を明示（中央寄りになる不具合防止） */
  .header .header-container,
  .header-top .header-container {
    padding: 0 1rem;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .header .logo,
  .header-top .logo {
    height: 1.5rem;
    width: 10rem;
    flex-shrink: 0;
    margin-right: 0;
    margin-left: 0;
  }

  /* SPではナビをヘッダーに表示せず、ハンバーガーメニューのみ1段で表示 */
  .header-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .btn-recruit {
    padding: 0.5rem 1rem;
    font-size: 0.625rem;
    margin-left: auto;
  }

  /* メインビジュアル */
  .mv-section {
    height: 100vh;
  }

  .mv-content {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 65vh;
    justify-content: center;
  }

  .mv-text-container {
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }

  .mv-catch {
    font-size: 2.5rem;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    margin-left: 0;
  }

  .mv-catch:first-child {
    margin-left: 0;
  }

  .mv-catch + .mv-catch {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .mv-catch-sub-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .mv-catch-sub {
    font-size: 0.875rem;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    margin-left: 0;
  }

  .mv-catch + .mv-catch + .mv-catch-sub {
    margin-left: 0;
    margin-top: 1rem;
  }

  .mv-catch-sub + .mv-catch-sub {
    margin-top: 0.5rem;
  }

  .mv-bg img {
    top: calc(-10vh - 2rem);
    width: 180vw;
    height: 130vh;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Leadセクション */
  .lead-section {
    min-height: auto;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 0;
  }

  .lead-content {
    padding: 0 1rem;
    order: 1;
  }

  .lead-title {
    font-size: 1.5rem;
    margin-left: 0;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .lead-text-vertical {
    gap: 1.5rem;
    margin: 2rem auto 0;
  }

  .lead-text-col {
    flex-direction: row-reverse;
    gap: 0.1rem;
    font-size: 0.875rem;
    line-height: 1;
    letter-spacing: 0.2em;
    text-orientation: upright;
  }

  .lead-text-col p {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 0.875rem;
    line-height: 1.8;
    margin: 0;
  }

  .lead-images {
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(40, minmax(0.5rem, 1fr));
    position: relative;
    order: 2;
    width: 100%;
    height: auto;
    min-height: 25rem;
  }

  .lead-img-1 {
    grid-column: 1 / 5;
    grid-row: 1 / 20;
  }

  .lead-img-2 {
    grid-column: 7 / 11;
    grid-row: 1 / 20;
  }

  .lead-img-3 {
    grid-column: 9 / 6;
    grid-row: 15 / 30;
  }

  .lead-img-4 {
    grid-column: 1 / 10;
    grid-row: 29 / 40;
  }

  .lead-bg {
    width: 100vw;
    top: 12%;
    left: 50%;
    transform: rotate(-5deg) translate(-50%, -50%);
  }

  /* Serviceセクション */
  .service-top-section {
    padding: 1rem 0 3rem;
  }

  .service-top-title {
    margin-bottom: 1.5rem;
  }

  .service-top-title .title-en {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }

  .service-top-title .title-ja {
    font-size: 1.5rem;
  }

  .service-top-text {
    font-size: 0.875rem;
    margin-bottom: 2rem;
    padding: 0 2.5rem;
    text-align: left;
  }

  .service-top-grid {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .service-top-card-image {
    height: 15rem;
  }

  .service-top-card-content {
    padding: 0;
    gap: 1rem;
  }

  .service-top-card-title {
    font-size: 1.125rem;
  }

  .service-top-card-text {
    font-size: 0.875rem;
    padding: 0 1.5rem;
  }

  .service-top-more {
    padding: 0 1rem;
    text-align: center;
  }

  .btn-more {
    font-size: 0.875rem;
  }

  .btn-more-icon {
    width: 3rem;
    height: 3rem;
  }

  /* 大きな画像セクション */
  .large-image-section {
    height: 20rem;
  }

  /* Aboutセクション */
  .about-top-section {
    min-height: auto;
    padding: 4rem 0 0;
    flex-direction: column;
  }

  .about-top-images {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
    margin-bottom: 2rem;
  }

  .about-top-content {
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
    padding: 0 2.5rem;
    align-items: flex-start;
  }

  .about-top-title {
    max-width: 100%;
  }

  .about-top-title .title-en {
    font-size: 0.875rem;
  }

  .about-top-title .title-ja {
    font-size: 1.5rem;
  }

  .about-top-text {
    max-width: 100%;
    font-size: 0.875rem;
  }

  .about-top-links {
    max-width: 100%;
  }

  .about-top-link {
    padding: 1rem 0;
  }

  .about-top-link span {
    font-size: 0.875rem;
  }

  .about-top-link-icon {
    width: 3rem;
    height: 3rem;
  }

  .about-top-img-1 {
    width: 80%;
  }

  .about-top-img-2 {
    width: 45%;
    bottom: -35%;
    right: 10%;
  }

  /* Recruitセクション */
  .recruit-top-section {
    height: auto;
    min-height: 30rem;
    padding: 3rem 0;
  }

  .recruit-top-content {
    max-width: 100%;
    padding: 0 2rem;
    gap: 1.5rem;
  }

  .recruit-top-title .title-en {
    font-size: 0.875rem;
  }

  .recruit-top-title .title-ja {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .recruit-top-text {
    font-size: 0.875rem;
  }

  .recruit-top-more {
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  /* recruit_lead-section SP：catch-phrase 縦書き・中央配置（Figma SPデザイン） */
  .recruit_lead-section {
    align-items: center;
    padding: 2.5rem 0;
  }

  .recruit_lead-section .catch-phrase {
    writing-mode: vertical-rl;
    text-orientation: upright;
    width: auto;
    display: flex;
    gap: 0.5em;
    justify-content: center;
    align-self: center;
    font-size: clamp(1.25rem, 8.333vw, 2.75rem);
    line-height: 1.4;
  }

  .recruit_lead-section .catch-text {
    white-space: nowrap;
    display: block;
  }

  .recruit_lead-section .lead-text {
    width: 100%;
    text-align: left;
  }

  /* 募集要項セクション SP（Figma SPデザインに合わせた縦積み） */
  .recruitment-section {
    margin: 3rem 0;
  }

  .recruitment-title {
    margin-bottom: 1.5rem;
  }

  .recruitment-title .title-en {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .recruitment-title .title-ja {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .recruitment-table .table-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1.25rem 0;
  }

  .recruitment-table .table-label {
    width: 100%;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
  }

  .recruitment-table .table-value {
    font-size: 0.875rem;
    line-height: 1.8;
  }

  .recruitment-table .table-value p {
    margin-bottom: 0;
  }

  .recruitment-table .table-value p + p {
    margin-top: 0.5rem;
  }

  .recruitment-table .table-note {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-top: 0.75rem;
  }

  /* フッター */
  .footer-contact {
    padding: 2.5rem 2rem;
    text-align: center;
  }

  .footer-contact .contact-info {
    align-items: center;
  }

  .footer-contact .contact-form-btn {
    display: flex;
    justify-content: center;
  }

  .footer-contact-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .footer-contact-text {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }

  .contact-info {
    gap: 1.5rem;
  }

  .contact-tel {
    flex-direction: column;
    gap: 0rem;
  }

  .contact-tel .tel-icon {
    gap: 0.75rem;
  }

  .contact-tel .tel-icon img {
    width: 2rem;
    height: 2rem;
  }

  .contact-tel .tel-info {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .tel-number {
    font-size: 1.5rem;
  }

  .tel-hours {
    font-size: 0.625rem;
  }

  .contact-form-btn {
    padding-top: 1.5rem;
  }

  .btn-form {
    height: 3.5rem;
    font-size: 0.875rem;
    padding: 0 1rem 0 1.25rem;
  }

  .btn-form-arrow {
    margin-left: 0.75rem;
  }

  .btn-form-arrow-border {
    height: 1rem;
  }

  .btn-form-arrow img {
    width: 0.875rem;
    height: 0.3125rem;
    margin-left: 1rem;
    margin-top: 0.34375rem;
  }

  .footer-info {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
  }

  .footer-info-content {
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
  }

  .footer-company {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-logo {
    width: 5rem;
    height: 5rem;
  }

  .footer-company-details {
    gap: 0.5rem;
    text-align: center;
  }

  .footer-company-name {
    font-size: 0.875rem;
  }

  .company-address,
  .company-tel,
  .company-fax {
    font-size: 0.65rem;
  }

  .footer-nav-title {
    font-size: 0.75rem;
  }

  .footer-nav-links {
    gap: 0.75rem;
    font-size: 0.625rem;
  }

  .footer-nav-column > a {
    font-size: 0.75rem;
  }

  .footer-slogan-section {
    align-items: center;
    padding-left: 20px;
  }

  .footer-slogan {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer-copyright {
    font-size: 0.625rem;
    text-align: center;
  }

  /* Aboutページ */
  .about-content {
    padding: 2rem 0;
  }

  .content-wrapper {
    padding: 0 2rem;
  }

  .title-section {
    margin-bottom: 2rem;
  }

  .title-en {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .title-ja {
    font-size: 1.75rem;
  }

  .hero-image {
    width: 100vw;
    height: 100%;
    aspect-ratio: 1 / 1;
    max-width: none;
    max-height: none;
    margin: 2rem calc((100vw - 100%) / -2);
    overflow: hidden;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.25);
  }

  .philosophy-section {
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
  }

  .philosophy-item {
    gap: 1.5rem;
  }

  .philosophy-title .title-en {
    font-size: 0.875rem;
  }

  .philosophy-title .title-ja {
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .philosophy-text {
    font-size: 0.875rem;
    line-height: 1.8;
  }

  .message-section {
    margin: 3rem 0;
  }

  .section-divider {
    margin-bottom: 2rem;
  }

  .section-title {
    margin-bottom: 2rem;
    gap: 0.5rem;
  }

  .section-title .title-en {
    font-size: 0.875rem;
  }

  .section-title .title-ja {
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .message-item {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
  }

  .message-item:last-child {
    margin-bottom: 0;
  }

  .message-image {
    width: 100vw;
    height: 100vw;
    max-width: none;
    max-height: none;
    flex: none;
    margin-left: calc((100vw - 100%) / -2);
  }

  .message-content {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .message-title {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .message-text {
    font-size: 0.875rem;
    line-height: 1.8;
  }

  .message-name {
    gap: 1rem;
  }

  .message-name .position {
    font-size: 0.875rem;
  }

  .message-name .name {
    font-size: 1rem;
  }

  .overview-section {
    margin: 3rem 0;
  }

  .overview-table .table-row {
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 0.75rem;
  }

  .overview-table .table-label {
    width: 100%;
    font-size: 0.875rem;
  }

  .overview-table .table-value {
    font-size: 0.875rem;
    line-height: 1.8;
  }

  /* 沿革：SPは縦積み・日付の下に説明をインデント */
  .table-row-history {
    flex-direction: column;
    align-items: center;
  }

  /* .table-row-history .table-label {
    text-align: center;
    margin-bottom: 0.5rem;
  } */

  .table-row-history .table-value-history {
    width: 100%;
    text-align: left;
  }

  .table-row-history .history-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 2rem;
  }

  .table-row-history .history-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .table-row-history .history-year {
    margin-bottom: 0.5rem;
  }

  .table-row-history .history-year p {
    font-weight: 500;
  }

  .table-row-history .history-content p {
    line-height: 1.8;
  }

  /* プライバシーポリシー SP */
  .policy-page .main-content {
    padding: 2rem 0;
  }

  .policy-page .policy-content-wrapper {
    padding: 0 1.5rem;
  }

  .policy-page .title-section {
    margin-bottom: 2rem;
  }

  .policy-page .title-section .title-ja {
    font-size: 1.75rem;
  }

  .policy-page .intro-section {
    margin-bottom: 2.5rem;
    font-size: 0.875rem;
    line-height: 1.8;
  }

  .policy-page .intro-section p {
    margin-bottom: 0.75rem;
  }

  .policy-page .policy-list {
    gap: 0;
  }

  .policy-page .policy-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }

  .policy-page .policy-title {
    min-width: auto;
    font-size: 0.875rem;
    font-weight: 600;
  }

  .policy-page .policy-content {
    font-size: 0.875rem;
    line-height: 1.8;
    max-width: none;
  }

  .policy-page .policy-content p + p {
    margin-top: 0.5rem;
  }

  /* Serviceページ */
  .service-content {
    padding: 2rem 0;
  }

  .catch-copy {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .about-section {
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
    align-items: start;
  }

  .about-text {
    max-width: 100%;
    margin-left: 0;
    font-size: 0.875rem;
    line-height: 1.8;
  }

  .service-work-section {
    padding: 3rem 1rem;
  }

  .service-work-section .section-title {
    margin-left: 0;
    margin-bottom: 2rem;
  }

  .work-item {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
  }

  .work-item:last-child {
    margin-bottom: 0;
  }

  .work-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1120 / 640;
  }

  .work-content {
    flex-direction: column;
    gap: 1rem;
    margin-top: 20px;
    align-items: flex-start;
  }

  .work-title {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .work-text {
    font-size: 0.875rem;
    line-height: 1.8;
  }

  .works-section {
    margin: 3rem 0;
  }

  .works-tabs {
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }

  .tab-item {
    font-size: 0.875rem;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .work-card {
    gap: 1rem;
  }

  .work-card-image {
    height: 0;
    padding-bottom: 100%;
    position: relative;
  }

  .work-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .work-card-title {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .work-card-meta {
    font-size: 0.625rem;
  }
}
