/*styles.css*/

html {
    font-size: 100%;
}

body {
    font-family: "Hiragino Sans", "ヒラギノ角ゴシック", "Yu gothic medium", "游ゴシック medium", "YuGothic", "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: rgb(0, 0, 0);
    z-index: 1;
}

:root {
    --maincolor: orange;
    --subcolor: white;
    --pontcolor: black;
    --text-color: #000;
    --text-subcolor: #fff;
    --text-subcolor2: rgb(211, 99, 54);
    --text-color-hover: #484848;
    --text-subcolor-hover: #b0b0b0;
    --line-color: #00B900;
}

span {
    color: var(--maincolor);
}

a {
    color: var(--text-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ヘッダー */


header {
    background-color: rgb(255, 255, 255, 0.9);
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
    opacity: 0;
    animation: fadein2 2s 1s forwards;
}

header .header-inner {
    display: flex;
    justify-content: nomal;
    align-items: center;
}

header .header-inner .header-title h1 {
    margin-bottom: 0;
}

header .header-inner .header-title p {
    margin: 0;
}

header nav {
    margin-right: 5%;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav ul li {
    margin-left: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

header nav ul li :hover {
    color: var(--text-subcolor-hover);
}

/* ここからTOPビューの記述 */
/*----------------------*/

.main-visual {
    position: relative;
    opacity: 0;
    animation: fadein2 2s forwards;
    margin: 0;
    padding: 0;
    z-index: 3;
    top: 0;
}

.main-visual .mainimg {
    position: absolute;
    top: 80px;
    left: 35%;
}

.main-visual .mainimg img {
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--text-color-hover);
    width: 350px;
}

#main-visual .main-visual .insert-img1 {
    position: absolute;
    top: 50%;
    left: 15%;
    opacity: 0;
    animation: fadein2 1s 2.8s forwards;
}

#main-visual .main-visual .insert-img1 img {
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--text-color-hover);
    width: 200px;
}

#main-visual .main-visual .insert-img2 {
    position: absolute;
    top: 5%;
    left: 80%;
    opacity: 0;
    animation: fadein2 1s 3.1s forwards;
}

#main-visual .main-visual .insert-img2 img {
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--text-color-hover);
    width: 250px;
}

#main-visual .main-visual .insert-img3 {
    position: absolute;
    top: 400px;
    left: 63%;
    opacity: 0;
    animation: fadein2 1s 3.4s forwards;
}

#main-visual .main-visual .insert-img3 img {
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--text-color-hover);
    width: 150px;
}

#main-visual .main-visual .insert-img4 {
    position: absolute;
    top: 200px;
    left: 5%;
    opacity: 0;
    animation: fadein2 1s 3.7s forwards;
}

#main-visual .main-visual .insert-img4 img {
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--text-color-hover);
    width: 150px;
}

#main-visual .main-visual p {
    font-size: 5rem;
    font-weight: bold;
    color: var(--text-subcolor);
    text-shadow: 5px 5px 5px var(--text-color-hover);
    text-align: center;
    margin-top: 0;
}

#main-visual .main-visual .keyword1 {
    position: absolute;
    top: 60px;
    left: 2%;
    opacity: 0;
    animation: slidein-left 1s 1s forwards;
}

#main-visual .main-visual .keyword2 {
    position: absolute;
    top: 200px;
    left: 60%;
    opacity: 0;
    animation: slidein-right 1s 1.8s forwards;
}

/* ここから下がメッセージセクション */

#message {
    position: relative;
}

#message img {
    position: absolute;
    z-index: -1;
    top: 10px;
    left: 5%;
    width: 300px;
    opacity: 0;
    animation: fadein2 3s 1s forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

#message h2 {
    font-size: 5rem;
    font-weight: bold;
    margin: 0 30px 0;
    margin-left: 30px;
    color: var(--text-subcolor2);
    opacity: 0;
    animation: slidein-left 1s forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

#message h2 span {
    font-size: 3rem;
    color: var(--text-subcolor2);
}

#message p {
    font-size: 1.3rem;
    margin-top: 0;
    margin-left: 30px;
}


/* ここから下がプロフィールセクション */

#profile {
    background-image: url(../images/bg-sadakatsu.jpg);
    background-position: center;
}

#profile h2 {
    font-size: 3rem;
    font-weight: normal;
    color: var(--text-subcolor2);
    text-shadow: 1px 1px 0px var(--text-subcolor), 5px 5px 5px var(--text-color-hover);
    margin: 20px auto 0 200px;
    padding-top: 50px;
}

#profile .profile-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 0 50px 50px;
}

#profile .profile-box .profile-img {
    opacity: 0;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

#profile .profile-box .profile-img img {
    width: 400px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--text-color-hover);
}

#profile .profile-text {
    opacity: 0;
    animation: slidein forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

#profile .profile-text h3 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 20px 0;
}

#profile .profile-text h3 span {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--text-color);
}

#profile .profile-inner {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

#profile .profile-inner h4 {
    margin: 0;
}

#profile .profile-inner p {
    margin: 0;
}

#profile .profile-inner-block1 {
    margin: 0 40px 0;
}

#profile .profile-inner .career {
    margin-top: 1rem;
}

/* ここから下が発信するチカラ */

#profile-message {
    position: relative;
    margin-top: 50px;
}

.running-right {
    position: absolute;
    top: 0;
    left: 100px;
    width: 300px;
    z-index: -1;
    animation: slidein-left forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

.profile-main {
    display: flex;
    align-items: center;
    margin: auto;
    padding: 0 50px 50px;
}

.profile-main img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 5px 5px 5px var(--text-color-hover);
    margin-left: 50px;
}

.profile-main img:nth-child(2) {
    opacity: 0;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 20% cover 50%;
}

.profile-main img:nth-child(3) {
    opacity: 0;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 30% cover 50%;
}

.profile-main img:nth-child(4) {
    opacity: 0;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 40% cover 50%;
}

.profile-main h3 {
    font-size: 5rem;
    font-weight: bold;
    margin: 0 20px 0;
    color: var(--text-subcolor2);
}

.profile-main h3 span {
    font-size: 3rem;
    color: var(--text-subcolor2);
}

.profile-message-text {
    display: flex;
}

#profile-message p {
    font-size: 1.3rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

#profile-message .link-box {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#profile-message .link-box>img {
    height: 200px;
    margin: 0 20px;
}

.link-box-inner h4 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 0 20px;
    opacity: 0;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 30% cover 50%;
}

.link-box-inner .sns-link {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.link-box-inner .sns-link a {
    margin: 0 20px;
}

.link-box-inner .sns-link a img {
    width: 100px;
    height: auto;
}

#support {
    display: flex;
    margin-top: 50px;
}

.support-text {
    width: 60%;
    padding: 20px;
    position: relative;
}

.support-text img {
    position: absolute;
    top: 100px;
    left: 300px;
    width: 300px;
    z-index: -1;
    animation: zoomup 1.5s forwards;
    animation-timeline: view(block);
    animation-range: cover 30% cover 50%;
    transform-origin: 0%;
}

.support-text h2 {
    font-size: 5rem;
    font-weight: bold;
    color: var(--text-subcolor2);
    /* text-shadow: 1px 1px 0px var(--text-subcolor), 5px 5px 5px var(--text-color-hover); */
    margin: 20px auto 0 200px;
    padding-top: 50px;
}

.support-text h2 span {
    font-size: 3rem;
    color: var(--text-subcolor2);
}

.support-text p {
    font-size: 1.3rem;
    margin-left: 200px;
}

.support-text h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-left: 200px;
}

.support-member p {
    font-size: 1.3rem;
    font-weight: bold;
}

.bank-info {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-subcolor2);
}

.support-img {
    width: 300px;
    height: 200px;
    margin-top: 150px;
}

.support-img img {
    object-fit: cover;
}

#d-tac {
    position: relative;
    margin: 0 50px;
}

#d-tac h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0;
}

#d-tac h2 {
    font-size: 6rem;
    font-weight: bold;
    color: var(--text-subcolor2);
    margin: 0 auto 0 100px;
}

.d-tac-img1 {
    position: absolute;
    top: 0;
    right: 150px;
    z-index: -1;
}

.d-tac-img1 img {
    width: 500px;
}

.d-tac-img2 {
    position: absolute;
    top: 600px;
    left: 500px;
    z-index: -1;
}

.d-tac-img2 img {
    width: 100px;
}

.d-tac-text {
    margin: 0 50px;
    display: flex;
    justify-content: space-around;
}

.d-tac-text h3 {
    font-size: 2.5rem;
    font-weight: bold;
}

.d-tac-text h3 span {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-subcolor2);
}

.d-tac-text p {
    font-size: 2rem;
    font-weight: bold;
}

.d-tac-text p span {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-subcolor2);
}

.d-tac-message {
    text-align: center;
    margin-top: 50px;
}

.d-tac-message p {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: underline solid rgb(167, 167, 167) 10px;
    text-decoration-skip-ink: none;
}

.d-tac-message p:nth-child(1) {
    animation: slidein 1s forwards;
    animation-timeline: view(block);
    animation-range: cover 20% cover 50%;
}

.d-tac-message p:nth-child(2) {
    animation: slidein 1s forwards;
    animation-timeline: view(block);
    animation-range: cover 30% cover 50%;
}

.d-tac-message p:nth-child(3) {
    animation: slidein 1s forwards;
    animation-timeline: view(block);
    animation-range: cover 40% cover 50%;
}

.d-tac-message p span {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-subcolor2);
}

.d-tac-info {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.d-tac-info-img {
    width: 150px;
}

.d-tac-info-img img:nth-child(2) {
    margin-top: -50px;
    margin-left: 150px;
}

.d-tac-info-text p {
    font-size: 1rem;
    font-weight: bold;
}

footer .footer-inner p {
    text-align: center;
}

/* ここからレスポンシブ */

/* iPad Pro 601~1024 */
@media screen and (max-width: 1024px) {

    /*  */
    header nav ul li {
        font-size: 1rem;
    }

    .main-visual .mainimg {
        top: 70px;
        left: 35%;
    }

    .main-visual .mainimg img {
        width: 250px;
    }

    #main-visual .main-visual .insert-img1 {
        top: 60%;
        left: 20%;
    }

    #main-visual .main-visual .insert-img1 img {
        width: 120px;
    }

    #main-visual .main-visual .insert-img2 {
        top: 5%;
        left: 75%;
    }

    #main-visual .main-visual .insert-img2 img {
        width: 150px;
    }

    #main-visual .main-visual .insert-img3 {
        top: 60%;
        left: 65%;
    }

    #main-visual .main-visual .insert-img3 img {
        width: 100px;
    }

    #main-visual .main-visual .insert-img4 {
        top: 40%;
        left: 5%;
    }

    #main-visual .main-visual .insert-img4 img {
        width: 120px;
    }

    #main-visual .main-visual p {
        font-size: 3rem;
    }

    #message img {
        left: 5%;
        width: 200px;
    }

    #message h2 {
        font-size: 3rem;
    }

    #message h2 span {
        font-size: 2rem;
    }

    #message p {
        font-size: 1rem;
    }

    #profile h2 {
        margin: 10px auto 0 100px;
        padding-top: 30px;
        font-size: 2rem;
    }

    #profile .profile-box .profile-img img {
        width: 300px;
    }

    #profile .profile-text h3 {
        font-size: 2rem;
    }

    #profile .profile-text h3 span {
        font-size: 1rem;
    }

    #profile .profile-inner h4 {
        font-size: 1rem;
    }

    #profile .profile-inner p {
        font-size: 0.8rem;
    }

    .running-right {
        left: 50px;
        width: 200px;
    }

    .profile-main img {
        width: 150px;
        height: 200px;
        margin-left: 20px;
    }

    .profile-main h3 {
        font-size: 3rem;
    }

    .profile-main h3 span {
        font-size: 2rem;
    }

    #profile-message p {
        font-size: 1rem;
    }

    #profile-message .link-box>img {
        height: 150px;
    }

    .link-box-inner h4 {
        font-size: 1.5rem;
    }

    .link-box-inner .sns-link a img {
        width: 80px;
    }

    .support-text img {
        top: 50px;
        left: 200px;
        width: 250px;
    }

    .support-text h2 {
        font-size: 3rem;
        margin-left: 100px;
    }

    .support-text h2 span {
        font-size: 2rem;
    }

    .support-text p {
        font-size: 1rem;
        margin-left: 100px;
    }

    .support-text h3 {
        margin-left: 100px;
        font-size: 1.5rem;
    }

    .support-member p {
        font-size: 1rem;
    }

    .support-img {
        width: 250px;
        height: 180px;
        margin-top: 100px;
    }

    #d-tac h4 {
        font-size: 1.5rem;
    }

    #d-tac h2 {
        font-size: 4rem;
        margin: 0 auto 0 50px;
    }

    .d-tac-img1 {
        right: 5%;
    }

    .d-tac-img1 img {
        width: 300px;
    }

    .d-tac-img2 {
        top: 400px;
        left: 300px;
    }

    .d-tac-img2 img {
        width: 80px;
    }

    .d-tac-text h3 {
        font-size: 2rem;
    }

    .d-tac-text h3 span {
        font-size: 2rem;
    }

    .d-tac-text p {
        font-size: 1.5rem;
    }

    .d-tac-text p span {
        font-size: 1.5rem;
    }

    .d-tac-message p {
        font-size: 1.5rem;
    }

    .d-tac-message p span {
        font-size: 1.5rem;
    }

    .d-tac-info-img {
        width: 100px;
    }


    .d-tac-info-img img:nth-child(2) {
        margin-top: -30px;
        margin-left: 100px;
    }

    .d-tac-info-text p {
        font-size: 0.8rem;
    }


}

/* ここからレプポンシブ スマホ　~600px */

@media screen and (max-width: 600px) {

    header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0;
    }

    header .header-inner {
        grid-row: 1/2;
        grid-column: 1/3;
    }

    header nav {
        grid-row: 2/3;
        grid-column: 1/3;
    }

    header .header-title h1 {
        font-size: 1.2rem;
        margin-top: 5px;
    }

    header .header-inner .header-title p {
        font-size: 0.6rem;
        margin-top: -5px;
    }

    header .header-inner p {
        font-size: 0.6rem;
        vertical-align: bottom;
    }

    header nav ul {
        margin-top: -15px;
    }

    header nav ul li {
        margin-left: 10px;
    }

    header nav ul li a {
        font-size: 0.3rem;
        font-weight: bold;
    }

    .main-visual .mainimg {
        top: 18%;
        left: 38%;
    }

    .main-visual .mainimg img {
        width: 80px;
    }

    #main-visual .main-visual .insert-img1 {
        top: 55%;
        left: 20%;
    }

    #main-visual .main-visual .insert-img1 img {
        width: 50px;
    }

    #main-visual .main-visual .insert-img2 {
        top: 5%;
        left: 75%;
    }

    #main-visual .main-visual .insert-img2 img {
        width: 50px;
    }

    #main-visual .main-visual .insert-img3 {
        top: 53%;
        left: 65%;
    }

    #main-visual .main-visual .insert-img3 img {
        width: 50px;
    }

    #main-visual .main-visual .insert-img4 {
        top: 10%;
        left: 5%;
    }

    #main-visual .main-visual .insert-img4 img {
        width: 50px;
    }

    #main-visual .main-visual p {
        font-size: 1.5rem;
    }

    #main-visual .main-visual .keyword1 {
        top: 20%;
        left: 2%;
    }

    #main-visual .main-visual .keyword2 {
        top: 30%;
        left: 55%;
    }

    #message img {
        left: 5%;
        width: 100px;
    }

    #message h2 {
        font-size: 1.5rem;
        margin-left: 10px;
    }

    #message h2 span {
        font-size: 1rem;
    }

    #message p {
        font-size: 0.5rem;
        margin-left: 10px;
        margin-right: 10px;
    }

    #profile {
        background-position: left;
    }

    #profile h2 {
        margin: 10px auto 0 10%;
        padding-top: 0;
        font-size: 2rem;
    }

    #profile .profile-box {
        display: inline;
        padding: 0;
    }

    #profile .profile-box .profile-img {
        margin-left: 10%;
    }

    #profile .profile-box .profile-img img {
        width: 100px;
    }

    #profile .profile-text h3 {
        font-size: 1.2rem;
    }

    #profile .profile-text h3 span {
        font-size: 0.7rem;
    }

    #profile .profile-inner {
        margin-top: 10px;
    }

    #profile .profile-inner h4 {
        font-size: 0.8rem;
    }

    #profile .profile-inner p {
        font-size: 0.6rem;
        text-align: left;
    }

    #profile .profile-inner-block1 {
        margin: 0;
        padding: 0 5px;
        text-align: center;
    }


    #profile .work-history {
        margin-top: 0;
        padding: 0 5px;
        text-align: center;
    }

    .running-right {
        left: 100px;
        width: 100px;
    }

    .profile-main {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 0;
    }


    .profile-main h3 {
        font-size: 2rem;
        grid-row: 1/2;
        grid-column: 1/4;
    }

    .profile-main img {
        width: 100px;
        height: 150px;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    #profile-message .profile-message-text p {
        font-size: 0.5rem;
    }

    #profile-message .link-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #profile-message .link-box>img {
        height: 100px;
    }

    #profile-message .link-box img:nth-child(1) {
        grid-row: 1/2;
        grid-column: 1/2;
    }

    #profile-message .link-box img:nth-child(2) {
        grid-row: 1/2;
        grid-column: 2/3;
    }

    .link-box-inner {
        grid-row: 2/3;
        grid-column: 1/3;
    }

    .link-box-inner h4 {
        font-size: 1rem;
        margin-top: 10px;
    }

    .link-box-inner .sns-link {
        margin: 0;
    }

    .link-box-inner .sns-link a img {
        width: 60px;
        height: auto;
    }

    #support {
        margin-top: 20px;
    }

    .support-text {
        width: 100%;
        padding: 5px;
    }

    .support-text img {
        top: 80px;
        left: 80px;
        width: 120px;
    }

    .support-text h2 {
        font-size: 2rem;
        margin-left: 10px;
        padding: 0;
    }

    .support-text h2 span {
        font-size: 1rem;
    }

    .support-text p {
        font-size: 0.5rem;
        margin-left: 10px;
    }

    .support-text h3 {
        font-size: 1rem;
        margin-left: 10px;
    }

    .support-img {
        width: 200px;
        height: 150px;
    }

    #d-tac {
        margin: 0;
    }

    #d-tac h4 {
        font-size: 1rem;
        text-align: left;
        margin-left: 0;
    }

    #d-tac h2 {
        font-size: 2rem;
        text-align: center;
        margin: 0;
    }

    .d-tac-img1 {
        right: 10%;
    }

    .d-tac-img1 img {
        width: 200px;
    }

    .d-tac-img2 {
        top: 250px;
        left: 150px;
    }

    .d-tac-img2 img {
        width: 50px;
    }

    .d-tac-text {
        margin: 0;
    }

    .d-tac-text h3 {
        font-size: 1.5rem;
    }

    .d-tac-text h3 span {
        font-size: 1.5rem;
    }

    .d-tac-text p {
        font-size: 1rem;
    }

    .d-tac-text p span {
        font-size: 1rem;
    }

    .d-tac-message p {
        font-size: 1rem;
    }

    .d-tac-message p span {
        font-size: 1.2rem;
    }

    .d-tac-info-text p {
        font-size: 0.8rem;
        font-weight: normal;
        margin: 0.5rem 0;
    }

}