@charset "UTF-8";
.fadeIn {
  -webkit-transition: 3s;
  transition: 3s;
  opacity: 0;
}

.fadeIn.animated {
  opacity: 1;
}

/* =============================================
共通の設定
============================================= */
body {
  font-family: "Oswald", "Noto Sans JP", serif;
}
body.is-fixed {
  overflow: hidden;
}

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

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

.inner {
  max-width: 480px;
  padding-inline: 20px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .inner {
    max-width: 960px;
    padding-inline: 40px;
  }
}

.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 6px 10px 6px 30px;
  width: 160px;
  margin: 0 auto;
  color: #fff;
  -webkit-transition: color 0.3s ease, background-color 0.3s ease;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.button:hover {
  color: #4a4a4a;
  background-color: #fff;
}
.button--border {
  border: 1px solid #fff;
}

.button__icon {
  width: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.button__text {
  margin-left: 10px;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.button-line {
  text-align: center;
}

.inline-block {
  font-weight: inherit;
  display: inline-block;
}

.scroll-prevent {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* =============================================
section共通
============================================= */
.section {
  padding-block: 48px;
}

.section__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 32px;
}
@media screen and (min-width: 768px) {
  .section__head {
    margin-bottom: 24px;
  }
}
.section__head--center {
  text-align: center;
}

.section__head-main {
  font-size: 40px;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .section__head-main {
    font-size: 60px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section__head-main {
    font-size: 44px;
  }
}

.section__head-sub {
  font-size: 11px;
}

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

.section__contents {
  margin-top: 40px;
}

/* =============================================
全体レイアウト
============================================= */
@media screen and (min-width: 768px) {
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.header {
  position: fixed;
  z-index: 999;
}

@media screen and (min-width: 768px) {
  .main {
    -ms-flex-preferred-size: 80%;
        flex-basis: 80%;
  }
}

/* =============================================
ヘッダー
============================================= */
.header {
  background-color: #4a4a4a;
  width: 100%;
  height: 80px;
}
@media screen and (min-width: 768px) {
  .header {
    position: static;
    overflow: visible;
    height: auto;
    -ms-flex-preferred-size: 20%;
        flex-basis: 20%;
    padding: 50px 20px;
    padding: 0 20px 0 20px;
  }
}

.header__container {
  position: relative;
  width: 100%;
  height: auto;
  padding-left: 15px;
  padding-right: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 768px) {
  .header__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: initial;
        -ms-flex-pack: initial;
            justify-content: initial;
    position: sticky;
    top: 0;
    width: 160px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 0 auto;
  }
}

.header__logo {
  display: inline-block;
  font-size: 20px;
  color: #fff;
}
@media screen and (min-width: 768px) {
  .header__logo {
    font-size: 30px;
    letter-spacing: 0.12em;
    line-height: 1;
  }
}

.header__menu-button {
  border: none;
  width: 30px;
  height: 36px;
  overflow: hidden;
  color: transparent;
  background: url(../img/bg_menu.png) center center no-repeat;
  background-size: 100% auto;
}
.header__menu-button.is-checked {
  background: url(../img/bg_menu-close.png) center center no-repeat;
  background-size: 100% auto;
}

.header__contents {
  position: absolute;
  top: -100vh;
  left: 0;
  max-height: calc(100vh - 80px);
  border-top: 1px solid #fff;
  background-color: #4a4a4a;
  padding-top: 60px;
  padding-bottom: 60px;
  width: 100%;
  z-index: 998;
  -webkit-transition: top 0.3s;
  transition: top 0.3s;
  overflow-y: auto;
}
.header__contents.is-checked {
  top: 80px;
  overflow: scroll;
}
@media screen and (min-width: 768px) {
  .header__contents {
    top: 160px;
  }
}

.header__nav-item + .header__nav-item {
  margin-top: 24px;
}

.header__nav-item {
  text-align: center;
}

/* =============================================
fv
============================================= */
.fv {
  position: relative;
}
@media screen and (min-width: 768px) {
  .fv {
    margin-top: 0;
  }
}

.fv__img img {
  height: 600px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.fv__contents {
  position: absolute;
  bottom: 26px;
  left: 0;
  width: 100%;
  height: 209px;
  background: url(../img/sp/bg_fv.png) center center no-repeat;
  background-size: 100% auto;
  padding: 32px;
}
@media screen and (min-width: 768px) {
  .fv__contents {
    background: url(../img/bg_fv.png) center center no-repeat;
    background-size: 100% auto;
    bottom: 50%;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
    left: 0;
    max-width: 627px;
    height: 174px;
    padding-top: 24px;
    padding-left: 96px;
  }
}

.fv__heading-main {
  display: block;
  font-size: 30px;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .fv__heading-main {
    font-size: 48px;
  }
}

.fv__heading-sub {
  margin-top: 12px;
  display: block;
  font-size: 18px;
}

/* =============================================
service
============================================= */
@media screen and (min-width: 768px) {
  .service__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(30.6345733042%, 1fr));
    gap: clamp(0.625rem, -1.906rem + 5.27vw, 2.313rem);
  }
}

.service__item {
  padding: 10px 20px 20px 20px;
  -webkit-box-shadow: 3px 3px 15px 0px rgba(96, 96, 96, 0.16);
          box-shadow: 3px 3px 15px 0px rgba(96, 96, 96, 0.16);
}

.service__item + .service__item {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .service__item + .service__item {
    margin-top: 0;
  }
}

.service__item-img {
  text-align: center;
  margin-top: 14px;
  margin-bottom: 14px;
}
.service__item-img img {
  width: auto;
  height: 70px;
}

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

.service__item-text {
  font-size: 14px;
  line-height: 1.6;
}

/* =============================================
works
============================================= */
.works {
  background-color: #fafafa;
}

.works__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .works__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
  }
}

.works__card {
  background: #fff;
  -webkit-box-shadow: 3px 3px 15px 0px rgba(96, 96, 96, 0.16);
          box-shadow: 3px 3px 15px 0px rgba(96, 96, 96, 0.16);
  border-radius: 10px;
  overflow: hidden;
}
.works__card:hover, .works__card:focus {
  outline: 2px solid #7fdbf5;
  outline-offset: -2px;
}

.works__card-img {
  text-align: center;
}
.works__card-img img {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .works__card-img img {
    height: 200px;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top center;
       object-position: top center;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .works__card-img img {
    height: 230px;
  }
}

.works__card-body {
  padding: 15px;
}

.works__name {
  font-size: 16px;
  font-weight: bold;
}

.works__user {
  margin-top: 15px;
}

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

.skills__item + .skills__item {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .skills__item + .skills__item {
    margin-top: 0;
  }
}

.skills__item-img {
  text-align: center;
  margin-bottom: 14px;
}

.skills__item-img-tag {
  width: 50%;
}

.skills__item-name {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.skills__item-text {
  font-size: 14px;
  line-height: 1.6;
}

/* =============================================
flow
============================================= */
.flow {
  background-color: #fafafa;
}

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

.flow__item {
  position: relative;
  border: 1px solid #808080;
  border-radius: 10px;
  padding: 46px 20px 24px;
}

.flow__item + .flow__item {
  margin-top: 46px;
}
@media screen and (min-width: 768px) {
  .flow__item + .flow__item {
    margin-top: 0;
  }
}

.flow__item-num {
  position: absolute;
  top: -24px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 24px;
  background-color: #4a4a4a;
  color: #fff;
  width: 48px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 5px;
}

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

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

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

/* =============================================
about
============================================= */
@media screen and (min-width: 768px) {
  .about__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    gap: 40px;
  }
}

.about__img {
  margin-bottom: 32px;
  border-radius: 30px;
}
@media screen and (min-width: 768px) {
  .about__img {
    width: 40%;
  }
}
.about__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  border-radius: 30px;
}

@media screen and (min-width: 768px) {
  .about__text-contents {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

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

.about__text + .about__text {
  margin-top: 1em;
}

/* =============================================
message
============================================= */
.message {
  background-color: #fafafa;
}

@media screen and (min-width: 768px) {
  .message__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    gap: 40px;
  }
}

.message__img {
  margin-bottom: 32px;
}
@media screen and (min-width: 768px) {
  .message__img {
    width: 40%;
  }
}
.message__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  border-radius: 30px;
}

@media screen and (min-width: 768px) {
  .message__text-contents {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

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

/* =============================================
contact
============================================= */
.contact__form {
  margin-top: 20px;
}

.form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  position: relative;
}

.form__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .form__field {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
@media screen and (min-width: 768px) {
  .form__field--textarea {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

.form__label {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .form__label {
    width: 160px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
}

.form__input,
.form__textarea {
  width: 100%;
  font-size: 16px;
  padding: 4px;
}
@media screen and (min-width: 768px) {
  .form__input,
  .form__textarea {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
}
.form__input::-webkit-input-placeholder, .form__textarea::-webkit-input-placeholder {
  color: #ccc;
}
.form__input::-moz-placeholder, .form__textarea::-moz-placeholder {
  color: #ccc;
}
.form__input:-ms-input-placeholder, .form__textarea:-ms-input-placeholder {
  color: #ccc;
}
.form__input::-ms-input-placeholder, .form__textarea::-ms-input-placeholder {
  color: #ccc;
}
.form__input::placeholder,
.form__textarea::placeholder {
  color: #ccc;
}
.form__input:focus, .form__input:hover,
.form__textarea:focus,
.form__textarea:hover {
  outline: 2px solid #7fdbf5;
  outline-offset: -2px;
}

.form__confirm-wrapper {
  text-align: center;
}

.contact-button {
  min-width: 100px;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  border: 1px solid #4a4a4a;
  background: #4a4a4a;
  color: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
}
.contact-button:hover, .contact-button:focus {
  border: 1px solid #4a4a4a;
  background: #fff;
  color: #4a4a4a;
  outline: none;
}

.form__button-wrapper {
  margin-top: 15px;
  text-align: center;
}

.contact-modal {
  width: 100%;
  border: none;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-modal__wrapper {
  background: #fff;
  padding: 30px;
  width: 100%;
  max-width: 880px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
  max-height: 80vh;
  overflow-y: auto;
}
@media screen and (min-width: 768px) {
  .contact-modal__wrapper {
    gap: 10px;
    width: 70%;
  }
}

.contact-modal__inner {
  text-align: center;
}

.contact-modal[open] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

.contact-modal__title {
  text-align: center;
}

.contact-modal__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media screen and (min-width: 768px) {
  .contact-modal__field {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

.contact-modal__label {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .contact-modal__label {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    width: 160px;
  }
}

.contact-modal__value {
  width: 100%;
  padding: 10px 10px 10px 10px;
  background: #fafafa;
  color: #6f6f6f;
}
@media screen and (min-width: 768px) {
  .contact-modal__value {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
}

.hidden-input,
.hidden-textarea {
  display: none;
}

/* =============================================
sns
============================================= */
.sns {
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .sns {
    grid-template-columns: 1fr 1fr;
  }
}

.sns__item {
  text-align: center;
  padding: 40px;
}
@media screen and (min-width: 768px) {
  .sns__item {
    padding: 54px 10px;
  }
}
.sns__item--contact {
  background-color: #6f6f6f;
}
.sns__item--twitter {
  background-color: #4a4a4a;
}

.page-bottom__button--line {
  border-radius: 0;
  width: 160px;
}
.page-bottom__button--line img {
  border-radius: 0 !important;
}

.footer {
  text-align: center;
  padding: 10px;
}

.footer__copy {
  font-size: 11px;
  font-family: "Noto Sans JP", serif;
}

.fade-in-up {
  opacity: 0;
  -webkit-transform: translateY(24px);
          transform: translateY(24px);
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  transition: opacity 1s, transform 1s, -webkit-transform 1s;
}
.fade-in-up.is-in-view {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}