/*
Theme Name: RYUO ver1.0
Author: Valloon
Description: This is our original theme.
Version: 1.0
*/

.top {
  background-image: url(pier-9550931_1280.png);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

header {
  position: relative;
  position: fixed;
  width: 100%;
}


html {
  scroll-behavior: smooth;
}

.header-picture img {
  border-radius: 50%;
  border: 1px solid black;
  width: 40px;
  height: 40px;
}

.header-picture2 img {
  border-radius: 50%;
  border: 1px solid black;
  width: 40px;
  height: 40px;
}

.header-picture2 {
  position: fixed;
  bottom: 7%;
  right: 10%;
  z-index: 100;
}

.profile {
  height: 100vh;
}

.profile-all {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.profile-all h2 {
  padding-bottom: 40px;
  font-size: 40px;
  font-weight: normal;
}

.profile-all p {
  font-size: 15px;
  font-weight: bold;
}

ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

ul a {
  text-decoration: none;
  color: black;
}

.header-all {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 0;
}


.achievements {
  margin-top: 200px;
  padding: 100px 0;
  background-color: rgba(255, 255, 255, 0.8);

}

.achievements-all {
  justify-content: space-between;
  padding: 0 50px;
  gap: 60px 0;
}


.achievements-all img {
  width: 100%
}

.achievements-inner {
  width: 48%;
}

.achievements-inner p {
  line-height: 25px;
  font-size: 13px;
  font-weight: bold;
  padding: 0 32px 0 0;
  margin-top: 20px;
}

.achievements-inner a {
  text-decoration: none;
  color: black;
}

.achievements-inner img {
  margin-bottom: 10px;
}

.achievements-all {
  display: flex;
  flex-wrap: wrap;
}

footer {
  text-align: center;
  font-size: 10px;
  background-color: white;
  padding: 20px 0;
}


.form {
  padding: 120px 100px 0;
  background-color: rgb(240, 240, 240);
}

.form-picture img,
.form-query img {
  width: 100%;
}

.form-query2 img {
  width: 100%;
}

.form-query2 {
  padding-bottom: 40px;
}


.form-explain {
  font-size: 11px;
  padding: 0 0 8px 10px;
  font-weight: bold;
  letter-spacing: .1em;
}

.form-top {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: .1em;
}

.form-text {
  padding: 70px 0;
  font-size: 13px;
}

.form-picture {
  border-bottom: 1px solid black;
  padding-bottom: 40px;
}

.form-query {
  padding: 40px 0 80px;
}

.contact-box {
  display: flex;
  margin-bottom: 30px;
  justify-content: space-between;
}

.contact-box p {
  width: 14%;
  text-align: left;
}

.contact-q {
  width: 85%;
  padding-left: 5px;
}

.contact-q input {
  width: 100%;
  height: 45px;
  border: 1px solid lightgray;
	box-sizing:border-box;
}

.contact-q textarea {
  width: 100%;
  height: 180px;
  border: 1px solid lightgray;
	box-sizing:border-box;
	
}

.button-top input {
  height: 50px;
  width: 200px;
  background-color: #24292e;
  color: white;
}

.button-top {
  text-align: center;
  margin: 20px 0 80px;
}

.button-top input:hover {
  background-color: white;
  color: black;
}

.contact,
.about {
  padding: 0 80px;
}

.contact-title {
  padding-top: 100px;
  font-size: 2.5vw;
  font-weight: bold;
  letter-spacing: .1em;
}

.about-name {
  padding-top: 100px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: .3em;
}

.about-name2 {
  padding-top: 10px;
  font-size: 2.5vw;
  font-weight: bold;
  letter-spacing: .1em;
}

.about-text {
  max-width: 100%;
  height: auto;
}

.about-all {
  max-width: 925px;
  margin: 0 auto;
}

.contact-p {
  font-size: 14px;
  padding: 20px 0 80px;
}

.contact-f p {
  text-align: right;
  font-size:min(1.5vw,16px);
}


.contact-box {
  align-items: center;
}

.contact-top {
  max-width: 1000px;
  margin: 0 auto;
}

.top2 {
  background-color: rgb(240, 240, 240);
}

.about {
  background-color: rgb(240, 240, 240);
}

.about-text img {
  width: 90%;
  height: 450px;
  object-fit: cover;
}

.about-profile {
  display: flex;
  padding: 80px 0;
  justify-content: space-between;
}

.si {
  width: 47%;
}

.si p {
  padding-top: 30px;
  font-size: 14px;
  line-height: 23px;
}

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

  .achievements-inner {
    width: 100%;
    padding-bottom: 80px;
  }

  .achievements-inner p {
    padding: 20px 0 0 20px;
  }

  .achievements {
    padding: 100px 0 0;
  }

  .form {
    padding: 120px 30px 0;
  }

  .form-text {
    padding: 30px 0;
  }

  .about-profile {
    display: block;
    
  }

  .about-text img {
    width: 100%;
  }

  .about-name {
    /* font-size: 21px; */
    font-size: 3.5vw;
  }

  .about-name2 {
    font-size: 4.5vw;
  }

  .si {
    width: 100%;
    /* text-align: center; */
  }

  .about {
    padding: 0 30px;
  }

  .contact-box {
    display: block;
  }

  .contact-q {
    padding-top: 10px;
    width: 100%;
	  padding-left:0;
  }

  .contact {
    padding: 0 30px;
  }

  .contact-title {
    font-size: 4.0vw;
  }

  .contact-box p {
    text-align: left;
    font-size: 13px;
    width: 100%;
  }

}
.thanks-title {
	margin:50px 0 50px;
}
.thanks-text {
	line-height:2;
	margin-bottom:80px;
}

.bg {
	display:none;
}

@media screen and (max-width:768px) {
	.bg {
	display:block;
		position:fixed;
		z-index:-1;
		width:100%;
		height:100%;
}
	.bg img {
		width:100%;
		height:100%;
		object-fit:cover;
		object-position:center;
	}
}

.error {
	font-size:14px;
	display:block;
	color:red !important;
	margin-top:10px;
}