@charset "UTF-8";
*,
::before,
::after {
  margin: 0;
  padding: 0;
}

@keyframes spin1-parts {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.mainimg {
  position: relative;
}
.mainimg .animation-spin1-parts {
  position: absolute;
  bottom: -15vw;
  width: 70vw;
  right: -15vw;
  pointer-events: none;
  animation: spin1-parts 150s linear infinite;
  z-index: 1;
  height: auto;
}

.inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.en {
  font-family: var(--accent-font);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.color-red {
  color: red;
}

ul {
  list-style: none;
}

ul.has-circle li {
  display: flex;
  align-items: flex-start;
}
ul.has-circle li::before {
  content: "";
  width: 10px;
  background: var(--primary-color);
  height: 10px;
  margin-top: 0.5em;
  margin-right: 0.3em;
  border-radius: 5px;
  flex-shrink: 0;
}

.mb32 {
  margin-bottom: 32px;
}
@media screen and (max-width:768px) {
  .mb32 {
    margin-bottom: 16px;
  }
}

.btn01 {
  padding: 8px 24px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  width: fit-content;
  font-weight: 700;
  transition: all 0.3s ease;
  border-radius: 60px;
}
.btn01::before {
  content: "";
  background: url(../../assets/images/icon-ball.svg) no-repeat center/contain;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.3em;
  display: block;
}
.btn01:hover {
  transform: translateY(1px);
}

.is-sp {
  display: none;
}
@media screen and (max-width:768px) {
  .is-sp {
    display: block;
  }
}

.mv-text {
  font-size: 1.8rem;
}

.top-news .btn01 {
  margin-left: auto;
  margin-top: 40px;
  font-weight: 700;
  border-radius: 60px;
}
@media screen and (max-width:768px) {
  .top-news .btn01 {
    margin: 24px auto 0;
  }
}

.table-wrapper {
  margin-top: 24px;
}

.top-price .title5-parts {
  margin-top: 16px;
}

/* ---- single / archive news 補助スタイル ---- */
.single-news .inner {
  max-width: 800px;
}
.single-news .article-top {
  margin-bottom: 24px;
}
@media screen and (max-width:768px) {
  .single-news .article-top {
    margin-bottom: 16px;
  }
}
.single-news .article-top .ttl {
  font-size: 2.4rem;
  margin-top: 0;
  margin-bottom: 8px;
  background: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  border-bottom: 2px solid #ececec;
  color: #333;
}
@media screen and (max-width:768px) {
  .single-news .article-top .ttl {
    font-size: 1.8rem;
    margin-bottom: 4px;
  }
}
.single-news .article-top .date {
  font-size: 1.4rem;
}
.single-news .entry-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.single-news .entry-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
}
.single-news .btn01 {
  margin: 0 auto;
}

.entry-thumb {
  margin: 1rem 0;
}

.entry-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.entry-content {
  margin-bottom: 32px;
  background: #fff;
  color: #333;
  border-radius: 6px;
}

.entry-content p {
  margin-bottom: 1rem;
}

.more {
  padding: 0.5rem 1rem;
}

.more a {
  text-decoration: none;
  color: var(--primary-color);
}

.page-ttl {
  margin-bottom: 56px;
}
@media screen and (max-width:768px) {
  .page-ttl {
    margin-bottom: 40px;
  }
}

.wp-pagenavi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 4rem auto 2rem;
  padding: 0;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #333;
  border-radius: 999px;
  color: #333;
  background: #fff;
  font-size: 1.4rem;
  font-family: var(--accent-font);
  text-decoration: none;
  transition: all 0.25s ease;
}

.wp-pagenavi a:hover,
.wp-pagenavi .extend:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.wp-pagenavi .current {
  background: #333;
  color: #fff;
  border-color: #333;
  font-weight: 700;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  width: 42px;
}

@media (max-width: 760px) {
  .wp-pagenavi {
    gap: 0.5rem;
  }
  .wp-pagenavi a,
  .wp-pagenavi span {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }
}
/* ---- news archive grid ---- */
.news-archive .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.news-archive .news-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-archive .news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.news-archive .news-card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-archive .news-card-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-archive .news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-archive .news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-archive .news-card-date {
  color: var(--light-inverse-color);
  font-size: 1.4rem;
  margin: 0;
}

.news-archive .news-card-title {
  font-size: 1.8rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}

@media (max-width: 940px) {
  .news-archive .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .news-archive .news-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 900px) {
  .entry-thumb {
    margin-left: 0;
  }
}
/* ---- お申し込みフォーム（contact.html） ---- */
.contact-form .cf-lead {
  margin-bottom: 32px;
  line-height: 1.8;
}
.contact-form .page-ttl {
  margin-bottom: 24px;
}

.cf-form {
  max-width: 900px;
  margin: 0 auto;
}

.cf-table {
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.cf-row {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.cf-row:last-child {
  border-bottom: none;
}
@media screen and (max-width:768px) {
  .cf-row {
    flex-flow: column;
  }
}

.cf-label {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  font-weight: 600;
  line-height: 1.6;
}
@media screen and (max-width:768px) {
  .cf-label {
    flex: none;
    padding: 12px 16px;
  }
}

.cf-req {
  color: #fff;
  margin-left: 0.3em;
  font-weight: 400;
}

.cf-input {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-flow: column;
  gap: 8px;
}
@media screen and (max-width:768px) {
  .cf-input {
    padding: 16px;
  }
}

.cf-text,
.cf-select,
.cf-textarea,
.cf-date {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1.6rem;
  font-family: var(--base-font);
  background: #fff;
  color: #333;
}
.cf-text:focus,
.cf-select:focus,
.cf-textarea:focus,
.cf-date:focus {
  outline: none;
  border-color: var(--primary-color);
}

.cf-textarea {
  resize: vertical;
}

.cf-radio-group .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 2em 0 0;
}
.cf-radio-group .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  cursor: pointer;
}
.cf-radio-group input[type=radio] {
  appearance: none;
  margin-right: 8px;
  border: 2px solid #bbb;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s ease;
  width: 18px;
  height: 18px;
}
.cf-radio-group input[type=radio]:checked {
  border-color: var(--primary-color);
}
.cf-radio-group input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
}

.cf-datetime {
  display: flex;
  flex-flow: row wrap;
  gap: 16px;
  align-items: flex-end;
}

.cf-datetime-item {
  display: flex;
  flex-flow: column;
  gap: 4px;
  flex: 1 1 200px;
}
.cf-datetime-item .cf-text {
  min-width: 160px;
}

.wpcf7-spinner {
  display: none;
}

.flatpickr-day.selected {
  background: #22ac38;
  border-color: #22ac38;
}

.flatpickr-day.today {
  border-color: #22ac38;
}

.flatpickr-day:hover {
  background: #e8f6eb;
}

.flatpickr-calendar {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  cursor: not-allowed;
  color: rgba(57, 57, 57, 0.2);
}

.cf-mini-label {
  font-size: 1.3rem;
  color: var(--light-inverse-color);
  font-weight: 600;
}

.cf-note {
  font-size: 1.3rem;
  color: var(--light-inverse-color);
  line-height: 1.7;
  margin: 0;
}

.cf-submit {
  text-align: center;
  margin-top: 40px;
}
.cf-submit button,
.cf-submit input[type=submit] {
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  padding: 14px 56px;
  border-radius: 100px;
  background: var(--accent-color);
  color: var(--accent-inverse-color);
  font-size: 1.8rem;
  font-weight: 600;
  transition: opacity 0.3s ease;
}
.cf-submit button:hover,
.cf-submit input[type=submit]:hover {
  opacity: 0.8;
}

.wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
}

/* ---- 下層ページ共通タイトル（template-parts/page-title.php） ---- */
@keyframes page-title-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-title-parts {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 0 44px;
  text-align: center;
  color: var(--primary-inverse-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, #0b7a3c 100%);
}
@media screen and (max-width:768px) {
  .page-title-parts {
    padding: 48px 0 32px;
  }
}
.page-title-parts .inner {
  position: relative;
  z-index: 1;
}
.page-title-parts::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background: var(--bg-color);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
@media screen and (max-width:768px) {
  .page-title-parts::after {
    height: 28px;
  }
}
.page-title-parts__deco-wrap {
  position: absolute;
  top: -18%;
  right: -6%;
  width: 260px;
  height: 260px;
  pointer-events: none;
  will-change: transform;
}
@media screen and (max-width:768px) {
  .page-title-parts__deco-wrap {
    width: 160px;
    height: 160px;
    top: -10%;
    right: -10%;
  }
}
.page-title-parts__deco {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 260px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  animation: spin1-parts 60s linear infinite;
}
@media screen and (max-width:768px) {
  .page-title-parts__deco {
    font-size: 160px;
  }
}
.page-title-parts__en {
  margin-bottom: 6px;
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  opacity: 0;
  animation: page-title-reveal 0.6s ease forwards 0.05s;
}
.page-title-parts__ttl {
  margin: 0 0 14px;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: page-title-reveal 0.7s ease forwards 0.2s;
}
@media screen and (max-width:768px) {
  .page-title-parts__ttl {
    font-size: 2.2rem;
  }
}
.page-title-parts__crumb {
  font-size: 1.3rem;
  opacity: 0;
  animation: page-title-reveal 0.6s ease forwards 0.4s;
}
.page-title-parts__crumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-title-parts__crumb a:hover {
  opacity: 0.8;
}
.page-title-parts__crumb .sep {
  margin: 0 0.6em;
  opacity: 0.6;
}
.page-title-parts__crumb .current {
  opacity: 0.85;
}

/*# sourceMappingURL=haya-style.css.map */
