@charset "UTF-8";

html { 
    font-size: 100%;
    max-width: 1300px;
    margin: 0 auto;
    background: #fff6e6; /* Fills the page */
    position: relative; /* Fix for absolute positioning */
}

body{
    font-family: heisei-maru-gothic-std, sans-serif;
    line-height: 1.7; 
    color: #000000;
}

h1 {
    font-size: 1.2rem;
    font-weight: 800;
}

h2,p,a {
    font-weight: 400;
    text-decoration: none;
    color: #000000;
}

p {
    font-size: 1.1rem;
}

img {
    max-width: 100%;
}

/* アイキャッチセンター */
.eyecatch {
    text-align: center;
}

/* ぼのこさんアイキャッチ調整 */
.bonoko {
    width: 85%;
    height: auto;
}

/* イルカさんアイキャッチ調整 */
.iruka,.hana {
    margin-top: 40px;
    margin-bottom: 10px;
}

/* header画像のところ */
.header-content {
    text-align: center;
    padding: 1.3em 0 0 0;
}

/* 冒頭文・締め文　*/
.beginning-sentence,
.ending-sentence {
    padding: 0em 2em;
    margin: 0px 0px;
}

/* 紹介部分 */
.wrapper {
    margin: 0 auto;
    padding: 0 1%;
}

/* 一段ずつ部分 */
.contents {
    width: 100%;
    display: flex;
    display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
    justify-content: space-between; 
}

/* 各記事部分 */
.content {
    width: 33%;
    padding: 0 0 0.8em 0;
}

.article {
    margin: 0px 3px 0px 3px;
    background: white;
    border: solid 1px #ffa200;
    /* box-shadow: 0px 2px 3px #e9ab3c; */
    overflow: hidden; 
    border-radius: 10px;
    height: 37.5em;
    position: relative;
}

/*　タイトル */
.title h2 {
    display:block;
    text-align: center;
    padding: 0.7em;
    margin: 0em;
    font-size:1.1em;
    font-weight: 700;
    text-decoration: underline;
}

/* 短いタイトル中央寄せ */
.one h2 {
    padding: 1.8em 0.7em 1.8em 0.7em;
}

/* コメント*/
.comment {
    margin: 0 auto;
    padding: 0rem 0.84em;
}

/* 作者 */
.author {
    display: flex;
    align-items: center;
}

.author-img{
    width: 50px;
    height: auto;
    border: 1px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgb(0 0 0 / 24%);
    -webkit-transition: opacity .25s ease;
    transition: opacity .25s ease;
    background-color: #fff;
    margin-right: 10px;
}

.author-name {
    margin: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    /* flex: 1; */
    color: #000000;
    text-decoration: underline;
    /* border-bottom: solid #84919e 1.5px; */
}

.sentence {
    font-size: 0.95rem;
}

/* ブログ遷移ボタン */
.btn {
    position: absolute;
    bottom: 0.5rem;
    left: 11%;
    
}

.blog-btn,
.blog-btn p {
    position: relative;
    display: inline-block;
    font-size: 0.9rem;
    text-align: center;
}

.blog-btn p {
    display: inline-block;
    padding: .65em 1em;
    background: linear-gradient(#ffa200 , #ffa200);
    border: 1px solid #ffa200;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    transition: .3s ease-in-out;
}

.blog-btn::after {
    position: absolute;
}

.blog-btn:hover p {
    transform: translateY(-5px);
}

.blog-btn:hover::after {
    width: 70%;
    height: 18px;
}


/* footer */
footer {
    background: #fff6e6;
    text-align: center;
}

footer p {
    color:#595959;
    font-size: 1rem;
}

/* ハンバーガーメニュー */
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #FFF;
    border-radius: 50%;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #000000;
    position: absolute;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

/* ハンバーガーメニューのメニュー */
.menu-content ul {
    padding: 70px 10px 0;
}

.menu-content ul li {
    border-bottom: solid 1px #000000;
    list-style: none;
}

.menu-content ul li a {
    font-family: dnp-shuei-mgothic-std, sans-serif;
    display: block;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
    color:#000000;
    text-decoration: none;
    padding: 9px 22px 10px 0px;
    position: relative;
}

.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #000000;
    border-right: solid 2px #000000;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

.menu-content {
    padding: 10px;
    width: 30%;
    height: auto;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #ffecb7;
    transition: all 0.5s;/*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
    left: 70%;/*メニューを画面内へ*/
}


/*  デバイス対応  */

/* スマホ縦 */
@media (max-width: 480px) {
    #menu-btn-check:checked ~ .menu-content {
        left: 50%;/*メニューを画面内へ*/
    }
    .menu-content {
        width: 50%;
    }
    
    .menu-content ul li a {
        font-size: 1rem;
    }
    #menu li a {
        font-size: 1rem;
    }

    .beginning-sentence p,
    .ending-sentence p{
        font-size: 0.9rem;
    }
  
    .content {
        height: auto;
        padding: 0px;
    }

    .contents > div {
        width: 100%;
    }

    .article {
        height: 38em;
        margin-bottom: 5%;
    }

    .title h2 {
        font-size:1.2em;
    }

    .one h2 {
        padding: 1em 0.7em 1em 1.1em;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .btn {
        left: 10%;
    }

    .bonoko {
        width: 79%;
        height: auto;
    }
    
    .eyecatch {
        margin-top: 5%;
    }

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

}

/* ipad */
@media (min-width:481px) and (max-width: 960px) {
    .content {
        height: auto;
    }
    .contents > div{
        width: 33%;
    }

    .article {
        height: 36em;
    }

    .btn {
        left: 5%;
    }

    .bonoko {
        width: 100%;
        height: auto;
    }

}

/* PC */
@media screen and (min-width:1024px) {
    /*　画面サイズが1024pxからはここを読み込む　*/
    .content-wrapper {
        max-width: 1024px;
        margin-left: auto;
        margin-right: auto;
    }

    #menu li a {
        padding: 10px;
    }
} 
