@charset "UTF-8";

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 904px;
  overflow: hidden;
}

.hero_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero_bg_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero_bg_gradient {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 250, 234, 0.06) 0px, rgba(255, 250, 234, 0.06) 1px, transparent 1px, transparent 10px),
    linear-gradient(to top, rgba(38, 34, 32, 0.95), rgba(38, 34, 32, 0.45) 50%, rgba(38, 34, 32, 0.4));
}

.hero_content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 144px 0 112px;
}

.hero_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero_badge {
  display: inline-flex;
  align-items: center;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero_badge::before,
.hero_badge::after {
  content: "";
  width: 2px;
  height: 38px;
  background-color: var(--c_brown);
}

.hero_badge::before {
  transform: rotate(-35deg);
  margin-right: 24px;
}

.hero_badge::after {
  transform: rotate(35deg);
  margin-left: 24px;
}

.hero_badge_accent {
  color: var(--c_white);
}

.hero_title {
  font-family: var(--font_en);
  font-size: 112px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--c_cream2);
  margin-bottom: 48px;
}

.hero_lead {
  display: block;
  max-width: 672px;
  font-size: 24px;
  font-weight: 700;
  color: #f5efdc;
  line-height: 1.35;
  margin: 20px 0 40px;
}

.hero_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media only screen and (max-width: 1200px) {
  .hero {
    min-height: 784px;
  }

  .hero_title {
    font-size: 80px;
    margin-bottom: 36px;
  }

  .hero_lead {
    font-size: 20px;
  }
}

@media only screen and (max-width: 960px) {
  .hero_content {
    padding: 120px 0 80px;
  }

  .hero_title {
    font-size: 56px;
  }

  .hero_lead {
    font-size: 18px;
    max-width: 100%;
  }
}

@media only screen and (max-width: 568px) {
  .hero {
    min-height: 680px;
  }

  .hero_content {
    padding: 0 20px 40px;
  }

  .hero_badges {
    gap: 8px;
    margin-bottom: 28px;
  }

  .hero_badge {
    font-size: 24px;
  }

  .hero_title {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .hero_lead {
    font-size: 15px;
    line-height: 1.5;
    margin: 12px 0 32px;
    max-width: 100%;
  }

  .hero_buttons {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================================
   Message
   ========================================================================== */
.message {
  position: relative;
  background-color: var(--c_beige);
  background-image: radial-gradient(color-mix(in srgb, var(--c_black) 12%, transparent) 1px, transparent 1px);
  background-size: 9px 9px;
  padding: 80px 0;
}

.message_heading {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c_black);
  max-width: 896px;
  margin-bottom: 40px;
}

.message_body {
  max-width: 768px;
  margin-bottom: 48px;
}

.message_body p {
  font-size: 20px;
  font-weight: 700;
  color: var(--c_text);
  line-height: 1.4;
  margin-bottom: 8px;
}

@media only screen and (max-width: 1200px) {
  .message_heading {
    font-size: 44px;
  }
}

@media only screen and (max-width: 960px) {
  .message {
    padding: 80px 0;
  }

  .message_heading {
    font-size: 34px;
    margin-bottom: 28px;
  }

  .message_body p {
    font-size: 17px;
  }
}

@media only screen and (max-width: 568px) {
  .message {
    padding: 50px 0;
  }

  .message_heading {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .message_body {
    margin-bottom: 32px;
  }

  .message_body p {
    font-size: 15px;
  }
}

/* ==========================================================================
   Service
   ========================================================================== */
.service {
  background-color: #fcfcfa;
  padding: 80px 0;
}

.service_head {
  margin-bottom: 64px;
}

@media only screen and (max-width: 960px) {
  .service {
    padding: 72px 0;
  }

  .service_head {
    margin-bottom: 48px;
  }

  /* SP: show the image before the "詳しく見る" button */
  .service .service_item_body {
    display: contents;
  }

  .service .service_item_head {
    margin: 40px 40px 0;
  }

  .service .service_item_title,
  .service .service_item_lead,
  .service .service_item_desc {
    margin-left: 40px;
    margin-right: 40px;
  }

  .service .service_item_body .btn {
    order: 2;
    margin: 24px 40px 40px;
  }

  .service .service_item_figure {
    order: 1;
  }
}

@media only screen and (max-width: 568px) {
  .service {
    padding: 50px 0;
  }

  .service .service_item_head {
    margin: 0;
  }

  .service .service_item_title,
  .service .service_item_lead,
  .service .service_item_desc {
    margin-left: 0;
    margin-right: 0;
  }

  .service .service_item_body .btn {
    margin: 24px 0 0;
  }
}

/* ==========================================================================
   Works
   ========================================================================== */
.works {
  position: relative;
  background-color: var(--c_beige2);
  padding: 80px 0;
}

.works_head {
  margin-bottom: 64px;
}

.works_list {
  border-top: 4px solid var(--c_black);
  margin-bottom: 48px;
}

.works_item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 24px 0;
  border-bottom: 2px solid rgba(38, 34, 32, 0.7);
}

.works_item_date {
  font-family: var(--font_en);
  font-size: 14px;
  font-weight: 700;
  color: #726c63;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  width: 90px;
}

.works_item_category {
  display: inline-flex;
  align-items: center;
  height: 24.5px;
  padding: 6px 15px 4px;
  background-color: var(--c_brown);
  color: var(--c_white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1;
}

.works_item_title {
  flex: 1 1 320px;
  font-size: 16px;
  font-weight: 700;
  color: #282420;
}

.works_item_new {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px 4px;
  background-color: var(--c_black);
  color: var(--c_white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.works_more {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 56px;
}

.works_stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background-color: var(--c_black);
  border: 4px solid var(--c_black);
}

.works_stat {
  background-color: var(--c_cream);
  padding: 32px;
}

.works_stat_num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.works_stat_num strong {
  font-family: var(--font_en);
  font-size: 72px;
  font-weight: 700;
  color: var(--c_black);
  letter-spacing: -0.01em;
}

.works_stat_num span {
  font-family: var(--font_en);
  font-size: 36px;
  font-weight: 700;
  color: var(--c_brown);
}

.works_stat_label {
  font-size: 14px;
  font-weight: 700;
  color: var(--c_text_light);
}

@media only screen and (max-width: 1200px) {
  .works_stat_num strong {
    font-size: 56px;
  }
}

@media only screen and (max-width: 960px) {
  .works {
    padding: 72px 0;
  }

  .works_head {
    margin-bottom: 48px;
  }

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

  .works_item_date {
    width: auto;
  }
}

@media only screen and (max-width: 568px) {
  .works {
    padding: 50px 0;
  }

  .works_item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .works_item_title {
    flex: none;
    width: 100%;
  }

  .works_stat {
    padding: 20px;
  }

  .works_stat_num strong {
    font-size: 40px;
  }

  .works_stat_num span {
    font-size: 24px;
  }

  .works_more {
    justify-content: flex-start;
  }

  .works_more .btn {
    width: auto;
  }
}


