body {
  font-family: "Hiragino Sans", sans-serif;
  margin: 0;
}

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

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header h1 img {
  margin: 20px auto auto 20px;
}

.header-buttons {
  display: flex;
  gap: 0px;
}

.btn-orange,
.btn-blue {
  min-width: 120px;
  height: 80px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 0;
  text-decoration: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  margin: 0;
  transition: all 0.3s ease;
}

.btn-blue:hover,
.btn-orange:hover {
  opacity: 0.85;
}

.btn-orange {
  background-color: #f3a567;
}

.btn-blue {
  background-color: #0262c0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 20px;
  font-size: 18px;
  line-height: 1;
}

@media screen and (max-width: 670px) {
  .btn-orange {
    display: none;
  }

  .btn-blue {
    min-width: auto;
    padding: 0 16px;
    font-size: 16px;
  }

  .header-buttons {
    justify-content: flex-end;
    flex: 1;
  }
}


/*  メイン  */
.main-visual {
  background-image: url('./images/main_back.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
  width: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}

.main-image-container {
  position: relative;
}

.main-overlay {
  max-width: 100%;
  height: auto;
  display: block;
}


/* メイン下 */


.section-light {
  margin-top: 0;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 3;
  font-weight: 500;
  padding: 30px 0;
  background-color: #e7f0f7;
}

.light-title {
  margin-bottom: 30px;
}

.section {
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.section .text-block {
  flex: 1;
  min-width: 300px;
}

.section .text-block h2,
.section .text-block p {
  text-align: left;
}

.section img.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

.section-title img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* 私たちについて */

.facility-image {
  display: block;
  margin: 24px auto;
  max-width: 100%;
  border-radius: 0;
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 90px 130px;
  background-color: #fff;
  text-align: left;
  line-height: 31pt;
}

.about-section .about-text,
.about-section .about-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

/* ▼ モバイル（768px以下）のレスポンシブ対応 ▼ */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    padding: 40px 16px; /* ✅ 左右に余白を追加 */
    gap: 30px; /* ✅ 要素間の隙間を縮小 */
  }

  .about-section .about-text,
  .about-section .about-image {
    max-width: 100%; /* ✅ 横幅いっぱいに広がらないよう制限 */
    min-width: auto;
  }

  .facility-image {
    margin: 16px auto;
  }
}


/* 働く環境 */
.environment-section {
  margin-top: 0;
  width: 100%;
  text-align: center;
  background-color: #e7f0f7;
  padding-top: 70px;
  padding-bottom: 30px;
}

.environment-item {
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
}

.environment-section p {
  line-height: 2rem;
}

.environment-section strong {
  color: #0677c3;
  font-size: 18px;
}

.custom-dashed {
  border: none;
  border-top: 1pt dashed #262626;
  margin: 10px auto 0;
  max-width: 800px;
  padding: 40px 0;
}

.heading-wrapper {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
  text-align: center;
}

.heading-wrapper h3 {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  text-shadow: 2px 2px 4px rgba(116, 115, 115, 0.2);
}

.heading-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 100%;
  transform: translateY(-50%);
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  z-index: 0;
}

.heading-wrapper.env-bg1::before {
  background-image: url("images/environment1.jpg");
  max-width: 800px;
}

.heading-wrapper.env-bg2::before {
  background-image: url("images/environment2.jpg");
  max-width: 800px;
}

.heading-wrapper.env-bg3::before {
  background-image: url("images/environment3.jpg");
  max-width: 800px;
}

.heading-wrapper.env-bg4::before {
  background-image: url("images/environment4.jpg");
  max-width: 800px;
}

.heading-wrapper h3 {
  color: #fff;
}


/* 働く職場 */

.section-desc {
  font-size: 16px;
  margin-bottom: 40px;

}

.workplace-title {
  text-align: center;
  margin-top: 90px;
}

.facility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.facility-btn {
  display: block;
  text-align: left;
  color: white;
  text-decoration: none;
  width: 300px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
}

.facility-btn img {
  width: 100%;
  display: block;
  height: auto;
}

.facility-text {
  padding: 15px;
  font-size: 16px;
}

.facility-text strong {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}

.arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 10%;
  height: 10%;
}


.facility-btn.green {
  background-color: #66bb44;
}

.facility-btn.orange {
  background-color: #f7981d;
}

.facility-btn.red {
  background-color: #e36060;
}

.workplace-section h1,
.workplace-section p {
  text-align: center;
}

/* 働く職員 */
.staff-section {
  margin: 100px auto;
  padding: 0 20px;
  text-align: center;
}


.staff-inner {
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}




/* 求める人物像と採用プロセス */
.middle {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background-color: #e7f0f7;
  padding: 90px;
  justify-content: center;
  align-items: flex-start;
}

/* 求める人物像 */
.person-section {
  flex: 1 1 400px;
  padding: 20px;
}

.person-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.person-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.person-list li::before {
  content: "●";
  color: #0072c6;
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 14px;
}


/* 採用プロセス */

.process-section {
  flex: 1 1 400px;
  padding: 20px;
}

.notice {
  font-size: 16px;
  color: #000000;
  margin-top: 20px;
  text-align: left;
}
@media screen and (max-width: 1024px) {
  .middle {
    padding: 60px 40px;
  }
}

@media screen and (max-width: 768px) {
  .middle {
    padding: 40px 20px;
  }
  .person-section,
  .process-section {
    padding: 10px 0;
  }
  .person-list li {
    font-size: 15px;
  }
  .notice {
    font-size: 14px;
  }
}

/* 募集要項 */

.job-section {
  text-align: center;
  padding: 0 20px;
}

.job-title {
  margin-top: 90px;
}

.table_design01 {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
  margin: 60px auto 0;
  text-align: left;
}

.table_design01 th,
.table_design01 td {
  border: 2px solid #fff;
  background-color: #e7f0f7;
  padding: 1em;
  vertical-align: top;
}

.table_design01 th {
  background-color: #0072ce;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
}

.table_design01 ul {
  padding-left: 20px;
  margin: 0;
  list-style: disc;
}

.table_design01 p {
  margin-top: 10px;
}

.table_design01 {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
  margin: 60px auto 0;
  text-align: left;
}

.table_design01 th,
.table_design01 td {
  border: 2px solid #fff;
  background-color: #e7f0f7;
  padding: 1em;
  vertical-align: top;
}

.table_design01 th {
  background-color: #0072ce;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 20%;
  min-width: 4em;
}

.table_design01 ul {
  padding-left: 20px;
  margin: 0;
  list-style: disc;
}

.table_design01 p {
  margin-top: 10px;
}


@media (max-width: 768px) {
  .table_design01 {
    width: 100%;
    display: block;
    margin: 0 auto; 
    padding: 0 20px;
    box-sizing: border-box;
  }

  .table_design01 tbody,
  .table_design01 tr,
  .table_design01 th,
  .table_design01 td {
    width: 100%; 
    display: block;
  }

  .table_design01 tr {
    margin-bottom: 0;
    padding: 0;
  }

  .table_design01 th {
    background-color: #0072ce;
    color: #fff;
    padding: 0.5em;
    font-size: 15x;
    border-bottom: none;
    text-align: left;
  }

  .table_design01 td {
    background-color: #e7f0f7;
    padding: 0.5em;
    border-top: 1px solid #fff;
    font-size: 15px;
    text-align: left;
  }
}



/* スペース */
.spacer {
  height: 200px;
  background-color: #e7f0f7;
  margin-top: 90px;
}

/* メッセージ  */
.message-section {
  text-align: center;
  padding: 90px 20px;


}

.message-section p {
  line-height: 55px;
  font-size: 18px;
  letter-spacing: 2px;
  max-width: 650px;
  color: #0668c3;
  margin: 0 auto;
  text-align: center
}

/* エントリー  */
.entry-section {
  background-color: #d5e4f1;
  padding: 3rem 1rem;
  text-align: center;
}

.entry-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.entry-wrapper img {
  max-width: 100%;
  height: auto;
}

.entry-btn img {
  transition: transform 0.3s ease;
}

.entry-btn:hover img {
  transform: scale(1.05);
}


/* フッター  */
.footer-section {
  background-color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-banners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  float: left;
  width: 50%;
}

.footer-banners img {
  height: auto;
  max-width: 120px;
}

.footer-links {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  margin-top: 20px;
}

.footer-links a {
  color: #003366;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  color: #555;
  margin-top: 60px;
}