@charset "utf-8";
/* CSS Document */

/* bootstrap custum */
    .navbar-toggler { border: 0; }
    .navbar { --bs-navbar-toggler-focus-width: 0; }
    .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(37,145,57,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    }
    .navbar-toggler:hover, .navbar-toggler:focus { text-decoration: none; }
    #global-nav a:hover, #global-nav a:focus { text-decoration: none; }
    .dropdown-menu { margin: 0; padding: 0; border-radius: 0; }
    .dropdown-item.active, .dropdown-item:active {
        background-color: #999;
    }
    .dropdown-item { padding-top: .5rem; padding-bottom: .5rem; }
    .dropdown-item:last-child { margin-bottom: 2px; }
    .btn-order, .btn-select, .btn-admit, .btn-prev, .btn-next, .btn-quit, .btn-open, .btn-dpe-close, .btn-dpe-green, .btn-dpe-blue, .btn-dpe-red, .btn-dpe-brown, .btn-nav {
        background-image: -webkit-linear-gradient(transparent 0%,rgba(255,255,255,.3) 50%,transparent 50%,rgba(0,0,0,.1) 100%);
        background-image:         linear-gradient(transparent 0%,rgba(255,255,255,.3) 50%,transparent 50%,rgba(0,0,0,.1) 100%);
        box-shadow: 0 2px 2px 0 rgba(255,255,255,.2) inset,0 2px 10px 0 rgba(255,255,255,.5) inset,0 -2px 2px 0 rgba(0,0,0,.1) inset;
    }
    .badge {
        margin-top: 1px;
        vertical-align: top;
    }
    .card { border: none!important; }
    .list-group { box-shadow: 0 1px 6px rgba(0, 0, 0, .2); }
    .list-group-item { 
        border-left: none!important;
        border-right: none!important;
    }
    .list-group-item:first-child {
        border-top: none!important;
    }
    .list-group-item:last-child {
        border-bottom: none!important;
    }
    .list-group-item + .list-group-item { border-top: #dee2e6!important; }
    .card .list-group { box-shadow: none; }
    .card .list-group-item { 
        border-left: 1px solid #dee2e6!important;
        border-right: 1px solid #dee2e6!important;
    }
    .card .list-group-item:first-child {
        border-top: 1px solid #dee2e6!important;
    }
    .card .list-group-item:last-child {
        border-bottom: 1px solid #dee2e6!important;
    }

    
/* --end--bootstrap custom */

    body {background-color: #f3f3f3;}
    .wrapper { margin: 0 auto; max-width: 1172px; background-color: #fbfbfb; box-shadow: 0 1px 6px rgba(0,0,0,.2); }
    #global-nav {
        backdrop-filter: saturate(150%) blur(12px);
        background-color: rgba(255,255,255,0.85);
        box-shadow: 0 1px 6px rgba(0,0,0,.2);
        z-index: 1000;
    }
    .alink {
        color: #033694;
        text-decoration: none;
        background-color: rgba(0,0,0,0);
    }
    .alink:hover {
        color: #022462;
        text-decoration: underline;
    }
    #first-notice {
        background: linear-gradient(#fefefe, 90%, #dedede);
    }
    #first-notice a {
        background: none;
        text-decoration: none;
    }
    #first-notice a:hover { text-decoration: underline; }
    ul.annotation {
        padding-left: 0;
        list-style: none;
    }
    ul.annotation li {
        position: relative;
        padding-left: 1.5rem;
    }
    ul.annotation li:before{
        content: "※";
        position: absolute;
        left: 0;
    }
    ol.annotation {
        padding-left: 0;
        list-style: none;
    }
    ol.annotation li {
        position: relative;
        padding-left: 2.5rem;
    }
    ol.annotation li:before{
        content: "※" attr(data-number);
        position: absolute;
        left: 0;
    }
    ul.bullet-points {
        padding-left: 0;
        list-style: none;
    }
    ul.bullet-points li {
        position: relative;
        padding-left: 1.5rem;
    }
    ul.bullet-points li:before{
        content: "・";
        position: absolute;
        left: 0;
    }
    li.bracket:first-letter { margin-left: -.5rem!important; } /* liタグの最初の文字がかぎ括弧の時に使う */
    footer {
        color: #fff; background-color: #404040;
    }
    footer .btn-link { color: #fff; text-decoration:none; }
    footer .btn-link:hover { color: #fff; text-decoration:underline; }
    footer .btn:active { color: #fff!important; text-decoration:underline; }
    footer .mark-footer-copy {
        margin-right: 3px;
        margin-left: 3px;
        font-family: Arial;
        font-size: 1.2em;
        vertical-align: middle;
    }
    #notice h1 { 
        padding: 3px 0 4px;
        margin: 0 auto;
        width: 120px;
        font-size: 86%;
        line-height: 1.1;
        color: #fff;
        border-radius: 8px;
        background-color: #f95959;
    }
    #notice a { text-decoration: none; }
    #notice a:hover { text-decoration: underline; }
    #news a { text-decoration: none; }
    #news a:hover { text-decoration: underline; }
    .breadcrumb-item a { text-decoration: none; }
    .breadcrumb-item a:hover { text-decoration: underline; }

@media (min-width: 768px) {
    a {
        color: #111;
    }
    a:hover {
        color: #111;
    }
    #first-notice {
        background: none;
    }
    #first-notice a {
        padding: 3px 20px 4px;
        line-height: 1.1;
        border-radius: 20px;
        background-color: #def7ff;
        background-image: -webkit-linear-gradient(transparent 0%,rgba(255,255,255,.3) 50%,transparent 50%,rgba(0,0,0,.1) 100%);
        background-image:         linear-gradient(transparent 0%,rgba(255,255,255,.3) 50%,transparent 50%,rgba(0,0,0,.1) 100%);
        box-shadow: 0 2px 2px 0 rgba(255,255,255,.2) inset,0 2px 10px 0 rgba(255,255,255,.5) inset,0 -2px 2px 0 rgba(0,0,0,.1) inset;
        text-decoration: none;
    }
    #first-notice a:hover {
        filter: brightness(96%);
        text-decoration: none;
}
}

#navbarServiceMenu > ul > li > a { padding-left: 1rem; color: #252525; background-color: #eee; letter-spacing: 1px; font-size: 1rem; }
#navbarServiceMenu > ul > li > a:hover { color: #fff; background-color: #999; }
#navbarServiceMenu > ul > li.nav-item.active > a { color: #fff; background-color: #259139; }

@media (min-width: 992px) {
    #navbarServiceMenu > ul > li > a { padding: 0 .75rem; color: #252525; letter-spacing: 1px; }
    #navbarServiceMenu > ul > li > a { color: #252525; background-color: rgba(255,255,255,0.7); letter-spacing: 1px; font-size: .9rem; }
    #navbarServiceMenu > ul > li:nth-child(1) > a { border-color: #449d44; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li:nth-child(2) > a { border-color: #1c469c; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li:nth-child(3) > a { border-color: #e71418; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li:nth-child(4) > a { border-color: #fdd538; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li:nth-child(5) > a { border-color: #7c4226; border-style: solid; border-width: 0px 0px 4px 0px; }
    #navbarServiceMenu > ul > li.nav-item.active > a { color: #fff; background-color:#259139; }
}

@media (min-width: 992px) {
    #navbarServiceMenu > ul > li > a { font-size: 1rem; }
}


@media (max-width: 992px) {
    .btn-admit {
        order: -1 !important;
    }
    .btn-next {
        order: -1 !important;
    }
}

/* components-for-order-page */

/* 外側：1枚の紙をイメージ（bootstrap の card の影・枠・背景色のみ） */
.editor-outer{
    --bs-card-border-width: var(--bs-border-width);
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: var(--bs-border-radius);
    --bs-card-box-shadow: ;
    --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    color: var(--bs-body-color);
    background-color: #fff;
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    border-radius: var(--bs-card-border-radius);
}

/* 内側：1枚の紙の中に card を複数配置したい場合の代替（bootstrap の card の影・枠・背景色を持たないもの） */
.editor-panel{
    --bs-card-height: ;
    --bs-card-color: ;
    --bs-card-bg: #fff;
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    color: var(--bs-body-color);
    word-wrap: break-word;
}
/* その他 card の代替クラス（枠・背景色を持たないもの） */
.editor-panel-header {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    margin-bottom: 0;
}
.editor-panel-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
}
.editor-panel-title {
    margin-bottom: var(--bs-card-title-spacer-y);
    color: var(--bs-card-title-color);
}
.editor-panel-footer {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    color: var(--bs-card-cap-color);
}

/* nav-tabs を btn にしたい場合 */
.nav-tabs .nav-link.btn-nav {
    background-color: rgba(255, 255, 255, .12);
    border-color: #c8c8c8;
    color: #000;

  &:hover,
  &:focus {
    background-color: #e3e3e3;
    border-color: #b5b5b5;
    color: #000;
  }

  &.active,
  &[aria-selected="true"] {
    background-color: #f9d06d;
    border-color: #f9d06d;
    color: #000;
  }

  &:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
  }
}
.bg-dpe-premium {
    background-color: #fdd538;
}

