.gnav {
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  /* ★項目と項目の間の「一定間隔」を指定（好みの太さに調整してください） */
  list-style: none;
  margin-right: 20px; /* 右側に20pxの隙間をあける */

}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  /* ★項目と項目の間の「一定間隔」を指定（好みの太さに調整してください） */
  list-style: none;
}

.sns {
  text-align: center;
  list-style: none;
  gap: 40px;
}

.about {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  /* ★項目と項目の間の「一定間隔」を指定（好みの太さに調整してください） */
}

.picture {
  width: 300px;
  height: 300px;
  position: relative;
  gap: 40px;
}

picture img {
  width: 100%;
}

.try {
  text-align: center;
}

.news {
  display: flex;
  text-align: center;
}

.contact {
  margin: 0 auto;
  width: 886px;
}

.last {
  text-align: center;
}

.kaoriinsta {
  text-align: center;
}

.mizunoyousei {
  flex-direction: column;
  text-align: left;
  min-height: 364px;
}

.con {
  display: flex;
}

.tact {
  text-align: center;
  width: 184px;
}

.taitanic {
  display: flex;
  justify-content: center;
}

.box {
  margin-right: 20px;
  /* 右側に20pxの隙間を作る */

}

.toi {
  text-align: center;
  width: 693px;
  border: 1px solid #000;
}

.soushin {
  margin: 0 auto;
  display: block;
  width: 379px;
  margin-top: 40px;
}

.gintetu {
  display: flex;
  gap: 30px;
}

.asisatu {
  display: flex;
  flex-direction: row-reverse;
}

.play {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
}

.liebe {
  margin-top: 40px;
}

.main_visual {
  width: 100%;
  margin-block-end: 40px;
}

.container {
  position: relative;
  margin-top: 40px;
}

.main_visual_picture {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #FFFFFF;
  font-size: 30px;
  margin-inline-end: 20px;
}

.taitanic_theatre {
  width: 634px;

}

.year {
  vertical-align: top;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: #eb6100;
}

.btn--orange:hover,
a.btn--orange:hover {
  color: #fff;
  background: #f56500;
}

table {
  border-collapse: collapse;
}

p {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 60px auto 40px;
}

input[type="submit"],
input[type="text"],
select,
textarea,
button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border: none;
}


input[type="text"],
textarea {
  background: #f8f8f8;
  display: block;
  font-size: 16px;
  padding: 12px 15px;
  width: 480px;
  transition: 0.8s;
  border-radius: 0;
}

input[type="text"]:focus,
textarea:focus {
  background: #e9f5fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

textarea[name="content"] {
  display: inline-block;
  width: 100%;
  height: 200px;
}

input::placeholder,
textarea::placeholder {
  color: #ccc;
}

::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}

::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}

.form-table {
  width: 100%;
}

.form-table th,
.form-table td {
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  padding: 20px;
}

.form-table th {
  background: #ffecea;
  padding-left: 50px;
  position: relative;
  text-align: left;
  width: 300px;
}

.toiawase {
  padding-top: 30px;
}

.taitanic_theatre {
  margin-right: 40px;
  /* 右側に20pxの隙間を作る */
}

.performance {
  margin-right: 40px;
}

.aboutme {
  display: flex;
  text-align: justify;
  display: flex;
  justify-content: space-evenly;
  /* おすすめ */
}

.namae {
  margin-left: 40px;
}

.mizumizu {
  text-align: left;
  min-height: 364px;
}

.student {
  text-align: left;
}

.try {
  text-align: center
}

.image-container {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  /* 子要素を均等に配置します */
  align-items: center;
  /* 子要素を縦方向の中心に揃えます */
  flex: 1;
  /* 3つの画像がすべて同じ幅（等幅）になる */
  width: 0;
  /* 元の画像サイズに引っ張られないようにリセット */
  height: auto;
  /* 高さは比率を維持 */
  object-fit: cover;
  /* 画像が歪むのを防ぐ */
}

.News {
  background-image: url(img/qeen.png);
  background-size: cover;
  min-height: 758px;
}

.backgroundcoler {
  background-color: #e6e6fa;

}

.text-space {
  /* 下側に1文字分（約1行分）の余白を作る */
  margin-bottom: 1em;
}

.akazukin {
  min-height: 364px;
  text-align: center;
}

.magaret {
  min-height: 364px;
  text-align: right;
}

.ttaitanic_theatre_text {
  text-align: left;
}

.magaretmargaret {
  text-align: left;
}

@media (max-width:800px) {

  /*　画面サイズが800pxより小さい　*/
  .image-container {
    flex-direction: column;
  }

  .nav {
    flex-direction: column;
  }

  .about {
    flex-direction: column;
  }

  .news {
    flex-direction: column;
  }

  .con {
    flex-direction: column;
  }

  .taitanic{
    flex-direction: column;
  }

  .gintetu{
    flex-direction: column;
  }
  .form-table th,
  .form-table td{
    display: block;
  }
  .contact {
    width: 100%;
  }

  .toi{
    width: 100%;
  }

  .soushin{
    width: 100%;
  }
  .taitanic_theatre {
    width: 100%;
  }

  input[type="text"],
  textarea {
    width: 100%;
  }
  .mizumizu{
    width: 100%;
    margin-top: 50px;
    min-height: auto;
}
 .ttaitanic_theatre_text{
    margin-right: 10px;
    margin-top: 20px;
 }

.kokoro{
    margin-left: 20px;
    margin-top: 20px;
}
.mine{
  margin-left: 20px;
}
.performance{
  margin-left: 20px;
}
.huadong{
  margin-left: 20px;
}
.o_toiawase{
  margin-left: 20px;
  margin-bottom: 20px;
}
.onamae{
  margin-left: 20px;
}
.mailaddress{
  margin-left: 20px;
}
.tel{
  margin-left: 20px;
}
.naiyou{
  margin-left: 20px;
}
.akazukin{
   margin-bottom: 0;
   min-height: auto;
}

.mizumizu_mizu{
   min-height: auto;
   width: 100%;
   margin-left: 5px;
}
.ginga{
  min-height:auto;
  width: 100%;
  margin-right: 5px;
  margin-bottom:0;
}
.tetudou{
  min-height: auto;
  width: 100%;
}
.ka-ten{
  min-height: auto;
  width: 100%;
}
.asisatu{
  flex-direction: column;
}
.text-space {
  /* 下側に1文字分（約1行分）の余白を作る */
  margin-bottom: 7em; 
}
.nav{
  flex-direction: row;
}
.try{
  text-align: justify;
}


}