﻿:root {
    --primary-color: #005A9C;
    --primary-light: #eef6fc;
    --primary-dark: #004070;
    --accent-color: #F39C12;
    --bg-light: #f4f8fb;
    --text-dark: #333;
    --text-gray: #666;
    --white: #ffffff;
    --text-sub: #64748b;
    --alert-color: #c53030;
    --alert-bg: #fff5f5;
    --border-color: #ddd;
    --trust-blue: #004098;
    --trust-blue-dark: #00337a;
    --accent-orange: #f97316;
    --accent-orange-light: #fff7ed;
    --bg-slate: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-strong: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


*, *::before, *::after {
    box-sizing: border-box;
}


body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    padding-top: 0px;
}

@media screen and (min-width: 769px) {
  .br-sp {  display: none;}
}
@media screen and (max-width: 768px) {
  .br-pc {  display: none;}
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
h1, h2, h3 { margin: 0; }

dl { margin: 0; }
dd { margin: 0; }

p { margin: 0; }

.text-center { text-align:center; }
.text-red { color: #CB0813 !important; }
.font-bold { font-weight: bold !important; }


.notes { 
    font-size: 0.87rem !important;
    line-height: 1.6;
    color: var(--text-sub);
}

.reqs-caution {
    font-size: 0.7rem !important;
    margin-top: 10px !important;
    color:#718096;
    line-height:1.3;
}

.chevron-right {
    margin-left:10px;
}

.text-st {
    font-weight: bold;
    font-size:1.1rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 15px;
}

.flex-direction {
    flex-direction: column;
}


/* --- ヘッダー --- */
header {
    position: relative; /* もしくは static */
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom:5px;

}
.header-main {
    background-color: var(--white);
    padding: 10px 0;
}
.header-main-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area {
    display: flex;
    flex-direction: column;
}
.logo-area img { width: 75%; }
.service-name {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-left: 38px;
    font-weight: normal;
}
.action-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}
.btn-outline:hover { background: #f0f8ff; }

@media (max-width: 768px) {
    .logo-area img { width: 60%; }
    .service-name {
	font-size: 0.7rem;
	margin-left: 20px;
    }
}

/* --- フッター --- */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    font-size: 0.8rem;
}
.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 15px;
    text-align:center;
    font-size:0.8rem;
    color:#fff;
}


/*--パンくず--*/
.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-gray);
}
.breadcrumb a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}
.pankuzu {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 8px 0;
}
.pankuzu li {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.pankuzu li a {
    padding-right: 15px;
}
.pankuzu li a:after {
    content: ">";
    color: #333;
    padding-left: 15px;
}
.pankuzu li span {
    padding: 0 15px;
}
@media screen and (max-width: 768px) {
    .pankuzu {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 8px 10px;
    }
    .pankuzu li a {
        padding-right: 10px;
    }
    .pankuzu li a:after {
        content: ">";
        color: #333;
        padding-left: 10px;
    }
    .pankuzu li span {
        padding: 0 10px;
    }
}


/* --- 共通 --- */
dl.detail-list {
    margin-top:10px;
    display: grid;
    grid-template-columns: 200px 1fr;
    border-top: 1px solid var(--border-color);
}
dl.detail-list dt {
    font-weight: bold;
    background-color: #fafafa;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
}
dl.detail-list dd {
    background-color: #ffffff;
    margin: 0;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    dl.detail-list { grid-template-columns: 1fr; }
    dl.detail-list dt {
        border-bottom: none;
        background: #eef6fc;
    }
}


/* --- サービス,ガイド,セキュリティ --- */
/* --- セクション共通 --- */
.section-box {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .section-box {
        padding: 25px;
        margin-bottom: 35px;
    }
}

.box-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    border-left: 6px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .box-title {
        font-size: 1.4rem;
    }
}
/* --- ページタイトル　ガイド、セキュリティ,サービス --- */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}
.page-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.page-header p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .page-header {
        margin-bottom: 25px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
}

.desktop-view { display: none; }
.mobile-view { display: block; }

@media (min-width: 768px) {
    .desktop-view { display: block !important; }
    .mobile-view { display: none !important; }
}

 /*モーダル（TOP）*/
.modal_appl {
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color:rgba(0,0,0,0.5);
}
.modal-content_appl {
    background-color:#fefefe;
    margin:5% auto auto auto;
    padding:20px;
    border:1px solid #888;
    width:80%;
    max-width:600px;
    border-radius: 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.desktop-container {
    padding: 40px;
    max-width: 640px;
}
.desktop-container p {
    margin:0;
}
.desktop-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
}
.qr-area {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    display: inline-block;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gray-200);
    margin-bottom: 16px;
}
.qr-img {
    width: 128px;
    height: 128px;
    opacity: 0.8;
}


/********************
 --- TOP --- 
********************/
/* --- TOP内_共通 --- */
.section-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.support-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.support-btn {
    background: var(--white);
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.support-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}


/* --- メインセクション --- */
.welcome-section {
    margin-bottom: 0px;
    text-align: center;
}
.welcome-section h1 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #111827;
}
.welcome-section p {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    .welcome-section { text-align: left; }
    .welcome-section h1 { font-size: 1.875rem; }
    .welcome-section p {
        margin-top: 8px;
        font-size: 1rem;
    }
}

/* --- ログイン --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 24px;
    }
    .col-7 { grid-column: span 7; }
    .col-5 { grid-column: span 5; }
    .col-4 { grid-column: span 4; }
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 768px) {
    .card { padding: 20px; }
}
.card:hover {
 　　　transform: translateY(-2px);
　　　 box-shadow: var(--shadow-md);
}
.card-login p { margin-top:0px; }

.login-tag {
    background: #dbeafe;
    color: var(--trust-blue);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
}
.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1f2937;
}
.card-title span {
    font-size: 0.9rem;
}
.card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .card-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    .card-title span {
        font-size: 1.1rem;
    }
    .card-desc { margin-bottom: 10px; }
}

.nisa-btn-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
    margin-top: 5px;
}
@media (min-width: 768px) {
    .nisa-btn-area > .desktop-view {
        width: 80%;
        display: flex !important;
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .nisa-btn-area {
        margin-top: 5px;
    }
    .nisa-btn-area > .mobile-view {
        width: 100%;
        display: flex !important;
        justify-content: center;
    }
}

.btn-rst {
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
}
.btn-login {
    background: var(--trust-blue);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.0rem;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: 0.2s;
    margin-top: 10px;
    width:60%;
}
@media (min-width: 768px) {
    .btn-login {
        font-size: 1.125rem;
        padding: 15px;
        margin-bottom:60px;
    }
}
.btn-login:hover { background: var(--trust-blue-dark); }
.btn-login img {
    margin-left: 8px;
    transition: transform 0.2s;
}
.btn-login:hover img { transform: translateX(4px); }

/* 装飾用背景アイコン */
.bg-lock-icon {
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 192px;
    height: 192px;
    color: #f8fafc;
    z-index: 0;
}

/* 口座開設 */
.card-orange {
    background: var(--accent-orange);
    color: #fff;
    box-shadow: var(--shadow-md);
    border: none;
}
.nisa-tag {
    background: rgba(255,255,255,0.2);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
}

.card-orange .card-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
}
.card-orange .card-title span { font-size: 0.9rem; }
.card-orange p {
    margin-top:0px;
    font-weight: bold;
    font-size: 0.9rem;
}

.card-orange .card-desc {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}
@media (min-width: 768px) {
        .card-orange .card-title { font-size: 1.5rem; }
        .card-orange .card-title span { font-size: 1.1rem; }
        .card-orange p { font-size: 1.0rem; }
}

.btn-nisa {
    background: #fff;
    color: var(--accent-orange);
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: var(--shadow-strong);
    transition: 0.2s;
    margin-top: 0px;
}
.btn-nisa:hover { background: #fffaf5; }
@media (min-width: 768px) {
    .btn-nisa {
        padding: 15px;
        font-size: 1.125rem;
    }
}


/* --- 新着情報 --- */
.news-section {
    max-width: 1000px;
    margin: 15px auto 40px; /* メインビジュアルに少し被せるか、直下に配置 */
    padding: 0 5px;
    position: relative;
    z-index: 10;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 15px 20px;
    border: 1px solid #edf2f7;
}
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}
.news-header h2 {
    font-size: 1.2rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}


@media (min-width: 768px) {
    .news-section {
        margin: 30px auto 40px;
    }
    .news-card {
        padding: 25px 30px;
    }
}
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-item {
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.news-item:last-child { border-bottom: none; }

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    flex-shrink: 0;
}
.news-date {
    font-size: 0.85rem;
    color: #888;
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 768px) {
    .news-item {
        padding: 10px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .news-meta {
        min-width: auto;
    }
}
.news-title-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    flex-grow: 1;
    display: block;
}
.news-title-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.news-title {
    font-size: 0.95rem;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .news-title {
        width: 100%;
        margin-top: 1px;
    }
}

/* カテゴリラベル */
.label {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}
.label-info { background-color: var(--primary-color); } /* 通常 */
.label-imp { background-color: #e53e3e; } /* 重要 */
.label-mnt { background-color: var(--text-gray); } /* メンテナンス */


/* 注意事項 */
.important-notice {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: start;
    gap: 10px;
    font-weight: bold;
    font-size: 0.95rem;
}
.important-txt {
    font-weight:normal;
    font-size:0.9rem;
    color:#444;
}

/* --- マーケット・ファンド --- */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}
.link-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #edf2f7;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}
.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 90, 156, 0.15);
    border-color: #dbeafe;
}
.link-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.link-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.5;
}

.link-card:hover .ext-link-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: #eef6fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
}

.ext-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
    background: var(--white);
    width: 80%;
}


/* --- メリット --- */
.merits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin-bottom: 60px;
}
.merit-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 40px 25px;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}
.merit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 90, 156, 0.15);
    border-color: #eef3f7;
}
.merit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), #4facfe);
}
.merit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: bold;
}
.merit-number {
    display: inline-block;
    background-color: #eef6fc;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.merit-icon-area {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.merit-catch {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--text-dark);
    background: #fffbf0; 
    padding: 8px;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .merit-card {
        padding: 25px;
    }
    .merit-catch {
        margin-bottom: 5px;
        padding: 3px;
    }
}

.highlight-num {
    color: #e53e3e;
    font-size: 1.8rem;
    font-family: Arial, sans-serif;
    font-weight: 900;
    margin: 0 5px;
}
.merit-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    text-align: left;
}
.merit-notice {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.6;
    text-align: left;
    margin-top: 0;
}


/* --- お申込みの流れ --- */
.flow-section {
    background: var(--white);
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 80px;
}
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #f1f5f9;
}
.tab-btn {
    padding: 16px;
    cursor: pointer;
    font-weight: 800;
    color: var(--text-gray);
    border: none;
    background: transparent;
    border-bottom: 4px solid transparent;
    transition: 0.3s;
    font-size: 1.1rem;
}
.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.flow-content { display: none; }
.flow-content.active {
    display: block;
    animation: fadeIn03 0.4s ease forwards;
}

@keyframes fadeIn03 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
         transform: translateY(0);
    }
}

.flow-group { margin-bottom: 60px; }
.flow-group:last-child {
    margin-bottom: 0;
    padding-top: 50px;
    border-top: 1px dashed #e2e8f0;
}

.method-header {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 15px 24px;
    border-radius: 12px;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.flow-step {
    text-align: center;
    position: relative;
    margin-top:20px;
    width: 100%;
}

@media (min-width: 769px) {
    .flow-section { padding: 50px 40px; }
    .tab-btn { padding: 16px 32px; }
    .flow-step { flex: 1; }
    .flow-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 45px;
        right: -10px;
        width: 12px;
        height: 12px;
        border-top: 3px solid #cbd5e1;
        border-right: 3px solid #cbd5e1;
        transform: rotate(45deg);
    }
}
@media (max-width: 768px) {
    .flow-steps {
        flex-direction: column;
        gap: 40px;
    }
    .flow-step:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%) rotate(135deg);
        width: 12px;
        height: 12px;
        border-top: 3px solid #cbd5e1;
        border-right: 3px solid #cbd5e1;
    }
}
.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.step-title {
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-dark);
}
.step-desc {
    font-size: 0.875rem;
    color: var(--text-gray);
    text-align: left;
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    min-height: 70px;
    line-height: 1.6;
}
.btn-reservation {
    display: inline-block;
    margin-top: 0px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: 0.3s;
}
.btn-reservation:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* ---  留意事項 --- */
.caution-section {
    background-color: #f5f5f5;
    padding: 20px;
    margin-top: 60px;
    margin-bottom: 30px;
    border-top: 4px solid #ddd;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #555;
    position: relative;
}
.caution-title {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* 開閉するコンテンツエリア */
.caution-content {
    position: relative;
    height: 200px;
    overflow: hidden;
    transition: height 0.5s ease;
}

/* クラス "open" がついた時は全表示 */
.caution-content.open {
    height: auto;
    overflow: visible;
}
.caution-list {
    list-style: disc;
    padding-left: 20px;
    line-height: 1.6;
    margin: 0;
}
.caution-list li {
    margin-bottom: 8px;
}

.caution-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(245,245,245,0), rgba(245,245,245,1) 80%);
    pointer-events: none;
    transition: opacity 0.3s;
}
.caution-content.open .caution-gradient {
    opacity: 0;
}
.caution-btn-area {
    text-align: center;
    margin-top: 15px;
}
.btn-caution-toggle {
    background: #e0e0e0;
    border: none;
    padding: 8px 30px;
    border-radius: 20px;
    color: #333;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-caution-toggle:hover {
    background: #d0d0d0;
}

@media (min-width: 769px) {
    .caution-section {
        padding: 30px;
    }
}


/********************
 --- ガイド --- 
********************/
/* --- レイアウト --- */
.wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}
@media (max-width: 768px) {
    .wrapper { grid-template-columns: 1fr; }
}
.sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.sidebar h3 {
    font-size: 1rem;
    margin-top: 0;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}
@media (max-width: 768px) {
    .sidebar {
	position: static;
	margin-bottom: 0px;
    }
}
.nav-list {
    padding:0;
    list-style:none;
}
.nav-list ul {
    padding-left: 20px;
    margin-top: 5px;
    list-style: none;
    font-size: 0.9rem;
}

.nav-list li { margin-top: 5px; }

.nav-list a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    transition: 0.2s;
    color: #555;
    text-decoration: none;
    line-height: 1.5;
}

.nav-list a:hover {
    background: #eef6fc;
    color: var(--primary-color);
}

.nav-list a img {
    flex-shrink: 0;
    margin-top: 2px;
}

.guidebook_img img {
    border: 1px solid #ddd;
    width:25%;
}
@media (max-width: 768px) {
    .guidebook_img {
	text-align: center;
    }
    .guidebook_img img{ width:90%; }
}

/* 手順ステップ */
.step-box {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 20px;
}
.step-num {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}
.step-content {
    flex: 1;
    margin-left: 0;
}
.step-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.step-content p {
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 0;
}
.step-content img {
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width:75%;
}

@media (max-width: 768px) {
    .step-content img { width:100%;}
}


/********************
 --- セキュリティ --- 
********************/
/* --- セキュリティ対策カード --- */
.measures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.measure-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}
.measure-icon {
    margin-bottom: 20px;
    display: inline-block;
    background: var(--primary-light);
    width: 80px; height: 80px;
    line-height: 80px;
    border-radius: 50%;
}
.measure-icon img {
    margin-top: 10px;
    text-align: center;
    align-items: center;
}
.measure-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: var(--text-dark);
}
.measure-card p {
    color: #555;
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 0;
}

.request-list {
    list-style: none;
    padding: 0;
}
.request-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.request-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.req-num {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ccc;
    font-family: Arial, sans-serif;
    min-width: 40px;
}
.req-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}
.req-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

@media (max-width: 768px) {
    .request-item {
        gap: 15px;
    }
}


/********************
 --- サービス --- 
********************/
/* --- サービス内容 --- */
.func-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.func-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.func-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}
.func-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}
@media (max-width: 768px) {
    .func-grid { grid-template-columns: 1fr; }
}

/* --- アコーディオン --- */
.accordion-container {
    max-width: 900px;
    margin: 0 auto 60px;
}
.accordion-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
}
.accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.accordion-item[open] {
    border-color: var(--primary-color);
}
.accordion-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-dark);
    list-style: none;
    position: relative;
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-content {
    padding: 0 25px 25px 85px; 
    border-top: 1px solid #f0f0f0;
    animation: fadeIn02 0.5s ease;
}
@keyframes fadeIn02 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .accordion-content { padding: 0 20px 20px; }
    .accordion-header {
        padding: 15px;
        font-size: 1rem;
    }
}

.acc-toggle-icon {
    margin-left: auto;
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-toggle-icon::before,
.acc-toggle-icon::after {
    content: "";
    position: absolute;
    background-color: #94a3b8;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-toggle-icon::before {
    width: 16px;
    height: 2px;
}

.acc-toggle-icon::after {
    width: 2px;
    height: 16px;
}
.accordion-item[open] .acc-toggle-icon::after {
    height: 0;
    opacity: 0;
    background-color: var(--primary-color);
}
.accordion-item[open] .acc-toggle-icon::before {
    background-color: var(--primary-color);
    width: 18px;
}

/* --- ご利用時間 --- */
.attn-box {
    background:#fffaf0;
    border:1px solid #fbd38d;
    padding:15px;
    border-radius:8px;
    margin-bottom:20px;
}
.attn-box .attn-txt {
    margin:0;
    font-weight:bold;
    color:#c05621;
    display:flex;
    align-items:center;
    gap:10px;
}
.attn-box .attn-desc {
    margin:5px 0 0 0px;
    font-size:0.9rem;
    color:#555;
}

.time-table {
    width: 100%;
    border-collapse: collapse;
}
.time-table th, .time-table td {
    border: 1px solid var(--border-color);
    padding: 8px;
    text-align: center;
}
.time-table th {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: bold;
}

@media (min-width: 768px) { 
    .time-table .wid01 {width:30%;}
}

@media (max-width: 768px) {
    .time-table .wid01 {width:23%;}
    .time-table .wid02 {width:23%;}
}

/* --- 手数料 --- */
.fee-comparison {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}
.fee-box {
    flex: 1;
    min-width: 280px;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
}
.fee-box.internet {
    border-color: var(--accent-color);
    background-color: #fffaf0;
}

.discount-tag {
    background: #e53e3e;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
}

.fee-box h4 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}
.fee-price01 {
    font-size:0.9rem;
    color:#555;
    font-weight:normal;
}
.fee-price02 {
    font-weight: bold;
    color: #e53e3e;
    font-size:2.5rem;
    line-height:1.1;
}
.fee-price03 {
    font-weight: bold;
    font-size:1.3rem;
    color:#666;
    margin-top:10px;
}

.service-desc {
    margin-top:15px;
    font-size:0.85rem;
    color:#666;
}

.fee-text {
    font-weight: bold;
    font-size:1.1rem;
    margin-top:10px;
}

@media (max-width: 768px) {
    .fee-text {
        font-size:1.0rem;
    }
    .fee-comparison {
        flex-wrap: nowrap !important;
        gap: 4px !important; 
        align-items: stretch !important;
        margin: 20px 0 !important;
    }
    .fee-box {
        min-width: 0 !important;
        border-width: 1px !important;
    }
    .fee-box.internet {
        flex: 1.1 !important; 
        padding: 18px 10px 12px !important; 
    }
    .fee-box:not(.internet) {
        flex: 0.9 !important; 
        background-color: #fafafa !important; 
        align-self: center !important;
        padding: 20px 4px !important;
    }
    .fee-box.internet h4 {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    .fee-box:not(.internet) h4 {
        font-size: 0.75rem !important;
        color: #666 !important;
        margin-bottom: 0px !important;
    }
    .fee-price01 {
        font-size: 0.65rem !important;
    }
    .fee-price02 {
        font-size: 1.6rem !important;
        letter-spacing: -1px !important;
    }
    .fee-price03 {
        font-size: 0.7rem !important;
        color: #888 !important;
        margin-top: 12px !important;
    }
    .discount-tag {
        font-size: 0.6rem !important;
        padding: 3px 6px !important;
        top: -11px !important;
        white-space: nowrap !important;
    }
    .fee-box.internet p:last-child {
        font-size: 0.6rem !important;   
        margin-top: 6px !important;
        line-height: 1.2 !important;
    }
    .vs-icon {
        transform: none !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .vs-icon img {
        width: 45px !important;
        height: auto !important;
    }
}


/* --- 推奨環境 --- */
.kankyou-table {
    width: 100%;
    border-collapse: collapse;
}
.kankyou-table th, .kankyou-table td {
    border: 1px solid var(--border-color);
    padding: 5px;
    text-align: center;
}
.kankyou-table th {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
}
@media (min-width: 768px) { 
    .kankyou-table .wid01 {width:35%;}
    .kankyou-table .wid02 {width:65%;}
}

.app-btn {
    display:inline-block;
    background: var(--primary-color);
    color:#fff;
    padding:15px 40px;
    border-radius:50px;
    font-weight:bold;
    font-size:1.1rem;
    box-shadow: 0 4px 10px rgba(0,90,156,0.3);
    margin-bottom:80px;
}
