@import url("https://use.typekit.net/drf8crf.css");

:root {
  --base-color: #f1ebf2;
  --sub-color: linear-gradient(90deg, #6f4e92, #d9988f);
  --font-color: #000;
  --border-color: #cebcce;
  --soft-color: #b898cb;
  --purple-color: #7c5792;
  --font-en: "ivymode", sans-serif;
}
body{
	font-family: "游明朝体", "Yu Mincho", YuMincho, yu-mincho-pr6n, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}
.wrap {
  position: relative;
  overflow: hidden;
}

.title.title--main {
  text-align: left;
  font-family: var(--font-en);
    color: var(--purple-color);
}

.title.title--main .default {
  display: none;
}

.title.title--main .custom::before {
	content: "MESSAGE FROM SWEETIES";
    font-family: var(--font-en);
    font-weight: normal;
    letter-spacing: 0.1em;
    text-align: center;
    display: block;
}

.agree {
  display: none;
}

.receiver {
  font-family: var(--font-en);
}

.pagination {
  font-family: var(--font-en);
}

.btn--main {
    background: linear-gradient(90deg, #6f4e92, #d9988f);
    color: #fff;
    border-radius: 999px;
    padding: 20px;
    display: block;
    font-size: 17px;
    max-width: 300px;
    margin: auto;
    width: 90%;
    -webkit-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    -moz-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    -ms-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    border: none;
}
.btn--sub{
    max-width: 300px;
    padding: 20px;
}

/* label
------------------------------ */
.label-receiver {

}
.label-receiver p .name{
    font-family: "游明朝体", "Yu Mincho", YuMincho, yu-mincho-pr6n, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

/* receiver-tab
------------------------------ */
.list--receiver {
  gap: 6px 10px;
  font-family: var(--font-en);
}

.list--receiver li a {
background: var(--purple-color);
    color: var(--base-color);
    border: none;
}

.list--receiver li.current a {
  color: var(--base-color);
}

/* step
------------------------------ */
.list--step .step .step__icon svg {
  display: none;
}

.list--step .step .step__icon::before {
  content: "";
  display: inline-block;
  background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/stamp_01.png) no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
}

/* label
------------------------------ */
.label-receiver.receiver_1 p {
  border-color: #4caf50;
}
.label-receiver.receiver_2 p {
  border-color: #E65F72;
}
.label-receiver.receiver_3 p {
  border-color: #5e95f1;
}
.label-receiver.receiver_4 p {
  border-color: #fdf76d;
}

/* page--top
------------------------------ */
.page--top .container {
  text-align: center;
  min-width: 350px;
}
.page--top .btn-container--back::before{
    content: "・1か月に1通送ることができます";
    font-size: 13px;
    opacity: 0;
    -webkit-animation: upIn 0.8s ease 2.2s 1 forwards;
    animation: upIn 0.8s ease 2.2s 1 forwards;
    text-align: center;
    display: block;
    margin: 30px 0;
}

.page--top .letter-box {
  padding-bottom: 200px;
}

@keyframes container-anime {
  0%   { transform: translateY(-80%); opacity: 0; }
  50%  { transform: scale(1, 1) translateY(0); opacity: 1;}
  70%  { transform: scale(1.05, 0.95) translateY(-15%); }
  90%  { transform: scale(1, 1) translateY(0); }
  100% { transform: scale(1, 1) translateY(0); }
}

.page--top .box {
  display: none;
}

.list--menu, .list--box{
    display: block;
}
.list--menu li {
    width: 100%;
    max-width: 100%;
}

.list--menu li a {
  background: var(--purple-color);
  color: #fff;
}

.list--menu li .icon svg {
  fill: white;
}

.list--box {
    display: block;
    position: absolute;
    width: 100%;
    bottom: 35%;
    z-index: 1;
    opacity: 0;
  -webkit-animation: upIn 0.8s ease 1s 1 forwards;
  animation: upIn 0.8s ease 1s 1 forwards;
}

.list--box li {
  width: 100%;
    max-width: 100%;
}
.list--menu li a, .list--box li .btn--create{
    border: none;
	border-radius: 999px;
    height: 70px;
    max-width: 300px;
    margin: auto;
    -webkit-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    -moz-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    -ms-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
}
.list--menu li .icon, .list--box li .btn--create .icon {
  opacity: .4;
    display: none;
}

.list--box li .btn--create .icon svg {

}
.page--top .btn--create .custom::after{
    content: "";
    display: inline-block;
    background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/btn_01.png) no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 15px;
    top: 10px;
}


.menu__draft{
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: -50%;
    opacity: 0;
  -webkit-animation: upIn 0.8s ease 2s 1 forwards;
  animation: upIn 0.8s ease 2s 1 forwards;
}
.menu__outbox{
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: -80%;
    opacity: 0;
  -webkit-animation: upIn 0.8s ease 2.2s 1 forwards;
  animation: upIn 0.8s ease 2.2s 1 forwards;
}

.menu__draft .custom::after{
    content: "";
    display: inline-block;
    background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/btn_02.png) no-repeat;
    background-size: contain;
    width: 96px;
    height: 79px;
    position: absolute;
    right: 0;
    top: -5px;
    opacity: 0.2;
}
.menu__outbox .custom::after{
    content: "";
    display: inline-block;
    background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/btn_03.png) no-repeat;
    background-size: contain;
    width: 70px;
    height: 54px;
    position: absolute;
    right: -6px;
    top: 10px;
    opacity: 0.2;
}

@keyframes upIn {
	0% {
		opacity: 0;
		-webkit-transform: translate(0, 30px);
		transform: translate(0, 30px);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate(0,0);
		transform: translate(0,0);
	}
}


.page--top .btn--create .default {
  display: none;
}

.page--top .btn--create .custom::before {
  content: "手紙を書く";
  color: #fff;
}

.page--top .container__inner {
    background: none;
    width: 85%;
    max-width: 700px;
    margin-inline: auto;
    border-radius: 5px;
    position: relative;
    padding: 6% 5% 0;
    box-shadow: none;
}

/*
.page--top .container__inner::before {
  content: "";
  width: calc(120% - 2px);
  height: 100%;
  background: var(--purple-color);
  position: absolute;
  top: 0;
  left: calc(-10% + 1px);
  z-index: -1;
  clip-path: polygon(50% 0%, 100% 40%, 100% 100%, 0 100%, 0 40%);
  pointer-events: none;
}

.page--top .container__inner::after {
  content: "";
  background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/envelope_top.png) no-repeat;
  background-size: contain;
  width: 120%;
  height: 100%;
  position: absolute;
  top: 40%;
  left: 0;
  pointer-events: none;
}

.page--top .container__content {
  background: repeating-linear-gradient(to bottom, #dfdfdf 0 1px, transparent 1px 30px);
  padding: 20px 20px 205px;
}


.page--top .container__content::before {
  content: "";
  width: 100%;
  height: 100%;
  background:#fdf8fa;
  border-radius: 5px;
  position: absolute;
  top: -15px;
  left: 15px;
  transform: rotate(-1deg);
  z-index: -1;
  box-shadow: 1px -1px 7px rgba(161,131,165,0.4);
}
*/


.page--top .container__content {
        height: 360px;
        position: relative;
    }
.page--top .container__inner::after {
    content: "";
    background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/letter_top.png) no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    animation: container-anime .8s ease-in-out;
    box-shadow: 1px -1px 7px rgba(161, 131, 165, 0.4);
}
.page--top .container__content::before {
    content: "";
    width: 100%;
    height: 100%;
    background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/envelope_top.png) no-repeat;
    background-size: cover;
    position: absolute;
    top: 8%;
    right: -30%;
    z-index: -1;
    box-shadow: 1px -1px 7px rgba(161, 131, 165, 0.4);
    background-color: #a17496;
    transform: rotate(10deg);
}

.page--top .btn-container--back {
    margin-top: 120px;
}

.page--input .form--message textarea{
    font-family: "游明朝体", "Yu Mincho", YuMincho, yu-mincho-pr6n, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

@media screen and (min-width: 768px) {
  .page--top .container {
    padding-bottom: 150px;
  }

  .page--top .title {
    padding-bottom: 50px;
  }

  .page--top .container__content {

  }
.btn--main:hover{
     -webkit-filter: none;
    -moz-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
    -ms-filter: none;
    filter: none;
    background: linear-gradient(90deg, #6f4e92, #d9988f);
    color: #fff;
}

}

@media screen and (max-width: 767px) {
  .page--top .title {
    padding-bottom: 0;
  }

  .page--top .container__inner {
        padding-top: 10%;
        width: 100%;
  }

  .page--top .container__content {
        height:48vw;
  }

  .page--top .container__inner::before {
    height: 60%;
    top: 36%;
  }

  .page--top .container__inner::after {

  }
.page--top .container__content::before {
    top: 8%;
    right: -14%;
}
  .page--top .letter-box {
    padding-bottom: 20vw;
  }

  .page--top .menu::before {
    width: 150px;
    height: 200px;
    bottom: auto;
    z-index: -1;
    top: -125px;
    right: -30px;
  }

  .list--menu {
    gap: 15px;
  }

  .list--menu>li {

  }

  .list--menu li a, 
  .list--box li .btn--create {
        height: 50px;
        font-size: 12px;
        width: 70%;
  }
.menu__draft {
    bottom: -45%;
}
.page--top .btn--create .custom::after {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 15px;
    top: 9px;
}
  .list--menu li .icon, .list--box li .btn--create .icon {
    width: 70px;
    height: 70px;
  }
.menu__draft .custom::after {
    width: 73px;
    height: 58px;
}
.menu__outbox .custom::after {
    width: 54px;
    height: 40px;
}
.btn--back {
    font-size: 70%;
    position: relative;
}

}

/* page--select
------------------------------ */
.list--stationery input[type="radio"]:checked + label .label__mark {
  display: none;
}

.list--stationery input[type="radio"]:checked + label::before {
  content: "";
  width: 55px;
  height: 50px;
  background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/stamp_01.png) no-repeat;
  background-size: contain;
  position: absolute;
  right: -18px;
  top: -18px;
  z-index: 1;
}

.list--stationery .list__item.new::after {
  font-family: var(--font-en);
}
.list--stationery input[type="radio"]:checked + label img {
    outline: 3px solid #ffffff;
}

@media screen and (max-width: 767px) {
  .list--stationery input[type="radio"]:checked + label::before {
    width: 45px;
    height: 40px;
    right: -15px;
    top: -15px;
  }
}

/* page--decorate
------------------------------ */
.decorate__block {

}

#fixed-footer-text {
  display: none;
}

/* page--send_complete
------------------------------ */
.page--send_complete .txt--notice  {
  position: relative;
  max-width: 700px;
  margin: 0 auto 50px;
}

.page--send_complete .txt--notice::before {
  content: "";
  background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/envelope_thanks.png) no-repeat;
  background-size: contain;
  width: 80%;
  height: 0;
  padding-bottom: 50%;
  display: inline-block;
  transform: rotate(-8deg);
  transform-origin: top;
}

.page--send_complete .txt--notice::after {
  content: "";
  background: url(/tomohisayamashita/event/image/cmn_letter_box/base/css/ph_post_anime_I9mUlNuH.gif) no-repeat;
  background-size: contain;
  width: 35%;
  height: 0;
  padding-top: 34%;
  position: absolute;
  left: 8%;
  bottom: -2%;
}

.page--send_complete .txt--notice p {
  display: none;
}

/* page--draftlist
------------------------------ */
.page--draftlist .list--draft {
  gap: 20px;
}

.page--draftlist .list--draft li .box-tit {
  display: none;
}

.page--draftlist .list--draft li .list__inner {
  border-radius: 5px;
}

/* page--sendlist
------------------------------ */
.page--sendlist .list--send li .send__txt .box-tit {
  display: none;
}

.page--sendlist .list--send li .send__txt .receiver {
  margin-top: 0;
}

/* page--send-detail
------------------------------ */
.page--send-detail .letter__inner .box-tit {
  display: none;
}

.page--send-detail .letter__inner .receiver {
  margin-top: 0;
}

/* page--complete
------------------------------ */
.page--complete .btn--top .default {
  display: none;
}

.page--complete .btn--top .custom::before {
  content: "TOP";
}
