/* ==========================================================
   Base layout and navigation
   Source: base.css
   ========================================================== */
/*
 * base.css
 * 用途: サイト全体の基本設定
 * このファイル内の各セクションは、元CSSの読み込み順を維持しています。
 */

/* --------------------------------------------------------------------------
 * 全体レイアウト・共通要素
 * -------------------------------------------------------------------------- */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; 
    background-color: #FFD5EC;
    font-family: 'Noto Serif JP', serif;
}


#sakura_block {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 10; 
}


.content {
    position: relative;
    z-index: 0; 
    background-color: #ffffff; 
}


.section {
    padding: 100px 20px;
    border-bottom: 1px solid #ddd;
    height: 100vh; 
}

.section h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2em;
    line-height: 1.6;
}


@keyframes sakura {
    0% {
        transform: translate3d(0, -10vh, 0) rotate(0deg) scale(var(--sakura-scale, 1));
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    82% {
        opacity: 0.75;
    }
    100% {
        transform: translate3d(var(--sakura-drift-x, 20vw), 115vh, 0) rotate(540deg) scale(var(--sakura-scale, 1));
        opacity: 0;
    }
}


#sakura_block img {
    position: absolute;
    width: 20px;
    height: auto;
    animation: sakura linear infinite;
    opacity: 0;
    will-change: transform, opacity;
}

.img_wrap{
  position:relative;
}
.img_wrap::after{
  content:"";
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  top:0;
  left:0;
  backdrop-filter:blur(8px);
  animation:blur 4s ease-in-out forwards;
}
@keyframes blur{
  0%{backdrop-filter:blur(8px);}
  100%{backdrop-filter:none;}
}

img.img{
white:100%;
}
img.example1 {
width: 50%;
}





.sns-x {
    width: 8%;
    display: inline-block;
}

.sns-x img {
    width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
 * 季節表示
 * -------------------------------------------------------------------------- */
.season-section {
    display: flex;
    flex-direction: column; 
    align-items: center;
    width: 100%;
    margin-top: 20px; 
    background: rgba(255,255,255,0.8);
    padding: 0px 0;
}

.season {
    width: 100%;
    aspect-ratio: 3 / 1; 
    background-size: cover;
    background-position: center;
    position: relative; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 25px;
    
    transition: height 0.3s ease;
    z-index: 0; 
    font-size: 4em;
     font-weight: bold;
}


.season::before,
.season::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 20%;
    z-index: 1;
}

.season::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}

.season::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}


.season-overlay {
    
    padding: 15px;
    border-radius: 10px;
    position: absolute;
    width: 80%;
}


.spring-text {
    text-align: left;
    left: 10%;
    top: 50%;
    transform: translateY(-40%);
    color: #32CD32;
    font-size: 0.9em;
    z-index: 2;
}

.spring-text:first-letter{
  color:#FFA500;
  font-size:180%;
}


.summer-text {
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #66FFFF;
    z-index: 2;
}

.summer-text:first-letter{
  color:#FFA500;
  font-size:180%;
}


.autumn-text {
    text-align: right;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFF22;
    font-size:0.8em;
    z-index: 2;
}

.autumn-text:first-letter{
  color:#FFA500;
  font-size:180%;
}


.winter-text {
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #FF97C2;
    font-size:0.9em;
    z-index: 2;
}

.winter-text:first-letter{
  color:#FFA500;
  font-size:180%;
}


.sample1oya{
  display     : inline-block;
  font-weight : bold;
  color       : #FF97C2;
  text-shadow:  2px  2px 10px #777 ,
               -2px  2px 10px #777 ,
                2px -2px 10px #777 ,
               -2px -2px 10px #777;
}
.sample1{
  text-align: center;
   left: 60%;
    top: 40%;
    transform: translate(0, -21%);
    color: #FF97C2;
    font-size:0.8em;
    z-index: 2;
}



@media screen and (max-width: 768px) {

  
  .season-section {
      padding: 10px 0; 
  }

  
  .season {
      aspect-ratio: auto; 
      height: 150px; 
      font-size: 15px; 
      margin-bottom: 15px; 
      overflow: hidden; 
  }

  
  .season-overlay {
      width: 90%; 
      padding: 8px; 
  }

  

  
  .spring-text {
      font-size: 1.4em; 
      left: 5%; 
      top: 50%;
  }

  
  .summer-text {
      font-size: 1.4em; 
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
  }

  
  .autumn-text {
      font-size: 1.2em; 
      left: 5%;
      top: 50%;
  }

  
  .winter-text {
      font-size: 20px; 
      left: 50%;
      top: 50%;
  }

  
  .season-overlay,
  .spring-text,
  .summer-text,
  .autumn-text,
  .winter-text,
  .sample1oya,
  .sample1 {
      overflow-wrap: break-word; 
      word-wrap: break-word; 
  }

}

/* --------------------------------------------------------------------------
 * ナビゲーションメニュー
 * -------------------------------------------------------------------------- */
body {
    margin: 0;
    font-family: 'Noto Serif JP', serif;
    overflow-x: hidden;
}


.menu-icon {
    position: fixed;
    top: 20px;
    left: 95%;
    cursor: pointer;
    z-index: 1000;
    color:#1288FF;
}
.menu-icon .line {
    width: 30px;
    height: 3px;
    background-color: #5c8ef5;
    margin: 5px 0;
    transition: all 0.3s ease;
    color:#1288FF;
}


.menu-icon.open .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-icon.open .line:nth-child(2) {
    opacity: 0;
}
.menu-icon.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


.side-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 300px;
    height: 100%;
    background-color: #AA0077;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 999;
    padding: 20px;
}
.side-menu.open {
    right: 0;
}


.menu-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    text-align: center;
}
.menu-list li {
    margin: 20px 0;
}
.menu-list a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.menu-list a:hover {
    color: white;
}


@media (max-width: 768px) {
    
    .menu-icon {
        top: 15px;
        left: 90%;
    }

    
    .side-menu {
        width: 80%;
        right: -100%;
    }
    .side-menu.open {
        right: 0;
    }

    
    .img_wrap img, .img_wrap::after {
        width: 100%;
        height: auto;
    }
}






.menu-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.menu-list li {
    margin: 20px 0;
}

.menu-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.menu-icon-img {
    width: 30px;
    height: auto;
    opacity: 0; 
    transition: opacity 0.3s ease;
    margin-right: 10px; 
    vertical-align: middle;
}


.menu-item:hover .menu-icon-img {
    opacity: 1;
}
