@charset "UTF-8";
html {
  font-size: 62.5%;
}

body {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  color: #333;
  font-size: 1.6rem;
  line-height: 1.6;
}
body.is-fixed {
  overflow: hidden;
}

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

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

/************************************
nav-button
************************************/
.nav-button {
  display: flex;
  align-items: center;
  padding: 6px 10px 6px 30px;
  width: 160px;
  margin: 0 auto;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
@media (hover: hover) {
  .nav-button:hover {
    background-color: #fff;
  }
  .nav-button:hover .nav-button__icon-path {
    fill: #4a4a4a;
  }
  .nav-button:hover .nav-button__text {
    color: #4a4a4a;
  }
}

.nav-button--bg {
  color: #4a4a4a;
}
@media (hover: hover) {
  .nav-button--bg:hover {
    opacity: 0.7;
  }
}

.nav-button__text {
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
  letter-spacing: 0.08em;
  color: #fff;
}

.nav-button--bg {
  background-color: #fff;
}
.nav-button--bg .nav-button__text {
  color: #4a4a4a;
}

.nav-button--border {
  border: 1px solid #fff;
}
.nav-button--border .nav-button__text {
  color: #fff;
}

.nav-button__icon {
  inline-size: 24px;
  display: flex;
  align-items: center;
}

.nav-button__icon-path {
  fill: #fff;
}

.nav-button__icon-path--contact {
  fill: #4a4a4a;
}

/************************************
default-button
************************************/
.default-button {
  display: inline-block;
  text-align: center;
  background: #ee8013;
  inline-size: 210px;
  max-inline-size: 100%;
  display: inline-block;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-family: inherit;
  letter-spacing: 0.025em;
  border: none;
  font-size: 1.8rem;
  transition: all 0.3s ease 0s;
  cursor: pointer;
}
@media (hover: hover) {
  .default-button:hover {
    opacity: 0.7;
  }
}

.default-button--small {
  font-size: 1.6rem;
  padding: 12px 10px;
  inline-size: 140px;
}

.default-button--submit {
  background: #b2b2b2;
}
.default-button--submit.-active {
  background: #ee8013;
  cursor: pointer;
}
@media (hover: hover) {
  .default-button--submit.-active:hover {
    opacity: 0.7;
  }
}

.default-button--color-gray {
  background: #b2b2b2;
}

/************************************
header
************************************/
.header {
  background-color: #4a4a4a;
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  z-index: 999;
}
@media screen and (min-width: 768px) {
  .header {
    position: relative;
    flex-basis: 20.8%;
    padding: 30px 20px;
    min-block-size: 100vh;
  }
}

.header__container {
  position: relative;
}
@media screen and (min-width: 768px) {
  .header__container {
    inline-size: 160px;
    margin: 0 auto;
    position: -webkit-sticky;
    position: sticky;
    inset-block-start: 50px;
  }
}

.header__height {
  position: relative;
}

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

.header__drawer-button {
  display: flex;
  align-items: center;
  position: absolute;
  inset-block: 0;
  margin-block: auto;
  inset-inline-end: 24px;
}
@media screen and (min-width: 768px) {
  .header__drawer-button {
    display: none;
  }
}

.drawer-button {
  padding: 0;
  position: relative;
  inline-size: 35px;
  block-size: 25px;
  overflow: hidden;
  color: transparent;
  border: none;
  background-color: transparent;
  display: inline-block;
  background-size: 100% auto;
}
.drawer-button.is-checked .drawer-button__bar:nth-of-type(1) {
  inset-block-start: 10px;
  transform: rotate(45deg);
}
.drawer-button.is-checked .drawer-button__bar:nth-of-type(2) {
  display: none;
}
.drawer-button.is-checked .drawer-button__bar:nth-of-type(3) {
  inset-block-start: 10px;
  transform: rotate(-45deg);
}

.drawer-button__bar {
  position: absolute;
  inset-inline: 0;
  margin-inline: auto;
  inline-size: 100%;
  block-size: 5px;
  border-radius: 12%;
  background: #fff;
  transition: transform 0.3s linear, inset-block-start 0.3s linear;
}
.drawer-button__bar:nth-of-type(1) {
  inset-block-start: 0;
}
.drawer-button__bar:nth-of-type(2) {
  inset-block-start: 10px;
}
.drawer-button__bar:nth-of-type(3) {
  inset-block-start: 20px;
}

.header__contents {
  display: none;
  block-size: calc(100vh - 88px);
  -webkit-border-before: 1px solid #fff;
          border-block-start: 1px solid #fff;
  -webkit-padding-before: 60px;
          padding-block-start: 60px;
}
@media screen and (min-width: 768px) {
  .header__contents {
    border: none;
    display: block;
    block-size: -webkit-fit-content;
    block-size: -moz-fit-content;
    block-size: fit-content;
  }
}

.header__nav-item + .header__nav-item {
  -webkit-margin-before: 24px;
          margin-block-start: 24px;
}

/************************************
main-visual
************************************/
.main-visual {
  position: relative;
}

.main-visual__contents {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 26px;
  inline-size: 100%;
  block-size: 209px;
  background: url(../img/sp/bg_fv-sp.png) center center no-repeat;
  background-size: 100% auto;
  padding: 32px;
}
@media screen and (min-width: 768px) {
  .main-visual__contents {
    background-size: 100% auto;
    background: url(../img/bg_fv.png) center center no-repeat;
    inset-inline-start: 0;
    max-inline-size: 627px;
    block-size: 174px;
    -webkit-padding-before: 24px;
            padding-block-start: 24px;
    -webkit-padding-start: 96px;
            padding-inline-start: 96px;
  }
}
.main-visual__heading-main {
  display: block;
  font-size: 4rem;
  letter-spacing: 0.1em;
}

.main-visual__heading-sub {
  -webkit-margin-before: 12px;
          margin-block-start: 12px;
  display: block;
  font-size: 1.4rem;
}

/************************************
section
************************************/
.section {
  padding: 48px 0;
}

.section__contents {
  -webkit-margin-before: 40px;
          margin-block-start: 40px;
}

.section__inner {
  padding: 0 32px;
}
@media screen and (min-width: 768px) {
  .section__inner {
    max-inline-size: 944px;
    margin: 0 auto;
  }
}

.section__head {
  display: flex;
  flex-direction: column;
  -webkit-margin-after: 32px;
          margin-block-end: 32px;
  font-size: 1.4rem;
}
.section__head::before {
  content: attr(data-en);
  display: block;
  font-size: 4rem;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .section__head::before {
    font-size: 5.4rem;
  }
}
@media screen and (min-width: 900px) {
  .section__head::before {
    font-size: 6rem;
  }
}

.section__head--center {
  text-align: center;
}

.section__description {
  line-height: 1.6;
}
.section__description strong {
  font-weight: 700;
}

/************************************
message
************************************/
.message__container {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}
@media screen and (min-width: 768px) {
  .message__container {
    justify-content: space-between;
    flex-direction: row;
    -moz-column-gap: 4.5454545455%;
         column-gap: 4.5454545455%;
  }
}

.message__img {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .message__img {
    inline-size: 43.1818181818%;
    flex-shrink: 0;
  }
}
.message__img img {
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.message__text {
  line-height: 1.6;
}

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

.works__lists {
  display: grid;
  flex-direction: row;
  justify-content: center;
  row-gap: 60px;
}
@media screen and (min-width: 768px) {
  .works__lists {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 8%;
         column-gap: 8%;
    row-gap: 50px;
  }
}
@media screen and (min-width: 900px) {
  .works__lists {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: 5%;
         column-gap: 5%;
  }
}

.works__item {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  max-inline-size: 550px;
}

.works__link {
  display: block;
  transition: all 0.3s ease 0s;
}
@media (hover: hover) {
  .works__link:hover {
    opacity: 0.7;
  }
}

.works__img {
  display: inline-block;
  aspect-ratio: 311/206;
}
.works__img img {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  inline-size: 100%;
  block-size: 100%;
}

.works__body {
  block-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 8px;
}
@media screen and (min-width: 768px) {
  .works__body {
    row-gap: 10px;
  }
}

.works__item-head {
  font-weight: bold;
  -webkit-margin-after: 4px;
          margin-block-end: 4px;
}

.works__dl {
  display: flex;
  font-size: 1.4rem;
}

.works__dt {
  width: 50px;
}

.works__dd {
  width: calc(100% - 50px);
}

.works__button {
  text-align: center;
}

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

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

.service__item-img {
  text-align: center;
  -webkit-margin-after: 14px;
          margin-block-end: 14px;
}

.service__item-name {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  -webkit-margin-after: 10px;
          margin-block-end: 10px;
}

.service__item-text {
  font-size: 1.4rem;
  line-height: 1.6;
}

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

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

.flow__item {
  position: relative;
  border: 1px solid #808080;
  padding: 46px 16px 24px;
}
.flow__item + .flow__item {
  -webkit-margin-before: 46px;
          margin-block-start: 46px;
}
@media screen and (min-width: 768px) {
  .flow__item + .flow__item {
    -webkit-margin-before: 0;
            margin-block-start: 0;
  }
}

.flow__item-num {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: -24px;
  transform: translateX(-50%);
  font-size: 2.4rem;
  background-color: #4a4a4a;
  color: #fff;
  inline-size: 48px;
  block-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__item-img {
  -webkit-margin-after: 24px;
          margin-block-end: 24px;
  text-align: center;
}

.flow__item-name {
  font-weight: bold;
  text-align: center;
  -webkit-margin-after: 10px;
          margin-block-end: 10px;
}

.flow__item-text {
  font-size: 1.4rem;
  line-height: 1.6;
}

/************************************
about
************************************/
.about__container {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}
@media screen and (min-width: 768px) {
  .about__container {
    flex-direction: row-reverse;
    -moz-column-gap: 4.5454545455%;
         column-gap: 4.5454545455%;
  }
}

.about__img {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .about__img {
    inline-size: 43.1818181818%;
    flex-shrink: 0;
  }
}
.about__img img {
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.about__description + .about__description {
  -webkit-margin-before: 2em;
          margin-block-start: 2em;
}

/************************************
contact
************************************/
.contact {
  background: #fafafa;
}

.contact__form {
  margin: 0 auto;
  max-inline-size: 100%;
  border-radius: 12px;
}

.contact__head-content {
  padding: 50px 120px;
  border-radius: 12px 12px 0 0;
}

.contact-form__content {
  display: flex;
  flex-direction: column;
  row-gap: 28px;
}
@media screen and (min-width: 768px) {
  .contact-form__content {
    row-gap: 32px;
  }
}

/*
.form-field
*/
@media screen and (min-width: 768px) {
  .form-field {
    display: flex;
    gap: 32px;
  }
}

@media screen and (min-width: 768px) {
  .form-field--align-start {
    align-items: start;
  }
}

.form-field__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .form-field__head {
    width: 180px;
    flex-shrink: 0;
  }
}

@media screen and (min-width: 768px) {
  .form-field__head--padding-bs {
    -webkit-padding-before: 14px;
            padding-block-start: 14px;
  }
}

.form-field__label {
  font-weight: 700;
  line-height: 1.4375;
}

.form-field__tag {
  display: inline-block;
  border-radius: 2px;
  background: #ee8013;
  padding: 6px 8px 5px 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 1.98px;
}

.form-field__item {
  margin-top: 11px;
  flex-grow: 1;
}
@media screen and (min-width: 768px) {
  .form-field__item {
    margin-top: 0;
  }
}

.form-text {
  box-sizing: border-box;
  font: inherit;
  color: inherit;
  vertical-align: top;
  width: 100%;
  border-radius: 5px;
  border: 2px solid #333;
  background: #fff;
  padding: 12px 13px 11px;
  transition: border-color 0.3s;
}
.form-text::-moz-placeholder {
  color: #adadad;
}
.form-text::placeholder {
  color: #adadad;
}
.form-text:focus {
  border-color: #ee8013;
  outline: none;
}

.form-textarea {
  box-sizing: border-box;
  font: inherit;
  color: inherit;
  vertical-align: top;
  border-radius: 5px;
  border: 2px solid #333;
  background: #fff;
  width: 100%;
  height: 180px;
  padding: 13px;
}
.form-textarea::-moz-placeholder {
  color: #adadad;
}
.form-textarea::placeholder {
  color: #adadad;
}
.form-textarea:focus {
  border-color: #ee8013;
  outline: none;
}

.contact-form__button {
  text-align: center;
  -webkit-margin-before: 30px;
          margin-block-start: 30px;
}

.contact__description {
  font-size: 1.3rem;
  -webkit-margin-before: 15px;
          margin-block-start: 15px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .contact__description {
    font-size: 1.4rem;
  }
}

.contact__link {
  color: #0073aa; /* 落ち着いた青色 */
}
@media (hover: hover) {
  .contact__link:hover {
    color: #005177; /* ホバー時の濃い青色 */
    text-decoration: underline; /* ホバー時に下線を表示 */
  }
}

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

.footer__copy {
  font-size: 1.1rem;
  font-family: "Noto Sans JP", sans-serif;
}

.to-top {
  display: inline-block;
  position: fixed;
  inset-inline-end: 20px;
  inset-block-end: 25px;
  block-size: 40px;
  inline-size: 40px;
  background-color: #4a4a4a;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease 0s;
  z-index: 100;
  transform: translateY(10px);
}
@media screen and (min-width: 768px) {
  .to-top {
    inline-size: 50px;
    block-size: 50px;
    inset-inline-end: 30px;
    inset-block-end: 30px;
  }
}
.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (hover: hover) {
  .to-top:hover {
    opacity: 0.7;
  }
}
.to-top::after {
  -webkit-border-start: solid 3px #fff;
          border-inline-start: solid 3px #fff;
  -webkit-border-before: solid 3px #fff;
          border-block-start: solid 3px #fff;
  content: "";
  display: block;
  inline-size: 10px;
  block-size: 10px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  inset-block-start: 5px;
  inset-block-end: 0;
  margin: auto;
  position: absolute;
  transform: rotate(45deg);
}

/************************************
contact-check
************************************/
.contact-check,
.contact-complete {
  text-align: center;
  -webkit-margin-before: 88px;
          margin-block-start: 88px;
  -webkit-padding-before: 10px;
          padding-block-start: 10px;
  -webkit-padding-after: 15px;
          padding-block-end: 15px;
  padding-inline: 15px;
}
.contact-check .contact-form-button,
.contact-complete .contact-form-button {
  -webkit-margin-before: 15px;
          margin-block-start: 15px;
}
.contact-check .error_messe,
.contact-complete .error_messe {
  -webkit-margin-before: 5px;
          margin-block-start: 5px;
  color: red;
}

.contact-check__head {
  font-size: 2rem;
  -webkit-margin-after: 15px;
          margin-block-end: 15px;
}

.contact-check__description {
  -webkit-margin-before: 10px;
          margin-block-start: 10px;
}

.contact-check__table {
  -webkit-margin-before: 10px;
          margin-block-start: 10px;
}

.contact-check__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 10px;
  -moz-column-gap: 20px;
       column-gap: 20px;
  -webkit-margin-before: 15px;
          margin-block-start: 15px;
}

.contact-complete__button {
  -webkit-margin-before: 20px;
          margin-block-start: 20px;
}

/************************************
fade-in アニメーション
************************************/
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s, transform 1s;
}
.fade-in-up.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

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

.fade-in {
  opacity: 0;
  transition: opacity 1s;
}
.fade-in.is-in-view {
  opacity: 1;
}