@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* cursor: none; */
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100vh;
}


body {
  font-size:14px;
  /* font-family: 'M PLUS 1p','Noto Sans JP', sans-serif, Arial; */
  margin-block-end:-5px;
  margin-bottom:-5px;  
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #000;
  color: #fff;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
}


p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style: none;
}

/* header=========================== */

#header h1 {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  margin-bottom: 30px;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 100;
}
#header img{
 position:absolute;
 top:0;
 left: 5%;
 padding-top: 10px;
 padding-bottom: 10px;
 height: 130px;
}

@media screen and (max-width: 960px){
  #header h1 {
    position: relative;
    top: 0;
    width: 100%;
    height: 100px;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: rgba(0, 0, 0);
  }
  #header img{
   position:absolute;
   top:80%;
   transform: translate(-50%, -50%);
   left: 50%;
   padding-top: 0;
   padding-bottom: 10px;
   height: 130px;
  }
}


/* contents=========================================== */
.container {
  padding: 30px;
  padding-bottom: 80px;
  border: solid 1px #fff;
  /* border-radius: 10px; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 600px;
  max-width: 90%;
 margin: 130px auto 0;
 position: relative;
}

@media screen and (max-width: 960px) {
  .container {
    margin: 40px auto 0;
    width: 400px;
  }
}

.title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 20px;
}

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

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 0.8rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: calc(100% - 12px);
  padding: 10px;
  border: 1px solid #f2f2f2;
  /* border-radius:  4px; */
  box-sizing: border-box;
  font-size: 0.8rem;
}

textarea {
  resize: vertical;
}

.submit-button {
  display: block;
  margin: 0 auto;
  padding: 10px 0;
  border: none;
  /* border-radius: 4px; */
  font-size: 0.8rem;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  width: 50%;
  position: absolute;
  bottom: 6%;
  right: 0;
  left:0;
}

.submit-button:hover {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: solid #fff 0.7px;
}

/* thanks page========================================= */

.thanks_ms {
  margin-top: 120px;
  margin-bottom: 40px;
  text-align: center;
}
.thanks_ms .title{
  margin-top: 80px;
  margin-bottom: 60px;
  text-align: center;
}

.thanks_ms .returntop {
  margin-top: 60px;
}

@media screen and (max-width: 960px) {
  .thanks_ms {
    font-size: 0.8rem;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
  }
  .thanks_ms .title{
    font-size: 1rem;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .thanks_ms .returntop {
    margin-top: 60px;
  }
}

/* 戻る================================================= */

.return {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.return .link {
  display: flex;
  margin: 60px auto 40px;
}

.return img{
  width: 15px;
  height: auto;
  margin-right: 8px;
}

.return .text {
  font-size: 0.8rem;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  line-height: 0.8rem;
  font-weight: bold;
}



/* footer============================================ */

#footer {
  margin-top:  auto;
  padding-bottom: 40px;
}

#footer ul {
  display: flex;
  justify-content: center;
  vertical-align: middle;
}
#footer li {
 padding: 0 10px;
 margin: 0;
}
#footer li:nth-child(4){
margin-top: 8px;
margin-bottom: 8px;
}

#footer .logo {
  width: 70px;
  height: auto;
}
#footer .x {
  width: 30px;
  height: auto;
}
#footer .insta {
  width: 30px;
  height: auto;
}
#footer .note {
  width: 50px;
  height: auto;
}

@media screen and (max-width: 960px) {
#footer {
  margin-top:  80px;
 padding-bottom: 20px;
}
}

