/* リセット */
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    /* Prevent adjustments of font size after orientation changes in iOS */
    word-break: normal;
    -moz-tab-size: 4;
    tab-size: 4;
}

* {
    padding: 0;
    margin: 0;
}

body {
    -webkit-touch-callout: none; // リンク長押しのポップアップを無効化
    -webkit-user-select: none; // テキスト長押しの選択ボックスを無効化
}

/* 基本構造 */
p {
    font-size: 1.2em;
    margin: 0 auto;
}

img {
    margin: 0;
}

a {
    text-decoration: none;
}

a.anchor {
    display: block;
    /* padding-top: 50px; */
    /* margin-top: -50px; */
}

ul {
    list-style: none;
    margin: 0 1%;
}

ul li {
    font-size: 1.3em;
}

ul li:before {
    font-family: 'Font Awesome 5 Free';
    content: '\f00c';
    font-weight: 900;
    padding-right: 3px;
    color: red;
}

ol {
    margin: 0 2%;
}

hr {
    border: none;
    border-top: dashed 2px #ff0000;
    height: 1px;
    color: #FFFFFF;
}

.center {
    text-align: center;
}

blockquote {
    position: relative;
    width: 90%;
    margin: 1em auto;
    padding: 1em;
    border-right: 1px solid #824200;
    border-left: 10px solid #824200;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

header {
    background: #fff;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

header img {
    max-width: 750px;
}

article {
    margin: 0 auto;

}

section {
    margin: 0 auto;
    padding: 10px;
    overflow: hidden;
}

section.grey {
    background-color: #e6eaee;
}

section.dark {
    color: white;
    background-color: #964707;
}

footer {
    margin: 0 auto;
    padding: 2rem 1em;
    background: #666;
    color: #fff;
    font-size: x-small;
}

.wrap {
    margin: 0 auto;
    max-width: 750px;
}

/* タイトル装飾 */
h1 {
    margin: 0 auto;
    font-size: 1.3em;
    text-align: center;
    color: red;
}

h2 {
    color: #00b7ee;
    /*背景色*/
    margin: 10px 0;
    /*padding: 0.5em 0;*/
    text-align: center;
    /*文字まわり（上下左右）の余白*/
    border-top: solid 0px #666;
    /*上線*/
    border-bottom: solid 0 #666;
    /*下線*/
    font-size: 1.4em !important;
}

h3 {
    position: relative;
    margin: 0.9em 0;
    padding: 0.6em;
    color: white;
    background: #666;
    text-align: center;
    font-size: 1.4em !important;
}

h3:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 15px solid transparent;
    border-top: 15px solid #ee89a2;
    width: 0;
    height: 0;
}

/* スタイル */
.pr {
    color: gray;
    font-size: small;
    text-align: right;
    margin: 10px 0;
}

.leadtxt {
    margin: 20px;
    padding: 10px;
    border: 3px solid orange;
}

.cvbox {
    background: #fff;
    padding: 1em;
    text-align: center;

}

.lpbox {
    padding: 10em 0;
    background-position: center;
    background-size: cover;
}

.lpbox_txt {
    padding: 1em;
    background-color: wheat;
    opacity: 0.8;
}

.flexbox {
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.flexbox > img {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flexitem {
    padding-top: 1%;
}

.flexitem h2 {
    font-size: 1.0em !important;
    margin: 0;
    border: none;
    /*上線*/
    color: #fff;
    font-weight: bold;
    text-align: left;
    padding: 0 0 0 10px;
}

.flexitem p {
    font-size: small;
    padding: 0 0 0 10px;
}

.star-rating {
    position: relative;
    display: inline-block;
    font-size: 20px;
}

.star-rating .star-rating-item {
    position: absolute;
    overflow: hidden;
}

.star-rating .star-rating-item:before {
    content: "★★★★★";
    color: #ffcc33;
}

.star-rating:after {
    content: "★★★★★";
    color: #ccc;
}

.box1 {
    background-image: url(headimage.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center top;
    width: 100vw;
    height: 450px;
    padding: 0 auto;
}

.box1 p {
    position: relative;
    top: 250px;
    padding: 0 auto;
    font-size: large;
    font-weight: 600;
}

.box1 img {
    margin: 10px 0;
}

.mokuji {
    padding: 10px;
    margin: 10px;
    background: white;
    border: solid 1px hotpink;
}

.mokuji-title {
    margin: -10px -10px 0 -10px;
    padding: 10px;
    color: white;
    background: hotpink;
    text-align: center;
}

.mokuji:after {
    display: block;
    content: 'Contents';
    color: #fff;
    font-weight: bold;
    font-size: 120%;
    position: absolute;
    top: -35px;
    left: 40px;
}

.fbtn {
    position: relative;
    top: -30px;
    left: 78%;
}

#fab {
    /*円の部分*/
    display: block;
    width: 58px;
    /*幅*/
    height: 58px;
    /*高さ*/
    background: #dc3545;
    /*背景色*/
    text-align: center;
    /*中央寄せ*/
    border-radius: 50%;
    /*角丸く*/
    transition: .3s;
    /*滑らかな動きに*/
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .12), 0 2px 2px 0 rgba(0, 0, 0, .24);
    /*影*/
}

#fab:hover {
    /*ホバー時*/
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
}

#fab i {
    /*中央のアイコン*/
    color: white;
    line-height: 58px;
    /*＝幅と高さ*/
    font-size: 18px;
    /*サイズ*/
}

.comment > .t {
    text-decoration: underline;
}

.comment > .m {
    font-size: small;
}

.comment > .d {
    color: gray;
    text-align: right;
}


/* 吹き出し */
.balloon {
    margin: 0 10px;
    margin-bottom: 1em;
    position: relative;
}

.balloon:before,
.balloon:after {
    clear: both;
    content: "";
    display: block;
}

.balloon figure {
    width: 60px;
    height: 60px;
}

.balloon-image-left {
    float: left;
    margin-right: 20px;
}

.balloon-image-right {
    float: right;
    margin-left: 20px;
}

.balloon figure img {
    width: 100%;
    height: 100%;
    border: 1px solid #aaa;
    border-radius: 50%;
    margin: 0;
}

.balloon-image-description {
    padding: 5px 0 0;
    font-size: 10px;
    text-align: center;
}

.balloon-text-right,
.balloon-text-left {
    position: relative;
    padding: 10px;
    border: 1px solid;
    border-radius: 10px;
    max-width: -webkit-calc(100% - 120px);
    max-width: calc(100% - 120px);
    display: inline-block;
}

.balloon-text-right {
    color: #ee89a2;
    background: #fff3f6;
}

.balloon-text-left {
    color: #ee89a2;
    background: #fff3f6;
}

.balloon-text-right {
    float: left;
}

.balloon-text-left {
    float: right;
}

.balloon p {
    margin: 0 0 20px;
}

.balloon p:last-child {
    margin-bottom: 0;
}

/* 三角部分 */
.balloon-text-right:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #aaa;
    top: 15px;
    left: -20px;
}

.balloon-text-right:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff3f6;
    top: 15px;
    left: -19px;
    z-index: 5;
}

.balloon-text-left:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #aaa;
    top: 15px;
    right: -20px;
}

.balloon-text-left:after {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #fff3f6;
    top: 15px;
    right: -19px;
}

/* 考え毎 */
.think .balloon-text-right,
.think .balloon-text-left {
    border-radius: 30px;
}

.think .balloon-text-right:before {
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    top: 15px;
    left: -12px;
}

.think .balloon-text-right:after {
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    top: 20px;
    left: -19px;
}

.think .balloon-text-left:before {
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    top: 15px;
    right: -12px;
}

.think .balloon-text-left:after {
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    top: 20px;
    right: -19px;
}


.balloon5 {
    width: 100%;
    margin: 1.5em 0;
    overflow: hidden;
}

.balloon5 .faceicon {
    float: left;
    margin-right: -90px;
    width: 80px;
}

.balloon5 .faceicon img {
    width: 100%;
    height: auto;
    border: solid 3px #d7ebfe;
    border-radius: 50%;
}

.balloon5 .chatting {
    width: 100%;
}

.says {
    display: inline-block;
    position: relative;
    margin: 5px 0 0 105px;
    padding: 17px 13px;
    border-radius: 12px;
    background: #d7ebfe;
}

.says:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 18px;
    left: -24px;
    border: 12px solid transparent;
    border-right: 12px solid #d7ebfe;
}

.says p {
    margin: 0;
    padding: 0;
}

@keyframes squash {
    0% {
        transform: scale(1) translate(0, 0);
    }

    50% {
        transform: scale(1.05) translate(0, 10px);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

.btn-block {
    margin: 0 auto 20px auto;
    display: block;
    width: 95%;
    text-align: center;
    animation: squash 1s ease-in-out infinite;
    -moz-box-shadow: 0px 10px 14px -7px #735a27;
    -webkit-box-shadow: 0px 10px 14px -7px #735a27;
    box-shadow: 0px 10px 14px -7px #735a27;
    background-color: #ff5be4;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 12px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #d5b6a1;
}

.btn-block:hover {
    background-color: #ff5be4;
}

.btn-primary {
    color: #fff;
    background-color: #ff6c00;
    border-color: #ff6c00;
}

.underbtn {
    position: relative;
    text-align: right;
    z-index: 3;
}

.underbtn img {
    width: 55%;
    margin-right: 25px;
}

#btn1 {
    top: -50px;
    margin-bottom: -50px;
}

/* CSS Gred */
.item {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 75px auto;
    margin: 10px 0;
    padding: 5px 0;
    border: solid 1px #E1E8ED;
    border-radius: 3%;
}

.item_icon {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    padding: 5px;
}

.item_icon img {
    width: 65px;
    height: 65px;
    border-radius: 50%;

}

.item_username {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    font-size: 1em;
    position: relative;
    top: 20px;
}


.item_userid {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    font-size: 1em;
    color: #999;
    vertical-align: top;


}

.item_text {
    grid-row: 3 / 4;
    grid-column: 1 / 3;
    padding: 0 5px;
}

.item_img {
    grid-row: 4 / 5;
    grid-column: 1 / 3;
}

.item_postdate {
    grid-row: 5 / 6;
    grid-column: 1 / 3;
    padding: 10px 5px;
    font-weight: 800;
    font-size: small;
    color: #657786;
    text-align: right;
}

/*.item_cv {
    grid-row: 6 / 7;
    grid-column: 2 / 3;
    padding: 10px 0;
    background-color: burlywood;
    text-align: center;
    z-index: 1;
}*/

/* 動的表現 */




@media (max-width:750px) {}
