/* トップページ専用スタイル */
#content{
    background-color: #f8f8f8;
    padding: 0;
    width: 100% !important;
    float: none !important;
}

#content .wrap {
    max-width: none;
    padding: 0 8px;
    margin: 0 auto;
}

#content .main-inner {
    margin: 0;
    padding: 0;
}

#main {
    width: 100% !important;
    float: none !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* height: 100vh; */
    height: 60vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*     background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)); */
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-title-sub {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-button.primary {
    background-color: #FFE600;
    color: #000;
}

.hero-button.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* 共通セクションスタイル */
section {
    padding: 80px 0;
    background-color: #fff;
}

/* section:nth-child(even) {
    background-color: #f8f9fa;
} */

section .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通見出しスタイル */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 50px;
    padding: 0;
    color: #000;
    line-height: 1.4;
    border-bottom: hidden;
}

/* 共通カードスタイル */
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* 共通グリッドスタイル */
.grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 共通メタ情報スタイル */
.meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

/* 共通タイトルスタイル */
.title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 16px;
    line-height: 1.4;
}

.title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.title a:hover {
    color: #2196F3;
}

/* 共通抜粋スタイル */
.excerpt {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* 共通もっと見るボタンスタイル */
.more-link {
    text-align: center;
    margin-top: 40px;
}

.more-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.more-button:hover {
    background-color: #000;
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    section .wrap {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .title {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }
}

/* メインビジュアルエリア */
#main_visual {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: transparent;
}

#main_visual .wrap {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15%;
    text-align: left;
    width: auto;
    margin: 0;
}

#main_visual h2 {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: left;
}

#main_visual p {
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff;
    text-align: left;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: none;
} 
.home #content{
    padding: 0;
}
.home .front-main-cont .tri-border span {
    display: none;
}
.home .front-main-cont .tri-border span
.home .front-main-cont .front-cont-header{
    all: unset;
    padding: 16px 0 24px;
    background-color: #e5e7eb;
    color: #bbbbbb;
    text-align: center;
    font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", YuGothic, Verdana, "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.home .front-main-cont .front-cont-header h2 {
    color: #000000;
}

/* お役立ち情報セクション */
.useful-info {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.useful-info .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.useful-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.useful-info-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.useful-info-card:hover {
    transform: translateY(-5px);
}

.useful-info-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 アスペクト比 */
    overflow: hidden;
}

.useful-info-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.useful-info-content {
    padding: 24px;
}

.useful-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.useful-info-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.useful-info-title a:hover {
    color: #2196F3;
}

.useful-info-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .useful-info {
        padding: 60px 0;
    }

    .useful-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .useful-info-title {
        font-size: 1.25rem;
    }
}

/* カテゴリーセクション */
.categories-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.categories-section .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: #2196F3;
}

.category-card:hover .category-title,
.category-card:hover .post-count {
    color: #fff;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    text-align: center;
    transition: color 0.3s ease;
}

.post-count {
    color: #666;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-section {
        padding: 40px 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card {
        padding: 20px;
    }
}

/* ウェビナーセクション */
.webinar-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.webinar-section .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.webinar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.webinar-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.webinar-card:hover {
    transform: translateY(-5px);
}

.webinar-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 アスペクト比 */
    overflow: hidden;
}

.webinar-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webinar-status {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}

.webinar-status.upcoming {
    background-color: #FF6B6B;
}

.webinar-status.ended {
    background-color: #2196F3;
}

.webinar-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.webinar-meta {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.webinar-meta i {
    color: #666;
}

.webinar-datetime {
    display: inline-block;
    color: #666;
    font-size: 0.875rem;
}

.webinar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

.webinar-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.webinar-title a:hover {
    color: #2196F3;
}

.webinar-excerpt {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: auto;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .webinar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .webinar-section {
        padding: 40px 0;
    }

    .webinar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .webinar-title {
        font-size: 1.125rem;
    }

    .webinar-status {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
    }
}

/* タグセクション */
.tags-section {
    padding: 80px 0;
    background-color: #fff;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    color: #333;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: #2196F3;
    border-color: #2196F3;
    color: #fff;
    transform: translateY(-2px);
}

.tag-count {
    margin-left: 4px;
    color: #666;
}

.tag-link:hover .tag-count {
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tags-section {
        padding: 60px 0;
    }

    .tags-grid {
        gap: 12px;
    }

    .tag-link {
        padding: 6px 12px;
        font-size: 0.8125rem;
    }
}

/* メールマガジン登録セクション */
.newsletter-section {
    padding: 80px 0;
    background-color: #2196F3;
    color: #fff;
}

.newsletter-section .section-title {
    color: #fff;
}

.newsletter-description {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group input[type="email"] {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
}

.form-group input[type="email"]::placeholder {
    color: #666;
}

.newsletter-submit {
    padding: 16px 32px;
    background-color: #FFE600;
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.newsletter-privacy {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-privacy a {
    color: #fff;
    text-decoration: underline;
}

.newsletter-privacy a:hover {
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 0;
    }

    .form-group {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-submit {
        width: 100%;
    }

    .newsletter-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

/* ソーシャルメディアセクション */
.social-section {
    padding: 60px 0;
    background-color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: transparent;
    color: #666;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-link i {
    font-size: 32px;
    line-height: 1;
}

.social-link:hover {
    opacity: 0.7;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .social-section {
        padding: 40px 0;
    }

    .social-links {
        gap: 40px;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .social-link i {
        font-size: 24px;
    }
}

article.page{
    margin-bottom: 0;
    background: #fff;
    border: none;
}

/* 最新記事セクション */
.latest-posts {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.latest-posts .section-title {

}

.latest-posts .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.latest-posts .grid {
    margin-bottom: 40px;
}

.latest-posts .card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.latest-posts .card:hover {
    transform: translateY(-2px);
}

.latest-posts .card-image {
    display: block;
    position: relative;
    padding-top: 56.25%; /* 16:9 アスペクト比 */
    overflow: hidden;
}

.latest-posts .thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-posts .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.latest-posts .meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.latest-posts .category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2196F3;
    text-decoration: none;
    background-color: #007bff1a;
    padding: 5px;
    border-radius: 5px;
}

.latest-posts .date {
    font-size: 0.875rem;
    color: #666;
}

.latest-posts .title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.5;
}

.latest-posts .title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-posts .title a:hover {
    color: #2196F3;
}

.latest-posts .excerpt {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.latest-posts .more-link {
    text-align: center;
    margin-top: 0;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .latest-posts .grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .latest-posts .section-title {
        font-size: 1.25rem;
        padding: 16px;
    }

    .latest-posts .wrap {
        padding: 30px 16px;
    }

    .latest-posts .title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .latest-posts .wrap {
        padding: 24px 16px;
    }

    .latest-posts .card-content {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 80vh; /* スマホ向けに高さを調整 */
        min-height: 400px; /* 最小高さを設定 */
    }

    .hero-title-main {
        font-size: 2.5rem; /* フォントサイズを調整 */
    }

    .hero-title-sub {
        font-size: 2rem; /* フォントサイズを調整 */
    }

    .hero-description {
        font-size: 1rem; /* フォントサイズを調整 */
    }

    .hero-buttons {
        flex-direction: column; /* ボタンを縦に並べる */
        gap: 10px; /* ボタン間のスペースを調整 */
    }

    .hero-button {
        width: 100%; /* ボタンの幅を100%に */
        padding: 10px 20px; /* パディングを調整 */
    }
}