html {
  font-family: "M PLUS Rounded 1c", serif;
  font-size: 62.5%;
  letter-spacing: 1px;
  color: #4B4743;
}

img{
  width: 100%;
}

h1,h2,h3{
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}

p{
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0;
}

ul{
  list-style: none;
  padding: 0;
}

a{
  font-size: 1.6rem;
  text-decoration: none;
  color: #3F2E18;
}

.fadeIn_up {
  opacity: 0;
  transform: translate(0, 40%);
  transition: 1.1s;
}
.fadeIn_up.is-show {
  transform: translate(0, 0);
  opacity: 1;
}

/* header */
.header{
  width: 100%;
  height: 10vh;
  position: fixed;
  background: #fff;
  box-shadow: 0px 5px 3px -3px rgba(141, 147, 150, 0.1);
  z-index: 999;
}

.header_inner{
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header_logo{
  width: 150px;
  line-height: 0;
}

.header_logo .logo_sp{
  width: 40px;
}

.header_logo .logo_pc{
  display: none;
}

@media screen and (min-width:768px){
  .header_logo .logo_sp{
    display: none;
  }

  .header_logo .logo_pc{
    display: block;
  }
}

.header_nav .nav_list{
  display: flex;
  align-items: center;
}

.header_nav .nav_item{
  border-right: 1px solid #e5e5e5;
}

.header_nav .nav_item:first-of-type{
  border-left: 1px solid #e5e5e5;
}

.header_nav .nav_item:last-of-type{
  border-right: none;
  padding: 0 0 0 20px;
}

.header_nav .nav_item a{
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
  padding: 5px 0;
}

.header_nav .nav_btn{
  height: 100%;
  position: relative;

}

.header_nav .nav_text{
  position: relative; /* 追加 */
  z-index: 10;
  padding: 5px 20px;
}

.header_nav .reserve_btn{
  text-align: center;
  border: 3px solid #f5d088;
  border-radius: 10px;
  background: #F3B02B;
  color: #fff;
  padding: 5px 20px !important;
  transition: 0.4s ease;
}

.reserve_btn::before{
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../img/camera_icon.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 5px;
}

.reserve_btn:hover {
  background-color: #f3bd52;
}

@media screen and (max-width:1069px){
  .header_nav{
    position: fixed;
    top: 0;
    right: -100%;
    width: 40vw;
    height: 100%;
    background: white;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999; /* メニューを前面に */
  }

  .header_nav.active {
    right: 0;
  }

  .header_nav .nav_list{
	width: 80%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .header_nav .nav_item{
	width: 80%;
    margin: 0 auto 5px;
    padding: 10px;
    border-right: none;
	border-bottom: 1px solid #E5E5E5;
  }
  
  .header_nav .nav_item:first-of-type{
    border-left: none;
  }

  .header_nav .nav_item:last-of-type{
    padding: 0;
	border-bottom: none;
  }
	
  .header_nav .nav_text{
	padding: 5px;
  }

  .header_nav .reserve_btn{
    margin-top: 20px;
  }
}

@media screen and (max-width:768px) {
  .header_nav{
    width: 80vw;
  }
}

/* hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
  position: relative;
  transition: all 0.5s ease; /* アニメーションの速度を調整 */
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #3F2E18;
  transition: all 0.5s ease; /* 各spanのアニメーションも調整 */
  border-radius: 1.5px; /* 先端を丸くする */
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg); /* 1つ目のspanを回転 */
  position: relative;
  top: 8px; /* 上に移動 */
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* 2つ目のspanは消える */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg); /* 3つ目のspanを回転 */
  position: relative;
  top: -8px; /* 下に移動 */
}

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


/* main */
.page_fv{
  width: 100%;
  height: auto;
  padding-top: 10vh;
  position: relative;
}

.page_fv .page_fv_inner{
  width: 100vw;
  height: 30vh;
}

.page_fv .page_fv_inner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page_heading{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #4B4743;
  transform: translate(-50%,-50%);
  padding-top: 10vh;
}

.page_heading span{
  font-size: 1.6rem;
}

.entry-content p {
  margin-bottom: 1.6em;
  font-size: 1.6rem;
  line-height: 1.8;
}

.entry-content h2 {
  font-size: 2rem;
  margin-top: 2em;
  margin-bottom: 1em;
}

.entry-content h3 {
  font-size: 1.8rem;
  margin-top: 1.5em;
  margin-bottom: 1em;
}

.entry-content ul,
.entry-content ol {
  list-style: disc;
  font-size: 1.6rem;
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  line-height: 1.5;
}

.entry-content a {
  color: #0073aa;
  text-decoration: underline;
}

.entry-content a:hover {
  text-decoration: none;
}

.entry-content strong {
  font-weight: bold;
}

.container{
  padding: 60px 20px;
}

.content_wrapper{
  max-width: 960px;
  margin: 0 auto;
}

.flex_wrapper{
  display: flex;
}

.sec_heading{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.sec_heading h2{
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
}
	
.sec_heading h2 span{
   font-size: 1.4rem;
}

.sec_heading img{
  width: 10vw;
  height: 100%;
  margin: 0 10px;
}

.breadcrumb {
  font-size: 1.2rem;
  line-height: 2;
  margin: -20px auto 20px;
}

.breadcrumb a {
  font-size: 1.2rem;
  color: #3F2E18;
  text-decoration: underline;
}

.breadcrumb .current-item {
  text-decoration: none;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .page_fv{
    padding-top: 10vh;
  }

  .page_fv .page_fv_inner{
    width: 100vw;
    height: 50vh;
  }

  .container{
    padding: 125px 20px;
  }

  .sec_heading{
    margin-bottom: 60px;
  }
	
   .sec_heading h2{
	 font-size: 2rem;
  }
	
   .sec_heading h2 span{
	 font-size: 1.6rem;
  }

  .sec_heading img{
    margin: 0 30px;
  }

  .breadcrumb {
    font-size: 1.4rem;
    margin: -20px auto 40px;
  }

  .breadcrumb a {
    font-size: 1.4rem;
  }
}

.bottom_fixed{
  width: 100vw;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999;
}

.bottom_fixed img {
  width: 100vw;
  height: 100%;
  display: block;
}

/* 問い合わせ・予約フォーム */
.form-container{
  margin-top: 50px;
}

.form-container hr{
  margin: 20px 0;
}

.full-input{
  width: 100%;
  padding: 10px;
  font-size: 1.4rem;
}

.form-wrapper,
.form-wrapper2{
  margin-top: 10px;
}

.form-container .form-ttl{
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-container .form-ttl2{
  font-size: 1.6rem;
  margin-bottom: 5px;
}

.date-input {
  width: 200px;
}

.required {
  background: #F3B02B;
  color: #fff;
  font-size: 1.2rem;
  padding: 2px 5px;
}

.scroll-box{
  max-height: 200px !important;
  overflow-y: auto !important;
  padding: 10px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  font-size: 1.4rem;
  line-height: 1.6;
}

.scroll-box p{
  margin-bottom: 5px;
}

.form-checkbox{
  margin-top: 10px;
}

.privacy-note {
  font-size: 1rem;
  text-align: center;
  margin-top: 10px;
}

.form-submit_btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-submit_btn input[type="submit"],
.form-submit_btn .wpcf7-submit {
  background-color: #F3B02B;
  color: white;
  padding: 15px 40px;
  border: none;
  cursor: pointer;
  display: inline-block;
  width: auto !important;   /* ← 中央寄せにならない原因対策 */
  max-width: 100%;
}

/* 入力エリア全体の親要素 */
.wpcf7 form {
  max-width: 100%;
  box-sizing: border-box;
}

.wpcf7 form .wpcf7-response-output{
  font-size: 1.2rem;
  padding: 20px !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-size: 1.6rem;
  border: none;
  background: #e9e9e9;
  border-radius: 4px;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
}

@media screen and (min-width: 768px) {
  .form-wrapper{
    display: flex;
    justify-content: space-between;
  }

  .form-wrapper_inner{
    width: 48%;
  }
}

/* cases */
.case_list{
  max-width: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* SPは2列 */
  gap: 20px 4%; /* 行間/列間 */
  max-width: 100%;
  margin: 0 auto 30px;
  padding: 0;
  list-style: none;
}

.case_item:hover img{
  transform: scale(1.05);
  transition-duration: 0.5s;
}

.case_item a:hover{
  color: #3f2e18c4;
  transition: 0.3s ease-in-out;
}

.case_item .img_wrapper{
  position: relative;
  display: inline-block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 5px;
}

.case_item .img_wrapper img{
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  vertical-align: middle;
  object-fit: cover;
  transition-duration: 0.5s;
}

.case_item h3{
  font-size: 1.4rem;
  margin-bottom: 10px;
  padding-top: 10px;
  text-align: left;
}

.case_item .tag_list{
  width: 80%;
  display: flex;
  flex-wrap: wrap;
}

.case_item .tag_item{
  font-size: 1.2rem;
  margin: 0 15px 5px 0;
}

.cases .more_btn a {
  background: #23B2BA;
  border: 3px solid #71cfd4;
}

.cases .more_btn a:hover {
  background: #fff;
  color: #23B2BA;
}

.cases .more_btn a:hover:after {
  border-color: #23B2BA;
}

@media screen and (min-width: 768px) {
  .case_list {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);  /* PCは3列 */
    gap: 24px 2%;
    margin: 0 auto 70px;
  }

  .case_item h3{
    font-size: 1.6rem;
  }
}

/* product */
.product_list{
  display: flex;
  justify-content: center;
  gap: 3.6%;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.product_item{
  width: 48%;
  text-align: center;
  margin-bottom: 20px;
}

.product_item:nth-last-child(-n+2) {
  margin-bottom: 0;
}

.product_item:hover img{
  transform: scale(1.05);
  transition-duration: 0.5s;
}

.product_item .img_wrapper{
  position: relative;
  display: inline-block;
  width: 100%;
  height: auto;
  overflow: hidden;  
  border-radius: 5px;
}

.product_item .img_wrapper img{
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  vertical-align: middle;
  object-fit: cover;
  transition-duration: 0.5s;
  aspect-ratio: 1/1;
}

.product_item a:hover{
  color: #3f2e18c4;
  transition: 0.3s ease-in-out;
}

.product_item h3{
  font-size: 1.6rem;
  margin-bottom: 5px;
  padding-top: 10px;
}

.product_item p{
  font-size: 1.2rem;
  color: #BFC3C5;
}

.product_item p span{
  font-size: 1rem;
}

@media screen and (min-width: 768px) {
  .product_list{
	gap: 2.6%;
    margin-bottom: 70px;
  }
  
  .product_item{
    width: 23%;
    margin-bottom: 0;
  } 

  .product_item p{
    font-size: 1.4rem;
  }

  .product_item p span{
    font-size: 1.2rem;
  }
}

/* btn */
.more_btn a {
  background: #F3B02B;
  border: 3px solid #f5d088;
  border-radius: 9999px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 250px;
  padding: 5px 25px;
  color: #fff;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

.more_btn a:hover {
  background: #fff;
  color: #F3B02B;
}

.more_btn a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

.more_btn a:hover:after {
  border-color: #F3B02B;
}

@media screen and (min-width: 768px) {
  .more_btn a{
    padding: 10px 25px;
  }
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0;
  flex-wrap: nowrap;
}

.pagination .prev,
.pagination .next{
  background: #ccc;
  color: #fff;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
  letter-spacing: 0.05em;
  border-radius: 10px;
  padding: 5px;
  border: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.pagination .prev.disabled,
.pagination .next.disabled {
  background: #eee;
  color: #aaa;
  cursor: default;
  pointer-events: none;
  font-weight: normal;
}

.pagination-numbers{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pagination .page-numbers{
  display: inline-block;
  padding: 8px 6px;
  background: #f1f1f1;
  color: #333;
  border-radius: 5px;
  font-size: 1.2rem;
  text-decoration: none;
  border: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.pagination .page-numbers.current{
  background: #333;
  color: #fff;
  font-weight: bold;
}

.pagination .page-numbers.dots{
  background: none;
  color: #999;
  cursor: default;
  padding: 8px;
}

.pagination .page-numbers:hover:not(.current):not(.dots):not(.disabled) {
  background: #333;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .pagination .prev,
  .pagination .next {
    min-width: 130px;
  }

  .pagination .page-numbers{
    font-size: 1.4rem;
    padding: 8px 10px;
  }

  .pagination .prev,
  .pagination .next {
    padding: 8px 18px;
  }

  .pagination .page-numbers.dots {
    padding: 8px 10px;
  }
}

/* footer */
.footer .flex_wrapper{
  display: flex;
}

.footer .footer_top{
  padding: 100px 20px;
  background: #FEF3DE;
}

.footer_heading{
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
}

.footer_heading_sub{
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 30px;
}

.footer .footer_top .flex_wrapper{
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .footer_top .flex_wrapper .left{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.footer .footer_top .flex_wrapper .right{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer_btn{
  display: block;
  width: 100%;
  height: 60px;
  font-size: 1.4rem;
  border-radius: 30px;
  color: #fff;
  position: relative;
  text-align: center;
  background-color: #f6a016;
  border: 3px solid #f5d088;
  transition: 0.4s ease;
}

.footer_btn:hover {
  background-color: #F3B02B;
}

.left .footer_btn{
  max-width: 500px;
  height: 120px;
  line-height: 120px;
  border-radius: 10px;
}

.right .footer_btn{
  max-width: 500px;
  position: relative;
  height: 55px;
  line-height: 55px;
  margin-bottom: 10px;
  border-radius: 10px;
}

.footer_note{
  font-size: 1.2rem;
}

.left .footer_btn::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/calendar_icon.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin: 0 5px 3px 0;
}

.left .footer_btn::after{
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 10px;
  right: 15px;
  background: url(../img/link_icon.png) no-repeat;
  background-size: contain;
  margin: 0 5px 3px 0;
}

.right .footer_btn::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/tel_icon.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin: 0 5px 3px 0;
}

.right .footer_btn:first-of-type::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/talk_icon.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 5px;
}

.right .footer_btn:first-of-type::after{
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 10px;
  right: 15px;
  background: url(../img/link_icon.png) no-repeat;
  background-size: contain;
  margin: 0 5px 3px 0;
}

.right .footer_btn::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/tel_icon.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin: 0 5px 3px 0;
}

.footer .footer_btm{
  max-width: 960px;
  margin: 0 auto;
  padding: 100px 20px;
}

.footer .footer_btm .flex_wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer .footer_btm .flex_wrapper .left{
  max-width: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .footer_btm .flex_wrapper .left .sns_list{
  display: flex;
}

.footer .footer_btm .flex_wrapper .left .sns_list .sns_item{
  width: 35px;
  padding: 0 10px;
}

.footer .footer_btm .flex_wrapper .right{
  max-width: 100%;
}

.footer_nav .nav_list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer_nav .nav_item{
  width: 50%;
  border-bottom: 1px solid #e5e5e5;
}

.footer_nav .nav_item a{
  height: 55px;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0 20px;
}

.footer_nav .nav_item a::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 0px;
  width: 5px;
  height: 5px;
  margin-top: 2px;
  transform-origin: 100% 0px;
  transform: rotate(45deg);
  border-top: 1px solid rgb(112, 112, 112);
  border-right: 1px solid rgb(112, 112, 112);
}

.footer_nav .nav_item a::after{
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #3F2E18;
  bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s; /*変形の時間*/
}
  
.footer_nav .nav_item a:hover::after{
  transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

.policy_nav{
  width: 100%;
  height: auto;
  padding: 5px 0;
  background: #757F88;
}

.policy_nav .nav_list{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.policy_nav .nav_item a{
  font-size: 1.2rem;
  display: block;
  color: #fff;
  padding: 5px 20px;
}

.copyright{
  text-align: center;
  font-size: 1.2rem;
  padding: 20px 0;
}

@media screen and (min-width: 768px) {
  .footer .footer_top .flex_wrapper{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer .footer_top .flex_wrapper .left,
  .footer .footer_top .flex_wrapper .right{
    max-width: none;
    width: 45%; 
  }

  .footer .footer_btm .flex_wrapper{
    flex-direction: row;
  }

  .footer .footer_btm .flex_wrapper .left{
    width: 28%;
  }
  
  .footer .footer_btm .flex_wrapper .right{
    width: 65%;
  }

  .footer_nav .nav_list{
    justify-content: flex-end;
  }

  .footer_nav .nav_item{
    width: 30%;
    white-space: nowrap;
  }

  .policy_nav .nav_list{
    flex-direction: row;
  }

  .policy_nav .nav_item{
    margin: 10px 0;
    border-right: 1px solid #e5e5e5;
  }

  .policy_nav .nav_item:first-of-type{
    border-left: 1px solid #e5e5e5;
  }

  .copyright{
    padding: 20px 0;
  }
}

/* 追加 */
@media screen and (min-width:768px) {
	.header_nav .nav_text:before{
	  content: "";
	  position: absolute;
	  top: 0;
	  bottom: 0;
	  width: 0;
	  display: block;
	  background: #23B2BA;
	  z-index: -1;
	  transition: .4s ease;
	}

	.header_nav .nav_text:hover{
	  color: #fff;
	}

	.nav_text:hover:before{
	  width: 100%;
	}
}