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

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

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

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

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

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

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

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;
  }
}
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  word-break: auto-phrase;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
}

.container {
  width: 80%;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .container {
    width: 90%;
  }
}

a {
  transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}

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

img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.lower-fv {
  position: relative;
  z-index: 0;
}
.lower-fv::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -1;
}
.lower-fv img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  z-index: -2;
}
.lower-fv-text {
  padding: 10rem 0;
}
@media screen and (max-width: 767px) {
  .lower-fv-text {
    padding: 5rem 0;
  }
}
.lower-fv h1 {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2509803922);
  text-align: center;
  padding: 0 5%;
  letter-spacing: 4px;
}
@media screen and (max-width: 767px) {
  .lower-fv h1 {
    font-size: 1.5rem;
  }
}

.wp-pagenavi {
  width: 100%;
  margin: 5rem auto;
  text-align: center;
  position: relative;
}
@media screen and (max-width: 767px) {
  .wp-pagenavi {
    margin-top: 2.5rem;
  }
}
.wp-pagenavi .pages {
  display: none;
}
.wp-pagenavi span,
.wp-pagenavi a {
  margin: 0 0.5rem;
  display: inline-block;
  color: #333;
  padding: 6px 5px !important;
  border-radius: 100px;
  border: none !important;
  font-weight: bold;
  width: 40px;
  height: 40px;
}
@media screen and (max-width: 1024px) {
  .wp-pagenavi span,
  .wp-pagenavi a {
    margin: 0 0.3rem;
  }
}
@media screen and (max-width: 767px) {
  .wp-pagenavi span,
  .wp-pagenavi a {
    padding: 8px 5px !important;
  }
}
.wp-pagenavi span.current {
  color: #E60012;
  border: 1px solid #E60012 !important;
}
@media screen and (max-width: 767px) {
  .wp-pagenavi span.current {
    padding: 0.6rem 0rem;
  }
}

.content {
  width: 70%;
  margin: 5rem auto;
}
@media screen and (max-width: 1024px) {
  .content {
    width: 80%;
  }
}
@media screen and (max-width: 767px) {
  .content {
    width: 90%;
    margin: 2.5rem auto;
  }
}

.wp-block-table th {
  word-break: auto-phrase !important;
}

.faq {
  padding: 5rem 0;
  background-color: #F8F8F8;
}
@media screen and (max-width: 767px) {
  .faq {
    padding: 2.5rem 0;
  }
}
.faq .container {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .faq .container {
    width: 90%;
  }
}
.faq .container > h2 {
  font-size: clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
  margin-bottom: 1rem;
}
.faq .container > h2,
.faq .container > p {
  text-align: center;
}

.accordion {
  margin-top: 2.5rem;
}

.accordion-content {
  display: none;
}

.accordion-header {
  background-color: #FFF;
  padding: 12px 45px 10px 20px;
  margin: 10px 0 0;
  transition: background 0.3s ease;
  cursor: pointer;
  position: relative;
  color: #333;
  border-radius: 10px;
  border: 1px solid #C2C2C2;
  font-weight: bold;
}

.accordion-header::before,
.accordion-header::after {
  position: absolute;
  content: "";
  top: 1px;
  right: 20px;
  bottom: 0;
  width: 12px;
  height: 2px;
  margin: auto;
  background: #E60012;
}

.accordion-header::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

.accordion-header.active {
  color: #fff;
  background-color: #E60012;
  border-radius: 10px 10px 0 0;
}

.accordion-header.active::after {
  transform: rotate(0deg);
}

.accordion-content {
  background-color: #FFF;
  padding: 12px 20px 10px;
  border-radius: 0 0 10px 10px;
  border: 1px solid #C2C2C2;
  border-top: none;
  color: #E60012;
}

.accordion-header span,
.accordion-content span {
  padding-left: 40px;
  position: relative;
  display: block;
}

.accordion-header span::before {
  position: absolute;
  content: "Q";
  top: 0;
  left: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  background-color: #E60012;
  padding: 5px 6.6px;
  border-radius: 999vh;
}

.accordion-content span::before {
  position: absolute;
  content: "A";
  top: 0;
  left: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  background-color: #E60012;
  padding: 5px 7.6px;
  border-radius: 999vh;
}

.accordion-header.active span::before {
  background-color: #fff;
  color: #E60012;
}

.accordion-header.active::before,
.accordion-header.active::after {
  background-color: #fff;
}

.searchandfilter li:last-child {
  padding-right: 0;
}

.searchandfilter ul {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.simple-sitemap-wrap h3 {
  background-color: #E60012;
  color: #fff;
  padding: 4px 1rem;
  margin-bottom: 1rem;
}
.simple-sitemap-wrap a {
  color: #0000ee;
  text-decoration: underline;
}
.simple-sitemap-wrap ul, .simple-sitemap-wrap li {
  list-style: inside;
}

header {
  width: 100%;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1019607843);
  transition: 0.3s;
}

.header-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 10px 12.5%;
}
@media screen and (max-width: 1400px) {
  .header-contents {
    padding: 10px 5%;
  }
}
@media screen and (max-width: 1024px) {
  .header-contents {
    padding: 10px 2.5%;
    height: 70px;
  }
}
@media screen and (max-width: 767px) {
  .header-contents {
    height: 50px;
  }
}
.header-contents.header-top {
  background-color: #F5F5F5;
}
@media screen and (max-width: 1024px) {
  .header-contents.header-top {
    display: none;
  }
}
.header-contents.header-top .header-btn {
  padding: 14px 2.5rem;
  color: #fff;
  background-color: #E60012;
}
.header-sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .header-sp {
    display: block;
    padding: 0 10px 10px;
  }
  .header-sp .search-btn input[type=text] {
    padding: 0.5rem 1rem;
    width: 250px;
  }
  .header-sp .search-btn {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
}

.header-left a {
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
}
.header-left a p {
  color: #E60012;
  font-size: clamp(1.5rem, 1.318rem + 0.61vw, 2rem);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 2rem;
}
.header-right a.btn {
  padding: 1rem;
}
@media screen and (max-width: 1400px) {
  .header-right {
    gap: 1.5rem;
  }
}
@media screen and (max-width: 1024px) {
  .header-right {
    gap: 1rem;
  }
  .header-right > .tel-btn {
    display: none;
  }
  .header-right .search-btn input[type=submit] {
    padding: 0.25rem 0.5rem;
  }
}
@media screen and (max-width: 767px) {
  .header-right .search-btn {
    display: none;
  }
}
.header-right > .hamburger-nav > ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media screen and (max-width: 1400px) {
  .header-right > .hamburger-nav > ul {
    gap: 1.5rem;
  }
}
@media screen and (max-width: 1024px) {
  .header-right > .hamburger-nav > ul {
    display: none;
  }
}
.header-right > .hamburger-nav > ul > li > a {
  display: block;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
.header-right > .hamburger-nav > ul > li > a:hover {
  opacity: 0.7;
}

.hamburger-menu {
  display: none;
}
@media screen and (max-width: 1024px) {
  .hamburger-menu {
    display: block;
  }
}
.hamburger-menu input {
  display: none;
}
.hamburger-menu .menu-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 30;
  position: relative;
  height: 25px;
  width: 40px;
}
.hamburger-menu .menu-btn span,
.hamburger-menu .menu-btn span:before,
.hamburger-menu .menu-btn span:after {
  content: "";
  display: block;
  height: 2px;
  width: 30px;
  background-color: #E60012;
  position: absolute;
  transition: 0.3s;
}
.hamburger-menu .menu-btn span:before {
  bottom: 8px;
}
.hamburger-menu .menu-btn span:after {
  top: 8px;
}
.hamburger-menu #menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0); /*メニューオープン時は真ん中の線を透明にする*/
}
.hamburger-menu #menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
.hamburger-menu #menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
.hamburger-menu .menu-content .hamburger-wrap {
  width: 80%;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .hamburger-menu .menu-content .hamburger-wrap {
    width: 85%;
  }
}
.hamburger-menu .menu-content ul li {
  position: relative;
}
.hamburger-menu .menu-content ul li a {
  font-weight: bold;
  font-size: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #fff;
  display: block;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .hamburger-menu .menu-content ul li a {
    padding-bottom: 1rem;
  }
}
.hamburger-menu .gnavi__sp-style {
  position: fixed;
  z-index: -2;
  top: 70px;
  background-color: #E60012;
  width: 100%;
  height: 100vh;
  left: 100%;
  transition: all 0.5s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: scroll;
  padding: 7.5rem 0;
  align-items: center;
  gap: 2.5rem;
}
@media screen and (max-width: 767px) {
  .hamburger-menu .gnavi__sp-style {
    top: 50px;
    gap: 1rem;
    padding: 0rem 0 5rem;
  }
}
.hamburger-menu .gnavi__sp-style .contact-banner-item {
  width: 80%;
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.9294117647);
}
@media screen and (max-width: 767px) {
  .hamburger-menu .gnavi__sp-style .contact-banner-item {
    width: 85%;
  }
}
.hamburger-menu .gnavi__sp-style .contact-banner-item:nth-child(2) {
  position: relative;
}
@media screen and (max-width: 767px) {
  .hamburger-menu .gnavi__sp-style .contact-banner-item:nth-child(2) {
    margin-bottom: 0.5rem;
  }
}
.hamburger-menu .gnavi__sp-style .contact-banner-item:nth-child(2) > p:first-child {
  margin-bottom: 0;
}
.hamburger-menu .gnavi__sp-style .contact-banner-item:nth-child(2)::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #fff;
  top: auto;
  bottom: -1.25rem;
  left: 0;
}
@media screen and (max-width: 767px) {
  .hamburger-menu .gnavi__sp-style .contact-banner-item:nth-child(2)::before {
    bottom: -1rem;
  }
}
.hamburger-menu .gnavi__sp-style .contact-banner-item:nth-child(3) > p:first-child {
  margin-bottom: 0.5rem;
}
.hamburger-menu .gnavi__sp-style .hamburger-nav > ul > li {
  margin-bottom: 1.5rem;
}
.hamburger-menu .gnavi__sp-style .hamburger-nav > ul > li:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .hamburger-menu .gnavi__sp-style .hamburger-nav > ul > li {
    margin-bottom: 1.5rem;
  }
}
.hamburger-menu .gnavi__sp-style.active {
  opacity: 1;
  z-index: 20;
  left: 0;
}

.footer {
  background-color: #444444;
  padding: 4rem 0 20px;
  overflow: hidden;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .footer {
    padding: 2.5rem 0 0.5rem;
  }
}
.footer .container ul li > a {
  color: #fff;
}
.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (max-width: 1200px) {
  .footer-wrap {
    gap: 2.5rem;
  }
}
.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 1024px) {
  .footer-left {
    justify-content: flex-start;
    gap: 1.5rem;
  }
}
@media screen and (max-width: 767px) {
  .footer-left {
    text-align: center;
    width: 100%;
    gap: 1rem;
  }
}
.footer-left a {
  color: #E60012;
  font-size: clamp(1.5rem, 1.318rem + 0.61vw, 2rem);
}
.footer-center {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 350px;
}
@media screen and (max-width: 767px) {
  .footer-center {
    width: 100%;
  }
}
.footer-center ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1rem;
}
@media screen and (max-width: 767px) {
  .footer-center ul {
    gap: 1rem 0.5rem;
  }
}
.footer-center ul li {
  width: calc((100% - 1rem) / 2);
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .footer-center ul li {
    width: calc((100% - 0.5rem) / 2);
    text-align: center;
  }
}
@media screen and (max-width: 1200px) {
  .footer-right {
    margin-left: auto;
  }
}
@media screen and (max-width: 767px) {
  .footer-right {
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
  .footer-right .tel-btn {
    justify-content: center;
  }
}
.footer-right .search-btn {
  margin: 10px 0 2rem;
}
@media screen and (max-width: 767px) {
  .footer-right .search-btn input[type=text] {
    width: 250px;
  }
}
.footer p.copyright {
  margin-top: 2.5rem;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #fff;
}
@media screen and (max-width: 767px) {
  .footer p.copyright {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}

@media screen and (max-width: 767px) {
  h2, h3, h4, h5 {
    line-height: 1.5;
  }
}

a {
  text-decoration: none;
  color: #000;
  line-height: 1.5;
}

.tel-btn {
  display: flex;
  align-items: center;
  color: #E60012;
  gap: 4px;
  font-size: 1.5rem;
}
.tel-btn:hover {
  opacity: 0.7;
}
.tel-btn img {
  width: 1rem;
}

.red-btn {
  color: #fff;
  padding: 15px 2.5rem 20px 2.5rem;
  background: url(./images/red-btn.png) no-repeat center/cover;
  position: relative;
  border-radius: 10px;
  font-size: clamp(1rem, 0.818rem + 0.61vw, 1.5rem);
  font-weight: bold;
  box-shadow: 0 6px 0 0 #89000B;
}
.red-btn:hover {
  opacity: 1;
  background: url(./images/red-btn-hover.png) no-repeat center/cover;
  transform: translateY(5px);
  box-shadow: none;
}
.red-btn::before {
  content: "";
  position: absolute;
  width: 12px;
  aspect-ratio: 1/1;
  background: url(./images/red-btn-before.png) no-repeat center/contain;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.search-btn input[type=text] {
  background-color: #fff;
  border: 2px solid #E60012;
  border-radius: 55px;
  padding: 0.8rem 1rem;
  width: 280px;
}
@media screen and (max-width: 767px) {
  .search-btn input[type=text] {
    width: 250px;
  }
}
.search-btn input[type=submit] {
  background-color: #E60012;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  transition: 0.3s;
}
.search-btn input[type=submit]:hover {
  opacity: 0.7;
}

.fv {
  height: 500px;
  position: relative;
}
@media screen and (max-width: 767px) {
  .fv {
    height: 350px;
  }
}
.fv img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.fv-text {
  position: absolute;
  left: 15%;
  width: 70%;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  color: #fff;
}
@media screen and (max-width: 767px) {
  .fv-text {
    left: 2.5%;
    width: 95%;
  }
}
.fv-text h1 {
  font-size: clamp(1.25rem, 0.932rem + 1.06vw, 2.125rem);
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .fv-text h1 {
    margin-bottom: 1.5rem;
  }
}

.feature {
  margin: 5rem 0;
}
@media screen and (max-width: 767px) {
  .feature {
    margin: 3rem 0;
  }
}
.feature .container {
  width: 75%;
}
@media screen and (max-width: 1024px) {
  .feature .container {
    width: 90%;
  }
}
.feature h2 {
  font-size: clamp(1.25rem, 1.068rem + 0.61vw, 1.75rem);
  text-align: center;
}
.feature-wrap {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .feature-wrap {
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
  }
}
.feature-wrap img {
  width: 37%;
}
@media screen and (max-width: 767px) {
  .feature-wrap img {
    width: 100%;
  }
}
.feature-left {
  width: 58%;
  padding: 2rem;
  border: 1px solid;
  position: relative;
}
@media screen and (max-width: 767px) {
  .feature-left {
    width: 100%;
    padding: 1.5rem 1rem;
  }
}
.feature-left li {
  padding-left: 2rem;
  position: relative;
}
@media screen and (max-width: 767px) {
  .feature-left li {
    padding-left: 1.5rem;
  }
}
.feature-left li::before {
  content: "";
  position: absolute;
  width: 1.5rem;
  aspect-ratio: 1/1;
  background: url(./images/check.png) no-repeat center/contain;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .feature-left li::before {
    width: 14px;
    top: 5px;
    transform: none;
  }
}
.feature-left li:not(:last-child) {
  margin-bottom: 1rem;
}
.feature-left li span {
  color: #E60012;
  font-weight: bold;
}
.feature-left::before {
  content: "";
  position: absolute;
  width: calc(100% - 2rem);
  background-color: #fff;
  top: -2px;
  left: 1rem;
  height: 3px;
}
.feature-left::after {
  content: "";
  position: absolute;
  width: calc(100% - 2rem);
  background-color: #fff;
  bottom: -2px;
  left: 1rem;
  height: 3px;
}

.contact-banner {
  background: url(./images/company-banner.png) no-repeat center/cover;
  padding: 5rem 5%;
  color: #fff;
  position: relative;
  z-index: 0;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .contact-banner {
    padding: 2.5rem 5%;
  }
}
@media screen and (max-width: 1024px) {
  .contact-banner .container {
    width: 100%;
  }
}
.contact-banner h2 {
  font-size: clamp(1.5rem, 1.409rem + 0.3vw, 1.75rem);
  margin-bottom: 2rem;
}
.contact-banner h2 span {
  display: inline-block;
}
@media screen and (max-width: 767px) {
  .contact-banner h2 {
    margin-bottom: 1.5rem;
  }
}
.contact-banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.contact-banner-wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
}
@media screen and (max-width: 767px) {
  .contact-banner-wrap {
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
  }
}
.contact-banner-item {
  width: 47.5%;
  max-width: 600px;
  padding: 2.5rem 5%;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-banner-item .red-btn {
  margin-top: 1rem;
}
@media screen and (max-width: 1200px) {
  .contact-banner-item {
    max-width: 400px;
  }
}
@media screen and (max-width: 767px) {
  .contact-banner-item {
    width: 100%;
    padding: 1.5rem;
  }
}
@media screen and (max-width: 767px) {
  .contact-banner-item:nth-child(2) {
    position: relative;
  }
  .contact-banner-item:nth-child(2) > p {
    margin-bottom: 0.5rem;
  }
  .contact-banner-item:nth-child(2)::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    top: -1rem;
    left: 0;
  }
}
.contact-banner-item > p:first-child {
  font-size: clamp(1.25rem, 1.159rem + 0.3vw, 1.5rem);
}
.contact-banner-item .tel-btn {
  justify-content: center;
  font-size: 2rem;
}
.contact-banner-item .tel-btn img {
  width: 1.5rem;
}

/*お知らせ一覧ページ*/
.news {
  margin: 5rem 0;
}
@media screen and (max-width: 767px) {
  .news {
    margin: 2.5rem 0;
  }
}
.news-text {
  text-align: center;
  margin-bottom: 3rem;
}
.news-text .search-btn {
  margin-top: 2.5rem;
}
.news-ul {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 30px;
}
@media screen and (max-width: 767px) {
  .news-ul {
    gap: 2rem;
  }
}
.news-ul li:not(.none) {
  width: calc((100% - 60px) / 3);
  position: relative;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2509803922);
}
@media screen and (max-width: 1024px) {
  .news-ul li:not(.none) {
    width: calc((100% - 30px) / 2);
  }
}
@media screen and (max-width: 767px) {
  .news-ul li:not(.none) {
    width: 100%;
  }
}
.news-ul img {
  aspect-ratio: 340/290;
  -o-object-fit: cover;
     object-fit: cover;
}
.news-ul-text {
  padding: 4px 1rem 10px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
}
.news-ul-text p {
  font-size: clamp(1rem, 0.818rem + 0.61vw, 1.5rem);
}
.news-ul-text a {
  color: #fff;
  background-color: #E60012;
  padding: 8px 1rem;
  display: block;
  width: 210px;
  margin: 8px auto 0;
	text-align:center;
}

/*詳細ページ*/

.single-main {
	margin-top: 1rem;
}
@media screen and (max-width: 767px) {
  .single-main {
    margin-top: 2.5rem;
  }
}
.single-main .article_meta a {
  background-color: #E2DDD3;
  color: #4E4642;
  padding: 1.5rem 4rem;
  border-radius: 10px;
  font-weight: bold;
  display: block;
  margin-bottom: 1rem;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 1024px) {
  .single-main .article_meta a {
    padding: 1rem 2rem;
  }
}
@media screen and (max-width: 767px) {
  .single-main .article_meta a {
    padding: 0.5rem 1rem;
  }
}
.single-main .article_title {
  font-size: clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
  margin: 1rem 0 2rem;
  color: #E60012;
}

.news-category-btn {
  background-color: #E2DDD3;
  color: #4E4642;
  padding: 1rem 2.5rem;
  border-radius: 30px 0 0 0;
  border-bottom: 3px solid #4E4642;
  font-weight: bold;
  width: 100%;
  display: block;
}

.news-category {
  margin-top: 7.5rem;
}
.news-category h4 {
  color: #E60012;
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
}
.news-category-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: column;
  gap: 1.5rem;
}
.news-category-flex a {
  background-color: #E2DDD3;
  color: #4E4642;
  padding: 1rem 2.5rem;
  border-radius: 30px 0 0 0;
  border-bottom: 3px solid #4E4642;
  font-weight: bold;
  width: 100%;
  display: block;
}

.news-contents {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 1024px) {
  .news-contents {
    flex-direction: column-reverse;
    gap: 5rem;
  }
}
@media screen and (max-width: 767px) {
  .news-contents {
    gap: 3rem;
  }
}
.news-contents .news-right {
  width: 45%;
  font-weight: bold;
  padding: 0;
  background-color: #fff;
}
@media screen and (max-width: 1024px) {
  .news-contents .news-right {
    width: 100%;
  }
}
.news-contents .news-right h2 {
  color: #fff;
  background-color: #E60012;
  border-radius: 6px 6px 0 0;
  padding: 10px;
  text-align: center;
  font-size: clamp(1rem, 0.818rem + 0.61vw, 1.5rem);
}
.news-contents .news-right form {
  padding: 1rem 5% 2.5rem;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2509803922);
}
.news-contents .news-right form > div:not(.submit-btn):not(:last-child) {
  margin-bottom: 1rem;
}
.news-contents .news-right input, .news-contents .news-right textarea, .news-contents .news-right select {
  padding: 8px 1rem;
}
.news-contents .news-right select {
  padding-left: 2.5rem;
}
.news-contents .news-right span.required,
.news-contents .news-right span.optional {
  font-size: 12px;
}
@media screen and (max-width: 767px) {
  .news-contents .news-right span.required,
  .news-contents .news-right span.optional {
    margin-left: 0.5rem;
  }
}
.news-contents .news-left {
  width: 45%;
}
@media screen and (max-width: 1024px) {
  .news-contents .news-left {
    width: 100%;
  }
}
.news-contents .news-left h2 {
  font-size: clamp(1rem, 0.818rem + 0.61vw, 1.5rem);
  padding-left: 1rem;
  border-left: 6px solid #E60012;
  margin-bottom: 1rem;
}
.news-contents .news-left .wp-block-separator {
  margin: 5rem 0;
}
@media screen and (max-width: 1024px) {
  .news-contents .news-left .wp-block-separator {
    margin: 2.5rem 0;
  }
}
.news-contents .news-left .content {
  width: 100%;
  margin: 0;
}
.news-contents form div > ul > li:first-child {
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 1024px) {
  .news-contents form div > ul > li:first-child {
    margin-bottom: 20px;
  }
}
.news-contents form div > ul > li:first-child li:first-child {
  display: none;
}
.news-contents form div > ul > li:nth-child(2) {
  width: 70%;
  max-width: 300px;
}
.news-contents form div > ul > li:nth-child(2) input {
  width: 100%;
}
.news-contents form h4 {
  font-size: clamp(1rem, 0.909rem + 0.3vw, 1.25rem);
  font-weight: bold;
}
.news-contents form ul li:first-child ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 20px;
}
.news-contents form ul li:first-child ul li {
  padding: 0;
}

.content a {
  word-break: break-all;
}

.flow {
  margin: 5rem 0;
}
@media screen and (max-width: 767px) {
  .flow {
    margin: 2.5rem 0;
  }
}
@media screen and (max-width: 1024px) {
  .flow .container {
    width: 90%;
  }
}
.flow h2 {
  font-size: clamp(1.25rem, 1.068rem + 0.61vw, 1.75rem);
  text-align: center;
}
.flow-wrap {
  display: flex;
  margin-top: 3rem;
}
@media screen and (max-width: 767px) {
  .flow-wrap {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
  }
}
.flow-wrap img {
  width: 60px;
  margin: 0.5rem auto 0;
}
@media screen and (max-width: 1024px) {
  .flow-wrap img {
    width: 45px;
  }
}
.flow-item {
  width: 33.3333333333%;
}
@media screen and (max-width: 767px) {
  .flow-item {
    width: 100%;
  }
}
.flow-item > p:first-child {
  color: #E60012;
  text-align: center;
  font-size: clamp(1.25rem, 0.886rem + 1.21vw, 2.25rem);
  font-weight: bold;
  margin-bottom: 10px;
}
.flow-item > p:last-child {
  width: 95%;
  margin: 0.5rem auto 0;
}
@media screen and (max-width: 767px) {
  .flow-item > p:last-child {
    width: 100%;
  }
}
.flow-item:first-of-type .flow-box::before {
  background: url(./images/flow-box1.png) no-repeat center/cover;
}
@media screen and (max-width: 1200px) {
  .flow-item:first-of-type .flow-box::before {
    background: url(./images/flow-box1.png) no-repeat center/contain;
  }
}
.flow-item:nth-of-type(2) .flow-box::before {
  background: url(./images/flow-box3.png) no-repeat center/cover;
}
@media screen and (max-width: 1200px) {
  .flow-item:nth-of-type(2) .flow-box::before {
    background: url(./images/flow-box3.png) no-repeat center/contain;
  }
}
.flow-item:last-of-type .flow-box::before {
  background: url(./images/flow-box2.png) no-repeat center/cover;
}
@media screen and (max-width: 1200px) {
  .flow-item:last-of-type .flow-box::before {
    background: url(./images/flow-box2.png) no-repeat center/contain;
  }
}
.flow-box {
  font-size: clamp(1rem, 0.818rem + 0.61vw, 1.5rem);
  text-align: center;
  color: #fff;
  padding: 1rem;
  position: relative;
  z-index: 0;
}
@media screen and (max-width: 767px) {
  .flow-box {
    padding: 0.5rem 1rem;
  }
}
.flow-box::before {
  content: "";
  position: absolute;
  width: 113%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  z-index: -1;
}
@media screen and (max-width: 767px) {
  .flow-box::before {
    width: 100%;
  }
}

/*contact*/
.contact {
  padding: 5rem 0;
  background-color: #F7F5F5;
}
@media screen and (max-width: 767px) {
  .contact {
    padding: 2.5rem 0;
  }
}
.contact .container {
  max-width: 800px;
  padding: 4rem 5%;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .contact .container {
    padding: 2rem 5%;
    width: 100%;
  }
}
.contact form {
  text-align: left;
}
@media screen and (max-width: 767px) {
  .contact form {
    width: 100%;
  }
}
.contact form > div:not(.submit-btn) {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
}
.contact form > div:not(.submit-btn):not(:last-child) {
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  .contact form > div:not(.submit-btn):not(:last-child) {
    margin-bottom: 20px;
  }
}
.contact form > div:not(.submit-btn) p {
  width: 100%;
}
.contact form > div:not(.submit-btn) p:first-child {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
@media screen and (max-width: 1024px) {
  .contact form > div:not(.submit-btn) p:first-child {
    width: 100%;
    min-width: auto;
    justify-content: left;
  }
}
@media screen and (max-width: 767px) {
  .contact form > div:not(.submit-btn) p:first-child {
    gap: 0;
  }
}
.contact p:has(input[type=submit]) {
  width: 100% !important;
}
.contact input,
.contact textarea,
.contact select {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  color: #333;
  padding: 10px 1rem;
  width: 100%;
  border: 1px solid #D7D7D7;
  background-color: #F7F5F5;
  border-radius: 4px;
}
.contact select {
  padding-left: 2.5rem;
}
.contact p:has(select) {
  position: relative;
}
.contact p:has(select)::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  border-top: 12px solid #555555;
  border-bottom: 0;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  position: absolute;
}
.contact span.required {
  color: #fff;
  background-color: #E60012;
  padding: 6px 8px;
  line-height: 1;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .contact span.required {
    font-size: 12px;
    margin-right: 0.5rem;
  }
}
.contact span.optional {
  color: #fff;
  background-color: #505050;
  padding: 6px 8px;
  line-height: 1;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .contact span.optional {
    font-size: 12px;
    margin-right: 0.5rem;
  }
}
.contact .wpcf7-list-item {
  margin: 0;
}
.contact p:has(.contact-policy) {
  text-align: center;
}
.contact .contact-policy label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
@media screen and (max-width: 767px) {
  .contact .contact-policy label {
    gap: 0.2rem;
  }
}
.contact .contact-policy input {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-top: 0;
}
@media screen and (max-width: 1024px) {
  .contact .contact-policy input {
    width: 20px;
    height: 20px;
  }
}
.contact input[type=checkbox] {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #333;
  vertical-align: -5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border-radius: 0;
}
.contact input[type=checkbox]:checked:before {
  position: absolute;
  top: 1px;
  left: 5px;
  transform: rotate(50deg);
  width: 8px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  z-index: 1;
}
.contact input[type=checkbox]:checked:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #E60012;
  content: "";
}
.contact .contact-policy a {
  text-decoration: underline;
  color: #E60012;
}
.contact p:has(input[type=submit]) {
  width: -moz-fit-content !important;
  width: fit-content !important;
  margin: 2.5rem auto 0;
  position: relative;
}
.contact p:has(input[type=submit])::before {
  content: "";
  position: absolute;
  width: 12px;
  aspect-ratio: 1/1;
  background: url(./images/red-btn-before.png) no-repeat center/contain;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  z-index: 10;
  transition: 0.3s;
}
.contact p:has(input[type=submit]):hover::before {
  transform: translateY(1px);
}
.contact input[type=submit] {
  color: #fff;
  padding: 15px 2.5rem 20px 2.5rem;
  background: url(./images/red-btn.png) no-repeat center/cover;
  border-radius: 10px;
  font-size: clamp(1rem, 0.818rem + 0.61vw, 1.5rem);
  font-weight: bold;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  border: none;
  letter-spacing: 4px;
  transition: 0.3s;
}
.contact input[type=submit]:hover {
  opacity: 1;
  background: url(./images/red-btn-hover.png) no-repeat center/cover;
  transform: translateY(5px);
}
.contact .wpcf7-not-valid {
  background-color: #FFE8E8;
}
.contact .wpcf7-spinner {
  display: none;
}
.contact textarea {
  resize: vertical; /* 縦方向のリサイズを許可 */
}

/*contact-thanks*/
.contact-thanks {
  word-break: auto-phrase;
  font-size: clamp(0.875rem, 0.739rem + 0.45vw, 1.25rem);
  text-align: center;
}
.contact-thanks br {
  display: block;
}
.contact-thanks a[href^="tel:"] {
  pointer-events: none;
  color: #333;
}
.contact-thanks p {
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  .contact-thanks p {
    margin-bottom: 1.5rem;
    text-align: left;
  }
}
.contact-thanks .contact-wrap {
  font-weight: bold;
  margin-top: 2rem;
}

/*404*/
.not-found {
  text-align: center;
  margin: 5rem 0;
}
@media screen and (max-width: 767px) {
  .not-found {
    margin: 2.5rem 0;
  }
}
.not-found a {
  background-color: #E60012;
  color: #fff;
  text-align: center;
  padding: 1rem 2rem;
  display: block;
  margin: 2.5rem auto 0;
  width: -moz-fit-content;
  width: fit-content;
}
.not-found a:hover {
  opacity: 0.7;
}

.page-id-29 .content {
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 767px) {
  .page-id-29 .content {
    margin-bottom: 1rem;
  }
}
.page-id-29 .content h3 {
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 4px solid #E60012;
}
@media screen and (max-width: 767px) {
  .page-id-29 .content h3 {
    margin-bottom: 0.5rem;
  }
}
.page-id-29 .content p span {
  display: inline-block;
}
.page-id-29 .content ol, .page-id-29 .content li {
  list-style: auto;
}
.page-id-29 .content ol.second-list li {
  list-style: lower-roman;
}
.page-id-29 .content-wrap {
  font-weight: bold;
}

.sec-policy {
  margin: 5rem 0;
}

.header-top-left{
	font-size:14px;
}

.menu-content-p{
    color: #fff;
    text-align: center;
}

body:not(.blog) .news-ul-text{
	position:relative;
	padding: 2rem;
	text-align: left;
}

body:not(.blog) .news-ul-text p:nth-child(2){
	font-size:1rem;
	margin-top: 1rem;
}

body:not(.blog)  .news-ul-text p:nth-child(3){
	font-size:1rem;
}

body:not(.blog)  .news-ul-text a{
	margin-top:1.5rem;
}

.article_body h1{
	font-size:clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
}

.news-contents .news-left .content{
	margin:2rem 0;
}

.news-contents .news-left .content .makar{
	display:flex;
}

.article_body .text:not(:last-child){
	margin-bottom:2rem;
	padding-bottom:2rem;
	border-bottom: 1px solid #707070;
}

.aioseo-breadcrumbs{
	width:90%;
	margin:1rem auto;
}

.single-post .aioseo-breadcrumbs > span:nth-child(3),
.single-post .aioseo-breadcrumbs > span:nth-child(4){
	display:none;
}

table a{
	color:blue;
	text-decoration:underline;
}

.content h2{
	margin-top:3rem;
}

.search-btn input[type=text] {
font-size:12px;	
}