/* style.css - 株式会社ACS羽田 採用ページ */

body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

header, footer {
  background-color: rgb(12,134,182);
  color: #fff;
  padding: 5px;
  text-align: center;
}

#job-description h2 {
  position: relative;
  z-index: 1;
}

#job-description {
  z-index: 1;
}

main {
  padding: 20px 50px;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
}

h2, h3 {
  color: rgb(12,134,182);
  font-weight: 400;
}

h1 {
    color: rgb(255, 255, 255);
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 0.2rem;
    font-weight: lighter;
}

.rec-images {
  max-width: 1060px;
  margin: 0 auto;
  width: 1060px;
}

.rec-images img {
  width: 1060px;
  display: block;
}

#job-TopCopy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px; /* 左右20px、上下40pxの余白 */
  box-sizing: border-box;
}

#job-TopCopy p {
    font-size: 3rem;
    color: rgb(12, 134, 182);
    line-height: 1.5;
    flex: 1;
    margin: 0;
    font-weight: 100;
    letter-spacing: 3px;
    /* white-space: nowrap; */
}

.rec-images01 {
  flex-shrink: 0; /* 画像が縮まないようにする */
  padding-right: 0px; /* 画像を右端から20px内側に */
}

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


/* 小さめで水色の▶︎マーク用クラス */
.mark {
  color: rgb(12, 134, 182);  /* ご指定の水色 */
  font-size: 0.9em;
  margin-right: 0.25em;
}

#application-form {
  background-color: rgba(12, 134, 182, 0.2);
  padding: 10px 40px 40px;
  border-radius: 3px;
}

section {
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 30px;
}

label {
  font-weight: 500;
  margin-top: 0.3rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
input::placeholder,
textarea::placeholder {
  color: #888;
}

.dob-select {
  display: flex;
  gap: 10px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%230c86b6" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans;
  height: auto;
  line-height: 1.5;
  color: #000;
}

button[type="submit"] {
  background-color: rgb(12,134,182);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

button[type="submit"]:hover {
  background-color: #0a87b3;
}

/* CSSでモーダルの見た目を整える例 */
.modal {
  position: fixed !important; /* ← 念のため !important を追加 */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* 最初は非表示 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.modal-buttons {
  margin-top: 20px;
  text-align: right;
}

.modal-buttons button {
  margin-left: 10px;
  padding: 6px 14px;
  font-size: 16px;
  cursor: pointer;
}

#confirm-ok {
  padding: 8.5px 14px;
}


.required::after {
  content: " *";
  color: red;
}

.dotted-line {
  border: none;
  border-top: 3px dotted rgb(12,134,182);
  margin: 40px 0;
}

.Yoko-line {
  border: none;
  border-top: 1px solid rgb(12,134,182);
  margin: 10px 0;
}

.jd_p1 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 0;
  position: relative; 
  z-index: 1;
}

.jd_p2 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  color: #333;
  font-size: 13px;
  font-weight: 200;
  margin-top: 10px;
  position: relative; 
  z-index: 1;
}

.jd_p3 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  color: #333;
  font-size: 16px;
  font-weight: 200;
  position: relative; 
  z-index: 1;
}

#requirements h3 {
  margin-bottom: 0;
}

#requirements ul {
  margin-top: 0;
  margin-bottom: 0;
}

.req_kome {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  color: #333;
  font-size: 13px;
  font-weight: 200;
  margin-top: 2px;
  padding-inline-start: 20px;
}

.req_p1 {
  margin-bottom: 0;
}

#work-conditions h3 {
  margin-bottom: 0;
}
#work-conditions ul {
  margin-top: 0;
  margin-bottom: 0;
}

.ci_p1 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  color: rgb(12,134,182);
  font-size: 17px;
  font-weight: 400;
}

#application-form h2 {
  margin-bottom: 0;
  line-height: 1.2;
}

.af_p1 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  color: rgb(12,134,182);
  font-size: 16px;
  font-weight: 200;
  margin: 0;
}

.af_p2 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  color: rgb(12, 134, 182);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.af_p3 {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  color: rgb(12,134,182);
  font-size: 15px;
  font-weight: 200;
  margin: 0;
}

.sp-br {
  display: none;
}


@media (max-width: 768px) {
  main {
    padding: 10px 30px;
  }

  h1 {
    font-size: 0.8rem;
    margin-bottom: 0px;
    margin-top: 3px;
  }

  .rec-images {
  width: 100%;
}

.rec-images img {
  width: 100%;
}

  input[type="text"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    font-size: 1rem;
  }
  .sp-br {
  display: block;
}
}

footer p {
    font-family: "Noto Sans JP", Sans;
    font-weight: normal;
    letter-spacing: 2px;
    font-size: 7pt;
    padding: 0px 0;
}

hr {
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 2rem 0;
}

@media (max-width: 450px) {

.rec-images {
  width: 100%;
}

.rec-images img {
  width: 100%;
}
  
#job-TopCopy {
  position: relative;
}

#job-TopCopy  img {
  position: absolute;
  top: 130px;
  right: 10px;
}

#job-TopCopy p {
  font-size: 1.5rem;
}

#job-description {
  margin-top: 80px;
}

.rec-images01 img {
    max-width: 160px;
}
}