@media screen and (max-width: 768px) {
  /* --- ヘッダー：最初は並び、スクロールで追従 --- */
.header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70px;
        padding: 0 15px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }
.header-left {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
  .header__right {
    display: none;
  }
  
  .entry-btn {
    display: none; /* スマホヘッダーからは一旦非表示（メニュー内に入れる場合は後述） */
  }
	.header__logo{
		flex-direction: row;
	}
	.header__logo-img {
        width: 150px;
    }
	.hero__watermark{
		top:28%;
	}
	
  /* --- ハンバーガーボタン（金色の3本線） --- */
  .menu-trigger {
    position: relative;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1200;
    display: block; /* 表示を強制 */
  }
  
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #b2914c; /* 画像に合わせたゴールド */
    transition: all 0.4s;
  }
  
  .menu-trigger span:nth-child(1) { top: 0; }
  .menu-trigger span:nth-child(2) { top: 10px; }
  .menu-trigger span:nth-child(3) { bottom: 0; }

  /* アクティブ時（バツ印） */
  .menu-trigger.active span:nth-child(1) { transform: translateY(10px) rotate(-45deg); }
  .menu-trigger.active span:nth-child(2) { opacity: 0; }
  .menu-trigger.active span:nth-child(3) { transform: translateY(-10.5px) rotate(45deg); }

  /* --- スライドメニュー（右から300px） --- */
  .nav.sp {
    position: fixed;
    top: 0;
    right: -300px; /* 幅分だけ右に隠す */
    width: 300px;
    height: 100vh;
    background-color: #fff;
    padding: 100px 30px 40px;
    flex-direction: column; /* 縦並びに変更 */
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: 1100;
    display: block; /* flexからblockへ（縦並び用） */
  }

  .nav.sp.active {
    right: 0;
  }

  /* リストの縦並びスタイル */
  .nav.sp .nav__list {
	display: flex;
    flex-direction: column;
    align-items: flex-start;
	  gap: 25px;
    padding-right: 0;
  }

  .nav.sp .nav__list li {
    width: 100%;
    position: relative;
    padding-left: 20px;
	font-family: var(--font-serif);
	  margin-bottom: 20px;
	  
  }

  /* 文頭のドット */
  .nav.sp .nav__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 3px;
    height: 3px;
    background-color: #b2914c;
    border-radius: 50%;
  }

  .nav.sp .nav__list li a {
    font-size: 16px;
    color: #b2914c;
    display: block;
  }
	
    /* --- フッター固定ボタン --- */
    .sp-fixed-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        height: 60px;
        z-index: 1000;
    }

    .btn-footer-info, .btn-footer-entry {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #fff;
        font-size: 14px;
        font-weight: normal;
    }

    .btn-footer-info {
		background: linear-gradient(135deg, #e7d8f0 0%, #f6dae4 100%);
		border: 1px solid #bfa0c8;
		color: #b25d97;
    }

    .btn-footer-entry {
		background: linear-gradient(135deg, var(--color-btn-start), var(--color-btn-end));
    }
	
	/* ヘッダーとフッターにアニメーションの準備 */
	.header, 
	.sp-fixed-footer {
	  transition: opacity 0.5s ease, visibility 0.5s ease;
	  opacity: 1;
	  visibility: visible;
	}

	.header.is-hidden,
	.sp-fixed-footer.is-hidden {
	  opacity: 0;
	  visibility: hidden;
	  pointer-events: none;
	}
	.hero__title-bottom img.sp{
		padding: 0 20px;
	}
	.contact{
		padding-bottom: 80px;
	}
	.contact__title {
    font-size: 22px;
    margin-bottom: 20px;
}
	.merit__card--large img{
		width: 200px!important;
		margin: 0 auto;
	}
}