@charset "UTF-8";
html {
  font-size: 100%;
  color: #505151;
  line-height: 1.7; /* line-heightは1.5〜1.9 */
}
body {
  background-color: #f3eee8;
}
img {
  width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #505151;
}

.omoji {
  text-transform: uppercase;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.richbeige-back {
  background-color: #e3dacd;
}
.lightbeige-back {
  background-color: #f3eee8;
}
.yellow-back {
  background-color: #ffe699;
}
.half-circle {
  width: 100%;
  height: 600px;
  border-radius: 9999px 9999px 0 0;
}

/* Google fonts */

.lexend-deca {
  font-family: 'Lexend Deca', sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}
/* // <weight>: Use a value from 100 to 900 */
.kaisei-decol-regular {
  font-family: 'Kaisei Decol', serif;
  font-weight: 400;
  font-style: normal;
}
.kaisei-decol-medium {
  font-family: 'Kaisei Decol', serif;
  font-weight: 500;
  font-style: normal;
}
.kaisei-decol-bold {
  font-family: 'Kaisei Decol', serif;
  font-weight: 700;
  font-style: normal;
}

.cormorant-upright-light {
  font-family: 'Cormorant Upright', serif;
  font-weight: 300;
  font-style: normal;
}

.cormorant-upright-regular {
  font-family: 'Cormorant Upright', serif;
  font-weight: 400;
  font-style: normal;
}

.cormorant-upright-semibold {
  font-family: 'Cormorant Upright', serif;
  font-weight: 600;
  font-style: normal;
}
.label {
  display: flex;
  justify-content: center;
  height: 4rem;
  border-radius: 15px 15px 0 0;
}
.label-name {
  font-size: 1.3rem;
  text-align: center;
  border-radius: 80px;
  transform: translateY(-40%);
  padding: 1rem 4rem;
}

/* ローディング画面 */
#loading {
  width: 100vw;
  height: 100vh;
  background-color: #f3eee8;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-foodbowl {
  width: 500px;
  height: 500px;
  background-image: url(../images/loading-pinkfoodbowl.png);
  background-size: 2500px 500px;
  animation: loading 4s steps(5);
  animation-fill-mode: forwards;
}
@keyframes loading {
  to {
    background-position-x: -2500px;
  }
}
#home {
  display: none;
}
@media (max-width: 600px) {
  .loading-foodbowl {
    width: 300px;
    height: 300px;
    background-size: 1500px 300px;
  }
  @keyframes loading {
    to {
      background-position-x: -1500px;
    }
  }
}

/* 柴犬無限ループ */
.loop-container {
  display: flex;
  overflow: hidden;
  margin-top: 2rem;
}
.loop-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  list-style: none;
}
.left-loop {
  animation: loopAnimation-L 35s linear infinite;
  padding: 2rem 0 3rem;
}
.right-loop {
  animation: loopAnimation-R 35s linear infinite;
  padding: 3rem 0 5rem;
}
.loop-item {
  width: 200px;
  height: auto;
  text-align: center;
}
.loop-item img {
  max-width: 80px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@keyframes loopAnimation-L {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes loopAnimation-R {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}
@media (max-width: 700px) {
  .loop-item {
    width: 100px;
  }
  .loop-item img {
    width: 50px;
    height: auto;
  }
}

/* ヘッダーエリア */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 10000;
}
.toppest-nav {
  padding: 1rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  background-color: #e3dacd;
}
.toppest-nav img {
  width: 100%;
  max-width: 80px;
  height: auto;
  object-fit: contain;
}
.nav {
  display: flex;
  gap: 2rem;
}
.nav a {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
}
/* -------------トップ画像------------- */
.top-view {
  padding-top: 90px;
}
.title {
  font-size: clamp(3rem, 10.7vw, 8rem);
  color: #f65422;
  text-align: center;
  line-height: 1;
}
/* -------------Works------------- */
.works-title {
  color: #e3dacd;
  background-color: #505151;
  border-radius: 20px;
  display: inline-block;
  padding: 5px 10px;
}
.works-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem 2rem;
}
.works-box:last-of-type {
  padding-bottom: 5rem;
}
.works-text {
  width: 40%;
}
.siltas img {
  max-width: 400px;
}
.siltas a:hover {
  opacity: 0.7;
}
.lavande-hp img {
  max-width: 400px;
}
.lavande-hp a:hover {
  opacity: 0.7;
}

.compe-imgbox {
  display: flex;
  gap: 20px;
}
.compe-imgbox img {
  max-width: 200px;
}
.pos-imgbox {
  display: flex;
  gap: 10px;
}
.posters img {
  max-width: 160px;
}
@media (max-width: 900px) {
  .posters {
    display: flex;
    flex-direction: column;
  }
  .works-text:last-of-type {
    width: 80%;
  }
}
@media (max-width: 800px) {
  .compe-imgbox {
    display: flex;
    flex-direction: column;
  }
  .works-box p {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .works-box {
    flex-direction: column;
  }
  .works-text {
    width: 80%;
  }
  .down-top {
    flex-direction: column-reverse;
  }
  .posters {
    display: flex;
    flex-direction: column;
  }
  .pos-imgbox {
    flex-direction: column;
  }
}
/* -------------skills------------- */
.skills-container {
  padding-bottom: 5rem;
  margin: 1rem 2rem 5rem;
}

.icon {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.icon img {
  width: 100%;
  max-width: 50px;
  margin: 5px;
}
@media (max-width: 600px) {
  .skills-container p {
    font-size: 12px;
  }
}
/* -------------About me------------- */
.pic-rotate {
  position: relative;
}
.sentence-pic {
  height: auto;
  width: 100%;
  max-width: 550px;
  animation: rotate 30s linear infinite;
}
.myphoto {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  max-width: 350px;
  height: auto;
  padding: 2rem;
  border-radius: 50%;
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.aboutme {
  padding: 2rem 2rem 7rem;
  gap: 20px;
}
.intro {
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 50%;
  gap: 1rem;
}

@media (max-width: 900px) {
  .max900 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .myphoto {
    max-width: 260px;
    top: 48%;
  }
  .intro {
    max-width: 90%;
  }
  .sentence-pic {
    max-width: 350px;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .aboutme p:last-of-type {
    font-size: 14px;
  }
}

/* ページトップへボタン */
.page-top {
  position: fixed;
  right: 10%;
  bottom: 70px;
}
.page-top img {
  max-width: 100px;
}

/* -------------コピーライト------------- */
.copyright {
  text-align: center;
  padding: 1.2rem;
}
