@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FEFEFE;
  font-family: Meiryo;
}
body.noscroll {
  overflow: hidden;
}

header {
  height: 100px;
  background-color: #FD8AA7;
  display: flex;
  align-items: center;
}
header .header__div {
  width: 1500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: auto;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
@media (max-width: 1540px) {
  header .header__div {
    padding: 0 20px; /* 左右余白 */
  }
}
header .header__menu {
  aspect-ratio: 1/1;
  width: 68px;
  max-width: 100%;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
header .header__menu span {
  height: 3px;
  padding: 3px;
  background: #FEFEFE;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
header .header__menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(17px, 10px);
}
header .header__menu.active span:nth-child(2) {
  opacity: 0;
}
header .header__menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(17px, -10px);
}
@media (max-width: 500px) {
  header {
    height: 55px;
  }
  header .header__menu {
    width: 55px;
    /*padding: 8px 6px;*/
  }
  header .header__menu span {
    height: 2px;
    padding: 2px;
  }
  header .header__menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 10px);
  }
  header .header__menu.active span:nth-child(2) {
    opacity: 0;
  }
  header .header__menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -10px);
  }
  header .header__div {
    width: 100%;
    padding: 0 10px;
  }
}

#menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(24, 24, 24, 0.8);
  color: #fff;
  padding: 80px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
#menu li {
  list-style: none;
  font-weight: bold;
}
#menu li:not(:last-child) {
  margin-bottom: 32px;
}
#menu a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}
#menu.active {
  display: flex;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section__visual {
  width: 100%;
}
.section__visual picture,
.section__visual img {
  width: 100%;
  display: block;
}
.section .section__div {
  margin-top: 126px;
}
@media (max-width: 900px) {
  .section .section__div {
    margin-top: 72px;
  }
}
@media (max-width: 700px) {
  .section .section__div {
    margin-top: 56px;
  }
}
.section .section__div__items {
  margin-top: 126px;
}
@media (max-width: 900px) {
  .section .section__div__items {
    margin-top: 64px;
  }
}
.section .section__div__items p {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  letter-spacing: 1px;
}
@media (max-width: 700px) {
  .section .section__div__items p {
    font-size: 18px;
    line-height: 1.2;
  }
}
.section .section__div__items p .items__br {
  display: none;
}
@media (max-width: 700px) {
  .section .section__div__items p .items__br {
    display: block;
  }
}
.section .section__div__items a {
  max-width: 947px;
  padding-block: 32px;
  background-color: #D9D9D9;
  color: #181818;
  border-radius: 100px;
  margin: 16px auto 0;
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  display: flex; /* フレックスボックスに */
  justify-content: center; /* 横方向に中央揃え */
  align-items: center; /* 縦方向に中央揃え */
  text-decoration: none;
}
@media (max-width: 700px) {
  .section .section__div__items a {
    font-size: 18px;
    margin-top: 24px;
  }
}
.section__about, .section__works, .section__contact {
  /*background: #FD8AA7;*/
  width: 100%;
  max-width: 1200px;
  margin-top: 350px;
  padding: 0 20px; /* 左右余白 */
}
.section__about h2, .section__works h2, .section__contact h2 {
  text-align: center;
  font-size: clamp(40px, 8vw, 128px);
  line-height: 0.65;
}
.section__about #about__box, .section__works #about__box, .section__contact #about__box {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .section__about #about__box, .section__works #about__box, .section__contact #about__box {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}
.section__about #about__box p, .section__works #about__box p, .section__contact #about__box p {
  letter-spacing: 2px;
}
.section__about #about__box p .p-br, .section__works #about__box p .p-br, .section__contact #about__box p .p-br {
  display: none;
}
@media (max-width: 600px) {
  .section__about #about__box p .p-br, .section__works #about__box p .p-br, .section__contact #about__box p .p-br {
    display: block;
  }
}
@media (max-width: 422px) {
  .section__about #about__box p .p-br, .section__works #about__box p .p-br, .section__contact #about__box p .p-br {
    display: block;
  }
}
.section__about #about__box p .p-br2, .section__works #about__box p .p-br2, .section__contact #about__box p .p-br2 {
  display: block;
}
@media (max-width: 422px) {
  .section__about #about__box p .p-br2, .section__works #about__box p .p-br2, .section__contact #about__box p .p-br2 {
    display: none;
  }
}
@media (max-width: 422px) {
  .section__about #about__box p, .section__works #about__box p, .section__contact #about__box p {
    font-size: 15px;
  }
}
.section__about #about__box img, .section__works #about__box img, .section__contact #about__box img {
  max-width: 200px;
  border: 1px #181818 solid;
  border-radius: 200%;
  background: #fff;
}
@media (max-width: 500px) {
  .section__about #about__box img, .section__works #about__box img, .section__contact #about__box img {
    max-width: 120px;
  }
}
.section__about .works__box:not(:first-child), .section__works .works__box:not(:first-child), .section__contact .works__box:not(:first-child) {
  margin-top: 163px;
}
@media (max-width: 900px) {
  .section__about .works__box:not(:first-child), .section__works .works__box:not(:first-child), .section__contact .works__box:not(:first-child) {
    margin-top: 72px;
  }
}
.section__about .works__box h3, .section__works .works__box h3, .section__contact .works__box h3 {
  text-align: center;
  font-size: 32px;
}
.section__about .works__box .box__cont, .section__works .works__box .box__cont, .section__contact .works__box .box__cont {
  max-width: 100%; /* 最大幅1200px */
  margin: 0 auto; /* 横中央寄せ */
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 4vw; /* 画面幅に応じた隙間（約69px相当） */
  padding-inline: 20px;
  box-sizing: border-box; /* padding込み計算 */
}
.section__about .works__box .box__cont div, .section__works .works__box .box__cont div, .section__contact .works__box .box__cont div {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1/1; /* 正方形 */
  background-color: #FEFEFE;
  border: 1px #181818 solid;
  cursor: pointer;
}
.section__about .works__box .box__cont div img, .section__works .works__box .box__cont div img, .section__contact .works__box .box__cont div img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* 画像をボックス内に綺麗に収める */
  display: block; /* 画像下の隙間防止 */
}
@media (max-width: 768px) {
  .section__about .works__box .box__cont, .section__works .works__box .box__cont, .section__contact .works__box .box__cont {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
  }
}
@media (max-width: 1500px) {
  .section__about, .section__works, .section__contact {
    margin-top: 200px;
  }
}
@media (max-width: 1200px) {
  .section__about, .section__works, .section__contact {
    margin-top: 150px;
  }
}
@media (max-width: 700px) {
  .section__about, .section__works, .section__contact {
    margin-top: 100px;
  }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal .modal__close {
  background: #FEFEFE;
  padding: 16px 8px;
  border-radius: 200px;
  line-height: 0;
}
.modal.active {
  display: flex;
}
.modal__bg {
  position: absolute;
  inset: 0;
  background-color: rgba(24, 24, 24, 0.8);
  cursor: pointer;
}
.modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1001;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}
.modal__content img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 1010;
  font-weight: bold;
  line-height: 1;
  padding: 0;
}

.scroll-top {
  position: fixed;
  bottom: 70px;
  right: 16px;
  width: 100px;
  height: 100px;
  background-color: #FD8AA7;
  color: #fff;
  text-align: center;
  line-height: 60px;
  font-weight: bold;
  border-radius: 50%;
  text-decoration: none;
  z-index: 999;
  font-weight: bold;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 500px) {
  .scroll-top {
    max-width: 80px;
    max-height: 80px;
  }
}
.scroll-top p {
  font-size: 20px;
  letter-spacing: 1px;
  margin: 5px 0 0;
  padding: 0;
  line-height: 1;
}
.scroll-top .omega-like {
  position: relative;
  width: 40px;
  height: 30px;
  margin-inline: auto;
}
.scroll-top .omega-like span {
  position: absolute;
  bottom: 0;
  width: 7px;
  height: 30px;
  background: #FEFEFE;
  border-radius: 50px;
}
.scroll-top .omega-like span:first-child {
  transform: rotate(45deg);
  left: 8.5px;
}
.scroll-top .omega-like span:last-child {
  transform: rotate(-45deg);
  right: 8.5px;
}

footer {
  margin-top: 331px;
  background-color: #FD8AA7;
  height: 60px;
  display: flex;
  justify-content: center;
  padding-inline: 20px;
}
@media (max-width: 500px) {
  footer {
    margin-top: 130px;
  }
}
footer div {
  width: 1200px;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
footer div ul {
  list-style: none;
  font-weight: bold;
  display: flex;
  gap: 12px;
  color: #FEFEFE;
}
@media (max-width: 500px) {
  footer div ul {
    display: none;
  }
}
footer div ul li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
}
footer div ul li a {
  text-decoration: none;
  color: #FEFEFE;
}
footer div small {
  color: #FEFEFE;
  font-weight: bold;
}
@media (max-width: 500px) {
  footer div small {
    margin-inline: auto;
    font-weight: normal;
  }
}/*# sourceMappingURL=style.css.map */