/*
Theme Name: mrep
Author: Kurofune Design
Description: This is our original theme.
Version: 1.0
*/

@charset "UTF-8";

/* 基本 */
:root {
  --v-space: clamp(90px, 9vw, 120px);
}

body {
  margin: 0;
  background-color: #ffffff;
  color: #1a1a1a;
  font-family: "Noto Sans JP", sans-serif;
}

h1, h2, h3, h4, h5, h6, p, figure, ul, dl, dt, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  line-height: 1.8;
}

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

a:hover {
  filter: brightness(90%) contrast(120%);
}


img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* H2 タイトル */
.heading {
  position: relative;
  padding: 0.5em 0 0.5em;
  margin-bottom: 2.5em;
  font-size: clamp(22px, 2.3vw, 32px);
  min-height: 0vw;  /* clamp for Safari */
  font-weight: 600;
  color: #353535;
  text-align: center;
}

.heading::before {
  position: absolute;
  border-bottom: 5px solid #00c80f;
  border-radius: 5px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  content: '';
}

/* ボタン */
.btn {
  margin: 0 auto;
  display: block;
  width: 170px;
  padding: 15px 0;
  box-sizing: border-box;
  border-radius: 9999px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  background-color: #00c80f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.btn span {
  vertical-align: middle;
  margin: -2px 0 0 3px;
}


/* PC スマホ 表示切り替え */
@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}


/* 横幅と左右の余白 */
.w-container {
  width: min(92%, 1166px);
  margin: auto;
}

.w-container-84-1110 {
  width: min(84%, 1110px);
  margin: auto;
}

.w-container-92-820 {
  width: min(92%, 820px);
  margin: auto;
}

.w-container-92-730 {
  width: min(92%, 730px);
  margin: auto;
}

.w-container-84-730 {
  width: min(84%, 730px);
  margin: auto;
}



/* ヘッダー */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 75px;
  background-color: #ffffff;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .header {
    height: 100px;
  }
}

.header-container {
  display: flex;
  align-items: center;
  width: min(95%, 1292px);
  height: 100%;
}

.header-container > .site {
  margin-right: auto;
}

@media (max-width: 767px) {
  .header-container > .site img {
    width: 140px;
  }
}

.header-box {
  display: flex;
  align-items: center;
}

/* ハンバーガーメニューと求人情報ボタンの左右入れ替え */
@media (max-width: 1023px) {
  .header-box {
    flex-direction: row-reverse;
  }
}

.header-btn {
  display: block;
  width: 105px;
  padding: 9px 0;
  box-sizing: border-box;
  border-radius: 9999px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

@media (min-width: 768px) {
  .header-btn {
    width: clamp(130px, 10vw, 150px);
    min-height: 0vw;  /* clamp for Safari */
    padding: 11px 0;
    font-size: clamp(13px, 1.1vw, 15px);
    min-height: 0vw;  /* clamp for Safari */
  }
}

.header-btn span {
  vertical-align: middle;
  margin: -2px 0 0 3px;
}

/* Google Material Symbols */
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 20
}

.recruit-btn {
  background-color: #1e1e1e;
}

.contact-btn {
  background-color: #00c80f;
  margin-left: 20px;
}

@media (max-width: 1023px) {
  .contact-btn {
    display: none;
  }
}

/* ナビゲーションボタン */
.navbtn {
  padding: 0;
  outline: none;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #aaaaaa;
  font-size: 30px;
  margin: 0 15px 0 30px;
}

.open .navbtn {
  z-index: 110;
  color: #ffffff;
}

.navbtn .fa-bars {
  display: revert;
}
.open .navbtn .fa-bars {
  display: none;
}

.navbtn .fa-times {
  display: none;
}
.open .navbtn .fa-times {
  display: revert;
}

@media (min-width: 1024px) {
  .navbtn {
    display: none;
  }
}

/* ナビゲーションメニュー：モバイル */
@media (max-width: 1023px) {
  .nav {
    position: fixed;
    inset: 0 -100% 0 100%;
    z-index: 100;
    background-color: #00c80fe6;
    transition: transform 0.3s;
  }

  .open .nav {
    transform: translate(-100%, 0);
  }

  .open body {
    position: fixed;
    overflow: hidden;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
    color: #ffffff;
  }
}

/* ナビゲーションメニュー：PC */
@media (min-width: 1024px) {
  .nav {
    margin-right: clamp(40px, 4.4vw, 60px);
    min-height: 0vw;  /* clamp for Safari */
  }
  
  .nav ul {
    display: flex;
    gap: 33px;
    color: #1a1a1a;
    font-size: clamp(14px, 1.2vw, 16px);
    min-height: 0vw;  /* clamp for Safari */
  }
  
  .nav ul li:nth-child(7){
    display: none;  /* モバイル時にグロナビのお問い合わせを非表示 */
  }
}

@media (min-width: 1024px) {
  #menu-global #menu-item-148,
  #menu-global #menu-item-149 {
    display: none;  /* PC時にグロナビの求人情報とお問い合わせを非表示 */
  }
}
	
/* トップページ ニュース */
.top-news {
  position: relative; /* 背景テキスト用 */
  padding-top: 60px;
}

/* 背景テキスト */
.top-news::after {
  content: 'NEWS'; /* 背景に表示するテキスト */
  position: absolute;
  top: 85px;
  left: -140px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

.top-news > .w-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .top-news > .w-container {
    flex-direction: row;
  }
  
  .top-news-head {
    flex: 1;
  }

  .top-news-content {
    flex: 2;
  }
}

.top-news-head {
  margin-bottom: 50px;
}

.top-news-content {
  margin-bottom: 170px;
}

.top-news-head h2 {
  color: #666666;
  font-size: 13px;
  font-weight: 600;
}

.top-news-head h2 span {
  display: block;
  font-family: "Heebo";
  font-size: 50px;
  color: #1e1e1e;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .top-news-head .pc-only .btn {
    margin: 40px 0 0;
  }
}

.news-list {
  border-top: 1px solid #dfdfdf;
}

@media (min-width: 768px) {
  .news-list {
    border-top: none;
  }
}

.news-list article {
  border-bottom: 1px solid #dfdfdf;
  padding: 15px 5px 20px;
}

.news-list article a {
  display: block;
}

.news-list article time {
  color: #666666;
  font-size: 13px;
  font-weight: 500;
  margin-right: 1em;
}

.news-category {
    display: inline-block;
    width: 40px;
  border-radius: 9999px;
    background-color: #c3ffc7;
    padding: 3px 8px;
    color: #3faf37;
    font-size: 10px;
  font-weight: 600;
    text-align: center;
}

.news-txt {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.news-list .sp-only {
  margin-top: 60px;
}

/* トップページ 各部門のご紹介 */
.group-company {
  background-image: url("https://mrep.co.jp/wp/wp-content/uploads/2026/06/top-groupcompany-bg-sp.png");
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  .group-company {
    background-image: url("https://mrep.co.jp/wp/wp-content/uploads/2026/06/top-groupcompany-bg-pc.png");
  }
}

.group-company .heading {
  position: relative;
  top: -60px;
}

.group-content {
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 20px;
  margin-top: clamp(140px, 37.8vw, 290px);
  min-height: 0vw;  /* clamp for Safari */
}

@media (min-width: 768px) {
  .group-content {
    width: 75%;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 30px;
    margin-top: clamp(200px, 27.8vw, 380px);
    min-height: 0vw;  /* clamp for Safari */
  }
}

.colum-concatenation {
  grid-column: 1 / 3;
  grid-row: 2 /3;
}

@media (min-width: 768px) {
  .colum-concatenation {
    grid-column: auto;
    grid-row: auto;
  }
}

.colum-concatenation img {
  width: 47.5%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .colum-concatenation img {
    width: 100%;
  }
}

/* トップページ コンセプト */

.concept {
  position: relative; /* 背景テキスト用 */
  padding-top: 100px;
  padding-bottom: var(--v-space);
}

/* 背景テキスト */
.concept::after {
  content: 'CONCEPT'; /* 背景に表示するテキスト */
  position: absolute;
  top: 192px;
  left: -249px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

.concept-container {
  max-width: 800px;
  margin: 0 auto;
}

.concept-catch {
  font-size: clamp(19px, 4.4vw, 34px);
  min-height: 0vw;  /* clamp for Safari */
  font-weight: 800;
  line-height: 2;
  text-align: center;
  margin: 70px 0 50px;
}


.concept-catch-jp {
  color: #3faf37;
}

.concept-catch-en {
  font-size: clamp(26px, 5.7vw, 44px);
  min-height: 0vw;  /* clamp for Safari */
}



/* ニュース */
.news {
  position: relative; /* 背景テキスト用 */
  padding-bottom: var(--v-space);
}

/* 背景テキスト */
.news::after {
  content: 'NEWS'; /* 背景に表示するテキスト */
  position: absolute;
  top: 87px;
  left: -140px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

.news .w-container {
  display: flex;
  flex-direction: column;
  gap: clamp(45px, 6vw, 80px);
  min-height: 0vw;  /* clamp for Safari */
}

@media (min-width: 768px) {
  .news .w-container {
    flex-direction: row-reverse;
  }
}

.news-content {
  flex: 2;
  padding-bottom: 30px;
}

.news-sidebar {
  flex: 1;
  margin-top: 60px;
}

.topic-path {
  font-size: 14px;
  margin: 15px 0 50px;
}

.news-sidebar h2 {
  border-left: 6px solid #00c80f;
  border-bottom: 1px solid #dfdfdf;
  padding: 0 0 5px 12px;
  font-size: 19px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .news-sidebar h2 {
    font-size: 17px;
  }
}

.news-sidebar ul {
  margin: 20px 0 60px 15px;
  padding-right: 20px;
}

.news-sidebar ul li {
  font-size: 15px;
  margin-bottom: 1.2em;
}


.news-ttl {
  border-bottom: 1px solid #dfdfdf;
  padding: 15px 5px 10px;
  margin-bottom: 40px;
}

.news-ttl time {
  color: #666666;
  font-size: 13px;
  font-weight: 500;
  margin-right: 1em;
}

.news-ttl h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .news-ttl h2 {
    font-size: 22px;
  }
}

.news-content .news-post {
  border-bottom: 1px solid #dfdfdf;
  padding-bottom: 30px;
}

@media (min-width: 768px) {
  .news-post {
    padding: 0 20px;	
  }
}

.news-post p {
  font-size: 15px;
  margin-bottom: 1.5em;
}

.news-post img {
  margin: 30px 0;
}

/* ニュースリリース ページネーション */
.wp-pagenavi {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  padding: 0.5em;
  margin-top: 40px;
}

.wp-pagenavi a,
.wp-pagenavi .current {
  display: inline-block;
  border-radius: 50%;
  border: 1px solid #dfdfdf;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.wp-pagenavi .current {
  background-color: #00c80f;
  color: #ffffff;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  display: inline-block; /* ブロック化して余白をコントロール可能にする */
  font-size: 20px;
  line-height: 1.8;
}

.wp-pagenavi a:hover {
  background-color: #00c80f;
  color: #ffffff;
}

/* 投稿ページ ページネーション */
.prev-next-btn {
  text-align: center;
  margin-top: 50px;
}

.prev-next-btn li {
  display: inline;
  margin-right: 15px;
}

.prev-next-btn li:last-child {
  margin-right: 0;
}

.prev-next-btn li a {
  display: inline-block;
  border-radius: 10px;
  border: solid 1px #dfdfdf;
  font-size: 14px;
  padding: 4px 10px;
}

.prev-next-btn li a:hover {
  background-color: #00c80f;
  color: #ffffff;
}

/* サービス */

.initiative-01 h3,
.initiative-02 h3,
.initiative-03 h3 {
  position: relative;
  display: flex; /* フレックスボックスを有効化 */
  justify-content: center; /* 水平方向の中央寄せ */
  align-items: center; /* 垂直方向の中央寄せ */
  font-size: 22px; /* 通常テキスト用のフォントサイズ */
  font-weight: 600;
  margin: 80px 0 40px; /* 上下に50pxのマージンを設定 */
}

.initiative-01 h3::after,
.initiative-02 h3::after,
.initiative-03 h3::after {
  position: absolute;
  top: -30px; /* 垂直方向の中央寄せ */
  left: 50%; /* 水平方向の中央寄せ */
  transform: translate(-50%, -50%); /* 中央に配置 */
  font-size: 70px; /* 背景テキストのフォントサイズ */
  font-weight: 900;
  font-style: italic;
  color: rgba(0, 200, 15, 0.3); /* 背景テキストの色（透明度含む） */
  z-index: -1; /* 背景として配置 */
  white-space: nowrap; /* テキストの折り返し防止 */
  font-family: "Roboto", sans-serif;
}

.initiative-01 h3::after {
  content: '01';
}

.initiative-02 h3::after {
  content: '02';
}

.initiative-03 h3::after {
  content: '03';
}

@media (min-width: 768px) {
  .initiative-01 h3,
  .initiative-02 h3,
  .initiative-03 h3 {
    justify-content: left; /* 水平方向の中央寄せ */
  }
}

@media (min-width: 768px) {
  .initiative-01 h3::after,
  .initiative-02 h3::after,
  .initiative-03 h3::after {
    left: 30px; /* 水平方向の中央寄せ */
  }
}

@media (min-width: 768px) {
  .initiative-01 .right img {
    margin-top: 30%;
  }
}

.initiative-01 img,
.initiative-02 img,
.initiative-03 img {
  border-radius: 12px;
}

.initiative-01 figure,
.initiative-02 figure,
.initiative-03 figure {
  margin-bottom: 30px;
}


.service {
  position: relative; /* 背景テキスト用 */
  padding-bottom: var(--v-space);
}

/* 背景テキスト */
.service::after {
  content: 'SERVICE'; /* 背景に表示するテキスト */
  position: absolute;
  top: 144px;
  left: -217px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

@media (min-width: 768px) {
  .service {
    font-size: 15px;
  }
}

h2.service-catch-01 {
  font-size: clamp(26px, 5vw, 38px);
  min-height: 0vw;  /* clamp for Safari */
  font-weight: 600;
  text-align: center;
  line-height: 1.8;
  margin-bottom: clamp(30px, 4.4vw, 60px);
  min-height: 0vw;  /* clamp for Safari */
}

@media (min-width: 768px) {
  h2.service-catch-01 {
    font-size: clamp(22px, 2.5vw, 34px);
    min-height: 0vw;  /* clamp for Safari */
  }
}

@media (min-width: 1024px) {
  h2.service-catch-01 {
    margin-top: 40px;
  }
}

h2.service-catch-01 span {
  font-size: clamp(17px, 3.4vw, 26px);
  min-height: 0vw;  /* clamp for Safari */
  font-weight: 600;
}

@media (min-width: 768px) {
  h2.service-catch-01 span {
    font-size: clamp(16px, 1.6vw, 22px);
    min-height: 0vw;  /* clamp for Safari */
  }
}

.fuji {
  margin-bottom: 30px;
}

.fuji.sp-only img {
  border-radius: 12px;
}

.business-overview-01 {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.business-overview-01 .right {
  margin-bottom: 30px;
}

.business-overview-01 .left {
}


@media (min-width: 768px) {
  .business-overview-01 {
    flex-direction: row-reverse;
    gap: 60px;
    margin-bottom: 50px;
  }
  
  .business-overview-01 .right {
    flex: 1;
  }

  .business-overview-01 .left {
    flex: 1;
  }
}

.business-overview-02 {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.business-overview-02 .right {
}

.business-overview-02 .left {
  margin-bottom: 30px;
}

@media (min-width: 1024px) {
  .business-overview-02 .left {
    margin-top: 30px;
    margin-left: 80px;
  }
}

@media (min-width: 768px) {
  .business-overview-02 {
    flex-direction: row;
    gap: 60px;
    margin-bottom: 60px;
  }

  .business-overview-02 .left {
    flex: 1;
  }

  .business-overview-02 .right {
    flex: 1;
  }
}

.initiative-01 {
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}

@media (min-width: 768px) {
  .initiative-01 {
    flex-direction: row;
    gap: 40px;
  }
  
  .initiative-01 .left {
    flex: 1.1;
  }

  .initiative-01 .right {
    flex: 0.9;
  }
}

.initiative-02 {
  position: relative;
  z-index: -2; /* タイトルの数字の装飾よりも後ろへ */
  background-color: #f9f9f9;
  padding: 40px 0;
  margin: 100px 0 80px;
}


@media (min-width: 768px) {
  .initiative-02 {
    padding-top: 70px;
  }
}

.initiative-02 section {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .initiative-02 section {
    flex-direction: row-reverse;
    gap: 40px;
  }
  
  .initiative-02 .left {
    flex: 1;
  }

  .initiative-02 .right {
    flex: 1;
  }
}

.initiative-02 .right {
  margin-bottom: 60px;
}

.initiative-02 .right .inner {
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .initiative-02 .right .inner {
    padding-left: 12%;
  }
}

@media (min-width: 768px) {
  .initiative-02 .left {
    margin-top: 100px;
  }
}

.initiative-02 h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.4em;
}

.initiative-03 {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .initiative-03 {
    flex-direction: row;
    gap: 60px;
  }
  
  .initiative-03 .left {
    flex: 1;
  }

  .initiative-03 .right {
    flex: 1;
    margin-top: 80px;
  }
}

.initiative-03 .left p {
  margin-bottom: 50px;
}

.initiative-03 .left h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.6em;
}

.initiative-03 .left ul {
  list-style-type: disc;
  padding-left: 1em;
}

.initiative-03 .left ul li {
  font-size: 13px;
  line-height: 1.8;
}

/* 事例 */
.case {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  position: relative; /* 背景テキスト用 */
  padding-bottom: var(--v-space);
}

@media (min-width: 768px) {
  .case {
    font-size: 15px;
  }
}


/* 背景テキスト */
.case::after {
  content: 'CASE'; /* 背景に表示するテキスト */
  position: absolute;
  top: 60px;
  left: -119px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

.case-area-bnr {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.case-area-bnr div {
  width: calc((100% - 15px) /2); /* 2列の場合: (全体 - gap合計) / 2 */
  height: auto;
}

@media (min-width: 768px) {
  .case-area-bnr {
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .case-area-bnr div {
    width: calc((100% - 40px) /3); /* 3列の場合: (全体 - gap合計) / 3 */
  }
}

.case-area-bnr img {
  border-radius: 12px;
}

.case {
  position: relative;
}

.case .w-container {
  display: flex;
  flex-direction: column;
  gap: clamp(45px, 6vw, 80px);
  min-height: 0vw;  /* clamp for Safari */
}

@media (min-width: 768px) {
  .case .w-container {
    flex-direction: row;
  }
  
  .case-content {
    flex: 3;
  }

  .case-sidebar {
    flex: 1;
    padding-top: 85px;
  }
}

.case-sidebar h2 {
  background-color: #00c80f;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  padding: 4px;
}

@media (min-width: 768px) {
  .case-sidebar h2 {
    font-size: 16px;
  }
}

.case-area {
  padding: 0 15px;
}

.case-area .prefectures {
  font-size: 17px;
  font-weight: 600;
  line-height: 2.5;
  margin-top: 20px;
}

@media (min-width: 768px) {
.case-area .prefectures {
  font-size: 15px;
  }
}

.case-area .prefectures ul {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .case-area .prefectures ul {
    flex-direction: column;
    gap: 5px;
    border-left: 2px solid #cfcfcf;
    padding-left: 10px;
    margin-left: 15px;
  }
}

.case-area .prefectures ul li a {
  background-color: #ffffff;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.8;
  white-space: nowrap;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  padding: 5px 20px;
}

@media (min-width: 768px) {
  .case-area .prefectures ul li a {
    display: block;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 13px;
    box-shadow: none;
    padding: 2px 5px 2px 20px;
  }
}

.case-area .prefectures ul li a:hover {
  background-color: #00c80f;
  color: #ffffff;
}

.case-area .prefectures ul li a.area-btn-on {
  background-color: #00c80f;
  color: #ffffff;
}

@media (min-width: 768px) {
  .case-area .prefectures ul li a:hover {
    background-color: #c3ffc7;
    color: #1a1a1a;
  }

  .case-area .prefectures ul li a.area-btn-on {
    background-color: #c3ffc7;
    color: #1a1a1a;
  }
}

.case-content article {
  border-bottom: 1px solid #dfdfdf;
  padding: 0 10px 50px;
  margin-bottom: 100px;
}

.case-post-ttl {
  border-bottom: 1px solid #00c80f;
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  text-align: center;
  padding-bottom: 0.8em;
  margin: 50px 0 30px;
}

.case-content article h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.2em;
  
}

.case-content article p {
  margin-bottom: 1.2em;
}

.case-content article img {
  margin: 5px 0 40px;
}

/* プロジェクト */
.project {
  position: relative; /* 背景テキスト用 */
  padding-bottom: var(--v-space);
}

/* 背景テキスト */
.project::after {
  content: 'PROJECT'; /* 背景に表示するテキスト */
  position: absolute;
  top: 171px;
  left: -239px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

@media (min-width: 768px) {
  .project {
    font-size: 15px;
  }
}

.project-lead {
  margin-bottom: 100px;
}

@media (min-width: 768px) {
  .project-lead {
    text-align: center;
  }
}

.project h2 {
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
}

.project img {
  width: 90%;
  margin: 20px auto;
}

.project article {
  border-bottom: 1px solid #dfdfdf;
  padding-bottom: 30px;
  margin: 30px 0 80px;
}

/* 会社概要 */

.company {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  position: relative; /* 背景テキスト用 */
  padding-bottom: var(--v-space);
}

/* 背景テキスト */
.company::after {
  content: 'COMPANY'; /* 背景に表示するテキスト */
  position: absolute;
  top: 209px;
  left: -259px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

.greeting {
  display: flex;
  flex-direction: column;
  margin-bottom: 100px;
}

@media (min-width: 768px) {
  .greeting {
    flex-direction: row;
    gap: 60px;
  }

  .greeting .left {
    flex: 0.9;
  }

  .greeting .right {
    flex: 1.1;
  }
}

@media (min-width: 768px) {
  .greeting .right {
    padding-top: 5%;
  }
}

.greeting img {
  border-radius: 12px;
}

.greeting .right figure {
  width: 65%;
  margin: 50px auto 0;
}

.ceo-name {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin: 15px 0 40px;
}

@media (min-width: 768px) {
  .ceo-name {
    text-align: right;
  }
}

.ceo-name span {
  font-size: 20px;
  margin-left: 1em;
}

.greeting .right h3 {
  font-family: "Heebo";
  font-size: 23px;
  font-weight: 500;
  color: #00c80f;
  margin-bottom: 5px;
}

.profile-txt {
  font-size: 13px;
}

.history {
  width: 100%;
  margin-bottom: 100px;
}

@media (min-width: 768px) {
  .history {
    width: 65%;
    margin: 0 auto 100px;
  }
}

.history table {
  border-collapse: separate;
  border-spacing: 15px;
  font-size: 14px;
}


.history .year {
  width: 15%;
  border-right: 2px solid #00c80f;
  font-weight: 600;
  color: #00c80f;
  text-align: left;
  white-space: nowrap;
  padding: 10px 10px 10px 0;
}

.history .year span {
  font-size: 12px;
}

.history .month {
  width: 5%;
  font-weight: 600;
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
  padding: 10px 0;
}

.history .txt {
  width: 75%;
  vertical-align: top;
  padding: 10px 0 10px 10px;
}

.organization-chart {
  margin-bottom: 100px;
}

.company-profile {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: -20px;
  margin-bottom: 100px;
}

@media (min-width: 768px) {
.company-profile {
    width: 70%;
  }
}

.company-profile th {
  width: 10%;
  border-bottom: 2px solid #00c80f;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  padding: 40px 30px 15px 15px;
}

.company-profile td {
  width: 90%;
  border-bottom: 2px solid #c3ffc7;
  padding: 40px 5px 15px 20px;
}

.parking img {
  margin: 0 auto;
  max-width: 800px;
  margin-top: 30px;
}


/* 求人情報 */

.recruit {
  position: relative; /* 背景テキスト用 */
  padding-bottom: var(--v-space);
}

@media (min-width: 768px) {
  .recruit {
    font-size: 15px;
  }
}

/* 背景テキスト */
.recruit::after {
  content: 'RECRUIT'; /* 背景に表示するテキスト */
  position: absolute;
  top: 163px;
  left: -230px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

.recruit-lead {
  margin-bottom: 30px;
}


.job-description,
.job-description dt,
.job-description dd {
  box-sizing: border-box;
}


.job-description {
  border-top: 1px solid #dfdfdf;
  margin-bottom: 100px;
}

.job-description dt {
  font-weight: 600;
  padding: 35px 15px 15px;
}

.job-description dd {
  border-bottom: 1px solid #dfdfdf;
  padding: 0 15px 35px;
}

.job-description dd ul {
  list-style-type: disc;
  padding-left: 1em;
}

@media (min-width: 768px) {
  .job-description {
    max-width: 800px;
  }

  .job-description div {
    width: 100%;
    display: flex;
    border-bottom: 1px solid #dfdfdf;
  }


  .job-description dt {
    width: 30%;
  }

  .job-description dd {
    width: calc(100% - 30%); /* dtの値をマイナス */
    border-bottom: none;
    padding-top: 35px;
  }
}

.mf-job-input select {
  font-size: 17px;
}

@media (min-width: 768px) {
  .recruit .mailform {
    display: grid;
    grid-template-columns: 1fr 1.9fr;
  }

  .recruit .mf-required {
    grid-area: 1 / 1 / 2 / 3;
  }

  .recruit .mf-job {
    grid-area: 2 / 1 / 3 / 2;
  }

  .recruit .mf-job-input {
    grid-area: 2 / 2 / 3 / 3;
  }

  .recruit .mf-academic-history {
    grid-area: 3 / 1 / 4 / 2;
  }

  .recruit .mf-academic-history-input {
    grid-area: 3 / 2 / 4 / 3;
  }

  .recruit .mf-birthday {
    grid-area: 4 / 1 / 5 / 2;
  }

  .recruit .mf-birthday-input {
    grid-area: 4 / 2 / 5 / 3;
  }

  .recruit .mf-name {
    grid-area: 5 / 1 / 6 / 2;
  }

  .recruit .mf-name-input {
    grid-area: 5 / 2 / 6 / 3;
  }
  
  .recruit .mf-kana {
    grid-area: 6 / 1 / 7 / 2;
  }
  
  .recruit .mf-kana-input {
    grid-area: 6 / 2 / 7 / 3;
    margin-bottom: 30px;
  }
  
  .recruit .mf-add {
    grid-area: 7 / 1 / 8 / 2;
  }
  
  .recruit .mf-add-input {
    grid-area: 7 / 2 / 8 / 3;
    margin-bottom: 30px;
  }
  
  .recruit .mf-tel {
    grid-area: 8 / 1 / 9 / 2;
  }
  
  .recruit .mf-tel-input {
    grid-area: 8 / 2 / 9 / 3;
    margin-bottom: 30px;
  }
  
  .recruit .mf-email {
    grid-area: 9 / 1 / 10 / 2;
  }
  
  .recruit .mf-email-input {
    grid-area: 9 / 2 / 10 / 3;
    margin-bottom: 30px;
  }
    
  .recruit .mf-means {
    grid-area: 10 / 1 / 11 / 2;
  }
  
  .recruit .mf-means-input {
    grid-area: 10 / 2 / 11 / 3;
    margin-bottom: 30px;
  }
  
  .recruit .mf-file {
    grid-area: 11 / 1 / 12 / 2;
    margin-bottom: 30px;
  }
  
  .recruit .mf-file-input {
    grid-area: 11 / 2 / 12 / 3;
    margin-bottom: 30px;
  }
  
  .recruit .mf-recruit-details {
    grid-area: 12 / 1 / 13 / 3;
        margin-bottom: 10px;
  }
  
  .recruit .mf-career {
    grid-area: 13 / 1 / 14 / 3;
    margin-bottom: 20px;
  }
  
  .recruit .mf-btn {
    grid-area: 14 / 1 / 15 / 3;
  }
}


/* お問い合わせ */
.contact {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  position: relative; /* 背景テキスト用 */
  padding-bottom: var(--v-space);
}

@media (min-width: 768px) {
  .contact {
    font-size: 15px;
  }
}

/* 背景テキスト */
.contact::after {
  content: 'CONTACT'; /* 背景に表示するテキスト */
  position: absolute;
  top: 191px;
  left: -243px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

.contact-lead {
  margin-bottom: 30px;
}


@media (min-width: 768px) {
  .contact .mailform {
    display: grid;
    grid-template-columns: 1fr 1.9fr;
  }

  .contact .mf-required {
    grid-area: 1 / 1 / 2 / 3;
  }

  .contact .mf-name {
    grid-area: 2 / 1 / 3 / 2;
  }

  .contact .mf-name-input {
    grid-area: 2 / 2 / 3 / 3;
  }
  
  .contact .mf-kana {
    grid-area: 3 / 1 / 4 / 2;
  }
  
  .contact .mf-kana-input {
    grid-area: 3 / 2 / 4 / 3;
    margin-bottom: 30px;
  }
  
  .contact .mf-add {
    grid-area: 4 / 1 / 5 / 2;
  }
  
  .contact .mf-add-input {
    grid-area: 4 / 2 / 5 / 3;
    margin-bottom: 30px;
  }
  
  .contact .mf-tel {
    grid-area: 5 / 1 / 6 / 2;
  }
  
  .contact .mf-tel-input {
    grid-area: 5 / 2 / 6 / 3;
    margin-bottom: 30px;
  }
  
  .contact .mf-email {
    grid-area: 6 / 1 / 7 / 2;
  }
  
  .contact .mf-email-input {
    grid-area: 6 / 2 / 7 / 3;
    margin-bottom: 30px;
  }
    
  .contact .mf-means {
    grid-area: 7 / 1 / 8 / 2;
  }
  
  .contact .mf-means-input {
    grid-area: 7 / 2 / 8 / 3;
    margin-bottom: 30px;
  }
  
  .contact .mf-contact-details {
    grid-area: 8 / 1 / 9 / 3;
        margin-bottom: 10px;
  }
  
  .contact .mf-career {
    grid-area: 9 / 1 / 10 / 3;
    margin-bottom: 20px;
  }
  
  .contact .mf-btn {
    grid-area: 10 / 1 / 11 / 3;
  }
}


/* メールフォーム　求人情報　お問い合わせ 共通スタイル */
.mailform div {
  padding-left: 15px;
  padding-right: 15px;
}

.mf-required {
  padding-bottom: 0.5em;
}

.mailform sup {
  color: #ff2424;
}

.mf-job,
.mf-academic-history,
.mf-birthday,
.mf-name,
.mf-kana,
.mf-add,
.mf-tel,
.mf-email,
.mf-means,
.mf-file,
.mf-recruit-details,
.mf-contact-details {
  border-top: 1px solid #dfdfdf;
  padding-top: 20px;
  padding-bottom: 0.5em;
}

@media (min-width: 768px) {
  .mf-job,
  .mf-academic-history,
  .mf-birthday,
  .mf-name,
  .mf-kana,
  .mf-add,
  .mf-tel,
  .mf-email,
  .mf-means,
  .mf-file,
  .mf-recruit-details,
  .mf-contact-details {
    padding-top: 40px;
    margin-bottom: 40px;
  }
}

.mf-job-input,
.mf-academic-history-input,
.mf-birthday-input,
.mf-name-input,
.mf-kana-input,
.mf-add-input,
.mf-tel-input,
.mf-email-input,
.mf-means-input,
.mf-file-input {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .mf-job-input,
  .mf-academic-history-input,
  .mf-birthday-input,
  .mf-name-input,
  .mf-kana-input,
  .mf-add-input,
  .mf-tel-input,
  .mf-email-input,
  .mf-means-input,
  .mf-file-input {
    border-top: 1px solid #dfdfdf;
    padding-top: 40px;
    margin-bottom: 40px;
  }
}

.mf-required {
  text-align: right;
  color: #ff2424;
}

.mf-career {
  padding-bottom: 30px;
}

.mf-email-input {
  font-size: 13px;
}

.mf-email-input input {
  margin-bottom: 0.5em;
}

.mf-email-input,
.mf-career {
  line-height: 1.6;
}

.mf1,
.mf2,
.mf3,
.mf4,
.mf5 {
  border: none;
  background-color: #f2f2f2;
  box-shadow:0px 0px 1px 1px rgba(0, 0, 0, 0.1) inset;
  border-radius: 6px;
  padding: 10px;
}

.mf1 {
  width: 60%;
}

.mf2 {
  width: 85%;
}

.mf3 {
  width: 95%;
  height: 250px;
}

.mf4 {
  width: 12%;
    margin-right: 0.5em;
}

.mf5 {
  width: 8%;
    margin-right: 0.5em;
    margin-left: 1em;
}

.mf-means-input {
  display: flex;
}

.mf-inquiry-details {
    margin-bottom: 10px;
}

input[type="radio"] {
  width: 15px;
  height: 15px;
    margin-top: 5px;
  margin-left: 1.5em;
}

input[type="checkbox"] {
  width: 15px;
  height: 15px;
}

.mailform textarea {
  margin-top: 0.5em;
}

input[type="submit"] {
  border: none;
}

.mf-career a:link {
  color: #6900ff;
}

.mf-career a:visited {
  color: #a5c300;
}

.mf-career a:hover {
  text-decoration: underline;
}

.mf-career a:active {
  color: #cdfeaa;
}

.btn-hover:hover {
  filter: brightness(90%) contrast(120%);
}


/* プライバシーポリシー */
.privacy {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  position: relative; /* 背景テキスト用 */
  padding-bottom: var(--v-space);
}

@media (min-width: 768px) {
  .privacy {
    font-size: 15px;
  }
}

/* 背景テキスト */
.privacy::after {
  content: 'PRIVACY'; /* 背景に表示するテキスト */
  position: absolute;
  top: 169px;
  left: -217px;
  font-size: 120px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0, 200, 15, 0.2) 30%, rgba(206, 248, 209, 0.2) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: -1; /* 背景として配置し、通常テキストより後ろに表示 */
  white-space: nowrap; /* テキストの折り返し防止 */
  transform: rotate(-90deg); /* 背景テキストを斜めに配置 */
}

.privacy h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 10px;
}

.privacy p {
  margin-bottom: 10px;
}

.privacy ol li {
  list-style-type: decimal;
  margin-bottom: 1em;
}

.privacy ol ol {
  margin: 15px 0;
  padding-left: 2em;
}


/* フッター */
.footer {
  padding-top: 60px;
  background: linear-gradient(-146deg, #00c80f 0%, #047c0d 100%);
}

.footer-container {
  border-top: 1px solid #ffffff;
  padding-top: 30px;
}

@media (min-width: 768px) {
  .footer-container {
    padding-top: 60px;
  }
}

@media (min-width: 768px) {
  .footer-container {
    display: grid;
  }
  
  .footer-catch {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  
  .footer-content {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  
  .footer-copy {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
}


.footer-catch {
  text-align: center;
  margin-bottom: 60px;
}

.footer-catch h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 40px;
}

.footer-catch h2 span {
  display: inline-block;
  background: linear-gradient(180deg, #00c036 0%, #a7ffc0 50%, #00c07e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-catch p {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  line-height: 2.2;
}

.footer-content {
  font-weight: 600;
  color: #ffffff;
  margin-left: 10%;
}

.footer-content h2 {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-content h2 img {
  padding-right: 10px;
}

.footer-content address {
  font-style: normal;
  font-size: 12px;
  margin-bottom: 20px;
}

.footer-content address span {
  font-size: 24px;
  line-height: 2;
}

/* フッター：テキストメニュー */
.footer-menu {
  font-size: 13px;
  line-height: 2.6;
  margin-bottom: 20px;
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  padding: 10px;
}

@media (min-width: 768px) {
  .footer-copy {
    text-align: right;
  }
}
