@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
}
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
/* 基本設定 */
body {
  margin: 0;
  font-family: "Noto Sans JP", "M PLUS Roundes 1c", "Cinzel", sans-serif;
  line-height: 1.6;
  color: #333;
}
.workspage1 {background-color: #e5decd;}
.workspage2 {background-color: #fdf3f5;}
.workspage3 {background-color: #e8f2fc;}
.workspage4 {background-color: #f9ebe9;}

.main {
  padding: 10px 0 0 0;
}

a {
  text-decoration: none;
}

h3 {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  font-size: small;
  padding-left: 40px;
}
img {width: 100%;}

section {padding: 20px 10px;}

/*　ヘッダー*/
.header__inner {
  padding: 0 20px;
  display: flex;
  justify-content: space-between; /* ロゴ左、nav右 */
  align-items: center; /* 高さを中央に揃える */
  height: inherit;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto; /* 横幅は自動で調整（比率を保つ） */
}

.header__hamburger {
  display: none;
}
@media (max-width: 768px) {
  .header__hamburger {
    display: block;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
  }
  .hamburger span {
    position: absolute;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #333;
    transition: all 0.4s ease; 
  }
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 10px;
  }
  .hamburger span:nth-child(3) {
    top: 20px;
  }
  .hamburger__nav.active {
    transform: translateX(0);
  }
  .hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    background-color: #fff;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    background-color: #fff;
  }
}

.main-nav {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}
.main-nav a {
   color: #fff;
  font-family: "Noto Sans JP", sans-serif; 
}
.main-nav {
  display: flex;           /* 横並び */
  gap: 36px;               /* li同士の隙間 */
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end; /* 右寄せにする */
  flex: 1; /* ロゴとのスペースを確保する */
}

.main-nav li a {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  color: #333;
  font-weight: 300;
  transition: color 0.3s ease;
}
.main-nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #000;
  transition: all 0.3s ease;
}
.main-nav li a:hover {
   color:#000;
}
.main-nav li a:hover::after {
  width: 100%;
}


@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .main-nav.active{
    display: flex;
    flex-direction: column;
    background: rgba( 0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease;
    z-index: 1000;
  }
  .main-nav li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }
  .main-nav li.show {
    opacity: 1;
    transform: translateY(0);
  }
  .main-nav li a {
    color: #fff;
    font-weight: 500;
    font-size: 2rem;
    margin: 10px 0;
    transition: all 0.3s ease;
  } 
  .main-nav li a:hover {
    color: #ddd;
    transform: scale(1.05);
  }
    .main-nav li a::after {
    display: none;
  }
}
/*works-page*/
.title {
  padding-left: 40px;
  position:relative;
  font-family: "Cinzel", sans-serif;
  font-weight: 400;
  font-size: 2rem;
}
.title:before {
  position: absolute;
  content: "";
  width: 15px;
  height: 15px;
  display: inline-block;
  border: 8px solid transparent;
  box-sizing: border-box;
  border-left-color: #333;
  top: 1rem;
  left: 20px;
}
.works-page__description {
  display: flex;
  justify-content: center;
}
.description {
  padding: 0 2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 300;
  line-height: 2rem;
}
.info-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 20px;
}

.box {
  display: flex;
  gap: 2rem;
  color: #333;
  padding: 1rem 5%;
  text-align: left;
  border-top: 1px solid #ccc;
}

.label {
  width: 100px;
  flex-shrink: 0;
}

.contents {
  flex: 1;
}

.contents {
 font-weight: 400;
}

.contents li {
   font-weight: 400;
}

.contents_skilist {
  display: flex;
}

.contents_skill {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  margin: 6px 6px 0 0;
  font-size: 0.85rem;
}

.mockups img {
   box-shadow: 4px 4px 8px #ccc ;
}

@media (max-width: 768px) {
  .box {
    display: flex;
    flex-direction: column;
    gap: 0;
}
}

.mockups {
  display: flex;
  justify-content: center; 
  align-items: flex-start;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
}

.mockups img {
  width: 30%;
  height: auto;
}

@media (max-width: 768px) {
  .mockups {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mockups img {
    width: 80%;
  }
}

.portfolio {padding: 1rem 2rem;}
.portfolio__inner {
  background-color: #d2aab2;
  border-radius: 20px;
  padding: 100px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.btn {
  display: inline-block;
  background-color: #9b6a76;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 300;
  font-size: 0.95rem;
  margin: 30px 0;
  box-shadow: 2px 2px 4px -2px #333;
  transition: all 0.4s ease;
}
.btn:hover {
  background-color: #7c4f59;
  box-shadow: none;
}

/* portfolio-process */
.portfolio-process .title {padding-top: 20px;}
.portfolio-process .title:before {display: none;}
.portfolio-process span {
  display: block;
  width: 4rem;
  height: 1px;
  background-color: #9b6a76;
  margin: 1rem 2rem;
}
.portfolio-process p {
  padding: 0 2rem;
}

.portfolio-process__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin: 20px 2rem;
}
.portfolio-process__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
}
.portfolio-process__item:hover img{
  transform: scale(0.95);
  opacity: 0.8;
}

/* manual-movie*/
.manual-movie__wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.manual-movie__video {
  width: 100%;
  border-radius: 12px;
}

/* Contact */
.contact {
  background: #f5f5f5 url(../images/contact-bg.png) no-repeat;
  text-align: center;
  padding: 2rem;
}
.contact-title {
  font-family: "Cinzel", sans-serif;
  font-weight: 500;
  font-size: 2.5rem;
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: nowrap;
  color: #333;
  padding: 2rem;
}

.contact-info p {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  padding-top: 1rem;
}

.contact-info img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: block;
}

.line {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.mail {
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .line {
    width: 40%;
  }
   .mail {
    width: 40%;
  }
  .contact-info p {
    font-size: small;
  }
}
.line {transition: filter 0.3s ease;}
.line:hover {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(7500%) hue-rotate(285deg) brightness(102%) contrast(107%);
  transition: filter 0.3s ease;
}
.mail {transition: filter 0.3s ease;}
.mail:hover {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(7500%) hue-rotate(285deg) brightness(102%) contrast(107%);
  transition: filter 0.3s ease;
}

.contact-note {
  font-size: 1.1rem;
  color: #333;
  font-weight: 400;
}

/* フッター */
.footer {
  background: #b3b3b3;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 10px 20px;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-nav a {
  color: #fff;
  transition: all 0.3s ease;
}
.footer-nav a:hover {color: #333;}
.footer-logo {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}
.footer-logo:hover {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(7500%) hue-rotate(285deg) brightness(102%) contrast(107%);
  transition: filter 0.3s ease;
}

.copy {
  text-align: center;
  padding-top: 2rem;
  color: #fff;
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}
