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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
fieldset, legend {
  margin: 0;
}

ul[class],
ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

address {
  font-style: normal;
}

table {
  border-collapse: collapse;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #23201c;
  background-color: #dcc69d;
  background-image: url("../img/bg-craft.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (hover: none) {
  body {
    background-attachment: scroll;
  }
}

a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover {
  opacity: 0.75;
}

:focus-visible {
  outline: 3px solid #2e4a47;
  outline-offset: 2px;
}

.icon {
  width: 1.7em;
  height: 1.7em;
  flex-shrink: 0;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

.section {
  position: relative;
  padding-block: 70px;
}
@media (max-width: 768px) {
  .section {
    padding-block: 56px;
  }
}
.section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: clamp(200px, 30%, 400px);
  height: 7px;
  border-radius: 2px;
  background-color: #922f00;
}

.section__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
@media (max-width: 600px) {
  .section__inner {
    padding-inline: 20px;
  }
}

.section__inner--narrow {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}
@media (max-width: 600px) {
  .section__inner--narrow {
    padding-inline: 20px;
  }
}

.section__inner--field {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}
@media (max-width: 600px) {
  .section__inner--field {
    padding-inline: 20px;
  }
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block-end: clamp(16px, 2vw, 30px);
}
.section-heading--center {
  align-items: center;
  text-align: center;
}
.section-heading--flush {
  padding-block-end: 0;
}

.section-heading__eyebrow {
  font-size: clamp(14px, 1.56vw, 16px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  padding-inline: 0.2em;
  color: #922f00;
  text-transform: lowercase;
}
.section-heading__eyebrow--green {
  color: #2e4a47;
  text-transform: uppercase;
}

.section-heading__title {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.4;
  color: #000000;
}
@media (max-width: 600px) {
  .section-heading__title {
    font-size: 22px;
  }
}

.section-heading__description {
  font-size: 16px;
}

.site-header {
  padding: 60px 24px 0;
}
@media (max-width: 768px) {
  .site-header {
    padding: 24px 24px 0;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 20px 20px 0;
  }
}

.site-header__utilities {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  width: 100%;
}
@media (max-width: 600px) {
  .site-header__utilities {
    gap: 12px;
  }
}

.site-header__instagram {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background: #c2603b;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.site-header__instagram .icon {
  width: 36px;
  height: 36px;
  aspect-ratio: 1/1;
}
@media (max-width: 600px) {
  .site-header__instagram {
    width: 44px;
    height: 44px;
  }
  .site-header__instagram .icon {
    width: 26px;
    height: 26px;
  }
}

.site-footer {
  flex-shrink: 0;
  border-block-start: 1px solid #922f00;
  padding: 50px 24px 20px;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 20px;
  }
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "logo    nav" "address nav";
  gap: 20px 40px;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  margin-block-end: 40px;
}
@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "nav" "address";
    gap: 28px;
    margin-block-end: 28px;
  }
}

.site-footer__logo {
  grid-area: logo;
  justify-self: start;
  line-height: 0;
}

.site-footer__logo-img {
  width: min(180px, 55vw);
}

.site-footer__address {
  grid-area: address;
  font-size: clamp(18px, 1.76vw, 20px);
  line-height: 1.7;
}
@media (max-width: 600px) {
  .site-footer__address {
    font-size: 16px;
  }
}

.site-footer__tel {
  text-decoration: underline;
}

.site-footer__nav {
  grid-area: nav;
  align-self: start;
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
}
.site-footer__nav-list a {
  text-decoration: none;
}
@media (max-width: 768px) {
  .site-footer__nav-list li {
    display: flex;
    align-items: center;
    gap: 0.5em;
  }
}
@media (max-width: 768px) {
  .site-footer__nav-list li::before {
    content: "";
    flex-shrink: 0;
    width: 0.4em;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #922f00;
  }
}

.site-footer__instagram {
  font-weight: 400;
}

.site-footer__copyright {
  font-size: 14px;
  text-align: center;
  color: #000;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button--contact {
  padding: 0.8em 1em;
  border-radius: 30px;
  background: #2e4a47;
  color: #fff;
  font-size: clamp(18px, 1.76vw, 20px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.25));
}
@media (max-width: 600px) {
  .button--contact {
    font-size: 14px;
  }
}

.button--search {
  padding: 12px 28px;
  border-radius: 100px;
  background: #2e4a47;
  color: #fff;
  font-weight: 700;
}

.project-card {
  display: flex;
}
@media (max-width: 1024px) {
  .project-card {
    width: 100%;
    max-width: 450px;
  }
}

.project-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 16px;
  background: #ffffff;
  border: 4px solid #922f00;
  border-radius: 25px;
}

.project-card__logo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(60px, 5.1vw, 90px);
  padding-inline: 20px;
}
.project-card__logo > picture {
  height: 100%;
}

.project-card__logo-img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.project-card__name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-inline: 0.5em;
  padding: 0.2em 0.1em;
  background: #922f00;
  color: #fff;
  font-size: clamp(18px, 1.76vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
@media (max-width: 1240px) {
  .project-card__name {
    font-size: 18px;
  }
}

.project-card__description {
  flex: 1 0 auto;
  font-size: 16px;
  line-height: 1.62;
}

.project-card__links {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 24px;
  padding-inline-end: 24px;
}
.project-card__links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #23201c;
  text-decoration: none;
}
.project-card__links .icon--instagram {
  width: 37px;
  height: 37px;
}
.project-card__links .icon--external {
  width: 33px;
  height: 33px;
}

.teramachi-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 40px;
  background: #ffffff;
  border: 1px solid #23201c;
  border-radius: 12px;
}
@media (max-width: 768px) {
  .teramachi-form {
    padding: 28px 24px;
  }
}
@media (max-width: 600px) {
  .teramachi-form {
    padding: 24px 16px;
  }
}

.teramachi-form .tf-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
@media (max-width: 600px) {
  .teramachi-form .tf-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.teramachi-form .tf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.teramachi-form .tf-field[hidden] {
  display: none;
}

.teramachi-form .tf-field--other {
  margin-block-start: -6px;
  padding-inline-start: 14px;
  border-inline-start: 2px solid #dac296;
}

.teramachi-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #23201c;
}

.teramachi-form .tf-required,
.teramachi-form .tf-optional {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.teramachi-form .tf-required {
  background: #922f00;
}

.teramachi-form .tf-optional {
  background: #9e998c;
}

.teramachi-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.teramachi-form input[type=text],
.teramachi-form input[type=email],
.teramachi-form input[type=tel],
.teramachi-form input[type=url],
.teramachi-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fcfbf9;
  border: 1px solid #23201c;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.4;
  color: #23201c;
}
.teramachi-form input[type=text]::placeholder,
.teramachi-form input[type=email]::placeholder,
.teramachi-form input[type=tel]::placeholder,
.teramachi-form input[type=url]::placeholder,
.teramachi-form textarea::placeholder {
  color: #9e998c;
  opacity: 1;
}

.teramachi-form input[type=text],
.teramachi-form input[type=email],
.teramachi-form input[type=tel],
.teramachi-form input[type=url] {
  height: 46px;
}

.teramachi-form textarea {
  min-height: 80px;
  resize: vertical;
}

.teramachi-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.teramachi-form .wpcf7-list-item {
  margin: 0;
}

.teramachi-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 2px;
  font-size: 16px;
  font-weight: 400;
  color: #33302b;
  cursor: pointer;
}

.teramachi-form input[type=radio] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  border: 1px solid #23201c;
  border-radius: 50%;
  background: #fcfbf9;
  cursor: pointer;
}
.teramachi-form input[type=radio]:checked {
  border-color: #922f00;
  background: radial-gradient(circle, #922f00 0 45%, #fcfbf9 50% 100%);
}

.teramachi-form .tf-submit {
  display: flex;
  justify-content: center;
  margin: 8px 0 0;
}

.teramachi-form .wpcf7-submit {
  padding: clamp(4px, 0.6vw, 10px) clamp(20px, 3vw, 48px);
  background: #ffffff;
  border: 3px solid #2e4a47;
  border-radius: 100px;
  color: #2e4a47;
  font-size: clamp(18px, 1.76vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.teramachi-form .wpcf7-submit:hover, .teramachi-form .wpcf7-submit:focus-visible {
  background: #2e4a47;
  color: #fff;
}
.teramachi-form .wpcf7-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.teramachi-form .wpcf7-not-valid-tip {
  margin-block-start: 4px;
  color: #922f00;
  font-size: 14px;
  font-weight: 700;
}

.teramachi-form .wpcf7-form-control.wpcf7-not-valid {
  border-color: #922f00;
  border-width: 2px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-width: 2px;
  border-radius: 5px;
  font-size: 16px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #922f00;
  color: #922f00;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e4a47;
  color: #2e4a47;
}

.teramachi-form .wpcf7-spinner {
  display: none;
  visibility: hidden;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.wpcf7 .tf-recaptcha-note {
  margin: 0.8em 0 0;
  font-size: 12px;
  line-height: 1.75;
  text-align: center;
}
.wpcf7 .tf-recaptcha-note a {
  color: inherit;
  text-decoration: underline;
}

.entry,
.no-results {
  padding: 40px 24px;
  background: #ffffff;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .entry,
  .no-results {
    padding: 28px 20px;
  }
}

.entry__meta {
  font-size: 16px;
  color: #9e998c;
}

.entry__thumbnail {
  margin-block-end: 24px;
}
.entry__thumbnail img {
  width: 100%;
  border-radius: 5px;
}

.entry__content {
  font-size: 16px;
  line-height: 1.75;
}
.entry__content > * + * {
  margin-block-start: 1.5em;
}
.entry__content a {
  text-decoration: underline;
}
.entry__content h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}
.entry__content h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.entry__content ul,
.entry__content ol {
  padding-inline-start: 1.5em;
}
.entry__content img {
  border-radius: 5px;
}

.entry-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.entry-card {
  background: #ffffff;
  border: 1px solid #dac296;
  border-radius: 12px;
  overflow: hidden;
}

.entry-card__link {
  display: block;
  text-decoration: none;
}

.entry-card__thumbnail img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.entry-card__body {
  padding: 20px;
}

.entry-card__date {
  font-size: 14px;
  color: #9e998c;
}

.entry-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-block: 4px 8px;
}

.entry-card__excerpt {
  font-size: 16px;
  line-height: 1.62;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-block-start: 40px;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 12px;
  background: #ffffff;
  border: 1px solid #dac296;
  border-radius: 5px;
  text-decoration: none;
}
.pagination .page-numbers.current {
  background: #922f00;
  border-color: #922f00;
  color: #fff;
}

.search-form {
  display: flex;
  gap: 8px;
  margin-block: 24px;
}

.search-form__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  background: #fcfbf9;
  border: 1px solid #23201c;
  border-radius: 5px;
  font-size: 16px;
}

.fv {
  position: relative;
  padding-block: 70px;
}
@media (max-width: 768px) {
  .fv {
    padding-block: 70px 40px;
  }
}
.fv::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: clamp(200px, 30%, 400px);
  height: 7px;
  border-radius: 2px;
  background-color: #922f00;
}

.fv__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}
@media (max-width: 600px) {
  .fv__inner {
    padding-inline: 20px;
  }
}
@media (max-width: 1024px) {
  .fv__inner {
    flex-direction: column;
    align-items: center;
    padding-inline: 20px;
  }
}

.fv__title {
  flex-shrink: 0;
  margin: 0;
  line-height: 0;
}
@media (max-width: 1024px) {
  .fv__title {
    width: 240px;
  }
}

.fv__logo-img {
  width: min(318px, 70vw);
}

.fv__about {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block-end: 30px;
}
@media (max-width: 1024px) {
  .fv__about {
    padding-block-end: 0;
  }
}

.fv__about-text {
  font-size: 18px;
  line-height: 1.67;
}
@media (max-width: 600px) {
  .fv__about-text {
    font-size: 16px;
    padding-right: 12px;
  }
}

section#projects {
  padding-block: clamp(40px, 4.37vw, 70px) clamp(50px, 6.25vw, 100px);
}
section#projects .section__inner {
  padding: 0 20px;
}
@media (max-width: 1024px) {
  section#projects {
    margin-inline: auto;
    max-width: 800px;
  }
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) {
  .project-list {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.section--contact {
  padding-block: 100px 70px;
}
@media (max-width: 1024px) {
  .section--contact {
    padding-inline: 16px;
  }
}
@media (max-width: 768px) {
  .section--contact {
    padding-block: 64px 56px;
  }
}

.contact-card {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 40px 24px 70px;
  background: #ffffff;
  border-radius: 7px;
}
@media (max-width: 768px) {
  .contact-card {
    padding: 32px 20px 48px;
  }
}

.contact-card__lead {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  margin-block-end: 20px;
  font-size: 14px;
  line-height: 1.75;
}
.contact-card__lead > p + p {
  margin-block-start: 0.4em;
}

.contact-card__tel {
  font-weight: 700;
}

.contact-card__tel-link {
  text-decoration: underline;
}

.contact-card__notice {
  max-width: 800px;
  margin-inline: auto;
  padding: 16px;
  border: 1px solid #922f00;
  border-radius: 5px;
  color: #922f00;
}

.contact-card__form {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.section--message {
  padding-block: 90px;
}
@media (max-width: 768px) {
  .section--message {
    padding-block: 64px;
    margin-inline: 20px;
  }
}
@media (max-width: 600px) {
  .section--message {
    padding-block: 48px;
  }
}
.section--message .section__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.message__body {
  line-height: 1.9;
}
.message__body p + p {
  margin-block-start: 1.9em;
}

.message__signature {
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
}
@media (max-width: 600px) {
  .message__signature {
    text-align: left;
  }
}

.sp-only {
  display: none !important;
}
@media (max-width: 768px) {
  .sp-only {
    display: revert !important;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: #2e4a47;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}

/*# sourceMappingURL=main.css.map */
