@charset "utf-8";
@import url(../reset.css);

body {
  overflow-x: hidden;
  text-align: center;
}

/****** header ******/
.spHeader {
  width: 100%;
  position: fixed;
}
.headerFlex {
  background-color: #e5b7bb;
  width: 100%;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  font-family: "Dela Gothic One", sans-serif;
  color: greenyellow;
  font-size: 3em;
}

h2 {
  font-family: "Dela Gothic One", sans-serif;
  color: greenyellow;
  font-size: 2.5em;
  margin: 5% auto 0;
}

/* hamburgermenu */
.hamburger {
  width: 40px;
  height: 25px;
  position: relative;
  z-index: 9999;
}
.hamburger span {
  position: absolute;
  width: 100%;
  height: 5px;
  border-radius: 50px;
  background-color: greenyellow;
  transition: 0.5s; /* 追記 */
}
.hamburger span:first-of-type {
  top: 0;
}
.hamburger span:nth-of-type(2) {
  top: 50%;
}
.hamburger span:last-of-type {
  top: 100%;
}
.menu {
  background-color: greenyellow;
  opacity: 0.9;
  position: fixed;
  top: 65px;
  z-index: 99999;
  width: 100%;
  left: 0;
  transform: translateX(100%);
  transition: 0.5s;
}
.menu li {
  font-size: larger;
  color: #000;
  line-height: 400%;
  text-align: center;
}
.hamburger.active span:first-of-type {
  top: 50%;
  transform: rotate(45deg);
}
.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active span:last-of-type {
  top: 50%;
  transform: rotate(-45deg);
}
.menu.active {
  transform: translateX(0);
}

/* hero */

.heroImage {
  padding-top: 70px;
}

/* main */
/* 共通部分 */

.newsText,
.mediaText {
  width: 80%;
  padding: 2%;
  margin: 0 auto;
  text-align: left;
  border: #e5b7bb solid 5px;
}

.newsText p,
.mediaText p {
  color: greenyellow;
  text-align: right;
}

.newsText a,
.mediaText a {
  color: greenyellow;
  text-align: right;
}

/* お問い合わせと譲渡会の案内 */

.flexBox {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5%;
}

.flexBox a {
  display: block;
  width: 40%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/****** movie ******/

.movieTextBox dl {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

dd iframe {
  width: 100%;
}

/****** menber ******/
.menberImage {
  width: 90%;
}

/* aside */

aside {
  width: 60%;
  margin: 0 auto;
}

footer {
  color: greenyellow;
  background-color: #e5b7bb;
  width: 100%;
  height: 65px;
  margin-top: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}