@charset "UTF-8";

/* ========================================
   リセット・共通スタイル
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

a:active {
  opacity: 0.6;
}

/* ========================================
   メインコンテナ
======================================== */
.ehou-wrapper {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-image: url("../images/ehou-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.ehou-container {
  width: 100%;
  max-width: 1080px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ========================================
   ヘッダー装飾
======================================== */
.ehou-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.ehou-header__image {
  width: 35vw;
  max-width: 380px;
  height: auto;
}

/* ========================================
   メインコンテンツ
======================================== */
.ehou-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15% 5% 10%;
  position: relative;
  z-index: 10;
}

/* タイトル */
.ehou-title {
  width: 70%;
  max-width: 500px;
  margin-bottom: 8%;
  text-align: center;
  position: relative;
  z-index: 10;
}

.ehou-title__image {
  width: 100%;
  height: auto;
}

/* ボタンエリア */
.ehou-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 5vw, 50px);
  position: relative;
  z-index: 10;
}

/* ボタン共通 */
.ehou-btn {
  display: block;
  width: 70%;
  max-width: 550px;
}

.ehou-btn__image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ehou-btn:hover .ehou-btn__image {
  transform: scale(1.02);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* ========================================
   フッター装飾
======================================== */
.ehou-footer {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.ehou-footer__image {
  width: 45vw;
  max-width: 480px;
  height: auto;
}

/* ========================================
   注意書き
======================================== */
.ehou-notes {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 10% 0;
  list-style: none;
  z-index: 10;
}

.ehou-notes__item {
  font-size: 1.8rem;
  color: #666;
  line-height: 2;
}

.ehou-notes__item::before {
  content: "※";
}

/* ========================================
   モーダル共通
======================================== */
.ehou-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ehou-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.ehou-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.ehou-modal__content {
  position: relative;
  z-index: 1001;
}

/* 動画モーダル（1920x1080） */
.ehou-modal__content--video {
  width: 1920px;
  max-width: 95vw;
  aspect-ratio: 16 / 9;
  max-height: 90vh;
}

.ehou-modal__video {
  width: 100%;
  height: 100%;
  background-color: #000;
}

.ehou-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.ehou-modal__close:hover {
  opacity: 0.7;
}

/* ========================================
   メディアクエリ - PC（1025px以上）
======================================== */
@media screen and (min-width: 1025px) {
  .ehou-header {
    position: fixed;
  }

  .ehou-footer {
    position: fixed;
  }

  .ehou-main {
    padding: 10% 5%;
  }

  .ehou-btn {
    width: 55%;
  }

  .ehou-header__image {
    width: 320px;
  }

  .ehou-footer__image {
    width: 400px;
  }

  .ehou-title {
    width: 50%;
  }
}

/* ========================================
   メディアクエリ - タブレット（768px〜1024px）
======================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .ehou-main {
    padding: 12% 5%;
  }

  .ehou-btn {
    width: 60%;
  }
}

/* ========================================
   メディアクエリ - スマホ（767px以下）
======================================== */
@media screen and (max-width: 767px) {
  .ehou-header__image {
    width: 38vw;
  }

  .ehou-footer__image {
    width: 50vw;
  }

  .ehou-main {
    padding: 25% 5% 20%;
  }

  .ehou-btn {
    width: 75%;
  }

  .ehou-title {
    width: 75%;
  }

  .ehou-modal__close {
    top: -40px;
    font-size: 3rem;
  }
}

/* ========================================
   メディアクエリ - 小型スマホ（430px以下）
======================================== */
@media screen and (max-width: 430px) {
  .ehou-main {
    padding: 10% 4% 25%;
  }

  .ehou-btn {
    width: 80%;
  }

  .ehou-buttons {
    gap: 25px;
  }

  .ehou-notes__item {
    font-size: 1.4rem;
    color: #666;
    line-height: 2;
  }
}