/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 2;
  letter-spacing: 0.1em;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* noto-sans-jp-regular - japanese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/yado-one/fonts/noto-sans-jp-v55-japanese-regular.woff2")
    format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* noto-sans-jp-700 - japanese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  src: url("/wp-content/themes/yado-one/fonts/noto-sans-jp-v55-japanese-700.woff2?v=2")
    format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #333;
}

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

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

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

.has-text-align-center {
  text-align: center;
}
.no-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed; /* 背景のスクロールを完全に防止 */
  width: 100%;
}
.mt20 {
  margin-top: 20px;
}
.mt50 {
  margin-top: 50px;
}
.c-white {
  color: #fefefe;
}
.top-button {
  text-decoration: none;
  display: inline-block;
  padding: 10px 40px;
  margin-bottom: 15px;
  border-radius: 20px;
  background: #ffffff;
  text-align: center;
  color: #fff;
  transition: 0.3s, transform 1s;
  border: 1px solid rgba(20, 20, 20, 0.8);
}
.button {
  text-decoration: none;
  display: inline-block;
  padding: 5px 40px;
  background: rgba(20, 20, 20, 0.8);
  text-align: center;
  color: #fff;
  transition: 0.3s, transform 1s;
  border: 1px solid rgba(20, 20, 20, 0.8);
}
.button:hover {
  background: #fff;
  text-align: center;
  color: rgba(20, 20, 20, 0.8);
}
.top-button:hover {
  background: #fff;
  text-align: center;
  color: rgba(20, 20, 20, 0.8);
}

.detail-btn {
  width: 100%;
  margin-top: auto;
}
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}
.container {
  max-width: 1200px;
  height: inherit;
  margin: auto;
}

.title-headline {
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0.1rem;
}
.title-headline-ja {
  font-size: 0.825rem;
  display: block;
  line-height: 1;
  margin-bottom: 30px;
}
@media screen and (max-width: 600px) {
  .title-headline {
    font-size: 1.5rem;
  }
}
.fs {
  font-size: 0.75rem;
}
.sp-only {
  display: none;
}
.pc-only {
  display: block;
}

/* モバイル時に切り替え */
@media (max-width: 768px) {
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }
}

#breadcrumb {
  margin-bottom: 10px;
}
#breadcrumb span {
  font-size: 0.75rem;
  color: #333;
}
#error {
  font-size: 2rem;
  color: #660000;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagination {
  margin: 20px;
}
.pagination .page-numbers {
  padding: 6px 11px;
  border: 3px solid #333;
  border-radius: 3px;
  color: #333;
}
.pagination .page-numbers:hover {
  background: #333;
  color: #fff;
}
.pagination .current {
  padding: 6px 11px;
  background: #333;
  border: 3px solid #333;
  border-radius: 3px;
  color: #fff;
}
.sub-container {
  margin: -50px auto 0;
  background: #fefefe;
  padding: 20px;
  border-radius: 20px 20px 0 0;
  max-width: 1200px;
  height: inherit;
}
.subpage-title {
  display: flex;
  color: #fff;
  height: inherit;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  letter-spacing: 0.1em;
  padding-bottom: 1.5em;
}
.subpage-title span {
  font-size: 1.125rem;
}
/* Navbar */
#navbar {
  width: 100%;
  height: 70px;
  background-color: #fefefe;
  color: #333;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  transform: none;
  opacity: 1;
}
@media (max-width: 768px) {
  #navbar {
    height: 60px;
  }
}
#navbar.sticky {
  transform: translateY(0);
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
#navbar.sticky.animate-in {
  transform: translateY(-20px);
  opacity: 0;
  animation: slideDown 0.4s ease forwards;
}

/* アニメーション定義 */
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#navbar.active {
  top: 0;
  opacity: 1;
}
#navbar-placeholder {
  height: 0;
}
body.admin-bar #navbar.sticky {
  top: 32px;
}
.header-logo {
  height: 100%;
}
.logo-title {
  margin: 0;
}

.logo-title a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: 140px;
  height: 80px;
  display: block;
}

/* スクリーンリーダー用に残すが画面には見せない */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 5px;
  height: 100%;
}
@media (max-width: 768px) {
  .navbar-container {
    height: 60px;
  }
}
.brand-logo {
  font-weight: bold;
  text-decoration: none;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 1em;
}

.menu-container {
  display: flex;
  flex-direction: row;
  margin-right: 10px;
}
.nav-menu {
  display: flex;
  align-items: center;
}
.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
  padding: 10px 0;
  position: relative;
}
.nav-link::after {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  content: "";
  width: 0%;
  height: 2px;
  background: #333;
  transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link-01 {
  color: #fefefe;
}
.nav-link:hover {
  color: #ddd;
}
.nav-link-01:hover {
  color: #333;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  z-index: 9999; /* メニューよりも上に配置 */
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 4px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* ハンバーガー表示 */
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fefefe;
    z-index: 9998;
    padding: 20px;
    transition: opacity 0.3s ease;
  }

  .nav-menu.active {
    display: flex; /* トグルで表示 */
  }

  .nav-item {
    margin: 10px 0;
  }

  .nav-link {
    padding: 10px 20px;
  }

  /* スマホ専用「お問い合わせ」ボタンのデザイン強調 */
  .nav-item.sp-only .nav-link {
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    border: 1px solid #333;
  }

  .nav-item.sp-only .nav-link:hover {
    background: #fff;
    color: #333;
  }

  .nav-contact {
    margin-left: 0;
    margin-top: 10px;
  }
}

.nav-contact {
  margin-left: 40px;
}
.nav-contact a {
  display: inline-block;
  padding: 5px 10px;
  background: #333;
  border-radius: 5px;
  color: #fefefe;
  border: 1px solid #333;
}
.nav-contact a:hover {
  color: #333;
  text-decoration: none;
  display: inline-block;
  background: #fefefe;
  text-align: center;
  color: #333;
  transition: 0.3s, transform 1s;
  border: 1px solid #333;
}
/* Transform bars into 'X' */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(10px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -5px);
}

/* メインビジュアル */
.splide__slide {
  max-width: 1200px;
}
.splide__slide img {
  width: 100%;
  height: 675px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .splide__slide img {
    height: 300px;
  }
}
.splide__arrow {
  display: none !important;
}
.splide__pagination {
  position: static !important;
  padding: 20px;
  text-align: center;
  padding: 10px;
  height: 40px;
}

.splide__pagination__page {
  width: 5px;
  height: 5px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  opacity: 1;
  transition: background-color 0.3s;
}

.splide__pagination__page.is-active {
  background-color: #c53d43;
  transform: scale(1.2);
}

/* 下層ページビジュアル */
.sub-visual {
  background: #333;
  height: 250px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.catch-area {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin-bottom: 50px;
}
.catch-container {
  text-align: left;
  width: 50%;
  background: rgba(200, 255, 200, 0.15);
  padding: 20px;
  border-radius: 10px;
}
.catch-container-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0px 0px 11px #1f1f1f;
}
.catch-container-text {
  font-size: 1.5rem;
  text-shadow: 0px 0px 11px #1f1f1f;
}
.catch-container-list {
  margin-top: 20px;
  list-style-type: disc;
}
.catch-container-list li {
  font-size: 1.25rem;
  margin-left: 2rem;
  text-shadow: 0px 0px 11px #1f1f1f;
}
.banner-container {
  padding: 20px 0;
}
.detail-content {
  width: 100%;
  max-width: 800px;
  min-height: 500px;
  margin: 0 auto;
}

.detail-news-title {
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  text-align: center;
  background: #333;
  color: #fefefe;
  border-radius: 10px;
  margin-top: 25px;
}
.detail-date {
  text-align: right;
  font-size: 0.75rem;
  color: #333;
}

.detail-content-box {
  padding: 0.5em;
  font-family: sans-serif;
}
.detail-news-container .wp-block-heading {
  border-left: 10px solid #333;
  padding-left: 0.5em;
}
.page .wp-block-heading {
  border-left: none;
  margin-bottom: 0.5em;
}
@media (max-width: 768px) {
  .detail-news-title {
    font-size: 1rem;
    margin: 0 0.5em;
  }
  .detail-date {
    padding-right: 1em;
  }
}

/* 新着情報 */

.news-box {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 16px;
  margin-bottom: 40px;
  width: calc(100% / 3);
}
.news-box a {
  width: 100%;
}
.news-box-container {
  display: flex;
  flex-wrap: wrap;
}
.news-container {
  background: #fafafa;
}
.news-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.news-item:hover {
  background: #fffcfc;
  color: #fefefe;
  border: 1px solid #c53d43;
}
.news-img {
  width: 100%;
  height: 250px;
}
.news-img img {
  height: 100%;
  object-fit: cover;
}
.news-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-date {
  color: #333;
  margin-bottom: 8px;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 2rem;
}
.news-title {
  background: #333;
  color: #fefefe;
  margin-bottom: 15px;
  text-align: center;
}
.news-excerpt {
  color: #555;
  margin-bottom: 1rem;
}
.news-box.is-fourth {
  display: none;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 16px;
}
.card {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  visibility: visible;
  height: auto;
  margin-bottom: 40px;
  position: relative;
}
.card.is-hiding {
  opacity: 0;
  transform: scale(0.9);
  position: absolute;
  z-index: 0;
}

.card.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: hidden;
  overflow: hidden;
  position: absolute;
  pointer-events: none;
}
.card.is-hiding .card-img {
  opacity: 0;
}
.card,
.filter-item {
  transition: all 0.4s ease;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  visibility: visible;
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
}

.card.hide,
.filter-item.hide {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  visibility: hidden;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
}
#filter-area {
  max-width: 800px;
  margin: 30px auto;
}
#filter-area button.is-active {
  background-color: #333;
  color: #fff;
  font-weight: bold;
}

.card:hover .card-content {
  bottom: 0;
}
.card-img {
  width: 100%;
  height: 100%;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.card-img :hover img {
  transform: scale(1.1);
  filter: brightness(70%);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px;
  text-align: center;
  transition: bottom 0.3s ease;
  box-sizing: border-box;
}
.content-hidden {
  display: none;
  cursor: auto;
}
.content-hidden .card:hover .card-title0 {
  display: block;
}
.card-title {
  color: #fff;
  font-size: 1.5rem;
}
.card-title0 {
  color: #fff;
  font-size: 1rem;
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  text-align: center;
  padding: 0.25rem;
}
.card-cursor-default {
  cursor: default;
}
.card-cursor-default .card-img {
  background: #000;
}
.card-cursor-default .card-img img {
  opacity: 0.7;
}
.card-excerpt {
  font-size: 0.875rem;
}
.card:hover .card-title0 {
  display: none;
}
.card:hover .content-block {
  display: block;
}
.card-cat {
  position: absolute;
  top: 0;
  left: 0;
  color: #333;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 15px;
  border-radius: 0 0 15px 0;
  font-size: 0.875rem;
}
.card-text {
  color: #fff;
  font-weight: 300;
}
.card-scroll-wrapper {
  position: relative;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

@media (max-width: 768px) {
  .scroll-btn-container {
    position: relative;
  }
  .scroll-btn:hover {
    background-color: rgba(255, 255, 255, 1);
  }
  .prev-btn {
    left: 10px;
  }
  .next-btn {
    right: 10px;
  }
  .scroll-btn {
    font-size: 1.5rem;
    padding: 0 18px;
  }
  .card-content {
    display: none;
  }
  .card-img :hover img {
    transform: scale(1.1);
    filter: brightness(100%);
  }
  .card-scroll-wrapper {
    position: relative;
  }

  .swipe-hint {
    text-align: center;
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 10px;
    opacity: 0.8;
  }

  .cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px;
    margin: 0;
  }

  .cards::-webkit-scrollbar {
    display: none;
  }

  .card {
    min-width: 80%;
    max-width: 80%;
    flex: 0 0 auto;
    scroll-snap-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
  }
  .card-title0 {
    font-size: clamp(0.875rem, 4vmin, 1rem);
    white-space: nowrap;
  }
  .card:hover .card-title0 {
    display: block;
  }
}
.business-container01,
.about-container {
  display: flex;
}
.business-container02 {
  display: flex;
  flex-direction: row-reverse;
}
.business-text-box,
.about-text-box {
  width: 50%;
  padding: 5% 6% 10% 12%;
  background: #fafafa;
}
.business-text-box {
  display: flex;
  justify-content: center;
  padding: 6% 4% 8% 6%;
}
.business-text-container {
  max-width: 700px;
}
.business-headline,
.about-headline {
  padding-bottom: 1em;
}
.business-headline {
  font-size: 1.5rem;
  padding: 0.125em 1em;
  margin-bottom: 1em;
}
.business-results .business-headline {
  font-size: 1.25rem;
  margin-bottom: 0;
  padding-top: 50px;
}
.business-text-box p,
.about-text-box p {
  margin-bottom: 1.25em;
}
.business-img-box,
.about-img-box {
  width: 50%;
}
.business-img-box img,
.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.business-results {
  background: #fafafa;
}
.business-consult {
  background: #fafafa;
  padding: 50px;
}
.business-consult-box {
  background: #fff;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.business-info-consult {
  padding: 50px;
}
.consult-info-list {
  display: flex;
  margin-bottom: 25px;
}
.consult-info-img {
  background: #333;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.consult-info-img img {
  width: 50px;
  height: 50px;
}
.consult-info-text {
  padding-left: 1.5em;
}
.consult-info-text h4 {
  font-size: 1.5rem;
}
.consult-info-text p {
  font-size: 0.9375rem;
  margin-top: -0.25em;
}
@media (max-width: 768px) {
  .business,
  .about {
    margin-top: 50px;
  }
  .business-container01,
  .business-container02,
  .about-container {
    flex-direction: column;
  }
  .business-text-box,
  .about-text-box {
    width: 100%;
    padding: 1em;
  }
  .business-img-box,
  .about-img-box {
    width: 100%;
  }
  .business-headline {
    font-size: 1.25rem;
  }
  .business-consult {
    padding: 0.5em;
  }
  .business-info-consult {
    padding: 2em 0.5em;
  }
  .business-results .business-headline {
    padding-top: 10px;
  }
  .consult-info-list {
    display: flex;
    flex-direction: column;
  }
  .consult-info-img {
    margin: 0 auto;
  }
}

.btn-r {
  background-color: #c53d43;
}
.archive-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.archive-date {
  color: #555;
  margin-bottom: 8px;
  text-align: right;
}

.archive-title {
  border-bottom: 1px solid #333;
}
.archive-excerpt {
  color: #555;
}
.about-buttonArea,
.business-buttonArea,
.news-buttonArea,
.facilities-buttonArea,
.qa-buttonArea {
  text-align: center;
}
.archive-btn {
  padding: 1rem 3.5rem;
  margin: 100px auto 20px;
}
.news-buttonArea .archive-btn {
  margin: 40px 0 20px 0;
}
.facilities-buttonArea .archive-btn {
  margin: 100px 0 20px 0;
}
.business-results .facilities-buttonArea .archive-btn {
  margin: 20px 0 50px 0;
}
@media (max-width: 768px) {
  .archive-btn {
    margin: 25px 0 75px;
  }
}

/* お問い合わせ */
.contact {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/contact-bg.webp);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 20px 0 40px 0;
}
.contact-container {
  padding: 40px 0;
  background-size: cover;
  background-position: center;
}
.contact-container-text {
  text-align: center;
  color: #fff;
  margin: 30px 0 40px 0;
}
.contact-container-btn {
  text-align: center;
}
.contact-button {
  padding: 1rem 3.5rem;
}
.contact_privacy {
  text-decoration: underline;
  padding-left: 1em;
}
.qa-accordion {
  max-width: 800px;
  margin: 18px auto;
}

.qa-item {
  margin: 0 auto;
  width: 100%;
}

.qa-question {
  width: 100%;
  text-align: left;
  background: #f7f7f7;
  color: #333;
  border: none;
  padding: 15px 30px 15px 15px; /* 右側余白はアイコン用 */
  font-size: 16px;
  cursor: pointer;
  outline: none;
  position: relative;
  transition: background 0.3s;
}

.qa-question:hover {
  background: #e0e0e0;
}

.qa-question .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.qa-answer-inner {
  padding: 15px;
  background: #fff;
  font-size: 15px;
}

.qa-question.active + .qa-answer {
  max-height: 500px; /* 中身がこれより長い場合はJSで scrollHeight を使って調整 */
}

.qa-btn {
  padding: 1rem 3.5rem;
  margin: 80px auto 20px;
}

/* フッター */
footer {
  background: #000;
}

footer ul li {
  list-style-type: none;
}
.footer-nav-list li {
  border-bottom: dotted 1px #999;
  padding: 0 0.5em;
}
.footer-logo-container {
  width: 150px;
}
.footer-logo-container img {
  width: 100%;
}
.footer-box {
  color: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 50px;
  justify-content: space-between;
  padding: 1em;
}

.footer-info {
  width: 30%;
}
.footer-info ul {
  list-style-type: none;
}
.footer-nav {
  margin-top: 40px;
}
.footer-nav a {
  text-decoration: none;
  color: #fefefe;
}
.footer-nav-link {
  color: #fefefe;
}
@media (max-width: 768px) {
  .footer-box {
    flex-direction: column;
  }
  .footer-info {
    width: 100%;
  }
  .footer-nav {
    margin-top: 25px;
  }
}
.copy {
  margin-top: 50px;
  font-size: 0.8125rem;
  text-align: center;
  color: #fefefe;
}

.archive-content-box {
  background-image: linear-gradient(transparent 95%, #f9f9f9 50%, #f9f9f9),
    linear-gradient(90deg, transparent 95%, #f9f9f9 50%, #f9f9f9);
  background-size: 16px 16px;
  background-repeat: repeat;
  padding: 0.5em 1em;
}

/* --------------------------------------------
 * 　お問合わせ
 * -------------------------------------------- */
.page-contact {
  margin-top: 50px;
}
.wpcf7 {
  width: 100%;
  margin-top: 25px;
}

.wpcf7 table {
  width: 100%;
  font-size: 0.875rem;
}

.wpcf7 table .td_left {
  width: 30%;
  height: auto;
  vertical-align: middle;
  background: #ffffff;
  padding: 0 2%;
}

.wpcf7 table .td_right {
  width: 70%;
  height: auto;
  background: #fff;
  padding: 10px 2%;
}

.wpcf7 input,
.wpcf7 select {
  cursor: pointer;
  width: 100%;
  height: 45px;
  padding: 5px 5px 3px;
  border-radius: 3px;
  border: none;
}

.wpcf7 textarea {
  width: 100%;
  height: 150px;
  padding: 5px 5px 3px;
  border-radius: 3px;
  border: 1px solid #ddd;
}

.wpcf7 .flexwrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  background: #f2f1ec;
  border: none;
  outline: none;
}

.wpcf7 tr td .any {
  display: inline-block;
  min-width: 40px;
  padding: 3px 7px 1px;
  margin-left: 5px;
  border-radius: 2px;
}

.wpcf7 tr td .required {
  display: inline-block;
  min-width: 40px;
  color: #ef0846;
  padding: 3px 7px 1px;
  margin-left: 5px;
  border-radius: 2px;
}

.wpcf7 tr .wpcf7-form-control-wrap input:focus {
  outline: solid #efefef 1px;
  outline-offset: -1px;
  background-color: #fcfcfc;
}

.wpcf7 tr .wpcf7-form-control-wrap textarea:focus {
  outline: solid #efefef 1px;
  outline-offset: -1px;
  background-color: #fcfcfc;
}

.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 .wpcf7-response-output {
  display: block;
  color: #a00;
}

.wpcf7 .screen-reader-response {
  display: none;
}

.wpcf7 .wpcf7-response-output {
  text-align: center;
}

.wpcf7 #acceptance {
  text-align: center;
}

.wpcf7 .ajax-loader {
  display: block !important;
  margin: 0 auto !important;
}

.wpcf7 .submitting .ajax-loader {
  background: url(./../img/ajax-loader.gif) no-repeat center;
  width: 16px;
  height: 36px;
  display: block;
  width: 100%;
}

.wpcf7-form {
  padding-bottom: 50px;
}

.wpcf7 form:not([data-status="init"]) .wpcf7-response-output {
  font-size: 1rem;
  padding: 10px 10px 7px;
  border: 3px solid #ef0846;
}

.wpcf7 form[data-status="submitting"] .wpcf7-response-output {
  display: none;
}
.wpcf7 input[type="checkbox"] {
  width: auto;
  height: auto;
}
.wpcf7-acceptance {
  display: block;
  text-align: center;
  margin-top: 10px;
}

.submit_box {
  text-align: center;
  margin-top: 30px;
}

.submit_box .wpcf7-spinner {
  display: block;
  margin-top: 15px;
  margin-right: auto;
  margin-left: auto;
}

.submit_box input[type="submit"] {
  background: #333;
  border: none;
  border-radius: 3px;
  padding: 4px 15px 0;
  color: #fff;
  display: inline-block !important;
  width: 100%;
  max-width: 380px;
}

.submit_box input[type="submit"]:hover {
  cursor: pointer;
}

.submit_box input[type="submit"]:disabled {
  background: #eee;
  color: #454545;
}

.wpcf7 input.wpcf7-submit {
  border: 1px solid #a5a5a5;
}
.wpcf7 input.wpcf7-submit:hover {
  border: none;
}
.page-container {
  max-width: 1000px;
  margin: 50px auto;
}
#ez-toc-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
}
#error {
  font-size: 1.25rem;
  margin-top: 100px;
  text-align: center;
}

.item-attention p {
  margin-top: -20px;
  font-size: 0.75rem;
  color: #999;
}
.grecaptcha-badge {
  visibility: hidden;
}
.recaptcha {
  font-size: 0.75rem;
  color: #ccc;
}
.recaptcha a {
  font-size: 0.75rem;
  color: -webkit-link;
  cursor: pointer;
  text-decoration: underline;
}
.table-scroll-bar th {
  border: 1px solid #000;
  background-color: #333;
  color: #fff;
  padding: 10px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  font-size: 0.75rem;
}
.table-scroll-bar td {
  font-size: 0.75rem;
}
.facilities-search-aria {
  margin-top: 20px;
}
.facilities-search-type {
  margin-bottom: 80px;
}
.facilities-search-aria,
.facilities-search-type {
  display: flex;
  border-bottom: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px 20px;
  background: #fafafa;
}
.facilities-aria-title,
.facilities-type-title {
  width: 30%;
  display: flex;
  align-items: center;
}
.facilities-aria-detail ul,
.facilities-type-detail ul {
  display: flex;
  border: 1px solid #333;
}
.facilities-aria-detail ul li,
.facilities-type-detail ul li {
  position: relative;
}
.facilities-aria-detail ul li::after,
.facilities-type-detail ul li::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 1px;
  background: #333;
}
.facilities-aria-detail ul li:last-child::after,
.facilities-type-detail ul li:last-child::after {
  content: none;
}
.facilities-type-detail ul li button,
.facilities-aria-detail ul li button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px 3em;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
}
section {
  margin-top: 100px;
}
@media (max-width: 768px) {
  section {
    margin-top: 50px;
  }
  .wpcf7 table .td_left,
  .wpcf7 table .td_right {
    display: block;
    width: 100%;
  }
  .wpcf7 .wpcf7-list-item {
    display: block;
  }
}

.facilities-container,
.qa-container,
.news-container {
  padding: 50px 0;
}
.page-section {
  margin-top: 0;
  min-height: 800px;
}
.page-section .qa-accordion {
  margin-top: 50px;
}

.page-about-container {
  display: flex;
}
.page-about-company {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  margin: 50px auto;
}
.page-about .about-text-box {
  padding: 2em;
}
.page-about table {
  border-collapse: collapse;
  margin: 25px 10px 5px 10px;
}
.page-about table tr {
  border: 1px solid #999;
}
.page-about table tr th {
  padding: 1em 0 0.5em;
  border: 1px solid #999;
  background: #333;
  color: #fefefe;
}
.page-about table tr td {
  padding: 1em 0 0.5em 1em;
  border: 1px solid #999;
}
.company-map {
  margin-top: 25px;
  width: 100%;
}
iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
@media (max-width: 768px) {
  .page-section .cards {
    flex-direction: column;
  }
  .page-section .cards .card {
    min-width: 100%;
    max-width: 100%;
  }
  .facilities-search-aria,
  .facilities-search-type {
    display: block;
  }
  .facilities-type-detail ul li button,
  .facilities-aria-detail ul li button {
    padding: 0.5em;
  }
  .facilities-aria-detail ul,
  .facilities-type-detail ul {
    border: none;
    gap: 0.5em;
  }
  .facilities-aria-detail ul li,
  .facilities-type-detail ul li {
    border: 1px solid #333;
    border-radius: 8px;
  }
  .facilities-aria-detail ul li::after,
  .facilities-type-detail ul li::after {
    content: none;
  }
  #filter-area button.is-active {
    border-radius: 8px;
  }
  .news-box {
    width: calc(100% / 2);
    padding: 0.25em;
  }
  .news-title {
    font-size: 0.875rem;
  }
  .news-content {
    padding: 0.5em;
  }
  .news-img {
    height: auto;
  }
  .news-date {
    font-size: 0.875rem;
    position: unset;
    text-align: right;
    margin-right: 1em;
  }
  .news-excerpt {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.75rem;
  }
  .news-box.is-fourth {
    display: flex;
  }
  .page-about-table th {
    background: #333;
    color: #fefefe;
    width: 25%;
    text-align: center;
  }
  .page-about-table td {
    padding-left: 1em;
  }
  .page-about-container {
    display: block;
  }
}
