/* =========================================================
   みずほ美装
   FRONT PAGE COMPLETE STYLE
   FULL WIDTH / ZERO GAP VERSION
   2026.09
========================================================= */


/* =========================================================
   01. FRONT PAGE BASE
========================================================= */

body.home {
  background: #ffffff;
  color: #222222;
}


/* =========================================================
   02. SWELL DEFAULT SPACE RESET
   ヘッダーからHEROまでの余白をなくす
========================================================= */

body.home .l-header {
  margin-bottom: 0 !important;
}

body.home .l-header + .l-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .l-content,
body.home #content,
body.home .l-container,
body.home #main_content,
body.home .l-mainContent,
body.home .l-mainContent__inner,
body.home .post_content,
body.home .entry-content {
  width: 100%;
  max-width: none;

  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* ページタイトル領域 */

body.home .p-articleHead {
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.home .p-articleHead:empty {
  display: none !important;
}


/* Gutenberg / カスタムHTMLブロック余白 */

body.home .post_content > .wp-block-html,
body.home .entry-content > .wp-block-html {
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  padding-top: 0 !important;
  padding-bottom: 0 !important;
}


/* 最初の要素 */

body.home .post_content > *:first-child,
body.home .entry-content > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* 画像下の微妙な隙間を防止 */

body.home img {
  vertical-align: bottom;
}


/* =========================================================
   03. COMMON TYPOGRAPHY
========================================================= */

.mz-front-eyebrow {
  margin: 0 0 22px;
  padding: 0;

  font-size: 9px;
  line-height: 1.5;

  font-weight: 500;

  letter-spacing: .22em;

  color: #858580;
}


/* =========================================================
   04. COMMON LINK
========================================================= */

.mz-front-link {
  display: inline-flex;
  align-items: center;

  gap: 16px;

  width: fit-content;

  padding: 0 0 7px;

  border-bottom: 1px solid #777773;

  font-size: 12px;
  line-height: 1.5;

  font-weight: 400;

  letter-spacing: .07em;

  color: #333330 !important;

  text-decoration: none !important;

  transition:
    gap .3s ease,
    opacity .3s ease;
}

.mz-front-link span {
  font-size: 14px;
  line-height: 1;
}

.mz-front-link:hover {
  gap: 23px;
  opacity: .55;
}


/* =========================================================
   05. HERO
========================================================= */

.mz-front-hero {
  position: relative;

  width: 100vw;

  height: 740px;
  min-height: 740px;

  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw) !important;

  padding: 0 !important;

  overflow: hidden;

  background: #eeeeec;
}


/* =========================================================
   06. HERO IMAGE
========================================================= */

.mz-front-hero__image {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}

.mz-front-hero__image img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
  object-position: center center;
}


/* 左側の文字を読みやすくするグラデーション */

.mz-front-hero__image::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.90) 21%,
      rgba(255,255,255,.60) 40%,
      rgba(255,255,255,.12) 62%,
      rgba(255,255,255,0) 76%
    );
}


/* =========================================================
   07. HERO CONTENT
========================================================= */

.mz-front-hero__content {
  position: relative;

  z-index: 2;

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

  width: min(1380px, calc(100% - 100px));

  height: 740px;
  min-height: 740px;

  margin: 0 auto;
}


/* =========================================================
   08. HERO TITLE
========================================================= */

.mz-front-hero__title {
  margin: 0 0 34px !important;
  padding: 0 !important;

  border: 0 !important;

  background: transparent !important;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;

  font-size: clamp(48px, 4.9vw, 74px);

  line-height: 1.36;

  font-weight: 400;

  letter-spacing: .07em;

  color: #222222;
}


/* =========================================================
   09. HERO LEAD
========================================================= */

.mz-front-hero__lead {
  margin: 0 0 40px;
  padding: 0;

  font-size: 14px;
  line-height: 2;

  font-weight: 400;

  letter-spacing: .08em;

  color: #555552;
}


/* =========================================================
   10. FULL WIDTH EDITORIAL SECTIONS
========================================================= */

.mz-front-section {
  position: relative;

  display: block;

  width: 100vw;

  height: 720px;

  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw) !important;

  padding: 0 !important;

  overflow: hidden;

  background: #eeeeeb;
}


/* HERO → ABOUT も余白なし */

.mz-front-hero + .mz-front-section {
  margin-top: 0 !important;
}


/* ABOUT → WORKS → SERVICE → COLOR も余白なし */

.mz-front-section + .mz-front-section {
  margin-top: 0 !important;
}


/* =========================================================
   11. FULL WIDTH IMAGE
========================================================= */

.mz-front-section__image {
  position: absolute;

  inset: 0;

  z-index: 1;

  width: 100%;
  height: 100%;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;

  background: #ececea;
}

.mz-front-section__image img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: cover;
  object-position: center center;

  transition: transform 1.2s ease;
}


/* ごくわずかなズーム */

.mz-front-section:hover .mz-front-section__image img {
  transform: scale(1.012);
}


/* =========================================================
   12. TEXT PANEL
========================================================= */

.mz-front-section__content {
  position: absolute;

  z-index: 3;

  top: 50%;

  width: min(520px, 38vw);

  padding: 62px 64px;

  box-sizing: border-box;

  transform: translateY(-50%);

  background: rgba(255,255,255,.94);

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}


/* ABOUT / SERVICE → 右側 */

.mz-front-section--image-left .mz-front-section__content {
  right: max(5vw, calc((100vw - 1500px) / 2));
  left: auto;

  border-left: 1px solid rgba(0,0,0,.035);
}


/* WORKS / COLOR → 左側 */

.mz-front-section--image-right .mz-front-section__content {
  left: max(5vw, calc((100vw - 1500px) / 2));
  right: auto;

  border-right: 1px solid rgba(0,0,0,.035);
}


/* =========================================================
   13. SECTION NUMBER
========================================================= */

.mz-front-number {
  display: flex;
  align-items: center;

  gap: 12px;

  margin: 0 0 34px;
  padding: 0;

  color: #999993;
}

.mz-front-number span {
  font-size: 9px;

  letter-spacing: .14em;
}

.mz-front-number i {
  display: block;

  width: 34px;
  height: 1px;

  background: #c6c5bf;
}


/* =========================================================
   14. SECTION TITLE
========================================================= */

.mz-front-section__title {
  margin: 0 0 29px !important;
  padding: 0 !important;

  border: 0 !important;

  background: transparent !important;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;

  font-size: clamp(37px, 3.3vw, 54px);

  line-height: 1.45;

  font-weight: 400;

  letter-spacing: .065em;

  color: #222222;
}


/* =========================================================
   15. SECTION TEXT
========================================================= */

.mz-front-section__text {
  margin: 0 0 33px;
  padding: 0;

  font-size: 13px;
  line-height: 2.05;

  font-weight: 400;

  letter-spacing: .05em;

  color: #5c5c58;
}


/* =========================================================
   16. SERVICE LIST
========================================================= */

.mz-front-service-list {
  display: flex;

  flex-wrap: wrap;

  gap: 9px 20px;

  margin: -2px 0 31px;
}

.mz-front-service-list span {
  position: relative;

  display: inline-block;

  padding-left: 13px;

  font-size: 8px;
  line-height: 1.5;

  font-weight: 500;

  letter-spacing: .18em;

  color: #858580;
}

.mz-front-service-list span::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 6px;
  height: 1px;

  background: #aaa9a4;

  transform: translateY(-50%);
}


/* =========================================================
   17. JOURNAL
========================================================= */

.mz-front-journal {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(320px, .65fr);

  column-gap: 72px;

  width: min(1380px, calc(100% - 100px));

  margin: 150px auto 130px;

  padding-top: 68px;

  border-top: 1px solid #ddddda;
}


/* =========================================================
   18. JOURNAL HEADER
========================================================= */

.mz-front-journal__head {
  grid-column: 1 / -1;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 40px;

  margin-bottom: 60px;
}

.mz-front-journal__title {
  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;

  background: transparent !important;

  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;

  font-size: 44px;

  line-height: 1.3;

  font-weight: 400;

  letter-spacing: .07em;

  color: #222222;
}


/* =========================================================
   19. JOURNAL LABEL
========================================================= */

.mz-front-journal__label {
  display: flex;

  align-items: baseline;

  gap: 13px;

  margin-bottom: 22px;
}

.mz-front-journal__label span {
  font-size: 8px;

  font-weight: 500;

  letter-spacing: .20em;

  color: #999993;
}

.mz-front-journal__label strong {
  font-size: 13px;

  font-weight: 500;

  letter-spacing: .05em;

  color: #333330;
}


/* =========================================================
   20. FEATURED
========================================================= */

.mz-front-journal__pickup {
  min-width: 0;

  padding-right: 10px;
}

.mz-front-journal__pickup-post {
  width: 100%;
}

.mz-front-journal__pickup-post .p-postList {
  margin: 0;
}

.mz-front-journal__pickup-post .p-postList__item {
  margin: 0;

  box-shadow: none !important;
}

.mz-front-journal__pickup-post .p-postList__thumb {
  border-radius: 0 !important;

  overflow: hidden;

  box-shadow: none !important;
}

.mz-front-journal__pickup-post img {
  border-radius: 0 !important;
}


/* =========================================================
   21. NEWS
========================================================= */

.mz-front-journal__new {
  min-width: 0;

  padding-left: 42px;

  border-left: 1px solid #e1e1dd;
}

.mz-front-journal__new-posts {
  width: 100%;
}

.mz-front-journal__new-posts .p-postList {
  margin: 0;
}

.mz-front-journal__new-posts .p-postList__item {
  padding-top: 14px;
  padding-bottom: 14px;

  border-bottom: 1px solid #e4e4e0;

  box-shadow: none !important;
}

.mz-front-journal__new-posts .p-postList__item:first-child {
  padding-top: 0;
}

.mz-front-journal__new-posts .p-postList__thumb {
  border-radius: 0 !important;

  box-shadow: none !important;
}

.mz-front-journal__new-posts img {
  border-radius: 0 !important;
}


/* =========================================================
   22. POST LIST CLEANUP
========================================================= */

.mz-front-journal .p-postList__body {
  background: transparent !important;
}

.mz-front-journal .p-postList__title {
  font-weight: 500;

  line-height: 1.65;

  letter-spacing: .035em;

  color: #333330;
}

.mz-front-journal .p-postList__times {
  font-size: 9px;

  color: #999993;
}


/* =========================================================
   23. TABLET
========================================================= */

@media (max-width: 1100px) {

  .mz-front-hero {
    height: 680px;
    min-height: 680px;
  }

  .mz-front-hero__content {
    width: calc(100% - 64px);

    height: 680px;
    min-height: 680px;
  }


  .mz-front-section {
    height: 640px;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }


  .mz-front-section + .mz-front-section {
    margin-top: 0 !important;
  }


  .mz-front-section__content {
    width: 44vw;

    padding: 52px 46px;
  }


  .mz-front-section__title {
    font-size: 40px;
  }


  .mz-front-journal {
    width: calc(100% - 64px);

    column-gap: 48px;

    margin-top: 120px;
    margin-bottom: 105px;
  }


  .mz-front-journal__new {
    padding-left: 30px;
  }

}


/* =========================================================
   24. SMALL TABLET
========================================================= */

@media (max-width: 820px) {

  .mz-front-section__content {
    width: 48vw;

    padding: 44px 36px;
  }


  .mz-front-section__title {
    font-size: 35px;
  }


  .mz-front-section__text {
    font-size: 12px;
  }


  .mz-front-journal {
    display: block;
  }


  .mz-front-journal__head {
    margin-bottom: 52px;
  }


  .mz-front-journal__pickup {
    padding-right: 0;
    padding-bottom: 58px;

    border-bottom: 1px solid #e1e1dd;
  }


  .mz-front-journal__new {
    margin-top: 54px;

    padding-left: 0;

    border-left: 0;
  }

}


/* =========================================================
   25. SMARTPHONE
========================================================= */

@media (max-width: 599px) {

  /* HERO */

  .mz-front-hero {
    height: 680px;
    min-height: 680px;
  }


  .mz-front-hero__image::after {
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.95) 0%,
        rgba(255,255,255,.84) 48%,
        rgba(255,255,255,.38) 75%,
        rgba(255,255,255,.07) 100%
      );
  }


  .mz-front-hero__image img {
    object-position: 64% center;
  }


  .mz-front-hero__content {
    width: calc(100% - 40px);

    height: 680px;
    min-height: 680px;

    margin: 0 auto;
  }


  .mz-front-eyebrow {
    margin-bottom: 18px;

    font-size: 8px;
  }


  .mz-front-hero__title {
    margin-bottom: 25px !important;

    font-size: 38px;

    line-height: 1.47;

    letter-spacing: .055em;
  }


  .mz-front-hero__lead {
    margin-bottom: 32px;

    font-size: 12px;
  }


  /* FULL WIDTH SECTIONS */

  .mz-front-section {
    display: flex;

    flex-direction: column;

    width: 100vw;

    height: auto;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: calc(50% - 50vw) !important;

    overflow: visible;

    background: #ffffff;
  }


  .mz-front-section + .mz-front-section {
    margin-top: 0 !important;
  }


  .mz-front-section__image {
    position: relative;

    inset: auto;

    order: 1;

    width: 100%;
    height: 470px;

    margin: 0 !important;
  }


  .mz-front-section__content,
  .mz-front-section--image-left .mz-front-section__content,
  .mz-front-section--image-right .mz-front-section__content {
    position: relative;

    top: auto;
    right: auto;
    left: auto;

    order: 2;

    width: 100%;

    margin: 0 !important;

    padding: 46px 28px 72px;

    transform: none;

    border: 0;

    background: #ffffff;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }


  .mz-front-number {
    margin-bottom: 29px;
  }


  .mz-front-section__title {
    margin-bottom: 26px !important;

    font-size: 35px;

    line-height: 1.5;
  }


  .mz-front-section__text {
    margin-bottom: 31px;

    font-size: 13px;

    line-height: 2;
  }


  .mz-front-service-list {
    margin-bottom: 31px;
  }


  /* JOURNAL */

  .mz-front-journal {
    width: calc(100% - 40px);

    margin: 90px auto 84px;

    padding-top: 50px;
  }


  .mz-front-journal__head {
    display: block;

    margin-bottom: 50px;
  }


  .mz-front-journal__head .mz-front-link {
    margin-top: 26px;
  }


  .mz-front-journal__title {
    font-size: 35px;
  }


  .mz-front-journal__pickup {
    padding-bottom: 48px;
  }


  .mz-front-journal__new {
    margin-top: 48px;
  }

}


/* =========================================================
   26. SMALL SMARTPHONE
========================================================= */

@media (max-width: 380px) {

  .mz-front-hero__title {
    font-size: 34px;
  }


  .mz-front-section__image {
    height: 420px;
  }


  .mz-front-section__title {
    font-size: 31px;
  }

}