@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* NEWS一覧ページ */
.smile-news {
    max-width: 900px;
    margin: 50px auto;
    padding: 35px;
    background: #ffffff;
}

.smile-news-title {
    margin: 0 0 30px;
    text-align: center;
    font-size: 32px;
}

.smile-news-list {
    width: 100%;
}

.smile-news-item {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 20px 10px;
    border-bottom: 1px solid #dddddd;
    color: #333333;
    text-decoration: none;
}

.smile-news-date {
    min-width: 110px;
    color: #777777;
}

.smile-news-text {
    font-size: 18px;
    font-weight: 600;
}

.smile-news-item:hover .smile-news-text {
    color: #66bd00;
}

.smile-news-more {
    width: 100%;
    margin-top: 25px;
    text-align: right;
}

.smile-news-more a {
    color: #66bd00;
    font-weight: bold;
    text-decoration: none;
}

.smile-news-more a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 600px) {
    .smile-news {
        margin: 25px auto;
        padding: 20px;
    }

    .smile-news-title {
        font-size: 26px;
    }

    .smile-news-item {
        display: block;
        padding: 18px 5px;
    }

    .smile-news-date {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
    }

    .smile-news-text {
        font-size: 16px;
    }
}

/* 物件概要表の横幅を統一 */
.smile-table {
    width: 100% !important;
    table-layout: fixed;
}

.smile-table th,
.smile-table td {
    box-sizing: border-box;
}

.smile-table th {
    width: 15%;
}

.smile-table td {
    width: 35%;
}