@charset "UTF-8";
:root {
  --color-primary: #BA0000;
  --color-text: #333333;
  --color-text-muted: #6B7280;
  --color-border: #D9D9D9;
  --color-bg: #FFFFFF;
  --font-family: Noto Sans JP, Helvetica Neue, Arial, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  background: #FFFFFF;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

p:not([class*="-font-size"]) {
  font-size: 14px;
}
p {
  margin: 0;
  padding: 0;
  line-height: 1.7em;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

dl, dt, dd {
  margin: 0;
  padding: 0;
}

button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E7E7E7;
}
.header-inner {
  display: flex;
  align-items: center;
  /* 144px固定をやめて可変に */
  gap: clamp(24px, 6vw, 144px);
  max-width: 1024px;
  margin: 0 auto;
  /* ← これが重要：左右余白を作って溢れにくくする */
  padding: 17px 40px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  flex-shrink: 0;
}
.nav-link {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  padding: 0 18px;
  white-space: nowrap;
  border-right: 1px solid #E7E7E7;
}
.nav-link:first-of-type {
  padding-left: 32px;
}
.nav-link:last-of-type {
  border-right: none;
}
.nav-link:last-of-type:not(.nav-link--button) {
  padding-left: 32px;
}
.nav-link:hover {
  color: #BA0000;
}
.nav-link--current {
  color: #333333;
}
.nav-link--button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #BA0000;
  color: #FFFFFF !important;
  font-weight: 700;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}
.nav-link--button:hover {
  opacity: 0.7;
}

.header-line {
  display: none;
}

.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #BA0000;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-hamburger-bar {
  display: block;
  width: 17px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #FFFFFF;
  overflow-y: auto;
  flex-direction: column;
}
.nav-mobile.is-open {
  display: flex;
}

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-shrink: 0;
}

.nav-mobile-logo img {
  display: block;
}

.nav-mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-mobile-close svg {
  display: block;
}

.nav-mobile-nav {
  padding: 28px 20px 48px;
}

.nav-mobile-item {
  border-bottom: 1px solid #E7E7E7;
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
  text-align: left;
  text-decoration: none;
}
.nav-mobile-link:hover {
  color: #BA0000;
}

.nav-mobile-arrow {
  flex-shrink: 0;
}

.nav-mobile-toggle {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.nav-mobile-toggle .nav-mobile-toggle-dash {
  display: none;
}
.nav-mobile-toggle img,
.nav-mobile-toggle svg {
  display: block;
}

.nav-mobile-link--accordion[aria-expanded=true] .nav-mobile-toggle-arrow {
  display: none;
}
.nav-mobile-link--accordion[aria-expanded=true] .nav-mobile-toggle-dash {
  display: block;
}

.nav-mobile-sub {
  padding: 0 0 16px 12px;
}

.nav-mobile-sub-section {
  margin-bottom: 24px;
}
.nav-mobile-sub-section:last-child {
  margin-bottom: 0;
}

.nav-mobile-sub-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.14;
  color: #333333;
  margin: 0 0 9px;
}

.nav-mobile-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #BA0000;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-mobile-sub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 2.28;
  color: #333333;
}
.nav-mobile-sub-list li {
  position: relative;
  padding-left: 16px;
}
.nav-mobile-sub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: #BA0000;
}
.nav-mobile-sub-list a {
  color: inherit;
  text-decoration: none;
}
.nav-mobile-sub-list a:hover {
  color: #BA0000;
}

.nav-mobile-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 20px 40px;
  padding: 10px 18px;
  background: #BA0000;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 4px;
  text-decoration: none;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 10vw, 208px) 80px;
}

.breadcrumb {
  padding: 16px var(--breadcrumb-x, clamp(20px, 10vw, 208px)) 0;
}

.container .breadcrumb {
  --breadcrumb-x: 0px;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: #6B7280;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
}
.breadcrumb-list li + li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 1px solid #6B7280;
  border-right: 1px solid #6B7280;
  transform: rotate(45deg);
  margin: 0 8px;
  flex-shrink: 0;
}
.breadcrumb-list li:last-child {
  color: #333333;
}
.breadcrumb-list a {
  color: #BA0000;
  text-decoration: none;
}
.breadcrumb-list a:hover {
  text-decoration: underline;
}

@media (min-width: 769px) {
  .breadcrumb {
    --breadcrumb-x: 0px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .breadcrumb-list {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
  }
  .container .breadcrumb {
    margin-left: calc(-1 * clamp(20px, 10vw, 208px));
    margin-right: calc(-1 * clamp(20px, 10vw, 208px));
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
  }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .container .breadcrumb {
    margin-left: -40px;
    margin-right: -40px;
  }
}
@media (max-width: 1200px) {
  .breadcrumb {
    --breadcrumb-x: 0px;
  }
  .breadcrumb-list {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  .breadcrumb {
    --breadcrumb-x: 0px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 0;
  }
  .breadcrumb-list {
    padding-left: 20px;
    padding-right: 20px;
  }
  .container .breadcrumb-list {
    padding-left: 0;
    padding-right: 0;
  }
}
.footer {
  position: relative;
  background: #F7F7F7;
  box-sizing: border-box;
  padding: 49px clamp(20px, 10vw, 208px) 40px;
}
.footer-inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}
.footer-main {
  display: flex;
  gap: 24px;
  margin-bottom: 64px;
  align-items: flex-start;
}
.footer-company {
  flex-shrink: 0;
  width: 307px;
}
.footer-company-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  margin: 0 0 17px;
}
.footer-logo {
  margin-bottom: 28px;
}
.footer-address {
  font-size: 14px;
  line-height: 1.71;
  margin: 0 0 48px;
}
.footer-btns {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 17px;
}
.footer-btn--primary {
  background: #BA0000;
  color: #FFFFFF;
  transition: opacity 0.2s ease;
  max-width:270px;
}
.footer-btn--primary:hover {
  opacity: 0.7;
}
.footer-btn--corporate {
  background-color: #FFFFFF;
  color: #BA0000;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23BA0000'/%3E%3Cpath d='M16.4065 11.6842C16.5055 11.7841 16.561 11.9191 16.561 12.0597C16.561 12.2003 16.5055 12.3352 16.4065 12.4351L12.8649 15.9767C12.8162 16.0289 12.7576 16.0708 12.6924 16.0998C12.6273 16.1289 12.5569 16.1445 12.4856 16.1458C12.4142 16.147 12.3434 16.1339 12.2772 16.1072C12.2111 16.0804 12.151 16.0407 12.1006 15.9902C12.0501 15.9398 12.0103 15.8797 11.9836 15.8135C11.9569 15.7474 11.9438 15.6765 11.945 15.6052C11.9463 15.5339 11.9619 15.4635 11.9909 15.3984C12.02 15.3332 12.0618 15.2746 12.114 15.2259L14.749 12.5909L7.53113 12.5909C7.39023 12.5909 7.2551 12.5349 7.15547 12.4353C7.05585 12.3357 6.99988 12.2006 6.99988 12.0597C6.99988 11.9188 7.05585 11.7836 7.15547 11.684C7.2551 11.5844 7.39023 11.5284 7.53113 11.5284L14.749 11.5284L12.114 8.89342C12.0202 8.79271 11.9691 8.65951 11.9715 8.52188C11.974 8.38425 12.0297 8.25293 12.1271 8.1556C12.2244 8.05827 12.3557 8.00251 12.4933 8.00008C12.631 7.99765 12.7642 8.04874 12.8649 8.14258L16.4065 11.6842Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
  text-decoration: none;
  border:1px solid #eee;
  max-width:270px;
}
.footer-btn--corporate:hover {
  opacity: 0.7;
}
.footer-btn--secondary {
  background: #FFFFFF;
  color: #BA0000;
  font-family: "Jost", "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  gap: 10px;
  min-width: 247px;
  justify-content: flex-start;
  transition: background-color 0.2s ease;
}
.footer-btn--secondary:hover {
  background: #F5D3D5;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex: 1;
  min-width: 742px;
}
.footer-nav-group {
  flex-shrink: 0;
  padding-left: 18px;
  border-left: 1px solid #D9D9D9;
}
.footer-nav-group:first-of-type {
  width: 170px;
  flex: 0 0 170px;
  min-width: 170px;
}
.footer-nav-group:nth-of-type(2) {
  width: 220px;
  flex: 0 0 220px;
  min-width: 220px;
}
.footer-nav-group:nth-of-type(3) {
  width: 254px;
  flex: 0 0 254px;
  min-width: 254px;
}
.footer-nav-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #333333;
  margin: 0 0 18px;
}
.footer-nav-title-lower{
  margin:18px 0 18px;
}
.footer-nav-title a {
  color: inherit;
  text-decoration: none;
}
.footer-nav-title a:hover {
  color: #BA0000;
}
.footer-nav-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav-subsection {
  position: relative;
  padding-left: 18px;
}
.footer-nav-subsection::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  background: #BA0000;
  border-radius: 50%;
}
.footer-nav-subtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.14;
  color: #333333;
  margin: 0 0 9px;
}
.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 2;
  color: #333333;
}
.footer-nav-list li {
  padding-left: 12px;
  position: relative;
}
.footer-nav-list li::before {
  content: "-";
  position: absolute;
  left: 0;
}
.footer-nav-list a {
  color: inherit;
  text-decoration: none;
}
.footer-nav-list a:hover {
  color: #BA0000;
}
.footer-bottom {
  padding-top: 0;
}
.footer-bottom-line {
  height: 1px;
  background: #D9D9D9;
  margin-bottom: 18px;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 47px;
}
.footer-bottom-links a {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.14;
  color: #333333;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: #BA0000;
}
.footer-bottom .footer-copyright {
  font-size: 12px;
  line-height: 1.67;
  margin: 0;
  text-align: right;
}
.isms-area{
  background:#fff;
  text-align: center;
  padding:16px 0;
}
.isms-area img{
  max-width:200px;
}
.isms-tx{
  font-size:12px;
  text-align: left;
  padding:16px;
}
.isms-tx span{
  font-weight:bold;
  display:block;
  margin-top:8px;
}
.isms-tx a{
  display:block;
  padding:8px 0;
}

.pagetop {
  position: fixed;
  right: 208px;
  bottom: 20px;
  z-index: 100;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pagetop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.pagetop:hover, .pagetop:focus-visible {
  opacity: 0.7;
}
.pagetop svg {
  display: block;
}

.hp_mobileOnly,
.u-block-sp {
  display: none;
}

.hp_desktopOnly,
.u-block-pc {
  display: block;
}

.sp-br,
.u-br-sp {
  display: none;
}

.pc-br,
.u-br-pc {
  display: block;
}

.sp-only {
  display: none;
}

/* --- Gutenberg エディター自動幅制御 --- */
.entry-content {
  overflow-x: hidden;
  font-family: "Jost", "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 通常のブロック（全幅・広幅以外）は自動的に 1024px 内で中央寄せにする */
.entry-content > *:not(.alignfull):not(.alignwide) {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

/* 全幅 (alignfull) が指定されたブロックは画面幅いっぱいに広げる */
.entry-content > .alignfull {
  max-width: none;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* 幅広 (alignwide) が指定されたブロックは1200pxに広げる */
.entry-content > .alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Gutenbergの標準リストの見た目を復元（common.cssでのリセットを解除） */
.entry-content ul:not([class]),
.entry-content ul.wp-block-list:not([class*="is-style-"]) {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.entry-content ol:not([class]),
.entry-content ol.wp-block-list:not([class*="is-style-"]) {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.entry-content ul:not([class]) ul:not([class]),
.entry-content ul.wp-block-list:not([class*="is-style-"]) ul.wp-block-list:not([class*="is-style-"]) {
  list-style: circle;
}
.entry-content dl:not([class]) dd {
  margin-left: 1.5em;
}

@media (max-width: 1400px) {
  .header-inner {
    padding: 17px 40px;
    justify-content: space-around;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    padding: 17px 40px;
    gap: 32px;
    justify-content: space-around;
  }
  .nav-link {
    padding: 0 8px;
  }
  .nav-link:first-of-type {
    padding-left: 8px;
  }
  .nav-link--button {
    padding: 10px 12px;
  }
  .container {
    padding: 0 40px 80px;
  }
  .entry-content {
    padding-left: 40px;
    padding-right: 40px;
    overflow-x: hidden;
  }
  .entry-content .alignfull {
    margin-left: -40px;
    margin-right: -40px;
    width: calc(100% + 80px);
    max-width: none;
    left: auto;
    right: auto;
  }
  /* 全幅ブロック直下のグループブロック・カラムブロック等にタブレット用左右余白を追加 */
  .entry-content .alignfull > .wp-block-group,
  .entry-content .alignfull > .wp-block-columns,
  .entry-content .alignfull.wp-block-my-theme-flow-list {
    padding-left: 40px;
    padding-right: 40px;
  }
  .footer {
    padding: 49px 40px 40px;
  }
  .footer-main {
    flex-wrap: wrap;
  }
  .footer-company {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-company .footer-logo {
    order: -2;
    margin-bottom: 12px;
    width: 168px;
    height: auto;
  }
  .footer-company .footer-company-name {
    order: -1;
    margin-bottom: 18px;
    font-size: 13px;
  }
  .footer-address {
    text-align: left;
    margin-bottom: 32px;
  }
  .footer-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .footer-btns .footer-btn {
    margin: 0;
  }
  .footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 18px;
    width: auto;
    min-width: 0;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.71;
    margin-bottom: 18px;
  }
  .footer-btn--secondary {
    width: 224px;
    gap: 10px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 0;
  }
  .page-hero {
    margin: 0 calc(40px * -1);
  }
  .page-hero-content {
    left: 40px;
  }
  .pagetop {
    right: 40px;
  }
  .footer-links {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
  }
  .footer-nav-group {
    min-width: 0 !important;
    width: auto !important;
    flex: 1 1 auto !important;
  }
  .top-news-inner,
  .top-service-inner,
  .top-solution-inner,
  .top-dx-content,
  .top-about-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .top-sanpo-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  .top-sanpo-content {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .top-sanpo-col {
    width: 100%;
    padding-top: 32px;
  }
  .top-sanpo-col--left {
    margin-right: 0;
  }
  .top-sanpo-col--right {
    margin-left: 0;
  }
  .top-sanpo-label {
    width: 100%;
  }
  .top-solution-blocks {
    flex-wrap: wrap;
    justify-content: center;
  }
  .top-about-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .top-recruit-inner {
    max-width: calc(100% - 80px);
    margin: 0 auto;
  }
  .top-recruit-body {
    padding-left: 40px;
  }
}
@media (max-width: 768px) {
  /* グループブロックの「最小の高さ」指定をスマホでは解除する */
  .wp-block-group[style*="min-height"] {
    min-height: auto !important;
  }
  .hp_mobileOnly,
  .u-block-sp {
    display: block;
  }
  .hp_desktopOnly,
  .u-block-pc {
    display: none;
  }
  .sp-br,
  .u-br-sp {
    display: block;
  }
  .pc-br,
  .u-br-pc {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .header-inner {
    justify-content: space-between;
    padding: 10px 20px;
  }
  .header .logo img {
    width: 160px;
    height: auto;
  }
  .header .nav {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .container {
    padding: 0 20px 80px;
  }
  .entry-content {
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: hidden;
  }
  .entry-content h2:not([class*="-font-size"]) {
    font-size: 22px;
  }
  .entry-content .alignfull {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    max-width: none;
    left: auto;
    right: auto;
  }
  
  /* 全幅ブロック直下のグループブロック・カラムブロック等にスマホ用左右余白を追加 */
  .entry-content .alignfull > .wp-block-group,
  .entry-content .alignfull > .wp-block-columns,
  .entry-content .alignfull.wp-block-my-theme-flow-list {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer {
    padding: 32px 20px 32px;
  }
  .footer-main {
    flex-direction: column;
    gap: 0;
    margin-bottom: 51px;
  }
  .footer-company {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-company .footer-logo {
    order: -2;
    margin-bottom: 12px;
    width: 168px;
    height: auto;
  }
  .footer-company .footer-company-name {
    order: -1;
    margin-bottom: 18px;
    font-size: 13px;
  }
  .footer-address {
    margin-bottom: 32px;
    text-align: left;
  }
  .footer-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 18px;
    width: auto;
    height: auto;
    min-width: 0;
    white-space: nowrap;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.71;
  }
  .footer-btn img {
    flex-shrink: 0;
    width: 27px;
    height: 27px;
  }
  .footer-btn--secondary {
    width: 224px;
    justify-content: flex-start;
    gap: 10px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
  }
  .footer-btns .footer-btn {
    margin-bottom: 18px;
  }
  .footer-btns .footer-btn--secondary {
    margin-bottom: 0;
  }
  .footer-links {
    flex-direction: column;
    gap: 32px;
    min-width: 0;
  }
  .footer-nav-group {
    width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    padding-left: 18px !important;
    border-left: 1px solid #D9D9D9 !important;
    border-top: none;
    padding-top: 0;
    margin-bottom: 0;
  }
  .footer-nav-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .footer-nav-subsection:first-child {
    flex: 1 1 0;
    min-width: 0;
  }
  .footer-nav-subsection:last-child {
    flex: 0 0 auto;
    min-width: 80px;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-bottom-links {
    gap: 28px;
  }
  .footer-copyright {
    text-align: left !important;
  }
  .pagetop {
    right: 20px;
    bottom: 20px;
  }
  .page-hero {
    height: 160px;
    margin: 0 calc(20px * -1);
    margin-bottom: 40px;
  }
  .page-hero-content {
    left: 20px;
    bottom: 40px;
  }
  .page-hero-title {
    font-size: 28px;
  }
  .contact-form .form-submit {
    gap: 24px;
    width: 100%;
  }
  .footer {
    padding-bottom: 40px;
  }
  .footer-nav-list li {
    margin-bottom: 10px;
  }
}

