body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f3c63f;
}

/* top */

#top {
  width: 100%;
  height: 100vh; /* ビューポートの高さいっぱいに設定 */
  position: relative;
  overflow: hidden;
}

.top-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.top-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* モバイル用の設定 */
@media screen and (max-width: 768px) {
  #top {
    height: 30vh;
  }

  .top-video {
    /* スマートフォンでの表示を最適化 */
    object-position: center center; /* 動画の中心を表示 */
    /* 必要に応じて以下のいずれかを追加 */
    height: auto; /* 動画のアスペクト比を維持する場合
    /* min-height: 400px; */ /* 最小の高さを設定する場合 */
  }
}

/* news */

#news {
  margin-bottom: 82px;
  background-color: #f1eeee;
  padding-bottom: 32px;
}

.news_container {
  background-color: #fff;
  margin-right: 42px;
  border-radius: 0 70px 70px 0;
  padding: 32px 32px 32px 0;
}

@media screen and (max-width:768px) {
  .news_container {
    margin-right: 12px;
  }
}

.news_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width:768px) {
  .news_content {
    display: block;
  }
}

.news_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin-left: 82px;
}

@media screen and (max-width:768px) {
  .news_wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-left: 0;
  }
}

.news_card {
  background-color: #f3f2ee;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  position: relative;
}

@media screen and (max-width:768px) {
  .news_card {
    width: 100%;
  }
}

.news_label {
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #ffd700;
  color: #fff;
  padding: 5px 15px;
  border-radius: 6px;
  font-weight: bold;
}

.news_title {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #666;
}

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

.date {
  margin-top: 20px;
  color: #666;
}

.details {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 15px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
}

/* worries */

.container {
  display: flex;
  margin: 0 auto;
  padding-left: 120px;
}

@media screen and (max-width:768px) {
  .container {
    display: block;
    padding-left: 0;
  }
}

.left-column {
  flex: 1;
  padding-right: 20px;
}

@media screen and (max-width:768px) {
  .left-column {
    padding: 0 12px;
  }
}

.right-column {
  background-color: white;
  border-radius: 70px 0 0 70px;
  padding: 24px 42px;
  position: relative;
  width: 420px;
  overflow: hidden;
}

@media screen and (max-width:768px) {
  .right-column {
    padding: 0;
    width: 100%;
  }
}

.worries_test {
  position: absolute;
  font-size: 100px;
  font-weight: bold;
  color: #f7e6b3;
  opacity: 0.4;
  z-index: 1;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: white;
}

@media screen and (max-width:768px) {
  h1 {
    font-size: 1.4em;
  }
}

.issue {
  background-color: white;
  width: fit-content;
  border-radius: 20px;
  padding: 10px 20px;
  margin-bottom: 16px;
  font-size: 0.9em;
  font-weight: bold;
}

.right-column img {
  width: 70%;
  height: auto;
  margin-top: 20px;
}

.right-content {
  position: relative;
  z-index: 2;
}

@media screen and (max-width:768px) {
  .right-content {
    padding: 24px;
  }
}

.highlight {
  color: #ff6b6b;
}

.right_title {
  font-size: 1.8em;
  color: #f9d56e;
  margin-bottom: 20px;
}

@media screen and (max-width:768px) {
  .right_title {
    font-size: 1.1em;
  }
}

p {
  margin-bottom: 10px;
  font-weight: bold;
}

/* only */

#only {
  margin-top: 32px;
}

.only_container {
  position: relative;
}

img.only_img {
  width: 100%;
  height: 148px;
  object-fit: cover;
}

@media screen and (max-width:768px) {
  img.only_img {
    height: 82px;
  }
}

.only_img_text1 {
  position: absolute;
  top: 10%;
  right: 22%;
}

.only_img_text2 {
  position: absolute;
  top: 40%;
  right: 20%;
}

.only_img_text3 {
  position: absolute;
  top: 74%;
  right: 23%;
}

@media screen and (max-width:768px) {
  .only_img_text1 {
    top: 4%;
    right: 24%;
  }

  .only_img_text2 {
    top: 37%;
    right: 15%;
  }

  .only_img_text3 {
    top: 70%;
    right: 25%;
  }
}

.only_img_title {
  backdrop-filter: blur(5px);
  border: 1px solid #fff;
  padding: 6px 12px;
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
}

@media screen and (max-width:768px) {
  .only_img_title {
    font-size: 13px;
  }
}

.only_left_column {
  position: absolute;
  top: 0;
  left: 0;
  background-color: white;
  border-radius: 0 70px 70px 0;
  padding: 24px 42px;
  width: 460px;
  z-index: 2;
}

@media screen and (max-width:768px) {
  .only_left_column_title {
    font-size: 18px;
    padding: 12px;
  }

  .only_left_column {
    width: 100%;
    padding: 0;
    top: 250px;
    margin-top: 34px;
  }
}

.only_test {
  position: absolute;
  font-size: 100px;
  font-weight: bold;
  color: #f7e6b3;
  opacity: 0.4;
  z-index: 1;
  top: 30%;
  left: 30%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.only_content {
  position: relative;
  z-index: 2;
}

@media screen and (max-width:768px) {
  .only_content {
    padding: 12px;
  }
}

/* specifically */

@media screen and (max-width:768px) {
  section#specifically {
    margin-top: 570px;
  }
}

.specifically_container {
  text-align: center;
}

.specifically_top {
  font-size: 32px;
  color: #fff;
  font-weight: bold;
}

img.specifically_img {
  width: 30%;
}

@media screen and (max-width:768px) {
  img.specifically_img {
    width: 60%;
  }
}

.specifically_wrapper {
  margin: 62px 0;
}

@media screen and (max-width:768px) {
  .specifically_wrapper {
    margin: 16px 0;
  }
}

.specifically01 {
  background-color: #fff;
  border-radius: 70px 0 0 70px;
  padding: 42px;
  margin-left: 42px;
  position: relative;
  height: 230px;
}

@media screen and (max-width:768px) {
  .specifically01 {
    padding: 32px 12px;
    height: 250px;
    margin-left: 12px;
  }
}

.specifically02 {
  background-color: #fff;
  border-radius: 0 70px 70px 0;
  padding: 42px;
  margin-right: 42px;
  position: relative;
  height: 230px;
}

@media screen and (max-width:768px) {
  .specifically02 {
    padding: 32px 12px;
    height: 250px;
    margin-right: 12px;
  }
}

.specifically_title {
  font-weight: bold;
  font-size: 52px;
  color: #f3c63f;
  padding-left: 32px;
  margin: 0;
}

@media screen and (max-width:768px) {
  .specifically_title {
    font-size: 20px;
    padding-left: 12px;
  }
}

.specifically_desc {
  padding-left: 32px;
}

@media screen and (max-width:768px) {
  .specifically_desc {
    padding: 0 12px;
  }
}

.specifically_back_title {
  position: absolute;
  top: 20%;
  right: 3%;
  font-size: 115px;
  font-weight: bold;
  color: #f7e6b3;
  font-family: monospace;
}

@media screen and (max-width:768px) {
  .specifically_back_title {
    font-size: 30px;
    right: 10%;
    top: 78%;
  }
}

/* member */

#member {
  margin-top: 62px;
}

.member_title {
  color: #f7e6b3;
  font-size: 92px;
  margin: 0;
  padding-left: 34px;
}

@media screen and (max-width:768px) {
  .member_title {
    font-size: 42px;
    padding-left: 12px;
  }
}

.news_all {
  text-align: right;
}

.member_subtitle {
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.member_container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  place-items: center;
  gap: 20px;
}

@media screen and (max-width:768px) {
  .member_container {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media screen and (max-width:768px) {
  .card {
    width: 70%;
    margin: 0 auto;
  }
}

.profile-img {
  width: 100%; /* カードの幅に合わせる */
  height: 0; /* アスペクト比を維持するためのトリック */
  padding-bottom: 75%; /* 画像のアスペクト比に応じて調整（例：4:3の場合は75%） */
  position: relative;
  overflow: hidden;
}

.profile-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像をカバーモードでフィットさせる */
}

.number_content {
  display: flex;
  justify-content: space-between;
  padding: 6px 16px 0 16px;
  background-color: #666;
}

.number {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  color: #fff;
}

.title {
  font-size: 14px;
  color: #fff;
}

.name {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.name_sub {
  margin: 0;
  color: #999;
  font-size: 13px;
}

.border {
  border-bottom: 1px solid #666;
  padding-top: 18px;
  width: 50px;
  text-align: center;
}

.company {
  font-size: 12px;
  color: #999;
  margin-top: 18px;
}

/* contact */

#contact {
  margin-top: 62px;
}

.contact_container {
  background-color: #fff;
  padding: 32px 12px;
}

.contact_content {
  display: flex;
  justify-content: center;
  gap: 42px;
}

.contact_title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  color: #f9d56e;
}

@media screen and (max-width:768px) {
  .contact_title {
    margin: 0;
  }
}

img.contact_img {
  width: 20%;
  object-fit: contain;
}

@media screen and (max-width:768px) {
  img.contact_img {
    display: none;
  }
}

.contact_wrapper {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

@media screen and (max-width:768px) {
  .contact_wrapper {
    width: 100%; /* 横幅いっぱいに */
    max-width: none; /* max-widthの制限を解除 */
    padding: 0; /* パディングを削除 */
    margin-top: 24px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

@media screen and (max-width:768px) {
  .form-group label {
    font-size: 13px;
  }
}

.form-group input,
.form-group textarea {
  width: calc(100% - 22px);
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 12px;
}

.form-group input,
  .form-group textarea {
    width: 100%; /* 入力フィールドを横幅いっぱいに */
    box-sizing: border-box; /* パディングを幅に含める */
  }

.contact-button {
  padding: 12px 24px;
  font-size: 18px;
  color: #fff;
  background-color: #f3c63f;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 20px;
}

@media screen and (max-width:768px) {
  .contact-button {
    font-size: 13px;
    padding: 12px 18px;
    width: 100%;
  }
}

.contact_bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 42px;
  padding: 42px;
}

@media screen and (max-width:768px) {
  .contact_bottom {
    display: block;
    padding: 24px;
  }
}

.contact_bottom_title {
  font-size: 42px;
  font-weight: bold;
  color: #fff;
}

@media screen and (max-width:768px) {
  .contact_bottom_title {
    font-size: 28px;
  }
}

img.contact_bottom_img {
  width: 30%;
  object-fit: contain;
}

@media screen and (max-width:768px) {
  img.contact_bottom_img {
    width: 60%;
  }
}

/* footer */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  background-color: #fff;
  box-sizing: border-box;
  width: 100%;
}

@media screen and (max-width: 768px) {
  footer {
    flex-direction: column;
    text-align: center;
    padding: 12px 16px;
  }
}

img.footer-logo {
  width: 200px;
  height: 80px;
  object-fit: contain;
}

@media screen and (max-width: 768px) {
  img.footer-logo {
    width: 120px;
    height: 50px;
  }
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.footer-menu {
  color: #333;
  font-size: 13px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }

  .footer-wrapper {
    justify-content: center;
  }

  .footer-menu.vertical {
    display: none;
  }
}
