@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+New:wght@500;700&display=swap");

:root {
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "メイリオ", "Meiryo",
    "MS Pゴシック", "MS PGothic", verdana, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", Osaka, Sans-Serif;
  --font-body: "Noto Sans JP", "メイリオ", "Meiryo", "MS Pゴシック",
    "MS PGothic", verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    Osaka, Sans-Serif;
  --font-en: "Montserrat", sans-serif;

  --color-black: #3a3a3a;
}

.pc-off {
  display: none;
  @media screen and (max-width: 1024px) {
    display: block;
  }
}

.sp-on {
  display: none;
  @media screen and (max-width: 767px) {
    display: block;
  }
}

body {
  font-family: var(--font-body) !important;
  font-weight: 500;
}

header {
  @media screen and (max-width: 1280px) and (min-width: 1024px) {
    width: fit-content;
  }
}

.top_wrap {
  @media screen and (max-width: 1024px) {
    padding-inline: 0px;
  }
}

/* --------------------------------------------------------------- */
/*  common */
/* --------------------------------------------------------------- */
.section-wfull {
  margin: 0 calc(50% - 49.5vw);
  @media screen and (max-width: 1280px) {
    margin: 0 calc(50% - 690px);
  }
  @media screen and (max-width: 1024px) {
    margin: 0 calc(50% - 50vw);
    padding-inline: 20px;
  }
}

.common-section {
}

/*
.add-page：追加した固定ページに記載したclass
body.chilkren：固定ページの下層
body:not(.home) section.page.products：商品ページ
*/

/* reset */
section.page {
  & h2.headline {
    border: none;
    margin-inline: 0;
    padding: 0;
    text-align: left;
    margin-bottom: 40px;
    margin-top: 40px;
    @media screen and (max-width: 767px) {
      margin-bottom: 0;
    }
  }
  & h3 {
    border: none;
    margin: 0;
    &::before {
      display: none;
    }
  }
  & h4:not(.contact) {
    border: none;
  }
  & h5 {
    background-color: transparent;
    padding: 0;
  }
}
/* end reset */

/* デフォルトで出力されるh2を非表示（追加した固定ページのみ） */
body:has(.add-page) section.page > h2.headline {
  display: none;
}
/* end reset */

/* 共通見出し */
section.page {
  & h2.headline {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
    @media screen and (max-width: 767px) {
      font-size: 24px;
      line-height: 1.5;
      margin-bottom: 10px;
    }
    & span {
      margin-left: 18px;
      font-family: var(--font-en);
      font-size: 20px;
      font-weight: 200;
      letter-spacing: 0.08em;
      @media screen and (max-width: 767px) {
        display: block;
        margin-left: 0;
        margin-top: 4px;
        font-size: 12px;
      }
    }
  }
  & h3 {
    display: inline-flex;
    align-items: flex-start;
    width: 100%;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.1em;
    font-family: var(--font-head);
    color: var(--color-black);
    @media screen and (max-width: 767px) {
      font-size: 20px;
    }
    &::after {
      content: "";
      display: inline-block;
      flex: 1;
      min-width: 15%;
      margin-top: 0.8em;
      margin-left: 1.25em;
      height: 1px;
      background-color: var(--color-black);
      @media screen and (max-width: 767px) {
        margin-left: 0.8em;
      }
    }
  }
  & h4:not(.contact) {
    padding: 11px 30px 12px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.08em;
    color: var(--color-black);
    background-color: #f8f5f2;
    border-radius: 30px;
    @media screen and (max-width: 767px) {
      font-size: 18px;
      padding: 7px 20px 8px;
    }
  }
  & h5 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-family: var(--font-head);
    color: #000;
    line-height: 1.22;
    @media screen and (max-width: 767px) {
      font-size: 16px;
    }
  }
}

section.page .add-page p,
body:not(.home) section.page.products p {
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.625;
  font-weight: 500;
  margin-top: 20px;
  @media screen and (max-width: 767px) {
    font-size: 14px;
  }
}

/* コンテンツ幅 */
body:has(.children) section.page,
.common-inner {
  max-width: 1120px;
  margin: 0 auto;
  @media screen and (max-width: 1024px) {
    padding-inline: 20px;
  }
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

.common-btn-wrapper {
  margin-top: 50px;
  text-align: center;
  @media screen and (max-width: 767px) {
    margin-top: 30px;
  }
}

/* reset */
.top_wrap section.products a {
  color: var(--color-black);
}
.common-btn {
  display: inline-flex;
  justify-content: space-between;
  padding: 21px 18px 20px 26px;
  width: 229px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  border: 1px solid var(--color-black);
  border-radius: 42px;
  @media screen and (max-width: 767px) {
    font-size: 14px;
    padding: 18px 21px;
  }
  @media (hover: hover) and (pointer: fine) {
    &:hover {
      background-color: var(--color-black);
      color: #fff !important;
      text-decoration: none;
    }
  }
}

/* 商品>詳細 */
/* https://papermessage-print.jp/products/printing-item/biz_card/on_biz_card-4c/ */
.component.column {
  @media screen and (max-width: 1024px) {
    justify-content: space-between;
  }
}
.component.column.num4 .wrap {
  width: 46%;
  @media screen and (max-width: 767px) {
    width: 100%;
    margin: 0;
  }
}
.component.component.column.num4 .wrap h4 {
  width: 100%;
}

/* --------------------------------------------------------------- */
/*  header */
/* --------------------------------------------------------------- */
.header-navi .menu li a .text {
  font-family: var(--font-head);
}

/* Gナビ展開時 */
#header_submenu nav.children h3 {
  font-family: var(--font-head);
  letter-spacing: 0.1em;
}

.header-navi nav.children h3 {
  @media screen and (max-width: 767px) {
    margin-bottom: 1em;
  }
}

.products_list_level1 .box .item_title,
.children_list .wrap .item_name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------- */
/*  MLINKS */
/* --------------------------------------------------------------- */
.product_size_list .wrap {
  padding: 12px 29px;
  border-radius: 12px;
  border: 2px solid #000;
  @media screen and (max-width: 767px) {
    padding: 8px 28px 10px 16px;
  }
}

.product_size_list li dl dt {
  font-weight: 700;
}

.product_size_list li dl dd {
  margin-top: 3px;
}

.product_size_list {
  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: center;
  }
}

.product_size_list li {
  @media screen and (max-width: 767px) {
    max-width: 480px;
    width: 100%;
  }
}

.product_size_list li dl dt {
  @media screen and (max-width: 767px) {
    font-size: 16px;
  }
}

.section_inner .product_size_list.product_size_list li dl dd p {
  margin-top: 0;
  font-weight: 500;
  font-size: 18px;
  font-weight: 700;
  color: #666666;
  @media screen and (max-width: 767px) {
    font-size: 12px;
  }
}

.section_inner .product_size_list.product_size_list li dl d {
}

/* --------------------------------------------------------------- */
/*  top-fv */
/* --------------------------------------------------------------- */
.top-fv {
  margin: 0 calc(50% - 890px);
  width: calc(1700px + 80px);
  padding-inline: 40px;
  display: flex;
  flex-direction: column;
  @media screen and (max-width: 1700px) {
    max-width: 100%;
    margin: 0 auto;
  }
  @media screen and (max-width: 1280px) {
    padding-inline: 0;
  }
  @media screen and (max-width: 1024px) {
    width: 100%;
  }
  @media screen and (max-width: 767px) {
    /* --translate-y: 126px;
    padding-bottom: var(--translate-y); */
  }
}

.top-fv__bg {
  display: flex;
  align-items: end;
  aspect-ratio: 1700/598;
  background-color: #e2d0bc;
  background-image: url("../images/top-fv-bg.jpg");
  background-size: 105%;
  background-position: 95% 77%;
  background-repeat: no-repeat;
  border-radius: 10px;
  @media screen and (max-width: 1024px) {
    aspect-ratio: 1700/900;
  }
  @media screen and (max-width: 767px) {
    aspect-ratio: 10/7;
    background-size: cover;
  }
  @media screen and (max-width: 560px) {
    aspect-ratio: 10/12;
    background-position: 65% 100%;
    background-size: 190%;
  }
}

.top-copy-wrapper {
  height: 0;
  width: 100%;
  @media screen and (max-width: 767px) {
    display: contents;
  }
}

.top-fv-copy {
  padding: 40px 97px 0 46px;
  width: fit-content;
  height: fit-content;
  border-top-right-radius: 52px;
  background-color: #fff;
  transform: translate(-1px, calc(-100% + 1px));
  @media screen and (max-width: 1024px) {
    padding: 24px 54px 0 29px;
    max-width: 84%;
  }
  @media screen and (max-width: 767px) {
    padding: 26px 15px 0px 12px;
    border-top-right-radius: 26px;
    transform: translate(-1px, 1px);
    margin-top: -100px;
  }
}

.top-fv-copy__title {
  font-size: 44px;
  letter-spacing: 0.14em;
  font-family: var(--font-head);
  @media screen and (max-width: 1024px) {
    font-size: 30px;
  }
  @media screen and (max-width: 767px) {
    font-size: 24px;
    line-height: 1.5;
  }
  & span {
    font-weight: 700;
    display: inline-block;
  }
}

.top-fv-copy__text {
  margin-top: 19px;
  margin-left: 6px;
  font-size: 16px;
  line-height: 1.875;
  letter-spacing: 0.05em;
  @media screen and (max-width: 1024px) {
    margin-top: 12px;
    margin-left: 4px;
    font-size: 14px;
  }
  @media screen and (max-width: 767px) {
    font-size: 12px;
  }
  & span {
    font-weight: 500;
    display: inline-block;
  }
}

/* --------------------------------------------------------------- */
/*  top-lineup */
/* --------------------------------------------------------------- */
.top-lineup {
  margin-top: 118px;
  @media screen and (max-width: 767px) {
    margin-top: 40px;
  }
}

.top-lineup .product_box {
  margin-top: 10px;
  @media screen and (max-width: 767px) {
    margin-top: 30px;
  }
}

.top-lineup .products_list_level1 .box .item_title {
  margin-top: 16px;
  margin-bottom: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1;
  @media screen and (max-width: 767px) {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------- */
/*  top-work */
/* --------------------------------------------------------------- */
.top-work {
  margin-top: 120px;
  @media screen and (max-width: 767px) {
    margin-top: 60px;
  }
}

.top-work__text {
  margin-top: 40px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.875;
  @media screen and (max-width: 767px) {
    margin-top: 20px;
  }
}

.top-work-list {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 38px;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    row-gap: 20px;
    margin-top: 30px;
  }
}

.top-work-list__item {
  padding: 16px 21px;
  width: calc((100% - 76px) / 3);
  text-align: center;
  border: 1px solid var(--color-black);
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

.top-work-list__img-box {
  width: 100%;
  aspect-ratio: 306/241;
}

.top-work-list__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-work-list__text {
  margin-top: 12px;
  margin-bottom: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* --------------------------------------------------------------- */
/*  top-voice */
/* --------------------------------------------------------------- */
.top-voice {
  margin-top: 120px;
  padding-block: 100px;
  background: url(../images/voice-bg.jpg) repeat center center/cover;
  @media screen and (max-width: 767px) {
    margin-top: 60px;
    padding-block: 50px;
  }
}

.top-voice__inner {
}

.top-voice-list {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  @media screen and (max-width: 767px) {
    margin-top: 30px;
    row-gap: 30px;
  }
}

.top-voice-list__item {
  display: flex;
  column-gap: 40px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--color-black);
  &:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  @media screen and (max-width: 767px) {
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    padding-bottom: 30px;
  }
}

.top-voice-list__img-box {
  width: 237px;
  aspect-ratio: 1;
  @media screen and (max-width: 767px) {
  }
}

.top-voice-list__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-voice-list__text-box {
  flex: 1;
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

.top-voice-list__head {
  margin-top: -6px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.top-voice-list__name {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
  & span {
    display: inline-block;
    margin-right: 10px;
    padding: 1px 7px 1px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background-color: #464646;
    @media screen and (max-width: 767px) {
      margin-bottom: 8px;
    }
  }
}

.top-voice-list__text {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 2;
  @media screen and (max-width: 767px) {
    font-size: 12px;
  }
}

/* --------------------------------------------------------------- */
/*  top-cta */
/* --------------------------------------------------------------- */
.top-cta {
  margin-top: 100px;
  @media screen and (max-width: 767px) {
    margin-top: 50px;
  }
}

.top-cta__inner {
  @media screen and (max-width: 767px) {
    padding-inline: 0;
  }
}

.top-cta-btn-wrapper {
  display: flex;
  column-gap: 50px;
  @media screen and (max-width: 1024px) {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }
}

.top-cta-btn {
  display: flex;
  align-items: center;
  column-gap: 33px;
  padding: 21px 28px;
  width: 535px;
  border-radius: 8px;
  border: 2px solid var(--color-black);
  @media screen and (max-width: 767px) {
    width: 100%;
    max-width: 370px;
    column-gap: 22px;
    padding: 18px 23px 20px;
  }
  @media (hover: hover) and (pointer: fine) {
    &:hover {
      opacity: 0.7;
      text-decoration: none;
    }
  }
}

.top-cta-btn__img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 117px;
  aspect-ratio: 1;
  background-color: #f8f5f2;
  border-radius: 50%;
  @media screen and (max-width: 767px) {
    width: 70px;
  }
}

.top-cta-btn__img {
  width: 75px;
  aspect-ratio: 1;
  @media screen and (max-width: 767px) {
    width: 60%;
  }
}

.top-cta-btn__text-box {
  flex: 1;
}

.top-cta-btn__sub {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  @media screen and (max-width: 767px) {
    font-size: 14px;
    line-height: 1.5;
  }
}

.top-cta-btn__main {
  margin-top: 11px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  font-family: var(--font-head);
  @media screen and (max-width: 767px) {
    font-size: 26px;
    margin-top: 6px;
  }
}

/* --------------------------------------------------------------- */
/*  top-shop */
/* --------------------------------------------------------------- */
.top-shop {
  margin-top: 100px;
  @media screen and (max-width: 767px) {
    margin-top: 50px;
  }
}

.top-shop__inner {
  @media screen and (max-width: 767px) {
    padding-inline: 0;
  }
}

.top-shop-list {
  margin-top: 45px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  width: min(820px, 100%);
  @media screen and (max-width: 767px) {
    margin-top: 30px;
  }
}

.top-shop-list__item {
  display: flex;
  justify-content: space-between;
  padding: 28px 50px 28px 48px;
  background-color: #f8f5f2;
  border-radius: 8px;
  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: center;
  }
}

.top-shop-list__text-box {
  @media screen and (max-width: 767px) {
    display: contents;
  }
}

.top-shop-list__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  @media screen and (max-width: 767px) {
    line-height: 1.5;
    text-align: center;
  }
}

.top-shop-list__address {
  margin-top: 9px;
  font-size: 16px;
  letter-spacing: 0.1em;
  @media screen and (max-width: 767px) {
    text-align: center;
  }
}

.top-shop-list__detail-list,
.detail-list {
  display: flex;
  flex-direction: column;
  row-gap: 6px;
  @media screen and (max-width: 767px) {
    row-gap: 12px;
  }
}

.top-shop-list__detail-list {
  margin-top: 18px;
  @media screen and (max-width: 767px) {
    order: 1;
    width: 120%;
    max-width: 330px;
    margin-top: 14px;
  }
}

.top-shop-list__detail-item,
.detail-item {
  display: inline-flex;
  column-gap: 10px;
  align-items: baseline;
  @media screen and (max-width: 767px) {
  }
}

.top-shop-list__detail-label,
.detail-label {
  display: inline-block;
  flex-shrink: 0;
  width: 71px;
  padding: 4px 0 5px;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #fff;
  background-color: var(--color-black);
  text-align: center;
  @media screen and (max-width: 767px) {
    font-size: 12px;
  }
}

.top-shop-list__detail-value,
.detail-value {
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1;
  min-width: 0;
  @media screen and (max-width: 767px) {
    font-size: 13px;
    line-height: 1.5;
  }
}

.top-shop-list__img-box {
  width: 255px;
  text-align: center;
  @media screen and (max-width: 767px) {
    margin-top: 10px;
  }
}

.top-shop-list__img {
  width: 100%;
}

/* --------------------------------------------------------------- */
/*  top-original */
/* --------------------------------------------------------------- */
.top-original {
  margin-top: 80px;
  @media screen and (max-width: 767px) {
    margin-top: 40px;
  }
}

.top-original__inner {
}

.top-original__item {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  padding: 63px 62px;
  border-radius: 10px;
  background: url(../images/original-bg.jpg) no-repeat center center/cover;
  @media screen and (max-width: 767px) {
    padding: 26px 27px;
    row-gap: 14px;
    justify-content: center;
  }
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(99, 99, 99, 0.46);
    mix-blend-mode: multiply;
    border-radius: 10px;
  }
}

.top-original-btn__text {
  position: relative;
  z-index: 1;
  font-size: 36px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.22;
  color: #fff;
  @media screen and (max-width: 767px) {
    font-size: 21px;
    text-align: center;
  }
}

.top-original-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  column-gap: 36px;
  padding: 11px 16px 12px 24px;
  width: fit-content;
  border: 2px solid var(--color-black);
  border-radius: 8px;
  background-color: #fff;
  @media screen and (max-width: 767px) {
    margin-inline: auto;
  }
  @media (hover: hover) and (pointer: fine) {
    &:hover {
      opacity: 0.7;
      background-color: #fff;
      color: var(--color-black) !important;
    }
  }
}

.top-original-btn__logo {
  width: 230px;
  @media screen and (max-width: 767px) {
    width: 150px;
  }
}

/* --------------------------------------------------------------- */
/*  top-sns */
/* --------------------------------------------------------------- */
.top-sns {
  margin-top: 80px;
  @media screen and (max-width: 767px) {
    margin-top: 40px;
  }
}

.top-sns__inner {
  padding: 50px 0;
  width: 598px;
  text-align: center;
  border: 2px solid var(--color-black);
  border-radius: 8px;
  @media screen and (max-width: 767px) {
    width: calc(100% - 40px);
    padding: 30px 0;
  }
}

.top-sns__text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  font-family: var(--font-head);
  @media screen and (max-width: 767px) {
    font-size: 22px;
  }
}

.top-sns-btn-wrapper {
  display: flex;
  justify-content: center;
  column-gap: 50px;
  margin-top: 36px;
  @media screen and (max-width: 767px) {
    column-gap: 30px;
    margin-top: 20px;
  }
}

.top-sns-btn {
  width: 73px;
  aspect-ratio: 1;
  @media screen and (max-width: 767px) {
    width: 50px;
  }
}

.top-sns-btn__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------- */
/*  固定ページ */
/* --------------------------------------------------------------- */
/* 共通 */
.add-page {
  padding-top: 40px;
  margin-top: 0;
  @media screen and (max-width: 767px) {
    padding-top: 0;
  }
}

.add-page .common-title {
  padding: 0;
}

.add-page .add-page__text {
  margin-top: 40px;
  @media screen and (max-width: 767px) {
    margin-top: 12px;
  }
}

.component {
  margin: 30px 0 50px;
  @media screen and (max-width: 767px) {
    margin: 30px 0 40px;
  }
}

.add-page .thecontent ol,
.add-page .thecontent ul {
  padding-left: 0;
}

.component.column {
  row-gap: 20px;
  margin-top: 0;
}

.add-page .component.column .wrap > a,
body:not(.home) section.page.products .component.column .wrap > a {
  margin-left: 30px;
}

/* 項目 */
.add-page .detail-list {
  row-gap: 10px;
  font-family: var(--font-head);
}

.add-page .detail-item {
  margin: 0 !important;
}

.add-page .detail-label {
  font-weight: 700;
}

.add-page .detail-value {
  font-weight: 700;
}

/* トグル */
#temp_list dt {
  background-color: #f8f5f2;
}

/* お客様の声 */
.add-page.top-voice {
  background: none;
  padding-bottom: 0;
}

section.page .add-page.top-voice p {
  margin-top: 0;
}

section.page .add-page p.add-page__text {
  margin-top: 20px;
}
