/**
 *
 * File page-service.css
 * Usage: page-service.phpのスタイルを定義します。
 * 
*/

.ly_message {
  background: #fd5500;
  min-height: 100svh;
}

.bl_messageFvContWrap {
  padding: 100px 0 80px;
}

.bl_messageFvCont {
  transform: skewY(-5deg);
  background: var(--color-text);
  position: relative;
  overflow-x: clip;
}

.bl_messageFvCont::before {
  content: 'ICHINOSHIKI';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: clamp(3.125rem, 0.4464rem + 13.3929vw, 12.5rem);
  font-family: 'Inter', sans-serif;
  text-align: center;
  letter-spacing: 0.04em;
  transform: translateY(-100%);
  font-weight: 900;
  line-height: 0.6;
  color: var(--color-text);
  transform: skewY(5deg) rotate(-5deg) translateY(-100%);
}

.ly_messageFvWrap,
.ly_messageText {
  position: relative;
}

.bl_messageFvContInner {
  transform: skewY(5deg);
  padding-inline: 20px;
  position: relative;
}

.bl_messageFvContInnerGroup {
  display: contents;
}

.bl_messageFvDirector {
  max-width: 282px;
  margin-inline: auto -20px;
}

.bl_messageFvText {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 90%);
}

.bl_messageFvContInner p {
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  margin-top: 84px;
}

.bl_messageFvContInner p:last-child {
  margin-top: 32px;
  padding-bottom: 40px;
  font-size: clamp(0.875rem, 0.7679rem + 0.5357vw, 1.25rem);
  transform: skew(-8deg);
}

.bl_messageAboutSection {
  margin-block: 64px 80px;
  overflow: clip;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.bl_messageAboutSectionImg {
  max-width: calc(100% - 20px);
}

.bl_messageAboutSectionImg.md_alignRight {
  margin-inline: auto 0;
}

.bl_messageAboutSectionCont {
  color: #fff;
  padding-inline: 20px;
  font-weight: 500;
  font-size: 18px;
}

.bl_messageAboutSectionCont h2 {
  font-size: clamp(1.5rem, 1.2143rem + 1.4286vw, 2.5rem);
  font-weight: 500;
  margin-bottom: 40px;
}

.bl_messageAbout {
  padding-bottom: 20px;
}

.ly_video {
  margin: -1px;
}

.ly_video .bl_video {
  padding-block: 160px;
}

.bl_videoFooter {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bl_videoFooterImg {
  width: fit-content;
  margin-inline: auto;
}

.bl_videoFooterCont {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
}

.bl_videoFooterCont h3 {
  font-size: 24px;
  font-weight: 500;
}

.ly_messageCompanyWrap {
  position: relative;
}

.ly_messageCompany {
  padding: 80px 20px 120px;
  color: #fff;
}

.bl_messageCompanyTtl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bl_messageCompanyTtl span {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bl_messageCompanyTtl span svg path {
  fill: #fff;
}

.bl_messageCompanyTtl h3 {
  font-size: clamp(1.5rem, 1.2143rem + 1.4286vw, 2.5rem);
  font-weight: 500;
}

.bl_messageCompanyInfo {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
}

.bl_messageCompanyInfo li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid #fff;
}

.ly_content {
  overflow: clip;
}

.ly_content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12vw;
  transform: skewY(-5deg) translateY(-50%);
  background: #fd5500;
}

.bl_content {
  padding-top: 40px;
}

@media screen and (min-width: 768px) {
  .bl_messageFvContInner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    column-gap: 20px;
  }

  .bl_messageFvText {
    position: static;
    transform: none;
  }

  .bl_messageFvContInner > p {
    order: 4;
    margin-top: 80px;
    max-width: 520px;
  }

  .bl_messageFvContInner {
    max-width: 1072px;
    margin: 0 auto;
    position: relative;
    top: -100px;
  }

  .bl_messageFvContInnerGroup {
    display: flex;
    flex-direction: column;
    order: -1;
    grid-area: 1 / 1 / 3 / 2;
    padding-bottom: 50px;
    justify-content: flex-end;
  }

  .bl_messageFvDirector {
    max-width: 580px;
    width: 100%;
  }

  .bl_messageAboutSection {
    margin-bottom: 120px;
    max-width: 1440px;
    margin-inline: auto;
  }

  .bl_messageAboutSectionImg {
    max-width: 800px;
  }

  .bl_messageAboutSectionImg.md_alignRight {
    margin-inline: auto 0;
  }

  .bl_messageAboutSectionCont {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1080px;
    margin-inline: auto;
    gap: 40px;
    width: 100%;
    justify-content: space-between;
  }

  .bl_messageAboutSectionCont h2 {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .bl_messageAboutSectionCont:has(h2.hp_txtRight) {
    flex-direction: row-reverse;
  }

  .bl_messageAboutSectionCont p {
    max-width: 520px;
  }

  .bl_messageAboutSectionImg {
    position: relative;
  }

  .bl_messageAboutSectionImg img {
    position: relative;
    z-index: 1;
  }

  .bl_messageAboutSectionImg::after {
    position: absolute;
    top: 0;
    right: 0;
    aspect-ratio: 1.6;
    width: 100%;
    max-height: 340px;
    max-width: 580px;
    transform: skewY(-5deg) translate(90%, 30%);
    content: '';
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
  }

  .bl_messageAboutSectionImg.md_alignRight::after {
    left: 0;
    right: unset;
    transform: skewY(-5deg) translateX(-90%);
  }

  .bl_video {
    max-width: 1080px;
  }

  .bl_videoFooter {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
  }

  .bl_videoFooterCont {
    gap: 40px;
  }

  .ly_messageCompany {
    max-width: 1080px;
    margin-inline: auto;
    padding-bottom: 80px;
  }

  .bl_messageCompanyInfo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 40px;
  }
  .bl_messageCompanyInfo li {
    flex-direction: row;
  }

  .bl_messageCompanyInfo li:nth-child(3) {
    grid-area: 3 / 1 / 5 / 2;
  }

  .bl_messageCompanyInfo li span:first-child {
    width: 100px;
    flex-shrink: 0;
  }

  .ly_content {
    padding-block: 160px;
  }

  .ly_content::before {
    height: 10vw;
  }
}
