@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300&display=swap');

html {
  --scroll-padding-top: 100px;
}

*{
    --line-height:170%;
}


/* header メニュー*/
header {
    background: #fff;
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    z-index: 999;
}

.header_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1008px;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 20px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    font-family:'Lato', sans-serif;
    letter-spacing: 0.05em;
    font-size:80%;
}

.nav {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(100%);
    background-color: #fff;
    --transition: ease .2s;
}

.menu_position {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
}

.menu_item a {
    color: #333;
    width: 100%;
    display: block;
    text-align: center;
    padding: 5px;
    margin-bottom: 24px;
}

.menu_item:last-child a {
    margin-bottom: 0;
}

@media screen and (min-width: 600px) {
    .header_title {
      width: 120px;
    }

    .nav {
        position: static;
        transform: initial;
        background-color: inherit;
        height: inherit;
        display: flex;
        justify-content: end;
        width: 50%;
      }

    .menu {
        width: 100%;
        display: flex;
        align-items: center;
        height: initial;
        justify-content: space-between;
    }

    .menu_position {
        position: inherit;
        top: 0;
        left: 0;
        transform: translate(0, 0);
    }

    .menu_item a {
      margin-bottom: 0;
    }
}

/* ハンバーガーメニュー */
.header_hamburger {
    width: 48px;
    height: 100%;
}

.hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 999;
}

@media screen and (min-width: 600px) {
    .hamburger {
      display: none;
    }
}

/* ハンバーガーメニュー表示スタイル */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: relative;
    transition: ease .4s;
    display: block;
}

.hamburger span:nth-child(1) {
    top: 0;
 }

 .hamburger span:nth-child(2) {
    margin: 8px 0;
 }

.hamburger span:nth-child(3) {
    top: 0;
 }

/* ハンバーガーメニュークリック後スタイル */
.nav.active {
    transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}
/* header メニューここまで*/


body {
    color:#333;
    background-color:#fff;
    font-family:"Noto Sans JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans", "Meiryo",sans-serif;
}

main {
    margin-top: 60px;
    --height: 100vw; /* スクロールの演出確認用 */
}

.main_base{
    margin:0 auto;
    max-width:1008px;
}

.main_margin{
    --margin:0px 5px;
    margin:0 auto;
    padding:20px;
}

.main_work{
    --padding:10px;
    margin:0 auto;
    max-width:1008px;
}


/* footer 表示*/
.footer{
    max-width: 1008px;
    margin-right: auto;
    margin-left: auto;
    padding: 10px 20px;
}

.footer_right {
    text-align:right;
}

/* footer  表示ここまで*/

/* 装飾*/
h1{
    font-size:180%;
    font-weight:bold;
    font-family:'Lato', sans-serif;
    letter-spacing: 0.1em;
}

h2{
    font-size:180%;
    font-weight:normal;
    margin:20px 0px;
    font-family:'Lato', sans-serif;
    letter-spacing: 0.1em;
}

h3{
    font-size:90%;
    font-weight:bold;
    margin:15px 0px;
    letter-spacing: 0.1em;
}

h4{
    font-size:90%;
    font-weight:normal;
    margin:15px 0px;
    letter-spacing: 0.1em;
}

h5{
    /* font-size:80%;
    font-weight:normal;
    margin:15px 0px;
    letter-spacing: 0.1em; */
}

h6{
    font-size:40%;
    font-weight:normal;
    font-family:'Lato', sans-serif;
}

p{
    text-align:left;
    margin:10px 0px;
    font-size:90%;
    line-height:170%;
}

/* リンク*/
a:link{
    color:#333;
    text-decoration: none;
}

a:visited{
    color:#333;
    text-decoration: none;
}

@media (hover: hover) {
    a:hover{
        color:#dfe2ea;
    }
}

@media (hover: none) {
    a:active{
        color:#dfe2ea;
    }
}
/* リンクここまで*/

blockquote {
    position:relative;
    padding:10px 10px 10px 50px;
    box-sizing border-box;
    margin:15px;
    font-size:90%;
    border-radius:3px;
    border-style:solid;
    border-width:1px;
    background-color:#fff;
}

blockquote:before {
    display:inline-block;
    position:absolute;
    top:15px;
    left:15px;
    vertical-align: middle;
    content:'\00275e';
    color:#ccc;
    font-size:30px;
}

li{
    padding:5px;
}

ul{
    list-style: none;
}

.hr1{
    margin:5px 0px;
    border-top: 1px #ccc;
    border-style:dashed;
}

.hr2{
    margin:5px 0px;
    height:10px;
    border-width:0px;
}

.hr3{
    margin:5px 0px;
    height:30px;
    border-width:0px;
}

.hr4{
    margin:5px 0px;
    height:50px;
    border-width:0px;
}

.p1{
    background-color:#fff;
    border-radius:3px;
}

.font_lato {
    font-family:'Lato', sans-serif;
    letter-spacing: 0.05em;
}

.board{
    --background-color:#dfe2ea;
    font-size:80%;
    padding:0px 10px;
    height:110px;
    overflow:auto;
    margin:5px 5px;
    --color:#333;
}

.link {
     display: flex;
}

.link_item {
     display: flex;
     padding: 0px 10px 0px 0px;
     font-size:80%;
}

@media screen and (max-width:600px) {
    .header_menu {
        padding: 10px 20px;
    }

    .main_base{
        width:auto;
        margin:0 auto;
    }

    .main_margin{
        margin:0px;
    }

    .main_work{
        width:auto;
        margin:0px;
        padding:0px;
    }

    .board{
        font-size:80%;
    }

    h1{
        font-size:160%;
    }

    h2{
        font-size:180%;
    }

}
