body {
  background-color: #fff;
  position: relative;
}
.header {
  height: 130px;
  display: flex;
  align-items: center;
  padding-left: 1rem;
  position: fixed;
  top: 0;
  z-index: 10;
}
.u-logo {
  width: 110px;
}
.u-logo {
  position: absolute;
  left: 1.5rem;
  top: 1rem;
  z-index: 2;
}

/*u-fv*/
.u-fv {
  height: 450px;
  width: 100%;
  background: url("../img/u-fv-bg.png") no-repeat center / cover;
  position: relative;
}
.u-fv::after {
  content: "";
  position: absolute;
  height: 50px;
  background-color: #fbf4e2;
  left: 0;
  width: 100%;
  bottom: 0;
  border-radius: 6rem 6rem 0 0;
}
.u-fv .fv-title {
  position: absolute;
  left: 10%;
  top: 40%;
  display: flex;
  flex-direction: column;
  font-size: 2rem;
  letter-spacing: 3px;
  color: #fff;
}

.u-fv-en {
  font-size: 3rem;
  display: inline-block;
  text-transform: uppercase;
}

/*u-main*/
.u-main {
}

.u-main article {
  padding: 2rem 0 4rem;
  width: 100%;
  z-index: 3;
  background-color: #fbf4e2;
}

/*u-footer*/

/*company*/
.u-company-contents {
  width: 90%;
  max-width: 1000px;
  margin: 4rem auto;
}
.company-table {
  border-collapse: collapse;
  width: 100%;
  background-color: #fff;
  border-radius: 2rem;
}
.company-table th {
  width: 250px;
  vertical-align: top;
}
.company-table th,
.company-table td {
  padding: 2rem 1rem;
  text-align: left;
}
.company-table tr {
  border-bottom: 1px solid #000;
}
.company-table tr:last-child {
  border: none;
}
.company-table th {
  padding-left: 2rem;
}

/*qa*/

.qa-contents {
  width: 90%;
  max-width: 1000px;
  margin: 4rem auto;
}
.qa-contents + .qa-contents {
  margin-top: 8rem;
}
.qa-section-title {
  width: 90%;
  max-width: 1200px;
  margin: 3rem auto 2rem;
  border-bottom: 1px solid #000;
  padding-bottom: 0.5rem;
}
.qa-item {
  padding: 3rem 2rem 3rem 6rem;
  background-color: #f6f9fc;
  border-radius: 2rem;
}
.qa-item h3 {
  position: relative;
  font-size: 1.4rem;
}
.qa-item p {
  margin-top: 1.5rem;
}
.qa-item h3::before {
  content: attr(data-num);
  position: absolute;
  left: -3.2rem;
  color: #acc46c;
}
.qa-contents:nth-of-type(2) .qa-item h3::before {
  content: attr(data-num);
  position: absolute;
  left: -3.2rem;
  color: rgb(244, 132, 4);
}

.qa-item + .qa-item {
  margin-top: 3rem;
}

/*u-event*/
.u-event-contents {
  margin: 1rem auto;
  width: 95%;
  max-width: 1200px;
  justify-content: flex-start;
  flex-wrap: wrap;
  display: flex;
}

.u-event-contents-title {
  width: 95%;
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 0 0.5rem 0.5rem;
  border-bottom: 1px solid #000;
}

.u-event-item {
  width: calc((100% - 3rem) / 3);
  margin: 0.5rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  background-color: #fff;
  position: relative;
}
.u-event-img {
  height: 200px;
}
.u-event-img img {
  border-radius: 0.5rem 0.5rem 0 0;
}

.u-event-item-title {
  font-size: 1.1rem;
}

.u-event-textwrap {
  padding: 1rem;
  font-weight: bold;
  color: #545c34;
}
.u-event-genre {
  border: 1px solid #545c34;
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.2rem;
}

.u-event-info {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}
.u-event-tag {
  border: 1px solid rgb(244, 132, 4);
  display: inline-block;
  font-size: 0.9rem;
  padding: 0.2rem;
  margin-left: 1rem;
  color: rgb(244, 132, 4);
}
.u-event-tag.second {
  border: 1px solid rgb(102, 102, 102);
  color: rgb(102, 102, 102);
}
.u-event-date {
  display: block;
  text-align: right;
}

.page-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.page {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  margin: 0.2rem;
  border-radius: 0.2rem;
  background-color: #fff;
}
.page.current {
  background-color: #000;
  color: #fff;
  font-weight: bold;
}

/*u-news*/
.u-news-contents {
  width: 90%;
  max-width: 1000px;
  margin: 4rem auto;
}
.u-news-item {
  padding: 4rem 2rem;
  position: relative;
  background: #fff;
  border: 0 solid #fff;
  box-sizing: border-box;
  border-radius: 2rem;
}

.u-news-inner {
  display: flex;
  align-items: center;
}

.u-news-item + .u-news-item {
  margin-top: 2rem;
}

.u-news-item::before {
  left: 0;
  transform-origin: bottom;
}
.u-news-item:after {
  right: 0;
  transform-origin: top;
}
.u-news-item:hover:before {
  transform-origin: top;
  transform: scale(1);
}
.u-news-item:hover:after {
  transform-origin: bottom;
  transform: scale(1);
}

.u-news-img {
  width: 30%;
}

.u-news-textwrap {
  width: 70%;
  padding-left: 2rem;
  font-weight: bold;
}

.u-news-title {
  font-size: 1.3rem;
}

.u-news-genre {
  padding: 0.2rem;
  border: 1px solid #545c34;
  margin-top: 1rem;
  display: inline-block;
  color: #545c34;
}
.u-news-date {
  margin-left: 1rem;
  display: inline-block;
  color: #545c34;
}

.u-news-text {
  margin-top: 1.5rem;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999999;
  text-align: center;
  color: #fff;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg {
  display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleY(0);
  background-color: #fbf4e2; /*伸びる背景色の設定*/
  animation-name: PageAnime;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }
  50% {
    transform-origin: top;
    transform: scaleY(1);
  }
  50.001% {
    transform-origin: bottom;
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container {
  opacity: 0; /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*simple-event*/

.single-eventwrap {
  background-color: #fbf4e2;
  width: 90%;
  max-width: 800px;
  margin: 4rem auto;
}

/*==================================================
スライダーのためのcss
===================================*/

/*画像の横幅を100%にしてレスポンシブ化*/
.gallery-slider-img {
  width: 100%;
  height: 100%;
  vertical-align: bottom; /*画像の下にできる余白を削除*/
  object-fit: cover;
}

/*メイン画像下に余白をつける*/
.gallery {
  margin: 0 auto 0.5rem;
  width: 90%;
}

.gallery li {
  list-style: none;
  height: 450px;
}
/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute; /*絶対配置にする*/
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer; /*マウスカーソルを指マークに*/
  outline: none; /*クリックをしたら出てくる枠線を消す*/
  border-top: 5px solid #67bd74; /*矢印の色*/
  border-right: 5px solid #67bd74; /*矢印の色*/
  height: 25px;
  width: 25px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -2rem;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -2rem;
  transform: rotate(45deg);
}

/*選択するサムネイル画像の設定*/
.choice-btn {
  width: 90%;
  margin: 0 auto;
}
.choice-btn li {
  cursor: pointer;
  outline: none;
  background: #333;
  list-style: none;
  height: 130px;
}

.choice-btn li img {
  opacity: 0.4; /*選択されていないものは透過40%*/
}

.choice-btn li.slick-current img {
  opacity: 1; /*選択されているものは透過しない*/
}

.choice-btn .slick-prev,
.choice-btn .slick-next {
  display: none !important;
}
.bd {
  border: 10px solid #67bd74;
}
.choice-bd {
}
.single-event-title {
  font-size: 1.5rem;
  border-bottom: 2px solid #545c34;
  padding-bottom: 0.5rem;
}

.single-info {
  margin: 1rem 0 3rem;
  font-weight: bold;
  color: #545c34;
}
.single-genre {
  border: 1px solid #545c34;
  display: inline-block;
  margin-top: 1rem;
  padding: 0.2rem;
}
.single-date {
  margin-left: 1rem;
}
.single-event-contents {
  margin-top: 2rem;
}
.single-event-item {
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #545c34;
  color: #2a3501;
}
.single-event-item h3 {
  width: 100px;
}
.single-event-item p {
  text-align: right;
  width: calc(100% - 100px);
  word-wrap: break-word;
}
/*single-post*/
.single-post-img {
  height: 300px;
  width: 100%;
}
.single-post-img.cont {
  height: auto;
  width: 80%;
}
.single-post-img.cont-an {
  height: auto;
  width: 40%;
  min-width: 250px;
}

.single-post-contents {
  margin-top: 2rem;
}

.single-post-contents p + p {
  margin-top: 1.5rem;
}
.single-post-title {
  font-size: 1.5rem;
}

/*contact*/

/*ContactForm7カスタマイズ*/
table.CF7_table {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
}

table.CF7_table tr {
  border-bottom: 1px solid #0000002a;
  padding: 1.5rem 0;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
  display: table;
}

/*入力欄*/
.CF7_table input,
.CF7_table textarea {
  border: 1px solid #d8d8d8;
}
.CF7_table input[type="text"],
.CF7_table input[type="email"],
.CF7_table textarea {
  width: 100%;
  padding: 1rem;
}

.CF7_table ::placeholder {
  color: #797979;
}

/*「必須」文字*/
.CF7_req {
  font-size: 0.9em;
  padding: 5px;
  background: #f79034; /*オレンジ*/
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}

/*「任意」文字*/
.CF7_unreq {
  font-size: 0.9em;
  padding: 5px;
  background: #bdbdbd; /*グレー*/
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}
.CF7_table td,
.CF7_table th {
  padding: 1rem;
}
.CF7_table th {
  text-align: left;
  vertical-align: top;
}

/* タイトル列 */
@media screen and (min-width: 810px) {
  .CF7_table th {
    width: 30%; /*横幅*/
    background-color: transparent;
  }
}

/* レスポンシブ */
@media screen and (max-width: 810px) {
  table.CF7_table {
    width: 95%;
  }
  .CF7_table tr,
  .CF7_table td,
  .CF7_table th {
    display: block;
    width: 100%;
    line-height: 2.5em;
  }
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
  background-color: #f79034; /* オレンジ*/
  border: 0;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 auto;
  padding: 1rem 3rem;
  cursor: pointer;
  border: 1px solid #f79034;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.wpcf7 input.wpcf7-submit:hover {
  background-color: #fff;
  color: #f79034;
}

.CF7_btn {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wpcf7-spinner {
  width: 0;
  margin: 0;
}
.bdb {
  text-decoration: underline;
  color: rgb(244, 132, 4);
}

/*==================================================
イベントギャラリーのためのcss
===================================*/

.sort-btnwrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sort-box {
  margin: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sort-box label {
  margin-left: 0.5rem;
}
.u-event-contents {
  margin-top: 4rem;
  display: none;
}

.u-event-contents.active {
  display: flex;
}

.sort-choice {
  margin: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: 2px solid #000;
  border-radius: 0;
  outline: none;
  /* accent-color: #000; */
}

span.smoothText {
  overflow: hidden;
  display: block;
}

/* アニメーションで傾斜がついている文字列を水平に戻す*/
span.smoothTextTrigger {
  transition: 1s ease-in-out;
  transform: translate3d(0, 100%, 0) skewY(7deg);
  transform-origin: left;
  display: block;
}
span.smoothTextTrigger.smoothTextAppear {
  transform: translate3d(0, 0, 0) skewY(0);
}

/*pagenavi*/
.page-nav {
  text-align: center;
}
.wp-pagenavi {
  display: flex !important;
  align-items: center;
  justify-content: center;
  clear: none;
  margin: 4rem 0 1rem;
}

.wp-pagenavi span.current {
  background-color: #000;
  color: #fff;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page.larger,
.page {
  display: inline-block;
  background-color: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.3rem;
}

.pages {
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.3rem 1rem 0.3rem 0;
  height: 30px;
  padding: 0 0.4rem;
}

.nextpostslink,
.previouspostslink {
  font-size: 2rem;
  margin: 0.3rem;
  padding-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*blog*/
.blog-fv {
  height: 450px;
  position: relative;
  background: url("https://havefunjp.com/wp-content/uploads/2025/02/blog-fv.jpg")
    no-repeat center / cover;
}
.blog-title-wrap {
  font-weight: bold;
  border-radius: 0 1rem 0 0;
  text-align: center;
  position: absolute;
  left: 5%;
  bottom: 10%;
}
.blog-title {
  letter-spacing: 3px;
  font-size: 2rem;
  background-color: #fff;
  border: 2px solid #f48404;
  padding: 1rem 3rem;
  line-height: 1;
  margin-top: 1rem;
}
.blog-title-en {
  content: attr(data-en);
  padding: 0.5rem 2rem;
  display: block;
  text-transform: uppercase;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: 3px;
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, -2px 2px 0 #fff,
    2px -2px 0 #fff, 0px 2px 0 #fff, 0 -2px 0 #fff, -2px 0 0 #fff, 2px 0 0 #fff;
  letter-spacing: 7px;
  font-weight: bold;
  font-family: "Bebas Neue", serif;
  background-color: #000;
}
.blog-title-en::first-letter {
  color: #c2192c;
}

.u-blog-cat-lists {
  padding: 2rem 0;
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}
.u-blog-cat-lists ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.u-blog-cat-lists a {
  padding: 0.25rem 2.5rem;
  font-weight: bold;
}
.u-blog-cat-lists li:not(:first-of-type) {
  border-left: 1px solid #969696;
}
.u-blog-contents {
  background-color: #fbf4e2;
  padding: 2rem 0;
}
.u-blog-lists {
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
}
.u-blog-lists li {
  width: calc((100% - 6rem) / 3);
  margin: 1rem;
  transition: transform 0.3s ease;
}
.u-blog-lists li:hover {
  transform: translateY(-10px);
}
.u-blog-img img {
  width: 100%;
  height: 100%;
}
.u-blog-img {
  width: 100%;
  aspect-ratio: 1.75/1;
}
.u-blog-item-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.2;
  margin-top: 0.5rem;
}
.u-blog-cat {
  margin-top: 1rem;
}
.u-blog-cat a {
  background-color: #bd8c14;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.1rem 0.2rem;
  border-radius: 0.2rem;
}
.u-blog-cat a + a {
  margin-left: 1rem;
}
.tryon-blog-date {
  font-weight: normal;
  font-size: 0.9rem;
}

/*blog-single*/
.blog-single-fv {
  width: 100%;
  height: 90vh;
}
.blog-single-fv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-single-top {
  padding: 4rem 0;
  text-align: center;
}

.blog-single-title {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
  padding: 0 1rem;
}

.single-date {
  margin-top: 1.5rem;
}
.blog-single-cat {
  margin-top: 1rem;
}
.blog-single-cat a {
  background-color: #bd8c14;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.1rem 0.2rem;
  border-radius: 0.2rem;
  margin: 0.5rem;
}
.blog-single-contents {
  padding: 4rem 0;
  background-color: #fbf4e2;
}
.blog-single-inner {
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
}
.blog-single-contents p {
  margin-top: 1rem;
}
.blog-single-contents img {
  margin-top: 1.5rem;
  width: 100%;
  height: 100%;
}

.blog-single-contents h2 {
  margin-top: 3rem;
}

.release-single-contents {
  padding-top: 0;
}

/*u-aboutus*/
.u-aboutus-section {
  width: 90%;
  margin: 0 auto;
  max-width: 1000px;
}
.u-aboutus-section + .u-aboutus-section {
  margin-top: 4rem;
}
.u-aboutus-titlewrap h2 {
  text-transform: uppercase;
  display: block;
  font-size: 3rem;
}
.u-aboutus-titlewrap h2::first-letter {
  color: #f48404;
  font-size: 4rem;
}
.u-about-us-contents {
  margin-top: 1rem;
}
.u-about-us-contents h3 {
  font-size: 1.75rem;
}
.u-aboutus-subtitle {
  font-weight: bold;
  font-size: 1.5rem;
}

.u-aboutus-text {
  margin-top: 1rem;
}

.message-title {
  font-size: 2rem;
  font-weight: bold;
}
.message-top-text {
  margin-top: 1rem;
}
.message-name {
  font-weight: bold;
  margin-top: 2rem;
  font-size: 1.25rem;
  text-align: right;
}
.u-about-us-text {
  margin-top: 0.5rem;
}
.release-single-contents {
  padding: 0;
}
.u-about-us-text {
  margin-top: 0.5rem;
}
.u-about-us-contents li {
  font-size: 1.1rem;
  font-weight: bold;
}
.u-about-us-contents li span {
  font-weight: normal;
}
.u-about-us-contents li + li {
  margin-top: 0.5rem;
}
