/*
 * contents/news/20220707_news_1.html、contents/news/20221019_news_1.html、contents/news/20221130_news_1.html などのページ固有のスタイル（custom.css・site.css の後に読み込む）。
 * Tailwind のユーティリティクラス（px-4、lg:grid 等）は定義していないので、HTML に書いても効かない。
 * 新しい見た目が必要なときは、このファイルにクラスを追加して HTML から使うこと。
 *
 * ブレークポイント: sm 640px / md 768px / lg 1024px / xl 1280px / 2xl 1536px
 */

/* ================================================================ ページ全体（body） */
.news-article-page { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: #ffffff; }

/* ================================================================ news-article-hero（電子帳簿保存法・インボイス制度に対応するための法令対応コンサ） */
.news-article-hero { padding-bottom: 2rem; padding-top: 6rem; }
.news-article-hero-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.news-article-hero-container { margin-left: auto; margin-right: auto; max-width: 56rem; }
.news-article-hero-meta {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.news-article-hero-date {
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: #6b7280;
}
.news-article-hero-title {
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 900;
    line-height: 1.25;
    color: #111827;
}
.news-article-hero-lead { font-size: 1rem; line-height: 1.625; color: #4b5563; }
@media (min-width: 640px) {
    .news-article-hero-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .news-article-hero-title { font-size: 2.25rem; line-height: 2.5rem; }
    .news-article-hero-lead { font-size: 1.125rem; line-height: 1.75rem; }
}
@media (min-width: 768px) {
    .news-article-hero-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .news-article-hero { padding-bottom: 3rem; padding-top: 8rem; }
    .news-article-hero-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .news-article-hero-title { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1280px) {
    .news-article-hero-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .news-article-hero-inner { max-width: 1536px; }
}

/* ================================================================ news-article-breadcrumb */
.news-article-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #6b7280;
}
.news-article-breadcrumb-link {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.news-article-breadcrumb-separator { margin-left: 0.5rem; margin-right: 0.5rem; }
.news-article-breadcrumb-current { color: #374151; }

/* ================================================================ news-article */
.news-article-content { padding-bottom: 4rem; padding-top: 1rem; }
.news-article-content-inner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.news-article-content-container { margin-left: auto; margin-right: auto; max-width: 56rem; }
.news-article-content-image { margin-bottom: 1.5rem; }
.news-article-content-body { padding: 1.5rem; }
.news-article-footer {
    margin-top: 2.5rem;
    border-top-width: 1px;
    padding-top: 2rem;
    border-color: #e5e7eb;
}
.news-article-footer-utility { display: flex; align-items: center; gap: 0.75rem; }
.news-article-cta-panel { padding: 1.25rem; }
.news-article-cta-grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: flex-start;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .news-article-content { padding-top: 1.25rem; }
    .news-article-content-inner { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; }
    .news-article-content-body { padding: 2rem; }
    .news-article-cta-panel { padding: 1.5rem; }
}
@media (min-width: 768px) {
    .news-article-content-inner { max-width: 768px; }
}
@media (min-width: 1024px) {
    .news-article-content { padding-bottom: 6rem; padding-top: 2rem; }
    .news-article-content-inner { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; }
    .news-article-content-image { margin-bottom: 2rem; }
    .news-article-content-body { padding: 3rem; }
    .news-article-cta-grid { grid-template-columns: 1.05fr .95fr; gap: 1.5rem; }
}
@media (min-width: 1280px) {
    .news-article-content-inner { max-width: 1280px; }
}
@media (min-width: 1536px) {
    .news-article-content-inner { max-width: 1536px; }
}

/* ================================================================ news-article-archive-notice */
.news-article-archive-notice {
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    border-left-width: 4px;
    padding: 1rem;
    border-color: #3b82f6;
    background-color: #eff6ff;
}
.news-article-archive-notice-title {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 700;
    color: #111827;
}
.news-article-archive-notice-text { font-size: 0.875rem; line-height: 1.625; color: #374151; }
.news-article-archive-notice-link {
    margin-left: 0.25rem;
    font-weight: 700;
    text-decoration-line: underline;
    text-underline-offset: 2px;
}
@media (min-width: 640px) {
    .news-article-archive-notice { padding: 1.25rem; }
}

/* ================================================================ news-article-demo-form */
.news-article-demo-form > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; margin-bottom: 0; }
.news-article-demo-form { color: #111827; }
.news-article-demo-form-input { background-color: #ffffff; color: #111827; }
.news-article-demo-form-input::placeholder { color: #6b7280; }
.news-article-demo-form-select { background-color: #ffffff; color: #111827; }
.news-article-demo-form-button { width: 100%; }

/* ================================================================ news-article-prose */
.news-article-prose-centered-image { margin-left: auto; margin-right: auto; }
.news-article-prose-caption { text-align: center; }
.news-article-prose-image { border-width: 1px; }
.news-article-prose-row { margin-top: 1rem; margin-bottom: 1rem; }
.news-article-prose-col { margin-bottom: 0.75rem; }
.news-article-prose-col-image { border-radius: 0.25rem; }
