@charset "utf-8";

/* ==================================================
   Web & Advertising
   business.html の構造・既存ヘッダーを活かした追加ページ
================================================== */

html {
  min-height: 100%;
}

body {
  background-color: #fdfaf7;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}

.fit_main {
  padding: 70px 0 130px;
}

.fit_wrapper {
  max-width: 1180px;
  width: calc(100% - 48px);
  margin: 0 auto;
}

.intro_section {
  margin-bottom: 100px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 20px;
  color: #a89285;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro_section h2 {
  margin-bottom: 24px;
  font-family: "Abril Fatface", cursive;
  font-size: 4.2rem;
  font-weight: 400;
  color: rgb(120, 54, 11);
}

.intro_text {
  max-width: 820px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.5rem;
  line-height: 2;
  text-align: left;
}

.work_section {
  margin-bottom: 120px;
}

.section_heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid #c7c7c7;
}

.section_no {
  min-width: 72px;
  color: #f97046;
  font-family: "Abril Fatface", cursive;
  font-size: 5.2rem;
  line-height: 1;
}

.section_heading h2 {
  margin-bottom: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.section_heading div > p {
  color: #888;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.section_lead {
  margin: -8px 0 30px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  line-height: 1.8;
}

/* Website */
.website_feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: start;
  padding: 36px;
  background-color: #fff;
}

.website_image {
  max-height: 720px;
  overflow: hidden;
  background-color: #f4f4f4;
}

.website_image img {
  width: 100%;
  display: block;
}

.website_text {
  padding: 12px 0;
}

.website_text h3 {
  margin-bottom: 20px;
  color: rgb(120, 54, 11);
  font-size: 2.5rem;
}

.website_text > p {
  margin-bottom: 30px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 2;
}

.work_meta {
  border-top: 1px solid #ddd;
}

.work_meta > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.work_meta dt {
  color: #8f7a6f;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.work_meta dd {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  line-height: 1.7;
}

/* Email Magazine */
.mail_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

.mail_card {
  background-color: #fff;
  padding-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px rgba(92, 69, 55, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mail_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(92, 69, 55, 0.13);
}

.mail_card img {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
  object-position: top;
  background-color: #fff;
  transition: transform 0.5s ease;
}

.mail_card:hover img {
  transform: scale(1.03);
}

.mail_card h3,
.print_grid h3,
.editorial_grid h3,
.other_grid h3 {
  margin: 18px 18px 8px;
  color: #f97046;
  font-size: 1.7rem;
}

.mail_card p,
.print_grid p,
.editorial_grid p,
.other_grid p {
  margin: 0 18px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  line-height: 1.75;
}

/* Banners */
.banner_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.banner_grid img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: contain;
  padding: 12px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(92, 69, 55, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.banner_grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px rgba(92, 69, 55, 0.13);
}

/* DTP */
.print_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.print_grid article,
.editorial_grid article,
.other_grid article {
  padding-bottom: 22px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 20px rgba(92, 69, 55, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.print_grid article:hover,
.editorial_grid article:hover,
.other_grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(92, 69, 55, 0.13);
}

.print_grid img,
.editorial_grid img,
.other_grid img {
  transition: transform 0.5s ease;
}

.print_grid article:hover img,
.editorial_grid article:hover img,
.other_grid article:hover img {
  transform: scale(1.025);
}

.print_grid img {
  width: 100%;
  height: 470px;
  display: block;
  object-fit: contain;
  object-position: top;
  background-color: #eee;
}

/* Editorial */
.editorial_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  align-items: start;
}

.editorial_grid img {
  width: 100%;
  height: 650px;
  display: block;
  object-fit: contain;
  object-position: top;
  background-color: #eee;
}

/* Other */
.other_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  max-width: 900px;
  margin: 0 auto;
}

.other_grid img {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: contain;
  object-position: top;
  background-color: #eee;
}

/* ---------------------------------------
   Tablet
--------------------------------------- */
@media (max-width: 768px) {
  .fit_main {
    padding: 60px 0 100px;
  }

  .fit_wrapper {
    width: calc(100% - 36px);
  }

  .intro_section {
    margin-bottom: 80px;
  }

  .intro_section h2 {
    font-size: 3.5rem;
  }

  .work_section {
    margin-bottom: 90px;
  }

  .website_feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .website_image {
    max-height: 560px;
  }

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

  .mail_card img {
    height: 500px;
  }

  .banner_grid {
    grid-template-columns: 1fr;
  }

  .editorial_grid,
  .other_grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------
   Mobile
--------------------------------------- */
@media (max-width: 560px) {
  .fit_main {
    padding: 45px 0 80px;
  }

  .fit_wrapper {
    width: calc(100% - 28px);
  }

  .intro_section {
    margin-bottom: 65px;
  }

  .intro_section h2 {
    font-size: 3rem;
  }

  .intro_text {
    font-size: 1.35rem;
    line-height: 1.9;
  }

  .work_section {
    margin-bottom: 75px;
  }

  .section_heading {
    gap: 14px;
    margin-bottom: 24px;
  }

  .section_no {
    min-width: 42px;
    font-size: 2.8rem;
  }

  .section_heading h2 {
    font-size: 2.3rem;
  }

  .website_feature {
    padding: 18px;
  }

  .website_text h3 {
    font-size: 2rem;
  }

  .work_meta > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .mail_grid,
  .print_grid,
  .banner_grid,
  .editorial_grid,
  .other_grid {
    grid-template-columns: 1fr;
  }

  .mail_card img {
    height: 560px;
  }

  .banner_grid img {
    height: auto;
  }

  .print_grid img,
  .editorial_grid img,
  .other_grid img {
    height: auto;
    max-height: none;
  }
}
