* {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: #4f4036;
  letter-spacing: 1.2px;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

a {
  text-decoration: none;
}

.basic-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #666666;
}

ul {
  padding-left: 0;
}

li {
  list-style: none;
}

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

/* ナビゲーションメニューのスタイル */
nav ul {
  list-style-type: none; /* 箇条書きスタイルをなしに */
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #222; /* リンクの色 */
  text-decoration: none; /* 下線をなしに */
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
}
header h1 {
  position: fixed;
  top: 35px;
  left: 40px;
}
header h1 a {
}
header h1 a img {
}
@media screen and (max-width: 960px) {
  header h1 {
    top: 32px;
    left: 20px;
  }
}

/* -------------------------------------------------- */
/* ハンバーガーとメガメニュー */
/* -------------------------------------------------- */

/* ハンバーガー */
#hamburger {
  position: fixed;
  top: 25px;
  right: 40px;
  font-size: 15px;
  text-align: center;
  z-index: 100;
}
@media screen and (max-width: 960px) {
  #hamburger {
    top: 15px;
    right: 20px;
  }
}
#hamburger span {
  color: #4f4036;
  display: block;
  margin-bottom: 0.75em;
}
#hamburger span.close {
  display: none;
}
.logo-white #hamburger span {
  color: #ffffff;
}
#hamburger img {
  display: block;
  width: 43px;
  margin: 0 auto;
}

/* メガメニュー */
#gnav-wrap {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
#gnav-wrap .pc-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #f3f1ea;
  overflow: auto;
}
#gnav-wrap .mega-menu {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#gnav-wrap .p-goto-nav {
  padding: 77px 0;
}
#gnav-wrap .mega-menu .p-goto-slider {
  display: flex;
  align-items: center;
  flex-grow: 1;
  border-top: solid 15px #ffffff;
}
#gnav-wrap .mega-menu .p-goto-slider > * {
  width: 100%;
}
#gnav-wrap .p-goto-slider__item {
  margin-top: 0;
}

/* .nav-open */
.nav-open {
  overflow: hidden;
  position: fixed;
  max-width: 100%;
}
.nav-open #hamburger {
}
.nav-open #hamburger span {
  color: #4f4036;
}
.nav-open #hamburger span.menu {
  display: none;
}
.nav-open #hamburger span.close {
  display: block;
}
.nav-open #hamburger img {
  opacity: 0;
  visibility: hidden;
}
.nav-open #hamburger::before,
.nav-open #hamburger::after {
  position: absolute;
  content: "";
  width: 40px;
  height: 2px;
  background-color: #4f4036;
  top: 75%;
  left: 50%;
}
.nav-open #hamburger::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-open #hamburger::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.nav-open #gnav-wrap {
  visibility: visible;
  opacity: 1;
}

/* slide.cssに追記してください */
.p-goto-nav__list {
  transition: color 0.3s;
}
.p-goto-nav__list.current {
  color: #217ce3;
}

.p-goto {
  display: block;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

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

@media screen and (max-width: 960px) {
  .p-goto {
    display: none;
  }

  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  /* ----------------spナビゲーション--------------------- */

  .sp-menu {
    width: 100%;
    height: 100vh;
    background-color: #f3f1ea;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #gnav-wrap .sp-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #f3f1ea;
    overflow: auto;
  }

  .sp-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px 0;
    font-size: 24px;
    font-weight: 700;
  }

  .sp-menu ul li {
    position: relative;
  }

  .sp-menu ul li small {
    position: absolute;
    top: -23px; /* 適切な位置に調整してください */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8em;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
  }
}

@media screen and (min-width: 600px) {
  .spbr {
    display: none;
  }
}

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

/* フォーム */
.global-form-wrap {
}
.global-form-wrap .red {
  color: #ff0000;
}
.global-form-wrap .wpcf7-form {
}
.global-form-wrap .wpcf7-form .contents-form {
}
.global-form-wrap .wpcf7-form .contents-form p {
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  margin-bottom: 1.9em;
}
.global-form-wrap .wpcf7-form .contents-form .table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.global-form-wrap .wpcf7-form .contents-form .table p {
  margin: 0;
}
.global-form-wrap .wpcf7-form .contents-form .table tr {
  border-top: solid 1px #dddddd;
}
.global-form-wrap .wpcf7-form .contents-form .table tr:last-child {
  border-bottom: solid 1px #dddddd;
}
.global-form-wrap .wpcf7-form .contents-form .table th,
.global-form-wrap .wpcf7-form .contents-form .table td {
  padding: 15px 10px;
}
.global-form-wrap .wpcf7-form .contents-form .table th {
}
.global-form-wrap .wpcf7-form .contents-form .table th p {
  padding: 5px 0;
}
.global-form-wrap .wpcf7-form .contents-form .table td {
}
.global-form-wrap .wpcf7-form .contents-form .table td input[type="text"],
.global-form-wrap .wpcf7-form .contents-form .table td input[type="email"],
.global-form-wrap .wpcf7-form .contents-form .table td textarea {
  background-color: #ffffff;
  padding: 10px;
  width: 100%;
}
.global-form-wrap .wpcf7-form .contents-form .table td input[type="text"] {
}
.global-form-wrap .wpcf7-form .contents-form .table td input[type="email"],
.global-form-wrap .wpcf7-form .contents-form .table td textarea {
}
.global-form-wrap .wpcf7-form .contents-form .btn-submit {
  margin-top: 40px;
  text-align: center;
}
.global-form-wrap .wpcf7-form .contents-form .btn-submit p {
  margin: 0;
}
.global-form-wrap .wpcf7-form .contents-form .btn-submit input[type="submit"] {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  border: solid 1px #000000;
  border-radius: 5px;
  width: 240px;
  font-weight: 500;
  max-width: 100%;
}
@media (max-width: 767px) {
  .global-form-wrap .wpcf7-form .contents-form .table tr,
  .global-form-wrap .wpcf7-form .contents-form .table th,
  .global-form-wrap .wpcf7-form .contents-form .table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  .global-form-wrap .wpcf7-form .contents-form .table th {
    padding-bottom: 0;
  }
  .global-form-wrap .wpcf7-form .contents-form .table th p {
    padding: 0;
  }
}

footer {
  background-color: #4f4036;
  padding: 60px 0;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0 160px;
}

.logo {
  max-width: 61px;
}

.logo img {
  width: auto;
}

.footer-left {
  display: flex;
  gap: 0 120px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.footer-menu a {
  margin-bottom: 10px;
  color: #9f938a !important;
  text-decoration: none;
  line-height: 1.7;
}

.footer-contact {
  line-height: 1.7;
}
.footer-contact p {
  color: #9f938a !important;
}

.footer-sns-wrap {
  margin-bottom: 24px;
}

.footer-contact img {
  width: 20px;
  margin-right: 10px;
}

address {
  font-style: normal;
  color: #9f938a !important;
}

.copyright {
  text-align: center;
  margin-top: 20px;
}
.copyright small {
  color: #9f938a !important;
}
@media (max-width: 960px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-menu,
  .footer-contact {
    display: none;
  }

  .logo {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .global-form-wrap .wpcf7-form .contents-form .table tr,
  .global-form-wrap .wpcf7-form .contents-form .table th,
  .global-form-wrap .wpcf7-form .contents-form .table td {
    max-width: 310px;
  }

  .wpcf7-form-control-wrap {
    position: relative;
    display: block;
  }

  .wpcf7 input[type="file"] {
    width: 100%;
  }
}

/* * {
  outline: 2px red solid;
} */
