@charset "UTF-8";

/*PCサイズレスポンシブ*/
@media(min-width:1000px) {

    body {
        min-width: 1000px;
        background-color: #f7f6f5;
    }

    nav {
        display: none;
    }

    .container {
        width: 100%;
        background-color: #f7f6f5;
        font-family: serif;
    }

    /* PCcss */

    a {
        text-decoration: none;
        color: #000;
    }

    h1 {
        font-size: 24px;
        margin: 0;
    }

    .header {
        background-color: #f7f6f5;
        width: 100%;
        display: flex;
        height: 100px;
        justify-content: space-between;
        align-items: center;

        position: fixed;
        /* ヘッダーを固定する */

        z-index: 100;
        /* ヘッダーを他の要素の上に表示 */
        top: 0;
    }

    .header1 {
        width: 20%;
        margin: 30px 0px 0px 50px;
    }

    .header1 h2 {
        font-size: 15px;
        margin: 0 0 0 25px;
    }

    .header2 {
        width: 40%;
        background-color: #ffffff;
        margin: 20px 0px 0px 0px;
    }

    .header2 ul {
        display: flex;
        align-items: center;
        list-style: none;
        margin-left: 30px;
    }

    .header2 img {
        width: 20%;
        margin-top: 5px;
    }

    .header2 li {
        margin-left: 25px;
    }

    .title p {
        margin: 150px 0px 0px 80px;
        font-size: 12px;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .title h3 {
        text-align: center;
        margin: 80px 0 90px 0;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .top {
        display: flex;
        width: 100%;
    }

    .top1 {
        width: 40%;
        text-align: center;
        margin-top: 410px;
        padding-left: 150px;
    }

    .top2 {
        width: 50%;
        margin-left: 100px;
    }

    .top2 img {
        width: 75%;

    }

    .top1 h3 {
        font-size: 21px;
    }

    .top1 p {
        font-size: 14px;
    }

    .message {
        font-size: 17px;
        text-align: center;
        margin: 70px 0 110px 0;
    }

    .line {
        text-align: center;
        margin: 60px auto;
    }

    .line-ipad {
        display: none;
    }

    .line-SP {
        display: none;
    }

    /* 時系列css */
    .timeline {
        list-style: none;
        padding-left: 25%;
    }

    .timeline p {
        font-size: 14px;
        margin-top: 10px;
    }

    .timeline h3 {
        font-size: 15px;
    }

    .timeline h4 {
        font-size: 15px;
    }

    .timeline li {
        margin-bottom: 60px;
    }

    /* for Desktop */
    @media (min-width : 640px) {
        .timeline li {
            overflow: hidden;
            margin: 0;
            position: relative;
        }

        .timeline-date {
            width: 100px;
            float: left;
        }

        .timeline-content {
            width: 85%;
            float: left;
            border-left: 1px #c0c0c0 solid;
            padding-left: 30px;
        }

        .timeline-content:before {
            content: '';
            width: 6px;
            height: 6px;
            background-color: grey;
            position: absolute;
            left: 97.4px;
            top: 7px;
            border-radius: 100%;
        }
    }

    .wrapper {
        display: none;
    }

    .contact {
        text-align: center;
        padding: 90px 0 80px 0;
    }

    .contact a {
        font-size: 15px;
        padding: 5px 15px;
        border: solid 1px #5d5957;
    }

    .contact a:hover {
        color: #fff;
        background: #5d5957;
    }

    /***追従するトップへ戻るボタン https://www.fuji-blo.com/entry/page-top***/

    #page-top {
        position: fixed;
        right: 5px;
        bottom: 20px;
        height: 50px;
        text-decoration: none;
        font-weight: bold;
        transform: rotate(90deg);
        font-size: 100%;
        line-height: 1.5rem;
        color: #5d5957;
        padding: 0 0 0 35px;
        border-top: solid 1px;
    }

    #page-top::before {
        content: "";
        display: block;
        position: absolute;
        top: -1px;
        left: 0px;
        width: 15px;
        border-top: solid 1px;
        transform: rotate(35deg);
        transform-origin: left top;
    }

    /***トップへ戻るボタンここまで***/
}

/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
    body {
        min-width: 600px;
        max-width: 999px;
        background-color: #f7f6f5;
    }

    .container {
        width: 100%;
        background-color: #f7f6f5;
        font-family: serif;
    }

    /* ipadcss */

    a {
        text-decoration: none;
        color: #000;
    }

    h1 {
        font-size: 20px;
        margin: 0;
    }

    .header {
        background-color: #f7f6f5;
        width: 100%;
        display: flex;
        height: 100px;
        justify-content: space-between;
        align-items: center;

        position: fixed;
        /* ヘッダーを固定する */

        z-index: 100;
        /* ヘッダーを他の要素の上に表示 */
        top: 0;
    }

    .header1 {
        width: 30%;
        margin: 30px 0px 0px 40px;
    }

    .header1 h2 {
        font-size: 12px;
        margin: 0 0 0 25px;
    }

    .header2 {
        display: none;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #999;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav-list img {
        width: 15%;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 35px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .title p {
        margin: 130px 0px 0px 70px;
        font-size: 12px;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .title h3 {
        text-align: center;
        margin: 60px 0 100px 0;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .top {
        display: flex;
        width: 100%;
    }

    .top1 {
        width: 30%;
        text-align: center;
        margin-top: 180px;
        margin-left: 160px;
    }

    .top2 {
        width: 70%;
        margin-left: 110px;
    }

    .top2 img {
        width: 85%;
    }

    .top1 h3 {
        font-size: 17px;
    }

    .top1 p {
        font-size: 12px;
    }

    .message {
        width: 100%;
        font-size: 16px;
        text-align: center;
        margin: 90px 0 140px 0;
    }

    .line {
        display: none;
    }

    .line-ipad {
        text-align: center;
        margin-bottom: 100px;
    }

    .line-SP {
        display: none;
    }

    .timeline {
        display: none;
    }

    /*ipad/SP経歴タイムライン*/
    .wrapper {
        margin-bottom: 130px;
        max-width: 1000px;
        margin-left: 17%;
        box-sizing: border-box;
    }

    .time_schedule {
        position: relative;
        
    }

    .time_line {
        width: 1px;
        height: 98%;
        position: absolute;
        top: 0;
        left: 25%;
        z-index: 999;
        transform: translateX(-50%);
        padding-top: 8px;
    }

    .time_line span {
        display: block;
        width: 100%;
        height: 100%;
        background: #999;
    }

    .time_ball {
        position: absolute;
        background: #999;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        left: 25%;
        z-index: 999;
    }

    dl {
        padding: 10px 0;
    }

    dl dt {
        width: 100%;
        position: absolute;
        
    }

    dl h4 {
        font-size: 15px;
        margin-left: 20px;
    }

    dl h3 {
        width: 60%;
        margin-left: 30%;
        font-size: 14px;
    }

    dl p {
        width: 60%;
        margin-left: 30%;
        font-size: 13px;
    }

    .contact {
        text-align: center;
        padding-bottom: 80px;
    }

    .contact a {
        font-size: 13px;
        padding: 5px 15px;
        border: solid 1px #5d5957;
    }

    .contact a:hover {
        color: #fff;
        background: #5d5957;
    }

    /***追従するトップへ戻るボタン https://www.fuji-blo.com/entry/page-top***/

    #page-top {
        position: fixed;
        right: 5px;
        bottom: 20px;
        height: 50px;
        text-decoration: none;
        font-weight: bold;
        transform: rotate(90deg);
        font-size: 100%;
        line-height: 1.5rem;
        color: #5d5957;
        padding: 0 0 0 35px;
        border-top: solid 1px;
    }

    #page-top::before {
        content: "";
        display: block;
        position: absolute;
        top: -1px;
        left: 0px;
        width: 15px;
        border-top: solid 1px;
        transform: rotate(35deg);
        transform-origin: left top;
    }

    /***トップへ戻るボタンここまで***/
}

/*SPサイズレスポンシブ*/
@media (max-width:599px) {
    body {
        max-width: 599px;
        background-color: #f7f6f5;
    }

    .container {
        width: 100%;
        background-color: #f7f6f5;
        font-family: serif;
    }

    /* SPcss */

    a {
        text-decoration: none;
        color: #000;
    }

    h1 {
        font-size: 15px;
        margin: 0;
    }

    .header {
        background-color: #f7f6f5;
        width: 100%;
        display: flex;
        height: 100px;
        justify-content: space-between;
        align-items: center;

        position: fixed;
        /* ヘッダーを固定する */

        z-index: 100;
        /* ヘッダーを他の要素の上に表示 */
        top: 0;
    }

    .header1 {
        width: 50%;
        margin: 0px 0px 0px 20px;
    }

    .header1 h2 {
        font-size: 9px;
        margin: 0 0 0 19px;
    }

    .header2 {
        display: none;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #999;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 15px;
    }

    #g-nav-list img {
        width: 15%;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 25px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #666;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .title p {
        margin: 110px 0px 0px 40px;
        font-size: 8px;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .title h3 {
        text-align: center;
        margin: 60px 0 70px 0;
        font-size: 15px;

        /* 下からフェードイン参照 https://ui-hack.com/programming/html_css/css_textanimation/  */

        opacity: 0;
        /* 初めは透明に設定 */
        transform: translateY(100%);
        /* 下からスライドするために位置を下に設定 */
        animation: fadeInFromBottom 2.5s forwards;
        /* フェードインアニメーションの設定 */
    }

    @keyframes fadeInFromBottom {
        to {
            opacity: 1;
            /* アニメーション終了時に完全に表示 */
            transform: translateY(0);
            /* アニメーション終了時の位置 */
        }
    }

    .top {
        display: flex;
        width: 100%;
    }

    .top1 {
        width: 50%;
        text-align: center;
        margin-top: 160px;
        padding-left: 55px;
    }

    .top2 {
        width: 50%;
        margin-right: 25px;
    }

    .top2 img {
        width: 100%;

    }

    .top1 h3 {
        font-size: 12px;
    }

    .top1 p {
        font-size: 10px;
    }

    .message {
        width: 100%;
        font-size: 12px;
        text-align: center;
        margin: 65px 0 85px 0;
    }

    .line {
        display: none;
    }

    .line-ipad {
        display: none;
    }

    .line-SP {
        width: 100%;
        text-align: center;
        margin: 60px auto;
    }

    .timeline {
        display: none;
    }

    /*ipad/SP経歴タイムライン*/
    .wrapper {
        margin-bottom: 80px;
        max-width: 599px;
        margin-left: 11%;
        box-sizing: border-box;
    }

    .time_schedule {
        position: relative;
        
    }

    .time_line {
        width: 1px;
        height: 98%;
        position: absolute;
        top: 0;
        left: 25%;
        z-index: 999;
        transform: translateX(-50%);
        padding-top: 8px;
    }

    .time_line span {
        display: block;
        width: 100%;
        height: 100%;
        background: #999;
    }

    .time_ball {
        position: absolute;
        background: #999;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        left: 25%;
        z-index: 999;
    }

    dl {
        padding: 10px 0;
    }

    dl dt {
        width: 100%;
        position: absolute;
        
    }

    dl h4 {
        font-size: 12px;
    }

    dl h3 {
        width: 60%;
        margin-bottom: 3px;
        margin-left: 30%;
        font-size: 11px;
    }

    dl p {
        width: 60%;
        margin-left: 30%;
        font-size: 9px;
    }

    .contact {
        text-align: center;
        padding-bottom: 40px;
    }

    .contact a {
        font-size: 10px;
        padding: 5px 15px;
        border: solid 1px #5d5957;
    }

    .contact a:hover {
        color: #fff;
        background: #5d5957;
    }

    /***追従するトップへ戻るボタン https://www.fuji-blo.com/entry/page-top***/

    #page-top {
        position: fixed;
        right: 5px;
        bottom: 20px;
        height: 50px;
        text-decoration: none;
        font-weight: bold;
        transform: rotate(90deg);
        font-size: 100%;
        line-height: 1.5rem;
        color: #5d5957;
        padding: 0 0 0 35px;
        border-top: solid 1px;
        font-size: 10px;
    }

    #page-top::before {
        content: "";
        display: block;
        position: absolute;
        top: -1px;
        left: 0px;
        width: 15px;
        border-top: solid 1px;
        transform: rotate(35deg);
        transform-origin: left top;
    }

    /***トップへ戻るボタンここまで***/
}