@charset "utf-8";
/* font-family: "Noto Serif JP", serif; */
/*font-family: "Poiret One", sans-serif;*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");

/*=====ボディ設定*/
html {
  font-size: 62.5%;
  line-height: 1;
  color: #000;
  font-family: "Noto Serif JP", serif;
}

body {
  font-size: 1.6rem;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/*=====ヘッダー*/

header {
  width: 100%;
  font-family: "Poiret One", sans-serif;
  color: white;
  background: linear-gradient(-225deg, #b2eeff 0%, #fff6f6 60%, #f6e5e5 100%);
  padding-top: 30px;
}

header img {
  display: block;
  width: 100%;
  border-top-right-radius: 200px;
  opacity: 0.6;
  margin-top: 70px;
}
.title_block {
  position: relative;
}
h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 4.5rem;
  position: absolute;
  z-index: 999;
  top: 40%;
  left: 7%;
}

.top_name {
  font-size: 3rem;
  position: absolute;
  z-index: 999;
  white-space: nowrap;
}

.top_navi {
  font-size: 2rem;
  color: #b8b8b8;
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  border: none;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 24px;
  padding: 20px 20px;
  list-style: none;
  position: fixed;
  top: 20px;
  right: 5px;
  z-index: 100;
  cursor: pointer;
}
.top_navi a {
  text-decoration: none;
  color: #9e9e9e;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.hero {
  position: relative;
  width: 960px;
  display: block;
  border-top-right-radius: 200px;
  opacity: 0.6;
  margin-top: 70px;
}

/*=====スクロールダウン*/
.container_01 {
  margin-top: 0;
  padding: 0;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: white;
}

.container_01 a:hover {
  opacity: 0.7;
}

.scroll-down_01 {
  position: relative;
  width: 200px;
  height: 200px;
  color: #ffabab;
  font-family: serif;
  text-decoration: none;
  margin-top: 50px;
}
.scroll-sp {
  display: none;
}
.circle-text_01 {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 30s linear infinite;
}

.circle-text_01 span {
  position: absolute;
  left: 50%;
  font-size: 16px;
  transform-origin: 0 100px;
}

.arrow_01 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 50px;
  transform: translate(-50%, -50%);
  animation: scroll_01 3s infinite;
}

.arrow_01::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  background-color: #ffabab;
  transform: translateX(-50%);
}
.arrow_01::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-bottom: 1px solid #ffabab;
  transform: translateX(-50%) rotate(-45deg);
}

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

@keyframes scroll_01 {
  0% {
    transform: translate(-50%, -50%) translateY(-10px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translateY(10px);
    opacity: 0;
  }
}
/*=====about me*/
.wrapper {
  width: 960px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.lead {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 60px;
  line-height: 2;
}
.aboutme {
  text-align: right;
}
.aboutme a {
  text-shadow: none;
  font-family: "Poiret One", sans-serif;
  font-size: 2.7rem;
  color: #9e9e9e;
  font-weight: 400;
  display: block;
  position: relative;
  max-width: 180px;
  padding: 4px 16px 4px 0;
  margin-top: 100px;
  margin-left: auto;
  margin-right: 50px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.aboutme a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 180px;
  height: 1px;
  background: #9e9e9e;
  transition: transform 0.3s ease;
}

.aboutme a::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: 10px;
  width: 30px;
  height: 1px;
  background: #9e9e9e;
  transform: rotate(40deg);
  transition: transform 0.3s ease;
}

.aboutme a:hover::before {
  transform: translateX(20px);
}

.aboutme a:hover::after {
  transform: translateX(20px) rotate(40deg);
}
.side-text {
  color: #d9d9d9;
  position: fixed;
  left: 5%;
  top: 0;
  height: 100vh;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 2rem;
  letter-spacing: 0.3em;
  white-space: nowrap;
  animation: verticalFlow 20s linear infinite;
  z-index: 9999;
}

.side-text-wrap {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

@keyframes verticalFlow {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(-100%);
  }
}
@keyframes slide-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/*=====メイン*/
main {
  width: auto;
}

h2 {
  text-align: center;
  font-size: 2.7rem;
  margin-top: 150px;
  padding-top: 100px;
  color: white;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.sub_h2 {
  text-align: center;
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 30px;
}

/*=====worksフィルター*/
.work_navi button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 999px;
  font-size: 2rem;
  padding: 1.4rem 3.6rem;
  min-width: 140px;
  cursor: pointer;
  color: #ff9aa2;
  box-shadow: 0 0 6px rgba(255, 154, 162, 0.6),
    0 0 14px rgba(255, 154, 162, 0.4), inset 0 0 8px rgba(255, 154, 162, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.work_navi button:hover {
  color: #ff9aa2;
  box-shadow: 0 0 10px rgba(255, 154, 162, 0.9),
    0 0 30px rgba(255, 154, 162, 0.8), 0 0 60px rgba(255, 154, 162, 0.6),
    inset 0 0 12px rgba(255, 154, 162, 0.6);
  transform: translateY(-2px);
}

.work_navi .is_current {
  font-weight: bold;
}
.works_sec {
  border-image-slice: fill 0;
  width: 960px;
  margin: 0 auto;
}

.work_navi {
  display: flex;
  justify-content: center;
  gap: 100px;
  list-style: none;
}

.works_all {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  list-style: none;
  padding: 0;
  margin-top: 80px;
  padding-bottom: 100px;
}

.works_all li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.works_text {
  display: block;
  white-space: nowrap;
  line-height: 1.5;
  color: #000;
  text-align: left;
  padding-left: 20px;
}
.works_all a {
  text-decoration: none;
}

.works_all img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}
.carousel_arrow {
  display: none;
}
/*=====ツールー*/
.tool {
  display: grid;
  font-size: 2rem;
  list-style: none;
  margin-bottom: 20px;
  grid-template-columns: repeat(5, 1fr);
  padding-bottom: 30px;
  text-align: center;
  margin: 0 auto;
}

.tool p {
  line-height: 1.3;
  font-size: 1.7rem;
}
.tool_under p {
  line-height: 1.3;
  font-size: 1.7rem;
}

.tool img[alt="Figma"] {
  transform: scale(1.2);
}

/*問い合わせフォーム*/

table.formTable input[type="text"],
table.formTable textarea {
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 1.6rem;
}

/* フォーム本体 */
#formWrap {
  width: 600px;
  margin: 0 auto;
  color: black;
  line-height: 120%;
  font-size: 100%;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 30px;
}

table.formTable tr {
  display: block;
  margin-bottom: 30px;
}

table.formTable th {
  display: block;
  width: 100%;
  padding: 20px 50px 8px;
  text-align: left;
  font-size: 1.5rem;
  font-weight: normal;
}

table.formTable td {
  display: block;
  width: 100%;
  padding: 0 50px;
}

table.formTable input[type="text"],
table.formTable textarea {
  width: 100%;
  padding: 12px;
  font-size: 1.6rem;
  box-sizing: border-box;
  margin-top: 0;
}

p.error_messe {
  margin: 5px 0;
  color: red;
}
table.formTable input[type="text"],
table.formTable textarea {
  width: 100%;
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 1.6rem;
  box-sizing: border-box;
}
input[type="button"],
input[type="submit"] {
  background-color: #ffabab;
  color: white;
  border: none;
  padding: 20px 30px;
  border-radius: 40px;
  font-size: 1.6rem;
  cursor: pointer;
  width: 250px;
  height: 60px;
  margin-top: 40px;
  text-align: center;
  margin-bottom: 60px;
}

h3 {
  font-size: 2rem;
}

input[type="button"] {
  background-color: black;
}

.back_circle {
  background: #fff6f6;
  border-top-left-radius: 50% 100px;
  border-top-right-radius: 50% 100px;

  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);

  padding: 0 100px 150px;
  box-sizing: border-box;
}
/*=====フッター*/
footer {
  width: 100%;
  font-family: "Noto Serif JP", serif;
  color: white;
  font-weight: bold;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  font-weight: 900;
  background: linear-gradient(-225deg, #f6e5e5 0%, #fff6f6 50%, #b2eeff 100%);
  padding: 50px;
  text-align: center;
  box-sizing: border-box;
}

/* ブレークポイント＝＝＝＝＝＝＝＝＝ */
@media screen and (max-width: 768px) {
  /* イメージ設定 */
  img {
    max-width: 100%;
    height: auto;
  }

  /*=====ヘッダー*/

  header {
    width: 100vw;
    padding-top: 5px;
  }

  header img {
    display: block;
    width: 90vw;
    border-top-right-radius: 30px;
    opacity: 0.6;
    margin-top: 0px;
  }
  .title_block {
    position: relative;
  }
  h1 {
    top: auto;
    bottom: 20%;
    font-size: 2.8rem;
    position: absolute;
    z-index: 9999;
    left: 7%;
  }

  .top_name {
    font-size: 1.5rem;
    position: absolute;
    z-index: 999;
  }
  /* ナビゲーション */
  .top_navi {
    font-size: 1.8rem;
    display: flex;
    gap: 4px;
    box-shadow: none;
    background: none;
    padding: 0;
  }

  .top_navi a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #666;
    font-size: 1.6rem;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35),
      0 2px 6px rgba(0, 0, 0, 0.12);
  }

  /*=====スクロールダウン*/
  .container_01 {
    margin-top: 0;
    padding: 0;
    height: 200px;
    margin-bottom: 30px;
    overflow: visible;
  }

  .container_01 a:hover {
    opacity: 0.7;
  }

  .scroll-down_01 {
    position: relative;
    width: 80px;
    height: 80px;
    color: #ffabab;
  }
  .scroll-pc {
    display: none;
  }

  .scroll-sp {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px;
  }

  .circle-text_01 {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .circle-text_01 span {
    position: absolute;
    font-size: 7px;
    transform-origin: 0 38px;
  }

  .arrow_01 {
    position: absolute;
    width: 20px;
    height: 35px;
  }

  .arrow_01::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
  }
  .arrow_01::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-bottom: 1px solid #ffabab;
    transform: translateX(-50%) rotate(-45deg);
  }

  .wrapper {
    width: 80vw;
  }

  .lead {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 50px;
    line-height: 1.8;
  }

  /*=====about me*/
  .aboutme {
    text-align: center;
  }
  .aboutme a {
    font-size: 2rem;
    position: relative;
    max-width: 150px;
    padding: 4px 16px 4px 0;
    margin-top: 10px;
    margin-left: auto;
    margin-right: 0px;
    transition: all 0.3s;
  }
  .aboutme a::before {
    position: absolute;
    width: 150px;
  }

  .side-text {
    display: none;
  }

  .side-text-wrap {
    display: none;
  }

  /*=====メイン*/
  main {
    width: auto;
  }

  h2 {
    font-size: 2.3rem;
    margin-top: 50px;
    padding-top: 50px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  }
  .sub_h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  /*=====worksフィルター*/
  .work_navi button {
    flex-shrink: 0;
    font-size: 1.7rem;
    padding: 7px 17px;
    min-width: auto;
  }

  .work_navi button:hover {
    color: #ff9aa2;
    box-shadow: 0 0 10px rgba(255, 154, 162, 0.9),
      0 0 2px rgba(255, 154, 162, 0.8), 0 0 60px rgba(255, 154, 162, 0.6),
      inset 0 0 12px rgba(255, 154, 162, 0.6);
    transform: translateY(-2px);
  }

  .works_sec {
    width: 100%;
    padding: 0 10px;
    font-size: 1rem;
  }

  .work_navi {
    display: flex;
    gap: 10px;
    overflow-x: visible;
    padding: 10px 20px 18px;
    justify-content: center;
    margin-bottom: 16px;
  }

  .work_navi::-webkit-scrollbar {
    display: none;
  }

  .works_all {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: 2%;
    scroll-padding-inline: 3%;
    padding-bottom: 5px;
    margin-top: 0;
    padding-top: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .works_all::-webkit-scrollbar {
    display: none;
  }
  .works_all li {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 0 0 102%;
    scroll-snap-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
    justify-content: space-between;
  }
  .works_text {
    margin-top: 12px;
    line-height: 1.4;
    min-height: 2.7em;
    white-space: normal;
    font-size: 1.2rem;
  }

  .works_all img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
  }
  .works_carousel {
    position: relative;
    padding: 0 20px;
  }

  .carousel_arrow {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0.6;
  }
  .carousel_arrow:active {
    opacity: 1;
  }
  .carousel_arrow.prev {
    left: -20px;
  }

  .carousel_arrow.next {
    right: -20px;
  }
  button {
    display: block;
  }
  /*=====ツールー*/
  .tool {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    justify-items: center;
    align-items: start;
  }

  .tool li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tool img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 6px;
  }

  .tool img[alt="Figma"] {
    transform: scale(1.2);
  }

  .tool p {
    line-height: 1.5;
    font-size: 0.9rem;
  }
  .tool_under {
    display: none;
  }

  /*問い合わせフォーム*/

  table.formTable input[type="text"],
  table.formTable textarea {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    padding: 8px;
    font-size: 1.6rem;
  }

  /* フォーム本体 */
  #formWrap {
    width: 80vw;
    line-height: 1;
    font-size: 100%;
    margin-bottom: 10px;
    background-color: white;
    border-radius: 20px;
    margin: 0 auto;
  }

  table.formTable tr {
    display: block;
    margin-bottom: 30px;
    margin: 0 auto;
  }

  table.formTable th {
    display: block;
    width: 100%;
    padding: 16px 16px 6px;
    text-align: left;
    font-size: 1.2rem;
    font-weight: normal;
  }

  table.formTable td {
    display: block;
    width: 100%;
    padding: 0 16px;
  }

  table.formTable input[type="text"],
  table.formTable textarea {
    width: 100%;
    padding: 8px 12px;
    font-size: 1.3rem;
    box-sizing: border-box;
    margin-top: 0;
  }

  p.error_messe {
    margin: 3px 0;
    color: red;
  }
  table.formTable input[type="text"],
  table.formTable textarea {
    width: 100%;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    padding: 12px;
    font-size: 1.3rem;
    box-sizing: border-box;
  }
  input[type="button"],
  input[type="submit"] {
    background-color: #ffabab;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    width: 200px;
    height: 40px;
    margin-top: 40px;
    text-align: center;
    margin-bottom: 30px;
  }

  .back_circle {
    border-top-left-radius: 95% 40px;
    border-top-right-radius: 95% 40px;
    margin-left: 0;
    transform: none;
    padding: 0 16px 80px;
  }
  /*=====フッター*/
  footer {
    width: 100vw;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    font-weight: 900;
  }
}
