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

.button {
  font-size: 18px;
  font-weight: 700;
  border-radius: 40px;
  border: 4px solid #e04b00;
  -webkit-box-shadow: 0px 4px 0px 0px #eb9a01;
          box-shadow: 0px 4px 0px 0px #eb9a01;
  padding: 4px 16px;
  color: #232d33;
  background: #ffffff;
  -webkit-transition: color 0.3s, background-color 0.3s;
  transition: color 0.3s, background-color 0.3s;
}
@media screen and (min-width: 768px) {
  .button {
    font-size: 18px;
    padding: 6px 18px;
  }
}
.button:hover {
  color: #ffffff;
  background: #e04b00;
}

@media screen and (min-width: 768px) {
  .title {
    max-width: 640px;
    margin-inline: auto;
  }
}

.title__text {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}
.title__text::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  border: #00558f 4px solid;
  border-radius: 50%;
}
.title__text::after {
  position: absolute;
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  top: 50%;
  left: 4px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border: #57b4f2 2px solid;
  border-radius: 50%;
}

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

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

.description {
  margin-top: 16px;
}
@media screen and (min-width: 768px) {
  .description {
    margin-top: 32px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Noto Sans JP", serif;
  font-size: 14px;
  line-height: 1.6;
  color: #232d33;
}
@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

.header {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 3px solid #00558f;
  z-index: 2000;
}
@media screen and (min-width: 768px) {
  .header {
    height: 76px;
    top: 0;
    bottom: auto;
    border-top: none;
    border-bottom: 3px solid #00558f;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.header__inner {
  position: relative;
  z-index: 2000;
  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;
  gap: 4px;
}
@media screen and (min-width: 768px) {
  .header__inner {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-inline: 40px;
    max-width: 980px;
    margin-inline: auto;
  }
}

.header__logo {
  width: 50%;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .header__logo {
    width: auto;
    position: absolute;
    top: 0;
    left: 20px;
  }
  .header__logo::before, .header__logo::after {
    position: absolute;
    content: "";
    width: 156px;
    height: 156px;
    background: #ffffff;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
  .header__logo::before {
    border: 4px solid #00558f;
    border-radius: 50%;
    top: 50%;
    z-index: -20;
  }
  .header__logo::after {
    top: -12.8px;
    z-index: -10;
  }
}
.header__logo a {
  display: block;
  width: 100%;
}
.header__logo a img {
  width: 140px;
}

.header__menu-button {
  width: 50%;
  padding: 16px;
  color: #ffffff;
  background: #00558f;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.header__menu-button.is-opened .header__menu-button-bars .header__menu-button-bar:nth-of-type(1) {
  top: 9px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.header__menu-button.is-opened .header__menu-button-bars .header__menu-button-bar:nth-of-type(2) {
  opacity: 0;
}
.header__menu-button.is-opened .header__menu-button-bars .header__menu-button-bar:nth-of-type(3) {
  top: 9px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
@media screen and (min-width: 768px) {
  .header__menu-button {
    display: none;
  }
}

.header__menu-button-text {
  font-weight: 500;
}

.header__menu-button-bars {
  position: relative;
  width: 22px;
  height: 22px;
}

.header__menu-button-bar {
  position: absolute;
  display: block;
  width: 24px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  -webkit-transition: top 0.3s, -webkit-transform 0.3s;
  transition: top 0.3s, -webkit-transform 0.3s;
  transition: top 0.3s, transform 0.3s;
  transition: top 0.3s, transform 0.3s, -webkit-transform 0.3s;
}
.header__menu-button-bar:nth-of-type(1) {
  top: 0;
}
.header__menu-button-bar:nth-of-type(2) {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.header__menu-button-bar:nth-of-type(3) {
  bottom: 0;
}

.header__nav {
  display: none;
}
@media screen and (min-width: 768px) {
  .header__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 16px;
  }
}

.header__nav-list {
  margin-top: 64px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .header__nav-list {
    margin-top: 0;
  }
}

.header__nav-link {
  display: block;
  padding-block: 8px;
  width: 100%;
  font-weight: 500;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}
@media screen and (min-width: 768px) {
  .header__nav-link {
    padding-block: 16px;
  }
}
.header__nav-link:hover {
  color: #57b4f2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.drawer__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding-bottom: 60px;
  background: #ffffff;
  z-index: 1000;
  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;
  gap: 24px;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  z-index: 1000;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.drawer__nav.is-opened {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
@media screen and (min-width: 768px) {
  .drawer__nav {
    display: none;
  }
}

.drawer__nav-list {
  position: relative;
  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;
  gap: 8px;
}

.drawer__nav-link {
  display: block;
  padding-block: 8px;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
}

.drawer__button-contact {
  position: relative;
}

.drawer__sns-icon {
  margin-top: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}
.drawer__sns-icon img {
  width: 32px;
}

.fv {
  position: relative;
  height: 400px;
}
@media screen and (min-width: 768px) {
  .fv {
    padding-top: 60px;
    height: 480px;
  }
}

.fv__bg {
  position: absolute;
  background: url("../img/sp/fv-bg-sp.png") no-repeat center center/cover;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
@media screen and (min-width: 768px) {
  .fv__bg {
    background: url("../img/fv-bg.png") no-repeat center center/cover;
  }
}

.fv__inner {
  position: relative;
  padding-inline: 20px;
  max-width: 375px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .fv__inner {
    padding-inline: 40px;
    max-width: 980px;
  }
}

.fv__logo {
  position: absolute;
  top: 32px;
  left: 0;
}
.fv__logo img {
  width: 180px;
}
@media screen and (min-width: 768px) {
  .fv__logo {
    display: none;
  }
}

.fv__content {
  position: absolute;
  top: 220px;
  left: 20px;
}
@media screen and (min-width: 768px) {
  .fv__content {
    left: 120px;
  }
}

.fv__text {
  font-size: 17px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .fv__text {
    font-size: 28px;
  }
}

.fv__button {
  margin-top: 32px;
}

.works__list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .works__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.works__item {
  border: 4px solid #00558f;
  border-radius: 16px;
  overflow: hidden;
}

.works__item-link {
  position: relative;
  display: block;
}
.works__item-link:hover::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border: #57b4f2 4px solid;
  border-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
}
.works__item-link:hover .works__item-img img {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.works__item-img {
  position: relative;
}
.works__item-img img {
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}

.works__item-text {
  position: relative;
  z-index: 20;
  background: #ffffff;
  padding: 16px;
  height: 126px;
}

.works__item-name {
  font-size: 16px;
  font-weight: 700;
}

.works__id-text {
  margin-top: 8px;
}

.works__item-detail {
  margin-top: 24px;
  text-decoration: underline;
  text-underline-offset: 2px;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.service__list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-inline: 20px;
  max-width: 300px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .service__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1140px;
  }
}

.service__item {
  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;
  border: 2px solid rgb(0, 85, 143);
  border-radius: 16px;
  padding: 32px 16px;
}

.service__item-img img {
  height: 56px;
}

.service__item-name {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .service__item-name {
    margin-top: 24px;
  }
}

.service__item-text {
  margin-top: 8px;
}
@media screen and (min-width: 768px) {
  .service__item-text {
    margin-top: 14px;
    font-size: 14px;
  }
}

.flow__list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-inline: 20px;
  max-width: 280px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .flow__list {
    margin-top: 64px;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 100%;
    padding-inline: 0;
  }
}

.flow__item {
  position: relative;
  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;
  border: #00558f 2px solid;
  border-radius: 16px;
  padding: 16px;
  padding-top: 40px;
}

.flow__item-num {
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 24px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: #ffffff;
}
.flow__item-num::before, .flow__item-num::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background: #00558f;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: -1;
}
.flow__item-num::after {
  width: 40px;
  height: 40px;
  left: calc(50% + 4px);
  background: #57b4f2;
  z-index: -2;
}

.flow__item-img img {
  height: 56px;
}

.flow__item-name {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}

.flow__item-text {
  margin-top: 8px;
}
@media screen and (min-width: 768px) {
  .flow__item-text {
    font-size: 14px;
  }
}

.about__container {
  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;
}
@media screen and (min-width: 768px) {
  .about__container {
    margin-top: 40px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
    gap: 40px;
    max-width: 640px;
    margin-inline: auto;
  }
}

.about__img {
  margin-block: 32px;
}
@media screen and (min-width: 768px) {
  .about__img {
    margin-block: 0;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
}
.about__img img {
  width: 240px;
  border-radius: 50%;
}

.about__name {
  font-size: 16px;
  font-weight: 700;
}

.about__description {
  margin-top: 8px;
}

.about__skill {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
}

.about__skill-item {
  margin-top: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.about__skill-item::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #57b4f2;
  border-radius: 50%;
  margin-right: 8px;
}

.contact {
  padding-bottom: 120px;
}

@media screen and (min-width: 768px) {
  .contact__form {
    max-width: 640px;
    margin-inline: auto;
  }
}

.form__list {
  margin-top: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .form__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
  }
  .form__item:nth-child(3) {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

.form__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .form__head {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    width: 160px;
  }
}

.form__label {
  font-size: 16px;
  font-weight: 700;
}

.form__tag {
  font-size: 12px;
  color: #ffffff;
  background: #e04b00;
  border-radius: 6px;
  padding: 2px 4px;
}

@media screen and (min-width: 768px) {
  .form__input {
    width: 100%;
  }
}

.form__input-text {
  width: 100%;
  border: 2px solid #00558f;
  border-radius: 6px;
  padding: 8px;
}
.form__input-text::-webkit-input-placeholder {
  color: lightgray;
}
.form__input-text::-moz-placeholder {
  color: lightgray;
}
.form__input-text:-ms-input-placeholder {
  color: lightgray;
}
.form__input-text::-ms-input-placeholder {
  color: lightgray;
}
.form__input-text::placeholder {
  color: lightgray;
}

.form__textarea {
  width: 100%;
  height: 160px;
  border: 2px solid #00558f;
  border-radius: 6px;
  padding: 8px;
  resize: vertical;
}
.form__textarea::-webkit-input-placeholder {
  color: lightgray;
}
.form__textarea::-moz-placeholder {
  color: lightgray;
}
.form__textarea:-ms-input-placeholder {
  color: lightgray;
}
.form__textarea::-ms-input-placeholder {
  color: lightgray;
}
.form__textarea::placeholder {
  color: lightgray;
}

.form__submit {
  margin-top: 36px;
  text-align: center;
}

.pagetop {
  display: none;
}
@media screen and (min-width: 768px) {
  .pagetop {
    display: block;
    position: fixed;
    bottom: 60px;
    right: 40px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s, visibility 0.3s;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .pagetop.is-show {
    opacity: 1;
    visibility: visible;
  }
  .pagetop.is-show:hover {
    opacity: 0.8;
  }
  .pagetop img {
    width: 80px;
  }
}

.footer {
  padding-block: 40px 70px;
  background: #00558f;
  z-index: 1000;
}
@media screen and (min-width: 768px) {
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-block: 8px;
  }
}

@media screen and (min-width: 768px) {
  .footer__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 32px;
  }
}

.footer__sns-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
}

.footer__sns-link {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.footer__sns-link:hover {
  opacity: 0.8;
}
.footer__sns-link img {
  width: 32px;
}

.footer__copyright {
  margin-top: 16px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .footer__copyright {
    margin-top: 0;
  }
}
.footer__copyright small {
  color: #ffffff;
  font-size: 10px;
}