/*
Theme Name: Latent
Theme URI: https://latent.co.jp
Author: kuro81
Version: 1.0.0
*/

/*common*/
:root {
  --main-color: #d6c3b4;
  --sub-gray: #646464;
  --background-color: #f4f1ec;
  --border-color: #828282;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #646464;
  letter-spacing: 0.17em;
}
.wrap {
  width: 1200px;
  max-width: 100vw;
  margin: auto;
}
.btn {
  border: 1px solid var(--border-color);
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  font-size: 14px;
  width: 212px;
  line-height: 60px;
  box-sizing: border-box;
  text-align: center;
  color: var(--border-color);
  display: inline-block;
  text-decoration: none;
  transition: all 0.5s ease;
  a {
    text-decoration: none;
    color: var(--border-color);
  }
  &::before,
  &::after {
    content: "";
    position: absolute;
    display: block !important;
    background: var(--border-color);
  }
  &::before {
    top: 50%;
    right: -16px;
    width: 64px;
    height: 1px;
  }
  &::after {
    top: calc(50% - 4px);
    right: -16px;
    height: 1px;
    width: 8px;
    rotate: 45deg;
  }
  &:hover {
    background: var(--main-color);
    color: #646464;
    border: 1px solid var(--main-color);
    &::before,
    &::after {
      background: var(--main-color);
    }
  }
}
a {
  color: #646464;
}
#home {
  h2 {
    font-family: "Marcellus", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.25em;
    font-size: 50px;
    opacity: 0;
    color: var(--main-color);
  }
  div#n2-ss-2 .n2-ss-slide {
    place-items: end !important;
  }
}

p {
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0.17em;
  color: #646464;
}
.notosans {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.notoserif {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.marcellus-regular {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-style: normal;
}
.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.eb-garamond {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/*header*/

header {
  font-size: 14px;
  position: relative;
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-style: normal;
  a {
    text-decoration: none;
    transition: all 0.5s ease;
    font-family: "Marcellus";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.1em;
    &:hover {
      color: var(--main-color);
    }
  }
  h1 {
    position: relative;
    margin: 27px 0 25px 0;
    img {
      &:first-of-type {
        transition: opacity 0.5s;
      }
      &:last-of-type {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s;
      }
    }
    &:hover img {
      &:first-of-type {
        opacity: 0;
      }
      &:last-of-type {
        opacity: 1;
      }
    }
  }
  .wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .btnContact {
    position: absolute;
    background: var(--main-color);
    top: 0;
    right: 0;
    padding: 24px;
    text-align: center;
    transition: all 0.5s ease;
    span {
      font-weight: bold;
      display: block;

      font-family: "Noto Serif JP";
      font-style: normal;
      font-weight: 700;
      font-size: 16px;
      line-height: 19px;
      text-align: center;
      letter-spacing: 0.1em;
    }
    &:hover {
      background: var(--sub-gray);
      a {
        color: var(--main-color);
      }
    }
  }
  #hamburger {
    display: none;
  }
  #menu {
    display: none;
  }
}
/*footer*/
footer {
  margin-top: 68px;
  .footer_logo {
    a {
      text-decoration: none;
      transition: all 0.5s ease;
      display: inline-block;
      width: fit-content;
      p {
        transition: all 0.5s all;
      }
      &:hover {
        color: #d6c3b4 !important;
        p {
          color: #d6c3b4 !important;
        }
        img {
          &:first-of-type {
            opacity: 0;
          }
          &:last-of-type {
            opacity: 1;
          }
        }
      }
    }
    img {
      &:first-of-type {
        transition: opacity 0.5s;
      }
      &:last-of-type {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s;
      }
    }
  }
  .logo {
    width: fit-content;
    margin: auto;
    position: relative;
  }
  .container {
    background: #464646;
    text-align: center;
    padding: 32px 0 28px 0;
    p {
      font-family: "Roboto", sans-serif;
      font-optical-sizing: auto;
      font-style: normal;
      font-variation-settings: "wdth" 100;
      font-size: 10px;
      color: #7e7e7e;
      margin: 0 0 16px 0;
      z-index: 100;
    }
    ul {
      width: 700px;
      max-width: 100vw;
      font-family: "Marcellus", serif;
      font-weight: 400;
      font-style: normal;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: space-between;
      margin: auto;
      li {
        list-style: none;
        font-size: 14px;
        line-height: 28px;

        a {
          color: #fff;
          text-decoration: none;
          transition: all 0.5s ease;
          &:hover {
            color: #d6c3b4;
          }
        }
      }
    }
  }
  .footer_sns {
    padding: 20px;
    margin: 0;
    background: #5e5e5e;
    display: flex;
    justify-content: center;
    font-weight: bold;
    li {
      list-style: none;
      text-align: center;
      border-right: 1px solid #fff;
      padding: 30px 20px 0 20px;
      align-items: baseline;

      &:last-child {
        border-right: none;
        margin-right: 110px;
      }
      a {
        text-decoration: none;
        color: #fff;
        display: flex;
        height: 100%;
        align-items: center;
        position: relative;
        transition: all 0.5s ease;
        &::before {
          position: absolute;
          top: -30px;
          left: calc(50% - 12px);
          content: url("images/instagram.png");
          display: block;
          margin: auto;
          transition: all 0.5s ease;
        }
        &:hover {
          color: #d6c3b4;
          &::before {
            filter: brightness(0) saturate(100%) invert(93%) sepia(3%)
              saturate(2302%) hue-rotate(328deg) brightness(84%) contrast(101%);
          }
        }
      }
    }
  }
  .copyright {
    background: #464646;
    text-align: center;
    font-family: "Marcellus", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 20px;
    color: #fff;
    font-size: 14px;
  }
}
.viewmore {
  text-align: center;
  margin: 24px 0 53px 0;
}
/*トップページ*/
#home {
  #hero {
    margin-top: 24px;
    position: relative;
    letter-spacing: 30% !important;
    &::before {
      content: "";
      display: block;
      width: 90vw;
      height: 100%;
      background: var(--background-color);
      position: absolute;
      top: -24px;
      left: 0;
    }
    .btn {
      padding: 8px 46px;
      margin-top: 42px;
    }
  }
  #concept {
    margin-top: 100px;

    background: linear-gradient(
      73.69deg,
      rgba(250, 249, 249, 0.5) 6.87%,
      rgba(236, 236, 236, 0.5) 47.28%,
      rgba(218, 218, 218, 0.5) 93.52%
    );

    padding: 66px 0;
    .wrap {
      display: flex;
      gap: 122px;
      justify-content: center;
    }
    h2 {
      text-align: right;
      margin-top: 0;
    }
    .left,
    .right {
      max-width: 100vw;
      width: 472px;
      font-weight: bold;
      img {
        max-width: 100%;
      }
    }
    .right {
      p {
        margin: 63px 0 43px 0;
      }
      .btn {
        float: right;
      }
    }
    .container {
      position: relative;
      text-align: right;
      margin-top: 114px;
      p {
        position: absolute;
        /* background: red; */
        writing-mode: vertical-rl;
        font-weight: bold;
        font-size: 20px;
        color: var(--sub-gray);
        right: 0px;
        top: -64px;
        padding: 1rem;
        text-align: left;
        margin: 0;
        span {
          background: #fff;
          display: inline-block;
          height: 100%;
          margin: 0 0.25rem;
          padding: 0.5em 0.25rem;
          letter-spacing: 0.2em;
        }
      }
    }
  }
  #news {
    position: relative;
    h2 {
      position: absolute;
      right: 0;
      height: 100%;
      text-align: center;
      writing-mode: vertical-rl;
      white-space: nowrap;
    }
    .wrap {
      width: 668px;
      padding: 100px 0;
      div {
        display: flex;
        font-size: 14px;
        dt {
          width: 5em;
        }
        dd {
          text-decoration: none;

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

  #service {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(
      73.69deg,
      rgba(250, 249, 249, 0.5) 6.87%,
      rgba(236, 236, 236, 0.5) 47.28%,
      rgba(218, 218, 218, 0.5) 93.52%
    );
    color: var(--sub-gray);
    h2 {
      position: absolute;
      top: 80px;
      left: 50px;
      writing-mode: vertical-rl;
      white-space: nowrap;
    }
    h3 {
      font-size: 16px;
      margin-top: 0;
    }
    p {
      font-weight: bold;
      font-size: 12px;
      line-height: 20px;
      width: 300px;
    }
    ul {
      font-weight: bold;
    }
    .wrap {
      display: flex;
      gap: 100px;
      align-items: stretch;
    }
    .forBussiness {
      justify-content: flex-end;
    }
    .forConsumer {
      margin-top: 40px;
      justify-content: center;
    }
  }
  #caseStudy {
    h2 {
      margin: 76px auto;
      text-align: center;
    }
    .wrap {
      width: 1037px;
      max-width: 100vw;
      box-sizing: border-box;
      background: var(--background-color);
      padding: 42px 120px;
      display: flex;
      justify-content: center;
      gap: 68px;
      .btn {
        float: right;
      }
    }
    span {
      font-size: 12px;
      font-weight: bold;
      letter-spacing: 0.15em;
      display: block;
      text-align: right;
      margin-top: 10px;
      color: var(--sub-gray);
    }
    h3 {
      font-size: 16px;
      font-weight: normal;
      letter-spacing: 0.1em;
      line-height: 28px;
    }
    p {
      font-size: 12px;
      font-weight: 0.1em;
      line-height: 18px;
      margin-bottom: 2rem;
    }
    .btn {
      margin: auto;
    }
  }
  #company {
    margin-top: 181px;
    .container {
      position: relative;
      width: 100vw;
      z-index: 100;

      .company {
        transisiton: all 0.5s ease;
        &:hover {
          opacity: 0.5 !important;
        }
        transition: all 0.5s ease;
        background: url("images/company_background.jpg");
        background-repeat: no-repeat;
        margin: 0 20px 0 auto;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        height: 440px;
        margin-top: 100px;
        width: 1200px;
        max-width: calc(100vw - 20px);
        a {
          text-decoration: none;
          color: #646464;
        }

        div {
          font-family: "Marcellus", serif;
          font-weight: 400;
          font-style: normal;
          text-align: center;
          height: 100%;
          width: fit-content;
          margin-left: 100px;
          display: flex;
          flex-direction: column;
          justify-content: center;

          p {
            &:first-child {
              font-family: "Marcellus";
              font-style: normal;
              font-weight: 400;
              font-size: 30px;
              line-height: 30px;
              text-align: center;
              letter-spacing: 0.15em;
              color: #828282;
            }

            font-family: "Marcellus";
            font-style: normal;
            font-weight: 400;
            font-size: 30px;
            line-height: 30px;
            text-align: center;
            letter-spacing: 0.15em;

            color: #c4c4c4;

            &:last-child {
              font-family: "Noto Serif JP";
              font-style: normal;
              font-weight: 700;
              font-size: 20px;
              line-height: 24px;
              text-align: center;
              letter-spacing: 0.1em;

              color: #646464;
            }
          }
        }
      }
      .background {
        position: absolute;
        display: block;
        width: 1200px;
        height: 440px;
        max-width: calc(100vw - 20px);
        background: var(--background-color);
        top: -95px;

        z-index: -1;
        left: 20px;
      }
    }
  }

  #contact {
    position: relative;
    color: #565454;
    &::after {
      content: "";
      position: absolute;
      width: 1200px;
      max-width: 90vw;
      height: 60%;
      display: block;
      background: var(--background-color);
      top: 30%;
      right: 0;
      z-index: -1;
    }
    h2 {
      text-align: center;
    }
    .wrap {
      width: 840px;
      box-sizing: border-box;
      max-width: 100vw;
      background: #ffffff;
      box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
      padding: 50px 100px;
      font-size: 16px;
      font-weight: bold;
      form {
        margin: 0 15px;
      }
      .open_pp {
        text-decoration: underline;
        transisiton: all 0.5s ease;
        &:hover {
          color: #999999;
        }
      }
      p {
        line-height: 0.4em;
        letter-spacing: 0;
      }
      input[type="text"],
      input[type="email"],
      input[type="tel"],
      select,
      textarea {
        width: 100%;
        border: solid 1px #e1e1e1;
        padding: 20px;
        background: #f4f4f5;
        border-radius: 5px;
        margin: 16px 0;
        font-family: "Noto Serif JP", serif;
        font-optical-sizing: auto;
        font-style: normal;
        box-sizing: border-box;
        &::placeholder {
          color: #a8a8a8;
        }
      }

      option {
        color: #646464;
        &first-child {
          color: #a8a8a8;
        }
      }

      .required::after {
        content: "必須";
        font-size: 12px;
        border-radius: 5px;
        padding: 0 4px;
        background: var(--sub-gray);
        color: #fff;
        margin-left: 4px;
      }
    }
    .btn {
      display: block;
      width: fit-content;
      padding: 0;
      margin: 44px auto;
      font-family: "Marcellus";
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 18px;
      /* ボックスの高さと同一 */
      text-align: center;
      letter-spacing: 0.05em;

      color: #646464;

      p {
        margin: 0;
        input {
          background: rgba(250, 255, 255, 0);
			padding: 21px 90px;
          width: 100%;
          height: 100%;
          outline: none;
          border: none;
        }
        .has-spinner {
          position: relative;
          font-family: "Marcellus";
          font-size: 14px;
        }
        .wpcf7-spinner {
          position: absolute;
          top: 50%;
          left: 50%;
        }
      }
    }
    .notice {
      font-size: 14px;
      line-height: 24px !important;
      font-weight: normal;
    }
  }
}
#partner {
  margin-top: 68px;
  .sns_partner {
    display: flex;
    justify-content: flex-end;
    background-image: url(images/pertner.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.25));
    div {
      width: 780.96px;
      box-sizing: border-box;
      padding: 60px 44px 36px 124px;
      background: linear-gradient(
        270deg,
        #f4f1ec 90.87%,
        rgba(244, 241, 236, 0) 100%
      );
    }
    h3 {
      font-size: 32px;
      font-weight: normal;
      margin-bottom: 0;
    }
    p {
      margin: 0;
    }
    ul {
      display: flex;
      gap: 68px;
      padding-left: 0;
      margin: 20px 0;
      li {
        list-style: none;
        font-size: 16px;
        line-height: 28px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-decoration: underline;
      }
    }
    .btnArea {
      text-align: right;
    }
  }
  .services {
    display: flex;
    padding: 0;
    gap: 16px;
    margin: 32px auto 68px auto;
    .btn {
      margin-right: 12px;
    }
    > li {
      list-style: none;
      filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.25));
      padding: 40px 32px;
      background: url(images/cta_background.png);
      flex: 1;
      filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.25));
      box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
      background-color: rgba(255, 255, 255, 0.8);
      /* background-blend-mode: lighten; */
      background-repeat: no-repeat;
      background-size: cover;
      &:last-child {
        background-position: top right;
      }
    }
    h3 {
      font-weight: 400;
      font-size: 24px;
      line-height: 34px;
      margin: 0;
      color: #646464;
    }
    p {
      margin: 0;
      font-weight: 400;
      font-size: 14px;
      line-height: 16px;
      letter-spacing: 0.05em;
      color: #646464;
      margin-bottom: 64px;
    }
    .services_detail {
      display: flex;
      justify-content: space-between;
      ul {
        padding-left: 1em;
      }
      li {
        list-style: none;

        font-weight: 700;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0;
        color: #646464;
        &:before {
          content: ".";
        }
      }
    }
  }
}
#letsStart {
  background: url("https://latent.co.jp/wp-content/uploads/2025/09/lets_start.jpg");
  background-size: cover;
  background-position: center;
  filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.25));
  padding: 48px;
  box-sizing: border-box;

  p {
    text-align: left;
    margin-left: 63px;
  }
  img {
    max-width: 70%;
  }
}
#company {
  #letsStart {
    margin-top: -46px;
  }
}

@media screen and (max-width: 1332px) {
  header {
    .wrap {
      width: 1068px;
    }
  }
}

@media screen and (max-width: 1200px) {
  header {
    .wrap {
      a {
        display: none;
      }
      h1 {
        margin: 4px;
        a {
          display: block;
          img {
            height: 30px;
          }
        }
      }
    }
    .btnContact {
      display: none;
    }
    #menu.open {
      a {
        img {
          height: 30px;
        }
      }
      position: fixed;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      z-index: 10000;
      width: 100vw;
      height: 100dvh;
      background: #d6c3b4;
      top: 0;
      text-align: center;
      padding-top: 18.76px;
      ul {
        margin: 0;
        padding: 0;
      }
      li {
        list-style: none;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: 0.1em;
        color: #646464;
        a {
          display: inline-block;
          padding: 16px 0;
        }
      }
      .container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        height: calc(100% - 60px);
      }
      .header_sns {
        padding: 20px 0 40px 0;
        margin: 0;
        background: #fff;
        display: flex;
        justify-content: center;
        font-weight: bold;

        li {
          flex: 1;
          list-style: none;
          text-align: center;
          border-right: 1px solid #646464;
          padding: 30px 5px 0 5px;
          align-items: baseline;
          font-size: 12px;
          letter-spacing: 0;
          &:last-child {
            border-right: none;
          }
          a {
            text-decoration: none;
            color: #646464;
            display: flex;
            height: 100%;
            align-items: center;
            position: relative;
            font-family: "Noto Serif JP", serif;
            font-style: normal;
            font-weight: 700;
            font-size: 12px;
            line-height: 14px;

            text-align: center;
			  justify-content:center;
            letter-spacing: 0;
            br {
              display: none;
            }

            &::before {
              position: absolute;
              top: -10px;
              left: calc(50% - 12px);
              content: url("images/instagram_gray.png");
              display: block;
              margin: auto;
            }
          }
        }
      }
    }

    #hamburger {
      z-index: 100000;
      position: fixed;
      top: 0;
      right: 0;
      width: 56px;
      height: 56px;
      background: #d6c3b4;
      display: inline-block;
      transition: all 0.5s;
      box-sizing: border-box;

      text-align: center;

      span {
        position: absolute;
        left: calc(50% - 12.5px);
        width: 25px;
        height: 1px;
        background-color: #646464;
        border-radius: 4px;
        display: inline-block;
        transition: all 0.5s;
        box-sizing: border-box;
        &:nth-of-type(1) {
          top: 20px;
        }
        &:nth-of-type(2) {
          top: calc(50% - 1px);
        }
        &:nth-of-type(3) {
          bottom: 20px;
        }
      }
      &.open {
        span {
          &:nth-of-type(1) {
            transform: translateY(8px) rotate(-45deg);
          }
          &:nth-of-type(2) {
            opacity: 0;
          }
          &:nth-of-type(3) {
            transform: translateY(-8px) rotate(45deg);
          }
        }
      }
    }
  }
  h2 {
    font-size: 36px;
  }
  div#n2-ss-2 .n2-font-211d17b7749937190ca6fecef4eefa43-paragraph,
  div#n2-ss-2 .n2-style-13b3dcb408cd92cc640e02e1d3e1db17-heading {
    font-size: 16px !important;
  }
  #home {
    h2 {
      font-size: 36px;
    }
    #hero {
      margin-left: 17vw;
      width: 83vw;
      .btn {
        margin: 42px auto 0 auto;
      }
      &::before {
        left: -17vw;
      }
    }
    #concept {
      h2 {
        text-align: left;
      }
      .wrap {
        flex-direction: column;
        padding: 0;
        padding-left: 24px;
        box-sizing: border-box;
      }
      .container {
        width: fit-content;
        /*         margin-left: 16px; */
        max-width: calc(100vw - 16px);
        p {
          font-size: 14px;
          padding: 8px;
        }
      }
      .left {
        max-width: calc(100vw - 24px);
        img {
          width: 220px;
        }
      }
      .right {
        width: 90%;
        max-width: calc(90vw - 24px);
        margin-left: 10vw;
        img {
          width: 100%;
        }
        .concept_text {
          padding-right: 16px;
        }
      }
      .btn {
        float: right;
        margin-right: 40px;
      }
    }
    #news {
      .wrap {
        width: 80vw;
        div {
          flex-direction: column;
          margin-bottom: 45px;
          dt {
            margin-bottom: 23px;
          }
          dd {
            margin-left: 0;
          }
        }
      }
    }
    #service {
      padding: 24px;
      h2 {
        position: inherit;
        writing-mode: horizontal-tb;
        top: 0;
        left: 0;
        margin: 0;
      }
      p {
        width: 100%;
      }
      .btn {
        margin: auto;
      }
      .wrap {
        width: calc(100vw - 48px);
        text-align: center;
        padding: 0;
        ul,
        p,
        h3 {
          text-align: left;
        }
        ul {
          margin: 28px 0 25px 0;
        }
        p {
          margin-bottom: 25px;
        }
      }
      img {
        max-width: calc(100vw - 48px);
      }
      .forBussiness {
        flex-direction: column-reverse;
        gap: 25px;
      }
      .forConsumer {
        flex-direction: column;
        gap: 25px;
      }
    }
    #casestudy {
      .pageHeader {
        h2 {
          color: #646464;

          text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
        }
		  
      }
      .wrap {
        flex-direction: column;
      }
    }
    #company {
      margin-top: 82px;
      .container {
        .company {
          background: url(images/company_background_sp.jpg);
          background-position: left top;
          background-size: cover;
          margin: 0 24px;
          max-width: calc(100vw - 48px);
          height: 400px;
          div {
            text-align: left;
            margin-left: 16px;
            padding-bottom: 40px;
            align-items: flex-start;
            justify-content: flex-end;
            box-sizing: border-box;
            p {
              margin: 0;
              &:first-child {
                font-family: "Marcellus";
                font-style: normal;
                font-weight: 400;
                font-size: 16px;
                line-height: 30px;
                letter-spacing: 0.15em;
              }
              font-family: "Marcellus";
              font-style: normal;
              font-weight: 400;
              font-size: 16px;
              line-height: 30px;

              letter-spacing: 0.15em;
              color: #c4c4c4;
              text-shadow: 0px 0px 4px #ffffff;
              &:last-child {
                font-family: "Noto Serif JP";
                font-style: normal;
                font-weight: 700;
                font-size: 12px;
                line-height: 14px;
                text-align: center;
                letter-spacing: 0.1em;
                color: #646464;
              }
            }
          }
        }
        .background {
          max-width: calc(100vw - 48px);
          left: -24px;
          top: -30px;
          height: 360px;
        }
      }
    }
    #contact {
      .wrap {
        margin: 0 auto;
        max-width: calc(100vw - 40px);
        padding: 16px;
        form {
          margin: 0;
        }
        input[type="text"],
        input[type="email"],
        input[type="tel"],
        select,
        textarea {
          padding: 5px;
        }
        p {
          line-height: 1.2em;
        }
      }
      .wpcf7-list-item {
        margin: 0;

        label {
          align-items: start;
          gap: 0.5em;
          font-weight: 500;
          font-size: 12px;
          line-height: 20px;
        }
      }
      .btn {
        p {
          input {
            padding: 12px 54px;
          }
        }

        &::before {
          width: 40px;
        }
      }
    }
    #caseStudy {
      h2 {
        margin-bottom: 16px;
      }
      .wrap {
        padding: 25px 35px;
        text-align: center;
        gap: 12px;
        flex-wrap: wrap;
        width: calc(100vw - 48px);
        span {
          text-align: center;
        }
        p {
          text-align: left;
        }
        .btn {
          float: none;
        }
      }
      .viewmore {
        margin: 50px auto;
      }
    }
  }

  footer {
    .container {
      ul {
        display: none;
      }
    }
    .footer_sns {
      font-size: 10px;
      padding: 10px;
      li {
        flex: 1;
        padding: 30px 10px 0 10px;
        &:last-child {
          margin-right: 0;
        }
      }
    }
    .copyright {
      color: #fff;
    }
  }
  #partner {
    .sns_partner {
      width: calc(100vw - 32px);
      margin: auto;
      background-size: contain;
      padding: 0;
      h3 {
        font-size: 20px;
      }
      .btnArea {
        text-align: center;
      }
      div {
        text-align: center;
        width: 100%;
        padding: 16px;
        padding-bottom: 36px;
        background: linear-gradient(
          0deg,
          rgba(244, 241, 236, 1) 90.87%,
          rgba(244, 241, 236, 0) 100%
        );
        margin-top: 50%;
        ul {
          flex-direction: column;
          gap: 0;
        }
      }
    }
    .services {
      flex-direction: column;
      padding: 16px;
      width: 100%;
      > li {
        h3 {
          font-size: 20px;
          letter-spacing: 0;
        }
        padding: 40px 20px;
        /* margin: 16px; */
        text-align: center;
      }
      p {
        margin-bottom: 1em;
      }
      .services_detail {
        flex-direction: column;
        ul {
          width: fit-content;
          text-align: left;
          margin: auto;
        }
      }
      .btn {
        margin: 1em auto;
      }
    }
  }
  #letsStart {
    background-position: center center;
    text-align: center;
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.25));
    padding: 160px 10px 48px 10px;
    box-sizing: border-box;

    width: calc(100vw - 32px);
    p {
      margin-bottom: 128px;
      text-align: left;
      margin-left: 0;
    }
  }
}
.wpcf7-list-item {
  label {
    display: flex;
    line-height: 1em;
  }
}

/*sub common*/
.wp-singular {
  .pageHeader {
    position: relative;
    height: 436px;
    h2 {
      font-family: "Marcellus";
      font-style: normal;
      font-weight: 400;
      font-size: 48px;
      line-height: 60px;
      letter-spacing: 0.1em;

      position: absolute;
      font-size: 48px;
      letter-spacing: 0.1em;
      right: 0;
      opacity: 1;
      background-repeat: no-repeat;
      background-size: cover;
      text-indent: -1rem;
      width: 90vw;
      max-width: 100%;
      line-height: 400px;
      font-weight: normal;
    }
  }
  .title {
    margin-top: 60px;
    margin-bottom: 48px;
    h2 {
      font-family: "Marcellus";
      font-style: normal;
      font-weight: 400;
      font-size: 30px;
      line-height: 30px;
      /* ボックスの高さと同一、または100% */
      text-align: center;
      letter-spacing: 0.15em;

      color: #828282;

      + h3 {
        font-weight: 700;
        font-size: 16px;
        line-height: 23px;
        text-align: center;
        letter-spacing: 0.1em;
        color: #d6c3b4;
      }
    }
  }

  .wp-post-image {
    position: absolute;
    right: 0;
    top: 36px;
  }
  .background {
    background: var(--background-color);
    position: absolute;
    width: 1320px;
    height: 400px;
    max-width: 90vw;
    top: 0;
    left: 32px;
    z-index: -1;
  }

  /*sub separately*/
  &#company {
    .pageHeader {
      h2 {
        /* COMPANY */
        font-size: 48px;

        letter-spacing: 0.1em;
        color: #ffffff;
        text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
      }
    }

    .unlockingPotential {
      margin-top: 124px;
    }
    .konochikara {
      /* 個の力を、組織力へ。 */

      font-weight: 700;
      font-size: 16px;
      line-height: 23px;
      text-align: center;
      letter-spacing: 0.1em;

      color: #d6c3b4;
    }
  }
  #okite {
    margin-top: 76px;
    position: relative;
    background: url("https://latent.co.jp/wp-content/uploads/2025/10/creative_background_pc.png");
    background-size: cover;
    background-repeat: no-repeat;
    height: 430px;
    
    .wp-block-group {
      position: absolute;
      right: -32px;
      top: -32px;

      p {
        background: #fff;
        width: fit-content;
        box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
        padding: 8px 24px;
        margin: 0 0 8px 0;

        font-weight: 700;
        font-size: 20px;
        line-height: 29px;

        letter-spacing: 0.2em;

        color: #646464;
      }
    }
  }
  #creative {
    position: relative;

    width: 100vw;
    margin: -32px calc(-50.5dvw + 50%);

    font-weight: bold;
    /* background: linear-gradient(
      321.47deg,
      rgba(250, 249, 249, 0.5) 3.42%,
      rgba(236, 236, 236, 0.5) 31.03%,
      rgba(218, 218, 218, 0.5) 62.61%
    ); */
    background: #fff;
    h3 {
      font-size: 40px;
      line-height: 47px;
      color: #747474;
      font-weight: normal;
    }
    .okite_head {
      color: #747474;
      position: relative;
      font-family: "EB Garamond", serif;
      font-optical-sizing: auto;
      font-style: italic;
      font-weight: normal;
      font-size: 50px;
      display: flex;
      align-items: center;
      margin: 0;

      word-break: keep-all;
      &::before {
        content: "オキテ";

        font-family: "Noto Serif JP";
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 23px;
        letter-spacing: 0.15em;
        margin-right: 30px;
      }
      &::after {
        /* Line 2 */
        content: "";
        position: absolute;
        width: 48.08px;
        height: 0px;
        left: 50px;
        border: 1px solid #747474;
        transform: rotate(135deg);
      }
    }
    .creative_container {
      margin-top: -340px;
      background-image: linear-gradient(
        321.47deg,
        rgba(252, 252, 252, 1) 3.42%,
        rgba(245, 245, 245, 1) 31.03%,
        rgba(236, 236, 236, 1) 62.61%
      );
      box-sizing: border-box;
      padding: 126px 20px 20px 170px;

      background-size: 90% 100%;
      background-repeat: no-repeat;
      p {
        font-weight: 700;
        font-size: 12px;
        line-height: 18px;

        letter-spacing: 0.1em;

        color: #646464;
      }
      .kakeru {
        font-weight: 700;
        font-size: 16px;
        line-height: 28px;

        letter-spacing: 0.1em;

        color: #646464;
      }
    }
    .okite01 {
      gap: 64px;
      width: 500px;
      max-width: 100%;
      div {
        flex-basis: fit-content;
      }
    }
    .okite02_text {
      padding-top: 100px;
    }
    .okite03 {
      margin-top: 68px;
      justify-content: center;
      width: 472px;
      max-width: 100%;
      margin: auto;
      .okite03_text {
        margin-top: 40px;
      }
    }
  }
  .our_brand_misshion {
    font-family: "Marcellus";
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 0;
    text-align: center;
    letter-spacing: 0.15em;

    color: #828282;
  }
  .omoi {
    font-family: "Noto Serif JP";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    letter-spacing: 0.1em;

    color: #d6c3b4;
  }
  .ourBrandMission_container {
    width: 992px;
    margin: auto;
    max-width: calc(100% - 32px);
  }
  .our_brand_misshion_text p {
    font-size: 12px;
    line-height: 24px;
    /* または167% */
    letter-spacing: 0.15em;
  }
  #companyProfile {
    width: 100vw;
    margin: 80px calc(-50.5dvw + 50%);
    background: url(images/company_profile_background.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 148px 0;
    > div {
      background: rgba(255, 255, 255, 0.7);
      margin-left: 20vw;
      padding: 80px 74px 80px 250px;
      position: relative;
    }
    h3 {
      position: absolute;
      transform: rotate(90deg);
      left: -124px;
      top: 220px;
      font-family: "Marcellus";
      font-style: normal;
      font-weight: 400;
      font-size: 30px;
      line-height: 30px;

      letter-spacing: 0.15em;

      color: #828282;
    }
    p {
      text-align: left;
      a {
        font-weight: 700;
        font-size: 12px;
        line-height: 28px;
        /* または233% */
        letter-spacing: 0.1em;

        color: #646464;
      }
    }
    dl {
      div {
        display: flex;

        font-family: "Noto Serif JP";
        font-style: normal;
        font-weight: 700;
        font-size: 12px;
        line-height: 28px;
        /* または233% */
        letter-spacing: 0.1em;

        color: #646464;

        dt {
          flex-basis: 8.5em;
          flex-grow: 0;
          flex-shrink: 0;
        }
        dd {
          margin-left: 0;
          position: relative;
          &::before {
            content: "|";
            position: absolute;
            left: -1.5em;
          }
        }
      }
    }
  }
  &#services {
    .service01_bv_title,
    .service02_bv_title {
      margin-top: 72px;
    }
    h2 {
      color: #bb9f83;
      text-shadow: 0px 0px 4px #ffffff, 0px 0px 15px #ffffff;
      background-repeat: no-repeat;
		background-position:center;
      &.title {
        margin: 120px 0 60px;

        font-family: "Marcellus";
        font-style: normal;
        font-weight: 400;
        font-size: 30px;
        line-height: 30px;
        /* ボックスの高さと同一、または47% */
        text-align: center;
        letter-spacing: 0.15em;

        color: #828282;
        span {
          font-size: 64px;
        }
      }
    }

    .forBusiness,
    .forConsumer {
      gap: 18px;
      width: 1024px;
      max-width: calc(100vw - 32px);
      margin: auto;
      .wp-block-column {
        padding: 20px;
        padding-top: 10px;
      }
      .btn:hover {
        background: #fff;
        &::before,
        &::after {
          background: #fff;
        }
      }

      h3 {
        font-family: "EB Garamond", serif;
        font-optical-sizing: auto;
        font-style: italic;
        font-weight: 400;
        font-size: 50px;
        line-height: 60px;
        color: #747474;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: start;
        &::after {
          font-weight: 700;
          font-size: 16px;
          line-height: 19px;
          text-align: center;
          padding: 4px;
        }
      }
      p {
        margin: 0;
      }
      .btn {
        float: right;
        margin-right: 20px;
        /*         margin-top: 20px; */
      }
    }
    .forBusiness {
      .wp-block-column {
        background: #e8ddd5;
      }
      h3::after {
        margin-top: 10px;
        content: "法人向け支援";
        color: #646464;
        background-color: #cab08d;
        font-style: normal;
      }
    }
    .forConsumer {
      margin-top: 18px;
      .wp-block-column {
        background: #f4f1ec;
        &:empty {
          background: initial;
        }
      }
      h3::after {
        content: "個人向け支援";
        color: #fff;
        background-color: #949494;
        font-style: normal;
      }
    }
    div[id^="service0"] {
      width: 100vw;
      margin: 32px calc(-50.5dvw + 50%);
      justify-content: center;
      .wrap {
        flex-basis: 1200px;
        flex-grow: 0;
        flex-shrink: 0;
        margin: 46px auto;
      }
      h2 {
        font-family: "EB Garamond", serif;
        font-optical-sizing: auto;
        font-style: italic;
        font-weight: 400;
        font-size: 50px;
        line-height: 60px;
        color: #747474;
        margin: 0;
      }
      h3 {
        font-family: "Marcellus";
        font-style: normal;
        font-weight: 400;
        font-size: 30px;
        line-height: 30px;
        /* ボックスの高さと同一、または100% */
        text-align: center;
        letter-spacing: 0.15em;
        margin-bottom: 0;
        color: #828282;
      }
      h4 {
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
        text-align: center;
        letter-spacing: 0.1em;
        margin: 16px auto 30px auto;
        color: #cab08d;
      }
    }
    #service01,
    #service02 {
      background: linear-gradient(
        /* 321.47deg, */ 231.47deg,
        rgba(250, 249, 249, 0.5) 3.42%,
        rgba(236, 236, 236, 0.5) 31.03%,
        rgba(218, 218, 218, 0.5) 62.61%
      );
      /* transform: rotate(-90deg); */
      .service_bussiness_text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      .service01_img,
      .service02_img {
        margin: 0;
        text-align: right;
      }
      h2::before {
        content: "for Business：法人向け支援";
        display: block;
        background: #646464;
        padding: 4px;
        font-family: "Noto Serif JP";
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
        width: fit-content;
        color: #ffffff;
        text-shadow: none;
        letter-spacing: 0;
      }
      .explanation {
        font-weight: 500;
        font-size: 12px;
        line-height: 18px;
        /* または150% */
        letter-spacing: 0.15em;
      }
      margin-top: 100px;
      dl {
        background: #fff;
        font-weight: 500;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0.15em;
        padding: 22px;
        margin: 0;
        dt {
          &::after {
            content: ":";
          }
        }
        dd {
          margin-left: 0;
        }
        div {
          margin-bottom: 1em;
        }
      }

      .gotTheseProbrems {
        background: #f4f1ec;
        .wp-block-columns .wp-block-column {
          position: relative;
          z-index: 100;

          &::after {
            content: "";
            position: absolute;
            z-index: -1;
            width: 200px;
            height: 200px;
            background: #ffffff;
            filter: blur(25px);
            top: calc(50% - 100px);
            left: calc(50% - 100px);
            border-radius: 100%;
            /* border-right: 1px solid #000; */
          }
          &::before {
            content: "";
            position: absolute;
            width: 1px;
            height: 60%;
            left: 0;
            top: 20%;
          }
          &:first-child::before {
            display: none;
          }

          h5 {
            font-family: "EB Garamond", serif;
            font-style: italic;
            font-weight: 400;
            font-size: 32px;
            line-height: 38px;
            margin: 0;
            color: #747474;
          }
        }
      }
      .gotTheseProbrems_list p {
        line-height: 20px;
      }

      .merit .wp-block-column {
        width: 280px;
        height: 280px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #e1d9ca;
        border-radius: 100%;
        p {
          line-height: 20px;
        }
      }
      .cta {
        > .wp-block-column {
          border: 1px solid #646464;
          margin-top: 75px;
          padding: 60px 24px;
          gap: 1rem;
          .wp-block-columns {
            margin-bottom: 0;
          }
          h4 {
            font-weight: 700;
            font-size: 30px;
            line-height: 36px;
            letter-spacing: 0.15em;
            text-align: left;
            margin: 0 0 30px 0;
            color: #646464;
          }
          p {
            margin: 0;
          }
          .linkArea {
            display: flex;
            flex-direction: column;
            justify-content: center;
            a {
              font-family: "Marcellus";
              font-style: normal;
              font-weight: 400;
              font-size: 18px;
              line-height: 23px;
              /* ボックスの高さと同一 */
              text-align: center;
              letter-spacing: 0.1em;
              display: inline-block;
              color: #646464;
              padding: 10px 40px;
              text-align: center;
              text-decoration: none;
              border: 1px solid #646464;
              transition: all 0.3s ease;
              &:hover {
                background: var(--main-color);
                color: #646464;
                border: 1px solid var(--main-color);
              }
            }
          }
        }
      }
    }
    #service03 {
      margin-top: 100px;
    }
    #service03,
    #service04,
    #service05,
    #service06,
    #service07 {
      background: #f4f1ec;
      figure {
        margin-bottom: 0;
      }
      h2::before {
        content: "for Consumer：一般消費者向け支援";
        display: block;
        background: #646464;
        padding: 4px;
        font-family: "Noto Serif JP";
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
        width: fit-content;
        color: #ffffff;
        text-shadow: none;
        letter-spacing: 0;
      }
      .explanation {
        font-weight: 500;
        font-size: 12px;
        line-height: 18px;
        /* または150% */
        letter-spacing: 0.15em;
      }
      .detail {
        background: #fff;
        padding: 20px;
        font-size: 12px;
        line-height: 18px;
        /* または150% */
        letter-spacing: 0.1em;
        margin-bottom: 0;
      }
      .wrap {
        position: relative;
        flex-basis: 932px;
      }
      .wp-block-column:has(.detail) {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      .btnArea {
        position: absolute;
        bottom: 30px;
        left: 100%;
        p {
          margin-bottom: 0;
        }

        .btn {
          text-align: center;
          letter-spacing: 0.05em;
          color: #646464;
          span {
            border-bottom: 8px solid #e1d9ca;
            transition: all 0.5s ease;
            display: inline-block;
            width: 8em;
            line-height: 1;
          }
          &:hover {
            span {
              border-bottom: 8px solid #646464;
            }
          }
        }
      }
    }
  }
  &#casestudy {
    .pageHeader {
		overflow:hidden;
      h2 {
        background-position: center center;
        color: #646464;
        text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
      }
		.background{
			  background:#E1D9CA;
		  }
    }
    h2 {
      margin-top: 58px;
    }
    h3 {
      font-weight: 700;
      font-size: 16px;
      line-height: 19px;
      text-align: center;
      letter-spacing: 0.1em;

      color: #cab08d;
      margin-bottom: 48px;
    }
    .case {
      background: #f0ece5;
      box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
      padding: 24px 20px;

      .movie {
        text-align: center;
        height: 480px;
        iframe {
          max-height: 100%;
          max-width: 100%;
        }
        &.tate {
          iframe {
            height: 100%;
            aspect-ratio: 9/16;
          }
        }
        &.yoko {
          display: flex;
          align-items: center;
          iframe {
            width: 100%;
            aspect-ratio: 16/9;
          }
        }
      }

      h4 {
        font-family: "EB Garamond", serif;
        font-style: italic;
        font-weight: 400;
        font-size: 42px;
        line-height: 50px;
        color: #747474;
        margin: 0;
        letter-spacing: 0;
      }
      p {
        margin: 0;
        font-size: 12px;
        font-weight: 500;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0.1em;
        margin-bottom: 8px;
      }
      .movieType {
        p {
          font-size: 16px;
        }
      }
      .movieWork {
        font-weight: 700;
        font-size: 16px;
        line-height: 19px;
        text-align: center;
        color: #ffffff;
        background: #646464;
      }
      .btnArea {
        text-align: right;
        margin-right: 12px;
      }
    }
  }
  .cta {
    margin-bottom: 80px;
    > .wp-block-column {
      border: 1px solid #646464;
      padding: 60px 24px;
      gap: 1rem;
      h4 {
        font-weight: 700;
        font-size: 30px;
        line-height: 36px;
        letter-spacing: 0.15em;
        text-align: left;
        margin: 0 0 30px 0;
      }
      p {
        margin: 0;
      }
      .wp-block-columns {
        margin-bottom: 0;
      }
      .linkArea {
        display: flex;
        flex-direction: column;
        justify-content: center;
        a {
          font-family: "Marcellus";
          font-style: normal;
          font-weight: 400;
          font-size: 18px;
          line-height: 23px;
          /* ボックスの高さと同一 */
          text-align: center;
          letter-spacing: 0.1em;
          display: inline-block;
          color: #646464;
          padding: 10px 40px;
          text-align: center;
          text-decoration: none;
          border: 1px solid #646464;
          transition: all 0.3s ease;
          width: 100%;
          box-sizing: border-box;
          &:hover {
            background: var(--main-color);
            color: #646464;
            border: 1px solid var(--main-color);
          }
        }
      }
    }
  }
  &#faq {
    .pageHeader {
      h2 {
        font-family: "Marcellus";
        font-style: normal;
        font-weight: 400;
        letter-spacing: 0.1em;

        color: #ffffff;

        text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
		  background-position:bottom 20% left 20%;
      }
      .background {
        background: #e1d9ca;
      }
    }

    dl {
      border-top: 1px solid #dddddd;
      position: relative;
      width: 1068px;
      max-width: calc(100vw - 32px);
      counter-reset: faq;
      margin: auto;
      &::before {
        content: "";
        top: -2px;
        display: block;
        position: absolute;
        left: 0;
        width: 16%;
        height: 3px;
        background: #4e4e4e;
      }
      div {
        counter-increment: faq;
        padding: 42px 0;

        font-family: "Noto Serif JP";
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 28px;
        letter-spacing: 0.1em;
        border-bottom: 1px solid #dddddd;

        dt {
          margin-left: 1.5em;
          margin-bottom: 20px;
          &::before {
            content: "Q" counter(faq) ".";
            margin-left: -1.5em;
          }
        }
        dd {
          font-weight: bold;
          margin-left: 0;
          margin-left: 1.5em;
          &::before {
            content: "A" counter(faq) ".";
            margin-left: -1.5em;
          }
        }
      }
    }
  }
  &#privacypolicy {
    .pageHeader {
      h2 {
        color: #646464;

        text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
		  background:center top 20%;
      }
      .background {
        background: #e1d9ca;
      }
    }
    .privacypolicy_text {
      border-top: 1px solid #dddddd;
      position: relative;
      width: 1068px;
      max-width: calc(100vw - 32px);
      counter-reset: faq;
      margin: auto;
      padding-top: 60px;
      &::before {
        content: "";
        top: -2px;
        display: block;
        position: absolute;
        left: 0;
        width: 16%;
        height: 3px;
        background: #4e4e4e;
      }
    }
    .wp-block-list,
    p {
      font-family: "Noto Serif JP";
      font-style: normal;
      font-weight: 400;
      font-size: 16px;
      line-height: 28px;
      /* または175% */
      letter-spacing: 0.1em;
    }
    li {
      margin-bottom: 1em;
      ul {
        margin-top: 1em;
        li {
          margin-bottom: 0;
          list-style: disc;
        }
      }
    }
    .close_page {
      font-family: "Marcellus";
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 18px;
      /* ボックスの高さと同一 */
      text-align: center;
      letter-spacing: 0.05em;
      color: #646464;
      padding: 20px 60px;
      transition: all 0.5s ease;
      width: fit-content;
      border: 1px solid #646464;
      margin: auto;
      cursor: pointer;
      &:hover {
        background: #d6c3b4;
        border: 1px solid #d6c3b4;
      }
    }
  }
}
@media screen and (max-width: 1200px) {
  .wp-singular {
    .wrap {
      padding: 16px;
      box-sizing: border-box;
    }
    .nowrap {
      word-break: keep-all;
      overflow-wrap: anywhere;
    }
    p {
      font-weight: 700;
      font-size: 12px;
      line-height: 24px;

      /*       text-align: center; */
      letter-spacing: 0.15em;

      color: #646464;
    }
    .title h2 {
      font-size: 21px;
    }
    &#company {
      .unlockingPotential {
        margin-top: 0;
      }
    }
    .pageHeader {
      h2 {
        /*         left: 1.25em; */
        font-family: "Marcellus";
        font-style: normal;
        font-weight: 400;
        font-size: 36px;
        line-height: 378px;
        letter-spacing: 0.1em;
        opacity: 1;
      }
      .background {
        left: 0;
      }
    }

    #okite {
      height: 640px;
      left: -16px;
      background:url("https://latent.co.jp/wp-content/uploads/2025/10/creative_background_sp.png");
      .wp-block-group {
        right: 0;
        p {
          font-size: 14px;

          line-height: 20px;
          letter-spacing: 0;

          color: #646464;
        }
      }
    }
    .okite_container {
      display: flex;
      flex-direction: column;
      .okite02_text,
      .okite03_text {
        order: -1;
      }
    }
    #creative {
      .creative_container {
        padding: 16px;
        background-size: 100% 100%;
        width: calc(100vw - 16px);
        margin-left: 16px;
        margin-top: -580px;
      }

      .okite02_text {
        margin-top: 48px;
        padding-top: 0;
      }
      .okite03 {
        .okite03_text {
          margin-top: 20px;
        }
      }
    }
    #companyProfile {
      > div {
        margin-left: 8px;
        padding: 16px;
      }
      h3 {
        position: static;
        transform: rotate(0deg);
      }
    }
    &#services {
      h2 {
        background-position: top 85% left 40%;
		  background-size:auto 140%;
        &.title {
          margin-top: 8px;
          margin-bottom: 46px;
        }
      }
      #service01,
      #service02 {
        margin-top: 48px;
        .header {
          flex-direction: column-reverse;
        }
        h2::before {
          font-size: 14px;
        }
        .merit .wp-block-column {
          height: auto;
          aspect-ratio: 1 / 1;
        }
        .gotTheseProbrems {
          padding: 0;
          width: 100%;
          .wp-block-columns {
            margin-top: 48px;
            .wp-block-column {
              &::before {
                top: -20px;
                left: 20%;
                width: 60%;
                height: 1px;
              }
            }
          }
        }
      }
      .cta {
        p {
          text-align: left;
        }
        > .wp-block-column {
          h4 {
            text-align: center !important;
          }
          .linkArea {
            p {
              text-align: center;
            }

            a {
              font-size: 10px !important;
              width: 142px;
              padding: 10px;
              margin: auto;
            }
          }
        }
      }

      #service03,
      #service04,
      #service05,
      #service06,
      #service07 {
        .wp-block-column:has(figure) {
          order: -1;
        }
        p {
          text-align: left;
        }

        .btnArea {
          position: static;
          p {
            text-align: center;
          }
        }
      }
    }
    &#casestudy {
      .pageHeader {
        .background {
          background: #e1d9ca;
        }
      }
      h2 {
        font-size: 36px;
        background-position: center;
        left: initial;
      }
      .case {
        .yoko {
          height: auto;
        }
        .btnArea {
          text-align: center;
        }
      }
      .cta > .wp-block-column {
        h4 {
          text-align: center !important;
        }
        .linkArea a {
          font-size: 10px;
          width: 142px;
          padding: 10px;
          margin: auto;
        }
      }
    }
	  &#faq{
		  .pageHeader{
			  h2{
				  background-position:bottom left 32%;
				  background-size:auto 150%;
			  }
		  }
	  }
	  	  &#privacypolicy {
		  .pageHeader{
			  h2{
				  background-position:center right 40%;
				  background-size:auto 145%;
			  }
		  }
			  .privacypolicy_text{
				  padding-top:30px;
			  }
	  }
	  .our_brand_misshion{
		font-size:21px;
	}
	.omoi{
		font-size:14px;
		margin:16px 0 36px 0;
	}
	  #companyProfile{
		  background-position:center center;
		  padding:45px 0;
	  }
  }
	
	

  .single {
    h2 {
      font-size: 48px;
      color: #646464;
      text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
    }
  }
}
@media screen and (max-width: 781px) {
  .wp-singular {
    #creative {
      .okite01 {
        gap: 0;
        figure {
          margin: 0;
          .wp-image-83,
          .wp-image-19 {
            position: absolute;
            right: calc(50% - 69px);
            top: 100px;
          }
        }
        .kakeru {
          margin: 0 0 77px 0;
        }
      }
      .okite02_text {
        figure {
          position: absolute;
          left: 50%;
          top: 120px;
        }
        .kakeru {
          margin-bottom: 100px;
        }
      }
      .okite03_text {
        gap: 0;
        figure {
          position: absolute;
          left: 50%;
          top: 120px;
        }
        .kakeru {
          margin-bottom: 100px;
        }
      }
    }
  }
}
