body,html {
  position: static;
  font-family: 'Noto Sans JP', sans-serif;
  background-image: url(img/backgraund.jpg);
  scroll-behavior: smooth;
}

html:not(.is-loaded) body {
  opacity: 0;
}

html.is-loaded body {
  opacity: 1;
  transition: opacity 3s ease;
}

/* ヘッダー */

header {
  width: 90%;
  margin: 0 auto;
  padding: 0 5%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
background-color: rgb(255, 255, 255,0.4);
}

header a {
  color: #000;
  letter-spacing: 0.3em;
  line-height: 1.8;
}

a:hover {
  color: gray;
}

.header-top {
  font-style: italic;
  font-size: 32px;
}

.header-menu {
  width: 30%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
}

/* ヘッダー終わり */

/* スタイル */

h1 {
  font-weight: bold;
  font-size: 250px;
  opacity: 0.1;
  margin: 50px 3%;
}

/* aboutセクション */

main {
  margin: 0 auto;
}

#about {
  width: 80%;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.about-box {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1%;
  background-color: rgb(255, 255, 255,0.4);
  margin: 0 auto;
  padding: 5% 0;
}

.icon {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#profile-img {
  filter: grayscale(100%);
  width: 100%;
}

h2 {
  font-size: 24px;
  margin: 5%;
  letter-spacing: 0.3em;
  font-weight: normal;
}

.about-box p {
  width: 100%;
  margin: 0 3%;
  line-height: 2;
  letter-spacing: 0.2em;
  color: gray;
}

.technique {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: rgb(255, 255, 255,0.4);
  margin: 10% auto 0 auto;
  padding: 5% auto;
}

.technique-top {
  display: flex;
  justify-content: center;
  width: 95%;
  margin: 3% auto;
}

.technique-bottom {
  display: flex;
  justify-content: center;
  width: 95%;
  margin: 3% auto 5% auto;
}

.technique-box {
  display: flex;
  align-items: center;
  width: 30%;
  margin: 0 3px;
}

.technique-box img {
  width: 30%;
  margin-right: 5%;
}

.technique-box p {
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.3em;
  color: gray;
}

/* コンタクトセクション */

.contact {
  width: 60%;
  margin: 0 auto;
}

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

.contact-message {
  writing-mode: vertical-rl;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  font-family: 'Noto serif JP' ,serif;
  font-size: 16px;
  line-height: 3;
}

#noun {
  background-color: rgb(255, 255, 255,0.4);
  width: 50%;
  height: 80%;
}

#noun p {
  width: 80%;
  margin: 70px auto 20px auto;
  font-style: italic;
}

.noun-box {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background-color: #fff;
  margin: 0 auto 90px auto;
  width: 80%;
}

#noun img {
  width: 24px;
  padding: 8px;
}

.noun-box a {
  color: gray;
}

.noun-box a:hover {
  color: #000;
}

.copyright {
  margin: 90px auto 30px auto;
  text-align: center;
}

/* レスポンシブ */

@media screen and (max-width: 768px) {

/* ヘッダー */

.header-top {
  font-size: 20px;
}

.header-menu {
  width: 50%;
  font-size: 12px;
}

/* スタイル */

h1 {
  font-size: 150px;
  margin: 6% 0 0 3%;
}

/* aboutセクション */

#about {
  width: 90%;
  margin: 0 auto;
}

.about-box {
  display: block;
  margin-top: 10%;
}

#profile-img {
  filter: grayscale(100%);
  width: 70%;
}

h2 {
  font-size: 20px;
  margin: 5% auto;
}

.about-box p {
  width: 80%;
  margin: 0 auto;
}

.technique-top {
  display: block;
  width: 80%;
  margin: 3% auto 0 auto;
}

.technique-bottom {
  display: block;
  width: 80%;
  margin: 0 auto 5% auto;
}

.technique-box {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 5% 0;
}

.technique-box img {
  width: 20%;
}

.technique-box p {
  width: 70%;
}


/* コンタクトセクション */

.contact {
  width: 90%;
}

.contact-box {
  display: flex;
  flex-direction: column;
}

.contact-message {
  order: 1;
  writing-mode: horizontal-tb;
  margin: 20px auto 20px auto;
}

#noun {
  width: 80%;
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 18px;
  order: 2;
}

}