@charset "UTF-8";
/*PC版　981px以上*/

body {
    margin: 0;
    background-color: white;
    font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3"}
    
    #container{
        width: 80%;
        margin: auto;
        background-color: whitesmoke;
    }


    #header{
        margin: auto;
    }
    #top{
        display:flex;
        justify-content: space-between;
        background-color:#E9E1E2;
        height: 70px;
    }
    #nav li{
        border-style: solid;
        border-color: #8493B4;
        font-weight: bold;
        padding: 4px;
        background-color: white;
    }
    #nav ul{
        padding: 1px;
        display: flex;
        list-style-type: none;
        text-align: center;
        margin: 4px 0 10px 0;
    }
    #nav a{
        text-decoration: none;
        display: block;
        color: #536078;
    }
    #nav a:hover{
        background-color: #C9D9D5;
        color: black;
        transition: background-color 0.3s;
    }
    #header h1 {
        margin: 0;


      }
    #sidebar{
        background-color: #7E869A;
        width: 25%;
        text-align: center;
        border-radius:10px;
        border-style:solid;
        border-width:thin;
        border-color:gray;
    }
    .profimg{
        display:block;
        width: 30%;
        height: auto;
        border-radius:50%;
        margin: 0 auto;
    }
    #prof{
        border-radius:10px;
        border-style:solid;
        border-width:thin;
        border-color:gray;
        background-color:#D9E5EB;
        padding:5px
    }
    #prof a{
        background-color:whitesmoke;
        text-decoration:none;
    }
    #prof a:hover{
        text-decoration: underline;
    }
    .search-form-5 {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 250px; /* 任意の幅に調整してください */
    overflow: hidden;
    border-radius: 3px;
    background-color: #f2f2f2;
}

.search-form-5 input {
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    background-color: #f2f2f2;
    font-size: 1em;
    outline: none;
}

.search-form-5 input::placeholder {
    color: #777777;
}

.search-form-5 button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.search-form-5 button::after {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%20%3Cpath%20d%3D%22M23.7%2020.8%2019%2016.1c-.2-.2-.5-.3-.8-.3h-.8c1.3-1.7%202-3.7%202-6C19.5%204.4%2015.1%200%209.7%200S0%204.4%200%209.7s4.4%209.7%209.7%209.7c2.3%200%204.3-.8%206-2v.8c0%20.3.1.6.3.8l4.7%204.7c.4.4%201.2.4%201.6%200l1.3-1.3c.5-.5.5-1.2.1-1.6zm-14-5.1c-3.3%200-6-2.7-6-6s2.7-6%206-6%206%202.7%206%206-2.6%206-6%206z%22%20fill%3D%22%23777777%22%3E%3C%2Fpath%3E%20%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    content: '';
}
    .text{
     display: flex; 
     width: 80%;
     margin-right: auto;
     margin-left: auto;
     justify-content: space-between;
}

    .pc{
        display: block;
    }
    .ph{
        display: none;
    }
    #mainpc{
        background-color:#D9E5EB;
        width: 70%;
        border-radius:10px;
        border-style:solid;
        border-width:thin;
        border-color:gray;
        padding: 5px;
        }
/*タブレット版 970px以下*/
    @media screen and (max-width: 970px) {

        #sidebar{
            display: none;
        }
        #mainpc{
            width: 100%;
            margin-left: auto;
            margin-right: auto;
        }

}

/*スマホ版　600px以下*/
    @media screen and (max-width: 670px) {
        .pc{
            display: none;
        }
        .ph{
            display: block;
        }
        html {

    font-family: "M PLUS 1", sans-serif;
    overflow-x: hidden;
}
#mainpc{
    width: 95%;
    background-color: white;
}
#sidebar {
    display: none;
}

main, footer {
    text-align: center;
    padding: 10px;
}

#header1 {
    background-color: #8493B4;
    width: 85%;

    max-width: 1000px;
    height: 70px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0px;
}
#header1.active {
    background-color: deepskyblue;
    
}
/*非アクティブ */
#hmb {
    width: 40px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 30;
    margin-left: auto;
}
#hmb span{
    width: 32px;
    height: 4px;
    display: block;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    transition: .2s;
}
#hmb span:first-child {
    top: 0;
}
#hmb span:nth-child(2) {
    top: 12px;
}
#hmb span:last-child {
    top: 24px;
}
nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    max-width: 400px;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: rgb(78, 171, 187);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition-property: all;
    transition-duration: .3s;

    
}
nav ul li a{
    background-color: white;
    display: block;
    margin-bottom: 16px;
    text-decoration: none;
}

/*アクティブ */
.active #hmb span:first-child {
    top: 12px;
    transform: rotate(45deg);
}
.active #hmb span:nth-child(2) {
    opacity: 0;
}
.active #hmb span:last-child {
    top: 12px;
    transform: rotate(-45deg);
}
.active nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.active::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0.4;
}
}    
/*その他（PCスマホで同じ指定のもの）*/
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-right: auto;
  margin-left: auto;
}
.youtube iframe {

  width: 90%;
  height: 90%;
}