@charset "UTF-8";

/* ==========================================================================
   記事一覧（Article List）
   ========================================================================== */

.article-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

.article-list__item {
    border-bottom: 1px solid #eee;
}

.article-list__link {
    display: block;
    padding: 20px 15px;
    transition: var(--transition);
}

.article-list__link:hover {
    background-color: #f9f9f9;
}

.article-list__date {
    display: block;
    color: var(--text-light);
    margin-bottom: 5px;
}

.article-list__title {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.5;
}

.article-list__link:hover .article-list__title {
    color: var(--primary-color);
}

/* サブカテゴリ */
.subcategory {
    margin-bottom: 48px;
    font-size: 1em;
}

.subcategory__heading {
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3b8d88;
    border: 1px solid #3b8d88;
    padding: 4px 14px;
    margin-bottom: 0;
}

.subcategory__empty {
    font-size: 1em;
    padding: 18px 16px;
    color: var(--text-light, #aaa);
    border-bottom: 1px solid #eee;
}


/* ==========================================================================
   記事本文（Article Content）
   ========================================================================== */

#kouza01 {
    text-align: left;
}

#kouza01nai #za img {
    margin: 30% auto 0 auto;
}

p.keisaibi {
    text-align: right !important;
}

.kouzafotter {
    text-align: center;
}


/* ==========================================================================
   コンテンツ要素（Content Elements）
   ========================================================================== */

/* 2カラム画像リスト */
.photo2ko {
    list-style: none;
    margin: 1em 0 2em 0;
    display: flex;
    gap: 2%;
}

.photo2ko li {
    border: 5px solid #ccc;
    padding: 2%;
    font-weight: bold;
    flex: 1;
    background-color: #fff;
}

@media (max-width: 700px) {
    .photo2ko {
        flex-direction: column;
    }

    .photo2ko li {
        margin: 0.5em 0;
    }
}

/* テーブル */
table.hyou {
    margin: 1em auto 0 auto;
}

table.hyou th {
    text-align: center;
    background-color: #f1f1f1;
    vertical-align: middle;
}

table.hyou th,
table.hyou td {
    border: 1px #ccc solid;
    vertical-align: middle;
    table-layout: fixed;
    padding: 3px;
}

/* グレー囲み */
.graywaku {
    margin: 2em 0 0 0;
    padding: 2%;
    background-color: #efefef;
    font-size: 0.8em;
}

/* 注釈リスト（※番号） */
ol.listkome {
    margin: 0 0 0 2em;
}

ol.listkome li {
    text-indent: -2em;
    list-style-type: none;
    list-style-position: inside;
    counter-increment: cnt;
}

ol.listkome li:before {
    display: marker;
    content: "※" counter(cnt);
    margin: 0 5px 0 0;
}


/* ==========================================================================
   コラムカード（Column Card）
   ========================================================================== */

.column__date {
    color: var(--text-light);
    margin-top: 15px;
    text-align: right;
}

.column__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: var(--transition);
}

.column__card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.column__card:hover .column__img img {
    transform: scale(1.05);
}

.column__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    color: var(--text-color);
    margin-top: 10px;
}

.column__img {
    overflow: hidden;
}

.column__img img {
    transition: transform 0.5s ease;
}

.column__disclaimer {
    color: var(--text-light);
    margin-top: 30px;
    text-align: center;
}


/* ==========================================================================
   サンクスページ（Thanks Page）
   ========================================================================== */

.thanks-content {
    text-align: center;
    padding: 100px 20px;
}

.thanks-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.thanks-content p {
    margin-bottom: 40px;
}


/* ==========================================================================
   レスポンシブ（Responsive）
   ========================================================================== */

@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    #kouza01nai #za img {
        margin: 0 auto;
    }
}
