/*
 Theme Name:     大村印刷株式会社 RECRUIT
 Description:    大村印刷株式会社 RECRUITの専用テーマ
 Version:        1.0.0
 */

@charset "UTF-8";

html {
  font-family: "Noto Sans JP", "sans-serif";
  -webkit-text-size-adjust: 100%;
}
body {
  height: 100%;
  line-height: 1.5;
  background-color: #fff;
  font-size: 20px;
  letter-spacing: 2px;
}

/*選択範囲除外*/
.select-none,
.select-none img {
  user-select: none;
  pointer-events: none;
}

/* オープニングアニメーション */
body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-color: var(--main-color);
  z-index: 99999;
  animation: opening 0.3s forwards;
  animation-delay: 0.2s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
}
@keyframes opening {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

/* scroll-hint */
.scroll-hint-icon {
  margin-top: -30px;
}
@media screen and (min-width: 761px) {
  .scroll-hint {
    overflow: hidden !important;
  }
}

/* ボタン */
.btn {
  height: 70px;
  width: 400px;
  font-size: var(--font-body-size);
  font-weight: bold;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  display: inline-grid;
  align-items: center;
  position: relative;
}
/* Read more */
.read-more {
  color: var(--main-color);
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: var(--font-body-size);
  font-weight: bold;
}
.read-more::before {
  font-family: "Material Icons";
  content: "\e5c8";
  background-color: var(--main-color);
  color: #fff;
  width: clamp(30px, 5vw, 40px);
  height: clamp(30px, 5vw, 40px);
  border-radius: 50%;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: normal;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 760px) {
  .btn {
    height: 60px;
    width: 80%;
    margin: auto;
  }
}
.btn::after {
  font-family: "Material Icons";
  content: "\e5c8";
  position: absolute;
  right: 6%;
  font-size: 30px;
  font-weight: normal;
}
.btn.white {
  background: #fff;
  color: var(--main-color);
  border: solid 1px #fff;
}
.btn.white:hover {
  background-color: var(--main-color);
  color: #fff;
}
.btn.blue {
  background: var(--main-color);
  color: #fff;
  border: solid 1px var(--main-color);
}
.btn.blue:hover {
  background-color: #fff;
  color: var(--main-color);
}

/* 上に戻るボタン */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background-color: #000;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
}
/* ヘッダー */
header {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: fixed;
  top: 0;
  z-index: 10000;
  transition: 0.3s;
  padding: 0 2%;
}
header.hide {
  top: -80px;
}
header.solid {
  background-color: rgb(255 255 255 / 90%);
}
.logo {
  z-index: 10000;
}
.header-menu {
  display: flex;
  align-items: center;
}
.entry-btn {
  background: #ffe100;
  font-size: 15px;
  padding: 10px 40px;
  display: flex;
  border-radius: 100px;
  color: var(--main-color);
  border: solid 1px #ffe100;
  z-index: 10000;
  font-weight: bold;
}
.entry-btn:hover {
  background-color: var(--main-color);
  color: #fff;
  border: solid 1px var(--main-color);
}
.active.entry-btn {
  opacity: 0;
  transform: 1s;
  pointer-events: none;
}
/* ハンバーガーメニュー */
.toggle-btn {
  cursor: pointer;
  width: 50px;
  margin-left: 30px;
  position: relative;
  padding: 30px 0;
  z-index: 2000;
}

.toggle-btn span {
  display: block;
  height: 3px;
  border-radius: 5px;
  background-color: #000;
  transition: 0.2s;
  width: 50px;
}
.toggle-btn span:nth-child(2) {
  margin-top: 8px;
}
/* ハンバーガーメニューがクリックされたらバツ */
.toggle-btn.active span {
  width: 35px;
}
.toggle-btn.active span:nth-child(1) {
  transform: translateX(5px) translateY(3px) rotate(45deg);
  background-color: #fff;
}
.toggle-btn.active span:nth-child(2) {
  transform: translateX(5px) rotate(-45deg);
  background-color: #fff;
  margin: 0;
}
/* グローバルメニュー */
.global-menu.pc-menu .child {
  height: auto !important;
}
.global-menu {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  right: 0;
  opacity: 0;
  overflow: hidden;
  overflow-y: scroll;
  background: rgba(10, 92, 164, 0.9);
  z-index: 1000;
  width: 100%;
  height: 100vh;
  padding: 0;
  box-sizing: border-box;
  color: #fff;
  transform: translateX(100%);
  transition: 0.3s;
}
.global-menu.active {
  opacity: 1;
  transform: translateX(0);
}
.global-menu .list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 5% 10%;
  margin: auto;
}
.global-menu .list > .main > li {
  font-size: clamp(1rem, 2vw, 26px);
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  width: 100%;
}
.global-menu .list > .main > li > a {
  display: flex;
  align-items: center;
  padding: 4vh 0;
  position: relative;
  width: 30%;
}
.global-menu .list a:hover {
  color: #ffe100;
}
.global-menu .child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10%;
  width: 70%;
  padding: 20px 0;
}
.global-menu .child li {
  font-size: var(--font-body-size);
  position: relative;
}
.global-menu .child li a {
  padding: 0;
  font-feature-settings: "palt";
  color: #fff;
  font-weight: normal;
}
.global-menu .child li a small {
  font-size: 12px;
  display: block;
}
.global-menu .sub {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 5vh 0;
  gap: 50px;
}
.global-menu .sub li {
  font-size: var(--font-body-size);
}
.global-menu .entry {
  margin-left: auto;
  width: 40%;
}
.global-menu .entry a {
  background-color: #ffe100;
  color: var(--main-color);
  padding: 20px 0;
  display: flex;
  justify-content: center;
  border-radius: 100px;
  font-weight: bold;
}
.global-menu .entry a:hover {
  background-color: #fff;
  color: var(--main-color);
}

#mainvisual {
  background-size: cover;
  background-position: center;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(185, 185, 185, 1) 100%
  );
  height: 100vh;
  position: relative;
  z-index: 0;
  overflow: hidden;
  background-attachment: fixed;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
}
@media (max-height: 900px) {
  #mainvisual {
    height: 900px;
  }
  .scroll-down {
    display: none;
  }
}
#mainvisual::before {
  content: "";
  display: block;
  width: 100%;
  background: var(--mainvisual-image) no-repeat;
  background-position: center -10px;
  height: 100%;
  background-size: cover;
  position: relative;
  filter: blur(var(--blur-value, 0px));
}
#mainvisual.women::before,
#mainvisual.men::before {
  animation: image-in 0.1s linear;
}
#mainvisual.image-out::before {
  animation: image-out 0.1s linear;
}
@keyframes image-in {
  0% {
    filter: blur(5px);
    opacity: 0;
    transform: scale(1.2);
  }
  50% {
    filter: blur(5px);
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    filter: blur(0px);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes image-out {
  0% {
    filter: blur(0px);
    opacity: 1;
    transform: scale(1);
  }
  50% {
    filter: blur(5px);
    opacity: 0.5;
    transform: scale(1.2);
  }
  100% {
    filter: blur(5px);
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes mainvisual {
  0% {
    opacity: 0;
    transform: scale(1.3);
    filter: blur(50px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* Be a Challenger */
.copy-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: absolute;
  bottom: 16%;
  width: 100%;
}
.copy1,
.copy2 {
  width: 100%;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}
.copy1 {
  position: relative;
  animation: mask 0.5s forwards;
  animation-delay: 0.7s;
  z-index: -10;
}
.copy2 {
  animation: mask 0.4s forwards;
  animation-delay: 0.9s;
  position: relative;
}
@keyframes mask {
  0% {
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}

.hero-text {
  font-size: 58px;
  font-weight: bold;
  writing-mode: vertical-rl;
  color: var(--main-color);
  position: absolute;
  right: 20%;
  bottom: 60%;
  height: 240px;
  animation: maskRight 0.3s forwards;
  animation-delay: 1.3s;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}
@keyframes maskRight {
  0% {
    clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}
/* スクロールアニメーション */
.scroll-down {
  position: absolute;
  right: 18%;
  bottom: 15%;
  z-index: 10;
}
.scroll-down::before {
  animation: scroll 2s infinite;
  background-color: #fff;
  bottom: -115px;
  content: "";
  height: 170px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
.scroll-down span {
  color: #fff;
  font-size: 13px;
  margin: 0 auto;
  writing-mode: vertical-rl;
  position: absolute;
  right: -24px;
  bottom: -115px;
  font-weight: bold;
  letter-spacing: 2px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* mission */
#company-mission {
  background-color: var(--main-color);
  background: url("images/background-noise.svg") repeat;
  color: #fff;
  overflow-x: hidden;
  margin-top: -200px;
  padding-top: 200px;
}
#company-mission .wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 100px 0 200px;
  padding: clamp(50px, 10vw, 100px) 0 clamp(100px, 10vw, 200px);
}
#company-mission .description {
  font-size: var(--font-description-size);
  font-weight: 500;
  line-height: 74px;
  position: relative;
}
#company-mission .message {
  position: relative;
  padding-top: 110px;
}
#company-mission .message .fire {
  position: absolute;
  top: -100px;
  left: -100px;
}
#company-mission .message .idomu {
  position: absolute;
  top: -230px;
  right: -50px;
  z-index: 1;
}
#company-mission .message h2 {
  font-size: clamp(70px, 8vw, 110px);
  transform: var(--font-oblique);
  font-weight: bold;
  z-index: 10;
  position: relative;
  letter-spacing: 0;
  margin-bottom: 40px;
}
#company-mission .message div.fade-left {
  position: relative;
  z-index: 3;
}
#company-mission .message img.fade-right {
  width: 720px;
  position: absolute;
  top: 70px;
  right: -200px;
  z-index: 2;
}
#company-mission .message p {
  width: 520px;
  font-weight: 500;
  line-height: 54px;
}
#company-mission .message p span {
  margin-top: 40px;
  display: block;
  font-size: 2em;
}
@media screen and (max-width: 1400px) and (min-width: 761px) {
  #company-mission .wrapper {
    padding-left: 2%;
    padding-right: 2%;
  }
  #company-mission .message {
    padding-top: 80px;
  }
  #company-mission .message .fire {
    top: -60px;
  }
  #company-mission .message .idomu {
    width: 350px;
    top: -200px;
    right: 0;
  }
  #company-mission .message h2 {
    font-size: clamp(40px, 8vw, 90px);
    margin-bottom: 20px;
  }
  #company-mission .message img.fade-right {
    width: 55%;
    right: -20px;
  }
  #company-mission .message p {
    width: auto;
    font-size: clamp(1rem, calc(0.2rem + 1vw), 20px);
  }
}
@media screen and (max-width: 1200px) and (min-width: 761px) {
  #company-mission .message img.fade-right {
    right: 0;
  }
  #company-mission .message .fire {
    left: 0;
  }
}

/* コンテンツナビ */
#content-nav {
  padding: 150px 0;
}
#content-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1500px;
  margin: auto;
}
#content-nav ul li {
  position: relative;
  display: flex;
  align-items: center;
  height: 180px;
  width: 25%;
  animation-delay: 0.6s;
}
#content-nav ul li:nth-child(2) {
  animation-delay: 0.8s;
}
#content-nav ul li:nth-child(3) {
  animation-delay: 1s;
}
#content-nav ul li:nth-child(4) {
  animation-delay: 1.2s;
}
#content-nav ul li::after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--main-color);
  margin: 0;
  transform: rotate(10deg);
}
#content-nav ul li:last-child::after {
  content: none;
}
#content-nav ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 180px;
  width: 350px;
  font-size: var(--font-description-size);
  color: var(--main-color);
  font-weight: 500;
  transition: 0.2s;
}
#content-nav ul li a:hover {
  scale: 1.1;
  opacity: 0.9;
}
#content-nav ul li a div {
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#content-nav ul li a div img {
  display: block;
}

/* 大村印刷とは */
#about {
  background-color: var(--main-color);
  background: url("images/background-noise.svg") repeat;
  padding: 200px 2% 500px;
  padding: clamp(30px, 10vw, 200px) 2% clamp(450px, 30vw, 500px);
  color: #fff;
  position: relative;
  overflow-x: hidden;
}
#about .wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
#about img {
  width: 720px;
  margin-left: -200px;
}
#about h2 {
  font-size: var(--font-headline-size);
  font-weight: bold;
  transform: var(--font-oblique);
  margin-bottom: 40px;
  letter-spacing: 0;
}
#about h2 span {
  font-size: var(--font-headline-sub-size);
}
#about p {
  font-size: var(--font-body-size);
  font-weight: 500;
  line-height: 40px;
}
@media screen and (max-width: 1400px) and (min-width: 761px) {
  #about h2 {
    margin-bottom: 10px;
  }
  #about img {
    width: clamp(200px, 50vw, 600px);
    margin-left: -50px;
  }
  #about p {
    font-size: clamp(1rem, calc(0.2rem + 1vw), 20px);
  }
}
#about .wrapper div {
  display: flex;
  flex-direction: column;
}
#about .btn {
  margin-top: 50px;
  margin-left: auto;
}
#about::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  border-top: 70px solid transparent;
  border-left: 50vw solid transparent;
  border-right: 50vw solid #fff;
  border-bottom: 70px solid #fff;
}
/* インフォメーション */
#information {
  color: #fff;
  padding: 0;
  text-align: center;
  width: 85%;
  max-width: 100%;
  margin: -340px auto 0;
  position: relative;
  z-index: 10;
}
#information h2 {
  font-size: 36px;
}
#information ul {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
  padding: 0 20px;
}
#information ul li {
  overflow: hidden;
  border-radius: 10px;
}
#information ul li img {
  width: 100%;
  transition: 0.3s;
}
#information ul li a:hover img {
  scale: 1.05;
}

/* 挑戦者たち */
#challengers {
  margin: auto;
  padding: 200px 0;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
  background-color: #fff;
}
#challengers h2 {
  color: var(--main-color);
  font-size: var(--font-headline-size);
  font-weight: bold;
  transform: var(--font-oblique);
  margin-bottom: 60px;
  letter-spacing: 0;

  text-align: center;
}
#challengers h2 span {
  font-size: var(--font-headline-sub-size);
}
#challengers ul {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw + 10px, 50px);
  padding: 0 2%;
}
#challengers ul li {
  font-weight: 500;
  animation-delay: 0.6s;
  width: calc(100% / 4);
  max-width: 330px;
  position: relative;
}
#challengers ul li:nth-child(2) {
  animation-delay: 0.8s;
}
#challengers ul li:nth-child(3) {
  animation-delay: 1s;
}
#challengers ul li:nth-child(4) {
  animation-delay: 1.2s;
}
#challengers ul li a div {
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
  width: 100%;
}
#challengers ul li a .challenger-img {
  transition: 0.3s ease-in-out;
  width: 100%;
  display: block;
}
#challengers ul li a .challenger-img:nth-child(1) {
  position: absolute;
  top: calc(50%);
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
#challengers ul li a:hover .challenger-img:nth-child(1) {
  opacity: 0;
}
#challengers ul li .challenger-message {
  position: absolute;
  bottom: 170px;
}
#challengers ul li:nth-child(2n + 1) .challenger-message {
  bottom: 110px;
}
.challenger-message .inner {
  display: inline;
  color: #fff;
  line-height: 2;
  letter-spacing: 0;
  font-size: clamp(1rem, 2vw, 30px);
}
.home .right-in-move .right-move {
  animation: rightIn forwards 0.3s 1 ease 1.3s normal;
}
.home .right-in-move .right-move:nth-of-type(2) {
  animation-delay: 1.35s;
}
.home .right-in-move .right-move:nth-of-type(3) {
  animation-delay: 1.4s;
}
.home .right-in-move.second .right-move {
  animation: rightIn forwards 0.3s 1 ease 1.45s normal;
}
.home .right-in-move.second .right-move:nth-of-type(2) {
  animation-delay: 1.5s;
}
.home .right-in-move.second .right-move:nth-of-type(3) {
  animation-delay: 1.6s;
}
.home .right-in-move.third .right-move {
  animation: rightIn forwards 0.3s 1 ease 1.65s normal;
}
.home .right-in-move.third .right-move:nth-of-type(2) {
  animation-delay: 1.7s;
}
.home .right-in-move.third .right-move:nth-of-type(3) {
  animation-delay: 1.75s;
}
.home .right-in-move.fourth .right-move {
  animation: rightIn forwards 0.3s 1 ease 1.8s normal;
}
.home .right-in-move.fourth .right-move:nth-of-type(2) {
  animation-delay: 1.85s;
}
.home .right-in-move.fourth .right-move:nth-of-type(3) {
  animation-delay: 1.9s;
}
.challenger-message .inner .right-move {
  background-color: rgba(0, 81, 152, 0.85);
  padding: 0 10px;
}
.home .challenger-message .inner .right-move {
  padding: 0 10px;
}
#challengers ul li:nth-child(2n + 1) {
  padding-top: 60px;
}
#challengers ul li a div.challenger-detail {
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 40px;
}
#challengers .btn {
  display: flex;
  justify-content: center;
  margin: 100px auto 0;
}
/* 募集要項 */
#guideline {
  background: url("images/guideline.webp") no-repeat center;
  background-size: cover;
  height: 900px;
  display: flex;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
  position: relative;
  z-index: 1;
  margin-top: -150px;
}
/* 横幅2100px以上の場合 */
@media screen and (min-width: 2100px) {
  #guideline {
    margin-top: -200px;
  }
}
#guideline::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  mix-blend-mode: multiply;
  opacity: 0.5;
}
#guideline a {
  display: block;
  max-width: var(--content-width);
  width: 70%;
  padding: 100px 0;
  color: var(--main-color);
  font-size: 40px;
  font-weight: 500;
  background-color: #fff;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  position: relative;
}
#guideline a::after {
  font-family: "Material Icons";
  content: "\e5c8";
  background-color: var(--main-color);
  color: #fff;
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  right: 6%;
  font-size: 30px;
  font-weight: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #fff;
}
#guideline a:hover {
  background-color: var(--main-color);
  color: #fff;
}

/* 会社と大村印刷 */
#social {
  position: relative;
  overflow-x: hidden;
  margin-top: -200px;
  padding-top: 200px;
  z-index: 0;
}
#social .wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
}
#social .wrapper div {
  padding-left: 20px;
}
#social img {
  width: 720px;
  margin-right: 0;
  margin-top: -200px;
}
#social img:last-child {
  display: none;
}
#social h2 {
  color: var(--main-color);
  font-size: var(--font-headline-size);
  font-weight: bold;
  transform: var(--font-oblique);
  margin-bottom: 60px;
  letter-spacing: 0;
  text-align: center;
  padding-top: 150px;
}
#social h2 span {
  font-size: var(--font-headline-sub-size);
}
#social p {
  font-size: var(--font-body-size);
  color: var(--main-color);
  font-weight: 500;
  line-height: 40px;
  margin-bottom: 60px;
}
@media screen and (max-width: 1400px) and (min-width: 1051px) {
  /* 社会と大村印刷 */
  #social .wrapper {
    gap: 30px;
  }
  #social .wrapper div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
  }
  #social h2 {
    padding-top: 50px;
  }
  #social p {
    padding-left: 30px;
    margin-bottom: 30px;
  }
  #social img {
    width: 45%;
    margin-right: 0;
  }
  #social .btn {
    margin-bottom: 40px;
  }
}

/* フッター */
footer {
  background-color: var(--main-color);
  background: url("images/background-noise.svg") repeat;
  color: #fff;
}
footer .wrapper {
  max-width: 1350px;
  padding: 130px 10px 80px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}
@media screen and (max-width: 1400px) and (min-width: 761px) {
  footer .wrapper {
    justify-content: center;
    padding: 100px 10px 80px;
  }
}
.footer-logo {
  width: 400px;
}
.footer-logo img {
  width: 100%;
}
.footer-logo a {
  width: auto;
  display: block;
  margin-top: 12%;
}
.footer-logo a:hover {
  opacity: 0.9;
}
.mynavi-area {
  display: flex;
  gap: 20px;
}
.copyright {
  margin-top: 80px;
  font-size: 10px;
  text-align: right;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-nav a:hover {
  opacity: 0.6;
}
.footer-nav > ul {
  width: auto;
}
.footer-nav > ul > li:first-child {
  padding-top: 0px;
}
.footer-nav > ul > li {
  padding-top: 20px;
}
.footer-nav > ul > li > a {
  font-weight: 600;
  font-size: var(--font-body-size);
  padding-bottom: 5px;
  display: block;
}
.footer-nav .child li a {
  font-size: 15px;
}

/* タブレット用表示 */
@media screen and (max-width: 1050px) {
  /* メインビジュアル */
  #mainvisual {
    height: 90vh;
  }
  #mainvisual::before {
    background-attachment: unset;
  }
  #content-nav {
    padding: 50px 20px;
  }
  /* 大村印刷とは */
  #about {
    padding: 80px 0 280px;
  }
  #about .wrapper {
    width: var(--content-width);
    margin: 0 auto;
    flex-direction: column;
    gap: 30px;
  }
  #about img {
    width: 100%;
    margin-left: 0;
  }
  #about h2 {
    margin: 0 auto 20px;
    letter-spacing: 0;
  }
  #about p {
    line-height: 30px;
    padding: 0 20px;
  }
  #about .wrapper div {
    display: flex;
    flex-direction: column;
  }
  #about .btn {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
  }
  #about::after {
    border-top: 20px solid transparent;
    border-left: 50vw solid transparent;
    border-right: 50vw solid var(--main-color);
    border-bottom: 20px solid var(--main-color);
  }
  /* インフォメーション */
  #information {
    margin: -200px auto 0;
    position: relative;
    z-index: 10;
    overflow-x: scroll;
    width: auto;
  }

  /* 会社と大村印刷 */
  #social {
    margin-top: 100px;
    padding-top: 0;
  }
  #social .wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  #social .wrapper > div {
    position: relative;
    z-index: 1;
    padding-left: 0;
  }
  #social img {
    width: 100%;
    margin-right: 0;
    margin-top: -30px;
    margin-bottom: 0;
    position: relative;
    z-index: 0;
  }
  #social img:nth-child(2) {
    display: none;
  }
  #social img:last-child {
    display: unset;
  }
  #social h2 {
    margin-bottom: 20px;
    letter-spacing: 0;
    text-align: center;
    padding-top: 0;
    text-align: center;
    font-size: 40px;
  }
  #social h2 span {
    font-size: 30px;
  }
  #social p {
    line-height: 30px;
    margin-bottom: 30px;
    padding: 0 20px;
    font-size: 15px;
  }
  #social .btn {
    margin: auto;
    display: flex;
    justify-content: center;
  }

  /* フッター */
  footer .wrapper {
    flex-direction: column;
    align-items: center;
  }
  .footer-nav .child li a {
    font-size: 12px;
  }
  .footer-logo a {
    margin: 10% auto 0;
  }
  .mynavi-area {
    flex-direction: column;
    gap: 0;
  }
  .copyright {
    text-align: center;
  }
}
/* スマホ用表示 */
@media screen and (max-width: 760px) {
  /* fixエントリーボタン */
  .entry-footer-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: var(--main-color);
    color: #fff;
    text-align: center;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 2px 5px rgba(0, 0, 0, 0.1);
  }
  header {
    padding: 0 4%;
    height: 60px;
  }
  .logo {
    width: min(60%, 300px);
  }
  /* ハンバーガーメニュー */
  .toggle-btn {
    width: 40px;
  }
  .toggle-btn span {
    width: 40px;
  }
  /* グローバルメニュー */
  .global-menu {
    padding: 20% 0;
  }
  .global-menu .list {
    justify-content: flex-start;
    align-items: flex-start;
    height: 90vh;
    overflow-y: scroll;
    flex-shrink: 0;
    width: 100%;
  }
  .global-menu .list ul {
    width: 100%;
  }
  .global-menu .list li {
    width: 100%;
  }
  .global-menu li.parent {
    position: relative;
  }
  .global-menu li.parent::after {
    content: "+";
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: absolute;
    right: 0;
    top: 20px;
  }
  .global-menu li.parent.open::after {
    content: "−";
    transform: rotate(180deg);
  }
  .global-menu .list > .main > li {
    flex-direction: column;
  }
  .global-menu .list > .main > li > a {
    padding: 3vh 0;
    width: 100%;
    justify-content: space-between;
  }
  .global-menu .child {
    flex-direction: column;
    width: auto;
    gap: 20px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.1s linear;
    padding: 0;
  }
  .global-menu .open .child {
    display: flex;
    opacity: 1;
    padding: 0 20px 20px;
  }
  .global-menu .child li {
    padding-top: 20px;
    border-top: solid 1px rgba(255, 255, 255, 0.3);
  }
  .global-menu .child li a {
    display: block;
  }
  .global-menu .child li a small {
    display: inline;
  }
  .global-menu .sub {
    flex-direction: column;
    align-items: flex-start;
    padding: 3vh 0;
    gap: 3vh;
  }
  .global-menu .sub li {
    width: 100%;
  }
  .global-menu .sub li a {
    display: flex;
  }
  .global-menu .sub li:nth-child(-n + 2) {
    border-bottom: solid 1px rgba(255, 255, 255, 0.3);
    padding-bottom: 3vh;
  }
  .global-menu .entry {
    width: 100%;
    margin-top: 3vh;
  }
  .global-menu .list a:hover {
    color: #fff;
  }
  .global-menu .close {
    height: 0 !important;
    overflow: hidden;
  }

  /* メインビジュアル */
  #mainvisual {
    height: 62vh;
    position: relative;
    margin-top: 60px;
    overflow: hidden;
  }
  #mainvisual::before {
    background-size: cover;
    background-attachment: unset;
    position: relative;
    background-position: center 10px;
    filter: none;
  }
  #mainvisual::after {
    border-top: 20px solid transparent;
    border-left: 50vw solid transparent;
    border-right: 50vw solid var(--main-color);
    border-bottom: 20px solid var(--main-color);
  }
  .copy-container {
    left: 10vh;
    top: 53%;
    bottom: auto;
    transform: translate(-50%, -50%) rotate(90deg);
    gap: 0;
    width: 58vh;
    right: auto;
    z-index: -10;
  }
  .copy1 {
    animation: maskSp 0.2s forwards;
    animation-delay: 0.7s;
  }
  .copy2 {
    animation: maskSp 0.2s forwards;
    animation-delay: 0.8s;
  }
  @keyframes maskSp {
    0% {
      clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    }
    100% {
      clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
  }
  .hero-text {
    font-size: 36px;
    right: 3%;
    top: 8%;
    height: 100%;
    animation-delay: 0.6s;
  }
  .hero-text .line {
    display: inline;
  }
  .scroll-down {
    z-index: 10;
    top: 60vh;
    bottom: auto;
    display: block;
  }
  .scroll-down::before {
    height: 120px;
  }
  .scroll-down span {
    font-size: 10px;
    right: -22px;
  }
  /* mission */
  #company-mission .wrapper {
    padding: 60px 0 80px;
  }
  #company-mission .description {
    text-align: center;
    line-height: 50px;
  }
  #company-mission .description::before {
    background-size: cover;
    left: 30px;
    top: 760px;
    width: 150px;
    background-size: 100%;
  }
  #company-mission .description::after {
    background-size: cover;
    width: 180px;
    background-size: 100%;
    right: -20px;
    top: 360px;
  }
  #company-mission .message .fire {
    width: 160px;
    left: 10px;
    top: -70px;
  }
  #company-mission .message {
    padding-top: 150px;
  }
  #company-mission .message .idomu {
    width: 180px;
    top: 10px;
    right: -20px;
  }
  #company-mission .message img.fade-right {
    position: sticky;
  }
  #company-mission .message h2 {
    font-size: 80px;
    position: relative;
  }
  #company-mission .message h2 span {
    display: block;
    position: absolute;
  }
  #company-mission .message h2 span:first-child {
    right: 60px;
    top: -85px;
  }
  #company-mission .message h2 span:last-child {
    right: -75px;
  }
  #company-mission .message p {
    width: auto;
    padding: 130px 20px 0;
    font-size: 18px;
    line-height: 45px;
  }
  /* コンテンツナビ */
  #content-nav {
    padding: 0;
  }
  #content-nav ul {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: auto;
  }
  #content-nav ul li {
    position: relative;
    display: flex;
    align-items: center;
    height: auto;
    width: 100%;
    animation-delay: 0.2s !important;
  }
  #content-nav ul li::after {
    content: none;
  }
  #content-nav ul li a {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    height: auto;
    width: 100%;
    font-size: var(--font-description-size);
    border-bottom: solid 1px var(--main-color);
    padding: 10px 40px;
  }
  #content-nav ul li a div {
    width: 100px;
  }

  /* インフォメーション */
  #information {
    margin: -200px auto 0;
    position: relative;
    z-index: 10;
    overflow-x: scroll;
    width: auto;
  }
  #information h2 {
    font-size: 26px;
  }
  #information ul {
    flex-wrap: nowrap;
    overflow-x: scroll;
    scrollbar-width: none;
    justify-content: flex-start;
    margin-top: 30px;
    gap: 20px;
    padding: 0 20px;
  }
  #information ul li {
    overflow: hidden;
    border-radius: 10px;
    flex: 0 0 auto;
    width: 60%;
  }
  /* 挑戦者たち */
  #challengers {
    padding: 100px 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0 100%);
  }
  #challengers h2 {
    margin-bottom: 40px;
  }
  #challengers ul {
    display: flex;
    justify-content: flex-start;
    scrollbar-width: none;
    overflow-x: scroll;
    overflow-y: hidden;
    gap: 20px;
    padding: 0 20px;
  }
  #challengers ul li {
    font-weight: 500;
    width: 70%;
    flex: 0 0 auto;
    animation-delay: 0.2s !important;
  }
  #challengers ul li a div {
    overflow: hidden;
    margin-bottom: 20px;
  }
  #challengers ul li a img {
    transition: 0.3s;
  }
  #challengers ul li a:hover img {
    scale: 1.05;
  }
  #challengers ul li:nth-child(2n + 1) {
    padding-top: 0;
  }
  #challengers ul li:nth-child(2n + 1) .challenger-message {
    bottom: 90px;
  }
  #challengers ul li .challenger-message {
    bottom: 90px;
  }
  .challenger-message .inner {
    font-size: 1.5rem;
  }
  #challengers .btn {
    display: flex;
    justify-content: center;
    margin: 100px auto 0;
  }
  .home
    :is(
      .right-in-move,
      .right-in-move.second,
      .right-in-move.third,
      .right-in-move.fourth
    )
    .right-move {
    animation: rightIn forwards 0.5s 1 ease 0.45s normal;
  }
  .home
    :is(
      .right-in-move,
      .right-in-move.second,
      .right-in-move.third,
      .right-in-move.fourth
    )
    .right-move:nth-of-type(2) {
    animation-delay: 0.5s;
  }
  .home
    :is(
      .right-in-move,
      .right-in-move.second,
      .right-in-move.third,
      .right-in-move.fourth
    )
    .right-move:nth-of-type(3) {
    animation-delay: 0.55s;
  }

  /* 募集要項 */
  #guideline {
    height: 500px;
    z-index: 1;
    margin-top: -50px;
    padding-top: 50px;
  }
  #guideline a {
    padding: 30px;
    font-size: 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    width: 55%;
  }
  #guideline a::after {
    position: unset;
    width: 60px;
    height: 60px;
    font-size: 25px;
    margin-top: 15px;
  }

  /* フッター */
  footer {
    padding-bottom: 80px;
  }
  footer .wrapper {
    padding: 60px 0 10px;
    gap: 40px;
  }
  .footer-logo {
    width: 60%;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0 20px;
  }
  .footer-nav > ul > li:first-child {
    padding: 20px 0;
  }
  .footer-nav > ul > li {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
  }
  .footer-nav .child {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }
  .footer-nav .last {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
  .copyright {
    margin: 0;
    padding: 20px;
    text-align: center;
  }
  #wpadminbar {
    display: none;
  }
}

/* 幅の小さいスマホ用表示 */
@media screen and (max-width: 377px) {
  .challenger-message .inner {
    font-size: 1.3rem;
  }

  #company-mission .message h2 {
    font-size: 75px;
  }
}

/* cookienotice */
.cookienotice {
  display: none;
  width: 100%;
  position: fixed;
  bottom: 0;
  background-color: rgba(0, 20, 42, 0.9);
  color: #fff;
  font-size: 0.7rem;
  z-index: 200;
  user-select: none;
}

.cookienotice.active {
  display: block;
}

.cookienotice a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.cookienotice .inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
}

.cookienotice .columns {
  display: flex;
  justify-content: space-between;
}

.cookienotice .inner .control {
  width: 100px;
  text-align: right;
}

.cookienotice .inner .body {
  flex: 1;
  line-height: 1.5;
}

.cookienotice .inner .accept {
  display: inline-block;
  padding: 8px 15px;
  background-color: #fff;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  border-radius: 5px;
}
