/*
Theme Name: lppomyano Tailwind
Theme URI: https://lppomyano.com/
Author: lppomyano
Description: Custom classic WordPress theme for importing a Tailwind-based site.
Version: 0.1.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: lppomyano-tailwind
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@700&display=swap');

/* ==========================================================================
   LPPOM-YANO Halal Association — Theme Custom Styles
   Tailwindで表現できない（あるいは表現が冗長になる）スタイルのみを記述。
   ========================================================================== */

/* ── ベース ── */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #555;
    line-height: 1.7;
    font-feature-settings: "palt";
    font-weight: 400;
}
h1, h2, h3, h4, .serif { font-family: 'Noto Serif JP', serif; }
ul { list-style: none; }
a { transition: all 0.3s ease; }
a:hover { text-decoration: underline; }
img { display: block; }

/* ── ヘッダ ── */
.site-header {
    height: 80px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* ロゴ */
.logo-text {
    margin: 0;
}
.logo-text a,
.logo-text a:hover { text-decoration: none; }
.logo-image {
    width: auto;
    height: 68px;
    max-width: 260px;
    object-fit: contain;
    margin-top: 6px;
}
.logo-line1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.logo-line2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 0.65rem;
    color: #888;
    letter-spacing: 0.04em;
}

/* グローバルナビ */
.main-nav ul { display: flex; gap: 28px; align-items: center; }
.main-nav ul li a {
    font-size: 0.9rem; font-weight: 500; color: #444;
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.main-nav ul li a:hover { color: #213e88; }

/* ハンバーガー */
.hamburger-btn {
    display: none; align-items: center; gap: 8px; cursor: pointer;
    padding: 8px 14px; border: 1px solid #d0d0d0; border-radius: 4px;
    font-size: 0.85rem; color: #444;
}
@media (max-width: 1200px) {
    .main-nav,
    .header-cta.desktop-only { display: none !important; }
    .hamburger-btn { display: flex !important; }
}
@media (max-width: 640px) {
    .logo-image {
        height: 44px;
        max-width: 210px;
    }
}

/* ── メガメニュー ── */
.mega-menu-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.35);
    z-index: 900; opacity: 0; visibility: hidden; pointer-events: none; transition: 0.3s;
}
.mega-menu-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }

.mega-menu {
    position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 1100px;
    background: linear-gradient(135deg, #213e88, #2a4d9e);
    color: white; z-index: 950;
    opacity: 0; visibility: hidden; pointer-events: none; padding: 45px 50px;
    border-radius: 0 0 8px 8px;
}
.mega-menu.active { opacity: 1; visibility: visible; pointer-events: auto; }
.mega-menu a { color: white; }
.mega-row-border { border-bottom: 1px solid rgba(255, 255, 255, 0.15); margin-bottom: 18px; padding-bottom: 22px; }
.mega-top-link { font-size: 1.2rem; font-weight: 700; color: white; display: inline-block; }
.mega-links-inline { display: flex; flex-wrap: wrap; gap: 18px 45px; }
.mega-links-inline a:hover { opacity: 0.8; }

/* ── ヒーロー ── */
.hero {
    height: 680px;
    display: flex; align-items: center; color: white;
    position: relative; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(33, 62, 136, 0.75), rgba(42, 77, 158, 0.55));
}
.hero h2 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 28px; }
.hero h2,
.hero-lead {
    white-space: pre-line;
}
.hero-lead { font-size: 1.05rem; margin-bottom: 36px; opacity: 0.92; }
.hero-copy {
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero-copy.is-changing {
    opacity: 0;
    transform: translateY(8px);
}

/* ── Accreditations ── */
.accreditations {
    background: #f6f8fb;
    padding: 25px 0;
    text-align: center;
    position: relative;
}
.accreditations h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 1.18rem;
    letter-spacing: 0.06em;
    line-height: 1.8;
    color: #213e88;
    margin: 18px auto 20px;
    max-width: 900px;
    position: relative;
}
.accreditations h3::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, #213e88, #0b7f53);
    border-radius: 999px;
}
.accreditation-logos {
    display: flex; align-items: center; justify-content: center;
    gap: 120px; flex-wrap: wrap;
}
.accreditation-logos img { height: 120px; opacity: 0.85; transition: opacity 0.3s; }
.accreditation-logos img:hover { opacity: 1; }

/* ── セクション共通 ── */
.section-tag {
    font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em;
    display: block; margin-bottom: 14px;
    background: linear-gradient(90deg, #213e88, #2a4d9e);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title { font-size: 2rem; margin-bottom: 36px; line-height: 1.35; color: #333; }

/* ── ニュース ── */
.news-item {
    display: flex; padding: 22px 0; border-bottom: 1px solid #e8e8e8;
    align-items: center; gap: 36px;
    color: inherit; text-decoration: none;
}
.news-item:hover { text-decoration: none; }
.news-date { color: #999; font-size: 0.88rem; min-width: 100px; }
.news-labels {
    display: flex; flex-wrap: wrap; gap: 8px;
    min-width: 85px;
}
.news-label {
    padding: 3px 14px; font-size: 0.72rem; color: white;
    min-width: 85px; text-align: center; border-radius: 2px;
}
.news-label.important { background: #c0392b; }
.news-label.training { background: #213e88; }
.news-label.cert { background: #0b4a19; }

/* ── ミッション ── */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.mission-img { position: relative; }
.mission-img img { box-shadow: 4px 4px 16px rgba(33, 62, 136, 0.18), 8px 8px 32px rgba(33, 62, 136, 0.08); filter: saturate(0.5) contrast(1.1); }
.mission-text-card {
    position: absolute; top: 50px; right: -40px;
    background: linear-gradient(135deg, #213e88, #2a4d9e);
    color: white; padding: 28px; max-width: 270px; font-size: 0.82rem;
    z-index: 2; border-radius: 4px;
}
.mission-desc-text { line-height: 1.6; margin-top: 10px; }

/* ── サービス / ハラールカード ── */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
#about .service-grid { grid-template-columns: repeat(3, 1fr); }
#service .service-grid { grid-template-columns: repeat(2, 1fr); gap: 60px; }
.service-card {
    background: white; padding: 28px 24px; border: 1px solid #e8e8e8;
    transition: all 0.3s ease; border-radius: 6px;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(20, 37, 80, 0.08);
}
.service-icon { height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.service-icon img { height: 100% !important; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; white-space: nowrap; color: #333; }
.service-card p { font-size: 0.88rem; color: #666; line-height: 1.7; }

.halal-card {
    background: #f4faf5;
    border: 2px solid #b8d9be;
}
.halal-card:hover {
    border-color: #8cc498;
    box-shadow: 0 8px 24px rgba(11, 74, 25, 0.08);
}

.service-blue-card {
    border: 2px solid #d0d8e8;
    background: white;
    position: relative;
    z-index: 1;
}
.service-blue-card:hover {
    border-color: #a0b4d4;
}

/* サービスセクション背景（薄い青グラデ + tile.pngパターン） */
.service-section {
    background: linear-gradient(180deg, #e8edf6, #dce3f0);
    position: relative;
}
.service-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('assets/images/tile.png');
    background-size: 80px;
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}
.service-section > div {
    position: relative;
    z-index: 1;
}

/* ── ハラール認証 ── */
.halal-certification-section {
    background: linear-gradient(180deg, #dff3ec, #d7eee5);
    position: relative;
}
.halal-certification-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('assets/images/tile.png');
    background-size: 80px;
    background-repeat: repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}
.halal-certification-section > div {
    position: relative;
    z-index: 1;
}
.halal-certification-stack {
    display: grid;
    gap: 42px;
}
.halal-certification-panel {
    background: #fff;
    border: 1px solid #c9d9d1;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(33, 62, 136, 0.08);
    padding: 40px 32px 34px;
}
.halal-certification-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}
.halal-certification-heading img {
    width: 72px;
    height: auto;
    flex: 0 0 auto;
}
.halal-certification-heading h3 {
    font-size: 1.5rem;
    line-height: 1.35;
    color: #333;
    margin-bottom: 4px;
}
.halal-certification-heading p,
.halal-certification-note {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}
.halal-certification-course-grid {
    display: grid;
    grid-template-columns: repeat(var(--halal-course-repeat, 5), 1fr);
    gap: 14px;
}
.halal-certification-course-card {
    background: #f3fbf6;
    border: 2px solid #b8d9be;
    border-radius: 6px;
    min-height: 166px;
    padding: 20px 18px;
    transition: all 0.3s ease;
}
.halal-certification-course-card:hover {
    border-color: #8cc498;
    box-shadow: 0 8px 24px rgba(11, 74, 25, 0.08);
    transform: translateY(-4px);
}
.halal-certification-course-card h4 {
    font-family: 'Noto Sans JP', sans-serif;
    color: #666;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}
.halal-certification-course-card p {
    color: #666;
    font-size: 0.86rem;
    line-height: 1.85;
}
.halal-certification-link {
    color: #213e88;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 24px;
    text-align: right;
}
.halal-certification-support {
    min-height: 265px;
    display: flex;
    flex-direction: column;
}
.halal-certification-support .halal-certification-heading {
    margin-bottom: 22px;
}
.halal-certification-support .halal-certification-link {
    margin-top: auto;
}

/* ── テーブル & オフィス ── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th { width: 240px; padding: 22px; text-align: left; border-bottom: 1px solid #e8e8e8; color: #888; font-weight: 500; font-size: 0.9rem; }
.info-table td { padding: 22px; border-bottom: 1px solid #e8e8e8; color: #444; }
.nowrap { white-space: nowrap; }

.office-card { background: #f2f4f8; padding: 36px; border: 1px solid #e0e3ea; border-radius: 6px; position: relative; z-index: 1; }
.office-header { display: flex; align-items: center; gap: 14px; color: #213e88; }
.office-header h4 { font-family: 'Noto Sans JP', sans-serif; }
.office-map { position: relative; z-index: 2; pointer-events: auto; }
.office-map-frame { display: block; width: 100%; height: 100%; position: relative; z-index: 2; pointer-events: auto; }

/* ── CTA ── */
.cta-section {
    background: #213e88;
    color: white;
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 { font-size: 2.3rem; margin-bottom: 20px; }
.cta-section p { opacity: 0.9; font-size: 1rem; }

/* ── サイトフッタ ── */
.partner-logo-section {
    background: #f4f7fb;
    padding: 34px 0 38px;
}
.partner-logo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.partner-logo {
    width: min(100%, 300px);
    max-height: 56px;
    height: auto;
    display: block;
    object-fit: contain;
}

.site-footer {
    background: #1a1f2e;
    color: #ccc;
    padding: 60px 0 30px;
}
.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 36px;
}
.footer-sitemap h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-sitemap ul { list-style: none; padding: 0; margin: 0; }
.footer-sitemap li { margin-bottom: 8px; }
.footer-sitemap a {
    font-size: 0.82rem; color: #aaa; transition: color 0.2s;
}
.footer-sitemap h4 a {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.footer-sitemap a:hover { color: white; text-decoration: none; }
.footer-sub { padding-left: 14px; margin-top: 6px; }
.footer-sub a { font-size: 0.78rem; color: #888; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
}
.footer-legal-links { display: flex; gap: 30px; }
.footer-legal-links a { font-size: 0.8rem; color: #888; }
.footer-legal-links a:hover { color: white; }
.footer-copy { font-size: 0.78rem; color: #666; }

/* ── ボタン ── */
.btn {
    display: inline-block; padding: 12px 30px; border-radius: 4px;
    font-weight: 500; cursor: pointer; border: none; text-align: center;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #213e88, #2a4d9e);
    color: white;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 62, 136, 0.3);
}
.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ── モバイルオーバーレイ ── */
.mobile-overlay {
    position: fixed; inset: 0; background: white; z-index: 2000;
    transform: translateX(100%); transition: 0.4s;
    padding: 80px 40px 100px; overflow-y: auto;
}
.mobile-overlay.active { transform: translateX(0); }
.mobile-close { position: absolute; top: 30px; right: 30px; font-size: 3rem; cursor: pointer; color: #333; }
.mobile-list { margin-top: 20px; list-style: none; }
.mobile-list > li { border-bottom: 1px solid #eee; }
.mobile-list > li:last-child { border-bottom: none; }
.mobile-list a { font-size: 1.05rem; font-weight: 400; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; color: #444; }
.mobile-arrow { width: 24px; height: auto; transition: transform 0.3s; }
.mobile-has-sub.open .mobile-arrow { transform: rotate(180deg); }
.mobile-sub { display: none; padding-left: 15px; background: #f9f9f9; padding: 10px 20px; margin-bottom: 10px; border-radius: 4px; }
.mobile-sub li { border-bottom: 1px dashed #ddd; }
.mobile-sub li:last-child { border-bottom: none; }
.mobile-sub a { font-size: 0.92rem; padding: 10px 0; }

.inline-sub-link { text-decoration: none !important; }
.inline-sub-link:hover { text-decoration: underline !important; }

/* ── レスポンシブ ── */
@media (max-width: 1100px) {
    .halal-certification-course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { height: 500px; }
    .hero h2 { font-size: 2rem; }
    .mission-grid { grid-template-columns: 1fr; }
    .service-grid,
    #about .service-grid { grid-template-columns: 1fr; }
    .halal-certification-panel { padding: 30px 22px; }
    .halal-certification-heading { align-items: flex-start; gap: 18px; }
    .halal-certification-heading img { width: 58px; }
    .halal-certification-heading h3 { font-size: 1.25rem; }
    .halal-certification-course-grid { grid-template-columns: 1fr; }
    .halal-certification-course-card { min-height: auto; }
    .partner-logo-section { padding: 28px 0 32px; }
    .partner-logo { width: min(100%, 260px); }
    .footer-sitemap { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .accreditation-logos { gap: 30px; }
    .accreditation-logos img { height: 40px; }
}

/* Sub pages */
.subpage-main {
    background: #fff;
}

.subpage-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(33, 62, 136, 0.08) 0, rgba(33, 62, 136, 0) 30%),
        linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
    border-bottom: 1px solid #edf1f6;
    overflow: hidden;
    padding: 30px 0 36px;
    margin-bottom: 30px;
    position: relative;
}

.subpage-hero::before {
    background: linear-gradient(180deg, rgba(11, 127, 103, 0.16), rgba(33, 62, 136, 0.04));
    border-radius: 999px;
    content: "";
    height: 140px;
    position: absolute;
    right: max(24px, calc((100vw - 1100px) / 2));
    top: -70px;
    width: 140px;
}

.subpage-hero .section-tag {
    align-items: center;
    background: none;
    color: #213e88;
    display: inline-flex;
    font-size: 0.78rem;
    gap: 12px;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
    -webkit-text-fill-color: currentColor;
}

.subpage-hero .section-tag::before {
    background: #213e88;
    content: "";
    height: 1px;
    width: 34px;
}

.subpage-hero .section-title {
    display: block;
    color: #242a31;
    font-size: clamp(1.7rem, 2.7vw, 2.25rem);
    letter-spacing: 0.015em;
    line-height: 1.22;
    margin-bottom: 0;
    max-width: 860px;
    padding: 0;
    text-wrap: balance;
}

.subpage-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 18px;
    max-width: 760px;
}

.subpage-content {
    background: #fff;
    /*border: 1px solid #e8e8e8;*/
    /*border-radius: 6px;*/
    color: #444;
    font-size: 1rem;
    line-height: 1.9;
    padding: 30px 48px 48px 48px;
}

.subpage-content > *:first-child {
    margin-top: 0;
}

.subpage-content > *:last-child {
    margin-bottom: 0;
}

.subpage-content h2,
.subpage-content h3,
.subpage-content h4 {
    color: #333;
    font-weight: 700;
    line-height: 1.45;
    margin: 2.2em 0 0.8em;
}

.subpage-content h2 {
    border-left: 4px solid #213e88;
    font-size: 1.6rem;
    padding-left: 16px;
}

.subpage-content h3 {
    font-size: 1.25rem;
}

.subpage-content p,
.subpage-content ul,
.subpage-content ol,
.subpage-content table,
.subpage-content figure {
    margin-bottom: 1.35em;
}

.subpage-content a {
    color: #213e88;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.subpage-content ul,
.subpage-content ol {
    padding-left: 1.4em;
}

.subpage-content ul {
    list-style: disc;
}

.subpage-content ol {
    list-style: decimal;
}

.subpage-content ul ul {
    list-style: circle;
}

.subpage-content ol ol,
.subpage-content ul ol {
    list-style: lower-alpha;
}

.subpage-content li + li {
    margin-top: 0.45em;
}

.subpage-content img {
    border-radius: 6px;
}

.subpage-content table {
    border-collapse: collapse;
    width: 100%;
}

.subpage-content th,
.subpage-content td {
    border-bottom: 1px solid #e8e8e8;
    padding: 16px;
    text-align: left;
    vertical-align: top;
}

.subpage-content th {
    background: #f6f8fb;
    color: #555;
    font-weight: 700;
}

.subpage-list {
    border-top: 1px solid #e8e8e8;
}

.subpage-list-item {
    display: grid;
    gap: 16px;
    grid-template-columns: 120px 1fr;
    padding: 28px 0;
    border-bottom: 1px solid #e8e8e8;
}

.subpage-list-item h2 {
    color: #333;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.subpage-list-item h2 a {
    color: inherit;
}

.subpage-list-item h2 a:hover {
    color: #213e88;
}

.subpage-excerpt {
    color: #666;
    grid-column: 2;
    line-height: 1.8;
}

.subpage-excerpt p {
    margin: 0;
}

.subpage-pagination {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 40px;
}

.subpage-pagination a {
    color: #213e88;
    font-size: 0.9rem;
    font-weight: 700;
}

.subpage-empty,
.subpage-not-found p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

.subpage-not-found .section-title {
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 48px 0 36px;
    }

    .subpage-hero .section-title {
        font-size: clamp(1.45rem, 6.8vw, 1.9rem);
    }

    .subpage-content {
        padding: 28px 22px;
    }

    .subpage-content h2 {
        font-size: 1.35rem;
    }

    .subpage-list-item {
        display: block;
    }

    .subpage-list-item h2 {
        margin-top: 8px;
    }

    .subpage-excerpt {
        margin-top: 12px;
    }
}

/* =========================================
   Snow Monkey Forms - 必須・任意の自動バッジ表示
========================================= */

/* ① 必須項目のバッジ（中に required を持つ場合） */
.smf-item:has([data-validations~="required"]) .smf-item__label__text::after {
    content: "必須";
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;          /* 左側の余白 */
    padding: 4px 8px;           /* バッジの内側余白 */
    background-color: #dc2626;  /* 背景色（赤） */
    color: #ffffff;             /* 文字色（白） */
    font-size: 12px;            /* 文字サイズ */
    font-weight: bold;          /* 太字 */
    border-radius: 4px;         /* 角の丸み */
    line-height: 1;
}

/*!* ② 任意項目のバッジ（中に required を持たない場合） *!*/
/*.smf-item:not(:has([data-validations~="required"])) .smf-item__label__text::after {*/
/*    content: "任意";*/
/*    display: inline-block;*/
/*    vertical-align: middle;*/
/*    margin-left: 10px;          !* 左側の余白 *!*/
/*    padding: 4px 8px;           !* バッジの内側余白 *!*/
/*    background-color: #e5e7eb;  !* 背景色（明るいグレー） *!*/
/*    color: #4b5563;             !* 文字色（濃いグレー） *!*/
/*    font-size: 12px;            !* 文字サイズ *!*/
/*    font-weight: bold;          !* 太字 *!*/
/*    border-radius: 4px;         !* 角の丸み *!*/
/*    line-height: 1;*/
/*}*/

.faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.faq-category-link {
    border: 1px solid #d8e0ee;
    border-radius: 999px;
    color: #213e88;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    padding: 12px 18px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-category-link:hover,
.faq-category-link.is-active {
    background: #213e88;
    border-color: #213e88;
    color: #fff;
    text-decoration: none;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(20, 41, 76, 0.06);
    padding: 28px;
}

.faq-item-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.faq-item-categories span {
    background: #eef4fb;
    border-radius: 999px;
    color: #213e88;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
}

.faq-question {
    align-items: flex-start;
    color: #222;
    display: flex;
    font-size: 1.18rem;
    font-weight: 700;
    gap: 13px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.faq-answer {
    align-items: flex-start;
    border-top: 1px solid #edf1f6;
    color: #555;
    display: flex;
    gap: 13px;
    line-height: 1.9;
    padding-top: 18px;
}

.faq-mark {
    align-items: center;
    background: #213e88;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 32px;
    font-size: 0.95rem;
    font-weight: 700;
    height: 32px;
    justify-content: center;
    line-height: 1;
}

.faq-answer .faq-mark {
    background: #0b7f67;
}

.faq-answer-body > *:first-child {
    margin-top: 0;
}

.faq-answer-body > *:last-child {
    margin-bottom: 0;
}

.faq-back-link {
    margin-top: 28px;
}

.faq-back-link a {
    color: #213e88;
    font-weight: 700;
}

@media (max-width: 768px) {
    .faq-category-nav {
        gap: 8px;
        margin-bottom: 26px;
    }

    .faq-category-link {
        font-size: 0.84rem;
        padding: 10px 14px;
    }

    .faq-item {
        border-radius: 14px;
        padding: 22px 18px;
    }

    .faq-question,
    .faq-answer {
        gap: 10px;
    }

    .faq-mark {
        flex-basis: 28px;
        font-size: 0.84rem;
        height: 28px;
    }
}





/* ──────────────
	act - kage
────────────── */
.Box-Waku{
	position: relative;
}
.Box-wakuTitle{
	position: absolute;
	left:10px;
	transform: translate(0, -100%);
	padding: 0 15px;
	background-color: #009240;
	color: #ffffff;
}
.Box-downTriangle{
	position: relative;
}
.Box-downTriangle::after{
	content: '';
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-top: 20px solid #009240;
}
