/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/

@media screen and (min-width: 600px) {
/*/////////////PC用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/
.center {
    text-align: center;
    margin: 0 auto;
}

.caption {
    font-size: 12px;
    word-wrap: break-word;
    color: #928e8e;
    text-align: center;
    word-break: break-all;
}
#category .caption a {
    color: #928e8e;
}
.float-img.fl {
    width: 40%;
    margin: 0px 20px;
}

#category .float-wrap.cf ul {
    margin: 0px 0px 15px 400px;
}

.pr-company {
    background: #fff;
    padding: 20px 5px;
    border: solid 1px #666;
}

.catch-ico.ico-1 {
    font-size: 18px;
    font-weight: bold;
    padding: 20px 0px 5px 20px;
    border-bottom: 2px solid #0e578a;
    margin-bottom: 10px;
    color: #0e578a;
    margin-top: 30px;
}
.float-img.ct .caption {
    text-align: center;
}
.float-wrap.cf {
    margin-top: 50px;
}
#category h2, #category h3 {
    margin-top: 80px;
}
.catch {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.6;
    margin: 20px 0;
    color: #3E4A0E;
}
.pr-company {
    padding: 20px;
}
.pr-company .float-img.fl {
    margin-left: 0;
}
.pr-gallery {
    margin-bottom: 10rem;
}
span.small {
    font-size: 13px;
}
.notes a {
    color: #DDD;
}
.mainArea p {
    text-align: left;
}
#contents .box-wrap {
    margin-top: 40px;
    margin-bottom: 40px;
}
.midasi {
    font-size: 2.4rem;
}
ul.readmore-content {
    margin: 20px;
}
.kanren ul {
    margin: 20px;
}
}



/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/

@media screen and (max-width: 599px) {
/*/////////////SP用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/

.catch {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #3E4A0E;
    font-weight: bold;
    margin: 1.5rem 0;
}
.pr-gallery {
    margin-bottom: 5rem;
}
span.small {
    font-size: 13px;
}
.notes a {
    color: #DDD;
}
.midasi {
    font-size: 1.8rem;
}
.kanren ul {
    margin: 10px;
}
ul.readmore-content {
    margin: 10px;
}
}

/* oki_20220509 */
.kanren {
    padding: 0;
    margin: 30px 0;
    text-decoration: none;
    border: solid 1px #999999;
    position: relative;
    box-sizing: border-box;
}
.midasi {
    border-bottom: 1px solid #3E4A0E;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    background: #3E4A0E;
    color: #FFF;
    padding: 1rem 4.1rem;
}
.kanren br {
	display: none;
}

/* アコーディオンのときに下記追加 */
.readmore-content {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.readmore-content::before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    content: "";
    /*以下お好み グラデーションの色と高さ 高さはreadmoreのheight以下にすること*/
    height: 50px;
    z-index: 1;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.8) 50%, #fff 100%);
    background: linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.8) 50%, #fff 100%);
}
ul.readmore-content li::before {
    content: "";
    display: block;
    background-color: #3E4A0E;
    width: 10px;
    height: 10px;
    border-radius: 50px;
    position: absolute;
    top: 8px;
    left: 0;
}
/* 続きを読むボタン */
.readmore-label {
    display: table;
    bottom: 5px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    margin: 0 auto;
    z-index: 2;
    padding: 0 10px;
    background-color: #242424;
    border-radius: 5px;
    color: #FFF;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.readmore-label:before{
    content: '続きを読む';
}

.readmore-check{
    display: none;
}
/*チェック時にボタンを非表示*/
.readmore-check:checked ~ .readmore-label{
    position: static;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    /* 「続きを読む」を押した後、元に戻す必要がない場合は、上のオプションを消してこの1行だけにする */
    /* display: none; */
}
.readmore-check:checked ~ .readmore-label:before{
    content: '閉じる';
}
/*チェック時に高さを自動に戻す*/
.readmore-check:checked ~ .readmore-content{
    height: auto;
}
/*チェック時グラデーション等を削除*/
.readmore-check:checked ~ .readmore-content::before {
    display: none;
}
ul.readmore-content li {
    padding: 0 0 6px 30px;
    position: relative;
}
