@charset "utf-8";

/*--------------------------------------------------------
  共通レイアウトパーツ設定
--------------------------------------------------------*/
body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 95%;
    font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'Osaka', sans-serif;
    color: #24140e;
    /* 標準文字色 */
    min-width: 1200px;
    background-color: #dbebc4;
    background-image: url("https://www.transparenttextures.com/patterns/pineapple-cut.png");
}

/******* ヘッダー ******/
#hpb-header {
    overflow: hidden;
    height: 140px;
}

/*左　ロゴ部分*/
#hpb-headerLogo {
    padding-top: 0.5em;
    font-size: 1.8em;
    text-align: left;
    font-weight: bold;
    font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
    line-height: 1em;
}

#hpb-headerLogo span {
    font-size: 0.8em;
}

#hpb-headerLogo img {
    margin-left: 1em;
    display: inline;
    float: left;
}

#hpb-headerLogo a {
    text-decoration: none;
    color: #24140e;
}

/*右　住所*/
.address {
    text-align: left;
    float: right;
    position: relative;
    top: -60px;
    right: 0;
    font-size: 0.9em;
}

/*メニューボタン*/
#hpb-header table {
    width: 100%;
    min-width: 100%;
    position: relative;
    top: -50px;
    clear: both;
}

#hpb-header table tr td {
    display: table-cell;
    box-sizing: border-box;
    width: 20%;
    border-collapse: separate;
    margin-left: 0;
    height: 30px;
    font-size: 1.1em;
    border: 1.5px #e6d2b8 solid;
    border-radius: 10px;
    background-color: #faebd7;
    background-image: url("https://www.transparenttextures.com/patterns/wood-pattern.png");
    box-shadow: 0 3.5px #e6d2b8;
    transition: color .2s, background .2s, box-shadow .2s, transform 0.2s;
}

#hpb-header table tr td a {
    display: block;
    width: 100%;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: bold;
    text-decoration: none;
}

#hpb-header table tr td:hover {
    /*transform:translateY(-6px);*/
    /*追加*/
    box-shadow: 0 1.5px #e6d2b8;
    transform: translateY(1.5px);
}

#hpb-header table tr td:active {
    box-shadow: 0.5px 0 #e6d2b8 inset;
    transform: translateY(3.5px);
}

/******* ヘッダー おわり ******/


/******* トップページ *******/
#hpb-container {
    /*position:relative;*/
    /*ここがrelativeで#hpb-nav ulがabsoluteだと事業内容ページのボタン位置下がる*/
    zoom: 1;
    width: 70%;
    margin: 20px auto;
    border: 1px solid #ccc;
    min-height: 90vh;
    padding-bottom: 100px;
    /*footerの高さ*/
    background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
    background-color: #fffff9;
    border-radius: 30px;
}

#hpb-inner {
    margin: 0 auto;
}

/*top画像*/
.bxslider img {
    max-width: 100%;
}

/*#topimage {
    overflow: hidden;
}
#topimage > img {
    width: 100%;
}*/
/******* トップページ おわり*******/
/*--------------------------------------------------------
  基本パーツデザイン設定
--------------------------------------------------------*/
/*chromeでリンク先に変な黒枠出るやつ消す*/
* {
    outline: none !important;
}

/* リンク文字色 */
a {
    color: #2f4f4f;
}

a:visited {
    text-decoration: underline;
}

a:hover {
    color: #9acd32;
    text-decoration: none;
}

p {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    padding-right: 1em;
    padding-left: 1em;
    line-height: 1.4;
    text-align: left;
}

hr {
    border-top: 1px dashed #8c8b8b;
    border-bottom: 1px dashed #ffffff;
}

h1 {
    font-weight: bold;
    position: relative;
    padding: 0.5rem 2rem;
    display: inline-block;
}

h1:before {
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 6px;
    content: '';
    background: linear-gradient(to right, #9acd32 30%, #c7e68a 50%, #dbebc4 90%);
    animation: underbar 2s ease-in-out forwards;
    /*名前、時間、進め方（ゆっくり入って加速、ゆっくり終わる）、再生後の状態（100％で終了）*/
}

@keyframes underbar {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

/* テープっぽい感じ */
h2 {
    padding: 10px 30px 10px 30px;
    background-color: #dbebc4;
    border-left: 2px dotted rgba(0, 0, 0, 0.1);
    border-right: 2px dotted rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    display: inline-block;
    letter-spacing: 0.2em;
}

/******* 報告・決算 *******/
.paper h3 {
    font-weight: bold;
    color: #57893d;
    font-size: 1.1em;
    padding-left: 1em;
    width: 6em;
    margin: 0;
    text-align: left;
}

h4 {
    position: relative;
    display: inline-block;
    padding: 0 15em;
    color: #203864;
    font-size: 1.4em;
    text-align: center;
    margin: 0 auto;
}

h4:before,
h4:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 40%;
    height: 0.1em;
    background-color: #203864;
    margin: 0 auto;
}

h4:before {
    left: 0;
}

h4:after {
    right: 0;
}

h4:first-child {
    margin-top: 1%;
}

#toppage-news .detailwriting {
    display: block;
    margin-top: 20px;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

/******* 社協概要、事業内容、報告・決算、社協だより 共通 ******/
.topix {
    padding: 2%;
    width: 80%;
    display: inline-block;
}

.topix>p {
    max-width: 1000px;
    margin: auto;
}


/****** 社協概要 ******/
.info_table {
    border: 1px solid #696969;
    border-collapse: collapse;
    font-size: 1.2em;
    min-width: 680px;
}

.info_table th {
    background-color: #578a3d;
    color: #ffffff;
    padding: 0.5em;
    border: 1px solid #696969;
    min-width: 5em;
    letter-spacing: 0.2em;
}

.info_table td {
    text-align: left;
    border: 1px solid #696969;
    padding: 0.5em;
}

/******* 小平社協へようこそ *******/
.detailwriting {
    font-size: 1.1rem;
}

.detailwriting>p {
    text-align: left;
    padding-left: 0.5em;
}

.detailwriting>p>span {
    font-weight: bold;
    padding-right: 1.5rem;
}

.detailwriting>p>span:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f4ba';
    color: #9acd32;
    margin-right: 5px;
}

/******* お知らせ欄 *******/
.scrollArea {
    height: 200px;
    overflow: auto;
    border: 1px solid #d4d9dc;
    background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
    background-color: #fffff9;
}

/*スクロールバーの横幅指定*/
.scrollArea.deco::-webkit-scrollbar {
    width: 15px;
}

/*スクロールバーの背景色・角丸指定*/
.scrollArea.deco::-webkit-scrollbar-track {
    height: 200px;
    border-radius: 10px;
    background: #f2f2f2;
}

/*スクロールバーの色・角丸指定*/
.scrollArea.deco::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #578a3d;
}

/***** リンク *****/
.link {
    margin: auto;
}

.link a {
    border-radius: 20px;
    background-color: #faebd7;
    background-image: url("https://www.transparenttextures.com/patterns/wood-pattern.png");
    display: inline-block;
    margin: 1em;
    padding: 1em;
    min-width: 10rem;
    min-height: 3rem;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    box-shadow: 2.5px 2.5px #b3a694;
}

.link a:hover {
    transform: rotate(2.5deg);
}


/******* 事業内容 *******/
.project {
    margin: 0 auto auto 3em;
    text-align: left;
    max-width: 95%;
    margin: auto;
}

.project dt {
    font-weight: bold;
    font-size: 1.2em;
    padding-top: 1em;
}

.project dt:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f4ba';
    color: #9acd32;
    margin-right: 0.5em;
}

.project dd {
    text-align: left;
    padding-bottom: 0.5em;
    border-bottom: 2px dotted #ccbea9;
}

.project dd:last-child {
    border-bottom: none;
}

.project dd>ul {
    margin-top: 0;
}

.project p {
    margin-left: 0;
}

.project a {
    padding-top: 0.5em;
    display: inline-block;
}

.projectlink:before {
    font-family: "Font Awesome 5 Free";
    font-size: 1.3em;
    content: '\f0a4';
    color: #ff6347;
    padding-right: 0.3em;
}

/******* 事業内容 おわり *******/


/******* 報告・決算 *******/
.report {
    padding-bottom: 300px;
}

.report table {
    border-collapse: collapse;
    border: 1px solid #ccbea9;
    box-shadow: 2.5px 2.5px #b3a694;
    display: inline-block;
}

.report table tr:nth-child(2n) {
    border-top: 1px dashed #8c8b8b;
    border-bottom: 1px dashed #8c8b8b;
}

.report table tr:last-child {
    border-bottom: none;
}

.report table tr th {
    font-size: 1.2em;
    text-align: left;
    text-indent: 0.5em;
    color: #57893d;
    line-height: 2.5em;
}

.report table tr td {
    padding: 0.5em 0.75em;
    line-height: 1.25em;
}

.report a {
    text-decoration: none;
}

/******* 報告・決算 おわり *******/


/******* 社協だより *******/
.syakyoudayori {
    margin: auto;
    margin-top: 2%;
}

table.syakyoudayori th {
    text-align: left;
    color: #578a3d;
    font-size: 1.2em;
}

table.syakyoudayori th:before {
    text-align: left;
}

table.syakyoudayori td a {
    padding: 1em 2em;
    border: 1.5px solid #ccbea9;
    display: block;
    box-sizing: border-box;
    border-radius: 30px;
    text-decoration: none;
}

table.syakyoudayori td a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f4ba';
    color: #9acd32;
    margin-right: 0.5em;
}

table.syakyoudayori td a:hover {
    background-color: #578a3d;
    color: #ffffff;
    /*transition-delay:0.2s;*/
    transition-duration: 0.3s;
}

/******* 社協だより おわり *******/

/******* フッター *******/
#hpb-footer {
    clear: both;
    margin-bottom: 0;
    margin-right: auto;
    margin-left: auto;
    bottom: 0;
    height: 15px;
    max-height: 15px;
    width: 100%;
}

#hpb-footerMain {
    padding-top: 0.2em;
    padding-bottom: 1em;
    border-top: 0.5px solid #b3a694;
    margin-bottom: 0;
    vertical-align: bottom;
    width: 100%;
    height: 15px;
    clear: both;
}

#hpb-footerMain p {
    margin: 1em auto 2em 2em;
    padding-left: 10px;
    text-align: left;
    font-size: 0.8em;
}

/* カウンター */
#hpb-counter {
    padding-top: 1.5em;
    padding-bottom: 0.25em;
    padding-left: 1em;
}

/******* フッター おわり*******/

/*******トップへ戻るボタン *******/
#page-top {
    position: fixed;
    bottom: 120px;
    right: 5px;
    font-size: 15px;
    font-size: 1.05em;
    z-index: 1;
}

#page-top a {
    text-decoration: none;
    width: 105px;
    height: 22px;
    padding: 5px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
    border: 1px #666c67 solid;
    background: #9acd32;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8ffe8', endColorstr='#b7df2d', GradientType=0);
    /* IE6-9 */
    color: #24140e;
}

#page-top a:before {
    font-family: "Font Awesome 5 Free";
    content: "\f35b";
}

#page-top a:after {
    content: 'PageTop';
    padding-left: 0.5em;
}

#page-top a:hover {
    background: #578a3d;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#006e2e', endColorstr='#006e2e', GradientType=0);
    color: white;
}