/* 共通スタイル */

/* ページ内リンクの移動先が固定ヘッダーに隠れないよう、ヘッダーの高さ分だけ余白をとる
   （--header-height は common.js が実際のヘッダーの高さを入れる。140px は JS が動く前の仮の値） */
html {
    scroll-padding-top: calc(var(--header-height, 140px) + .5rem);
}

/* ヘッダー（sticky-top で上部に固定。スクロール時は影を付ける） */
.site-header {
    transition: box-shadow .3s;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.site-logo img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 575.98px) {
    .site-logo img {
        width: 120px;
    }
}

/* グローバルメニュー（#3183D7 を基調に、上から下へのグラデーション） */
.global-nav-bar {
    background-color: #3183D7;
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(37, 105, 184, .25);
}

/* PCでは4項目を均等幅で並べる */
@media (min-width: 768px) {
    .global-nav .nav-item {
        position: relative;
        flex: 1;
        text-align: center;
    }
    /* 区切り線（上下がフェードする細線） */
    .global-nav .nav-item + .nav-item::before {
        content: "";
        position: absolute;
        top: 20%;
        bottom: 20%;
        left: 0;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .5), transparent);
    }
    .global-nav .nav-link {
        padding-top: .9rem;
        padding-bottom: .9rem;
    }
}

.global-nav .nav-link {
    position: relative;
    color: #fff;
    font-weight: bold;
    letter-spacing: .05em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    transition: background-color .3s;
}

/* ホバー時：中央から白いラインが伸びる */
.global-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    transition: width .3s, left .3s;
}

.global-nav .nav-link:hover,
.global-nav .nav-link:focus {
    color: #fff;
    background-color: rgba(255, 255, 255, .12);
}

.global-nav .nav-link:hover::after,
.global-nav .nav-link:focus::after {
    left: 25%;
    width: 50%;
}

/* スマホ（メニュー展開時）はホバーラインを出さず、項目間に横線を引く */
@media (max-width: 767.98px) {
    .global-nav .nav-link {
        padding-left: .75rem;
    }
    .global-nav .nav-link::after {
        display: none;
    }
    .global-nav .nav-item + .nav-item {
        border-top: 1px solid rgba(255, 255, 255, .2);
    }
}

/* フッター */
.site-footer {
    background-color: #555555;
}

.footer-nav {
    gap: .5rem 1.5rem;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
    text-decoration: underline;
}

/* TOP：カルーセル（中央に1枚、左右に前後の画像を少し見せる） */
.top-slider-wrap {
    background-color: #f0f4f9;
    overflow: hidden;
}

.top-slider {
    position: relative;
}

/* 初期化前は1枚目だけ表示（読み込み時のちらつき防止） */
.top-slider:not(.slick-initialized) .top-slide:not(:first-child) {
    display: none;
}

.top-slider:not(.slick-initialized) .top-slide {
    margin: 0 auto;
}

/* 1枚の幅：画像の実寸（712px）を上限に、スマホでは画面幅の85% */
.top-slide {
    width: min(728px, 85vw);
    padding: 0 8px;
}

.top-slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* マーケットコメントのスライド：画像の看板部分（白い枠の中）に文字を重ねる */
.top-slide-advice {
    position: relative;
    container-type: inline-size;
}

.top-slide-advice-body {
    position: absolute;
    top: 48%;
    bottom: 16%;
    left: 8.6%;
    right: 34%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #333;
    font-size: clamp(9px, 1.75cqw, 13px);
    line-height: 1.45;
}

.top-slide-advice-ttl {
    overflow: hidden;
    color: #1a4f9c;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.top-slide-advice-ttl time {
    margin-right: .4em;
    color: #c0392b;
}

.top-slide-advice-text {
    display: -webkit-box;
    margin: .15em 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.top-slide-advice-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.2em;
    margin-top: auto;
}

.top-slide-advice-links a::before {
    content: "▶";
    margin-right: .3em;
    font-size: .7em;
    vertical-align: .15em;
}

.top-slide-advice a:hover,
.top-slide-advice a:focus {
    text-decoration: underline;
}

/* スマホなど幅が狭いときは抜粋を省き、タイトルとリンクだけにする */
@container (max-width: 520px) {
    .top-slide-advice-text {
        display: none;
    }
}

/* 中央以外のスライドは暗くする */
.top-slider .slick-slide {
    opacity: .4;
    transition: opacity .6s;
}

.top-slider .slick-center {
    opacity: 1;
}

/* 矢印 */
.top-slider .slick-prev,
.top-slider .slick-next {
    position: absolute;
    top: calc(50% - 13px); /* 下のドット分（26px）を除いた画像の中央 */
    z-index: 1;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .45);
    font-size: 0;
    cursor: pointer;
}

.top-slider .slick-prev {
    left: calc(50% - min(364px, 42.5vw) - 22px);
}

.top-slider .slick-next {
    right: calc(50% - min(364px, 42.5vw) - 22px);
}

.top-slider .slick-prev::before,
.top-slider .slick-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

.top-slider .slick-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.top-slider .slick-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.top-slider .slick-prev:hover,
.top-slider .slick-next:hover {
    background-color: rgba(0, 0, 0, .65);
}

/* ドット */
.top-slider .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.top-slider .slick-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #c5d3e3;
    font-size: 0;
}

.top-slider .slick-dots .slick-active button {
    background-color: #3183D7;
}

/* TOP：パネル */
.top-panel .card-header {
    background-color: #3183D7;
    color: #fff;
    font-weight: bold;
}

/* TOP：ログインパネルの見出し（メニューバーと同じグラデーション） */
.top-panel .login-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .5rem;
    padding: .85rem 1rem;
    border-bottom: 0;
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.login-header-icon {
    flex-shrink: 0;
    padding: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .2);
}

/* 幅が狭いときはタイトルと英字を途中で折り返さず、英字を次の行へ送る */
.login-header-ttl {
    font-size: 1.1rem;
    letter-spacing: .1em;
    white-space: nowrap;
}

.login-header-sub {
    margin-left: auto;
    white-space: nowrap;
    font-size: .7rem;
    font-weight: normal;
    letter-spacing: .15em;
    opacity: .8;
}

/* ヘッダー：新規会員登録ボタン */
.btn-member img {
    display: block;
    max-width: 100%;
    height: auto;
}

.btn-member:hover img,
.btn-member:focus img {
    opacity: .8;
}

@media (max-width: 575.98px) {
    .btn-member img {
        width: 180px;
    }
}

/* ヘッダー：新規会員登録＋お問い合わせボタンの並び */
.header-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

/* ヘッダー内のボタンは高さを揃えてコンパクトに（.btn-grad の余白を上書き） */
.header-actions .header-btn {
    height: 44px;
    padding: 0 1.25rem;
    font-size: .9rem;
    white-space: nowrap;
}

/* ヘッダー：お問い合わせボタン
   白に近いグラデーション＋青のアイコンバッジ。ホバーで浮き上がり、光の帯が左から右へ走る */
.header-actions .btn-contact {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    overflow: hidden;
    padding: 0 1.25rem 0 .5rem;
    border: 1px solid #c9daf0;
    border-radius: 8px;
    background-image: linear-gradient(180deg, #ffffff 0%, #f4f8fd 55%, #e6eef9 100%);
    box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(37, 105, 184, .15);
    color: #234a7a;
    letter-spacing: .1em;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

/* 光の帯（通常は左外に待機） */
.btn-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background-image: linear-gradient(100deg, rgba(84, 160, 236, 0) 0%, rgba(84, 160, 236, .2) 50%, rgba(84, 160, 236, 0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
}

.btn-contact:hover,
.btn-contact:focus-visible {
    border-color: #3183D7;
    color: #2569b8;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 #fff, 0 6px 14px rgba(37, 105, 184, .25);
}

.btn-contact:hover::before,
.btn-contact:focus-visible::before {
    left: 125%;
    transition: left .7s ease;
}

.btn-contact:active {
    transform: translateY(0);
}

/* アイコンの丸バッジ（青のグラデーション。ホバーで少し回転） */
.btn-contact-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    box-shadow: 0 2px 5px rgba(37, 105, 184, .3);
    color: #fff;
    transition: transform .25s;
}

.btn-contact:hover .btn-contact-icon,
.btn-contact:focus-visible .btn-contact-icon {
    transform: rotate(-10deg) scale(1.08);
}

/* 日本語＋英字の2段表記 */
.btn-contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.btn-contact-text small {
    font-size: .55rem;
    font-weight: normal;
    letter-spacing: .25em;
    opacity: .75;
}

/* スマホ：ボタンを縦に積んで小さく */
@media (max-width: 575.98px) {
    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: .3rem;
    }

    .header-actions .header-btn {
        height: 30px;
        padding: 0 .75rem;
        font-size: .72rem;
        letter-spacing: .05em;
    }

    .header-actions .btn-contact {
        justify-content: center;
        padding: 0 .75rem 0 .25rem;
    }

    .header-actions .btn-grad-arrow {
        width: 14px;
        height: 14px;
    }

    .btn-contact-icon {
        width: 22px;
        height: 22px;
    }

    .btn-contact-icon svg {
        width: 12px;
        height: 12px;
    }

    .btn-contact-text small {
        display: none;
    }
}

/* TOP：ログインパネル */
/* グラデーションボタン（ログイン・各パネル共通。ホバーで浮き上がり＋矢印が右へ） */
.btn-grad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 8px;
    background-color: #3183D7;
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(37, 105, 184, .3);
    color: #fff;
    font-weight: bold;
    letter-spacing: .15em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    transition: transform .2s, box-shadow .2s, filter .2s;
}

.btn-grad:hover,
.btn-grad:focus-visible {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px rgba(37, 105, 184, .4);
}

.btn-grad:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15);
}

.btn-grad-arrow {
    transition: transform .2s;
}

.btn-grad:hover .btn-grad-arrow,
.btn-grad:focus-visible .btn-grad-arrow {
    transform: translateX(4px);
}

/* オレンジバージョン（新規会員登録など） */
.btn-grad-orange {
    background-color: #f08a1c;
    background-image: linear-gradient(180deg, #ffa94a 0%, #f08a1c 55%, #d86f00 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(216, 111, 0, .3);
}

.btn-grad-orange:hover,
.btn-grad-orange:focus-visible {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px rgba(216, 111, 0, .4);
}

/* グリーンバージョン（入会のご案内など） */
.btn-grad-green {
    background-color: #2e9d5b;
    background-image: linear-gradient(180deg, #4fc07c 0%, #2e9d5b 55%, #217a45 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px rgba(33, 122, 69, .3);
}

.btn-grad-green:hover,
.btn-grad-green:focus-visible {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px rgba(33, 122, 69, .4);
}

/* 白地バージョン（通常は白地＋青枠、ロールオーバー時にグラデーションがふわっと乗る） */
.btn-grad-outline {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    background-image: none;
    box-shadow: inset 0 0 0 1px #3183D7;
    color: #3183D7;
    text-shadow: none;
    transition: transform .2s, box-shadow .2s, color .3s;
}

.btn-grad-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    opacity: 0;
    transition: opacity .3s;
}

.btn-grad-outline > * {
    position: relative;
}

.btn-grad-outline:hover,
.btn-grad-outline:focus-visible {
    filter: none;
    box-shadow: inset 0 0 0 1px #3183D7, 0 6px 14px rgba(37, 105, 184, .4);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.btn-grad-outline:hover::before,
.btn-grad-outline:focus-visible::before {
    opacity: 1;
}

.btn-grad-outline:active {
    box-shadow: inset 0 0 0 1px #3183D7, inset 0 2px 4px rgba(0, 0, 0, .15);
}

/* TOP：パネルの見出し（アイコン＋日本語タイトル＋英字、下線に青のアクセント） */
.panel-ttl {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid #e3e8ef;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2b3a4a;
}

.panel-ttl::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background-image: linear-gradient(90deg, #2569b8, #54a0ec);
}

.panel-ttl-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    box-shadow: 0 2px 6px rgba(37, 105, 184, .3);
    color: #fff;
}

.panel-ttl-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    letter-spacing: .05em;
}

.panel-ttl-text small {
    font-size: .65rem;
    font-weight: normal;
    letter-spacing: .2em;
    color: #3183D7;
}

/* TOP：パネルエリアの背景 */
.top-panels-wrap {
    background-color: #f2f2f2;
}

/* テキストリンク（右寄せ・矢印付き。ホバーで下線＋矢印が右へ） */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #3183D7;
    font-weight: bold;
    font-size: .9rem;
    text-decoration: none;
}

.text-link span {
    background-image: linear-gradient(currentColor, currentColor);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size .3s;
}

.text-link:hover,
.text-link:focus-visible {
    color: #2569b8;
}

.text-link:hover span,
.text-link:focus-visible span {
    background-position: left bottom;
    background-size: 100% 1px;
}

.text-link-arrow {
    transition: transform .2s;
}

.text-link:hover .text-link-arrow,
.text-link:focus-visible .text-link-arrow {
    transform: translateX(3px);
}

/* TOP：新着情報一覧 */
.news-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.news-list li {
    padding: .6rem 0;
    border-bottom: 1px dashed #dde3ea;
}

.news-list li:first-child {
    padding-top: 0;
}

.news-list time {
    display: block;
    margin-bottom: .15rem;
    font-size: .8rem;
    color: #3183D7;
    letter-spacing: .05em;
}

.news-list a {
    color: #2b3a4a;
    text-decoration: none;
    font-size: .9rem;
}

.news-list a:hover,
.news-list a:focus-visible {
    color: #3183D7;
    text-decoration: underline;
}

/* 会社概要：会社情報テーブル */
.company-table th {
    width: 25%;
    min-width: 7em;
    background-color: #f2f7fd;
    color: #2569b8;
    font-weight: bold;
    white-space: nowrap;
}

.company-table th,
.company-table td {
    padding: 1rem;
    border-color: #d6e4f5;
}

/* 会社概要：代表プロフィール（写真を左上に置き、テキストを回り込ませる） */
.president-profile {
    padding: 2rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #f2f7fd;
}

@media (max-width: 575.98px) {
    .president-profile {
        padding: 1.25rem;
    }
}

.president-pic {
    float: left;
    margin: 0 1.5rem 1rem 0;
    border: 1px solid #d6e4f5;
    border-radius: 4px;
}

.president-name {
    margin-bottom: .75rem;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: .1em;
}

.president-name small {
    display: block;
    color: #3183D7;
    font-size: .8rem;
    font-weight: normal;
    letter-spacing: .15em;
}

.president-titles {
    margin-bottom: 1.5rem;
    font-size: .9rem;
}

.president-titles li {
    padding: .15rem 0;
}

.president-bio {
    font-size: .95rem;
    line-height: 1.9;
}

.president-bio a {
    word-break: break-all;
}

.president-asof {
    color: #6c757d;
}

/* アイトラストとは：リード（キャッチ＋写真回り込み） */
.about-lead {
    margin-bottom: 3rem;
    line-height: 1.9;
}

.about-lead::after {
    content: "";
    display: block;
    clear: both;
}

.about-lead-catch {
    margin-bottom: 1.25rem;
    color: #2569b8;
    font-size: 1.35rem;
    font-weight: bold;
    line-height: 1.5;
}

.about-lead-pic {
    float: right;
    margin: 0 0 1rem 1.5rem;
    border: 1px solid #d6e4f5;
    border-radius: 4px;
}

/* アイトラストとは：POINT見出し */
.about-point {
    margin-bottom: 3rem;
    line-height: 1.9;
}

.about-point-ttl {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: .9rem 1.25rem;
    border-left: 5px solid #3183D7;
    border-radius: 0 8px 8px 0;
    background-color: #f2f7fd;
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.5;
}

.about-point-num {
    flex-shrink: 0;
    color: #3183D7;
    font-size: .75rem;
    letter-spacing: .1em;
    line-height: 1;
    text-align: center;
}

.about-point-num b {
    display: block;
    font-size: 1.8rem;
}

/* アイトラストとは：コンテンツ紹介ボックス */
/* 色はボックスごとの修飾クラス（--blue / --green / --pink / --purple）で切り替え */
.about-box {
    --box-bg: #f2f7fd;
    --box-border: #d6e4f5;
    --box-accent: #3183D7;
    --box-text: #2569b8;
    --box-tag: #e1edfa;
    display: flex;
    flex-direction: column; /* サンプル画像を下端に寄せるため */
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--box-border);
    border-top: 4px solid var(--box-accent);
    border-radius: 8px;
    background-color: var(--box-bg);
}

.about-box--green {
    --box-bg: #f0f9f3;
    --box-border: #cfe9d8;
    --box-accent: #2e9d5b;
    --box-text: #217a45;
    --box-tag: #ddf1e4;
}

.about-box--pink {
    --box-bg: #fdf2f6;
    --box-border: #f4d3e0;
    --box-accent: #d9578a;
    --box-text: #b23d6c;
    --box-tag: #f9e0ea;
}

.about-box--purple {
    --box-bg: #f6f3fc;
    --box-border: #ddd4f1;
    --box-accent: #7c5cc4;
    --box-text: #5f44a3;
    --box-tag: #e9e2f7;
}

.about-box-ttl {
    margin-bottom: .75rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--box-accent);
    color: var(--box-text);
    font-size: 1.1rem;
    font-weight: bold;
}

.about-box-ttl small {
    display: block;
    margin-top: .2rem;
    color: #6c757d;
    font-size: .8rem;
    font-weight: normal;
}

.about-box-list {
    margin-bottom: 0;
    padding-left: 1.2em;
    font-size: .9rem;
}

.about-box-list li + li {
    margin-top: .4rem;
}

.about-box-sub {
    margin: 1rem 0 .5rem;
    font-size: .85rem;
    font-weight: bold;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 0;
}

.about-box-list li::marker {
    color: var(--box-accent);
}

.about-tags li {
    padding: .1rem .7rem;
    border-radius: 999px;
    background-color: var(--box-tag);
    color: var(--box-text);
    font-size: .8rem;
}

/* ボックス右下のページサンプル画像（本文量が違っても常に右下に揃える） */
.about-box-sample {
    align-self: flex-end; /* 右寄せ */
    margin-top: auto;     /* 下端に寄せる */
    width: 45%;
    max-width: 240px;
    height: auto;
    border: 1px solid var(--box-border);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

/* 本文との最低限の余白（margin-top は auto で使うため、直前の要素側で確保） */
.about-box > :nth-last-child(2) {
    margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
    .about-box-sample {
        align-self: center;
        width: auto;
        max-width: 100%;
    }
}

/* アイトラストとは：セミナーの特徴（枠で囲み、右上に写真を回り込ませる） */
.about-seminar-box {
    padding: 2rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #fff;
}

.about-seminar-pic {
    float: right;
    margin: 0 0 1rem 1.5rem;
    border-radius: 4px;
}

.about-seminar-btn {
    clear: both;
}

@media (max-width: 575.98px) {
    .about-seminar-box {
        padding: 1.25rem;
    }

    .about-seminar-pic {
        float: none;
        display: block;
        margin: 0 auto 1.25rem;
        max-width: 100%;
        height: auto;
    }
}

.about-features {
    margin-bottom: 2rem;
}

.about-features dt {
    position: relative;
    margin-top: 1.5rem;
    padding-left: 1.4rem;
    color: #2569b8;
    font-size: 1.05rem;
}

.about-features dt:first-child {
    margin-top: 0;
}

.about-features dt::before {
    content: "";
    position: absolute;
    top: .55em;
    left: 0;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background-color: #3183D7;
}

.about-features dd {
    margin: .4rem 0 0 1.4rem;
}

/* アイトラストとは：会員の声 */
.about-voice-ttl {
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #d6e4f5;
    font-size: 1.15rem;
    font-weight: bold;
}

.about-voice {
    position: relative;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    background-color: #f2f7fd;
    font-size: .95rem;
}

.about-voice p {
    margin-bottom: .5rem;
}

.about-voice-seminar {
    display: block;
    color: #2569b8;
    font-size: .8rem;
    font-weight: bold;
    text-align: right;
}

.about-voice-seminar::before {
    content: "― ";
}

/* アイトラストとは：入会のご案内 */
.about-cta {
    padding: 2rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 575.98px) {
    .about-lead-pic {
        float: none;
        display: block;
        margin: 0 auto 1rem;
    }

    .about-point-ttl {
        font-size: 1rem;
    }

    .about-cta {
        padding: 1.25rem;
    }
}

/* アイトラストとは：サブナビゲーション（表示中のページは青地） */
.about-subnav ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    margin: 0;
}

.about-subnav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: .7rem .5rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #fff;
    color: #2569b8;
    font-size: .95rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}

.about-subnav a:hover,
.about-subnav a:focus-visible {
    border-color: #3183D7;
    background-color: #f2f7fd;
}

.about-subnav a.is-current {
    border-color: #3183D7;
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

@media (max-width: 767.98px) {
    .about-subnav ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-subnav a {
        font-size: .85rem;
    }
}

/* アイトラストとは：下層ページの見出し */
.about-page-ttl {
    margin-bottom: 1.5rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid #3183D7;
    color: #2569b8;
    font-size: 1.4rem;
    font-weight: bold;
}

/* 入会のご案内：セクション見出し */
.adm-sec {
    margin-bottom: 3.5rem;
    line-height: 1.9;
}

.adm-sec-ttl {
    margin-bottom: 1.25rem;
    padding: .7rem 1.1rem;
    border-left: 5px solid #3183D7;
    border-radius: 0 8px 8px 0;
    background-color: #f2f7fd;
    font-size: 1.15rem;
    font-weight: bold;
}

.adm-sub-ttl {
    margin: 2rem 0 1rem;
    padding-bottom: .4rem;
    border-bottom: 1px dashed #b9d1ee;
    color: #2569b8;
    font-size: 1.05rem;
    font-weight: bold;
}

/* 入会のご案内：会員種別カード（色はカードごとの修飾クラスで切り替え） */
.adm-plan {
    --plan-accent: #3183D7;
    --plan-bg: #f2f7fd;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--plan-accent);
    border-top-width: 5px;
    border-radius: 8px;
    background-color: var(--plan-bg);
    text-align: center;
}

.adm-plan--premium {
    --plan-accent: #d9a21b;
    --plan-bg: #fdf8ea;
}

.adm-plan--itool {
    --plan-accent: #2e9d5b;
    --plan-bg: #f0f9f3;
}

.adm-plan p {
    margin-bottom: 0;
}

.adm-plan-name {
    font-size: 1.15rem;
    font-weight: bold;
}

.adm-plan-name small {
    display: block;
    color: #6c757d;
    font-size: .75rem;
    font-weight: normal;
}

.adm-plan-price {
    margin: .75rem 0 !important;
    color: var(--plan-accent);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
}

.adm-plan-price span {
    margin-left: .2rem;
    color: #333;
    font-size: .8rem;
    font-weight: normal;
}

.adm-plan-desc {
    font-size: .9rem;
    line-height: 1.7;
}

.adm-notes li + li {
    margin-top: .2rem;
}

/* 入会のご案内：ご入会にあたって */
.adm-before li + li {
    margin-top: .5rem;
}

.adm-attention {
    color: #c0392b;
    font-weight: bold;
}

/* 入会のご案内：手続きの流れ（番号付きステップ＋下向き矢印） */
.adm-steps {
    margin-bottom: 2rem;
}

.adm-step {
    position: relative;
    padding: 1.25rem 1.5rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #fff;
}

.adm-step + .adm-step {
    margin-top: 2.25rem;
}

.adm-step + .adm-step::before {
    content: "";
    position: absolute;
    top: -1.75rem;
    left: 50%;
    border-top: 14px solid #3183D7;
    border-right: 18px solid transparent;
    border-left: 18px solid transparent;
    transform: translateX(-50%);
}

.adm-step-ttl {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .6rem;
    color: #2569b8;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.5;
}

.adm-step-num {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    color: #fff;
    font-size: 1rem;
}

.adm-step-info {
    padding: .6rem 1rem;
    border-radius: 6px;
    background-color: #f2f7fd;
    font-size: .9rem;
}

.adm-step-info b {
    margin-right: 1em;
    color: #2569b8;
}

/* 入会のご案内：新規会員登録ボタン */
.adm-regist {
    margin: 2rem 0;
    text-align: center;
}

/* 入会のご案内：ご注意 */
.adm-caution {
    padding: 1.5rem;
    border: 1px solid #f1c9c4;
    border-radius: 8px;
    background-color: #fdf4f3;
    font-size: .95rem;
}

.adm-caution-ttl {
    margin-bottom: .75rem;
    color: #c0392b;
    font-size: 1.05rem;
    font-weight: bold;
}

.adm-caution-ttl::before {
    content: "⚠ ";
}

.adm-caution-item {
    margin-bottom: .25rem;
    font-weight: bold;
}

.adm-caution-item::before {
    content: "■ ";
    color: #c0392b;
}

/* 入会のご案内：会費のお支払い */
.adm-pay-list li + li {
    margin-top: .5rem;
}

/* 入会のご案内：退会について */
.adm-leave {
    padding: 1.5rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    font-size: .95rem;
}

.adm-leave-ttl {
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #3183D7;
    color: #2569b8;
    font-size: 1.05rem;
    font-weight: bold;
}

.adm-leave-table {
    font-size: .9rem;
    line-height: 1.6;
}

.adm-leave-table th {
    background-color: #f2f7fd;
    color: #2569b8;
    font-weight: bold;
}

.adm-leave-table th,
.adm-leave-table td {
    border-color: #d6e4f5;
    text-align: center;
}

.adm-leave-caution {
    padding: .75rem 1rem;
    border-radius: 6px;
    background-color: #fdf4f3;
    font-size: .9rem;
}

.adm-leave-caution b {
    display: block;
    color: #c0392b;
}

@media (max-width: 575.98px) {
    .adm-step,
    .adm-caution,
    .adm-leave {
        padding: 1.1rem;
    }

    .adm-step-ttl {
        font-size: .95rem;
    }
}

/* セミナー情報：リード */
.seminar-lead {
    margin-bottom: 2rem;
    line-height: 1.9;
}

.seminar-lead-catch {
    margin-bottom: .75rem;
    color: #2569b8;
    font-size: 1.35rem;
    font-weight: bold;
    line-height: 1.5;
}

/* セミナー情報：カテゴリ絞り込み */
.seminar-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #f2f7fd;
}

.seminar-filter a {
    padding: .2rem .8rem;
    border: 1px solid #d6e4f5;
    border-radius: 999px;
    background-color: #fff;
    color: #2569b8;
    font-size: .85rem;
    text-decoration: none;
}

.seminar-filter a:hover,
.seminar-filter a.is-active {
    border-color: #3183D7;
    background-color: #3183D7;
    color: #fff;
}

/* セミナー情報：一覧 */
.seminar-item {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #d6e4f5;
    border-top: 4px solid #3183D7;
    border-radius: 8px;
    background-color: #fff;
}

.seminar-item-ttl {
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid #3183D7;
    color: #2569b8;
    font-size: 1.15rem;
    font-weight: bold;
}

.seminar-item-body {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.seminar-item-pic {
    flex: 0 0 auto;
    width: 300px;
    max-width: 40%;
    height: auto;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
}

.seminar-item-info {
    flex: 1 1 auto;
    min-width: 0;
}

.seminar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem;
}

.seminar-tags li {
    padding: .1rem .7rem;
    border-radius: 999px;
    background-color: #e1edfa;
    color: #2569b8;
    font-size: .8rem;
}

.seminar-item-data {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .35rem 1rem;
    margin-bottom: 1rem;
    font-size: .95rem;
}

.seminar-item-data dt {
    color: #6c757d;
    font-weight: normal;
}

.seminar-item-data dd {
    margin-bottom: 0;
}

.seminar-empty {
    padding: 2rem 1rem;
    border: 1px dashed #d6e4f5;
    border-radius: 8px;
    color: #6c757d;
    text-align: center;
}

@media (max-width: 575.98px) {
    .seminar-item {
        padding: 1rem;
    }

    .seminar-item-body {
        flex-direction: column;
    }

    .seminar-item-pic {
        width: 100%;
        max-width: 100%;
    }
}

/* マーケットコメント：リード */
.advice-lead {
    margin-bottom: 2rem;
    line-height: 1.9;
}

.advice-lead-list {
    margin-bottom: .75rem;
    padding-left: 1.2em;
}

.advice-lead-list li::marker {
    color: #3183D7;
}

/* マーケットコメント：絞り込み・検索 */
.advice-search {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #f2f7fd;
}

.advice-search .advice-filter {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.advice-search-form {
    display: flex;
    gap: .5rem;
    flex: 0 1 320px;
}

.advice-result {
    color: #6c757d;
    font-size: .9rem;
}

/* マーケットコメント：一覧 */
.advice-list {
    border-top: 1px solid #d6e4f5;
}

.advice-list li {
    border-bottom: 1px solid #d6e4f5;
}

.advice-list a {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    align-items: center;
    padding: .8rem .5rem;
    color: inherit;
    text-decoration: none;
}

.advice-list a:hover {
    background-color: #f2f7fd;
}

.advice-list a:hover .advice-list-ttl {
    color: #2569b8;
    text-decoration: underline;
}

.advice-list time {
    color: #6c757d;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
}

.advice-list-ttl {
    flex: 1 1 20rem;
    min-width: 0;
}

/* カテゴリラベル（色はカテゴリ ID ごと） */
.advice-cat {
    display: inline-block;
    min-width: 7.5em;
    padding: .1rem .6rem;
    border-radius: 999px;
    background-color: #e1edfa;
    color: #2569b8;
    font-size: .75rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.advice-cat--387 { background-color: #ddf1e4; color: #217a45; }
.advice-cat--390 { background-color: #f9e0ea; color: #b23d6c; }
.advice-cat--393 { background-color: #e9e2f7; color: #5f44a3; }
.advice-cat--396 { background-color: #eceff1; color: #546e7a; }

/* マーケットコメント：詳細 */
.advice-article {
    padding: 1.5rem;
    border: 1px solid #d6e4f5;
    border-top: 4px solid #3183D7;
    border-radius: 8px;
    background-color: #fff;
}

.advice-article-head {
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid #3183D7;
}

.advice-article-head time {
    margin-right: .5rem;
    color: #6c757d;
    font-size: .9rem;
}

.advice-article-ttl {
    margin: .5rem 0 0;
    color: #2569b8;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.5;
}

.advice-article-body {
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.advice-article-body img,
.advice-article-body table {
    max-width: 100%;
    height: auto;
}

.advice-article-body p:last-child {
    margin-bottom: 0;
}

.advice-cta {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f2f7fd;
    text-align: center;
}

.advice-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #d6e4f5;
    font-size: .9rem;
}

.advice-pager small {
    display: block;
    color: #6c757d;
}

@media (max-width: 575.98px) {
    .advice-search-form {
        flex-basis: 100%;
    }

    .advice-article {
        padding: 1rem;
    }

    .advice-pager {
        grid-template-columns: 1fr;
    }
}

/* 新着情報：カテゴリラベル（名称が長いので幅を広めに） */
.news-cat {
    min-width: 11em;
}

/* 個人情報保護方針 */
.policy {
    line-height: 1.9;
}

.policy-lead {
    margin-bottom: 2.5rem;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-ttl {
    display: flex;
    gap: .6rem;
    align-items: center;
    margin-bottom: .75rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #d6e4f5;
    color: #2569b8;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.5;
}

.policy-num {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.8em;
    height: 1.8em;
    border-radius: 50%;
    background-color: #3183D7;
    color: #fff;
    font-size: .85rem;
}

.policy-list {
    margin: .75rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background-color: #f2f7fd;
    list-style: none;
}

.policy-list li {
    display: flex;
    gap: .5rem;
}

.policy-list li + li {
    margin-top: .4rem;
}

.policy-list li > span {
    flex: 0 0 auto;
    color: #2569b8;
    font-weight: bold;
}

.policy-contact {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 1px solid #d6e4f5;
    border-top: 4px solid #3183D7;
    border-radius: 8px;
    background-color: #fff;
}

.policy-contact-ttl {
    margin-bottom: .75rem;
    color: #2569b8;
    font-size: 1.05rem;
    font-weight: bold;
}

@media (max-width: 575.98px) {
    .policy-contact {
        padding: 1rem;
    }
}

/* ご利用案内（見出し・番号・箇条書きは .policy-* を共用） */
.term-subttl {
    margin: 1.5rem 0 .75rem;
    padding-left: .6rem;
    border-left: 4px solid #3183D7;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
}

.policy-ttl + .term-subttl {
    margin-top: 0;
}

.term-table {
    margin-bottom: .75rem;
}

.term-table th {
    width: 22%;
}

.term-sep {
    margin: .75rem 0;
    border-color: #d6e4f5;
    opacity: 1;
}

.term-notes {
    margin-bottom: 0;
    padding-left: 1.2em;
    color: #6c757d;
    font-size: .9rem;
}

.term-list li::before {
    content: "";
    flex: 0 0 auto;
    width: .45em;
    height: .45em;
    margin-top: .75em;
    border-radius: 50%;
    background-color: #3183D7;
}

@media (max-width: 575.98px) {
    .term-table th,
    .term-table td {
        display: block;
        width: 100%;
    }

    .term-table th {
        white-space: normal;
    }
}

/* リンク集 */
.link-group {
    padding: 1.25rem 1.5rem;
    border: 1px solid #d6e4f5;
    border-top: 4px solid #3183D7;
    border-radius: 8px;
    background-color: #fff;
}

.link-group-ttl {
    margin-bottom: .5rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #d6e4f5;
    color: #2569b8;
    font-size: 1.05rem;
    font-weight: bold;
}

.link-list {
    margin-bottom: 0;
}

.link-list li + li {
    border-top: 1px dashed #d6e4f5;
}

.link-list a {
    display: flex;
    gap: .5rem;
    align-items: center;
    justify-content: space-between;
    padding: .55rem .25rem;
    color: inherit;
    text-decoration: none;
}

.link-list a svg {
    flex: 0 0 auto;
    color: #3183D7;
}

.link-list a:hover {
    color: #2569b8;
}

.link-list a:hover span {
    text-decoration: underline;
}

/* おすすめBOOK／DVD */
.recom-nav {
    margin-bottom: 2.5rem;
}

.recom-section {
    margin-bottom: 3rem;
    scroll-margin-top: 1rem;
}

.recom-section-ttl {
    display: flex;
    gap: .6rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #3183D7;
    color: #2569b8;
    font-size: 1.3rem;
    font-weight: bold;
}

.recom-badge {
    padding: .15rem .55rem;
    border-radius: 4px;
    background-color: #e8590c;
    color: #fff;
    font-size: .75rem;
    letter-spacing: .05em;
}

.recom-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #fff;
}

.recom-item-pics {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: .5rem;
}

.recom-item-pics img {
    display: block;
    width: 105px;
    height: auto;
    border: 1px solid #e5e9ef;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    transition: transform .15s;
}

.recom-item-pics a:hover img {
    transform: translateY(-2px);
}

.recom-item-info {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .9rem;
    line-height: 1.8;
}

.recom-item-ttl {
    margin-bottom: .35rem;
    color: #2569b8;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.5;
}

.recom-item-date {
    display: inline-block;
    margin-bottom: .5rem;
    padding: 0 .6rem;
    border-radius: 999px;
    background-color: #f2f7fd;
    color: #6c757d;
    font-size: .8rem;
}

.recom-item-body {
    overflow-wrap: anywhere;
}

.recom-item-more {
    display: inline-flex;
    gap: .3rem;
    align-items: center;
    margin-top: .75rem;
    font-weight: bold;
    text-decoration: none;
}

.recom-item-more:hover span {
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .recom-item {
        flex-direction: column;
        padding: 1rem;
    }

    .recom-item-pics {
        flex-direction: row;
        justify-content: center;
    }
}

/* セミナーについて：リアルタイム／オンデマンドの比較表 */
.semguide-table {
    min-width: 640px;
    margin-bottom: 0;
    border: 1px solid #d6e4f5;
    font-size: .92rem;
    line-height: 1.8;
}

.semguide-table th,
.semguide-table td {
    padding: 1rem;
    border-color: #d6e4f5;
    vertical-align: top;
}

.semguide-table tbody th {
    width: 8.5em;
    background-color: #f2f7fd;
    color: #2569b8;
    font-weight: bold;
    white-space: nowrap;
}

.semguide-table thead th:first-child {
    background-color: #f2f7fd;
}

.semguide-col {
    width: 42%;
    color: #fff;
    font-size: 1.05rem;
    text-align: center;
    vertical-align: middle;
}

.semguide-col--rt {
    background-color: #3183D7 !important;
}

.semguide-col--od {
    background-color: #2e9d5b !important;
}

.semguide-link {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
}

.semguide-link:hover span {
    text-decoration: underline;
}

.semguide-price {
    margin-bottom: 0;
}

.semguide-price li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .2rem 0;
    border-bottom: 1px dashed #d6e4f5;
}

.semguide-price li span {
    color: #6c757d;
}

.semguide-list {
    margin-bottom: 0;
    padding-left: 1.2em;
}

.semguide-list li + li {
    margin-top: .4rem;
}

.semguide-flow {
    margin-bottom: 0;
}

.semguide-flow li {
    display: flex;
    gap: .6rem;
}

.semguide-flow li + li {
    margin-top: .5rem;
}

.semguide-flow li > span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.6em;
    height: 1.6em;
    margin-top: .15em;
    border-radius: 50%;
    background-color: #3183D7;
    color: #fff;
    font-size: .8rem;
    font-weight: bold;
}

.semguide-attention {
    padding: .75rem 1rem;
    border-left: 4px solid #e8590c;
    border-radius: 0 6px 6px 0;
    background-color: #fff4ec;
    color: #b8460a;
    font-weight: bold;
}

/* サービスについて */
.svc-lead {
    margin-bottom: 2rem;
    line-height: 1.9;
}

.svc-toc {
    margin-bottom: 3rem;
    padding: 1rem 1.25rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #f2f7fd;
}

.svc-toc ol {
    display: grid;
    /* 2列×2行（スマホは下の media query で縦1列） */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem 1.5rem;
    margin: 0;
}

/* スマホ：縦1列 */
@media (max-width: 575.98px) {
    .svc-toc ol {
        grid-template-columns: 1fr;
    }
}

.svc-toc a {
    display: flex;
    gap: .6rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.svc-toc a:hover {
    color: #2569b8;
    text-decoration: underline;
}

.svc-toc a span {
    flex: 0 0 auto;
    min-width: 4.8em;
    padding: .05rem .5rem;
    border-radius: 999px;
    background-color: #3183D7;
    color: #fff;
    font-size: .72rem;
    font-weight: bold;
    text-align: center;
}

.svc-point {
    scroll-margin-top: 1rem;
    line-height: 1.9;
}

.svc-sub-ttl {
    margin: 2rem 0 1rem;
    color: #2569b8;
    font-size: 1.05rem;
    font-weight: bold;
}

/* マケコメ比較（ビジター向け／会員向け） */
.svc-comment {
    padding: 1.25rem;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    background-color: #fff;
    font-size: .92rem;
}

.svc-comment--member {
    border: 2px solid #e8590c;
    background-color: #fff8f2;
}

.svc-comment-label {
    margin-bottom: .6rem;
    color: #2569b8;
    font-weight: bold;
}

.svc-comment--member .svc-comment-label {
    color: #b8460a;
}

.svc-comment-label small {
    display: block;
    font-size: .8rem;
    font-weight: normal;
}

/* セミナーの特徴カード */
.svc-feature {
    padding: 1.25rem;
    border: 1px solid #d6e4f5;
    border-left: 4px solid #3183D7;
    border-radius: 0 8px 8px 0;
    background-color: #fff;
    font-size: .92rem;
}

.svc-feature-ttl {
    margin-bottom: .5rem;
    color: #2569b8;
    font-size: 1rem;
    font-weight: bold;
}

/* 経済指標 */
.svc-indicator {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.svc-check {
    flex: 1 1 18rem;
    margin: 0;
}

.svc-check li {
    position: relative;
    padding-left: 1.8em;
}

.svc-check li + li {
    margin-top: .6rem;
}

.svc-check li::before {
    content: "";
    position: absolute;
    top: .55em;
    left: .3em;
    width: .5em;
    height: .9em;
    border-right: 3px solid #2e9d5b;
    border-bottom: 3px solid #2e9d5b;
    transform: rotate(45deg) translateY(-30%);
}

.svc-indicator-fig {
    flex: 0 1 550px;
    max-width: 100%;
    margin: 0;
}

.svc-indicator-fig img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
}

.svc-indicator-fig figcaption {
    margin-top: .4rem;
    color: #6c757d;
    font-size: .8rem;
    text-align: center;
}

/* セミナー詳細 */
.seminar-item-pic-link {
    flex: 0 0 auto;
    width: 300px;
    max-width: 40%;
}

.seminar-item-pic-link .seminar-item-pic {
    width: 100%;
    max-width: 100%;
}

.semdetail-back {
    display: inline-flex;
    gap: .3rem;
    align-items: center;
    font-size: .9rem;
    text-decoration: none;
}

.semdetail-back:hover span {
    text-decoration: underline;
}

.semdetail {
    padding: 1.5rem;
    border: 1px solid #d6e4f5;
    border-top: 4px solid #3183D7;
    border-radius: 8px;
    background-color: #fff;
}

.semdetail-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3183D7;
}

.semdetail-form {
    display: inline-block;
    margin-bottom: .5rem;
    padding: .1rem .7rem;
    border-radius: 4px;
    background-color: #3183D7;
    color: #fff;
    font-size: .8rem;
    font-weight: bold;
}

.semdetail-form--od {
    background-color: #2e9d5b;
}

.semdetail-ttl {
    margin-bottom: .75rem;
    color: #2569b8;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.5;
}

.semdetail-main {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.semdetail-pic {
    flex: 0 1 420px;
    max-width: 100%;
    height: auto;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
}

.semdetail-info {
    flex: 1 1 20rem;
    min-width: 0;
}

.semdetail-data {
    display: grid;
    grid-template-columns: auto 1fr;
    margin-bottom: 1.25rem;
    border-top: 1px solid #d6e4f5;
    font-size: .95rem;
}

.semdetail-data dt,
.semdetail-data dd {
    margin: 0;
    padding: .6rem .75rem;
    border-bottom: 1px solid #d6e4f5;
}

.semdetail-data dt {
    background-color: #f2f7fd;
    color: #2569b8;
    font-weight: bold;
    white-space: nowrap;
}

.semdetail-vacancy {
    color: #e8590c;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1;
}

.semdetail-closed {
    padding: .75rem 1rem;
    border-radius: 6px;
    background-color: #f1f3f5;
    color: #6c757d;
    text-align: center;
}

.semdetail-body {
    padding-top: 1.5rem;
    border-top: 1px dashed #d6e4f5;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.semdetail-body img,
.semdetail-body table {
    max-width: 100%;
    height: auto;
}

.semdetail-foot {
    margin-top: 1.5rem;
    text-align: right;
}

/* セミナーお申込み：申し込むセミナーの表示 */
.semapply-target {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid #d6e4f5;
    border-left: 4px solid #3183D7;
    border-radius: 8px;
    background-color: #f2f7fd;
}

.semapply-target p {
    margin: 0;
}

.semapply-target-label {
    color: #6c757d;
    font-size: .8rem;
}

.semapply-target-name {
    color: #2569b8;
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.5;
}

.semapply-target-date {
    font-size: .9rem;
}

/* セミナーお申込み：会員／非会員のボックス */
.semapply-box {
    padding: 1.5rem;
    border: 1px solid #d6e4f5;
    border-top: 4px solid #3183D7;
    border-radius: 8px;
    background-color: #fff;
}

.semapply-box--guest {
    border-top-color: #f08c00;
}

.semapply-box-ttl {
    margin-bottom: .75rem;
    font-size: 1.15rem;
    font-weight: bold;
}

@media (max-width: 575.98px) {
    .semapply-box {
        padding: 1rem;
    }

    .seminar-item-pic-link {
        width: 100%;
        max-width: 100%;
    }

    .semdetail {
        padding: 1rem;
    }
}

/* お問い合わせ：ステップ表示（入力 → 確認 → 完了） */
.info-steps {
    display: flex;
    gap: .5rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    counter-reset: info-step;
}

.info-steps li {
    flex: 1;
    padding: .5rem;
    border-radius: 6px;
    background-color: #eef2f7;
    color: #6c757d;
    font-size: .9rem;
    font-weight: bold;
    text-align: center;
    counter-increment: info-step;
}

.info-steps li::before {
    content: counter(info-step) ". ";
}

.info-steps li.is-current {
    background-image: linear-gradient(180deg, #54a0ec 0%, #3183D7 55%, #2569b8 100%);
    color: #fff;
}

/* お問い合わせ：入力・確認の表（PC は左に項目名、スマホは縦積み） */
.info-table {
    margin-bottom: 1.5rem;
    border-top: 1px solid #d6e4f5;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #d6e4f5;
}

.info-row dt {
    flex: 0 0 240px;
    padding: 1rem 1.25rem;
    background-color: #f2f7fd;
    font-weight: bold;
}

.info-row dd {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 1rem 1.25rem;
}

.info-required {
    display: inline-block;
    margin-left: .5rem;
    padding: .1rem .45rem;
    border-radius: 3px;
    background-color: #dc3545;
    color: #fff;
    font-size: .7rem;
    font-weight: bold;
    vertical-align: middle;
}

.info-error {
    margin: .3rem 0 0;
    color: #dc3545;
    font-size: .85rem;
}

/* 確認画面：本文は改行をそのまま表示 */
.info-comment {
    white-space: pre-wrap;
    word-break: break-word;
}

/* お問い合わせ：ボタンエリア */
.info-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.info-actions > .btn,
.info-actions > form {
    width: 260px;
}

/* お問い合わせ：完了メッセージ */
.info-complete {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #d6e4f5;
    border-top: 4px solid #3183D7;
    border-radius: 8px;
}

.info-complete-ttl {
    color: #2569b8;
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 767.98px) {
    .info-row {
        display: block;
    }

    .info-row dt {
        padding: .6rem 1rem;
    }

    .info-row dd {
        padding: .75rem 1rem 1rem;
    }

    .info-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .info-actions > .btn,
    .info-actions > form {
        width: 100%;
    }
}

/* TOP：会員ページパネル内の i-tool バナー */
.top-itool-banner {
    display: block;
    margin-top: 1.5rem;
}

/* インライン画像だと下にすき間ができるため block にして中央寄せ */
.top-itool-banner img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid #e3e8ef;
    transition: opacity .2s;
}

.top-itool-banner:hover img,
.top-itool-banner:focus-visible img {
    opacity: .8;
}
