@charset "utf-8";

/**************************/
/*        Variables       */
/**************************/

:root {
    --mizuho-brand: #000066;

    --mizuho-red: #EF1602;

    --mizuho-blue1: #207DB4;
    --mizuho-blue2: #E6EAF5;

    --mizuho-gray1: #333333;
    --mizuho-gray2: #808080;
    --mizuho-gray3: #CCCCCC;
    --mizuho-gray4: #E6E6E6;
    --mizuho-gray5: #F3F3F3;

    --mizuho-blue3: #E7F5FD;
    --mizuho-blue4: #EFF3F8;
    --mizuho-white : #FFFFFF;

    --mizuho-link-hover: #0F0AD1;
    --mizuho-link-visited: #660099;
    --mizuho-modal-bg: rgba(0,0,0,.5);
    --mizuho-invalid-bg: #fff7f6;

    --mizuho-lh-middle: 1.5;
    --mizuho-lh-large: 1.8;

    --mizuho-letter-spacing: 0.05em;
}

/**************************/
/* Default Size
（画面幅750pxの場合、1.6remが16px相当）*/
/**************************/

/**************************/
/*     General Styles     */
/**************************/
body {
    line-height: var(--mizuho-lh-large);
    color: var(--mizuho-gray1);
    background-color: var(--mizuho-white);
    font-size: clamp(13px, 87.5%, 15px);
    font-family: "ヒラギノ角ゴ", "Hiragino Kaku Gothic", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: 0.05em;
}
body.smallText {
    font-size: clamp(13px, 87.5%, 15px);
}
body.mediumText {
    font-size: clamp(15px, 100%, 17px);
}
body.largeText {
    font-size: clamp(17px, 112.5%, 19px);
}

a {
    color: var(--mizuho-brand);
}
a:visited {
    color: var(--mizuho-link-visited);
}
a:hover {
    color: var(--mizuho-link-hover);
}

.container_form {
    max-width: 920px;
}

input::placeholder { 
	opacity: 0.4 !important;
}

.box {
  border: 1px solid #6ea6d7;
  background-color: #e7f1f9;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.underline {
    text-decoration: underline;
}

/**************************/
/*       Foundation       */
/**************************/

.color_brand {
    color: var(--mizuho-brand);
}
.color_gray2 {
    color: var(--mizuho-gray2);
}
.color_blue1 {
    color: var(--mizuho-blue1);
}
.color_red {
    color: var(--mizuho-red);
}

.bg_blue2 {
    background-color: var(--mizuho-blue2);
}
.bg_blue3 {
    background-color: var(--mizuho-blue3);
}
.bg_gray4 {
    background-color: var(--mizuho-gray4);
}
.bg_gray5 {
    background-color: var(--mizuho-gray5);
}

.border_gray {
    border: 1px solid var(--mizuho-gray4);
}

.cursor_pointer {
    cursor: pointer;
}

.font_xlarge {
    font-size: 125%;
}
.font_large {
    font-size: 112.5%;
}
.font_small {
    font-size: 87.5%;
}
.font_xsmall {
    font-size: 75%;
}

.lh_middle {
    line-height: var(--mizuho-lh-middle);
}

.sp_full {
    width: 100%;
}
@media (min-width: 768px) {
    .sp_full {
        width: auto;
    }
}

.sp_full_user_pulldown {
    width: 100%;
    text-overflow:ellipsis;
}
@media (min-width: 768px) {
    .sp_full_user_pulldown {
        width: auto;
        max-width: 75%;
        text-overflow:ellipsis;
    }
}

.text_underline {
    text-decoration: underline;
}
.weight_bold {
    font-weight: 700;
}

.alert-danger-contents {
    margin-bottom: 0;
}

/**************************/
/*    Header / Footer     */
/**************************/

/***  header  ***/
.global_header {
    margin-bottom: 3em;
    line-height: var(--mizuho-lh-middle);
}
@media (max-width: 767px) {
    .global_header {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        margin-bottom: 2em;
    }
}
.header_brandingbar {
    margin: 0;
    padding: 0;
}
.header_title {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(#FFF, 90%, #D5DEE6);
    border-bottom: 3px solid var(--mizuho-brand);
}
.header_title_wrap {
    margin: 0;
    padding: 1rem;
}
@media (max-width: 767px) {
    .header_title_wrap img {
        height: 24px;
    }
}
.header_controller {
    display: flex;
    font-size: 80%;
}
.header_controller_text {
    margin-bottom: 0;
    padding: 1em 0.75em;
}
.header_textresizer {
    margin-bottom: 0;
    padding: 1em 0.75em;
}
@media (max-width: 767px) {
    .header_controller {
        text-align: center;
    }
    .header_controller_text {
        height: 100%;
        border-left: 1px solid var(--mizuho-gray3);
    }
    .header_textresizer {
        height: 100%;
        border-left: 1px solid var(--mizuho-gray3);
    }
    .textresizer_btn {
        border: none;
        background: none;
        padding: 0;
    }
    .textresizer.dropdown-menu {
        min-width: 4.5em;
        padding: 0;
        text-align: center;
        overflow: hidden;
    }
    .textresizer li a {
        display: block;
        padding: .5em 0;
        border-bottom: 1px solid var(--mizuho-gray3);
        font-size: 80%;
        color: var(--mizuho-gray1);
        text-decoration: none;
    }
    .textresizer li a.textresizer-active {
        color: var(--mizuho-white);
        background: var(--mizuho-brand);
    }
    .textresizer li:last-child a {
        border-bottom: none;
    }
}
@media (min-width: 768px) {
    .header_controller {
        align-items: center;
    }

    .d-md-flex ul.textresizer {
        display: flex;
        width:  69px;
        height: 21px;
        margin: 0 0 0 1em;
        padding: 0;
    }
    .d-md-flex ul.textresizer li {
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    .d-md-flex ul.textresizer li a {
        display: block;
        background-image: url(/Front/img/textsize-87bbe7a99483dd2767103b13526d8061.gif);
        background-repeat: no-repeat;
        background-position: 0 0;
        width: 23px;
        height: 21px;
        text-indent: -9999em;
        overflow: hidden;
    }
    .d-md-flex ul.textresizer li.smallText a {
        width:22px;
        background-position: -45px 0;
    }
    .d-md-flex ul.textresizer li.mediumText a {
        width:22px;
        background-position: -23px 0;
    }
    .d-md-flex ul.textresizer li.largeText a {
        width:23px;
        background-position: 0 0;
    }
    .d-md-flex ul.textresizer li.smallText a.textresizer-active {
        width:22px;
        background-position: -45px -21px;
    }
    .d-md-flex ul.textresizer li.mediumText a.textresizer-active {
        width:22px;
        background-position: -23px -21px;
    }
    .d-md-flex ul.textresizer li.largeText a.textresizer-active {
        width:23px;
        background-position: 0px -21px;
    }
}

/***  footer  ***/
.global_footer {
    margin-top: 6rem;
}
@media (max-width: 767px) {
    .global_footer {
        margin-top: 4rem;
    }
}
.footer_anchor {
    margin-bottom: .5em;
    text-align: right;
    font-size: 90%;
}
.footer_copy {
    display: block;
    padding: .5em 0 2em;
    border-top: 3px solid var(--mizuho-brand);
    font-size: 80%;
}
/* お問い合わせ行全体のスタイル */
.footer_contact {
    display: flex;
    align-items: baseline;
}
/* 左側の文字（タイトル部分） */
.contact_title {
    min-width: 28.5em;
}
/* 右側の電話番号部分 */
.contact_phone-num {
    white-space: nowrap;
}
@media (max-width: 767px) {
    .footer_copy {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        text-align: center;
    }
    .footer_contact {
        display: block;
    }
    .contact_title {
        min-width: unset;
    }
    .contact_phone-num {
        display: inline-block;
    }
}

/**************************/
/*       Common UI        */
/**************************/
/***  heading  ***/

.heading_h1 {
    padding: .75em 1rem;
    line-height: var(--mizuho-lh-middle);
    font-size: 1.35rem;
    color: var(--mizuho-gray1);
    background-color: var(--mizuho-blue2);
}
.heading_h2 {
    padding: .75em 1rem;
    line-height: var(--mizuho-lh-middle);
    font-size: 1.2rem;
    color: var(--mizuho-white);
    background-color: var(--mizuho-brand);
}
.heading_h2_blue {
    padding: .75em 1rem;
    line-height: var(--mizuho-lh-middle);
    font-size: 1.2rem;
    color: var(--mizuho-white);
    background-color: var(--mizuho-blue1);
}
.heading_h2_under {
    padding: .75em 0;
    line-height: var(--mizuho-lh-middle);
    font-size: 1.2rem;
    border-bottom: 3px solid var(--mizuho-brand);
}
@media (max-width: 767px) {
    .heading_h1,
    .heading_h2 {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }
    .heading_h1 {
        font-size: 1.25rem;
    }
    .heading_h2,
    .heading_h2_under {
        font-size: 1.15rem;
    }
}
.heading_inner {
    display: inline-block;
    font-size: 80%;
}
.numbered_heading {
    padding-left: 2.75em;
    text-indent: -2.75em;
}
.circle_numbered_heading {
    padding-left: 2em;
    text-indent: -2em;
}
.alphabet_numbered_heading {
    padding-left: 2.45em;
    text-indent: -2.45em;
}
.alphabet_heading {
    padding-left: 1.8em;
    text-indent: -1.8em;
}
.heading_h3 {
    font-size: 1.125rem;
    color: var(--mizuho-brand);
}
.heading_h4 {
    padding: .5em .75em;
    background-color: var(--mizuho-gray5);
    border-left: 3px solid var(--mizuho-brand);
    font-size: 1rem;
}
@media (min-width:768px) {
    .heading_debit_wrap {
        position: relative;
        padding-top: 3em;
    }
    .heading_debit_btn {
        position: absolute;
        right: 0;
        top: 2em;
    }
}


/***  button  ***/
.btn_square {
    position: relative;
    padding: 0.9em 1em 0.9em 1em;
    border-radius: 0;
}
@media (max-width: 767px) {
    .btn_square {
        padding: 0.7em 1em 0.7em 1em;
    }
}
.btn_square i.bi {
    position: absolute;
    left: 1em;
}
.btn_modal_close {
    position: absolute;
    top: -1.2rem;
    right: -1.2rem;
    width: 2.4rem;
    height: 2.4rem;
    display: inline-block;
    cursor: pointer;
    z-index: 1;
}

/***  list  ***/
.list_type_hyphen {
    list-style-type: "- ";
}
.list_type_kome {
    padding-left: 1em;
    list-style-type: "※";
}

/***  table  ***/
.table tr .th_blue {
    background-color: var(--mizuho-blue3);
    font-weight: normal;
}
.table tr .td_white {
    vertical-align: middle;
}

.td-a {
    width: 3%;
}
.td-b {
    width: 15%;
}
.td-c {
    width: 12%;
}
.td-d {
    width: 5%;
}
.td-e {
    width: 10%;
}
.td-f {
    width: 25%;
}
.td-g {
    width: 8%;
}

/***  grid  ***/
@media (min-width: 768px) {
    .col-md_kana {
        flex: 0 0 auto;
        width: 3.5em;
    }
}


/**************************/
/*         Flow           */
/**************************/

.flow_information {
    margin-bottom: 0.5em;
}
.flow_information_label {
    position: relative;
    padding-top: 1.5em;
    margin-bottom: 2.5em;
    text-align: center;
    font-size: 87.5%;
}
.flow_information_label::before {
    position: absolute;
    top: -0.25em;
    display: block;
    width: 100%;
    content: "";
    border-top: 2px solid var(--mizuho-gray3);
}
@media (min-width: 768px) {
    .flow_information_label::before {
        left: 50%;
    }
    .flow_information .col-md-2:last-child .flow_information_label::before {
        position: static;
        display: none;
        border-top: none;
    }
}
.flow_information_label::after {
    position: absolute;
    top: -0.875em;
    left: calc(50% - 0.75em);
    content: "";
    width: 1.5em;
    height: 1.5em;
    border-radius: 1em;
}
.label_active {
    color: var(--mizuho-brand);
}
.label_active::after {
    border: 2px solid var(--mizuho-brand);
    background-color: var(--mizuho-white);
    animation: glow_animation 4s ease-in-out infinite;
}
@keyframes glow_animation {
    0% {
        box-shadow: 0 0 6px 0px var(--mizuho-blue1);
    }
    20% {
        box-shadow: 0 0 12px 2px var(--mizuho-blue1);
    }
    40% {
        box-shadow: 0 0 6px 0px var(--mizuho-blue1);
    }
    70% {
        box-shadow: 0 0 2px 0px var(--mizuho-blue1);
    }
    100% {
        box-shadow: 0 0 6px 0px var(--mizuho-blue1);
    }
}
.label_inactive {
    color: var(--mizuho-gray1);
}
.label_inactive::after {
    border: 2px solid var(--mizuho-gray3);
    background-color: var(--mizuho-gray3);
}
.label_completed {
    color: var(--mizuho-brand);
}
.label_completed::after {
    border: 2px solid var(--mizuho-brand);
    background-color: var(--mizuho-brand);
    line-height: 1.35em;
    font-family: bootstrap-icons !important;
    content: "\F272";
    color: var(--mizuho-white);
}

/**************************/
/*        Form UI         */
/**************************/

.label_cell,
.modal_th_cell,
.label_cell_no_border {
    background-color: var(--mizuho-gray5);
    line-height: var(--mizuho-lh-middle);
}
.label_cell,
.label_cell_no_border {
    display: flex;
    border-left: 2px solid var(--mizuho-brand);
}
.label_cell_xs_white,
.label_cell_xs_white_no_border {
    display: flex;
}
@media (max-width: 767px) {
    .label_cell,
    .label_cell_no_border,
    .label_cell_xs_white,
    .label_cell_xs_white_no_border {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
@media (min-width: 768px) {
    .label_cell,
    .label_cell_no_border,
    .label_cell_xs_simple,
    .label_cell_xs_white,
    .label_cell_xs_white_no_border {
        align-items: baseline;
    }
    .label_cell ,
    .input_cell ,
    .modal_th_cell ,
    .modal_td_cell ,
    .label_cell_no_border ,
    .input_cell_no_border ,
    .label_cell_xs_simple ,
    .input_cell_xs_simple ,
    .label_cell_xs_white ,
    .label_cell_xs_white_no_border {
        border-left: none;
        border-bottom: 2px solid var(--mizuho-gray4);
        height: 100%;
    }
    .label_cell_no_border,
    .input_cell_no_border,
    .label_cell_xs_simple,
    .input_cell_xs_simple,
    .label_cell_xs_white_no_border  {
        border-bottom: none;
    }
    .modal_thead {
        background-color: var(--mizuho-blue3);
    }
    .label_cell_xs_simple ,
    .label_cell_xs_white ,
    .label_cell_xs_white_no_border {
        background-color: var(--mizuho-gray5);
        line-height: var(--mizuho-lh-middle);
    }
}
.label_inner {
    font-size: 80%;
}
.label_name {
    font-weight: 700;
}
.badge_required {
    position: relative;
    top: -1px;
    line-height: 1;
    color: var(--mizuho-white);
    background-color: var(--mizuho-red);
}
.badge_any {
    position: relative;
    top: -1px;
    line-height: 1;
    color: var(--mizuho-white);
    background-color: var(--mizuho-gray2);
}
@media (min-width: 768px) {
    .badge_required,
    .badge_any {
        margin-right: .4em;
    }
}
.select_wrap {
    position: relative;
}
.select_wrap::after {
    position: absolute;
    top: 10%;
    right: 2em;
    display: inline-block;
    width: 0;
    height: 80%;
    content:"";
    border-left: 1px solid var(--mizuho-brand);
}
.fix_height_center,
.fix_height_center_medium {
    display: flex;
    align-items: center;
    height: 4.5em;
}
.fix_height_center_medium {
    justify-content: center;
}
@media (max-width: 767px) {
    .fix_height_center_small {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 4.5em;
    }
}
@media (min-width: 768px) {
    .placeholder_md_none::placeholder {
        opacity: 0;
    }
    .fix_height_center {
        justify-content: center;
        height: 6em;
    }
    .btn_lg_md {
        padding-top: 1em;
        padding-bottom: 1em;
    }
}
.modal_th_cell_blue {
    background-color: var(--mizuho-blue3);
    border-left: 2px solid var(--mizuho-white);
    border-right: 2px solid var(--mizuho-white);
}
.modal_td_cell_border {
    border: 2px solid var(--mizuho-white);
}
@media (min-width: 768px) {
    .modal_th_cell_blue {
        text-align: center;
    }
    .modal_td_cell_border {
        text-align: center;
        border: 2px solid var(--mizuho-gray4);
    }
    .modal_td_cell_border:last-child {
        border-left: none;
    }
}
@media (min-width: 768px) {
    .indent_md {
        display: inline-block;
        padding-left: 2.8em;
    }
}