@charset "UTF-8";
/*-------------------------------------------
共通クラス
-------------------------------------------*/
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #333a3f;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

/*-------------------------------------------
共通のパーツ
-------------------------------------------*/
/* ここから記述します。 */
/*-------------------------------------------
ヘッダー
-------------------------------------------*/
/*除算用にmathモジュールをインポート*/
/* ここから記述します。 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 24px 4%;
}
.header__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 36px;
}

.header.show {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}

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

.header__menu.is-open {
  right: 0;
}

/*除算用にmathモジュールをインポート*/
/* ここから記述します。 */
.section__title {
  text-align: center;
  font-size: 32px;
}

.hero {
  position: relative;
  height: 100vh;
  background: #f7f8fa;
  overflow: hidden;
}
.hero__title {
  font-size: 48px;
  margin-bottom: 16px;
  z-index: 500;
}
.hero__text {
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* 背景の丸 */
.bg {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  -webkit-transform: translate(-40px, 30px);
          transform: translate(-40px, 30px);
  -webkit-transition: -webkit-transform 4s ease;
  transition: -webkit-transform 4s ease;
  transition: transform 4s ease;
  transition: transform 4s ease, -webkit-transform 4s ease;
}

.bg1 {
  width: 400px;
  height: 400px;
  background: #6aaeff;
  top: 10%;
  left: 15%;
}

.bg2 {
  width: 300px;
  height: 300px;
  background: #9ad0c2;
  bottom: 15%;
  right: 20%;
}

/* 中央コンテンツ */
.hero__content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  opacity: 0;
  -webkit-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: all 2.5s ease;
  transition: all 2.5s ease;
}

.show {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}

.btn {
  padding: 12px 24px;
  border: 1px solid #333;
  text-decoration: none;
  color: #333;
}

.btn.primary {
  background: #333;
  color: #fff;
}

.prof__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  padding: 100px 0;
  margin-top: 50px;
}
.prof__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.prof__img {
  width: 400px;
}
.prof__texts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.readmore {
  margin-left: auto;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.textMb {
  margin-bottom: 54px;
}

.works__inner {
  padding: 100px 230px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}
.works__color {
  background-color: #D3E7FF;
}

.swiper {
  width: 800px;
  height: 500px;
}
.swiper__img {
  width: 350px;
  height: 350px;
}
.swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.contact__inner {
  padding: 100px 0 200px;
}
.contact__img {
  width: 500px;
}
.contact__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.contact__button {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  background-color: #F9CE71;
  padding: 15px 50px;
  border-radius: 40px;
}

.strength__color {
  background-color: #D3E7FF;
}
.strength__texts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  width: 47%;
}
.strength__texts__title {
  text-align: center;
  font-size: 24px;
}
.strength__inner {
  padding: 100px 0;
  margin-top: 200px;
}
.strength__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 40px;
  padding: 100px 100px 0 100px;
}
.strength__img {
  width: 47%;
}

.hobby__inner {
  padding: 200px 100px;
}
.hobby__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 40px;
  padding-top: 100px;
}
.hobby__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
.hobby__texts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
.hobby__texts__title {
  text-align: center;
  font-size: 24px;
}

.contactPage__inner {
  margin-top: 200px;
  margin-bottom: 100px;
}
.contactPage__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 40px;
}
.contactPage__container {
  padding-top: 40px;
}

.worksPage__inner {
  margin-top: 200px;
}
.worksPage__container {
  padding: 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 100px;
}
.worksPage__container:nth-child(3) {
  grid-row-start: 2;
}
.worksPage__container:nth-child(4) {
  grid-row-start: 2;
}
.worksPage__work {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.worksPage__work__title {
  margin-top: 24px;
}

form {
  width: 50%;
  margin: 0 auto;
  min-width: 9rem;
}

input, textarea {
  width: 100%;
  max-width: 100%;
  border: none;
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  background: rgb(223.5, 223.5, 223.5);
  color: rgb(121.5, 121.5, 121.5);
}
input[type=submit], textarea[type=submit] {
  background: #84AD47;
  color: #fff;
  width: auto;
  float: right;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  color: rgb(121.5, 121.5, 121.5);
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: rgb(121.5, 121.5, 121.5);
}
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: rgb(121.5, 121.5, 121.5);
}
input::-ms-input-placeholder, textarea::-ms-input-placeholder {
  color: rgb(121.5, 121.5, 121.5);
}
input::placeholder, textarea::placeholder {
  color: rgb(121.5, 121.5, 121.5);
}
input.error, textarea.error {
  background: #AD4747;
  color: #fff;
}
input.error::-webkit-input-placeholder, textarea.error::-webkit-input-placeholder {
  color: black;
}
input.error::-moz-placeholder, textarea.error::-moz-placeholder {
  color: black;
}
input.error:-ms-input-placeholder, textarea.error:-ms-input-placeholder {
  color: black;
}
input.error::-ms-input-placeholder, textarea.error::-ms-input-placeholder {
  color: black;
}
input.error::placeholder, textarea.error::placeholder {
  color: black;
}

textarea {
  height: 10rem;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans"), local("OpenSans"), url(http://themes.googleusercontent.com/static/fonts/opensans/v7/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format("woff");
}
.hamburger {
  display: none;
}

.myModal {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 900;
  -webkit-transform: translateX(1500px);
          transform: translateX(1500px);
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 150px 80px;
  color: #18669e;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .myModal {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
  }
}
.myModal__ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}
.myModal__text {
  font-size: 16px;
  font-weight: bold;
}

.myModal.is-open {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

@media screen and (max-width: 768px) {
  .hero__title {
    font-size: 32px;
  }
  .hero__text {
    padding: 0 16px;
    font-size: 14px;
  }
  .buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px;
  }
  .prof__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .prof__img {
    width: 70%;
    max-width: 300px;
  }
  .prof__texts {
    gap: 24px;
    padding: 0 16px;
  }
  .works__inner {
    padding: 80px 16px;
  }
  .swiper {
    width: 100%;
    height: auto;
  }
  .swiper__img {
    width: 80%;
    height: auto;
  }
  .contact__img {
    width: 80%;
    max-width: 300px;
  }
  .contact__inner {
    padding: 80px 16px 120px;
  }
  .contact__text {
    text-align: center;
    font-size: 14px;
  }
  .section__title {
    font-size: 24px;
  }
  /* ハンバーガー */
  .hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
  }
  .hamburger span {
    width: 28px;
    height: 2px;
    background: #333;
    display: block;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  /* ×に変形 */
  .hamburger.is-open span:nth-child(1) {
    -webkit-transform: rotate(45deg) translate(5px, 5px);
            transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-open span:nth-child(3) {
    -webkit-transform: rotate(-45deg) translate(6px, -6px);
            transform: rotate(-45deg) translate(6px, -6px);
  }
  .worksPage {
    padding: 48px 16px;
  }
  .worksPage__container {
    grid-template-columns: 1fr;
    gap: 120px;
  }
  .worksPage__work__title {
    font-size: 15px;
  }
  .worksPage__work__text {
    font-size: 13px;
  }
  .prof {
    padding: 48px 16px;
  }
  .prof__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 24px;
  }
  .prof__img {
    width: 100%;
  }
  .prof__title {
    font-size: 18px;
  }
  .strength__texts {
    width: 100%;
  }
  .strength__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 32px;
  }
  .strength__texts__title {
    font-size: 20px;
  }
  .strength__img {
    width: 100%;
  }
  .hobby {
    padding: 48px 16px;
  }
  .hobby__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 60px;
  }
  .hobby__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 25px;
  }
  .hobby__img {
    width: 100%;
  }
  .hobby__texts__title {
    font-size: 28px;
  }
}
@media screen and (min-width: 769px) {
  .hobby__item {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  .hobby__item:hover {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
  }
}
.worksPage__work {
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  -webkit-transition: opacity 1.5s ease, -webkit-transform 1.5s ease;
  transition: opacity 1.5s ease, -webkit-transform 1.5s ease;
  transition: opacity 1.5s ease, transform 1.5s ease;
  transition: opacity 1.5s ease, transform 1.5s ease, -webkit-transform 1.5s ease;
}

/* 表示されたとき */
.worksPage__work.is-show {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/*-------------------------------------------
footer
-------------------------------------------*/
/*除算用にmathモジュールをインポート*/
/* ここから記述します。 */
.footer__inner {
  text-align: center;
  padding: 20px 0;
  background-color: #D3E7FF;
}