/* CSSでの宣言、rootを用いて宣言、使用時はvarを使って呼び出し？ */
/* 宣言時は　--　を前につけないとダメ？ */
:root {
    /* メインで使う文字色 */
    --mainFontColor: rgb(60, 65, 63);


    --subFontColor: rgb(60, 60, 60);

    --snowFontColor: rgba(220, 228, 231, 0.877);

    --mainBackground: rgb(255, 255, 255);



    --customRed: rgb(255, 125, 125);

    --snowSentenceAlpha: 1;
    --snowSentenceAlpha1: 1;



    --rainFontColor: rgb(255, 255, 255);


    /* 配列を調べとく */
    --backgroundPattern: (rgb(255, 255, 255),
            rgb(255, 255, 255),
            rgb(255, 255, 255));

    --testColor: rgb(255, 255, 255);
}

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



.container {
    display: flex;
}

.main-content {
    flex-grow: 1;
}

.sidebar {
    /* background-color: #ff56566e; */
    width: 250px;
    background-color: #00000000;

    font-family: "Noto Serif JP", serif;
    color: rgb(60, 60, 60);

    padding: 1rem;

    position: fixed;
    /* 要素を固定位置に配置 */
    top: 20px;
    /* 画面上端からの距離 */
    right: -60px;
    /* 画面右端からの距離 */
    padding: 10px;
    /* 縁取り */
    border-radius: 0px;
    /* 角取り */
}

.sidebar h3 {
    margin-top: 100;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    text-decoration: none;
    color: #333;
}

#side_header {
    /* 初期は透明 */
    /* color:rgba(60, 60, 60, 0); */

    color: rgba(31, 31, 31, 0);
}

#side_heading_1 {
    color: rgba(31, 31, 31, 0);
}

#side_heading_2 {
    color: rgba(31, 31, 31, 0);
}

#side_heading_3 {
    color: rgba(31, 31, 31, 0);
}

#side_heading_4 {
    color: rgba(31, 31, 31, 0);
}

#side_heading_5 {
    color: rgba(31, 31, 31, 0);
}

#side_heading_6 {
    color: rgba(31, 31, 31, 0);
}

#side_heading_7 {
    color: rgba(31, 31, 31, 0);
}

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


body {
    background-color: rgb(255, 255, 255);
    /* background-color: rgb(3, 3, 3); */

    cursor: none;

    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}


/* こんな感じで直で書くと全てのdivに変更を与えられる*/
/* 追記、基礎マージンはゴミ、使い勝手最悪 */
div {
    /* 基礎マージン */
    /* margin: 10px; */
    color: var(--mainFontColor);
    /* margin-top: 100; */
    /* margin-left: 100;  */
}

.canv {
    right: 10%;
    margin-left: 30%;
}

/* キャンバスの開始点を設定 */
#canvas1 {
    margin-left: 100px;
    margin-top: 100px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.snowFont {
    font-family: HelveticaNeue;
    color: var(--snowFontColor);
    user-select: none;
}

#heading0 {
    font-size: 5em;
    position: relative;
    width: 500px;
    top: 200px;
    left: 0px;
    /* background: blue; */

    padding: 0 20px;
    border: 0;
    /* background-color: aqua; */
    border-radius: 10px;
}

#sentence0 {
    font-size: 0.8em;
    position: relative;
    width: 500px;
    top: 200px;
    left: 60px;

    opacity: var(--snowSentenceAlpha);
    /* background-color: aqua; */
}

#heading1 {
    text-align: left;
    font-size: 5em;
    position: absolute;
    /* position: relative; */
    /* width: 10px; */
    top: 120%;
    right: 0%;

    width: 0%;
    max-width: 1920px;
    min-width: 500px;
    margin: 0 auto;

    /* background-color: rgb(255, 0, 179); */
}

#sentence1 {
    text-align: left;
    font-size: 0.8em;
    position: absolute;
    /* width: 0px; */
    top: 132%;
    right: 0%;
    /* right: 100px; */
    /* margin-right: -1000px; */

    width: 0%;
    max-width: 1920px;
    min-width: 420px;
    margin: 0% auto;

    /* background-color: rgb(255, 0, 179); */
    opacity: var(--snowSentenceAlpha1);
}

.rainFont {
    font-family: HelveticaNeue;
    color: var(--rainFontColor);
}


.taskStyle {
    margin: 0 auto;
    font-size: 1.6em;
    color: var(--mainFontColor);
}

.pointStyle {
    margin: 3;
}

.numberEmphasize {
    margin: 0px;
    color: rgba(255, 24, 74, 0.815);
}

.insaneStyle {
    font-size: 25em;
}

.rinnzi {
    color: blue
        /* margin: 10px; */
}

.colored-text {
    /* 変更したいテキストの色を指定 */
    color: red;
    /* margin: 100px; */
    margin: 10px;
}

/* :hover{
    background-color:rgb(255, 81, 81);

} */
/* :not(:hover) {
    background-color:rgb(241, 241, 241);

} */

/* https://developer.mozilla.org/ja/docs/Web/HTML/Element/button#%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%82%87%E3%81%86 */
/* 参考用コードコピペ */
.sannkouCode {
    /* 要素の領域を設定、border-width, border-style, border-color の値を一括で設定する */
    border: 0;
    /* 行間の設定 今回のように単位なしの場合は元フォントの任意倍のスペースになる*/
    line-height: 2.5;
    /* 内側に任意の領域を生成 */
    padding: 0 20px;

    font-size: 1rem;
    /* 文字の詰め方、今回は中央詰め */
    text-align: center;

    color: #fff;
    text-shadow: 1px 1px 1px #000;
    /* 角を丸める */
    border-radius: 10px;

    background-color: rgba(220, 0, 0, 1);
    background-image: linear-gradient(to top left,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2) 30%,
            rgba(0, 0, 0, 0));
    /* 要素のフレームの周囲に影をつける */
    box-shadow:
        inset 2px 2px 3px rgba(255, 255, 255, 0.6),
        inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.sannkouCode:hover {
    background-color: rgba(255, 0, 0, 1);
}

.sannkouCode:active {
    box-shadow:
        inset -2px -2px 3px rgba(255, 255, 255, 0.6),
        inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}



.noto-serif jp-extralight {
    font-family: "Noto Serif JP", serif;
    font-weight: 200;
    font-style: normal;
}