@charset "UTF-8";

html,
body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif" !important;
  overflow: visible;

}

.inner {
  width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .inner {
    width: 90%;
    margin: 0 auto;
  }
}

/* header全体 
------------------------*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: #fff;
}

header h1 {
  margin: 0;
  padding: 0;
}

header h1 img {
  height: 50px;
  vertical-align: middle;
}

header .inner {
  width: 1080px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {

  header {
    padding: 15px 0 10px;
  }

  header .inner {
    width: 90%;
  }

  header h1 img {
    height: 40px;
  }
}

/* contact全体 
------------------------*/

.contact {
  background: #035C72;
  background: linear-gradient(90deg, rgba(3, 92, 114, 1) 0%, rgba(2, 51, 62, 1) 100%);
  padding: 80px 0;
  color: #fff;
}

.contact .flex {
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
}

/* 左側のエリア */
.contact .left {
  flex: 0 0 auto;
  margin-right: 50px;
}

.contact h1 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
}

.contact .img {
  width: 420px;
  overflow: hidden;
}

.contact .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右側セクション（フォーム） */
.right {
  flex: 1;
}

.right p {
  color: #fff;
  font-size: 16px;
  margin: -15px 0 20px;
  line-height: 1.8;
}

.success-message {
  color: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  animation: fadeIn 0.5s ease-in;
}

.error-message {
  color: white;
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* フォームスタイル 
---------------------------*/
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
}

.form-group label {
  color: #fff;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background-color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 4px;
  font-family: inherit;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #f39c12;
  outline-offset: 2px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* 送信ボタン */
button[type="submit"] {
  background-color: #f39c12;
  color: #fff;
  border: none;
  padding: 10px 70px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  align-self: center;
  margin-top: 5px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  position: relative;
  right: -160px;
}

button[type="submit"]:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .contact {
    background: linear-gradient(90deg, rgba(3, 92, 114, 1) 0%, rgba(2, 51, 62, 1) 100%);
    padding: 40px 0;
  }

  .contact .flex {
    display: block;
    margin: 0 auto;
    justify-content: space-between;
  }

  /* 左側のエリア */
  .contact .left {
    flex: 0 0 auto;
    margin-right: 0px;
  }

  .contact h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
  }

  .contact .img {
    width: 100%;
  }

  .contact .img img {
    margin-bottom: 20px;
  }

  .right p {
    font-size: 14px;
    margin: 0 0 20px 0;
  }

  /* 送信ボタン */
  button[type="submit"] {
    width: 100%;
    position: relative;
    right: 0px;
  }

  button[type="submit"]:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
  }
}


/* recruit全体 
------------------------*/
.recruit {
  position: relative;
  background: url('../../images/recruit-img.png') no-repeat center center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

.recruit .content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.recruit h1 {
  color: #fff;
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.recruit h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.recruit p {
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .recruit {
    min-height: 400px;
    padding: 40px 0;
  background: url('../../images/recruit-img_sp.png') no-repeat center center;
  background-size: cover;
  }

  .recruit h1 {
    color: #fff;
    font-size: 36px;
  }

  .recruit h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
  }

  .recruit p {
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    opacity: 0.9;
  }
}



footer {
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 10px 0;
  text-align: center;
  margin-bottom: -25px;
}

/* フォーム送信時のアニメーション
------------------------*/
.form-container {
  animation: fadeIn 0.5s ease-in;
}

.success-container {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}