@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 90%;
  margin: 0 auto;
  pointer-events: none;
}
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
  min-width: 0;
  padding: 8px 12px 8px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: #0166ba;
  border-color: #0166ba;
  color: #fff;
}
.header-cta:hover, .header-cta.is-active {
  background: #014f94;
  border-color: #014f94;
  color: #fff;
}
.header-cta {
  align-self: stretch;
  flex-shrink: 0;
  padding: 0 20px;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  font-size: 13px;
  white-space: nowrap;
  pointer-events: auto;
}

.logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  flex-shrink: 0;
  color: #222;
  padding: 6px 4px;
  transition: color 0.2s;
}
.logo:hover {
  color: #0166ba;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}
.nav-link {
  color: #222;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover {
  color: #0166ba;
}
.nav-link.is-active {
  color: #0166ba;
}
.nav-link-sp {
  display: none;
}

.menu-btn {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #0166ba;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  flex-shrink: 0;
}
.menu-btn-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: background 0.3s;
}
.menu-btn-bars::before, .menu-btn-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: 0.3s 0.3s, transform 0.3s;
}
.menu-btn-bars::before {
  top: -6px;
}
.menu-btn-bars::after {
  top: 6px;
}

body.is-nav-open .menu-btn-bars {
  background: rgba(255, 255, 255, 0);
}
body.is-nav-open .menu-btn-bars::before {
  top: 0;
  transform: rotate(-45deg);
  transition: 0.3s, transform 0.3s 0.3s;
}
body.is-nav-open .menu-btn-bars::after {
  top: 0;
  transform: rotate(45deg);
  transition: 0.3s, transform 0.3s 0.3s;
}

@media (max-width: 900px) {
  .header-inner {
    width: calc(100% - 24px);
  }
  .header-bar {
    padding: 8px 10px 8px 16px;
    backdrop-filter: none;
  }
  .logo {
    position: relative;
    z-index: 2;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 100%;
    height: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: 96px 28px 40px;
    border-radius: 0;
    background: #f5f7f9;
    border: none;
    box-shadow: none;
    opacity: 0;
    overflow: auto;
    z-index: 1;
    transition: right 0.3s, opacity 0.3s;
    pointer-events: none;
  }
  .nav-link {
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 16px;
  }
  .nav-link-sp {
    display: block;
  }
  body.is-nav-open .nav {
    right: 0;
    opacity: 1;
    pointer-events: auto;
  }
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
}
/* トップ：固定ヘッダーをMV上に */
.page-home {
  padding-top: 0;
}
.page-home main {
  padding: 0;
}

/* フッター */
.footer {
  position: relative;
  margin-top: auto;
  padding: 48px 24px 32px;
  color: #222;
  isolation: isolate;
}
.footer-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/footer.jpg") center/cover no-repeat;
}
.footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.85) 28%, rgba(255, 255, 255, 0.35) 62%, rgba(255, 255, 255, 0.08) 100%);
}
.footer-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.footer-inner {
  max-width: none;
  margin: 0;
  padding: 0 28px;
}
.footer-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(3px);
  padding: 48px 0 40px;
}
.footer-contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.footer-catch {
  margin: 0;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-align: center;
}
.footer-phone {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
}
.footer-phone-body {
  min-width: 0;
  text-align: center;
}
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.footer-form-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer-contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: #0166ba;
}
.footer-contact-icon svg {
  width: 100%;
  height: 100%;
}
.footer-contact-text {
  min-width: 0;
}
.footer-contact-label {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.footer-contact-en {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #666;
}
.footer-contact-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}
.footer-contact-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #222;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-tel:hover {
  color: #0166ba;
}
.footer-contact-tel-icon {
  width: 0.85em;
  height: 0.85em;
  flex-shrink: 0;
  color: #0166ba;
}
.footer-contact-hours {
  margin-top: 12px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: #0166ba;
  border-color: #0166ba;
  color: #fff;
}
.footer-contact-btn:hover, .footer-contact-btn.is-active {
  background: #014f94;
  border-color: #014f94;
  color: #fff;
}
.footer-contact-btn {
  width: 100%;
  margin-top: auto;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.footer-company-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0166ba;
}
.footer-company-tagline {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #666;
  text-transform: uppercase;
}
.footer-company-address {
  margin-top: 18px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}
.footer-map {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid #0166ba;
  border-radius: 4px;
  color: #0166ba;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  vertical-align: middle;
  transition: background 0.2s, color 0.2s;
}
.footer-map:hover {
  background: #0166ba;
  color: #fff;
}
.footer-menu-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.footer-menu-list a {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  position: relative;
  color: #222;
  text-decoration: none;
}
.footer-menu-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0166ba;
}
.footer-menu-list a:hover .footer-menu-ja {
  color: #0166ba;
}
.footer-menu-ja {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-menu-en {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #666;
}
.footer-bottom {
  padding: 20px 12px 4px;
  background: transparent;
}
.footer-copy {
  font-size: 11px;
  text-align: center;
  color: #222;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .footer {
    padding: 36px 16px 24px;
  }
  .footer-inner {
    padding: 0 20px;
  }
  .footer-contacts {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 720px) {
  .footer {
    padding: 28px 12px 20px;
  }
  .footer-panel {
    border-radius: 10px;
    padding: 36px 0 28px;
  }
  .footer-inner {
    padding: 0 16px;
  }
  .footer-contacts {
    grid-template-columns: 1fr;
  }
  .footer-phone {
    gap: 14px;
  }
  .footer-form {
    padding: 22px 18px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 28px;
    padding-top: 28px;
  }
  .footer-menu-list {
    gap: 12px 20px;
  }
}
/* ページ見出し */
.page_title {
  background: #dce7f0;
  color: #222;
  padding: 156px 0 44px;
  margin-bottom: 100px;
}
.page_title h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}
.page_title h1::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: #fbb03b;
  margin: 16px auto 0;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-wide {
  max-width: 1000px;
}

/* 下層ページ共通：main で幅を揃える */
main[class^=page_] {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 64px;
  box-sizing: border-box;
}

/* お問い合わせ・見積もりフォーム */
.form-section,
.form-quote {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-progress {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
}
.form-progress-track {
  width: 100%;
  height: 4px;
  background: #e8e8e8;
  border-radius: 999px;
  overflow: hidden;
}
.form-progress-bar {
  display: block;
  width: 10%;
  height: 100%;
  background: #fbb03b;
  transition: width 0.35s ease;
}
.form-progress-text {
  color: #666;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: right;
}

.form-step {
  display: none;
  width: 100%;
  padding: 28px 0 32px;
  background: #fff;
  box-sizing: border-box;
}
.form-step.is-active {
  display: block;
}
.form-step-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.form-step-note {
  margin-top: 8px;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.form-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 20px;
  box-sizing: border-box;
}
.form-options-list .form-option span {
  justify-content: center;
  min-height: 64px;
  padding: 14px 16px;
  text-align: center;
}
.form-options .form-option span::before {
  display: none;
}

.form-option {
  display: block;
  cursor: pointer;
}
.form-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.form-option input:checked + span {
  border-color: #0166ba;
  background: #e8f3fb;
  box-shadow: inset 0 0 0 1px #0166ba;
}
.form-option input:checked + span::before {
  border-color: #0166ba;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 8px #0166ba;
}
.form-option input:focus-visible + span {
  outline: 2px solid #0166ba;
  outline-offset: 2px;
}
.form-option span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-option span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-option:hover span {
  border-color: #0166ba;
  background: #e8f3fb;
}

.form-fields {
  display: grid;
  gap: 16px;
  width: 100%;
  margin-top: 20px;
  box-sizing: border-box;
}
.form-fields-2col {
  grid-template-columns: 1fr 1fr;
}

.form-field {
  display: grid;
  gap: 8px;
}
.form-field-full {
  grid-column: 1/-1;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  font-size: 15px;
  line-height: 1.5;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #0166ba;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(1, 102, 186, 0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aaa;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
}

.form-req {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: middle;
}
.form-req-either {
  background: #fbb03b;
  color: #222;
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  box-sizing: border-box;
}

.form-back,
.form-next,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  padding: 16px 24px;
  font-size: 16px;
}
.form-back[hidden],
.form-next[hidden],
.form-submit[hidden] {
  display: none !important;
}

.form-back,
.form-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: transparent;
  border-color: #0166ba;
  color: #0166ba;
}
.form-back:hover,
.form-next:hover {
  background: #0166ba;
  border-color: #0166ba;
  color: #fff;
}
.form-back,
.form-next {
  flex: 0 0 auto;
  min-width: 140px;
  width: 140px;
  gap: 6px;
}
.form-back:hover, .form-back:focus, .form-back:focus-visible, .form-back:active,
.form-next:hover,
.form-next:focus,
.form-next:focus-visible,
.form-next:active {
  background: transparent;
  border-color: #0166ba;
  color: #0166ba;
}

.form-nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-back {
  order: 1;
}

.form-next {
  order: 2;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: #0166ba;
  border-color: #0166ba;
  color: #fff;
}
.form-submit:hover, .form-submit.is-active {
  background: #014f94;
  border-color: #014f94;
  color: #fff;
}
.form-submit {
  order: 3;
  flex: 1;
  min-width: 180px;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #f5c6c6;
  border-radius: 10px;
  color: #c0392b;
  font-size: 14px;
  text-align: center;
  line-height: 1.7;
}

.form-privacy {
  margin-top: 24px;
  text-align: center;
}
.form-privacy a {
  color: #666;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-privacy a:hover {
  color: #222;
}

@media (max-width: 640px) {
  .form-step {
    padding: 20px 0 24px;
  }
  .form-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-fields-2col {
    grid-template-columns: 1fr;
  }
}
.company-about {
  margin: 0 0 60px;
  padding: 40px clamp(20px, 5vw, 100px);
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}
.company-about-title {
  margin: 0 0 20px;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-align: center;
  color: #0166ba;
}
.company-about-body p {
  margin: 0 0 1.1em;
  font-size: 18px;
  line-height: 2;
  color: #222;
  font-weight: 500;
}
.company-about-body p:last-child {
  margin-bottom: 0;
}

.page_company .content,
.page_recruit .content,
.page_privacy .content {
  color: #444;
  font-size: 15px;
  line-height: 1.9;
}
.page_company .content h2 + p:has(code),
.page_recruit .content h2 + p:has(code),
.page_privacy .content h2 + p:has(code) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.4;
  white-space: normal;
}
.page_company .content h2 + p:has(code) code,
.page_recruit .content h2 + p:has(code) code,
.page_privacy .content h2 + p:has(code) code {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #d7ddd9;
  border-left: 3px solid #0166ba;
  background: #f7f9f8;
  color: #1a1a1a;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.page_company .content h2 + p:has(code) + p,
.page_recruit .content h2 + p:has(code) + p,
.page_privacy .content h2 + p:has(code) + p {
  margin-top: 0;
  margin-bottom: 4px;
  color: #777;
  font-size: 13px;
  white-space: normal;
}

.page_contact {
  max-width: 1000px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.sitemap-list {
  list-style: none;
}
.sitemap-list li + li {
  border-top: 1px solid #e5e5e5;
}
.sitemap-list a {
  display: block;
  padding: 18px 4px;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.sitemap-list a:hover {
  color: #0166ba;
}

.notfound-lead {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
}

.notfound-text {
  margin-top: 12px;
  color: #666;
  font-size: 14px;
  text-align: center;
}

.notfound-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.notfound-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: #0166ba;
  border-color: #0166ba;
  color: #fff;
}
.notfound-btn:hover, .notfound-btn.is-active {
  background: #014f94;
  border-color: #014f94;
  color: #fff;
}
.notfound-btn {
  min-width: 200px;
}

.notfound-link {
  color: #0166ba;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.notfound-link:hover {
  text-decoration: underline;
}

/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
  color: #222;
  min-height: min(70vh, 600px);
  display: flex;
  align-items: flex-end;
  padding: 120px 20px 40px;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("/assets/mv.jpg") center/cover no-repeat;
  transform: scale(1.02);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0.85) 28%, rgba(255, 255, 255, 0.35) 62%, rgba(255, 255, 255, 0.08) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 32px;
  align-items: end;
  width: 90%;
  margin: 0 auto;
}
.hero-copy {
  padding-bottom: 12px;
  max-width: 34em;
}
.hero-brand {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: #0166ba;
}
.hero-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.hero-lead {
  margin: 0;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.9;
  color: #666;
}
.hero-quote {
  display: flex;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(3px);
  color: #222;
}
.hero-quote-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  color: #0166ba;
}
.hero-quote-tab span {
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
}
.hero-quote-body {
  flex: 1;
  padding: 22px 22px 20px;
  text-align: center;
}
.hero-quote-label {
  margin: 0 0 6px;
  color: #0166ba;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hero-quote-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.hero-quote-text {
  margin: 0 0 18px;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}
.hero-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: #0166ba;
  border-color: #0166ba;
  color: #fff;
}
.hero-quote-btn:hover, .hero-quote-btn.is-active {
  background: #014f94;
  border-color: #014f94;
  color: #fff;
}
.hero-quote-btn {
  width: 100%;
}
.hero-quote-tel {
  display: block;
  margin-top: 12px;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.hero-quote-tel:hover {
  color: #0166ba;
}

/* セクション */
.section {
  padding: 56px 0;
}
.section-alt {
  background: #f5f7f9;
}
.section .inner,
.section .wrap-wide {
  padding-top: 0;
  padding-bottom: 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.section-more {
  color: #0166ba;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.section-more:hover {
  text-decoration: underline;
}

/* About（トップの紹介ブロックのみ。会社ページの span.about には当てない） */
.about:where(div) {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: 48px 64px;
  align-items: start;
}

.about-head {
  position: relative;
}
.about-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: #1a2a3a;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.about-body p {
  margin: 0 0 1.2em;
  font-size: 16px;
  line-height: 2;
  color: #000;
  font-weight: 500;
}
.about-body p:last-of-type {
  margin-bottom: 0;
}
.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: #0166ba;
  border-color: #0166ba;
  color: #fff;
}
.about-btn:hover, .about-btn.is-active {
  background: #014f94;
  border-color: #014f94;
  color: #fff;
}

/* Works / Blog home */
.works-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  list-style: none;
}
.works-home a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}
.works-home a:hover .works-home-body h3 {
  color: #0166ba;
}
.works-home-body h3 {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #222;
  transition: color 0.2s;
}

.blog-home h3 {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.blog-home a:hover .blog-thumb-image {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero {
    min-height: min(70vh, 560px);
    padding: 100px 16px 24px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-quote {
    display: none;
  }
  .hero-copy {
    order: 1;
    padding-bottom: 0;
  }
  .about:where(div) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-title br {
    display: none;
  }
  .section {
    padding: 40px 0;
  }
  .blog-home {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .works-home {
    grid-template-columns: 1fr;
  }
}
.page {
  padding-top: 40px;
}

.page_blog.page,
.page_works.page {
  padding-top: 140px;
}

.page_blog.page {
  max-width: 1100px;
}

.page_works.page {
  width: 100%;
  overflow-x: hidden;
}

/* メッセージ */
.message {
  color: #666;
  text-align: center;
}
.message.error {
  color: #c00;
}
.message.empty {
  padding: 40px 0;
  color: #666;
}

/* 一覧 */
.list {
  list-style: none;
}
.list a {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  color: inherit;
}
.list a:hover h2 {
  color: #666;
}
.list h2 {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.75em;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}
.list-meta .place,
.list-meta time {
  color: inherit;
  font-size: inherit;
}
.list-meta time {
  display: inline;
  white-space: nowrap;
}

.page_works .list h2 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.5;
}

/* ブログ一覧 */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.blog-list a {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: none;
}
.blog-list a:hover h2 {
  color: #666;
}
.blog-list a:hover .blog-thumb-image {
  transform: scale(1.05);
}
.blog-list-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.blog-list time,
.blog-list h2 {
  padding: 0;
}
.blog-list time {
  margin-top: 12px;
  font-size: 12px;
}
.blog-list h2 {
  margin-top: 6px;
  font-size: 14px;
}

.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #fafafa;
  flex-shrink: 0;
}
.blog-thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  margin: 48px 0 16px;
  font-size: 14px;
}
.pagination a,
.pagination span {
  color: #333;
  text-decoration: none;
}
.pagination a:hover {
  color: #666;
  text-decoration: underline;
}
.pagination .is-current {
  font-weight: 700;
}
.pagination .is-disabled {
  color: #bbb;
}

@media (max-width: 900px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .blog-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .blog-list a {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
  }
  .blog-list .blog-thumb {
    flex: 0 0 20%;
    width: 20%;
    aspect-ratio: 1/1;
    border-radius: 10px;
  }
  .blog-list-body {
    flex: 1 1 auto;
    justify-content: center;
  }
  .blog-list time {
    margin-top: 0;
  }
  .blog-list h2 {
    margin-top: 4px;
    font-size: 15px;
  }
}
/* 記事・詳細 */
.article {
  padding: 0;
}
.article h1 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.page_blog .article .date {
  margin-top: 0;
  margin-bottom: 12px;
}
.page_blog .article h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.page_works .article {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.page_works .article .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.75em;
  margin: 0 0 12px;
  color: #666;
  font-size: 13px;
}
.page_works .article .date,
.page_works .article .place {
  margin: 0;
  display: inline;
  color: inherit;
  font-size: inherit;
}
.page_works .article h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.date,
.place {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 13px;
}

.page .content {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

.page_blog .content {
  font-size: 16px;
}
.page_blog .content p,
.page_blog .content ul,
.page_blog .content ol,
.page_blog .content li,
.page_blog .content td {
  font-size: 16px;
}

/* 本文（microCMS リッチエディタ） */
.content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  color: #222;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.content h2:first-child {
  margin-top: 0;
}
.content h2 + table {
  margin-top: 0;
}
.content h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.content h3:first-child {
  margin-top: 0;
}
.content p {
  margin-bottom: 1em;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
  color: #222;
}
.content p:last-child {
  margin-bottom: 0;
}
.content ul,
.content ol {
  margin: 16px 0;
  padding-left: 1.4em;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}
.content ul {
  list-style-type: disc;
}
.content ol {
  list-style-type: decimal;
}
.content li {
  margin-bottom: 6px;
}
.content li:last-child {
  margin-bottom: 0;
}
.content li > ul,
.content li > ol {
  margin-top: 6px;
  margin-bottom: 0;
}
.content a {
  color: #0166ba;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content a:hover {
  color: #014f94;
}
.content table {
  width: 100% !important;
  max-width: 100%;
  margin: 0 0 8px;
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  table-layout: fixed;
  background: #fff;
}
.content figure:has(table) {
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
}
.content figure table {
  margin: 0;
}
.content th,
.content td {
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.content th {
  width: 28%;
  background: #f5f7f9;
  color: #222;
  font-weight: 500;
}
.content thead th {
  width: auto;
  color: #222;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.content td {
  width: auto;
  color: #333;
}
.content td ul {
  margin: 0;
  padding-left: 1.2em;
}
.content td li {
  margin-bottom: 4px;
}
.content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}
.content strong {
  font-weight: 600;
}
.content blockquote {
  margin: 24px 0;
  padding-left: 16px;
  border-left: 2px solid #e5e5e5;
  color: #666;
}
.content blockquote p {
  margin-bottom: 0;
}
.content hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid #e5e5e5;
}

@media (max-width: 640px) {
  .page_company .content h2 + p:has(code) code,
  .page_recruit .content h2 + p:has(code) code,
  .page_privacy .content h2 + p:has(code) code {
    font-size: 12px;
    padding: 6px 10px;
  }
}
/* スライダー */
.photos {
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.photo-slider-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.photo-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #fafafa;
  box-sizing: border-box;
}
.photo-slider .swiper-wrapper,
.photo-slider .swiper-slide {
  height: 100%;
}
.photo-slider .swiper-slide {
  box-sizing: border-box;
  overflow: hidden;
  background: #fafafa;
}
.photo-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.photo-slider .swiper-button-prev,
.photo-slider .swiper-button-next {
  color: #222;
}

.photo-thumbs {
  margin-top: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.photo-thumbs .swiper-slide {
  width: 72px;
  height: 54px;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0.4;
  cursor: pointer;
  background: #fafafa;
}
.photo-thumbs .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}
.photo-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  outline: 1px solid #222;
}
