@charset "UTF-8";
body {
  	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
}
h1, h2, h3, h4, h5, h6 {
/*   font-family: sans-serif; */
  font-optical-sizing: auto;
/*   font-weight: 00; */
  font-style: normal;
}
.marquee_front {
  padding-block: clamp(1.375rem, 0.976rem + 1.28vw, 2.125rem);
  /* background-image: url(../../../uploads/2025/07/index_block_slide_bg.webp);
	background-repeat: no-repeat; */
  /* background-size: cover; */
  background-position: left bottom;
  background: linear-gradient(198deg, #d71518 20%, #e4b711 100%);
}
.hero-main {
  position: relative;
  height: 100svh;
  min-height: 600px;
  width: 100cqw;
  overflow: hidden;
  background-color: var(--imono_yamatai_r-sub1);
  .hero_main_1stinner {
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 1;
    color: var(--imono_yamatai_r-base);
    margin-inline: auto;
    transform: translateY(0);
    opacity: 1;
  }
  h1 {
    line-height: 1;
    padding-block-end: 3rem;
    text-align: center;
    overflow: hidden;
    font-family: serif;
    transition: unset;
    font-weight: 700;
    text-align: center;
    font-feature-settings: "palt" 1;
  }
  span {
    font-family: inherit;
    font-size: inherit;
  }
  .hero_main_1stinner.parallax-item h1 {
    transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    clip-path: inset(0 100%);
  }
  .parallax-item.show h1 {
    clip-path: inset(0 0);
  }
  figure.wp-block-video {
    position: relative;
    width: 100%;
    height: 100%;
    height: 100svh;
  }
  video {
    width: 100%;
    height: 100%;
    height: 100svh;
    object-fit: cover;
    object-position: center;
  }
  /* 文字が見にくいためグラデーションを下地に */
  figure::before {
    content: "";
    width: 100%;
    height: 30%;
    position: absolute;
    bottom: 0;
    background-image: linear-gradient(1turn, #414141e5, #ffffff00);
	mix-blend-mode: multiply;
  }
  figure::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: transparent;
	background-image: radial-gradient(#0000003b 30%, transparent 30%);
    background-size: 3px 3px;
	background-position: 0px 0px;
/* 	background-image: radial-gradient(#0000005c 28%, transparent 28%); */
/* 	background-image: radial-gradient(#0000003b 28%, transparent 28%);
    background-size: 3px 3px; */
	  
/*     background-image: linear-gradient(
      #00000015 4px,
      transparent 4px
      ),
      linear-gradient(
      -90deg,
      #00000015 4px,
      transparent 4px
      );
    background-position: 0 0;
    background-size:8px 8px; */
	  
    /*
    background-image: conic-gradient(rgba(0, 0, 0, 0.099) 0% 25%,
    transparent 25% 50%,
    rgba(0, 0, 0, 0.099) 50% 75%,
    transparent 75% 100%);
    background-size: 0.4rem 0.4rem
    */
	  
/* 	background-image:repeating-linear-gradient(-45deg, #00000021, #00000021 2px, transparent 0px, transparent 4px); */
/* background-image:radial-gradient(#00000021 20%, transparent 20%); background-size: 8px 8px; */
  }
}
@media(1024px > width) {
  .hero-main {
    .hero_main_1stinner {
      h1 {
        font-size: 98px;
        text-align: center;
        line-height: 1.1;
        letter-spacing: -2px;
      }
      span {
        display: block;
        letter-spacing: 0.025em;
        width: 100%;
        text-align: center;
        font-size: 81px;
        line-height: 1.2;
        letter-spacing: 0.14em;
      }
    }
  }
}
@media(1024px <=width) {
  .hero-main {
    .hero_main_1stinner {
      h1 {
        font-size: clamp(8rem, 2.143rem + 9.15vw, 13.125rem);
      }
    }
  }
}
.hero_main_2nd_inner {
  background-image: url("../../../uploads/2025/08/index_block02.webp");
  height: 668px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-content: center;
  align-items: center;
  justify-items: center;
  color: var(--imono_yamatai_r-base);
}
  /* gap:2.625rem; */

.hero_main_2nd_inner h2.notojp_sans {
    font-size: clamp(36px, 1.714rem + 1.43vw, 48px);
	font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    line-height: 1;
    text-shadow: 3px 3px 5px #000;
  }

.hero_main_2nd_inner p:nth-of-type(1) {
    font-size: clamp(18px, 0.857rem + 0.71vw, 24px);
    text-align: center;
    margin-block: 2.625rem 4.375rem;
	letter-spacing:3px;
	font-weight:700;
	text-shadow: 4px 4px 5px #000;
	
	br{display:none;}
	
	@media(600px >= width) {
	br{display:block;}
  }
}

.technology_top,
.equipment_top_block,
.company-block_inner,
.news_top_block {
  h2 {
    font-size: clamp(16px, 0.821rem + 0.48vw, 20px);
    color: var(--imono_yamatai_r-base);
  }
  h2.en::before,
  h2.en.gradient::before {
    font-size: clamp(42px, 2.357rem + 0.71vw, 48px);
    text-align: start;
    margin-inline: 0 auto
  }
	h2[title="EQUIPMENT"]::before{
		margin-block-end:0.7rem;
	}
	h2[title="EQUIPMENT"]{
		margin-block-end:2.05em;
	}
}
/* 技術紹介 */
.technology_top {
  padding-block: 106px 94px;
  background-image: url(../../../uploads/2025/07/index_block03.webp);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
.technology_top_inner {
  margin-block-start: 55px;
  display: grid;
  color: var(--imono_yamatai_r-base);
  justify-items: center;
  align-items: center;
  >div {
    p {
      line-height: 2;
    }
  }
  p:has(a.page-link) {
    justify-self: end;
  }
}
@media(823px > width) {
  .technology_top_inner {
    gap: 2rem;
    p:has(a.page-link) {
      justify-self: unset;
    }
  }
}
@media(823px <=width) {
  .technology_top_inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
.technology_details {
  background-color: var(--imono_yamatai_r-sub1);
  display: grid;
  position: relative;
  counter-reset: details_num 0;
  background-color: var(--imono_yamatai_r-sub1);
  >div {
    counter-increment: details_num 1;
    height: 100%;
    aspect-ratio: 1 / 1.4;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: grid;
    align-items: end;
    padding-inline: 3.5rem;
    padding-block-end: clamp(37px, 0.125rem + 5.83vw, 86px);
	font-feature-settings: "palt";
    h3 {
      font-size: 22px;
      padding-block-end: 2rem;
    }
    h3::before {
      content: counter(details_num, decimal-leading-zero)". ";
      display: block;
      background: linear-gradient(90deg, #012371, #00a0f7);
      background-clip: text;
      color: transparent;
      font-size: 40px;
      font-family: Oswald, sans-serif;
      width: fit-content
    }
    h3, p {
      color: var(--imono_yamatai_r-base);
      position: relative;
      z-index: 2;
      /* padding-inline: 2.5rem; */
    }
    &:nth-of-type(1) {
      background-image: url(../../../uploads/2025/08/index_block_tec01.webp);
    }
    &:nth-of-type(2) {
      background-image: url(../../../uploads/2025/08/index_block_tec04.webp);
    }
    &:nth-of-type(3) {
      background-image: url(../../../uploads/2025/08/index_block_tec02.webp);
    }
    &:nth-of-type(4) {
      background-image: url(../../../uploads/2025/08/index_block_tec03.webp);
    }
    &::after {
      position: absolute;
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      background-color: rgba(0, 0, 0, 0.6);
      transition: all 0.3s ease-in-out;
    }
    &:hover {
      &::after {
        background-color: rgba(0, 0, 0, 0);
      }
    }
    /* 各要素に順番にアニメーションを適用 */
    &.re-cover_active::after {
      animation: flashOverlay 1.25s cubic-bezier(.35, .16, .47, .99);
      animation-iteration-count: 1;
      animation-fill-mode: none;
    }
  }
}
@keyframes flashOverlay {
  0%, 100% {
    background-color: rgba(0, 0, 0, 0.5);
    clip-path: inset(0 0 0 0);
  }
  40%, 60% {
    background-color: rgba(0, 0, 0, 0);
    clip-path: inset(0 0 0 100%);
  }
}
@media(600px > width) {
  .technology_details {
    display: block;
    /* >div {
      &.re-cover_active::after {
        animation-duration: 2.5s;
      }
      &.re-cover_active:nth-of-type(1)::after,
      &.re-cover_active:nth-of-type(2)::after,
      &.re-cover_active:nth-of-type(3)::after,
      &.re-cover_active:nth-of-type(4)::after {
        animation-delay: 0s;
      }
    } */
  }
}
@media(1024px > width) {
  .technology_details {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    >div {
      &.re-cover_active:nth-of-type(1)::after,
      &.re-cover_active:nth-of-type(2)::after,
      &.re-cover_active:nth-of-type(3)::after,
      &.re-cover_active:nth-of-type(4)::after {
        animation-delay: 0s;
      }
    }
  }
}
@media(1024px <=width) {
  .technology_details {
    grid-template-columns: repeat(4, minmax(256px, 1fr));
    >div {
      &.re-cover_active:nth-of-type(1)::after {
        animation-delay: 0s;
      }
      &.re-cover_active:nth-of-type(2)::after {
        animation-delay: 1s;
      }
      &.re-cover_active:nth-of-type(3)::after {
        animation-delay: 2s;
      }
      &.re-cover_active:nth-of-type(4)::after {
        animation-delay: 3s;
      }
    }
  }
}
.equipment_top_block {
  position: relative;
  margin-block: 100px;
  overflow-x: clip;
  padding-block-start: 115px;
  /* background-color: #00a0f7; */
  background-position: right top, left top;
  background-repeat: no-repeat;
  background-size: cover;

  &::before {
    content: "";
    position: absolute;
    width: clamp(0rem, -119.712rem + 115.38vw, 18.75rem);
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    z-index: 1;
  }
  &::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 200px;
    bottom: 0;
    right: 0;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    z-index: 1;
  }
}
.equipment_top_block_inner {
  color: var(--imono_yamatai_r-base);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  >div:nth-of-type(2) {
    justify-self: end;
    display: grid;
    width: 82%;
    padding-block-start: 2rem;
  }
  h3 {
    font-size: clamp(24px, 1.143rem + 0.95vw, 32px);
    margin-block-start: 1rem;
  }
  p:not(a.page-link) {
    line-height: 2;
  }
  p:has(a.page-link) {
    justify-self: end;
    margin-block: 2rem 0;
  }
}
@media(823px > width) {
  div.equipment_top_block {
    background-image: linear-gradient(304deg, #028cd7 0%, #00a0f7 80%);
    margin-block: 0;
    &::before,
    &::after {
      all: unset;
    }
  }
  .equipment_top_block_inner {
    grid-template-columns: 1fr;
    >div:nth-of-type(2) {
      width: fit-content;
      justify-self: center;
    }
    p:has(a.page-link) {
      justify-self: center;
    }
  }
}
@media(823px <=width) {
  .equipment_top_block {
    background-image: url(../../../uploads/2025/07/index_block_eq_bg01.webp), linear-gradient(280deg, #012371, #00a0f7);
  }
}
/* 社名英字など */
.yamatai-imageblock {
  position: relative;
  z-index: 2;
  margin-block-start: clamp(2.938rem, 1.018rem + 5.12vw, 5.625rem);
  figure {
    margin-inline-end: clamp(0rem, -91.518rem + 97.62vw, 25.625rem);
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 317px;
    }
  }
  p {
    /* position: relative;
    top: 0; */
    font-size: clamp(5.688rem, 3.273rem + 6.44vw, 176px);
    line-height: 0.9;
    margin: 0;
    background: var(--imono_yamatai_r-gradient2);
    background-clip: text;
    color: transparent;
    width: fit-content;
    /* margin-left: 47%; */
    white-space: nowrap;
  }
}
@media(823px > width) {
  .yamatai-imageblock {
    padding-block-end: 1rem;
    p {
      position: relative;
      margin-block-start: -0.475em;
      margin-left: min(9.5%, 9.5svw);
    }
  }
}
@media(823px <=width) {
  .yamatai-imageblock {
    figure {
      img {
        object-position: 55% center;
      }
    }
    p {
      position: absolute;
      bottom: 0;
      /* font-size: clamp(5.688rem, 3.273rem + 6.44vw, 176px); */
      /* line-height: 0.9; */
      /* margin: 0; */
      /* background: var(--imono_yamatai_r-gradient2); */
      /* background-clip: text;
    color: transparent;
    width: fit-content; */
      margin-left: 47%;
      /* white-space: nowrap;} */
    }
  }
}
/* 会社情報 */
.company-block {
  position: sticky;
  top: 0;
  aspect-ratio: 1 / 0.49;
  z-index: -1;
  clip-path: inset(0);
  /* background-image: url(../../../uploads/2025/07/index_block_company_bg.webp); */
  .image_full {
    img {
      min-height: max(620px, 100lvh);
    }
  }
}
@media(1024px >=width) {
  .company-block {
    .image_full {
      img {
        object-position: center;
      }
    }
  }
}
.company-block_inner {
  position: relative;
  aspect-ratio: 1 / 0.49;
  z-index: 1;
  backdrop-filter: blur(10px);
  padding-block: clamp(5.875rem, 1.143rem + 12.62vw, 200px) clamp(5.625rem, -1.071rem + 17.86vw, 240px);
  >div.content_block_narrow {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    /* gap: 82px; */
    color: var(--imono_yamatai_r-base);
    >div:nth-of-type(1) {
      p {
        line-height: 1.8;
        text-align: justify;
      }
    }
    >div:nth-of-type(2) {
      display: grid;
      place-content: center;
      row-gap: 1.75rem;
    }
  }
  h3 {
    font-size: 2rem;
    margin-block: clamp(3.438rem, 0.893rem + 6.79vw, 7rem) clamp(2rem, 0.571rem + 3.81vw, 4rem);
  }
}
@media(823px > width) {
  .company-block_inner {
    h3 {
      width: 11.5em;
    }
    >div.content_block_narrow {
      grid-template-columns: 1fr;
      row-gap: 3.5rem;
      /* width: fit-content; */
      /* row-gap: 2rem;
      >div:nth-of-type(1) {
      } */
      p {
        line-height: 2;
      }
    }
  }
}
/* お知らせ */
.news_top_block {
  background-color: var(--imono_yamatai_r-base);
  padding-block: clamp(5rem, 4.107rem + 2.38vw, 6.25rem);
  margin-block: 0;
  h2 {
    color: var(--imono_yamatai_r-main);
    text-align: center;
  }
  h2.en.gradient::before {
    margin-inline: auto;
    width: fit-content;
  }
  .wp-block-latest-posts {
    width: 70%;
    margin-inline: auto;
    margin-block:3rem 2.5rem;
  }
  p {
    margin-inline: auto;
  }
  li {
    display: flex;
    width: 100%;
    gap: clamp(1.5rem, -0.623rem + 5.66vw, 3rem);
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    padding-block: 1rem;
    border-bottom: 1px solid var(--imono_yamatai_r-sub1);
  }
  time {
    font-size: 14px;
  }
}
/* 世界基準の技術を共に */
.with_tech_block {
  position: relative;
  background-image: url(../../../uploads/2025/07/index_block_recruit.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 114px;
  color: var(--imono_yamatai_r-base);
  h2 {
    font-size: clamp(2.25rem, 0.821rem + 3.81vw, 4.25rem);
    padding-block-end: 1em;
    font-feature-settings: "palt";
    text-align: center;
  }
  .content_block_narrow {
    z-index: 1;
  }
  .with_tech_block_inner {
    position: relative;
    width: 100%;
    height: 303px;
    overflow: clip;
  }
  figure video {
    position: inherit;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    min-height: 100%;
    transform: translate(-50%, -50%);
  }
  figure::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
/*     background-image:repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) 2px, transparent 0px, transparent 4px); */
  }
  div.parallax-item {
    position: relative;
    width: fit-content;
    height: 100%;
    margin-inline: auto 0;
    display: grid;
    place-content: center;
    padding-inline: clamp(1rem, -1.143rem + 5.71vw, 4rem);
    gap: 2rem;
    z-index: 2;
  }
  h3 {
    font-size: clamp(1rem, 0.821rem + 0.48vw, 20px);
    text-align: end;
  }
  h3::before {
    font-size: clamp(42px, 2.179rem + 1.19vw, 52px);
  }
  p {
    margin-inline: auto 0;
  }
}

/* 会社画像 */
.company_top_image {
  position: relative;
  aspect-ratio: 1 / 0.49;
  width: 100%;
  width: 100cqw;
  top: 0;
  clip-path: inset(0);
  .image_full {
    aspect-ratio: 1 / 0.49;
    img {
      width: 100cqw;
      height: 100%;
      object-fit: cover;
      position: fixed;
      left: 0;
      top: 0;
    }
  }
}
/* リンク幅 */
.slug_index p:has(a.page-link.a_main.alink-line),
.slug_index a.page-link.a_main.alink-line {
  width: clamp(19.25rem, 17.519rem + 6.92vw, 23.75rem)
}



@media(600px >=width) {
  .news_top_block {
    .wp-block-latest-posts {
        width: 90%;
        margin-inline: auto;
        margin-block: 1.75rem 2.75rem;
    }
}
  .with_tech_block {
    /* height: 80%; */
    width: 100%;
    h2 {
      width: 9em;
      text-align: center;
      margin-inline: auto;
    }
    div.parallax-item {
      width: 100%;
      grid-template-columns: 1fr;
    }
    .with_tech_block_inner {
      p:has(a.page-link.a_main.alink-line),
      a.page-link.a_main.alink-line {
        width: 100%;
      }
    }
  }
  .company_top_image {
    .image_full {
        aspect-ratio: 1 / 1.43;
    }
    img{
      object-position: 45% bottom;
      object-fit: contain;
    }
}
}