@charset "utf-8";

/* sp View   ～768px  ----------------------------------------------------------------------------------------------*/

section:nth-of-type(n){
    all: initial;
}
section::before,
section::after{
    all: initial;
    content: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* 写真は100vw・SPは1:1 */
.photo_stack img {
  width: 100vw;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* 固定コメント */
.fixed_text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  /*z-index: 11;*/
  max-width: 90%;
  pointer-events: none;
  pointer-events: auto;

  /* フェード用 */
  transition: opacity 0.3s ease;
}

/* フッター表示時に消す */
.fixed_text.is_hidden,
.fixed_text.hide {
  opacity: 0;
  pointer-events: none;
}

/* --- text parts --- */

#daily_time {
  font-size: 2em;
  line-height: 1em;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.4);
}

#daily_title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 12px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.4);
}

#daily_text {
    background-color: rgba(255,255,255,0.8);
    color: #333;
    font-size: 16px;
    padding: 0.5em;
    width: 280px;
    box-sizing: border-box;
    line-height: 1.4;
    word-break: keep-all; /* 日本語の不自然な改行防止 */}

#daily_link a{
display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1em;
    width: 150px;
    height: 80px;
    /*background-color: #fff9c4;
    color: #ff9800;
    text-decoration: none;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 3px dashed #ffb74d;
    font-weight: bold;
    transition: transform 0.3s;
    margin-top: 1em;*/
    background-image: url("../img/daily/cloud.png");
    background-size: cover;
    color: #2ea7e0;
}
#daily_link a:hover {
transform: scale(1.05) rotate(2deg); /* ぷるんと動く感じ */
}
/*--- Tablet View ---------------------------------------------------------------------------------------------------------*/
@media (min-width: 768px){
    main {
        padding-top: 60px;    
    }
    .photo_stack img {
        aspect-ratio: 16 / 9;
    }

    #daily_time {
        font-size: 5em;
    }
    #daily_text {
        width: auto;
    }


}

/*--- Desktop View ---------------------------------------------------------------------------------------------------------*/
@media (min-width: 1024px){
}


