@charset "utf-8";

:root {
  --color-main: #68461F;
  --color-accent: #2B5B22;
  --color-text: #2d2a26;
  --color-white: #fff;
  --font-mincho: "Shippori Mincho", serif;
  --font-maru: "Zen Maru Gothic", sans-serif;
  --container: 1240px;
  --side-space: 100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-maru);
  line-height: 1.9;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - var(--side-space) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding: 50px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 50px;
  padding: 12px 28px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  transition: opacity .3s, background-color .3s, color .3s;
}

.button:hover {
  opacity: .78;
}

/* header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  font-family: var(--font-mincho);
  color: #fff;
  transition: background-color .3s, color .3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  color: var(--color-main);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .site-header__logo-mark {
  content: url(images/logo-brown.png);
}

.site-header__inner {
  height: 80px;
  padding-inline: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ======================================
Header Logo
====================================== */

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transform: translateY(3px);
  transition: opacity .3s;
}

.site-header__logo:hover {
  opacity: .8;
}

.site-header__logo-mark {
  display: block;
  width: 60px;
  height: auto;
  flex-shrink: 0;
}

.site-header__logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-header__logo-ja {
  display: block;
  font-family: "Shippori Mincho", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  color: inherit;
}

.site-header__logo-en {
  display: block;
  margin-top: 4px;
  font-family: "Shippori Mincho", serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .12em;
  color: inherit;
  text-transform: lowercase;
}

.global-nav {
  display: flex;
  gap: 30px;
  font-size: 1.2rem;
}

.global-nav a {
  transition: opacity .3s;
}

.global-nav a:hover {
  opacity: .65;
}

.site-header__toggle {
  display: none;
}

/* hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}

.hero__slider,
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.4s ease;
}

.hero__image.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(60, 34, 10, .12);
}

.hero__copy {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mincho);
  font-weight: 400;
  letter-spacing: .16em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .16);
}

.hero__copy--center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(26px, 3vw, 46px);
  animation: heroCenter 7s ease both;
}

.hero__copy--left {
  left: var(--side-space);
  top: 30%;
  margin: 0;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: 1.45;
  letter-spacing: .08em;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  will-change: opacity, transform;
  animation: heroLeft 7s cubic-bezier(.22, 1, .36, 1) 4.8s forwards;
}

@keyframes heroCenter {
  0% {
    opacity: 0;
    filter: blur(8px)
  }

  20%,
  60% {
    opacity: 1;
    filter: blur(0)
  }

  100% {
    opacity: 0;
    filter: blur(8px)
  }
}

@keyframes heroLeft {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* ======================================
Section Heading
====================================== */

.section-heading {
  margin-bottom: 60px;
}

.section-heading__title {
  position: relative;

  margin: 0;
  padding-bottom: 8px;

  font-family: var(--font-mincho);
  font-size: clamp(28px, 2.222vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--color-accent);
}

.section-heading__title::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 16px;
  height: 1px;

  background: var(--color-accent);
}

.section-heading__lead {
  margin-top: 8px;

  color: var(--color-main);
  font-family: var(--font-maru);
  font-size: clamp(14px, 1.111vw, 16px);
  line-height: 1.9;
  letter-spacing: .06em;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .section-heading__title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-heading--light .section-heading__title {
  color: #fff;
}

.section-heading--light .section-heading__title::after {
  background: #fff;
}

/* ======================================
About
====================================== */

.about {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.about__bg {
  position: absolute;
  inset: 0;
  background:
    url("images/about-bg.webp") center / cover no-repeat;
}

.about__inner {
  position: relative;
  min-height: 800px;
}

.about__text {
  position: absolute;
  left: 25%;
  top: 45%;
  transform: translate(-50%, -50%);

  width: 366px;
  max-width: 100%;

  font-family: var(--font-mincho);
  line-height: 2;
  letter-spacing: .08em;
}

.about__image {
  position: absolute;
  left: 75%;
  top: 60%;
  transform: translate(-50%, -50%);

  width: 500px;
  height: 500px;
  object-fit: cover;
}

/* ======================================
Service
====================================== */

.service {
  background: #fff;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
  row-gap: 60px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.service-card__title {
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-mincho);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .18em;
  color: var(--color-main);
  white-space: nowrap;
}

.service-card__content {
  width: 499px;
}

.service-card__images {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
}

.service-card__image {
  display: block;
  object-fit: cover;
}

.service-card__image--large {
  width: 320px;
  aspect-ratio: 320 / 224;
}

.service-card__image--small {
  position: static;
  width: 161px;
  aspect-ratio: 161 / 113;
  transform: translateY(36px);
}

.service-card__text {
  max-width: 420px;
  margin-top: 50px;
  font-size: 1.4rem;
  letter-spacing: .02em;
  color: var(--color-main);
}

/* ======================================
Reason
====================================== */

.reason {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.reason.section {
  padding: 0 0 120px;
}

/* 黒背景 */
.reason__panel {
  position: relative;
  width: calc(100% - 200px);
  aspect-ratio: 1240 / 1015;
  margin-right: 200px;
  background:
    url(images/reason-bg.webp) center/cover no-repeat;
  min-height: 685px;
  z-index: 2;
}

.reason__wood {
  position: absolute;
  right: 0;
  top: 20%;
  width: 991px;
  height: 1020px;
  background: url(images/reason-wood.png) center/contain no-repeat;
  z-index: 1;
}

.reason__inner {
  position: relative;
  z-index: 2;

  width: min(calc(100% - 200px), 1020px);
  height: 100%;

  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reason__items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.reason-card {
  width: 300px;
  text-align: center;
  color: #fff;
}

.reason-card__circle {
  width: 300px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}

.reason-card__circle h3 {
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.7;
  letter-spacing: .08em;
  margin: 0;
}

.reason-card p {
  font-family: var(--font-mincho);
  font-size: 1.2rem;
  line-height: 2;
  margin: 0;
  text-align: left;
}

/* resource */

.resource__inner {
  width: min(calc(100% - (var(--side-space) * 2)), var(--container));
  margin: 0 auto;
}

.resource__title {
  margin-bottom: 12px;
  color: var(--color-accent);
  font-family: var(--font-mincho);
  font-size: clamp(32px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 1.5;
}

.resource__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.resource-card__title {
  margin-bottom: 16px;
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.resource-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 320 / 240;
  object-fit: cover;
  margin-bottom: 20px;
}

.resource-card__text {
  color: var(--color-main);
  font-family: var(--font-maru);
  font-size: 16px;
  line-height: 1.9;
}

/* ======================================
Works
====================================== */

.works {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.works__inner {
  width: min(calc(100% - (var(--side-space) * 2)), var(--container));
  margin: 0 auto;
}

.works-slider {
  position: relative;
  width: 100%;
  margin-left: 0;
  overflow: hidden;
}

.works-slider__viewport {
  width: 100%;
  overflow: visible;
}

.works-slider__track {
  display: flex;
  gap: 40px;
  transition: transform .5s ease;
  will-change: transform;
}

.works-slide {
  flex: 0 0 880px;
  width: 880px;
  margin: 0;
}

.works-slide img {
  width: 880px;
  height: 580px;
  object-fit: cover;
}

.works-slider__arrow {
  position: absolute;
  top: 290px;
  z-index: 5;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(104, 70, 31, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  cursor: pointer;
}

.works-slider__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border-top: 2px solid var(--color-main);
  border-right: 2px solid var(--color-main);
}

.works-slider__arrow--prev {
  left: 24px;
}

.works-slider__arrow--next {
  right: 24px;
}

.works-slider__arrow--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.works-slider__arrow--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.works-slider__arrow:hover {
  opacity: .75;
}

.works-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
}

.works-slider__dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #bfbfbf;
  border-radius: 50%;
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.works-slider__dot.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.works__instagram-text {
  margin: 32px 0;
  text-align: center;
  color: var(--color-accent);
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .08em;
}

.instagram-grid {
  width: 660px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 220px);
  grid-auto-rows: 220px;
  justify-content: center;
}

.instagram-card {
  display: block;
  width: 220px;
  height: 220px;
  overflow: hidden;
  background: #f5f0e8;
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .4s ease;
}

.instagram-card:hover img {
  transform: scale(1.04);
  opacity: .86;
}

.works__button-wrap {
  margin-top: 28px;
  text-align: center;
}

.works__button-wrap .button {
  min-width: 240px;
  min-height: 56px;
  padding: 12px 32px;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  letter-spacing: .08em;
}

/* ======================================
Flow
====================================== */

.flow {
  background: #fff;
}

.flow__inner {
  width: min(calc(100% - (var(--side-space) * 2)), var(--container));
  margin: 0 auto;
}

.flow__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-card {
  position: relative;
  flex: 0 0 200px;
}

.flow-card:not(:last-child)::after {
  content: "";
  position: absolute;

  left: calc(100% + 20px);
  top: 50%;

  transform: translate(-50%, -50%);

  width: 0;
  height: 0;

  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--color-main);
}

.flow-card__image {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

/* ======================================
Contact
====================================== */

.contact {
  background: #fff;
}

.contact__inner {
  width: min(calc(100% - (var(--side-space) * 2)), var(--container));
  margin: 0 auto;
}

.contact__box {
  width: 880px;
  max-width: 100%;
  margin: 0 auto;
  padding: 48px 90px 44px;
  border: 1px solid var(--color-main);
  border-radius: 4px;
}

.contact-form {
  width: 560px;
  max-width: 100%;
  margin: 0 auto;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
  color: var(--color-main);
  letter-spacing: .04em;
}

.contact-form__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 24px;
  border: 1px solid var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: .9rem;
  line-height: 1;
}

.contact-form__badge--required {
  background: var(--color-accent);
  color: #fff;
}

.contact-form__badge--optional {
  background: #fff;
  color: var(--color-accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  background: #ddd;
  color: var(--color-text);
  line-height: 1.7;
}

.contact-form input {
  height: 38px;
  padding: 8px 14px;
}

.contact-form textarea {
  height: 160px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(104, 70, 31, .45);
}

.contact-form__note {
  margin: 6px 0 0;
  color: var(--color-main);
  line-height: 1.6;
}

.contact-form__submit {
  margin-top: 34px;
  text-align: center;
}

.contact-form__submit .button {
  min-width: 240px;
  min-height: 52px;
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  letter-spacing: .08em;
}

.contact-form__field--name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__powered {
  margin-top: 18px;
  text-align: center;
  font-size: .9rem;
}

.contact-form__powered a {
  color: #888;
}

/* ======================================
Message
====================================== */

.message {
  background: #fff;
}

.message.section {
  padding: 50px 0 100px;
}

.message__inner {
  width: min(calc(100% - (var(--side-space) * 2)),
      var(--container));
  margin: 0 auto;
}

.message__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

.message__text {
  width: 600px;
  max-width: 100%;
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 1.2rem;
  line-height: 2.05;
  letter-spacing: .08em;
}

.message__body p {
  margin: 0;
}

.message__body p+p {
  margin-top: 20px;
}

.message__signature {
  width: fit-content;
  margin: 30px 0 0 auto;
  text-align: left;
}

.message__photo-wrap {
  flex-shrink: 0;
}

.message__photo {
  width: 310px;
  aspect-ratio: 310 / 381;
  object-fit: cover;
}

/* ======================================
Company
====================================== */

.company {
  background:
    linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25)),
    url(images/company-bg.webp) center / cover no-repeat;
}

.company.section {
  padding: 80px 0 90px;
}

.company__inner {
  width: min(calc(100% - (var(--side-space) * 2)), var(--container));
  margin: 0 auto;
}

.company__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.company__info {
  flex: 1;
}

.company-table {
  margin: 0;
}

.company-table__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid rgba(104, 70, 31, .15);
}

.company-table__row:first-child {
  border-top: 1px solid rgba(104, 70, 31, .15);
}

.company-table dt {
  margin: 0;
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 1.2rem;
  font-weight: 700;
}

.company-table dd {
  margin: 0;
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 2;
}

.company__photo {
  margin: 0;
  flex-shrink: 0;
}

.company__photo img {
  display: block;

  width: 540px;
  aspect-ratio: 540 / 405;

  object-fit: cover;
}

.company__origin {
  margin-top: 20px;
}

.company__origin-link {
  display: inline-block;
  transition: opacity .3s ease;
}

.company__origin-link:hover {
  opacity: .7;
}

.company__origin-link img {
  display: block;
  width: 160px;
  height: auto;
}

/* footer */
.footer {
  background: var(--color-accent);
  padding: 18px 20px;
  text-align: center;
}

.footer small {
  color: #fff;
  font-family: var(--font-mincho);
  font-size: .7rem;
  letter-spacing: .08em;
}

@media (max-width: 1200px) {

  :root {
    --side-space: 40px;
  }

  .site-header__logo {
    gap: 16px;
  }

  .site-header__logo-mark {
    width: 72px;
  }

  .site-header__logo-ja {
    font-size: 2rem;
  }

  .site-header__logo-en {
    font-size: 1rem;
  }

}

@media (max-width: 768px) {

  :root {
    --side-space: 20px;
  }

  .section {
    padding: 72px 0;
  }

  .site-header__inner {
    height: 64px;
    padding-inline: 20px;
  }

  .site-header__toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    background: transparent;
    color: inherit;
  }

  .site-header__toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
  }

  .global-nav {
    position: fixed;
    inset: 64px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 20px 28px;
    background: rgba(255, 255, 255, .96);
    color: var(--color-main);
    transform: translateY(-120%);
    transition: transform .3s;
  }

  .global-nav.is-open {
    transform: translateY(0);
  }

  .global-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(104, 70, 31, .14);
  }

  .site-header__logo {
    gap: 12px;
  }

  .site-header__logo-mark {
    width: 56px;
  }

  .site-header__logo-ja {
    font-size: 1.8rem;
  }

  .site-header__logo-en {
    font-size: .9rem;
  }
}

/* ======================================
Responsive
1024px：縮小維持 / 768px：縦並び
====================================== */

/* tablet landscape */
@media (max-width: 1024px) {
  :root {
    --side-space: 40px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading__title {
    font-size: 28px;
  }

  .site-header__inner {
    padding-inline: 28px;
  }

  .global-nav {
    gap: 18px;
    font-size: 1rem;
  }

  .site-header__logo-mark {
    width: 56px;
  }

  .site-header__logo-ja {
    font-size: 1.6rem;
  }

  .site-header__logo-en {
    font-size: .9rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero__copy--left {
    top: 34%;
  }

  /* about */
  .about__inner {
    min-height: 680px;
  }

  .about__text {
    left: 26%;
    width: 320px;
    font-size: .95rem;
  }

  .about__image {
    left: 74%;
    width: 420px;
    height: 420px;
  }

  /* service */
  .service__grid {
    grid-template-columns: 1fr;
    gap: 64px;
    justify-items: center;
  }

  .service-card {
    width: min(100%, 760px);
  }

  .service-card__content {
    width: 100%;
  }

  .service-card__images {
    max-width: 620px;
  }

  .service-card__image--large {
    width: 68%;
  }

  .service-card__image--small {
    width: 32%;
  }

  .service-card__text {
    font-size: 1rem;
  }

  /* reason */
  .reason.section {
    padding: 0 0 80px;
  }

  .reason__panel {
    width: 100%;
    margin-right: 0;
    min-height: auto;
    aspect-ratio: auto;
    padding: 80px 0;
  }

  .reason__inner {
    width: min(calc(100% - 80px), 920px);
  }

  .reason__items {
    gap: 20px;
  }

  .reason-card {
    width: calc((100% - 40px) / 3);
  }

  .reason-card__circle {
    width: 240px;
    margin: 0 auto 28px;
  }

  .reason-card__circle h3 {
    font-size: 1.35rem;
  }

  .reason-card p {
    font-size: 1rem;
  }

  .reason__wood {
    width: 600px;
    height: 600px;
    right: -180px;
    top: 35%;
    opacity: .65;
  }

  /* resource */
  .resource__items {
    gap: 24px;
  }

  .resource-card__title {
    font-size: 20px;
  }

  .resource-card__text {
    font-size: 14px;
  }

  /* works */
  .works-slide,
  .works-slide img {
    width: calc(100vw - var(--side-space) * 2);
  }

  .works-slide {
    flex-basis: calc(100vw - var(--side-space) * 2);
  }

  .works-slide img {
    height: auto;
    aspect-ratio: 880 / 580;
  }

  .works-slider__arrow {
    top: calc((100vw - var(--side-space) * 2) * 580 / 880 / 2);
  }

  /* flow */
  .flow__items {
    gap: 24px;
  }

  .flow-card {
    flex: 0 0 160px;
  }

  .flow-card__image {
    width: 160px;
    height: 160px;
  }

  .flow-card:not(:last-child)::after {
    left: calc(100% + 12px);
  }

  /* contact */
  .contact__box {
    padding: 44px 56px;
  }

  /* message */
  .message__content {
    gap: 40px;
  }

  .message__text {
    width: 500px;
    font-size: 1.05rem;
  }

  .message__photo {
    width: 280px;
  }

  /* company */
  .company__content {
    gap: 40px;
  }

  .company__photo img {
    width: 420px;
  }
}

/* tablet portrait / smartphone */
@media (max-width: 768px) {
  :root {
    --side-space: 20px;
  }

  body {
    line-height: 1.8;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading__title {
    font-size: 22px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero {
    height: 100svh;
    min-height: 560px;
  }

  .hero__copy--center {
    width: 100%;
    text-align: center;
    font-size: 24px;
  }

  .hero__copy--left {
    top: 32%;
    font-size: clamp(44px, 16vw, 64px);
  }

  /* about */
  .about__inner {
    min-height: auto;
    padding: 88px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__text,
  .about__image {
    position: static;
    transform: none;
  }

  .about__text {
    width: auto;
    font-size: .95rem;
  }

  .about__image {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 1;
    margin-inline: auto;
  }

  /* service */
  .service.section {
    padding: 30px 0;
  }

  .service__grid {
    gap: 20px;
  }

  .service-card {
    display: block;
    width: 100%;
  }

  .service-card__title {
    writing-mode: horizontal-tb;
    margin-bottom: 8px;
    font-size: 1.2rem;
    letter-spacing: .08em;
  }

  .service-card__images {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    max-width: 620px;
  }

  .service-card__image--large {
    width: 68%;
  }

  .service-card__image--small {
    width: 32%;
    transform: translateY(18px);
  }

  .service-card__text {
    max-width: none;
    margin-top: 32px;
    font-size: 1rem;
  }

  /* reason */
  .reason.section {
    padding: 30px 0;
  }

  .reason__panel {
    padding: 48px 0;
  }

  .reason__inner {
    width: min(calc(100% - var(--side-space) * 2), 520px);
  }

  .reason__items {
    flex-direction: column;
    gap: 20px;
  }

  .reason-card {
    display: block;
    width: 100%;
  }

  .reason-card__circle {
    width: min(240px, 72vw);
    margin: 0 auto 24px;
  }

  .reason-card__circle h3 {
    font-size: 1.35rem;
  }

  .reason-card p {
    font-size: 1rem;
    text-align: left;
  }

  .reason__wood {
    width: 88vw;
    height: 88vw;
    right: -35vw;
    top: auto;
    bottom: -20vw;
  }

  /* resource */
  .resource.section {
    padding: 30px 0;
  }

  .resource__items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .resource-card {
    display: block;
  }

  .resource-card__title {
    font-size: 1.2rem;
    margin: 8px 0;
  }

  .resource-card__text {
    font-size: 1rem;
  }

  /* works */
  .works.section {
    padding: 30px 0;
  }

  .works-slider__arrow {
    width: 44px;
    height: 44px;
  }

  .works-slider__arrow--prev {
    left: 10px;
  }

  .works-slider__arrow--next {
    right: 10px;
  }

  .works__instagram-text {
    font-size: 1.25rem;
  }

  .instagram-grid {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
  }

  .instagram-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .works__button-wrap .button {
  font-size: 1rem;
}

  /* flow */
  .flow.section {
    padding: 30px 0;
  }

  .flow__items {
    flex-direction: column;
    gap: 48px;
  }

  .flow-card {
    flex: none;
  }

  .flow-card:not(:last-child)::after {
    left: 50%;
    top: calc(100% + 24px);
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .flow-card__image {
    width: 180px;
    height: 180px;
  }

  /* contact */
  .contact.section {
    padding: 30px 0;
  }

  .contact__box {
    padding: 30px 20px;
  }

  .contact-form__row {
    display: block;
    margin-bottom: 20px;
  }

  .contact-form__label {
    margin-bottom: 8px;
    padding-top: 0;
  }

  .contact-form__field--name {
    gap: 10px;
  }

  .contact-form input {
    height: 44px;
  }

  .contact-form textarea {
    height: 180px;
  }

  .contact-form__submit .button {
  font-size: 1rem;
}

  /* message */
  .message.section {
    padding: 30px 0;
  }

  .message__content {
    flex-direction: column;
    gap: 36px;
    align-items: center;
  }

  .message__text {
    width: 100%;
    max-width: 600px;
    font-size: 1rem;
  }

  .message__text br {
    display: none;
  }

  .message__photo-wrap {
    width: 100%;
  }

  .message__photo {
    width: min(340px, 100%);
    margin-inline: auto;
  }

  /* company */
  .company.section {
    padding: 30px 0;
  }

  .company__content {
    flex-direction: column;
    gap: 36px;
    align-items: flex-start;
  }

  .company__info,
  .company__photo {
    width: 100%;
  }

  .company__photo img {
    width: 100%;
  }

  .company-table__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }

  .company-table dt,
  .company-table dd {
    font-size: 1rem;
  }
}

/* small smartphone */
@media (max-width: 480px) {
  .site-header__logo-mark {
    width: 46px;
  }

  .site-header__logo-ja {
    font-size: 1.35rem;
  }

  .site-header__logo-en {
    font-size: .75rem;
  }

  .hero__copy--left {
    top: 36%;
  }

  .service-card__images {
    display: block;
  }

  .service-card__image--large,
  .service-card__image--small {
    width: 100%;
  }

  .service-card__image--small {
    margin-top: 12px;
    transform: none;
  }

  .service-card__text {
    margin: 8px 0;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form__field--name {
    grid-template-columns: 1fr;
  }

  .flow-card__image {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 1024px) {
  .reason__wood {
    display: none;
  }
}

@media (min-width: 1025px) {
  .reason__wood {
    position: absolute;
    top: auto;

    right: 0;
    bottom: calc(-220 / 1440 * 100vw);

    width: calc(991 / 1440 * 100vw);
    height: calc(1020 / 1440 * 100vw);

    background: url(images/reason-wood.png) center / contain no-repeat;
    z-index: 1;
    pointer-events: none;
  }
}

@media (max-width: 1024px) {
  .reason__wood {
    display: none;
  }
}