@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

/* CSS Document */

.menu {
  display: flex;
  justify-content: flex-end;


}

.header {
  display: flex;
  margin: 0 auto;
  max-width: 1300px;
  justify-content: space-between;
  margin-top: 35px;
  margin-bottom: 20px;
}

.menu a {
  margin: 0 20px;
  text-decoration: none;
}

.menu ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  margin: 0;
}

.menu a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

body {
  background: #ffffff;
}


.main p {
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  margin-top: 120px;
  margin-bottom: 30px;
}

.item p {
  font-size: 10px;
  ;
}

.item dt {
  font-size: 10px;
  ;
}

.picture img {
  width: 100%;
}

.mainpicture {
  display: flex;
}

.maincontents img {
  width: 100%;
  height: auto;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

iframe {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}

.scroll-infinity li {
  margin: 20px;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: calc(100vw / 6);
}

.scroll-infinity__item>img {
  width: 100%;
}

.sub p {
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  margin-top: 120px;
  margin-bottom: 30px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1300px;
  /* ←ここで大きさコントロール */
  margin: 0 auto;
  gap: 12px;

}



.gallery {
  grid-auto-flow: dense;
}

.wide {
  grid-column: span 2;
}

.wide img {
  aspect-ratio: 2 / 1;
}

.gallery {
  grid-auto-flow: dense;
}

.item {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-radius: 0;
  background: #fff;
  transition: 0.3s;
}

.item:hover {
  transform: translateY(-5px);
  /* ちょい浮く */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.item {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 12px;
  background: #fff;
  transition: 0.3s;
}

.item:hover {
  transform: translateY(-5px);
  /* 浮く */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}




/* スマホ用（画面が小さいとき） */
@media (max-width: 770px) {
  .gallery {
    grid-template-columns: 1fr;
    /* 1列にする */
  }
}

@media (max-width: 770px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: span 1;
  }

  .wide img {
    aspect-ratio: 1 / 1;
  }
}

.gallery img {
  width: 100%;
  object-fit: cover;
}

.item img {
  aspect-ratio: 1 / 1;
}

.wide img {
  aspect-ratio: 2 / 1;
}

.map p {
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  margin-top: 120px;
  margin-bottom: 30px;
}

iframe {
  width: 100%;
}

.tizu {
  max-width: 1000px;
  /* 横幅を制限 */
  margin: 40px auto;
  margin-bottom: 30px;
  /* 上下40px + 中央寄せ */
  padding: 0 20px;
  /* 左右に余白 */
}

.footer img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  padding-bottom: 50px;
  background-color: black;
}

.main-visual {
  position: relative;
}

.main-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  /* ← 白の強さ */
}


.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: black;
  font-size: 40px;
  font-weight: bold;
}

.contact-btn {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 28px;
  background: #e94a64;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;

  border-radius: 6px;
  transition: 0.3s;
}

/* ← 外に出す！ */
.contact-btn:hover {
  background: #d63b54;
  transform: translateX(-50%) translateY(-2px);
}

.icon {
  font-size: 20px;
}

.text {
  z-index: 2;
}

.contact-btn {
  z-index: 2;
}

.hamburger {
  display: none;
}

/* スマホ */
@media (max-width: 770px) {

  .hamburger {
    display: block;
    position: fixed;
    z-index: 1000;
    right: 13px;
    top: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }

  .hamburger span {
    position: absolute;
    width: 40px;
    height: 3px;
    background: #000;
    left: 0;
    transition: 0.4s;
  }

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

  .hamburger span:nth-child(2) {
    top: 20px;
  }

  .hamburger span:nth-child(3) {
    top: 30px;
  }

  /* ✖アニメ */
  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg);
    top: 18px;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg);
    top: 18px;
  }

  /* メニュー本体 */
  .menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .menu.active {
    opacity: 1;
    visibility: visible;
  }

  .menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
  }

  .menu li {
    margin: 20px 0;
  }

  .menu a {
    color: white;
    font-size: 20px;
    text-decoration: none;
  }
}

.menu ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 770px) {

  .menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: 0.3s;
  }

  .menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}




.footer-visual {
  position: relative;
}

.footer-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
}

.text,
.contact-btn {
  position: absolute;
  z-index: 2;
}

.footer-visual {
  position: relative;
}

/* 白モヤ */
.footer-visual::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 100%;
  /* ←ここ重要（下までいかないようにする） */
  background: rgba(255, 255, 255, 0.5);

  pointer-events: none;
  z-index: 1;
}

.footer img {
  background-color: #000;
}