@charset "UTF-8";
html {
  font-size: 16px;
}

body {
  font-family: "Cabin Sketch", "Noto Sans JP", sans-serif;
}

a[href^="tel:"] {
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: auto;
  }
}

a {
  transition: opacity 0.3s;
}
a:hover {
  opacity: 0.7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: blur(10px);
}

/* フォームリセット */
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type=checkbox],
input[type=radio] {
  display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

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

.header {
  background-color: #3b2701;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}
@media screen and (min-width: 768px) {
  .header {
    position: relative;
    flex-basis: 20.8%;
    padding: 50px 20px;
  }
}

.header__inner {
  position: relative;
}
@media screen and (min-width: 768px) {
  .header__inner {
    width: 160px;
    margin: 0 auto;
    position: sticky;
    top: 50px;
  }
}

.header__logo {
  display: inline-block;
  font-size: clamp(1.25rem, 1.03rem + 0.94vw, 1.875rem);
  color: #fff;
  padding: 14px 24px;
  width: 160px;
}
@media screen and (min-width: 768px) {
  .header__logo {
    letter-spacing: 0.12em;
    line-height: 1;
  }
}

.hamburger {
  position: fixed;
  z-index: 9999;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 30px;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: transform 0.3s;
}

.hamburger span:first-child {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 13px;
  transition: opacity 0.3s;
}

.hamburger span:nth-child(3) {
  top: 27px;
}

.hamburger.is-active span:first-child {
  top: 15px;
  transform: rotate(-45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  top: 15px;
  transform: rotate(45deg);
}

.header__contents {
  display: none;
  height: 100vh;
  border-top: 1px solid #fff;
  padding-top: 60px;
}
@media screen and (min-width: 768px) {
  .header__contents {
    display: block;
    border: none;
  }
}

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

.main {
  flex-basis: 79.2%;
}

.fv__inner {
  height: inherit;
  position: relative;
}

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

.fv__heading-main {
  display: block;
  font-size: 40px;
  letter-spacing: 0.1em;
}

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

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

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

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

.service__item-text {
  margin-top: 10px;
  font-size: 14px;
}

.works {
  background-color: #fafafa;
  background-color: #fff6f2;
}

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

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

.works__item-img img {
  height: auto;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.works__item-name {
  margin-top: 12px;
  font-size: 16px;
  font-weight: bold;
}

.works__item-link {
  margin-top: 6px;
  display: inline-block;
  text-decoration: underline;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .about__container {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
  }
}

.about__img {
  margin-bottom: 32px;
}
.about__img img {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  height: auto;
}

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

.flow {
  background-color: #fafafa;
  background-color: #fff6f2;
}

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

.flow__item {
  position: relative;
  padding: 46px 16px 24px;
  border: 1px solid #4a4a4a;
}
.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;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background-color: #4a4a4a;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -24px;
}

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

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

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

.message__img img {
  height: auto;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.message__text-contents {
  margin-top: 32px;
}

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

.page-bottom {
  color: #fff;
}
@media screen and (min-width: 768px) {
  .page-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-bottom__item {
  padding: 40px;
}
@media screen and (min-width: 768px) {
  .page-bottom__item {
    padding: 54px 10px;
  }
}

.page-bottom__item.page-bottom__item--contact {
  background-color: #4a4a4a;
}

.page-bottom__item.page-bottom__item--twitter {
  background-color: #333;
}

.page-bottom .section__head-main {
  color: #fff;
}

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

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

.section {
  padding: 48px 0;
}

.section__inner {
  padding: 0 32px;
}
@media screen and (min-width: 768px) {
  .section__inner {
    max-width: 880px;
    width: calc(100% - 64px);
    margin: 0 auto;
  }
}

.section__head {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}
@media screen and (min-width: 768px) {
  .section__head {
    margin-bottom: 24px;
  }
}

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

.section__head-main {
  font-size: 40px;
  color: #3b2701;
  font-size: clamp(2.5rem, 2.06rem + 1.88vw, 3.75rem);
  letter-spacing: 0.1em;
}

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

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

.section__contents {
  margin-top: 40px;
}

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

.button.button--bg {
  background-color: #fff;
}
.button.button--bg .button__text {
  color: #4a4a4a;
}
.button.button--bg .button__icon-path {
  fill: #4a4a4a;
}
.button.button--bg:hover {
  opacity: 0.7;
}

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

.button__icon {
  width: 24px;
  display: flex;
  align-items: center;
}

.button__icon-path {
  fill: #fff;
}

.button__text {
  color: #fff;
  margin-left: 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

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