@charset "UTF-8";
/*共通*/

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

.container {
  margin-left: auto;
  margin-right: auto;
  line-height: 0;
  max-width: 750px;
}

img {
  width: 100%;
}

.iframe {
  width: 90%;
  height: auto;
  margin: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  position: relative;
}

/* ハンバーガーメニュー */
.fv {
  position: relative;
}

.hamburger-menu {
  position: fixed;
  top: 50px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  border-radius: 4px;
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.hamburger-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  overflow: hidden;
  transition: width 0.3s ease;
}

.hamburger-nav.active {
  width: 70%;
  max-width: 300px;
}

.hamburger-nav ul {
  list-style: none;
  padding: 80px 20px 20px;
  margin: 0;
}

.hamburger-nav li {
  margin-bottom: 20px;
}

.hamburger-nav a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  font-family: sans-serif;
  transition: opacity 0.3s ease;
}

.hamburger-nav a:hover {
  opacity: 0.7;
}

/* section4 */
.sec4__relativ {
  position: relative;
  background-color: #191717;
  padding-top: 23%;
}

.sec4__abso-1 {
  position: absolute;
  width: 94%;
  left: 3%;
  top: 0;
  z-index: 99;
}

.sec4__iframe-wrap {
  width: 93%;
  position: relative;
  padding-top: 56.25%;
  margin: auto;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sec4__text {
  color: #fff;
  font-size: 12px;
  font-family: sans-serif;
  padding: 4% 0% 4% 3%;
}

/* yoyaku section */
.yoyaku {
  width: 100%;
  line-height: 1.5;
  overflow: hidden;
}

.yoyaku iframe {
  width: 100% !important;
  height: 2250px;
  border: none;
  display: block;
  position: relative !important;
  top: auto !important;
  left: auto !important;
}

/* アコーディオン全体のスタイリング */
.accordion {
  margin-bottom: 10%;
}

/* アコーディオンのヘッダー部分のスタイリング */
.accordion-header {
  padding: 0px;
  cursor: pointer;
  outline: none;
  position: relative; /* 矢印アイコンの位置調整のため */
  list-style: none; /* デフォルトの矢印を消す */
}

details summary::-webkit-details-marker {
  display: none;
}

/* アコーディオンのコンテンツ部分のスタイリング */
.accordion-content {
  padding: 15px 0px;
  line-height: 1.5;
  background-color: #fff;
}

/* アイコン（＋/ー）のスタイル */
.accordion-header::after {
  content: "+";
  font-size: 13px;
  font-weight: bold;
  transition: transform 0.2s;
  color: #fff;
  background-color: #000;
  border-radius: 50%;
  padding: 0px 4px 2px;
  position: relative;
  top: -30px;
  left: 85%;
  z-index: 999;
}

/* detailsタグが開いた状態[open]のときのスタイル */
.accordion[open] > .accordion-header::after {
  content: "−"; /* マイナス記号に変更 */
  transform: rotate(180deg); /* アニメーション効果（任意） */
}

/*-----btn-----*/
.btn-wrap {
  position: sticky;
  bottom: -3%;
  width: 80%;
  max-width: 750px;
  z-index: 9999;
  margin: auto;
}

a img:hover {
  transform: scale(1.2);
}

/* footer */
footer {
  background-color: #000;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 15px 10px;
  line-height: 2;
  font-size: 12px;
  text-align: center;
  font-family: sans-serif;
}

@media screen and (min-width: 750px) {
  /*-----pc-----*/

  /* PC表示時のハンバーガーメニューを固定ナビゲーションボックスに変更 */
  .hamburger-menu {
    display: none;
  }

  .hamburger-nav {
    position: fixed;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: auto !important;
    height: auto !important;
    background: #fff;
    border-radius: 0;
    z-index: 1000;
    overflow: visible;
    transition: none;
    display: block !important;
  }

  .hamburger-nav.active {
    width: auto !important;
    max-width: none;
  }

  .hamburger-nav ul {
    padding: 40px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hamburger-nav li {
    margin-bottom: 0;
  }

  .hamburger-nav a {
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 12px 12px;
    font-family: sans-serif;
    transition: opacity 0.3s ease;
    white-space: nowrap;
  }

  .hamburger-nav a:hover {
    opacity: 0.8;
    background-color: rgba(216, 255, 22, 0.4);
  }

  /* PC表示時は常に表示 */
  .hamburger-nav {
    width: auto;
  }

  .sec4__text {
    font-size: 16px;
  }

  /*-----btn-----*/
  .btn-wrap {
    bottom: -4%;
    width: 100%;
    max-width: 500px;
    /*left: 50%; transform: translateX(-50%);*/
    margin: auto;
  }

  /* アイコン（＋/ー）のスタイル */
  .accordion-header::after {
    font-size: 22px;
    border-radius: 50%;
    padding: 0px 10px 2px;
    top: -57px;
    left: 85%;
  }

  footer {
    font-size: 16px;
  }

  .yoyaku iframe {
    height: 2250px;
  }
}
