@charset "UTF-8";

/*
 * foundation
 */
*,
*:before,
*:after {
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}

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

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus:not(:focus-visible) {
  outline: 0;
  /* キーボード操作"以外"でフォーカスされた際はoutlineを消す */
}

:root {
  --content-space: 16px;
  --content-negative-space: -16px;
  --content-width: 1200px;
  --content-max-width: calc(var(--content-width) + (var(--content-space) * 2));
  --content-narrow-width: 1000px;
  --content-narrow-max-width: calc(var(--content-narrow-width) + (var(--content-space) * 2));
  --base-font-family: "Noto Serif JP", serif;
  --sub1-font-family: "Shippori Mincho", "Noto Serif JP", serif;
  --sub2-font-family: "Playfair Display", "Noto Serif JP", serif;
  --color-text: #292B28;
  --color-main1: #264724;
  --color-main1-dark: #143811;
  --color-main2: #072905;
  --color-main3: #5C755B;
  --color-main4: #D2DAD2;
  --color-accent1: #BFA96B;
  --color-accent2: #857445;
  --color-accent3: #DFD6A7;
  --color-base1: #F9F7ED;
  --color-base2: #F7F7F2;
  --color-sub: #184416;
  --color-dark: #033c5e;
  --color-light: #2186bf;
  --color-white: #fff;
  --color-white02: #FFFEFB;
  --color-grey: #aaa;
  --animation-speed: .2s;
}

@media screen and (max-width: 767px) {
  :root {
    --content-width: 100%;
    --content-max-width: 100%;
    --content-narrow-width: 100%;
    --content-narrow-max-width: 100%;
  }
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 62.5%;
}

body {
  width: 100%;
  margin: 0;
  color: #000;
  letter-spacing: 0.04em;
  font-family: var(--base-font-family);
  font-optical-sizing: auto;
  font-weight: 400;
  min-width: 1200px;
}

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

@media screen and (min-width: 1025px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* 好みで使用してください
p, dl, dt, dd, ul, li{
    line-height: 1.5;
    font-feature-settings : "palt";
    text-align:justify; 
    text-justify: inter-ideograph;
}
*/
ul li,
ol li {
  line-height: 1.8;
  font-size: 16px;
}

.sp {
  display: none !important;
}

p {
  font-size: 1.5rem;
  line-height: 2;
}

.fadein {
  opacity: 0;
  transform: translate(0, 100px);
  transition: all 1s;
}

.fadein.active {
  opacity: 1;
  transform: translate(0, 0);
}

@media screen and (min-width: 768px) {
  .fix-side {
    position: fixed;
    width: 54px;
    height: 260px;
    right: -100px;
    top: 50%;
    z-index: 9999;
    transform: translateY(-50%);
    transition: right 0.5s;
  }

  .fix-side.is-active {
    right: 15px;
  }

  .fix-side a {
    transition: var(--animation-speed);
  }

  .fix-side a:hover {
    opacity: 0.7;
  }

  .fix-side .fix-side-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
  }

  .fix-side .fix-side-list>li {
    margin: 0;
    list-style: none;
  }
}

@media screen and (max-width: 767px) {
  body {
    min-width: 100%;
  }

  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

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

  .fix-side {
    position: fixed;
    width: 100%;
    padding-bottom: 10px;
    bottom: 0;
    left: 0;
    z-index: 9999;
    transform: translateY(101%);
    transition: 0.5s transform;
  }

  .fix-side.is-active {
    transform: translateY(0%);
  }

  .fix-side-list {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0 13px;
  }

  .fix-side-list>li {
    margin: 0;
    list-style: none;
  }
}

/*
 * layout
 */
/* header -------------------------------------- */
header {
  position: relative;
  z-index: 10000;
}

.l-header--under {
  height: 130px;
  background: var(--color-main1) url(../img/common/bg-header01-pc.png) no-repeat top center/cover;
}

.l-header-logo {
  margin: 0 auto;
  padding: 20px 0;
  max-width: 318px;
}

@media screen and (max-width: 767px) {
  .l-header--under {
    height: auto;
    background: var(--color-main1) url(../img/common/bg-header01-sp.png) no-repeat top center/cover;
  }

  .l-header-logo {
    padding: 10px 0 9px;
    max-width: 188px;
  }
}

/* footer -------------------------------------- */
.l-footer {
  padding: 93px var(--content-space) 75px;
  background-color: var(--color-main2);
  color: #fff;
}

@media screen and (max-width: 767px) {
  .l-footer {
    padding: 52px var(--content-space) 120px;
  }
}

/*
 * object
 */
ol.breadcrumbs {
  width: var(--content-narrow-max-width);
  margin: 0 auto;
  padding: 20px var(--content-space);
  display: flex;
}

ol.breadcrumbs li {
  list-style: none;
  line-height: 1.6;
  font-size: 1.2rem;
}

ol.breadcrumbs li:nth-child(1),
ol.breadcrumbs li:nth-child(2) {
  flex-shrink: 0;
}

ol.breadcrumbs li::after {
  content: ">";
  padding: 0 12px;
}

ol.breadcrumbs li>a {
  color: var(--color-main3);
}

ol.breadcrumbs li>a:hover {
  text-decoration: none;
}

ol.breadcrumbs li>span {
  color: var(--color-text);
}

ol.breadcrumbs li:nth-last-of-type(1)::after {
  content: none;
}

@media screen and (max-width: 767px) {
  ol.breadcrumbs {
    margin: 12px auto 0;
    padding: 0 var(--content-space);
  }

  ol.breadcrumbs>li::after {
    padding: 0 10px;
  }
}

/*ハンバーガー */
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: fixed;
  width: 100px;
  height: 100px;
  cursor: pointer;
  background: var(--color-main1-dark);
  border-radius: 50px;
  z-index: 99999;
  right: 22px;
  top: 22px;
  transition: 0.3s;
  border: none;
  padding: 0 0 28px;
  font-family: "Playfair Display", serif;
}

.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  /*アニメーションの設定*/
  position: absolute;
  left: 25px;
  height: 1px;
  background-color: var(--color-accent1);
}

.openbtn span:nth-of-type(1) {
  top: 30px;
  width: 50%;
}

.openbtn span:nth-of-type(2) {
  top: 40px;
  width: 30%;
}

.openbtn span.menu {
  position: static;
  text-align: center;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 600;
  height: auto;
  color: var(--color-accent1);
  line-height: 1;
  background-color: transparent;
}

.openbtn:hover {
  background: var(--color-main1);
}

/*activeクラスが付与されると線が回転して×に*/
.openbtn.active span:nth-of-type(1) {
  top: 30px;
  left: 32px;
  transform: translateY(6px) rotate(-16deg);
  width: 35%;
}

.openbtn.active span:nth-of-type(2) {
  top: 42px;
  left: 32px;
  transform: translateY(-6px) rotate(16deg);
  width: 35%;
}

.mm-menu-wrap {
  display: flex;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
}

.mm-menu {
  display: none;
  position: fixed;
  padding: 50px;
  width: 100%;
  height: 100%;
  background-color: var(--color-main2);
  z-index: 10000;
  top: 0;
  left: 0;
  overflow: auto;
}

.mm-menu__content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr auto 1fr;
  width: 100%;
  height: 100%;
}

.mm-menu__content__inner {
  grid-area: 2/2/3/3;
}

.mm-menu__content__inner> :first-child {
  margin-top: 0 !important;
}

.mm-menu__content__inner> :last-child {
  margin-bottom: 0 !important;
}

.mm-page {
  position: relative;
  z-index: 8000;
}

@media screen and (max-width: 767px) {

  /*ハンバーガー */
  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn {
    position: fixed;
    padding-bottom: 14px;
    /*ボタン内側の基点となるためrelativeを指定*/
    width: 57px;
    height: 57px;
    cursor: pointer;
    background: var(--color-main1-dark);
    border-radius: 43px;
    z-index: 99999;
    right: 12px;
    top: 12px;
    transition: 0.3s;
    border: none;
  }

  /*ボタン内側*/
  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    /*アニメーションの設定*/
    position: absolute;
    left: 13px;
    height: 1px;
    background-color: var(--color-accent3);
  }

  .openbtn span:nth-of-type(1) {
    top: 17px;
    width: 50%;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
    width: 30%;
  }

  /*activeクラスが付与されると線が回転して×に*/
  .openbtn.active span:nth-of-type(1) {
    top: 15px;
    left: 19px;
    width: 35%;
  }

  .openbtn.active span:nth-of-type(2) {
    top: 27px;
    left: 19px;
    width: 35%;
  }

  .openbtn span.menu {
    width: 100%;
    font-size: 12px;
    font-size: 1.2rem;
    color: var(--color-accent3);
    background-color: transparent;
  }

  .mm-menu {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--color-main2);
    z-index: 9000;
    overflow-y: scroll;
    padding: 90px 0 40px;
    top: 0;
  }

  .mm-menu.active {
    right: 0;
    opacity: 1;
  }

  .mm-page {
    position: relative;
    z-index: 8000;
  }

  .mm-menu__content {
    height: auto;
  }
}

.sp-menu-link {
  width: 100%;
  height: 100%;
  display: flex;
  visibility: hidden;
  align-items: flex-start;
  padding-top: 200px;
  justify-content: center;
  min-width: 1200px;
  overflow: auto;
}

.sp-menu-link .inner {
  width: 1080px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.sp-menu-link .inner .sp-menu-data {
  border-right: 1px solid #d3cbc6;
}

.sp-menu-link .inner .sp-menu-data .sp-menu-logo {
  width: 380px;
}

.sp-menu-link .inner .sp-menu-data p.addr {
  margin-top: 15px;
}

.sp-menu-link .inner .sp-menu-data p.tel.lora {
  font-size: 30px;
  font-size: 3rem;
  color: var(--color-dark);
}

.sp-menu-link .inner .sp-menu-data p.tel.lora img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.sp-menu-link .inner .sp-menu-data .outlink {
  margin-top: 50px;
}

.sp-menu-link .inner .sp-menu-data .outlink p.blank {
  margin-top: 25px;
}

.sp-menu-link .inner .sp-menu-data .outlink p.blank a {
  text-decoration: none;
}

.sp-menu-link .inner .sp-menu-data .outlink p.blank a:hover {
  color: var(--color-dark);
}

.sp-menu-link .inner .sp-menu-data .outlink p.blank a img {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

.sp-menu-link .inner .sidemenu-link {
  width: 660px;
}

.sp-menu-link .inner .sidemenu-link nav {
  display: flex;
}

.sp-menu-link .inner .sidemenu-link nav ul {
  width: 50%;
}

.sp-menu-link .inner .sidemenu-link nav ul li {
  margin-bottom: 20px;
  margin-left: 0;
  list-style-type: none;
}

.sp-menu-link .inner .sidemenu-link nav ul li::before {
  content: "●";
  font-size: 8px;
  color: #d3cbc6;
  line-height: 1.3;
  margin-right: 5px;
}

.sp-menu-link .inner .sidemenu-link nav ul li a {
  text-decoration: none;
}

.sp-menu-link .inner .sidemenu-link nav ul li a:hover {
  color: var(--color-dark);
}

.sp-menu-link .inner .sidemenu-link .bnr {
  margin-top: 75px;
}

.sp-menu-link .inner .sidemenu-link .bnr a {
  display: flex;
  align-items: center;
  width: 486px;
  height: 100px;
  border-radius: 50px;
  background-color: #aaa;
  padding-left: 36px;
  text-decoration: none;
  font-size: 16px;
  font-size: 1.6rem;
}

.sp-menu-link .inner .sidemenu-link .bnr a:hover {
  opacity: 0.7;
  color: var(--color-dark);
}

.sp-menu-link .inner .sidemenu-link .bnr a::before {
  content: "●";
  font-size: 8px;
  color: #d3cbc6;
  line-height: 1.3;
  margin-right: 5px;
}

@media screen and (max-width: 767px) {
  .sp-menu-link {
    min-width: 100%;
    height: auto;
    padding-top: 0;
  }

  .sp-menu-link .inner {
    display: block;
    width: 90%;
  }

  .sp-menu-link .inner .sp-menu-data {
    border-right: none;
  }

  .sp-menu-link .inner .sp-menu-data .sp-menu-logo {
    width: 100%;
  }

  .sp-menu-link .inner .sp-menu-data .sp-menu-logo img {
    zoom: 0.5;
  }

  .sp-menu-link .inner .sidemenu-link {
    width: 100%;
  }

  .sp-menu-link .inner .sidemenu-link .bnr a {
    margin: 24px 0;
    width: 90%;
    background-color: #666;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    height: 21vw;
    display: flex;
    align-items: center;
    border-radius: 12px;
    font-size: 15px;
    font-size: 1.5rem;
  }

  .sp-menu-link .inner .sidemenu-link .bnr a::before {
    content: "●";
    font-size: 8px;
    color: #d3cbc6;
    line-height: 1.3;
    margin-right: 5px;
  }
}

:where(.u-editor) h2:where(:not(.is-reset-wp-block)),
:where(.u-editor) h3:where(:not(.is-reset-wp-block)),
:where(.u-editor) h4:where(:not(.is-reset-wp-block)),
:where(.u-editor) h5:where(:not(.is-reset-wp-block)),
:where(.u-editor) h6:where(:not(.is-reset-wp-block)),
:where(.u-editor) .c-heading-lv2,
:where(.u-editor) .c-heading-lv3,
:where(.u-editor) .c-heading-lv4,
:where(.u-editor) .c-heading-lv5,
:where(.u-editor) .c-heading-lv6 {
  letter-spacing: 0.04em;
  font-family: var(--sub1-font-family);
}

:where(.u-editor) h2:where(:not(.is-reset-wp-block))+*,
:where(.u-editor) h3:where(:not(.is-reset-wp-block))+*,
:where(.u-editor) h4:where(:not(.is-reset-wp-block))+*,
:where(.u-editor) h5:where(:not(.is-reset-wp-block))+*,
:where(.u-editor) h6:where(:not(.is-reset-wp-block))+*,
:where(.u-editor) .c-heading-lv2+*,
:where(.u-editor) .c-heading-lv3+*,
:where(.u-editor) .c-heading-lv4+*,
:where(.u-editor) .c-heading-lv5+*,
:where(.u-editor) .c-heading-lv6+* {
  margin-top: 0 !important;
}

:where(.u-editor) h2:where(:not(.is-reset-wp-block)),
:where(.u-editor) .c-heading-lv2 {
  position: relative;
  margin: 106px 0 32px;
  padding: 29px 0 0;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.5;
  background: url(../img/common/ex-title01-pc.png) repeat-x 0 0/auto 8px;
}

:where(.u-editor) h3:where(:not(.is-reset-wp-block)),
:where(.u-editor) .c-heading-lv3 {
  margin: 62px 0 20px;
  padding: 0 0 0 20px;
  color: var(--color-main2);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.5;
  border-left: 2px solid var(--color-main1);
}

:where(.u-editor) h4:where(:not(.is-reset-wp-block)),
:where(.u-editor) .c-heading-lv4 {
  position: relative;
  margin: 45px 0 21px;
  padding: 0 0 15px;
  color: var(--color-main1);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.5;
}

:where(.u-editor) h4:where(:not(.is-reset-wp-block))::after,
:where(.u-editor) .c-heading-lv4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  border-top: 1px solid var(--color-main4);
  border-bottom: 1px solid var(--color-main4);
}

:where(.u-editor) h5:where(:not(.is-reset-wp-block)),
:where(.u-editor) .c-heading-lv5 {
  margin: 30px 0 21px;
  color: var(--color-main);
  font-family: var(--base-font-family);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.6;
}

:where(.u-editor) h6:where(:not(.is-reset-wp-block)),
:where(.u-editor) .c-heading-lv6 {
  margin: 30px 0 21px;
  font-family: var(--base-font-family);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.8;
}

.c-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.c-heading> :first-child {
  margin-top: 0 !important;
}

.c-heading> :last-child {
  margin-bottom: 0 !important;
}

.c-heading__en {
  margin: 30px 0 0;
  line-height: 1.4;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 2.2rem;
}

.c-heading__title {
  line-height: 1.4;
  font-size: 3.8rem;
  font-weight: 500;
}

@media screen and (max-width: 767px) {

  :where(.u-editor) h2:where(:not(.is-reset-wp-block)),
  :where(.u-editor) .c-heading-lv2 {
    margin: 81px 0 16px;
    font-size: 2.2rem;
    background: url(../img/common/ex-title01-sp.png) repeat-x 0 0/auto 7px;
  }

  :where(.u-editor) h3:where(:not(.is-reset-wp-block)),
  :where(.u-editor) .c-heading-lv3 {
    margin: 56px 0 22px;
    font-size: 2.1rem;
  }

  :where(.u-editor) h4:where(:not(.is-reset-wp-block)),
  :where(.u-editor) .c-heading-lv4 {
    margin: 44px 0 19px;
    padding: 0 0 16px;
    font-size: 1.9rem;
  }

  :where(.u-editor) h5:where(:not(.is-reset-wp-block)),
  :where(.u-editor) .c-heading-lv5 {
    margin: 32px 0 19px;
    font-size: 1.7rem;
  }

  :where(.u-editor) h6:where(:not(.is-reset-wp-block)),
  :where(.u-editor) .c-heading-lv6 {
    margin: 32px 0 19px;
    font-size: 1.6rem;
  }
}

:where(.u-editor) p {
  margin-top: 1.4em;
  line-height: 2;
  letter-spacing: 0.04em;
  font-size: 1.5rem;
}

:where(.u-editor) ul:where(:not(.is-reset-wp-block))>li,
:where(.u-editor) ol:where(:not(.is-reset-wp-block))>li {
  position: relative;
  line-height: 1.5;
  font-size: 1.6rem;
  list-style-type: none;
}

:where(.u-editor) ul:where(:not(.is-reset-wp-block))>li a,
:where(.u-editor) ol:where(:not(.is-reset-wp-block))>li a {
  text-decoration: none;
}

:where(.u-editor) ul:where(:not(.is-reset-wp-block))>li a:hover,
:where(.u-editor) ol:where(:not(.is-reset-wp-block))>li a:hover {
  text-decoration: underline;
}

:where(.u-editor) ul:where(:not(.is-reset-wp-block))>li>ul,
:where(.u-editor) ul:where(:not(.is-reset-wp-block))>li>ol,
:where(.u-editor) ol:where(:not(.is-reset-wp-block))>li>ul,
:where(.u-editor) ol:where(:not(.is-reset-wp-block))>li>ol {
  margin-top: 0;
}

:where(.u-editor) ul:where(:not(.is-reset-wp-block)) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 19px 0 0;
  padding: 0;
}

:where(.u-editor) ul:where(:not(.is-reset-wp-block)) li {
  padding-left: 24px;
  list-style-type: none;
  line-height: 1.5;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

:where(.u-editor) ul:where(:not(.is-reset-wp-block)) li::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.55em;
  left: 9px;
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background-color: var(--color-main1);
}

:where(.u-editor) ol:where(:not(.is-reset-wp-block)) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: count 0;
  margin: 26px 0 0;
  padding: 0;
}

:where(.u-editor) ol:where(:not(.is-reset-wp-block)) li {
  padding: 0 0 0 1.6em;
  line-height: 1.5;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

:where(.u-editor) ol:where(:not(.is-reset-wp-block)) li:before {
  content: counter(count, decimal-leading-zero) ".";
  position: absolute;
  top: 0;
  left: 0;
  counter-increment: count 1;
  color: var(--color-main1);
}

:where(.u-editor) dt,
:where(.u-editor) dd {
  font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
  :where(.u-editor) ul:where(:not(.is-reset-wp-block)) {
    margin-top: 40px;
  }

  :where(.u-editor) ol:where(:not(.is-reset-wp-block)) {
    gap: 10px;
    list-style-type: none;
    counter-reset: count 0;
  }
}

.c-button,
.wp-block-button a,
.c-for-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 21px 15px 22px 28px;
  min-width: 300px;
  font-size: 1.7rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background-color: var(--color-main1-dark);
  border-radius: 90px;
  transition: background-color var(--animation-speed) ease;
}

.c-button::after,
.wp-block-button a::after,
.c-for-list a::after {
  content: "";
  display: block;
  margin-left: 21px;
  width: 12px;
  height: 10px;
  background: url(../img/common/arrow-white.svg) no-repeat 0 0/contain;
  transition: transform var(--animation-speed) ease;
}

.c-button:hover,
.wp-block-button a:hover,
.c-for-list a:hover {
  background-color: var(--color-main3);
}

.c-button:hover::after,
.wp-block-button a:hover::after,
.c-for-list a:hover::after {
  transform: translateX(5px);
}

.c-button.c-button--ghost,
.wp-block-button a.c-button--ghost,
.c-for-list a.c-button--ghost {
  padding: 33px 58px 33px 72px;
  min-width: 418px;
  line-height: 1.4;
  font-size: 2.2rem;
  background: rgba(20, 56, 17, 0.6);
  mix-blend-mode: hard-light;
}
@media screen and (max-width: 767px) {
  .p-mv__detail__inner{
    position: relative;
    mix-blend-mode: lighten;
  }
.p-mv__detail__inner .c-button.c-button--ghost{
  background: #4D9047;

}
}

.c-button.c-button--ghost:hover,
.wp-block-button a.c-button--ghost:hover,
.c-for-list a.c-button--ghost:hover {
  background: rgba(20, 56, 17, 0.5);
}

.c-button.c-button--ghost:hover::after,
.wp-block-button a.c-button--ghost:hover::after,
.c-for-list a.c-button--ghost:hover::after {
  transform: translateX(6px);
}

.wp-block-buttons,
.c-for-list {
  margin-top: 104px;
}

.c-for-list {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 767px) {

  .c-button,
  .wp-block-button a,
  .c-for-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 21px 15px 22px 28px;
    min-width: 300px;
    font-size: 1.7rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background-color: var(--color-main1-dark);
    border-radius: 90px;
    transition: background-color var(--animation-speed) ease;
  }

  .c-button::after,
  .wp-block-button a::after,
  .c-for-list a::after {
    content: "";
    display: block;
    margin-left: 21px;
    width: 12px;
    height: 10px;
    background: url(../img/common/arrow-white.svg) no-repeat 0 0/contain;
    transition: transform var(--animation-speed) ease;
  }

  .c-button.c-button--ghost,
  .wp-block-button a.c-button--ghost,
  .c-for-list a.c-button--ghost {
    padding: 21px 58px 22px 72px;
    min-width: 68.8%;
    line-height: 1.4;
    font-size: 1.5rem;
    background: rgba(20, 56, 17, 0.6);
    mix-blend-mode: hard-light;
  }

  .c-button.c-button--ghost:hover,
  .wp-block-button a.c-button--ghost:hover,
  .c-for-list a.c-button--ghost:hover {
    background: rgba(20, 56, 17, 0.5);
  }

  .c-button.c-button--ghost:hover::after,
  .wp-block-button a.c-button--ghost:hover::after,
  .c-for-list a.c-button--ghost:hover::after {
    transform: translateX(6px);
  }

  .wp-block-buttons,
  .c-for-list {
    margin-top: 70px;
  }
}

:where(.u-editor) blockquote:where(:not(.is-reset-wp-block)) {
  position: relative;
  margin: 50px 0 0;
  padding: 38px 70px 0;
  line-height: 1.5;
  background: url(../img/page/icon-blockquote.png) no-repeat 0 0/104px auto;
}

:where(.u-editor) blockquote:where(:not(.is-reset-wp-block)) p {
  color: var(--color-main2);
}

:where(.u-editor) blockquote:where(:not(.is-reset-wp-block)) cite {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 16px 0 0 auto;
  font-size: 1.4rem;
  font-style: normal;
}

@media screen and (max-width: 767px) {
  :where(.u-editor) blockquote:where(:not(.is-reset-wp-block)) {
    margin: 40px auto 0;
    padding: 35px 27px 0;
  }
}

:where(.u-editor) .wp-block-image:where(:not(.is-reset-wp-block)) {
  margin-top: 40px;
}

:where(.u-editor) .wp-block-image:where(:not(.is-reset-wp-block)) img {
  max-width: 100%;
  height: auto;
}

:where(.u-editor) .wp-block-image:where(:not(.is-reset-wp-block)) figcaption {
  line-height: 1.5;
  font-size: 1.5rem;
  margin-top: 10px;
}

@media screen and (max-width: 767px) {
  :where(.u-editor) .wp-block-image:where(:not(.is-reset-wp-block)) {
    margin-top: 40px;
  }

  :where(.u-editor) .wp-block-image:where(:not(.is-reset-wp-block)) img {
    max-width: 100%;
    height: auto;
  }
}

:where(.u-editor) iframe {
  max-width: 100%;
  aspect-ratio: 16/9;
}

.l-main .u-editor {
  --table-border-color1: var(--color-main1);
  --table-border-color2: var(--color-main4);
  --table-bg-color: #fff;
}

.l-main .u-editor .wp-block-flexible-table-block-table {
  overflow-x: auto;
}

.l-main .u-editor .wp-block-flexible-table-block-table>table,
.l-main .u-editor table {
  margin-top: 33px;
  border-spacing: 0;
  border-top: 1px solid var(--table-border-color1);
  border-bottom: 1px solid var(--table-border-color1);
}

.l-main .u-editor .wp-block-flexible-table-block-table>table thead,
.l-main .u-editor table thead {
  border-bottom: none;
}

.l-main .u-editor .wp-block-flexible-table-block-table>table tr:not(:last-child),
.l-main .u-editor table tr:not(:last-child) {
  border-bottom: 1px solid var(--table-border-color2);
}

.l-main .u-editor .wp-block-flexible-table-block-table>table tr th,
.l-main .u-editor .wp-block-flexible-table-block-table>table tr td,
.l-main .u-editor table tr th,
.l-main .u-editor table tr td {
  line-height: 1.5;
  font-size: 1.5rem;
  padding: 19px 24px;
  letter-spacing: 0.04em;
  text-align: left;
  border-color: var(--table-border-color1);
  border-left: none;
  border-bottom: 1px solid var(--table-border-color1);
}

.l-main .u-editor .wp-block-flexible-table-block-table>table tr th,
.l-main .u-editor table tr th {
  font-weight: 600;
}

.l-main .u-editor .wp-block-flexible-table-block-table>table thead,
.l-main .u-editor table thead {
  border-bottom: 1px solid var(--table-border-color1);
}

.l-main .u-editor .wp-block-flexible-table-block-table>table thead th,
.l-main .u-editor table thead th {
  text-align: center;
  color: var(--color-main2);
  background-color: var(--color-base2);
  border-right: 1px solid var(--table-border-color2);
}

.l-main .u-editor .wp-block-flexible-table-block-table>table thead th:last-child,
.l-main .u-editor table thead th:last-child {
  border-right: none;
}

.l-main .u-editor .wp-block-flexible-table-block-table>table tbody th,
.l-main .u-editor .wp-block-flexible-table-block-table>table tbody td,
.l-main .u-editor table tbody th,
.l-main .u-editor table tbody td {
  border-bottom: 1px solid var(--table-border-color2);
}

.l-main .u-editor .wp-block-flexible-table-block-table>table tbody th,
.l-main .u-editor table tbody th {
  color: var(--color-main2);
  background-color: var(--color-base2);
  border-right: 1px solid var(--table-border-color2);
}

.l-main .u-editor .wp-block-flexible-table-block-table>table tbody th:last-child,
.l-main .u-editor table tbody th:last-child {
  border-right: none;
}

.l-main .u-editor .wp-block-flexible-table-block-table>table tbody td,
.l-main .u-editor table tbody td {
  border-right: 1px solid var(--table-border-color2);
}

.l-main .u-editor .wp-block-flexible-table-block-table>table tbody td:last-child,
.l-main .u-editor table tbody td:last-child {
  border-right: none;
}

.l-main .u-editor figcaption {
  margin-top: 10px;
  line-height: 1.5;
  font-size: 1.5rem;
}

@media screen and (max-width: 767px) {
  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout {
    width: -moz-max-content !important;
    width: max-content !important;
  }

  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile {
    width: 100% !important;
  }

  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile table,
  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile thead,
  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile tbody,
  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile tr,
  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile th,
  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile td {
    display: block;
    width: 100% !important;
  }

  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile th,
  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile td {
    border-right: none;
  }

  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout.is-stacked-on-mobile td {
    border-top: 1px solid var(--table-border-color1);
  }

  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table,
  .l-main .u-editor table {
    margin-top: 40px;
    border-collapse: collapse;
  }

  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th,
  .l-main .u-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td,
  .l-main .u-editor table tr th,
  .l-main .u-editor table tr td {
    font-size: 1.5rem;
    padding: 22px 24px 21px;
    text-align: left;
  }
}

.u-editor .wp-block-media-text {
  margin: 100px 0 0;
  gap: 30px;
}

.u-editor .wp-block-media-text>.wp-block-media-text__content {
  padding: 0;
}

@media screen and (max-width: 767px) {
  .u-editor .wp-block-media-text {
    margin-top: 60px;
  }
}

.u-contents .wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 88px auto 0;
  text-align: center;
}

.u-contents .wp-pagenavi span,
.u-contents .wp-pagenavi a {
  display: block;
  margin: 0;
  padding: 18px 18px 20px;
  line-height: 1;
  color: var(--color-main1);
  letter-spacing: 0.04em;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--color-main1);
}

.u-contents .wp-pagenavi span.current,
.u-contents .wp-pagenavi a.current {
  background-color: var(--color-main1);
  color: var(--color-white);
  font-weight: 700;
}

.u-contents .wp-pagenavi .pages,
.u-contents .wp-pagenavi .extend {
  padding: 0;
}

.u-contents .wp-pagenavi .extend {
  border: none !important;
}

.u-contents .wp-pagenavi .pages {
  padding: 18px 12px 20px;
}

.u-contents .wp-pagenavi a {
  min-width: 46px;
}

.u-contents .wp-pagenavi a:hover {
  background-color: var(--color-main1);
  color: #fff;
}

.next-prev {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin: 60px auto 0;
}

.next-prev .prev,
.next-prev .next {
  max-width: 384px;
}

.next-prev .prev a,
.next-prev .next a {
  display: inline-block;
  position: relative;
  line-height: 2;
  color: var(--color-main);
  font-size: 1.5rem;
  font-weight: 500;
  transition: 0.3s;
}

.next-prev .prev a:hover,
.next-prev .next a:hover {
  text-decoration: none;
}

.next-prev .prev a::before,
.next-prev .next a::before {
  position: absolute;
}

.next-prev .prev {
  margin-right: auto;
}

.next-prev .prev a {
  padding-left: 1em;
}

.next-prev .prev a::before {
  content: "«";
  top: 0;
  left: 0;
}

.next-prev .next {
  margin-left: auto;
}

.next-prev .next a {
  padding-right: 1em;
}

.next-prev .next a::before {
  content: "»";
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 767px) {
  .u-contents .wp-pagenavi {
    margin: 70px auto 0;
    text-align: center;
  }

  .u-contents .wp-pagenavi span.current,
  .u-contents .wp-pagenavi a {
    padding: 10px 7px;
    min-width: 46px;
  }

  .u-contents .wp-pagenavi .pages {
    width: 100%;
    max-width: 60px;
    padding: 10px 7px;
  }

  .next-prev {
    flex-direction: column;
    gap: 22px;
    margin: 42px auto 0;
  }

  .next-prev .prev,
  .next-prev .next {
    max-width: none;
  }
}

.fadein {
  opacity: 0;
  transform: translate(0, 100px);
  transition: all 1s;
}

.fadein.active {
  opacity: 1;
  transform: translate(0, 0);
}

.js-scroll-animation {
  opacity: 0;
  transition: 1.8s opacity ease-out, 0.8s transform ease-out !important;
  transform: translateY(10px);
}

.js-scroll-animation.is-active {
  opacity: 1;
  transform: translateY(0px);
}

.js-scroll-animation02>* {
  opacity: 0;
  transition: 1.8s opacity ease-out, 0.8s transform ease-out !important;
  transform: translateY(10px);
}

.js-scroll-animation02>*.is-active {
  opacity: 1;
  transform: translateY(0px);
}

:where(.u-editor) .wp-block-column> :first-child,
:where(.u-editor) .wp-block-group__inner-container> :first-child,
:where(.u-editor) .wp-block-media-text__content> :first-child,
:where(.u-editor) blockquote.wp-block-quote> :first-child {
  margin-top: 0 !important;
}

:where(.u-editor) .wp-block-column> :last-child,
:where(.u-editor) .wp-block-group__inner-container> :last-child,
:where(.u-editor) .wp-block-media-text__content> :last-child,
:where(.u-editor) blockquote.wp-block-quote> :last-child {
  margin-bottom: 0 !important;
}

.wp-block-group {
  margin: 100px 0 0;
}

.wp-block-columns {
  margin-top: 52px;
}

.wp-block-columns+.wp-block-columns {
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  .wp-block-group {
    margin-top: 60px;
  }

  .wp-block-columns {
    margin-top: 42px;
  }

  .wp-block-columns+.wp-block-columns {
    margin-top: 30px;
  }
}

.c-qa-layout {
  display: flex;
  flex-direction: column;
  margin: 54px 0 0;
}

.c-qa-layout+.c-qa-layout {
  margin-top: 27px;
}

.c-qa-layout__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px 15px;
  background-color: var(--color-base2);
}

.c-qa-layout__head__pref,
.c-qa-layout__body__pref {
  flex-shrink: 0;
  width: 50px;
  height: 40px;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom center;
  overflow: hidden;
}

.c-qa-layout__head__pref {
  background-image: url(../img/common/icon-qa02.png);
}

.c-qa-layout__body__pref {
  background-image: url(../img/common/icon-qa01.png);
}

.c-qa-layout__title {
  padding-top: 7px;
  line-height: 2;
  color: var(--color-main2);
  font-size: 1.5rem;
}

.c-qa-layout__body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px 0 15px;
}

.c-qa-layout__detail {
  padding-top: 7px;
}

.c-qa-layout__detail .wp-block-list {
  margin-top: 20px;
}

.c-qa-layout__detail> :first-child {
  margin-top: 0 !important;
}

.c-qa-layout__detail> :last-child {
  margin-bottom: 0 !important;
}

.c-qa-layout__detail a {
  text-decoration: underline;
}

.c-qa-layout__detail a:hover {
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .c-qa-layout {
    margin: 47px 0 0;
  }

  .c-qa-layout+.c-qa-layout {
    margin-top: 34px;
  }

  .c-qa-layout__head {
    padding: 11px 16px 15px 12px;
    background-color: var(--color-base2);
  }

  .c-qa-layout__title {
    padding-top: 5px;
  }

  .c-qa-layout__body {
    padding: 11px 12px 0 12px;
  }

  .c-qa-layout__detail {
    padding-top: 5px;
  }
}

.c-nav {
  margin: 0 auto;
  width: 888px;
  color: var(--color-white02);
}

.c-nav__head> :first-child,
.c-nav__body> :first-child {
  margin-top: 0 !important;
}

.c-nav__head> :last-child,
.c-nav__body> :last-child {
  margin-bottom: 0 !important;
}

.c-nav__head {
  display: flex;
  justify-content: space-between;
  gap: 100px;
  margin: 0 auto;
  width: 772px;
}

.c-nav__body {
  margin-top: 80px;
}

.c-nav__logo02 {
  display: none;
  margin-top: 83px;
}

.c-nav__logo-img {
  margin: 0 auto;
}

.c-nav__logo02-img {
  margin: 0 auto;
  width: 104px;
}

.c-nav__company-name {
  margin: 17px 0 0;
  line-height: 1;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.c-nav__company-name02 {
  margin: 17px 0 0;
  line-height: 1;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.c-nav__banner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  margin: 41px auto 0;
  width: 100%;
  max-width: 888px;
}

.mm-menu .c-nav__banner.is-not-menu {
  display: none !important;
}

.c-nav__banner__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-nav__banner__type {
  transition: opacity var(--animation-speed);
}

.c-nav__banner__type:hover {
  opacity: 0.9;
}

.c-nav__offices {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(3, auto);
  gap: 0 88px;
}

.c-nav__office {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1/4;
  gap: 10px;
}

.c-nav__office__head> :first-child,
.c-nav__office__body> :first-child,
.c-nav__office__foot> :first-child {
  margin-top: 0 !important;
}

.c-nav__office__head> :last-child,
.c-nav__office__body> :last-child,
.c-nav__office__foot> :last-child {
  margin-bottom: 0 !important;
}

.c-nav__office__head {
  grid-row: 1/2;
}

.c-nav__office__body {
  grid-row: 2/3;
}

.c-nav__office__foot {
  grid-row: 3/4;
}

.c-nav__office-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.c-nav__office__text {
  line-height: 1.6;
  font-size: 1.3rem;
}

.c-nav__map-link {
  display: inline-block;
  position: relative;
  padding-left: 13px;
  color: var(--color-white02);
  transition: color 0.3s ease;
}

.c-nav__map-link::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 8px;
  height: 11px;
  background: url(../img/common/icon-map.png) no-repeat 0 0/contain;
}

.c-nav__map-link::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  width: 9px;
  height: 7px;
  background: url(../img/common/arrow-white02.png) no-repeat 0 0/contain;
  transition: transform var(--animation-speed) ease;
}

.c-nav__map-link:hover {
  text-decoration: none;
}

.c-nav__map-link:hover::after {
  transform: translateX(3px);
}

.c-nav__nav {
  margin-bottom: 20px;
}

.c-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin: 6px auto 0;
  padding: 0;
  max-width: 767px;
  width: 100%;
}

.c-nav__list__item {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.5rem;
}

.c-nav__list__item a {
  color: var(--color-white02);
}

.c-nav__list__item a:hover {
  text-decoration: none;
}

.c-nav__nav-item a:hover {
  color: var(--color-white02);
}

.c-nav__copyright {
  display: block;
  text-align: center;
  margin-top: 74px;
  line-height: 1;
  font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
  .c-nav {
    width: 100%;
  }

  .c-nav__head {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  .c-nav__offices {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-inline: auto;
    width: -moz-fit-content;
    width: fit-content;
  }

  .c-nav__banner {
    gap: 4px;
    flex-wrap: wrap;
  }

  .c-nav__banner__item {
    width: calc(50% - 2px);
  }

  .l-header .c-nav__offices {
    display: none;
  }

  .l-header .c-nav__banner {
    padding-inline: 40px;
  }

  .l-footer .c-nav__office-title {
    font-size: 1.5rem;
  }

  .l-footer .c-nav__office__text {
    margin-top: 19px;
  }

  .l-footer .c-nav__office__text+.c-nav__office__text {
    margin-top: 5px;
  }

  .l-footer .c-nav__company-name {
    margin-top: 0;
  }

  .l-footer .c-nav__logo-img,
  .l-footer .c-nav__body {
    display: none;
  }

  .l-footer .c-nav__copyright {
    margin-top: 52px;
  }

  .mm-menu {
    padding: 106px 0 55px;
  }

  .mm-menu .c-nav__head {
    display: none;
  }

  .mm-menu .c-nav__body {
    margin: 0;
  }

  .mm-menu .c-nav__list {
    gap: 12px;
    padding: 0 54px;
    flex-direction: column;
  }

  .mm-menu .c-nav__list a {
    display: block;
    padding: 11px 0 9px;
    text-align: center;
    text-decoration: none;
  }

  .mm-menu .c-nav__list span {
    display: block;
    text-align: left;
    line-height: 1;
    border-bottom: 1px solid var(--color-main3);
  }

  .mm-menu .c-nav__banner {
    margin-top: 35px;
    padding: 0 40px;
  }

  .mm-menu .c-nav__copyright {
    display: none;
  }

  .mm-menu .c-nav__logo02 {
    display: block;
  }
}

/*
 * pages
 */
.cat-area {
  display: flex;
  align-items: center;
  max-width: var(--content-width);
  width: 100%;
  margin: 40px auto 0;
}

.cat-area .cat {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.cat-area .cat>li {
  list-style: none;
}

.cat-area .cat a,
.cat-area .cat span {
  display: inline-block;
  padding: 10px 15px;
  font-size: 1.6rem;
  font-weight: 700;
  background-color: var(--color-white);
  border: 1px solid var(--color-main1);
  color: var(--color-main1);
  line-height: 1;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.cat-area .cat a:hover {
  background-color: var(--color-main1);
  color: var(--color-white);
}

.cat-area .cat span {
  background-color: var(--color-main1);
  color: var(--color-white);
}

@media screen and (max-width: 767px) {
  .cat-area {
    display: flex;
    align-items: center;
    width: var(--content-width);
    margin: 40px auto 0;
  }

  .cat-area .cat a,
  .cat-area .cat span {
    padding: 10px;
    font-size: 1.6rem;
  }
}

.single-main .single-main__title {
  letter-spacing: 0.04em;
  font-family: var(--sub1-font-family);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.5;
}

.single-main__head {
  padding: 4px 0;
}

.single-main__body {
  padding: 48px 0 55px;
  background: url(../img/common/bg-title01-pc.png) no-repeat top center/contain;
  border-top: 1px solid var(--color-main3);
  border-bottom: 1px solid var(--color-main3);
}

.single-main__inner {
  margin: 0 auto;
  padding: 0 var(--content-space);
  width: var(--content-narrow-max-width);
}

.single-main__inner> :first-child {
  margin-top: 0 !important;
}

.single-main__inner> :last-child {
  margin-bottom: 0 !important;
}

.single-main__date {
  line-height: 1.6;
  color: var(--color-main2);
  letter-spacing: 0.04em;
  font-family: var(--base-font-family);
  font-size: 1.3rem;
  font-weight: 500;
}

.single-main__category-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
}

.single-main__category-wrap>li {
  list-style: none;
}

.single-main__category {
  line-height: 1;
  font-size: 1.2rem;
  font-weight: 500;
  background-color: var(--color-white);
  border: 1px solid var(--color-grey);
}

.single-main__category__link {
  display: block;
  padding: 1px 8px 6px;
  line-height: 1.2;
  color: var(--color-accent2);
  background-color: var(--color-base2);
  transition: all 0.2s;
}

.single-main__category__link:hover {
  opacity: 1;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .single-main .single-main__title {
    font-size: 2.6rem;
  }

  .single-main__body {
    padding: 37px 0;
    background: url(../img/common/bg-title01-sp.png) no-repeat top center/cover;
  }

  .single-main__category-wrap {
    margin-bottom: 21px;
  }

  .single-main__category {
    line-height: 1.2;
    font-size: 1.3rem;
  }
}

.u-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 4.4rem;
  padding-bottom: 4.3rem;
  width: 100%;
}

.u-main .u-main__title {
  /* margin-top: 15px; */
  letter-spacing: 0.012em;
  font-family: var(--sub1-font-family);
  font-size: 4.6rem;
  font-weight: 600;
  line-height: 1.3;
}

.u-main .u-main__title.u-main__title--wide {
  color: #072905;
  margin-top: 4px;
}

.u-main .u-main__en {
  text-transform: capitalize;
  letter-spacing: -0.03em;
  color: var(--color-main1);
  font-family: var(--sub2-font-family);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.2;
}

.u-main .u-main__title-single {
  letter-spacing: -0.03em;
  font-family: var(--sub1-font-family);
  font-size: 7.4rem;
  font-weight: 500;
  line-height: 1.2;
}

.u-main__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 0 var(--content-space);
  width: var(--content-narrow-max-width);
}

.u-main.u-main--wide {
  padding-top: 4.4rem;
  padding-bottom: 4.3rem;
}

.u-main.u-main--wide .u-main__inner {
  gap: 0.4rem;
}

.u-main.u-main--wide .u-main__title {
  font-size: 4.6rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.12em;
  margin-top: 0;
}

.u-main.u-main--wide .u-main__en {
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-top: 0;
}

/* 404 */
.not-found-wrap p.not-found {
  text-align: center;
  margin-top: 0;
}

@media screen and (max-width: 767px) {

  /* .u-main {
    padding: 48px 0 45px;
  } */
  .u-main .u-main__title {
    line-height: 1.3;
    font-size: 3.5rem;
  }

  .u-main .u-main__en {
    line-height: 1.2;
    /* margin-top: 10px; */
    font-size: 2.5rem;
  }

  .u-main .u-main__title-single {
    letter-spacing: -0.03em;
    font-family: var(--sub1-font-family);
    font-size: 7.4rem;
    font-weight: 500;
    line-height: 1.2;
  }

  .u-main.u-main--wide .u-main__inner,
  .u-main .u-main__inner {
    flex-direction: column;
    gap: 0.8rem;
  }

  .u-main.u-main--wide .u-main__title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.12em;
    margin-top: 0;
  }

  .u-main.u-main--wide .u-main__en {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-top: 0;
  }

  .not-found-wrap p.not-found {
    text-align: left;
    margin-top: 0;
  }
}

/* ここから2025/05/03追記分 */
/* アンカーリンク */
.p-anchor-link {
  width: 100%;
}

.p-anchor-link.p-anchor-link--top {
  margin-top: 10rem;
}

@media screen and (max-width: 767px) {
  .p-anchor-link.p-anchor-link--top {
    margin-top: 6rem;
  }
}

.p-anchor-link__items {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  list-style: none;
  padding-left: 0;
  margin-inline: auto;
  margin-top: 0;
}

@media (min-width: 768px) {
  .p-anchor-link__items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .p-anchor-link__items.p-anchor-link__items--company {
    grid-template-columns: repeat(4, 1fr);
  }
}

.p-anchor-link__items.p-anchor-link__items--staff {
  gap: 0.8rem;
}

@media (min-width: 768px) {
  .p-anchor-link__items.p-anchor-link__items--staff {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    max-width: 662px;
    padding-left: 0;
  }
}

.p-anchor-link__items.p-anchor-link__items--service-header {
  gap: 0.8rem;
}

@media (min-width: 768px) {
  .p-anchor-link__items.p-anchor-link__items--service-header {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    max-width: 812px;
  }
}

.p-anchor-link__item {
  width: 100%;
  padding-left: 0;
}

.p-anchor-link__item::before {
  display: none;
}

.p-anchor-link__item-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-main2);
  line-height: 2;
  text-decoration: none;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
  padding-block: 1.2rem;
  padding-left: 2.4rem;
  padding-right: 3.2rem;
  background-color: #fff;
}

@media screen and (max-width: 767px) {
  .p-anchor-link__item-text {
    font-size: 1.5rem;
    padding-block: 1rem;
    padding-left: 3rem;
    padding-right: 2rem;
  }
}

.p-anchor-link__item-text.p-anchor-link__item-tex--bg {
  background-color: #f7f7f2;
}

.p-anchor-link__item-text:hover {
  text-decoration: underline;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

.p-anchor-link__item-icon img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 13/16;
  width: 1.3rem;
  height: 100%;
}

/* 会社概要 */
.u-editor .wp-block-media-text.p-company-message-two-column {
  display: flex;
}

@media screen and (max-width: 767px) {
  .u-editor .wp-block-media-text.p-company-message-two-column {
    flex-direction: column;
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  .p-company-message-two-column .wp-block-media-text__media {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.p-company-message-two-column .wp-block-media-text__media img {
  width: 100%;
  max-width: 600px;
}

.p-company-table table tbody td:first-child {
  background-color: rgba(7, 41, 5, 0.1);
}

@media screen and (max-width: 767px) {
  .p-company-table table tbody td:first-child {
    border-right: none;
  }
}

.p-company-table .has-fixed-layout tbody>tr {
  display: grid;
  --_width--left: 200;
  --_width--right: 700;
  --_column-gap: 0;
  --_width--total: calc(var(--_width--left) + var(--_column-gap) + var(--_width--right));
  grid-template-columns: calc(var(--_width--left) / var(--_width--total) * 100%) calc(var(--_width--right) / var(--_width--total) * 100%);
  -moz-column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  border-bottom: unset;
}

@media screen and (max-width: 767px) {
  .p-company-table .has-fixed-layout tbody>tr {
    display: flex;
    flex-direction: column;
  }
}

.p-company-table .has-fixed-layout tbody a {
  text-decoration: underline;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

.p-company-table .has-fixed-layout tbody a:hover {
  text-decoration: none;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

.p-access-two-column {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .p-access-two-column {
    flex-direction: column;
    justify-content: center;
  }
}

.p-access-two-column__map iframe {
  aspect-ratio: 600/300;
  width: 100%;
  height: 100%;
}

.p-group-company-two-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .p-group-company-two-column {
    gap: 4rem;
  }
}

.u-editor .wp-block-media-text.p-group-company-two-column__unit {
  display: flex;
}

@media screen and (max-width: 767px) {
  .u-editor .wp-block-media-text.p-group-company-two-column__unit {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.p-group-company-two-column__text-large {
  font-size: 2.4rem;
  margin-top: 0;
}

.p-group-company-two-column__link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  color: var(--color-main1-dark);
  text-decoration: none;
}

.p-group-company-two-column__image {
  transition: 0.3s;
}

.p-group-company-two-column__image:hover {
  opacity: 0.7;
  transition: 0.5s;
}

.p-book-information-two-column {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .p-book-information-two-column {
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
  }
}

.p-book-information-two-column__block {
  max-width: 460px;
}

@media screen and (max-width: 767px) {
  .p-book-information-two-column__block {
    align-self: center !important;
  }
}

.p-book-information-two-column__image img {
  -o-object-fit: contain;
  object-fit: contain;
  aspect-ratio: 230/325;
  width: 23rem;
  height: 100%;
}

.p-company-media-list {
  overflow-wrap: anywhere;
}

.p-company-media-list a {
  text-decoration: underline;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

.p-company-media-list a:hover {
  text-decoration: none;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

@media screen and (max-width: 767px) {
  .wp-block-media-text.p-flow-two-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    margin-top: 4rem;
    margin-inline: auto;
  }
}

@media screen and (max-width: 767px) {
  .p-flow-two-column .wp-block-media-text__media {
    align-self: center;
    max-width: 600px;
  }
}

.p-flow-two-column .wp-block-media-text__media img {
  aspect-ratio: 500/334;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-flow-two-column .wp-block-media-text__content h2 {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-main2);
  background: unset;
  border-left: 2px solid var(--color-main1);
  padding: 0 0 0 20px;
  margin: 62px 0 20px;
}

.p-works-archive__inner {
  max-width: 972px;
  padding-inline: 16px;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-works-archive__inner {
    max-width: 632px;
    padding-inline: 0;
  }
}

.p-works-cards {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 3rem;
  column-gap: 3rem;
  row-gap: 4rem;
  margin-top: 4rem;
}

@media screen and (max-width: 767px) {
  .p-works-cards {
    grid-template-columns: none;
    gap: 2rem;
  }
}

.p-works-card {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  align-items: start;
  gap: 1rem;
  text-decoration: none;
}

.p-works-card:hover {
  opacity: 0.7;
}

.p-works-card:hover .p-works-card__image img {
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.p-works-card__image {
  overflow: hidden;
}

.p-works-card__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 280/240;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.p-works-card__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.5;
  letter-spacing: 0;
  margin-top: 0;
}

.p-works-categories {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 0.5rem;
  column-gap: 0.5rem;
  row-gap: 1rem;
}

.p-works-categories.p-works-categories--archive {
  justify-content: center;
  gap: 1rem;
}

.p-works-categories__item {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-main1-dark);
  line-height: 1.5;
  letter-spacing: 0;
  text-decoration: none;
  border-radius: 10px;
  background-color: #fff;
  padding-inline: 1rem;
  border: 1px solid var(--color-main1-dark);
  transition: all 0.5s;
}

.p-works-categories__item02 {
  display: inline-block;
  padding: 2px 8px;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
  border: 1px solid var(--color-accent3);
  color: var(--color-accent2);
}

.p-works-categories__item.p-works-categories__item--top {
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 0.5rem 1rem;
}

.p-works-categories__item.p-works-categories__item--single {
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 0.5rem 1rem;
}

.p-works-categories__item.p-works-categories__item--service {
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  background-color: var(--color-main1-dark);
  color: #fff;
}

.p-works-categories__item.current {
  background-color: var(--color-main1-dark);
  color: #fff;
}

.p-works-categories__item.p-works-categories__item--top:hover {
  background-color: var(--color-main1-dark);
  color: #fff;
  transition: all 0.5s;
}

.p-works-categories__item.p-works-categories__item--single:hover {
  background-color: var(--color-main1-dark);
  color: #fff;
  transition: all 0.5s;
}

.p-works-archive__pagination {
  margin-top: 7rem;
}

.p-footer-top {
  height: 330px;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .p-footer-top {
    aspect-ratio: 828/334;
    height: auto;
  }
}

.p-footer-top img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}

.p-works-single__inner {
  max-width: 832px;
  padding-inline: 16px;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-works-single__inner {
    max-width: 632px;
    padding-inline: 0;
  }
}

.p-works-single__slider {
  margin-top: 4rem;
}

/* 実績swiper CSS */
.swiper-wrapper {
  transition-timing-function: linear;
}

.p-works-single__slider-thumbnail {
  position: relative;
  margin-top: 1rem;
}

.swiper-slide.swiper-slide--works img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 760/560;
  width: 100%;
  height: 100%;
}

.swiper-slide.swiper-slide--works-thumbnail {
  opacity: 0.5;
  transition: opacity 0.5s;
  width: 20%;
}

.swiper-slide.swiper-slide--works-thumbnail img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 148/110;
  width: 100%;
  height: 100%;
}

.swiper-slide.swiper-slide--works-thumbnail.swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-button-next.swiper-button-next--works {
  position: absolute;
  top: unset;
  bottom: 4.8rem;
  right: -2.4rem;
  left: unset;
  width: 1.6rem;
  height: 1.8rem;
  background-color: var(--color-main1-dark);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

@media screen and (max-width: 767px) {
  .swiper-button-next.swiper-button-next--works {
    right: -1.5rem;
    bottom: 30%;
    width: 1.2rem;
    height: 1.4rem;
  }
}

.p-works-single__slider-thumbnail .swiper-slide-thumbnail {
  cursor: pointer;
}

.swiper-button-prev.swiper-button-prev--works {
  position: absolute;
  top: unset;
  bottom: 4.8rem;
  left: -2.4rem;
  right: unset;
  width: 1.6rem;
  height: 1.8rem;
  background-color: var(--color-main1-dark);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

@media screen and (max-width: 767px) {
  .swiper-button-prev.swiper-button-prev--works {
    left: -1.5rem;
    bottom: 30%;
    width: 1.2rem;
    height: 1.4rem;
  }
}

.p-works-single__info {
  margin-top: 4rem;
}

.p-works-single__info-list {
  display: grid;
  gap: 1rem;
  padding-left: 1.6rem;
  padding-block: 0.8rem;
  border-left: 3px solid var(--color-main1-dark);
}

.p-works-single__info-item {
  display: grid;
  --_width--left: 96;
  --_width--right: 668;
  --_column-gap: 16;
  --_width--total: calc(var(--_width--left) + var(--_column-gap) + var(--_width--right));
  grid-template-columns: calc(var(--_width--left) / var(--_width--total) * 100%) calc(var(--_width--right) / var(--_width--total) * 100%);
  -moz-column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
}

@media screen and (max-width: 767px) {
  .p-works-single__info-item {
    grid-template-columns: none;
  }
}

.p-works-single__info-term {
  font-size: 1.6rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.8125;
  letter-spacing: 0;
}

.p-works-single__info-desc {
  font-size: 1.6rem;
  font-weight: 500;
  color: #212121;
  line-height: 1.8125;
  letter-spacing: 0;
}

.p-works-single__info-link {
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

.p-works-single__info-link:hover {
  text-decoration: none;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

.p-works-single__point {
  margin-top: 4rem;
}

.p-works-single__point-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.6;
  letter-spacing: 0;
}

.p-works-single__point-text {
  font-size: 1.6rem;
  font-weight: 500;
  color: #212121;
  line-height: 1.8125;
  letter-spacing: 0;
  white-space: pre-wrap;
  margin-top: 1rem;
}

@media screen and (max-width: 767px) {
  .p-flow-anchor-link {
    margin-right: 1.6rem;
  }
}

.p-flow-anchor-link__items {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(6, 1fr);
  gap: 3rem;
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .p-flow-anchor-link__items {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
    max-width: 500px;
    margin-inline: auto;
  }
}

.p-flow-anchor-link__item {
  position: relative;
  display: flex;
  width: 100%;
  padding-left: 0;
}

.p-flow-anchor-link__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: unset;
  right: -2.3rem;
  transform: translateY(-50%);
  width: 1rem;
  height: 1.5rem;
  background-color: rgb(20, 56, 17);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  z-index: -1;
}

.p-flow-anchor-link__item:last-child::before {
  display: none;
}

.p-flow-anchor-link__item-text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.7777777778;
  letter-spacing: 0;
  text-align: center;
  width: 100%;
  padding: 4rem 0.8rem;
  background-color: rgb(20, 56, 17);
  border: 1px solid rgb(20, 56, 17);
  transition: all 0.3s;
}

@media screen and (max-width: 767px) {
  .p-flow-anchor-link__item-text {
    font-size: 1.6rem;
    padding-block: 1rem;
  }
}

.p-flow-anchor-link__item-text:hover {
  color: rgb(20, 56, 17);
  text-decoration: none;
  background-color: #fff;
  transition: all 0.3s;
}

.p-button-unit {
  gap: 2rem;
}

.p-button-unit>p {
  font-size: 1.8rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.6111111111;
  letter-spacing: 0;
  border-bottom: 1px solid var(--color-main1-dark);
}

@media screen and (max-width: 767px) {
  .wp-block-media-text.p-staff-two-column {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
  }
}

.wp-block-group.p-staff-two-column__unit {
  gap: 4rem;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-staff-two-column__unit {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

.p-staff-name:has(h2.wp-block-heading) {
  padding: 29px 0 0;
  background: url(../img/common/ex-title01-pc.png) repeat-x 0 0/auto 8px;
}

@media screen and (max-width: 767px) {
  .p-staff-name:has(h2.wp-block-heading) {
    background: url(../img/common/ex-title01-sp.png) repeat-x 0 0/auto 7px;
  }
}

.p-staff-name h2.wp-block-heading {
  padding: 0;
  background: none;
}

.p-staff-two-column__title {
  font-size: 1.8rem;
  font-weight: 500;
  color: #212121;
  line-height: 1.6111111111;
  letter-spacing: 0;
}

@media screen and (max-width: 767px) {
  .p-staff-two-column .wp-block-media-text__media {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .p-staff-two-column .wp-block-media-text__media img {
    width: 100%;
    max-width: 600px;
  }
}

.wp-block-group.p-staff-works {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
}

@media screen and (min-width: 768px) {
  .wp-block-group.p-staff-works {
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
  }
}

@media screen and (min-width: 768px) {
  .wp-block-group.p-staff-works.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image) {
    width: 100%;
  }
}

.wp-block-group.p-staff-works__image-wrapper {
  width: 100%;
}

.wp-block-image.p-staff-works__image {
  display: grid;
  justify-items: center;
  width: 100%;
}

.wp-block-image.p-staff-works__image img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;
  max-width: 632px;
}

.p-staff-name {
  gap: 1.4rem;
}

.p-staff-category {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding-inline: 2rem;
  background-color: #f7f7f2;
}

.p-staff-garalley {
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .p-staff-garalley {
    flex-direction: column;
  }
}

.p-staff-garalley__image-wrapper {
  display: flex;
  justify-content: center;
}

.wp-block-image.p-staff-garalley__image img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 320/300;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-staff-garalley__image img {
    max-width: 632px;
  }
}

.p-recruit-two-column {
  margin-top: 4rem;
  margin-bottom: 0;
}

.p-recruit-table table tbody td:first-child {
  background-color: rgba(7, 41, 5, 0.1);
}

@media screen and (max-width: 767px) {
  .p-recruit-table table tbody td:first-child {
    border-right: none;
  }
}

.p-recruit-table .has-fixed-layout tbody>tr {
  display: grid;
  --_width--left: 200;
  --_width--right: 700;
  --_column-gap: 0;
  --_width--total: calc(var(--_width--left) + var(--_column-gap) + var(--_width--right));
  grid-template-columns: calc(var(--_width--left) / var(--_width--total) * 100%) calc(var(--_width--right) / var(--_width--total) * 100%);
  -moz-column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  border-bottom: unset;
}

@media screen and (max-width: 767px) {
  .p-recruit-table .has-fixed-layout tbody>tr {
    display: flex;
    flex-direction: column;
  }
}

.p-recruit-table .has-fixed-layout tbody a {
  text-decoration: underline;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

.p-recruit-table .has-fixed-layout tbody a:hover {
  text-decoration: none;
  transition: -webkit-text-decoration 0.3s;
  transition: text-decoration 0.3s;
  transition: text-decoration 0.3s, -webkit-text-decoration 0.3s;
}

.p-recruit-two-column {
  gap: 4rem;
}

@media screen and (max-width: 767px) {
  .p-recruit-two-column {
    flex-direction: column;
    gap: 2rem;
  }
}

.wp-block-column.p-recruit-garalley.is-layout-flow.wp-block-column-is-layout-flow {
  width: 60%;
  flex-basis: auto;
}

@media screen and (max-width: 767px) {
  .wp-block-column.p-recruit-garalley.is-layout-flow.wp-block-column-is-layout-flow {
    width: 100%;
  }
}

.wp-block-column.p-recruit-garalley.is-layout-flow.wp-block-column-is-layout-flow figure img {
  aspect-ratio: 125/150;
}

.wp-block-column.p-recruit-list.is-layout-flow.wp-block-column-is-layout-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: auto;
  gap: 2rem;
  width: 40%;
}

@media screen and (max-width: 767px) {
  .wp-block-column.p-recruit-list.is-layout-flow.wp-block-column-is-layout-flow {
    align-items: center;
    width: 100%;
  }
}

.wp-block-list.p-recruit-list__items li {
  font-size: 2rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.5;
  letter-spacing: 0;
  padding-left: 3.6rem;
}

@media screen and (max-width: 767px) {
  .wp-block-list.p-recruit-list__items li {
    font-size: 1.6rem;
    line-height: 1.5;
  }
}

.wp-block-list.p-recruit-list__items li::before {
  content: "";
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--color-main1-dark);
  border-radius: unset;
  background-color: unset;
}

@media screen and (max-width: 767px) {
  .wp-block-list.p-recruit-list__items li::before {
    width: 2rem;
    height: 2rem;
  }
}

.wp-block-list.p-recruit-list__items li::after {
  content: "";
  position: absolute;
  top: 35%;
  transform: rotate(-45deg) translateY(-50%);
  left: 6px;
  width: 20px;
  height: 10px;
  border-left: 3px solid var(--color-accent1);
  border-bottom: 3px solid var(--color-accent1);
}

@media screen and (max-width: 767px) {
  .wp-block-list.p-recruit-list__items li::after {
    width: 18px;
    height: 8px;
  }
}

.p-recruit-bottom .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wp-block-group.p-recruit-bottom-unit {
  align-items: center;
  gap: 4rem;
  margin-top: 4rem;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-recruit-bottom-unit {
    flex-direction: column;
    gap: 2rem;
  }
}

.p-recruit-bottom__top-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #212121;
  line-height: 1.6111111111;
  letter-spacing: 0;
  border-bottom: 1px solid var(--color-main1-dark);
}

.wp-block-group.p-recruit-tel figure img {
  width: 30px;
  height: 30px;
}

.wp-block-group.p-recruit-tel {
  gap: 1rem;
}

.wp-block-group.p-recruit-tel p {
  font-size: 3.7rem;
  font-weight: 600;
  color: #000;
  line-height: 1;
  letter-spacing: 0;
}

.p-recruit-tel-unit__time {
  font-size: 1.6rem;
  font-weight: 600;
  color: #000;
  line-height: 1.8125;
  letter-spacing: 0;
  text-align: center;
  margin-top: 1rem;
}

.p-overview-animal-bottom {
  border-radius: 20px;
  border: 1px solid #000;
  padding: 20px;
  margin-top: 10rem;
}

@media screen and (max-width: 767px) {
  .p-overview-animal-bottom {
    margin-top: 4rem;
  }
}

.wp-block-buttons.p-recruit-button-wrapper {
  justify-content: center;
  margin-top: 10rem;
}

@media screen and (max-width: 767px) {
  .wp-block-buttons.p-recruit-button-wrapper {
    margin-top: 4rem;
  }
}

.c-overview-button .wp-block-button__link.wp-element-button {
  position: relative;
  padding-left: 10rem;
}

.c-overview-button .wp-block-button__link.wp-element-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background-image: url(../img/page/overview-animal-button.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 7rem;
  aspect-ratio: 70/46;
  z-index: 0;
}

.p-recruit-works-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4.5rem;
}

@media screen and (max-width: 767px) {
  .p-recruit-works-cards {
    grid-template-columns: unset;
    justify-items: center;
    gap: 1.4rem;
    max-width: 600px;
    margin-inline: auto;
    margin-top: 4rem;
  }
}

@media screen and (max-width: 767px) {
  .p-recruit-works-cards.p-recruit-works-cards--features {
    gap: 1.4rem;
  }
}

.p-recruit-works-cards__item:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.p-recruit-works-cards__item-thumbnail {
  overflow: hidden;
}

.p-recruit-works-cards__item-thumbnail img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 320/230;
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (max-width: 767px) {
  .p-recruit-works-cards__item-thumbnail img {
    aspect-ratio: 764/380;
  }
}

.p-recruit-works-cards__item:hover .p-recruit-works-cards__item-thumbnail img {
  transform: scale(1.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wp-block-group.p-recruit-top-content {
  display: grid;
  --_width--left: 440;
  --_width--right: 548;
  --_column-gap: 12;
  --_width--total: calc(var(--_width--left) + var(--_column-gap) + var(--_width--right));
  grid-template-columns: calc(var(--_width--left) / var(--_width--total) * 100%) calc(var(--_width--right) / var(--_width--total) * 100%);
  -moz-column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-recruit-top-content {
    grid-template-columns: none;
    gap: 4rem;
  }
}

@media screen and (max-width: 767px) {
  .p-recruit-top-content .wp-block-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.p-recruit-top-content .wp-block-image img {
  -o-object-fit: contain;
  object-fit: contain;
  aspect-ratio: 522/302;
}

@media screen and (max-width: 767px) {
  .p-recruit-top-content .wp-block-image img {
    width: 100%;
    max-width: 600px;
  }
}

.p-wide-contents__container {
  position: relative;
  padding-bottom: 12.6rem;
}

.p-wide-contents__container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f7f7f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-wide-contents .wp-block-group.p-wide-contents__container {
  overflow-x: hidden;
  margin-top: 6.4rem;
}

@media screen and (max-width: 767px) {
  .p-wide-contents .wp-block-group.p-wide-contents__container {
    margin-top: 1.8rem;
    padding-bottom: 6rem;
  }
}

.p-wide-contents .wp-block-group.p-wide-contents__service {
  margin-top: 7.7rem;
}

@media screen and (max-width: 767px) {
  .p-wide-contents .wp-block-group.p-wide-contents__service {
    margin-top: 0;
  }
}

.p-service-top-content {
  display: grid;
  --_width--left: 552;
  --_width--right: 415;
  --_column-gap: 33;
  --_width--total: calc(var(--_width--left) + var(--_column-gap) + var(--_width--right));
  grid-template-columns: calc(var(--_width--left) / var(--_width--total) * 100%) calc(var(--_width--right) / var(--_width--total) * 100%);
  -moz-column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  align-items: center;
}

@media screen and (max-width: 767px) {
  .p-service-top-content {
    grid-template-columns: none;
    gap: 4rem;
  }
}

.p-service-top-content__body {
  display: grid;
  gap: 3.8rem;
  width: calc(var(--_width__left) / var(--_width__total) * 100%);
}

@media screen and (max-width: 767px) {
  .p-service-top-content__body {
    display: contents;
    width: 100%;
  }
}

.p-service-top-content__body .p-wide-contents-title {
  order: 1;
}

.p-service-top-content__body .p-service-text {
  order: 3;
}

.p-recruit-top-content__image {
  width: calc(var(--_width__right) / var(--_width__total) * 100%);
}

@media screen and (max-width: 767px) {
  .p-recruit-top-content__image {
    display: flex;
    justify-content: center;
    width: 100%;
    order: 2;
  }
}

.p-service-top-content .p-recruit-top-content__image img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 415/303;
}

@media screen and (max-width: 767px) {
  .p-service-top-content .p-recruit-top-content__image img {
    width: 100%;
    max-width: 600px;
  }
}

.p-service-header {
  position: relative;
  padding-block: 7rem;
  max-width: 1684px;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-service-header {
    padding-top: 5.6rem;
    padding-bottom: 2.8rem;
  }
}

.p-service-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f2f4f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-service-header__contents .wp-block-group__inner-container {
  display: grid;
  gap: 4.6rem;
}

@media screen and (max-width: 767px) {
  .p-service-header__contents .wp-block-group__inner-container {
    gap: 2.4rem;
  }
}

.wp-block-group.p-service-content {
  display: flex;
  align-items: start;
  gap: 6rem;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-service-content {
    display: contents;
    flex-direction: column;
    grid-template-columns: none;
    gap: 4rem;
  }
}

.wp-block-group.p-service-content.p-service-content--reverse {
  justify-content: flex-end;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-service-content.p-service-content--reverse {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
}

.wp-block-group.p-service-content.p-service-content--left {
  justify-items: end;
}

.wp-block-group.p-service-content__body {
  max-width: 660px;
  width: 100%;
}

.p-service-content__body.p-service-content__body--wide {
  max-width: 100%;
}

.p-wide-contents .wp-block-group.p-service-content__body-unit {
  margin-top: 3rem;
}

.p-service-content__body-unit .wp-block-group__inner-container {
  display: grid;
  gap: 2.1rem;
}

.wp-block-image.p-service-content__image {
  display: flex;
  justify-content: flex-start;
  width: 50vw;
  margin-right: -50vw;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-service-content__image {
    width: 100%;
    margin-right: unset;
    order: 3;
    margin-top: 3.6rem;
  }
}

.wp-block-image.p-service-content__image.p-service-content__image--reverse {
  justify-content: flex-end;
  margin-right: unset;
  margin-left: -50vw;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-service-content__image.p-service-content__image--reverse {
    width: 100%;
    margin-left: unset;
    margin-top: 0;
  }
}

.wp-block-image.p-service-content__image img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 740/500;
  width: 100%;
  max-width: 74rem;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-service-content__image img {
    aspect-ratio: 764/480;
  }
}

.wp-block-image.p-service-content__image.p-service-content__image--reverse img {
  aspect-ratio: 740/545;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-service-content__image.p-service-content__image--reverse img {
    aspect-ratio: 764/480;
  }
}

.wp-block-image.p-service-content__image.p-service-content__image--left {
  width: 50vw;
  margin-left: -50%;
  margin-right: unset;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-service-content__image.p-service-content__image--left {
    width: 100%;
    margin-left: unset;
  }
}

.wp-block-image.p-service-content__image.p-service-content__image--left img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 740/545;
  max-width: 74rem;
  width: 100%;
  height: 100%;
}

.p-service-about .wp-block-group__inner-container {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid #000;
}

.wp-block-group.p-service-about__unit {
  display: grid;
  align-items: start;
  --_width--left: 118;
  --_width--right: 740;
  --_column-gap: 40;
  --_width--total: calc(var(--_width--left) + var(--_column-gap) + var(--_width--right));
  grid-template-columns: calc(var(--_width--left) / var(--_width--total) * 100%) calc(var(--_width--right) / var(--_width--total) * 100%);
  -moz-column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  column-gap: calc(var(--_column-gap) / var(--_width--total) * 100%);
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-service-about__unit {
    grid-template-columns: none;
    gap: 2rem;
  }
}

.p-service-subtitle {
  background-color: #fff;
}

.p-wide-contents .wp-block-group.p-service-block {
  position: relative;
  padding-top: 12.6rem;
}

@media screen and (max-width: 767px) {
  .p-wide-contents .wp-block-group.p-service-block {
    padding-top: 8.6rem;
  }
}

.p-wide-contents .wp-block-group.p-service__caution {
  margin-top: 6.2rem;
}

@media screen and (max-width: 767px) {
  .p-wide-contents .wp-block-group.p-service__caution {
    margin-top: 4rem;
  }
}

.p-service__caution .wp-block-group__inner-container {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: 4rem;
  border: 1px solid #264724;
}

@media screen and (max-width: 767px) {
  .p-service__caution .wp-block-group__inner-container {
    padding: 1.8rem;
  }
}

.p-service__caution .wp-block-group__inner-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-service-block-title {
  background-color: #f7f7f2;
}

.wp-block-list.p-service-block-items {
  display: grid;
  gap: 0.8rem;
  background-color: #f7f7f2;
  padding: 2rem;
  padding-left: 4.4rem;
  margin: 0;
}

.wp-block-list.p-service-block-items li {
  font-size: 1.5rem;
  font-family: var(--base-font-family);
  font-weight: 600;
  color: #292b28;
  line-height: 1.5;
  letter-spacing: 0/4em;
}

.p-wide-contents .wp-block-group {
  margin-top: 0;
}

.p-contents-inner {
  max-width: 1040px;
  padding-inline: 20px;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-contents-inner {
    padding-inline: 16px;
  }
}

.p-wide-contents-title {
  font-size: 3rem;
  font-family: var(--sub1-font-family);
  font-weight: 600;
  color: var(--color-main2);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .p-wide-contents-title {
    font-size: 2.5rem;
    text-align: center;
  }
}

.p-feature-pickup {
  position: relative;
  padding: 11rem 2rem;
}

@media screen and (max-width: 767px) {
  .p-feature-pickup {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
    padding-inline: 0;
  }
}

.p-feature-pickup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(20, 56, 17, 0.9);
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-feature-pickup__inner {
  position: relative;
}

.p-feature-pickup__inner::before {
  content: "";
  position: absolute;
  top: -13rem;
  left: clamp(600px, 17.7rem + 36vw, 877px);
  background-image: url(../img/page/feature-bar-icon.webp);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 48.1rem;
  height: auto;
  aspect-ratio: 481/384;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .p-feature-pickup__inner::before {
    top: -10.7rem;
    left: 50%;
    transform: translateX(-50%);
    width: 37.4rem;
    aspect-ratio: 374/298;
  }
}

.p-feature-pickup__inner .wp-block-group__inner-container {
  display: grid;
  justify-items: center;
  gap: 2rem;
}

.p-feature-pickup__title {
  font-size: 2.4rem;
  font-family: var(--sub1-font-family);
  font-weight: 500;
  color: #fff;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.p-feature-pickup__text {
  font-size: 1.8rem;
  font-family: var(--sub1-font-family);
  font-weight: 500;
  color: #fff;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-feature-pickup__text {
    text-align: left;
  }
}

.p-features-header__title-wrapper {
  display: flex;
  justify-content: center;
}

.p-features-header__title {
  position: relative;
  display: inline-block;
}

.p-features-header__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5.6rem;
  transform: translateY(-50%);
  background-color: var(--color-main3);
  width: 4rem;
  height: 1px;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .p-features-header__title::before {
    display: none;
  }
}

.p-features-header__title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5.6rem;
  transform: translateY(-50%);
  background-color: var(--color-main3);
  width: 4rem;
  height: 1px;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .p-features-header__title::after {
    display: none;
  }
}

.p-features-header__title.p-wide-contents-title.p-wide-contents-title--service::before {
  display: none;
}

.p-features-header__title.p-wide-contents-title.p-wide-contents-title--service::after {
  display: none;
}

.p-features-header-wrapper {
  position: relative;
  padding-top: 6.7rem;
  padding-bottom: 7.3rem;
}

@media screen and (max-width: 767px) {
  .p-features-header-wrapper {
    padding-top: 0;
    padding-bottom: 2.2rem;
  }
}

.p-features-header-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../img/page/features-header-bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  aspect-ratio: 1920/681;
  z-index: 0;
}

.p-features-header {
  position: relative;
  max-width: 1684px;
  padding-block: 7rem;
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .p-features-header {
    padding-top: 5.6rem;
    padding-bottom: 2.2rem;
  }
}

.p-features-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f2f4f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-features-header__anchor-link {
  margin-top: 6.4rem;
}

@media screen and (max-width: 767px) {
  .p-features-header__anchor-link {
    margin-top: 2rem;
  }
}

.p-features-header__text {
  text-align: center;
  margin-top: 7.4rem;
}

@media screen and (max-width: 767px) {
  .p-features-header__text {
    text-align: left;
    margin-top: 4rem;
  }
}

.wp-block-columns.p-features-gallery {
  flex-wrap: nowrap;
  gap: 2rem;
  margin-top: 6.4rem;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .wp-block-columns.p-features-gallery {
    flex-direction: column;
    gap: 3.2rem;
    max-width: 600px;
    margin-top: 4rem;
    margin-inline: auto;
  }
}

.p-features-gallery__image-unit .wp-block-group__inner-container {
  display: grid;
  gap: 1.2rem;
}

@media screen and (max-width: 767px) {
  .p-features-gallery__image-unit .wp-block-group__inner-container {
    gap: 0.8rem;
  }
}

.wp-block-image.p-features-gallery__image img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 320/230;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-features-gallery__image img {
    aspect-ratio: 764/460;
  }
}

.wp-block-group.p-features-two-column {
  display: grid;
  grid-template-columns: 660px 740fr;
  gap: 6rem;
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-features-two-column {
    grid-template-columns: auto;
    justify-items: center;
    gap: 2rem;
  }
}

.wp-block-group.p-features-two-column.p-features-two-column--reverse {
  position: relative;
  grid-template-columns: 740fr 660px;
  justify-items: end;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-features-two-column.p-features-two-column--reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}

.wp-block-group.p-features-two-column.p-features-two-column--reverse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f7f7f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-features-two-column__items {
  display: grid;
  gap: 0.8rem;
  background-color: #f7f7f2;
  padding: 2rem;
  padding-left: 4.4rem;
  margin: 0;
}

.p-features-two-column__items.p-features-two-column__items--reverse {
  background-color: #fff;
}

.p-features-two-column__item {
  font-size: 1.5rem;
  font-family: var(--base-font-family);
  font-weight: 600;
  color: #292b28;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.wp-block-image.p-features-two-column__image {
  width: 50vw;
  margin-right: -50vw;
  max-width: 74rem;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-features-two-column__image {
    width: 100%;
    margin-right: unset;
    margin-top: 4rem;
  }
}

.wp-block-image.p-features-two-column__image img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 740/844;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .wp-block-image.p-features-two-column__image img {
    aspect-ratio: 828/480;
  }
}

.p-features-two-column__image.p-features-two-column__image--reverse {
  width: 50vw;
  margin-left: calc((50vw - 50%) * -1);
  margin-right: unset;
}

@media screen and (max-width: 767px) {
  .p-features-two-column__image.p-features-two-column__image--reverse {
    width: 100%;
    margin-left: unset;
  }
}

.p-features-two-column__image.p-features-two-column__image--reverse img {
  aspect-ratio: 740/930;
}

@media screen and (max-width: 767px) {
  .p-features-two-column__image.p-features-two-column__image--reverse img {
    aspect-ratio: 828/480;
  }
}

.wp-block-group.p-features-two-column__content {
  margin-top: 3rem;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-features-two-column__content {
    margin-top: 2.1rem;
  }
}

.p-features-two-column__content .wp-block-group__inner-container {
  display: grid;
  gap: 2.1rem;
}

.p-features-content .wp-block-group__inner-container {
  display: grid;
  gap: 2.1rem;
}

.wp-block-group.p-features-content {
  margin-top: 3rem;
}

.wp-block-buttons.p-features-anchor-link {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 6rem;
}

@media screen and (max-width: 767px) {
  .wp-block-buttons.p-features-anchor-link {
    grid-template-columns: unset;
    margin-top: 4rem;
  }
}

.p-features-anchor-link__button .wp-block-button__link.wp-element-button {
  min-width: 100%;
}

.p-features-support {
  padding-top: 12.8rem;
  padding-bottom: 16.6rem;
}

@media screen and (max-width: 767px) {
  .p-features-support {
    padding-top: 8.1rem;
    padding-bottom: 9rem;
  }
}

.wp-block-group.p-features-support-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 2rem;
  column-gap: 2rem;
  row-gap: 1.7rem;
  margin-top: 3.5rem;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-features-support-list {
    grid-template-columns: unset;
    max-width: 400px;
    margin-inline: auto;
    margin-top: 2rem;
  }
}

.wp-block-group.p-features-support-list__item {
  padding: 2rem;
  padding-left: 3.6rem;
  border: 1px solid var(--color-main1);
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-features-support-list__item {
    padding: 2rem 1.2rem;
  }
}

.wp-block-group.p-features-support-list__item .wp-block-group__inner-container {
  display: grid;
  gap: 1.4rem;
}

.wp-block-group__inner-container .p-features-support-list__title {
  font-size: 2rem;
  font-family: var(--sub1-font-family);
  font-weight: 600;
  color: var(--color-main1);
  line-height: 1.3;
  letter-spacing: 0.44em;
  text-align: center;
}

.p-features-support-list__item-menu {
  display: grid;
  gap: 0.8rem;
  padding-left: 2.4rem;
  margin: 0;
}

.p-features-support-list__item-menu li {
  font-size: 1.5rem;
  font-family: var(--base-font-family);
  font-weight: 400;
  color: #292b28;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.p-features-block {
  position: relative;
  padding: 12rem 2rem;
}

.p-features-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f7f7f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-features-works {
  position: relative;
  padding-block: 12.6rem;
}

@media screen and (max-width: 767px) {
  .p-features-works {
    padding-top: 8.1rem;
    padding-bottom: 6rem;
  }
}

.p-features-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f7f7f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.wp-block-group.p-features-works__text-wrapper {
  margin-top: 3rem;
}

.wp-block-group.p-features-works__text-wrapper .wp-block-group__inner-container {
  display: grid;
  gap: 2.1rem;
}

.p-features-text {
  font-size: 1.5rem;
  font-family: var(--base-font-family);
  font-weight: 400;
  color: #292b28;
  line-height: 2;
  letter-spacing: 0.04em;
}

.p-service-text {
  font-size: 1.5rem;
  font-family: var(--base-font-family);
  font-weight: 400;
  color: #292b28;
  line-height: 2;
  letter-spacing: 0.04em;
}

.p-logo-unit {
  display: flex;
  align-items: center;
  gap: 9.1428571429%;
  padding-block: 2rem;
  padding-inline: 6.3rem;
  background-color: #f7f7f2;
}

@media screen and (max-width: 767px) {
  .p-logo-unit {
    flex-direction: column;
    gap: 6rem;
    padding: 2rem;
  }
}

.p-logo-unit__text {
  position: relative;
  width: 66.4%;
  font-size: 1.8rem;
  font-family: var(--sub1-font-family);
  color: var(--color-main2);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

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

.p-logo-unit__text::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -4.8rem;
  transform: translateY(-50%);
  background-image: url(../img/common/vetpeer-logo-unit-arrow.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 2rem;
  aspect-ratio: 20/24;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .p-logo-unit__text::before {
    top: unset;
    right: unset;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}

.p-logo-unit__image.wp-block-image {
  width: 24.4571428571%;
}

@media screen and (max-width: 767px) {
  .p-logo-unit__image.wp-block-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

.p-logo-unit__image.wp-block-image img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 214/96;
  width: 100%;
  max-width: 21.4rem;
  height: 100%;
}

.p-quality {
  position: relative;
  padding-block: 12.6rem;
}

@media screen and (max-width: 767px) {
  .p-quality {
    padding-top: 8.1rem;
    padding-bottom: 6rem;
  }
}

.p-quality::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f7f7f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-feature-quality__block .wp-block-group__inner-container {
  display: grid;
  gap: 2.1rem;
  margin-top: 6.2rem;
}

.p-feature-quality-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-left: 2.2rem;
}

@media screen and (max-width: 767px) {
  .p-feature-quality-title {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 1rem;
    padding-left: 1.6rem;
    gap: 0.7rem;
  }
}

.p-feature-quality-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-feature-quality-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-main1);
  width: 2px;
  height: 100%;
  z-index: 0;
}

.p-feature-quality-title.p-feature-quality-title--caution::before {
  background-color: #f7f7f2;
}

.p-feature-quality-title__sub {
  display: flex;
  align-items: baseline;
  font-size: 1.4rem;
  font-family: var(--sub2-font-family);
  font-weight: 400;
  line-height: 1.5714285714;
  letter-spacing: 0.04em;
}

.p-feature-quality-title__sub-ampersand {
  font-size: 1.2rem;
  font-family: var(--sub1-font-family);
  font-weight: 400;
  line-height: 0.8571428571;
  letter-spacing: 0.04em;
}

.p-feature-quality-title__sub-number {
  font-size: 2.2rem;
  font-family: var(--sub2-font-family);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

.p-feature-quality-title__main {
  font-size: 2.2rem;
  font-family: var(--sub1-font-family);
  font-weight: 500;
  color: var(--color-main2);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 767px) {
  .p-feature-quality-title__main {
    font-size: 2.1rem;
  }
}

.p-quality__header-text {
  margin-top: 3rem;
}

.p-features-quality__images {
  display: flex;
  margin-top: 4rem;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .p-features-quality__images {
    display: none;
  }
}

.p-features-quality__image-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .p-features-quality__image-sp {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
}

.p-features-quality__image-sp img {
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 382/270;
  width: 38.2rem;
  height: 100%;
}

.p-features-quality-items {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: 2rem;
  padding-left: 4.4rem;
  margin: 0;
}

.p-features-quality-items::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f7f7f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .p-features-quality-items::before {
    background-color: #fff;
  }
}

.p-features-quality-items.p-features-quality-items::before {
  background-color: #f7f7f2;
}

.p-features-quality-item {
  font-size: 1.5rem;
  font-family: var(--base-font-family);
  font-weight: 600;
  color: #292b28;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.p-features-strong-list {
  padding: 2rem;
  background-color: #f7f7f2;
}

.p-features-contents-title {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 2.4rem;
  padding-block: 1.2rem;
}

.p-features-contents-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, #5c755b 50%, #072905 51%);
  width: 2px;
  height: 100%;
  z-index: -1;
}

.p-features-contents-title__sub {
  font-size: 2rem;
  font-family: var(--sub2-font-family);
  font-weight: 500;
  color: var(--color-main3);
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .p-features-contents-title__sub {
    font-size: 1.3rem;
  }
}

.p-features-contents-title__main {
  font-size: 2.6rem;
  font-family: var(--sub1-font-family);
  font-weight: 600;
  color: var(--color-main2);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 767px) {
  .p-features-contents-title__main {
    font-size: 2.2rem;
  }
}

.p-designa {
  overflow-x: hidden;
}

@media screen and (max-width: 767px) {
  .p-designa {
    padding-top: 8.1rem;
  }
}

.p-schedule {
  position: relative;
}

@media screen and (max-width: 767px) {
  .p-schedule {
    padding-top: 8.1rem;
  }
}

.p-schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f7f7f2;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-proposal {
  padding-top: 12.6rem;
  padding-bottom: 6rem;
}

@media screen and (max-width: 767px) {
  .p-proposal {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

.p-proposal__subtitle {
  font-size: 1.8rem;
  font-family: var(--base-font-family);
  font-weight: 600;
  color: var(--color-main1);
  line-height: 2;
  letter-spacing: 0.04em;
}

.p-proposal__items {
  display: grid;
  gap: 0.8rem;
  background-color: #f7f7f2;
  padding: 2rem;
  padding-left: 4.4rem;
  margin: 0;
}

.p-proposal__item {
  font-size: 1.5rem;
  font-family: var(--base-font-family);
  font-weight: 600;
  color: #292b28;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.p-wide-contents .wp-block-group.p-proposal__button-unit {
  gap: 1.2rem;
  margin-top: 6.4rem;
}

.wp-block-group.p-feature-support__text-wrapper {
  margin-top: 3rem;
}

.p-feature-support__text-wrapper .wp-block-group__inner-container {
  display: grid;
  gap: 2.1rem;
}

.wp-block-group.p-features-support__body {
  margin-top: 3.5rem;
}

.wp-block-group.p-features-support__body .wp-block-group__inner-container {
  display: grid;
  gap: 2.1rem;
}

@media screen and (min-width: 767px) {
  .u-mobile {
    display: none;
  }
}

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

.p-service__subtitle {
  font-size: 1.8rem;
  font-family: var(--base-font-family);
  font-weight: 600;
  color: var(--color-main1);
  line-height: 2;
  letter-spacing: 0.04em;
}

.p-service-content__bottom .wp-block-group__inner-container {
  display: grid;
  gap: 2rem;
  margin-top: 6.2rem;
}

@media screen and (max-width: 767px) {
  .p-service-content__bottom .wp-block-group__inner-container {
    margin-top: 6.1rem;
  }
}

.p-wide-contents .wp-block-group.p-sevice-animal-hospital {
  padding-top: 12.6rem;
}

@media screen and (max-width: 767px) {
  .p-wide-contents .wp-block-group.p-sevice-animal-hospital {
    padding-top: 8.1rem;
  }
}

.p-wide-contents .wp-block-group.p-service__logo-unit {
  margin-top: 6.2rem;
}

@media screen and (max-width: 767px) {
  .p-wide-contents .wp-block-group.p-service__logo-unit {
    margin-top: 5rem;
  }
}

.p-section-heading {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}

@media screen and (max-width: 767px) {
  .p-section-heading {
    gap: 2rem;
  }
}

.p-section-heading__lead {
  position: relative;
  font-size: 7.4rem;
  font-family: var(--sub2-font-family);
  font-weight: 500;
  color: var(--color-main2);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

@media screen and (max-width: 767px) {
  .p-section-heading__lead {
    font-size: 5.5rem;
  }
}

.p-section-heading__lead::before {
  content: "";
  position: absolute;
  bottom: 1.4rem;
  left: 0;
  background-color: var(--color-main2);
  width: 100%;
  height: 1px;
  z-index: -1;
}

@media screen and (max-width: 767px) {
  .p-section-heading__lead::before {
    bottom: 1rem;
  }
}

.p-section-heading__title {
  font-size: 1.5rem;
  font-family: var(--sub1-font-family);
  font-weight: 600;
  color: var(--color-main1);
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.p-wide-contents .wp-block-group.p-service__works {
  margin-top: 12.6rem;
  padding-bottom: 16.6rem;
}

@media screen and (max-width: 767px) {
  .p-wide-contents .wp-block-group.p-service__works {
    margin-top: 6.8rem;
    padding-bottom: 9rem;
  }
}

.p-service__button {
  margin-top: 4.6rem;
}

@media screen and (max-width: 767px) {
  .p-service__button {
    margin-top: 4rem;
  }
}

.p-wide-contents__body .wp-block-group__inner-container {
  display: grid;
}

@media screen and (max-width: 767px) {
  .wp-block-group.p-service-content__bottom {
    order: 2;
  }
}

@media screen and (max-width: 767px) {
  .wp-block-columns.is-slick-slider {
    overflow: hidden;
  }
  .wp-block-columns.is-slick-slider:not(.slick-initialized):not(.is-not-slick-initialized) {
    opacity: 0;
    flex-wrap: nowrap !important;
  }

  .wp-block-columns.is-slick-slider.slick-initialized {
    gap: 0;
    margin-left: -5px;
    margin-right: -5px;
  }

  .wp-block-columns.is-slick-slider.slick-initialized .wp-block-column {
    padding: 0 5px;
  }

  .wp-block-columns.is-slick-slider.slick-initialized .wp-block-image img {
    aspect-ratio: 1/1;
    width: 100% !important;
    height: auto !important;
  }

  .wp-block-columns.is-slick-slider.slick-initialized .slick-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    gap: 22px;
    margin-top: 20px;
    width: 100%;
  }

  .wp-block-columns.is-slick-slider.slick-initialized .slick-dots>li {
    margin: 0;
    padding: 0;
  }

  .wp-block-columns.is-slick-slider.slick-initialized .slick-dots>li::before {
    display: none;
  }

  .wp-block-columns.is-slick-slider.slick-initialized .slick-dots>li button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 12px;
    height: 12px;
    text-indent: -9999px;
    background-color: #BFBFBF;
    overflow: hidden;
    border: none;
    border-radius: 12px;
  }

  .wp-block-columns.is-slick-slider.slick-initialized .slick-dots>li.slick-active button {
    background-color: #264724;
  }

  /* スタッフページ専用：カラムが1つでも2カラムサイズで表示 */
  .page-staff .wp-block-columns.is-slick-slider:not(.slick-initialized):not(.is-not-slick-initialized) {
    opacity: 0;
    flex-wrap: nowrap !important;
  }

  .page-staff .wp-block-columns.is-slick-slider.slick-initialized {
    gap: 0;
    margin-left: -5px;
    margin-right: -5px;
  }

  .page-staff .wp-block-columns.is-slick-slider.slick-initialized .wp-block-column {
    padding: 0 5px;
  }

  .page-staff .wp-block-columns.is-slick-slider.slick-initialized .wp-block-image img {
    aspect-ratio: 1/1;
    width: 100% !important;
    height: auto !important;
  }

  .page-staff .wp-block-columns.is-slick-slider.slick-initialized .slick-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    gap: 22px;
    margin-top: 20px;
    width: 100%;
  }

  .page-staff .wp-block-columns.is-slick-slider.slick-initialized .slick-dots>li {
    margin: 0;
    padding: 0;
  }

  .page-staff .wp-block-columns.is-slick-slider.slick-initialized .slick-dots>li::before {
    display: none;
  }

  .page-staff .wp-block-columns.is-slick-slider.slick-initialized .slick-dots>li button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 12px;
    height: 12px;
    text-indent: -9999px;
    background-color: #BFBFBF;
    overflow: hidden;
    border: none;
    border-radius: 12px;
  }

  .page-staff .wp-block-columns.is-slick-slider.slick-initialized .slick-dots>li.slick-active button {
    background-color: #264724;
  }

  /* スライダーが初期化されていない場合でも画像を表示 */
  .wp-block-columns.is-slick-slider.is-not-slick-initialized {
    opacity: 1;
    flex-wrap: wrap !important;
  }

  .wp-block-columns.is-slick-slider.is-not-slick-initialized .wp-block-column {
    display: block !important;
  }

  .wp-block-columns.is-slick-slider.is-not-slick-initialized .wp-block-image img {
    aspect-ratio: 1/1;
    width: 100% !important;
    height: auto !important;
  }

  /* クローン要素を非表示にする（念のため） */
  .wp-block-columns.is-slick-slider.is-not-slick-initialized .slick-cloned {
    display: none !important;
  }

  .wp-block-columns.is-slick-slider.is-not-slick-initialized .wp-block-column.slick-cloned {
    display: none !important;
  }

  /* スタッフページ専用：画像が1-2件でも2カラムサイズで左寄せ表示 */
  .page-staff .wp-block-columns.is-slick-slider.is-not-slick-initialized {
    gap: 0;
    margin-left: -5px;
    margin-right: -5px;
    flex-wrap: nowrap !important;
  }

  .page-staff .wp-block-columns.is-slick-slider.is-not-slick-initialized .wp-block-column {
    padding: 0 5px;
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
  }

  .page-staff .wp-block-columns.is-slick-slider.is-not-slick-initialized .wp-block-image img {
    aspect-ratio: 1/1;
    width: 100% !important;
    height: auto !important;
  }
}

@media screen and (min-width: 768px),
print {
  .p-top-heading {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 40px;
  }

  .p-top-heading+* {
    margin-top: 38px !important;
  }

  .p-top-heading.is-works+* {
    margin-top: 57px !important;
  }

  .p-top-heading__lead {
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-family: var(--sub2-font-family);
    font-size: 7.4rem;
    font-weight: 500;
  }

  .p-top-heading__title {
    margin-top: 1.1em;
    line-height: 1.3;
    color: var(--color-main1);
    font-family: var(--sub1-font-family);
    font-size: 1.5rem;
    font-weight: 500;
  }

  .p-top-text {
    margin-top: 1.7em;
  }
}

@media screen and (max-width: 767px) {
  .p-top-heading {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-top: 40px;
  }

  .p-top-heading+* {
    margin-top: 42px !important;
  }

  .p-top-heading.is-works+* {
    margin-top: 50px !important;
  }

  .p-top-heading__lead {
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-family: var(--sub2-font-family);
    font-size: 7.4rem;
    font-weight: 500;
  }

  .p-service .p-top-heading__lead {
    width: 54%;
  }

  .p-works .p-top-heading__lead {
    width: 43%;
  }

  .p-features .p-top-heading__lead {
    width: 53%;
  }

  .p-top-heading__title {
    margin-top: 0.7em;
    line-height: 1.3;
    color: var(--color-main1);
    font-family: var(--sub1-font-family);
    font-size: 1.5rem;
    font-weight: 500;
  }

  .p-top-text {
    margin-top: 1.4em;
  }
}

.u-contents {
  margin: 0 auto;
  padding: 75px var(--content-space) 157px;
  width: var(--content-narrow-max-width);
}

.u-contents>*:first-child {
  margin-top: 0 !important;
}

@media screen and (min-width: 768px) {
  #wrapper {
    min-width: var(--content-width);
  }
}

@media screen and (max-width: 767px) {
  .u-contents {
    padding-top: 5.6rem;
    /* padding-bottom: 2.8rem; */
    padding-bottom: 100px;
  }
}

/* 郵便番号に出る「ハイフンなしで」を非表示 */
#autozip {
  display: none !important;
}

@keyframes scroll {
  0% {
    height: 0;
    top: 1.8em;
  }

  50% {
    height: 100%;
    top: 1.8em;
  }

  100% {
    height: 0;
    top: 100%;
  }
}

a[href^=http] {
  word-break: break-all;
}

@media screen and (min-width: 768px),
print {
  .p-mv {
    position: relative;
    max-width: 100%;
    width: 100dvw;
    min-width: var(--content-width);
    height: 100vh;
    overflow: hidden;
  }

  .p-mv .splide__list {
    margin: 0;
    padding: 0;
  }

  .p-mv__logo {
    position: absolute;
    top: 12.4%;
    left: 50%;
    width: -moz-fit-content;
    width: fit-content;
    z-index: 2;
    transform: translateX(-50%);
  }

  .p-mv__detail {
    position: absolute;
    left: 0;
    bottom: 0;
    padding-bottom: 100px;
    width: 100%;
  }

  .p-mv__detail__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
  }

  .p-mv__img {
    display: block;
    width: 100%;
    min-width: var(--content-width);
    height: 100%;
    overflow: hidden;
  }

  .p-mv__img img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
    width: 100%;
    height: 100%;
  
  }

  .p-mv__scroll {
    position: absolute;
    right: 45px;
    bottom: 0;
    height: 200px;
    line-height: 1;
    letter-spacing: 0.16em;
    color: var(--color-white);
    font-family: var(--sub2-font-family);
    font-size: 1.5rem;
    overflow: hidden;
  }

  .p-mv__scroll::after {
    content: "";
    position: absolute;
    top: 1.8em;
    left: calc(50% - 1px);
    transform: translateX(50%);
    width: 2px;
    background-color: #FFF;
    animation: scroll 3s ease infinite;
  }

  .p-news {
    padding: 70px 0 85px;
    background: url(../img/top/bg-news01-pc.webp) no-repeat right 0 top 0/1920px auto;
  }

  .p-news__inner {
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    max-width: calc(1164px + var(--content-space) * 2);
    width: 100%;
  }

  .p-news__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  .p-news__head__main> :first-child,
  .p-news__head__side> :first-child {
    margin-top: 0 !important;
  }

  .p-news__head__main> :last-child,
  .p-news__head__side> :last-child {
    margin-bottom: 0 !important;
  }

  .p-news__text {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .p-news__text a {
    display: inline-block;
    color: #867546;
    position: relative;
    padding-left: 16px;
  }

  .p-news__text a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0.8em;
    left: 2px;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent3);
    border: 1px solid var(--color-accent1);
    transform: rotate(45deg);
  }

  .p-news__text a::after {
    content: "";
    display: inline-block;
    margin-left: 9px;
    width: 12px;
    height: 10px;
    background: url(../img/top/arrow-news01.webp) no-repeat 0 0/contain;
    transition: transform var(--animation-speed) ease;
  }

  .p-news__text a:hover {
    text-decoration: none;
  }

  .p-news__text a:hover::after {
    transform: translateX(5px);
  }

  .p-news__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 36px;
    margin: 36px 0 0;
  }

  .p-news__item {
    display: flex;
    align-items: flex-start;
    width: calc(50% - 18px);
    transition: transform 0.3s ease;
  }

  .p-news__type {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    text-decoration: none;
    transition: opacity var(--animation-speed);
  }

  .p-news__item:hover {
    opacity: 0.7;
  }

  .p-news__item:hover .p-news__image img {
    transform: scale(1.1);
  }

  .p-news__image {
    flex-shrink: 0;
    width: 114px;
    height: 114px;
    overflow: hidden;
  }

  .p-news__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform var(--animation-speed);
  }

  .p-news__detail> :first-child {
    margin-top: 0;
  }

  .p-news__detail> :last-child {
    margin-bottom: 0;
  }

  .p-news__date {
    margin-bottom: 8px;
    font-size: 14px;
    color: #999;
    line-height: 1.2;
  }

  .p-news__category-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 12px;
  }

  .p-news__category {
    display: inline-block;
    padding: 2px 8px;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
    border: 1px solid var(--color-accent3);
    color: var(--color-accent2);
  }

  .p-news__title {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
  }

  .p-service-works {
    position: relative;
    padding: 0 0 166px;
    z-index: 1;
    background-color: var(--color-base2);
  }

  .p-service {
    position: relative;
    padding-top: 123px;
    z-index: 1;
  }

  .p-service.js-scroll-animation {
    opacity: 1;
    transform: translateY(0);
  }

  .p-service::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1080px;
    height: 840px;
    background-position: center;
    background-image: url(../img/top/bg-service01-pc.webp);
    background-size: 1080px auto;
    background-repeat: no-repeat;
    transition: 1s all 1.5s ease-out;
    opacity: 0;
    transform: translateY(10px);
  }

  .p-service.is-active::before {
    opacity: 1;
    transform: translateY(0px);
  }

  .p-service__inner {
    position: relative;
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    max-width: calc(1164px + var(--content-space) * 2);
    width: 100%;
  }

  .p-service__content {
    margin-left: auto;
    width: 587px;
  }

  .p-service__header> :first-child {
    margin-top: 0 !important;
  }

  .p-service__description {
    font-family: var(--sub1-font-family);
    font-size: 2.4rem;
    color: var(--color-text);
    line-height: 1.9;
  }

  .p-service__categories {
    display: flex;
    gap: 2px;
    margin-top: 37px;
  }

  .p-service__category {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
    background-color: var(--color-white02);
    line-height: 1.3;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-accent2);
  }

  .p-service__fields {
    display: flex;
    gap: 15px;
    margin: 30px 0 0;
  }

  .p-service__fields-title {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 1.3;
    font-family: var(--sub1-font-family);
    font-size: 2.1rem;
    font-weight: bold;
    color: #2e6b25;
  }

  .p-service__fields-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    width: 367px;
  }

  .p-service__field {
    background-color: var(--color-white02);
    padding: 8px 5px;
    margin: 0;
    width: 121px;
    line-height: 1.1;
    text-align: center;
    font-size: 1.3rem;
    color: var(--color-main2);
    border: 1px solid var(--color-main4);
  }

  .p-service__field-tail {
    display: flex;
    align-items: flex-end;
  }

  .p-service__link {
    margin-top: 51px;
  }

  .p-works {
    margin-top: 211px;
  }

  .p-works.js-scroll-animation {
    opacity: 1;
    transform: translateY(0);
  }

  .p-works::before {
    content: "";
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    z-index: -1;
    right: 0;
    top: -211px;
    width: 974px;
    height: 617px;
    background-image: url(../img/top/bg-service02-pc.webp);
    background-size: 974px auto;
    transition: 1s all 1.5s ease-out;
    opacity: 0;
    transform: translateY(10px);
  }

  .p-works.is-active::before {
    opacity: 1;
    transform: translateY(0px);
  }

  .p-works__inner {
    position: relative;
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    max-width: calc(var(--content-width) + var(--content-space) * 2);
    width: 100%;
  }

  .p-works__header {
    margin-bottom: 30px;
  }

  .p-works__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 75px;
  }

  .p-works__item {
    flex: 1;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .p-works__type {
    text-decoration: none;
  }

  .p-works__type:where(a):hover .p-works__image img {
    transform: scale(1.1);
  }

  .p-works__image {
    width: 100%;
    height: 233px;
    overflow: hidden;
  }

  .p-works__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform var(--animation-speed);
  }

  .p-works__client {
    margin-top: 17px;
    font-size: 1.5rem;
    color: #333;
  }

  .p-works__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 46px;
  }

  .p-features {
    margin-top: 125px;
  }

  .p-features__inner {
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    max-width: calc(var(--content-width) + var(--content-space) * 2);
    width: 100%;
  }

  .p-features-layout {
    display: grid;
    grid-template-columns: auto 622px;
    grid-template-rows: repeat(2, auto);
    grid-column-gap: 32px;
    grid-row-gap: 0px;
  }

  .p-features-layout__head> :first-child,
  .p-features-layout__body> :first-child,
  .p-features-layout__foot> :first-child {
    margin-top: 0 !important;
  }

  .p-features-layout__head> :last-child,
  .p-features-layout__body> :last-child,
  .p-features-layout__foot> :last-child {
    margin-bottom: 0 !important;
  }

  .p-features-layout__head {
    grid-area: 1/1/2/2;
    padding-top: 42px;
  }

  .p-features-layout__body {
    grid-area: 1/2/3/3;
  }

  .p-features-layout__foot {
    grid-area: 2/1/3/2;
    margin-top: 42px;
  }

  .p-features__list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
  }

  .p-features__link {
    margin-top: 20px;
  }

  .p-links {
    margin-top: 120px;
  }

  .p-links__inner {
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    max-width: calc(var(--content-width) + var(--content-space) * 2);
    width: 100%;
  }

  .p-links__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px auto 0;
    padding: 0;
    max-width: 1112px;
  }

  .p-links__item {
    margin: 0;
    width: 248px;
    list-style: none;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .p-links__type {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-main2);
    transition: opacity var(--animation-speed);
  }

  .p-links__type:hover {
    opacity: 0.7;
  }

  .p-links__type:hover .p-links__text {
    text-decoration: none;
  }

  .p-links__type:hover .p-links__text::after {
    left: 3px;
  }

  .p-links__text {
    position: absolute;
    top: 23px;
    padding-left: 35px;
    line-height: 1;
    font-size: 1.9rem;
    font-weight: bold;
    text-decoration: underline;
  }

  .p-links__text::before,
  .p-links__text::after {
    content: "";
    display: block;
  }

  .p-links__text::before {
    position: absolute;
    top: 0.35em;
    left: 20px;
    width: 6px;
    height: 6px;
    background-color: var(--color-main1-dark);
    transform: rotate(45deg);
  }

  .p-links__text::after {
    display: inline-block;
    position: relative;
    top: -0.1em;
    left: 0;
    margin-left: 21px;
    width: 12px;
    height: 10px;
    background: url(../img/common/arrow-main2.svg) no-repeat 0 0/contain;
    transition: left var(--animation-speed);
  }

  .p-links__image {
    transition: opacity 0.3s ease;
  }

  .p-links__item:hover .p-links__image {
    opacity: 0.8;
  }

  .c-banner-list {
    display: flex;
    margin: 116px auto 0;
    padding: 0;
    gap: 24px;
    max-width: 1176px;
  }

  .c-banner-list__item {
    width: calc(50% - 12px);
    list-style: none;
  }

  .c-banner-list__item a {
    transition: opacity var(--animation-speed);
  }

  .c-banner-list__item a:hover {
    opacity: 0.7;
  }

  .p-cv {
    margin-top: 166px;
    padding: 40px 0;
    background: var(--color-main1-dark) url(../img/common/bg-cv01-pc.png) top center/cover;
    color: #fff;
    text-align: center;
  }

  .p-cv__inner {
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    max-width: calc(var(--content-width) + var(--content-space) * 2);
    width: 100%;
  }

  .p-cv__content {
    padding: 64px 94px 74px;
    background: rgba(20, 56, 17, 0.9);
  }

  .p-cv__header {
    margin-bottom: 30px;
  }

  .p-cv__title {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.8;
  }

  .p-cv__methods {
    display: flex;
    justify-content: space-between;
    gap: 42px;
    margin-top: 55px;
  }

  .p-cv__phone {
    padding-top: 24px;
  }

  .p-cv__email {
    width: 462px;
  }

  .p-cv__subtitle {
    line-height: 1.4;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 28px;
  }

  .p-cv__phone-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .p-cv__phone-item {
    display: flex;
    align-items: center;
  }

  .p-cv__label {
    display: inline-block;
    margin: 0;
    padding: 2px 10px 3px;
    color: #fff;
    line-height: 1.3;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 10px;
    border: 1px solid var(--color-white);
  }

  .p-cv__tel {
    line-height: 1;
  }

  .p-cv__tel a {
    display: inline-block;
    position: relative;
    font-size: 3rem;
  }

  .p-cv__tel a::before {
    content: "";
    display: inline-block;
    margin-right: 6px;
    width: 22px;
    height: 21px;
    background: url(../img/common/icon-tel.png) no-repeat 0 0/contain;
  }

  .p-cv__hours {
    margin-left: 8px;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .p-cv__email-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 23px 20px;
    min-height: 187px;
    text-decoration: none;
    color: #333;
    background: #e3c287 url(../img/common/bg-cv02-pc.webp) top center/cover;
    border: 1px solid var(--color-accent1);
    box-shadow: 3px 5px 7px rgba(8, 46, 5, 0.7);
    transition: opacity var(--animation-speed);
  }

  .p-cv__email-box:hover {
    opacity: 0.9;
  }

  .p-cv__email-box> :first-child {
    margin-top: 0 !important;
  }

  .p-cv__email-box> :last-child {
    margin-bottom: 0 !important;
  }

  .p-cv__email-title {
    margin: 20px 0 0;
    line-height: 1.4;
    font-size: 1.9rem;
    font-weight: 600;
  }

  .p-cv__email-text {
    position: relative;
    margin: 19px 0 0;
    padding-left: 35px;
    line-height: 1;
    text-align: center;
    font-size: 2.1rem;
  }

  .p-cv__email-text::before {
    content: "";
    display: block;
    position: absolute;
    top: 1em;
    left: 0;
    width: 28px;
    height: 18px;
    background: url(../img/common/icon-mail.png) no-repeat 0 0/contain;
  }

  .p-cv__email-text__num {
    margin-right: 5px;
    line-height: 1;
    font-family: "Playfair Display", serif;
    font-size: 4rem;
  }

  .p-cv__email-note {
    margin: 25px 0 0;
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: 600;
  }
}

@media screen and (max-width: 767px) {
  .p-mv {
    position: relative;
  }

  .p-mv__logo {
    position: absolute;
    top: 33px;
    left: 50%;
    width: 58.2%;
    z-index: 2;
    transform: translateX(-50%);
  }

  .p-mv__detail {
    /* position: absolute;
    left: 0;
    bottom: 0;
    padding-bottom: 160px; */
    width: 100%;
  }

  .p-mv__detail__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
  }

  .p-mv__img {
    display: block;
    width: 100dvw;
    /* height: 100dvh; */
    height: auto;
    overflow: hidden;
  }

  .p-mv__img img {
    /* -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
    width: 100%;
    height: 100%; */
    width: 100%;
    height: auto;
  }

  .p-mv__scroll {
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 139px;
    line-height: 1;
    letter-spacing: 0.16em;
    color: var(--color-white);
    font-family: var(--sub2-font-family);
    font-size: 1.2rem;
    overflow: hidden;
    transform: translateX(-50%);
  }

  .p-mv__scroll::after {
    content: "";
    position: absolute;
    top: 1.8em;
    left: 50%;
    transform: translateX(50%);
    width: 1px;
    background-color: #FFF;
    animation: scroll 3s ease infinite;
  }

  .p-news {
    padding: 45px 0 55px;
    background: url(../img/top/bg-news01-sp.webp) no-repeat right 0 top 0/828px auto;
  }

  .p-news__inner {
    margin: 45px auto 0;
    padding-inline: var(--content-space);
    max-width: calc(1164px + var(--content-space) * 2);
    width: 100%;
  }

  .p-news__head {
    display: flex;
    flex-direction: column;
    gap: 27px;
  }

  .p-news__head__main> :first-child,
  .p-news__head__side> :first-child {
    margin-top: 0 !important;
  }

  .p-news__head__main> :last-child,
  .p-news__head__side> :last-child {
    margin-bottom: 0 !important;
  }

  .p-news__head__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .p-news__text {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .p-news__text a {
    display: inline-block;
    color: #867546;
    position: relative;
    padding-left: 20px;
  }

  .p-news__text a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0.8em;
    left: 2px;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent3);
    border: 1px solid var(--color-accent1);
    transform: rotate(45deg);
  }

  .p-news__text a::after {
    content: "";
    display: inline-block;
    margin-left: 9px;
    width: 12px;
    height: 10px;
    background: url(../img/top/arrow-news01.webp) no-repeat 0 0/contain;
    transition: transform var(--animation-speed) ease;
  }

  .p-news__text a:hover {
    text-decoration: none;
  }

  .p-news__text a:hover::after {
    transform: translateX(5px);
  }

  .p-news__list {
    display: flex;
    flex-direction: column;
    gap: 21px 36px;
    margin: 18px 0 0;
  }

  .p-news__item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    transition: transform 0.3s ease;
  }

  .p-news__type {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    text-decoration: none;
    transition: opacity var(--animation-speed);
  }

  .p-news__item:hover {
    opacity: 0.7;
  }

  .p-news__item:hover .p-news__image img {
    transform: scale(1.1);
  }

  .p-news__image {
    flex-shrink: 0;
    width: 114px;
    height: 114px;
    overflow: hidden;
  }

  .p-news__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform var(--animation-speed);
  }

  .p-news__detail> :first-child {
    margin-top: 0;
  }

  .p-news__detail> :last-child {
    margin-bottom: 0;
  }

  .p-news__date {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #999;
    line-height: 1.2;
  }

  .p-news__category-wrap {
    display: block;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 10px;
  }

  .p-news__category {
    display: inline-block;
    padding: 2px 8px;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
    border: 1px solid var(--color-accent3);
    color: var(--color-accent2);
  }

  .p-news__title {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.4;
  }

  .p-service-works {
    position: relative;
    padding-bottom: 104px;
    z-index: 1;
  }

  .p-service-works::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    /* width: calc(100% - 40px); */
    width: 100%;
    height: 100%;
    background-color: var(--color-base2);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: url(../img/top/bg-service01-sp.webp);
    background-size: 100% auto;
    z-index: -1;
  }

  .p-service {
    padding-top: 65%;
  }

  .p-service__inner {
    position: relative;
    margin: 0 auto 0;
    padding-inline: calc(var(--content-space) * 2);
    width: 100%;
  }

  .p-service__header {
    margin-bottom: 36px;
  }

  .p-service__header> :first-child {
    margin-top: 0 !important;
  }

  .p-service__description {
    font-size: 1.9rem;
    color: #555;
    line-height: 2;
  }

  .p-service__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 32px;
  }

  .p-service__category {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: calc(50% - 1px);
    min-height: 85px;
    background-color: var(--color-white02);
    line-height: 1.3;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-accent2);
  }

  .p-service__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .p-service__fields-title {
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.5;
    color: #2e6b25;
  }

  .p-service__fields-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2px;
    width: calc(100% - 2em - 14px);
    font-size: 1.5rem;
  }

  .p-service__field {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white02);
    text-align: center;
    padding: 10px 5px 9px;
    line-height: 1.1;
    font-size: 1.3rem;
    color: #333;
    border: 1px solid var(--color-main4);
  }

  .p-service__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 45px;
  }

  .p-works {
    position: relative;
    margin-top: 117px;
  }

  .p-works::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 40px;
    width: 82.6%;
    height: 100%;
    background: url(../img/top/bg-service02-sp.webp) no-repeat right 0 top 0/100% auto;
  }

  .p-works__inner {
    position: relative;
    margin: 0 auto 0;
    padding-inline: calc(var(--content-space) * 2);
    width: 100%;
  }

  .p-works__inner> :first-child {
    margin-top: 0 !important;
  }

  .p-works__inner> :last-child {
    margin-bottom: 0 !important;
  }

  .p-works__header {
    margin-bottom: 30px;
  }

  .p-works__list {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  .p-works__item {
    flex: 1;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .p-works__type {
    text-decoration: none;
  }

  .p-works__image {
    width: 100%;
    height: 233px;
    overflow: hidden;
  }

  .p-works__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform var(--animation-speed);
  }

  .p-works__client {
    margin-top: 10px;
    line-height: 1.5;
    font-size: 1.5rem;
    color: #333;
  }

  .p-works__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 38px;
  }

  .p-features {
    margin-top: 90px;
  }

  .p-features__inner {
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    max-width: calc(var(--content-width) + var(--content-space) * 2);
    width: 100%;
  }

  .p-features-layout {
    display: flex;
    flex-direction: column;
  }

  .p-features-layout__head> :first-child,
  .p-features-layout__body> :first-child,
  .p-features-layout__foot> :first-child {
    margin-top: 0 !important;
  }

  .p-features-layout__head> :last-child,
  .p-features-layout__body> :last-child,
  .p-features-layout__foot> :last-child {
    margin-bottom: 0 !important;
  }

  .p-features-layout__body {
    margin-top: 32px;
  }

  .p-features-layout__foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 46px;
  }

  .p-features__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }

  .p-features__link {
    margin-top: 20px;
  }

  .p-links {
    margin-top: 101px;
  }

  .p-links__inner {
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    width: 100%;
  }

  .p-links__inner> :first-child {
    margin-top: 0 !important;
  }

  .p-links__inner> :last-child {
    margin-bottom: 0 !important;
  }

  .p-links__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 56px 12px;
    margin: 30px 0 0;
    padding: 0;
  }

  .p-links__item {
    margin: 0;
    width: calc(50% - 6px);
    list-style: none;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .p-links__type {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    color: var(--color-main2);
    transition: opacity var(--animation-speed);
  }

  .p-links__text {
    position: absolute;
    top: 0;
    padding-left: 25px;
    line-height: 1;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration: underline;
  }

  .p-links__text::before,
  .p-links__text::after {
    content: "";
    display: block;
  }

  .p-links__text::before {
    position: absolute;
    top: 0.35em;
    left: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-main1-dark);
    transform: rotate(45deg);
  }

  .p-links__text::after {
    display: inline-block;
    position: relative;
    top: -0.1em;
    left: 0;
    margin-left: 13px;
    width: 12px;
    height: 10px;
    background: url(../img/common/arrow-main2.svg) no-repeat 0 0/contain;
    transition: left var(--animation-speed);
  }

  .p-links__image {
    margin-top: -11px;
  }

  .c-banner-list {
    display: flex;
    flex-direction: column;
    margin: 70px 0 0;
    padding: 0;
    gap: 15px;
  }

  .c-banner-list__item {
    width: 100%;
    list-style: none;
  }

  .p-cv {
    margin-top: 104px;
    padding: 42px 0;
    background: var(--color-main1-dark) url(../img/common/bg-cv01-sp.png) top center/cover;
    color: #fff;
    text-align: center;
  }

  .p-cv__inner {
    margin: 0 auto 0;
    padding-inline: var(--content-space);
    max-width: calc(var(--content-width) + var(--content-space) * 2);
    width: 100%;
  }

  .p-cv__content {
    padding: 54px var(--content-space) 42px;
    background: rgba(20, 56, 17, 0.9);
  }

  .p-cv__header {
    margin-bottom: 30px;
  }

  .p-cv__title {
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.8;
  }

  .p-cv__methods {
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin-top: 42px;
  }

  .p-cv__email {
    padding-inline: var(--content-space);
    width: 100%;
  }

  .p-cv__phone {
    width: 100%;
  }

  .p-cv__subtitle {
    line-height: 1.4;
    font-size: 2rem;
    font-weight: 600;
  }

  .p-cv__phone-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 26px;
  }

  .p-cv__phone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .p-cv__label {
    display: inline-block;
    margin: 0;
    padding: 2px 10px;
    color: #fff;
    line-height: 1.1;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1px solid var(--color-white);
  }

  .p-cv__tel {
    margin-top: 12px;
    line-height: 1;
  }

  .p-cv__tel a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-size: 3rem;
  }

  .p-cv__tel a::before {
    content: "";
    display: inline-block;
    margin-right: 6px;
    width: 22px;
    height: 21px;
    background: url(../img/common/icon-tel.png) no-repeat 0 0/contain;
  }

  .p-cv__hours {
    margin-top: 10px;
    line-height: 1.3;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .p-cv__email-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-decoration: none;
    color: #333;
    background: #e3c287 url(../img/common/bg-cv02-pc.webp) top center/cover;
    border: 1px solid var(--color-accent1);
    box-shadow: 3px 5px 7px rgba(8, 46, 5, 0.7);
    transition: opacity var(--animation-speed);
  }

  .p-cv__email-box:hover {
    opacity: 0.9;
  }

  .p-cv__email-box> :first-child {
    margin-top: 0 !important;
  }

  .p-cv__email-box> :last-child {
    margin-bottom: 0 !important;
  }

  .p-cv__email-title {
    margin: 20px 0 0;
    line-height: 1.4;
    letter-spacing: 0.1em;
    font-size: 1.9rem;
    font-weight: 600;
  }

  .p-cv__email-text {
    position: relative;
    margin: 15px 0 0;
    padding-left: 35px;
    line-height: 1;
    text-align: center;
    font-size: 2.1rem;
  }

  .p-cv__email-text::before {
    content: "";
    display: block;
    position: absolute;
    top: 1em;
    left: 0;
    width: 28px;
    height: 18px;
    background: url(../img/common/icon-mail.png) no-repeat 0 0/contain;
  }

  .p-cv__email-text__num {
    margin-right: 5px;
    line-height: 1;
    font-family: "Playfair Display", serif;
    font-size: 4rem;
  }

  .p-cv__email-note {
    margin: 21px 0 0;
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: 600;
  }
}

.p-op-section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-main2);
  z-index: 10000;
}

.p-op-text {
  margin: 0 auto;
  color: var(--color-white);
  vertical-align: bottom;
  opacity: 0;
  transition: 0.5s ease-out;
}

.p-op-section.is-start .p-op-text {
  opacity: 1;
  transition: 0.8s ease-out;
}

body.home {
  opacity: 0;
  transition: 0.5s opacity;
}

body.home.is-op {
  opacity: 1;
}
@media screen and (max-width: 767px) {
  .p-op-text img{
    width: 90%;
    margin: 0 auto;

  }
}