body {
    background: #f8f9fa;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
}
p {
    font-size: 20px;
}
header {
    background-image: linear-gradient(135deg, #0c2140, #224B8F);
}
section {
    max-width: 960px;
    margin: 50px auto 0 auto;
}
.headerdiv {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 16px;
    max-width: 808px;
    margin: 0 auto;
    text-align: center;
    gap: 16px;
  
    font-weight: 300;
    font-style: normal;
}
.headerdiv span {
    background: #ffffff52;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 20px;
}
.headerdiv h2 {
    font-size: 36px;
}
.profillsec h2 {
    position: relative;
    text-align: center;
    font-size: 28px;
}
.profillsec h2:after {
    position: absolute;
    content: "";
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
     background-image: linear-gradient(135deg, #0c2140, #224B8F);
     height: 4px;
     width: 50px;
     border-radius: 20px;
     bottom: -16px;
}
.profillsec ul {
    display: flex;
    justify-content: center;
    gap:32px 2%;
    margin-top: 80px;
    padding: 0 16px;
}
.profillsec ul li {
    width: 32%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 6px 6px 6px 0px rgb(233 233 233 / 45%);
    padding:8px 16px 16px;
}
.profillsec ul li img {
    width: 60%;
}
.profillsec ul li span {
    color: #224B8F;
    font-weight: 800;
    font-size: 16px;
}
.profillsec ul li .name {
    font-weight: 800;
    font-size: 24px;
    margin: 12px 0;
}
.profillsec ul li .history {
    font-size: 18px;
    margin-bottom: 16px;
}
.profillsec ul li a {
    background-image: linear-gradient(135deg, #0c2140, #224B8F);
    margin-top: auto;
    padding: 8px 16px;
    border-radius: 30px;
    color: #fff;
    border: 1px solid #224B8F;
    transition: 0.5s;
}
.dialoguesec {
    background: #fff;
    padding: 32px;
}
.dialoguecontent {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 120px;
}
.dialoguesec .chapter > span {
    background-image: linear-gradient(135deg, #0c2140, #224B8F);
    border-radius: 40px;
    padding: 8px 16px;
    color: #fff;
    letter-spacing: -1px;
    font-weight: 700;
    font-size: 18px;
}

.dialoguesec .chapter h2 {
    margin-top: 16px;
    font-size: 28px;
}

.dialoguesec .chapter img {
    width: 90%;
    margin: 32px auto 0;
    display: block;
}
.commentcontent {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}
.commentbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.commentbox > span {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 60px;
    margin-top: 20px;
}
.commentbox > .toriumi-sancomment {
    background-image: url(../images/profile_toriumi-san.webp);
    background-size: contain;
}
.commentbox > .itai-sancomment {
    background-image: url(../images/profile_itai-san.webp);
    background-size: contain;
}
.commentbox > .sakurada-sancomment {
    background-image: url(../images/profile_sakurada-san.webp);
    background-size: contain;
}
.comment {
        width: calc(100% - 152px);
}
.comment b {
    color: #224B8F;
    font-weight: 800;
    font-size: 20px;
    display: block;
}
.comment p {
    position: relative;
    margin-top: 8px;
    border-radius: 8px;
    background: #f2f2f2;
    padding: 12px;
}
.comment p:after {
    content: "";
    position: absolute;
    left: -8px;
    top: 8px;
    width: 15px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 20'%3E%3Cpath d='M15 0 C15 0 0 8 0 10 C0 12 15 20 15 20 Z' fill='%23f2f2f2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;

}
.commentbox_r {
    flex-direction: row-reverse;
}
.commentbox_r b {
    text-align: right;
}
.commentbox_r .comment p::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 20'%3E%3Cpath d='M0 0 C0 0 15 8 15 10 C15 12 0 20 0 20 Z' fill='%23f2f2f2'/%3E%3C/svg%3E");
    right: -8px;
    left: auto;
}
.ulbox {
    background: #f8f9fa;
    border-radius: 8px;
    margin: 32px;
    padding: 24px;
    border-left: 4px solid #224B8F;
}
.ulbox h3 {
    color: #224B8F;
    font-size: 22px;
}
.ulbox ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}
.ulbox ul li {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    font-size: 18px;
}
.ulbox ul li svg {
    fill: #224B8F;
    width: 23px;
    flex-shrink: 0;
}
.ulbox ul li h4 {
    white-space:nowrap;
    display: flex;
}
.ulbox ul li p {
    margin-left: 22px;
    font-size: 18px;
}
.ctafooter {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    background-image: linear-gradient(135deg, #0c2140, #224B8F);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    padding: 80px 16px;
    gap: 24px;
}
.ctafooter h2 {
    font-size: 32px;
    text-align: center;
}
.ctabtn {
    display: flex;
    gap: 24px;
}
.ctabtn a {
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 16px 32px;
    font-weight: 700;
    text-align: center;
    box-shadow: 6px 6px 6px 0px rgb(89 89 89 / 45%);
}
.ctabtn a:first-of-type {
    background: #fff;
    color: #224B8F;
}
.ctabtn a:last-of-type {
    color: #fff;
}

@media (min-width: 769px) {
    .sp {
        display: none;
    }
    .ctabtn a:hover {
        transition: 0.3s;
    }
    .ctabtn a:first-of-type:hover {
        background: transparent;
        color: #fff;
    }
    .ctabtn a:last-of-type:hover {
        background: #fff;
        color: #224B8F;
    }
    .profillsec ul li a:hover {
        background: transparent;
        color: #224B8F;
    }
}
@media (max-width:768px) {
    p {
        font-size: 18px;
    }
    .headerdiv {
        padding: 64px 16px;
    }
    .headerdiv span {
        font-size: 16px;
    }
    .headerdiv h2 {
        font-size: 26px;
    }
    .profillsec h2 {
        font-size: 24px;
    }
    .profillsec h2:after {
        width: 32px;
        bottom: -8px;
    }
    .profillsec ul {
        flex-direction: column;
    }
    .profillsec ul li {
        width: 100%;
    }
    .profillsec ul li .name {
        font-size: 22px;
    }
    .profillsec ul li .history {
        font-size: 16px;
    }
    .dialoguesec {
        padding: 32px 16px;
    }
    .dialoguesec .chapter > span {
        font-size: 14px;
    }
    .dialoguesec .chapter h2 {
        font-size: 22px;
    }
    .commentbox > span {
        width: 45px;
        margin-top: 30px;
    }
    .comment {
        width: calc(100% - 61px);
    }
    .comment b {
        font-size: 18px;
    }
    .ulbox {
        margin: 40px 0;
        padding: 16px 16px 16px 8px;
    }
    .ulbox h3 {
        margin-left: 8px;
        font-size: 20px;
    }
    .ulbox ul li {
        font-size: 16px;   
    }
    .ulbox ul li h4 {
        white-space: normal;
        align-items: flex-start;
    }
    .ulbox ul li p {
        margin-left: 24px;
        font-size: 16px;
    }
    .ctafooter h2 {
        font-size: 24px;
    }
    .ctabtn {
        flex-direction: column;
    }
}
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}
.fade-up.fade-up2 {
    transition-delay: 0.5s;
}
.fade-up.fade-up3 {
     transition-delay: 1s;
}
