*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

:root {
  --color-primary: #d9301d;
  --color-secondary: #313030;
  --color-black: #313030;
  --color-gray: #cccccc;
  --color-gray-mid: #889398;
  --color-background: #ffffff;
  --color-surface: #ffffff;
  --color-text: #313030;
  --color-text-muted: #889398;
  --color-white: #ffffff;
  --font-body: "Noto Sans", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "M PLUS 1p", "Helvetica Neue", Arial, sans-serif;
  --heading-scale-x: 1.18;
  --heading-letter-spacing: -0.14em;
  --heading-line-height: 1.12;
  --design-width: 1680;
  --design-cap: 1680px;
  --site-inner-max: 1280px;
  --site-inner-width: min(calc(100vw - (var(--gutter) * 2)), var(--site-inner-max));
  --site-inner-offset: max(var(--gutter), calc((100vw - var(--site-inner-width)) / 2));
  --gutter: 40px;
}

@media screen and (max-width: 1100px) {
  :root {
    --gutter: 32px;
  }
}
@media screen and (max-width: 768px) {
  :root {
    --gutter: 24px;
  }
}
@media screen and (max-width: 486px) {
  :root {
    --gutter: 20px;
  }
}
@media screen and (max-width: 468px) {
  :root {
    --gutter: 16px;
  }
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.875;
  color: var(--color-text);
  background: #fff;
}

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

button {
  color: inherit;
}

button:disabled {
  opacity: 1;
  cursor: default;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #d9301d;
  outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media screen and (max-width: 1100px) {
  html {
    scroll-padding-top: 96px;
  }
}
@media screen and (max-width: 486px) {
  body {
    font-size: 14px;
  }
}
html {
  margin-top: 0 !important;
}

#wpadminbar {
  display: none !important;
}

.l-wrapper {
  min-height: 100vh;
}

.l-container {
  width: var(--site-inner-width);
  margin-inline: auto;
}

.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.l-main {
  overflow-x: clip;
}

.l-footer {
  position: relative;
}

body.is-menu-open {
  overflow: hidden;
}

.c-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-black);
}
.c-link-arrow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-secondary);
  border-radius: 50%;
  color: var(--color-primary);
}
.c-link-arrow__text {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.c-link-arrow--dark {
  color: var(--color-black);
}

.c-button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  width: 267px;
  max-width: 100%;
  min-height: 57px;
  padding: 12px 45px 12px 24px;
  border: 1px solid #313030;
  border-radius: 50px;
  background: #313030;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.c-button > img {
  position: absolute;
  right: 17px;
  top: calc(50% - 11px);
  transition: filter 0.3s ease;
}
.c-button:hover {
  background: #fff;
  color: #313030;
}
.c-button:hover > img {
  filter: brightness(0.19);
}
@media (prefers-reduced-motion: reduce) {
  .c-button, .c-button > img {
    transition: none;
  }
}
@media screen and (max-width: 1100px) {
  .c-button {
    min-height: 48px;
    font-size: 16px;
  }
}

.c-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 24px;
  background: #fff;
  transform: translateY(-160%);
}
.c-skip-link:focus {
  transform: translateY(0);
}

@media screen and (max-width: 486px) {
  .c-button {
    font-size: 14px;
  }
}
.p-site-header {
  height: 101px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}
.p-site-header__inner {
  --site-inner-width:min(calc(100% - (var(--gutter) * 2)),1600px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.p-site-header__brand {
  display: block;
  flex-shrink: 0;
  width: 306px;
}
.p-site-header__brand img {
  width: 100%;
  height: 82px;
  object-fit: contain;
}
.p-site-header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
}
.p-site-header__nav > a:not([class]) {
  white-space: nowrap;
}
.p-site-header__nav > a:not([class]):hover {
  color: #d9301d;
}
.p-site-header__socials {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-inline: 10px 3px;
}
.p-site-header__social {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  background: none;
}
.p-site-header__social > img {
  position: relative;
}
.p-site-header__social > .p-site-header__circle {
  position: absolute;
  inset: 0;
}
.p-site-header__social > .p-site-header__x-white {
  position: absolute;
}
.p-site-header__shop, .p-site-header__contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}
.p-site-header__shop > span, .p-site-header__shop > img:not(.p-site-header__button-bg), .p-site-header__contact > span, .p-site-header__contact > img:not(.p-site-header__button-bg) {
  position: relative;
}
.p-site-header__button-bg {
  position: absolute;
  inset: 0;
}
.p-site-header__shop {
  width: 169px;
  color: #d9301d;
}
.p-site-header__contact {
  width: 216px;
  color: #fff;
  gap: 16px;
}
.p-site-header__divider {
  width: 1px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-site-header__divider img {
  flex-shrink: 0;
  max-width: none;
  transform: rotate(90deg);
}
.p-site-header__toggle {
  display: none;
}
.p-site-header__mobile-link {
  display: none;
}
@media (min-width: 1101px) and (max-width: 1450px) {
  .p-site-header__brand {
    width: 220px;
  }
  .p-site-header__nav {
    gap: 8px;
    font-size: 14px;
  }
  .p-site-header__socials {
    gap: 6px;
    margin-inline: 0;
  }
  .p-site-header__inner {
    gap: 12px;
  }
}
@media (min-width: 1101px) and (max-width: 1240px) {
  .p-site-header__socials {
    display: none;
  }
}
@media screen and (max-width: 1100px) {
  .p-site-header {
    height: 86px;
  }
  .p-site-header__inner {
    gap: 16px;
  }
  .p-site-header__brand {
    width: 220px;
  }
  .p-site-header__brand img {
    height: 64px;
  }
  .p-site-header__toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 10px;
    border: 0;
    background: transparent;
  }
  .p-site-header__toggle > span:not(.u-visually-hidden) {
    width: 28px;
    height: 2px;
    background: #d9301d;
    transition: transform 0.2s;
  }
  .p-site-header__toggle[aria-expanded=true] > span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .p-site-header__toggle[aria-expanded=true] > span:nth-child(2) {
    opacity: 0;
  }
  .p-site-header__toggle[aria-expanded=true] > span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .p-site-header__nav {
    display: none;
    position: absolute;
    z-index: 1;
    top: 86px;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 86px);
    overflow: auto;
    padding: 24px var(--gutter) 32px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.0666666667);
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .p-site-header__nav.is-open {
    display: flex;
  }
  .p-site-header__nav {
    row-gap: 0;
  }
  .p-site-header__nav > a:not([class]) {
    flex-basis: 100%;
    text-align: center;
    padding: 8px;
    min-height: 44px;
    font-size: 17px;
  }
  .p-site-header__socials {
    flex-basis: 100%;
    justify-content: center;
    margin: 0;
  }
  .p-site-header__mobile-link {
    display: block;
    flex-basis: 100%;
    min-height: 44px;
    padding: 8px;
    border: 0;
    background: none;
    color: inherit;
    text-align: center;
    font: inherit;
    font-size: 17px;
    line-height: 28px;
  }
  .p-site-header__socials {
    margin-top: 16px;
  }
  .p-site-header__shop, .p-site-header__contact {
    margin-top: 16px;
  }
  .p-site-header__social {
    width: 44px;
    height: 44px;
  }
  .p-site-header__social > .p-site-header__circle {
    inset: 2px;
  }
}
@media screen and (max-width: 768px) {
  .p-site-header {
    height: 76px;
  }
  .p-site-header__brand {
    width: 190px;
  }
  .p-site-header__brand img {
    height: auto;
  }
  .p-site-header__nav {
    top: 76px;
    max-height: calc(100dvh - 76px);
  }
}
.p-site-header__products-row {
  display: flex;
  align-items: center;
}
.p-site-header__products-row > a {
  white-space: nowrap;
  transition: color 0.3s ease;
}
.p-site-header__products-row > a:hover {
  color: #d9301d;
}
.p-site-header__dropdown-toggle {
  display: none;
}
.p-site-header__dropdown[hidden] {
  display: none;
}
@media screen and (max-width: 1100px) {
  .p-site-header__products {
    flex-basis: 100%;
  }
  .p-site-header__products-row {
    position: relative;
    justify-content: center;
  }
  .p-site-header__products-row > a {
    padding: 8px;
    min-height: 44px;
    font-size: 17px;
  }
  .p-site-header__dropdown-toggle {
    position: absolute;
    left: calc(50% + 58px);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: #d9301d;
    font-size: 25px;
    line-height: 1;
  }
  .p-site-header__dropdown-toggle span {
    transition: transform 0.2s ease;
  }
  .p-site-header__dropdown-toggle[aria-expanded=true] span {
    transform: rotate(45deg);
  }
  .p-site-header__dropdown:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    max-width: 440px;
    margin: 12px auto 0;
    padding: 16px;
    border-radius: 16px;
    background: #fff9ea;
  }
  .p-site-header__dropdown:not([hidden]) a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 14px;
    transition: color 0.3s ease;
  }
  .p-site-header__dropdown:not([hidden]) a:hover {
    color: #d9301d;
  }
}
@media (min-width: 1101px) {
  .p-site-header__products {
    position: relative;
  }
  .p-site-header__products-row {
    gap: 2px;
  }
  .p-site-header__dropdown-toggle {
    display: grid;
    place-items: center;
    width: 24px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    color: #d9301d;
    font-size: 20px;
    line-height: 1;
  }
  .p-site-header__dropdown-toggle span {
    transition: transform 0.2s ease;
  }
  .p-site-header__dropdown-toggle[aria-expanded=true] span {
    transform: rotate(45deg);
  }
  .p-site-header__dropdown:not([hidden]) {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    width: 320px;
    padding: 16px;
    border: 1px solid #f5ddd8;
    border-radius: 16px;
    background: #fff9ea;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1333333333);
  }
  .p-site-header__dropdown:not([hidden]) a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 8px;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.3s ease;
  }
  .p-site-header__dropdown:not([hidden]) a:hover {
    color: #d9301d;
  }
}
.p-site-header__social > img {
  transition: filter 0.3s ease;
}
.p-site-header__social::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #313030;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p-site-header__social:hover > img {
  filter: brightness(0);
}
.p-site-header__social:hover > .p-site-header__circle {
  filter: brightness(0) invert(1);
}
.p-site-header__social:hover::after {
  opacity: 1;
}
.p-site-header__shop, .p-site-header__contact {
  transition: color 0.3s ease;
}
.p-site-header__shop > .p-site-header__button-bg, .p-site-header__contact > .p-site-header__button-bg {
  z-index: 0;
}
.p-site-header__shop > span, .p-site-header__shop > img:not(.p-site-header__button-bg), .p-site-header__contact > span, .p-site-header__contact > img:not(.p-site-header__button-bg) {
  z-index: 2;
}
.p-site-header__shop::before, .p-site-header__contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid #d9301d;
  border-radius: 23px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p-site-header__shop:hover::before, .p-site-header__contact:hover::before {
  opacity: 1;
}
.p-site-header__shop::before {
  background: #d9301d;
}
.p-site-header__shop > img:not(.p-site-header__button-bg) {
  transition: filter 0.3s ease;
}
.p-site-header__shop:hover {
  color: #fff;
}
.p-site-header__shop:hover > img:not(.p-site-header__button-bg) {
  filter: brightness(0) invert(1);
}
.p-site-header__contact::before {
  background: #fff;
}
.p-site-header__contact:hover {
  color: #d9301d;
}
.p-site-header__contact:hover .p-site-header__divider::after {
  opacity: 1;
}
.p-site-header__contact:hover .p-site-header__contact-icon img, .p-site-header__contact:hover .p-site-header__divider img {
  opacity: 0;
}
.p-site-header__contact:hover .p-site-header__contact-icon .p-site-header__contact-icon-red {
  opacity: 1;
}
.p-site-header__contact-icon {
  position: relative;
  width: 25px;
  height: 19px;
  flex-shrink: 0;
}
.p-site-header__contact-icon img {
  transition: opacity 0.3s ease;
}
.p-site-header__contact-icon .p-site-header__contact-icon-red {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.p-site-header__divider img {
  transition: opacity 0.3s ease;
}
.p-site-header__divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 1100px) {
  .p-site-header__social::after {
    inset: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-site-header__social, .p-site-header__social::before, .p-site-header__social::after, .p-site-header__social > img, .p-site-header__shop, .p-site-header__shop::before, .p-site-header__shop::after, .p-site-header__shop > img, .p-site-header__contact, .p-site-header__contact::before, .p-site-header__contact::after, .p-site-header__contact > img {
    transition: none;
  }
}

@media screen and (max-width: 486px) {
  .p-site-header__nav {
    font-size: 14px;
  }
  .p-site-header__nav > a:not([class]) {
    font-size: 14px;
  }
  .p-site-header__products-row > a,
  .p-site-header__mobile-link,
  .p-site-header__shop,
  .p-site-header__contact {
    font-size: 14px;
  }
}
.p-site-footer {
  margin-top: -60px;
  padding-top: 107px;
  background: #313030;
  color: #fff;
}
.p-site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}
.p-site-footer__logo {
  width: 240px;
  max-width: 100%;
  height: auto;
}
.p-site-footer__company {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.p-site-footer__company address {
  margin-top: 24px;
  font-style: normal;
  line-height: 24px;
}
.p-site-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.p-site-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.3s ease;
}
.p-site-footer__social img {
  flex-shrink: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: brightness(0) invert(18.9%);
  transition: filter 0.3s ease;
}
.p-site-footer__social:hover, .p-site-footer__social:focus-visible {
  background: #313030;
}
.p-site-footer__social:hover img, .p-site-footer__social:focus-visible img {
  filter: brightness(0) invert(1);
}
@media (prefers-reduced-motion: reduce) {
  .p-site-footer__social, .p-site-footer__social img {
    transition: none;
  }
}
.p-site-footer__products-more {
  padding-top: 28px;
}
.p-site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 32px;
  align-items: start;
  font-size: 16px;
  line-height: 28px;
}
.p-site-footer__nav > div {
  display: flex;
  flex-direction: column;
}
.p-site-footer__nav ul {
  font-size: 14px;
  line-height: 20px;
  padding-left: 4px;
}
.p-site-footer__nav ul a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.p-site-footer__nav button {
  padding: 0;
  border: 0;
  color: #fff;
  background: none;
  text-align: left;
  line-height: 28px;
}
.p-site-footer__nav a, .p-site-footer__nav button {
  text-decoration: none;
  transition: color 0.3s ease;
}
.p-site-footer__nav a:hover, .p-site-footer__nav button:hover {
  color: #d9301d;
  text-decoration: none;
}
.p-site-footer__copyright {
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  margin-top: 34px;
  padding-bottom: 33px;
}
@media screen and (max-width: 1100px) {
  .p-site-footer {
    padding-top: 100px;
  }
  .p-site-footer__inner {
    gap: 32px;
  }
  .p-site-footer__nav {
    font-size: 14px;
  }
  .p-site-footer__company address {
    font-size: 14px;
  }
  .p-site-footer__company address a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media screen and (max-width: 768px) {
  .p-site-footer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .p-site-footer__company {
    align-self: stretch;
    align-items: flex-start;
    text-align: left;
  }
  .p-site-footer__company address {
    margin-top: 16px;
  }
  .p-site-footer__logo {
    width: 210px;
    max-width: 100%;
  }
  .p-site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .p-site-footer__nav > div {
    width: 100%;
  }
  .p-site-footer__nav > div:first-child, .p-site-footer__nav > div:nth-child(3) {
    margin-bottom: 0;
  }
  .p-site-footer__nav > div:nth-child(2), .p-site-footer__nav > div:last-child {
    margin-top: 10px;
  }
  .p-site-footer__nav > div:first-child, .p-site-footer__nav > div:last-child {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 16px;
  }
  .p-site-footer__nav a, .p-site-footer__nav button {
    min-height: 28px;
    padding-block: 2px;
    line-height: 24px;
  }
  .p-site-footer__nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 77px;
    column-gap: 4px;
    padding-left: 0;
  }
  .p-site-footer__nav ul a {
    gap: 3px;
    white-space: nowrap;
  }
  .p-site-footer__nav ul a img {
    width: 4px;
    flex-shrink: 0;
  }
  .p-site-footer__products-more {
    padding-top: 0;
  }
  .p-site-footer__copyright {
    width: var(--site-inner-width);
    margin: 24px auto 0;
    text-align: left;
  }
}

.page-home .c-button > img {
  transition: filter 0.3s ease, transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.page-home .c-button:hover > img, .page-home .c-button:focus-visible > img {
  transform: translateX(6px);
}
@media (prefers-reduced-motion: reduce) {
  .page-home .c-button > img {
    transition: none;
  }
  .page-home .c-button:hover > img, .page-home .c-button:focus-visible > img {
    transform: none;
  }
}

.p-home-hero {
  position: relative;
  margin-inline: var(--gutter);
  height: 900px;
  border-radius: 50px;
  overflow: hidden;
}
.p-home-hero__mobile-break {
  display: none;
}
@media screen and (max-width: 768px) {
  .p-home-hero__mobile-break {
    display: block;
  }
}
.p-home-hero__slider {
  position: absolute;
  inset: 0;
  height: 100%;
}
.p-home-hero__slider .splide__track, .p-home-hero__slider .splide__list, .p-home-hero__slider .splide__slide {
  height: 100%;
}
.p-home-hero__slider:not(.is-initialized) {
  visibility: visible;
}
.p-home-hero__slider:not(.is-initialized) .splide__slide:not(:first-child) {
  display: none;
}
.p-home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-home-hero__copy {
  position: absolute;
  z-index: 3;
  left: 112px;
  bottom: 88px;
  color: #313030;
  font-family: "Noto Serif JP", serif;
}
.p-home-hero__copy h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 64px;
}
.p-home-hero__copy h1 span {
  display: table;
  background: #fff;
  padding: 4px 16px;
  margin-bottom: 13px;
}
.p-home-hero__copy p {
  font-size: 22px;
  font-weight: 500;
  line-height: 36px;
  margin-top: 16px;
}
.p-home-hero__copy p span {
  display: inline;
  box-decoration-break: clone;
  background: #fff;
  padding: 8px 16px;
}
@media screen and (max-width: 1100px) {
  .p-home-hero {
    height: 640px;
    border-radius: 32px;
  }
  .p-home-hero__copy {
    left: 32px;
    bottom: 56px;
    max-width: calc(100% - 64px);
  }
  .p-home-hero__copy h1 {
    font-size: 40px;
    line-height: 1.5;
  }
  .p-home-hero__copy p {
    font-size: 18px;
    line-height: 2;
  }
}
@media screen and (max-width: 768px) {
  .p-home-hero {
    height: 540px;
  }
  .p-home-hero__image {
    object-position: 60% center;
  }
  .p-home-hero__image--child {
    object-position: 48% center;
  }
  .p-home-hero__copy {
    left: 20px;
    bottom: 40px;
    max-width: calc(100% - 40px);
  }
  .p-home-hero__copy h1 {
    font-size: 32px;
  }
  .p-home-hero__copy h1 span {
    padding: 3px 8px;
    margin-bottom: 10px;
  }
  .p-home-hero__copy p {
    font-size: 16px;
  }
  .p-home-hero__copy p span {
    padding: 6px 8px;
  }
}
@media screen and (max-width: 486px) {
  .p-home-hero {
    height: 500px;
    border-radius: 24px;
  }
  .p-home-hero__copy {
    left: 16px;
    max-width: calc(100% - 32px);
  }
  .p-home-hero__copy h1 {
    font-size: 27px;
  }
  .p-home-hero__copy p {
    font-size: 14px;
    line-height: 2.4;
  }
}

.p-home-news {
  padding: 77px 0 113px;
  text-align: center;
}
.p-home-news__heading {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  line-height: 1.4;
}
.p-home-news__heading span {
  display: block;
  color: #d9301d;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}
.p-home-news__list {
  max-width: 1062px;
  margin: 39px auto 30px;
  display: grid;
  gap: 18px;
  text-align: left;
}
.p-home-news__list :is(button, a) {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 44px;
  height: 105px;
  border: 1px solid #d9301d;
  border-radius: 50px;
  background: #fff;
  padding: 20px 38px 20px 55px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.p-home-news__list :is(button, a) time {
  color: #d9301d;
  transition: color 0.3s ease;
}
.p-home-news__list :is(button, a) img {
  margin-left: auto;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}
.p-home-news__list li:hover :is(button, a), .p-home-news__list li:focus-within :is(button, a) {
  background: #d9301d;
  color: #fff;
}
.p-home-news__list li:hover :is(button, a) time, .p-home-news__list li:focus-within :is(button, a) time {
  color: #fff;
}
.p-home-news__list li:hover :is(button, a) img, .p-home-news__list li:focus-within :is(button, a) img {
  filter: brightness(0) invert(1);
}
@media (prefers-reduced-motion: reduce) {
  .p-home-news__list :is(button, a), .p-home-news__list :is(button, a) time, .p-home-news__list :is(button, a) img {
    transition: none;
  }
}
@media screen and (max-width: 1100px) {
  .p-home-news {
    padding: 56px 0 72px;
  }
  .p-home-news__list :is(button, a) {
    height: 90px;
    padding: 20px 28px;
    gap: 28px;
  }
}
@media screen and (max-width: 768px) {
  .p-home-news {
    padding: 48px 0 64px;
  }
  .p-home-news__heading {
    font-size: 30px;
  }
  .p-home-news__heading span {
    font-size: 20px;
  }
  .p-home-news__list {
    margin-top: 28px;
  }
  .p-home-news__list :is(button, a) {
    display: grid;
    grid-template-columns: 1fr 32px;
    gap: 2px 16px;
    padding: 16px 24px;
    height: auto;
    min-height: 96px;
    border-radius: 28px;
  }
  .p-home-news__list :is(button, a) time {
    grid-column: 1;
    font-size: 14px;
  }
  .p-home-news__list :is(button, a) > span {
    grid-column: 1;
  }
  .p-home-news__list :is(button, a) img {
    grid-column: 2;
    grid-row: 1/3;
  }
}
@media screen and (max-width: 486px) {
  .p-home-news__list :is(button, a) {
    grid-template-columns: 1fr 24px;
    padding: 10px 20px;
    min-height: 76px;
  }
  .p-home-news__list :is(button, a) img {
    width: 24px;
    height: 24px;
  }
}

.p-home-commitment {
  position: relative;
  min-height: 875px;
  margin-bottom: 99px;
}
.p-home-commitment__media {
  position: absolute;
  left: 0;
  top: 0;
  width: 49%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 50px 50px 0;
}
.p-home-commitment__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-home-commitment__content {
  display: flex;
  flex-direction: column;
  min-height: 875px;
  position: relative;
  width: 570px;
  max-width: calc(50% - 70px);
  margin-left: auto;
}
.p-home-commitment__content h2 {
  position: relative;
  z-index: 1;
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  line-height: 60px;
  font-weight: 700;
}
.p-home-commitment__decoration {
  position: absolute;
  top: 4px;
  left: calc(100% + min(200px, var(--site-inner-offset)) - 12px);
  width: 726px;
  transform: rotate(90deg);
  transform-origin: top left;
  font-family: var(--font-en);
  font-size: 96px;
  font-weight: 800;
  line-height: 96px;
  color: #fedce4;
  height: auto;
  pointer-events: none;
}
.p-home-commitment__subtitle {
  position: relative;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
}
.p-home-commitment__body {
  position: relative;
  margin-top: 31px;
  line-height: 30px;
}
.p-home-commitment__english {
  position: relative;
  margin-top: 8px;
  font-family: "Noto Sans", sans-serif;
  line-height: 30px;
}
.p-home-commitment .c-button {
  margin-top: auto;
  align-self: flex-start;
  flex-shrink: 0;
}
@media screen and (max-width: 1100px) {
  .p-home-commitment {
    min-height: 0;
    margin-bottom: 64px;
  }
  .p-home-commitment__media {
    position: relative;
    width: calc(100% - var(--gutter));
    height: auto;
    aspect-ratio: 1.4;
  }
  .p-home-commitment__media img {
    position: absolute;
    inset: 0;
  }
  .p-home-commitment__content {
    min-height: 0;
    width: 100%;
    max-width: none;
    margin-top: 40px;
  }
  .p-home-commitment__content .c-button {
    margin-top: 30px;
  }
  .p-home-commitment__content h2 {
    font-size: 42px;
    line-height: 1.5;
  }
  .p-home-commitment__decoration {
    top: 0;
    right: 0;
    left: auto;
    transform: none;
    width: 56px;
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    font-size: 56px;
    line-height: 1;
    height: auto;
    opacity: 1;
    z-index: 0;
  }
  .p-home-commitment__subtitle {
    font-size: 22px;
  }
  .p-home-commitment__body {
    margin-top: 24px;
  }
  .p-home-commitment__english {
    margin-top: 24px;
  }
}
@media screen and (max-width: 768px) {
  .p-home-commitment__media {
    border-radius: 0 32px 32px 0;
    aspect-ratio: 1.15;
  }
  .p-home-commitment__content h2 {
    font-size: 34px;
  }
  .p-home-commitment__decoration {
    display: block;
    width: 48px;
    font-size: 48px;
  }
  .p-home-commitment__subtitle {
    font-size: 20px;
  }
}

.p-home-banner {
  position: relative;
  height: 382px;
  clip-path: inset(0);
}
.p-home-banner img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  object-fit: cover;
}
@media screen and (max-width: 1100px) {
  .p-home-banner {
    height: 280px;
  }
}
@media screen and (max-width: 768px) {
  .p-home-banner {
    height: 200px;
  }
}

.p-home-overseas {
  position: relative;
  margin-block: 100px 113px;
  min-height: 517px;
}
.p-home-overseas__inner {
  padding-top: 127px;
}
.p-home-overseas__content {
  position: relative;
  width: 574px;
  max-width: calc(50% - 40px);
  margin-left: 63px;
}
.p-home-overseas__content h2 {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  line-height: 60px;
}
.p-home-overseas__content > p:not([class]) {
  margin-top: 43px;
  line-height: 24px;
}
.p-home-overseas__content .c-button {
  margin-top: 28px;
}
.p-home-overseas__decoration {
  position: absolute;
  top: -127px;
  left: 0;
  color: #fedce4;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 96px;
  line-height: 96px;
}
.p-home-overseas__media {
  position: absolute;
  top: 0;
  right: 0;
  width: 44.2%;
  height: 517px;
  display: grid;
  grid-template-columns: 411fr 320fr;
  gap: 11px;
  overflow: hidden;
  border-radius: 50px 0 0 50px;
}
.p-home-overseas__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0;
}
@media screen and (max-width: 1100px) {
  .p-home-overseas {
    margin-block: 64px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .p-home-overseas__inner {
    padding-top: 0;
  }
  .p-home-overseas__content {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .p-home-overseas__content h2 {
    font-size: 42px;
  }
  .p-home-overseas__content > p:not([class]) {
    margin-top: 28px;
  }
  .p-home-overseas__decoration {
    position: relative;
    top: auto;
    font-size: 64px;
    line-height: 1;
    margin-bottom: -30px;
  }
  .p-home-overseas__media {
    position: relative;
    width: calc(100% - var(--gutter));
    height: 400px;
    margin-left: auto;
  }
}
@media screen and (max-width: 768px) {
  .p-home-overseas__content h2 {
    font-size: 34px;
  }
  .p-home-overseas__decoration {
    font-size: 48px;
    margin-bottom: -22px;
  }
  .p-home-overseas__media {
    height: 300px;
    border-radius: 32px 0 0 32px;
  }
}

.p-home-products {
  padding: 98px 0 114px;
  background: #fff9ea;
  text-align: center;
}
.p-home-products__intro {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 64px;
  margin: 0 77px 67px;
}
.p-home-products__intro h2 {
  flex-shrink: 0;
  font-family: "Noto Serif JP", serif;
  width: 199px;
  font-size: 48px;
  line-height: 36px;
}
.p-home-products__intro h2 span {
  display: block;
  font-family: var(--font-en);
  color: #d9301d;
  font-size: 24px;
  line-height: 30px;
  margin-top: 12px;
}
.p-home-products__intro > div {
  line-height: 30px;
  min-width: 0;
}
.p-home-products__intro > div p {
  white-space: normal;
}
.p-home-products__divider {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1px;
  height: 72px;
  flex-shrink: 0;
}
.p-home-products__divider img {
  max-width: none;
  flex-shrink: 0;
  transform: rotate(90deg);
}
.p-home-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px 32px;
  text-align: center;
}
.p-home-products__card {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #d9301d;
  border-radius: 40px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (hover: hover) {
  .p-home-products__card:hover {
    transform: translateY(-8px);
  }
}
.p-home-products__card:focus-visible {
  transform: translateY(-8px);
}
@media (prefers-reduced-motion: reduce) {
  .p-home-products__card {
    transition: none;
  }
  .p-home-products__card:hover, .p-home-products__card:focus-visible {
    transform: none;
  }
}
.p-home-products__image {
  height: 199px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-home-products__image img {
  width: auto;
  max-width: 85%;
  max-height: 189px;
  object-fit: contain;
}
.p-home-products__grid li:nth-child(1) img {
  height: 176px;
}
.p-home-products__grid li:nth-child(2) img {
  height: 145px;
}
.p-home-products__grid li:nth-child(3) img {
  height: 178px;
}
.p-home-products__grid li:nth-child(4) img {
  height: 176px;
}
.p-home-products__grid li:nth-child(5) img {
  height: 181px;
}
.p-home-products__grid li:nth-child(6) img {
  height: 189px;
}
.p-home-products__grid li:nth-child(7) img {
  height: 176px;
}
.p-home-products__grid li:nth-child(8) img {
  height: 178px;
}
.p-home-products__name {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 77px;
  background: #313030;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
}
.p-home-products .c-button {
  margin-top: 73px;
}
@media screen and (max-width: 1100px) {
  .p-home-products {
    padding-block: 64px;
  }
  .p-home-products__intro {
    margin: 0 0 40px;
    gap: 32px;
  }
  .p-home-products__intro h2 {
    font-size: 42px;
  }
  .p-home-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .p-home-products .c-button {
    margin-top: 40px;
  }
}
@media screen and (max-width: 768px) {
  .p-home-products {
    padding-block: 48px;
  }
  .p-home-products__intro {
    display: block;
  }
  .p-home-products__intro h2 {
    font-size: 34px;
  }
  .p-home-products__intro h2 span {
    font-size: 20px;
  }
  .p-home-products__intro > div {
    margin-top: 24px;
  }
  .p-home-products__divider {
    display: none;
  }
  .p-home-products__grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  }
  .p-home-products__card {
    border-radius: 32px;
  }
  .p-home-products__name {
    height: 64px;
    font-size: 20px;
  }
}
@media screen and (max-width: 486px) {
  .p-home-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 100%;
    margin-inline: auto;
  }
}

.p-home-about {
  position: relative;
  margin-top: 87px;
  min-height: 517px;
}
.p-home-about__media {
  position: absolute;
  width: 49%;
  height: 517px;
  left: 0;
  top: 0;
  border-radius: 0 50px 50px 0;
  overflow: hidden;
}
.p-home-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-home-about__content {
  position: relative;
  width: 574px;
  max-width: calc(50% - 66px);
  margin-left: auto;
  padding-top: 119px;
}
.p-home-about__content h2 {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  line-height: 60px;
}
.p-home-about__content > p:not([class]) {
  margin-top: 65px;
  line-height: 24px;
}
.p-home-about__content .c-button {
  margin-top: 36px;
}
.p-home-about__decoration {
  position: absolute;
  top: 0;
  left: 0;
  color: #fedce4;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 96px;
  line-height: 96px;
}
@media screen and (max-width: 1100px) {
  .p-home-about {
    margin-top: 64px;
    min-height: 0;
  }
  .p-home-about__media {
    position: relative;
    width: calc(100% - var(--gutter));
    height: 420px;
  }
  .p-home-about__content {
    width: 100%;
    max-width: none;
    padding-top: 40px;
  }
  .p-home-about__content h2 {
    font-size: 42px;
  }
  .p-home-about__content > p:not([class]) {
    margin-top: 28px;
  }
  .p-home-about__decoration {
    position: relative;
    font-size: 64px;
    line-height: 1;
    margin-bottom: -36px;
  }
}
@media screen and (max-width: 768px) {
  .p-home-about__media {
    height: 300px;
    border-radius: 0 32px 32px 0;
  }
  .p-home-about__content h2 {
    font-size: 34px;
  }
  .p-home-about__decoration {
    font-size: 48px;
    margin-bottom: -26px;
  }
}

.p-home-contact {
  position: relative;
  z-index: 1;
  margin-top: 102px;
}
.p-home-contact__mobile-break {
  display: none;
}
@media screen and (max-width: 486px) {
  .p-home-contact__mobile-break {
    display: block;
  }
}
.p-home-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  min-height: 312px;
  overflow: hidden;
  border-radius: 50px;
  color: #fff;
  text-align: center;
}
.p-home-contact__background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}
.p-home-contact__content {
  position: relative;
  padding: 42px 32px 50px;
  background: rgba(0, 0, 0, 0.3333333333);
}
.p-home-contact__content h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 30px;
}
.p-home-contact__content h2 span {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 48px;
  line-height: 58px;
  margin-bottom: 5px;
}
.p-home-contact__content > p {
  margin-top: 20px;
  line-height: 24px;
}
.p-home-contact__actions {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.p-home-contact__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 42px;
  line-height: 57px;
}
.p-home-contact__phone img {
  transform: rotate(-30deg);
}
.p-home-contact__mail {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  width: 405px;
  max-width: 100%;
  min-height: 57px;
  background: #d9301d;
  border: 0;
  border-radius: 50px;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.p-home-contact__mail img {
  transition: filter 0.3s ease;
}
.p-home-contact__mail:hover, .p-home-contact__mail:focus-visible {
  background: #fff;
  color: #d9301d;
}
.p-home-contact__mail:hover img, .p-home-contact__mail:focus-visible img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(89%) saturate(2240%) hue-rotate(351deg) brightness(91%) contrast(94%);
}
@media (prefers-reduced-motion: reduce) {
  .p-home-contact__mail, .p-home-contact__mail img {
    transition: none;
  }
}
@media screen and (max-width: 1100px) {
  .p-home-contact {
    margin-top: 64px;
  }
  .p-home-contact__inner {
    border-radius: 32px;
  }
  .p-home-contact__content {
    padding: 40px 24px;
  }
  .p-home-contact__phone {
    font-size: 32px;
    min-height: 57px;
  }
  .p-home-contact__mail {
    width: 340px;
    font-size: 17px;
  }
  .p-home-contact__actions {
    gap: 24px;
  }
}
@media screen and (max-width: 768px) {
  .p-home-contact__actions {
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
  }
  .p-home-contact__content h2 span {
    font-size: 38px;
  }
  .p-home-contact__content > p {
    font-size: 16px;
  }
  .p-home-contact__phone {
    font-size: 30px;
  }
}

@media screen and (max-width: 486px) {
  .p-home-hero__copy p,
  .p-home-news__list button,
  .p-home-news__list time,
  .p-home-commitment__subtitle,
  .p-home-commitment__body,
  .p-home-commitment__english,
  .p-home-overseas__content > p:not([class]),
  .p-home-products__intro > div,
  .p-home-products__name,
  .p-home-about__content > p:not([class]),
  .p-home-contact__content > p,
  .p-home-contact__mail {
    font-size: 14px;
  }
  .p-home-contact__content #contact-title {
    line-height: 1;
  }
  .p-home-contact__content #contact-title span {
    line-height: 1;
  }
  .p-home-contact__actions {
    margin-top: 0;
    gap: 5px;
  }
  .p-home-contact__content {
    padding: 30px 24px;
  }
  .p-home-contact__phone {
    justify-content: center;
    max-width: 100%;
    gap: 10px;
    font-size: clamp(20px, 7vw, 32px);
    line-height: 1;
    white-space: nowrap;
  }
  .p-home-contact__phone img {
    width: 30px;
    flex-shrink: 0;
  }
}
@media screen and (max-width: 486px) {
  .p-home-commitment__content {
    padding-right: 0;
  }
  .p-home-commitment__decoration {
    display: block;
    top: 0;
    right: 0;
    left: auto;
    width: 48px;
    height: auto;
    transform: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    font-size: 48px;
    line-height: 1;
    opacity: 1;
    z-index: 0;
  }
}
#commitment-title {
  font-feature-settings: "palt";
}

.p-home-hero__scroll {
  position: absolute;
  left: 24px;
  bottom: 0;
  z-index: 2;
  width: 40px;
  height: 100px;
  pointer-events: none;
  isolation: isolate;
}
.p-home-hero__scroll::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -104px;
  right: -92px;
  top: -100px;
  bottom: -80px;
  background: radial-gradient(ellipse at 42% 75%, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.16) 28%, rgba(0, 0, 0, 0.07) 52%, rgba(0, 0, 0, 0.02) 72%, transparent 100%);
  filter: blur(24px);
}
.p-home-hero__scroll p {
  position: absolute;
  top: 0;
  left: 12px;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  color: #fff;
}
.p-home-hero__scroll > div {
  position: relative;
  width: 1px;
  height: 100px;
  background: #fff;
}
.p-home-hero__scroll > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9301d;
  animation: home-scroll-down 3s ease-in-out infinite;
}
@media screen and (max-width: 1100px) {
  .p-home-hero__scroll {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-home-hero__scroll > div::before {
    animation: none;
  }
}

@keyframes home-scroll-down {
  0%, 10% {
    top: 0;
    opacity: 1;
  }
  75% {
    top: 100%;
    opacity: 0.8;
  }
  80% {
    top: 100%;
    opacity: 0;
  }
  85% {
    top: 0;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}
.p-error-page {
  padding: 120px 0;
  text-align: center;
}

.p-page-hero {
  position: relative;
  height: 300px;
  margin-inline: var(--gutter);
  overflow: hidden;
  border-radius: 50px;
  color: #fff;
}
.p-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.p-page-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44.5%;
}
.p-page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 1600px;
}
.p-page-hero h1 {
  margin-left: max(24px, (100% - 1280px) / 2);
  font-size: 40px;
  font-weight: 700;
  line-height: 52px;
}
.p-page-hero h1 span {
  display: block;
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  line-height: 36px;
}
@media screen and (max-width: 1100px) {
  .p-page-hero {
    height: 260px;
    border-radius: 32px;
  }
  .p-page-hero h1 {
    margin-left: var(--gutter);
    font-size: 36px;
  }
}
@media screen and (max-width: 768px) {
  .p-page-hero {
    height: 220px;
  }
  .p-page-hero h1 {
    font-size: 32px;
    line-height: 44px;
  }
  .p-page-hero h1 span {
    font-size: 20px;
  }
}
@media screen and (max-width: 486px) {
  .p-page-hero {
    height: 200px;
    border-radius: 24px;
  }
  .p-page-hero__inner {
    height: 100%;
  }
  .p-page-hero h1 {
    font-size: 24px;
    line-height: 38px;
  }
  .p-page-hero h1 span {
    font-size: 18px;
    line-height: 28px;
  }
}

.p-service-intro {
  padding: 94px 0 100px;
}
.p-service-intro h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  line-height: 56px;
  font-weight: 700;
  text-align: center;
  font-feature-settings: "palt";
}
.p-service-intro__english-title {
  text-align: center;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 800;
  color: #d9301d;
  line-height: 30px;
}
.p-service-intro__row {
  position: relative;
  min-height: 504px;
  margin-top: 68px;
}
.p-service-intro__content {
  width: 570px;
  max-width: calc(50% - 66px);
  line-height: 30px;
}
.p-service-intro__english {
  margin-top: 28px;
}
.p-service-intro__media {
  position: absolute;
  top: 0;
  left: calc(50% + 24px);
  right: 0;
  height: 504px;
  overflow: hidden;
  border-radius: 50px 0 0 50px;
}
.p-service-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
@media screen and (max-width: 1100px) {
  .p-service-intro {
    padding: 64px 0;
  }
  .p-service-intro h2 {
    font-size: 36px;
    line-height: 1.5;
  }
  .p-service-intro__row {
    min-height: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .p-service-intro__media {
    position: relative;
    order: -1;
    left: auto;
    right: auto;
    margin-left: var(--gutter);
    height: 420px;
  }
  .p-service-intro__content {
    width: 100%;
    max-width: none;
    padding: 0;
  }
}
@media screen and (max-width: 768px) {
  .p-service-intro {
    padding: 48px 0;
  }
  .p-service-intro h2 {
    font-size: 30px;
  }
  .p-service-intro__media {
    height: auto;
    aspect-ratio: 813/504;
    border-radius: 32px 0 0 32px;
  }
}
@media screen and (max-width: 486px) {
  .p-service-intro h2 {
    font-size: 28px;
  }
  .p-service-intro__english-title {
    font-size: 14px;
    margin-top: 8px;
  }
  .p-service-intro__content {
    font-size: 14px;
    line-height: 28px;
  }
  .p-service-intro__english {
    margin-top: 20px;
  }
}

.p-service-features {
  background: #f2efef;
  padding: 98px 0 100px;
}
.p-service-features__inner {
  display: grid;
  gap: 100px;
}
@media screen and (max-width: 1100px) {
  .p-service-features {
    padding: 64px 0;
  }
  .p-service-features__inner {
    gap: 64px;
  }
}
@media screen and (max-width: 768px) {
  .p-service-features {
    padding: 48px 0;
  }
  .p-service-features__inner {
    gap: 48px;
  }
}

.p-service-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  min-height: 504px;
  align-items: center;
}
.p-service-feature__content {
  width: 570px;
  max-width: 100%;
  align-self: start;
  padding-top: 41px;
}
.p-service-feature__media {
  overflow: hidden;
  border-radius: 50px;
  height: 504px;
}
.p-service-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-service-feature h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  line-height: 30px;
  font-weight: 700;
  font-feature-settings: "palt";
}
.p-service-feature__english-title {
  color: #d9301d;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  margin-top: 15px;
}
.p-service-feature__body {
  margin: 35px 6px 0;
  line-height: 30px;
}
.p-service-feature__english {
  margin: 15px 6px 0;
  line-height: 30px;
}
.p-service-feature:nth-child(3) .p-service-feature__content {
  padding-top: 50px;
}
.p-service-feature:nth-child(5) .p-service-feature__content, .p-service-feature:nth-child(7) .p-service-feature__content {
  padding-top: 36px;
}
.p-service-feature--reverse .p-service-feature__media {
  grid-column: 1;
  grid-row: 1;
}
.p-service-feature--reverse .p-service-feature__content {
  grid-column: 2;
  grid-row: 1;
  padding-top: 60px;
}
@media screen and (max-width: 1100px) {
  .p-service-feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    min-height: 0;
  }
  .p-service-feature__content, .p-service-feature:nth-child(n) .p-service-feature__content {
    order: 0;
    width: 100%;
    padding-top: 0;
  }
  .p-service-feature__media {
    order: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 624/504;
    max-height: 520px;
    border-radius: 32px;
  }
  .p-service-feature__body {
    margin: 24px 0 0;
  }
  .p-service-feature__english {
    margin: 20px 0 0;
  }
}
@media screen and (max-width: 768px) {
  .p-service-feature {
    gap: 10px;
  }
  .p-service-feature h2 {
    font-size: 24px;
    line-height: 1.5;
  }
  .p-service-feature__english-title {
    margin-top: 0;
  }
  .p-service-feature__english {
    margin-top: 10px;
  }
}
@media screen and (max-width: 486px) {
  .p-service-feature h2 {
    font-size: 24px;
  }
  .p-service-feature__english-title, .p-service-feature__body, .p-service-feature__english {
    font-size: 14px;
  }
  .p-service-feature__body, .p-service-feature__english {
    line-height: 28px;
  }
}

.page-service .p-home-contact {
  margin-top: 0;
  background: linear-gradient(to bottom, #f2efef calc(100% - 60px), transparent calc(100% - 60px));
}

.p-company-heading {
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  font-feature-settings: "palt";
}
.p-company-heading span {
  display: block;
  color: #d9301d;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 800;
  line-height: 30px;
}
@media screen and (max-width: 1100px) {
  .p-company-heading {
    font-size: 32px;
    line-height: 1.5;
  }
  .p-company-heading span {
    font-size: 22px;
  }
}
@media screen and (max-width: 486px) {
  .p-company-heading {
    font-size: 28px;
  }
  .p-company-heading span {
    font-size: 20px;
  }
}

.p-company-philosophy {
  padding: 100px 0 99px;
}
.p-company-philosophy__copy {
  width: fit-content;
  max-width: min(100%, 1065px);
  text-align: center;
  margin: 37px auto 0;
}
.p-company-philosophy__lead {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
}
.p-company-philosophy__english {
  margin-top: 3px;
  line-height: 30px;
}
@media screen and (max-width: 1100px) {
  .p-company-philosophy {
    padding: 64px 0;
  }
  .p-company-philosophy__copy {
    margin-top: 28px;
  }
  .p-company-philosophy__lead {
    font-size: 22px;
  }
}
@media screen and (max-width: 486px) {
  .p-company-philosophy {
    padding: 48px 0;
  }
  .p-company-philosophy__lead, .p-company-philosophy__english {
    font-size: 14px;
    line-height: 28px;
  }
  .p-company-philosophy__english {
    margin-top: 16px;
  }
}

.p-company-message {
  position: relative;
  min-height: 1354px;
  padding: 100px 0;
  background: #f2efef;
}
.p-company-message__row {
  margin-top: 25px;
}
.p-company-message__copy {
  position: relative;
  width: 843px;
  max-width: 66%;
  line-height: 30px;
}
.p-company-message__signature {
  margin-top: 13px;
  text-align: right;
}
.p-company-message__english {
  margin-top: 32px;
}
.p-company-message__portrait {
  position: absolute;
  top: 276px;
  right: 0;
  width: 33.5%;
  height: 504px;
  overflow: hidden;
  border-radius: 50px 0 0 50px;
}
.p-company-message__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-company-message__products {
  position: absolute;
  top: 722px;
  right: 0;
  width: 592px;
  max-width: 35.5%;
  height: 504px;
}
.p-company-message__product {
  position: absolute;
}
.p-company-message__product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-company-message__product--one {
  width: 322px;
  max-width: 55%;
  aspect-ratio: 322.377/284.451;
  right: 18px;
  top: 0;
  transform: rotate(6.4deg);
}
.p-company-message__product--two {
  width: 209px;
  max-width: 36%;
  aspect-ratio: 209/192;
  left: 0;
  top: 82px;
  transform: rotate(-8.09deg);
}
.p-company-message__product--three {
  width: 496px;
  max-width: 84%;
  aspect-ratio: 496.422/169.191;
  left: 30px;
  top: 269px;
  transform: rotate(4.78deg);
}
@media screen and (max-width: 1100px) {
  .p-company-message {
    min-height: 0;
    padding: 64px 0;
    display: flex;
    flex-direction: column;
  }
  .p-company-message__row {
    margin-top: 32px;
  }
  .p-company-message__copy {
    width: 100%;
    max-width: none;
  }
  .p-company-message__portrait {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - var(--gutter) * 2);
    height: auto;
    aspect-ratio: 563/504;
    max-height: 580px;
    margin: 32px auto 0;
    border-radius: 32px;
  }
  .p-company-message__products {
    position: relative;
    top: auto;
    width: 592px;
    max-width: calc(100% - var(--gutter) * 2);
    height: auto;
    aspect-ratio: 592/504;
    margin: 24px auto 0;
  }
  .p-company-message__product--two {
    top: 16%;
  }
  .p-company-message__product--three {
    left: 5%;
    top: 53%;
  }
}
@media screen and (max-width: 768px) {
  .p-company-message__products {
    width: 78%;
    max-width: 420px;
    margin-top: clamp(-56px, -8vw, -28px);
    z-index: 1;
  }
}
@media screen and (max-width: 486px) {
  .p-company-message {
    padding: 48px 0;
  }
  .p-company-message__copy {
    font-size: 14px;
    line-height: 28px;
  }
  .p-company-message__signature {
    margin-top: 20px;
  }
  .p-company-message__english {
    margin-top: 24px;
  }
  .p-company-message__product--one {
    right: 3%;
  }
}

.p-company-overview {
  padding: 100px 0;
}
.p-company-overview .p-company-table {
  margin-top: 19px;
}
@media screen and (max-width: 1100px) {
  .p-company-overview {
    padding: 64px 0;
  }
}
@media screen and (max-width: 486px) {
  .p-company-overview {
    padding: 48px 0;
  }
  .p-company-overview .p-company-table {
    margin-top: 28px;
  }
}

.p-company-history {
  padding: 100px 0;
  background: #f2efef;
}
.p-company-history .p-company-table {
  margin-top: 23px;
}
@media screen and (max-width: 1100px) {
  .p-company-history {
    padding: 64px 0;
  }
}
@media screen and (max-width: 486px) {
  .p-company-history {
    padding: 48px 0;
  }
  .p-company-history .p-company-table {
    margin-top: 28px;
  }
}

.p-company-table {
  display: grid;
  gap: 13px;
}
.p-company-table__row {
  display: grid;
  grid-template-columns: 296px 1px minmax(0, 1fr);
  align-items: center;
  min-height: var(--row-height, 105px);
  padding: 16px 32px 16px 0;
  border-radius: 30px;
  background: #fff;
}
.p-company-table dt {
  text-align: center;
  padding: 12px 24px;
  font-weight: 500;
}
.p-company-table dd {
  min-width: 0;
  padding: 12px 0 12px 108px;
  line-height: 24px;
  overflow-wrap: anywhere;
}
.p-company-table__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1px;
  align-self: stretch;
}
.p-company-table__divider img {
  flex-shrink: 0;
  max-width: none;
  transform: rotate(90deg);
}
.p-company-table--overview .p-company-table__row {
  background: #fedce4;
}
.p-company-table--history dt {
  font-weight: 700;
}
@media screen and (max-width: 1100px) {
  .p-company-table__row {
    grid-template-columns: 180px 1px minmax(0, 1fr);
  }
  .p-company-table dd {
    padding-left: 40px;
  }
  .p-company-table__divider img {
    display: none;
  }
  .p-company-table__divider {
    background: #bcaeb2;
    margin-block: 8px;
  }
}
@media screen and (max-width: 768px) {
  .p-company-table__row {
    grid-template-columns: 120px 1px minmax(0, 1fr);
    padding-right: 24px;
    min-height: 0;
  }
  .p-company-table dt {
    padding: 8px 16px;
  }
  .p-company-table dd {
    padding: 8px 0 8px 24px;
  }
}
@media screen and (max-width: 486px) {
  .p-company-table {
    gap: 12px;
  }
  .p-company-table__row {
    display: block;
    padding: 20px;
    border-radius: 20px;
  }
  .p-company-table dt {
    text-align: left;
    padding: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
  }
  .p-company-table dd {
    padding: 10px 0 0;
    border-top: 1px solid #c9b8bc;
    font-size: 14px;
    line-height: 26px;
  }
  .p-company-table__divider {
    display: none;
  }
}

.page-company .p-home-contact {
  margin-top: 0;
  background: linear-gradient(to bottom, #f2efef calc(100% - 60px), transparent calc(100% - 60px));
}

.p-overseas-intro {
  position: relative;
  margin-top: 113px;
  min-height: 710px;
}
.p-overseas-intro__copy {
  width: 643px;
  max-width: calc(50% + 3px);
}
.p-overseas-intro h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  font-feature-settings: "palt";
}
.p-overseas-intro__subtitle {
  color: #d9301d;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 16px;
  line-height: 30px;
  margin-top: 7px;
}
.p-overseas-intro__japanese {
  margin-top: 36px;
  line-height: 30px;
}
.p-overseas-intro__english {
  margin-top: 29px;
  line-height: 30px;
}
.p-overseas-intro__media {
  position: absolute;
  top: 0;
  left: calc(50% + 48px);
  right: 0;
  height: 710px;
  overflow: hidden;
  border-radius: 50px 0 0 50px;
}
.p-overseas-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 31% center;
}
@media screen and (max-width: 1100px) {
  .p-overseas-intro {
    margin-top: 64px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .p-overseas-intro__copy {
    width: 100%;
    max-width: none;
  }
  .p-overseas-intro h2 {
    font-size: 36px;
    line-height: 1.5;
  }
  .p-overseas-intro__media {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: calc(100% - var(--gutter));
    margin-left: auto;
    height: auto;
    aspect-ratio: 795/710;
    max-height: 620px;
  }
}
@media screen and (max-width: 768px) {
  .p-overseas-intro {
    margin-top: 48px;
  }
  .p-overseas-intro h2 {
    font-size: 24px;
  }
  .p-overseas-intro__subtitle {
    margin-top: 0;
    line-height: 1.3;
  }
  .p-overseas-intro__media {
    border-radius: 32px 0 0 32px;
  }
  .p-overseas-intro__japanese {
    margin-top: 28px;
  }
  .p-overseas-intro__english {
    margin-top: 24px;
  }
}
@media screen and (max-width: 486px) {
  .p-overseas-intro__subtitle, .p-overseas-intro__japanese, .p-overseas-intro__english {
    font-size: 14px;
  }
  .p-overseas-intro__japanese, .p-overseas-intro__english {
    line-height: 28px;
  }
}

.p-overseas-map {
  width: min(100% - var(--gutter) * 2, 1331px);
  margin: 55px auto 0;
}
.p-overseas-map img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 1100px) {
  .p-overseas-map {
    margin-top: 48px;
  }
}

.p-overseas-products {
  width: 602px;
  max-width: var(--site-inner-width);
  margin: 120px auto 104px;
}
.p-overseas-products__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 154px;
  padding: 24px 58px 24px 230px;
  border: 1px solid #313030;
  border-radius: 100px;
  background: #313030;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.p-overseas-products__link:hover {
  background: #fff;
  color: #313030;
}
.p-overseas-products__link:hover .p-overseas-products__arrow {
  filter: brightness(0.19);
}
.p-overseas-products__arrow {
  position: absolute;
  top: calc(50% - 13px);
  right: 32px;
  transition: filter 0.3s ease;
}
.p-overseas-products__images {
  position: absolute;
  top: 0;
  left: 0;
  width: 230px;
  height: 100%;
  pointer-events: none;
}
.p-overseas-products__images img {
  position: absolute;
  height: auto;
}
.p-overseas-products__porridge {
  width: 91px;
  left: 20px;
  top: -54px;
  transform: rotate(-16.78deg);
}
.p-overseas-products__soup {
  width: 83px;
  left: 114px;
  top: -48px;
  transform: rotate(9.03deg);
}
.p-overseas-products__chips {
  width: 202px;
  left: 17px;
  top: 78px;
  transform: rotate(-5.1deg);
}
@media screen and (max-width: 1100px) {
  .p-overseas-products {
    margin-top: 110px;
    margin-bottom: 80px;
  }
}
@media screen and (max-width: 768px) {
  .p-overseas-products {
    margin-top: 64px;
  }
  .p-overseas-products__link {
    padding-right: 48px;
    padding-left: 200px;
  }
  .p-overseas-products__arrow {
    right: 22px;
  }
  .p-overseas-products__images {
    transform: scale(0.85);
    transform-origin: left center;
  }
}
@media screen and (max-width: 486px) {
  .p-overseas-products {
    margin-top: 48px;
    margin-bottom: 64px;
  }
  .p-overseas-products__link {
    min-height: 116px;
    padding: 20px 42px 20px 155px;
    font-size: 14px;
    line-height: 24px;
  }
  .p-overseas-products__images {
    transform: scale(0.65);
    transform-origin: left center;
  }
  .p-overseas-products__arrow {
    right: 16px;
  }
}

.page-overseas .p-home-contact {
  margin-top: 0;
}

.p-contact-intro__mobile-break {
  display: none;
}
@media screen and (max-width: 768px) {
  .p-contact-intro__mobile-break {
    display: block;
  }
}
.p-contact-intro {
  padding: 100px 0 120px;
}
.p-contact-intro h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
  font-feature-settings: "palt";
  text-align: center;
}
.p-contact-intro__lead {
  margin-top: 36px;
  text-align: center;
  line-height: 30px;
}
.p-contact-intro__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}
@media screen and (max-width: 1100px) {
  .p-contact-intro {
    padding: 64px 0 80px;
  }
  .p-contact-intro__cards {
    gap: 24px;
  }
}
@media screen and (max-width: 768px) {
  .p-contact-intro {
    padding: 48px 0 64px;
  }
  .p-contact-intro h2 {
    font-size: 20px;
  }
  .p-contact-intro__lead {
    margin-top: 24px;
  }
  .p-contact-intro__cards {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
}
@media screen and (max-width: 486px) {
  .p-contact-intro__lead {
    font-size: 14px;
    line-height: 28px;
  }
}

.p-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 170px;
  padding: 32px 24px;
  border: 1px solid #d9301d;
  border-radius: 30px;
  color: #d9301d;
  background: #fff;
  text-align: center;
}
.p-contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}
.p-contact-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 100%;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.5;
  white-space: nowrap;
}
.p-contact-card--phone:focus-visible {
  outline-color: currentColor;
}
.p-contact-card__number img {
  flex-shrink: 0;
  transform: rotate(-30deg);
  filter: brightness(0) saturate(100%) invert(27%) sepia(89%) saturate(2240%) hue-rotate(351deg) brightness(91%) contrast(94%);
}
.p-contact-card__number .p-contact-card__fax-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transform: none;
}
@media screen and (max-width: 1100px) {
  .p-contact-card__number {
    font-size: 30px;
    gap: 12px;
  }
}
@media screen and (max-width: 768px) {
  .p-contact-card {
    min-height: 160px;
  }
  .p-contact-card__number {
    font-size: 36px;
  }
}
@media screen and (max-width: 486px) {
  .p-contact-card {
    padding: 24px 16px;
    min-height: 140px;
    border-radius: 24px;
  }
  .p-contact-card h3 {
    font-size: 18px;
  }
  .p-contact-card__number {
    font-size: clamp(20px, 7vw, 34px);
    gap: 10px;
  }
  .p-contact-card__number img {
    width: 30px;
    height: auto;
  }
  .p-contact-card__number .p-contact-card__fax-icon {
    width: 30px;
    height: 30px;
  }
}

.p-products-hero .p-page-hero__image {
  object-position: center 62%;
}

.p-products-categories {
  padding-top: 140px;
}
.p-products-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 86px 13px;
}
.p-products-categories__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80px;
  padding: 20px 46px 20px 100px;
  border: 1px solid #fc9bb4;
  border-radius: 100px;
  background: #fc9bb4;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.p-products-categories__button[aria-pressed=true] {
  background: #d9301d;
}
.p-products-categories__button:hover {
  background: #fff;
  border-color: #fc9bb4;
}
.p-products-categories__image {
  position: absolute;
  left: 35px;
  bottom: 15px;
  width: auto;
  max-width: 36%;
  object-fit: contain;
}
.p-products-categories__image--baby, .p-products-categories__image--care, .p-products-categories__image--export {
  height: 130px;
}
.p-products-categories__image--health, .p-products-categories__image--chips {
  height: 118px;
}
.p-products-categories__image--emergency {
  height: 101px;
}
.p-products-categories__image--confectionery {
  height: 120px;
}
.p-products-categories__image--ingredients {
  height: 105px;
}
.p-products-categories__arrow {
  position: absolute;
  right: 14px;
  top: calc(50% - 13px);
  transform: rotate(90deg);
}
@media screen and (max-width: 1100px) {
  .p-products-categories {
    padding-top: 110px;
  }
  .p-products-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px 24px;
  }
}
@media screen and (max-width: 768px) {
  .p-products-categories {
    padding-top: 100px;
  }
  .p-products-categories__grid {
    gap: 76px 20px;
  }
  .p-products-categories__button {
    font-size: 18px;
  }
}
@media screen and (max-width: 486px) {
  .p-products-categories {
    padding-top: 90px;
  }
  .p-products-categories__grid {
    gap: 44px 16px;
  }
  .p-products-categories__button {
    height: 46px;
    min-height: 46px;
    padding: 0 24px 0 40px;
    font-size: 14px;
    line-height: 20px;
  }
  .p-products-categories__image {
    left: 8px;
    bottom: 13px;
    width: clamp(28px, 8vw, 38px);
    height: auto;
    max-height: 80px;
    max-width: none;
  }
  .p-products-categories__arrow {
    right: 4px;
    transform: rotate(90deg) scale(0.55);
  }
}

.page-products .p-home-contact {
  margin-top: 100px;
}
@media screen and (max-width: 1100px) {
  .page-products .p-home-contact {
    margin-top: 80px;
  }
}
@media screen and (max-width: 486px) {
  .page-products .p-home-contact {
    margin-top: 64px;
  }
}

.p-products-results {
  padding-top: 64px;
}
.p-products-results[hidden] {
  display: none;
}
.p-products-results h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  line-height: 1.5;
}
.p-products-results__empty {
  margin-top: 24px;
  padding: 32px 24px;
  border-radius: 20px;
  background: #f2efef;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-products-results {
    padding-top: 32px;
  }
  .p-products-results h2 {
    font-size: 24px;
  }
  .p-products-results__empty {
    padding: 24px 16px;
  }
}

.p-policy {
  padding: 80px 0 100px;
}
.p-policy__content {
  max-width: 1000px;
  margin-inline: auto;
  line-height: 2;
  overflow-wrap: anywhere;
}
.p-policy h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 28px;
}
.p-policy h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
}
.p-policy__section {
  margin-top: 40px;
}
.p-policy ol {
  list-style: decimal;
  padding-left: 1.8em;
  margin-top: 12px;
}
.p-policy li + li {
  margin-top: 10px;
}
.p-policy address {
  font-style: normal;
}
.p-policy address a {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  .p-policy {
    padding: 48px 0 64px;
  }
  .p-policy h2 {
    font-size: 20px;
  }
  .p-policy h3 {
    font-size: 20px;
  }
}
@media screen and (max-width: 486px) {
  .p-policy__content {
    font-size: 14px;
  }
  .p-policy h3 {
    font-size: 18px;
  }
  .p-policy__section {
    margin-top: 30px;
  }
}

.page-policy .p-home-contact {
  margin-top: 0;
}

.page-news #news-page-title {
  margin-left: 24px;
}

.p-news {
  max-width: 1000px;
  padding-block: 80px 24px;
}
.p-news__intro {
  text-align: center;
}
.p-news__intro h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  line-height: 1.5;
}
.p-news__intro p {
  margin-top: 20px;
}
.p-news__preview {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  margin-block: 32px 20px;
}
.p-news__list {
  border-top: 1px solid #ddd;
}
.p-news__item {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 24px;
  padding: 32px 20px;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
}
.p-news__item h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.p-news__item:hover {
  background: #fedce4;
}
.p-news__item:hover .p-news__arrow {
  transform: translateX(5px);
}
.p-news__meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  font-size: 14px;
}
.p-news__meta time {
  flex-shrink: 0;
  width: 100px;
  color: #d9301d;
  font-weight: 700;
}
.p-news__category {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 3px 14px;
  border-radius: 20px;
  background: #313030;
  font-size: 12px;
  color: #fff;
}
.p-news__arrow {
  width: 24px;
  height: 24px;
  filter: brightness(0.19);
  transition: transform 0.35s ease;
}
@media screen and (max-width: 768px) {
  .p-news {
    padding-block: 48px 0;
  }
  .p-news__intro h2 {
    font-size: 26px;
  }
  .p-news__item {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 12px 16px;
    padding: 24px 8px;
  }
  .p-news__item h3 {
    font-size: 16px;
    grid-column: 1;
  }
  .p-news__meta {
    grid-column: 1;
  }
  .p-news__arrow {
    grid-column: 2;
    grid-row: 1/3;
  }
}
@media screen and (max-width: 486px) {
  .p-news__intro h2 {
    font-size: 22px;
  }
}

.p-news-article {
  max-width: 900px;
  padding-block: 64px 0;
}
.p-news-article__header {
  padding-bottom: 32px;
  border-bottom: 1px solid #ddd;
}
.p-news-article__header h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  line-height: 1.6;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.p-news-article__body {
  margin-top: 40px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.p-news-article__body > * + * {
  margin-top: 24px;
}
.p-news-article__body h2, .p-news-article__body h3 {
  margin-top: 40px;
  font-size: 24px;
  line-height: 1.6;
  padding-left: 16px;
  border-left: 3px solid #d9301d;
}
.p-news-article__body h4 {
  font-size: 20px;
  line-height: 1.6;
}
.p-news-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}
.p-news-article__body figcaption {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-top: 8px;
}
.p-news-article__body ul, .p-news-article__body ol {
  padding-left: 1.8em;
}
.p-news-article__body ul {
  list-style: disc;
}
.p-news-article__body ol {
  list-style: decimal;
}
.p-news-article__body li + li {
  margin-top: 8px;
}
.p-news-article__body a {
  color: #d9301d;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.p-news-article__body blockquote {
  padding: 20px 24px;
  background: #f2efef;
  border-left: 3px solid #ccc;
}
.p-news-article__body table {
  width: 100%;
  border-collapse: collapse;
}
.p-news-article__body td, .p-news-article__body th {
  padding: 12px;
  border: 1px solid #ddd;
}
.p-news-article__body .wp-block-table {
  overflow-x: auto;
}
.p-news-article__nav {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #ddd;
}
.p-news-article__nav .c-button {
  width: 290px;
}
@media screen and (max-width: 768px) {
  .p-news-article {
    padding-top: 40px;
  }
  .p-news-article__header {
    padding-bottom: 24px;
  }
  .p-news-article__header h2 {
    font-size: 26px;
  }
  .p-news-article__body {
    margin-top: 28px;
  }
  .p-news-article__body h2, .p-news-article__body h3 {
    font-size: 21px;
  }
  .p-news-article__nav {
    margin-top: 40px;
    padding-top: 28px;
  }
}
@media screen and (max-width: 486px) {
  .p-news-article__header h2 {
    font-size: 23px;
  }
  .p-news-article__body {
    font-size: 14px;
  }
  .p-news-article__body h2, .p-news-article__body h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-news__item, .p-news__arrow {
    transition: none;
  }
  .p-news__item:hover .p-news__arrow {
    transform: none;
  }
}
.p-page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50px;
  margin-bottom: 60px;
}
@media screen and (max-width: 1100px) {
  .p-page-hero {
    height: 250px;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 486px) {
  .p-page-hero {
    height: 200px;
    border-radius: 30px;
    margin-bottom: 32px;
  }
}

.p-page-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.p-page-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.p-page-hero__inner {
  position: relative;
  z-index: 1;
}

.p-page-hero h1 {
  font-size: 4rem;
  font-weight: bold;
  color: white;
  text-align: center;
  line-height: 1.3;
}
.p-page-hero h1 span[lang=en] {
  display: block;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin-top: 8px;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .p-page-hero h1 {
    font-size: 3.2rem;
  }
  .p-page-hero h1 span[lang=en] {
    font-size: 2rem;
  }
}
@media screen and (max-width: 486px) {
  .p-page-hero h1 {
    font-size: 2.8rem;
  }
  .p-page-hero h1 span[lang=en] {
    font-size: 1.8rem;
  }
}

.p-product-detail {
  padding: 80px 0;
}
@media screen and (max-width: 1100px) {
  .p-product-detail {
    padding: 60px 0;
  }
}
@media screen and (max-width: 486px) {
  .p-product-detail {
    padding: 40px 0;
  }
}

.p-product-detail__inner {
  display: grid;
  grid-template-columns: 622px 1fr;
  gap: 80px;
}
@media screen and (max-width: 1100px) {
  .p-product-detail__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.p-product-detail__main-image {
  max-width: 622px;
  aspect-ratio: 622/493;
  border-radius: 40px;
  overflow: hidden;
  margin-bottom: 16px;
}
@media screen and (max-width: 1100px) {
  .p-product-detail__main-image {
    max-width: 100%;
  }
}
.p-product-detail__main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-product-detail__gallery {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.p-product-detail__thumbnail {
  width: 124px;
  height: 124px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}
.p-product-detail__thumbnail:hover {
  border-color: var(--color-primary);
}
.p-product-detail__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-product-detail__header {
  margin-bottom: 30px;
}

.p-product-detail__name {
  font-family: "Noto Serif JP", serif;
  font-size: 4rem;
  font-weight: bold;
  color: #d9301d;
  line-height: 1.3;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .p-product-detail__name {
    font-size: 3.2rem;
  }
}
@media screen and (max-width: 486px) {
  .p-product-detail__name {
    font-size: 2.8rem;
  }
}

.p-product-detail__categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.p-product-detail__category-badge {
  display: inline-block;
  padding: 5px 12px;
  background-color: #fa6453;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 5px;
  line-height: 1.3;
}
@media screen and (max-width: 486px) {
  .p-product-detail__category-badge {
    font-size: 1.3rem;
    padding: 4px 10px;
  }
}

.p-product-detail__description {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 30px;
}
@media screen and (max-width: 486px) {
  .p-product-detail__description {
    font-size: 1.6rem;
  }
}

.p-product-detail__specs {
  border-top: 1px solid #ddd;
  padding-top: 30px;
  margin-bottom: 40px;
}

.p-product-detail__spec-row {
  display: grid;
  grid-template-columns: 218px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #eaeaea;
}
@media screen and (max-width: 768px) {
  .p-product-detail__spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.p-product-detail__spec-label {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
}
@media screen and (max-width: 486px) {
  .p-product-detail__spec-label {
    font-size: 1.6rem;
  }
}

.p-product-detail__spec-value {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
}
@media screen and (max-width: 486px) {
  .p-product-detail__spec-value {
    font-size: 1.6rem;
  }
}

.p-product-detail__allergens {
  margin-bottom: 40px;
}

.p-product-detail__allergens-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 16px;
}
@media screen and (max-width: 486px) {
  .p-product-detail__allergens-title {
    font-size: 1.8rem;
  }
}

.p-product-detail__allergens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media screen and (max-width: 768px) {
  .p-product-detail__allergens-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 486px) {
  .p-product-detail__allergens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.p-product-detail__allergen, .p-product-detail__allergen--active {
  padding: 12px;
  background-color: #eaeaea;
  border: 2px solid #afa8a8;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 4px;
}
@media screen and (max-width: 486px) {
  .p-product-detail__allergen, .p-product-detail__allergen--active {
    padding: 10px;
    font-size: 1.4rem;
  }
}

.p-product-detail__allergen--active {
  background-color: #eaeaea;
  border-color: #d9301d;
  color: #d9301d;
  font-weight: bold;
}

.p-product-detail__allergens-note {
  font-size: 1.6rem;
  line-height: 1.3;
}
@media screen and (max-width: 486px) {
  .p-product-detail__allergens-note {
    font-size: 1.4rem;
  }
}

.p-product-detail__allergen-highlight {
  color: #d9301d;
}

.p-product-detail__actions {
  text-align: center;
}

.c-button--back {
  background-color: #313030;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s;
}
.c-button--back:hover {
  opacity: 0.8;
}
.c-button--back img {
  width: 22px;
  height: 22px;
}
@media screen and (max-width: 486px) {
  .c-button--back {
    font-size: 1.6rem;
    padding: 14px 32px;
  }
}

.p-products-results__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}
@media screen and (max-width: 768px) {
  .p-products-results__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media screen and (max-width: 486px) {
  .p-products-results__list {
    grid-template-columns: 1fr;
  }
}

.p-products-results__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.p-products-results__link:hover {
  transform: translateY(-4px);
}

.p-products-results__image {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #f5f5f5;
}
.p-products-results__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-products-results__name {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.4;
}
@media screen and (max-width: 486px) {
  .p-products-results__name {
    font-size: 1.6rem;
  }
}

.p-products-results__series {
  font-size: 1.4rem;
  color: #666;
}
@media screen and (max-width: 486px) {
  .p-products-results__series {
    font-size: 1.3rem;
  }
}

.p-products-results__empty {
  text-align: center;
  padding: 60px 20px;
  font-size: 1.6rem;
  color: #666;
}

.p-news-list {
  padding: 60px 0;
}
@media screen and (max-width: 1100px) {
  .p-news-list {
    padding: 40px 0;
  }
}

.p-news-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-news__item {
  border-bottom: 1px solid #e0e0e0;
}
.p-news__item:first-child {
  border-top: 1px solid #e0e0e0;
}

.p-news__link {
  display: grid;
  grid-template-columns: 120px auto 1fr 40px;
  gap: 20px;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: background-color 0.2s;
}
.p-news__link:hover {
  background-color: #f8f8f8;
}
@media screen and (max-width: 768px) {
  .p-news__link {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.p-news__date {
  font-size: 1.6rem;
  color: #666;
  white-space: nowrap;
}
@media screen and (max-width: 486px) {
  .p-news__date {
    font-size: 1.4rem;
  }
}

.p-news__category {
  display: inline-block;
  padding: 4px 12px;
  background-color: #d9301d;
  color: white;
  font-size: 1.3rem;
  border-radius: 4px;
  white-space: nowrap;
}
@media screen and (max-width: 486px) {
  .p-news__category {
    font-size: 1.2rem;
    padding: 3px 10px;
  }
}

.p-news__title {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
}
@media screen and (max-width: 486px) {
  .p-news__title {
    font-size: 1.5rem;
  }
}

.p-news__arrow {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}
@media screen and (max-width: 768px) {
  .p-news__arrow {
    display: none;
  }
}

.p-news-pagination {
  margin-top: 60px;
  text-align: center;
}
.p-news-pagination .navigation {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.p-news-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.p-news-pagination a,
.p-news-pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  font-size: 1.6rem;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}
.p-news-pagination a:hover,
.p-news-pagination .page-numbers:hover {
  background-color: #f0f0f0;
}
.p-news-pagination .current {
  background-color: #d9301d;
  color: white;
  border-color: #d9301d;
}
@media screen and (max-width: 486px) {
  .p-news-pagination {
    margin-top: 40px;
  }
  .p-news-pagination a,
  .p-news-pagination .page-numbers {
    font-size: 1.4rem;
    padding: 6px 12px;
  }
}

.p-news-list__empty {
  text-align: center;
  padding: 80px 20px;
  font-size: 1.8rem;
  color: #666;
}
@media screen and (max-width: 486px) {
  .p-news-list__empty {
    padding: 60px 20px;
    font-size: 1.6rem;
  }
}

.p-news-article {
  padding: 60px 0;
}
@media screen and (max-width: 1100px) {
  .p-news-article {
    padding: 40px 0;
  }
}

.p-news-article__inner {
  max-width: 800px;
  margin: 0 auto;
}

.p-news-article__header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e0e0e0;
}

.p-news-article__date {
  font-size: 1.6rem;
  color: #666;
  display: block;
  margin-bottom: 12px;
}
@media screen and (max-width: 486px) {
  .p-news-article__date {
    font-size: 1.4rem;
  }
}

.p-news-article__category {
  display: inline-block;
  padding: 4px 12px;
  background-color: #d9301d;
  color: white;
  font-size: 1.3rem;
  border-radius: 4px;
  margin-bottom: 16px;
}
@media screen and (max-width: 486px) {
  .p-news-article__category {
    font-size: 1.2rem;
    padding: 3px 10px;
  }
}

.p-news-article__title {
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.4;
  color: #000;
}
@media screen and (max-width: 768px) {
  .p-news-article__title {
    font-size: 2.8rem;
  }
}
@media screen and (max-width: 486px) {
  .p-news-article__title {
    font-size: 2.4rem;
  }
}

.p-news-article__body {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 60px;
}
.p-news-article__body h2 {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 48px 0 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d9301d;
}
@media screen and (max-width: 486px) {
  .p-news-article__body h2 {
    font-size: 2rem;
    margin: 36px 0 20px;
  }
}
.p-news-article__body h3 {
  font-size: 2rem;
  font-weight: bold;
  margin: 40px 0 20px;
}
@media screen and (max-width: 486px) {
  .p-news-article__body h3 {
    font-size: 1.8rem;
    margin: 32px 0 16px;
  }
}
.p-news-article__body p {
  margin-bottom: 20px;
}
.p-news-article__body ul,
.p-news-article__body ol {
  margin: 20px 0;
  padding-left: 24px;
}
.p-news-article__body ul li,
.p-news-article__body ol li {
  margin-bottom: 12px;
}
.p-news-article__body img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 8px;
}
@media screen and (max-width: 486px) {
  .p-news-article__body {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 40px;
  }
}

.p-news-article__footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.u-visually-hidden,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Product archive uses the shared lower-page contact/footer spacing. */
.post-type-archive-product .p-home-contact { margin-top:100px; }
@media screen and (max-width:1100px) { .post-type-archive-product .p-home-contact { margin-top:80px; } }
@media screen and (max-width:486px) { .post-type-archive-product .p-home-contact { margin-top:64px; } }
.p-products-categories__button:hover { color:#313030; }

.p-products-hero { margin-bottom:0; }
.p-products-categories__inner { width:min(calc(100% - var(--gutter) * 2),1280px); max-width:1280px; }

/* Product detail / Figma 4982:2 */
.single-product .p-product-detail {
  padding: 135px 0 0;
}
.single-product .p-product-detail__inner {
  width: min(100% - var(--gutter) * 2, 1280px);
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(0, 622fr) minmax(0, 558fr);
  align-items: start;
  gap: 100px;
}
.single-product .p-product-detail__images, .single-product .p-product-detail__info {
  min-width: 0;
}
.single-product .p-product-detail__main-image, .single-product .p-product-detail__image-empty {
  width: 100%;
  max-width: none;
  aspect-ratio: 622/493;
  margin: 0;
  border-radius: 40px;
  background: #f2efef;
  overflow: hidden;
}
.single-product .p-product-detail__main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.single-product .p-product-detail__image-empty {
  display: grid;
  place-items: center;
  padding: 24px;
  color: #666;
}
.single-product .p-product-detail__gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.single-product .p-product-detail__thumbnail {
  display: block;
  flex: 0 0 156px;
  width: 156px;
  height: 124px;
  margin: 0;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 20px;
  background: #f2efef;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.single-product .p-product-detail__thumbnail[aria-pressed=true], .single-product .p-product-detail__thumbnail:hover {
  border-color: #d9301d;
}
.single-product .p-product-detail__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.single-product .p-product-detail__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin: 0;
  border-bottom: 1px solid #ccc;
}
.single-product .p-product-detail__name {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  line-height: 1.3;
  font-weight: 700;
  color: #d9301d;
  overflow-wrap: anywhere;
}
.single-product .p-product-detail__categories {
  flex-shrink: 0;
  max-width: 35%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
}
.single-product .p-product-detail__category-badge {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 5px;
  background: #fa6453;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}
.single-product .p-product-detail__description {
  margin: 24px 0 28px;
  font-size: 20px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.single-product .p-product-detail__description p + p {
  margin-top: 16px;
}
.single-product .p-product-detail__description img {
  max-width: 100%;
  height: auto;
}
.single-product .p-product-detail__specs {
  padding: 0;
  margin: 0;
  border-top: 1px solid #ccc;
}
.single-product .p-product-detail__spec-row {
  display: grid;
  grid-template-columns: minmax(0, 260fr) minmax(0, 298fr);
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  min-height: 90px;
  border-bottom: 1px solid #ccc;
}
.single-product .p-product-detail__spec-label, .single-product .p-product-detail__spec-value {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #000;
  overflow-wrap: anywhere;
}
.single-product .p-product-detail__spec-label {
  font-weight: 700;
}
.single-product .p-product-detail__spec-value {
  font-weight: 500;
}
.single-product .p-product-detail__allergens {
  margin: 20px 0 0;
}
.single-product .p-product-detail__allergens-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
.single-product .p-product-detail__allergens-note {
  margin: 8px 0 20px;
  font-size: 16px;
  line-height: 1.5;
}
.single-product .p-product-detail__allergen-highlight {
  color: #d9301d;
}
.single-product .p-product-detail__allergens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.single-product .p-product-detail__allergen {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 10px;
  border: 2px solid #afa8a8;
  border-radius: 0;
  background: #eaeaea;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.single-product .p-product-detail__allergen--active {
  border-color: #d9301d;
  color: #d9301d;
  font-weight: 700;
}
.single-product .p-product-detail__actions {
  margin-top: 56px;
  text-align: center;
}
.single-product .p-product-detail__actions .c-button {
  width: 267px;
  font-size: 18px;
}
.single-product .p-home-contact {
  margin-top: 100px;
}
@media screen and (max-width: 1100px) {
  .single-product .p-product-detail {
    padding-top: 80px;
  }
  .single-product .p-product-detail__inner {
    gap: 40px;
  }
  .single-product .p-product-detail__name {
    font-size: 32px;
  }
  .single-product .p-product-detail__description, .single-product .p-product-detail__spec-label, .single-product .p-product-detail__spec-value {
    font-size: 16px;
  }
  .single-product .p-product-detail__thumbnail {
    flex-basis: 124px;
    width: 124px;
    height: 100px;
  }
  .single-product .p-product-detail__spec-row {
    min-height: 80px;
    gap: 16px;
    padding: 20px 0;
  }
}
@media screen and (max-width: 768px) {
  .single-product .p-product-detail {
    padding-top: 48px;
  }
  .single-product .p-product-detail__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .single-product .p-product-detail__main-image {
    border-radius: 28px;
  }
  .single-product .p-product-detail__name {
    font-size: 28px;
  }
  .single-product .p-product-detail__description {
    margin: 20px 0 24px;
    font-size: 16px;
    line-height: 1.8;
  }
  .single-product .p-product-detail__actions {
    margin-top: 40px;
  }
  .single-product .p-home-contact {
    margin-top: 64px;
  }
}
@media screen and (max-width: 486px) {
  .single-product .p-product-detail__name {
    font-size: 26px;
  }
  .single-product .p-product-detail__category-badge {
    font-size: 12px;
    line-height: 18px;
    padding: 4px 7px;
  }
  .single-product .p-product-detail__categories {
    margin-top: 3px;
  }
  .single-product .p-product-detail__description, .single-product .p-product-detail__spec-label, .single-product .p-product-detail__spec-value {
    font-size: 14px;
  }
  .single-product .p-product-detail__spec-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 18px 0;
    min-height: 72px;
  }
  .single-product .p-product-detail__allergens-title {
    font-size: 18px;
  }
  .single-product .p-product-detail__allergens-note, .single-product .p-product-detail__allergen {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .single-product .p-product-detail__thumbnail {
    transition: none;
  }
}

/* Breadcrumb NavXT: news and products */
.p-breadcrumb { width:min(calc(100% - var(--gutter) * 2),1280px); max-width:1280px; margin:20px auto 0; font-size:13px; line-height:1.8; color:#666; }
.p-breadcrumb__trail { overflow-wrap:anywhere; }
.p-breadcrumb a { color:#313030; text-decoration:underline; text-underline-offset:3px; }
.p-breadcrumb a:hover { color:#d9301d; }
.p-news-hero { margin-bottom:0; }
@media screen and (max-width:768px) { .p-breadcrumb { margin-top:16px; font-size:12px; } }

/* All products catalogue / Figma 4982:177 */
.p-product-catalogue {
  width: min(100% - var(--gutter) * 2, 1280px);
  max-width: 1280px;
  padding-top: 90px;
}
.p-product-catalogue__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.p-product-catalogue__heading h2 {
  font-size: 28px;
}
.p-product-catalogue__reset {
  padding: 8px 20px;
  border: 1px solid #313030;
  border-radius: 30px;
  background: #fff;
  color: #313030;
  font-size: 14px;
}
.p-product-catalogue__reset[aria-pressed=true], .p-product-catalogue__reset:hover {
  background: #313030;
  color: #fff;
}
.p-product-catalogue__count {
  margin: 16px 0 24px;
  font-size: 14px;
  color: #666;
}
.p-product-catalogue__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
}
.p-product-catalogue__item {
  min-width: 0;
}
.p-product-catalogue__item[hidden], .p-product-catalogue .js-productEmpty[hidden] {
  display: none;
}
.p-product-catalogue__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #fc9bb4;
  border-radius: 40px;
  overflow: hidden;
  background: #fff;
  color: #fff;
  transition: transform 0.35s ease;
}
.p-product-catalogue__card:hover, .p-product-catalogue__card:focus-visible {
  transform: translateY(-6px);
}
.p-product-catalogue__image {
  display: grid;
  place-items: center;
  aspect-ratio: 404/320;
  padding: 24px;
  min-width: 0;
  color: #666;
}
.p-product-catalogue__image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 272px;
  object-fit: contain;
}
.p-product-catalogue__caption {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 89px;
  padding: 12px 18px;
  background: #313030;
  flex: 1;
}
.p-product-catalogue__name {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.p-product-catalogue__badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 42%;
  flex-shrink: 0;
}
.p-product-catalogue__badge {
  padding: 4px 7px;
  border-radius: 5px;
  background: #666;
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}
.p-product-catalogue__badge--baby {
  background: #fa6453;
}
.p-product-catalogue__badge--health {
  background: #a57d28;
}
.p-product-catalogue__badge--care {
  background: #8840bf;
}
.p-product-catalogue__badge--emergency {
  background: #43bd96;
}
.p-product-catalogue__badge--confectionery {
  background: #bd6d41;
}
.p-product-catalogue__badge--ingredients {
  background: #737a50;
}
.p-product-catalogue__badge--chips {
  background: #d8b838;
  color: #313030;
}
.p-product-catalogue__badge--export {
  background: #408fbf;
}
@media screen and (max-width: 1100px) {
  .p-product-catalogue {
    padding-top: 64px;
  }
  .p-product-catalogue__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .p-product-catalogue__name {
    font-size: 20px;
  }
}
@media screen and (max-width: 486px) {
  .p-product-catalogue {
    padding-top: 48px;
  }
  .p-product-catalogue__heading h2 {
    font-size: 22px;
  }
  .p-product-catalogue__reset {
    padding: 7px 12px;
    font-size: 12px;
  }
  .p-product-catalogue__grid {
    gap: 20px 16px;
  }
  .p-product-catalogue__card {
    border-radius: 20px;
  }
  .p-product-catalogue__image {
    padding: 12px;
  }
  .p-product-catalogue__image img {
    max-height: 150px;
  }
  .p-product-catalogue__caption {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 10px;
    min-height: 100px;
  }
  .p-product-catalogue__name {
    font-size: 14px;
  }
  .p-product-catalogue__badges {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 4px;
  }
  .p-product-catalogue__badge {
    font-size: 10px;
    padding: 3px 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-product-catalogue__card {
    transition: none;
  }
  .p-product-catalogue__card:hover, .p-product-catalogue__card:focus-visible {
    transform: none;
  }
}

/* Product image slider */
.single-product .p-product-detail__main-image.js-productGallery {
  position: relative;
  visibility: visible;
}
.single-product .p-product-detail__main-image.js-productGallery .splide__track, .single-product .p-product-detail__main-image.js-productGallery .splide__list, .single-product .p-product-detail__main-image.js-productGallery .splide__slide {
  height: 100%;
}
.single-product .p-product-detail__main-image.js-productGallery .splide__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.single-product .p-product-detail__main-image.js-productGallery:not(.is-initialized) .splide__slide:not(:first-child) {
  display: none;
}
.single-product .p-product-detail__main-image.js-productGallery .splide__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(49, 48, 48, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #313030;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.single-product .p-product-detail__main-image.js-productGallery .splide__arrow--prev {
  left: 12px;
}
.single-product .p-product-detail__main-image.js-productGallery .splide__arrow--next {
  right: 12px;
}
.single-product .p-product-detail__main-image.js-productGallery .splide__arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.single-product .p-product-detail__main-image.js-productGallery .splide__arrow--prev svg {
  transform: rotate(180deg);
}
.single-product .p-product-detail__main-image.js-productGallery .splide__arrow:hover {
  background: #fff;
  color: #d9301d;
}

.single-product .p-product-detail__slider-count {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #313030;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
}

@media screen and (max-width: 486px) {
  .single-product .p-product-detail__main-image.js-productGallery .splide__arrow {
    width: 34px;
    height: 34px;
    padding: 8px;
  }
  .single-product .p-product-detail__main-image.js-productGallery .splide__arrow--prev {
    left: 8px;
  }
  .single-product .p-product-detail__main-image.js-productGallery .splide__arrow--next {
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .single-product .p-product-detail__main-image.js-productGallery .splide__arrow {
    transition: none;
  }
}

/* Product category interaction states */
.p-products-categories__button { transition:background-color .3s ease, color .3s ease, border-color .3s ease; }
.p-products-categories__button:focus { outline:none; }
.p-products-categories__button:hover, .p-products-categories__button[aria-pressed="true"], .p-products-categories__button:focus-visible { background:#fff; color:#d9301d; border-color:#d9301d; outline:none; box-shadow:none; }

/* Compact mobile captions with uniform image frames. */
@media screen and (max-width:486px) {
 .p-product-catalogue__grid { grid-auto-rows:auto; align-items:stretch; }
 .p-product-catalogue__card { height:100%; }
 .p-product-catalogue__image { height:174px; min-height:174px; flex:0 0 174px; aspect-ratio:auto; padding:12px; }
 .p-product-catalogue__image img { width:100%; height:150px; max-height:150px; object-fit:contain; }
 .p-product-catalogue__caption { min-height:0; flex:1 0 auto; justify-content:flex-start; }
 .p-product-catalogue__name { flex:0 0 auto; }
}

/* Match catalogue category colors on product details. */
.single-product .p-product-detail__category-badge--baby { background:#fa6453; color:#fff; }
.single-product .p-product-detail__category-badge--health { background:#a57d28; color:#fff; }
.single-product .p-product-detail__category-badge--care { background:#8840bf; color:#fff; }
.single-product .p-product-detail__category-badge--emergency { background:#43bd96; color:#fff; }
.single-product .p-product-detail__category-badge--confectionery { background:#bd6d41; color:#fff; }
.single-product .p-product-detail__category-badge--ingredients { background:#737a50; color:#fff; }
.single-product .p-product-detail__category-badge--chips { background:#d8b838; color:#313030; }
.single-product .p-product-detail__category-badge--export { background:#408fbf; color:#fff; }

/* White background for allergens present in the product. */
.single-product .p-product-detail__allergen--active { background-color:#fff; }

/* Product catalogue name size. */
.p-product-catalogue__name { font-size:18px; }

/* Updated product category colors. */
.p-product-catalogue__badge--health, .single-product .p-product-detail__category-badge--health { background:#377db5; color:#fff; }
.p-product-catalogue__badge--chips, .single-product .p-product-detail__category-badge--chips { color:#fff; }

/* Header primary navigation size. */
.p-site-header__nav > a:not([class]), .p-site-header__products-row > a { font-size:16px; }

/* Shop button alongside footer social links. */
.p-site-footer__socials { flex-wrap:wrap; }
.p-site-footer .p-site-footer__shop { flex-shrink:0; height:40px; margin-top:0; border:1px solid #fff; border-radius:30px; background:#fff; color:#313030; transition:background-color .3s ease,color .3s ease; }
.p-site-footer__shop > .p-site-header__button-bg { display:none; }
.p-site-footer__shop > img:not(.p-site-header__button-bg) { filter:brightness(0) invert(18.9%); transition:filter .3s ease; }
.p-site-footer .p-site-footer__shop:hover, .p-site-footer .p-site-footer__shop:focus-visible { background:#313030; color:#fff; }
.p-site-footer__shop:hover > img:not(.p-site-header__button-bg), .p-site-footer__shop:focus-visible > img:not(.p-site-header__button-bg) { filter:brightness(0) invert(1); }

/* Mobile lower-page hero headings. */
@media screen and (max-width:486px) {
 .p-page-hero h1 { font-size:22px; text-align:left; }
 .p-page-hero h1 span[lang="en"] { text-align:left; }
}

@media screen and (max-width:486px) { .p-page-hero h1 span[lang="en"] { margin-top:0; } }

@media screen and (max-width:486px) { .p-page-hero h1 span[lang="en"] { font-size:16px; } }

/* Compact mobile page hero. */
@media screen and (max-width:486px) { .p-page-hero { height:170px; } }

/* Remove the mobile page hero bottom gap. */
@media screen and (max-width:486px) { .p-page-hero { margin-bottom:0; } }

/* Continue the company history background behind the contact section. */
.page-id-6 .p-home-contact { margin-top:0; background:linear-gradient(to bottom,#f2efef calc(100% - 60px),transparent calc(100% - 60px)); }

/* Continue the service background behind contact. */
.page-id-5 .p-home-contact { margin-top:0; background:linear-gradient(to bottom,#f2efef calc(100% - 60px),transparent calc(100% - 60px)); }

/* Tighten the contact telephone icon spacing. */
.p-home-contact__phone { gap:6px; }

/* News archive sidebar. */
.p-news-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:64px; align-items:start; }
.p-news-list__inner { min-width:0; }
.p-news-list__heading { margin:0 0 40px; font-size:28px; line-height:1.5; }
.p-news-sidebar { display:grid; gap:24px; }
.p-news-sidebar__box { padding:24px; background:#fedce4; border-radius:24px; }
.p-news-sidebar__box h2 { margin:0 0 20px; padding-bottom:14px; border-bottom:1px solid #d9301d; font-size:18px; line-height:1.5; }
.p-news-sidebar__box ul { margin:0; padding:0; list-style:none; }
.p-news-sidebar__box a { transition:color .2s; }
.p-news-sidebar__box a:hover { color:#d9301d; }
.p-news-sidebar__recent li + li { margin-top:12px; padding-top:12px; border-top:1px solid #e6b8c2; }
.p-news-sidebar__recent a { display:block; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.p-news-sidebar__recent time { display:block; color:#666; font-size:12px; margin-bottom:4px; }
.p-news-sidebar__links { font-size:14px; line-height:2; }
.p-news-sidebar__links li + li { margin-top:10px; }
@media screen and (max-width:1100px) { .p-news-layout { grid-template-columns:minmax(0,1fr) 240px; gap:32px; } }
@media screen and (max-width:768px) { .p-news-layout { grid-template-columns:1fr; gap:40px; } .p-news-list__heading { font-size:24px; margin-bottom:24px; } .p-news-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } .p-news-sidebar__box:first-child { grid-column:1/-1; } }
@media screen and (max-width:486px) { .p-news-sidebar { grid-template-columns:1fr; } .p-news-sidebar__box { padding:24px; border-radius:20px; } }

.p-news-layout .p-news__link { width:100%; grid-template-columns:105px auto minmax(0,1fr) 32px; gap:16px; }
@media screen and (max-width:768px) { .p-news-layout .p-news__link { grid-template-columns:1fr; gap:8px; } }

/* News rows: remove item padding and align arrow to the right edge. */
.p-news-list .p-news__item { padding:0; }
.p-news-list .p-news__link { width:100%; box-sizing:border-box; grid-template-columns:105px auto minmax(0,1fr) 32px; }
.p-news-list .p-news__arrow { justify-self:end; }
@media screen and (max-width:768px) {
 .p-news-list .p-news__link { position:relative; grid-template-columns:1fr; padding-right:40px; }
 .p-news-list .p-news__arrow { display:block; position:absolute; right:0; top:50%; transform:translateY(-50%); }
}

.p-news-list .p-news__item { display:block; }

/* Consistent pink news hover and inset arrows. */
.p-news-list .p-news__item:hover, .p-news-list .p-news__item:focus-within, .p-news-list .p-news__link:hover, .p-news-list .p-news__link:focus-visible { background-color:#fedce4; }
.p-news-list .p-news__link { padding-right:16px; }
@media screen and (max-width:768px) { .p-news-list .p-news__link { padding-right:56px; } .p-news-list .p-news__arrow { right:16px; } }

/* Left inset for news list rows. */
.p-news-list .p-news__item { padding-left:16px; }

/* Mobile news badges and vertically centered arrows. */
@media screen and (max-width:768px) {
 .p-news-list .p-news__category { justify-self:start; width:fit-content; }
 .p-news-list .p-news__item { position:relative; }
 .p-news-list .p-news__link { position:static; }
 .p-news-list .p-news__arrow { position:absolute; top:50%; right:16px; transform:translateY(-50%); margin:0; align-self:auto; }
}

/* News detail shares the archive sidebar layout. */
.p-news-detail-layout { padding-top:60px; padding-bottom:60px; }
.p-news-detail-layout .p-news-article { padding:0; min-width:0; }
.p-news-detail-layout .p-news-article__inner { width:100%; max-width:none; margin:0; }
@media screen and (max-width:1100px) { .p-news-detail-layout { padding-top:40px; padding-bottom:40px; } }

/* Left-align lower-page hero headings at all screen sizes. */
.p-page-hero h1, .p-page-hero h1 span[lang="en"] { text-align:left; }

/* Show header shadow after the page hero has passed. */
.p-site-header { box-shadow:none; transition:box-shadow .25s ease; }
.p-site-header.has-scroll-shadow { box-shadow:0 3px 12px rgba(0,0,0,.08); }
@media (prefers-reduced-motion:reduce) { .p-site-header { transition:none; } }

/* Breathing room above and below product detail images. */
.single-product .p-product-detail__main-image img { padding-block:24px; }
@media screen and (max-width:486px) { .single-product .p-product-detail__main-image img { padding-block:16px; } }

/* Vertical inset for product gallery thumbnails. */
.single-product .p-product-detail__thumbnail img { padding-block:8px; }

/* Vertical inset inside catalogue images without changing card frame heights. */
.p-product-catalogue__image img { padding-block:8px; }
/* Reduce desktop product detail text from 20px to 18px. */
@media screen and (min-width:1101px) { .single-product .p-product-detail__description, .single-product .p-product-detail__spec-label, .single-product .p-product-detail__spec-value { font-size:18px; } }
.single-product .p-product-detail__allergens-title { font-size:18px; }

/* Product detail navigation buttons. */
.single-product .p-product-detail__actions { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:16px 24px; }

/* Match secondary mobile navigation links to primary links. */
@media screen and (max-width:1100px) { .p-site-header__nav > .p-site-header__mobile-link { font-size:16px; } }

/* Opening heading in the company message. */
.p-company-message__row .p-company-message__japanese > p:first-child { font-family:"Noto Serif JP",serif; font-size:20px; line-height:1.6; margin-bottom:1em; }

.p-company-message__row .p-company-message__japanese > p:first-child { font-weight:700; }

@media screen and (max-width:486px) { .p-company-message__row .p-company-message__japanese > p:first-child { font-size:18px; } }

/* Consistent CSS dividers for company overview and history. */
.p-company-table__divider { width:1px; background:#ccc; }
.p-company-table__divider img { display:none; }

/* Proportional alternate spacing on company page content. */
.page-id-6 .l-main { font-feature-settings:"palt"; }

/* Keep a comfortable gap beside the company portrait. */
@media screen and (min-width:1101px) { .p-company-message__copy { max-width:min(66%,calc(100% + var(--site-inner-offset) - 33.5vw - 48px)); } }

/* Gentle entrance for the home hero copy. */
@keyframes matsuya-hero-copy-in { from { opacity:0; transform:translateX(-32px); } to { opacity:1; transform:translateX(0); } }
.p-home-hero__copy { animation:matsuya-hero-copy-in 2s cubic-bezier(.22,1,.36,1) .8s both; }
@media (prefers-reduced-motion:reduce) { .p-home-hero__copy { animation:none; } }

/* Balanced home scroll entrances; JS adds the class only when supported. */
.p-home-scroll-reveal { opacity:0; translate:-36px 0; transition:opacity 1s ease,translate 1s cubic-bezier(.22,1,.36,1); transition-delay:var(--reveal-delay,0ms); }
.p-home-scroll-reveal--right { translate:36px 0; }
.p-home-scroll-reveal.is-revealed { opacity:1; translate:0 0; }
@media screen and (max-width:768px) { .p-home-scroll-reveal { translate:-20px 0; } .p-home-scroll-reveal--right { translate:20px 0; } .p-home-scroll-reveal.is-revealed { translate:0 0; } }
@media (prefers-reduced-motion:reduce) { .p-home-scroll-reveal { opacity:1; translate:none; transition:none; } }

/* Product thumbnails enter gently from below. */
.p-home-scroll-reveal--up { translate:0 28px; }
.p-home-scroll-reveal--up.is-revealed { translate:0 0; }
@media screen and (max-width:768px) { .p-home-scroll-reveal--up { translate:0 20px; } .p-home-scroll-reveal--up.is-revealed { translate:0 0; } }
@media (prefers-reduced-motion:reduce) { .p-home-scroll-reveal--up { translate:none; } }

/* Home overseas and about paragraph leading. */
.p-home-overseas__content > p:not([class]), .p-home-about__content > p:not([class]) { line-height:30px; }

/* Shared contact panel with the Uruchan illustrations. */
.p-home-contact__background {
  display: none;
}
.p-home-contact__content {
  color: #313030;
  background-color: #fff9ea;
  background-image: url("https://bst-test.site/niigata-matsuya.co.jp/wp-content/uploads/2026/11/contact-uruchan-pattern.webp");
  background-position: center;
  background-size: 840px auto;
}
.p-home-contact__phone {
  color: #313030;
}
.p-home-contact__phone img {
  filter: brightness(0) invert(18.9%);
}
@media (max-width: 768px) {
  .p-home-contact__content {
    background-image: url("https://bst-test.site/niigata-matsuya.co.jp/wp-content/uploads/2026/11/contact-uruchan-pattern.webp");
    background-size: 650px auto;
  }
}

/* Compact guiding principles on mobile. */
@media screen and (max-width: 768px) {
  .p-company-philosophy__copy {
    width: 100%;
    margin-top: 24px;
    text-align: left;
  }
  .p-company-philosophy__item + .p-company-philosophy__item {
    margin-top: 20px !important;
  }
  .p-company-philosophy__english {
    margin-top: 6px;
    line-height: 1.7;
  }
}

/* Shared lower-page header photograph, excluding products. */
body:not(.page-products):not(.post-type-archive-product):not(.single-product):not(.tax-product_cat):not(.tax-product_series) .p-page-hero:not(.p-products-hero) .p-page-hero__image { content: url("https://bst-test.site/niigata-matsuya.co.jp/wp-content/uploads/2026/11/page-header-matsuya-sign.webp"); object-fit: cover; object-position: center 50%; }

/* Align certification PDF button labels on mobile. */
@media screen and (max-width: 768px) {
  .p-company-certification .c-button { justify-content: space-between; padding-inline: clamp(40px, 15vw, 64px) !important; gap: 16px; text-align: left; }
  .p-company-certification .c-button > span:first-child { text-align: left; }
}

/* Remove unused collage space and retain 48px below its visible images on phones. */
@media screen and (max-width: 486px) {
 .p-company-message { padding-bottom: 48px; }
 .p-company-message__products { margin-bottom: calc(-40px - 17.73%); }
}

/* Keep the industrial materials image clear of its category label. */
@media screen and (min-width: 487px) {
  .p-products-categories__image--confectionery {
    width: min(88px, 30%);
    height: auto;
    max-width: none;
  }
}

/* Tighten Japanese punctuation in the hero copy. */
.p-home-hero__copy h1,
.p-home-hero__copy p { font-feature-settings: "halt" 1; }

/* Repeating whole-character contact pattern; overlapping characters are omitted. */
.p-home-contact__content { background-image:none; isolation:isolate; }
.p-home-contact__pattern { position:absolute; inset:0; overflow:hidden; border-radius:inherit; pointer-events:none; z-index:-1; }
.p-home-contact__pattern > span { position:absolute; width:140px; height:140px; background-image:url("https://bst-test.site/niigata-matsuya.co.jp/wp-content/uploads/2026/11/contact-uruchan-pattern.webp"); background-size:840px auto; background-repeat:no-repeat; }

/* Keep the same total height while making space for lower illustrations. */
@media(min-width:1101px) { .p-home-contact__content { padding-top:32px; padding-bottom:60px; } }

/* Hide all contact illustration tiles on mobile. */
@media screen and (max-width:768px) { .p-home-contact__pattern { display:none; } }

/* Two small, distinct illustrations beside the mobile CONTACT heading. */
@media screen and (max-width:768px) {
 .p-home-contact__content::before,.p-home-contact__content::after {
  content:""; position:absolute; pointer-events:none; top:28px;
  width:50px; height:50px;
  background-image:url("https://bst-test.site/niigata-matsuya.co.jp/wp-content/uploads/2026/11/contact-uruchan-pattern.webp");
  background-repeat:no-repeat; background-size:300px auto;
 }
 .p-home-contact__content::before { left:max(6px,calc(50% - 180px)); background-position:0 0; }
 .p-home-contact__content::after { right:max(6px,calc(50% - 180px)); background-position:-150px 0; }
}

/* Bring the larger mobile illustrations closer to the heading. */
@media screen and (max-width:768px) {
 .p-home-contact__content { --contact-baby-size:clamp(52px,17.1vw,64px); }
 .p-home-contact__content::before,.p-home-contact__content::after { width:var(--contact-baby-size); height:var(--contact-baby-size); top:22px; background-size:calc(var(--contact-baby-size) * 6) auto; }
 .p-home-contact__content::before { left:max(2px,calc(50% - 195px)); }
 .p-home-contact__content::after { right:max(2px,calc(50% - 195px)); background-position:calc(var(--contact-baby-size) * -3) 0; }
}
@media screen and (max-width:486px) {
 .p-home-contact__content::before { left:max(2px,calc(50% - 159px)); }
 .p-home-contact__content::after { right:max(2px,calc(50% - 159px)); }
}

/* Slightly larger mobile illustrations in their original colors. */
@media screen and (max-width:768px) {
 .p-home-contact__content { --contact-baby-size:clamp(58px,18.7vw,70px); }
 .p-home-contact__content::before,.p-home-contact__content::after { top:18px; background-size:contain; background-position:center; opacity:1; filter:none; }
 .p-home-contact__content::before { background-image:url("https://bst-test.site/niigata-matsuya.co.jp/wp-content/uploads/2026/11/contact-baby-vegetables.webp"); }
 .p-home-contact__content::after { background-image:url("https://bst-test.site/niigata-matsuya.co.jp/wp-content/uploads/2026/11/contact-baby-chicken.webp"); }
}

/* Add 10px more space between the mobile heading and each illustration. */
@media screen and (max-width:768px) { .p-home-contact__content::before { transform:translateX(-10px); } .p-home-contact__content::after { transform:translateX(10px); } }
