:root{
    /*色*/
    --bg-color0: #3039a9;
    --bg-color1: #39c5bb;
    --bg-color-gradient: #5ed2e8;
    --text-color: #002539;
    --highlight-color: #1C2163;
    --accent-color: #ffa724;

    /*--contentbox-color: rgba(239, 250, 255, .9);*/
    --contentbox-color: #E1F5FC;
    --contentbox-shadow-color: rgba(0, 11, 16, .1);
    --contentbox-grow-color: #5ed2e8;

    --neyatetsu-com-color: #1C2163;
    --twitter-color: rgb(29, 155, 240);
    --instagram-color: linear-gradient(to right, rgb(225, 48, 108), rgb(193, 53, 132), rgb(131, 58, 180));
    --youtube-color: rgb(218, 23, 37, 1);
    --bluesky-color: rgb(0, 133, 255);

    /*コンテンツ*/
    --content-width: 1024px;
    font-family: 'Hind', 'M PLUS 2', sans-serif;
    font-size: 18px;

    /*印刷時のデフォルト設定*/
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

body{
    background: linear-gradient(70deg,var(--bg-color0), var(--bg-color-gradient), var(--bg-color1));
    height: 100%;
    min-height: 100vh;
    margin: 0;
}


/*汎用CSS*/

h1, h2, h3, p{
    color: var(--text-color);
    margin: 0;
}
h1{
    font-size: 2rem;
    font-weight: 600;
    line-height: 1em;
    padding-bottom: .15em;
    margin: .25em 0 .5em 0;
    border-bottom: .1em solid var(--bg-color0);
}
h2{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1em;
    margin: 1em 0 .65em 0;
}
h2 > span.maker{
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    padding: 0 .25em;
    background: initial;
    border-bottom: .1em solid var(--accent-color);
}
h3{
    font-size: 1.2em;
    font-weight: 500;
    margin: 0.75em 0 0.6em 0;
    padding-left: .5em;
    border-left: .3em solid var(--accent-color);
}
p, li, td{
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5em;
    margin: .5em 0;
}
p.white{
    color: white;
}

a{
    color: inherit;
    transition: .39s color;
}
a:hover{
    color: var(--accent-color);
}

/*画像*/
img{
    width: 100%;
    height: 100%;
    vertical-align: top;
}

/*リスト*/
ul{
    list-style: none;
    padding-left: 2em;
    margin: 0;
}
li, table.listStyle tr{
    position: relative;
}
li::before, table.listStyle tr::before{
    content: '';
    display: block;
    position: absolute;
    top: .65em;
    left: -1em;
    width: .39em;
    height: .39em;
    border: solid 0 var(--highlight-color);
    opacity: .7;
    border-top-width: .12em;
    border-right-width: .12em;
    transform: translate(-50%, -50%) rotate(45deg);
}
/*表の中のリスト*/
td > ul{
    padding-left: 1.25em;
    margin-top: -0.5em;
}
td > ul > li{
    margin: 0.5em 0 0 0;
}

/*表*/
table{
    border-spacing: 0;
    color: var(--text-color);
    box-sizing: border-box;
    margin: 0;
}
td{
    padding: .85em .25em 0px .25em;
    border-bottom: var(--highlight-color) solid .15em;
    vertical-align: bottom;
}
/*改行禁止*/
td.noWrap{
    white-space: nowrap;
}

/*表（リストスタイル）*/
table.listStyle{
    margin: 0;
    padding-left: 2em;
}
table.listStyle tr{
    display: block;
    margin: .5em 0;
}
table.listStyle td{
    padding: 0;
    border: none;
    vertical-align: initial;
}

/*コンテンツボックス*/
div.contentBox{
    width: 100%;
    box-sizing: border-box;
    margin: 24px auto;
}
div.defaultBoxStyle{
    background: var(--contentbox-color);
    box-shadow: var(--contentbox-shadow-color) 0px 3px 18px;
}

div.content{
    max-width: var(--content-width);
    padding: 24px;
}
div.contentBoxL > div.content{
    margin-left: auto;
}
div.contentBoxR > div.content{
    margin-right: auto;
}


/*マーカー*/
span.maker{
    display: inline-block;
    line-height: 1em;
    background: linear-gradient(transparent 61%, var(--accent-color) 61% 100%, transparent 100%);
}


/*正方形に並べる*/
div.sqGallary{
    display: flex;
    flex-wrap: wrap;
}
div.sqGallary > div.sqBox{
    width: 100%;
    /*aspect-ratio: 1;※スマホでは通常表示*/
}
div.sqImg{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
div.sqImg > img{
    object-fit: cover;
}
img.modal{
    cursor: pointer;
    transition: opacity .39s, transform .39s;
}
div.sqText{
    box-sizing: border-box;
    padding: .5em 0 .9em 0;
    border-bottom: solid .1em var(--contentbox-shadow-color);
    margin-bottom: 1em;
    overflow-y: scroll;
    background: 
        linear-gradient(var(--contentbox-color) 50%, transparent 100%),
        linear-gradient(var(--contentbox-shadow-color), transparent 50%),
        linear-gradient(transparent 0%, var(--contentbox-color) 50%),
        linear-gradient(transparent 50%, var(--contentbox-shadow-color) 100%);
    background-size: 100% 1em;
    background-position: top, top, bottom, bottom;
    background-repeat: no-repeat;
    background-attachment: local, scroll, local, scroll;
}
div.sqText > h2{
    margin-top: 0.35em;
}



/*特定オブジェクト用CSS*/

/*リンクボタン*/
a.linkButton, div.linkButton{
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 64px;
    margin: 12px 0 0 0;
    border-radius: 3px;
    text-decoration: none;
    background: var(--accent-color);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0px 100%);
    transition: .39s opacity, .39s clip-path;
    cursor: pointer;
}
a.linkButton > p, div.linkButton > p{
    font-size: 24px;
    line-height: 64px;
    padding: 0 1em;
}

/*ブランドカラーを設定*/
.linkButton.linkNeyaTetsu{
    background: var(--neyatetsu-com-color);
}
.linkButton.linkTwitter{
    background: var(--twitter-color);
}
.linkButton.linkInstagram{
    /*background: rgb(193, 53, 132);*/
    background: var(--instagram-color);
}
.linkButton.linkYouTube{
    background: var(--youtube-color);
}
.linkButton.linkBluesky{
    background: var(--bluesky-color);
}


/*シェアボタン*/
div.shareButtonBox{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    cursor: pointer;
}
div.shareButton{
    width: 25%;
    height: 60px;
    transition: .39s box-shadow;
}
div.shareButton > p{
    font-weight: 500;
    line-height: 60px;
    margin: 0;
    text-align: center;
    transition: .39s color;
}
div#printButton{
    border-top-right-radius: 12px;
}
div#shareButton{
    border-top-left-radius: 12px;
}
div#copylightButton{
    width: calc(50% - 24px);
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}


/*ポップアップウィンドウ*/
div.popup.popupHide{
    pointer-events: none;
    opacity: 0;
}
div.popup{
    pointer-events: initial;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .6);
    opacity: 1;
    transition: .39s opacity;
}
div.popupWindow{
    width: 512px;
    height: fit-content;
    max-width: calc(100% - 48px);
    border-radius: 1em;
}
div.popupHtml{
    margin: 1.5em;
}
div.popupButton{
    display: flex;
    justify-content: end;
    gap: .5em;
    margin: 1em;
}
div.popupButton > p{
    cursor: pointer;
    text-align: center;
    min-width: 3em;
    margin: 0;
    padding: .75em 1em;
    border-radius: .5em;
    transition: .39s opacity;
}
p.popupCANCEL{
    background: #fff;
}
p.popupCANCEL.popupHide{
    display: none;
}
p.popupOK{
    font-weight: 600;
    color: #fff;
    background: var(--highlight-color);
}
/*画像拡大*/
img#modalImage{
    cursor: pointer;
    object-fit: contain;
    width: 100%;
    height: 90%;
}


/*レスポンシブ*/

/*幅768px以上*/
@media screen and (min-width: 768px) {
    body{
        background: linear-gradient(39deg,var(--bg-color0), var(--bg-color-gradient), var(--bg-color1));
    }
    div:not(.sqText) > h2 > span.maker{
        width: auto;
        padding: 0 1.8em 0 .2em;
    }
    td{
        padding: .9em .25em 0px .25em;
        border-bottom: var(--highlight-color) solid .1em;
    }
    div.contentBox{
        width: calc(100% - 48px);
        border-radius: 24px;
    }
    div.contentBoxL{
        width: calc(100% - 24px);
        margin-left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    div.contentBoxR{
        width: calc(100% - 24px);
        margin-right: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    div.sqGallary > div.sqBox{
        width: 50%;
        aspect-ratio: 1;
    }
    div.sqText{
        padding: 1em;
        border-bottom: 0;
        margin-bottom: 0;
    }
    div.shareButtonBox{
        margin: 24px;
        gap: 24px;
    }
    div.shareButton{
        width: 216px !important;
        border-radius: 12px;
    }
    /*ホバーアニメーション*/
    a.linkButton:not(:hover), div.linkButton:not(:hover){
        clip-path: polygon(0 0, calc(100% - 48px) 0, calc(100% - 24px) 50%, calc(100% - 48px) 100%, 0px 100%);
    }
    a.linkButton:hover, div.linkButton:hover{
        opacity: .8;
    }
    div.shareButton:hover{
        box-shadow: var(--contentbox-grow-color) 0px 0px 18px;
    }
    div.shareButton:hover > p{
        color: var(--contentbox-grow-color);
    }
    div.popupButton > p:hover{
        opacity: .8;
    }
    img.modal:hover{
        opacity: .8;
        transform: scale(1.1);
    }
}

/*幅1024px以上*/
@media screen and (min-width: 1024px) {
    div.contentBox{
        max-width: var(--content-width);
    }
    div.contentBoxL, div.contentBoxR{
        max-width: calc(50% + var(--content-width) / 2);
    }
}


/*印刷用*/

/*印刷時以外は非表示*/
.onlyPrint{
    display: none;
}
@media print{
    /*印刷オンリー*/
    .onlyPrint{
        display: initial;
    }
    /*印刷しない*/
    .noPrint{
        display: none !important;
    }
    /*改ページ*/
    .breakPrint{
        break-before: page;
    }
}