/*!
Theme Name: rubisupo
*/

/*************************
* header
*************************/
#masthead {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 80px;
  height: var(--header-height);
  background-color: var(--main-black);
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  max-width: 131px;
  height: auto;
  width: 100%;
  margin-left: 60px;
}

.header-copy {
  font-size: var(--fz-13);
  margin-left: var(--sp-20);
}

.pc-header-menu .menu-list {
  display: flex;
  font-size: var(--fz-16);
  font-weight: 500;
  align-items: center;
}

.pc-header-menu .menu-list li + li {
  margin-left: var(--sp-20);
}

.pc-header-menu .contact-menu {
  font-weight: 700;
  height: var(--header-height);
  border: 1px solid #fff;
  display: grid;
  place-items: center;
  /* padding: 0 25px; */
  opacity: 1;
  transition: 0.3s;
}

.pc-header-menu .contact-menu a {
  display: block;
  padding: 1.5em;
}

.pc-header-menu .contact-menu:hover {
  background-color: #fff;
  color: var(--main-black);
  border: 1px solid #fff;
}

.sp-header-menu {
  display: none;
}

.sp-menu-btn {
  position: absolute;
  /* position: fixed; */
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: var(--main-green);
  width: 50px;
  height: 50px;
  z-index: 20;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hamburger {
  width: 28px;
  height: 20px;
  z-index: 20;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  /* background-color: var(--main-green); */
  transition: 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
  width: 70%;
  transform: translateX(40%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.hamburger.active span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(100%);
}

.sp-header-menu .sp-header-nav {
  position: fixed;
  color: #fff;
  z-index: 11;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  width: 100%;
  height: 100vh;
  padding: 50px 10px;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition:
    transform 0.5s ease,
    -webkit-transform 0.5s ease;
}
.sp-header-menu .sp-header-nav.active {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}
.sp-header-menu .sp-header-nav li {
  padding: 1.5em 1em;
}
.sp-header-menu .sp-header-nav li:not(:last-of-type) {
  border-bottom: 1px solid #fff;
}
/*************************
* mv-top
*************************/
.mv-top {
  position: relative;
}

.mv {
  height: 50vw;
  max-height: 720px;
}

.mv-top .slide01 {
  background-image: url(img/slideimage01.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide02 {
  background-image: url(img/slideimage02.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide04 {
  background-image: url(img/slideimage04.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide05 {
  background-image: url(img/slideimage05.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide06 {
  background-image: url(img/slideimage06.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide07 {
  background-image: url(img/slideimage07.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide08 {
  background-image: url(img/slideimage08.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide09 {
  background-image: url(img/slideimage09.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide11 {
  background-image: url(img/slideimage11.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide12 {
  background-image: url(img/slideimage12.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide13 {
  background-image: url(img/slideimage13.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide14 {
  background-image: url(img/slideimage14.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide16 {
  background-image: url(img/slideimage16.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mv-top .slide17 {
  background-image: url(img/slideimage17.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.mv-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0) 60%
  );
  z-index: 5;
}

.mv-overlay {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  right: 10%;
  color: #fff;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mv-overlay p {
  margin-top: 1em;
  padding: 0 1em;
}

.mv-title {
  font-size: clamp(0.85rem, 2vw, 1.5rem);
  font-weight: 400;
  font-family: "Noto Serif JP", serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.mv-title span {
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 500;
}

.mv-logo {
  max-width: 300px;
  width: 50%;
  margin-top: 1em;
}

.mv-copy {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(0.85rem, 3vw, 2.5rem);
  font-weight: 400;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-top: 1em;
}

/*************************
* calendar
*************************/
#calendar {
  background-image: url(img/calendar-backimage01.jpg);
  background-size: cover;
}

#calendar .ad {
  max-width: 400px;
  width: 80%;
  text-align: center;
  margin: 0 auto var(--sp-50);
}

@media screen and (max-width: 800px) {
  #calendar .ad {
    max-width: 300px;
  }
}

.calendar-wrap {
  position: relative;
  padding-top: 75%;
  margin-top: var(--sp-50);
}
.calendar-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#calendar p:first-of-type {
  text-align: center;
  margin-top: .5em;
}

/*************************
* service
*************************/
#service {
  background-color: var(--main-black);
}

#service .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-50);
}

#service .left {
  width: 60%;
}

#service .items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

#service .right {
  width: 40%;
  margin-left: var(--sp-50);
}

#service .right ul {
  list-style-type: disc;
  padding-left: 1.5em;
}

#service .right li {
  font-size: var(--fz-16);
  font-weight: 500;
  line-height: 1.8em;
}

#service .right p {
  font-size: var(--fz-16);
  font-weight: 500;
  margin-top: 2em;
}

/*************************
* information
*************************/
#info {
  background-image: url(img/info-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#info p {
  font-weight: 400;
}

#info p span {
  font-weight: 700;
}

#info .wrap {
  margin-top: var(--sp-50);
}

#info .top {
  display: flex;
  gap: 20px;
}

#info .top .left {
  max-width: 420px;
}

#info .top span {
  color: red;
}

#info .bottom {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-100);
  gap: 20px;
}

#info .bottom .left,
#info .bottom .right {
  width: 50%;
}

#info .payment {
  padding: 0.5em 0;
  max-width: 533px;
  width: 100%;
}

#info .map {
  position: relative;
  width: 100%;
  padding-top: 75%;
}

#info .map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*************************
* contact
*************************/
#contact {
  padding-top: 0;
}

#contact p {
  text-align: center;
}

#contact .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--sp-20);
  gap: var(--sp-50);
}

#contact .left,
#contact .right {
  max-width: 320px;
  width: 100%;
  display: block;
}

#contact .btn {
  font-size: var(--fz-24);
  font-family: "Hepta Slab", serif;
  font-weight: 500;
  display: block;
  padding: 0.5em;
  transition: 0.3s;
}

#contact .btn:hover {
  background-color: #fff;
  color: var(--main-black);
}

#contact .btn span {
  font-size: var(--fz-16);
  font-weight: 500;
}

#contact .tel {
  background-color: var(--gray);
}

/*************************
* company
*************************/
#company {
  background-image: url(img/company-back04.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

#company h2.inter {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 700;
}

#company .top {
  max-width: 936px;
  width: 100%;
  margin: var(--sp-120) auto 0;
  border: 1px solid #fff;
  padding: var(--sp-50);
}

#company .top table {
  font-weight: 400;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.875;
}

#company .middle {
  margin: var(--sp-120) auto 0;
}

#company .middle table {
  font-weight: 400;
  max-width: 540px;
  width: 100%;
  line-height: 1.875;
  margin: var(--sp-50) auto 0;
}

#company .top th {
  font-weight: 400;
}

#company .bottom {
  max-width: 936px;
  width: 100%;
  margin: var(--sp-120) auto 0;
  padding: var(--sp-50);
  background-color: rgba(17, 17, 17, 0.8);
}

#company .wrap {
  display: flex;
  align-items: center;
  margin-top: var(--sp-50);
  gap: 40px;
}

#company .wrap .left {
  max-width: 168px;
}

#company .greeting {
  font-weight: 400;
  line-height: 1.875;
}

#company .greeting span {
  font-weight: 500;
  font-size: var(--fz-20);
  display: inline-block;
  margin-bottom: 0.7em;
}

/*************************
* news
*************************/
#news {
  background-image: url(img/news-bg.png);
  background-size: contain;
  background-repeat: repeat;
}

#news .news-list {
  max-width: 615px;
  width: 100%;
  margin: var(--sp-50) auto 0;
}

#news .news-item {
  display: grid;
  grid-template-columns: 80px 1fr;
}

#news .more {
  margin-top: var(--sp-50);
}

#news .more a {
  text-align: right;
  display: block;
  transition: 0.3s;
}

#news .more a:hover {
  opacity: 0.8;
}

/*************************
* contact
*************************/
.cta-top {
  background-color: #f5f5f5;
  color: var(--main-black);
  position: relative;
}

.cta-top::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 25px solid #f5f5f5;
}

.cta-top p {
  padding: 2em 1em;
  width: fit-content;
  margin: 0 auto;
}

.btn.cta {
  max-width: 460px;
  margin: var(--sp-50) auto 0;
  font-size: var(--fz-40);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 20px;
  padding: 0.5em;
  transition: 0.3s;
}

.btn.cta:hover {
  background-color: #fff;
  color: var(--main-black);
}

.btn.cta span {
  font-size: var(--fz-24);
  font-family: "Inter", "Noto Sans JP", sans-serif;
}

/************************
* footer
*************************/
footer {
  background-image: url(img/footer-bg02.png);
  background-size: cover;
  position: relative;
  padding-top: 80px;
}

footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background-image: url(img/footer-bg01.png);
  background-size: contain;
  background-position: center top;
  background-repeat: repeat-x;
}

.cat-stage {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: hidden;
  margin-bottom: 10px;
}

#cat, #ball {
  transition: opacity 0.4s linear;
}

.cat-note {
  font-size: 10px;
  padding: 1em;
  text-align: right;
}

/* 猫（高さ基準でレスポンシブ） */
.cat {
  position: absolute;
  bottom: 0;
  height: clamp(70px, 9vw, 110px);
  /* height: clamp(80px, 10vw, 120px); */
  width: auto;
  will-change: transform, left;
}

/* ピンポン玉 */
.ball {
  position: absolute;
  bottom: 8px;
  height: clamp(18px, 3vw, 30px);
  width: auto;
  will-change: left;
}

footer .footer-nav {
  display: flex;
  flex-direction: column;
  /* min-height: 200px; */
}

footer ul {
  display: flex;
  justify-content: center;
  gap: var(--sp-50);
  margin-top: auto;
}

footer li {
  font-weight: bold;
}

footer .bottom {
  font-size: 12px;
  text-align: center;
  margin-top: 1em;
}

/******************************
* go-to-top
*****************************/
#go-to-top {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: relative;
  z-index: 100;
}

.go-to-top {
  display: block;
  position: fixed;
  bottom: 2%;
  right: 1%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
}

.go-to-top i {
  color: var(--main-black);
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  line-height: 35px;
  transition: 0.3s;
}

.go-to-top:hover i {
  color: var(--gray);
}

/*************************
* ここからページ
*************************/
/**************************
* contact-page
**************************/
/***********************
* contact
************************/
#page-contact {
  padding-top: var(--sp-50);
}

#page-contact .contact-wrap {
  width: 100%;
  margin: var(--sp-50) auto 0;
}

#page-contact .contact {
  margin-top: var(--sp-50);
  width: 100%;
}

#page-contact .contact div {
  display: flex;
  /* align-items: center; */
  padding: 1.5em 0;
}

#page-contact .contact dt {
  font-weight: bold;
  width: 20%;
  border-top: 1px solid #fff;
  padding-top: 1.5em;
  letter-spacing: 0.1em;
}

#page-contact .contact dt span {
  padding-top: 1em;
  display: block;
  font-size: var(--fz-16);
  letter-spacing: normal;
}

#page-contact .contact dd {
  width: 80%;
  margin-left: var(--sp-50);
}

#page-contact .contact input[type="text"],
#page-contact .contact input[type="email"],
#page-contact .contact input[type="tel"],
#page-contact .contact textarea {
  /* border: 1px solid #ccc; */
  width: 100%;
  padding: 1.5em;
  border: none;
}

#page-contact .contact input::placeholder {
  color: #a5a5a7;
}

#page-contact p {
  text-align: center;
}

.btn_contact input[type="submit"] {
  background-color: #fff;
  color: var(--main-black);
  border: 3px solid var(--main-black);
  font-size: var(--fz-24);
  font-weight: bold;
  max-width: 590px;
  width: 80%;
  padding: 1em;
  margin: 1em auto 0.5em;
  display: block;
  transition: 0.1s;
  letter-spacing: 0.1em;
}

.btn_contact input[type="submit"]:hover {
  background-color: var(--main-black);
  color: #fff;
  border: 3px solid #fff;
}

#page-contact a {
  color: var(--link-color);
  display: block;
  width: fit-content;
  width: -moz-fit-content;
  margin: 0 auto;
}

/*************************
* privacy-policy-page
*************************/
#page-privacy-policy .caption {
  text-align: center;
}

#page-privacy-policy h3 {
  padding: 1em 0;
}

#page-privacy-policy h4 {
  padding: 1em 0;
}

#page-privacy-policy li:not(:first-of-type) {
  margin-top: var(--sp-50);
}

#page-privacy-policy .small-list li {
  text-indent: -1em;
  padding-left: 1em;
  margin-left: 2em;
  margin-top: 1em;
}

/*************************
* お知らせ一覧ページ
*************************/
#news-archive .news-list {
  max-width: 615px;
  width: 100%;
  margin: var(--sp-50) auto 0;
}

#news-archive .news-item {
  display: grid;
  grid-template-columns: 80px 1fr;
}