/* =====================
   Base
===================== */
html, body {
  margin: 0;
  padding: 0;
  background: #eaf6dc;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  color: #2e2e2e;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}


/* =====================
   Header
===================== */
#header {
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  position: fixed;
  top: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 18px; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logopicture {
  height: 42px;
  width: auto;
}
.menupicture {
  height: 42px;
   width: auto;
  cursor: pointer;
}

/* =====================
   Container
===================== */
#container {
  width: 390px;
  margin: 0 auto;
  background: #fee106;
  padding-top: 64px;
}

/* =====================
   First View
===================== */

.catchcopy {
  position: relative;
  margin-bottom: 48px;
}

.first {
  border-radius: 0 0 24px 24px;
}

.catchcopy1,
.catchcopy2 {
  position: absolute;
  writing-mode: vertical-rl;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 43px;
  letter-spacing: 0.15em;
  font-weight: 1000;
  color: #ffffff;
  text-shadow:
  -1px -1px 0 #1f6b38,
   1px -1px 0 #1f6b38,
  -1px  1px 0 #1f6b38,
   1px  1px 0 #1f6b38;
}


/* 左下 */
.catchcopy1 {
  bottom: 130px;
  left: 15px;
}

/* 右上 */
.catchcopy2 {
   top: 16px;
  right: 18px;

}


/* =====================
   Explain
===================== */
#explain {
  margin: 0 16px 40px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.75); 
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
}

#explain p {
  margin-bottom: 10px;
  line-height: 1.8;
  font-size: 14px;
  color: #5a4a2c;
}

#explain p:last-child {
  margin-bottom: 0;
}



/* =====================
   Explain Images
===================== */
.explainpicture {
  display: flex;
  gap: 10px;
  padding: 16px;
  margin-bottom: 48px;
}

.explain-wrap {
  position: relative;
  margin: 120px 16px;
}

.explain-box {
  background: rgba(255, 255, 255, 0.8);
  padding: 24px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

.explain-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.explain-box img:nth-of-type(1) {
  width: 70%;
  margin-left: auto;   
  margin-right: 0;
}
.explain-row.right {
  justify-content: flex-end;
}

.explain-row.right p {
  max-width: 180px;
  text-align: left;
}

.explain-row.center {
  justify-content: center;
}

.explain-row.center p {
  max-width: 200px;
  text-align: left;
}

.explain-box img:nth-of-type(2),
.explain-box img:nth-of-type(3) {
  width: 100%;         
  margin-left: auto;
  margin-right: auto;
}

.explain-box img:nth-of-type(1),
.explain-box img:nth-of-type(4) {
  width: 30%;
}

.explain-box img:nth-of-type(2) {
  width: 80%;
}


.explain-box img:nth-of-type(3) {
  width: 60%;
}


.sutoro {
  position: absolute;
  left: 40px;       
  top: -90px;     
  width: 25px;     
  z-index: 1;
}



.explainpicture img {
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}



/* =====================
   Situation
===================== */
.situation {
  color: #5a4a2c;
  position: relative;
  padding: 30px 10px;

}

.situation-block {

  background: #fee106;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  padding: 24px;
  border-radius: 24px;
  margin-bottom: 20px; 
  text-align: center;

  position: relative;
  z-index: 1;
  
}


.situation-block p {
  font-family: "Kosugi Maru", sans-serif;
  font-size: 17px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;

}

.situation-block img:not(.milk){
  width: 100%;
  max-width: 320px;
  height: 300px;       
  object-fit: contain;   
  background: rgba(255, 255, 255, 0.4);
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  position: relative;
  z-index: 3;
}

.situation-block img {
  margin-top: -10px; 
}


.milk {
  position: absolute;
  top: -4px;         
  left: 50%;
  transform: translateX(-50%);
  width: 200px;

  z-index: 1;         
  opacity: 0.95;
}





/* =====================
   Item
===================== */

.linenap {
  width: 200px;   
  height: auto;
  display: block;
  margin: 0 auto; 
}


#item {
  padding: 0 0 40px;
  text-align: center;
}


/* =====================
   Slider
===================== */


.slider {
  overflow: hidden;
  width: 100%;
  padding: 16px 0;

}

.slider-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 28s linear infinite;
}

.slider-track img {
  width: 92px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



/* =====================
  last
===================== */

#last img {
  width: 150px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  transform: translateX(-60px);
}
/* =====================
   Footer
===================== */
#footer {
  background: #fff4e6;
  padding: 40px 0 28px;
}

.footer-inner {
  width: 390px;
  margin: 0 auto;
  text-align: center;
}

.footerlogo {
  width: 200px;
  margin: 0 auto 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  color: #5a4a2c;
  text-decoration: none;
  position: relative;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #1f6b38;
  transition: 0.3s;
}

.footer-nav a:hover::after {
  width: 100%;
}

/* SNSエリア */
.footer-sns {
  margin: 24px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Follow us */
.footer-sns-text {
  font-size: 14px;
  color: #5a4a2c;
  letter-spacing: 0.1em;
}

/* アイコン横並び */
.sns-icons {
  display: flex;
  gap: 16px;
}

/* SNSアイコン */
.sns-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sns-icon:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}


.footer-copy {
  font-size: 12px;
  color: #9c8464;
}

