@charset "UTF-8";
body {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  font-family: "Noto Serif JP", sans-serif;
  background: #fff;
  font-weight: 600;
}

@media not screen and (min-width: 768px) {
  .hidden-sp {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .hidden-pc {
    display: none;
  }
}

.inner {
  padding-inline: 15px;
}
@media screen and (min-width: 768px) {
  .inner {
    padding-inline: 40px;
    margin: 0 auto;
    max-width: 1280px;
  }
}

.section {
  padding-block: 60px 60px;
}
@media screen and (min-width: 768px) {
  .section {
    padding-block: 100px 90px;
  }
}

.section__contents {
  margin-top: 46px;
}
@media screen and (min-width: 768px) {
  .section__contents {
    margin-top: 64px;
  }
}

.heading__tittle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
}
.heading__tittle::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 1px;
  background: #3ea1d1;
}

.heading__tittle-en {
  font-size: 30px;
}
@media screen and (min-width: 768px) {
  .heading__tittle-en {
    font-size: 40px;
  }
}

.heading__tittle-ja {
  font-size: 15px;
}

.animated__fadeIn {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.3s ease, translate 1s ease;
}
.animated__fadeIn.js-show {
  opacity: 1;
  translate: 0 0;
}

.animated__fadeFlow {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.3s ease, translate 0.6s ease;
}
.animated__fadeFlow.js-show {
  opacity: 1;
  translate: 0 0;
}

.animated__clipView {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s ease;
}
.animated__clipView.js-show {
  clip-path: inset(0 0 0 0);
}

.skill__animated-clipView {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s ease;
}
.skill__animated-clipView.js-show {
  clip-path: inset(0 0 0 0);
}

.header {
  position: fixed;
  top: 0;
  z-index: 101;
  width: 100%;
  background: #fff;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  padding-block: 19px 10px;
}
@media screen and (min-width: 768px) {
  .header__inner {
    padding-block: 20px 10px;
  }
}

.header__logo-title {
  font-family: "Patua One", serif;
  transition: opacity 0.3s;
  font-size: 20px;
}
.header__logo-title:hover {
  opacity: 0.8;
}

.header__nav {
  display: none;
}
@media screen and (min-width: 900px) {
  .header__nav {
    display: flex;
  }
}

@media screen and (min-width: 768px) {
  .header__lists {
    display: flex;
    gap: 46px;
    align-items: center;
    margin-top: -4px;
  }
}

@media screen and (min-width: 768px) {
  .header__list a {
    font-weight: 300;
    transition: color 0.3s;
  }
  .header__list a:hover {
    color: #3ea1d1;
  }
}

@media screen and (min-width: 768px) {
  .header_open {
    display: none;
  }
}

.drawer__icon {
  position: fixed;
  z-index: 102;
  top: 27px;
  right: 20px;
  width: 26px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (min-width: 900px) {
  .drawer__icon {
    display: none;
  }
}

.drawer__icon--bar {
  width: 100%;
  height: 1px;
  background: #3ea1d1;
  transition: all 0.5s ease;
}

.drawer__icon.js-show .drawer__icon--bar:nth-of-type(1) {
  rotate: 45deg;
  translate: 0 8px;
  background: #fff;
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(2) {
  display: none;
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(3) {
  rotate: -45deg;
  translate: 0 -8px;
  background: #fff;
}

.drawer {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  width: 290px;
  height: 100vh;
  background: #3ea1d1;
  overflow-y: scroll;
  translate: 101%;
  transition: translate 0.3s ease;
}
.drawer.js-show {
  translate: 0;
}

.drawer__body {
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  padding-block: 88px 40px;
  padding-left: 34px;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}
.drawer__list li a {
  font-size: 18px;
  font-weight: 300;
  color: #ffffff;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: none;
}

.overlay.js-show {
  display: block;
}

.fv {
  position: relative;
}

.fluid-shape-image {
  /* 最初は小さい blob */
}

.fluid-shape-image {
  border-radius: 30% 70% 70% 30%/30% 34% 66% 70%;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
  transform: scale(0.3);
  transition: transform 2s ease, border-radius 2s ease;
}
.fluid-shape-image.is-animation {
  animation: fluid-shape 8s ease-in-out infinite;
}

@keyframes fluid-shape {
  0% {
    border-radius: 30% 70% 70% 30%/30% 34% 66% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25%/76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42%/63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30%/30% 34% 66% 70%;
  }
}
.fv__text {
  position: absolute;
  top: 90px;
  left: 35px;
  color: black;
}
@media screen and (min-width: 768px) {
  .fv__text {
    top: 115px;
    left: 115px;
  }
}

.animation__text {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  font-family: "Courgette", cursive;
}
@media screen and (min-width: 768px) {
  .animation__text {
    font-size: 80px;
    line-height: 1;
  }
}
.animation__text .char {
  translate: 0 100%;
}
.animation__text span {
  overflow: hidden;
}

.animation__text-small {
  font-size: 30px;
  vertical-align: bottom;
  display: inline-block;
}
@media screen and (min-width: 768px) {
  .animation__text-small {
    font-size: 50px;
    vertical-align: middle;
  }
}

.about__contents {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
@media screen and (min-width: 768px) {
  .about__contents {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .about__body {
    gap: 20px;
  }
}

.about__text {
  font-size: 18px;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .about__text {
    font-size: 16px;
  }
}

.service {
  background: url("../img/bg_section.jpg") no-repeat center center/cover;
}

.service__title {
  font-size: 18px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .service__title {
    font-size: 20px;
  }
}

.service__lists {
  margin-top: 70px;
}
@media screen and (min-width: 768px) {
  .service__lists {
    margin-top: 55px;
    max-width: 1000px;
    margin-inline: auto;
  }
}

.service__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .service__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
}

.service__item {
  display: grid;
  /* 5行分の自動サイズで代用 */
  grid-template-rows: repeat(5, auto);
  gap: 12px;
  overflow: hidden;
  border-radius: 10%; /* %よりpxの方が扱いやすい */
  padding: 40px 20px 0;
  background: #fff;
  /* レスポンシブ対応例 */
}
@media (max-width: 768px) {
  .service__item {
    grid-template-rows: repeat(5, auto); /* スマホでも同じ行構造 */
    padding: 20px 10px 0;
  }
}

.service__item-img {
  text-align: center;
}

.service__item-name {
  text-align: center;
}

.swiper__container {
  position: relative;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .swiper__container {
    max-width: 1000px;
    margin: 40px auto;
  }
}

.swiper {
  position: relative;
  padding-bottom: 60px;
}

.swiper-slide {
  height: auto;
}

.swiper-slide,
.card__swiper-slide {
  width: 275px;
}
@media screen and (min-width: 768px) {
  .swiper-slide,
  .card__swiper-slide {
    width: 100%;
  }
}

.card__swiper-slide {
  display: block;
  border: #333333 2px solid;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

.works__item-img {
  overflow: hidden;
}
.works__item-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.works__item-img:hover img {
  transform: scale(1.05);
}

.works__item-body {
  padding: 20px 10px;
}

.works__item-title {
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .works__item-title {
    font-size: 18px;
  }
}

.works__item-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}
@media screen and (min-width: 768px) {
  .works__item-categories {
    margin-top: 15px;
    gap: 8px;
  }
}

.works__item-category {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 20px;
}
@media screen and (min-width: 768px) {
  .works__item-category {
    font-size: 14px;
    padding: 4px 12px;
  }
}

.category__coding {
  background: rgb(153, 162, 235);
  color: #fff;
}

.category__wordpress {
  background: rgb(108, 221, 138);
  color: #fff;
}

.category__design {
  background: rgb(255, 179, 71);
  color: #fff;
}

.works__item-pass {
  margin-top: 10px;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 10px !important;
}
@media screen and (min-width: 768px) {
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0 !important;
  }
}

.swiper-pagination-bullet {
  /*ドットの色を変更*/
  background-color: rgb(127, 140, 235);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  /*アクティブなドットの透過度を1にする*/
  opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
  display: none;
}
@media screen and (min-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 91%;
    transform: translateY(-50%);
    z-index: 10;
  }
}

.swiper-button-prev {
  left: -30px;
}

.swiper-button-next {
  right: -30px;
}

/* 背景の円（オレンジ） */
.swiper-button-prev::before,
.swiper-button-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgb(157, 166, 240); /* 円の色（オレンジ） */
  border-radius: 50%;
  z-index: 1;
}

/* 白い矢印（三角形） */
.swiper-button-prev::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-70%, -50%); /* ← 左寄せで調整 */
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 16px solid #fff; /* 白い矢印 */
  z-index: 2;
}

/* 白い矢印（三角形） */
.swiper-button-next::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%); /* ← 右寄せで調整 */
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff; /* 白い矢印 */
  z-index: 2;
}

.skill {
  background: url("../img/bg_section.jpg") no-repeat center center/cover;
}

.skill__lists {
  max-width: 1000px;
  margin-inline: auto;
}

.skill__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .skill__list {
    gap: 20px;
  }
}

.skill__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill__item-text {
  font-size: 14px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .skill__item-text {
    font-size: 16px;
  }
}

.skill__item-image img {
  width: 80px;
}
@media screen and (min-width: 768px) {
  .skill__item-image img {
    width: 130px;
  }
}

.flow__titel {
  font-size: 18px;
  text-align: center;
}

.flow__lists {
  max-width: 530px;
  padding-inline: 15px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .flow__lists {
    max-width: 980px;
    padding-inline: 40px;
  }
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 60px;
  margin-top: 70px;
}
@media screen and (min-width: 768px) {
  .flow__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.flow__item {
  position: relative;
  border: 1px solid #808080;
  padding: 46px 16px 24px;
}

.flow__item-num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background-color: #4a4a4a;
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__item-img {
  margin-bottom: 24px;
  text-align: center;
}

.flow__item-name {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.flow__item-text {
  font-size: 16px;
  line-height: 1.6;
}

.message {
  background: url("../img/bg_section.jpg") no-repeat center center/cover;
}

@media screen and (min-width: 768px) {
  .message__text {
    font-size: 18px;
  }
}

@media screen and (min-width: 768px) {
  .blog__text {
    font-size: 18px;
  }
}

.contact {
  padding-block: 50px;
  background: url("../img/bg_contact2.jpg") no-repeat center center/cover;
}
@media screen and (min-width: 768px) {
  .contact {
    padding-block: 80px;
  }
}

.contact__title {
  font-size: 30px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .contact__title {
    font-size: 40px;
  }
}

.contact__form {
  max-width: 780px;
  padding-inline: 40px;
  margin: 0 auto;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .contact__items {
    margin-top: 60px;
  }
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
@media screen and (min-width: 768px) {
  .contact__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 35px;
  }
}

.contact-control__head {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .contact-control__head {
    width: 220px;
  }
}

.from__label {
  padding: 4px 16px;
  background: #3ea1d1;
  color: white;
  font-size: 14px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .from__label {
    width: 100%;
    justify-content: center;
    font-size: 18px;
    padding-top: 4px;
    padding-bottom: 5px;
    padding-inline: 4px;
    clip-path: polygon(0% 0%, 97% 0, 100% 50%, 97% 100%, 0% 100%);
  }
}

.form-field__tag {
  display: inline-block;
  border-radius: 4px;
  background: var(--LP-Red, #ce2073);
  padding: 8px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .contact-control__input {
    flex-grow: 1;
  }
}

.form-text {
  width: 100%;
  height: 40px;
  border: 0;
  font-size: 16px;
  background: var(--ffffff, #fff);
  box-shadow: 5px 6px 16px 0px rgba(96, 96, 96, 0.16);
  padding: 15px;
}
.form-text:focus {
  outline: #3ea1d1 solid 2px;
  box-shadow: 5px 6px 16px 0px rgba(62, 161, 209, 0.16);
}

.form-textarea {
  width: 100%;
  height: 150px;
  border: 0;
  font-size: 16px;
  box-shadow: 5px 6px 16px 0px rgba(96, 96, 96, 0.16);
  background: #fff;
  resize: vertical;
  padding: 15px;
}
@media screen and (min-width: 768px) {
  .form-textarea {
    height: 200px;
  }
}
.form-textarea:focus {
  outline: #3ea1d1 solid 2px;
  box-shadow: 5px 6px 16px 0px rgba(62, 161, 209, 0.16);
}
.form-textarea:not(:-moz-placeholder) {
  background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4));
}
.form-textarea:not(:placeholder-shown) {
  background-color: light-dark(rgb(232, 240, 254), rgba(70, 90, 126, 0.4));
}

.contact__footer {
  margin-top: 40px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .contact__footer {
    margin-top: 60px;
  }
}

.btn__link {
  display: inline-block;
  overflow: hidden;
  padding: 4px 15px 6px;
  background: #3ea1d1;
}

@media screen and (min-width: 768px) {
  .btn__link {
    padding: 7px 20px 9px;
  }
}
@media (any-hover: hover) {
  .btn__link:hover .btn__link-text-wrap {
    transform: translate(0, -100%);
  }
}
.btn__link-text-wrap {
  transition: transform 0.3s ease;
  position: relative;
}

.btn__link-text {
  color: #fff;
}

.btn__link-text.is-ja {
  padding-inline: 20px;
  font-size: 15px;
}

@media screen and (min-width: 768px) {
  .btn__link-text.is-ja {
    font-size: 18px;
  }
}
.btn__link-text.is-en {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-size: 15px;
}

@media screen and (min-width: 768px) {
  .btn__link-text.is-en {
    font-size: 18px;
  }
}
.footer {
  padding-block: 15px;
}
@media screen and (min-width: 768px) {
  .footer {
    padding-block: 20px;
  }
}

.footer_copy {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.pagetop {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 38px;
  right: 10px;
  bottom: 5px;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  border: 0;
  background: #3ea1d1;
  transition: 0.2s;
  letter-spacing: 2px;
  font-weight: bold;
  border-radius: 100px 100px 0 0;
  z-index: 100;
}
@media screen and (min-width: 768px) {
  .pagetop {
    width: 120px;
    height: 60px;
    right: 15px;
    bottom: 10px;
  }
}

.pagetop.is-show {
  /* ← ここ */
  opacity: 1;
  visibility: visible;
}

.pagetop__text {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  margin-top: 5px;
}
@media screen and (min-width: 768px) {
  .pagetop__text {
    margin-top: 10px;
    font-size: 15px;
  }
}