
#memory .header {
  position: relative;
  display: flex;
  flex-direction: column;
  color: white;
  background: #EC2B5F;
  min-height: 29rem;
}
#memory .header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  bottom: 0;
  left: 0;
  background: #FF618B;
}
#memory .header .text {
  position: relative;
  padding: 5rem 1rem 0;
  text-align: center;
  letter-spacing: 0.14em;
  font-weight: bold;
}
#memory .header .text h2 {
  line-height: 1.1;
  margin: -0.05em 0 2.25rem;
  position: relative;
  font-size: 5rem;
}
@media screen and (max-width: 768px) {
  #memory .header .text h2 {
    font-size: 3rem;
  }
}
@media screen and (max-width: 480px) {
  #memory .header .text h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
  }
}
#memory .header .text p {
  line-height: 1.5;
  margin: -0.25em 0;
  font-size: 1.25rem;
}
@media screen and (max-width: 480px) {
  #memory .header .text p {
    font-size: 1rem;
  }
}
#memory .header .icon {
  position: relative;
  padding: 2.5rem 1rem;
  text-align: center;
}

#memory .board {
  margin: 2rem 0;
  padding: 4rem 2rem;
  position: relative;
  background: #EC2B5F url(../images/bg_board.png) repeat;
}
#memory .board .title {
    color: #FFF;
    margin: 0 0 1rem;
    text-align: center;
    font-size: 2rem;
}

@media screen and (max-width: 1200px) {
  #memory .board {
  }
}
@media screen and (max-width: 768px) {
  #memory .board {
    border-width: 10px;
  }
  #memory .board::before {
    border-width: 10px;
  }
}
#memory .board .inner {
  max-width: 1280px;
  margin:0 auto;
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 1200px) {
  #memory .board .inner {
    justify-content: space-around;
  }
}

#memory .card {
  margin: 1rem;
  padding: 0.8rem 0.75rem 1rem;
  position: relative;
  background: white;
  width: 30%;
  min-height: 480px;
  border-radius: 10px;
  border: 8px solid #FF618B;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
@media screen and (max-width: 1200px) {
  #memory .card {
    margin: 1rem 0;
    width: 38vw;
    min-height: 360px;
  }
}
@media screen and (max-width: 640px) {
  #memory .card {
    width: 75vw;
  }
}
#memory .card .date{
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translate(-50%, 0);
  width: auto;
  z-index: 1;
  color: white;
  display: block;
  line-height: 1;
  padding: 0.5em 1em;
  border-radius: 1em;
  margin-right: 0.5em;
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #000;
}
#memory .card .photo {
  list-style: none;
}
#memory .card .photo img {
  width: 100%;
  vertical-align: bottom;
}
#memory .card .photo .slick-dots {
  margin-bottom: -0.75rem;
  list-style: none;
  display: flex;
  justify-content: center;
  font-size: 0;
  line-height: 1;
  position: relative;
}
#memory .card .photo .slick-dots li {
  margin: 10px 8px;
  opacity: 0.25;
  transition: 0.3s;
}
#memory .card .photo .slick-dots li.slick-active {
  opacity: 1;
}
#memory .card .photo .slick-dots li button {
  border: none;
  color: currentcolor;
  background: currentcolor;
  width: 10px;
  height: 10px;
  overflow: hidden;
  text-indent: 100%;
  text-align: left;
  border-radius: 50%;
  vertical-align: bottom;
  cursor: pointer;
}
#memory .card section {
  margin-top: 1rem;
  padding: 0 0.5rem;
}
#memory .card section h3 {
  display: flex;
  align-items: center;
  line-height: 1.2;
  font-size: 0.85rem;
}
#memory .card section h3 .date {
  color: white;
  display: inline-block;
  line-height: 1;
  padding: 0.5em 0.75em;
  border-radius: 1em;
  margin-right: 0.5em;
  font-size: 0.6rem;
  background-color: #000;
}
@media screen and (max-width: 768px) {
  #memory .card section h3 {
    flex-direction: column;
    align-items: flex-start;
  }
  #memory .card section h3 .date {
    margin: 0 0 0.5em;
  }
}
@media screen and (max-width: 575px) {
  #memory .card section h3 {
    flex-direction: row;
    align-items: center;
  }
  #memory .card section h3 .date {
    margin: 0 0.5em 0 0;
  }
}
#memory .card section p {
  margin-top: 0.5em;
  font-size: 0.8rem;
  line-height: 1.6;
}

#memory .intro {
  margin: 0 auto;
  padding: 3.5rem 1rem 0;
  max-width: 1280px;
}
#memory .intro .head {
  text-align: center;
}

#memory .intro .head .title {
  margin: 0;
  color: #EC2B5F;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

#memory .intro .head .title b {
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
}

#memory .intro .head .title b::before {
  content: "";
  margin-bottom: -0.1em;
  width: 0;
  height: 1.25em;
  display: inline-block;
  border-left: 2px solid #EC2B5F;
  vertical-align: text-bottom;
  margin-right: 0.75em;
  transform: rotate(-30deg);
}

#memory .intro .head .title b::after {
  content: "";
  margin-bottom: -0.1em;
  width: 0;
  height: 1.25em;
  display: inline-block;
  border-left: 2px solid #EC2B5F;
  vertical-align: text-bottom;
  margin-left: 0.25em;
  transform: rotate(30deg);
}

#memory .intro .intro_body {
  max-width: 1080px;
  margin: 1.5rem auto;
  display: flex;
  justify-content: space-between;
}

#memory .intro .left_iotaro {
  width: 20%;
  max-width: 152px;
  margin-top: 2rem;
}
#memory .intro .left_iotaro>img {
  width: 100%;
}


#memory .intro .right_history {
  width: 78%;
  padding: 1rem 0 5rem;
  background: url(/ilovedesk/memory/images/intro_arrow.png) bottom left no-repeat;
}

#memory .intro .right_history .history_outer {
  width: 100%;
  display: flex;
}

#memory .intro .right_history .history_year {
  width: 7em;
  padding: 0.5em 1rem;
  color: #FFF;
  line-height: 1;
  height: 2rem;
  background: #EC2B5F;
  border-radius: 50px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  white-space: nowrap;
}
#memory .intro .right_history .history_year_none {
  width: 7em;
  padding: 0.5em 1rem;
  color: #FFF;
  font-size: 1rem;
}

#memory .intro .right_history .history_month {
  width: 4em;
  padding: 0.5em 0.5rem 0.5em 1rem;
  color: #EC2B5F;
  line-height: 1;
  text-align: right;
  font-size: 1rem;
  font-weight: bold;
  white-space: nowrap;
}

#memory .intro .right_history .history_content {
  padding: 0.2em 1rem;
  line-height: 1.8;
  font-size: 1rem;
  font-weight: bold;
}

#memory .intro .end {
  width: 75%;
  margin: -2.7rem auto 5rem;
  padding: 1.7rem 1rem;
  color: #EC2B5F;
  line-height: 1;
  letter-spacing: 0.1em;
  background: #FFE1E9;
  border-radius: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #memory .intro .intro_body {
    max-width: 100%;
    display: inline;
  }
  #memory .intro .left_iotaro {
    display: none;
  }
  #memory .intro .right_history {
    width: 90%;
    margin: 2rem auto 0;
    padding: 1rem 0 3rem;
    background-size: 20%;
  }
  #memory .intro .right_history .history_year,
  #memory .intro .right_history .history_year_none {
    width: 6em;
  }
  #memory .intro .end {
    width: 90%;
    padding: 1rem 1rem;
    font-size: 1.3rem;
    margin-top: 1rem;
  }
}




