/* フォント設定 */
@font-face {
  font-family: "ZenMaruGothic";
  src: url("./assets/fonts/ZenMaruGothic-Medium-subset.woff2") format("woff2"),
    url("./assets/fonts/ZenMaruGothic-Medium-subset.woff") format("woff"),
    url("./assets/fonts/ZenMaruGothic-Medium-subset.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ZenMaruGothic";
  src: url("./assets/fonts/ZenMaruGothic-Bold-subset.woff2") format("woff2"),
    url("./assets/fonts/ZenMaruGothic-Bold-subset.woff") format("woff"),
    url("./assets/fonts/ZenMaruGothic-Bold-subset.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: "ZenMaruGothic", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
  background-color: #fff;
}

/* リストのスタイルリセット */
ul,
ol {
  list-style: none;
}

/* リンクのスタイルリセット */
a {
  text-decoration: none;
  color: inherit;
}

/* 画像の基本設定 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ボタンのリセット */
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* フォーム要素のリセット */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* 基本レイアウト */
.main-content {
}

section {
}

h1,
h2,
h3,
h4,
h5,
h6 {
}

p {
}

/*ユーティリティ*/
.text-sm {
  font-size: 0.8em;
}
.text-tip {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  font-size: 0.8rem;
  margin: 0 0.5rem;
  background-color: #fffcdc;
  font-weight: bold;
}
.text-italic {
  font-style: italic;
}
.content-frame {
  position: fixed;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* 動的ビューポート高さ（対応ブラウザ用） */
  top: 0;
  left: 0;
  z-index: 2000;
  border: 0.75rem solid #e7623a;
  border-left-color: #0090b1;
  border-right-color: #fac539;
  border-bottom-color: #0085c7;
  pointer-events: none;
}
.break-keep {
  word-break: keep-all;
}

/*セクション*/
.section-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}
@media (min-width: 768px) {
  .hero-section {
    aspect-ratio: 16/9;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-black-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 10;
}

.hero-contents {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  color: white;
}

.hero-subtitle {
  font-size: 3vw;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.75vw;
  }
}

.hero-title {
  font-size: 9vw;
  line-height: 1;
  color: #ffe600;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 6vw;
  }
}

.hero-subtitle-jp {
  font-size: 4vw;
  color:#ffe600;
}
@media (min-width: 768px) {
  .hero-subtitle-jp {
    font-size: 2vw;
  }
}

.hero-opening {
  margin-top: 1rem;
  display: inline-block;
  position: relative;
  z-index: 10;
  line-height: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  background: #f57a78;
  color: #fff;
  font-size: 4vw;
}
.hero-opening span {
  position: relative;
  z-index: 10;
}

.hero-opening:before,
.hero-opening:after {
  position: absolute;
  z-index: -10;
  content: "";
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #f57a78;
}
.hero-opening:before {
  transform: skewX(25deg);
}
.hero-opening:after {
  transform: skewX(-25deg);
}
@media (min-width: 768px) {
  .hero-opening {
    font-size: 3vw;
  }
}

/* バナーセクション */
.banner-section {
  position: relative;
  z-index: 10;
  padding: 0 0 2rem 0;
  text-align: center;
  background-color: #fffcdc;
}
.banner-pic {
  margin-top: -3rem;
}
.banner-section .section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .banner-section {
    padding: 0 0 4rem 0;
  }
}

.banner-contents {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}

.banner-text {
  font-weight: bold;
  color: #06c755;
}

.banner-button {
}

/* イベントセクション */
.event-section {
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .event-section {
    margin-top: 4rem;
  }
}

.event-list {
}

.event-header {
  position: relative;
  padding: 1rem 0;
  width:100%;
  text-align: center;
  border-top: 1px solid #e7623a;
}

.event-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background-color: #e7623a;
}

.event-header::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #e7623a;
}

.event-title {
  color: #e7623a;
  line-height: 1.4;
}

.event-subtitle {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 2rem;
  border-radius: 10rem;
  background-color: aliceblue;
  font-size: 1rem;
  line-height: 1.2;
}

.event-details {
  text-align: center;
}

.detail-term {
  display: inline-block;
  margin-top: 1rem;
  background-color: #f9c64c;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.2rem 1rem;
  border-radius: 10rem;
}

.detail-description {
  margin-top: 0.5rem;
}
.event-cap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  padding-left: 0.8rem;
  text-indent: -0.8rem;
}

.event-image {
}

.event-img {
}

/* リンクセクション */
.links-section {
  margin-top: 2rem;
  padding: 2rem 0;
  background-color: #fffcdc;
}
.links-section .section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .links-section {
    margin-top: 4rem;
    padding: 4rem 0;
  }
}

.links-list {
}

.link-button {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 680px;
  padding: 1rem 2rem;
  background-color: #06c755;
  color: white;
  border-radius: 100rem;
  line-height: 1.2;
  font-weight: bold;
  text-align: left;
  transition: all 0.2s ease-in-out;
}
.link-button:hover {
  transform: scale(1.03);
}
.button-icon {
  color: white;
  width: 2rem;
  height: 2rem;
  fill: #fff;
  filter: brightness(0) invert(1);
}

.pdf-link {
  background-color: #e7623a;
  justify-content: space-between;
}

.line-link {
  background-color: #e7623a;
  justify-content: space-between;
}

.instagram-link {
  background-color: #e7623a;
  justify-content: space-between;
}

/* フッター */
.footer {
  background-color: #343a40;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
}

.footer-text {
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
  html {
    font-size: 20px;
    line-height: 1.6;
  }
}
/* トップへ戻るボタン */
.scroll-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background-color: #e7623a;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: #c54a2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
  transform: translateY(0);
}
