body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #a1eafb;
    margin: 0;
    display: flex;
    flex-flow: column;
}

/*ヘッダー*/
header {
    position: relative;
    z-index: 10;
    display: flex;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    text-align: center;
    background-color: #fdfdfd;
}

header ul {
    border: none;
    background: none;
    margin: auto;
    margin-bottom: 3px;
    padding: 0%;
}

header li {
    text-align: center;
    padding-left: 20px;
}

header a {
    text-decoration: none;
    color: #ffcef3;
    font-weight: 600;
}

.header_inner {
    position: relative;
    padding: 15px;
}

@media only screen and (max-width: 768px) {
    .nav {
        position: fixed;
        right: -320px;
        /* 右から出てくる */
        top: 0;
        width: 300px;
        /* スマホに収まるサイズ */
        height: 100vh;
        padding-top: 60px;
        background-color: #fff;
        transition: all .6s;
        z-index: 200;
        overflow-y: auto;
        /* メニューが多くなったらスクロールできるように */
    }

    .hamburger {
        position: absolute;
        right: 15px;
        top: 8px;
        width: 40px;
        /* クリックしやすい幅 */
        height: 40px;
        /* クリックしやすい高さ */
        cursor: pointer;
        z-index: 300;
    }

    .nav_list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav_item {
        text-align: center;
        padding: 0 14px;
    }

    .nav_item a {
        display: block;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
        text-decoration: none;
        color: #333;
    }

    .nav_item a:hover {
        background-color: #eee;
    }

    .hamburger_border {
        position: absolute;
        left: 11px;
        width: 18px;
        height: 2px;
        background-color: #06c;
        transition: all .6s;
    }

    .hamburger_border_top {
        top: 14px;
    }

    .hamburger_border_bottom {
        top: 23px;
    }

    .black_bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 100;
        background-color: #333;
        opacity: 0;
        visibility: hidden;
        transition: all .6s;
        cursor: pointer;
    }

    /* 表示された時用のCSS */
    .nav-open .nav {
        right: 0;
    }

    .nav-open .black_bg {
        opacity: .8;
        visibility: visible;
    }

    .nav-open .hamburger_border_top {
        transform: rotate(45deg);
        top: 20px;
    }

    .nav-open .hamburger_border_center {
        width: 0;
        left: 50%;
    }

    .nav-open .hamburger_border_bottom {
        transform: rotate(-45deg);
        top: 20px;
    }
}

/* sp */

@media only screen and (min-width: 769px) {
    .header_inner {
        max-width: 980px;
        width: 100%;
        padding: 15px 30px;
        margin-left: auto;
        margin-right: auto;
    }

    .logo {
        padding: 12px 30px
    }

    .nav_list {
        text-align: center;
    }

    .nav_list li {
        display: inline-block;
        text-align: center;
        padding-left: 20px;
    }

    .nav_list li a {
        color: #06c;
        font-weight: 600;
        text-decoration: none;
    }
}

/* pc */

/* CSSアニメーションの指定 */
.Headline {
    text-align: center;
    animation: SlideIn 5.0s;
    background-color: #f5f5f7;
    padding: 0.5em;
    /*文字周りの余白*/
    border-radius: 0.8em;
    /*角丸*/
    box-shadow: 2px 2px 3px rgba(104, 104, 104, 0.616);

}

/* CSSアニメーションの設定 */
@keyframes SlideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
        background-color: #0071e3;
        color: white;
    }

    30% {
        opacity: 0;
        transform: translateY(-50px);
        background-color: #0071e3;
        color: white;
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }

    80% {
        transform: translateY(0);
        background-color: #0071e3;
        color: white;
    }

    90% {
        background-color: rgba(0, 125, 250, 0.6);
        color: rgb(206, 206, 206);
    }

    100% {
        background-color: #f5f5f7;
    }
}

/*記事、サイドバー*/
@media only screen and (max-width: 750px) {
    .main {
        display: inline !important;
        margin: 0% !important;
    }

    .tamate {
        width: 100% !important;
    }

    .material {
        margin-left: 0% !important;
        width: 100% !important;
    }

    .side {
        display: none !important;
    }

    .spside {
        display: block !important;
        aspect-ratio: 3 / 2;
    }

    .tbside {
        display: none !important;
    }
}

@media screen and (max-width: 980px) and (min-width: 751px) {
    .main {
        display: inline !important;
        margin: 0% !important;
    }

    .tamate {
        width: 100% !important;
    }

    .material {
        margin-left: 0% !important;
        width: 100% !important;
    }

    .side {
        display: none !important;
    }

    .spside {
        display: none !important;
    }

    .tbside {
        display: block !important;
    }
}

.main {
    display: flex;
    margin: auto;
}

.tamate {
    width: 900px;
    height: 100%;
}
/*本体*/
.material {
    background-color: #ffffff;
    border-radius: 0.5em;
    width: 98%;
    height: 100%;
    margin-top: 1em;
}
.material a{
    display: block;
    text-decoration: none;
}
/*見出し*/
h1 {
    display: inline-block;
    background-color: #65d2f6;
    text-align: center;
    box-shadow: 2px 2px 3px rgba(104, 104, 104, 0.616);
    border: solid 1px #d7d7d7;
    padding: 0.5em;
    border-radius: 0.8em;
    width: 90%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1.5em;

}

h2 {
    background-color: #f0f0f0;
    margin: 5%;
    border-left: solid 5px #7bd4e6;
    padding: 0.4em 0.5em;
}

h3 {
    border-bottom: dashed 2px #43acff;
    margin: 5%;
    margin-bottom: 5px;
    padding: 0.4em 0.5em;
}

/*箇条書き*/
ul,
ol {
    background: #f3fbff;
    border: 2px skyblue dashed;
}

li {
    /*liの文字色を変える*/
    color: #43acff;
}

/*文章*/
p {
    margin-top: 20px;
    margin-left: 7%;
    margin-right: 7%;
    line-height: 2.4;
    font-size: 16px;
}

table {
    table-layout: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

figcaption {

    text-align: center;
}


img {
    width: 100%;
    height: auto;
}

.iframe-responsive {
    margin: auto;
    position: relative;
    width: 90%;
    padding: calc(315 / 560 * 100%) 0 0;
}

.iframe-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.linkcard{
    background-color: #7bd4e6;
    width: 80%;
    height: 100px;
    margin: auto;
    display: flex;
    color: #333;
}
.linkcard .content{
    display: flex;
    max-height: 70px;
    height: 70%;
}
.linkcard .img{
    margin: 5px;
    min-width: 20%;
}
.linkcard img{
    width: 100%;
    max-height: 100%;
}
.linkcard .title{
    min-width: 80%;
}
.linkcard .script{
    font-size: .8em;
}
.linkcard .detail{
    text-align: right;
}
/*サイドバー*/
.side {
    width: 35%;
}

.sidebar {
    text-align: center;
    width: 100%;
}

.spside {
    display: none;
}

.tbside {
    display: none;
}

/*新着情報*/
.material-list {
    text-align: center;
}

.new {
    width: 100%;
    height: 1000px;
    background-color: #ffffff;
}

.new .td {
    text-align: center;
    padding: 0.5em;
    border-radius: 0.8em;
    margin: 2px;
    width: 50%;
}

.new .tr {
    display: flex;
    height: 25%;
}

.new .td a {
    display: block;
    text-decoration: none;
    color: rgb(43, 43, 43);
    width: 100%;
    height: 100%;
}

.new .td:hover {
    background-color: #f5f5f5;
    border: solid 1px #d7d7d7;
    box-shadow: 2px 2px 3px rgba(104, 104, 104, 0.616);
}

.new .td p {
    line-height: 1.2;

}

.new .td img {
    width: 70%;
    max-height: 150px;
    position: relative;
    margin: auto;
}


.new-side {
    width: 100%;
    height: 1000px;
    background-color: #a1eafb;
}

.new-side .td {
    background-color: #f5f5f5;
    text-align: center;
    border: solid 1px #d7d7d7;
    padding: 0.5em;
    border-radius: 0.8em;
    margin: 2px;
    height: 18%;
}

.new-side .td a {
    display: block;
    text-decoration: none;
    color: rgb(43, 43, 43);
    width: 100%;
    height: 100%;
}

.new-side .td:hover {
    box-shadow: 2px 2px 3px rgba(104, 104, 104, 0.616);
}

.new-side .td p {
    line-height: 1.2;

}

.new-side .td img {
    width: 70%;
    max-height: 140px;
    position: relative;
    margin: auto;
}

/*フッター*/
footer {
    background-color: #3f72af;
    color: #ffffff;
}


/* 左右共通のスタイリング */
.left-side,
.right-side {
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
}

.icon {
    width: 100px;
    text-align: center;
}

.icon img {
    width: 70%;
    height: 70%;
    border: solid 1px #ccc;
    border-radius: 50%;
}

.icon p {
    margin: 0px;
    word-wrap: break-word;
}

.bubble {
    max-width: 70%;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    background: #f5f5f5;
    position: relative;
}

.bubble::before {
    content: "";
    width: 0;
    height: 0;
    border: 10px solid transparent;
    position: absolute;
}

.bubble p {
    margin: auto;
}

/* 左側表示の吹き出しのスタイリング */
.left-side .icon {
    float: left;
    margin-left: 10px;
}

.left-side .bubble {
    margin: 10px 0 0 20px;
}

.left-side .bubble::before {
    top: 15px;
    left: -20px;
    border-right-color: #f5f5f5;
}

/* 右側表示の吹き出しのスタイリング */
.right-side .icon {
    float: right;
    margin-right: 10px;
}

.right-side .bubble {
    float: right;
    margin: 10px 20px 0 0;
}

.right-side .bubble::before {
    top: 15px;
    right: -20px;
    border-left-color: #f5f5f5;
}

/*投稿日、更新日*/
.date-data {
    font-size: 1.2em;
    color: #7b7b7b;
    top: 5px;
    right: 0;
    left: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}

.first-post {
    position: relative;
    padding-left: 50px;
}

.first-post::before {
    content: url(./img/firstwrite.png);
    vertical-align: middle;
    transform: scale(0.1);
    padding-right: 5px;
    position: absolute;
    top: -64px;
    left: -20px;
}

.history {
    position: relative;
    padding-left: 50px;
}

.history::before {
    content: url(./img/history.png);
    vertical-align: middle;
    transform: scale(0.1);
    padding-right: 5px;
    position: absolute;
    top: -65px;
    left: -40px;
}