/*
Theme Name: nic-original
Author: NIC
Description: Original Theme for nic-hoken.com
Version: 1.0
*/

@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500&display=swap');

/* TOP画像の上の余白をなくす */
html,
body {
    margin-top: 0;
    padding-top: 0;
}

.main-visual {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.main-visual .main-bg-img {
    display: block;
}

/* ==================================================
   1. リセット & ベース設定
   ================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.7;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* メインコンテンツ（本文エリア） */
.main-content {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 50vh;
}

/* フッター */
.site-footer {
    background-color: #222222;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.875rem;
}

.site-footer p {
    margin: 0;
}

/* ==============================================
   2. メインビジュアル & 重ね表示（PC）
============================================== */
.main-visual {
    position: relative !important;
    width: 100% !important;
    overflow: hidden;
    line-height: 0;
}

.main-bg-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* 左上のロゴの配置指定 */
.header-logo-link {
    position: absolute !important;
    top: 25px !important;
    left: 30px !important;
    z-index: 10 !important;
    display: block !important;
}

/* ロゴのサイズと白いぼかし影の指定 */
.header-logo {
    width: 120px !important;
    height: auto !important;
    display: block !important;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 2.0)) 
           drop-shadow(0 0 18px rgba(255, 255, 255, 1.5)) !important;
}

/* 画像の上の文字コンテンツ（キャッチコピー） */
.main-visual-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    color: #ffffff !important;
    width: 90% !important;
    z-index: 5 !important;
}

.catchphrase {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.6;
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ==============================================
   3. グローバルメニュー（画像の下）
============================================== */
.global-nav {
    background-color: #00a0e9;
    margin-bottom: 0 !important; /* メニュー下の余分な隙間を完全にゼロにする */
}

.global-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.global-nav li a {
    display: block !important;
    padding: 16px 30px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Shippori Mincho', serif !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    transition: background-color 0.3s;
}

.global-nav li a:hover {
    background-color: #0080c0 !important;
}

/* ==============================================
   4. お客様への誓いセクション
============================================== */
.customer-promise {
   padding: 75px 20px 80px 20px !important; /* 上部の余白を 75px に広げて適度なバランスに調整 */
    background-color: #f8fafc; /* ごくわずかにグレーがかった上品な白 */
    color: #1a1a1a;
}

.promise-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* 見出しのデザイン */
.customer-promise .section-title-area {
    text-align: center;
    margin-bottom: 30px !important;
}

.sub-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: #00a0e9;
    margin-bottom: 5px !important;
}

.main-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 0 0 15px 0 !important;
}
.title-line {
    width: 40px;
    height: 2px;
    background-color: #00a0e9;
    margin: 0 auto;
}
/* 見出し下の青い横線を消す */
.title-line {
    display: none !important;
}

/* 3カラムのグリッドレイアウト */
.promise-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* 個別のカードデザイン */
.promise-card {
    background: #ffffff;
    padding: 35px 30px;
    flex: 1;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.promise-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00a0e9;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.promise-card h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0 0 12px 0;
    letter-spacing: 0.05em;
}

.promise-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555555;
    margin: 0;
}

/* ==============================================
   5. スマホ用調整（画面幅 768px 以下）
============================================== */
@media (max-width: 768px) {
    .header-logo-link {
        top: 15px !important;
        left: 15px !important;
    }
    
    .header-logo {
        width: 120px !important;
    }

    .site-logo {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }

    .catchphrase {
        font-size: 0.95rem;
        white-space: normal;
        word-break: keep-all;
    }

    .global-nav li {
        width: 50%;
        text-align: center;
    }

    .global-nav li a {
        padding: 12px 10px;
        font-size: 0.9rem;
        border-bottom: 1px solid #444444;
    }

    .customer-promise {
        padding: 20px 15px 40px 15px !important; /* スマホ側も上部余白をコンパクトに */
    }
    
    .customer-promise .section-title-area {
        margin-bottom: 25px !important;
    }
    
    .promise-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .promise-card {
        padding: 25px 20px;
    }
}

/* ==============================================
   3つの誓いカードの背景に N・I・C の透かし文字を入れる
============================================== */
.promise-card {
    position: relative; /* 文字をカード内に絶対配置するための基準 */
    overflow: hidden;   /* カードからはみ出た文字を隠す */
}

/* カード共通の透かし文字ベース設定 */
.promise-card::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 完全に中央に配置 */
    font-family: 'Montserrat', sans-serif;
    font-size: 7rem; /* 文字の大きさ（お好みで 6rem〜8rem で調整可能） */
    font-weight: 700;
    color: rgba(0, 160, 233, 0.05); /* 薄いシアンブルー（透明度5%でほんのり浮き出る上品な表現） */
    z-index: 0; /* 文字を背景側に配置 */
    pointer-events: none; /* マウス操作を邪魔しないようにする */
    line-height: 1;
}

/* 1枚目のカード：N */
.promise-card:nth-child(1)::before {
    content: "N";
}

/* 2枚目のカード：I */
.promise-card:nth-child(2)::before {
    content: "I";
}

/* 3枚目のカード：C */
.promise-card:nth-child(3)::before {
    content: "C";
}

/* 文字や数字が透かし文字より手前に表示されるようにする層の調整 */
.promise-num,
.promise-card h3,
.promise-card p {
    position: relative;
    z-index: 1;
}

/* ==============================================
   数字と英語の横並び確実レイアウト
============================================== */
.promise-header-info {
    display: flex !important;
    align-items: baseline !important;
    gap: 12px !important;
    margin-bottom: 15px !important;
}

.promise-header-info .promise-num {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #00a0e9 !important;
    letter-spacing: 0.1em !important;
    margin: 0 !important;
}

.promise-header-info .promise-en {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #888888 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

/* =====================================
   NIC保険｜個人・法人向け保険案内
===================================== */

.insurance-services {
    padding: 75px 24px 85px;
    background: #f5f7f4;
    color: #303a35;
}

.insurance-container {
    max-width: 1120px;
    margin: 0 auto;
}

.insurance-title-area {
    text-align: center;
    margin-bottom: 40px;
}

.insurance-subtitle {
    display: block;
    margin-bottom: 10px;
    color: #82956c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.insurance-title-area h2 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.6;
    font-weight: 600;
}

.insurance-title-area > p {
    margin: 0;
    color: #69716b;
    font-size: 14px;
    line-height: 1.9;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.insurance-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e8e0;
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(40, 55, 40, 0.06);
}

.insurance-card-image {
    height: 220px;
    overflow: hidden;
    background: #e8ece6;
}

.insurance-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insurance-card:hover .insurance-card-image img {
    transform: scale(1.04);
}

.insurance-card-body {
    padding: 18px 30px 18px;
}

.insurance-en {
    display: block;
    margin-bottom: 8px;
    color: #82956c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.insurance-card-body h3 {
    margin: 0 0 14px;
    color: #303a35;
    font-size: 25px;
    font-weight: 600;
}

.insurance-description {
    margin: 0 0 10px;
    color: #69716b;
    font-size: 14px;
    line-height: 2;
}

.insurance-type {
    padding: 17px 0;
    border-top: 1px solid #e5e9e3;
}

.insurance-type-label {
    display: inline-block;
    margin-bottom: 6px;
    color: #536b49;
    font-size: 15px;
    font-weight: 700;
}

.insurance-type p {
    margin: 0;
    color: #626a64;
    font-size: 13px;
    line-height: 1.9;
}

/* スマートフォン表示 */
@media screen and (max-width: 767px) {
    .insurance-services {
        padding: 48px 18px 55px;
    }

    .insurance-title-area {
        margin-bottom: 28px;
    }

    .insurance-title-area h2 {
        font-size: 23px;
    }

    .insurance-title-area > p {
        font-size: 13px;
        text-align: left;
    }

    .insurance-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .insurance-card-image {
        height: 190px;
    }

    .insurance-card-body {
        padding: 23px 20px 25px;
    }

    .insurance-card-body h3 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .insurance-card-image img {
        transition: none;
    }
}

/* 個人・法人向け保険案内：左右2カラム */
.insurance-services .insurance-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    align-items: start;
}

.insurance-services .insurance-card {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* スマートフォンでは縦1列 */
@media screen and (max-width: 767px) {
    .insurance-services .insurance-grid {
        grid-template-columns: 1fr !important;
        gap: 22px;
    }
}

.insurance-card {
    min-width: 0;
    box-sizing: border-box;
}

/* スマートフォンでは1カラム */
@media screen and (max-width: 767px) {
    .insurance-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* =========================================
   OUR SERVICES：三つの誓いと見出しデザインを統一
========================================= */

/* セクション全体 */
.insurance-services {
    background-color: #f8fafc !important;
    color: #1a1a1a;
}

/* 見出し全体を中央揃え */
.insurance-services .insurance-title-area {
    text-align: center !important;
    margin-bottom: 30px !important;
}

/* 英字見出し：OUR PROMISEと統一 */
.insurance-services .insurance-subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: #00a0e9;
    margin-bottom: 5px;
}

/* 日本語見出し：三つの誓いと同じ明朝体 */
.insurance-services .insurance-title-area h2 {
    font-family: 'Shippori Mincho', serif !important;
    font-size: 1.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0 0 15px !important;
}

/* 説明文 */
.insurance-services .insurance-title-area > p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555555;
    text-align: center;
}

/* 個人・法人の見出しも明朝体に統一 */
.insurance-services .insurance-card-body h3 {
    font-family: 'Shippori Mincho', serif !important;
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em;
    color: #1a1a1a;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
    .insurance-services .insurance-title-area h2 {
        font-size: 1.35rem !important;
    }

    .insurance-services .insurance-title-area > p {
        text-align: center;
    }
}

.insurance-services {
    background: #ffeb3b !important;
}


/* OUR SERVICES 見出しを中央揃えにする */
.insurance-title-area {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* 保険カードの白枠の高さを内容に合わせる */
.insurance-card {
    height: auto;
    min-height: 0;
}

.insurance-card-body {
    height: auto;
    min-height: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* ========================================
   NIC PREMIUM FOOTER
======================================== */

/* お問い合わせエリア */
.nic-footer-contact {
    background:
        radial-gradient(ellipse at 90% 20%, rgba(184, 198, 151, 0.24), transparent 38%),
        linear-gradient(115deg, #f7f7f1, #edf1e8);
    color: #24392f;
    padding: 76px 6%;
}

.nic-footer-contact-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.nic-footer-eyebrow,
.nic-footer-heading {
    display: block;
    color: #91a77b;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    margin-bottom: 20px;
}

.nic-footer-contact-copy h2 {
    margin: 0 0 22px;
    color: #24392f;
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.06em;
}

.nic-footer-contact-copy p {
    margin: 0;
    color: #68736a;
    font-size: 14px;
    line-height: 2;
}

.nic-footer-contact-action {
    flex: 0 0 310px;
    text-align: center;
}

.nic-footer-contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 26px;
    border: 1px solid #395846;
    border-radius: 3px;
    background: #395846;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    letter-spacing: 0.04em;
    transition: background 0.3s, color 0.3s;
}

.nic-footer-contact-button span {
    font-size: 22px;
    transition: transform 0.3s;
}

.nic-footer-contact-button:hover {
    background: transparent;
    color: #395846 !important;
}

.nic-footer-contact-button:hover span {
    transform: translate(4px, -3px);
}

.nic-footer-contact-note {
    display: block;
    margin-top: 15px;
    color: #89968a;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.22em;
}

/* メインフッター */
.site-footer {
    padding: 0 !important;
    background: #1d3028 !important;
    color: #fff;
    text-align: left;
    font-size: 14px;
}

.nic-footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    gap: 55px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 75px 30px 65px;
}

.nic-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nic-footer-logo {
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
    text-decoration: none !important;
}

.nic-footer-logo span {
    color: #a9bd87;
}

.nic-footer-brand-en {
    margin-top: 12px;
    color: #a9bd87;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.28em;
}

.nic-footer-tagline {
    margin: 30px 0 12px;
    color: #fff;
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    letter-spacing: 0.06em;
}

.nic-footer-description {
    margin: 0;
    color: #c3cec5;
    font-size: 12px;
    line-height: 2.2;
}

.nic-footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nic-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.nic-footer-column .nic-footer-heading,
.nic-footer-contact-info .nic-footer-heading {
    margin-bottom: 4px;
}

.nic-footer-column a {
    color: #e0e7e1 !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: color 0.25s;
}

.nic-footer-column a:hover {
    color: #b9ce94 !important;
}

.nic-footer-contact-info {
    padding-left: 32px;
    border-left: none;
    position: relative;
}

.nic-footer-contact-info::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    bottom: -15px;
    width: 1px;
    background-color: rgba(255,255,255,0.2);
}

.nic-footer-contact-info p {
    margin: 18px 0;
    color: #c3cec5;
    font-size: 12px;
    line-height: 1.9;
}

.nic-footer-mail-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-decoration: none !important;
}

.nic-footer-mail-link span {
    font-size: 20px;
}

.nic-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 23px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.22);
    color: #aebdb1;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    letter-spacing: 0.08em;
}

/* スマートフォン */
@media (max-width: 768px) {
    .nic-footer-contact {
        padding: 48px 24px;
    }

    .nic-footer-contact-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .nic-footer-contact-copy h2 {
        font-size: 25px;
    }

    .nic-footer-contact-copy p {
        font-size: 12px;
    }

    .nic-footer-contact-action {
        flex-basis: auto;
        width: 100%;
    }

    .nic-footer-main {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 48px 25px 35px;
    }

    .nic-footer-logo {
        font-size: 48px;
    }

    .nic-footer-tagline {
        margin-top: 23px;
    }

    .nic-footer-links {
        gap: 20px;
    }

    .nic-footer-contact-info {
        padding: 0;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding-top: 28px;
    }

    .nic-footer-bottom {
        flex-direction: column;
        gap: 8px;
        margin: 0 25px;
        padding: 20px 0 25px;
        font-size: 9px;
    }
}

/* お問い合わせエリア：胡蝶蘭の背景画像 */
.nic-footer-contact {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.62) 55%,
            rgba(255, 255, 255, 0.12) 100%
        ),
        url("https://nic-hoken.com/wp-content/uploads/2026/10/kochoran01.png") center center / cover no-repeat !important;
    min-height: 300px;
}

/* お問い合わせエリア：文章とボタンを横並びに */
.nic-footer-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nic-footer-contact-copy {
    flex: 1;
}

.nic-footer-contact-action {
    flex: 0 0 auto;
    margin-left: 20px;
}

.nic-footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    font-size: 14px;
    white-space: nowrap;
}

/* スマートフォンでは縦並びに */
@media screen and (max-width: 767px) {
    .nic-footer-contact-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nic-footer-contact-action {
        margin-left: 0;
    }
}

/* フッター内の日本語を明朝体に統一 */
.site-footer,
.nic-footer-contact {
    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        "MS PMincho",
        serif;
}

/* ========================================
   N.I.C NEWS — 新着情報
======================================== */

.nic-news {
    background: #f7f7f2;
    color: #263d31;
    padding: 48px 6% 42px;
}

.nic-news-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.nic-news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.nic-news-title > span {
    display: block;
    color: #74856e;
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 5px;
}

.nic-news-title h2 {
    color: #263d31;
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin: 0;
}

.nic-news-viewall {
    color: #526b53;
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 0.04em;
    padding-bottom: 5px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nic-news-viewall span {
    margin-left: 5px;
    color: #81946f;
}

.nic-news-viewall:hover {
    color: #8a9b5d;
}

.nic-news-list {
    border-top: 1px solid #cbd2c5;
}

.nic-news-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 19px 5px;
    border-bottom: 1px solid #dfe3da;
    color: #263d31;
    text-decoration: none;
    transition: background-color 0.25s ease;
}

.nic-news-item:hover {
    background-color: rgba(220, 227, 213, 0.35);
}

.nic-news-item time {
    flex: 0 0 100px;
    color: #758276;
    font-family: Georgia, serif;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.nic-news-item-title {
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
}

.nic-news-arrow {
    flex: 0 0 auto;
    color: #849576;
    font-size: 14px;
    transition: transform 0.25s ease;
}

.nic-news-item:hover .nic-news-arrow {
    transform: translate(3px, -2px);
}

.nic-news-empty {
    margin: 0;
    padding: 22px 5px;
    border-bottom: 1px solid #dfe3da;
    color: #758276;
    font-size: 13px;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
    .nic-news {
        padding: 34px 6% 30px;
    }

    .nic-news-header {
        margin-bottom: 16px;
    }

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

    .nic-news-viewall {
        font-size: 11px;
    }

    .nic-news-item {
        gap: 12px;
        padding: 15px 2px;
    }

    .nic-news-item time {
        flex-basis: 82px;
        font-size: 11px;
    }

    .nic-news-item-title {
        font-size: 13px;
        line-height: 1.6;
    }

    .nic-news-arrow {
        font-size: 12px;
    }
}

