@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/*カスタムメニューhttps://web-design-pallet.site/hamburger_menu/#index_id3参照*/

.header__navi_03 {
  position: fixed;
  top: 0;
  right: 0;
  background: #636457;
  opacity:0.8;
  width: 30%;
  height: 100vh;
  max-width:400px;
  transform: translateX(150%);
  transition: all 0.6s;
  z-index: 100;
}

.header__navi_03.active {
  transform: translateX(0%);
}

.header__navi_03 ul {
  padding-top: 48px;
  text-align: center;
}

.header__navi_03 li {
  list-style: none;
  margin-bottom: 24px;
}
.header__navi_03 li:hover {
  letter-spacing: 0.3em;
  transition: all 0.6s; 
  transition-delay:.6s;
}

.header__navi_03 li a {
  color: #fff;
  text-decoration: none;
}


/* メニューボタン */
.sp-menu-btn_03 {
  background: transparent;
  color: #000000;
  border: none;
  position: fixed;
  right: 10px;
  top: 30px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 101;
}

.sp-menu-btn_03 span {
  display: block;
  position: absolute;
  width: 33px;
  right: 15px;
  transition: 0.3s ease-in-out;
  font-size: 10px;
}

.sp-menu-btn_03 .line {
  height: 1px;
  background: #000000;
}

.sp-menu-btn_03 span:nth-child(1) {
  top: 20px;
}

.sp-menu-btn_03 span:nth-child(2) {
  top: 28px;
}

.sp-menu-btn_03 span:nth-child(3) {
  top: 36px;
}

/* メニューが開いているときのボタン */

.sp-menu-btn_03.active span:nth-child(1) {
  top: 28px;
  transform: rotate(-45deg);
}

.sp-menu-btn_03.active span:nth-child(2) {
  transform: rotate(45deg);
}

.sp-menu-btn_03.active .menu  {
  font-size:0;
}

.header-container_03 h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  font-weight: normal;
}

/* 親要素：スクロールスナップを有効にする */
.snap-container {
    height: 100vh;           /* 画面いっぱいの高さ */
    overflow-y: scroll;      /* 縦スクロールを許可 */
    scroll-snap-type: y mandatory; /* Y軸方向にスナップを強制 */
    scroll-behavior: smooth; /* スクロールを滑らかに */
}

/* 子要素：各セクションの設定 */
.snap-section {
    width: 100%;
    height: 100vh;           /* 各セクションを画面サイズに */
    scroll-snap-align: start; /* セクションの先頭でスナップ */
    scroll-snap-stop: always; /* スクロールを飛ばしすぎないようにする（任意） */
    
    /* 見映えのための調整（任意） */
    display: flex;
    align-items: center;
    justify-content: center;
}