/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20250709_08
*/


/*---------------------------------------------------------------------------------------------------
 * ページ見出し関連
---------------------------------------------------------------------------------------------------*/
.page .entry-title {
	text-align: center;
}
.post-template-default .entry-title,
.archive .entry-title,
.category .entry-title{
	text-align: left!important;
}

/*---------------------------------------------------------------------------------------------------
 * フロントページ関連
--------------------------------------------------------------------------------------------------- */
/* ========================================= */
/* 新着記事表示ショートコード用スタイル */
/* ========================================= */
/* 全体ラッパー */
.postview-wrapper {
    max-width: 979px; /* 最大幅 */
    margin: 30px auto; /* 中央寄せ */
    padding: 0 10px; /* 横パディング */
    box-sizing: border-box;
}

/* 見出し */
.postview-heading {
    all: unset;
    display: block !important;
    box-sizing: border-box !important;
    background: #fff !important;
    background-color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 1.8em !important;
    font-weight: bold !important;
    color: #000 !important;
    margin-bottom: 25px !important;
    clear: both !important;
	text-transform: none !important;
	line-height:1.5 !important;
}

/* 見出しの疑似要素を解除 */
.postview-heading::before,
.postview-heading::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* 横並びラッパー */
.postview-articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 間隔 */
    justify-content: flex-start; /* 左寄せ */
    margin: 0 auto;
    box-sizing: border-box;
}

/* 記事ブロック */
.postview-article-block {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    border: 1px solid #000;
    border-radius: 2px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    padding: 10px;
	text-decoration: none;
    color: inherit;
}

/* 全体リンク */
.postview-overall-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ホバーで移動 */
.postview-article-block:hover {
    transform: translateY(2px);
}

/* アイキャッチ */
.postview-new-design .postview-new-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: calc(66.66% + 20px);
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 10px;
    /* z-index削除済 */
}

.postview-new-design .postview-new-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* 拡大 */
.postview-article-block:hover .postview-new-thumbnail img {
    transform: scale(1.05);
}

/* コンテンツ */
.postview-article-content.postview-new-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    /* z-indexとpointer-events削除済 */
}

/* タイトル */
.postview-article-content h3 {
    all: unset;
    display: block !important;
    box-sizing: border-box !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;

    margin-bottom: 15px !important;
    font-size: 1em !important;
    line-height: 1.5 !important;
    font-weight: bold !important;
    text-align: left !important;
    color: #000 !important;
    transition: color 0.3s ease !important;
    clear: both !important;
    /* pointer-events削除済 */
}

/* タイトルホバー時 */
.postview-overall-link:hover .postview-article-content h3 {
    color: #0275AB !important;
}

/* 日付 */
.postview-article-date {
    font-size: 0.85em;
    color: #666;
    margin-top: 0;
    margin-bottom: 0;
    /* position等削除済 */
}

/* ボタンラッパー */
.postview-articles-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* ボタン */
.postview-articles-button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.postview-articles-button:hover {
    opacity: 0.75;
    color: #fff !important;
}

/* モバイル対応 */
@media (max-width: 979px) {
    .postview-articles-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .postview-article-block {
        width: 90%;
        max-width: 400px;
        flex: none;
    }

    .postview-new-design .postview-new-thumbnail {
        padding-bottom: calc(60% + 20px);
    }

    .postview-articles-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* 狭小画面対応 */
@media (max-width: 480px) {
    .postview-new-design .postview-article-content h3 {
        font-size: 0.95em;
    }
}


/* ========================================= */
/* フロントページのタブ切り替え */
/* ========================================= */
.tab-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
}

.tab-btn {
    flex: 1 1 30%;
    min-width: 120px;
    padding: 0.8rem 1.2rem;
    background: transparent;
    border: 2px solid #0075AB;
    color: #0075AB;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    font-size: 1.1rem;
}

.tab-btn:hover {
    background: #0075AB;
    color: white;
}

.tab-btn.active {
    background: #0075AB;
    color: white;
}

.tab-content {
    background: white;
    padding: 1.5rem;
}

.tab-panel {
    display: none;
    padding: 2rem 0;
}

.tab-panel.active {
    display: block;
}

/* PC版調整 */
@media (min-width: 769px) {
    .tab-btn {
        border-bottom: none;
        border-radius: 5px 5px 0 0;
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    .tab-content {
        border-top: 2px solid #0075AB;
    }
}

/* モバイル調整 */
@media (max-width: 768px) {
    .tab-btn {
        flex: 1 1 30%;
        border-radius: 5px;
        border-bottom: 2px solid #0075AB;
        font-size: 1rem;
    }
    .tab-content {
        border-top: none;
    }
    .tab-btn.active {
        border-bottom-color: #0075AB;
    }
}

/* ========================================= */
/* フロントページ　メディア系投稿レイアウト */
/* ========================================= */

/* ラッパー */
.c-post-blocks-wrapper {
    max-width: 979px;
    margin: 0 auto 30px;
    padding: 0 10px 30px;
    box-sizing: border-box;
    background-color: #ffffff;
}

/* 投稿コンテナ */
.c-post-blocks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

/* 投稿ブロック */
.c-post-block {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    border: none;
    border-radius: 2px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease-out;
}

.c-post-block:hover {
    transform: translateY(2px);
}

/* 投稿内リンク */
.c-post-block__image-link,
.c-post-block__content h3 a {
    text-decoration: none;
    color: inherit;
}

/* 画像リンク */
.c-post-block__image-link {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* サムネイル */
.c-post-block__thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: calc(66.66% + 20px);
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

/* サムネイル画像 */
.c-post-block__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

/* 画像ホバー時 */
.c-post-block:hover .c-post-block__thumbnail img {
    transform: scale(1.05);
}

/* コンテンツ領域 */
.c-post-block__content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* タイトル */
.c-post-block__content h3 {
    all: unset;
    display: block !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-size: 1em !important;
    line-height: 1.5 !important;
    font-weight: bold;
    text-align: left;
    color: #000;
    transition: color 0.3s ease;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* タイトルホバー時 */
.c-post-block:hover .c-post-block__content h3 a {
    color: #0075AB;
}

/* ボタングループ */
.c-post-block__button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    align-items: center;
    min-height: 100px;
    justify-content: flex-start;
}

/* 共通ボタン */
.c-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border: 1px solid #000;
    border-radius: 20px;
    font-weight: bold;
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    width: 150px;
    max-width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
}

/* 詳細ボタン */
.c-button--detail {
    background-color: #000;
    color: #fff !important;
}

.c-button--detail:hover {
    opacity: 0.75;
    color: #fff !important;
    background-color: #000;
}

/* 購入ボタン */
.c-button--buy {
    background-image: linear-gradient(to bottom, #FFDA44, #FFB800);
    color: #000 !important;
    border-color: transparent;
}

.c-button--buy:hover {
    opacity: 0.75;
    color: #000 !important;
    background-image: linear-gradient(to bottom, #FFB800, #FFDA44);
}

/* 一覧ボタン */
.c-post-blocks-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.c-button--archive {
    display: inline-block;
    padding: 12px 35px;
    background-color: #000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: opacity 0.3s ease;
    border: none;
    width: auto;
    min-width: 150px;
    text-align: center;
    white-space: nowrap;
}

.c-button--archive:hover {
    background-color: #000;
    opacity: 0.8;
    color: #fff !important;
}

/* ========================================= */
/* レスポンシブ */
/* ========================================= */
@media (max-width: 979px) {
    .c-post-blocks-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .c-post-block {
        width: 90%;
        max-width: 400px;
        flex: none;
    }

    .c-post-block__thumbnail {
        padding-bottom: calc(60% + 20px);
    }

    .c-button {
        min-width: unset;
        width: 80%;
    }

    .c-button--buy,
    .c-button--detail {
        border-radius: 16px;
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .c-post-blocks-wrapper {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .c-post-block__content h3 {
        font-size: 0.95em;
    }

    .c-button--archive {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

/* ========================================= */
/* 受賞歴 */
/* ========================================= */
.awards .outline-list {
    list-style: none; /* 頭の黒い点を削除 */
    padding: 0;
    margin: 0;
}

.awards .outline-item {
    padding: 10px 0;
    border-bottom: 1px dotted #000;
    display: flex; /* 横並び */
    flex-wrap: wrap; /* 折り返し */
    align-items: baseline; /* 行の開始位置 */
}

.awards .outline-item:last-child {
    border-bottom: none;
}

/*==============================
  プロフィール用スタイル
==============================*/

/* コンテナ全体 */
.profile-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
}

/* 左カラム */
.profile-container .left-column {
    flex: 2;
    padding: 0 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
}

.profile-container .occupation {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
}

.profile-container .name {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.profile-container .greeting {
    margin-top: 20px;
    line-height: 1.6;
    color: #222;
    word-break: break-word;
    overflow-wrap: break-word;
}



/* 右カラム */
.profile-container .right-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9e9e9;
    min-width: 200px;
}

.profile-container .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }
    .profile-container .left-column,
    .profile-container .right-column {
        flex: auto;
        min-width: unset;
        width: 100%;
    }
    .profile-container .right-column {
        order: 1;
    }
    .profile-container .left-column {
        order: 2;
        padding: 20px 0;
		min-width: 0!important;
    }
    .profile-container .profile-image {
        max-height: 300px;
        width: auto;
    }
}

/*==============================
  プロフィール・経歴セクション
==============================*/

.profile-details-container {
    max-width: 980px;
    margin: 40px auto;
    padding: 20px;
}

.profile-details-container .section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    background-color: #fff !important;
    border-radius: 0 !important;
    color: #000 !important;
}

/* section-titleの装飾リセット */
.profile-details-container h2.section-title::before,
.profile-details-container h2.section-title::after {
    content: none !important;
    display: none !important;
    border: none !important;
    border-color: transparent !important;
    border-width: 0 !important;
}

.profile-details-container .history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-details-container .history-item {
    padding: 10px 0;
    border-bottom: 1px dotted #000;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.profile-details-container .history-item:last-child {
    border-bottom: none;
}

.profile-details-container .history-date {
    flex-shrink: 0;
    width: 120px;
    font-weight: bold;
    color: #333;
    margin-right: 20px;
}

.profile-details-container .history-description {
    flex-grow: 1;
    line-height: 1.6;
    color: #666;
}

/* 経歴レスポンシブ */
@media (max-width: 600px) {
    .profile-details-container {
        padding: 10px;
    }
    .profile-details-container .history-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-details-container .history-date {
        width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/*==============================
  バナー4つ配置用スタイル
==============================*/

.banner-container {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.banner-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.banner-row:last-child {
    margin-bottom: 0;
}

.banner-item {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.banner-item a {
    display: block;
    position: relative;
    transition: transform 0.2s ease-in-out;
}

.banner-item a:hover {
    transform: translateY(3px);
}

/* バナーのレスポンシブ */
@media (max-width: 768px) {
    .banner-row {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-bottom: 0;
    }
    .banner-item {
        width: 80%;
        max-width: 400px;
        margin-bottom: 20px !important;
    }
    .banner-item:last-child {
        margin-bottom: 0;
    }
    .banner-container .banner-row:not(:last-child) {
        margin-bottom: 0;
    }
}


/* ======================= */
/* 法人紹介 */
/* ======================= */
.company-profile-section {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* 見出し（h2） */
.company-profile-section .company-title {
    background: none !important;
    border: none !important;
    color: #000 !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

/* 見出しの装飾リセット */
.company-profile-section .company-title::before,
.company-profile-section .company-title::after {
    content: none !important;
    border: none !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
}

/* 概要ブロック */
.company-profile-section .company-outline {
    margin-bottom: 40px;
}

.company-profile-section .company-outline h3 {
    margin-bottom: 40px;
    font-size: 1.5em;
    color: #333;
}

/* 概要リスト */
.company-profile-section .outline-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

/* 各項目 */
.company-profile-section .outline-item {
    list-style: none!important;
    padding: 15px 0;
    border-bottom: 1px dotted #999;
    display: flex;
    align-items: flex-start;
}
.company-profile-section .outline-item:last-child {
    border-bottom: none;
}

.company-profile-section .outline-item > div:first-child {
    flex-shrink: 0;
    width: 120px;
    font-weight: bold;
    margin-right: 20px;
}

.company-profile-section .outline-item > div:last-child {
    flex-grow: 1;
    line-height: 1.6;
    color: #333;
}

/* 活動内容（ul） */
ul.business-activities-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
ul.business-activities-list li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: normal;
}

ul.business-activities-list li strong {
    font-weight: bold;
}

/* レスポンシブ（法人概要） */
@media (max-width: 768px) {
    .company-profile-section .outline-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .company-profile-section .outline-item > div:first-child {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
        text-align: left;
    }

    .company-profile-section .outline-item > div:last-child {
        width: 100%;
        text-align: left;
    }

    .company-profile-section .business-activities-list li {
        margin-bottom: 6px;
    }
}

/* 下段の2カラム構成ラッパー */
.company-profile-section .company-details-wrapper {
    display: flex;
    gap: 40px; /* カラム間 */
    align-items: flex-start; /* 上揃え */
	padding-top:70px;
}

/* 左カラム */
.company-profile-section .company-details-left {
    flex: 1; /* 均等配分 */
    min-width: 0; /* 縮小可 */
}

/* h3見出しのリセットと文字色設定 */
.company-profile-section .company-sub-title {
    background: none !important;
    border: none !important;
    color: #000 !important; /* 黒字 */
    padding: 0 !important;
    margin: 0 !important;
    font-size: 1.5em; /* 見出しサイズ */
    font-weight: bold;
}

/* 30pxの間隔 */
.company-profile-section .spacer {
    height: 30px;
}

.company-profile-section .company-details-left p {
    line-height: 1.8;
    color: #444;
	font-size:1.1em;
}

/* 右カラム */
.company-profile-section .company-details-right {
    flex: 0 0 350px; /* 固定幅 */
    max-width: 50%; /* 最大幅 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-profile-section .company-details-right img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- レスポンシブ対応 --- */

@media (max-width: 768px) {
    /* バナーセクションのレスポンシブ */
    .banner-row {
        flex-direction: column; /* 縦並び */
        align-items: center; /* 中央 */
        gap: 0; /* gapなし */
        margin-bottom: 0; /* 行間なし */
    }

    .banner-item {
        width: 80%; /* 幅調整 */
        max-width: 400px; /* 最大幅 */
        margin-bottom: 20px; /* 下余白 */
    }

    .banner-item:last-child {
        margin-bottom: 0; /* 最後余白なし */
    }

    .banner-container .banner-row:not(:last-child) {
        margin-bottom: 0; /* 行間不要 */
    }

    /* 法人紹介セクションのレスポンシブ */
    .company-profile-section .company-details-wrapper {
        flex-direction: column; /* 縦並び */
        gap: 30px; /* 縦間隔 */
    }

    .company-profile-section .company-details-left,
    .company-profile-section .company-details-right {
        width: 100%; /* 全幅 */
        max-width: none; /* 制限解除 */
        flex: none; /* flex解除 */
    }

    .company-profile-section .company-details-right {
        order: 2; /* 下に表示 */
    }

    .company-profile-section .company-details-left {
        order: 1; /* 上に表示 */
    }

    .company-profile-section .company-details-right img {
        width: 80%; /* 幅調整 */
        max-width: 400px; /* 最大幅 */
        margin: 0 auto; /* 中央 */
    }
}

@media (max-width: 480px) {
    .company-profile-section .outline-section .outline-item {
        flex-direction: column; /* 縦並び */
        align-items: flex-start;
    }
    .company-profile-section .outline-section .outline-term {
        width: auto; /* 幅解除 */
        margin-right: 0;
        margin-bottom: 5px; /* 下間隔 */
    }
}

/* --- 役員構成セクション (Company Member) --- */
.company-member {
    max-width: 980px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 0;
    box-shadow: none;
}

.company-member h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    text-align: center;
	background: none!important;
	color: #000!important;
	padding-top:0!important;
	margin-top:0!important;
}

.company-member .member-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-member .member-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}

.company-member .member-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.company-member .member-term {
    flex-shrink: 0;
    width: 120px;
    font-weight: bold;
    margin-right: 20px;
	color:#0071BC;
}

.company-member .member-description {
    flex-grow: 1;
    line-height: 1.6;
    padding-top: 2px;
}

.company-member .member-description .person-name {
    margin-bottom: 10px;
    line-height: 1.4;
	font-weight:bold;
}

.company-member .member-description .person-name:last-child {
    margin-bottom: 0;
}

.company-member .member-description .person-name .person-detail {
    font-size: 0.9em;
    color: #333;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.4;
	margin-left:20px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .company-member {
        padding: 15px;
        margin: 30px auto;
    }

    .company-member h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .company-member .member-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .company-member .member-term {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
        padding-left: 0;
        text-align: center;
        padding-top: 0;
    }

    .company-member .member-description {
        width: 100%;
        text-align: left;
        padding-top: 0;
    }

    .company-member .member-description .person-name {
        margin-bottom: 8px;
    }

    .company-member .member-description .person-name .person-detail {
        margin-top: 4px;
    }
}

/* ========================================= */
/* 活動内容のスタイル */
/* ========================================= */
.activities-section-container {
    max-width: 980px;
    width: 100%;
    margin: 60px auto; /* 余白中央 */
    padding: 0 20px; /* 横余白 */
    box-sizing: border-box;
}

/* 見出しのスタイル */
.activities-section-container .activities-section-title {
    background-color: #fff !important; /* 背景 */
    color: #000 !important; /* 文字色 */
    border: none !important;
    padding: 15px 20px !important;
    margin-bottom: 40px !important;
    font-size: 2.2em;
    text-align: center;
    box-sizing: border-box;
}

.activities-section-container .activities-section-title::before,
.activities-section-container .activities-section-title::after {
    content: none !important;
    border: none !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
}

/* 上段の画像コンテナ */
.activities-section-container .activities-top-images {
    display: flex;
    justify-content: center; /* 中央配置 */
    gap: 30px; /* 画像間隔 */
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.activities-section-container .activities-image-item {
    flex: 1 1 calc(50% - 15px); /* 2列 */
    max-width: calc(50% - 15px);
    min-width: 280px;
    box-sizing: border-box;
    text-align: center;
}

.activities-section-container .activities-image-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 下段のテキスト */
.activities-section-container .activities-bottom-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.activities-section-container .activities-bottom-text p:last-child {
    margin-bottom: 0;
}

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

    .activities-section-container .activities-section-title {
        font-size: 1.8em;
        padding: 12px 15px !important;
    }

    .activities-section-container .activities-top-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .activities-section-container .activities-image-item {
        width: 90%;
        max-width: 400px;
        flex: none;
    }
}



/*---------------------------------------------------------------------------------------------------
 * フッター関連
---------------------------------------------------------------------------------------------------*/
/* ========================================= */
/* フッターバナーエリアのスタイル */
/* ========================================= */
.footer-banner-container {
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
    box-sizing: border-box;
    padding: 0 20px;
}

/* 上段バナー */
.footer-banner-container .footer-top-banner {
    max-width: 860px;
    margin: 0 auto 30px auto;
    text-align: center;
}

/* 上段リンク */
.footer-banner-container .top-image-banner-link {
    display: block;
    position: relative;
    transition: transform 0.2s ease-in-out;
    text-decoration: none;
    border: none;
    line-height: 0;
}

.footer-banner-container .top-image-banner-link:hover {
    transform: translateY(5px);
}

/* PC画像 */
.footer-banner-container .top-image-banner-link .desktop-banner {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* モバイル画像 */
.footer-banner-container .top-image-banner-link .mobile-banner {
    display: none;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* モバイル画像切り替え */
@media (max-width: 768px) {
    .footer-banner-container .top-image-banner-link .desktop-banner {
        display: none;
    }

    .footer-banner-container .top-image-banner-link .mobile-banner {
        display: block;
        width: 100%; 
        max-width: none;
        height: auto;
        margin: 0 auto;
    }
}

/* お問い合わせボタン */
.footer-banner-container .contact-button-wrap {
    margin: 30px 0;
    text-align: center;
}

.footer-banner-container .button2,
.footer-banner-container a.button2,
.footer-banner-container button.button2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
    box-sizing: border-box;
}

.footer-banner-container a.button2-c {
    font-size: 1.5rem;
    width: 100%;
    position: relative;
    padding: 0.05rem 2rem 0.5rem 2rem;
    color: #fff;
    background: #0075AB;
    box-shadow: 0 5px 0 #005A8D;
}

.footer-banner-container a.button2-c span {
    font-size: 0.8rem;
    position: absolute;
    top: -0.75rem;
    left: calc(50% - 180px);
    width: 360px;
    padding: 0.25rem 0;
    color: #005A8D;
    border: 2px solid #005A8D;
    border-radius: 100vh;
    background: #fff;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

/* 吹き出し矢印 */
.footer-banner-container a.button2-c span:before,
.footer-banner-container a.button2-c span:after {
    position: absolute;
    left: calc(50% - 10px);
    content: "";
}
.footer-banner-container a.button2-c span:before {
    bottom: -10px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #005A8D transparent transparent transparent;
}
.footer-banner-container a.button2-c span:after {
    bottom: -7px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

/* ボタンホバー */
.footer-banner-container a.button2-c:hover {
    -webkit-transform: translate(0, 3px);
    transform: translate(0, 3px);
    color: #fff;
    background: #005A8D;
    -webkit-box-shadow: 0 2px 0 #004269; 
    box-shadow: 0 2px 0 #004269;
}

/* 下段バナー */
.footer-banner-container .footer-bottom-banners {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.footer-banner-container .footer-banner-item {
    flex: 1 1 calc(25% - 15px);
    min-width: 150px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-banner-container .footer-banner-item a {
    display: block;
    position: relative;
    transition: transform 0.2s ease-in-out;
}

.footer-banner-container .footer-banner-item a:hover {
    transform: translateY(5px);
}

.footer-banner-container .footer-banner-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* モバイル用レイアウト調整 */
@media (max-width: 768px) {
    .footer-banner-container {
        padding: 0 10px;
    }
    .footer-banner-container a.button2-c {
        font-size: 1rem;
        padding: 0.25rem 1rem 0.5rem 1rem;
    }
    .footer-banner-container a.button2-c span {
        font-size: 0.7rem;
        width: 280px;
        left: calc(50% - 140px);
    }
    .footer-banner-container .footer-bottom-banners {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .footer-banner-container .footer-banner-item {
        width: 80%;
        max-width: 400px;
        flex: none;
    }
}


/*---------------------------------------------------------------------------------------------------
 * お問い合わせ関連
---------------------------------------------------------------------------------------------------*/
/* ========================================= */
/* お問い合わせページのスタイル */
/* ========================================= */
.contact-page-section {
    padding: 50px 20px 20px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
.contact-page-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #000 !important;
    background-color: #fff !important;
    border: none !important;
    position: relative;
}
.contact-page-section h2::before,
.contact-page-section h2::after {
    border: none !important;
    content: none !important;
}

/* 説明文 */
.contact-page-section .contact-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* オプションコンテナ */
.contact-page-section .contact-options-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

/* オプションボックス */
.contact-page-section .contact-option-box {
    background-color: #F0F8FF;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-page-section .contact-option-box .material-icons {
    font-size: 48px;
    color: #0075AB;
    margin-bottom: 3px;
    display: block;
}

.contact-page-section .contact-option-box h3 {
    font-size: 30px;
    margin: 5px!important;
    padding: 0!important;
    color: #333!important;
    border: none!important;
    background: none!important;
}

/* PC改行 */
@media (min-width: 769px) {
    .contact-page-section .contact-option-box h3 .break-pc {
        display: block;
    }
}

/* モバイル調整 */
@media (max-width: 768px) {
    .contact-page-section .contact-options-container {
        flex-direction: column;
        align-items: center;
    }
    .contact-page-section .contact-option-box {
        width: 90%;
        max-width: 350px;
    }
    .contact-page-section h2 {
        font-size: 28px;
    }
    .contact-page-section .contact-option-box h3 .break-pc {
        display: inline;
    }
    .contact-page-section .contact-description {
        font-size: 16px;
        text-align: center;
    }
}

.contact-page-section .contact-option-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
}

/* ボタン共通 */
.contact-page-section .contact-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* プライマリーボタン */
.contact-page-section .contact-btn-primary {
    background-color: #0075AB;
    color: #fff;
    border: 1px solid #0075AB;
}
.contact-page-section .contact-btn-primary:hover {
    background-color: #005a8b;
    border-color: #005a8b;
}

/* セカンダリーボタン */
.contact-page-section .contact-btn-secondary {
    background-color: #fff;
    color: #0075AB;
    border: 1px solid #0075AB;
}
.contact-page-section .contact-btn-secondary:hover {
    background-color: #f0f8ff;
    color: #005a8b;
    border-color: #005a8b;
}

/* 電話セクション */
.phone-contact-section {
    padding: 5px 20px 30px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.phone-contact-section .phone-contact-box {
    background-color: #F0F8FF;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.phone-contact-section .phone-contact-box .material-icons {
    font-size: 48px;
    color: #0075AB;
    margin-right: 15px;
    flex-shrink: 0;
}

.phone-contact-section .phone-contact-box .phone-text-content {
    text-align: left;
}

.phone-contact-section .phone-contact-box h3 {
    font-size: 28px;
    margin: 0!important;
    padding: 0!important;
    line-height: 1!important;
    color: #333!important;
    border: none!important;
    background: none!important;
}

.phone-contact-section .phone-contact-box .phone-number {
    font-size: 36px;
    font-weight: bold;
    color: #0075AB;
    margin-top: 5px!important;
    padding-top: 0!important;
    text-decoration: none;
    display: block;
}

.phone-contact-section .phone-contact-box .phone-sub-text {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
    line-height: 1.5;
}

/* モバイル調整 */
@media (max-width: 768px) {
    .phone-contact-section .phone-contact-box {
        flex-direction: column;
        text-align: center;
        max-width: 90%;
    }
    .phone-contact-section .phone-contact-box .material-icons {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .phone-contact-section .phone-contact-box .phone-text-content {
        text-align: center;
    }
    .phone-contact-section .phone-contact-box .phone-number {
        font-size: 30px;
    }
}

/*--------------------------------------
 * 共通セクション
--------------------------------------*/
.common-section-container {
    max-width: 980px;
    margin: 40px auto;
    padding: 20px;
}

.common-section-container .section-title {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    background-color: transparent !important;
    border-radius: 0 !important;
    color: #000 !important;
    padding: 0;
    line-height: 1;
}

/* h2::before/::after 無効化 */
.common-section-container h2.section-title::before,
.common-section-container h2.section-title::after {
    content: none !important;
    display: none !important;
    border: none !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: static !important;
    visibility: hidden !important;
    opacity: 0 !important;
    box-shadow: none !important;
    clip-path: none !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
}

/* h3リセット */
.common-section-container h3 {
    all: unset;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 0 15px !important;
    font-size: 1em !important;
    line-height: 1.5 !important;
    font-weight: bold;
    text-align: left;
    color: #000;
    transition: color 0.3s ease;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* テキスト領域 */
.common-section-container .section-content {
    line-height: 1.8;
    padding: 10px 0;
}

@media (max-width: 600px) {
    .common-section-container {
        padding: 10px;
    }

    .common-section-container .section-content {
        padding: 5px 0;
    }
}


/*--------------------------------------
 * 代表メッセージ
--------------------------------------*/
.message-section {
    background-color: #E1EFF5;
    box-sizing: border-box;
    margin: 20px auto 30px;
    padding-top: 5px !important;
}
.message-section > div {
    padding: 0 20px;
}
.message-section .section-content p {
    font-size: 1.02em;
}
.message-section h2.section-title {
    color: #0075AB !important;
}
.message-section .section-content p#signature {
    display: block;
    text-align: right;
}
@media (max-width: 600px) {
    .message-section {
        padding: 20px;
    }
	.message-section > div {
       padding: 0 8px;
    }
}


/*--------------------------------------
 * 加入・協力のご案内
--------------------------------------*/
.collaborators-section {}

.collaborators-section .collaborator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}
.collaborators-section .collaborator-item {
    border-radius: 5px;
    padding: 7px 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.collaborators-section .collaborator-item h3 {
    font-size: 1.2em !important;
    color: #fff !important;
    text-align: center;
    border-bottom: 1px solid #fff !important;
}
.collaborators-section .collaborator-item p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #fff;
    flex-grow: 1;
}
.collaborators-section .section-content {
    padding-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

/* 色分け */
.collaborator-item.supporter {
    background-color: #FF7F50;
}
.collaborator-item.partner {
    background-color: #6495ED;
}
.collaborator-item.volunteer {
    background-color: #3CB371;
}

@media (max-width: 768px) {
    .collaborators-section .collaborator-grid {
        grid-template-columns: 1fr;
    }
    .collaborators-section .collaborators-section {
        padding: 10px;
    }
}

/*--------------------------------------
 * 当法人の概要
--------------------------------------*/
.company-information-section {
    box-sizing: border-box;
}

.company-information-section h3 {
    font-size: 1.3em !important;
    margin-bottom: 30px;
    padding-bottom: 10px;
    text-align: center;
    position: relative;
    padding-left: 30px;
}

.company-information-section .info-table-wrapper {}

table.company-elegant-table {
    width: 100%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0 10px;
    font-size: 14px;
    color: #333;
    border: none !important;
}

table.company-elegant-table th,
table.company-elegant-table td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* 背景色 - 使命、事業、特色 */
table.company-elegant-table tr:nth-child(1) th {/* 使命（Mission） */
    background: #0075AB;
}
table.company-elegant-table tr:nth-child(2) th {/* 主な事業（Activities） */
    background: #00A99D;
}
table.company-elegant-table tr:nth-child(3) th {/* 特色（Values） */
    background: #29ABE2;
}

/* th共通 */
table.company-elegant-table th {
    text-align: left;
    width: 150px;
    position: relative;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
}

table.company-elegant-table th span {
    display: block;
    font-size: 1rem;
    font-weight: normal;
}

/* thの右三角 - 背景色に合わせた色 */
table.company-elegant-table tr:nth-child(1) th::after {
    border-left-color: #0075AB;
}
table.company-elegant-table tr:nth-child(2) th::after {
    border-left-color: #00A99D;
}
table.company-elegant-table tr:nth-child(3) th::after {
    border-left-color: #29ABE2;
}

/* th::after共通 */
table.company-elegant-table th::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    border: solid transparent;
    border-width: 12px;
    margin-top: -12px;
    pointer-events: none;
    z-index: 1;
}

/* td共通 */
table.company-elegant-table td {
    background: #fdfdfd;
    padding-left: 30px;
    border: none !important;
}

table.company-elegant-table td ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

table.company-elegant-table td ul li {
    margin-bottom: 8px;
    padding-left: 1.2em;
    text-indent: -1.2em;
    line-height: 1.5;
}

table.company-elegant-table tr:last-child th,
table.company-elegant-table tr:last-child td {
    border: none !important;
}

table.company-elegant-table td ul li strong {
    display: block;
    font-size: 1.1em;
    padding-bottom: 3px;
}

/*--------------------------------------
 * レスポンシブ（会社概要）
--------------------------------------*/
@media (max-width: 768px) {
    .company-information-section {
        padding: 0 15px;
    }

    .company-information-section h3 {
        font-size: 1.6em;
        padding-left: 25px;
        margin-bottom: 25px;
    }

    .company-information-section h3 .square-icon {
        width: 14px;
        height: 14px;
    }

    table.company-elegant-table {
        font-size: 13px;
        border-spacing: 0 8px;
    }

    table.company-elegant-table th,
    table.company-elegant-table td {
        padding: 10px 12px;
    }

    table.company-elegant-table th {
        width: 100%;
        display: block;
        text-align: center;
        border-radius: 5px 5px 0 0;
        margin-bottom: -1px;
        box-shadow: none;
    }

    table.company-elegant-table th::after {
        display: none;
    }

    table.company-elegant-table td {
        width: 100%;
        display: block;
        padding-left: 15px;
        border-radius: 0 0 5px 5px;
        box-shadow: none;
    }

    table.company-elegant-table td ul li {
        margin-bottom: 6px;
        padding-left: 1.1em;
        text-indent: -1.1em;
    }
}

/*--------------------------------------
 * 3つの観点
--------------------------------------*/
#perspectives-container {
    padding-top: 70px;
    box-sizing: border-box;
}

/* 大見出し */
#perspectives-container .main-heading {
    background: none !important;
    color: #0075AB !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    font-size: 1.5em;
    text-align: center;
    padding-bottom: 20px;
}

/* 大見出し下画像 */
#perspectives-container .main-heading-image-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

#perspectives-container .main-heading-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* 各観点セクション */
#perspectives-container .perspective-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 40px;
    padding: 30px;
}

#perspectives-container .perspective-section:last-of-type {
    margin-bottom: 0;
}

/* 各観点の見出し */
#perspectives-container .perspective-title {
    font-size: 1.4em !important;
    margin-bottom: 25px;
    padding-left: 0;
    line-height: 1.3;
}

/* 小見出しテキスト */
#perspectives-container .perspective-title .sub-heading-text {
    font-size: 0.8em;
    color: #333;
    display: block;
    margin-top: 5px;
    font-weight: normal;
}

/* テキストと画像ラッパー */
#perspectives-container .perspective-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* テキストエリア */
#perspectives-container .perspective-text-area {
    flex: 1;
    line-height: 1.7;
}

#perspectives-container .perspective-text-area p {
    margin-bottom: 15px;
    text-align: justify;
}

/* リスト */
#perspectives-container .perspective-features {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

#perspectives-container .perspective-features li {
    border-left: none;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#perspectives-container .perspective-features li strong {
    margin-right: 8px;
}

/* 画像エリア */
#perspectives-container .perspective-image-area {
    flex-shrink: 0;
    width: 30%;
    text-align: center;
}

#perspectives-container .perspective-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* 1．地理セクションカラー */
#perspectives-container #perspective-geo .perspective-title,
#perspectives-container #perspective-geo .perspective-text-area strong {
    color: #39B54A;
}

#perspectives-container #perspective-geo .perspective-features li {
    background-color: rgba(57, 181, 74, 0.1);
}
#perspectives-container #perspective-geo .perspective-features li:hover {
    background-color: rgba(57, 181, 74, 0.2);
}
#perspectives-container #perspective-geo .perspective-features li strong {
    color: #39B54A;
}

/* 2．教育セクションカラー */
#perspectives-container #perspective-edu .perspective-title,
#perspectives-container #perspective-edu .perspective-text-area strong {
    color: #FF931E;
}

#perspectives-container #perspective-edu .perspective-features li {
    background-color: rgba(255, 147, 30, 0.1);
}
#perspectives-container #perspective-edu .perspective-features li:hover {
    background-color: rgba(255, 147, 30, 0.2);
}
#perspectives-container #perspective-edu .perspective-features li strong {
    color: #FF931E;
}

/* 3．グローバル視点セクションカラー */
#perspectives-container #perspective-global .perspective-title,
#perspectives-container #perspective-global .perspective-text-area strong {
    color: #0071BC;
}

#perspectives-container #perspective-global .perspective-features li {
    background-color: rgba(0, 113, 188, 0.1);
}
#perspectives-container #perspective-global .perspective-features li:hover {
    background-color: rgba(0, 113, 188, 0.2);
}
#perspectives-container #perspective-global .perspective-features li strong {
    color: #0071BC;
}

/* レスポンシブ */
@media (max-width: 768px) {
    #perspectives-container {
        padding: 15px;
    }
    #perspectives-container .main-heading {
        font-size: 2em;
        margin-bottom: 20px;
    }
    #perspectives-container .main-heading-image-wrapper {
        margin-bottom: 30px;
    }
    #perspectives-container .perspective-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    #perspectives-container .perspective-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    #perspectives-container .perspective-title .sub-heading-text {
        font-size: 0.7em;
    }
    #perspectives-container .perspective-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    #perspectives-container .perspective-image-area {
        width: 100%;
        order: -1;
        margin-bottom: 15px;
    }
	
	#perspectives-container .perspective-features {
    margin-left: 0;
}

	
}
@media (max-width: 480px) {
    #perspectives-container {
        padding: 10px;
    }
    #perspectives-container .main-heading {
        font-size: 1.8em;
    }
    #perspectives-container .perspective-title {
        font-size: 1.3em;
    }
    #perspectives-container .perspective-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    #perspectives-container .perspective-features li {
        padding: 10px 12px;
    }
}

/*--------------------------------------
 * 重なり合う視点
--------------------------------------*/
#overlapping-perspectives-container {
    box-sizing: border-box;
}

#overlapping-perspectives-container .overlap-main-heading {
    background: none !important;
    color: #2c3e50 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    font-size: 1.5em;
    color: #0075AB !important;
    text-align: center;
    padding-bottom: 20px;
}

#overlapping-perspectives-container .overlap-cards-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

#overlapping-perspectives-container .overlap-card {
    flex: 1;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#overlapping-perspectives-container .overlap-card-image-wrapper {
    margin-bottom: 15px;
}

#overlapping-perspectives-container .overlap-card-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    display: block;
}

#overlapping-perspectives-container .overlap-card-text {
    line-height: 1.6;
    text-align: justify;
}

#overlapping-perspectives-container .full-width-text-area {
    border: none;
    border-top: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 25px 0 0 0;
    text-align: justify;
    line-height: 1.7;
    margin-top: 40px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    #overlapping-perspectives-container {
        padding: 0 15px;
    }
    #overlapping-perspectives-container .overlap-main-heading {
        font-size: 2em;
        margin-bottom: 20px;
    }
    #overlapping-perspectives-container .overlap-cards-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    #overlapping-perspectives-container .overlap-card {
        padding: 0;
    }
    #overlapping-perspectives-container .full-width-text-area {
        padding: 20px 0 0 0;
    }
}
@media (max-width: 480px) {
    #overlapping-perspectives-container {
        padding: 0 10px;
    }
    #overlapping-perspectives-container .overlap-main-heading {
        font-size: 1.8em;
    }
    #overlapping-perspectives-container .full-width-text-area {
        padding: 15px 0 0 0;
    }
}

/*--------------------------------------
 * youtube一覧
--------------------------------------*/
.youtube-latest-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    margin: 0;
    padding: 0;
}
.youtube-latest-videos a {
    display: block;
    width: 23%;
}
.youtube-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}
@media (max-width: 768px) {
    .youtube-latest-videos a {
        width: 48%;
        margin-bottom: 20px;
    }
}
