/* ================================================================
   CSS Variables (from styleguide.css)
   ================================================================ */
/* すべての要素に一括で適用したい場合（デバッグ用途） */

:root {
  --text-font-family: "Noto Serif JP", Helvetica;
  --text-font-weight: 500;
  --text-font-size: 65px;
  --text-letter-spacing: 6.5px;
  --text-line-height: normal;
  --text-font-style: normal;
}


.p-home-mobile.div {
  flex-direction: column;

  width: 100%;
  max-width: 1512px;
  min-width: 0;

  min-height: 100vh;
  height: auto;
  margin: 0 auto;

  align-items: center;
  position: relative;
  background-color: #f3f6fa;
  padding-top: 64px;
}

body {
  overflow-x: hidden;
}

.p-home-mobile .logo-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 64px;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  flex: 0 0 auto;
  background-color: #ffffff;
}

.p-home-mobile.div .logo-frame {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 16px;
  padding-right: 16px;
}

.p-home-mobile .logo {
  position: relative;
  max-width: 450px;
  width: 104px;
  height: 24px;
  background-image: url(../img/logo.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-home-mobile .menu {
  position: relative;
  width: 52px;
  height: 52px;
  background-color: #d9d9d9;
  transform: rotate(180deg);
}
.p-home-mobile .text-wrapper {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 41px;
  letter-spacing: 4.10px;
  line-height: normal;
}

.p-home-mobile .element {
  position: relative;
  align-self: stretch;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 22px;
  letter-spacing: 2.20px;
  line-height: 35px;
}

.p-home-mobile .contact-btn {
  display: flex;
  width: 350px;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  position: relative;
  flex: 0 0 auto;
  margin-left: -17.00px;
  margin-right: -17.00px;
  background-color: #647b84;
}

.p-home-mobile .text-wrapper-2 {
  flex: 1;
  margin-top: -1.00px;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1.80px;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
}

.p-home-mobile .polygon {
  position: relative;
  width: 13.5px;
  height: 15.59px;
}

.p-home-mobile .div-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-home-mobile .title-partner {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: flex-end;
  padding: 25px 0px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .text-wrapper-3 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 23px;
  text-align: center;
  letter-spacing: 2.30px;
  line-height: normal;
}

.p-home-mobile .partner-logo {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  min-height: 330px;
  max-height: 600px;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 5px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
  list-style: none;
  margin: 0;
}

.p-home-mobile .logo-2 {
  position: relative;
  width: 151.67px;
  height: 55px;
  margin-top: -90.00px;
}

.p-home-mobile .logo-3 {
  position: relative;
  width: 151.67px;
  height: 55px;
  margin-top: -25.00px;
}

.p-home-mobile .logo-4 {
  position: relative;
  width: 151.67px;
  height: 55px;
  background-color: transparent;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.p-home-mobile.div .partner-logo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px 5px;
  padding: 12px 10px 16px;
  width: 100%;
  max-width: none;
  min-height: auto;
  max-height: none;
  box-sizing: border-box;
  background-color: #f3f6fa;
  justify-content: center;
  justify-items: center;
  align-items: center;
}

.p-home-mobile.div .partner-logo .logo-2,
.p-home-mobile.div .partner-logo .logo-3,
.p-home-mobile.div .partner-logo .logo-4 {
  width: 100%;
  max-width: 140px;
  height: 48px;
  margin: 0;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.p-home-mobile .div-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: flex-end;
  padding: 55px 10px 0px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .div-wrapper.strengths-title {
  align-items: flex-start;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.p-home-mobile .div-wrapper.strengths-title .text-wrapper-3 {
  text-align: left;
  width: 100%;
}

@media (min-width: 1220px) {
  .site-header--desktop + .p-cases-desktop {
    margin-top: 72px;
  }
}

.p-home-mobile .text-wrapper-4 {
  position: relative;
  display: block;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 23px;
  text-align: left;
  letter-spacing: 2.30px;
  line-height: normal;
}

.p-home-mobile .text-wrapper-5 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 23px;
  text-align: left;
  letter-spacing: 2.30px;
  line-height: normal;
}

.p-home-mobile .strengths li {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .p-home-mobile .strengths {
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .p-home-mobile .div-wrapper.strengths-title {
    padding-left: 20px;
    padding-right: 20px;
  }

  .p-home-mobile section[aria-labelledby="concerns-title-desktop"] {
    padding-left: 20px;
    padding-right: 20px;
  }

  .p-home-mobile .strengths li {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

.p-home-mobile .strengths li::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #231815;
  border-radius: 2px;
  color: #e60000;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
  align-self: baseline;
}

.p-home-mobile .text-wrapper-6 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 23px;
  text-align: center;
  letter-spacing: 2.30px;
  line-height: normal;
}

@media (max-width: 767px) {
  .p-home-mobile .text-wrapper-6 {
    font-size: 18px;
    letter-spacing: 1.2px;
    line-height: 1.5;
  }
}

.p-home-mobile .strengths-solution {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-end;
  justify-content: center;
  gap: 40px 40px;
  padding: 50px 0px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .text-wrapper-7 {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 30px;
  text-align: center;
  letter-spacing: 3.00px;
  line-height: 44px;
}

.p-home-mobile .card-frame {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  justify-items: stretch;
  max-width: 1000px;
  gap: 16px;
  padding: 0 6px 74px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .card-phase-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  align-items: stretch;
  position: relative;
  background-color: #ffffff;
}

.p-home-mobile .image-phase {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 222px;
  background-color: #d9d9d9;
  background-image: var(--phase-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.p-home-mobile .image-phase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-home-mobile .card {
  display: flex;
  flex-direction: column;
  height: 322px;
  align-items: flex-start;
  padding: 12px 16px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #ffffff;
  border: 4px solid;
  border-color: #d9d9d9;
}

.p-home-mobile .text-wrapper-8 {
  position: relative;
  align-self: stretch;
  margin-top: -4.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #859ea5;
  font-size: 15px;
  letter-spacing: 1.50px;
  line-height: 44px;
}

.p-home-mobile .text-wrapper-9 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #647b84;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 44px;
}

.p-home-mobile .text-wrapper-10 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  letter-spacing: 1.40px;
  line-height: 24px;
}

.p-home-mobile .text-wrapper-11 {
  position: relative;
  flex: 1;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  letter-spacing: 1.40px;
  line-height: 24px;
}

.p-home-mobile .card-phase-container-2 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
  background-color: #ffffff;
}

.p-home-mobile .text-wrapper-12 {
  position: relative;
  width: 190px;
  height: 203px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  letter-spacing: 1.40px;
  line-height: 24px;
}

.p-home-mobile .card-phase-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #ffffff;
  padding: 24px 14px 32px;
}

.p-home-mobile .card-phase {
  display: flex;
  flex-wrap: wrap;
  max-width: 950px;
  align-items: flex-start;
  gap: 8px 8px;
  padding: 18px 14px 20px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #ffffff;
  box-sizing: border-box;
}

.p-home-mobile .phase-right {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6px 10px 8px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-home-mobile .text-wrapper-13 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #859ea5;
  font-size: 15px;
  letter-spacing: 1.50px;
  line-height: 15px;
  white-space: nowrap;
}

.p-home-mobile .text-wrapper-14 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #647b84;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 20px;
  white-space: nowrap;
}

.p-home-mobile .text-wrapper-15 {
  position: relative;
  align-self: stretch;
  height: 175.23px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  letter-spacing: 1.40px;
  line-height: 24px;
}

.p-home-mobile .title-strengths {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-start;
  justify-content: center;
  gap: 0px 0px;
  padding: 25px 0px 150px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .frame-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 2px 10px 0px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-home-mobile .text-wrapper-16 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1.80px;
  line-height: normal;
}

.p-home-mobile .title-co-case {
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 10px 10px;
  padding: 20px 10px 10px;
  display: flex;
  max-width: 1000px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .text-wrapper-17 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #647b84;
  font-size: 34px;
  text-align: center;
  letter-spacing: 3.40px;
  line-height: normal;
}

.p-home-mobile .text-wrapper-18 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 24px;
  text-align: center;
  letter-spacing: 2.40px;
  line-height: normal;
}

@media (max-width: 767px) {
  .p-home-mobile .text-wrapper-18 {
    font-size: 18px;
    letter-spacing: 1.2px;
    line-height: 1.5;
  }
}

.p-home-mobile .title-co-case-2 {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  display: flex;
  max-width: 1000px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
  margin-top: 32px;
  margin-bottom: 10px;
}

.p-home-mobile .card-frame-2 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-start;
  justify-content: center;
  gap: 78px 28px;
  padding: 20px 37px 36px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .case-container {
  display: flex;
  flex-direction: column;
  width: 286px;
  height: 532px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  position: relative;
  background-color: #e7eaee;
}

.p-home-mobile .group {
  position: relative;
  width: 246px;
  height: 410px;
  margin-right: -4.00px;
}

.p-home-mobile .category {
  display: inline-flex;
  height: 29px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 10px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffffff;
}

.p-home-mobile .text-wrapper-19 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  letter-spacing: 1.40px;
  line-height: normal;
}

.p-home-mobile .text-wrapper-20 {
  position: absolute;
  top: 254px;
  left: 0;
  width: 242px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 15px;
  letter-spacing: 1.50px;
  line-height: 26px;
}

.p-home-mobile .text-wrapper-21 {
  position: absolute;
  top: 56px;
  left: 0;
  width: 242px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #647b84;
  font-size: 27px;
  letter-spacing: 2.70px;
  line-height: 39px;
}

.case-container .text-wrapper-21 {
  font-size: 24px;
  letter-spacing: 2.20px;
}

.p-home-mobile .case-location {
  display: block;
  font-size: 18px;
  letter-spacing: 0.4px;
  line-height: 1.5;
  margin-top: 4px;
}

.p-home-mobile .tag-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px 4px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-home-mobile .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 3px 5px;
  position: relative;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-home-mobile .text-wrapper-22 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1.00px;
  line-height: normal;
  white-space: nowrap;
}

.p-home-mobile .group-2 {
  position: relative;
  width: 246px;
  height: 332px;
  margin-right: -4.00px;
}

.p-home-mobile .contact-btn-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0px 526px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-home-mobile.div .contact-btn-frame {
  padding: 0 24px;
  max-width: 480px;
  box-sizing: border-box;
  margin: 0 auto;
}

.p-home-mobile .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-home-mobile .text-wrapper-23 {
  position: relative;
  flex: 1;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 19px;
  letter-spacing: 1.90px;
  line-height: normal;
}

.p-home-mobile .img {
  position: relative;
  width: 21px;
  height: 24.25px;
}

.p-home-mobile .title-news {
  display: flex;
  max-width: 1000px;
  height: 243px;
  align-items: flex-end;
  gap: 22px;
  padding: 167px 10px 47px 0;
  position: relative;
  width: 100%;
  background-color: #f3f6fa;
}

.p-home-mobile .text-wrapper-24 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: 24px;
  letter-spacing: 0;
  line-height: normal;
}

.p-home-mobile .text-wrapper-25 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #647b84;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
}

.p-home-mobile .news-text {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-home-mobile .element-2 {
  position: relative;
  width: 110.91px;
  height: 24.21px;
}

.p-home-mobile .link-news {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 22px 22px;
  padding: 20px 10px 90px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .text-wrapper-26 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: 20px;
  text-align: right;
  letter-spacing: 0;
  line-height: normal;
}

.p-home-mobile .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-home-mobile .footer-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-home-mobile .navi {
  display: flex;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  margin-left: -15.00px;
  margin-right: -15.00px;
}

.p-home-mobile .text-wrapper-27 {
  width: fit-content;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
}

.p-home-mobile .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-home-mobile .frame-2 {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-home-mobile .text-wrapper-28 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.p-home-mobile .polygon-2 {
  position: relative;
  width: 16.5px;
  height: 19.05px;
}

.p-home-mobile .contact-btn-2 {
  display: inline-flex;
  height: 62px;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  background-color: #647b84;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.p-home-mobile .footer-3 {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
  text-align: left;
}

.p-home-mobile .leftbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-home-mobile .text-wrapper-29 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 1.50px;
  line-height: normal;
}

.p-home-mobile .text-wrapper-30 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: normal;
}

.p-home-mobile .text-wrapper-31 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 37px;
  letter-spacing: 3.70px;
  line-height: normal;
}

.p-home-mobile .footer-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-home-mobile .logo-7 {
  position: relative;
  width: 226px;
  height: 52px;
  background-color: #d9d9d9;
}

.p-home-mobile .element-wrapper {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  flex: 0 0 auto;
  margin-left: -66.50px;
  margin-right: -66.50px;
  align-items: center;
  position: relative;
}

.p-home-mobile .element-f {
  position: relative;
  width: 365px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
}

.p-home-mobile .footer-5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-home-mobile .p {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}

.p-home-mobile.p-home-compact {
  flex-direction: column;
  min-width: 1220px;
  max-width: 1512px;
  min-height: 100vh;
  height: auto;
  align-items: center;
  position: relative;
  background-color: #f3f6fa;
}

.p-home-mobile .logo-frame-2 {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 24px;
  height: 72px;
  position: relative;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  flex: 0 0 auto;
  background-color: #ffffff;
  z-index: 20;
}

.p-home-mobile .logo-8 {
  position: relative;
  max-width: 450px;
  width: 200px;
  height: 48px;
  background-image: url(../img/logo-2.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-home-mobile .menu-2 {
  position: relative;
  width: 56px;
  height: 56px;
  background-color: #172a4a;
}

.p-home-mobile .contact-btn-3 {
  display: flex;
  width: 350px;
  justify-content: space-between;
  align-self: center;
  padding: 30px;
  background-color: #647b84;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.p-home-mobile .card-phase-2 {
  display: flex;
  flex-wrap: wrap;
  max-width: 950px;
  align-items: center;
  justify-content: center;
  gap: 25px 25px;
  padding: 25px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #ffffff;
}

.p-home-mobile .phase-image-2 {
  position: relative;
  width: 240px;
  height: 240px;
  background-color: #d9d9d9;
}

.p-home-mobile .navi-2 {
  display: flex;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.p-home-mobile .footer-6 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-home-mobile .leftbox-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-home-mobile .text-wrapper-34 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
  text-align: right;
  letter-spacing: 1.50px;
  line-height: normal;
}

.p-home-mobile .text-wrapper-35 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 37px;
  text-align: right;
  letter-spacing: 3.70px;
  line-height: normal;
}

.p-home-mobile .element-f-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  flex: 0 0 auto;
}

@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop .leftbox-2 {
    align-items: flex-start;
  }

  .p-home-mobile.p-home-desktop .text-wrapper-34,
  .p-home-mobile.p-home-desktop .text-wrapper-30 {
    text-align: left;
    align-self: stretch;
  }
}

@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop {
    flex-direction: column;
    min-width: 1512px;
    max-width: 1512px;
    min-height: 100vh;
    height: auto;
    align-items: center;
    position: relative;
    background-color: #f3f6fa;
  }
}

.p-home-mobile .header {
  display: flex;
  min-width: 1200px;
  align-items: center;
  justify-content: space-between;
  padding: 0px 0px 0px 30px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #ffffff;
}

.p-home-mobile .nav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px 50px;
  position: relative;
  flex: 0 0 auto;
}

.p-home-mobile .navbar {
  display: flex;
  flex-wrap: wrap;
  width: 479px;
  height: 24px;
  align-items: center;
  gap: 40px 40px;
  position: relative;
}

.p-home-mobile .text-wrapper-36 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #231815;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
}

.p-home-mobile .nav-right {
  display: flex;
  flex-wrap: wrap;
  width: 460px;
  align-items: center;
  justify-content: flex-end;
  gap: 0px 0px;
  position: relative;
  background-color: #ffffff;
}

.p-home-mobile .dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #172a4a;
}

.p-home-mobile .text-wrapper-37 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.p-home-mobile .contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #647b84;
}

.p-home-mobile .text-wrapper-38 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.p-home-mobile .sec-hero-3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1520px;
  align-items: center;
  gap: 30px 30px;
  padding: 100px 10px 100px 0px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .main-image-3 {
  position: relative;
  display: block;
  width: 803px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
}

.p-home-mobile .main-right-3 {
  display: flex;
  flex-direction: column;
  min-width: 390px;
  min-height: 600px;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  padding: 0px 37px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-home-mobile .element-11 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 23px;
  letter-spacing: 2.30px;
  line-height: 35px;
}

@media (max-width: 767px) {
  .p-home-mobile .element-11 {
    font-size: 18px;
    letter-spacing: 1.2px;
    line-height: 1.5;
  }
}

.p-home-mobile .contact-btn-5 {
  display: flex;
  gap: 16px;
  padding: 30px 20px;
  align-self: stretch;
  width: 100%;
  background-color: #172a4a;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

/* INJECT ORIGINAL CSS CODE HERE - globals.css and styleguide.css content should be added before this file */

.p-home-mobile.div {
  flex-direction: column;

  width: 100%;
  max-width: 1512px;
  min-width: 0;

  min-height: 100vh;
  height: auto;
  margin: 0 auto;

  align-items: center;
  position: relative;
  background-color: #f3f6fa;
}

.p-home-mobile .logo-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: 0;
  flex: 0 0 auto;
  background-color: #ffffff;
}

.p-home-mobile .menu {
  position: relative;
  width: 52px;
  height: 52px;
  background-color: #d9d9d9;
  transform: rotate(180deg);
  border: none;
  cursor: pointer;
  padding: 0;
}

.p-home-mobile .contact-btn {
  display: flex;
  width: 350px;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  position: relative;
  flex: 0 0 auto;
  margin-left: -17.00px;
  margin-right: -17.00px;
  background-color: #647b84;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.p-home-mobile .contact-btn:hover {
  background-color: #556a72;
}

.p-home-mobile .contact-btn:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .title-partner {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: flex-end;
  padding: 25px 0px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .strengths {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  padding: 20px 10px 137px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
  list-style: none;
  margin: 0;
}

.p-home-mobile .tag-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px 4px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-home-mobile .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex: 1;
  flex-grow: 1;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-home-mobile .frame:hover {
  opacity: 0.8;
}

.p-home-mobile .frame:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .text-wrapper-26 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: 20px;
  text-align: right;
  letter-spacing: 0;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.p-home-mobile .text-wrapper-26:hover {
  color: #647b84;
}

.p-home-mobile .text-wrapper-26:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .text-wrapper-27 {
  width: fit-content;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.p-home-mobile .text-wrapper-27:hover {
  color: #ffffff;
}

.p-home-mobile .text-wrapper-27:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.p-home-mobile .dl-btn:hover {
  background-color: #424343;
}

.p-home-mobile .dl-btn:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .contact-btn-2 {
  display: inline-flex;
  height: 62px;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  background-color: #647b84;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.p-home-mobile .contact-btn-2:hover {
  background-color: #556a72;
}

.p-home-mobile .contact-btn-2:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .footer-3 {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-home-mobile .text-wrapper-31 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-home-mobile .text-wrapper-31 a:hover {
  color: #f3f6fa;
}

.p-home-mobile .text-wrapper-31 a:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .element-f {
  position: relative;
  width: 365px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
  font-style: normal;
}

.p-home-mobile .logo-frame-2 {
  display: flex;
  min-width: 390px;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 30px;
  position: relative;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  flex: 0 0 auto;
  background-color: #ffffff;
}

.p-home-mobile .logo-8 {
  position: relative;
  max-width: 450px;
  width: 226px;
  height: 52px;
  background-image: url(../img/logo-2.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-home-mobile .menu-2 {
  position: relative;
  width: 64px;
  height: 64px;
  background-color: #172a4a;
  border: none;
  cursor: pointer;
  padding: 0;
}

.p-home-mobile .menu,
.p-home-mobile .menu-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #172a4a;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transform: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.p-home-mobile .menu::before,
.p-home-mobile .menu-2::before {
  content: none;
}

.p-home-mobile .menu:hover,
.p-home-mobile .menu-2:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.p-home-mobile .menu:focus-visible,
.p-home-mobile .menu-2:focus-visible {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 3px;
}

.menu-icon {
  position: relative;
  width: 28px;
  height: 20px;
  display: inline-block;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon__line {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.menu-icon::before {
  top: 0;
}

.menu-icon__line {
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon::after {
  bottom: 0;
}

.menu-overlay__close .menu-icon::before,
.menu-overlay__close .menu-icon::after,
.menu-overlay__close .menu-icon__line {
  background: #ffffff;
}

.p-home-mobile .menu.is-open .menu-icon::before,
.p-home-mobile .menu-2.is-open .menu-icon::before,
.menu-overlay__close.is-open .menu-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.p-home-mobile .menu.is-open .menu-icon::after,
.p-home-mobile .menu-2.is-open .menu-icon::after,
.menu-overlay__close.is-open .menu-icon::after {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.p-home-mobile .menu.is-open .menu-icon__line,
.p-home-mobile .menu-2.is-open .menu-icon__line,
.menu-overlay__close.is-open .menu-icon__line {
  opacity: 0;
}

.p-home-mobile .contact-btn-3 {
  display: flex;
  width: 350px;
  justify-content: space-between;
  padding: 30px;
  background-color: #647b84;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.p-home-mobile .contact-btn-3:hover {
  background-color: #556a72;
}

.p-home-mobile .contact-btn-3:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .text-wrapper-35 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.p-home-mobile .text-wrapper-35 a:hover {
  color: #f3f6fa;
}

.p-home-mobile .text-wrapper-35 a:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .text-wrapper-36 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #231815;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.p-home-mobile .text-wrapper-36:hover {
  color: #647b84;
}

.p-home-mobile .text-wrapper-36:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #172a4a;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.p-home-mobile .dl:hover {
  background-color: #1f3558;
}

.p-home-mobile .dl:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #647b84;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.p-home-mobile .contact:hover {
  background-color: #556a72;
}

.p-home-mobile .contact:focus {
  outline: none;  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  outline-offset: 2px;
}

.p-home-mobile .sec-hero-3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1520px;
  align-items: center;
  gap: 30px 30px;
  padding: 0px 10px 100px 0px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-home-mobile .text-wrapper-39 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: clamp(48px, 6vw, 68px);
  letter-spacing: clamp(2px, 0.6vw, 6.8px);
  line-height: 1.3;
}

@media (max-width: 767px) {
  .p-home-mobile .text-wrapper-39 {
    font-size: 32px;
    letter-spacing: 1.6px;
  }
  .p-home-mobile .contact-btn-3 {
    padding: 15px;
  }
}

.p-home-mobile .contact-btn-5 {
  display: flex;
  min-width: 370px;
  gap: 377px;
  padding: 30px 20px;
  align-self: stretch;
  width: 100%;
  background-color: #172a4a;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.news-section {
  padding: 10px 10px;
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
  margin: 0 auto;
}

.title-news {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0;
}

.news-heading {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.news-heading-en {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
}

.news-date {
  flex: 0 0 auto;
  min-width: 6.5em;
  font-weight: 600;
  font-size: 1.04rem;
  white-space: nowrap;
  line-height: 1.6;
}

.news-text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.7;
}

.link-news {
  margin-top: 24px;
  text-align: right;
}

.news-more {
  font-size: 0.9rem;
  text-decoration: none;
  color: #000000;
}

@media (max-width: 640px) {
  .news-section {
    padding: 0 12px 12px;
  }
  .news-item {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }
  .news-date {
    min-width: auto;
    font-size: 0.96rem;
    line-height: 1.5;
  }
  .news-text {
    flex-basis: 100%;
    min-width: 0;
    line-height: 1.6;
  }
}

.news-more:hover {
  border-bottom-color: currentColor;
}

.news-heading,
.news-heading-en,
.news-date {
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .news-date {
    font-size: 1rem;
  }

  .news-text {
    font-size: 1rem;
  }
}

@media (min-width: 1220px) and (max-width: 1511px) {
  .p-home-mobile.p-home-compact .logo-frame-2 {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .p-home-mobile.p-home-compact {
    padding-top: 80px;
  }
}

@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop .header,
  .site-header--desktop .header {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .p-home-mobile.p-home-desktop,
  .p-cases-desktop,
  .p-company-desktop,
  .p-philosophy-desktop {
    padding-top: 80px;
  }
}

.p-home-mobile.p-home-compact section[aria-labelledby="partner-title-compact"],
.p-home-mobile.p-home-compact section[aria-labelledby="partner-title-compact"] .title-partner,
.p-home-mobile.p-home-compact section[aria-labelledby="partner-title-compact"] .partner-logo {
  background-color: #ffffff;
}

.p-home-mobile.p-home-compact section[aria-labelledby="partner-title-compact"] .title-partner {
  margin-top: 56px;
}

.p-home-mobile.p-home-compact section[aria-labelledby="partner-title-compact"] .partner-logo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 10px;
  justify-items: center;
  align-items: center;
  align-content: center;
  padding: 18px 12px 28px;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  min-height: auto;
  max-height: none;
}

.p-home-mobile.p-home-compact section[aria-labelledby="partner-title-compact"] .logo-4 {
  width: min(140px, 30vw);
  max-width: 140px;
  height: 50px;
  margin: 0;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.p-home-mobile.p-home-compact section[aria-labelledby="partner-title-compact"] {
  margin-bottom: 60px;
}

.p-home-mobile.p-home-compact section[aria-labelledby="concerns-title-compact"] {
  margin-top: 84px;
}

.p-home-mobile.div section[aria-labelledby="partner-title"],
.p-home-mobile.div section[aria-labelledby="partner-title"] .title-partner,
.p-home-mobile.div section[aria-labelledby="partner-title"] .partner-logo {
  background-color: #ffffff;
}

.p-home-mobile.div section[aria-labelledby="partner-title"] .title-partner {
  margin-top: 56px;
}

.p-home-mobile.div section[aria-labelledby="partner-title"] .partner-logo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 4px;
  justify-items: center;
  align-items: center;
  align-content: center;
  padding: 20px 16px 30px;
  width: min(100%, 960px);
  margin: 0;
  list-style: none;
  box-sizing: border-box;
}

.p-home-mobile.div section[aria-labelledby="partner-title"] .logo-2,
.p-home-mobile.div section[aria-labelledby="partner-title"] .logo-3,
.p-home-mobile.div section[aria-labelledby="partner-title"] .logo-4 {
  width: 100%;
  max-width: 100%;
  height: 52px;
  margin: 0;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 640px) {
  .p-home-mobile.div section[aria-labelledby="partner-title"] .partner-logo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 3px;
    width: min(100%, 520px);
  }
  .p-home-mobile.div section[aria-labelledby="partner-title"] .logo-2,
  .p-home-mobile.div section[aria-labelledby="partner-title"] .logo-3,
  .p-home-mobile.div section[aria-labelledby="partner-title"] .logo-4 {
    width: 100%;
    max-width: 100%;
    height: 48px;
  }
}

/* Partner logos image mapping */
.partner-logo > * {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.partner-logo > :nth-child(1)  { background-image: url("../img/logo/kanku.png"); }
.partner-logo > :nth-child(2)  { background-image: url("../img/logo/innoshima.webp"); }
.partner-logo > :nth-child(3)  { background-image: url("../img/logo/ishida.jpg"); }
.partner-logo > :nth-child(4)  { background-image: url("../img/logo/ooarai.png"); }
.partner-logo > :nth-child(5)  { background-image: url("../img/logo/quayside.png"); }
.partner-logo > :nth-child(6)  { background-image: url("../img/logo/sajima.png"); }
.partner-logo > :nth-child(7)  { background-image: url("../img/logo/velasis.jpg"); }
.partner-logo > :nth-child(8)  { background-image: url("../img/logo/siga.png"); }
.partner-logo > :nth-child(9)  { background-image: url("../img/logo/sinminato.jpg"); }
.partner-logo > :nth-child(10) { background-image: url("../img/logo/sinnisinomiya.jpg"); }
.partner-logo > :nth-child(11) { background-image: url("../img/logo/sekisui.png"); }
.partner-logo > :nth-child(12) { background-image: url("../img/logo/tokyo_unv.png"); }
.partner-logo > :nth-child(13) { background-image: url("../img/logo/tokyo_kouwan.jpg"); }
.partner-logo > :nth-child(14) { background-image: url("../img/logo/tokyotele.jpg"); }
.partner-logo > :nth-child(15) { background-image: url("../img/logo/tomakomai.jpg"); }
.partner-logo > :nth-child(16) { background-image: url("../img/logo/yuubutsu.jpg"); }
.partner-logo > :nth-child(17) { background-image: url("../img/logo/hiratsuka.png"); }
.partner-logo > :nth-child(18) { background-image: url("../img/logo/kannon.png"); }
.partner-logo > :nth-child(19) { background-image: url("../img/logo/oga.jpg"); }
.partner-logo > :nth-child(20) { background-image: url("../img/logo/mizuhashi.jpg"); }
.partner-logo > :nth-child(21) { background-image: url("../img/logo/molten.png"); }
.partner-logo > :nth-child(22) { background-image: url("../img/logo/yamaha.png"); }
.partner-logo > :nth-child(23) { background-image: url("../img/logo/yanmar.jpg"); }
.partner-logo > :nth-child(24) { background-image: url("../img/logo/yunimat.jpg"); }
.partner-logo > :nth-child(25) { background-image: url("../img/logo/cotton.png"); }
.partner-logo > :nth-child(26) { background-image: url("../img/logo/wakayama.jpg"); }
.partner-logo > :nth-child(27) { background-image: url("../img/logo/saw.png"); }
.partner-logo > :nth-child(28) { background-image: url("../img/logo/seagull.png"); }
.partner-logo > :nth-child(29) { background-image: url("../img/logo/mokubei.png"); }
.partner-logo > :nth-child(30) { background-image: url("../img/logo/suiki.png"); }

@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop section[aria-labelledby="partner-title-desktop"] {
    background-color: #ffffff;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 60px 0;
  }

  .p-home-mobile.p-home-desktop section[aria-labelledby="partner-title-desktop"] .title-partner,
  .p-home-mobile.p-home-desktop section[aria-labelledby="partner-title-desktop"] .partner-logo {
    background-color: #ffffff;
  }

  .p-home-mobile.p-home-desktop section[aria-labelledby="partner-title-desktop"] .partner-logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 10px;
    padding: 5px;
    max-width: 1000px;
    width: 100%;
  }

  .p-home-mobile.p-home-desktop section[aria-labelledby="partner-title-desktop"] {
    margin-bottom: 70px;
  }

  .p-home-mobile.p-home-desktop section[aria-labelledby="concerns-title-desktop"] {
    margin-top: 70px;
  }

  .p-home-mobile.p-home-compact .footer,
  .p-home-mobile.p-home-compact .footer-2,
  .p-home-mobile.p-home-compact .footer-3,
  .p-home-mobile.p-home-compact .footer-4,
  .p-home-mobile.p-home-compact .footer-5,
  .p-home-mobile.p-home-compact .footer-6 {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .p-home-mobile.p-home-desktop .footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@media (max-width: 480px) {
  .news-item {
    flex-direction: column;
    gap: 4px;
  }

  .news-date {
    min-width: auto;
  }
}

.p-home-mobile .sec-hero-3 {
  background-color: #f3f6fa;
  background-image: url(../img/main_bg_01.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop .sec-hero-3 {
    position: relative;
    z-index: 0;
    background: none;
  }

  .p-home-mobile.p-home-desktop .sec-hero-3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #f3f6fa url(../img/main_bg_01.png) center/cover no-repeat;
    z-index: -1;
  }
}

@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop .sec-hero-3 {
    padding-top: 0;
  }
}

@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop .card-phase-wrapper {
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    padding: 40px 0;
  }

  .p-home-mobile.p-home-desktop .card-phase-2 {
    max-width: 1100px;
    margin: 0 auto;
  }
}


@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop .sec-hero-3 {
    width: 100vw;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}


@media (min-width: 1512px) {
  .p-home-mobile.p-home-desktop .sec-hero-3 {
    display: flex;
  }

  .p-home-mobile.p-home-desktop .main-image-3 {
    flex: 0 0 55%;
  }

  .p-home-mobile.p-home-desktop .main-right-3 {
    flex: 0 0 35%;
  }
}

/* Strengths section phase images */
.p-home-mobile .card-frame article:nth-of-type(1) .image-phase { background-image: url("../img/phase_01.png"); }
.p-home-mobile .card-frame article:nth-of-type(2) .image-phase { background-image: url("../img/phase_02.PNG"); }
.p-home-mobile .card-frame article:nth-of-type(3) .image-phase { background-image: url("../img/phase_03.jpg"); }
.p-home-mobile .card-frame article:nth-of-type(4) .image-phase { background-image: url("../img/phase_04.jpg"); }

.p-home-mobile .card-phase-wrapper .phase-image-2 {
  background-image: url("../img/phase_00.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 640px) {
  .p-home-mobile .card-phase-wrapper {
    padding-bottom: 48px;
  }
  .p-home-mobile .card-phase {
    gap: 10px 8px;
  }
  .p-home-mobile .phase-right {
    padding: 10px 12px 8px;
  }
}

/* Overlay menu layout */
.menu-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 10px 24px;
  box-sizing: border-box;
  overflow-y: auto;
  opacity: 0;
  background: #2d444f;
  transition: opacity 0.2s ease;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
}

.menu-overlay.is-open {
  opacity: 1;
}

.menu-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: #2d444f;
}

.menu-overlay__panel {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: auto;
  max-height: none;
  overflow-y: auto;
  padding: 24px 20px 28px;
  box-sizing: border-box;
  background: #2d444f;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: none;
  transform: translateY(0);
  transition: transform 0.2s ease;
}

.menu-overlay__close {
  align-self: flex-end;
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-overlay__content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.menu-overlay__content nav.menu {
  width: 100%;
}

.menu-overlay__error {
  color: #ffffff;
  text-align: center;
  margin: 32px 0;
}

body.no-scroll {
  overflow: hidden;
}

/* Mobile header guard: keep hero layout from collapsing after overlay toggle */
@media (max-width: 767px) {
  .p-home-mobile .logo-frame,
  .p-home-mobile .logo-frame-2 {
    flex: 0 0 auto;
    min-height: 64px;
    height: 64px;
  }
}

/* Mobile-only line break helper */
br.br-sp-only {
  display: none;
}

@media (max-width: 767px) {
br.br-sp-only {
  display: inline;
}
}

button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: none;
}

.p-home-mobile .logo-frame button:focus-visible,
.p-home-mobile .logo-frame-2 button:focus-visible {
  outline: none !important;
}

:focus-visible {
  outline: none !important;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.8);
  border-radius: 4px;
  transition: box-shadow 0.2s ease;
}

.dl-btn:focus-visible,
.contact-btn:focus-visible,
.send-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(23, 42, 74, 0.9);
}

.header {
  background-color: rgba(255, 255, 255, 1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}

.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #647b84;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9998;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #526371;
}

@media (max-width: 767px) {
.p-home-mobile .card-frame {
  width: calc(100% - 20px);
  margin: 0 10px;
  }
}


/* Page-specific styles for philosophy.html */
.p-philosophy-desktop {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1512px;
  min-width: 0;
  min-height: 100vh;
  height: auto;
  margin: 0 auto;
  padding: 0 16px 60px;
  box-sizing: border-box;
  align-items: center;
  position: relative;
  background-color: #f3f6fa;
}

.p-philosophy-desktop .header {
  display: flex;
  min-width: 0;
  width: 100%;
  height: 126px;
  align-items: center;
  gap: 32px;
  position: relative;
  align-self: stretch;
  flex-wrap: wrap;
  padding: 0 0 0 16px;
  box-sizing: border-box;
  background-color: #ffffff;
}

.p-philosophy-desktop .logo {
  position: relative;
  max-width: 450px;
  width: 226px;
  height: 52px;
  background-color: #d9d9d9;
}

.p-philosophy-desktop .navi {
  display: flex;
  width: 555px;
  align-items: center;
  gap: 49px;
  position: relative;
  align-self: stretch;
}

.p-philosophy-desktop .text-wrapper {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #231815;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
}

.p-philosophy-desktop .dl {
  display: flex;
  width: 221px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 51px 30px;
  position: relative;
  background-color: #000000;
}

.p-philosophy-desktop .div {
  position: relative;
  flex: 1;
  height: 24px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.p-philosophy-desktop .contact {
  display: flex;
  width: 210px;
  height: 126px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 49px 44px;
  position: relative;
  background-color: #647b84;
}

.p-philosophy-desktop .text-wrapper-2 {
  position: relative;
  flex: 1;
  height: 24px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.p-philosophy-desktop .philosophy-title {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  height: 663px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  width: 100%;
}

.p-philosophy-desktop .title {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  height: 128px;
  align-items: center;
  justify-content: flex-end;
  padding: 5px 0px;
  position: relative;
  width: 100%;
  margin-top: -3.50px;
  background-color: #f3f6fa;
}

.p-philosophy-desktop .text-wrapper-3 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 23px;
  text-align: center;
  letter-spacing: 2.30px;
  line-height: normal;
}

.p-philosophy-desktop .card-frame-title {
  display: flex;
  flex-direction: column;
  height: 512px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 25px 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  margin-bottom: -3.50px;
  background-color: #f3f6fa;
}

.p-philosophy-desktop .text-wrapper-4 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 58px;
  text-align: center;
  letter-spacing: 5.80px;
  line-height: normal;
}

.p-philosophy-desktop .text-wrapper-5 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 26px;
  text-align: center;
  letter-spacing: 2.60px;
  line-height: normal;
}

.p-philosophy-desktop .p {
  position: relative;
  align-self: stretch;
  height: 208px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 19px;
  text-align: center;
  letter-spacing: 1.90px;
  line-height: 35px;
}

.p-philosophy-desktop .president {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-start;
  gap: 24px 24px;
  padding: 32px 18px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-philosophy-desktop .president-image {
  position: relative;
  width: 385px;
  height: 557px;
  background-image: url(../img/philosophy/president-image.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-philosophy-desktop .president-intro {
  display: flex;
  flex-direction: column;
  width: 504px;
  align-items: center;
  gap: 40px;
  padding: 30px 10px;
  position: relative;
}

.p-philosophy-desktop .text-wrapper-6 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #647b84;
  font-size: 50px;
  letter-spacing: 5.00px;
  line-height: 58px;
}

@media (min-width: 1220px) {
  .site-header--desktop + .p-philosophy-desktop {
    margin-top: 72px;
  }
}

.p-philosophy-desktop .koichi-kato {
  position: relative;
  align-self: stretch;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 26px;
  letter-spacing: 2.60px;
  line-height: 54px;
}

.p-philosophy-desktop .span {
  letter-spacing: 0.68px;
}

.p-philosophy-desktop .text-wrapper-7 {
  font-size: 40px;
  letter-spacing: 1.60px;
}

.p-philosophy-desktop .text-wrapper-8 {
  font-size: 30px;
  letter-spacing: 0.90px;
}

.p-philosophy-desktop .text-wrapper-9 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 29px;
  letter-spacing: 0;
  line-height: 45px;
}

.p-philosophy-desktop .president-text {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 20px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-philosophy-desktop .text-wrapper-10 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 38px;
}

.p-philosophy-desktop .red-underline {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 4px solid #c81919;
  line-height: 1.2;
}

.p-philosophy-desktop .be-ability-title {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  height: 188px;
  align-items: flex-end;
  justify-content: center;
  gap: 0px 8px;
  padding: 30px 29px;
  position: relative;
  width: 100%;
}

.p-philosophy-desktop .text-wrapper-11 {
  position: relative;
  flex: 1;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 43px;
  text-align: center;
  letter-spacing: 4.30px;
  line-height: normal;
}

.p-philosophy-desktop .be-ability {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-start;
  justify-content: center;
  gap: 90px 20px;
  padding: 20px 10px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-philosophy-desktop .element-object-image {
  position: relative;
  width: 370px;
  height: 352px;
  aspect-ratio: 1.05;
  background-image: url(../img/philosophy/3-object-image.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-philosophy-desktop .element-text {
  display: flex;
  flex-direction: column;
  width: 463px;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  padding: 10px;
  position: relative;
}

.p-philosophy-desktop .co-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-philosophy-desktop .div-2 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #647b84;
  font-size: 43px;
  line-height: normal;
}

.p-philosophy-desktop .text-wrapper-12 {
  font-weight: 700;
  letter-spacing: 0;
}

.p-philosophy-desktop .text-wrapper-13 {
  letter-spacing: 1.85px;
}

.p-philosophy-desktop .text-wrapper-14 {
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0;
}

.p-philosophy-desktop .text-wrapper-15 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 18px;
  letter-spacing: 1.80px;
  line-height: 30px;
}

.p-philosophy-desktop .president-biography {
  display: flex;
  max-width: 1000px;
  align-items: center;
  gap: 10px;
  padding: 36px 10px 2px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-philosophy-desktop .text-wrapper-16 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 21px;
  letter-spacing: 2.10px;
  line-height: 40px;
  white-space: nowrap;
}

.p-philosophy-desktop .president-biography-2 {
  display: flex;
  max-width: 1000px;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 10px 42px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-philosophy-desktop .rectangle {
  position: relative;
  width: 20px;
  height: 20px;
  background-color: #F3F6FA;
}

.p-philosophy-desktop .thunderbird-school {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 21px;
  letter-spacing: 2.10px;
  line-height: 40px;
}

.p-philosophy-desktop .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-philosophy-desktop .footer-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-philosophy-desktop .navi-2 {
  display: flex;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.p-philosophy-desktop .text-wrapper-17 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.p-philosophy-desktop .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-philosophy-desktop .frame {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-philosophy-desktop .text-wrapper-18 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.p-philosophy-desktop .polygon {
  position: relative;
  width: 16.5px;
  height: 19.05px;
}

.p-philosophy-desktop .contact-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #647b84;
}

.p-philosophy-desktop .footer-3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-philosophy-desktop .leftbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-philosophy-desktop .text-wrapper-19 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1.80px;
  line-height: normal;
}

.p-philosophy-desktop .text-wrapper-20 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: normal;
}

.p-philosophy-desktop .text-wrapper-21 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: right;
  letter-spacing: 4.00px;
  line-height: normal;
}

.p-philosophy-desktop .footer-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-philosophy-desktop .logo-2 {
  position: relative;
  width: 226px;
  height: 52px;
  background-color: #d9d9d9;
}

.p-philosophy-desktop .element-wrapper {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.p-philosophy-desktop .element {
  position: relative;
  width: 365px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
}

.p-philosophy-desktop .div-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-philosophy-desktop .text-wrapper-22 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}
/* Inject original CSS code here */

.p-philosophy-desktop .header .navi a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.p-philosophy-desktop .header .navi a:hover {
  opacity: 0.7;
}

.p-philosophy-desktop .header .navi a:focus {
  outline: 2px solid #647b84;
  outline-offset: 2px;
}

.p-philosophy-desktop .dl,
.p-philosophy-desktop .contact {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-philosophy-desktop .footer-2 nav a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.p-philosophy-desktop .footer-2 nav a:hover {
  opacity: 0.8;
}

.p-philosophy-desktop .footer-2 nav a:focus {
  outline: 2px solid #f3f6fa;
  outline-offset: 2px;
}

.p-philosophy-desktop .dl-btn,
.p-philosophy-desktop .contact-btn {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-philosophy-desktop .dl-btn:hover,
.p-philosophy-desktop .contact-btn:hover {
  opacity: 0.9;
}

.p-philosophy-desktop .dl-btn:focus,
.p-philosophy-desktop .contact-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.p-philosophy-desktop .footer-4 address {
  font-style: normal;
}

.p-philosophy-desktop > .footer {
  display: none;
}


@media (max-width: 767px) {
  .site-header--mobile .logo-frame {
    padding: 0 16px;
  }

  .site-header--mobile .logo {
    width: 200px;
    height: 45px;
  }

  .p-home-mobile .logo {
    width: 200px;
    height: 45px;
  }

  body.company-page .site-header--mobile .logo {
    width: 200px;
    height: 45px;
  }

  .p-philosophy-desktop {
    min-width: 0;
    width: 100%;
    padding: 0 16px 64px;
    height: auto;
    box-sizing: border-box;
  }

  .p-philosophy-desktop .philosophy-title {
    height: auto;
    padding: 40px 0 72px;
    gap: 16px;
  }

  .p-philosophy-desktop .title {
    height: auto;
    padding: 0;
    margin-top: 0;
  }

  .p-philosophy-desktop .text-wrapper-3 {
    font-size: 18px;
    letter-spacing: 1.4px;
    line-height: 1.4;
  }

  .p-philosophy-desktop .card-frame-title {
    height: auto;
    padding: 12px 0 0;
    gap: 18px;
    margin-bottom: 0;
  }

  .p-philosophy-desktop .text-wrapper-4 {
    font-size: 32px;
    letter-spacing: 2px;
    line-height: 1.35;
  }

  .p-philosophy-desktop .text-wrapper-5 {
    font-size: 18px;
    letter-spacing: 1.2px;
    line-height: 1.5;
  }

  .p-philosophy-desktop .p {
    height: auto;
    font-size: 15px;
    letter-spacing: 0.8px;
    line-height: 28px;
    padding: 0 4px;
    text-align: left;
    word-break: break-word;
  }

  .p-philosophy-desktop .text-wrapper-6 {
    font-size: 40px;
    letter-spacing: 4px;
    line-height: 46px;
  }

  .p-philosophy-desktop .text-wrapper-11 {
    font-size: 30px;
    letter-spacing: 3px;
    line-height: 1.3;
  }

  /* Shrink the president greeting text on phones */
  .p-philosophy-desktop .president-intro .text-wrapper-6 {
    font-size: 35px;
    line-height: 42px;
  }

  .p-philosophy-desktop .koichi-kato {
    font-size: 18px;
    line-height: 38px;
  }

  .p-philosophy-desktop .text-wrapper-7 {
    font-size: 28px;
    line-height: 1.2;
  }

  .p-philosophy-desktop .text-wrapper-9 {
    font-size: 20px;
    line-height: 32px;
  }

  .p-philosophy-desktop .president-text .text-wrapper-10 {
    font-size: 14px;
    line-height: 27px;
  }

  .p-philosophy-desktop .text-wrapper-16 {
    font-size: 16.8px;
    line-height: 32px;
  }

  .p-philosophy-desktop .thunderbird-school {
    font-size: 16.8px;
    line-height: 32px;
  }
}

/* Page-level overflow guard */
body.philosophy-page {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
}

body.philosophy-page .p-philosophy-desktop {
  min-height: 0;
  height: auto;
  overflow: visible;
}



/* Page-specific styles for company.html */
.p-company-desktop {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1512px;
  min-width: 0;
  min-height: 100vh;
  height: auto;
  margin: 0 auto;
  padding: 0 16px 60px;
  box-sizing: border-box;
  align-items: center;
  position: relative;
  background-color: #f3f6fa;
}

.p-company-desktop .header {
  display: flex;
  min-width: 0;
  width: 100%;
  height: 126px;
  align-items: center;
  gap: 32px;
  position: relative;
  align-self: stretch;
  flex-wrap: wrap;
  padding: 0 0 0 16px;
  box-sizing: border-box;
  background-color: #ffffff;
}

/* Avoid double-scroll on company page */
body.company-page {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
}

body.company-page .p-company-desktop {
  min-height: 0;
  height: auto;
  overflow: visible;
}

.p-company-desktop .logo {
  position: relative;
  max-width: 450px;
  width: 226px;
  height: 52px;
  background-color: #d9d9d9;
}

.p-company-desktop .navi {
  display: flex;
  width: 555px;
  align-items: center;
  gap: 49px;
  position: relative;
  align-self: stretch;
}

.p-company-desktop .text-wrapper {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #231815;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
}

.p-company-desktop .dl {
  display: flex;
  width: 221px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 51px 30px;
  position: relative;
  background-color: #000000;
}

.p-company-desktop .div {
  position: relative;
  flex: 1;
  height: 24px;
  margin-top: -1.00px;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  white-space: nowrap;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
}

.p-company-desktop .contact {
  display: flex;
  width: 210px;
  height: 126px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 49px 44px;
  position: relative;
  background-color: #647b84;
}

.p-company-desktop .text-wrapper-2 {
  position: relative;
  flex: 1;
  height: 24px;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  white-space: nowrap;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
}

.p-company-desktop .company-profile {
  flex-direction: column;
  align-items: center;
  padding: 0px 0px 60px;
  display: flex;
  max-width: 1000px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-company-desktop .company-title {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  display: flex;
  max-width: 1000px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-company-desktop .title {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  height: 128px;
  align-items: center;
  justify-content: flex-end;
  padding: 5px 0px;
  position: relative;
  width: 100%;
  background-color: #f3f6fa;
}

.p-company-desktop .text-wrapper-3 {
  position: relative;
  align-self: stretch;
  font-weight: 500;
  color: #647b84;
  font-size: 43px;
  letter-spacing: 4.30px;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
}

.p-company-desktop #history-title {
  font-size: 50px;
  letter-spacing: 5px;
}

.p-company-desktop .company-list {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 10px;
  padding: 10px;
  display: flex;
  max-width: 1000px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-company-desktop .company-list-left {
  max-width: 140px;
  display: flex;
  align-items: stretch;
  padding: 0;
  position: relative;
  flex: 0 0 140px;
  box-sizing: border-box;
}

.p-company-desktop .div-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
  position: relative;
  flex: 1;
  flex-grow: 1;
  height: 40px;
  background-color: #647b84;
}

.p-company-desktop .text-wrapper-4 {
  position: static;
  width: auto;
  font-weight: 400;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 2.20px;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
  white-space: nowrap;
}

.p-company-desktop .company-list-right {
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-company-desktop .detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0 8px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #ffffff;
  min-height: 40px;
}

.p-company-desktop .text-wrapper-5 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 25px;
  letter-spacing: 2.50px;
  line-height: normal;
}

.p-company-desktop .detail-order {
  font-size: 14px;
  line-height: 1.4;
  display: block;
  margin-top: 4px;
}

.p-company-desktop .div-wrapper-2 {
  display: flex;
  max-width: 1000px;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-company-desktop .text-wrapper-6 {
  color: #647b84;
  font-size: 43px;
  letter-spacing: 4.30px;
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  line-height: 56px;
  white-space: normal;
}

.p-company-desktop .text-wrapper-7 {
  color: #000000;
  font-size: 23px;
  letter-spacing: 2.30px;
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  line-height: 45px;
  white-space: nowrap;
}

@media (min-width: 1220px) {
  .site-header--desktop + .p-company-desktop {
    margin-top: 72px;
  }
}

.p-company-desktop .rectangle {
  position: relative;
  width: 46px;
  height: 20px;
  background-color: #d9d9d9;
}

.p-company-desktop .p {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 23px;
  letter-spacing: 2.30px;
  line-height: 45px;
}


/* 主要取引先セクション - 他のセクションと左端を揃える */
.p-company-desktop section[aria-labelledby="partners-title"] {
  width: 100%;
  max-width: 1000px;
  /* align-self: flex-start; を削除 - 親のalign-items: center;により中央配置 */
}

.p-company-desktop .main-partners {
  display: flex;
  max-width: 1000px;
  align-items: flex-start;
  gap: 4px;
  padding: 35px 10px 105px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  /* align-self: flex-start; を削除 */
}

.p-company-desktop .main-partners .p {
  text-align: left !important;
  width: 100%;
}

.p-company-desktop section[aria-labelledby="partners-title"] .p {
  text-align: left !important;
}


.p-company-desktop .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-company-desktop .footer-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-company-desktop .navi-2 {
  display: flex;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.p-company-desktop .text-wrapper-8 {
  position: relative;
  width: fit-content;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
}

.p-company-desktop .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-company-desktop .frame {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-company-desktop .text-wrapper-9 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.p-company-desktop .polygon {
  position: relative;
  width: 16.5px;
  height: 19.05px;
}

.p-company-desktop .contact-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #647b84;
}

.p-company-desktop .footer-3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-company-desktop .leftbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-company-desktop .text-wrapper-10 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1.80px;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
}

.p-company-desktop .text-wrapper-11 {
  position: relative;
  align-self: stretch;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1.20px;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
}

.p-company-desktop .text-wrapper-12 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: right;
  letter-spacing: 4.00px;
  line-height: normal;
}

.p-company-desktop .footer-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-company-desktop .logo-2 {
  position: relative;
  width: 226px;
  height: 52px;
  background-color: #d9d9d9;
}

.p-company-desktop .element-wrapper {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.p-company-desktop .element {
  position: relative;
  width: 365px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
}

.p-company-desktop .footer-5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-company-desktop .text-wrapper-13 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}

/* Company page specific spacing */
.company-news {
  margin: 40px auto 60px;
}

.company-news .news-date,
.company-news .news-text {
  font-size: 1.15rem;
}

@media (max-width: 767px) {
  .company-news {
    margin: 32px auto 48px;
  }
}

/* Inject original CSS code here */

.p-company-desktop .header a {
  text-decoration: none;
  color: inherit;
}

.p-company-desktop .navi a {
  display: block;
}

.p-company-desktop .dl,
.p-company-desktop .contact {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-company-desktop .dl:hover,
.p-company-desktop .contact:hover,
.p-company-desktop .dl-btn:hover,
.p-company-desktop .contact-btn:hover {
  opacity: 0.8;
}

.p-company-desktop .dl:focus-visible,
.p-company-desktop .contact:focus-visible,
.p-company-desktop .dl-btn:focus-visible,
.p-company-desktop .contact-btn:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.p-company-desktop .company-list {
  display: flex;
}

.p-company-desktop .company-list dt,
.p-company-desktop .company-list dd {
  margin: 0;
}

.p-company-desktop .navi-2 a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.p-company-desktop .navi-2 a:hover {
  opacity: 0.8;
}

.p-company-desktop .navi-2 a:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.p-company-desktop .dl-btn,
.p-company-desktop .contact-btn {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-company-desktop .text-wrapper-12 {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.p-company-desktop .text-wrapper-12:hover {
  opacity: 0.8;
}

.p-company-desktop .text-wrapper-12:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.p-company-desktop .element-wrapper {
  font-style: normal;
}

@media (max-width: 1511px) {
  /* Keep main content full-width up to tablet widths */
  .p-company-desktop {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 16px 48px;
    box-sizing: border-box;
    height: auto;
    overflow-x: hidden;
    display: block;
  }

  .p-company-desktop .header {
    min-width: 0;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  .p-company-desktop {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 16px 48px;
    box-sizing: border-box;
    height: auto;
    overflow-x: hidden;
  }

  /* Soften company profile text sizes on small screens */
  .p-company-desktop .text-wrapper-4 {
    font-size: 14px;
    letter-spacing: 1.20px;
  }

  .p-company-desktop .text-wrapper-5 {
    font-size: 16px;
    letter-spacing: 1.40px;
  }

  .p-company-desktop .text-wrapper-3 {
    font-size: 30px;
    letter-spacing: 3.00px;
  }

  /* Narrow the label box width on mobile */
  .p-company-desktop .company-list-left {
    flex: 0 0 90px;
    padding: 0 !important;
    max-width: 90px;
  }

  .p-company-desktop .div-wrapper {
    padding: 0 4px !important;
  }

  .p-company-desktop .main-partners .p {
    font-size: 18.4px;
    line-height: 36px;
  }

  .p-company-desktop .company-list-right {
    padding: 0 !important;
    gap: 0 !important;
  }

  .p-company-desktop .detail {
    padding: 0 4px !important;
    gap: 0 !important;
    min-height: 40px;
  }
  }

  /* Make footer backgrounds full-bleed on small screens */
  .p-company-desktop .footer,
  .p-company-desktop .footer-2,
  .p-company-desktop .footer-3,
  .p-company-desktop .footer-4,
  .p-company-desktop .footer-5 {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

@media (min-width: 1512px) {
  .p-company-desktop .footer,
  .p-company-desktop .footer-2,
  .p-company-desktop .footer-3,
  .p-company-desktop .footer-4,
  .p-company-desktop .footer-5 {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    position: relative;
    isolation: isolate;
  }

  .p-company-desktop .footer::before,
  .p-company-desktop .footer-2::before,
  .p-company-desktop .footer-3::before,
  .p-company-desktop .footer-4::before,
  .p-company-desktop .footer-5::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: inherit;
    background-color: inherit;
    z-index: -1;
  }
}



/* Page-specific styles for cases.html */
.p-cases-desktop {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1512px;
  min-width: 0;
  min-height: 100vh;
  height: auto;
  align-items: center;
  padding: 0 16px 40px;
  box-sizing: border-box;
  position: relative;
}

.p-cases-desktop .card-frame {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-start;
  justify-content: center;
  gap: 60px 60px;
  padding: 0px 0px 100px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-cases-desktop .card-container {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: flex-start;
  gap: 78px;
  padding: 56px 37px 36px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #f3f6fa;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.p-cases-desktop .card-container.is-updating {
  animation: cases-card-pulse 0.45s ease;
}

@keyframes cases-card-pulse {
  0% {
    transform: translateY(12px);
    box-shadow: 0 10px 20px rgba(23, 42, 74, 0.08);
    opacity: 0.5;
  }
  50% {
    transform: translateY(0);
    box-shadow: 0 10px 25px rgba(23, 42, 74, 0.12);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(23, 42, 74, 0);
    opacity: 1;
  }
}

.p-cases-desktop .co-card-frame {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-cases-desktop .case-master {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  width: 500px;
  align-items: flex-start;
  gap: 35px;
  padding: 30px 15px 30px;
  position: relative;
  background-color: #e8edf3;
  border: none;
}

.p-cases-desktop .category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 20px;
  position: relative;
  flex: 0 0 auto;
  background-color: #ffffff;
  font-weight: 700;
  font-size: 18px;
}

.case-image-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 40, 0.8);
  z-index: 10020;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 40px);
}

.case-image-overlay.is-open {
  display: flex;
}

.case-image-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}

.case-image-overlay__frame {
  position: relative;
  z-index: 2;
  width: min(90vw, 520px);
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(7, 18, 40, 0.5);
}

.case-image-overlay__image {
  position: absolute;
  inset: 16px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  pointer-events: none;
}

.case-image-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  font-size: 20px;
  line-height: 1;
  color: #172a4a;
  font-family: "Noto Sans JP", Helvetica;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(7, 18, 40, 0.3);
}

.p-cases-desktop .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 20px;
  letter-spacing: 2.00px;
  line-height: normal;
  white-space: nowrap;
}

.p-cases-desktop .div {
  position: relative;
  width: 412px;
  margin-right: -6.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #647b84;
  font-size: 31px;
  letter-spacing: 3.10px;
  line-height: 39px;
}

.p-cases-desktop .text-wrapper-2 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 300;
  color: #000000;
  font-size: 19px;
  letter-spacing: 1.90px;
  line-height: 34px;
}

.p-cases-desktop .frame {
  display: flex;
  width: 189px;
  justify-content: space-around;
  gap: 10px;
  padding: 3px 10px;
  flex: 0 0 auto;
  background-color: #172a4a;
  align-items: center;
  position: relative;
}

.p-cases-desktop .text-wrapper-3 {
  position: relative;
  width: 169px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 25px;
  letter-spacing: 2.50px;
  line-height: 39px;
}

.p-cases-desktop .text-wrapper-4 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #172a4a;
  font-size: 23px;
  letter-spacing: 2.30px;
  line-height: 34px;
}

.p-cases-desktop .tag-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 11px 11px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border: none;
}

.p-cases-desktop .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 10px;
  position: relative;
  flex: 0 0 auto;
  background-color: #172a4a;
  color: #ffffff;
}

.p-cases-desktop .text-wrapper-5 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 19px;
  letter-spacing: 1.90px;
  line-height: normal;
}

.p-cases-desktop .guide {
  display: flex;
  flex-direction: column;
  width: 399px;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 18px;
  position: relative;
  background-color: #d9d9d9;
  transform: scale(0.65);
  transform-origin: top right;
}

.p-cases-desktop .text-wrapper-6 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 28px;
  letter-spacing: 0;
  line-height: normal;
}

.p-cases-desktop .category-bg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  position: absolute;
  top: 0;
  left: 42px;
  right: 0;
  background-color: #ffffff;
  height: 32px;
  box-sizing: border-box;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  pointer-events: none;
  justify-content: flex-start;
  text-align: left;
}

.p-cases-desktop .text-wrapper-7 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 23px;
  letter-spacing: 2.30px;
  line-height: normal;
}

.p-cases-desktop .rectangle {
  position: absolute;
  top: 1px;
  left: 0;
  width: 35px;
  height: 35px;
  background-color: #ffffff;
  border: 3px solid;
  border-color: #868383;
}

.p-cases-desktop .text-wrapper-8 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 28px;
  letter-spacing: 0;
  line-height: normal;
}

.p-cases-desktop .hashtags {
  display: flex;
  flex-wrap: wrap;
  min-height: 212px;
  align-items: flex-start;
  gap: 7px 9px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.p-cases-desktop .clear {
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 20px 37px;
  margin-top: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-cases-desktop .text-wrapper-9 {
  position: absolute;
  top: 0;
  left: 57px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 28px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.p-cases-desktop .check {
  position: absolute;
  top: 2px;
  left: 0;
  width: 30px;
  height: 30px;
  background-color: #d9d9d9;
}

.p-cases-desktop .footer {
  display: flex;
  flex-direction: column;
  width: 100%;          /* 1512px を廃止 */
  max-width: none;
  margin: 0;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop .footer::before{
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-black); /* 既存色に合わせて */
  z-index: -1;
}

.footer > *{
  max-width: 1512px;
  margin: 0 auto;
}

/* ④ 横はみ出しの副犯を除去 */
.p-cases-desktop .div{
  margin-right: unset;
}

.p-cases-desktop .footer-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop .navi {
  display: flex;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.p-cases-desktop .text-wrapper-10 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.p-cases-desktop .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-cases-desktop .frame-2 {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-cases-desktop .text-wrapper-11 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.p-cases-desktop .polygon {
  position: relative;
  width: 16.5px;
  height: 19.05px;
}

.p-cases-desktop .contact-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #647b84;
}

.p-cases-desktop .footer-3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop .leftbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  flex: 0 0 auto;
}

.p-cases-desktop .text-wrapper-12 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1.80px;
  line-height: normal;
}

.p-cases-desktop .text-wrapper-13 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: normal;
}

.p-cases-desktop .text-wrapper-14 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: right;
  letter-spacing: 4.00px;
  line-height: normal;
}

.p-cases-desktop .footer-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop .logo {
  position: relative;
  width: 226px;
  height: 52px;
  background-color: #d9d9d9;
}

.p-cases-desktop .element-wrapper {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.p-cases-desktop .element {
  position: relative;
  width: 365px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
}

.p-cases-desktop .div-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-cases-desktop .p {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}
/* ========================================
   INJECT ORIGINAL CSS CODE HERE
   ======================================== */

/* Semantic HTML Refactoring - Additional Styles */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.case-title {
  position: relative;
  width: 468px;
  margin-right: -6.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #647b84;
  font-size: 31px;
  letter-spacing: 3.10px;
  line-height: 39px;
}

.case-description {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 19px;
  letter-spacing: 1.90px;
  line-height: 34px;
}

.problem-label {
  display: flex;
  width: 189px;
  justify-content: space-around;
  gap: 10px;
  padding: 3px 10px;
  flex: 0 0 auto;
  background-color: #172a4a;
  align-items: center;
  position: relative;
}

.problem-label::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -12px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #172a4a;
}

.problem-text {
  position: relative;
  width: 169px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 25px;
  letter-spacing: 2.50px;
  line-height: 39px;
}

.problem-description {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #172a4a;
  font-size: 23px;
  letter-spacing: 2.30px;
  line-height: 34px;
}

.p-cases-desktop .tag-container {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-heading {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 28px;
  letter-spacing: 0;
  line-height: normal;
}

.filter-form {
  display: contents;
}

.service-filters {
  display: contents;
  border: none;
  padding: 0;
  margin: 0;
}

.category-filter {
  position: relative;
  width: 278px;
  height: 36px;
}

.category-label {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.category-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 1;
}

.category-checkbox:focus-visible ~ .category-bg {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.category-check {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 26px;
  height: 26px;
  border: 3px solid #868383;
  background-color: #ffffff;
  pointer-events: none;
  box-sizing: border-box;
  z-index: 2;
}

.category-check::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  border-bottom: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: translate(-50%, -60%) rotate(45deg);
  opacity: 0;
}

.category-checkbox:checked + .category-check {
  background-color: #172a4a;
  border-color: #172a4a;
}

.category-checkbox:checked + .category-check::after {
  opacity: 1;
}

.category-checkbox:checked ~ .category-bg {
  background-color: #172a4a;
  color: #ffffff;
}


.tag-heading {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 28px;
  letter-spacing: 0;
  line-height: normal;
}

.p-cases-desktop .hashtags {
  border: none;
  padding: 0;
  margin: 0;
}

.p-cases-desktop .hashtags .tag {
  cursor: pointer;
  position: relative;
  background-color: transparent;
  border: none;
  padding: 0;
}

.tag-checkbox {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.tag-checkbox:focus-visible + .tag-text {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.tag-checkbox:checked + .tag-text {
  background-color: #172a4a;
  color: #ffffff;
  border-color: #172a4a;
}

.tag-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #172a4a;
  font-size: 19px;
  letter-spacing: 1.90px;
  line-height: normal;
  padding: 3px 5px;
  background-color: #ffffff;
  border: 3px solid #ffffff;
  pointer-events: none;
  box-sizing: border-box;
}

.clear-button {
  position: relative;
  width: 283px;
  height: 40px;
  margin-right: -2.00px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.clear-button:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.p-cases-desktop .check {
  position: absolute;
  top: 2px;
  left: 0;
  width: 30px;
  height: 30px;
  background-color: #d9d9d9;
  border: 3px solid #868383;
  box-sizing: border-box;
  pointer-events: none;
}

.p-cases-desktop .check::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  border-bottom: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: translate(-50%, -60%) rotate(45deg);
  opacity: 0;
}

.clear-button:focus-visible .check,
.clear-button:focus .check,
.clear-button:active .check {
  background-color: #172a4a;
  border-color: #172a4a;
}

.clear-button:focus-visible .check::after,
.clear-button:focus .check::after,
.clear-button:active .check::after {
  opacity: 1;
}

.clear-text {
  position: absolute;
  top: 4px;
  left: 57px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 22px;
  text-align: center;
  letter-spacing: 0;
  line-height: 28px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop .navi {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navi-link {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
}

.navi-link:hover {
  text-decoration: underline;
}

.navi-link:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.btn-content {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.btn-text {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.dl-btn:focus-visible,
.contact-btn:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.contact-info {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1.80px;
  line-height: normal;
}

.contact-hours {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: normal;
}

.phone-number {
  position: relative;
  flex: 0 0 auto;
  margin-top: 0;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: center;
  letter-spacing: 4.00px;
  line-height: normal;
  text-decoration: none;
}

.phone-number:hover {
  text-decoration: underline;
}

.phone-number:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.footer-company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.company-address {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 10px;
  flex: 0 0 auto;
  position: relative;
  width: auto;
  max-width: 100%;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
  font-style: normal;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.copyright {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}

/* ================================================================
   cases.html 背景画像（最高品質版 - 2000px元画像）
   ================================================================ */

/* Avoid double-scroll on cases page */
body.cases-page {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #f3f6fa;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  --cases-bg-overlay: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3));
  background-image: var(--cases-bg-overlay);
}

/* モバイル（~767px）: 800x3200px, 517KB */
@media (max-width: 767px) {
  body.cases-page {
    background-image: var(--cases-bg-overlay), url("../img/bg_marina-mobile.webp");
  }
  
  .no-webp body.cases-page {
    background-image: var(--cases-bg-overlay), url("../img/bg_marina-mobile.jpg");
  }
}

/* タブレット（768px~1511px）: 1600x6400px, 1.8MB */
@media (min-width: 768px) and (max-width: 1511px) {
  body.cases-page {
    background-image: var(--cases-bg-overlay), url("../img/bg_marina-tablet.webp");
  }
  
  .no-webp body.cases-page {
    background-image: var(--cases-bg-overlay), url("../img/bg_marina-tablet.jpg");
  }
}

/* デスクトップ（1512px~）: 2400x9600px, 2.6MB */
@media (min-width: 1512px) {
  body.cases-page {
    background-image: var(--cases-bg-overlay), url("../img/bg_marina-desktop.webp");
  }
  
  .no-webp body.cases-page {
    background-image: var(--cases-bg-overlay), url("../img/bg_marina-desktop.jpg");
  }
}

/* Retina/4Kディスプレイ用（オプション）: 3200x12800px, 3.2MB */
@media (min-width: 1512px) and (-webkit-min-device-pixel-ratio: 2),
       (min-width: 1512px) and (min-resolution: 192dpi) {
  body.cases-page {
    background-image: var(--cases-bg-overlay), url("../img/bg_marina-desktop-2x.webp");
  }
  
  .no-webp body.cases-page {
    background-image: var(--cases-bg-overlay), url("../img/bg_marina-desktop-2x.jpg");
  }
}

body.cases-page .p-cases-desktop {
  min-height: 0;
  height: auto;
  overflow: visible;
  background-color: transparent;
  min-height: 0;
  height: auto;
  overflow: visible;
  background-color: transparent;
}

@media (max-width: 767px) {
  /* Keep mobile header elements inside viewport */
  .site-header--mobile .logo-frame {
    width: 100%;
    margin: 0;
    padding: 0 16px;
    box-sizing: border-box;
    justify-content: space-between;
  }
}

@media (min-width: 1512px) {
  .p-cases-desktop .footer,
  .p-cases-desktop .footer-nav,
  .p-cases-desktop .footer-contact,
  .p-cases-desktop .footer-company,
  .p-cases-desktop .footer-copyright {
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
    position: relative;
    isolation: isolate;
  }
  }

  .p-cases-desktop .footer::before,
  .p-cases-desktop .footer-nav::before,
  .p-cases-desktop .footer-contact::before,
  .p-cases-desktop .footer-company::before,
  .p-cases-desktop .footer-copyright::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: inherit;
    background-color: inherit;
    z-index: -1;
  }

/* Responsive overrides: relax fixed widths/heights */
@media (max-width: 1511px) {
  .p-cases-desktop {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    height: auto;
    padding: 0 16px 40px;
    align-items: stretch;
  }

  .p-cases-desktop main,
  .p-cases-desktop section,
  .p-cases-desktop .card-frame,
  .p-cases-desktop .card-container,
  .p-cases-desktop .co-card-frame,
  .p-cases-desktop .case-master,
  .p-cases-desktop .footer,
  .p-cases-desktop .footer-nav,
  .p-cases-desktop .footer-contact,
  .p-cases-desktop .footer-company,
  .p-cases-desktop .footer-copyright {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .p-cases-desktop .card-frame {
    gap: 32px 24px;
  }

  .p-cases-desktop .card-container {
    padding: 32px 16px;
    gap: 48px;
  }

  .p-cases-desktop .co-card-frame {
    align-items: flex-start;
  }

  .case-title,
  .p-cases-desktop .case-description {
    width: 100%;
    max-width: 100%;
  }

  .p-cases-desktop .tag-container {
    justify-content: flex-start;
  }

  .footer-nav,
  .footer-contact,
  .footer-company,
  .footer-copyright {
    justify-content: center;
  }

  /* full-bleed footer backgrounds on tablet/smartphone */
  .p-cases-desktop .footer,
  .p-cases-desktop .footer-nav,
  .p-cases-desktop .footer-contact,
  .p-cases-desktop .footer-company,
  .p-cases-desktop .footer-copyright {
    position: relative;
    isolation: isolate;
  }
}

@media (min-width: 1220px) {
  .p-cases-desktop .card-frame {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .p-cases-desktop .card-container {
    flex: 1;
    max-width: 1000px;
  }

  .p-cases-desktop .guide {
    position: sticky;
    top: 96px;
    align-self: flex-start;
    margin-left: auto;
    width: 360px;
    transform: scale(0.65);
    transform-origin: top right;
  }
}

@media (min-width: 768px) and (max-width: 1219px) {
  .p-cases-desktop .card-frame {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .p-cases-desktop .card-container {
    flex: 1;
    max-width: 900px;
  }

  .p-cases-desktop .guide {
    position: sticky;
    top: 80px;
    align-self: flex-start;
    margin-left: auto;
    width: 320px;
    transform: scale(0.65);
    transform-origin: top right;
  }
}

@media (max-width: 767px) {
  .p-cases-desktop {
    padding: 0 12px 32px;
  }

  .p-cases-desktop .card-frame {
    gap: 24px 16px;
  }

  .p-cases-desktop .card-container {
    padding: 24px 12px;
    gap: 80px;
  }

  .p-cases-desktop .tag-container {
    gap: 8px;
    justify-content: flex-start;
  }

  .p-cases-desktop .guide {
    transform: none;
    transform-origin: initial;
  }

  .footer-nav {
    gap: 12px;
  }

  .dl-btn,
  .contact-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-contact,
  .footer-company,
  .footer-copyright {
    gap: 8px;
    text-align: center;
  }
}
.tag {
  display: inline-flex;
  align-items: center;
}



/* Page-specific styles for service.html */
.p-service-desktop {
  display: flex;
  flex-direction: column;
  max-width: 1512px;
  align-items: center;
  position: relative;
  background-color: #f3f6fa;
}

@media (max-width: 767px) {
  .p-service-desktop {
    padding-top: 20px;
  }
}

@media (min-width: 1512px) {
  .p-service-desktop {
    padding-top: 180px;
  }
}

.p-service-desktop .header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 61px;
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 126px;
  padding: 0 24px;
  box-sizing: border-box;
  background-color: #ffffff;
}

.p-service-desktop .logo {
  max-width: 450px;
  position: relative;
  width: 226px;
  height: 52px;
  background-color: #d9d9d9;
}

.p-service-desktop .navi {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
  width: min(100%, 555px);
  align-items: center;
  gap: 49px;
  position: relative;
  align-self: stretch;
  justify-content: center;
}

.p-service-desktop .text-wrapper {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #231815;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
}

.p-service-desktop .dl {
  display: flex;
  width: 221px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 51px 30px;
  position: relative;
  background-color: #000000;
}

.p-service-desktop .div {
  position: relative;
  flex: 1;
  height: 24px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.p-service-desktop .contact {
  display: flex;
  width: 210px;
  height: 126px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 49px 44px;
  position: relative;
  background-color: #647b84;
}

.p-service-desktop .text-wrapper-2 {
  position: relative;
  flex: 1;
  height: 24px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.p-service-desktop .service-title {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-service-desktop .title {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: flex-end;
  padding: 85px 0px 5px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-service-desktop .text-wrapper-3 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 23px;
  letter-spacing: 2.30px;
  line-height: normal;
}

.p-service-desktop .title .text-wrapper-3 {
  font-family: "Noto Sans JP", Helvetica;
}

.p-service-desktop .div-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 25px 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-service-desktop .text-wrapper-4 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 45px;
  letter-spacing: 4.50px;
  line-height: 71px;
}

@media (max-width: 767px) {
  .p-service-desktop .service-title .text-wrapper-4 {
    font-size: 22.5px;
    letter-spacing: 2.25px;
    line-height: 35px;
  }
  .p-service-desktop .official-retailer .text-wrapper-14 {
    font-size: 27px;
    letter-spacing: 2.70px;
  }
  .p-service-desktop .phase-summary .text-wrapper-15 {
    font-size: 16px;
    letter-spacing: 1.60px;
    line-height: 30px;
  }
  .p-service-desktop .phase-summary {
    padding-left: 50px;
    padding-right: 50px;
  }
}

.p-service-desktop .image-flow {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 164.65px;
  aspect-ratio: 6.07;
  background-image: url(../img/service/image-flow.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-service-desktop .mroda {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: top;
  gap: 12px 12px;
  padding: 40px 10px 30px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-service-desktop .mroda-image {
  position: relative;
  width: 479px;
  height: 319px;
  background-image: url(../img/service/mroda-image.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-service-desktop .mroda-intro {
  display: flex;
  flex-direction: column;
  width: 406px;
  align-items: center;
  gap: 30px;
  padding: 0px 10px;
  position: relative;
}

.p-service-desktop .koichi-kato {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 40px;
  letter-spacing: 4.00px;
  line-height: 54px;
}

.p-service-desktop .span {
  letter-spacing: 1.60px;
}

.p-service-desktop .text-wrapper-5 {
  font-size: 30px;
  letter-spacing: 0.90px;
}

.p-service-desktop .text-wrapper-6 {
  font-size: 26px;
  letter-spacing: 0.68px;
}

.p-service-desktop .text-wrapper-7 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #647b84;
  font-size: 38px;
  letter-spacing: 3.80px;
  line-height: 48px;
}

.p-service-desktop .text-wrapper-8 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 29px;
  letter-spacing: 0;
  line-height: 45px;
}

.p-service-desktop .mroda-text {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 20px 80px;
  font-weight: 600;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-service-desktop .element {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 38px;
}

.p-service-desktop .phase {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-start;
  justify-content: center;
  gap: 19px 20px;
  padding: 20px 10px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-service-desktop .card-phase {
  display: flex;
  flex-direction: column;
  min-width: 350px;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 16px 0px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #ffffff;
  border: 4px solid;
  border-color: #d9d9d9;
}

.p-service-desktop .image-phase {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 312px;
  background-color: #d9d9d9;
}

.p-service-desktop .phase article:nth-of-type(1) .image-phase {
  background-image: url("../img/phase_01ｍ.png");
  background-size: cover;
  background-position: center;
}

.p-service-desktop .phase article:nth-of-type(2) .image-phase {
  background-image: url("../img/phase_02ｍ.PNG");
  background-size: cover;
  background-position: center;
}

.p-service-desktop .phase article:nth-of-type(3) .image-phase {
  background-image: url("../img/phase_03ｍ.jpg");
  background-size: cover;
  background-position: center;
}

.p-service-desktop .phase article:nth-of-type(4) .image-phase {
  background-image: url("../img/phase_04ｍ.jpg");
  background-size: cover;
  background-position: center;
}

.p-service-desktop .text-wrapper-9 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #859ea5;
  font-size: 28px;
  letter-spacing: 2.80px;
  line-height: 44px;
}

.p-service-desktop .text-wrapper-10 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #647b84;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 44px;
}

.p-service-desktop .text-wrapper-11 {
  position: relative;
  align-self: stretch;
  height: 134px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 14px;
  letter-spacing: 1.40px;
  line-height: 24px;
}

.p-service-desktop .phase-summary {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: flex-start;
  justify-content: center;
  gap: 0px 0px;
  padding: 25px 0px 30px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}


.p-service-desktop .text-wrapper-12 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1.80px;
  line-height: normal;
}

.p-service-desktop .official-retailer {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 30px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-service-desktop .official-title {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: flex-end;
  padding: 75px 0px 5px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-service-desktop .text-wrapper-13 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 23px;
  text-align: center;
  letter-spacing: 2.30px;
  line-height: normal;
}

.p-service-desktop .text-wrapper-14 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 54px;
  text-align: center;
  letter-spacing: 5.40px;
  line-height: normal;
}

.p-service-desktop .text-wrapper-15 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Serif JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 26px;
  text-align: center;
  letter-spacing: 2.60px;
  line-height: normal;
}

.p-service-desktop .element-2 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 19px;
  text-align: center;
  letter-spacing: 1.90px;
  line-height: 35px;
}

.p-service-desktop .official-retailer-2 {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: flex-start;
  gap: 49px;
  padding: 10px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
}

.p-service-desktop .card-phase-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 30px 16px 50px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #ffffff;
}

.p-service-desktop .title-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0px -1px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-service-desktop .logo-2 {
  position: relative;
  width: 236px;
  height: 52px;
  background-color: #ffffff;
}

.p-service-desktop .official-retailer-2 .card-phase-2:nth-of-type(1) .logo-2 {
  background-image: url("../img/logo_epc.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.p-service-desktop .official-retailer-2 .card-phase-2:nth-of-type(2) .logo-2 {
  background-image: url("../img/logo_brownell.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.p-service-desktop .official-retailer-2 .image-phase {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 280px;
  background-color: #d9d9d9;
  background-size: cover;
  background-position: center;
}

.p-service-desktop .official-retailer-2 .card-phase-2:nth-of-type(1) .image-phase {
  background-image: url("../img/service/cribpoint.jpg");
}

.p-service-desktop .official-retailer-2 .card-phase-2:nth-of-type(2) .image-phase {
  background-image: url("../img/service/brownell.jpg");
}

.p-service-desktop .text-wrapper-16 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #859ea5;
  font-size: 19px;
  text-align: right;
  letter-spacing: 1.90px;
  line-height: 44px;
}

.p-service-desktop .p {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: transparent;
  font-size: 28px;
  line-height: 44px;
}

.p-service-desktop .text-wrapper-17 {
  font-weight: 700;
  color: #859ea5;
  letter-spacing: 0;
}

.p-service-desktop .text-wrapper-18 {
  color: #859ea5;
  letter-spacing: 0.78px;
}

.p-service-desktop .text-wrapper-19 {
  font-weight: 500;
  color: #000000;
  font-size: 22px;
  letter-spacing: 0.48px;
}

.p-service-desktop .div-3 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  letter-spacing: 1.60px;
  line-height: 24px;
}

.p-service-desktop .text-wrapper-20 {
  font-weight: 700;
  letter-spacing: 0.32px;
}

.p-service-desktop .text-wrapper-21 {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.28px;
}

.p-service-desktop .text-wrapper-22 {
  font-weight: 700;
  color: #859ea5;
  letter-spacing: 0.78px;
}

.p-service-desktop .link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-service-desktop .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-service-desktop .frame {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-service-desktop .text-wrapper-23 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.p-service-desktop .polygon {
  position: relative;
  width: 16.5px;
  height: 19.05px;
}

.p-service-desktop .contact-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #647b84;
}

.p-service-desktop .link .link-download {
  background-color: #172a4a;
}

.p-service-desktop .service-image {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 10px 10px;
  padding: 20px 20px 160px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-service-desktop .servicei-mage {
  position: relative;
  width: 310px;
  height: 422px;
  background: linear-gradient(
      0deg,
      rgba(217, 217, 217, 1) 0%,
      rgba(217, 217, 217, 1) 100%
    ),
    linear-gradient(
      0deg,
      rgba(217, 217, 217, 1) 0%,
      rgba(217, 217, 217, 1) 100%
    ),
    linear-gradient(
      0deg,
      rgba(217, 217, 217, 1) 0%,
      rgba(217, 217, 217, 1) 100%
    );
}

.p-service-desktop .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  align-self: stretch;
  width: 100vw;
  flex: 0 0 auto;
  background-color: #172a4a;
  /* allow full-viewport width so footer background spans edges */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.p-service-desktop .footer-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-service-desktop .navi-2 {
  display: flex;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.p-service-desktop .text-wrapper-24 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.p-service-desktop .footer-3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-service-desktop .leftbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.p-service-desktop .text-wrapper-25 {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1.80px;
  line-height: normal;
}

.p-service-desktop .text-wrapper-26 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: normal;
}

.p-service-desktop .text-wrapper-27 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: right;
  letter-spacing: 4.00px;
  line-height: normal;
}

.p-service-desktop .footer-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-service-desktop .logo-3 {
  position: relative;
  width: 226px;
  height: 52px;
  background-color: #d9d9d9;
}

.p-service-desktop .element-wrapper {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.p-service-desktop .element-f {
  position: relative;
  width: 365px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
}

.p-service-desktop .div-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-service-desktop .text-wrapper-28 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}
/* Inject original CSS code here */

.p-service-desktop a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.p-service-desktop a:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.p-service-desktop a:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.p-service-desktop .header a.dl,
.p-service-desktop .header a.contact {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-service-desktop .dl-btn,
.p-service-desktop .contact-btn {
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.p-service-desktop .dl-btn:hover {
  background-color: #1a1a1a;
}

.p-service-desktop .contact-btn:hover {
  background-color: #526a73;
}

.p-service-desktop .dl-btn:active,
.p-service-desktop .contact-btn:active {
  transform: scale(0.98);
}

.p-service-desktop address {
  font-style: normal;
}

.p-service-desktop .text-wrapper-27 {
  text-decoration: none;
  display: block;
}

.p-service-desktop .text-wrapper-27:hover {
  opacity: 0.9;
}


@media (max-width: 767px) {
.p-service-desktop .mroda-image{
  width: 100%;
  max-width: 479px;
  height: auto;
  aspect-ratio: 479 / 319;
  }

.p-service-desktop .mroda-intro{
  width: 100%;
  max-width: 406px;
  }


.p-service-desktop .mroda {
  min-width: 0;
  }


.p-service-desktop .koichi-kato {
  font-size: 28px;
  line-height: 38px;
  }

.p-service-desktop .text-wrapper-5 {
  font-size: 21px;
  }

.p-service-desktop .text-wrapper-6 {
  font-size: 18px;
  }

.p-service-desktop .text-wrapper-7 {
  font-size: 27px;
  line-height: 34px;
  }

.p-service-desktop .text-wrapper-8 {
  font-size: 20px;
  line-height: 32px;
  }

.p-service-desktop .element {
  font-size: 16px;
  line-height: 32px;
  }

.p-service-desktop .phase {
  flex-direction: column;
  }

.p-service-desktop .card-phase{
    width: 100%;
  }
}

/* ===== Home layout switch ===== */

/* SP + TAB 共通（1511px） */
.p-home-mobile.div,
.p-home-mobile.p-home-desktop {
  display: flex;
}

/* ===== 1stview: tablet tuning (SP版をタブレットで自然に伸縮) ===== */
@media (min-width: 768px) and (max-width: 1511px) {
  .p-home-mobile.div .text-wrapper {
    font-size: clamp(32px, 3vw, 44px);
    letter-spacing: 0.08em;
  }

  .p-home-mobile.div .element {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.8;
    letter-spacing: 0.08em;
  }

  .p-home-mobile.div .contact-btn {
    width: auto;                  /* 350px固定を解除 */
    min-width: 280px;
    max-width: 360px;
  }
}

/* =========================================================
   Global header/footer switch (ONE source of truth)
   ========================================================= */

/* header base */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
}

/* footer base */
.site-footer {
  width: 100%;
}

/* default: mobile only */
.site-header--tablet,
.site-header--desktop,
.site-footer--tablet,
.site-footer--desktop {
  display: none;
}

/* tablet */
@media (min-width: 768px) and (max-width: 1511px) {
  .site-header--mobile,
  .site-footer--mobile {
    display: none;
  }
  .site-header--tablet,
  .site-footer--tablet {
    display: block;
  }
}

/* desktop */
@media (min-width: 1512px) {
  .site-header--mobile,
  .site-header--tablet,
  .site-footer--mobile,
  .site-footer--tablet {
    display: none;
  }
  .site-header--desktop,
  .site-footer--desktop {
    display: block;
  }
}

@media (max-width: 767px) {
  .p-home-mobile .sec-hero-3 {
    gap: clamp(16px, 4vw, 24px);
  }
  .p-home-mobile .main-right-3 {
    min-height: auto;
    justify-content: flex-start;
    gap: clamp(18px, 5vw, 28px);
  }
}

/* =========================
   改行制御（PC / SP）
========================= */

/* デフォルト：PC表示 */
.br-pc { display: inline; }

/* スマホだけ切り替え */
@media (max-width: 767px) {
  .br-pc { display: none; }
}

.service-footer-gap {
  height: 72px;
  width: 100%;
}


/* ================================================================
   フッター修正用CSS（元々各HTMLにインラインで記述されていたもの）
   ================================================================ */

/* 共通: フッターコンテナの幅制限を解除 */
.footer-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  min-height: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.footer-container .footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* company.html: mainの下パディングをリセット */
main.p-company-desktop {
  padding-bottom: 0 !important;
}

/* cases.html: mainの下パディングをリセット */
main.p-cases-desktop {
  padding-bottom: 0 !important;
}

/* service.html: mainの下パディングをリセット */
main.p-service-desktop {
  padding-bottom: 0 !important;
}

/* company.html: フッターCSSを強制適用 */
.p-company-desktop.footer-container .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-company-desktop.footer-container .footer-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-company-desktop.footer-container .navi-2 {
  display: flex;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.p-company-desktop.footer-container .text-wrapper-8 {
  position: relative;
  width: fit-content;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
  font-family: "Noto Sans JP", Helvetica;
  line-height: normal;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-company-desktop.footer-container .text-wrapper-8:hover {
  opacity: 0.8;
}

.p-company-desktop.footer-container .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-company-desktop.footer-container .dl-btn:hover {
  opacity: 0.8;
}

.p-company-desktop.footer-container .frame {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-company-desktop.footer-container .text-wrapper-9 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.p-company-desktop.footer-container .polygon {
  position: relative;
  width: 16.5px;
  height: 19.05px;
}

.p-company-desktop.footer-container .contact-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #647b84;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-company-desktop.footer-container .contact-btn:hover {
  opacity: 0.8;
}

.p-company-desktop.footer-container .footer-3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-company-desktop.footer-container .text-wrapper-31 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
}

.p-company-desktop.footer-container .text-wrapper-31 a {
  color: #f3f6fa;
  text-decoration: none;
}

.p-company-desktop.footer-container .footer-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-company-desktop.footer-container .logo-2 {
  position: relative;
  width: 226px;
  height: 52px;
  background-image: url(../img/logo.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-company-desktop.footer-container .element-wrapper {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.p-company-desktop.footer-container .element {
  position: relative;
  width: 365px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
  font-style: normal;
}

.p-company-desktop.footer-container .footer-5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-company-desktop.footer-container .text-wrapper-13 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}

/* cases.html: フッターCSSを強制適用 */
.p-cases-desktop.footer-container .footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop.footer-container .footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop.footer-container .navi {
  display: flex;
  list-style: none;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  margin: 0;
  padding: 0;
}

.p-cases-desktop.footer-container .navi-link {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-cases-desktop.footer-container .navi-link:hover {
  opacity: 0.8;
}

.p-cases-desktop.footer-container .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-cases-desktop.footer-container .dl-btn:hover {
  opacity: 0.8;
}

.p-cases-desktop.footer-container .btn-content {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-cases-desktop.footer-container .btn-text {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.p-cases-desktop.footer-container .polygon {
  position: relative;
  width: 16.5px;
  height: 19.05px;
}

.p-cases-desktop.footer-container .contact-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #647b84;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-cases-desktop.footer-container .contact-btn:hover {
  opacity: 0.8;
}

.p-cases-desktop.footer-container .footer-contact {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop.footer-container .leftbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  flex: 1;
}

.p-cases-desktop.footer-container .contact-info {
  position: relative;
  align-self: stretch;
  margin: 0;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1.80px;
  line-height: normal;
}

.p-cases-desktop.footer-container .contact-hours {
  position: relative;
  align-self: stretch;
  margin: 0;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: normal;
}

.p-cases-desktop.footer-container .phone-number {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: right;
  letter-spacing: 4.00px;
  line-height: normal;
  text-decoration: none;
}

.p-cases-desktop.footer-container .footer-company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop.footer-container .logo {
  position: relative;
  width: 226px;
  height: 52px;
  background-image: url(../img/logo.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-cases-desktop.footer-container .company-address {
  position: relative;
  width: 365px;
  margin: 0;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
  font-style: normal;
}

.p-cases-desktop.footer-container .footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-cases-desktop.footer-container .copyright {
  position: relative;
  flex: 1;
  margin: 0;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}

/* service.html: フッターCSSを強制適用 */
.p-service-desktop.footer-container .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  align-self: stretch;
  width: 100vw;
  flex: 0 0 auto;
  background-color: #172a4a;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.p-service-desktop.footer-container .footer-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 16px;
  padding: 50px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-service-desktop.footer-container .navi-2 {
  display: flex;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.p-service-desktop.footer-container .text-wrapper-24 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-service-desktop.footer-container .text-wrapper-24:hover {
  opacity: 0.8;
}

.p-service-desktop.footer-container .dl-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #323333;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.p-service-desktop.footer-container .dl-btn:hover {
  background-color: #1a1a1a;
}

.p-service-desktop.footer-container .contact-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: #647b84;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.p-service-desktop.footer-container .contact-btn:hover {
  background-color: #526a73;
}

.p-service-desktop.footer-container .frame {
  display: flex;
  width: 193px;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.p-service-desktop.footer-container .text-wrapper-23 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.p-service-desktop.footer-container .polygon {
  position: relative;
  width: 16.5px;
  height: 19.05px;
}

.p-service-desktop.footer-container .footer-3 {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px 9px;
  padding: 30px 49px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-service-desktop.footer-container .text-wrapper-27 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  text-decoration: none;
  display: block;
}

.p-service-desktop.footer-container .text-wrapper-27:hover {
  opacity: 0.9;
}

.p-service-desktop.footer-container .footer-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 13px;
  padding: 45px 69px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #172a4a;
}

.p-service-desktop.footer-container .logo-3 {
  position: relative;
  width: 226px;
  height: 52px;
  background-image: url(../img/logo.png);
  background-size: cover;
  background-position: 50% 50%;
}

.p-service-desktop.footer-container .element-wrapper {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.p-service-desktop.footer-container .element-f {
  position: relative;
  width: 365px;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
  font-style: normal;
}

.p-service-desktop.footer-container .div-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #323333;
}

.p-service-desktop.footer-container .text-wrapper-28 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}

/* ================================================================
   Card Frame Overrides (from card-frame-overrides.css)
   ================================================================ */
@media (max-width: 767px) {
  .p-home-mobile .card-frame {
    width: calc(100% - 20px);
    margin: 0 10px;
  }
}


/* ================================================================
   Contact Page Styles (from contact.css)
   ================================================================ */
.p-contact-desktop {
  display: flex;
  flex-direction: column;
  max-width: 1512px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
  position: relative;
  background-color: #f3f6fa;
  box-sizing: border-box;
}

.p-contact-desktop .containar {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  align-items: flex-start;
  gap: 50px;
  padding: 68px 10px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-contact-desktop .feed {
  display: flex;
  flex-direction: column;
  max-height: 270px;
  align-items: flex-start;
  padding: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.p-contact-desktop .feed-title {
  display: flex;
  width: 100%;
  max-width: 643px;
  box-sizing: border-box;
  align-items: center;
  gap: 45px;
  position: relative;
  flex: 0 0 auto;
}

.p-contact-desktop .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 25px;
  letter-spacing: 0;
  line-height: 80px;
  white-space: nowrap;
}

.p-contact-desktop .div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #647b84;
  font-size: 14.4px;
  line-height: 1;
  letter-spacing: 0;
  background: none;
  height: auto;
  width: auto;
}

.p-contact-desktop .description {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 45px;
  background-color: #ffffff;
  border: 1px solid;
  border-color: #647b84;
}

.p-contact-desktop .feed-2 {
  display: flex;
  flex-direction: column;
  max-height: 880px;
  height: 481px;
  align-items: flex-start;
  padding: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.p-contact-desktop .description-2 {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 361px;
  background-color: #ffffff;
  border: 1px solid;
  border-color: #647b84;
  aspect-ratio: 3 / 4;
  min-height: 280px;
}

.p-contact-desktop .send {
  display: flex;
  flex-direction: column;
  max-height: 270px;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 38px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-contact-desktop .send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #647b84;
  border: 1px solid;
}

.p-contact-desktop .text-wrapper-2 {
  width: fit-content;
  margin-top: -1.00px;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: center;
  line-height: 80px;
  white-space: nowrap;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  letter-spacing: 0;
}

.p-contact-desktop .div-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 45px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-contact-desktop .text-wrapper-3 {
  flex: 1;
  margin-top: -1.00px;
  font-weight: 400;
  color: #000000;
  font-size: 21px;
  line-height: 25px;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  letter-spacing: 0;
}

.p-contact-desktop .footer {
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  align-items: center;
  justify-content: center;
  gap: 10px 10px;
  padding: 10px 0px;
  position: relative;
  flex: 0 0 auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #f3f6fa;
}

body.contact-page {
  overflow-x: hidden;
}

.p-contact-desktop .p {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}
/* Original CSS should be injected here */

.p-contact-desktop .description {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  padding: 8px 12px;
  font-family: "Noto Sans JP", Helvetica;
  font-size: 16px;
  line-height: 1.5;
}

.p-contact-desktop .description-2 {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  padding: 8px 12px;
  font-family: "Noto Sans JP", Helvetica;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}

.p-contact-desktop .send-btn {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-color: #647b84;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.p-contact-desktop .send-btn:hover {
  background-color: #556a73;
}

.p-contact-desktop .send-btn:active {
  background-color: #4a5d66;
}

.p-contact-desktop .send-btn:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.p-contact-desktop .description:focus,
.p-contact-desktop .description-2:focus {
  outline: 2px solid #4a90e2;
  outline-offset: -2px;
  border-color: #4a90e2;
}

.p-contact-desktop .red-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  background-color: transparent;
  max-width: none;
  width: auto;
  height: auto;
}

.p-contact-desktop .red-icon .text-wrapper-3 {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  font-size: 12px;
  color: #647b84;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  padding: 0;
  height: auto;
  text-align: left;
}

.p-contact-desktop .feed-title {
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .p-contact-desktop {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .p-contact-desktop .containar {
    padding: 40px 16px;
    max-width: none;
    width: 100%;
  }

  .p-contact-desktop .feed,
  .p-contact-desktop .feed-2,
  .p-contact-desktop .send {
    padding: 16px;
  }

  .p-contact-desktop .feed-title {
    gap: 16px;
    width: 100%;
    max-width: none;
  }

  .p-contact-desktop .text-wrapper {
    font-size: 18px;
    line-height: 32px;
    white-space: normal;
  }
  .p-contact-desktop .div {
    height: auto;
    line-height: 32px;
  }

  .p-contact-desktop .description,
  .p-contact-desktop .description-2 {
    height: auto;
  }

  .p-contact-desktop .send-btn {
    width: 100%;
  }

  .p-contact-desktop .text-wrapper-2 {
    font-size: 28px;
    white-space: normal;
    line-height: 32px;
  }

  .p-contact-desktop .div-wrapper {
    gap: 20px;
  }

  .p-contact-desktop .footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-color: #868383;
  }
}

/* ================================================================
   Download Page Styles (from dl.css)
   ================================================================ */
.p-dl-desktop {
  display: flex;
  flex-direction: column;
  max-width: 1512px;
  width: 100%;
  align-items: flex-start;
  position: relative;
  margin: 0 auto;
  background-color: #f3f6fa;
  box-sizing: border-box;
}

.p-dl-desktop .containar {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  align-items: flex-start;
  gap: 50px;
  padding: 68px 10px;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f3f6fa;
}

.p-dl-desktop .pdf-image {
  position: relative;
  align-self: stretch;
  width: 100%;
  aspect-ratio: 1.58;
}

.p-dl-desktop .pdf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-dl-desktop .text-wrapper {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #647b84;
  font-size: 40px;
  letter-spacing: 0;
  line-height: normal;
}

.p-dl-desktop .div {
  align-self: stretch;
  font-weight: 400;
  color: #000000;
  font-size: 21px;
  line-height: 34px;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  letter-spacing: 0;
}

.p-dl-desktop .feed {
  display: flex;
  flex-direction: column;
  max-height: 270px;
  align-items: flex-start;
  padding: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-dl-desktop .feed-title {
  display: flex;
  align-items: center;
  gap: 45px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-dl-desktop .text-wrapper-2 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 25px;
  letter-spacing: 0;
  line-height: 80px;
  white-space: nowrap;
}

.p-dl-desktop .red-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  background-color: transparent;
  max-width: none;
  width: auto;
  height: auto;
}

.p-dl-desktop .red-icon .text-wrapper-3 {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  font-size: 14.4px;
  color: #647b84;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  padding: 0;
  height: auto;
  text-align: left;
}

.p-dl-desktop .description {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 45px;
  background-color: #ffffff;
  border: 1px solid;
  border-color: #647b84;
}

.p-dl-desktop .send {
  display: flex;
  flex-direction: column;
  max-height: 270px;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 38px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-dl-desktop .send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #647b84;
  border: 1px solid;
}

.p-dl-desktop .text-wrapper-4 {
  width: fit-content;
  margin-top: -1.00px;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: center;
  line-height: 80px;
  white-space: nowrap;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  letter-spacing: 0;
}

.p-dl-desktop .div-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 45px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.p-dl-desktop .text-wrapper-5 {
  flex: 1;
  margin-top: -1.00px;
  font-weight: 400;
  color: #000000;
  font-size: 21px;
  line-height: 25px;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  letter-spacing: 0;
}

  .p-dl-desktop .footer {
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    height: 39px;
    align-items: center;
    justify-content: center;
    gap: 10px 10px;
    padding: 10px 0px;
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #f3f6fa;
  }

.p-dl-desktop .p {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #000000;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}
/* Original CSS code should be injected here */

.p-dl-desktop .download-form {
  display: contents;
}

.p-dl-desktop .description {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  padding: 8px 12px;
  font-family: "Noto Sans JP", Helvetica;
  font-size: 16px;
  line-height: 1.5;
}

.p-dl-desktop .send-btn {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-color: #647b84;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.p-dl-desktop .send-btn:hover {
  background-color: #556a73;
}

.p-dl-desktop .send-btn:active {
  background-color: #4a5f68;
}

.p-dl-desktop .send-btn:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.p-dl-desktop .description:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
  border-color: #4a90e2;
}

@media (max-width: 767px) {
  .p-dl-desktop .containar {
    padding: 40px 16px;
    max-width: none;
    width: 100%;
  }

  .p-dl-desktop .feed,
  .p-dl-desktop .send {
    padding: 16px;
  }

  .p-dl-desktop .feed-title {
    gap: 16px;
    flex-wrap: wrap;
  }

  .p-dl-desktop .text-wrapper-2 {
    font-size: 18px;
    line-height: 32px;
    white-space: normal;
  }

  .p-dl-desktop .text-wrapper-3 {
    font-size: 16px;
    line-height: 32px;
  }

  .p-dl-desktop .send-btn,
  .p-dl-desktop .download-form {
    width: 100%;
  }

  .p-dl-desktop .footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #868383;
  }
}

/* ================================================================
   統一フッターCSS
   ================================================================ */

/* フッター全体 */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  width: 100%;
  background-color: #172a4a;
}

/* フッターナビゲーション */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 50px 10px;
  width: 100%;
  background-color: #172a4a;
}

/* リンクリスト */
.footer-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 400px;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.footer-link {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

/* フッターボタン共通 */
.footer-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.footer-btn--dl {
  background-color: #323333;
}

.footer-btn--dl:hover {
  background-color: #1a1a1a;
}

.footer-btn--contact {
  background-color: #647b84;
}

.footer-btn--contact:hover {
  background-color: #526a73;
}

.footer-btn__text {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.footer-btn__icon {
  width: 16.5px;
  height: 19.05px;
}

/* メールアドレスセクション */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 30px 49px;
  width: 100%;
  background-color: #172a4a;
}

.footer-email {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
}

.footer-email:hover {
  opacity: 0.9;
}

/* 会社情報セクション */
.footer-company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 45px 69px;
  width: 100%;
  background-color: #172a4a;
}

.footer-logo {
  position: relative;
  width: 226px;
  height: 52px;
  background-image: url(../img/logo.png);
  background-size: cover;
  background-position: 50% 50%;
}

.footer-address {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
  font-style: normal;
  margin: 0;
}

/* コピーライト */
.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0px;
  width: 100%;
  background-color: #172a4a;
}

.footer-copyright p {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .footer-nav {
    padding: 30px 10px;
  }
  
  .footer-links {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-btn {
    width: 100%;
    max-width: 320px;
  }
  
  .footer-contact {
    padding: 20px 10px;
  }
  
  .footer-company {
    flex-direction: column;
    padding: 30px 10px;
  }
  
  .footer-address {
    text-align: center;
  }
}

/* ================================================================
   統一フッターCSS
   ================================================================ */

/* 共通フッタースタイル - 全ページで使用 */
.footer-container .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px 0px;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #172a4a;
}

/* フッターナビゲーション */
.footer-container .footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 50px 10px;
  width: 100%;
  background-color: #172a4a;
}

.footer-container .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 400px;
  height: 62px;
}

.footer-container .footer-link {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-container .footer-link:hover {
  opacity: 0.8;
}

/* フッターボタン共通 */
.footer-container .footer-btn {
  display: inline-flex;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.footer-container .footer-btn--dl {
  background-color: #323333;
}

.footer-container .footer-btn--dl:hover {
  background-color: #1a1a1a;
}

.footer-container .footer-btn--contact {
  background-color: #647b84;
}

.footer-container .footer-btn--contact:hover {
  background-color: #526a73;
}

.footer-container .footer-btn-text {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 1.70px;
  line-height: normal;
  white-space: nowrap;
}

.footer-container .footer-btn-icon {
  width: 16.5px;
  height: 19.05px;
}

/* メールアドレスセクション */
.footer-container .footer-contact {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  padding: 30px 49px;
  width: 100%;
  background-color: #172a4a;
}

.footer-container .footer-email {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  letter-spacing: 4.00px;
  line-height: normal;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-container .footer-email:hover {
  opacity: 0.9;
}

/* 会社情報セクション */
.footer-container .footer-company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 45px 69px;
  width: 100%;
  background-color: #172a4a;
}

.footer-container .footer-logo {
  width: 226px;
  height: 52px;
  background-image: url(../img/logo.png);
  background-size: cover;
  background-position: 50% 50%;
}

.footer-container .footer-address {
  width: 365px;
  margin: 0;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  letter-spacing: 1.20px;
  line-height: 19px;
  font-style: normal;
}

/* コピーライトセクション */
.footer-container .footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
  width: 100%;
  background-color: #172a4a;
}

.footer-container .footer-copyright-text {
  flex: 1;
  margin: 0;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 500;
  color: #f3f6fa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1.20px;
  line-height: 19px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .footer-container .footer-nav {
    padding: 30px 10px;
    gap: 12px;
  }

  .footer-container .footer-links {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 16px;
  }

  .footer-container .footer-btn {
    width: 100%;
    max-width: 250px;
  }

  .footer-container .footer-email {
    font-size: 18px;
    letter-spacing: 0;
    word-break: break-all;
  }

  .footer-container .footer-company {
    flex-direction: column;
    padding: 30px 20px;
  }

  .footer-container .footer-address {
    width: 100%;
    text-align: center;
  }
}
