/** @format */
/** @format */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #31572c;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.section__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
@media screen and (max-width: 810px) {
  .section__inner {
    width: 100%;
    padding: 0 20px;
  }
}

.js-fade-in {
  opacity: 0;
  -webkit-transition: opacity 1s ease;
  transition: opacity 1s ease;
  visibility: hidden;
}
.js-fade-in.is-show {
  opacity: 1;
  visibility: visible;
}

/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */
[type=checkbox] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
       appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
       appearance: radio;
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

.firstview {
  position: relative;
  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;
  width: 100%;
  height: 100vh;
  background-color: #faf9f6;
  padding: 80px 40px 0;
  overflow: hidden;
}
@media screen and (max-width: 810px) {
  .firstview {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 100px 20px 0px;
    height: auto;
  }
}

.firstview__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(236, 243, 158, 0.8);
  clip-path: polygon(100% 80px, 100% 100%, 0 100%);
  z-index: 0;
}

.firstview__left {
  position: relative;
  width: 50%;
  height: 100%;
  z-index: 1;
}
.firstview__left img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 810px) {
  .firstview__left {
    min-height: auto;
    width: 100%;
    height: auto;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
}

.firstview__graphic {
  position: absolute;
  width: 100%;
  max-width: 680px;
  bottom: 0;
  left: 0;
}
@media screen and (max-width: 810px) {
  .firstview__graphic {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 0 auto;
  }
}

.firstview__right {
  width: 46%;
  height: 100%;
  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: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  z-index: 1;
}
@media screen and (max-width: 810px) {
  .firstview__right {
    width: 100%;
    height: auto;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}

.firstview__image {
  width: 100%;
}
.firstview__image img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 810px) {
  .firstview__image {
    width: 75%;
  }
}

.firstview__text {
  max-width: 570px;
  margin-top: 40px;
  font-size: clamp(14px, 1.2vw, 16px);
  -webkit-animation: fadeIn 2s ease 0.5s forwards;
          animation: fadeIn 2s ease 0.5s forwards;
  opacity: 0;
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (max-width: 810px) {
  .firstview__text {
    max-width: 500px;
    margin: 40px auto 0;
  }
}

.works {
  position: relative;
  background-color: #faf9f6;
  padding: 60px 0;
}

.works::before {
  content: "";
  background: url("../img/leaf1.png") no-repeat center/cover;
  position: absolute;
  top: -60px;
  right: 40px;
  width: 240px;
  height: 300px;
  z-index: 10;
}
@media screen and (max-width: 810px) {
  .works::before {
    display: none;
  }
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media screen and (max-width: 810px) {
  .works__grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

.works__gridItem {
  border: 1px solid #40916c;
  border-radius: 8px;
  overflow: hidden;
}
.works__gridItem:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.works__gridImg {
  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;
  background: url("../img/worksItem-bg.jpeg") no-repeat center/cover;
  padding: 10px;
  aspect-ratio: 328/180;
}
.works__gridImg img {
  width: auto;
  height: 90%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}

.works__gridTitleWrap {
  background-color: #faf9f6;
  padding: 20px;
}

.works__Category {
  display: inline-block;
  font-size: 12px;
  color: #40916c;
  border: 1px solid #40916c;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 10px;
}

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

.works__btn {
  text-align: center;
  margin-top: 48px;
}

.service {
  background-color: rgba(236, 243, 158, 0.8);
  padding: 60px 0 100px;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media screen and (max-width: 810px) {
  .service__grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
  }
}

.service__gridItem {
  max-width: 330px;
  border: 1px solid #40916c;
  border-radius: 8px;
  background-color: #faf9f6;
  -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
          box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  padding: 40px 32px;
  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: 20px;
}
@media screen and (max-width: 810px) {
  .service__gridItem {
    margin: 0 auto;
  }
}

.service__gridImg {
  height: 110px;
}

.service__gridTitle {
  font-weight: bold;
}

.service__gridText {
  width: 100%;
}

.about {
  background-color: #faf9f6;
  padding: 60px 0 100px;
}

.about .section__inner {
  position: relative;
}

.about .section__inner::before {
  content: "";
  background: url("../img/leaf2.png") no-repeat center/cover;
  position: absolute;
  width: 120px;
  height: 140px;
  top: 80px;
  left: 0;
}
@media screen and (max-width: 810px) {
  .about .section__inner::before {
    top: 80px;
  }
}

.about__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}
@media screen and (max-width: 810px) {
  .about__contents {
    -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;
  }
}

.about__image {
  max-width: 340px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.about__image img {
  width: 100%;
  height: auto;
}

.about__textWrap {
  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-flex: 1;
      -ms-flex: 1;
          flex: 1;
  gap: 40px;
}
@media screen and (max-width: 810px) {
  .about__textWrap {
    max-width: 500px;
  }
}

.about__profile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.about__title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #40916c;
  border: 1px solid #40916c;
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 10px;
}

.about__text {
  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;
}

.about__lastRow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 60px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1002px) {
  .about__lastRow {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 40px;
  }
}

.contact {
  background-color: rgba(236, 243, 158, 0.8);
  padding: 60px 0px;
}

.contact__contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.contact__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;
}

.contact__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email {
  width: 100%;
  background-color: #faf9f6;
  border: 1px solid #40916c;
  padding: 12px;
}

.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  height: 200px;
  background-color: #faf9f6;
  border: 1px solid #40916c;
  padding: 12px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-submit {
  display: block;
  margin: 0 auto;
  color: #faf9f6;
  font-family: Noto sans JP;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  letter-spacing: 0.1em;
  background-color: #40916c;
  padding: 10px 24px;
  border-radius: 8px;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #16a63f;
}

.wpcf7-form p {
  margin-bottom: 24px;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}