@charset "UTF-8";

@import url("/ir/dao/css/color.css");  /* 株主DAO用カラー変数 */

:root {
    --fontTitle: 20px;
    --fontBody: 18px;
    --fontCaption: 16px;
}

@media screen and (max-width: 768px) {
    :root {
        --fontTitle: 18px;
        --fontBody: 16px;
        --fontCaption: 14px;
    }
}

/* スタイルの上書き */
#main h3 {
    font-size: var(--fontTitle);
    font-weight: bold;
    margin: 0 0 16px;
    padding: 0;
    color: var(--gray900);
    border: none;
    max-width: 100%;
}

#main h3:before {
    content: "";
    margin-right: 0;
}

/* /common/css/common.css, /common/css/ir.css の上書き */
#main p {
	margin: 0;
    font-size: var(--fontBody);
}

#main li {
    margin: 0;
    width: 100%;
    font-size: var(--fontBody);
    color: var(--daoTextPrimary);
    margin-bottom: 32px;
    line-break: strict;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
#main li:last-child {
    margin-bottom: 0;
}

.nlm {
    margin-left: 30px !important;
    margin-bottom: 10px !important;
}

.article_link {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 1em 0 30px 30px;
    max-width: 700px;
}

.article_link li {
    margin-bottom: 0 !important;
    border: 1px solid var(--daoBorder);
}
.article_link li.active,
.article_link li:hover {
    border-color: var(--themeColor);
}
.article_link li a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    font-size: var(--fontHead);
    line-height: 1.5;
    background-size: 48px 86px;
    background-repeat: no-repeat;
    background-position: center 30px;
    padding: 130px 0 24px;
    color: var(--datTextSecondaray);
    cursor: pointer;
}
.article_link li.active a {
    color: var(--themeColor);
    cursor: default;
}
.article_link li:not(.active) a:hover {
    background-color: var(--daoBgHover);
    border-color: var(--themeColor);
    color: var(--themeColor);
}
/* iPhone用リンクのスタイル */
.article_link .iphone a {
    background-image: url('/ir/dao_faq/image/icon_apple.svg'); /* iPhoneのアイコン画像 */
}
.article_link .iphone a:active,
.article_link .iphone a:hover,
.article_link .iphone.active a {
    background-image: url('/ir/dao_faq/image/icon_apple_active.svg');
}

/* Android用リンクのスタイル */
.article_link .android a {
    background-image: url('/ir/dao_faq/image/icon_android.svg'); /* Androidのアイコン画像 */
}
.article_link .android a:active,
.article_link .android a:hover,
.article_link .android.active a {
    background-image: url('/ir/dao_faq/image/icon_android_active.svg');
}

.procedure {
    width: 730px;
    margin-bottom: 40px;
}
.procedure p {
    margin: 0;
    color: var(--daoTextPrimary);
}

details {
    border-bottom: 1px solid var(--daoBorder);
}

summary {
    display: block;     /* デフォルトの三角形アイコンを消す */
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 16px 16px 8px;
    margin-top: 8px;

    color: #666;
}
summary span {
    color: #666;
}
summary::-webkit-details-marker {
    display: none;      /* Safariで表示されるデフォルトの三角形アイコンを消す */
}

.summary_inner{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 16px 24px 16px 0;
}

.icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
}
/* アイコンのバーのスタイル */
.icon::before,
.icon::after {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    height: 2px;
    background-color: var(--datTextSecondaray);
}
.icon::before {
    left: 0;
    transform: rotate(45deg);
}
.icon::after {
    right: 0;
    transform: rotate(-45deg);
}
/* is-openedクラスが付与されたときのスタイル */
details.is-opened .icon {
    transform: rotate(180deg);
}

/* --------アコーディオンの中身のスタイル-------- */
.content {
    color: var(--daoTextPrimary);
    overflow: hidden;
    /* details直下のタグにpaddingを設定すると挙動がおかしくなるので、ここには指定しない */
}

.content p {
    color: var(--daoTextPrimary) !important;
}

.content_inner {
    padding: 32px;
    margin-bottom: 32px;
    background-color: var(--daoBgPrimary);
}

.content_inner h3:first-child {
    margin-top: 0 !important;
}

.content_inner .step {
    margin: 0 0 32px;
    padding: 0;
    font-size: var(--fontBody);
    max-width: 100%;
}

.content_inner .step > li {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    counter-increment: clause;
}

.content_inner .step li:last-child {
    margin-bottom: 0 ;
}

.content_inner .step li > span {
    padding-left: 2em;
    text-indent: -2em;
}
.content_inner .step li > span::before {
    content: counter(clause, decimal-leading-zero) ". ";
    width: 2em; /* text-indent分の幅を確保 */
    text-indent: 0;
}

.content_inner img {
    width: 50%;
    height: auto;
    margin: 0 0 0.5em 1em;
}
.content_inner p span.caption {
    font-size: var(--fontCaption) !important;
}
.content_inner .img_list {
    display: flex;
    align-items: flex-end;
}
.content_inner strong {
    font-weight: bold;
}
.content_inner .note {
    margin-bottom: 24px;
}

.wrapper {
    margin-left: 2em;
    margin-bottom: 32px;
}

/* --------ユーティリティ関連スタイル-------- */
.sp_view {
    display: none;
}

.hang_indent {
    padding-left: 1em;
    text-indent: -1em;
}
.hang_indent-list {
    padding-left: 1.5em;    /* 他の<summary>のテキストと縦位置を揃えるためtext-indentと違う数値を設定 */
    text-indent: -1.2em;
}


/* --------レスポンシブ用スタイル(768〜1023px）-------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    /* /common/css/ir.cssの上書き */
    #main p {
        margin: 0;
    }
}
@media screen and (max-width: 768px) {
    /* /ir/css/dao_faq.cssの上書き */
    #main p {
        margin: 0 !important;
    }
}

/* --------レスポンシブ用スタイル(〜766px）-------- */
@media screen and (max-width: 767px) {
    #main h3 {
        margin-bottom: 8px;
        font-size: var(--fontTitle);
    }

    #main li {
        font-size: var(--fontBody);
    }

    .nlm {
        margin-bottom: 32px !important;
    }

    .article_link {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }

    .article_link li a {
        font-size: var(--fontTitle);
        background-size: 32px 58px;
        padding: 100px 0 16px;
    }

    .procedure {
        width: 100%;
        margin-bottom: 40px;
    }

    summary {
        gap: 4px;
        padding: 16px 8px;
    }

    .content_inner {
        padding: 16px;
        gap: 16px;
    }

    .content_inner .step > li {
        gap: 16px;
    }

    .content_inner .step li > span {
        padding-left: 1.6em;
        text-indent: -1.6em;
    }

    .content_inner img {
        width: 80%;
        margin: 0 auto;
    }
    
    .content_inner .img_list {
        flex-direction: column;
        gap: 16px;
    }

    .content_inner p {
        font-size: var(--fontBody) !important;
    }

    .content_inner .step {
        font-size: var(--fontBody);
    }

    .wrapper {
        margin-left: 0;
    }

    /* --------ユーティリティ関連スタイル-------- */
    .sp_view {
        display: block;
    }
}