﻿@charset "utf-8";

/*--------------------------------
passkey.css
----------------------------------*/


/*==================================================
  基本設定
==================================================*/

.w1000 {
    max-width: 1000px;
    margin: auto;
}

.type1 {
    background: #cbddf9;
    padding: 10px;
    color: #17489c;
    font-weight: bold;
    margin-top: 50px;
    font-size: 30px;
}

.type2 {
    background: #c5cddb;
    padding: 10px;
    color: #030337;
    font-weight: bold;
    margin-top: 50px;
    font-size: 30px;
}

.type3 {
    width: 100%;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #2f609d;
    border-top: solid 2px #2f609d;
    border-bottom: solid 2px #2f609d;
    margin-top: 5rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

.bar1 {
    text-align: center;
    margin: 4rem 0 -2rem;
    font-weight: bold;
    font-size: 28px;
    background-color: #117cda;
    color: #fff;
    padding-left: 20px;
}

.bar2 {
    text-align: center;
    margin: 4rem 0 -2rem;
    font-weight: bold;
    font-size: 28px;
    background-color: #030337;
    color: #fff;
    padding-left: 20px;
}


@media (max-width: 767px) {

    .type1, .type2 {
        font-size: 24px;
        margin-right: -15px;
        margin-left: -15px;
    }

    .type3 {
        font-size: 20px;
    }
}


/*==================================================
  お願い
==================================================*/

.passkey-info {
    background-color: #ffdfdf;
    color: #ff0000;
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    margin: 20px;
    text-align: center;
}

@media (max-width: 767px) {

    .passkey-info {
        text-align: left;
    }
}


/*==================================================
  目次
==================================================*/

#passkey-menu {
    max-width: 800px;
    margin: 0 auto;
    border: solid 5px #eee;
    padding: 15px 20px;
    border-radius: 20px;
}

#passkey-menu h3 {
    margin: 0 0 20px;
    padding: 0 0 10px;
    border-bottom: 2px solid #333;
    font-size: 20px;
}

#passkey-menu .menu-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

#passkey-menu .menu-columns .menu-left p {
    font-weight: bold;
    font-size: 18px;
    background-color: #117cda;
    color: #fff;
    padding-left: 20px;
}

#passkey-menu .menu-columns .menu-right p {
    font-weight: bold;
    font-size: 18px;
    background-color: #030337;
    color: #fff;
    padding-left: 20px;
}

#passkey-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#passkey-menu li {
    border-bottom: 1px solid #ddd;
}

#passkey-menu .menu-columns .menu-left a {
    color: #117cda;
}

#passkey-menu .menu-columns .menu-right a {
    color: #030337;
}

#passkey-menu a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    font-weight: bold;
}

#passkey-menu a:hover {
    background-color: #f5f5f5;
}

.back-to-top {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 15px;
}

.back-to-top a {
    font-size: 0.8em;
    font-weight: normal;
}

@media screen and (max-width: 600px) {

    #passkey-menu .menu-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #passkey-menu .menu-columns .menu-right {
        margin-top: 20px;
    }

}


/*==================================================
  2. アイネット証券では、こんな場面で
     パスキー認証を利用します
==================================================*/

.usage-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
    box-sizing: border-box;
}

.usage-card {
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.usage-image {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.usage-content {
    flex-grow: 1;
}

.usage-title {
    margin: 0 0 8px 0;
    font-size: 17px;
    color: #1e293b;
    font-weight: bold;
    line-height: 1.4;
    border-bottom: 2px solid #5b8bd3;
    padding-bottom: 4px;
    display: inline-block;
}

.usage-text {
    margin: 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .usage-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 15px;
    }

    .usage-card {
        padding: 16px;
        gap: 12px;
    }

    .usage-image {
        width: 56px;
        height: 56px;
    }

    .usage-title {
        font-size: 16px;
    }
}


/*==================================================
  3. 従来のパスワード方式との違い
==================================================*/

.comparison-table {
    width: 100%;
    max-width: 800px;
    table-layout: fixed;
    border-collapse: collapse;
    margin: auto;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 160px;
    background-color: #666;
    color: #fff;
}

.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
    width: calc((100% - 160px) / 2);
}

.comparison-table th,
.comparison-table td {
    padding: 30px 10px;
    border: 1px solid #fff;
    text-align: center;
    overflow-wrap: break-word;
}

.comparison-table th:nth-child(2) {
    background-color: #1f4e79;
    color: #fff;
}

.comparison-table td:nth-child(2) {
    background-color: #d9eaf7;
    color: #000;
}

.comparison-table th:nth-child(3) {
    background-color: #ef6a13;
    color: #fff;
}

.comparison-table td:nth-child(3) {
    background-color: #fff2cc;
    color: #000;
}

@media (max-width: 768px) {

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        width: 100px;
    }

    .comparison-table th:nth-child(2),
    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(2),
    .comparison-table td:nth-child(3) {
        width: calc((100% - 100px) / 2);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
        font-size: 14px;
    }
}


/*==================================================
  吹き出し
==================================================*/

.speech-bubble {
    position: relative;
    margin: auto;
    display: block;
    max-width: 800px;
    padding: 15px 20px;
    background: #f5f5f5;
    border: 2px solid #333;
    border-radius: 8px;
    color: #333;
}

.speech-bubble::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 198px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid #333;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    top: -14px;
    left: 200px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid #f5f5f5;
}

@media (max-width: 768px) {

    .speech-bubble::before {
        left: 78px;
    }

    .speech-bubble::after {
        left: 80px;
    }
}


/*==================================================
  4. パスキー認証の主なメリット
==================================================*/

.merit-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
    box-sizing: border-box;
}

.merit-card {
    border: 3px solid #dfe3e6;
    padding: 20px 25px 30px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 15px;
}

.merit-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.merit-badge {
    background: linear-gradient(90deg, #17489c, #6491d6);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 16px;
    white-space: nowrap;
    flex-shrink: 0;
    border-left: 6px solid #0b2552;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 4px 10px rgba(23, 72, 156, 0.25);
}

.merit-title {
    color: #0059b3;
    font-size: 18px;
    font-weight: bold;
    margin-left: 15px;
    line-height: 1.4;
}

.merit-description {
    font-size: 14.5px;
    line-height: 1.6;
    color: #000;
    flex-grow: 1;
}

.merit-image-placeholder {
    width: 100%;
    max-width: 330px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .merit-container {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
    }

    .merit-card {
        padding: 15px 15px 25px;
    }

    .merit-header {
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .merit-badge {
        font-size: 16px;
        padding: 6px 12px;
        margin-top: 2px;
    }

    .merit-title {
        font-size: 16px;
        margin-left: 10px;
    }

    .merit-description {
        font-size: 14px;
    }

    .merit-image-placeholder {
        height: auto;
        aspect-ratio: 260 / 120;
        padding-top: 4%;
    }
}


/*==================================================
  5. 認証アプリについて
==================================================*/

.trade-env-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    box-sizing: border-box;
}

.trade-env-card {
    background-color: #fff;
    border-width: 2px;
    border-style: solid;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.trade-env-title {
    margin: 0;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.trade-env-content {
    padding: 24px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.trade-env-text {
    margin: 0 0 16px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
    flex-grow: 1;
}

.trade-env-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14.5px;
    border-width: 1px;
    border-style: solid;
    line-height: 1.5;
    min-height: 80px;
    box-sizing: border-box;
}

.color-sp {
    border-color: #23abe0;
}

.color-sp .trade-env-title {
    background-color: #23abe0;
    color: #fff;
}

.color-sp .trade-env-highlight {
    background-color: #eff6ff;
    color: #ff3b19;
    border-color: #bfdbfe;
    font-size: 18px;
    margin-bottom: 20px;
}

.color-pc {
    border-color: #02073f;
}

.color-pc .trade-env-title {
    background-color: #02073f;
    color: #fff;
}

.color-pc .trade-env-highlight {
    background-color: #eff6ff;
    color: #ff3b19;
    border-color: #bfdbfe;
    font-size: 18px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    .trade-env-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .trade-env-title {
        padding: 12px 15px;
    }

    .trade-env-content {
        padding: 20px 15px 0;
    }

    .trade-env-text {
        font-size: 16px;
    }

    .trade-env-highlight {
        font-size: 14px;
        padding: 10px;
    }
}


/*==================================================
  パスキー認証の利用開始までの流れ
==================================================*/

.flow-wrapper {
    max-width: 1000px;
    margin: 50px auto 0;
    border: 4px solid #17489c;
    box-sizing: border-box;
    font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
    border-radius: 25px;
}

.flow-header {
    background-color: #17489c;
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    margin: 0;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 15px;
}

.flow-content {
    padding: 25px 30px;
}

.flow-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-text-area {
    flex: 1;
}

.flow-step-title {
    background: linear-gradient(90deg, #17489c, #6491d6);
    color: #fff;
    padding: 12px 15px 12px 20px;
    margin: 0 0 18px 0;
    font-size: 19px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 1px;
    border-left: 6px solid #0b2552;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 4px 10px rgba(23, 72, 156, 0.25);
}

.flow-step-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

.flow-step-desc2 {
    margin: 20px;
    font-weight: bold;
    border-width: 2px;
    border-style: solid;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border-color: #ff6c00;
    padding-bottom: 10px;
}

.flow-step-desc2 dl {
    margin-bottom: 0;
}

.flow-step-desc2 dl dt {
    margin: 0;
    padding: 5px 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    background-color: #ff6c00;
    color: #fff;
}

.flow-step-desc2 dl dd {
    padding: 20px 20px 0;
}

.flow-step-desc2 a {
    padding: 5px 15px;
    margin: 10px auto 0;
    display: table;
}

.flow-img-area {
    flex: 1;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    min-height: 180px;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .flow-wrapper {
        border-width: 2px;
    }

    .flow-header {
        font-size: 16px;
        padding: 10px;
    }

    .flow-content {
        padding: 15px;
    }

    .flow-step {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }

    .flow-step-title {
        font-size: 16px;
        padding: 10px 12px 10px 15px;
        gap: 10px;
        border-left-width: 4px;
    }

    .flow-step-desc,
    .flow-step-desc2 {
        font-size: 14px;
    }

    .flow-step-desc2 {
        margin: 20px 5px 0;
    }

    .flow-img-area {
        min-height: 160px;
        width: 100%;
    }

    .flow-step-desc2 ul.menubtn {
        margin: 0 15px;
    }
}


/*==================================================
  6. 認証アプリのインストール・設定方法
==================================================*/

.app-area {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 30px 0;
}

.app-card {
    flex: 1;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
    padding: 30px 24px;
    background: #fff;
    border: 3px solid #dfe3e6;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(24, 50, 74, 0.06);
}

.app-card h5 {
    font-size: 34px;
    margin-top: 0;
    font-weight: bold;
}

.app-sub {
    margin: 0 0 16px;
    color: #67717a;
    font-size: 14px;
}

.qr-code {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    margin: 20px auto 24px;
}

.link-button:hover,
.ios-button:hover,
.android-button:hover {
    opacity: 0.75;
}

@media (max-width: 768px) {

    .app-area {
        flex-direction: column;
        align-items: center;
    }
    .qr-code {
        display: none;
    }

}


/*==================================================
  動画部分
==================================================*/

/* 動画全体 */
.video-guide-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
    box-sizing: border-box;
}

/* 各カラム */
.guide-column {
    display: flex;
    flex-direction: column;
}

/* 見出し */
.guide-header {
    color: #fff;
    padding: 12px 15px 12px 20px;
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 1px;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 4px 10px rgba(23, 72, 156, 0.25);
}

.gh-sp {
    background: linear-gradient(90deg, #051945, #295d95);
    border-left: 6px solid #005dbd;
}

.gh-pc {
    background: linear-gradient(90deg, #094505, #349529);
    border-left: 6px solid #009535;
}


/* 動画上の説明テキスト */
.guide-subtext {
    font-size: 15px;
    color: #000;
    margin: 0 0 15px 10px;
}

/* 動画サムネイル */
.video-placeholder {
    width: 95%;
    margin: 0 auto;
    background-color: #5281b8;
    box-sizing: border-box;
    overflow: hidden;
}

.video-placeholder a {
    display: block;
    line-height: 0;
}

.video-placeholder img {
    display: block;
    width: 100%;
    height: auto;
}

.video-placeholder a:hover {
    opacity: 0.7;
}


/*==================================================
  動画一覧
==================================================*/

.video_frame {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: auto;
}

.video_frame a {
    text-decoration: none;
}

.video_list_item {
    text-align: center;
    list-style: none;
}

.video_list_item > a:hover {
    opacity: 0.7;
}

.video_list_item dl {
    margin: 0;
}

.video_list_item dl dt {
    margin: auto;
    position: relative;
}

.video_list_item dl dd {
    text-align: left;
    padding: 10px;
    margin-top: 10px;
    color: #000;
}

.start {
    position: absolute;
    top: 32%;
    left: 42%;
    width: 20%;
}


/* PC */
@media (min-width: 768px) {

    .video_list_item dl dd {
        background: #fff;
        font-size: 1.4rem;
    }

    .start {
        top: 22%;
        left: 33%;
        width: 30%;
    }
}


/* 大画面 */
@media (min-width: 1199px) {

    .video_frame {
        width: 85%;
    }

    .video_list_item dl dd {
        min-height: 100px;
    }
}


/*==================================================
  Magnific Popup：YouTube iframe
==================================================*/

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}


/*==================================================
  Magnific Popup：基本表示
==================================================*/

.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #000;
    opacity: 0.8;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}


/* 閉じるボタン */
button.mfp-close {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation;
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #fff;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
    opacity: 1;
}

.mfp-iframe-holder .mfp-close {
    color: #fff;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}


/* 小画面 */
@media all and (max-width: 900px) {

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}


/* 動画：スマートフォン */
@media (max-width: 768px) {

    .video-guide-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 15px;
    }

    .guide-header {
        font-size: 18px;
        padding: 10px 15px;
        margin-bottom: 15px;
    }

    .guide-subtext {
        font-size: 14px;
        margin-left: 5px;
    }

    .video-placeholder {
        width: 100%;
    }
}


/*==================================================
  各取引ツールのお取引ガイド
==================================================*/

.menubtn {
    list-style-type: none;
    padding-left: 0;
}

.menubtn li a {
    padding: 10px 16px;
    display: block;
    border-radius: 6px;
    border: 1px solid #0F6093;
    transition: all 0.3s ease 0s;
}

.menubtn li a:link,
.menubtn li a:visited {
    color: #0F6093;
    font-weight: bold;
    font-size: 16px;
}

.menubtn li a:hover,
.menubtn li a:active {
    background-color: #0F6093;
    color: #fff;
    text-decoration: none;
}

@media (min-width: 768px) {

    .menubtn {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 80%;
        margin: auto;
    }

    .menubtn li {
        width: 32%;
        margin-bottom: 15px;
    }

    .menubtn li a {
        padding: 20px 16px;
        text-align: center;
        font-size: 1.8rem;
    }

    #passwordlogin .menubtn {
        width: 90%;
    }
}


/*==================================================
  環境設定
==================================================*/

.table-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.table-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
}

.device-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
    min-width: 500px;
}

.device-table th,
.device-table td {
    border: 1px solid #dcdcdc;
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    white-space: nowrap;
}

.device-table th {
    font-weight: bold;
    background-color: #fff;
}

@media (max-width: 768px) {

    .table-container {
        padding: 15px 10px;
    }

    .device-table th,
    .device-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
}


/*==================================================
  FAQ
==================================================*/

.faq_btn {
    display: table;
    margin: 5rem auto;
}
