@charset "utf-8";

/* ==========================================
   1. Base & Reset
   ========================================== */
html {
  font-size: 62.5%;
  /* 1rem = 10px */
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

/* ユーザーの減速設定に対応（アクセシビリティ配慮） */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html>body {
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3",
    "游ゴシック", Geneva, Arial, Verdana, sans-serif;
}

body {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}

p,
ul,
ol,
dl {
  margin-bottom: 1vw;
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  letter-spacing: 0.1vw;
}

ul,
ol,
dl {
  line-height: 1.5;
}

a {
  color: #0029cc;
}

.m-plus-rounded-1c-extrabold,
.plane header h1,
.plane h1,
.sub main h2,
.sub main h3 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-style: normal;
}

/* ==========================================
   2. Header & Navigation
   ========================================== */
header {
  background-color: #1f2b66;
  background-image: url(./img/header_back_image.png);
  background-size: 109% auto;
  background-repeat: no-repeat;
  background-position: center bottom;
}

header .inner {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.32fr;
  grid-template-rows: auto 1fr 1fr;
  height: 39.2vw;
}

header h1 {
  display: block;
  width: 20vw;
  margin: 1.5vw 0 0 10vw;
  position: relative;
}

header h1 img {
  width: 100%;
}

header h1 span {
  position: absolute;
  left: 10.2vw;
  top: 6vw;
  font-weight: lighter;
  font-size: 1.2vw;
  letter-spacing: 0.1vw;
}

header h2 {
  padding: 6.2vw 0 0 8vw;
  line-height: 1.5;
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 3.6rem);
}

header h2 span {
  font-size: 83%;
}

header #catch {
  grid-column: 1/2;
  grid-row: 3/4;
  font-size: clamp(1.1rem, 1.4vw, 1.68rem);
  padding: 0.5vw 0.7vw 0 9vw;
  line-height: 1.5;
}

header a {
  color: #fff;
}

nav ul {
  list-style-type: none;
  padding: 4vw 0 0 0;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

nav ul li {
  margin: 0 1.5vw;
  font-weight: bold;
  font-size: 1.62vw;
  letter-spacing: 0.2vw;
}

nav ul li a {
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* ページバリエーション別ヘッダー */
.sub header {
  background-image: url(./img/sub_header_back.png);
  background-size: 102% auto;
}

.sub header .inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 2.65fr 1fr 5fr;
  height: 29vw;
  overflow: hidden;
}

.sub header #logo {
  display: block;
  width: 20vw;
  margin: 1.5vw 0 0 10vw;
  position: relative;
  grid-column: 1/2;
  grid-row: 1/3;
}

.sub header #logo img {
  width: 100%;
}

.sub header #logo span {
  position: absolute;
  left: 10.2vw;
  top: 5.8vw;
  font-weight: normal;
  font-size: 1.2vw;
  letter-spacing: 0.1vw;
}

.sub header #pcnav {
  grid-column: 2/3;
  grid-row: 1/2;
}

.sub header h1 {
  font-weight: normal;
  width: 100%;
  padding: 5vw 0 0 5vw;
  line-height: 1.5;
  font-size: 3vw;
  grid-column: 1/2;
  grid-row: 3/4;
}

.sub header h1#inq {
  transform: scaleX(0.8);
  padding-left: 1vw;
}

.sub header h1 span {
  font-size: 83%;
}

.sub header #media {
  grid-column: 2/3;
  grid-row: 2/4;
}

.sub header #media img.mediaImg {
  width: auto;
  height: 100%;
  transform: scale(1.05) translateY(+0.76vw);
}

.plane header .inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto;
  height: 10vw;
  overflow: hidden;
}

.sub.plane header {
  background-image: none;
}

.plane header #logo {
  display: block;
  width: 20vw;
  margin: 1.5vw 0 0 10vw;
  position: relative;
  grid-column: 1/2;
  grid-row: 1/2;
}

.plane header h1,
.plane h1,
.sub main h2,
.sub main h3 {
  color: #1f2b66;
}

.plane h1 {
  font-size: clamp(1.8rem, 3.5vw, 4.2rem);
  padding: 4vw 0 2vw;
}

.plane header h1 {
  padding: 0;
  text-align: center;
  grid-column: 1/3;
  grid-row: 2/3;
  margin: 0;
  line-height: 1.1;
  font-size: 2vw;
}

/* ==========================================
   3. Main Sections (Index)
   ========================================== */
/* CSV */
#csv {
  padding: 6vw 0 0 12vw;
  position: relative;
  height: 25vw;
}

#csv h2 {
  border-radius: 25px;
  background-color: #717071;
  color: #fff;
  display: block;
  padding: 0.5vw 2.5vw;
  margin-bottom: 0.4vw;
  width: 14vw;
  font-weight: normal;
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  letter-spacing: 0.2vw;
  text-align: center;
}

#csv h2 span {
  font-size: 80%;
}

#csv p.txt {
  width: 30vw;
}

#csv #csv_img {
  position: absolute;
  left: 44vw;
  top: -9vw;
  width: 46vw;
}

#csv #csv_img img {
  width: 100%;
}

/* Service */
#service {
  background-image: linear-gradient(90deg, #ffffff, #a7c4d3 50%, #ffffff);
  overflow: hidden;
}

#service ul {
  padding: 0;
  margin: 0 auto;
  list-style-type: none;
  display: flex;
  justify-content: center;
  max-width: 1200px;
}

#service ul li {
  width: 25vw;
  height: 23.8vw;
  margin: 0;
  background: #fff;
  transform: skewX(-18deg);
  overflow: hidden;
  border-width: 0 1vw;
  border-style: solid;
  border-color: #fff;
  border-right: none;
  transition: filter 0.3s ease;
}

#service ul li:last-child {
  border-right: 1vw solid #fff;
}

#service ul li img {
  transform: skewX(18deg) scale(1.44) translate(-0.5vw, 2.3vw);
}

#service ul li:last-child img {
  transform: skewX(18deg) scale(1.45) translate(-0.5vw, 2.7vw);
}

#service ul li:hover {
  filter: brightness(1.15);
}

/* Service List */
ul#slist {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  justify-content: center;
}

ul#slist li {
  width: 20vw;
  height: 21vw;
  margin: 0 1vw 0 0;
  transform: skewX(-21deg);
  overflow: hidden;
  background-color: #1f2b66;
  transition: filter 0.3s ease;
}

ul#slist li img {
  transform: skewX(21deg) scale(1.44) translate(-0.5vw, 2.3vw);
}

ul#slist li:hover {
  filter: brightness(1.15);
}

/* Employment */
#employ {
  padding: 5vw 10vw 0;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 1fr auto;
  max-width: 1200px;
  margin: 0 auto;
}

#employ #emp1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  padding-bottom: 5vw;
}

#employ #emp3 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

#employ ol {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#employ dl {
  display: flex;
  padding-left: 4vw;
}

#employ dt {
  width: 30%;
}

#employ dt img {
  width: 100%;
}

#employ dd {
  width: 70%;
  padding-left: 1vw;
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  letter-spacing: 0.1vw;
  margin-bottom: 1vw;
}

#employ h2 {
  font-size: 2.2vw;
  letter-spacing: 0.2vw;
  color: #1f2b66;
  margin-bottom: 0.4vw;
  line-height: 1.5;
}

#employ h3 {
  font-size: 2.2vw;
  color: #bc6763;
  margin-bottom: 0.2vw;
}

/* News */
#news {
  padding: 5vw 10vw 0;
  max-width: 1200px;
  margin: 0 auto;
}

#news h2 {
  font-size: 3vw;
  color: #1f2b66;
}

#news ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.5vw;
}

#news ul li {
  width: 30vw;
  border-radius: 1vw;
  padding: 1vw;
  background-color: #1f2b66;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  align-content: start;
}

#news ul li:nth-child(even) {
  background-color: #175c9d;
}

#news #newsWrap ul {
  display: block;
}

#news #newsWrap ul li {
  width: 100%;
  margin-bottom: 1vw;
}

#news ul li a {
  color: #fff;
  text-decoration: none;
}

#news ul li a div {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr;
}

#news ul li a img {
  transition: filter 0.3s ease;
}

#news ul li a:hover {
  text-decoration: underline;
}

#news ul li a:hover img {
  filter: brightness(1.15);
}

#news span.time,
#news span.catName {
  font-size: clamp(1.2rem, 1.2vw, 1.44rem);
  color: #fff;
}

.titleNew {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.newMark {
  display: inline-block;
  background-color: #d84309;
  color: #fff;
  padding: 0.2vw 0.5vw;
  border-radius: 5px;
  line-height: 1;
  white-space: nowrap;
  /* New!マークが途中で改行されるのを防止 */
}

.thumbNail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  /* 画像の比率を維持したまま枠に合わせる（切り抜き） */
}



/* クリッカブルエリア（Card Link） */
li.clickable-li {
  position: relative;
}

li.clickable-li a {
  position: static;
}

li.clickable-li a::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/* ==========================================
   4. Sub Pages Common & Components
   ========================================== */
.sub main {
  text-align: center;
  width: 75%;
  margin: 0 auto;
}

.sub main p,
.sub main ul,
.sub main ol,
.sub main dl {
  text-align: left;
}

.sub main h2 {
  font-size: clamp(1.8rem, 3.5vw, 4.2rem);
  padding: 4vw 0 2vw;
}

.sub main h2#privacy-heading {
  font-size: clamp(1.6rem, 2.8vw, 3.36rem);
}

.sub main h3 {
  font-size: clamp(1.6rem, 2.8vw, 3.36rem);
  padding: 4vw 0 2vw;
}

.sub main h4 {
  font-weight: normal;
  font-size: clamp(1.4rem, 2vw, 2.4rem);
  line-height: 1;
  padding: 1vw 0;
  border-radius: 10px;
  background-color: #0062b2;
  color: #fff;
  letter-spacing: 0.2vw;
}

.sub main section {
  padding: 6vw 0 0 0;
}

.sub li {
  padding: 0 0 1vw 0;
}

/* サブページ カラーバリエーション */
.sub main #s1 h2,
.sub main #s1 h3,
.sub main #s1 dt {
  color: #0062b2;
}

.sub main #s2 h2,
.sub main #s2 h3,
.sub main #s2 dt {
  color: #008b7e;
}

.sub main #s2 h4 {
  background-color: #008b7e;
}

.sub main #s3 h2,
.sub main #s3 h3,
.sub main #s3 dt {
  color: #82bf25;
}

/* サブページ パーツ & レイアウト */
.wtx {
  width: 62vw;
  margin: 0 auto 5vw;
}

ul.special {
  list-style-type: none;
  padding: 0 0 7vw 0;
  margin: 0;
}

ul.special li {
  border-bottom: 2px dotted #0062b2;
  padding: 1vw 0 1vw 7vw;
  color: #0062b2;
}

#plusimg {
  position: relative;
  display: block;
}

#circles {
  position: absolute;
  top: 0;
  left: -7vw;
  width: 13vw;
}

#circles img {
  margin-bottom: 1.5vw;
}

.flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.col2 .item {
  width: 47%;
}

.col3 .item {
  width: 31.5%;
}

#s2 h3 {
  padding: 1vw 0;
}

#s2 h4 {
  margin-top: 2vw;
}

#s3 img {
  margin-bottom: 1vw;
}

.item dt {
  font-weight: bold;
  padding: 0.5vw 0;
}

.item dd {
  padding: 0 0 1vw 0;
  border-bottom: 2px dotted #0062b2;
}

/* 文字ツメ用クラス */
.litscale80,
.litscale85,
.litscale856 {
  white-space: nowrap;
}

.litscale80 {
  transform: scaleX(0.8);
}

.litscale85 {
  transform: scaleX(0.85);
}

.litscale856 {
  transform: scaleX(0.85);
  margin-left: -6%;
}

/* 会社概要・沿革 */
#history h2,
#overview h2 {
  border-bottom: 2px solid #1f2b66;
  letter-spacing: 1vw;
}

#history dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#history dt {
  width: 30%;
}

#history dd {
  width: 70%;
}

#overview li,
#history dt,
#history dd {
  word-break: keep-all;
  overflow-wrap: break-word;
  /* 画面幅からみ出す場合のみ折り返す */
  border-bottom: 1px solid #1f2b66;
}

#history dt,
#history dd {
  padding: 1vw;
}

#overview li {
  padding: 1vw 0;
}

#overview ul,
ul#company {
  list-style-type: none;
  margin-top: 1vw;
  padding: 0;
}

/* #others {
  padding-top: 4vw;
} */

#overview ul {
  margin-top: 0;
}

ul#company li {
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
}

#parkMaintenance,
#staff h2 {
  border-bottom: 2px solid #1f2b66;
}

#staff dl {
  margin-top: 1vw;
}

/* MAP */
.sub main #map {
  position: relative;
  width: 100vw;
  padding-top: 50%;
  height: 0;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.sub main #map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 1vw;
}

.nodot {
  list-style-type: none;
  padding: 1vw 0 0 1vw;
  margin: 0;
}

#rec h3#parkMaintenance,
#staff h2 {
  margin: 0 auto;
}

#rec ul.col2 {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
}

#rec ul.col2 li {
  width: 50%;
  padding: 0 2vw 1vw 2vw;
}

#rec ul.col2 li:nth-child(2n+1) {
  text-align: right;
}

.sub main section#staff {
  padding-top: 0;
}

#staff .item dd {
  padding: 0.5vw 0 3vw;
  border-bottom: none;
}

.pNav,
#detail {
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  text-align: left;
}

#detail img {
  margin: 0 auto;
  display: block;
}

#up_ymd {
  font-size: clamp(1.2rem, 1.2vw, 1.44rem);
  text-align: left;
}

.detailText,
.detailUpfile {
  margin-bottom: 20px;
}

/* ==========================================
   5. Contact Form
   ========================================== */
.sub main p.form-header {
  text-align: center;
}

.form-card {
  background-color: #f7f7f7;
  padding: 3vw 4vw;
  border-radius: 0.4vw;
  text-align: left;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 1.6vw;
}

.form-group.align-start {
  align-items: flex-start;
}

.label-area {
  width: 24vw;
  display: flex;
  align-items: center;
  padding-right: 1.5vw;
}

.label-area label {
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  font-weight: bold;
  color: #222222;
}

.badge-required,
.badge-optional {
  color: #fff;
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  padding: 0.2vw 0.6vw;
  border-radius: 0.2vw;
  margin-left: 0.8vw;
  white-space: nowrap;
}

.badge-required {
  background-color: #d84309;
}

.badge-optional {
  background-color: #64748b;
}

.input-area {
  flex: 1;
}

.input-area input[type="text"],
.input-area input[type="tel"],
.input-area input[type="email"],
.input-area textarea {
  width: 100%;
  max-width: 32vw;
  padding: 0.8vw 1.2vw;
  border: 0.1vw solid #cccccc;
  border-radius: 0.2vw;
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  background-color: #ffffff;
}

.input-area textarea {
  max-width: 100%;
  resize: vertical;
}

.input-area input::placeholder,
.input-area textarea::placeholder {
  color: #888888;
}

.inline-group {
  display: flex;
  align-items: center;
  gap: 0.8vw;
}

.btn-search {
  background-color: #d84309;
  color: #ffffff;
  border: none;
  padding: 0.8vw 1.2vw;
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  border-radius: 0.2vw;
  cursor: pointer;
  white-space: nowrap;
}

.btn-search:hover {
  background-color: #b83605;
}

.icon-input {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 32vw;
}

.icon-input input {
  padding-right: 3.2vw;
}

.input-icon {
  position: absolute;
  right: 1vw;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  color: #d84309;
  pointer-events: none;
}

/* プライバシーポリシー */
.privacy-section {
  margin-top: 4vw;
}

.privacy-section h2 {
  font-weight: bold;
  margin-bottom: 1.6vw;
  color: #222222;
}

.privacy-card {
  padding: 2.4vw;
}

.privacy-policy-box {
  background-color: #ffffff;
  border: 0.1vw solid #dcdcdc;
  padding: 2vw;
  height: 30vw;
  overflow-y: scroll;
  font-size: 1.3vw;
  color: #444444;
  margin-bottom: 2vw;
}

.sub main .privacy-policy-box h4 {
  background-color: inherit;
  color: #000;
}

.privacy-policy-box h3 {
  font-size: 1.4vw;
  font-weight: bold;
  margin-top: 1.2vw;
  margin-bottom: 0.4vw;
}

.privacy-policy-box h3:first-child {
  margin-top: 0;
}

.privacy-agree {
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
  font-weight: bold;
}

.checkbox-label input[type="checkbox"] {
  width: clamp(16px, 1.6vw, 1.92rem);
  height: clamp(16px, 1.6vw, 1.92rem);
  margin-right: 0.8vw;
  cursor: pointer;
}

/* 送信エリア */
.submit-area {
  text-align: center;
  margin-top: 3vw;
}

.btn-submit {
  background-color: #d84309;
  color: #ffffff;
  border: none;
  width: 28vw;
  padding: 1.4vw 0;
  font-size: clamp(1.6rem, 1.6vw, 1.92rem);
  font-weight: bold;
  border-radius: 0.6vw;
  cursor: pointer;
}

.btn-submit:hover {
  background-color: #b83605;
}

/* フォーカス時の可視性向上 */
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
.privacy-policy-box:focus-visible {
  outline: 0.2vw solid #005fcc;
  outline-offset: 0.2vw;
}

/* ==========================================
   6. 募集要項（求人詳細）テーブル
   ========================================== */

table.job-detail-table {
  width: 100%;
  border-collapse: collapse;
}

table.job-detail-table th,
table.job-detail-table td {
  padding: 0.8vw;
  text-align: left;
  font-size: clamp(1.4rem, 1.4vw, 1.68rem);
}

table.job-detail-table th {
  background-color: #004e92;
  color: #fff;
  border: 1px solid #fff;
}

table.job-detail-table td {
  border: 1px solid #ccc;
}

.action-area {
  padding: 2vw;
}

.action-area .btn-submit {
  display: block;
  margin: 0 auto;
}


/* ==========================================
   7. Footer & Fixed Elements
   ========================================== */
footer {
  background-image: url(./img/footer_back.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  /* background-position: center bottom; */
  height: 26.3vw;
  padding: 10vw;
  display: flex;
  gap: 8vw;
  justify-content: space-between;
  align-items: center;
}

footer div {
  width: 24vw;
}

footer div img {
  width: 100%;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style-type: none;
  gap: 3vw;
  row-gap: 0;
  align-items: flex-start;
}

footer ul a {
  color: #fff;
}

/* スキップリンク（アクセシビリティ） */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #fff;
  color: #000;
  padding: 10px;
  z-index: 999;
}

.skip-link:focus {
  top: 0;
}

/* ページトップへ戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 10px;
  width: 48px;
  height: 48px;
  background-color: #000;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #ddd;
  color: #000;
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

/* ハンバーガーメニュー UI */
.toggle {
  appearance: none;
  display: block;
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 101;
  margin: 0;
  padding: 0;
  width: 60px;
  height: 60px;
  border: none;
  background-color: black;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.toggle:focus {
  outline: 2px #0000ee solid;
}

.toggle>span.bar,
.toggle:before,
.toggle:after {
  display: block;
  position: absolute;
  top: 45%;
  left: 50%;
  width: 30px;
  height: 4px;
  margin: -2px 0 0 -15px;
  border-radius: 2px;
}

.toggle>span.bar {
  background-color: #fff;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.toggle::before,
.toggle::after {
  content: "";
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.toggle::before {
  transform: translateY(-10px);
}

.toggle::after {
  transform: translateY(10px);
}

.toggle[aria-expanded="true"]>span.bar {
  opacity: 0;
}

.toggle[aria-expanded="true"]::before,
.toggle[aria-expanded="true"]::after {
  background-color: white;
}

.toggle[aria-expanded="true"]::before {
  animation: 0.3s ease closeBar1 forwards;
}

.toggle[aria-expanded="true"]::after {
  animation: 0.3s ease closeBar2 forwards;
}

.toggle.-close::before {
  animation: 0.3s ease closeBar1Rev forwards;
}

.toggle.-close::after {
  animation: 0.3s ease closeBar2Rev forwards;
}

.toggle>span.tag {
  color: #fff;
  position: absolute;
  left: 50%;
  bottom: 0px;
  font-size: 1.2rem;
  transform: translateX(-50%);
  margin-bottom: 0.2rem;
}

.nav_content {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #505050;
  color: #fff;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

nav.nav_content ul {
  justify-content: center;
  flex-direction: column;
}

header nav#nav ul {
  list-style-type: none;
  padding: 40px 0 0 0;
  margin: 0;
}

.nav_content[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.nav_content[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav_content li {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 2.4;
  text-align: center;
}

.nav_content li a {
  color: #fff;
  font-size: 1.8rem;
}

#drawer_input:checked~.nav_content {
  bottom: 0;
}

/* キーフレームアニメーション */
@keyframes closeBar1 {
  0% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(45deg);
  }
}

@keyframes closeBar2 {
  0% {
    transform: translateY(10px);
  }

  50% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(0) rotate(-45deg);
  }
}

@keyframes closeBar1Rev {
  0% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes closeBar2Rev {
  0% {
    transform: translateY(0) rotate(-45deg);
  }

  50% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(10px);
  }
}

/* ==========================================
   8. Media Queries
   ========================================== */

/* 1201px 以上 (PC最適化固定値) */
@media (min-width: 1201px) {

  p,
  ul,
  ol,
  dl {
    margin-bottom: 12px;
    letter-spacing: 1.2px;
  }

  header {
    background-image: url(./img/header_back_image.png);
    background-size: 1308px auto;
    background-position: center bottom;
  }

  header .inner {
    height: 470px;
  }

  header h1 {
    width: 240px;
    margin: 18px 0 0 120px;
  }

  header h2 {
    padding: 75px 0 0 96px;
  }

  header #catch {
    padding: 6px 8.4px 0 108px;
  }

  header h1 span {
    left: 122.4px;
    top: 72px;
    font-size: 14.4px;
    letter-spacing: 1.2px;
  }

  nav ul {
    padding: 48px 0 0 0;
  }

  nav ul li {
    margin: 0 18px;
    font-size: 19.44px;
    letter-spacing: 2.4px;
  }

  .sub header {
    background-image: url(./img/sub_header_back.png);
    background-size: 1225px auto;
  }

  .sub header .inner {
    height: 348px;
    overflow-x: visible;
    overflow-y: clip;
  }

  .sub header #logo {
    width: 240px;
    margin: 18px 0 0 120px;
  }

  .sub header #logo span {
    left: 122.4px;
    top: 69.6px;
    font-size: 14.4px;
    letter-spacing: 1.2px;
  }

  .sub header h1 {
    padding: 60px 0 0 60px;
    font-size: 36px;
  }

  .sub header h1#inq {
    padding-left: 12px;
  }

  .sub header #media img.mediaImg {
    transform: scale(1.05) translateY(+9.12px);
  }

  .plane header .inner {
    height: 120px;
  }

  .plane h1 {
    padding: 48px 0 24px;
  }

  .sub li {
    padding: 0 0 12px 0;
  }

  #csv {
    padding: 72px 0 0 144px;
    height: 300px;
    width: 1200px;
    margin: 0 auto;
  }

  #csv h2 {
    padding: 6px 30px;
    margin-bottom: 4.8px;
    width: 168px;
    letter-spacing: 2.4px;
  }

  #csv p.txt {
    width: 360px;
  }

  #csv #csv_img {
    position: absolute;
    left: 528px;
    top: -108px;
    width: 552px;
  }

  #service ul li {
    width: 300px;
    height: 285.6px;
    border-width: 0 12px;
  }

  #service ul li:last-child {
    border-right: 12px solid #fff;
  }

  #service ul li img {
    transform: skewX(18deg) scale(1.44) translate(-6px, 30px);
  }

  #service ul li:last-child img {
    transform: skewX(18deg) scale(1.55) translate(-6px, 29px);
  }

  ul#slist li {
    width: 240px;
    height: 252px;
    margin: 0 12px 0 0;
  }

  ul#slist li img {
    transform: skewX(21deg) scale(1.44) translate(-6px, 27.6px);
  }

  #employ {
    padding: 60px 120px 0;
  }

  #employ #emp1 {
    padding-bottom: 60px;
  }

  #employ dl {
    padding-left: 48px;
  }

  #employ dd {
    padding-left: 12px;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
  }

  #employ h2 {
    font-size: 26.4px;
    letter-spacing: 2.4px;
    margin-bottom: 4.8px;
  }

  #employ h3 {
    font-size: 26.4px;
    margin-bottom: 2.4px;
  }

  #news {
    padding: 60px 120px 0;
  }

  #news h2 {
    font-size: 36px;
  }

  #news ul {
    gap: 18px;
  }

  #news ul li {
    width: 360px;
    border-radius: 12px;
    padding: 12px;
  }

  .sub main {
    width: 900px;
  }

  .sub main h2,
  .sub main h3 {
    padding: 48px 0 24px;
  }

  .sub main h4 {
    padding: 12px 0;
    letter-spacing: 2.4px;
  }

  .sub main section {
    padding: 72px 0 0 0;
  }

  .wtx {
    width: 744px;
    margin: 0 auto 60px;
  }

  ul.special {
    padding: 0 0 86px 0;
  }

  ul.special li {
    padding: 12px 0 12px 84px;
  }

  #circles {
    top: 0;
    left: -84px;
    width: 156px;
  }

  #circles img {
    margin-bottom: 18px;
  }

  .item dt {
    padding: 6px 0;
  }

  .item dd {
    padding: 0 0 12px 0;
  }

  #s2 h3 {
    padding: 12px 0;
  }

  #s2 h4 {
    margin-top: 24px;
  }

  #s3 img {
    margin-bottom: 12px;
  }

  #history dt,
  #history dd {
    padding: 12px;
  }

  .form-card {
    padding: 36px 48px;
    border-radius: 4.8px;
  }

  .form-group {
    margin-bottom: 19.2px;
  }

  .label-area {
    width: 288px;
    padding-right: 18px;
  }

  .badge-required {
    padding: 2.4px 7.2px;
    border-radius: 2.4px;
    margin-left: 9.6px;
  }

  .input-area input[type="text"],
  .input-area input[type="tel"],
  .input-area input[type="email"],
  .input-area textarea {
    padding: 9.6px 14.4px;
    border: 1.2px solid #cccccc;
  }

  .input-area input[type="text"],
  .input-area input[type="tel"],
  .input-area input[type="email"],
  .icon-input {
    max-width: 384px;
  }

  .inline-group {
    gap: 9.6px;
  }

  .btn-search {
    padding: 9.6px 14.4px;
    border-radius: 2.4px;
  }

  .icon-input input {
    padding-right: 38.4px;
  }

  .input-icon {
    right: 12px;
  }

  .privacy-section {
    margin-top: 48px;
  }

  .privacy-section h2 {
    margin-bottom: 19.2px;
  }

  .privacy-card {
    padding: 28.8px;
  }

  .privacy-policy-box {
    border: 1.2px solid #dcdcdc;
    padding: 24px;
    height: 216px;
    font-size: 15.6px;
    margin-bottom: 24px;
  }

  .privacy-policy-box h3 {
    font-size: 16.8px;
    margin-top: 14.4px;
    margin-bottom: 4.8px;
  }

  .checkbox-label input[type="checkbox"] {
    margin-right: 9.6px;
  }

  .submit-area {
    margin-top: 36px;
  }

  .btn-submit {
    width: 336px;
    padding: 16.8px 0;
    border-radius: 7.2px;
  }

  input:focus-visible,
  textarea:focus-visible,
  button:focus-visible,
  .privacy-policy-box:focus-visible {
    outline: 2.4px solid #005fcc;
    outline-offset: 2.4px;
  }

  #rec ul.col2 li {
    padding: 0 24px 12px 24px;
  }

  #overview li {
    padding: 12px 0;
  }

  #overview ul,
  ul#company {
    margin-top: 12px;
  }

  #history h2,
  #overview h2 {
    letter-spacing: 12px;
  }

}

/* 1000px 以下 */
@media (max-width: 1000px) {
  #csv h2 {
    width: 17vw;
  }
}

/* 800px 以下 */
@media (max-width: 800px) {
  .sub main {
    width: 85%;
  }
}

/* 641px 以上 */
@media (min-width: 641px) {
  .toggle {
    display: none;
  }
}

/* 640px 以下 (SP対応) */
@media (max-width: 640px) {
  nav#pcnav {
    display: none;
  }

  header {
    background-image: url(./img/header_back_image.png);
    background-size: 115% auto;
    background-repeat: no-repeat;
    background-position: -12vw 4.5vw;
  }

  header .inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr auto;
    height: auto;
  }

  header h1 {
    grid-column: 1/2;
    grid-row: 1/2;
    margin: 2vw;
    width: 42vw;
  }

  header h1 span {
    left: 21.5vw;
    top: 12.5vw;
    font-size: 2.5vw;
  }

  header h2 {
    grid-column: 1/2;
    grid-row: 2/3;
    text-align: left;
    padding: 2vw 0 0 2vw;
    font-size: 4.5vw;
  }

  header #catch {
    grid-column: 1/2;
    grid-row: 3/4;
    font-size: 1.2rem;
    padding: 0.5vw 0.7vw 0 2vw;
    line-height: 1.5;
  }

  .sub header {
    background-image: none;
  }

  .sub header .inner {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr auto;
    height: auto;
  }

  .sub header #logo {
    margin: 2vw;
    width: 30vw;
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .sub header #logo span {
    left: 15vw;
    top: 8.5vw;
    font-size: 2.5vw;
  }

  .sub header h1 {
    padding: 7.5vw 0 0 0;
    text-align: center;
    width: inherit;
    grid-column: 1/2;
    grid-row: 1/2;
    font-size: clamp(1.4rem, 3.6vw, 100vw);
  }

  .sub header h1#inq {
    transform: inherit;
    padding-left: inherit;
  }

  .sub header #media {
    grid-column: 1/3;
    grid-row: 2/3;
  }

  .sub main {
    width: 95%;
  }

  .sub main #s2 h4 {
    width: 80%;
    margin: 0 auto;
  }

  .wtx {
    width: 85vw;
    margin: 0 auto 10vw;
  }

  #csv {
    padding: 4vw 2vw;
    position: static;
    height: auto;
  }

  #csv h2 {
    margin: 0 auto;
    width: 30vw;
    font-size: clamp(1.4rem, 2.4vw, 100vw);
  }

  #csv p.txt {
    width: 100%;
    text-align: center;
  }

  #csv #csv_img {
    position: static;
    margin: 0 auto;
    width: 70vw;
  }

  #service ul li {
    width: 29.5vw;
    height: 29vw;
  }

  #service ul li:last-child img {
    transform: skewX(18deg) scale(1.48) translate(-0.5vw, 2.6vw);
  }

  ul#slist li {
    width: 30vw;
    height: 31vw;
  }

  #employ {
    display: block;
    padding: 4vw 2vw;
  }

  #employ h2,
  #employ h3 {
    font-size: 4.5vw;
    line-height: 1.5;
  }

  #employ dl {
    padding: 0;
  }

  #employ dd {
    font-size: 1.4rem;
    margin-bottom: 2vw;
  }

  #news {
    padding: 4vw 2vw;
  }

  #news h2 {
    font-size: 5vw;
  }

  #news ul {
    display: block;
  }

  #news ul li {
    width: auto;
    margin-bottom: 1vw;
  }

  #news ul li a {
    grid-template-columns: 2.8fr 1fr;
    grid-template-rows: 2rem auto;
  }

  #news ul li a img {
    grid-column: 2/3;
    grid-row: 1/3;
    width: auto;
  }

  .thumbNail {
    width: 100px !important;
    height: 100px;
    object-fit: cover;
    /* 画像の比率を維持したまま枠に合わせる（切り抜き） */
  }

  footer {
    padding: 9.3vw 2vw 0;
  }

  footer ul {
    padding: 0 60px 0 0;
  }

  footer div {
    width: 30vw;
  }

  ul.special {
    padding: 0;
  }

  ul.special li {
    padding: 1vw 0 1vw 10vw;
  }

  .flexbox {
    display: block;
  }

  .col2 .item,
  .col3 .item {
    width: 80%;
    margin: 0 auto 10vw;
  }

  #staff .item {
    margin: 0 auto 0;
  }

  .col2 ul.item {
    margin: 0 auto 0;
  }

  .col2 ul.item:last-child,
  .col3 ul.item:last-child {
    margin: 0 auto 10vw;
  }

  #circles {
    top: 2vw;
    left: -10vw;
    width: 18vw;
  }

  .litscale80,
  .litscale85,
  .litscale856 {
    transform: scaleX(1);
  }

  .litscale856 {
    margin-left: 0%;
  }

  #overview,
  #history,
  #others {
    display: block;
    width: 85vw;
    margin: 0 auto;
  }

  #history dl {
    display: block;
  }

  #history dt,
  #history dd {
    width: 100%;
  }

  #history dt {
    border-bottom: 2px dotted #1f2b66;
    background-color: #d7eaff;
    font-weight: bold;
  }

  #history dd {
    padding-bottom: 2vw;
  }

  /* フォーム SP対応 */
  .form-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .label-area {
    width: 100%;
    margin-bottom: 0.6vw;
  }

  .input-area,
  .input-area input[type="text"],
  .input-area input[type="tel"],
  .input-area input[type="email"],
  .form-group .input-area textarea,
  .icon-input {
    width: 100% !important;
    max-width: 100% !important;
  }

  .form-group .input-area textarea {
    box-sizing: border-box;
  }

  .inline-group {
    flex-wrap: wrap;
  }

  #rec .flexbox {
    display: flex;
  }

  #rec .col2 .item {
    width: 47%;
    margin-bottom: 0;
  }

  #rec h3#parkMaintenance,
  #staff h2 {
    width: 85vw;
  }

  table.job-detail-table th,
  table.job-detail-table td,
  table.job-detail-table tr {
    display: block;
    width: 100%;
  }

  .btn-submit {
    width: 179px;
    padding: 8.9px 0;
    border-radius: 3.8px;
  }
}