@charset "UTF-8";
header a,
nav a,
footer a {
  text-decoration: none;
}

header {
  display: flex;
  width: min(1000px, 100%);
  margin: 0 auto;
  justify-content: space-between;
  margin-top: 30px;
}
@media (width <= 670px) {
  header {
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
  }
}
@media (width <= 1010px) {
  header {
    width: calc(100vw - 20px);
  }
}
header div {
  font-weight: bold;
  text-align: right;
}
@media (width <= 670px) {
  header div #text {
    display: none;
  }
}
header div div {
  display: flex;
  justify-content: end;
  column-gap: 30px;
  margin-top: 15px;
  font-size: clamp(1.438rem, 1.329rem + 0.26vw, 1.563rem);
}
@media (width <= 670px) {
  header div div {
    margin-top: 0;
  }
}
@media (width > 320px) {
  header div div p {
    font-size: clamp(1.125rem, 0.839rem + 1.429vw, 1.438rem);
  }
}
header div div p a::before {
  display: inline-block;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  height: 25px;
  position: relative;
}
header div div p#tel a::before {
  background-image: url(./img/phone.svg);
  width: 25px;
  top: 5px;
}
header div div p#tel a:hover::before {
  background-image: url(./img/phone2.svg);
}
header div div p#mail a::before {
  background-image: url(./img/mail.svg);
  width: 25px;
  top: 10px;
}
header div div p#mail a:hover::before {
  background-image: url(./img/mail2.svg);
}
header h1 + p {
  font-weight: bold;
}
@media (width <= 670px) {
  header h1 + p span {
    display: block;
  }
}
@media (width <= 900px) {
  header h1 + p {
    font-size: clamp(1rem, 0.917rem + 0.37vw, 1.125rem);
  }
}

#inner {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  padding: 15px;
  background: #fff;
}

main {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  width: min(1000px, 100%);
  margin: 0 auto;
  margin-top: 10px;
}
@media (width <= 670px) {
  main {
    row-gap: 15px;
    margin-top: 30px;
  }
}
@media (width <= 1010px) {
  main {
    width: calc(100vw - 40px);
  }
}
main#about h1 {
  background-image: url("./img/image01.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #fff;
  text-shadow: 2px 2px 1px #000;
  text-align: center;
}
main#cases h1 {
  background-image: url("./img/image02.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #fff;
  text-shadow: 2px 2px 1px #000;
  text-align: center;
}
main#contact h1 {
  background-image: url("./img/image03.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #fff;
  text-shadow: 2px 2px 1px #000;
  text-align: center;
}
main p {
  line-height: 1.6;
}
main figure {
  text-align: center;
  border: #000 1px solid;
}
main figcaption {
  margin-top: 10px;
  font-weight: bold;
}
main h1 {
  font-weight: bold;
  font-family: "Lato", sans-serif;
}
main nav {
  display: flex;
  justify-content: center;
}
@media (width <= 670px) {
  main nav {
    margin-top: 0;
    display: none;
  }
}
main nav ul {
  display: flex;
  column-gap: 30px;
  justify-content: center;
}
@media (width <= 670px) {
  main nav ul {
    flex-direction: column;
    column-gap: 0;
  }
}
main nav[aria-hidden=false] {
  display: block;
}
@media (width <= 670px) {
  main nav {
    padding: 10px 0;
    column-gap: 0;
    row-gap: 30px;
    flex-direction: column;
    background-color: #fff;
    border: 0;
    line-height: normal;
    width: 100vw;
    position: fixed;
    top: 55px;
    right: 0;
    animation: fadein ease-in 0.4s;
    padding: 0;
  }
  @keyframes fadein {
    100% {
      opacity: 1;
    }
    0% {
      opacity: 0;
    }
  }
}
main nav li {
  font-family: "Lato";
  font-weight: bold;
}
main nav li:last-child a {
  border: 0;
}
main nav li a {
  position: relative;
  font-size: 30px;
}
main nav li a:hover {
  color: #000;
}
@media (width <= 670px) {
  main nav li a {
    text-align: center;
    font-size: clamp(1.438rem, 1.495rem - 0.286vw, 1.375rem);
    border-bottom: 1px dotted #acac45;
    line-height: 2;
  }
}
main nav li a::before {
  content: "";
  bottom: 0;
  left: 0;
  display: block;
  position: absolute;
  background: #407053;
  width: 100%;
  height: 4px;
  transform: scale(0, 1);
  transition: all 0.5s ease;
}
@media (width <= 670px) {
  main nav li a::before {
    display: none;
  }
}
main nav li a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
main button[type=button] {
  display: none;
}
main button[type=button].active ~ nav {
  display: block;
}
@media (width <= 670px) {
  main button[type=button] {
    --opacity: 1;
    --rotate: 0;
    --translate: 0.5rem;
    display: grid;
    place-items: center;
    position: fixed;
    top: 1%;
    right: 1%;
    align-items: center;
    background-color: #acac45;
    width: 50px;
    aspect-ratio: 1;
    z-index: 10;
  }
}
main button[type=button] span {
  display: block;
  width: 70%;
  height: 2px;
  grid-area: 1/1/-1/-1;
  transition: opacity ease 0.4s, rotate ease 0.4s, translate ease 0.4s;
}
main button[type=button] span:not(#_) {
  background-color: #fff;
  font-size: medium;
  padding: 0;
}
main button[type=button] span:nth-child(1) {
  opacity: var(--opacity);
}
main button[type=button] span:nth-child(2) {
  translate: 0 calc(var(--translate) * -1);
  rotate: var(--rotate);
}
main button[type=button] span:nth-child(3) {
  translate: 0 var(--translate);
  rotate: calc(var(--rotate) * -1);
}
main button[type=button].active {
  --opacity: 0;
  --rotate: 135deg;
  --translate: 0;
}
main#home #copy {
  background-image: url(./img/top.webp);
  font-size: clamp(1.125rem, 0.461rem + 1.571vw, 1.875rem);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #fff;
  text-shadow: 2px 2px 1px #000;
  text-align: center;
}
@media (width <= 50px) {
  main#home #copy {
    background-position: center top;
  }
}
@media (width <= 50px) {
  main#home #copy span {
    display: block;
  }
}
main#home h2 {
  background: linear-gradient(to right, #acac45 0%, #ffffff 100%);
  font-weight: bold;
  font-family: "Lato", sans-serif;
  font-size: 30px;
  padding: 5px;
  color: #fff;
}
@media (width <= 670px) {
  main#home h2 {
    font-size: clamp(1.688rem, 1.833rem - 0.645vw, 1.563rem);
  }
}
main#home section {
  margin: 0;
}
@media (width <= 670px) {
  main#home section#casebox img {
    width: 100%;
  }
}
main#home section#casebox ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 30px;
}
@media (width <= 670px) {
  main#home section#casebox ul {
    flex-direction: column;
    row-gap: 30px;
  }
}
main#home #insta {
  background: none;
  font-size: medium;
  padding: 0;
}
main#home #insta a {
  display: inline;
}
main#home #insta a:hover {
  opacity: 0.7;
}
main#home section .white_box {
  padding: 10px;
}
main#home section .white_box a {
  text-align: center;
  margin-top: 30px;
}
main#home section .white_box a::before {
  content: "";
  display: inline-block;
  background-image: url(./img/triangle.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 7px;
  height: 13px;
}
main#about section {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}
main#about section dl {
  display: flex;
  column-gap: 20px;
  border-bottom: 1px dotted #000;
  padding-bottom: 20px;
}
main#about section dl:last-child {
  border: 0;
}
main#about section dt {
  font-weight: bold;
  width: 6em;
}
main#about section li {
  list-style: disc;
  list-style-position: inside;
}
main#about section {
  margin-top: 30px;
}
main#cases .box {
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 20px;
  margin-top: 20px;
  border-bottom: 1px #000 dotted;
  padding-bottom: 30px;
}
main#cases .box li {
  line-height: 1.5;
}
main#cases .box a {
  display: inline-block;
}
main#cases .box a::after {
  display: inline-block;
  content: "";
  background-image: url(./img/outlink.svg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 10px;
  height: 10px;
}
main#cases .row {
  display: flex;
  column-gap: 20px;
  align-items: center;
  justify-content: center;
}
main#cases .row li {
  line-height: normal;
}
@media (width <= 670px) {
  main#cases .row {
    flex-direction: column;
    row-gap: 20px;
  }
}
main#contact form {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  margin-top: 15px;
}
main#contact label {
  display: block;
}
main#contact dl {
  display: flex;
}
@media (width <= 670px) {
  main#contact dl {
    flex-direction: column;
    row-gap: 5px;
  }
}
main#contact dt {
  width: 13em;
  font-weight: bold;
}
@media (width <= 670px) {
  main#contact dt {
    width: auto;
  }
}
main#contact dd {
  width: 100%;
}
main#contact label {
  font-weight: bold;
}
main#contact input,
main#contact textarea {
  width: 100%;
  border: #000 1px solid;
  padding: 5px;
}
main#contact input:focus,
main#contact textarea:focus {
  background: #ffffdb;
}
main#contact input {
  height: 40px;
}
main#contact input[type=email] {
  font-weight: bold;
}
main#contact button[type=submit] {
  text-align: center;
  background: #407053;
  color: #fff;
  width: 200px;
  height: 60px;
  font-size: 23px;
  margin: 0 auto;
}
main#contact button[type=submit]:hover {
  background: #fff;
  color: #407053;
  border: #407053 1px solid;
  transition: all 0.7 ease;
}
main#contact span {
  font-size: 14px;
  padding: 3px;
  background: red;
  color: #fff;
}
main#contact em {
  color: red;
  margin-top: 5px;
  font-style: normal;
}

@font-face {
  font-style: normal;
  font-family: "Noto Sans JP";
  src: url("./fonts/NotoSansJP-Regular.woff") format("wolf"), url("./fonts/NotoSansJP-Regular.woff") format("wolf2"), url("./fonts/Lato-Black.woff") format("wolf"), url("./fonts/Lato-Black.woff") format("wolf2");
  font-display: swap;
}
html {
  overflow-x: hidden;
  word-wrap: break-word;
}

a {
  display: block;
  text-decoration: underline;
}
a:hover {
  color: #064000;
}

body {
  position: relative;
  height: 100vh;
  max-width: 100%;
  background-image: url("./img/bg.webp");
  background-position: left top;
  background-repeat: repeat;
  background-size: cover;
  font-family: "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", "YuGothic", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 18px;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#page.sub header h1 {
  height: auto;
}
#page.sub h1 {
  height: 200px;
  font-size: clamp(1.438rem, 1.027rem + 2.054vw, 2.875rem);
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: baseline;
}

footer {
  width: 100vw;
  background-image: url("./img/footer.webp");
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 85px;
  margin-top: auto;
}
footer #footer {
  background: linear-gradient(to bottom, #afce00 0%, #8aa400 100%);
  color: #ffffff;
}
footer #infooter {
  display: flex;
  justify-content: space-between;
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 10px;
}
footer address {
  font-style: normal;
}
footer address a {
  display: inline;
}
footer small {
  margin-top: auto;
  font-size: 15px;
}