/* 共通 */
p {
  margin: 0;
}
h1 {
  font-weight: normal;
}
html {
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE, Edge 対応 */
  scrollbar-width: none; /* Firefox 対応 */
}
::-webkit-scrollbar {
  display: none; /* Chrome, Safari 対応 */
}
body {
  letter-spacing: 0.3em;
  animation: fadeIn 3s ease 0s 1 normal;
  margin: 0;
  color: rgb(237, 217, 43);
  font-family: "Jaro", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
input,
select {
  padding: 0.5rem;
  box-sizing: border-box;
  background-color: transparent;
  border: 1px solid rgb(237, 217, 43);
  color: rgb(237, 217, 43);
  font-size: 1rem;
}
textarea {
  box-sizing: border-box;
  padding: 0.5rem;
  resize: none;
  background-color: transparent;
  border: 1px solid rgb(237, 217, 43);
  color: rgb(237, 217, 43);
  font-size: 1rem;
}
ul {
  list-style: none;
}
input:focus,
textarea:focus {
  outline: transparent 2px solid;
}
/* --------------------------- */
.main {
  position: relative;
  height: 101vh;
}
.first {
  position: relative;
  height: 100%;
  z-index: 100;
  background-image: url("img/20241210\ \ HP17139.jpg");
  background-size: cover; /* 画像が要素全体を覆う */
  background-position: top; /* 縦方向の位置を上に合わせる */
  background-repeat: no-repeat; /* 画像の繰り返しを無効化 */
  transition: transform 1s ease, opacity 1s ease;
}
.second {
  position: fixed;
  top: 0;
  height: 100%;
  background-image: url("img/D9997E82-E0DF-4C99-BFD4-7C66B851C08A.jpeg");
  background-size: cover; /* 画像が要素全体を覆う */
  background-position: top; /* 縦方向の位置を上に合わせる */
  background-repeat: no-repeat; /* 画像の繰り返しを無効化 */
}
.third {
  position: absolute;
  top: 0; /* 初期位置を画面上部に配置 */
  width: 100%;
  height: 100%;
  background-color: white;
  overflow-y: auto;
  z-index: 100;
  background-position: top;
  background-repeat: no-repeat;
  transform: translateY(-100%); /* 初期位置を画面の上に隠す */
  transition: transform 1s ease-in-out, opacity 3s ease-in-out; /* アニメーションの設定 */
}

.main-area {
  width: 70%;
}

.txt-area {
  width: 80%;
  padding: 20% 0% 5% 20%;
}
.txt-area h1 {
  margin: 0;
  font-size: 6.5vw;
}
.logo-list img {
  width: 50px;
  object-fit: cover;
}
.sns-logo {
  cursor: pointer;
}
.inquiry {
  font-weight: normal;
  font-size: 1.2rem;
  padding: 5% 10%;
  width: 40%;
}
.third .inquiry {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  width: 60%;
}
.inquiry-b {
  margin-top: 2.5rem;
}
#inquiry {
  position: absolute;
  top: 50%;
  text-align: center;
  width: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  top: 50%;
}
#inquiry p {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: normal;
}
.achievements {
  background-color: white;
  padding: 1rem;
  box-sizing: border-box;
}
.achievements-b {
  margin: 0.5rem;
}
.title {
  font-weight: normal;
}
.b-title {
  font-size: 2rem;
}
.base {
  position: relative;
  height: 100%;
  width: 100%;
}
/* flex */
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* btn */
.btn {
  background: rgb(237, 217, 43);
  font-family: "Jaro", sans-serif;
  color: white;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  min-width: 30%;
  border: none;
  cursor: pointer;
  padding: 10px 25px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.btn:hover {
  background: white;
  color: rgb(237, 217, 43);
  border: 1px solid rgb(237, 217, 43);
}

.r-btn {
  background: white;
  font-family: "Jaro", sans-serif;
  color: rgb(237, 217, 43);
  border: 1px solid rgb(237, 217, 43);
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  min-width: 30%;
  cursor: pointer;
  padding: 0.5rem 2rem;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.r-btn:hover {
  background: rgb(237, 217, 43);
  color: white;
  border: 1px solid white;
}

/* font-size  */
.f08 {
  font-size: 0.8rem;
}
/* gap */
.g-10 {
  gap: 10%;
}
/* margin */
.m-t {
  margin-top: 1.5rem;
}
.m05 {
  margin: 0.5rem;
}
.m30 {
  margin: 3rem;
}
/* width */
.w-30 {
  width: 30%;
}
.w-40 {
  width: 40%;
}
.w-50 {
  width: 50%;
}
.w-60 {
  width: 60%;
}
.w-70 {
  width: 70%;
}
.w-100 {
  width: 100%;
}
/* select,option */
.custom-select {
  position: relative;
  width: 100%;
  background: transparent;
  border: 1px solid rgb(237, 217, 43);
  cursor: pointer;
}

.selected {
  padding: 0.5rem;
  font-size: 1rem;
  display: block;
  background: transparent;
}
.selected::after {
  content: "";
  width: 6px;
  height: 6px;
  border: 0;
  border-bottom: solid 2px rgb(237, 217, 43);
  border-right: solid 2px rgb(237, 217, 43);
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 1rem;
  bottom: 0;
  margin: auto;
}
.options {
  position: absolute;
  width: 100%;
  color: white;
  background: rgb(237, 217, 43);
  border: 1px solid rgb(237, 217, 43);
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

.options li {
  padding: 10px;
  background: transparent; /* 背景を透明に */
  cursor: pointer;
}

.options li:hover {
  background: white; /* ホバー時のスタイル */
  color: rgb(237, 217, 43);
}
/* スクロール矢印 */
.scroll_down {
  display: flex;
  justify-content: center;
}
.scroll_down a {
  font-size: 14px;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: 30px;
  height: 60px;
  text-decoration: none;
}
.arrow {
  position: absolute;
  width: 28px;
  height: 5px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: moveDown 3s ease-out infinite;
}
.arrow:first-child {
  animation: moveDown 3s ease-out 1s infinite;
}
.arrow:nth-child(2) {
  animation: moveDown 3s ease-out 2s infinite;
}
.arrow:before,
.arrow:after {
  content: " ";
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: rgb(237, 217, 43);
}
.arrow:before {
  left: 0;
  transform: skew(0deg, 30deg);
}
.arrow:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}
@keyframes moveDown {
  25% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}
/* フェードイン */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .main-area {
    width: 100%;
  }
  /* .main {
    height: 877px;
  } */
  .txt-area {
    width: 90%;
    padding: 60% 5% 40% 5%;
  }
  .txt-area h1 {
    font-size: 2em;
  }
  .first {
    background-image: url("img/20241010.jpg");
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat; /* 繰り返し無効 */
    height: 100%; /* 子要素の高さを 100% に設定 */
  }
  .second {
    background-image: url("img/D9997E82-E0DF-4C99-BFD4-7C66B851C08A-2.jpg");
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat; /* 繰り返し無効 */
    height: 100%; /* 子要素の高さを 100% に設定 */
  }
  .second .inquiry {
    font-size: 1.2rem;
    padding: 20% 5%;
    text-align: center;
    display: none;
  }
  #inquiry {
    display: block;
  }
  .logo-list img {
    width: 38px;
  }
}
@media (max-width: 376px) {
  .inquiry {
    font-size: 0.8rem;
  }
  .third .inquiry {
    font-size: 0.8rem;
  }
  .main {
    height: 675px;
  }
  .btn {
    width: 100%;
    padding: 0.5rem 2rem;
  }
}
