@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

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

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: blur(10px);
}

/* フォームリセット */
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type=checkbox],
input[type=radio] {
  display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

@font-face {
  font-family: "Noto Sans JP VF";
  src: url("../../fonts/NotoSansJP-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
html {
  font-size: 16px;
}
@media (max-width: 1200px) {
  html {
    font-size: 1.3333333333vw;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}

:root {
  --wp-admin-bar-height: 0px;
  --base-font-family: Arial, "Helvetica Neue", Helvetica, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --hiramin-font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "游明朝", YuMincho, "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  --color-black: #000000;
  --color-white: #fff;
  --color-text: #808080;
  --color-text2: #666666;
  --color-gray: #666464;
  --color-footer: #9f9fa0;
  --color-border: #c2c2c2;
  --header-height: 3.75rem;
}
@media screen and (max-width: 767px) {
  :root {
    --header-height: 6.25rem;
  }
}

:root:has(.admin-bar) {
  --wp-admin-bar-height: 32px;
}

@media (max-width: 782px) {
  :root:has(.admin-bar) {
    --wp-admin-bar-height: 46px;
  }
}
/* 小さい画面では #wpadminbar を固定 */
@media (max-width: 600px) {
  #wpadminbar {
    position: fixed !important;
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--wp-admin-bar-height)) !important;
  -webkit-text-size-adjust: 100%;
}

body {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  display: grid;
  grid-template-areas: "sidebar main header" "footer footer footer";
  grid-template-columns: 16.25rem 1fr 8.125rem;
  -moz-column-gap: 0.3125rem;
       column-gap: 0.3125rem;
  min-height: calc(100vh - var(--wp-admin-bar-height)) !important;
  min-height: calc(100dvh - var(--wp-admin-bar-height)) !important;
  text-rendering: optimizeSpeed;
  color: var(--color-black);
  font-family: var(--base-font-family);
  line-height: 1.5;
  overflow-wrap: anywhere;
  /* 収まらない場合に折り返す */
  word-break: normal;
  /* 単語の分割はデフォルトに依存 */
  line-break: strict;
  /* 禁則処理を厳格に適用 */
}
@media screen and (max-width: 767px) {
  body {
    grid-template-areas: "sidebar header" "main main" "footer footer";
    grid-template-columns: 1fr min(13.5416666667vw, 195px);
    gap: 0;
  }
}

main {
  flex: 1;
}

a[href^="tel:"] {
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  a[href^="tel:"] {
    pointer-events: initial;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

@media (any-hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}
a:focus-visible {
  opacity: 0.7;
}

.l-drawer {
  position: fixed;
  inset: var(--wp-admin-bar-height) 0 0;
  z-index: 1000;
}

.l-footer {
  margin-top: 10.625rem;
}
@media screen and (max-width: 767px) {
  .l-footer {
    margin-top: 5rem;
  }
}

.l-inner {
  margin-inline: auto;
  width: 100%;
  padding-inline: 3.125rem;
  max-width: 75rem;
}
@media screen and (max-width: 767px) {
  .l-inner {
    max-width: 36.25rem;
    padding-inline: 1.25rem;
  }
}

.l-main {
  margin-top: 15.625rem;
}
@media screen and (max-width: 767px) {
  .l-main {
    margin-top: 3.5rem;
  }
}

.l-main-top {
  margin-top: 6.5625rem;
}
@media screen and (max-width: 767px) {
  .l-main-top {
    margin-top: 3.5rem;
  }
}

@media screen and (max-width: 767px) {
  .l-main-design {
    margin-top: 3.5rem;
  }
}

.c-button {
  padding-block: 1.125rem;
  padding-inline: 3.125rem;
  display: inline-block;
  font-size: max(0.9375rem, 10px);
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  cursor: pointer;
  transition: 0.3s;
}

/* ホバーの指定 */
@media (any-hover: hover) {
  .c-button:hover {
    opacity: 1;
    background: #727272;
    color: var(--color-white);
  }
}
/* :focus-visible */
@media (any-hover: hover) {
  .c-button:focus-visible {
    opacity: 1;
    background: #727272;
    color: var(--color-white);
  }
}
.c-fade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff url("../images/common/preloader_6.gif") center center no-repeat;
  z-index: 99999;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s ease;
}

.c-fade.is-hide {
  opacity: 0;
  pointer-events: none;
}

body > header,
body > .p-sidebar,
body > main,
body > footer {
  opacity: 0;
  transition: opacity 0.9s ease;
}

body.is-show > header,
body.is-show > .p-sidebar,
body.is-show > main,
body.is-show > footer {
  opacity: 1;
}

.c-link-underline {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.c-link-underline::before {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.5rem;
  height: 1px;
  background-color: currentColor;
  transition: left 0.2s ease-out, right 0.2s ease-out;
}

.c-link-underline:hover {
  opacity: 1;
}

.c-link-underline:hover::before,
.c-link-underline:focus::before {
  left: 0;
  right: 0;
}

.c-menu-button {
  position: fixed;
  top: 6.25rem;
  right: 3.125rem;
  width: 3.4375rem;
  height: 3.4375rem;
  z-index: 1001;
}
@media screen and (max-width: 767px) {
  .c-menu-button {
    top: 0;
    right: 0.5rem;
    padding: 0.75rem;
  }
}

.c-menu-button span {
  position: absolute;
  top: 27px;
  left: 0;
  display: block;
  width: 3.4375rem;
  height: 1px;
  background-color: var(--color-black);
  transition: all 0.4s cubic-bezier(0.45, 0.49, 0.77, 1.15);
}
@media screen and (max-width: 767px) {
  .c-menu-button span {
    width: 1.875rem;
  }
}

.c-menu-button span:before,
.c-menu-button span::after {
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-black);
  content: "";
  transition: all 0.4s cubic-bezier(0.45, 0.49, 0.77, 1.15);
}

.c-menu-button span::before {
  transform: translateY(-15px);
}
@media screen and (max-width: 767px) {
  .c-menu-button span::before {
    transform: translateY(-9px);
  }
}

.c-menu-button span::after {
  transform: translateY(15px);
}
@media screen and (max-width: 767px) {
  .c-menu-button span::after {
    transform: translateY(9px);
  }
}

/* ホバーの指定 */
@media (any-hover: hover) {
  .c-menu-button:hover span::before {
    transform: translateY(-8px);
  }
}
@media screen and (any-hover: hover) and (max-width: 767px) {
  .c-menu-button:hover span::before {
    transform: translateY(-5px);
  }
}
@media (any-hover: hover) {
  .c-menu-button:hover span::after {
    transform: translateY(8px);
  }
}
@media screen and (any-hover: hover) and (max-width: 767px) {
  .c-menu-button:hover span::after {
    transform: translateY(5px);
  }
}
/* :focus-visible */
@media (any-hover: hover) {
  .c-menu-button:focus-visible span::before {
    transform: translateY(-8px);
  }
  .c-menu-button:focus-visible span::after {
    transform: translateY(8px);
  }
}
.c-menu-button[aria-expanded=true] span {
  background-color: transparent;
}

/* 上の線：中央に寄せて回転 */
.c-menu-button[aria-expanded=true] span::before {
  transform: translateY(0) rotate(315deg);
  background-color: var(--color-white);
}

/* 下の線：中央に寄せて逆回転 */
.c-menu-button[aria-expanded=true] span::after {
  transform: translateY(0) rotate(-315deg);
  background-color: var(--color-white);
}

.p-404__title {
  font-size: 1.125rem;
  font-family: var(--hiramin-font-family);
  font-weight: normal;
  line-height: 2.22;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-404__title {
    font-size: 1rem;
    letter-spacing: 0;
    text-align: center;
  }
}

.p-404__button {
  margin-top: 3.125rem;
}
@media screen and (max-width: 767px) {
  .p-404__button {
    text-align: center;
  }
}

.p-awards__posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, 470px);
  gap: 0.625rem;
}
@media screen and (max-width: 767px) {
  .p-awards__posts {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-awards__item {
  max-width: 470px;
  width: 100%;
  min-height: 14.375rem;
  background-color: #eaeaea;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5625rem 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-awards__item {
    width: 100%;
    max-width: 100%;
    min-height: revert;
    gap: 0.3125rem;
    flex-direction: column;
  }
}

.p-awards__item-title,
.p-awards__item-desc a,
.p-awards__item-desc {
  display: block;
  font-size: max(0.8125rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1.8461538462;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-awards__item-title,
  .p-awards__item-desc a,
  .p-awards__item-desc {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-awards__item-title {
  font-weight: 700;
}

.p-awards__item-images {
  flex-shrink: 0;
  width: 3.125rem;
}
@media screen and (max-width: 767px) {
  .p-awards__item-images {
    margin-top: 0;
    display: flex;
    width: 100%;
    gap: 0.625rem;
    flex-wrap: wrap;
  }
}

.p-awards__item-image:not(:first-child) {
  margin-top: 0.625rem;
}
@media screen and (max-width: 767px) {
  .p-awards__item-image:not(:first-child) {
    margin-top: 0;
  }
}

.p-awards__item-image {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 767px) {
  .p-awards__item-image {
    width: 1.875rem;
  }
}

.p-awards__item-image img {
  -o-object-fit: contain;
     object-fit: contain;
  height: auto;
  width: 100%;
}

.p-contact__content-ja p {
  font-size: max(1rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1.2307692308;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-contact__content-ja p {
    font-size: max(0.875rem, 10px);
    line-height: 1.5714285714;
  }
}

.p-contact__content-en p {
  margin-top: 1.875rem;
  font-size: max(1rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
}
@media screen and (max-width: 767px) {
  .p-contact__content-en p {
    font-size: max(0.875rem, 10px);
  }
}

.p-contact__form {
  margin-top: 2.875rem;
}

/* （the_content()で出力したものへのスタイル） */
.wp-block-file a,
.p-content p,
.p-content li,
.p-content th,
.p-content td {
  font-size: 1.125rem;
  font-family: var(--hiramin-font-family);
  font-weight: normal;
  line-height: 2.22;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .wp-block-file a,
  .p-content p,
  .p-content li,
  .p-content th,
  .p-content td {
    font-size: 0.75rem;
    letter-spacing: 0;
  }
}

.p-content h2 {
  font-size: 2rem;
  font-family: var(--hiramin-font-family);
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.p-content h3 {
  font-size: 130%;
}

.p-content h4 {
  font-size: 120%;
}

.p-content h2:nth-of-type(n + 2) {
  margin-top: 4rem;
}

.p-content figure:nth-child(n+2) {
  margin-top: 2.625rem;
}
@media screen and (max-width: 767px) {
  .p-content figure:nth-child(n+2) {
    margin-top: 2.375rem;
  }
}

.wp-block-file,
.p-content p:nth-child(n+2),
.p-content h3:nth-child(n+2),
.p-content h4:nth-child(n+2),
.p-content h2 + ul:nth-of-type(n + 2),
.p-content h2 + ol:nth-of-type(n + 2),
.p-content ol > li > ol:nth-of-type(n + 2),
.p-content figure:not(.wp-block-table) {
  margin-top: 3.375rem;
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .wp-block-file,
  .p-content p:nth-child(n+2),
  .p-content h3:nth-child(n+2),
  .p-content h4:nth-child(n+2),
  .p-content h2 + ul:nth-of-type(n + 2),
  .p-content h2 + ol:nth-of-type(n + 2),
  .p-content ol > li > ol:nth-of-type(n + 2),
  .p-content figure:not(.wp-block-table) {
    margin-top: 1.875rem;
  }
}

.p-content img {
  width: auto;
}

.p-content figure.aligncenter,
.p-content img.aligncenter {
  margin-right: auto;
  margin-left: auto;
}

.p-content figure.alignright,
.p-content img.alignright {
  margin-left: auto;
}

.p-content > ol {
  counter-reset: number 0;
}

.p-content > ol > li {
  text-indent: -1rem;
  padding-left: 1.5rem;
}

.p-content > ol > li:nth-child(n+10) {
  text-indent: -1.5rem;
}

.p-content > ol > li::before {
  counter-increment: number 1;
  content: counter(number) ". ";
}

.p-content > ol > li > ol {
  counter-reset: number 0;
}

.p-content > ol > li > ol > li {
  text-indent: -1rem;
  padding-left: 1.5rem;
}

.p-content > ol > li > ol > li::before {
  counter-increment: number 1;
  content: counter(number, lower-alpha) ". ";
}

.p-content > ol > li > ol > li > ol {
  counter-reset: number 0;
}

.p-content > ol > li > ol > li > ol > li {
  padding-left: 1.375rem;
}

.p-content > ol > li > ol > li > ol > li:nth-child(1) {
  text-indent: -0.75rem;
}

.p-content > ol > li > ol > li > ol > li:nth-child(2) {
  text-indent: -1rem;
}

.p-content > ol > li > ol > li > ol > li:nth-child(n+3) {
  text-indent: -1.25rem;
}

.p-content > ol > li > ol > li > ol > li::before {
  counter-increment: number 1;
  content: counter(number, lower-roman) ". ";
}

.p-content ul > li {
  text-indent: -1em;
  padding-left: 1em;
}

.p-content ul > li::before {
  content: "・";
}

.p-content ul > li ol {
  counter-reset: number 0;
}

.p-content ul > li ol > li {
  text-indent: -2em;
  padding-left: 2em;
}

.p-content ul > li ol > li::before {
  counter-increment: number 1;
  content: "(" counter(number) ") ";
}

.p-content th {
  padding: 0.5rem 1rem;
  border: none;
  text-align: left;
}

.p-content td {
  border: none;
  padding: 1.5rem 1.875rem;
  font-size: max(1rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-gray);
  vertical-align: baseline;
}
@media screen and (max-width: 767px) {
  .p-content td {
    padding: 0;
    font-size: max(0.875rem, 10px);
    line-height: 1.5714285714;
  }
}

.p-content td:nth-child(1) {
  width: 9.375rem;
}
@media screen and (max-width: 767px) {
  .p-content td:nth-child(1) {
    width: 100%;
  }
}

.p-content .wp-block-table thead {
  border-bottom: none;
}

.p-content td a {
  text-decoration: none;
}

.p-content figure.aligncenter,
.p-content img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  float: none;
}

@media screen and (max-width: 767px) {
  .p-content table,
  .p-content tbody,
  .p-content tr,
  .p-content td {
    display: block;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .p-content tr:not(:first-child) {
    margin-top: 0.875rem;
  }
}

.p-content figure.alignright,
.p-content img.alignright {
  margin-left: auto;
  float: none;
}

.p-content a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-decoration: underline;
}

.p-content .wp-block-group {
  background: #eaeaea;
  padding: 1.25rem;
}
@media screen and (max-width: 767px) {
  .p-content .wp-block-group {
    padding: 0.9375rem 1.25rem;
  }
}

.p-content .wp-block-group h2 {
  margin-block: 0;
  font-size: max(0.8125rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 700;
  line-height: 1.8461538462;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-content .wp-block-group h2 {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-content .wp-block-group p {
  margin-block: 0.625rem 0;
  font-size: max(0.8125rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1.8461538462;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-content .wp-block-group p {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-content .wp-block-group a {
  display: inline-block;
  font-size: max(0.8125rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1;
  color: var(--color-text2);
  border-bottom: 1px solid var(--color-text2);
  padding-bottom: 0.125rem;
  text-decoration: none;
}
@media screen and (max-width: 767px) {
  .p-content .wp-block-group a {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
    padding-bottom: 0;
  }
}

.p-content cite {
  font-style: normal;
}

.wp-block-file:not(.wp-element-button) a {
  display: flex;
  align-content: flex-start;
  text-decoration: underline;
}

.wp-block-file:not(.wp-element-button) a::before {
  margin-top: 0.5rem;
  margin-right: 0.25rem;
  flex-shrink: 0;
  transform: translateY(-0.5rem);
  display: inline-block;
  width: 1.5rem;
  height: auto;
  aspect-ratio: 1/1;
  background: url(../images/common/icon_pdf.svg) no-repeat center/contain;
  content: "";
}
@media screen and (max-width: 767px) {
  .wp-block-file:not(.wp-element-button) a::before {
    margin-top: 1rem;
    margin-right: 0.5rem;
    width: 2rem;
  }
}

.p-design-archive {
  overflow-x: clip;
}

@media screen and (max-width: 767px) {
  .p-design-archive__inner {
    max-width: 36.25rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
  }
}

.p-design-archive__head {
  background-color: #b5b5b6;
  color: var(--color-white);
  padding: 3.75rem 1.5625rem 1.5625rem;
  min-height: 12.875rem;
}
@media screen and (max-width: 767px) {
  .p-design-archive__head {
    padding-inline: 0;
  }
}

.p-design-archive__title {
  font-size: max(1.1875rem, 10px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.p-design-archive__desc {
  margin-top: 0.8125rem;
  font-size: max(0.8125rem, 10px);
  font-weight: 400;
  line-height: 1.6;
}

.p-design-archive__body {
  margin-top: 0.625rem;
}

.p-design-archive__list {
  display: grid;
  gap: 0.625rem;
}

.p-design-archive__item {
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .p-design-archive__item {
    width: 100%;
  }
}

.p-design-archive__item.row-1 {
  width: 230px;
}
@media screen and (max-width: 767px) {
  .p-design-archive__item.row-1 {
    width: 100%;
  }
}

.p-design-archive__item.row-2 {
  width: 470px;
}
@media screen and (max-width: 767px) {
  .p-design-archive__item.row-2 {
    width: 100%;
  }
}

.p-design-archive__item.row-3 {
  width: 710px;
}
@media screen and (max-width: 767px) {
  .p-design-archive__item.row-3 {
    width: 100%;
  }
}

.p-design-archive__item.row-4 {
  width: 950px;
}
@media screen and (max-width: 767px) {
  .p-design-archive__item.row-4 {
    width: 100%;
  }
}

.p-design-archive__item img {
  -o-object-fit: cover;
     object-fit: cover;
  height: auto;
  width: 100%;
}

.p-drawer {
  background-color: rgba(130, 130, 130, 0.95);
  color: var(--color-white);
  padding-block: 10.625rem 5rem;
  text-align: right;
  overflow-y: scroll;
  scrollbar-width: none;
  /* ▼ 初期状態：右に隠す ▼ */
  transform: translateX(100%);
  pointer-events: none;
  /* ▼ スライドのみのアニメーション ▼ */
  transition: transform 0.4s ease-in-out;
}
@media screen and (max-width: 767px) {
  .p-drawer {
    padding-block: 5rem 3.75rem;
  }
}

/* ▼ 開いた状態：右からスライドイン ▼ */
.p-drawer[aria-hidden=false] {
  transform: translateX(0);
  pointer-events: all;
}

.p-drawer__inner {
  padding-inline: 1.25rem 5.5rem;
}
@media screen and (max-width: 767px) {
  .p-drawer__inner {
    padding-inline: 1.25rem 2.1875rem;
  }
}

.p-drawer__item a,
.p-drawer__subitem a {
  display: inline-block;
  padding-block: 0.5625rem;
}
@media screen and (max-width: 767px) {
  .p-drawer__item a,
  .p-drawer__subitem a {
    padding-block: 0.0625rem;
  }
}

.p-drawer__item a span {
  display: inline-block;
  font-size: max(1.5rem, 10px);
  font-weight: 400;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  .p-drawer__item a span {
    font-size: max(0.8125rem, 10px);
  }
}

.p-drawer__item.p-drawer__item--news,
.p-drawer__item.p-drawer__item--contact {
  margin-top: 2.5625rem;
}
@media screen and (max-width: 767px) {
  .p-drawer__item.p-drawer__item--news,
  .p-drawer__item.p-drawer__item--contact {
    margin-top: 1.5rem;
  }
}

.p-drawer__item.p-drawer__item--top {
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 767px) {
  .p-drawer__item.p-drawer__item--top {
    margin-bottom: 1.5rem;
  }
}

.p-drawer__item.p-drawer__moved {
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 767px) {
  .p-drawer__item.p-drawer__moved {
    margin-bottom: 1.5rem;
  }
}

.p-footer {
  grid-area: footer;
  background-color: var(--color-footer);
  color: var(--color-white);
  font-size: max(1rem, 10px);
  font-weight: normal;
  line-height: 1.8;
  padding-block: 2.8125rem 5.5rem;
}
@media (max-width: 1200px) {
  .p-footer {
    padding-inline: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-footer {
    padding: 1.25rem 0;
    font-size: max(0.8125rem, 10px);
    letter-spacing: 0;
  }
}

.p-footer__inner.l-inner {
  max-width: 80.5rem;
}
@media (max-width: 1200px) {
  .p-footer__inner.l-inner {
    padding-inline: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  .p-footer__inner.l-inner {
    max-width: 37.5rem;
    padding-inline: 1.875rem;
  }
}

.p-footer__flex {
  display: flex;
  justify-content: space-between;
  gap: 0.9375rem;
}
@media screen and (max-width: 767px) {
  .p-footer__flex {
    flex-direction: row-reverse;
  }
}

.p-footer__right {
  width: 13.9751552795%;
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  .p-footer__right {
    width: 36%;
  }
}

.p-footer__right a {
  padding-block: 0.3125rem;
}
@media screen and (max-width: 767px) {
  .p-footer__right a {
    padding-block: 0.1875rem;
  }
}

.p-footer__logo {
  width: 5.9375rem;
}
@media screen and (max-width: 767px) {
  .p-footer__logo {
    width: 3.75rem;
  }
}

.p-footer__logo a {
  display: block;
}

.p-footer__logo a img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.p-footer__subs {
  margin-top: 1.5625rem;
}

.p-footer__left {
  margin-top: -2.1875rem;
  width: 100%;
  display: flex;
  gap: 0.9375rem;
}
@media screen and (max-width: 767px) {
  .p-footer__left {
    flex-direction: column;
    margin-top: 1.25rem;
    gap: 0;
  }
}

.p-footer__category {
  width: 70%;
  display: flex;
  gap: 0.625rem;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  .p-footer__category {
    width: 100%;
    flex-direction: column;
    gap: 1.125rem;
  }
}

.p-footer__category-item:nth-child(1) {
  width: 30%;
}
@media screen and (max-width: 767px) {
  .p-footer__category-item:nth-child(1) {
    width: 100%;
  }
}

.p-footer__category-item:nth-child(2) {
  width: 32.5%;
}
@media screen and (max-width: 767px) {
  .p-footer__category-item:nth-child(2) {
    width: 100%;
  }
}

.p-footer__subcategory {
  margin-top: 0.5rem;
  font-size: max(0.75rem, 10px);
}
@media screen and (max-width: 767px) {
  .p-footer__subcategory {
    display: none;
  }
}

.p-footer__category-item a,
.p-footer__subcategory-item a {
  padding: 0.1875rem 0;
}

.p-footer__info {
  flex-shrink: 0;
  width: 23%;
  font-size: max(0.625rem, 10px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.05em;
  font-style: normal;
  padding-top: 0.3125rem;
}
@media screen and (max-width: 767px) {
  .p-footer__info {
    width: 100%;
  }
}

.p-footer__name,
.p-footer__text {
  font-size: max(0.625rem, 10px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.05em;
  font-style: normal;
}

@media screen and (max-width: 767px) {
  .p-footer__address {
    max-width: 11.25rem;
  }
}

.p-footer__facebook {
  display: block;
  margin-top: -22px;
  text-align: right;
  width: 20px;
  float: right;
}

.p-footer__facebook img {
  display: block;
  width: 1.25rem;
  height: auto;
  aspect-ratio: 1/1;
  transition: all 0.3s;
}

/* --- Contact --- */
.p-footer__contact {
  margin-top: 0.9375rem;
}
@media screen and (max-width: 767px) {
  .p-footer__contact {
    margin-top: 1.875rem;
  }
}

.p-footer__contact a {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: solid 2px var(--color-white);
  font-size: max(0.9375rem, 10px);
  font-weight: normal;
  font-style: normal;
  text-align: center;
  text-transform: uppercase;
  padding-block: 0.5625rem;
  padding-inline: 0.3125rem;
  transition: background 0.3s ease-in-out;
}
@media screen and (max-width: 1023px) {
  .p-footer__contact a {
    font-size: max(0.625rem, 10px);
    border-width: 1px;
  }
}

.p-footer__contact a::before {
  content: "";
  background: url("../images/common/icon_mail.svg") no-repeat left center;
  background-size: 1.25rem auto;
  background-size: contain;
  width: 1.25rem;
  height: auto;
  aspect-ratio: 115/75;
}
@media screen and (max-width: 767px) {
  .p-footer__contact a::before {
    width: 0.875rem;
  }
}

.p-footer__contact a:hover {
  background: #727272;
}

/* --- Copy --- */
.p-footer__copy {
  margin-top: 0.75rem;
  text-align: right;
  font-size: max(0.75rem, 10px);
  font-style: normal;
}
@media screen and (max-width: 767px) {
  .p-footer__copy {
    margin-top: 0.5rem;
    font-size: 0.5rem;
  }
}

.p-form {
  color: var(--color-text2);
  font-size: max(1rem, 10px);
}
@media screen and (max-width: 767px) {
  .p-form {
    font-size: max(0.875rem, 10px);
  }
}

.p-form__message {
  margin-top: 0.625rem;
}

.p-form__contents {
  margin-top: 1.875rem;
}

.p-form__wrap {
  display: flex;
  align-items: center;
  max-width: 50rem;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-form__wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }
}

.p-form__wrap.p-form__wrap--textarea,
.p-form__wrap.p-form__wrap--radio {
  align-items: flex-start;
}

.p-form__wrap + .p-form__wrap {
  margin-top: 1.875rem;
}

.p-form__label {
  flex-shrink: 0;
  max-width: 15rem;
  width: 100%;
  font-size: max(1rem, 10px);
}
@media screen and (max-width: 767px) {
  .p-form__label {
    font-size: max(0.875rem, 10px);
    max-width: 100%;
  }
}

.p-form__wrap.p-form__wrap--textarea .p-form__label {
  margin-top: 0.625rem;
}

.u-required {
  display: inline-block;
  color: #00a8ff;
  padding-left: 0.1875rem;
}

.p-form__input,
.p-form__textarea {
  flex-grow: 1;
  width: 100%;
}

.p-form__submit {
  margin-top: 3.75rem;
  text-align: center;
}

.p-form__submit-wrap {
  margin-top: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.875rem;
}
@media screen and (max-width: 767px) {
  .p-form__submit-wrap {
    flex-direction: column;
  }
}

.p-form__input input,
.p-form__textarea textarea {
  padding: 0.875rem 0.625rem;
  width: 100%;
  font-size: max(0.9375rem, 10px);
  border: 1px solid var(--color-border);
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-form__input input,
  .p-form__textarea textarea {
    padding: 0.5rem 0.5rem;
    font-size: max(0.75rem, 10px);
  }
}

.p-form__input input:focus,
.p-form__textarea textarea:focus {
  border: 1px solid var(--color-border);
  box-shadow: none;
  outline: none;
}

.p-form__input.p-form__input-group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
@media screen and (max-width: 767px) {
  .p-form__input.p-form__input-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3125rem;
  }
}

.p-form__input.p-form__input-group span.wpcf7-form-control-wrap {
  width: 100%;
}

.p-form__input.p-form__input-group span:not(.wpcf7-form-control-wrap) {
  flex-shrink: 0;
}

.p-form__input span {
  font-size: max(1rem, 10px);
}
@media screen and (max-width: 767px) {
  .p-form__input span {
    font-size: max(0.875rem, 10px);
  }
}

.p-form__textarea textarea {
  min-height: 14.375rem;
  field-sizing: content;
}

.p-form__radio label {
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .p-form__radio label {
    display: block;
  }
}

.wpcf7-list-item {
  display: block;
  margin-top: 0.3125rem;
}

.p-form__radio input {
  display: none;
}

.p-form__radio input + span {
  padding: 0 0 0 1.5625rem;
  position: relative;
  display: block;
  font-size: max(1rem, 10px);
  line-height: 1;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .p-form__radio input + span {
    display: inline-block;
    font-size: max(0.875rem, 10px);
  }
}

.p-form__radio input + span::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

.p-form__radio input + span::after {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  position: absolute;
  top: 50%;
  left: 0.1875rem;
  transform: translateY(-50%);
  border: 1px solid transparent;
  border-radius: 50%;
  background: #00a8ff;
  opacity: 0;
  transition: 0.3s;
}

.p-form__radio input:checked + span::after {
  opacity: 1;
}

.p-contact__form-privacy {
  margin-top: 4.5625rem;
}

.p-contact__form-checkbox-text {
  font-size: max(0.75rem, 10px);
  line-height: 1.75;
}

.p-contact__form-checkbox-text a {
  text-decoration: underline;
  -webkit-text-decoration-color: var(--color-text2);
          text-decoration-color: var(--color-text2);
  text-underline-offset: 0.3125rem;
  text-decoration-thickness: 1px;
}

.p-contact__form-submit {
  margin-top: 6.25rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-contact__form-submit {
    margin-top: 3.125rem;
  }
}

.p-form__submit input {
  min-width: 18.125rem;
  padding-block: 1.125rem;
  padding-inline: 2.5rem 5rem;
  display: inline-block;
  font-size: max(0.9375rem, 10px);
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.p-form__submit input:hover,
.p-form__submit input:focus {
  outline: none;
}

/* ホバーの指定 */
@media (any-hover: hover) {
  .p-form__submit input:hover {
    opacity: 1;
    background: #727272;
    color: var(--color-white);
    padding-inline: 3.75rem 3.75rem;
  }
}
/* :focus-visible */
@media (any-hover: hover) {
  .p-form__submit input:focus-visible {
    opacity: 1;
    background: #727272;
    color: var(--color-white);
    padding-inline: 3.75rem 3.75rem;
  }
}
.wpcf7-spinner {
  display: none;
}

/* 確認ページ調整 */
.p-confirm .p-form__wrap + .p-form__wrap {
  margin-top: 2.5rem;
}

.p-confirm .p-form__contents {
  margin-top: 3.125rem;
}

.p-confirm .p-form__wrap.p-form__wrap--textarea .p-form__label,
.p-confirm .p-form__submit {
  margin-top: revert;
}

.p-header {
  grid-area: header;
}

.p-main {
  grid-area: main;
}

.p-main__inner {
  max-width: 50rem;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-main__inner {
    max-width: 36.25rem;
    padding-inline: 1.25rem;
  }
}

@media screen and (max-width: 767px) {
  .p-news__inner {
    max-width: 36.25rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
  }
}

.p-news__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 230px);
  gap: 0.625rem;
}
@media screen and (max-width: 767px) {
  .p-news__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-news__item {
  background-color: #eeefef;
  border: 1px solid #dadada;
  padding: 0.5625rem 0.875rem 1.0625rem;
  display: flex;
  align-items: stretch;
  min-height: 14.375rem;
  width: 230px;
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .p-news__item {
    width: 100%;
    min-height: 10rem;
    padding: 0.4375rem 0.625rem 0.625rem;
  }
}

.p-news__item a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.875rem;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .p-news__item a {
    gap: 0.625rem;
  }
}

.p-news__title {
  font-size: max(0.8125rem, 10px);
  font-weight: 700;
  line-height: 1.8461538462;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-news__title {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-news__text {
  font-size: max(0.8125rem, 10px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-black);
}
@media screen and (max-width: 767px) {
  .p-news__text {
    font-size: max(0.75rem, 10px);
    line-height: 1;
  }
}

.p-news__link span {
  display: inline-block;
  font-size: max(0.8125rem, 10px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text2);
  padding-bottom: 0.1875rem;
  transition: color 0.3s ease-in-out;
  position: relative;
}

.p-news__link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(1);
  transform-origin: center;
  transition: transform 0.25s ease-out;
}

@media (any-hover: hover) {
  .p-news__item a:hover {
    opacity: 1;
  }
  .p-news__item a:hover .p-news__link span::after {
    animation: shrinkBounce 0.2s ease-out;
  }
}
@keyframes shrinkBounce {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.1);
  }
  100% {
    transform: scaleX(1);
  }
}
.p-privacy__content .wp-block-group {
  width: 470px;
  max-width: 100%;
  min-height: 14.375rem;
}
@media screen and (max-width: 767px) {
  .p-privacy__content .wp-block-group {
    min-height: revert;
    width: 100%;
  }
}

.p-privacy__content.p-content .wp-block-group p {
  margin: 0;
}

.p-sidebar {
  grid-area: sidebar;
}

.p-sidebar__contents {
  position: sticky;
  top: 6.5625rem;
  padding-left: clamp(0.3125rem, -5.615rem + 12.351vw, 5.5rem);
}
@media screen and (max-width: 767px) {
  .p-sidebar__contents {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: revert;
  }
}

.p-sidebar__logo {
  width: 8.75rem;
  height: auto;
}
@media screen and (max-width: 767px) {
  .p-sidebar__logo {
    width: 6.875rem;
  }
}

.p-sidebar__logo a {
  display: block;
}
@media screen and (max-width: 767px) {
  .p-sidebar__logo a {
    padding: 1rem 1.25rem;
  }
}

.p-sidebar__logo a img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.p-sidebar__nav {
  margin-top: 3.625rem;
}

.p-sidebar__nav-item a {
  display: block;
  padding-block: 1.125rem;
  color: var(--color-gray);
  position: relative;
  font-size: max(0.8125rem, 10px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-gray);
}

.p-sidebar__nav-item a .first {
  display: block;
  transition: all 0.3s ease-in-out;
}

.p-sidebar__nav-item a .after {
  opacity: 0;
  visibility: hidden;
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.625rem;
  transition: all 0.3s ease-in-out;
}

/* ホバーの指定 */
@media (any-hover: hover) {
  .p-sidebar__nav-item a:hover .first {
    opacity: 0;
    visibility: hidden;
  }
  .p-sidebar__nav-item a:hover .after {
    opacity: 1;
    visibility: visible;
    left: 0;
  }
}
/* :focus-visible */
@media (any-hover: hover) {
  .p-sidebar__nav-item a:focus-visible .first {
    opacity: 0;
    visibility: hidden;
  }
  .p-sidebar__nav-item a:focus-visible .after {
    opacity: 1;
    visibility: visible;
    left: 0;
  }
}
.p-sidebar__title {
  margin-top: 1rem;
  width: 8.8125rem;
}
@media screen and (max-width: 767px) {
  .p-sidebar__title {
    display: none;
  }
}

.p-sidebar__title img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.p-single-design__inner.p-main__inner {
  max-width: 67.5rem;
}
@media screen and (max-width: 767px) {
  .p-single-design__inner.p-main__inner {
    max-width: 36.25rem;
  }
}

.p-single-design__container {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  padding-bottom: 14.375rem;
}
@media screen and (max-width: 1023px) {
  .p-single-design__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
    padding-bottom: revert;
  }
}

.p-single-design__image-wrap {
  flex-shrink: 0;
  width: 100%;
  width: 43.5185185185%;
  max-width: 29.375rem;
  height: auto;
}
@media screen and (max-width: 1023px) {
  .p-single-design__image-wrap {
    width: 100%;
  }
}

.p-single-design__image img {
  -o-object-fit: contain;
     object-fit: contain;
  height: auto;
  width: 100%;
}

.p-single-design__text-wrap {
  margin-top: auto;
}
@media screen and (max-width: 1023px) {
  .p-single-design__text-wrap {
    margin-top: revert;
  }
}

.p-single-design__title {
  font-size: max(0.8125rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 700;
  line-height: 1.8461538462;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-single-design__title {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-single-design__description {
  margin-top: 1.375rem;
  font-size: max(0.75rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 2;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-single-design__description {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-single-design__gallery {
  position: relative;
}

.p-single-design__gallery-thumb-list {
  position: absolute;
  margin-top: 0.625rem;
  display: grid;
  gap: 0.625rem;
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 1023px) {
  .p-single-design__gallery-thumb-list {
    position: static;
  }
}

.p-single-design__gallery-thumb-item {
  cursor: pointer;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease-in-out;
}

.p-single-design__gallery-thumb-item img {
  -o-object-fit: contain;
     object-fit: contain;
  height: auto;
  width: 100%;
}

.p-single-design__gallery-thumb-item:hover {
  opacity: 0.7;
}

.p-single-design__contact {
  margin-top: 1.375rem;
}

.p-single-design__contact a {
  display: block;
  font-size: max(0.75rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1;
  color: var(--color-text2);
  border: 1px solid #adadad;
  border-radius: 0.3125rem;
  padding: 0.1875rem 0.5rem;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .p-single-design__contact a {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-single-news__inner.p-main__inner {
  max-width: 67.5rem;
}
@media screen and (max-width: 767px) {
  .p-single-news__inner.p-main__inner {
    max-width: 36.25rem;
  }
}

.p-single__container {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
}
@media screen and (max-width: 1023px) {
  .p-single__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
  }
}

.p-single-news__image-wrap {
  flex-shrink: 0;
  width: 100%;
  width: 58.75%;
  max-width: 29.375rem;
}
@media screen and (max-width: 1023px) {
  .p-single-news__image-wrap {
    width: 100%;
  }
}

.p-single-news__image {
  width: 100%;
  height: auto;
}

.p-single-news__image img {
  -o-object-fit: contain;
     object-fit: contain;
  height: auto;
  width: 100%;
}

.p-single-news__text-wrap {
  margin-top: auto;
  flex-grow: 1;
}
@media screen and (max-width: 1023px) {
  .p-single-news__text-wrap {
    margin-top: revert;
  }
}

.p-single-news__title {
  font-size: max(0.8125rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 700;
  line-height: 1.8461538462;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-single-news__title {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-single-news__text {
  font-size: max(0.75rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 2;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-single-news__text {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-single-news__meta {
  margin-top: 1.4375rem;
  display: flex;
  align-items: center;
  gap: 0.3125rem;
}

.p-single-news__date {
  font-size: max(0.8125rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1.8461538462;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-single-news__date {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-single-news__category {
  font-size: max(0.8125rem, 10px);
  font-family: var(--base-font-family);
  font-weight: 400;
  line-height: 1.8461538462;
  color: var(--color-text2);
}
@media screen and (max-width: 767px) {
  .p-single-news__category {
    font-size: max(0.75rem, 10px);
    line-height: 1.8333333333;
  }
}

.p-sitemap__content .wp-block-group {
  width: 230px;
  max-width: 100%;
  min-height: 14.375rem;
}
@media screen and (max-width: 767px) {
  .p-sitemap__content .wp-block-group {
    min-height: revert;
    width: 100%;
  }
}

.p-sitemap__content.p-content .wp-block-group p {
  margin: 0;
}

.p-top__inner.p-main__inner {
  max-width: 37.5rem;
}
@media screen and (max-width: 767px) {
  .p-top__inner.p-main__inner {
    max-width: 36.25rem;
  }
}

@media screen and (max-width: 767px) {
  .p-top__content {
    height: calc(100vh - 3.5rem);
    min-height: 31.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.p-top__content-ja h2 {
  font-size: max(2rem, 10px);
  font-family: var(--hiramin-font-family);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-top__content-ja h2 {
    font-size: max(1.1875rem, 10px);
    letter-spacing: 0;
  }
}

.p-top__content-en {
  margin-top: 7.0625rem;
}
@media screen and (max-width: 767px) {
  .p-top__content-en {
    margin-top: 4.4375rem;
  }
}

.p-top__content-en h2 {
  font-size: max(1.3125rem, 10px);
  font-family: "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-top__content-en h2 {
    font-size: max(1.0625rem, 10px);
    letter-spacing: 0;
  }
}

.p-content .p-top__content-en p {
  margin-top: 1.6875rem;
  font-size: max(0.9375rem, 10px);
  font-family: "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.66;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .p-content .p-top__content-en p {
    margin-top: 1rem;
    font-size: max(0.625rem, 10px);
    letter-spacing: 0;
  }
}

:where(div, figure):has(> .u-no-image) {
  background-color: var(--color-border);
}

.u-no-image {
  padding: 30% 30%;
  -o-object-fit: contain;
     object-fit: contain;
}

.u-no-post {
  font-size: max(1rem, 10px);
  font-weight: 400;
  line-height: 2.22;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.u-pc {
  display: block;
}
@media screen and (max-width: 767px) {
  .u-pc {
    display: none;
  }
}

.u-sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .u-sp {
    display: block;
  }
}
/*# sourceMappingURL=style.css.map */
