
.p-footer {
  padding-top: 85px;
  width: 100%;
  background-color: #ecf7f2;
  font-size: 14px;
  font-weight: 400;
  color: #555555;
}
@media screen and (max-width: 768px) {
  .p-footer {
    padding-top: 6.588579795vw;
  }
}

.p-footer__inner {
  width: 1366px;
  padding-inline: calc(70 / 1366 * 100vw);
  margin-inline: auto;
}
@media screen and (max-width: 1366px) {
  .p-footer__inner {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .p-footer__inner {
    padding-inline: 70px;
  }
}

.p-footer__content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 90px;
  padding-bottom: 179px;
}
@media screen and (max-width: 1333px) {
  .p-footer__content {
    align-items: center;
    flex-direction: column;
    gap: calc(90 / 1366 * 100vw);
    padding-bottom: calc(179 / 1366 * 100vw);
  }
}
.p-footer__left {
  display: flex;
  flex-direction: column;
  gap: 27px;
  padding-left: 74px;
}
@media screen and (max-width: 1366px) {
  .p-footer__left {
    padding-left: calc(74 / 1366 * 100vw);
  }
}
@media screen and (max-width: 768px) {
  .p-footer__left {
    padding-left: 0px;
  }
}
.p-footer__logo {
  width: 165.62px;
  height: auto;
}
.p-footer__office--address {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-footer__office {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.p-footer__office p {
  font-size: 13px;
}
.p-footer__office p:nth-of-type(1) {
  font-weight: 600;
}
.p-footer__address {
  display: flex;
  flex-direction: column;
}
.p-footer__address p {
  font-size: 13px;
  letter-spacing: 0;
}
.p-footer__address p:nth-of-type(1) {
  font-weight: 600;
}

.p-footer__right {
  color: #333333;
}

.p-footer__nav {
  display: flex;
  flex-direction: row;
}
@media screen and (max-width: 1333px) {
  .p-footer__nav {
    align-items: center;
  }
}
@media screen and (max-width: 768px) {
  .p-footer__nav {
    flex-direction: column;
    gap: 30px;
  }
}

.p-footer__nav-item {
  width: 182px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 19px;
  padding-left: 18px;
  padding-right: 40px;
  border-left: 1px solid #d2d9e0;
  font-weight: 500;
}
@media screen and (max-width: 1333px) {
  .p-footer__nav-item {
    padding-inline: 30px;
  }
  .p-footer__nav-item:last-child {
    border-right: 1px solid #d2d9e0;
  }
}
@media screen and (max-width: 768px) {
  .p-footer__nav-item {
    width: min(85.3333333333vw, 320px);
    border-left: 0px solid #d2d9e0;
    border-right: 0px solid #d2d9e0;
    border-bottom: 1px solid #d2d9e0;
    padding-block: 15px;
  }
  .p-footer__nav-item:last-child {
    border-right: 0px solid #d2d9e0;
    border-bottom: 0px solid #d2d9e0;
  }
}

.p-footer__copyright {
  display: flex;
  justify-content: center;
  padding-bottom: 17px;
  border-top: 1px solid #d2d9e0;
  color: #7e7e7e;
}



/* =========================
   CTA
========================= */
.p-cta {
  position: relative;
}
.p-cta__page-bg {
  position: absolute;
  background-color: #f7f7f3;
  height: 200px;
  width: 100%;
  z-index: -1;
}
.p-cta::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  border-radius: 10px 10px 0 0;
  top: 25%;
  bottom: 0;
  background: #ecf7f2;
  z-index: -1;
}

.p-cta__inner {
  max-width: 1326px;
  width: 100%;
  margin-inline: auto;
}

.p-cta__box {
  position: relative;
}

/* =========================
   背景（パララックス）
   1366時：1326px / それ以上は広げない
========================= */
.p-cta__bg {
  width: 100%;
  max-width: 1326px;
  margin-inline: auto;
  height: clamp(240px, 34.0409956076vw, 465px);
  background: url("https://zil-inc.co.jp/system_panel/uploads/images/img_cta_bg.jpg") center/cover no-repeat;
  border-radius: 10px;
  overflow: hidden;
}
@media screen and (max-width: 1366px) {
  .p-cta__bg {
    width: 97.0717423133vw;
  }
}
@media (min-width: 1024px) {
  .p-cta__bg {
    background-attachment: fixed;
  }
}
/* =========================
   白カード（背景に重ねる）
   最大1260pxで縮小追従
========================= */
.p-cta__content {
  position: relative;
  width: 100%;
  max-width: 1226px;
  margin-inline: auto;
  margin-top: clamp(-196px, -14.3484626647vw, -196px);
  padding: clamp(24px, 4.39238653vw, 60px);
  padding-right: clamp(24px, 5.3440702782vw, 73px);
  display: grid;
  grid-template-columns: clamp(240px, 35.2122986823vw, 481px) 1fr;
  -webkit-column-gap: 90px;
     -moz-column-gap: 90px;
          column-gap: 90px;
  row-gap: clamp(12px, 1.317715959vw, 18px);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  z-index: 0;
}
@media screen and (max-width: 1366px) {
  .p-cta__content {
    max-width: 89.7510980966vw;
    -webkit-column-gap: 6.588579795vw;
       -moz-column-gap: 6.588579795vw;
            column-gap: 6.588579795vw;
  }
}
.p-cta__content::before {
  content: "";
  position: absolute;
  background: url("https://zil-inc.co.jp/system_panel/uploads/images/img_ctg_treat.jpg") center top/cover no-repeat;
  bottom: 53px;
  right: 0px;
  width: 420px;
  height: 139px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .p-cta__content::before {
    opacity: 0.3;
    right: -60px;
  }
}

.p-cta__content > * {
  position: relative;
  z-index: 1;
}

/* =========================
   左：人物画像
========================= */
.p-cta__image {
  grid-column: 1;
  grid-row: 1/span 2;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 481/336;
}

.p-cta__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* =========================
   右：テキストエリア
   （中で「見出し行」と「説明文」を縦積み）
========================= */
.p-cta__text {
  grid-column: 2;
  grid-row: 1/span 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 27px;
}

.p-cta__headline {
  margin-top: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
}

.p-cta__titles {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.p-cta__label {
  font-size: 14px;
  letter-spacing: 1px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  line-height: 1;
  opacity: 1;
}

.p-cta__title {
  margin: 0;
  font-family: "Belleza", sans-serif;
  font-size: clamp(44px, 6.0029282577vw, 82px);
  letter-spacing: clamp(1px, 0.1976573939vw, 2.7px);
  line-height: 1;
  opacity: 1;
}

.p-cta__arrowButton {
  margin-top: 40px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  background: #fbfbf8;
  text-decoration: none;
  color: #5fb38d;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: transform 0.2s ease, background 0.2s ease;
  transition: transform 0.2s ease, background 0.2s ease, -webkit-transform 0.2s ease;
}
.p-cta__arrowButton img {
  width: 18.96px;
}
@media screen and (max-width: 1366px) {
  .p-cta__arrowButton {
    margin-top: 2.9282576867vw;
  }
}

.p-cta__arrowButton:hover {
  background: #f6f6f6;
  -webkit-transform: translateX(2px);
          transform: translateX(2px);
}

.p-cta__arrowButton span {
  font-size: 18px;
  line-height: 1;
}

.p-cta__description {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.6px;
  color: #555555;
  font-weight: 600;
}

/* =========================
   768以下：1カラム
========================= */
@media (max-width: 768px) {
  .p-cta__content {
    margin-top: -60px;
    padding: 24px 20px;
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
  .p-cta__image {
    grid-column: 1;
    grid-row: 1;
    width: min(90%, 420px);
    margin-inline: auto;
  }
  .p-cta__text {
    width: 300px;
    margin-inline: auto;
    grid-column: 1;
    grid-row: 2;
    gap: 15px;
  }
  .p-cta__headline {
    margin-top: 15px;
  }
  .p-cta__title {
    font-size: clamp(30px, 12vw, 40px);
  }
  .p-cta__description {
    padding-bottom: 30px;
  }
}


/* =========================
   To-top
========================= */
.p-to-top {
  width: 102px;
  height: 102px;
  position: fixed;
  bottom: 30px;
  right: 140px;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 22px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  padding-top: 12px;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  /* default: hidden */
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.2s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.2s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.2s ease;
}
@media screen and (max-width: 1366px) {
  .p-to-top {
    right: 10.2489019034vw;
  }
}
@media screen and (max-width: 768px) {
  .p-to-top {
    right: 20px;
  }
}

.p-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.p-to-top:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
          box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.p-to-top__arrow {
  width: 10px;
  height: auto;
  display: block;
}

.p-to-top__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
}

.p-to-top img {
  overflow: hidden;
}


