@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Whisper&display=swap');


  :root {
    --gray: #f7f5f5;
    --padding: 80px;
    --base-color: #f3f2f2;
    --primary-color: #C80000;
    --text-color: #333333;
    --red:#FFE6E1;
    --lightgray:#efefef;
    --darkredgray:#d7d2d2;
    --mediumgray:#453939;
    --redgray:#e5e0e0;
  }
  
  body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    background:var(--base-color);
    color: var(--text-color);
    font-size:16px;
    overflow-x: hidden;
    position:relative;
  }
  

  @media screen and (max-width: 768px) {
    body {
      font-size:14px;
    }
  }
    
  a {
    color: var(--primary-color);
    text-decoration: none;
  }

  a:hover{
    text-decoration: underline;
  }
  
  img {
    object-fit: cover;
  }

  
  /*  ボタン  */

  

  /*  共通設定 */
  .button{
    position: relative;
    display: inline-block;
    border:2px solid var(--primary-color);
    color:var(--primary-color);
    padding: 15px 60px 15px 30px;
    text-align: center;
    outline: none;
    transition: ease .2s;
    z-index:10;
    font-weight: 600;
    border-radius:5px;
  }

  .red_b{
    position:relative;
    background:var(--primary-color);
    color:white;
    margin-top:15px;
    border:2px solid var(--primary-color);
  }

  .white_b{
    border:2px solid white;
    color:white;
  }

  .button:hover{
    color:var(--primary-color);
    text-decoration:none;
  }


  /* 矢印が右に移動 */
  
  .button::after{
    content: '';
    position: absolute;
    top:41%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    transition: all .3s;
  }

  .gnav-list .button{
    padding:0 20px;
  }

  .gnav-list .button::after{
    display:none;
  }

  .red_b::after,
  .white_b::after{
    border-top: 2px solid white;
    border-right: 2px solid white;
    color:white;
  }

  /*hoverした際の移動*/
  .button:hover::after{
    right: 13px;
  }
  
  .red_b:hover{
    background:var(--text-color);
    border:2px solid var(--text-color);
    color:white;
  }
  
  .red_b:hover::after{
    border-top: 2px solid white;
    border-right: 2px solid white;
    color:white;
  }
  
  .white_b:hover{
    color:white;
  }
  
  .white_b:hover::after{
    border-top: 2px solid white;
    border-right: 2px solid white;
  }


  /*   TOP   */

  header {
    position:fixed;
    width:100%;
    height:80px;
    text-align: center;
    z-index: 100;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .news ul {
    display: block;
    width: 100%; /* 親要素の幅を確保 */
}

.news ul li {
    display: block;
    clear: both; /* フロートの影響を排除 */
    width: 100%; /* 各リスト項目を親要素の幅に合わせる */
}
  

@media screen and (max-width: 900px) {
  header{
    height:60px;
  }
}

  img.top-img {
    width: 100%;
    height:75vh;
    margin-top:-20px;
    object-position: 60% 100%;
    min-height:620px;
  }

  @media screen and (max-width: 768px) {
  img.top-img {
    object-fit: cover;
    height: 50vh;
  }
}

.news {
  background:black;
  height:60px;
  padding:0;
}

.news .inner {
  width:auto;
  max-width:100%;
  padding-left: 25px;
}

.news p{
  float: left;
  padding: 0 0 0 10px;
  color: white;
  font-size: 12px;
  margin: 10px 0;
}

.news p:first-child{
  border-right:2px solid white;
  padding: 0 10px 0 0;
}

.top-b{
  background: var(--primary-color);
  color: white;
  padding: 2px 5px;
  border-radius: 2px;
}

.top-b:hover{
  text-decoration: none;
  background: var(--darkredgray);
  color: var(--primary-color);
}

@media screen and (max-width: 450px) {

  .news p:first-child{
    margin: 10px 10px 0 0;
  }
  .news p:nth-child(2){
    float:none;
    margin: 0;
    padding: 10px 0 0 0;
  }
  .news p:nth-child(3){
    margin-left: 45px;
    margin:5px 0 10px 50px;
  }
  .news p:nth-child(4){
    margin:5px 0 0 0;
  }
  
  #top section{
    overflow:hidden;
  }

  section.news{
    height:90px;
  }
}

.hero{
  position:relative;
  padding:0;
}

img.copy{
  position:absolute;
  top:0;
  left:3vw;
  width: 750px;
  max-width:90%;
  z-index:3;
}

p.sub-copy{
  position:absolute;
  bottom:-10vh;
  font-size:180px;
  font-family: 'Whisper', serif;
  color: var(--primary-color);
  transform: rotate(-10deg);
}



@media screen and (max-width: 1300px) {

  p.sub-copy{
    position:absolute;
    bottom:-130px;
  }

  img.copy{
    position:absolute;
    left:2vw;
  }

  img.top-img {
    object-position: 60% 120%;
  }
}

@media screen and (max-width: 910px) {
  p.sub-copy{
    font-size:130px;
  }
  img.copy{
    width:600px;
    left:20px;
  }
}

@media screen and (max-width: 768px) {

  img.top-img {
    object-position: 63% 60%;
  }
  p.sub-copy{
    bottom:-5vh;
    font-size:65px;
  }
  img.copy{
    width:400px;
    top:5px;
    left:5px;
  }
}
@media screen and (max-width: 500px) {
  p.sub-copy{
    bottom:-5vh;
    left: 10px;
  }
  .hero p.sub-copy{
    mix-blend-mode: hard-light;
  }
  img.copy{
    top:0;
    left:10px;
    max-width:300px;
  }
}


  /*  ナビゲーション   */

  .gnav {
    padding: 10px 40px 12px 40px;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 3;
    letter-spacing: 0.05em;
    position: fixed;
    top:7px;
    right: 20px;
    z-index: 3;
  }

  .logo{
    position: fixed;
    top: 20px;
    left: 25px;
    z-index: 3;
  }

  @media screen and (max-width: 900px) {
    .logo{
      top: 13px;
      left: 15px;
    }
  }

  header img{
    width:150px;
    mix-blend-mode: difference;
  }

  
  .gnav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10px;
  }
  .gnav-list li {
    margin: 0 15px;
    font-weight: 600;
    border-top:2px solid white;
  }
  .gnav-list a {
    display: block;
  }
  .gnav-list a:hover {
    text-decoration:none;
  }
  .gnav-list a:hover li{
    border-top:2px solid var(--primary-color);
  }
  .gnav-list li img{
    display:none;
  }
  .header .button{
    padding: 0px 40px 0px 30px;
    background:var(--primary-color);
    color:white;
  }
  .gnav-list .button{
    padding: 0px 20px;
    line-height:37px;
  }
  .header .button::after{
    border-top: 2px solid white;
    border-right: 2px solid white;
  }
  .header .button:hover{
    background:var(--text-color);
    color:white;
    border:2px solid var(--text-color);
  }
  .header .button:hover::after{
    border-top: 2px solid white;
    border-right: 2px solid white;
  }


  
/* ハンバーガーメニュー */

.nav{
  position: fixed;
  right: 15px;
  top: 11px;
}

@media screen and (max-width: 900px) {
  .nav{
    right: 0;
    top: 0;
  }
}
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 2px;
  background: var(--text-color);
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #fff;
  transition: .5s;
  padding:80px 5%;
}

/* メニュー黒ポチを消す */
.nav_list {
  width:500px;
  max-width:100%;
  margin:0 auto;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  left: 0;/* メニューを画面に入れる */
}

.nav_list li{
  padding:15px 20px;
}

.nav_list .button{
  margin-top:20px;
  text-decoration:none;
}

.simple{
  margin-top:50px;
}

.simple li{
  padding:5px;
}

.simple li a{
  color:var(--text-color);
}

.simple a:hover{
  text-decoration:underline;
}


/* ページトップへ戻るボタン */

.page-top {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s,visibility 1s, transform 1s;
}

.page-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.page-top_link {
  position: relative;
  display: block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
}
.page-top_link:hover {
  background-color: var(--text-color);
}

.page-top_link:before {
  content: "";
  display: block;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}


  /* セクション */

  main{
    margin-top:80px;
  }

  @media screen and (max-width: 900px) {
  main{
    margin-top:60px;
  }
  }

  article{
    padding-bottom:40px;
  }

  section{
    margin: 0;
    padding:100px 0;
    clear:both;
    overflow:hidden;
  }

  #top section{
    overflow:visible;
  }

  .gray{
    background:var(--redgray);
  }

  .white{
    background:white;
  }

  .training{
    padding: 0 0 100px 0;
  }
  
  @media screen and (max-width: 768px) {
    
  .training,
  section{
    padding:50px 0;
  }

  }

  .inner{
    width:1200px;
    max-width:90%;
    margin:0 auto;
  }

  .inner p{
    margin-bottom:20px;
  }

  .inner p:last-child{
    margin-bottom:10px;
  }

  /* TOP / メッセージ */
  .message{
    font-size:20px;
    line-height:1.8;
  }

  img.copy_black,
  .message .inner > div{
    margin-bottom:100px;
    text-align:center;
  }

  .message .inner > div:last-child{
    margin-bottom:0;
  }

  .message .inner > div.large{
    font-size:36px;
  }

  p.bar{
    width:50%;
    height:100px;
    border-right:2px solid var(--primary-color);
  }


  .message .inner > div p{
    margin-bottom:40px;
  }

@media screen and (max-width: 600px) {
  .message{
    padding:80px 0;
    font-size:16px;
    line-height:1.4;
  }

  .message .inner > div{
    margin-bottom:80px;
    text-align:left;
  }

  .message .inner > div.large{
    text-align:center;
    font-size:21px;
  }

  p.bar{
    height:50px;
  }

  .message .inner > div p{
    margin-bottom:30px;
  }

  .message br{
    display:none;
  }

  .message .large br{
    display:block;
  }
  
}

  /* TOP / 会社紹介 */

  .company{
    padding:60px 0 160px 0;
    background:var(--redgray);
    margin-top:100px;
  }
  
  @media screen and (max-width: 500px) {
    .company{
      padding:40px 0 60px 0;
    }
  }

  .company .inner{
    display:flex;
    text-align:left;
  }
  
  @media screen and (max-width: 768px) {
    .company .inner{
      display:inline-block;
      max-width:95%;
    }
  }

  .company div.video-box{
    margin-right:0;
  }

  .member{
    background: var(--text-color);
    padding:60px 0 150px 0;
    color:white;
    min-height:500px;
  }
  
  @media screen and (max-width: 768px) {
    .member{
      min-height:auto;
    }

    .member .inner{
      display:inline-block;
      max-width:95%;
    }
  }

  .member p.sub-copy{
    top: -190px;
    left:-65px;
  }
  
  @media screen and (max-width: 500px) {
    .member{
      padding:40px 0 100px 0;
    }
  }


  /* スライドショー */
  .splide {
    margin:-160px auto 0 auto;
    width:100%;
    position:relative;
  }

  .splide__slide {
    align-items:flex-start;
  }

  .splide__arrow {
    background: var(--darkredgray);
  }

  .splide__arrow svg {
    fill: var(--text-color);
  }

  .splide__arrow--next {
    right: -30px;
  }

  .splide__arrow--prev {
    left: -30px;
  }

  @media screen and (max-width: 768px) {
    .splide {
      margin:-80px auto 0 auto;
    }

    .splide__arrow--next {
      right: -10px;
      top:40%;
    }
  
    .splide__arrow--prev {
      left: -10px;
      top:40%;
    }
  }

  .splide__slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
  }

  .splide__slide a {
    color:var(--text-color);
  }

  @media screen and (max-width: 1300px) {
    .splide__slide a {
      width:90%
    }
  }

  .splide__slide a:hover {
    text-decoration: none;
  }

  .splide__slide a:hover  div.s-fade-wrap{
    /* margin-top:-20px; */
    background:var(--base-color);
    border-radius:10px;
  }

  .splide__slide a:hover p {
    color:var(--primary-color);
  }

  .splide__slide a:hover img {
    opacity:.8;
  }

  .s-fade-wrap{
    width:100%;
    max-width:300px;
    height:auto;
  }

  .gallery .s-fade-wrap{
    max-width:100%;
  }

  .s-fade-wrap img {
    width:100%;
    border-radius:10px;
  }

  .name {
    font-size:40px;
    text-align:left;
  }

  .job {
    text-align:left;
    font-size:16px;
    line-height:1.2;
    position: absolute;
    padding: 8px 16px;
    background:var(--primary-color);
    color: white;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
  }

  .development {
    background: #3069b0;
  }

  .production {
    background: #038957;
  }

  .sales {
    background: #ca4d4d;
  }
  
  .splide__slide .job {
    top:0;
  }

  .splide__slide a:hover p.job{
    color:white;
  }

  .gallery{
    margin:0 auto;
    position:relative;
    width:100%;
    overflow:hidden;
  }

  .gallery .swiper-wrapper{
    transition-timing-function: linear;
  }

  .gallery .s-fade-wrap img {
    width:90%;
    border-radius:0;
  }
  
  .uij_corner .gallery .s-fade-wrap img {
    width: 100%;
    height: auto; /* アスペクト比を維持 */
  }

  .member-link{
    text-align:center;
    margin-top: 80px;
  }

  .tag-box p{
    background:var(--darkredgray);
    font-size:14px;
    padding:0px 6px 3px 6px;
    float:left;
    margin:0 20px 8px 0;
    height:24px;
    position:relative;
  }

  .tag-box p::before{
    content:"";
    display:block;
    position:absolute;
    top: 0;
    right: -7px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--darkredgray);
    border-top: 12.5px solid transparent;
    border-bottom: 12.5px solid transparent;
  }


  .tag-box{
    display: flex;
    flex-wrap:wrap;
  }

.withnote{
  width:50%;
}

article .withnote img{
  width:100%;
  margin-bottom:20px;
}

.withnote p.note{
  font-size: 14px;
  margin-bottom: 40px;
  opacity: .8;
  text-align: center;
}
  
@media screen and (max-width: 768px) {
  .withnote{
    width:100%;
  }
}






  /*  エントリーボタンコーナー */
  .entry{
    position:relative;
    width:100%;
    height:400px;
    text-align:center;
    padding:0;
  }

  .entry img{
    position:absolute;
    left:0;
    width:100%;
    height:400px;
    object-position: 50% 75%;
    z-index:-1;
    opacity:.85;
  }

  .entry a{
    top:150px;
  }


  /* 新卒募集要項 */

  .entry-box{
    width:100%;
    display:flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
  }

  .single{
    width:600px;
    max-width:100%;
    margin:40px auto 0 auto;
  }
  
  .entry-2-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .entry-2 {
    position: relative;
    display: inline-block;  
    width: 300px;  
    color: #ffffff;
    padding: 20px 20px 20px 5px;
    line-height: 37px;
    border: solid 2px var(--primary-color);
    background-color: var(--primary-color);
    border-radius: 5px;
    font-size: 28px;
    text-align: center;
    transition: ease .2s;
    z-index:10;
  }
  .entry-2:hover{
    color:#ffffff;
    text-decoration:none;
  }
  .entry-2::after{
    content: '';
    position: absolute;
    top:44%;
    right: 20px;
    width: 12px;
    height: 12px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: all .3s;
  }
  .entry-2:hover::after{
    right: 15px;
  }
  @media screen and (max-width: 900px) {
    .entry-2-container {
    width: 95%;
    }
  }

  @media screen and (max-width: 768px) {
    .entry-box{
      display:block;
    }    
    .entry-box > div:first-child {
      margin-bottom:40px;
    }
    .entry-2-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    }
  }

  .entry-box > div {
    width:100%;
  }

  .entry-box div p{
    width:100%;
    text-align:center;
    background:var(--mediumgray);
    color:white;
    margin-bottom:0;
  }

  .entry-button-box{
    width:100%;
    display:flex;
    justify-content: space-around;
    gap: 20px;
    background: white;
    padding: 40px 10px;
    align-items: center;
    border-radius: 10px;
  }

  /* フロー図 */

  .flow{
    display:flex;
    justify-content: space-between;
  }

  .flow p{
    background:var(--redgray);
    padding:20px 5px;
    position:relative;
    margin-right:30px;
    width: calc(100% / 6 - 40px);
    text-align: center;
  }

  .flow p::after{
    position:absolute;
    content: '';
    top:43%;
    right: -26px;
    width: 15px;
    height: 15px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
  }

  .flow p span{
    line-height:50px;
  }

  .flow p span.long{
    line-height:1.6;
  }

  .flow p:last-child{
    margin-right:0;
  }

  .flow p:last-child::after{
    border:none;
  }

  
  @media screen and (max-width: 990px) {

    .flow p{
      padding:20px 0px;
      margin-right:20px;
      width: calc(100% / 6 - 20px);
    }

    .flow p::after{
      right: -16px;
    }
  }

  
  @media screen and (max-width: 768px) {
    .flow{
      display:block;
    }

    .flow p{
      width:100%;
      padding:5px 20px;
      margin-right:0;
      margin-bottom:40px;
    }

    .flow p span{
      line-height:1.6;
    }

    .flow p span br{
      display:none;
    }

    .flow p::after{
      top: 40px;
      right: calc(50% - 8px);
      transform: rotate(135deg);
    }



  }


 /* 環境 */

.training_flow{
  display:flex;
  padding:40px 0 80px 0;
}

.training_flow .item{
  margin-right:40px;
  position:relative;
}

.training_flow .title{
  background: var(--darkredgray);
  text-align:left;
  padding:4px 16px;
}

.training_flow .title p {
  font-weight:600;
  font-size:1.2em;
  margin-bottom:0;
}

.training_flow .item img{
  width:100%;
  margin-bottom:10px;
}

.training_flow .contents h4{
  font-size:1.5em;
  margin-bottom:8px;
}

.training_flow .contents ul li{
  list-style: disc;
  margin-left:20px;
}

training_flow .item::after{
  position: absolute;
  content: '';
  top: 105px;
  right: -25px;
  width: 15px;
  height: 15px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  transform: rotate(45deg);
}

.training_flow .item:last-child{
  margin-right:0;
}

.training_flow .item:last-child:after{
  border:none;
}


@media screen and (max-width: 1120px) {

  .training_flow{
    display:block;
    overflow:hidden;
  }
  
  .training_flow .item{
    margin-right:0;
    position:relative;
  }
  
  .training_flow .title{
    text-align:center;
    padding-left:0;
  }

  .training_flow .item::after{
    position: absolute;
    content: '';
    top: 20px;
    right: calc(50% - 8px);
    width: 15px;
    height: 15px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(135deg);
  }

  .training_flow .item:last-child:after{
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
  }

  .training_flow .item{
    clear:both;
    padding-top:80px;
  }

  .training_flow .item:first-child{
    padding-top:0;
  }

  .training_flow .item:first-child:after{
    border:none;
  }

  .training_flow .title{
    padding:2px;
  }

  .training_flow .contents {
    margin:20px 0 40px 0;
  }

  .training_flow .contents div{
    float:right;
    width: calc(100% - 440px);
  }

  .training_flow .item img{
    width:400px;
    margin-right:40px;
    float:left;
  }

}


  @media screen and (max-width: 768px) {

    .training_flow .contents div{
      width: 100%;
    }
  
    .training_flow .item img{
      width:100%;
      margin-right:0;
    }

  }

.training  .inner > h4{
  margin-bottom:20px;
}

.white-back{
  background: white;
  padding:20px 40px;
  border-radius: 10px;
}

.bold{
  font-weight:600;
}

.clm {
  padding:40px 0;
  clear:both;
}

.three-item{
  display:flex;
  gap:40px;
  justify-content: space-between;
}

.three-item > div {
  width:calc(33% - 26px);
}

.sukima{
  padding-bottom:40px;
}

.special {
  background: var(--lightgray);
  padding:20px 40px;
  border-radius:10px;
  margin-top:40px;
}

.special h4{
  font-size: 1.2em;
  line-height: 1.4;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid var(--primary-color);
}

.life {
  display:flex;
  justify-content: space-between;
  gap:40px;
}

.life > div {
  width:calc(50% - 20px);
  display:flex;
  justify-content: space-between;
  gap:20px;
}

.life > .long-w {
  width:100%;
}

.life img {
  width:250px;
  height:180px;
}

.life h4{
  border-bottom: 1px solid var(--primary-color);
  padding-bottom:12px;
  margin-bottom:12px;
}


@media screen and (max-width: 1100px) {

  .life{
    display:block;
    padding-top:80px;
  }

  .life > div {
    min-height:100px;
    padding-top:80px;
    clear:both;
    width:100%;
    margin-bottom:40px;
  }

  .life > div:first-child {
    padding-top:0;
  }

  .life div img{
    width:400px;
    margin-right:40px;
  }

  .life div .text {
    float: right;
    width: calc(100% - 440px);
    margin-top:0;
  }


}

@media screen and (max-width: 768px) {

  .three-item{
    display:block;
    padding-top:80px;
  }

  .three-item > div {
    width:100%;
    margin-bottom:40px;
  }

  .three-item > div:last-child {
    margin-bottom:0;
  }

  .sukima{
    padding-bottom:0;
  }

  .special {
    margin-top:0;
    padding:20px;
  }

  .life > div {
    display:block;
  }

  .life div img{
    width:100%;
    margin-right:0;
  }

  .life div .text {
    width: 100%;
  }

}

@media screen and (max-width: 500px) {

.three-item{
  padding-top:0;
}

.special{
  padding-top:20px;
}

}

.inner .point {
  margin-bottom:0;
  font-weight:600;
  color:var(--primary-color);
}

.card-box a{
  width:calc(33% - 26px);
}

.link-card {
  background:white;
  padding:0 0 1px 0;
  position:relative;
  border-radius: 10px;
}

.link-card::after {
  position: absolute;
  content: '';
  bottom: 30px;
  right:24px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  transform: rotate(45deg);
  transition: all .3s;
}

a:hover .link-card::after {
  right:19px;
}

.link-card img {
  width:100%;
  height:200px;
  object-fit:cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom:12px;
}

a:hover .link-card img {
  opacity:.8;
}

.link-card h4 {
  padding:0 20px;
}

a .link-card h4 {
  font-size: 1.3em;
  color:var(--text-color);
}

a:hover .link-card h4 {
  color:var(--primary-color);
}

.card-box a:hover {
  text-decoration: none;
}

@media screen and (max-width: 768px) {

.card-box a{
  width:100%;
}

.link-card {
  margin-bottom:40px;
}

}

  /* テーブル */

  .table {
    margin-top:20px;
    border-top:1px solid gray;
  }

  .row {
    width:100%;
    display:flex;
    justify-content: flex-start;
    align-self: flex-start;
    background: var(--redgray);
    border-bottom:1px solid gray;
  }

  .row .item {
    width:200px;
    padding:20px;
  }

  .row .two-word{
    letter-spacing: 30px;
  }

  .row .three-word{
    letter-spacing: 8px;
  }

  .row .contents {
    width: calc(100% - 200px);
    background:white;
    padding:20px;
  }

  .row .contents li {
    list-style:disc;
    margin-left:20px;
  }

  .row .contents .schedule{
    margin:0 0 10px 0;
    display:flex;
  }

  .row .contents .schedule:last-child{
    margin:0;
  }

  .row .contents .schedule .month{
    width:28px;
  }

  .row .contents .schedule .mini{
    width:30px;
  }

  .row .contents .schedule .date{
    width:20px;
  }

  .row .contents .schedule .week{
    width:70px;
  }

  .row .contents .schedule .time{
    width:120px;
    padding:0;
    font-weight:normal;
  }

  .row .contents .schedule .title{
    width:calc(100% - 210px);
    text-align:left;
  }


  .row .contents .delete .month,
  .row .contents .delete .date,
  .row .contents .delete .week,
  .row .contents .delete .time,
  .row .contents .delete .time span,
  .row .contents .delete .title span{
    position:relative;
  }

  .row .contents .delete .month:after,
  .row .contents .delete .date:after,
  .row .contents .delete .week:after,
  .row .contents .delete .time:after,
  .row .contents .delete .title span:after{
    content:"";
    display:block;
    width:100%;
    height:6px;
    margin-top:-2px;
    border-top:solid 1px gray;
    border-bottom:solid 1px gray;
    position:absolute;
    left:0;
    top:50%;
  }


  .row .contents .delete02 .month,
  .row .contents .delete02 .date,
  .row .contents .delete02 .week,
  .row .contents .delete02 .time,
  .row .contents .delete02 .title{
    opacity:.5;
  }


  @media screen and (max-width: 768px) {
    .row .item {
      width:100px;
    }

    .row .two-word,
    .row .three-word{
      letter-spacing: 0;
    }

    .row .contents {
      width: calc(100% - 100px);
  }

    .row .contents .schedule{
      display:block;
    }

    .row .contents .schedule .month,
    .row .contents .schedule .date,
    .row .contents .schedule .week{
      width:auto;
      float:left;
      font-weight:600;
    }

    .row .contents .schedule .time,
    .row .contents .schedule .title{
      width:100%;
    }
    
    .row .contents .delete .time:after{
      display:none;
    }
    
    .row .contents .delete .time span:after{
      content:"";
      display:block;
      width:100%;
      height:6px;
      margin-top:-2px;
      border-top:solid 1px gray;
      border-bottom:solid 1px gray;
      position:absolute;
      left:0;
      top:50%;
    }
  }




  /*  タイトル関連  */

  .title{
    padding:0;
  }

  .title .inner{
    position:relative;
    max-width:100%;
    height:300px;
    text-align:left;
  }

  .title .inner img{
    position:absolute;
    width:75%;
    height:400px;
    top:0;
    right:0;
    z-index:-1;
  }

  .title .inner div{
    position:absolute;
    top:100px;
  }

  .title .inner p{
    margin-bottom:-13px;
  }

  .title .inner p span {
    font-family: 'Whisper', serif;
    font-size:50px;
    color:var(--primary-color);
    background:var(--base-color);
    padding:10px 2px;
  }

  .title .inner h2 span{
    background:var(--base-color);
    padding-right:5px;
  }

  @media screen and (max-width: 1300px) {
    .title .inner div{
      left:45px;
    }
  }

  @media screen and (max-width: 768px) {
    .title .inner{
      display: inline-block;
    }

    .title .inner img{
      position:static;
      width:100%;
      height:auto;
    }
    
    .title .inner div{
      position:static;
      width:90%;
      height:auto;
      margin: 20px auto;
    }
  }

  h2{
    position:relative;
    font-size:48px;
    padding-bottom:40px;
  }
  @media screen and (max-width: 768px) {
    h2{
      position:relative;
      font-size:36px;
      padding-bottom:20px;
      line-height:1.2;
    }

    .title h2{
      margin-top: 10px;
    }
  }

  h2 p.sub-copy{
    bottom: auto;
    top: -200px;
    left: -65px;
    font-size: 150px;
  }

  @media screen and (max-width: 768px) {
  
  .member p.sub-copy,
  h2 p.sub-copy{
    left: -20px;
  }
}
  
  @media screen and (max-width: 500px) {
    h2 p.sub-copy{
      bottom: auto;
      top: -100px;
      left: 0;
      font-size: 70px;
    }

    .member p.sub-copy{
      top: -90px;
      left:-5px;
    }
  }

    h3{
        margin-bottom:20px;
        font-size:36px;
    }

    h4{
        font-size:1.7em;
        margin-bottom:20px;
    }
    
  @media screen and (max-width: 500px) {

    h3{
        font-size:28px;
        line-height:1.2;
    }

    h4{
        font-size:1.5em;
    }

  }

    .title{
      text-align:center;
      margin-bottom:0;
    }

    .note{
      font-size:12px;
    }



  /*   カード   */
  .card-container {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top:100px;
  }
  
  .card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 5px;
    padding-bottom:20px;
    position:relative;
  }
  
  .card img {
    width: 100%;
    border-radius: 10px;
  }

  a:hover .card img{
    opacity:.8;
  }

  .card p{
    margin-bottom:0;
    font-size:14px;
  }

  .card .tag-box p {
    margin-bottom:8px;
  }

  p.name{
    font-size:32px;
  }

  .card-container a{
    color:var(--text-color);
  }

  .card-container a:hover {
    text-decoration:none;
    color:var(--primary-color);
  }
  
  @media screen and (max-width: 620px) {
    .card-container {
      grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    }
    .card p.job {
      font-size:12px;
    }
    p.name{
      font-size:24px;
    }
  }
  
  @media screen and (max-width: 410px) {
    .card-container {
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
  }

  /*  左右レイアウト  */

  div.box{
    width:43%;
    float:left;
  }

  #top div.box{
    padding-left:3%;
  }

  #environment .right{
    width:50%;
    float:right;
  }

  @media screen and (max-width: 768px) {

  div.box{
    width:100%;
    margin-bottom:20px;
  }

  #environment .right{
    width:100%;
    float:none;
  }

  }

  

 /*  記事  */

  .profile{
    width: 150px;
    height: 200px;
    overflow:hidden;
    float:left;
    margin-right:40px;
  }

  article p.job{
    font-size:18px;
    position: relative;
    background: none;
    margin: 0 0 10px 0;
  }

  article p.development span {
    background: #3069b0;
    padding: 2px 5px;
  }

  article p.production span {
    background: #06ab6e;
    padding: 2px 5px;
  }

  article p.sales span {
    background: #ca4d4d;
    padding: 2px 5px;
  }

  .short {
    padding-top:0;
  }

  article .gray{
    background:var(--redgray);
  }

  article .inner{
    overflow:hidden;
  }

  article .box{
    width:45%;
    padding:0;
    float:left;
  }

  article img{
    width:50%;
    float:right;
  }

  article .right .box{
    float:right;
  }

  article .right img{
    float:left;
  }

  article .intro {
    display:block;
  }

  article .long{
    display:block;
  }
  
  article .long img{
    width:100%;
    padding-bottom:40px;
  }

  article .long .box{
    width:100%;
    padding:0;
  }

  article .long p.note{
    font-size: 14px;
    margin-bottom: 40px;
    opacity: .8;
    text-align: center;
  }

  
  @media screen and (max-width: 768px) {

  article .long p.note{
    font-size: 12px;
  }
}


  article h3 {
    border-left:6px solid var(--primary-color);
    padding-left:15px;
    margin-bottom:20px;
    line-height: 1.2;
    font-size: 24px;
    font-weight: 600;
  }

  article .box p{
    line-height:1.9;
    letter-spacing: 0.05em;
  }

  .schedule{
    margin:40px 0 50px 0;
  }

  .list{
    position:relative;
    display:flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap:10px;
    width:100%;
    padding:5px;
    border:2px solid var(--redgray);
    margin-bottom:20px;
  }

  .time{
    width:80px;
    padding: 0 20px;
    font-weight:600;
  }

  .task{
    padding: 0;
  }

  .list::after{
    content: '';
    position: absolute;
    bottom:-20px;
    left: 0;
    width: 40px;
    height: 20px;
    border-right: 2px solid var(--text-color);
  }

  .list:last-child::after{
    border:none;
  }

  .holiday{
    width:50%;
    float:right;
  }

  .holiday img{
    width:100%;
    margin-bottom:20px;
    float:none;
  }

  .holiday img.vertical{
    width:350px;
    max-width:100%;
    margin-bottom:20px;
    float:none;
  }

  .swiper-slide a {
    border-radius:10px;
  }

  @media screen and (max-width: 768px) {
    
    article .short {
      padding-top:50px;
    }

    article .box,
    article img,
    .holiday{
      width:100%;
    }
  
    article .long img{
      padding-bottom:20px;
    }
    
    article .name,
    article .job {
      text-align: left;
    }

  }

  @media screen and (max-width: 500px) {

    .holiday img.vertical{
      width:100%;
    }
  }

  



  
  /*  パンくず  */
  
  @media screen and (max-width: 500px) {
    .pan{
      padding-bottom: 40px;
    }
  }

  .pan li{
    float: left;
    margin-right: 25px;
    position:relative;
  }
  
  .pan li:after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top:40%;
    right: -15px;
    /*矢印の形状*/
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--text-color);
    border-right: 1px solid var(--text-color);
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
  }

  .pan li:last-child::after{
    display:none;
  }
  


  /*  フッター  */
  footer{
    padding:24px 0 90px 0;
    text-align:center;
    background: black;
  }

  footer .inner{
    display:flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer{
    display: flex;
    max-width: 90%;
  }

  .footer li{
    padding:5px 0;
    margin-right: 20px;
    font-size:12px;
  }

  .footer a{
    color:white;
  }

  .footer img:hover{
    opacity:.8;
  }

  footer small{
    color:white;
    opacity:.8;
    font-size:12px;
    padding-right:20px;
  }
  
  @media screen and (max-width: 900px) {

    footer .inner,
    .footer{
      display:block;
      max-width:100%;
    }

    .footer li{
      margin-right:0;
    }

    footer small{
      display:block;
      margin-top:40px;
      padding:0;
    }
  }


/*////////// ビデオ埋め込み //////////*/


div.video-box{
  width:50%;
  margin:0 auto;
  float:right;
}
  
@media screen and (max-width: 768px) {
  div.video-box{
    width:100%;
    padding-left: 5%;
    margin: 80px 0 100px 0;
  }
}

div.iframeWrap {
position: relative;
width: 100%;
padding-top: 56.25%;
margin: 0 auto;
}

div.iframeWrap iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}


@media screen and (max-width: 1030px) {
  .pc{
    display:none;
  }
}

/* 和歌山での暮らし */
.wakayama-copy{
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
}

.wakayama-copy p{
  font-size:50px;
  font-family: 'Whisper', serif;
  color: var(--primary-color);
}

.wakayama-copy h1 {
  font-size: 50px;
  color: #fff;
}

@media screen and (max-width: 700px) {
  .wakayama-copy p{
    font-size:40px;
  }
  
  .wakayama-copy h1 {
    font-size: 40px;
  }
}

@media screen and (max-width: 515px) {
  .wakayama-copy p{
    font-size:30px;
  }
  
  .wakayama-copy h1 {
    font-size: 30px;
  }
}

.donna {
  background-color: #fff;
}

.donna_title {
  text-align: center;
  background-color: #fff;
}

.donna_title h2 {
  display: inline-block;
  color: var(--primary-color);
  border: solid 2px var(--primary-color);
  border-radius: 5px;
  font-size: 40px;
  padding: 0px 40px;
}

.wakayama2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.wakayama2 img {
  max-width: 40%;
  margin: 0 auto;
}

.wakayama2 p {
  max-width: 40%;
  margin: 0 auto;
  text-align: justify;
  line-height: 30px;
}

@media screen and (max-width: 900px) {
  .wakayama2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
  }
  .wakayama2 p {
    max-width: 80%;
    margin: 20px auto;
    text-align: justify;
    line-height: 30px;
  }
}

@media screen and (max-width: 700px) {
  .wakayama2 img {
    max-width: 80%;
    margin: 0 auto;
  }
}

.kurashi_title {
  text-align: center;
}

.kurashi_title h2 {
  display: inline-block;
  color: var(--primary-color);
  border: solid 2px var(--primary-color);
  border-radius: 5px;
  font-size: 40px;
  padding: 0px 40px;
  background-color: #fff;
}

.kurashi h3 {
  border-left: 6px solid var(--primary-color);
  padding-left: 15px;
  line-height: 1.2;
  font-size: 32px;
  font-weight: 600;
  font-family: notoNoto Sans JP;
  margin-top: 80px;
  margin-bottom: 35px;
}

.wcard-cont {
  display: flex;
  justify-content: space-between; /* 要素間のスペースを均等に配置 */
  gap: 20px;
}

.wcard-cont > div {
  flex: 1; /* 各要素を均等に幅を取る */
  max-width: 48%; /* 2つの要素がinnerの幅に収まるよう調整 */
}

.rowcard-cont {
  gap: 20px;
}

.kurashi-row {
  display: flex; /* 横並びにする */
  gap: 20px; /* 要素間の間隔を調整 */
  flex-wrap: wrap; /* 幅が狭くなったときに折り返す */
}

.kurashi-row > .kurashi {
  flex: 1; /* 各要素を均等に幅を取る */
  max-width: 48%; /* 横並び時の最大幅を調整 */
}

.wcard, .rowcard {
  background: #fff;
  border: 1px solid var(--darkredgray);
  border-radius: 12px;
  padding: 40px 20px;
  flex: 1;
  text-align: center;
}

.wcard p {
  margin-bottom: 0px;
}

.wcard-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wcard-subtitle {
  font-size: 24px;
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 32px;
}

.big {
  font-size: 1.3em;
  letter-spacing: 2px;
  font-weight: bold;
}

.wcard-subtitle span {
  color: #666;
}

.wcard img {
  margin-top: 20px;
  width: 120px;
  height: auto;
  margin: auto;
}

.imgbig img {
  height: 150px; /* 高さを固定 */
  width: auto; /* アスペクト比を維持 */
  margin: auto; /* 中央揃え */
  padding-top: 20px; /* 上にパディングを追加 */
  display: block; /* ブロック要素として扱う */
}

.red {
  color: var(--primary-color);
  font-weight: 900;
}

.source {
  font-size: 12px;
  color: #666;
  margin-top: 12px;
  text-align: right;
  padding-right: 10px;
}

.source-link {
  text-decoration: underline; /* 下線を引く */
  color: inherit; /* 親要素の色を継承 */
}

.odekake-cont {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.ocard {
  flex: 1;
  text-align: center;
}

.ocard img {
  border-radius: 10px;
  margin-bottom: 10px;
}

.ocard p {
  text-align: justify;
  padding-top: 10px;
}

.uij_corner {
  background-color: #fff;
}

.uij {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.uij-text {
  font-size: 32px;
  padding: 0px 0 50px 0;
}

.uij img {
  margin-top: 40px;
}

@media screen and (max-width: 700px) {
  .donna_title h2{
    font-size:30px;
  }
  .kurashi_title h2 {
    font-size: 30px;
  }
}

@media screen and (max-width: 515px) {
  .donna_title h2{
    font-size:20px;
  }
  .kurashi_title h2 {
    font-size: 20px;
  }
}

@media screen and (max-width: 1075px) {
  .wcard-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .wcard-subtitle {
    font-size: 21px;
  }
  
  .highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 26px;
  }

  .big {
    font-size: 1.3em;
    letter-spacing: 2px;
    font-weight: bold;
  }
}

@media screen and (max-width: 970px) {
  .wcard-subtitle {
    font-size: 19px;
  }
}

@media screen and (max-width: 900px) {
  .wcard-cont,
  .kurashi-row,
  .odekake-cont {
    flex-direction: column; /* 縦に並べる */
    width: 100%; /* 親要素の幅を100%にする */
  }

  .wcard-cont > div,
  .kurashi-row > .kurashi {
    max-width: 100%; /* 子要素の幅を親要素に合わせる */
    flex: none; /* 子要素の幅を固定 */
  }
}

@media screen and (max-width: 1060px) {
  .uij-text {
    font-size: 25px;
  }
}
@media screen and (max-width: 630px) {
  br {
    display: none; /* 800px以下では改行を無効にする */
  }
}
@media screen and (max-width: 515px) {
  .kurashi h3 {
    font-size: 23px;
  }
  .uij-text {
    font-size: 20px;
    white-space: normal; /* 通常の改行を許可 */
  }
}

@media screen and (max-width: 900px) and (min-width: 515px) {
  .wcard-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .wcard-subtitle {
    font-size: 24px;
  }
  
  .highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 32px;
  }

  .big {
    font-size: 1.3em;
    letter-spacing: 2px;
    font-weight: bold;
  }


}

@media screen and (max-width: 400px) {
.source {
  font-size: 11px;
  text-align: left;
}
}


/* お仕事紹介 */
.oshigoto h3 {
  border-left: 6px solid var(--primary-color);
  padding-left: 15px;
  line-height: 1.2;
  font-size: 32px;
  font-weight: 600;
  margin-top: 80px;
  margin-bottom: 35px;
}

.job_title {
  text-align: center;
  margin-bottom: 50px;
  padding-top: 50px;
}
.job_title h2 {
  display: inline-block;
  color: var(--primary-color);
  border: solid 2px var(--primary-color);
  border-radius: 5px;
  font-size: 32px;
  font-weight: 600;
  width:100%;
  padding-bottom: 0px;
}
.job-cont {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.jobcard {
  flex: 1;
  text-align: center;
}
.jobcard img {
  border-radius: 10px;
  margin: 10px;
  width: 95%;
}
.jobcard p {
  text-align: justify;
  padding: 10px;
}
.jobcard-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  /* position: relative;  */
  /* border-bottom: 2px solid var(--primary-color); */
}
/* .jobcard-title::after {
  content: '';
  position: absolute;
  top: 0;     
  left: 0;
  width: 100%;
  height: 100%; 
  background-color: var(--red); 
  border-radius: 4px;
  z-index: -1;
} */
.jobcard2 {
  display: flex;
  flex: 1;
  text-align: center;
}
.jobcard2 img {
  margin: 10px;
  width: 100%;
  max-width: 170px;
  height: auto;
  object-fit: contain;
}
.jobcard2 p {
  text-align: justify;
  padding: 10px;
}
.jobcard2-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  /* position: relative;  */
  /* border-bottom: 2px solid var(--primary-color); */
}
.syokusyu {
  padding-top: 0;
  padding-bottom: 200px;
}

#job div.box{
  padding-left:3%;
}

.job-cont5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  justify-items: start; /* 各グリッド要素を左寄せにする */
}

/* 必要に応じてjobcardのボックス設定（例） */
.jobcard {
  box-sizing: border-box;
}
@media screen and (max-width: 1075px) {
  .jobcard-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
  }
}
@media screen and (max-width: 915px) {
  .jobcard-title {
    font-size: 32px;
  }
  .job-cont {
    display: block;
    margin-bottom: 20px;
  }
  .jobcard {
    margin-bottom: 30px;
  }
  .job-cont5 {
    grid-template-columns: 1fr;
    gap: 0;
  }   
}
