/* 利用規約・プライバシーポリシー 共通スタイル */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

/* レイアウト基本設定 */
.guide-main {
    padding-top: 15px;
}

/* パンくずリスト */
.guide-main .routes-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 17px;
    padding: 0;
}

@media screen and (max-width: 1199px) {
    .guide-main .routes-wrapper {
        padding: 0 1.5rem;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 991px) {
    .guide-main .routes-wrapper {
        padding: 0 10px;
    }
}

/* コンテンツセクション */
.guide-main .section-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto 63px;
}

.guide-main .section-content .content-wrapper {
    flex: 1;
    min-width: 0;
}

@media screen and (max-width: 1400px) {
    .guide-main .section-content .content-wrapper {
        padding: 0 1.5rem;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 991px) {
    .guide-main .section-content {
        display: block;
    }

    .guide-main .section-content .content-wrapper {
        padding: 0;
    }
}

.guide-main .section-content .content-wrapper .main-content {
    max-width: 900px;
    width: 100%;
}

@media screen and (max-width: 991px) {
    .guide-main .section-content .content-wrapper .main-content {
        padding: 0 13px;
        box-sizing: border-box;
    }
}

/* ページヘッダー */
/* .guide-header {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e92b7 100%);
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.15);
    position: relative;
    overflow: hidden;
} */
.guide-header {
    /* text-align: center; 修正 E.Nishikawa 20260401 */
    text-align: left; /* 修正 E.Nishikawa 20260401 */
    padding: 10px 20px; /* 修正 E.Nishikawa */
    /* background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e92b7 100%); */
    border-radius: 12px;
    margin-bottom: 50px;
    /* box-shadow: 0 6px 20px rgba(30, 60, 114, 0.15); */
    position: relative;
    overflow: hidden;
}
.guide-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 100%
    ); */
    pointer-events: none;
}

.guide-header_title {
    font-family:
        "Helvetica Neue", "Noto Sans JP", Arial, "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    /* font-size: 36px; */
    font-size: 30px;
    line-height: 1.4;
    font-weight: 700;
    /* color: #ffffff; */
    margin: 0;
    padding: 0;
    letter-spacing: 0.05em;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
    .guide-header {
        padding: 35px 20px;
        margin-bottom: 35px;
    }

    .guide-header_title {
        font-size: 26px;
    }
}

/* コンテンツエリア */
.legal-content {
    font-family:
        "Helvetica Neue", "Noto Sans JP", Arial, "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: #333;
}

.legal-content h2 {
    font-family:
        "Helvetica Neue", "Noto Sans JP", Arial, "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1e3c72;
    margin-top: 50px;
    margin-bottom: 24px;
    padding: 5px 0 5px 24px;
    background: linear-gradient(135deg, #f8f9fc 0%, #e8ecf4 100%);
    border-left: 5px solid #1e3c72;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.08);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h2::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 4px 0 0 4px;
}

.legal-content p {
    font-family:
        "Helvetica Neue", "Noto Sans JP", Arial, "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    margin-bottom: 22px;
    text-align: justify;
    line-height: 1.9;
}

/* add start e.nishikawa */
.legal-content p.align-right {
    text-align: right;
    padding-right: 20px; /* 右端に詰まりすぎないように任意 */
}
.legal-content p.with-top-line {
    border-top: 1px solid #2a5298;
    padding-top: 10px; /* 文字が線にくっつかないように */
    margin-top: 20px; /* 上の段落との余白 */
    text-align: right;
    padding-right: 20px; /* 右端に詰まりすぎないように任意 */
}
/* add end e.nishikawa */

.legal-content ul {
    margin: 24px 0 32px 0;
    padding-left: 0;
}

.legal-content ul li {
    font-family:
        "Helvetica Neue", "Noto Sans JP", Arial, "Hiragino Sans",
        "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    margin-bottom: 14px;
    padding-left: 30px;
    position: relative;
    line-height: 1.85;
}

.legal-content ul li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 11px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(30, 60, 114, 0.3);
}
.legal-content ul li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 11px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(30, 60, 114, 0.3);
}
.legal-content ol {
    counter-reset: my-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-content ol li {
    font-size: 16px;
    line-height: 1.5;
    padding-left: 30px;
    position: relative;
}

.legal-content ol li::before {
    content: counter(my-counter);
    counter-increment: my-counter;
    background-color: #333;
    border: 1px solid;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 22px;
    width: 22px;
    color: #ffffff;
    font-size: 85%;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.legal-content a {
    color: #1e3c72;
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 60, 114, 0.3);
    transition: all 0.25s ease;
    font-weight: 500;
}

.legal-content a:hover {
    color: #2a5298;
    border-bottom-color: #2a5298;
    background-color: rgba(30, 60, 114, 0.05);
}

/* 連絡先ボックス */
.legal-contact {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    padding: 28px;
    border-radius: 8px;
    border-left: 5px solid #1e3c72;
    margin-top: 35px;
    box-shadow: 0 3px 12px rgba(30, 60, 114, 0.08);
}

.legal-contact strong {
    color: #1e3c72;
    font-weight: 700;
}

/* 最終更新日 */
.last-update {
    margin-top: 65px;
    padding-top: 28px;
    border-top: 2px solid #e8ecf4;
    text-align: right;
    font-size: 14px;
    color: #777;
    font-style: italic;
}

/* フッターエリア */
.legal-footer {
    text-align: center;
    margin-top: 55px;
    padding: 45px 0 20px;
    border-top: 2px solid #e8ecf4;
}

/* 戻るボタン */
.btn-back {
    display: inline-block;
    padding: 16px 55px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn-back:hover::before {
    left: 100%;
}

.btn-back:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.35);
}

.btn-back:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .legal-content {
        font-size: 14px;
    }

    .legal-content h2 {
        font-size: 19px;
        margin-top: 40px;
        margin-bottom: 20px;
        padding: 14px 0 14px 18px;
    }

    .legal-content ul {
        margin: 20px 0 28px 0;
    }

    .legal-content li {
        padding-left: 25px;
    }

    .legal-contact {
        padding: 22px;
    }

    .btn-back {
        padding: 14px 40px;
        font-size: 15px;
    }

    .legal-footer {
        margin-top: 45px;
        padding: 35px 0 15px;
    }

    .last-update {
        margin-top: 50px;
        padding-top: 22px;
    }
}

/* 新規追加　20260227 E.Nishikawa　*/
.responsive-iframe {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 の比率（9 ÷ 16 = 0.5625） */
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.text-red {
    color: red;
}
