@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@700&display=swap');

html { 
    font-size: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* Fix for absolute positioning */
}

h1 {
    font-family: dnp-shuei-mgothic-std, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.1rem;
    color:#432;
}

p,h2,h3 {
    font-family: dnp-shuei-mgothic-std, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #432;
}

.ending-sentence {
    padding: 0em 2em;
    margin: 0px 0px;
}

/* ハンバーガーメニュー */
.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: #faf6d4;
    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: #fc694c;
        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 #fc694c;
        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: #fc694c;
            text-decoration: none;
            padding: 9px 15px 10px 0;
            position: relative;
        }
            .menu-content ul li a::before {
                content: "";
                width: 7px;
                height: 7px;
                border-top: solid 2px #fc694c;
                border-right: solid 2px #fc694c;
                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: #faf6d4;
    transition: all 0.5s;/*アニメーション設定*/
}

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


body {
    font-family: "Yu Gothic Medium","游ゴシック Medium","YuGothic","游ゴシック体","ヒラギノ角ゴ Pro W3",sans-serif;
    line-height: 1.7;
    color: #432;
    background-color: #A8E0F4;
}

a{
    text-decoration: none;
}

img {
    max-width: 100%;
}

/*  header  */

.page-header{
    display:flex;
    /*　両端の設定の指定 */
    justify-content: space-between;
}

.wrapper {
    margin: 0 auto;
    padding: 0 4%;
}

/* ページのトップへ移動 */
html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 60px;
    width: 60px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: #faf6d4;
    /* border: solid 2px #000; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fc694c;
    border-right: 3px solid #fc694c;
    transform: translateY(20%) rotate(-45deg);
}

/*  コンテンツ全体 */

.content-wrapper {
    background-color: none;
}

.header-content {
    padding-top: 50px;
}

.beginning-sentence{
    padding: 5rem 0rem 2rem 2rem;
}

.ending-sentence{
    padding: 2rem 0rem 2rem 2rem;
}

.stories-wrapper{
    text-align: -webkit-center;
}

.story-wrapper {
    width: 98%;
    background-color: #FBFDFE;
    border-radius: 50px;
    margin:2rem 0rem 1rem 0rem;
    display:flex;
    display: -ms-flexbox; /* IE10 */
	text-align: left;    
}

.story-wrapper > div{
    width: 50%;
}

/* 左半分 */
.story-content-leftside {
    display:flex;
    margin: 3rem 0rem 3rem 0rem;
}

/* 左半分のアイキャッチ部分 */
.eyecatch {
    width: 100%;
}
.eyecatch-container{
    width: 80%;
    max-width: 400px;
    height: 100%;
    margin: auto;
}

.eyecatch-wrapper {
    text-align: center;
}

.eyecatch-wrapper img{
    max-height: 400px;
}

/* 右半分 */
.story-content-rightside {
    display:inline-flexbox;
    margin: 4rem 2rem 0rem 1rem;
}

.story-header {
    display:flex;
}

.title {
    display:inline-block;
    padding: 1rem 0 1rem 1rem;
}

.title h3 {
    color:black;
}

/* ブロガーアイコン */
.balloon5 {
    width: 20%;
    /*overflow: hidden;
    display:inline-block; */
    display: flex; 
    align-items: center;        
}
  
.balloon5 .faceicon {
    /* float: left; */
    /* margin-right: -90px; */
    width: 100%;
    max-width: 90px;   
}
  
.balloon5 .faceicon img{
    width: 100%;
    height: auto;
    border: solid 3px white;
    border-radius: 50%;
    background-color: white;
}

.brogger p {
    color: black;
}

*, *:before, *:after {
	box-sizing: border-box;
}


/* ここから下がボタンのCSS　*/
.btn-border {
    display: inline-block;
    max-width: 180px;
    text-align: left;
    border: 2px solid #fc694c;
    font-size: 16px;
    background-color: #fc694c;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 20px;
    transition: .4s;
    margin-right: 7px; 
    margin-bottom: 7px;
}

    .btn-border:hover {
        background-color: #fc694c;
        border-color: white;
        color: white;
    }

.btn-container{
    display: flex;
    flex-wrap: wrap;
    padding:15px;
    margin-top: 20px;
}

.footer-content{
    text-align: center;
}


/* サイド */
.aside-content {
    position: relative;
}

footer {
    background: #A8E0F4;
    text-align: center;
    padding: 26px;
    margin-top: 25px;
}

footer p {
    color:#242223;
    font-size: 0.875rem;
}

/* NAPBIZアプリ */
.app {
    display: flex;
}

.icon {
    width: 90px;
}

.icon img {
    border-radius: 15px;
}

.android {
    width: 135px;
}

.ios,
.android {
    margin: 0 0 0 25px;
}

.ios p,
.android p {
    margin-bottom: 0px !important;
}

/*改行設定*/
.br-pc {
    display: block;
}

.br-sp {
    display: none;
}

/* ここからレスポンシブ設定 */

@media screen and (max-width: 960px) {
    .story-wrapper {
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .story-wrapper > div {
        width: 100%;
        text-align: center;
    }

    .story-content-leftside,
    .story-content-rightside {
        margin: 1rem auto; 
    }
    .eyecatch-wrapper img{
        margin-top: 2rem;
    }
    
    .story-wrapper {
        flex-wrap: wrap;
	    -ms-flex-wrap: wrap; /* IE10 */
        /* justify-content: space-between;  */
    }

    .story-header {
       display: flex;
       padding: 0 2rem; 
    }

     .brogger p {
       display: flex;
       padding: 0 2rem; 
       text-align: left;
    }

    .title h3{
        text-align: left;
    }

    .balloon5 .faceicon {
       width: 90%;
    }

    .btn-container{
       justify-content: center;
        text-align: center;
    }

    .ending-sentence p {
        font-size: 0.95rem;
    }

}

@media screen and (max-width: 480px){
    
    .header-content{
        padding: 20px 0 20px 0;
    }
    .header-content p {
        font-size: 0.8rem;
    }

    #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;
    }
    
    .btn, a.btn, button.btn {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 0.8rem;
    }

    .beginning-sentence{
        padding: 25px;
        font-size: 0.8rem;
    }

    .title {
        padding: 0.4rem;
    }

    .title h3 {
        font-size: 0.8rem;
    }

    .brogger p {
        font-size: 0.8rem;
    }


    .ending-sentence {
        margin: 10px;
        padding: 35px 20px;
        font-size: 0.8rem;
    }

}



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

    .sentence-and-btn p {
        font-size:1.1rem;
    }

    .btn,a.btn,button.btn {
        font-size: 1.2rem;
    }

    .comment-box p {
        font-size: 1.2rem;
    }

    .comment-box h2 {
        font-size: 1.5rem;
    }

    #menu li a{
/*        font-size: 1.2rem;*/
        padding:10px;
    }

     /*改行設定*/
    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }

} 


