﻿#div_middle {
    height: 69%;
}


.index_left {
    width: 25%;
}

.index_center {
    margin: 30px 0px 0px 0px;
    padding:  40px 0px 0px 0px;
    width: 50%;
}

.index_right {
    width: 25%;
}

.form_left {
    width: 30%;
}

.form_center {
    margin: 30px 0px 0px 0px;
    padding:  40px 0px 0px 0px;
    width: 40%;
}

.form_right {
    width: 30%;
}

.pagination {
    display: inline-block;
    margin: 0px 0px 10px 38px;
}

.pagination_bottom {
    display: block;
    margin: -10px 0px 10px 38px;
}
.paginagion_in_span {
    width: 90px;
    border: 3px solid #909090;
    background-color: #ffffff;
    border-radius: 20px;
    color: #909090; 
    display: inline-block;
    font-size: 18px;
    text-align: center;
}

.paginagion_in_a {
    width: 90px;
    border: 3px solid #ff8c00;
    background-color: #ffffff;
    border-radius: 20px;
    color: #ff8c00; 
    display: inline-block;
    font-size: 18px;
    text-align: center;
}

.paginagion_in_a:hover,
.paginagion_in_a:focus {
    border: 3px solid dodgerBlue;
}


.paginagion_in_r {
    margin-left: 488px;
}

.custom-div {
    position: relative;
}


.post {
    border: 3px solid #909090;
    background-color: #ffffff;
    color: #909090;
    border-radius: 15px;
    width: 660px;
    margin-left: 38px;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-bottom: 15px;
}

.post-comment {
    width: 640px;
}

.post-title {
    font-weight: bold;
    font-size: 24px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #ff8c00;
}

.post-timestamp {
    display:inline-block;
    margin-top: 10px;
    margin-left: 312px;
    font-weight:bold;
    font-size: 18px;
}


.keijiban_menu {
    border: 3px solid #ff8c00;
    background-color: #ffffff;
    border-radius: 20px;
    color: #ff8c00;
    display: inline-block;
    margin-top: 25px;
    font-size: 18px;
    text-align: center;
}

.keijiban_menu:hover,
.keijiban_menu:focus {
    border: 3px solid dodgerBlue;
    display: inline-block;
    font-size: 18px;
    text-align: center;
}

.menu_msg {
    text-align: center;
}

#km_if {
    width: 160px;
    margin-left: 190px;
}

#km_top {
    width: 122px;
    margin-left: 267px;
}


/* スクロールがあるときに補正 */
body.scroll-enabled #km_if {
  margin-left: 202px;
}

#input_form { margin-left: 45px;}

input[name="name"] { width: 245px;}

input[name="mail"] { width: 245px;}

input[name="title"] { width: 245px;}


.position_nm {
    display: flex;
    gap: 10px;
}

.box_layout {
    border: 3px solid #909090;
    border-radius: 10px;
    margin: 14px 0px 14px 8px;
    outline: none;
    padding: 8px;
    box-sizing: border-box;
    transition: 0.3s;
}

.box_layout:hover,
.box_layout:focus {
    border-color: dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}

.custom-div .placeholder {
    position: absolute;
    font-size: 14px;
    top: 16px;
    left: 16px;
    color: #909090 ;
}


.custom-div input:focus + .placeholder {
    top: -10px;
    background-color: transparent;
    font-size: 14px;
    font-weight: bold;
    color: dodgerBlue;
}


.custom-div input:valid + .placeholder {
    top: -10px;
    background-color: transparent;
    font-size: 14px;
    font-weight: bold;
    color: #909090;
}


.custom-div textarea:focus + .placeholder {
    top: -10px;
    background-color: transparent;
    font-size: 14px;
    font-weight: bold;
    color: dodgerBlue;
}


.custom-div textarea:valid + .placeholder {
    top: -10px;
    background-color: transparent;
    font-size: 14px;
    font-weight: bold;
    color: #909090;
}


#message {
    position: absolute;
    top: 222px;
    left: 15px;
    font-size: 12px;
}


textarea {
    overflow-y: hidden;
    resize: none;
    width: 505px;
    height: 210px;
    border: 3px solid #909090;
    font-size: 16px;
}


input[type="submit"] {
    position: absolute;
    border: 3px solid #ff8c00;
    border-radius: 20px;
    background-color: #ffffff;
    color: #ff8c00;
    top: 240px;
    left: 432px;
    cursor: pointer;
    font-family:"HG丸ｺﾞｼｯｸM-PRO", "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro";
    font-size: 16px;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
    border-color: dodgerBlue;
    border: 3px solid dodgerBlue;
    color:  dodgerBlue;
    box-shadow: 0 0 8px 0 dodgerBlue;
}

.post {
    position: relative;
}

.post-person_mail {
    position: relative;
    font-weight:bold;
}

.post-person_nonmail {
    position: relative;
    font-weight:bold;
    top: 19px;
    margin-bottom: 36px;
}


.mail_link {
    position: relative;
    display:inline-block;
    top: 12px;
    width: 40px;
    height: 40px;
    background: url("/cgi-bin/perl/keijiban/icon/kkrn_icon_mail_0.png") no-repeat center center;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
}

.mail_link:hover {
    background-image: url("/cgi-bin/perl/keijiban/icon/kkrn_icon_mail_1.png");
    box-shadow: 0px 0px 0px 0px;
}


.CB {color: #4169e1;}

.CR {color: #ff1493;}
