@charset "utf-8";

body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  margin: 0;
  color: #453a32;
  background: url("../image/common/background.png") no-repeat center/cover;
}

ul {
  list-style: none;
  color: inherit;
}

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

.nav-hover{
  background-image: linear-gradient(#000, #000);
  background-repeat: no-repeat;
  background-position: bottom right; /* 下線の初期位置 */
  background-size: 0 1px; /* 下線のサイズ（横幅、高さ） */
  transition: background-size 0.3s;
}

.nav-hover:hover {
    background-position: bottom left; /* 下線のホバー時位置 */
  background-size: 100% 1px; /* 下線の横幅を100%にする */
}


/* 画像設定 */
.logo {
  width: 200px;
}

.icon {
  width: 45px;
}

img {
  max-width: 100%;
}

h2 {
  font-size: 2.5em;
  font-weight: bold;
  padding-left: 150px;
  padding-top: 150px;
  padding-bottom: 80px;
  width: 100%;
  position: relative;
}

h2::before {
  position: absolute;
  color: #bdbe9fa8;
  font-family: "Sacramento", cursive;
  font-size: 80px;
  content: 'mokurie';
  line-height: 1px;
  transform: skew(0, -10deg); 
  z-index: -1;
}

.works h2::before {
  content: 'contact';
}

.hero {
  background: url(../image/contact/CONTACT.png) no-repeat left bottom / cover;
  height: 100vh;
  position: relative;
  color: #453a32;
}

.hero-txt h3 {
    position: absolute;
    left: 45%;
    top: 400px;
    font-size: 3em;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 5px;
    z-index: 1;
  }

  .hero-txt p {
    position: absolute;
    left: 47.5%;
    top: 500px;
    font-size: 1.5em;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 2px;
    z-index: 1;
  }

.nav {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
  width: 98%;
  position: fixed;
  z-index: 2;
}

.nav ul {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  line-height: 2;
}

.nav ul li a {
  font-weight: 700;
  font-size: 1.5em;
}

.nav-btn {
  background-color: #75695b;
  color: white;
  border-radius: 30px;
  width: 170px;
  font-size: 1em;
  height: 50px;
  letter-spacing: 2px;
  font-family: "Zen Maru Gothic", sans-serif;
  text-align: center;
  align-items: center;
  border: 2px solid black;
  line-height: 2;
}

.nav-btn:hover,
.contact-btn:hover {
  background-color: #4c443b;
}

.circle {
  display: flex;
  align-items:center;
  justify-content:center;
  width: 80px;
  height: 80px;
  background-color: beige;
  border-radius: 50%;
}

.circle:hover {
  background-color: rgb(253, 253, 239);
}

.circle-1 {
  display: flex;
  justify-self: flex-end;
  bottom: 150px;
  right: 70px;
  position: fixed;
}

.circle-2{
  display: flex;
  justify-self: flex-end;
  bottom: 50px;
  right: 70px;
  position: fixed;
}

.circle-1 img {
  width: 50px;
}

.circle-2 img {
  width: 60px;
}


.title,
.illust-read {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.title-h2 p {
  padding-left: 150px;
  font-size: 1.5em;
  padding-bottom: 80px;
}

.irasuto {
padding-left: 150px;
margin-top: 150px;
}

.ietokumo {
  width: 400px;
  padding-right: 180px;
  padding-top: 150px;
}

#contact {
  padding: 0 150px;
  font-size: 1.5em;
  padding-bottom: 80px;
}

#contact form {
  width: 700px;
  max-width: 100%;
  /* センターにする↓ */
  /* margin: 0 auto; */
}

#contact label {
  display: inline-block;
  width: 250px;
}

#contact textarea{
  width: calc(100% - 270px);
}
#contact input{
  box-sizing: border-box;
  width: calc(100% - 400px);
}

.flexbox input {
  padding: 15px;
}

.flexbox {
  margin: 0 0 35px;
  display: flex;
  align-items: flex-start;
}

#submit input {
  width: 250px;
  height: 45px;
  font-size: 17px;
  border-radius: 30px;
  font-weight: 500;
  color: #fff;
  align-items: center;
  background-color: #8ea493;
  border: 1px solid black;
  font-family: "Zen Maru Gothic", sans-serif;
  margin-left: 250px;
}

#submit input:hover {
  border: 1px solid black;
  background-color: #8a948b;
}

footer {
  padding: 20px;
  text-align: center;
  max-width: 90%;
}

footer ul li {
  font-weight: 500;
}

.footerbox {
  display: flex;
  justify-content: space-between;
  /* padding: 100px 50px 200px 50px; */
}

.footer-icon img {
  width: 40px;
}

.footer-icon {
  display: flex;
  justify-content: flex-start;
  padding-left: 15px;
  gap: 5px;
}

.footer2 {
  align-content: center;
  font-size: 1em;
  text-align: left;
  line-height: 2.5;
  margin-top: 30px;
  margin-right: 150px;
}

.footer3 {
  align-self: flex-end;
  margin-top: 130px;
}

.footer4 {
  align-self: flex-end;
}


