@charset "UTF-8";

.main-name h2 {
  width: 1200px;
  max-width: 100%;
  margin: 20px auto 50px auto;
  text-align: center;
  font-size: 30px;
}

/* 名前表示部分 */
#name-text {
  display: inline-block;
  font-size: 45px;


  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fb9966;
  line-height: 1.1;


  /* アニメーション設定 */
  transform: translateY(30px);
  opacity: 0;
  animation: riseAll 0.8s ease-out forwards;
}

/* 下からスッと上に現れる */
@keyframes riseAll {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 動きを控える設定の人用 */
@media (prefers-reduced-motion: reduce) {
  #name-text {
    animation: none;
    transform: none;
    opacity: 1;
  }
}


/*情報部分  */
.myinfo {
  margin-top: 30px;
  margin-bottom: 50px;
}

.myinfo h2 {
  margin-bottom: 20px;
  text-align: center;
}

.myinfo h2::after,
.myinfo h2::before {
  content: '';
  display: block;
  width: 1000px;
  height: 3px;
  background-color: black;
  margin: 20px auto 20px auto;
}

.info-text {
  display: flex;
  padding: 0 30px;
  justify-content: space-around;
  align-items: center;
}

.info-text img {
  width: 300px;
}

/* 履歴ない場合 */
.error1,
.error2 {
  margin-top: 100px;
  margin-bottom: 100px;
  text-align: center;
  font-size: 20px;
}

/* 購入履歴 */
.title-3 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 20px;
}

.title-3:hover {
  color: cadetblue;
}

.counter {
  width: 600px;
  margin: 30px auto 0 auto;
}

.counter table {
  width: 500px;
  margin-bottom: 50px;
}


/* 登録情報 */
.accordion_butto {
  width: 30px;
  height: 30px;
  text-align: center;
}

.accordion_button img {
  width: 28px;
  height: 30px;
  margin-left: 10px;
  text-align: center;
  padding-right: 3px;
  padding-top: 3px;
}

.accordion_button:hover {
  color: cadetblue;
}

.info3 nav {
  display: none;
  text-align: center;
}

.info3 h3 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 20px;
}

.info3 h3::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background-color: black;
  margin: 10px auto 0 auto;

}

.info3 nav.active {
  display: block;
}


/* スライド部分 */
.myhistory {
  overflow: hidden;
  width: 310px;
  margin: 10px auto;
  padding: 0px;
}

#photos {
  margin: 0px;
  padding: 0px;
}

.myhistory ul {
  display: flex;
  justify-content: space-around;
}

.myhistory li {
  width: 300px;
  margin: 5px;
  padding: 0px;
}

.myhistory img {
  width: 300px;
  margin: 0px;
  padding: 0px;
}

/* ダブルクリックボタン */
.info1 button {
  margin-top: 20px;
}


@media (max-width: 430px) {
.main-name h2{
  font-size: 20px;
}

  .myinfo h2::after,
  .myinfo h2::before {
    width: 400px;
  }

.core{
  color: red;
}


  #main_img {
    width: 100px;
    height: 100px;
  }

.info1 h2,
.info2 h2,
.info3 h2{
  font-size: 20px;
}

.counter,
.counter table{
  width: 420px;
  max-width: 90%;
}

.counter h3{
  width: 300px;
  word-break: keep-all;
}


 .footer ul {
    font-size: 12px;
  }

}