@charset "UTF-8";

/**********************

共通設定

***********************/
/**********
基本
***********/
* {
    font-size: 16px;
    color: #000;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}



/**********
レイアウト
***********/

main,
aside {
    width: 90%;
    margin: auto;
}

.flex {
    display: flex;
}

section {
    margin-bottom: 6.25rem;
}

table {
    border-spacing: 0 1rem;
}

table th {
    vertical-align: top;
}



/**********
テキスト
***********/
p,
li,
a,
span {
    line-height: 1.5rem;
    font-size: clamp(0.875rem, 0.732rem + 0.71vw, 1rem);
}

a {
    text-decoration: none;
}

a:visited {
    color: #000;
}

a:hover {
    color: #898989;
}

main h1 {
    font-size: 1.5rem;
    margin-bottom: 2.25rem;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

li {
    padding: 0.5rem 0;
    border-top: 0.5px solid #BDBDBD;
    list-style: none;
}

ul:last-child {
    border-bottom: 0.5px solid #BDBDBD;
}

th,
td {
    font-size: 0.875rem;
}

.attention {
    font-weight: bold;
}



/**********
 カラー
***********/
.t-red {
    color: #EC5301;
}

.t-blue {
    color: #0076D6;
}

.t-green {
    color: #00AC3F;
}

.t-purple {
    color: #B200FF;
}

.bg-red {
    background: #EC5301;
}

.bg-blue {
    background: #0076D6;
}

.bg-green {
    background: #00AC3F;
}

.bg-purple {
    background: #B200FF;
}





/**********************

共通パーツ

***********************/
/**********
作品リスト
***********/
.portfolio-links h2 {
    margin-bottom: 1rem;
}

.portfolio-links h3 {
    margin-bottom: 0.875rem;
}

.portfolio-links section {
    margin-bottom: 2.8125rem;
}



/**********
ヘッダー
***********/
header {
    width: 90%;
    margin: 0 auto 0;
}

header .back-home {
    font-size: 1.25rem;
    text-align: center;
    height: 60px;
    line-height: 60px;
    font-weight: bold;
}



/**********
フッター
***********/
footer {
    text-align: center;
}



/**********
タグ
***********/
.tag {
    color: white;
    width: 10rem;
    height: 1.875rem;
    line-height: 1.87rem;
    text-align: center;
    border-radius: 0.3rem;
}



/**********
ページトップ画像
***********/
.main-image {
    width: 100%;
    margin-bottom: 2.25rem;
    object-fit: cover;
    box-shadow: 0 5px 10px #BDBDBD;
}



/**********
外部リンク
***********/
.ex-link img {
    width: 100%;
}


/**********
見出し
***********/
h2 {
    display: flex;
    align-items: center;
}

h2::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: black;
    margin-left: 1rem;
}

.top h2::after,
.iamnagino h2::after {
    background-color: #0076D6;
}






/**********************

TOP

***********************/
.top main {
    height: 92vh;
    flex-direction: column-reverse;
    justify-content: center;
    /* 垂直方向の中央揃え */
    align-items: center;
    align-content: space-between;
}

.top main>h1 {
    margin-top: 7%;
    flex-grow: 2;
}

.top main .overview h2 {
    display: inline;
}

.top main .overview h2::after {
    content: none;
}

.top .title {
    font-size: 3rem;
}

.whoisnagino {
    width: 90%;
    text-align: center;
    margin: 0 auto 6.25rem;
}

.whoisnagino a {
    display: inline-block;
    background: #0076D6;
    padding: 0.7rem 5rem;
    border-radius: 0.7rem;
}

.whoisnagino h2 {
    color: white;
    text-align: center;
    margin-bottom: 0;
}

.overview {
    width: 100%;
    text-align: right;
}

/* h1:after {
    position: absolute;
    content: attr(data-title);
    font-size: 1.5rem;
    font-weight: 400;
    top: 23rem;
    left: 0;
    right: 0;
} */

/**********************

なぎのまさふみについて

***********************/
.iamnagino h2 {
    margin-bottom: 1.625rem;
}

.iamnagino h2 span {
    font-size: 0.875rem;
}

.iamnagino .attention {
    color: #0076D6;
}

.skills th {
    width: 30%;
    text-align: left;
}

.skills td {
    padding-left: 1rem;
}

.strong div,
.hobby div {
    margin-bottom: 2.625rem;
}






/**********************

WEBデザイン

***********************/
.webdesign h2::after {
    background-color: #EC5301;
}



.tasks th {
    width: 15%;
    text-align: left;
}

.tasks td {
    padding-left: 0.5rem;
}






/**********************

印刷物

***********************/
.print h2::after {
    background-color: #00AC3F;
}






/**********************

動画編集

***********************/
.movie h2::after {
    background: #B200FF;
}









/************

レスポンシブ

*************/
@media (min-width: 800px) {
    body {
        max-width: 800px;
        margin: auto;
    }

    main,
    header,
    aside {
        width: 100%;
    }

    /**********************

    TOP

    ***********************/
    .top main {
        height: 94vh;
        flex-direction: column-reverse;
        justify-content: center;
        /* 垂直方向の中央揃え */
        align-items: center;
        align-content: space-between;
    }
}