/* 共通 */
html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #2c2c2c;
  line-height: 1.6;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

label {
  font-size: 14px;
  color: #2c2c2c;
}

.btn {
  width: 250px;
  height: 50px;
  color: #D4849A;
  padding: 10px 24px;
  margin: 0 auto;
  font-size: 14px;
  border: 1px solid #D4849A;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  line-height: 30px;
}

.btn:hover {
  color: #fff;
  background-color: #D4849A;
}

.fadeIn {
  opacity: 0;
  transition: 2s;
}

.fadeIn.is-show {
  opacity: 1;
}

/* Header */
.header {
  width: 100%;
  padding: 0 60px;
  background-color: #fff;
  position: fixed;
  top: 0;
  z-index: 100;

  @media screen and (max-width: 768px) {
    padding: 0 10px;
  }
}

.header-inner {
  padding: 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media screen and (max-width: 768px) {
    padding: 10px 0;
  }
}

.logo {
  height: auto;
  width: 200px;

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

.header-nav {
  width: 320px;
  height: 36px;
  display: flex;
  gap: 40px;
  align-items: center;

  @media screen and (max-width: 768px) {
    width: 80%;
    height: 100vh;
    background-color: #FBFAF5;
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 20;
    transition: all 0.6s;
  }
}

.header-nav.active {
  @media screen and (max-width: 768px) {
    right: 0;
  }
}

.header-nav a {
  position: relative;
  font-size: 14px;
  font-family: 'Playfair Display', serif;
  color: #2c2c2c;

  @media screen and (max-width: 768px) {
    font-size: 20px;
  }
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #2c2c2c;
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.header-list {
  display: flex;


  @media screen and (max-width: 768px) {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 60px 60px;
    overflow: auto;
  }
}

.header-item {
  margin-left: 36px;

  @media screen and (max-width: 768px) {
    padding: 10px 0;
    margin-left: 0;
  }
}

.humberger {
  @media screen and (max-width: 768px) {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 30;
  }
}

.humberger span {
  @media screen and (max-width: 768px) {
    width: 30px;
    height: 1px;
    background-color: #2c2c2c;
    display: inline-block;
    position: absolute;
    left: 10px;
    transform: all 0.4s;
  }
}

.humberger span:nth-of-type(1) {
  top: 16px;
}

.humberger span:nth-of-type(2) {
  top: 24px;
}

.humberger span:nth-of-type(3) {
  top: 32px;
}

.humberger.active span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 24px;
}

.humberger.active span:nth-of-type(2) {
  opacity: 0;
}

.humberger.active span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 24px;
}

.back {

  @media screen and (max-width: 768px) {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #2c2c2c;
    opacity: 0.5;
    transition: all 0.6s;
    z-index: 10;
    cursor: pointer;
    transform: translateX(100%);
  }
}

.back.active {
  @media screen and (max-width: 768px) {
    display: block;
    transform: translateX(0);
  }
}

/* Hero */
.hero {
  height: 800px;
  background: url('https://www.monaforio.com/wp-content/uploads/2026/07/mv.png') no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;

  @media screen and (max-width: 768px) {
    height: 540px;
  }
}

.hero-title {
  font-size: 72px;
  font-weight: bold;
  font-family: 'Playfair Display', serif;

  @media screen and (max-width: 768px) {
    font-size: 36px;
  }
}

.hero-text {
  font-size: 20px;
  font-family: 'Playfair Display', serif;

  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

/* section */
#works,
#about {
  background-color: #FBFAF5;
}

#skills,
#contact {
  background-color: #F2DFDF;
}

.section-box {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 60px 20px;

  @media screen and (max-width: 768px) {
    padding: 40px 10px;
  }
}

.title-box {
  text-align: center;
  padding-bottom: 40px;
}

.title-en {
  font-size: 36px;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  letter-spacing: 0.3em;
  line-height: 1.2;
  text-align: center;

  @media screen and (max-width: 768px) {
    font-size: 24px;
  }
}

.title-jp {
  font-size: 16px;
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.2em;

  @media screen and (max-width: 768px) {
    font-size: 12px;
    margin-top: 5px;
  }
}

/* Works */
.works-list {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 80px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    width: auto;
    gap: 20px;
    padding-bottom: 40px;
    align-items: center;
  }
}

.work-item {
  width: 32%;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;

  @media screen and (max-width: 768px) {
    width: 80%;
  }
}

.work-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.3s ease;
}

.work-item a {
  display: block;
}

.works-overlay {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.work-item:hover .works-overlay {
  opacity: 1;
}

.category {
  font-size: 14px;
  font-family: 'Playfair Display', serif;
  color: #2c2c2c;
  letter-spacing: 0.1em;
  text-align: center;
}

.category a {
  color: #2c2c2c;
  text-decoration: none;
}

/* Skills */
.skills-category {
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: normal;
  letter-spacing: 0.1em;
  line-height: 1.0;
  margin-bottom: 20px;
  border-left: 15px solid #FBFAF5;
  padding-left: 15px;

  @media screen and (max-width: 768px) {
    font-size: 20px;
    margin: 0 20px 20px;
  }
}

.skills-list {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 80px;

  @media screen and (max-width: 768px) {
    gap: 10px;
    margin: 0 10px;
  }
}

.skill-item {
  width: 160px;
  height: 160px;
  background-color: #fff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  gap: 14px;

  @media screen and (max-width: 768px) {
    width: 120px;
    height: 120px;
    font-size: 14px;
    gap: 10px;
  }

}

.skill-item div {
  width: 25%;
}

/* about */
.about-inner {
  max-width: 1160px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  justify-content: center;
  gap: 72px;
  padding: 0 60px;

  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
    padding: 30px;
  }
}

.about-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 280px;
  background-color: #F5E9ED;
  border-radius: 50%;
  box-shadow: 0px 8px 40px rgba(212, 132, 154, 0.25);

  @media screen and (max-width: 768px) {
    margin: 0 auto;
    margin-bottom: 40px;
  }
}

.about-img img {
  width: 250px;
  height: 250px;
  object-fit: cover;

  @media screen and (max-width: 768px) {
    width: 200px;
    height: 200px;
  }
}

.about-text {
  color: #6b6b6b;
  font-size: 16px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  letter-spacing: 0.05em;

  @media screen and (max-width: 768px) {
    margin-bottom: 10px;
  }
}

/* contact */
.contact-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;

  @media screen and (max-width: 768px) {
    padding: 40px 10px;
  }
}

.contact-text {
  color: #6b6b6b;
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.wpcf7-form {
  max-width: 800px;
  margin: 0 auto;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 12px;
  color: #2c2c2c;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select,
.wpcf7-form .wpcf7-form-control {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px !important;
  margin-top: 8px;
  padding: 12px 14px !important;
  border: 1px solid #ccc !important;
  background: #fff !important;
  color: #2c2c2c !important;
  box-sizing: border-box;
}

.wpcf7-form textarea {
  min-height: 140px !important;
}

.wpcf7-form .wpcf7-submit {
  display: inline-block !important;
  width: 250px !important;
  padding: 12px 30px !important;
  border: 1px solid #D4849A !important;
  background-color: transparent !important;
  color: #D4849A !important;
  cursor: pointer !important;
}

.wpcf7-form .wpcf7-submit.btn {
  display: block !important;
  width: 250px !important;
  height: 50px !important;
  padding: 10px 24px !important;
  margin: 0 auto !important;
  font-size: 14px !important;
  border: 1px solid #D4849A !important;
  transition: background-color 0.3s ease !important;
  text-align: center !important;
  line-height: 30px !important;
}

.wpcf7-form .wpcf7-submit.btn:hover,
.btn:hover {
  color: #fff !important;
  background-color: #c66366 !important;
}

.page-content {
  @media screen and (max-width: 768px) {
    padding: 0 20px;
  }
}

/* footer */
.footer {
  width: 100%;
  background-color: #462E2E;
  color: #fff;
  padding: 60px 20px;
  font-size: 12px;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

.footer-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: medium;
  gap: 20px;
  margin: 10px 0;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

/* 作成一覧ページ */
.work-category {
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: normal;
  letter-spacing: 0.1em;
  line-height: 1.0;
  margin-bottom: 30px;
  border-left: 15px solid #F2DFDF;
  padding-left: 15px;

  @media screen and (max-width: 768px) {
    font-size: 20px;
    margin: 0 20px 20px;
  }
}

.category-list {
  margin-bottom: 60px;

  @media screen and (max-width: 768px) {
    margin: 0 20px 60px;
  }
}

.category-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

.category-content {
  position: relative;
  width: 32%;
  height: auto;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.category-content:hover .category-mask {
  opacity: 1;
}

.category-content .category-caption {
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  text-align: center;
  padding-top: 80px;
  color: #2c2c2c;
}

.category-content .category-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: rgba(255,
      255,
      255,
      0.5);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.category-img {
  width: 100%;
  height: auto;
}

.category-img img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.category-title {
  font-family: 'Playfair Display', serif;
  margin-top: 10px;
  width: auto;
  height: 50px;
  font-size: 16px;
  text-align: center;
}

/* 作成詳細ページ */
.work-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 60px;

  @media screen and (max-width: 768px) {
    padding: 40px 10px;
  }
}

.work-img {
  margin-bottom: 80px;
}

.work-img img {
  width: 100%;
}

.work-screenshots {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  margin: 40px 0 80px;
  justify-items: center;
}

.work-screenshots.center {
  grid-template-columns: 1fr;
}

.work-screenshots-item {
  overflow: hidden;
  text-align: center;
}

.work-screenshots-item img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .work-screenshots {
    grid-template-columns: 1fr;
    margin-bottom: 80px;
  }
}

dl.work-info {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  margin-bottom: 20px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }
}

dt.work-label {
  display: block;
  width: 25%;
  color: #6b6b6b;
  font-weight: 100;
  font-size: 16px;
  font-family: 'Playfair Display', serif;

  @media screen and (max-width: 768px) {
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 1px solid #6b6b6b;
  }
}

dd.work-text {
  display: block;
  width: 75%;
  color: #2c2c2c;
  font-size: 16px;
  margin-bottom: 20px;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

dd.work-text a {
  color: #2c2c2c;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

dd.work-text a:hover,
dd.work-text a:focus-visible {
  opacity: 0.7;
}

.work-title {
  font-size: 24px;
  font-family: 'Playfair Display', serif;
  font-weight: normal;
  letter-spacing: 0.1em;
  line-height: 1.0;
  margin-bottom: 20px;
  border-left: 15px solid #F2DFDF;
  padding-left: 15px;

  @media screen and (max-width: 768px) {
    font-size: 20px;
    margin: 0 20px 20px;
  }
}

.worktitle-en {
  position: relative;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 1em;

  @media screen and (max-width: 768px) {
    font-size: 24px;
    margin-bottom: 0.5em;
  }
}

.worktitle-en::before {
  position: absolute;
  content: '';
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 3px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #D4849A;
  border-radius: 2px;

  @media screen and (max-width: 768px) {
    bottom: -5px;
    width: 40px;
    height: 2px;
  }
}

.worktitle-jp {
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.1em;

  @media screen and (max-width: 768px) {
    font-size: 14px;
    margin-top: 5px;
  }
}
