/*フォント設定*/
@import url('https://fonts.googleapis.com/css2?family=Grenze:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Shippori+Antique&family=Shippori+Mincho+B1&family=Zen+Old+Mincho&display=swap');

/*----------全体設定----------*/
html, body
{
    /*要素サイズ*/
    width: 100%;
    height: 100%;
    margin: 0;

    /*テキスト設定*/
    font-size: 20px;
    color: #ffffff;
}

body
{
    /*その他設定*/
    flex: 1;
    display: flex;
    flex-direction: column;
    /*テキスト設定*/
    text-align: center;
    font-family: "Shippori Mincho B1", serif;
}

a
{
    display: inline-flex;
}

h1
{
    margin: 20px 0px;
    width: 100%;
    font-size: 40px;
}
/*----------大枠設定----------*/
/*ヘッダー設定*/
header
{
    /*要素サイズ*/
    height: 80px;
    padding: 0 10px;
    width: 100%;
    /*カラー*/
    background-color: #b90606;
    color: #ffffff;

    /*その他設定*/
    position: fixed;
    line-height: 100%;
    display: flex;
    
}

/*メイン設定*/
main
{
    /*要素設定*/
    display: flex;
    justify-content: center;
    /*カラー*/
    background-color: #555555;

    /*その他設定*/
    flex: 1;
    padding-top: 120px;
}

/*フッター設定*/
footer
{
    /*要素サイズ*/
    padding:10px 0 30px 0;

    /*カラー*/
    background-color: #222222;
    color: #cccccc;

    /*テキスト設定*/
    font-size: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

/*----------タグ設定----------*/
/*----------ヘッダー部分----------*/
/*ナビゲーション部分*/
nav
{
    /*要素サイズ*/
    width: auto;
    height: 100%;

    margin-left: auto;
}

header ul,header li
{
    /*要素サイズ*/
    height: 100%;

    /*その他設定*/
    flex: 1;
    display: flex;
    flex-direction: unset;
}

nav a,.logo
{
    /*要素設定*/
    display: flex;
    align-items: center;
    justify-content: center;

    /*要素サイズ*/
    width: 150px;
    height: 100%;

    /*カラー*/
    background-color: #b90606;
    color: #ffffff;

    /*テキスト設定*/
    font-size: 25px;
    text-decoration-line: none;

    /*時間制御*/
    transition: 0.2s;

    /*その他設定*/
}
nav a:hover
{
    /*カラー*/
    background-color: #e00808;

    /*時間制御*/
    transition: 0.2s;
}

iframe ,img
{
    aspect-ratio: 1 / 1;
    width : 300px;
    height : auto;
}

/*----------メイン部分----------*/
main details
{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*----------フッター部分----------*/
footer hr
{
    /*要素サイズ*/
    margin: 20px 0;
}

footer a
{

    /*要素サイズ*/
    padding: 0 30px;
    border-radius: 50px;
    width: 300px;
    /*カラー*/
    background-color: #414141;
    color: #ffffff;

    /*テキスト設定*/
    text-decoration-line: none;
    justify-content: center;

    /*時間制御*/
    transition: 0.2s;

    /*その他設定*/
}

footer li
{

    /*要素サイズ*/
    padding: 5px 0;
}

footer a:hover
{
    /*カラー*/
    background-color: #e00808;

    /*時間制御*/
    transition: 0.2s;
}

/*----------クラス設定----------*/
/*----------ヘッダー部分----------*/
.logo
{
    /*要素サイズ*/
    width: auto;
    font-size: 30px;

    /*テキスト設定*/
    
    font-weight: 400;
    font-style: normal;
}

.LocationList
{
    /*要素サイズ*/
    width: 100%;
    height: 40px;
    padding: 0 10px;

    /*カラー*/
    background-color: #960000;
    

    /*テキスト設定*/
    font-size: 20px;
    
    /*その他設定*/
    top: 80px;
    position: fixed;
    display: flex;
    align-items: center;
}
.LocationList a
{
    padding: 0 10px;
    text-decoration-line: none;
    color: #ffffff;
}

/*----------メイン部分----------*/
.home,.about
{
    flex-direction: column;
    align-items: center;
    justify-content: start;
}
.home
{
    padding: 0;
    min-height: 100vh;
    background-color: #000000b2;
    overflow: hidden;
}
.content a
{

    /*要素サイズ*/
    padding: 0 10px;
    border-radius: 50px;
    width: 300px;
    height: 60px;
    margin: 10px;
    /*カラー*/
    background-color: #181818;
    color: #ffffff;

    /*テキスト設定*/
    text-decoration-line: none;
    justify-content: center;
    text-align: center;
    align-items: center;
    /*時間制御*/
    transition: 0.2s;

    /*その他設定*/
}
.work-card
{
    padding-top: 30px;
    margin: 30px 20px;
    width: 350px;
    height: auto;
    background: #420000;
    border-radius: 12px;
    float: left;
}
.work-card a 
{
    font-size: 30px;
    font-weight: bold;
    background-color: #420000;
    width: 250px;
    height: 50px;
    padding: auto;
    margin: 10px;
    border-radius: 5px;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.work-card a:hover
{
    background-color: #e00808;
}

.work-data
{
    width: 85%;
    max-width: 320px;
    margin: 10px auto 0;
    border-collapse: collapse;
}
.work-data th:first-child
{
    color: #b3b3b3;
    font-weight: normal;
    font-size: 16px;
    width: 80px;
    text-align: left;
}
.work-data th:nth-child(2)
{
    color: #b3b3b3;
    width: 20px;
}
.work-data th:last-child
{
    color: #ffffff;
    font-size: 18px;
    text-align: left;
}

.slogan
{
    margin: 50vh 0 50px 0;
    height: auto;
    width: 100%;
    font-size: 60px;
}

.content,.about
{
    width: 100%;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}
.content-timeline-group
{
    width: 98%;
    min-height: 50px;
    background-color: #404040;
    margin: 10px 0px;
    border-radius: 50px;
    overflow:hidden
}
.content details
{
    height: 100%;
    font-size: 30px;
    background-color: #303030;
}

.my-image
{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin: 50px 0;
}

.About-introduction
{
    width: 90%;
    padding: 30px;
    margin: 20px;
    display: flex;
    background-color: #404040;
    border-radius: 50px;
}
.About-introduction-text
{
    width: 100%;
}
.About-introduction-text h3
{
    margin: 20px 10px 10px 100px;
    text-align: left;
}

.background
{
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    position: absolute;
}

.About-introduction-text a
{
    color: #ff9d9d;
}
.About-introduction-text a:hover
{
    color: #ff5f5f;
    background-color: #404040;
}

[id]
{
  scroll-margin-top: 100px; /* ヘッダーの高さ + アルファ分を指定 */
}
/*----------フッター部分----------*/
/*----------他デバイス用----------*/
@media screen and (max-width: 1024px)
{
    .slogan
    {
        width: 100%;
        font-size: 40px;
    }

    .About-introduction h1
    {
        font-size: 30px;
    }
    .About-introduction-text
    {
        font-size: 20px;
    }
    .About-introduction-text h3
    {
        margin: 20px 10px 10px 100px;
    }
}

@media screen and (max-width: 767px)
{
    /*----------ヘッダー部分----------*/
    header
    {
        /*要素サイズ*/
        height: 40px;
        padding: 0 10px;
    }
    nav a,.logo
    {
        /*要素サイズ*/
        width: auto;
        padding: 0px 10px;

        /*テキスト設定*/
        font-size: 15px;
    }
    .LocationList
    {
        /*要素サイズ*/
        width: 100%;
        height: 40px;
        padding: 0 5px;

        /*カラー*/
        background-color: #960000;
        

        /*テキスト設定*/
        font-size: 20px;
        
        /*その他設定*/
        top: 40px;
        position: fixed;
        display: flex;
        align-items: center;
    }
    .LocationList a
    {
        padding: 0 10px;
        text-decoration-line: none;
        color: #ffffff;
    }

    /*----------メイン部分----------*/
    main
    {
        /*要素設定*/
        display: flex;
        justify-content: center;
        
        /*カラー*/
        background-color: #555555;

        /*その他設定*/
        flex: 1;
        padding-top: 80px;
    }

    .slogan
    {
        font-size: 100%;
    }
    .home
    {
        padding-bottom: 20px;
    }
    .home h2
    {
        font-size: 18px;
    }

    .work-card
    {
        float: none;
    }

    .work-card a 
    {
        font-size: 25px;
        margin: 0;
    }

    iframe ,img
    {
        width : 300px;
    }

    .About-introduction
    {
        width: 90%;
        display: block;
    }


    .my-image
    {
        height: auto;
        width: 30%;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        margin: 0 0;
        float: left;
    }
    .About-introduction-text
    {
        width: 100%;
    }
    .About-introduction-text h1
    {
        font-size: 20px;
    }
    .About-introduction-text h3
    {
        font-size: 15px;
        margin: 20px 10px 10px 10px;
        text-align: left;
        float: none;
    }
}

@media screen and (max-width: 400px)
{   
    .slogan
    {
        font-size: 90%;
    }
}