body {
  background-color: black;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

section {
  width: 100%;
}

header {
  max-width: 100%;
  height: 88px;
  line-height: 88px;
  background: rgba(158, 141, 255, 0.8);
}

header ul {
  display: flex;
  justify-content: center;
}

header li {
  margin-left: 64px;
}

header li:first-of-type {
  margin-left: 0;
}

header a {
  color: black;
  font-weight: bold;
  font-size: 32px;
  white-space: nowrap;
}

header a:hover {
  color: #2600ff;
  transition: all 1s;
}

.hamburger {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  z-index: 20;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: -1;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: black;
  position: absolute;
  transition: all 0.5s;
}

.open .hamburger span {
  background-color: #fff;
}

.hamburger span:first-of-type {
  top: 10px;
}

.hamburger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:last-of-type {
  bottom: 10px;
}

.open .hamburger span:first-of-type {
  top: 50%;
  transform: rotate(45deg);
}

.open .hamburger span:nth-of-type(2) {
  top: 50%;
  transform: rotate(45deg);
}

.open .hamburger span:last-of-type {
  top: 50%;
  transform: rotate(-45deg);
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  transition: all 0.5s;
}

.open .mask {
  width: 100%;
}

.mainvisual img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  vertical-align: top;
}

.mainvisual {
  height: 100vh;
}

.mainvisual h1 {
  text-align: center;
  font-size: 64px;
  color: #fff;
  opacity: 0; /* 初期状態では透明 */
  transition: opacity 1.5s ease 0.5s; /* 0.5秒遅れて1.5秒かけてアニメーション */
  /* top: 30%; left: 30%; は fixed の画像基準になるため、画面中央などに調整が必要 */
  position: relative; /* スクロールに合わせて動くように変更 */
  top: 300px;
  left: 0;
  animation: colorchange 9s ease-in-out infinite;
}

@keyframes colorchange {
  0% {
    color: #fff;
  }
  25% {
    color: #6bb6ff;
  }
  50% {
    color: #ff3333;
  }
  75% {
    color: #ff66ff;
  }
  100% {
    color: #2600ff;
  }
}

/* アニメーション用のクラスを追加 */
.mainvisual h1.is-show {
  opacity: 1; /* 表示状態 */
}

.frame {
  width: 90%;
  margin: 40px auto;
  text-align: center;
  position: relative;
  top: 400px;
  left: 0;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fadein.is-show-fade {
  opacity: 1;
  transform: translateY(0);
}

.btn-3 {
  color: #fff;
  background: linear-gradient(0deg, #2600ff 0%, rgba(129, 5, 240, 1) 100%);
  width: 376px;
  height: 5rem;
  line-height: 5rem;
  font-size: 24px;
  border-radius: 5px;
  border: none;
  transition: all 0.3s ease;
  position: relative;
}
.btn-3 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.btn-3:before,
.btn-3:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  background-color: #fff;
  transition: 800ms ease all;
}
.btn-3:before {
  height: 0%;
  width: 2px;
}
.btn-3:after {
  width: 0%;
  height: 2px;
}
.btn-3:hover {
  background: transparent;
  box-shadow: none;
}
.btn-3:hover:before {
  height: 100%;
}
.btn-3:hover:after {
  width: 100%;
}
.btn-3 span:hover {
  color: #2600ff;
}
.btn-3 span:before,
.btn-3 span:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  background-color: #fff;
  transition: 800ms ease all;
}
.btn-3 span:before {
  width: 2px;
  height: 0%;
}
.btn-3 span:after {
  width: 0%;
  height: 2px;
}
.btn-3 span:hover:before {
  height: 100%;
}
.btn-3 span:hover:after {
  width: 100%;
}

#intro-earth {
  margin-top: 120px;
  margin-bottom: 120px;
  height: 560px;
}

#intro-earth h2 {
  text-align: center;
}

#intro-earth img {
  width: 40%;
  border-radius: 50%;
}

#intro-earth .contents {
  width: 60%;
}

.sec-title {
  font-size: 40px;
}

.text {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  margin: 0 auto;
}

#intro-earth .text {
  max-width: 1200px;
  display: flex;
  align-items: center;
}

#intro-earth p {
  text-align: center;
}

.frame1 {
  width: 90%;
  margin: 80px auto;
  text-align: center;
  z-index: 10;
}

#introduction {
  height: 720px;
  margin-bottom: 40px;
}

#introduction img {
  width: 40%;
  border-radius: 50%;
}

#introduction .contents {
  width: 60%;
}

#introduction .text {
  max-width: 1200px;
  display: flex;
}

#introduction .sec-title {
  font-size: 40px;
  margin-top: 88px;
  margin-bottom: 48px;
}

#introduction h3 {
  font-size: 24px;
  text-align: center;
}

#introduction p {
  margin-top: 80px;
  padding-left: 160px;
}

/* 2ページ目css */

#classification {
  color: #fff;
}

#classification img {
  width: 60%;
  object-fit: none;
  border-radius: 50%;
}

#classification h2 {
  text-align: center;
  font-size: 40px;
}

#classification .content {
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

#classification .item {
  text-align: center;
}

#various {
  color: #fff;
  text-align: center;
}

#various h2 {
  font-size: 40px;
  margin-top: 160px;
}

#various .contents {
  max-width: 1200px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

#various img {
  width: 50%;
  border-radius: 50%;
  object-fit: none;
}

/* 3ページ目css */

#planets-text1 {
  margin-top: 8%;
}

#planets-text1,
#planets-text2 {
  display: flex;
}

#planets-text1 .various-contents,
#planets-text2 .other-contents {
  color: white;
  padding: 50px;
  max-width: 360px;
  min-height: 450px;
  box-sizing: border-box;
  position: relative; /* 吹き出しの絶対位置指定の基準にする */
}

#planets-text1 .title {
  font-size: 32px;
  width: 300px;
  animation: colorchange 9s ease-in-out infinite;
}

.other-contents .title {
  width: 300px;
  font-size: 32px;
  animation: colorchange 9s ease-in-out infinite;
}

#planets-text1 .various-text,
#planets-text2 .other-text {
  font-weight: bold;
  background: rgba(158, 141, 255, 0.3);
  color: white;
  font-size: 24px;

  width: 300px;
  height: 300px;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  padding: 20px;
  box-sizing: border-box;
}

#planets-text1 .various-text::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 20px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 15px solid rgba(158, 141, 255, 0.3);
  z-index: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#planets-text1 .design-circle {
  position: relative;
  max-width: 360px;
  height: 296px;
  background-color: rgba(255, 255, 255, 0.1);
}

#planets-text1 .circle-large,
.circle-medium,
.circle-small {
  position: absolute;
  border-radius: 50%;
}

#planets-text1 .circle-large {
  width: 180px;
  height: 180px;
  background-color: #48446c;
  top: 10px;
  right: 10px;
}

#planets-text1 .circle-medium {
  width: 100px;
  height: 100px;
  background-color: #8e8ac7;
  bottom: 80px;
  left: 80px;
}

#planets-text1 .circle-small {
  width: 80px;
  height: 80px;
  background-color: #d4d0f0;
  bottom: 10px;
  left: 30px;
}

#va-mv {
  height: 0;
}

.planets-list,
.planets-list2 {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  padding-top: 50px;
  display: flex;
}

.planets-list2 {
  margin-bottom: 80px;
}

.planets-list h3,
.planets-list2 h3 {
  font-size: 24px;
  text-align: center;
}

.planets-list li,
.planets-list2 li {
  margin-left: 32px;
}

.planets-list p,
.planets-list2 p {
  letter-spacing: 0.05em;
}

.planets-list img,
.planets-list2 img {
  width: 100%;
  margin: 32px 0;
  object-fit: none;
  object-position: 20% 20%;
  border-radius: 50%;
}

.planets-list2 li:nth-of-type(2) img {
  object-position: 20% 70%;
}

#planets-text2 .contents {
  color: #fff;
  background-image: url(../img/black-hall1.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 696px;
}

#planets-text2 .mv-text {
  height: 100%;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding-top: 120px;
}

#planets-text2 .other-text::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 15px solid rgba(158, 141, 255, 0.3);
  z-index: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(-45deg);
}

#planets-text2 .design-circle {
  position: relative;
  width: 360px;
  height: 296px;
  background-color: rgba(255, 255, 255, 0.1);
}

#planets-text2 .circle-large,
.circle-medium,
.circle-small {
  position: absolute;
  border-radius: 50%;
}

#planets-text2 .circle-large {
  width: 180px;
  height: 180px;
  background-color: #48446c;
  top: 10px;
  left: 10px;
}

#planets-text2 .circle-medium {
  width: 100px;
  height: 100px;
  background-color: #8e8ac7;
  bottom: 80px;
  right: 80px;
}

#planets-text2 .circle-small {
  width: 80px;
  height: 80px;
  background-color: #d4d0f0;
  bottom: 10px;
  right: 40px;
}

#planets-text2 .other {
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* 4ページ目 Contact お問い合わせフォーム */
.wrapper {
  background-image: url(../img/background-image.png);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.wrapper h2 {
  font-size: 96px;
  font-weight: normal;
}

.wrapper dt:first-child {
  margin-top: 80px;
}

.wrapper dt:nth-child(3),
.wrapper dt:nth-child(5),
.wrapper dt:nth-child(7) {
  margin-top: 16px;
}

.wrapper dt {
  font-weight: bold;
}

.wrapper dd {
  border: 1px solid;
}

::placeholder {
  color: #c7c7c7;
}

.title-text {
  padding: 240px 120px 160px;
}

.title-text p {
  padding-top: 40px;
  font-weight: bold;
}

.wrapper form {
  border-radius: 50%;
  max-width: 1200px;
  padding: 120px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.2);
}

.wrapper form span {
  color: #ff3333;
}

.wrapper form p {
  padding-left: 40px;
}

.wrapper input,
.wrapper textarea {
  width: 100%;
}

.wrapper .frame1 {
  margin-bottom: 0;
  padding-bottom: 80px;
}

.submit-btn {
  border: 1px solid;
  border-radius: 20px;
  margin: 0 auto;
  margin-top: 40px;
  width: 120px;
  height: 40px;
  text-align: center;
}

.submit-btn:hover {
  color: #000000;
  transition: all 0.7s;
}

.submit-btn input {
  font-weight: bold;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.submit-btn input:hover {
  background-color: #fff;
  transition: all 0.7s;
}

/* footer */

#footer .container {
  background: rgba(158, 141, 255, 0.8);
  max-width: 100%;
}

footer a {
  color: #fff;
}

.logo {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
}

.logo li {
  border: 1px solid;
  display: block;
  background-color: #2600ff;
  background: linear-gradient(0deg, #2600ff 0%, rgba(129, 5, 240, 1) 100%);
  min-width: 120px;
  height: 64px;
  line-height: 64px;
  text-align: center;
}

.logo li:hover {
  transition: all 1s;
  border: 2px solid;
  color: #fff;
  cursor: pointer;
}

.logo li:first-of-type {
  margin-left: 120px;
}

.logo li:last-of-type {
  margin-right: 120px;
}

.logo a {
  display: inline-block;
  font-weight: bold;
  height: 100%;
  width: 100%;
}

.logo li:hover a {
  transition: all 0.5s;
  color: #000000;
}

.sns-area {
  width: 320px;
  margin-left: auto;
  margin-right: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sns-icon {
  font-size: 32px;
  font-weight: bold;
  color: #2600ff;
  border-right: 2px solid #000000;
  padding-right: 16px;
}

.sns-list {
  width: 240px;
  padding-left: 16px;
  display: flex;
  justify-content: space-between;
}

.sns-list a {
  color: #fff;
  font-weight: bold;
}

.sns-list a:hover {
  color: #2600ff;
  transition: all 1s;
}

.copyright {
  color: #2600ff;
  text-align: center;
  font-weight: bold;
}

.submit-btn input {
  padding: 8px 0;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000000;
    border: 2px solid;
    font-size: 8px;
}

.wpcf7 form span {
  color: #ff3333;
}

.wpcf7 .frame1 span {
  color: #fff;
  margin-top: -5rem;
}

/* 1024 */
@media (max-width: 1024px) {
  /* responsive 1ページ目.   headerとfooterは、１ページから4ページは共通。 */

  header {
    line-height: normal;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
  }

  header nav {
    position: fixed;
    top: 0;
    left: -300px;
    z-index: 20;
    padding: 24px;
    transition: all 0.5s;
  }

  .open nav {
    left: 0;
  }

  header ul {
    flex-direction: column;
  }

  header li {
    margin-left: 0px;
    margin-bottom: 16px;
  }

  header a {
    font-size: 24px;
    color: rgba(129, 5, 240, 1);
  }

  .mainvisual h1 {
    font-size: 40px;
    top: 400px;
  }

  .frame {
    top: 500px;
    left: 0;
  }

  .btn-3 {
    font-size: 16px;
    width: 40%;
    height: 4rem;
    line-height: 4rem;
  }

  #intro-earth {
    margin-top: 32px;
    margin-bottom: 32px;
    height: 480px;
  }

  #intro-earth .text {
    display: flex;
    flex-direction: column;
  }

  #intro-earth h2 {
    margin: 0;
    text-align: center;
  }

  #intro-earth img,
  #introduction img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 0;
  }

  #intro-earth h2 {
    font-size: 24px;
    padding-right: 16px;
  }

  #intro-earth p {
    padding-left: 16px;
  }

  #intro-earth .contents {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  #introduction {
    height: 640px;
  }

  #introduction .contents {
    width: 100%;
    max-height: 400px;
    display: flex;
    flex-direction: column;
  }

  #introduction .text {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
  }

  #introduction .sec-title {
    font-size: 32px;
    margin: 16px;
  }

  .other-contents .title {
    margin: 40px auto;
  }

  #introduction h3 {
    font-size: 16px;
  }

  #introduction p {
    font-weight: bold;
    font-size: 8px;
    margin: 16px;
    padding-left: 200px;
    text-align: right;
  }

  .frame1 {
    margin: 40px auto;
  }

  /* footer レスポンシブ */

  .logo {
    display: flex;
    justify-content: center;
  }

  .logo li:first-of-type {
    margin-right: 40px;
  }

  .sns-area {
    margin: 0 auto;
  }

  .sns-icon {
    font-size: 24px;
  }

  .copyright {
    margin-top: 32px;
  }

  /* 2ページ目responsive */

  #classification h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 80px;
  }

  #classification h3 {
    font-size: 24px;
  }

  #classification .content {
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
  }

  #classification .item {
    text-align: center;
    margin-bottom: 80px;
  }

  #various {
    color: #fff;
    text-align: center;
  }

  #various h2 {
    font-size: 32px;
    margin-top: 80px;
  }

  #various .contents {
    display: flex;
    flex-direction: column;
  }

  #various img {
    border-radius: 50%;
  }

  /* 3ページ目responsive */

  #planets-text1 {
    display: flex;
    flex-direction: column;
  }

  #planets-text1 .various-contents,
  #planets-text2 .other-contents {
    background-color: rgba(0, 0, 0, 0.5);
    max-width: 100%;
    min-height: 400px;
    padding-bottom: 0;
  }

  #planets-text1 .title {
    font-size: 32px;
    margin: 0 auto;
    margin-top: 56px;
    white-space: nowrap;
  }

  #planets-text1 .various-text,
  #planets-text2 .other-text {
    margin-top: 80px;
    width: 100%;
    height: 160px;
    border-radius: 0;
  }

  #planets-text1 .various-text::after,
  #planets-text2 .other-text::after {
    display: none;
  }

  #planets-text1 .design-circle,
  #planets-text2 .design-circle {
    display: none;
  }

  .planets-list,
  .planets-list2 {
    display: flex;
    flex-direction: column;
  }

  .planets-list li,
  .planets-list2 li {
    margin-left: 0px;
    margin-top: 32px;
    text-align: center;
  }

  .planets-list p,
  .planets-list2 p {
    letter-spacing: 0.05em;
    text-align: center;
  }

  .planets-list img,
  .planets-list2 img {
    width: 50%;
  }

  #planets-text2 {
    display: flex;
    flex-direction: column;
  }

  #planets-text2 .contents {
    min-height: 160px;
    margin-top: 32px;
  }

  #planets-text2 .mv-text {
    font-size: 16px;
    padding-top: 5%;
  }

  /* 4ページ目 */

  .wrapper h2 {
    font-size: 48px;
  }

  .title-text {
    padding: 240px 60px 80px;
  }

  .wrapper form {
    border-radius: 0;
    padding-top: 8px;
  }

  .wrapper form p {
    padding-top: 40px;
    padding-left: 0;
  }

  .wpcf7 .frame1 span {
  margin-top: -4rem;
}
}
