/* ===========================
header
==============================*/
.second__header {
    background-image: url(../images/02_profile/profile_header-after.png);
}
.profile  {
    font-size: 1.4rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background-image: url(../images/00_common/haikei_dot.jpeg);
    background-size: contain;
    position: relative;
    border-bottom: 1px solid #3C3B3B;

}
.profile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* 50%の黒のオーバーレイ */
    z-index: 1;
}
.profile>* {
    position: relative;
    z-index: 2;
    /* テキストをオーバーレイの上に表示 */
}
/* ===========================
common
==============================*/
.profile {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 100px;
}
.profile-container {
    text-align: center;
    padding: 0 20px;
    padding-bottom: 100px;
}
.profile-container p{
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 700px;
}
.photo {
    border-radius: 20px;
}
/* ===========================
profile-greet
==============================*/
.profile-character{
    width: 150px;
    margin-top: 20px;
}
#profile-greet .photo {
    width: 100%;
    max-width: 700px;
    object-position: -20% 0;
}
h4 {
    font-size: 1.8rem;
    text-align: left;
    font-weight: 500;
}
h4 {
    display: flex;
    gap: 5px; /* 文字間隔を調整 */
    max-width: 700px;
    margin: 0 auto;
  }
  
  h4 span {
    display: inline-block;
    animation: bounce 1.5s ease-in-out infinite;
  }
  
  h4 span:nth-child(1) { animation-delay: 0s; }
  h4 span:nth-child(2) { animation-delay: 0.2s; }
  h4 span:nth-child(3) { animation-delay: 0.4s; }
  h4 span:nth-child(4) { animation-delay: 0.6s; }
  h4 span:nth-child(5) { animation-delay: 0.8s; }
  h4 span:nth-child(6) { animation-delay: 1s; }
  h4 span:nth-child(7) { animation-delay: 1.2s; }
  h4 span:nth-child(8) { animation-delay: 1.4s; }
  h4 span:nth-child(9) { animation-delay: 1.6s; }
  
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); } /* 跳ねる高さ */
  }
  
/* ===========================
thankyou
==============================*/
.thankyou {
    padding-top: 100px;
}
.thankyou-photo {
    width: 150px;
    border-radius: 9999px;
    margin-top: 20px;
}
/* ===========================
target
==============================*/
.target .photo {
    max-width: 700px;
    width: 100%;
}
/* ===========================
history
==============================*/
.historyItemSet {
    padding: 50px 0px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 30px;
    border-left: 2px solid #333333;
    max-width: 700px;
}
.historyItem {
    padding-top: 30px;
    position: relative;
}
.historyItem:first-of-type::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    background-color: var(--accent);
    border-radius: 900px;
    top: 28px;
    left: 0px;
    transform: translateX(-50%);
}
.historyItem::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    background-color: var(--accent);
    border-radius: 900px;
    top: 57px;
    left: 0px;
    transform: translateX(-50%);
}

.historyItem:first-of-type {
    padding-top: 0px;
}
#history time {
    padding-left: 10px;
    padding-bottom: 5px;
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    display: block;
    border-bottom: 1px solid #333333;
}
.historyItem-tagSet {
    display: flex;
    gap: 5px;
    padding-left: 10px;
    margin-top: 20px;
}

.historyItem-tag {
    padding: 3px 5px;
    border-radius: 5px;
    border: 1px solid var(--txt, #333);
    background: #FFF3D3;
    font-size: 1.2rem;
}

#history p {
    display: block;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 20px;
}
.historyItem-img {
    width: 100%;
    padding-left: 10px;
}
#history img {
    margin-top: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
}
@media (min-width: 700px) and (max-width: 979px) {
    /* この範囲で適用するCSSを記述 */
    .historyItemSet{
        margin: 0 auto;
    }
  }

/* ===========================
ボタン
==============================*/

/* ===========================
ボタン
==============================*/

/* ===========================
ボタン
==============================*/

