html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
    color: #44474a;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face {
    font-family: cabinBold;
    src: url(../fonts/CabinSketch-Bold.ttf);
    font-weight: bold;
}
@font-face {
    font-family: Delius;
    src: url(../fonts/Delius-Regular.ttf);
}
  

/*Css starts here*/
:root {
    --sky: url(/Images/skyd.png);
    --paper: url(/Images/paperSeem.jpg);
    --curtainLeft: url(/Images/curtain.jpg); 
    --curtainRight: url(/Images/curtain.jpg); 
    --textColorWhite: white;
    --textColorBlack: black;
    --border: 5px solid black;
    --handleColor: black;
}
.parent, .hero, .baby {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    z-index: 2;
}
html {
  scroll-behavior: smooth;
}
.content {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100vh;
    background: var(--paper);
    background-size: 100vh;
    background-position: center;
    background-attachment: fixed;
}
.content.disable-scroll-snap {
    scroll-snap-type: unset;
}
body {
    max-height: 100vh;
    overflow: hidden;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.clouds {
    width: 100%;
    position: relative;
    height: 50%; 
}
.clouds .cloud-item {
    height: 100%;
}
.clouds .cloud-item.cloud-item-1 {
    width: 40%;
    position: absolute;
    left: 20px;
}
.clouds .cloud-item.cloud-item-1 img {
    position: absolute;
}
.clouds .cloud-item.cloud-item-3 {
    width: 30%;
    position: absolute;
    right: 20px;
}
.clouds .cloud-item.cloud-item-3 img {
    position: absolute;
} 
.clouds .cloud-item.cloud-item-2 {
    width: 20%;
    position: absolute;
    left: 55%;
    transform : translateX(-50%);
}
.clouds .cloud-item.cloud-item-2 img {
    position: absolute;
} 
.clouds .cloud-item.cloud-item-4 {
    width: 35%;
    position: absolute;
    left: 65%;
    transform : translateX(-50%);
}
.clouds .cloud-item.cloud-item-4 img {
    position: absolute;
}
.clouds .cloud-item img {
    width: 100%;
    top: var(--cloud-height);
    transform: translateY(-50%);
}
.clouds .cloud-item .cloud-handle {
    width: 2%;
    border: var(--border);
    border-top: none;
    border-bottom: none;
    height: calc( var(--cloud-height)) ;
    position: absolute;
    background-color: var(--handleColor);
    z-index: 0;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.intro-baby {
    
}
.intro-baby-item {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    position: absolute;
    left: 50%;
    --intro-baby-position: 100%;
    transform: translate3d(-50%, var(--intro-baby-position), 0);
}
.intro-baby-item .intro-baby-speak {
    background-color: white;
    height: 300px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items:end;
    background: url("../Images/babySpeak2.png");
    background-size: contain;
    background-position: 0px 100%;
    background-repeat: no-repeat;
    font-size: max(3vh, calc(110%));
    line-height: max(3.4vh, calc(150%));
    font-weight: bold;
    font-family: "Delius", serif;
    text-align: center;
    padding-bottom: 28%;
}

.intro-baby img {
    width: min(30vh, 500px);
}
.background-bush {
    height: 30%;
    bottom: 0;
    position: absolute;
    width: 100%;
    background: url("../Images/bushd.png");
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    --background-bush: translate3d(0px, 100%, 0px);
    transform: var(--background-bush)
}

.drop-shadow {
    filter: drop-shadow(2px 4px 6px black);
}
.drop-shadow.custom {
    --image-border: min(1vw, 7px);
    filter: drop-shadow(calc(var(--image-border)) 0px 0px white) 
        drop-shadow(calc(-1 * var(--image-border)) 0px 0px white) 
        drop-shadow(0px calc(-1 * var(--image-border)) 0px white) 
        drop-shadow(0px calc(var(--image-border)) 0px white)
        drop-shadow(calc(var(--image-border)/2) calc(var(--image-border)/2) 10px black)
}

.curtains {
    position: absolute;
    height: 100vh;
    top: 0;
    z-index: 100000;
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow-X: hidden;
    --curtainOpenProgress: 0%;
}
.curtains .left-curtain {
    background: var(--curtainLeft);
    background-position-x: 200%;
    background-position-y: top;
    width: 100%;
    height: 100%;
    position: relative;
    left: var(--curtainOpenProgress);
}
.curtains .right-curtain {
    background: var(--curtainRight);
    background-position-x: 100%;
    background-position-y: top;
    width: 100%;
    height: 100%;
    position: relative;
    right: var(--curtainOpenProgress);
}
.open-curtain {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate3d(-50%, -50%, 0);
}
.open-curtain button {
    padding: 20px 40px;
    font-size: 40px;
    font-family: "cabinBold", cursive;;
    font-weight: bold;
    background: #d7227a;
    color: var(--textColorWhite);
    border: 20px solid white;
    border-radius: 60px;
    cursor: pointer;
}
embed {
    visibility: invisible;
    height: 0;
    position: absolute;
}
.parent, .baby {
    display: flex;
    flex-direction: column;
}
.parent-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50%;
    flex: 1;
}
.parent-item {
    max-height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.parent-item img {
    width: 100%;
    height: auto;
    max-height: 70vh;
}
.parent-message {
    height: 30%;
    display: flex;
    align-items: center;
    flex-direction: column; 
}
.parrent-message-item {
    font-size: min(5.5vw, 25px);
    font-family: "Delius", serif;
    font-weight: bold;
    text-align: center;
    background-size: 100%;
    display: block;
    /* background: #fff7de;
    border: 10px solid #795548;
    border-radius: 20px; */
}
.parrent-message-item p {
    display: block;
    padding: 20px 30px;
    line-height: min(9vw, 50px);
}
.baby-holder {
    display: flex;
    height: 50%;
    justify-content: center;
}
.baby-message {
    min-height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url("../Images/textBgR.png");
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
}
.baby-message-item {
    background-size: contain;
}
.baby-message p {
    font-size: min(10vw, 70px);
    font-family: "cabinBold", cursive;
    text-align: center;
    line-height: min(12vw, 90px);
    padding: 20px;
}
.baby-item {
}
.baby-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: bottom;
    transform-origin: 60% 83%;
}
.baby-item img.baby-img {
    --babyCrawlPosition : -50vw;
    transform: translateX(var(--babyCrawlPosition));
}
.baby-item:last-child {
    width: 25%;
    height: 50%;
    min-height: 50%;
    max-height: 50%;
    align-self: end; 
}
.baby .parrent-message-item {
    display: block;
}
.baby .parrent-message-item h2 {
    font-size: min(7vw, 35px);
}
.baby .parrent-message-item h3 {
    font-size: min(3.6vw, 17px);
    margin-bottom: 20px;
    color: #666;
}
.baby .parrent-message-item p {
    font-size: min(5.5vw, 25px);
    line-height: min(7.5vw, 50px);
    color: #666;
}
.baby .parrent-message-item a {
    background: white;
    display: inline-block;
    text-decoration: none;
    background: url("../Images/directionsBtn.png");
    background-size:contain;
    padding: 40px 80px 40px 40px;
    background-repeat: no-repeat;
    color: white;
    text-transform: uppercase;  
    font-size: min(6vw, 25px);
    font-family: "cabinBold", cursive;
}

.baby-item {
    position: relative;
}
.baby-head {
    position: absolute;
    height: 50%; 
    width: 50%;
    top:51%;
    right:48%;
    transform: translate3d(50%, -50%, 0);
}

/*for animation*/
.parent-item img.dad {
    --position-value : 50vw;
    transform: translate3d(calc(0% - var(--position-value)),0%,0)
}
.parent-item img.mom {
    --position-value : 50vw;
    transform: translate3d(var(--position-value),0%,0)
}
/*for animation*/
.parent-item img.gandpa {
  --position-value : 50vw;
  transform: translate3d(calc(0% - var(--position-value)),0%,0)
}
.parent-item img.grandma {
  --position-value : 50vw;
  transform: translate3d(var(--position-value),0%,0)
}
.baby-name {
  color: #a53879;
  font-family: "cabinBold", cursive;
  font-size: min(11vw, 48px);
}
.grandpa-name {
  color: #ac932e;
  font-family: "cabinBold", cursive;
  font-size: min(8vw, 40px);
}
.grandma-name {
  color: #ac2ea6;
  font-family: "cabinBold", cursive;
  font-size: min(8vw, 40px);
}
.dad-name {
    color: #3870a5;
    font-family: "cabinBold", cursive;
    font-size: min(8vw, 40px);
}
.mom-name {
    color: #2f9678;
    font-family: "cabinBold", cursive;
    font-size: min(8vw, 40px);
}
.baby-holder-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70%;
}
#contact_area .baby-message {
    max-height : 50%;
    min-height: unset;
    flex: 1;
}
#contact_area .parent-message {
    height: unset;
}

/*Text colors */
.color-1 {
    color: orange;
}
.color-2 {
    color: blue;
}
.color-3 {
    color: hotpink;
}
.color-4 {
    color: cadetblue;
}
.color-5 {
    color: brown;
}
.color-6 {
    color: purple;
}
.color-7 {
    color: mediumblue;
}
.color-8 {
    color: red;
}
.color-9 {
    color: green;
}
.color-10 {
    color: darkslategray;
}
.color-11 {
    color: steelblue;
}
.color-12 {
    color: sandybrown;
}

/*Effect*/



#main_content > div.effect-div {
    --size: 5vw;
    --symbol: "✽";
  
    --pos_x: 0vw;
    --duration_move: 7s;
    --delay_move: 0s;
  
    --duration_rotate: 1.5s;
    --delay_rotate: 0s;
    --duration_clip: 10s;
    --delay_clip: 0s;
    --hue: 0deg;
  
    position: absolute;
    top: 0;
    left: 0;
    font-size: clamp(15px, var(--size), 80px);
    font-family: "Noto Sans Symbols 2", sans-serif;
    transform-origin: center top;
    animation: move var(--duration_move) var(--delay_move) linear infinite normal
      both;
      z-index: 0;
  }
  #main_content .effect-div span {
    display: block;
    position: relative;
    transform-origin: center;
    transform: rotate(0deg);
    animation: rotate var(--duration_rotate) var(--delay_rotate) ease-in-out
      infinite alternate both;
  }
  #main_content .effect-div span:after {
    content: var(--symbol);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.2);
    text-stroke: 0.5px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    position: relative;
    display: block;
    color: transparent;
    background-clip: text;
    /*
    filter: contrast(0.8) brightness(1.2) hue-rotate(var(--hue))
      drop-shadow(0px 0px 0.1px gold);
    */
    filter: brightness(1.2) hue-rotate(var(--hue));
      background-color: #00000029;
    background-position: center;
    background-size: 200px auto; /* 必要に応じて調整 */
    background-repeat: repeat;
    transform: translateZ(0);
    animation: bg1 var(--duration_clip) var(--delay_clip) linear infinite
      alternate both;
  }
  #main_content > div.effect-div:nth-child(even) span:after {
    animation-name: bg2;
  }
  @keyframes bg1 {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: 100% 100%;
    }
  }
  @keyframes bg2 {
    0% {
      background-position: 100% 0%;
    }
    100% {
      background-position: 0% 100%;
    }
  }
  @keyframes rotate {
    0% {
      transform: rotate(115deg);
    }
    100% {
      transform: rotate(245deg);
    }
  }
  @keyframes move {
    0% {
      transform: translate3d(var(--pos_x), calc(0vh - var(--size)), 0);
    }
    100% {
      transform: translate3d(var(--pos_x), 100vh, 0);
    }
  }
  
  /* 以下、ひたすら量産 */
  #main_content > div.effect-div:nth-child(23n + 1) {
    --symbol: "☆";
  }
  #main_content > div.effect-div:nth-child(23n + 2) {
    --symbol: "❉";
  }
  #main_content > div.effect-div:nth-child(23n + 3) {
    --symbol: "★";
  }
  #main_content > div.effect-div:nth-child(23n + 4) {
    --symbol: "❈";
  }
  #main_content > div.effect-div:nth-child(23n + 5) {
    --symbol: "✣";
  }
  #main_content > div.effect-div:nth-child(23n + 6) {
    --symbol: "✴";
  }
  #main_content > div.effect-div:nth-child(23n + 7) {
    --symbol: "✾";
  }
  #main_content > div.effect-div:nth-child(23n + 8) {
    --symbol: "♦";
  }
  #main_content > div.effect-div:nth-child(23n + 9) {
    --symbol: "★";
  }
  #main_content > div.effect-div:nth-child(23n + 10) {
    --symbol: "✹";
  }
  #main_content > div.effect-div:nth-child(23n + 11) {
    --symbol: "✤";
  }
  #main_content > div.effect-div:nth-child(23n + 12) {
    --symbol: "✦";
  }
  #main_content > div.effect-div:nth-child(23n + 13) {
    --symbol: "❇";
  }
  #main_content > div.effect-div:nth-child(23n + 14) {
    --symbol: "✿";
  }
  #main_content > div.effect-div:nth-child(23n + 15) {
    --symbol: "✶";
  }
  #main_content > div.effect-div:nth-child(23n + 16) {
    --symbol: "✳";
  }
  #main_content > div.effect-div:nth-child(23n + 17) {
    --symbol: "❊";
  }
  #main_content > div.effect-div:nth-child(23n + 18) {
    --symbol: "☆";
  }
  #main_content > div:nth-child(23n + 19) {
    --symbol: "✻";
  }
  #main_content > div.effect-div:nth-child(23n + 20) {
    --symbol: "❋";
  }
  #main_content > div.effect-div:nth-child(23n + 21) {
    --symbol: "✷";
  }
  #main_content > div.effect-div:nth-child(23n + 22) {
    --symbol: "✴";
  }
  
  #main_content > div.effect-div:nth-child(21n + 1) {
    --pos_x: 5vw;
  }
  #main_content > div.effect-div:nth-child(21n + 2) {
    --pos_x: 10vw;
  }
  #main_content > div.effect-div:nth-child(21n + 3) {
    --pos_x: 15vw;
  }
  #main_content > div.effect-div:nth-child(21n + 4) {
    --pos_x: 20vw;
  }
  #main_content > div.effect-div:nth-child(21n + 5) {
    --pos_x: 25vw;
  }
  #main_content > div.effect-div:nth-child(21n + 6) {
    --pos_x: 30vw;
  }
  #main_content > div.effect-div:nth-child(21n + 7) {
    --pos_x: 35vw;
  }
  #main_content > div.effect-div:nth-child(21n + 8) {
    --pos_x: 40vw;
  }
  #main_content > div.effect-div:nth-child(21n + 9) {
    --pos_x: 45vw;
  }
  #main_content > div.effect-div:nth-child(21n + 10) {
    --pos_x: 50vw;
  }
  #main_content > div.effect-div:nth-child(21n + 11) {
    --pos_x: 55vw;
  }
  #main_content > div.effect-div:nth-child(21n + 12) {
    --pos_x: 60vw;
  }
  #main_content > div.effect-div:nth-child(21n + 13) {
    --pos_x: 65vw;
  }
  #main_content > div.effect-div:nth-child(21n + 14) {
    --pos_x: 70vw;
  }
  #main_content > div.effect-div:nth-child(21n + 15) {
    --pos_x: 75vw;
  }
  #main_content > div.effect-div:nth-child(21n + 16) {
    --pos_x: 80vw;
  }
  #main_content > div.effect-div:nth-child(21n + 17) {
    --pos_x: 85vw;
  }
  #main_content > div.effect-div.effect-div:nth-child(21n + 18) {
    --pos_x: 90vw;
  }
  #main_content > div.effect-div:nth-child(21n + 19) {
    --pos_x: 73vw;
  }
  #main_content > div.effect-div:nth-child(21n + 20) {
    --pos_x: 83vw;
  }
  
  #main_content > div.effect-div:nth-child(12n + 1) {
    --hue: 30deg;
  }
  #main_content > div.effect-div:nth-child(12n + 2) {
    --hue: 270deg;
  }
  #main_content > div.effect-div:nth-child(12n + 3) {
    --hue: 90deg;
  }
  #main_content > div.effect-div:nth-child(12n + 4) {
    --hue: 150deg;
  }
  #main_content > div.effect-div:nth-child(12n + 5) {
    --hue: 330deg;
  }
  #main_content > div.effect-div:nth-child(12n + 6) {
    --hue: 180deg;
  }
  #main_content > div.effect-div:nth-child(12n + 7) {
    --hue: 60deg;
  }
  #main_content > div.effect-div:nth-child(12n + 8) {
    --hue: 210deg;
  }
  #main_content > div.effect-div:nth-child(12n + 9) {
    --hue: 120deg;
  }
  #main_content > div.effect-div:nth-child(12n + 10) {
    --hue: 240deg;
  }
  #main_content > div.effect-div:nth-child(12n + 11) {
    --hue: 300deg;
  }
  
  #main_content > div.effect-div:nth-child(8n + 1) {
    --delay_move: -4s;
  }
  #main_content > div.effect-div:nth-child(8n + 2) {
    --delay_move: -5s;
  }
  #main_content > div.effect-div:nth-child(8n + 3) {
    --delay_move: -6s;
  }
  #main_content > div.effect-div:nth-child(8n + 4) {
    --delay_move: -1s;
  }
  #main_content > div.effect-div:nth-child(8n + 5) {
    --delay_move: -2s;
  }
  #main_content > div.effect-div:nth-child(8n + 6) {
    --delay_move: -3s;
  }
  #main_content > div.effect-div:nth-child(8n + 7) {
    --delay_move: -7s;
  }
  
  #main_content > div.effect-div:nth-child(9n + 1) {
    --duration_move: 7.5s;
  }
  #main_content > div.effect-div:nth-child(9n + 2) {
    --duration_move: 8s;
  }
  #main_content > div.effect-div:nth-child(9n + 3) {
    --duration_move: 8.5s;
  }
  #main_content > div.effect-div:nth-child(9n + 4) {
    --duration_move: 9s;
  }
  #main_content > div.effect-div:nth-child(9n + 5) {
    --duration_move: 5.5s;
  }
  #main_content > div.effect-div:nth-child(9n + 6) {
    --duration_move: 6s;
  }
  #main_content > div.effect-div:nth-child(9n + 7) {
    --duration_move: 6.5s;
  }
  #main_content > div.effect-div:nth-child(9n + 8) {
    --duration_move: 7.8s;
  }
  
  #main_content > div.effect-div:nth-child(7n + 1) {
    --delay_rotate: 0.3s;
  }
  #main_content > div.effect-div:nth-child(7n + 2) {
    --delay_rotate: 0.6s;
  }
  #main_content > div.effect-div:nth-child(7n + 3) {
    --delay_rotate: 0.9s;
  }
  #main_content > div.effect-div:nth-child(7n + 4) {
    --delay_rotate: -0.3s;
  }
  #main_content > div.effect-div:nth-child(7n + 5) {
    --delay_rotate: -0.6s;
  }
  #main_content > div.effect-div:nth-child(7n + 6) {
    --delay_rotate: -0.9s;
  }
  
  #main_content > div.effect-div:nth-child(6n + 1) {
    --duration_rotate: 1s;
  }
  #main_content > div.effect-div:nth-child(6n + 2) {
    --duration_rotate: 1.6s;
  }
  #main_content > div.effect-div:nth-child(6n + 3) {
    --duration_rotate: 1.1s;
  }
  #main_content > div.effect-div:nth-child(6n + 4) {
    --duration_rotate: 1.2s;
  }
  #main_content > div.effect-div:nth-child(6n + 5) {
    --duration_rotate: 1.3s;
  }
  
  #main_content > div.effect-div:nth-child(5n + 1) {
    --size: 3vw;
  }
  #main_content > div.effect-div:nth-child(5n + 2) {
    --size: 4vw;
  }
  #main_content > div.effect-div:nth-child(5n + 3) {
    --size: 6vw;
  }
  #main_content > div.effect-div:nth-child(5n + 4) {
    --size: 7vw;
  }
  