@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=Shippori+Mincho&display=swap');

/* common */
a {
  cursor: pointer;
}

a:hover {
  opacity: .7;
}

.ma_b-12 {
  margin-bottom: 12px;
}

.ma_b-40 {
  margin-bottom: 40px;
}

/* coming soon */
body {
  margin: 0;
  display: block;
  width: 100%;
  height: 100vh; 
  background: url('../img/main_bg.png') no-repeat right bottom;
  background-size: 50%;
  background-attachment: fixed;
  color: #222;
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
}

.wrapper {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.footer-img {
  position: absolute;
  right: 10%;
  bottom: 98px;
  width: auto;
  height: 120px;
  margin: auto;
}

/* page start */
.start {
  background: #B84C4A;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9000;
}

.start p {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 9999;
  width: 280px;
  text-align: center;
}

/* header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, #020202 0%, rgba(104, 104, 104, 0.00) 100%);
  z-index: 1;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80%;
  margin: auto;
  padding: 20px 0;
}

.header-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  color: #fff;
}

.header-link-items a {
  display: block;
  padding: 4px;
  font-size: 20px;
}

.header-link-items a:hover {
  opacity: 0.7;
}

.main {
  position: relative;
  width: 100%;
  height: 900px;
  margin-bottom: 80px;
  overflow: hidden;
}
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

.bg1 {
  background: url('../img/main.png') no-repeat center center;
  opacity: 1;
  background-size: cover;
}

.bg2 {
  background: url('../img/main2.png') no-repeat center center;
  background-size: cover;
}

.bg3 {
  background: url('../img/main3.png') no-repeat center center;
  background-size: cover;
}

/* ハンバーガーメニューアイコン */
.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 26px;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* メニューリストのスタイル */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.close-menu::before,
.close-menu::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 3px;
  background: #fff;
  transform-origin: center;
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-menu::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close-menu.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.footer {
  position: sticky;
  top: 100vh;
  width: 100%;
  bottom: 0;
  width: 100%;
  padding: 24px 0;
  background: #222;
  color: #fff;
  text-align: center;
}

.footer-content {
  margin-bottom: 12px;
  font-size: 20px;
}

.copyright {
  font-size: 10px;
}

/* コンテンツ */
.section {
  width: 896px;
  margin: 0 auto 80px;
}

.section a {
  color: #CE003B;
}

.section-title {
  margin-bottom: 32px;
  font-size: 32px;
  text-align: center;
}

.members {
  margin-bottom: 80px;
  padding: 80px 0;
  background: #F5F2EB url(../img/members_bg.svg) no-repeat center;
  background-size: cover;
}

.members .section {
  margin-bottom: 0;
}

.members-item:not(last-of-type) {
  margin-bottom: 8px;
}

.members-item-link {
  display: inline-block;
  position: relative;
  font-size: 22px;
  line-height: 1.5;
}

.date {
  width: 280px;
  margin-right: 12px;
  font-size: 18px;
}

.lock:after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: baseline;
  background: url(../img/lock.svg) no-repeat center;
  background-size: contain;
}

.flex-box {
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  gap: 20px;
  text-align: justify;
}

.flex-box a {
  color: #222;
}

.flex-box-item {
  width: calc((100% - 40px) / 3);
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.flex-box-item.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(80px); /* もっと大きく下から */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.flex-box-item-img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.flex-box-item-title {
  font-size: 20px;
}

.flex-box-item-sub {
  display: flex;
  justify-content: flex-end;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .header {
    height: 70px;
  }

  .header-logo img {
    height: 36px;
  }

  .header-wrapper {
    align-items: flex-start;
    max-width: 100%;
    padding: 20px;
  }

  .hamburger-menu {
    display: flex;
  }

  .header-link {
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 64px 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .header-link.open {
    justify-content: flex-start;
    gap: 12px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    height: 100vh;
  }

  .main {
    max-height: 200px;
    margin-bottom: 40px;
  }

  .section {
    width: 100%;
    margin: -80px auto 40px;
    padding: 80px 16px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .members {
    margin-bottom: 40px;
    padding: 40px 0;
    background-position-x: left;
  }

  .members-item-link {
    flex-flow: wrap;
    font-size: 16px;
  }

  .date {
    width: 100%;
  }

  .flex-box-item {
    width: 100%;
  }

  .flex-box-item a {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .flex-box-item-img {
    width: 25%;
    border-radius: 50%;
  }

  .flex-box-text {
    display: flex;
    flex-flow: column;
    width: 100%;
  }

  .flex-box-item-title {
    font-size: 16px;
  }

  .flex-box-item-sub {
    font-size: 12px;
  }

  iframe {
    width: 100%;
  }
}


@media screen and (max-width: 316px) {
  .footer-img {
    bottom: 110px;
  }
}

/* FAQボット */
.mikoshi-bot-btn {
  position: fixed;
  right: 24px;
  bottom: 40px;
  z-index: 9999;
  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  background: #B84C4A;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  width: 70px;
  height: 70px;
  text-align: center;
}

.mikoshi-bot-btn:hover {
  opacity: 0.8;
}

.mikoshi-bot-panel {
  position: fixed;
  right: 16px;
  bottom: 24px;
  width: 320px;
  max-height: 60vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: none;
  z-index: 9999;
  font-family: system-ui, -apple-system, Segoe UI, Roboto;
}

.mikoshi-bot-header {
  background: #B84C4A;
  color: #fff;
  padding: 10px 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mikoshi-bot-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.mikoshi-bot-close:hover {
  opacity: 0.7;
}

.mikoshi-bot-body {
  padding: 10px;
  height: 300px;
  overflow: auto;
  border-bottom: 1px solid #eee;
}

.mikoshi-bot-msg {
  margin: 8px 0;
  line-height: 1.5;
}

.mikoshi-bot-container {
  display: flex;
  justify-content: flex-end;
}

.mikoshi-bot-msg.user {
  text-align: right;
  color: #222;
  padding: 12px 20px;
  background: #f8eeeb;
  border-radius: 12px;
  margin: 0 12px 12px auto;
  position: relative;
  width: auto;
  max-width: 80%;
}

.mikoshi-bot-msg.user::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% - 10px);
  margin-top: -10px;
  border: 10px solid transparent;
  border-left: 20px solid #f8eeeb;
}

.mikoshi-bot-msg.bot {
  color: #222;
  padding: 12px 20px;
  background: #eee;
  border-radius: 12px;
  margin: 0 auto 12px 12px;
  position: relative;
  max-width: 90%;
}

.mikoshi-bot-msg.bot::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% - 10px);
  margin-top: -10px;
  border: 10px solid transparent;
  border-right: 20px solid #eee;
}

.mikoshi-bot-input {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: #fafafa;
}

.mikoshi-bot-input input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.mikoshi-bot-input button {
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  background: #B84C4A;
  color: #fff;
  cursor: pointer;
}

.mikoshi-bot-input button:hover {
  opacity: 0.8;
}

.mikoshi-bot-link {
  color: #b84c4a;
  text-decoration: underline;
}

.hr {
  margin: 40px 0;
  border-bottom: 2px solid #222222;
}
