@charset "utf-8";
.section {
    padding: 50px 0 0 0 ;
}

.section--about {
    background-image: url(../img/bg_whiteborad.svg);
    color: #000;
}

.topic {
    font-family: "Yusei Magic", sans-serif;
    margin: 50px 0;
}

h2 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #000;
}

/* PC */
@media screen and (min-width:1280px){
    .section {
        padding: 100px 0 0 0;
    }

    .topic {
        margin: 100px 0;
    }

    h2 {
        font-size: 5rem;
    }
}

/* TAB */
@media screen and (min-width:769px) and (max-width:1279px) {
    .section {
        padding: 100px 0 0 0;
    }

    .topic {
        margin: 100px 0;
    }

    h2 {
        font-size: 3.5rem;
    }
}


/* ============CARD（自己紹介）============ */
.box__profile {
    background-color: #fff;
    max-width: 327px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 24px;
    box-shadow: 6px 6px 10px 0 rgb(0 0 0 / 30%);
    position:relative;
}

.box__profile::before {
    content: '';
    background-image: url(../img/pin.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 135px;
    top: -30px;
    width: 56px;
    height: 56px;
}

.first__profile {
    border-bottom: 1.5px solid #000;
    padding-bottom: 24px;
}

.first__profile img {
    max-width: 207px;
    width: 100%;
}

.list__name h2 {
    letter-spacing: 0.5rem;
    margin: 16px 0 8px;
}

.list__name p {
    font-size: 2rem;
    transform: rotate(0.05deg);
    margin-bottom: 24px;
}

.profile__txt p {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: calc(1.4rem * 1.5);
}

.profile__txt p:nth-last-of-type(1) {
    margin-bottom: 0;
}

.br_pc {
    display: none;
}

.timeline {
    text-align: left;
}

.timeline h3 {
    font-size: 1.4rem;
    font-weight: bold;
    transform: rotate(0.05deg);
    margin-top: 24px;
}

@media screen and (min-width:1280px){
    .box__profile {
        max-width: 1160px;
        padding: 100px 65px;
        box-shadow: 10px 10px 24px 0 rgb(0, 0, 0 / 30%);
    }

    .box__profile::before {
        left: 525px;
        top: -50px;
        width: 95px;
        height: 95px;
    }

    .first__profile {
        border-bottom: 3px solid #000;
        padding-bottom: 50px;
        display: flex;
        justify-content: space-between;
    }

    .first__profile img {
        max-width: 400px;
        width: 100%;
    }

    .first__profile__right {
        display:flex;
        flex-direction: column;
        max-width: 580px;
        width: 100%;
    }

    .list__name {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin: 90px 0 12px;
    }

    .list__name h2 {
        letter-spacing: 0.7rem;
        margin: 0;
    }

    .list__name p {
        font-size: 3.6rem;
        margin-top: 0;
    }

    .profile__txt p {
        font-size: 1.6rem;
        margin-bottom: calc(1.6rem * 1.5);
    }
    
    .br_pc {
        display: initial;
    }
    
    .timeline {
        margin-top: 45px;
    }

    .timeline li{
        display: flex;
        align-items: center;
    }

    .timeline h3 {
        font-size: 1.6rem;
        margin-top: 0;
        margin-right: 24px;
        max-width: 90px;
        width: 100%;
        }

    .timeline .txt {
        font-size: 1.6rem;
    }
    
    .br_sp {
        display: none;
    }

}

@media screen and (min-width:769px) and (max-width:1279px){
    .box__profile {
        max-width: 600px;
        padding: 75px 45px;
        box-shadow: 10px 10px 24px 0 rgb(0, 0, 0 / 30%);
    }

    .box__profile::before {
        left: 260px;
        top: -40px;
        width: 80px;
        height: 80px;
    }

    .first__profile {
        border-bottom: 2px solid #000;
        padding-bottom: 30px;
    }

    .first__profile img {
        max-width: 300px;
        width: 100%;
    }

    .list__name h2 {
        letter-spacing: 0.6rem;
        margin: 30px 0 4px;
    }

    .list__name p {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

    .profile__txt p {
        font-size: 1.6rem;
        margin-bottom: calc(1.6rem * 1.5);
    }
    
    .timeline {
        margin-top: 30px;
    }

    .timeline li{
        display: flex;
        align-items: center;
    }

    .timeline h3 {
        font-size: 1.6rem;
        margin-top: 0;
        margin-right: 24px;
        max-width: 90px;
        width: 100%;
    }

    .timeline .txt {
        font-size: 1.6rem;
    }
    

}

/* ============CARD（自己紹介）============ */

/* ============GLAPH（わたしの強み）============ */
.strengths {
    margin: 100px auto 75px;
    max-width: 327px;
    width: 100%;
    padding: 0 12px 0 36px;
}

.st__txtbox {
    max-width: 294px;
    width: 100%;
    text-align: center;
    margin: 0 0 0 auto;
    position: relative;
}

.strengths h2 {
    display: inline-block;
    font-family: "Yusei Magic", sans-serif;
    font-weight: 300;
    background-color: var(--primary-yellow, #F1AC00);
    border: 3px solid #000;
    padding: 4px 8px;
    margin-bottom: 30px;
}

.st__list {
    text-align: left;
    position: relative;
}

.st__list h3 {
    font-size: 1.8rem;
    font-family: "Yusei Magic", sans-serif;
    font-weight: 300;
    background: linear-gradient(transparent 50%, #FFD600 50%);
    display: inline-block;
    margin-bottom: 8px;
}

.st__list li {
    border: 3px solid #000;
    border-radius: 30px;
    padding: 20px 24px;
    margin-top: 24px;
    display: inline-block;
}

.st__list li:nth-child(1) {
    margin-top: 0;
}

.strengths h2::before {
    content: '';
    background-image: url(../img/border_top.svg);
    background-repeat: no-repeat;
    width: 91px;
    height: 61px;
    position: absolute;
    top: 27px;
    left: -33px;
}

.st__list01::before {
    display: block;
    content: '';
    background-image: url(../img/border_1st.svg);
    background-repeat: no-repeat;
    width: 35px;
    height: 400px;
    position: absolute;
    top: -40px;
    left: -33px;
}

.st__list02::before {
    display: block;
    content: '';
    background-image: url(../img/border_2nd.svg);
    background-repeat: no-repeat;
    width: 35px;
    height: 300px;
    position: absolute;
    top: 300px;
    left: -33px;
}

.st__list03::before {
    display: block;
    content: '';
    background-image: url(../img/border_last.svg);
    background-repeat: no-repeat;
    width: 35px;
    height: 250px;
    position: absolute;
    top: 520px;
    left: -33px;
}

/* PC */
@media screen and (min-width:1280px){
    .strengths {
        margin: 150px auto 100px;
        max-width: 1160px;
        padding: 0;
    }
    
    .st__txtbox {
        max-width: 1160px;
        margin: 0 auto;
    }
    
    .strengths h2 {
        border: 5px solid #000;
        padding: 4px 8px;
        margin-bottom: 135px;
    }

    .strengths h2::after {
        content: '';
        background-image: url(../img/border_pc.svg);
        background-repeat: no-repeat;
        width: 730px;
        height: 140px;
        position: absolute;
        left: 220px;
        top: 90px;
    }
    
    .st__list {
        display: flex;
        justify-content: space-between;
    }
    
    .st__list h3 {
        font-size: 2.4rem;
    }
    
    .st__list li {
        padding: 20px;
        margin-top: 0;
        margin-left: 55px;
        max-width: 350px;
        width: 100%;
        border: 5px solid #000;
    }

    .st__list li p {
        font-size: 1.6rem;
    }

    .st__list li:nth-child(1) {
        margin-left: 0;
    }    
    
    .strengths h2::before,
    .st__list01::before,
    .st__list02::before,
    .st__list03::before {
        display: none;
    }
    
}

/* TAB */
@media screen and (min-width:769px) and (max-width:1279px) {
    .strengths {
        margin: 150px auto 100px;
        max-width: 600px;
        padding: 0;
    }
    
    .st__txtbox {
        max-width: 1160px;
        margin: 0 auto;
    }
    
    .strengths h2 {
        border: 5px solid #000;
        padding: 16px 32px;
        margin-bottom: 75px;
    }
    
    .st__list {
        padding-left: 50px;
    }

    .st__list h3 {
        font-size: 2.4rem;
    }
    
    .st__list li {
        padding: 30px;
        max-width: 550px;
        width: 100%;
        border: 5px solid #000;
        margin-top: 36px;
    }

    .st__list li p {
        font-size: 1.6rem;
    }
    

    .strengths h2::before {
        background-image: url(../img/border_top_tab.svg);
        width: 165px;
        height: 200px;
        top: 45px;
        left: 5px;
    }

    .st__list01::before {
        background-image: url(../img/border_1st_tab.svg);
        width: 50px;
        height: 200px;
        top: 30px;
        left: 5px;
    }

    .st__list02::before {
        background-image: url(../img/border_2nd_tab.svg);
        width: 50px;
        height: 400px;
        top: 200px;
        left: 5px;
    }

    .st__list03::before {
        background-image: url(../img/border_last_tab.svg);
        width: 50px;
        height: 230px;
        top: 440px;
        left: 5px;
    }
}

/* ============GLAPH（わたしの強み）============ */

/* ============Illust&PHOTO============ */
.img__book {
    max-width: 327px;
    width: 100%;
    margin: 50px auto;
    text-align: center;
}

.img__book h2 {
    font-family: "Yusei Magic", sans-serif;
    font-weight: 300;
}

.img__book__topic {
    margin-bottom: 24px;
}

.img__book__topic p {
    text-align: left;
    margin-top: 12px;
}

.img__box {
    margin: 0 auto;
    width: 100%;
    column-count: 2;
    column-gap: 0.5;
}

.img__card {
    margin: 0 0 16px;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    box-shadow: 8px 12px 10px -6px rgba(0, 0, 0, 0.3);
    display: inline-block;
    border-radius: 10px;
}

.board__bottom img {
    width: 100%;
}

@media screen and (min-width:1280px){
    .img__book {
        max-width: 1160px;
        margin: 200px auto;
    }
    
    .img__book__topic {
        margin-bottom: 50px;
    }
    
    .img__book__topic p {
        font-size: 1.6rem;
        text-align: center;
    }
    

    .img__box {
        column-count: 3;
        column-gap: 30px;
    }
    
    .img__card {
        margin: 0 0 30px;
        box-shadow: 12px 16px 14px -8px rgba(0, 0, 0, 0.5);
        border-radius: 16px;
    }
    
    .board__bottom img {
        width: 100%;
    }
}

@media screen and (min-width:679px) and (max-width:1279px){
    .img__book {
        max-width: 600px;
        margin: 150px auto 100px;
    }
    
    .img__book__topic {
        margin-bottom: 40px;
    }
    
    .img__book__topic p {
        font-size: 1.6rem;
    }
    

    .img__box {
        column-count: 2;
        column-gap: 1;
    }
    
    .img__card {
        margin: 0 0 16px;
        box-shadow: 12px 16px 14px -8px rgba(0, 0, 0, 0.5);
        border-radius: 12px;
    }
    
    .board__bottom img {
        width: 100%;
    }

}
/* ============Illust&PHOTO============ */