.zen-kaku {
  font-family: "Zen Kaku Gothic New", serif;
  font-style: normal;
}
.noto-sans {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.dm-sans {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
@media only screen and (max-width: 1139px) {/*タブレット*/
}

@media only screen and (min-width:1140px) {/*ＰＣ*/
}
body {
	font-family: Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 16px;
	line-height: 180%;
	font-weight: normal;
	letter-spacing: 1px;
	padding: 0px;
	margin : 0px;
	letter-spacing: 0.05em;
}
form {
	margin: 0px;
	padding: 0px;
}
td {
	text-align:left;
	vertical-align:top;
}
img {
	border: none;
}
table {
	border: none;
	letter-spacing: 1px;
}
.space0 {
	margin: 0px;
	padding: 0px;
	text-align:left;
}
.yetxt{
	background-color: #FBFA8B;
}
.clear {
	margin: 0px;
	padding: 0px;
	clear:both;
}
/**/
h1{
	font-size:60px;
}

/* ===== ページ内アンカージャンプ全般 ===== */
html { scroll-behavior: smooth; }

/* about.astro: fixed header と被らないように各セクションへスクロール余白 */
#message, #point, #faq, #gaiyo {
    scroll-margin-top: 120px;
}
@media (max-width: 640px) {
    #message, #point, #faq, #gaiyo {
        scroll-margin-top: 80px;
    }
}

/* ===== Scroll spy active state for #leftbtm_nav ===== */
#leftbtm_nav li a {
    transition: color .2s ease;
}
#leftbtm_nav li.is-active a {
    color: #0096a5;
    font-weight: 600;
}
#leftbtm_nav li.is-active a span {
    color: #0096a5;
}

/* ===== Breadcrumb (Breadcrumb.astro) ===== */
.breadcrumb {
    max-width: 1100px;
    margin: 16px auto 0;
    padding: 0 24px;
    font-size: 13px;
    color: #6b7280;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb li {
    display: inline-flex;
    align-items: center;
}
.breadcrumb li + li::before {
    content: '›';
    margin-right: 8px;
    color: #cbd5db;
}
.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #1f3a5f;
    text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
    color: #1f3a5f;
    font-weight: 500;
}

/* ===== Footer (Footer.astro - 白背景・3カードグリッド + 事務所情報) ===== */
.site-footer {
    background: #fff;
    color: #1f3a5f;
    margin-top: 80px;
    padding: 60px 24px 40px;
    text-align: center;
    border-top: 1px solid #e1e5ec;
}
.site-footer > p {
    font-size: 18px;
    margin: 0 0 32px;
    color: #1f3a5f;
    font-weight: 600;
}

/* ----- 3カード (お電話 / フォーム / Zoom) ----- */
.site-footer > ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 48px;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.site-footer > ul > li {
    margin: 0;
}
.site-footer > ul > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #f5f7fa;
    border: 1px solid #e1e5ec;
    padding: 32px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #1f3a5f;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    height: 100%;
    box-sizing: border-box;
}
.site-footer > ul > li > a:hover {
    background: #fff;
    border-color: #0096a5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 30, 50, 0.06);
}
.site-footer > ul > li > a img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin: 0 0 16px;
}
.site-footer > ul > li > a img.footer-ico-zoom {
    width: 50px;
    height: 50px;
}

/* ページトップへ戻るボタン（右下固定） */
/* photo-ichikawa.com のページトップボタンと同デザイン
   (白背景・#ddd細枠・角丸10px・半透明70%、hoverで不透明) */
.pagetop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 10px;
    opacity: .7;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 999;
}
.pagetop svg {
    width: 25px;
    height: 25px;
}
.pagetop:hover {
    opacity: 1;
}
@media (max-width: 640px) {
    .pagetop {
        width: 56px;
        height: 56px;
    }
}
.site-footer > ul > li > a p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.7;
    color: black;
    text-align: center;
}
.site-footer > ul > li > a p:first-of-type {
    font-size: 16px;
    font-weight: 700;
    color: #1f3a5f;
    margin-bottom: 10px;
}

/* ----- 「トップへ戻る」 ----- */
#modoru {
    margin: 0 0 40px;
    text-align: center;
}
#modoru a {
    display: inline-block;
    padding: 10px 28px;
    background: #1f3a5f;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 12px;
    transition: background .2s ease;
}
#modoru a:hover {
    background: #0096a5;
}

/* ----- 事務所ロゴ + 住所等 ----- */
#foot_logo {
    margin: 0 0 16px;
}
#foot_logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: inline-block;
}
.site-footer > p:not(:first-of-type):not(#modoru):not(#foot_logo) {
    margin: 4px 0;
    font-size: 13px;
    color: black;
    font-weight: normal;
}
#f_tel {
    margin: 12px 0 !important;
}
#f_tel a {
    color: #1f3a5f;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    font-family: "DM Sans", "Noto Serif JP", serif;
    letter-spacing: 0.04em;
}
#f_tel a i {
    margin-right: 6px;
    font-size: 18px;
    color: #0096a5;
}

/* ----- ©著作 ----- */
.site-footer .copyright {
    font-style: normal;
    display: block;
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e1e5ec;
    font-size: 11px;
    color: #6b7280;
    letter-spacing: 0.04em;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 40px 16px 28px;
        margin-top: 56px;
    }
    .site-footer > p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    .site-footer > ul {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 32px;
    }
    .site-footer > ul > li > a {
        padding: 22px 18px;
    }
    .site-footer > ul > li > a img {
        width: 28px;
        height: 28px;
        margin-bottom: 10px;
    }
    .site-footer > ul > li > a p {
        font-size: 12px;
    }
    .site-footer > ul > li > a p:first-of-type {
        font-size: 14px;
        margin-bottom: 8px;
    }
    #modoru {
        margin-bottom: 28px;
    }
    #foot_logo img {
        width: 44px;
        height: 44px;
    }
    .site-footer > p:not(:first-of-type):not(#modoru):not(#foot_logo) {
        font-size: 12px;
    }
    #f_tel a {
        font-size: 18px;
    }
    #f_tel a i {
        font-size: 14px;
    }
    .site-footer .copyright {
        font-size: 10px;
        margin-top: 24px;
        padding-top: 18px;
    }
}

@media (max-width: 640px) {
    .breadcrumb {
        padding: 0 16px;
        font-size: 11px;
    }
}

/* ===== Page: Q＆A accordion (<details>) ===== */
.faq-list-accordion {
    margin: 24px 0;
    display: grid;
    gap: 10px;
}
.faq-item-accordion {
    background: #fff;
    border: 1px solid #e1e5ec;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.faq-item-accordion[open] {
    box-shadow: 0 4px 16px rgba(20, 30, 50, 0.06);
}
.faq-item-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 56px 16px 20px;
    font-weight: 600;
    color: #1f3a5f;
    line-height: 1.6;
    position: relative;
    transition: background .2s ease;
}
.faq-item-accordion summary:hover {
    background: #f5f7fa;
}
.faq-item-accordion summary::-webkit-details-marker {
    display: none;
}
.faq-item-accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
    color: #0096a5;
    transition: transform .2s ease;
}
.faq-item-accordion[open] summary::after {
    content: '−';
}
.faq-item-accordion[open] summary {
    border-bottom: 1px solid #e1e5ec;
}
.faq-answer {
    padding: 16px 20px;
    background: #f5f7fa;
}
.faq-answer p {
    margin: 0;
    color: black;
    line-height: 1.9;
}
.faq-answer p + p {
    margin-top: 10px;
}
.faq-link a {
    color: #0096a5;
    font-weight: 600;
    text-decoration: none;
}
.faq-link a:hover {
    text-decoration: underline;
}
.faq-note {
    font-size: 13px;
    color: #6b7280 !important;
}

@media (max-width: 640px) {
    .faq-item-accordion summary {
        font-size: 14px;
        padding: 14px 48px 14px 16px;
    }
    .faq-item-accordion summary::after {
        right: 16px;
    }
    .faq-answer {
        padding: 14px 16px;
    }
    .faq-answer p {
        font-size: 13px;
    }
}

/* ===== Page: Q＆A ===== */
.page-qa, .page-voice {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px;
}
.page-qa h1, .page-voice h1 {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 36px;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1f3a5f;
    font-weight: normal;
}

.faq-list {
    margin-top: 32px;
}
.faq-item {
    border-bottom: 1px solid #e1e5ec;
    padding: 20px 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-q, .faq-a {
    margin: 0;
    padding-left: 44px;
    position: relative;
    line-height: 1.8;
}
.faq-q {
    font-weight: 600;
    color: #1f3a5f;
    margin-bottom: 8px;
    font-size: 16px;
}
.faq-a {
    color: #333;
    font-size: 15px;
}
.faq-mark {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
}
.faq-q .faq-mark { background: #1f3a5f; color: #fff; }
.faq-a .faq-mark { background: #b89554; color: #fff; }

/* ===== Page: お客様の声 ===== */
.voice-list {
    margin: 32px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 24px;
}
.voice-item {
    background: #f5f7fa;
    border-left: 4px solid #b89554;
    padding: 24px 28px;
    border-radius: 0 6px 6px 0;
}
.voice-body {
    margin: 0 0 16px;
    line-height: 1.9;
    color: #2c3e50;
}
.voice-meta {
    margin: 0;
    padding-top: 12px;
    border-top: 1px dashed #cbd5db;
    color: #1f3a5f;
}
.voice-name {
    font-weight: 600;
    margin-right: 12px;
}
.voice-meta small {
    color: #6b7280;
    font-size: 12px;
}
.voice-cta {
    margin-top: 32px;
    padding: 16px;
    background: #f5f7fa;
    text-align: center;
    border-radius: 4px;
}

/* SP: 余白縮小 */
@media (max-width: 640px) {
    .page-qa, .page-voice {
        margin: 20px auto;
        padding: 0 16px;
    }
    .page-qa h1, .page-voice h1 {
        font-size: 24px;
    }
    .faq-q, .faq-a {
        padding-left: 36px;
        font-size: 14px;
    }
    .faq-mark {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }
    .voice-item {
        padding: 18px 20px;
    }
}

/* ===== Page: お客様の声 詳細 (voice/voice01.astro) ===== */
.voice-detail {
    margin: 0;
}
.voice-detail-header {
    padding-bottom: 24px;
    border-bottom: 2px solid #0096a5;
    margin-bottom: 32px;
}
.voice-detail-no {
    font-family: "DM Sans", "Noto Serif JP", serif;
    font-size: 13px;
    color: #0096a5;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
    font-weight: 500;
}
.voice-detail-header h1 {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 26px;
    color: #1f3a5f;
    margin: 0 0 16px;
    line-height: 1.6;
    font-weight: normal;
}
.voice-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    font-size: 13px;
    color: black;
}
.voice-detail-business {
    background: #f5f7fa;
    padding: 4px 12px;
    border-radius: 3px;
    color: #1f3a5f;
}
.voice-detail-company {
    font-weight: 600;
    color: #1f3a5f;
    padding: 4px 0;
}
.voice-detail-figure {
    margin: 0 0 32px;
}
.voice-detail-figure picture,
.voice-detail-figure img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* メインイメージ: 左=情報パネル / 右=写真 の2分割 */
.voice-hero-split {
    margin: 0 0 32px;
    display: grid;
    grid-template-columns: 40% 60%;
    border-radius: 8px;
    overflow: hidden;
    min-height: 360px;
}
.voice-hero-e5ded6 .voice-hero-info {
    background: #e5ded6;
    color: #000;
}
.voice-hero-e5ded6 .voice-hero-url a,
.voice-hero-e5ded6 .voice-hero-linkico { color: #000; filter: none; }
.voice-hero-info {
    background: #0096a5;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    box-sizing: border-box;
}
.voice-hero-company {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
}
.voice-hero-sama {
    font-size: 15px;
    margin-left: 2px;
}
.voice-hero-linkico {
    width: 14px;
    height: 14px;
    margin-left: 6px;
    vertical-align: -1px;
    filter: brightness(0) invert(1);
}
.voice-hero-brand {
    margin: 0 0 16px;
    font-size: 15px;
    letter-spacing: 0.08em;
    opacity: 0.9;
    font-family: "DM Sans", sans-serif;
}
.voice-hero-biz {
    margin: 0 0 16px;
    font-size: 14px;
    opacity: 0.95;
}
.voice-hero-url a {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    word-break: break-all;
}
.voice-hero-img {
    min-width: 0;
}
.voice-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 640px) {
    .voice-hero-split {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .voice-hero-info {
        padding: 28px 20px;
    }
    .voice-hero-company {
        font-size: 20px;
    }
    .voice-hero-img img {
        height: 240px;
    }
}
.voice-detail-section {
    margin: 0 0 36px;
    max-width: 100%;
}
@media (max-width: 640px) {
    .voice-detail-section { max-width: 100%; }
}
.voice-detail-section h2 {
    font-size: 16px;
    color: #1f3a5f;
    margin: 0 0 14px;
    font-weight: bold;
    line-height: 1.5;
}
.voice-detail-section p {
    margin: 0 0 12px;
    line-height: 1.9;
    color: #000;
}
.voice-detail-section ul {
    margin: 0;
    padding-left: 24px;
}
.voice-detail-section ul li {
    margin-bottom: 6px;
    line-height: 1.8;
}
/* 高原税理士からのコメント: 左アイコン + 右本文 */
.voice-comment {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.voice-comment-ico {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: contain;
}
.voice-comment-text {
    flex: 1;
    min-width: 0;
}
@media (max-width: 640px) {
    .voice-comment { gap: 12px; }
    .voice-comment-ico { width: 48px; height: 48px; flex-basis: 48px; }
}

.voice-detail-quote {
    background: #f5f7fa;
    padding: 40px 48px;
    margin: 0;
    border-radius: 6px;
}
.voice-detail-quote p {
    margin: 0;
    line-height: 1.9;
    color: #1f3a5f;
    font-weight: 500;
    font-size: 15px;
}
.voice-detail-back {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e1e5ec;
}
.voice-detail-back a {
    color: #0096a5;
    text-decoration: none;
    font-weight: 600;
}
.voice-detail-back a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .voice-detail-header h1 {
        font-size: 18px;
    }
    .voice-detail-figure picture,
    .voice-detail-figure img {
        height: 200px;
    }
    .voice-detail-section h2 {
        font-size: 16px;
    }
    .voice-detail-quote {
        padding: 16px 18px;
    }
    .voice-detail-quote p {
        font-size: 13px;
    }
}

/* ===== Page: 業務案内 (一覧 + サブページ共通) ===== */
.page-service, .page-service-detail {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 24px;
}
.page-service h1, .page-service-detail h1 {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 36px;
    margin: 0 0 16px;
    font-weight: normal;
}

/* service.astro 一覧カード */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}
.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e1e5ec;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(20, 30, 50, 0.08);
    border-color: transparent;
}
.service-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 25% 30%, rgba(255,255,255,0.12), transparent 50%),
        linear-gradient(135deg, var(--c1, #1f3a5f), var(--c2, #3b6b9c));
}
.service-card-no {
    position: absolute;
    left: 14px;
    bottom: 10px;
    color: rgba(255,255,255,0.95);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.service-card-body {
    padding: 20px 24px 24px;
}
.service-card-body h2 {
    font-size: 18px;
    margin: 0 0 8px;
    color: #1f3a5f;
}
.service-card-lead {
    font-size: 13px;
    color: black;
    line-height: 1.7;
    margin: 0 0 12px;
}
.service-card-items {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 12px;
    color: black;
}
.service-card-items li {
    padding-left: 14px;
    position: relative;
    line-height: 1.7;
}
.service-card-items li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #b89554;
}
.service-card-more {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #1f3a5f;
}

.service-fee {
    margin-top: 56px;
    padding: 24px;
    background: #f5f7fa;
    border-radius: 6px;
}
.service-fee h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    margin: 0 0 8px;
    color: #1f3a5f;
    font-weight: normal;
}

/* サブページ共通 */
.service-hero {
    padding-bottom: 24px;
    border-bottom: 2px solid #1f3a5f;
    margin-bottom: 32px;
}
.service-number {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: #b89554;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
    font-weight: 500;
}
.service-lead {
    font-size: 16px;
    color: black;
    line-height: 1.9;
    margin: 16px 0 0;
}
.page-service-detail section {
    margin-bottom: 40px;
}
.page-service-detail h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    color: #1f3a5f;
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 4px solid #b89554;
    font-weight: normal;
}
.check-list, .service-list, .flow-list {
    padding: 0;
    margin: 0;
}
.check-list {
    list-style: none;
}
.check-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.8;
    border-bottom: 1px dashed #e1e5ec;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 4px;
    color: #b89554;
    font-weight: 700;
}
.service-list {
    list-style: disc;
    padding-left: 24px;
}
.service-list li {
    margin-bottom: 6px;
    line-height: 1.8;
}
.flow-list {
    list-style: none;
    counter-reset: flow;
}
.flow-list li {
    padding: 12px 0 12px 48px;
    position: relative;
    line-height: 1.8;
    border-bottom: 1px solid #e1e5ec;
    counter-increment: flow;
}
.flow-list li:last-child { border-bottom: none; }
.flow-list li::before {
    content: counter(flow, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 12px;
    width: 36px;
    text-align: center;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    color: #b89554;
    font-size: 14px;
}
.service-cta {
    margin-top: 40px;
    padding: 20px 24px;
    background: #f5f7fa;
    border-left: 4px solid #b89554;
    border-radius: 0 6px 6px 0;
}
.service-cta p { margin: 0; line-height: 1.8; }

/* SP */
@media (max-width: 640px) {
    .page-service, .page-service-detail {
        margin: 20px auto;
        padding: 0 16px;
    }
    .page-service h1, .page-service-detail h1 {
        font-size: 24px;
    }
    .service-cards { gap: 16px; }
    .service-card-body { padding: 16px; }
    .page-service-detail h2 { font-size: 18px; }
    .service-hero { padding-bottom: 16px; margin-bottom: 24px; }
    .service-lead { font-size: 14px; }
    .flow-list li { padding-left: 40px; }
}

/* ===== Page: セミナー ===== */
.page-seminar {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 24px;
}
.page-seminar h1 {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 36px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1f3a5f;
    font-weight: normal;
}
.seminar-section { margin-top: 48px; }
.seminar-section h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    color: #1f3a5f;
    margin: 0 0 20px;
    padding-left: 12px;
    border-left: 4px solid #b89554;
    font-weight: normal;
}
.seminar-empty {
    color: #6b7280;
    background: #f5f7fa;
    padding: 16px 20px;
    border-radius: 6px;
}

/* 今後開催 */
.seminar-upcoming {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 20px;
}
.seminar-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e1e5ec;
    border-radius: 8px;
    border-left: 4px solid #b89554;
}
.seminar-date {
    border-right: 1px solid #e1e5ec;
    padding-right: 16px;
}
.seminar-date time {
    display: block;
    font-family: "DM Sans", "Noto Serif JP", serif;
    font-size: 18px;
    color: #1f3a5f;
    font-weight: 600;
    line-height: 1.4;
}
.seminar-time {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}
.seminar-body h3 {
    font-size: 18px;
    color: #1f3a5f;
    margin: 0 0 12px;
}
.seminar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: black;
    margin: 0 0 12px;
}
.seminar-meta strong {
    color: #1f3a5f;
    margin-right: 4px;
}
.seminar-lead {
    line-height: 1.8;
    margin: 0 0 12px;
}
.seminar-apply {
    margin: 0;
    font-weight: 600;
}

/* 過去アーカイブ */
.seminar-past {
    list-style: none;
    padding: 0;
    margin: 0;
}
.seminar-past li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e1e5ec;
    flex-wrap: wrap;
}
.seminar-past time {
    color: #6b7280;
    font-size: 13px;
    min-width: 110px;
}
.seminar-past-title {
    color: #1f3a5f;
    font-weight: 500;
    flex: 1 1 auto;
}
.seminar-past small {
    color: #6b7280;
    font-size: 12px;
}

.seminar-cta {
    margin-top: 48px;
    padding: 20px 24px;
    background: #f5f7fa;
    border-left: 4px solid #b89554;
    border-radius: 0 6px 6px 0;
}
.seminar-cta p { margin: 0; line-height: 1.8; }

@media (max-width: 640px) {
    .page-seminar {
        margin: 20px auto;
        padding: 0 16px;
    }
    .page-seminar h1 { font-size: 24px; }
    .seminar-section h2 { font-size: 18px; }
    .seminar-card {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 12px;
    }
    .seminar-date {
        border-right: none;
        border-bottom: 1px solid #e1e5ec;
        padding-right: 0;
        padding-bottom: 12px;
    }
    .seminar-meta { gap: 10px; }
    .seminar-past li { gap: 8px; }
    .seminar-past time { min-width: auto; }
}

.bk_whtxt{
    background-color: white;
}
.mplus { font-family: "M PLUS Rounded 1c"; }
#foot_logo img{
    width: 50px;
    height: auto;
}

/* ===== Page: About 事務所概要 table ===== */
.gaiyo-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
}
.gaiyo-table th,
.gaiyo-table td {
    border-bottom: 1px solid #e1e5ec;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}
.gaiyo-table th {
    width: 26%;
    white-space: nowrap;
    font-weight: 600;
    background: #e6f4f5;
    color: #00707c;
}
.gaiyo-table td {
    color: black;
}
.gaiyo-table a {
    color: #0096a5;
    text-decoration: underline;
}
/* ===== Page: Seminar table ===== */
.seminar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.8;
}
.seminar-table th,
.seminar-table td {
    border-bottom: 1px solid #e1e5ec;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}
.seminar-table th {
    width: 26%;
    white-space: nowrap;
    font-weight: 600;
    background: #e6f4f5;
    color: #00707c;
}
.seminar-table td {
    color: black;
}
.seminar-hr {
    border: 0;
    border-top: 1px dashed #cbd5db;
    margin: 28px 0;
}

/* セミナー: 個別相談会ボックス（ドロップシャドウ・余白多め） */
.consult-box {
    margin: 60px 0 20px;
    padding: 48px 48px 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(20, 30, 50, 0.12);
}
.consult-box > h3:first-child {
    margin-top: 0;
}
@media only screen and (max-width: 767px) {
    .consult-box {
        margin: 40px 0 16px;
        padding: 28px 20px 24px;
    }
}

/* セミナー: テーマ見出し・特長文 */
.seminar-theme {
    margin: 24px 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: #1f3a5f;
    line-height: 1.6;
}
.seminar-feature {
    margin: 0 0 4px;
    color: black;
    line-height: 1.8;
}

/* セミナー: 3列テーブル（右端に申込みボタン） */
.seminar-table-3col th {
    width: 22%;
}
.seminar-table td.seminar-apply-cell {
    width: 200px;
    text-align: center;
    vertical-align: top;
    background: #fff;
}
.seminar-apply-btn {
    display: inline-block;
    padding: 12px 20px;
    background: #0096a5;
    color: #fff !important;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease;
}
.seminar-apply-btn:hover {
    background: #00c4d8;
}

@media only screen and (max-width: 767px) {
    .seminar-table,
    .seminar-table tbody,
    .seminar-table tr,
    .seminar-table th,
    .seminar-table td {
        display: block;
        width: 100%;
    }
    .seminar-table th {
        border-bottom: none;
        padding-bottom: 4px;
        white-space: normal;
    }
    .seminar-table td {
        padding-top: 4px;
    }
    .seminar-apply-cell {
        width: 100%;
        padding: 16px;
        border-bottom: none;
    }
    .seminar-apply-btn {
        display: block;
        width: 100%;
    }
}

/* ===== Page: 相続 sozoku2list（dt/dd 50%の2列・SVG小さめ） ===== */
.sozoku2list > dl {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 0;
    padding: 0;
}
.sozoku2list > dl > dt,
.sozoku2list > dl > dd {
    flex: 1 1 calc(50% - 12px);
    width: calc(50% - 12px);
    box-sizing: border-box;
    margin: 0;
}
.sozoku2list > dl > dt > div,
.sozoku2list > dl > dd > div {
    height: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e1e5ec;
    border-radius: 8px;
    padding: 24px;
}
.sozoku2list > dl > dt h3,
.sozoku2list > dl > dd h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1f3a5f;
    text-align: center;
}
.sozoku2list > dl > dt > div > p,
.sozoku2list > dl > dd > div > p {
    text-align: center;
    background: #f2f3f5;
    padding: 10px 12px;
    border-radius: 4px;
}
.sozoku2list > dl ul {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}
.sozoku2list > dl ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    line-height: 1.6;
}
.sozoku2list > dl ul li img,
.sozoku2list > dl ul li svg {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    object-fit: contain;
}
@media only screen and (max-width: 767px) {
    .sozoku2list > dl > dt,
    .sozoku2list > dl > dd {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* ===== Page: 相続 相続税・贈与税の基礎（50%の2列・表組） ===== */
.kiso2col {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0;
}
.kiso2col .kiso-col {
    flex: 1 1 calc(50% - 12px);
    width: calc(50% - 12px);
    box-sizing: border-box;
}
.kiso2col .kiso-col h4 {
    margin: 0 0 12px;
    padding: 8px 16px;
    background: #0096a5;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
}
.kiso-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.7;
}
.kiso-table th,
.kiso-table td {
    border-bottom: 1px solid #e1e5ec;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}
.kiso-table th {
    width: 34%;
    white-space: nowrap;
    font-weight: 600;
    background: #e6f4f5;
    color: #00707c;
}
.kiso-table td {
    color: black;
}
@media only screen and (max-width: 767px) {
    .kiso2col .kiso-col {
        flex: 1 1 100%;
        width: 100%;
    }
    .kiso-table th {
        width: 38%;
        white-space: normal;
    }
}

/* ===== Page: 相続 税率表 ===== */
.kiso-caption {
    margin: 36px 0 12px;
    font-size: 16px;
    font-weight: 600;
    color: #00707c;
}
.zeiritsu-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.7;
}
.zeiritsu-table th,
.zeiritsu-table td {
    border: 1px solid #e1e5ec;
    padding: 12px 14px;
    text-align: left;
}
.zeiritsu-table thead th {
    background: #0096a5;
    color: #fff;
    font-weight: 600;
    text-align: center;
}
.zeiritsu-table tbody th,
.zeiritsu-table tbody td {
    color: black;
}
.zeiritsu-table tbody tr:nth-child(even) {
    background: #f5f7fa;
}

/* ===== Blog: 一覧見出し (カテゴリ/アーカイブ等) ===== */
.post-index h1 {
    font-size: 20px;
    line-height: 1.5;
}

/* ===== Blog: 記事詳細 (post-detail) ===== */
.post-detail-header h1 {
    font-size: 24px;
    margin: 0 0 16px;
    line-height: 1.5;
}
.post-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    margin: 0 0 24px;
    font-size: 13px;
    border-top: 1px solid #e1e5ec;
    border-bottom: 1px solid #e1e5ec;
}
.post-detail-body h2 {
    font-size: 18px;
}

/* ヒーロー内の限定バッジ (相続「顧問先限定」等) */
.hero-badge {
    display: inline-block;
    background: #018871;
    color: #fff;
    padding: 6px 18px;
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.4;
    border-radius: 6px;
}

/* 文中の網掛け強調 (クリーム色) */
.hl-cream {
    background: #fff8e1;
    padding: 1px 8px;
    border-radius: 3px;
}

/* ===== Page: お問い合わせ (contact) ===== */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0 48px;
}
.contact-method {
    flex: 1 1 260px;
    background: #f5f7fa;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}
.contact-method h4 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #1f3a5f;
}
.contact-method p {
    margin: 0 0 4px;
}
.contact-tel {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .06em;
}
.contact-tel a {
    color: #1f3a5f;
    text-decoration: none;
}

/* 送信失敗時のエラー表示 (contact.php が ?error=1 で戻したときだけ出る) */
.form-error {
    max-width: 720px;
    margin: 24px 0 0;
    padding: 16px 20px;
    border: 1px solid #d9534f;
    border-left-width: 5px;
    border-radius: 4px;
    background: #fdf3f2;
}
.form-error p {
    margin: 0;
    color: #a33;
    line-height: 180%;
}
.form-error a { color: #a33; }

.contact-form {
    max-width: 720px;
    margin: 24px 0 0;
}
.contact-form .form-row {
    margin: 0 0 22px;
}
.contact-form label {
    display: block;
    margin: 0 0 6px;
    font-weight: 600;
    font-size: 15px;
}
.contact-form .required,
.contact-form .optional {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
}
.contact-form .required {
    background: #c0392b;
    color: #fff;
}
.contact-form .optional {
    background: #aab4c0;
    color: #fff;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ccd4de;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0096a5;
}
.contact-form ::placeholder {
    color: #9aa5b1;
}
/* honeypot: 視覚・スクリーンリーダー双方から隠す */
.contact-form .form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-form .form-consent label {
    font-weight: normal;
    font-size: 14px;
}
.contact-form .form-consent input {
    margin-right: 8px;
}
.contact-form .form-submit {
    margin-top: 32px;
    text-align: center;
}
.contact-form button[type="submit"] {
    display: inline-block;
    min-width: 260px;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    background: #0096a5;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.contact-form button[type="submit"]:hover:not(:disabled) {
    background: #00707c;
    transform: translateY(-1px);
}
.contact-form button[type="submit"]:disabled {
    background: #aab4c0;
    cursor: not-allowed;
}
.contact-note {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7684;
}
.zeiritsu-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.7;
}
.zeiritsu-note a {
    color: #0096a5;
}

.gaiyo-map {
    margin-top: 24px;
}
.gaiyo-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}
@media only screen and (max-width: 767px) {
    .gaiyo-map iframe {
        height: 320px;
    }
}

@media only screen and (max-width: 767px) {
    .gaiyo-table,
    .gaiyo-table tbody,
    .gaiyo-table tr,
    .gaiyo-table th,
    .gaiyo-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .gaiyo-table th {
        border-bottom: none;
        padding-bottom: 4px;
        white-space: normal;
    }
    .gaiyo-table td {
        padding-top: 4px;
    }
}

/* ===== Breadcrumb (nav>ol 構造。区切り記号はCSSで描画) ===== */
.pankz ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.pankz li {
    display: flex;
    align-items: center;
}
.pankz li + li::before {
    content: '》';
    margin: 0 0.6em;
}