@charset "utf-8";

/* スマートフォン（横幅:～640px）のスタイルシート */
body {
    background-color: #F7F2EC;
    font-family: 'Kosugi Maru', sans-serif;
    color: #282828;
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
    bottom: auto;
/* 横からはみだすのは表示させない！ */
	overflow-x: hidden;
/* なおかつ横スクロールもさせないぜ！*/
	overflow-x: clip;

}

.page-header-wrap{
    margin-top: 0px;	
}


.kawamura-logo-wrap {
    width: 100px;
    height: 100px;
    display: block;
    margin-left: 18%;
    margin-top: -23px;
}


/* 1300pxの横線を消す */
@media screen and (max-width: 900px) {
.border-1300px_wrap {
    display: none; }
}

/* 900pxの上下の横線を消す */
@media screen and (max-width: 900px) {
.border-900px_wrap {
    display: none; }
}
@media screen and (max-width: 900px) {
.border-900px-under_wrap {
    display: none; }
}


/* ここからスマートフォンの時にでる横線 */
.border-600px-upper_wrap
{
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    display: block;
    margin-top: -31px;
}

/* ここまでスマートフォンの時にでる横線 */


/* ここからスマートフォン用ナビゲーション */
.main-nav-upside{
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    text-align: center;
    list-style-type: none;
    width: 90%;
    margin-left: -20px;
    margin-top: 0px;
}

.main-nav-downside{
    display: flex;
    justify-content: space-between;
    width: 70%;
    font-weight: bold;
    text-align: center;
	list-style-type: none;
    margin-top: 0px;
    margin-left: -3%;
    margin-right: auto;
}

.main-nav-item{
    font-size: 17px;
}

.illustraion-text_rap{
    letter-spacing: -1.2px;
}

.diary-position_rap {
    margin-right: 39px;
}

.contact-position_rap   {
    margin-right: -35px;
}


/* ここまでスマートフォン用ナビゲーション */


/* ここからスマートフォンの時にだけ出るアンダーライン　*/
.border-600px-under_wrap{
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    display: block;
    margin-top: -16px;
}
/* ここまでスマートフォンの時にだけ出るアンダーライン　*/

.h2_wrap {
    font-weight: bolder;
    font-size: x-large;
    margin-top: -10px;
    width: auto;
}

.main-nav-item {
    text-decoration: none;
    color: #282828;
}





/* ここからスマートフォン用の外部リンク */
/* 高さが700px以下ならrandom(動く)*/
@media screen and (min-height: 801px){
.external-link-smartphone-fix_wrap{
    display: flex;
    justify-content: space-around;
    clear: none;
    opacity: 1;
    text-align: center;
    list-style-type: none;
    width: 50%;
    margin-right: auto;
    margin-left: 18%;
    margin-top: 40px;
    position: absolute;
    bottom: 7vh;
    }
}

@media screen and (max-height: 800px){
.external-link-smartphone-fix_wrap{
    display: flex;
    justify-content: space-around;
    clear: none;
    opacity: 1;
    text-align: center;
	list-style-type: none;
    width: 50%;
    margin-right: auto;
    margin-left: 18%;
    margin-top: 40px;
}
}



.external-link-smartphone-random_wrap {
    display: flex;
    justify-content: space-around;
    clear: none;
    opacity: 1;
    text-align: center;
	list-style-type: none;
    width: 50%;
    margin-right: auto;
    margin-left: 18%;
    margin-top: 40px;
}

.icon-wrap_smartphone{
    margin-right: 30px;
    width: auto;
    height: 30px;
}
/* ここまでスマートフォン用の外部リンク */



/*スマートフォン用著作権表示　高さが800px以下ならrandom(動くように)表示*/
@media screen and (min-height: 801px){
.footer-smartphone-fix_wrap{
    width: 100vw;
    text-align: center;
    position: absolute;
    bottom: 3vh;
    font-size: small;
	}
}

@media screen and (max-height: 800px){
	.footer-smartphone-fix_wrap{
    text-align: center;
    width: 100vw;
    margin-top: 10px;
    font-size: small;
    
	}
}


/*スマートフォン用著作権表示　はじめからrandom(動くように)表示*/
.footer-smartphone-random_wrap {
    text-align: center;
    width: 100vw;
    margin-top: 10px;
    font-size: small;
}
