.f-serif {
  font-family: "Noto Serif JP", serif;
}

.f-pops {
  font-family: "Poppins", sans-serif;
}

.f-pops-b {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.f-crmt {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-optical-sizing: auto;
}

html {
  margin-top: 0 !important;
}

#wpadminbar {
  /* display: none; */
  top: auto;
  bottom: 0;
}

html:has(.nav-open), body:has(.nav-open) {
  overflow: hidden;
}

:root {
  --bc-blue: #003686;
  --bc-blue-rgb: 0,54,134;
  --bc-gray: #b5b5b5;
  --bc-gray-l: #ccc;
  --bc-gray-logo: #727171;
  --header-h: 70px;
}
@media screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 769px) {
  .sp {
    display: none !important;
  }
}

@media screen and (min-width: 501px) {
  .sp2 {
    display: none !important;
  }
}

.ov {
  transition: opacity 0.3s;
}
.ov:hover {
  opacity: 0.7;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 2.5%;
  width: 100%;
  padding-left: min(50px, 3%);
  height: var(--header-h);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  transition: background-color 0.5s;
}
@media screen and (max-width: 768px) {
  header {
    padding: 0 min(25px, 5%);
  }
}
header a.logo {
  max-width: 320px;
  width: 100%;
  aspect-ratio: 160/9;
  background-color: #fff;
  -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/shinagawa_logo_header.svg);
          mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/shinagawa_logo_header.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  transition: all 0.3s;
}
@media screen and (max-width: 1000px) {
  header a.logo {
    max-width: 120px;
    width: 100%;
    aspect-ratio: 60/19;
    background-color: #fff;
    -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/shinagawa_logo_v_no_copy.svg);
            mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/shinagawa_logo_v_no_copy.svg);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
  }
}
header .navTgl {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
header .navTgl.ex + nav {
  translate: none;
  background-position: right bottom, 0 0;
  transition: background-position 0.5s 0.25s;
}
header .navTgl.ex i {
  background-color: transparent !important;
}
header .navTgl.ex i::before, header .navTgl.ex i::after {
  width: 40px;
}
header .navTgl.ex i::before {
  top: 0;
  rotate: 45deg;
}
header .navTgl.ex i::after {
  bottom: 0;
  rotate: -45deg;
}
header .navTgl i {
  display: flex;
  background-color: transparent;
  position: relative;
}
header .navTgl i, header .navTgl i::before, header .navTgl i::after {
  width: inherit;
  height: 3px;
  background-color: #fff;
  transition: 0.5s;
}
header .navTgl i::before, header .navTgl i::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
}
header .navTgl i::before {
  top: -13px;
}
header .navTgl i::after {
  bottom: -13px;
}
header nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 35px 30px;
  width: calc(95vw - 320px);
  font-size: 15px;
}
@media screen and (max-width: 768px) {
  header nav {
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: calc(100dvh - var(--header-h));
    padding: 30px 5% calc(21.5% + 25px);
    background: url(/common/img/menu_bg.png) no-repeat right -100vw bottom/100% auto, linear-gradient(145deg, #141414 25%, #505050 96%);
    position: absolute;
    top: var(--header-h);
    left: 0;
    translate: 100% 0;
    transition: left 0.5s;
    overflow-y: scroll;
    overscroll-behavior-y: contain;
    height: 100%;
  }
}
header nav ul {
  display: flex;
  gap: 8px min(3%, 30px);
  width: calc(100% - 100px);
}
@media screen and (min-width: 769px) {
  header nav ul {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 1000px) {
  header nav ul {
    max-width: 430px;
  }
}
@media screen and (max-width: 768px) {
  header nav ul {
    gap: 0 20px;
    flex-direction: column;
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  header nav ul li {
    border-bottom: 1px solid #262626;
  }
}
header nav ul li a {
  color: #fff;
  transition: background-color 0.3s;
}
@media screen and (max-width: 768px) {
  header nav ul li a {
    display: flex;
    align-items: center;
    gap: 4px 0;
    width: 100%;
    height: 60px;
    font-size: 15px;
  }
}
header nav ul li a:hover {
  text-decoration: underline;
}
header nav ul li a[target=_blank] {
  display: flex;
  gap: 0 5px;
}
header nav ul li a[target=_blank]::after {
  content: "";
  min-width: 15px;
  max-width: 15px;
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #fff;
  -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/icn_ex.svg);
          mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/icn_ex.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
header nav a[href*=contact] {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 130px;
  height: 70px;
  background-color: #fff;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  header nav a[href*=contact] {
    max-width: 300px;
    width: 100%;
    height: 60px;
    font-size: 20px;
    background-color: #000;
    color: #fff;
  }
}
header nav a[href*=contact]:hover {
  background-color: #000;
  color: #fff;
}
header.is-scroll, header:has(.nav-open) {
  background-color: #000;
  z-index: 20;
}

body .arw-b::after {
  content: "";
  max-width: 12px;
  width: 100%;
  aspect-ratio: 12/11;
  background-color: #000;
  -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/icn_arw.svg);
          mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/icn_arw.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  transition: 0.5s;
}
body a.arw-b:hover::after {
  background-color: #fff;
}
body .arw-w::after {
  content: "";
  max-width: 12px;
  width: 100%;
  aspect-ratio: 12/11;
  background-color: #fff;
  -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/icn_arw.svg);
          mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/icn_arw.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  transition: 0.5s;
}
body a.arw-w:hover::after {
  background-color: #000;
}

body:not(.home) main section.mv {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 280px;
  margin-bottom: 15px;
  padding-top: var(--header-h);
  background: linear-gradient(145deg, #141414 25%, #505050 96%);
}
@media screen and (max-width: 768px) {
  body:not(.home) main section.mv {
    height: 240px;
  }
}
body:not(.home) main section.mv hgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px 0;
  width: 90%;
  min-height: 160px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  body:not(.home) main section.mv hgroup {
    gap: 12px 0;
    min-height: 100%;
  }
}
body:not(.home) main section.mv hgroup h1 {
  color: #fff;
  font-size: 48px;
}
@media screen and (max-width: 768px) {
  body:not(.home) main section.mv hgroup h1 {
    font-size: 32px;
  }
}
body:not(.home) main section.mv hgroup p {
  color: var(--bc-gray);
  font-size: 22px;
}
@media screen and (max-width: 768px) {
  body:not(.home) main section.mv hgroup p {
    font-size: 18px;
  }
}
body:not(.home) main .breadcrumbs {
  width: 100%;
}
body:not(.home) main .breadcrumbs ul {
  display: flex;
  align-items: center;
  gap: 6px 10px;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}
body:not(.home) main .breadcrumbs ul li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 12px;
}
body:not(.home) main .breadcrumbs ul li:nth-of-type(n+2) {
  gap: 0 12px;
}
body:not(.home) main .breadcrumbs ul li:nth-of-type(n+2)::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid;
  border-right: 1px solid;
  translate: 0 2px;
  rotate: 45deg;
}
body:not(.home) main .breadcrumbs ul li a {
  display: flex;
  align-items: center;
  color: inherit;
}
body:not(.home) main .breadcrumbs ul li a:hover {
  text-decoration: underline;
}

section.links {
  display: flex;
  background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2NgYGD4DwABBAEAwS2OUAAAAABJRU5ErkJggg==) no-repeat center center/1px 100%;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 768px) {
  section.links {
    flex-direction: column;
    gap: 30px 0;
    padding: 20px 5%;
    background-size: 90% 1px;
  }
}
section.links::before, section.links::after {
  content: "";
  max-width: 100% !important;
  position: absolute;
  left: 0;
}
@media screen and (max-width: 1060px) {
  section.links::before, section.links::after {
    -webkit-mask-size: cover !important;
            mask-size: cover !important;
    height: calc(50% + 1.8vw);
  }
}
section.links::before {
  max-width: 590px;
  width: 100%;
  aspect-ratio: 59/11;
  background-color: #fbfbfb;
  -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/pattern01.svg);
          mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/pattern01.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  top: calc(50% + 1.8vw);
}
@media screen and (max-width: 768px) {
  section.links::before {
    top: calc(50% + 3vw);
  }
}
section.links::after {
  max-width: 590px;
  width: 100%;
  aspect-ratio: 59/11;
  background-color: #fbfbfb;
  -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/pattern02.svg);
          mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/pattern02.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  bottom: calc(50% + 1.8vw);
}
@media screen and (max-width: 768px) {
  section.links::after {
    bottom: calc(50% + 3vw);
  }
}
section.links a {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 20px;
  width: 50%;
  height: 430px;
  transition: 0.3s;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
@media screen and (max-width: 1000px) {
  section.links a {
    gap: 40px 10px;
  }
}
@media screen and (max-width: 768px) {
  section.links a {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px 0;
    width: 100%;
    height: 100px;
    padding-right: calc(5% + 50px);
  }
}
@media screen and (min-width: 769px) {
  section.links a:hover {
    background-color: rgba(248, 248, 248, 0.4);
  }
  section.links a:hover hgroup, section.links a:hover > p {
    scale: 1.025;
  }
  section.links a:hover i.arw-b {
    border: 1px solid #000;
    background: #000;
  }
  section.links a:hover i.arw-b::after {
    background-color: #fff;
  }
}
section.links a hgroup {
  display: flex;
  gap: 12px;
  line-height: 1;
  transition: 0.3s;
}
@media screen and (min-width: 769px) {
  section.links a hgroup {
    flex-direction: column;
    align-items: center;
    padding-left: 70px;
  }
}
@media screen and (min-width: 1001px) {
  section.links a hgroup {
    padding-left: 80px;
  }
}
@media screen and (max-width: 768px) {
  section.links a hgroup {
    align-items: baseline;
  }
}
section.links a hgroup h2 {
  font-size: 45px;
}
@media screen and (max-width: 1000px) {
  section.links a hgroup h2 {
    font-size: 38px;
  }
}
@media screen and (max-width: 768px) {
  section.links a hgroup h2 {
    font-size: 26px;
  }
}
section.links a hgroup p {
  color: var(--bc-gray);
}
@media screen and (min-width: 769px) {
  section.links a hgroup p {
    font-size: 22px;
  }
}
section.links a i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  margin-top: -6px;
  border: 1px solid #000;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
  transition: 0.5s;
}
@media screen and (max-width: 1000px) {
  section.links a i {
    width: 50px;
    height: 50px;
    margin-top: -4px;
  }
}
@media screen and (max-width: 768px) {
  section.links a i {
    margin-top: 0;
    position: absolute;
    top: calc(50% - 25px);
    right: 2.5%;
  }
}
section.links a > p {
  width: 100%;
  transition: 0.3s;
}
@media screen and (min-width: 769px) {
  section.links a > p {
    line-height: 2.2;
    text-align: center;
  }
}
@media screen and (max-width: 768px) {
  section.links a > p {
    font-size: 14px;
  }
}

footer {
  padding: 50px 5% 20px;
  background-color: #000;
  color: #fff;
}
footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 80px 5%;
  max-width: 1100px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  footer .inner {
    gap: 36px 0;
  }
}
footer .inner .info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px 0;
}
footer .inner .info a.logo {
  max-width: 130px;
  width: 100%;
  aspect-ratio: 13/5;
  background-color: #fff;
  -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/shinagawa_logo.svg);
          mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/shinagawa_logo.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
footer .inner .info address {
  font-size: 13px;
}
@media screen and (max-width: 500px) {
  footer .inner .info address {
    font-size: 11px;
  }
}
footer .inner nav {
  display: flex;
  justify-content: space-between;
  max-width: 400px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  footer .inner nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }
}
footer .inner nav .navBox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px 0;
}
@media screen and (max-width: 768px) {
  footer .inner nav .navBox:nth-of-type(1) {
    grid-row: 1/3;
  }
  footer .inner nav .navBox:nth-of-type(3) {
    grid-column: 2/3;
  }
}
footer .inner nav .navBox a {
  line-height: 1;
  color: #fff;
  font-size: 14px;
}
footer .inner nav .navBox a:not([href*=contact]):hover {
  text-decoration: underline;
}
footer .inner nav .navBox a[target=_blank] {
  display: flex;
  gap: 0 5px;
}
footer .inner nav .navBox a[target=_blank]::after {
  content: "";
  min-width: 15px;
  max-width: 15px;
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #fff;
  -webkit-mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/icn_ex.svg);
          mask-image: url(/_shinagawa-wp-files/wp-content/themes/shinagawa-farm/common/img/icn_ex.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
footer .inner nav .navBox a[href*=contact] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 30px;
  border: 1px solid #fff;
  font-size: 13px;
  transition: 0.5s;
}
@media screen and (max-width: 500px) {
  footer .inner nav .navBox a[href*=contact] {
    grid-column: 1/3;
    max-width: 180px;
    width: 90%;
    height: 40px;
  }
}
footer .inner nav .navBox a[href*=contact]:hover {
  background-color: #fff;
  color: #000;
}
footer .inner nav .navBox ul {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
  margin: -5px 0 0 8px;
  padding-left: 8px;
  border-left: 1px solid #808080;
}
footer .inner nav .navBox ul a {
  opacity: 0.7;
}
footer .inner small {
  width: 100%;
  line-height: 1;
  text-align: center;
  font-size: 12px;
}