@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Felipa&family=Zen+Maru+Gothic:wght@500&display=swap");

#vdbanner{
  width: 0;
  height: 0;
}


* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fffdf1;
  color: #8b4e13;
}

.header {
  background-color: #000;
  color: #fffdf1;
  width: 100%;
  position: relative;
  z-index: 1000;
}

.header h1 .jp {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 30px;
}

.header h1 .en {
  font-family: "Felipa", cursive;
  font-size: 30px;
}

.header .logo {
  width: 200px;
}

.header .logo-list {
  display: flex;
  align-items: flex-end;
}

.header .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.header ul {
  display: flex;
  gap: 50px;
  margin-right: 50px;
}

.header a {
  color: #fffdf1;
  font-weight: bold;
  font-size: 30px;
  font-family: "Felipa", cursive;
}

.header a:hover {
  text-decoration: underline;
}

/* フッタースタート */

.footer {
  background-color: #000;
  width: 100%;
  height: 658;
  margin-top:50px;
  padding-bottom: 10px;
}

.footer .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .logo img {
  width: 300px;
}

.footer-info p {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fffdf1;
  margin: 10px 0;
  font-size: 30px;
}

.footer-links ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 100px 0;
}

.footer-links a {
  color: #fffdf1;
  font-size: 24px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyright p {
  color: #fffdf1;
  font-size: 24px;
}

/* メインビジュアル */
.main {
  position: relative;
  text-align: center;
}

.main img {
  width: 100%;
  height: auto;
  display: block;
}

.main h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  font-weight: bold;
  color: #fffdf1;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  font-family: "Zen Maru Gothic", sans-serif;
}

/* タイトルの猫耳 */
.section-title {
  position: relative;
  background-color: #8b4e13;
  color: #fffdf1;
  text-align: center;
  padding: 30px 0;
  border-radius: 60px;
  font-weight: bold;
  max-width: 80%;
  margin: 100px auto 50px;
}

.section-title .jp {
  font-family: "Zen Maru Gothic", sans-serif;
  margin-right: 12px;
}

.section-title .en {
  font-family: "Felipa", cursive;
  display: inline-block;
  vertical-align: middle;
}

.section-title h2 {
  font-size: 48px;
  font-family: "Zen Maru Gothic", "Felipa", cursive, sans-serif;
}

/* ▼下向きの三角形に変更 */
.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: -80px;
  /* 少し上に配置 */
  border-style: solid;
  border-width: 0 100px 80px 100px;
  /* 下向き三角形 */
  border-color: transparent transparent #8b4e13 transparent;
}

/* 左右の位置 */
.section-title::before {
  left: 130px;
}

.section-title::after {
  right: 130px;
}

/* VIEW MOREのボタン */

.section-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn {
  display: flex;
  width: 350px;
  height: 100px;
  background-color: #ffba00;
  color: #000;
  border-radius: 25px;
  font-size: 24px;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  margin: 50px 0 0 0;
  transition: 0.3s;
}

/* hover時の効果 */
.btn:hover {
  background-color: #ff9a00;
}

/* ==========================
   ハンバーガーメニュー
   ========================== */
.hamburger {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fffdf1;
  border-radius: 2px;
  transition: 0.3s;
}

/* トップへ戻るボタン（茶色の丸型） */
#to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: #8b4e13; /* 茶色 */
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#to-top-btn img {
  width: 40%;
  height: auto;
  filter: brightness(100%) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s, filter 0.3s;
}

/* ホバー時の効果 */
#to-top-btn:hover {
  background-color: #a86426; /* 少し明るい茶色 */
  transform: translateY(-5px);
}

#to-top-btn:hover img {
  transform: scale(1.1);
  filter: brightness(110%);
}

/* スクロールで表示 */
#to-top-btn.show {
  opacity: 1;
  visibility: visible;
}


/* レスポンシブ対応スタート */
@media screen and (max-width:1200px) {
  .header .logo{
    width: 140px;
  }

  .header h1 .jp,
  .header h1 .en {
    font-size: 18px;
  }

}


@media screen and (max-width: 1024px) {
  .header {
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
    padding: 15px 0;
}

  .header .logo-list {
    display: flex;
    align-items: flex-end;
  }

  .header h1 {
    margin-bottom: 20px;
  }

  body {
    padding-top: 150px;
  }

  .header .logo {
    width: 140px;
  }

  .header h1 .jp,
  .header h1 .en {
    font-size: 18px;
  }

/* ヘッダー小さくするやつ */

  .header.shrink{
    padding: 3px 0;
  }

  .header.shrink .logo{
    width: 85px;
    transition: width 0.3s ease;
  }

  .header.shrink h1 .jp,
  .header.shrink h1 .en {
    font-size: 14px; 
    transition: font-size 0.3s ease;
  }

  /* ナビリンクは最初は非表示 */
  .header-links {
    display: none;
    flex-direction: column;
    background-color: #000;
    position: absolute;
    top: 100%; /* ヘッダーの下に表示 */
    right: 0;
    width: 200px;
    padding: 20px;
  }

  /* ハンバーガーON時に表示 */
  .header-links.active {
    display: flex;
  }

  /* ハンバーガーボタンを右側に固定 */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    cursor: pointer;
    gap: 8px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 6px;
    background: #fffdf1;
    border-radius: 3px;
    transition: 0.3s;
    transform-origin: center;
  }

  /* PC用ナビの横並びは解除 */
  .header ul {
    flex-direction: column;
    gap: 20px;
    margin: 0;
  }

  /* ハンバーガーがアクティブ（×状態）のとき */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0; /* 真ん中の線を消す */
  }

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

  /* メインスタート */
  .main h2 {
    font-size: 30px;
  }

  /* フッタースタート */
  .footer {
    background-color: #000;
    color: #fffdf1;
    text-align: center;
    padding: 30px 20px 10px;
  }

  .footer .logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
  }

  .footer-info p {
    font-size: 15px;
    line-height: 1.8;
  }

  .copyright p {
    margin-top: 20px;
    font-size: 14px;
  }

  .footer-links ul{
    margin: 50px 0 70px;
    gap: 40px;
  }

  .footer-links a{
    font-size: 14px;
  }

  /* タイトルの猫の耳 */

  .section-title {
    border-radius: 50px;
    max-width: 90%;
    margin: 60px auto 30px;
    padding: 15px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title::before,
  .section-title::after {
    content: "";
    position: absolute;
    top: -39px;
    /* 少し上に配置 */
    border-style: solid;
    border-width: 0 50px 40px 50px;
    /* 下向き三角形 */
    border-color: transparent transparent #8b4e13 transparent;
  }

  /* 左右の位置を調整（スマホ用に中央寄せ） */
  .section-title::before {
    left: 50px; /* PC時の130pxより小さめ */
  }

  .section-title::after {
    right: 50px; /* 同じく小さめ */
  }

  /* VIEW MOREのボタン */
  .btn {
    width: 160px;
    height: 60px;
    font-size: 16px;
    margin: 0;
  }

  /* トップへ戻るボタン */
  #to-top-btn {
    width: 50px;
    height: 50px;
  }
  
  #to-top-btn img {
    width: 30%;
  }

}
