/*  Import
-------------------------------------------------
    - notosanstc    :思源黑體
    - scrollbar.css
    - default.css
-------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP:200&display=swap');
@import url('default.css');



/*-----------------------------------------------
    variable
-----------------------------------------------*/
:root {
    --color-white: #fff;
    --color-blue: #007bff;
    --color-grey: #ddd;
    --color-green: #28a745;
    --color-sky: #17a2b8;
    --color-yellow: #ffc107;
    --color-pink: #dc3545;
    --color-purple: #a040a1;
}

/*color:var(--color-white);*/


/*-----------------------------------------------
   new-text
-----------------------------------------------*/


div,
a {
    font-size: 1.2rem;
    letter-spacing: 0.02rem;
    font-family: 'Noto Serif JP', Arial, sans-serif;
    color: #131313;
}

h1 {
    color: #4fa91d;
    font-family: 'Noto Sans JP', 'Roboto', Arial, sans-serif;
}


.note2 h2 {
    color: #fff;

    background: #387914 url(../images/icon-arrow-up.png) 98.5% center / 26px no-repeat;
    font-size: 1.3rem;
    padding: 0.1rem 1.5rem;
    border-radius: 20px;
    margin: 2rem 0 0.4rem 1rem;
    cursor: pointer;
    position: relative;
}
.note1 h2 {
    color: #fff;

    background: #ab9500 url(../images/icon-arrow-up.png) 98.5% center / 26px no-repeat;
    font-size: 1.3rem;
    padding: 0.1rem 1.5rem;
    border-radius: 20px;
    margin: 2rem 0 0.4rem 1rem;
    cursor: pointer;
    position: relative;
}

h3{
    color: #fff;

    font-size: 1.2rem;
    padding: 0 0 0 18px;
}
h4{
    border-bottom: 1px solid #878787;
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: #ab9500;
}
p {

    margin: 0;
    padding: 0;
}

.note-text {
    margin: 0;
    padding: 0 0 0 2.5rem;
    display: none;
}

.note2 h2 span {
    background: #387914 url(../images/icon-arrow.png) 99.8% center /26px no-repeat;
    width: 35px;
    height: 100%;
    display: block;
    position: absolute;
    right: 12px;
    top: 0;
    border-radius: 50%;
}

.note1 h2 span {
    background: #ab9500 url(../images/icon-arrow.png) 99.8% center /26px no-repeat;
    width: 35px;
    height: 100%;
    display: block;
    position: absolute;
    right: 12px;
    top: 0;
    border-radius: 50%;
}

h5 {
    color: #fff;
    font-size: 0.8rem;
    padding: 0 0 0 33px;
    margin: -10px 0 0 0;
}

.active {
    display: block;
}


.quatoe {
    border-left: 1px solid #878787;
    padding-left: 1rem;
    margin: 2rem 0 2rem 0.5rem;
}



.note-list a {
    display: inline;
    color: #387914;
}

@media screen and (max-width:768px) {

    div,
    a {
        font-size: 0.9rem;

    }

    h2 {

        margin: 2rem 0 0.4rem 0rem;
        padding: 5px 46px 6px 11px;
        font-size: 0.95rem;
        line-height: 1.4;
    }
.note1 h2 span {

    right: 6px;

}
	
.note2 h2 span {

    right: 6px;

}

    .quatoe {
        margin: 1rem 0 2rem 0rem;
    }

    .note-text {
        padding: 0 0 0 1rem;
    }
}

@media screen and (max-width:480px) {
    h5 {
        padding: 0 0 0 10px;
    }

}



/*-----------------------------------------------
   list
-----------------------------------------------*/


.note-list {
    margin: 1rem 1rem 1rem 1.5rem;
}

.note-list li {
    /*list-style-type: disc;*/
    position: relative;
}

.note-list li::before {
    content: '.';
    position: absolute;
    left: -15px;
    font-size: 2rem;
    top: -22px;
    color: #387914;

}

/*  pc-layout
-------------------------------------------------
    - header
    - section
    - footer
-------------------------------------------------*/

html,
body {
    background:
        url(../images/index_01.jpg) no-repeat center top;
background-color: #f8f8f8;
}


header {

    overflow: hidden;
    padding: 0 0 0 0;
    height: 540px;
	
}

main {
    max-width: 900px;
    display: block;
    margin: auto;
	background-color: #f8f8f8;
}




section {
    width: 100%;
    text-align: justify;
    margin-bottom: 80px;
	
}

footer {
    width: 100%;
    height: 120px;
    position: relative;
    /*! float: left; */
    display: inline-block;
    line-height: 120px;
    text-align: center;
    font-size: 14px;
    color: #FFF;
    background-color: #000;
    clear: both;
    /*! bottom: 0; */
}

/* mobile-layout
-----------------------------------------------
    mobile
-----------------------------------------------*/

@media screen and (max-width:768px) {

    html,
    body {
        /*! background: url(../images/mobile_02.jpg) repeat center top / 100%; */
        background: transparent;
		background-color: #f8f8f8;
    }

    header {
        /*! padding: 0 0 100% 0; */
        background: url(../images/mobile_01.jpg) no-repeat center top / 100%;
        padding: 0 0 80% 0;
        height: auto;
    }

    main {

        margin: auto 15px;
    }

    section {

        margin-bottom: 40px;
    }
}


/*-----------------------------------------------
    df-input
-----------------------------------------------*/

.df-form {
    display: inline-block;
    margin: 3% auto;
    width: 95%;
    height: 42px;
    line-height: 40px;
    border-radius: 25px;
    background-color: #fff;
    padding: 0px 0 0 15px;
    font-size: 0.9rem;
    color: #6f6f6f;
    transition: all .3s ease;
    letter-spacing: -0.02rem;
}

/*框被選取後*/

input[type=text]:focus,
input[type=password]:focus,
textarea:focus {

    transition: border linear .2s, box-shadow linear .5s;
    -moz-transition: border linear .2s, -moz-box-shadow linear .5s;
    -webkit-transition: border linear .2s, -webkit-box-shadow linear .5s;
    outline: none;
    border-color: rgba(221, 73, 221, 0.75);
    box-shadow: 0 0 8px rgba(241, 39, 232, .8);
    -moz-box-shadow: 0 0 8px rgba(241, 39, 232, .8);
    -webkit-box-shadow: 0px 0px 8px rgb(255, 127, 241);

}

.df-form-text {
    height: 120px;
    line-height: 40px;
    border-radius: 10px;
    width: 97%;
    color: #736f7c;
    margin: 15px 0 -5px;
}

.down_bg {
    cursor: pointer;
    background: #fff url(../images/down_bg.png) 96% center no-repeat;
    /*隱藏預設的下拉圖示*/
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

/*清除ie的默認選擇框樣式清除，隱藏下拉箭頭*/
select::-ms-expand {
    display: none;
}

/*option樣式的簡單清除*/
option::-ms-expand {
    display: none;
}

option {
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari 和 Chrome */
    appearance: none;
}

/*背景色字體顏色*/
option:hover {
    color: #fff;
    background-color: #1E90FF;
}

.form-list {
    background: #387914 ;
    border-radius: 10px;
    padding: 3rem;
    margin: 2rem 0 2rem 2rem;

}

.form-grid {

    display: grid;
    grid-template-columns: 1fr 1fr;
}

.df-form-must::before {
    content: '*';
    position: absolute;
    width: 50px;
    height: 50px;
    background: #555;
}

form {
    /*! height: 50px; */
    line-height: 50px;
    position: relative;
    margin: 0px 0 0 20px;
}

.must {
    color: #fff;
    position: absolute;
    left: -15px;
    top: 15%;
}

@media screen and (max-width:768px) {

    .form-list {

        padding: 2rem 1rem;
        margin: 2rem 0.5rem 2rem 1rem;

    }

}

@media screen and (max-width:700px) {
    .form-grid {

        grid-template-columns: 1fr;
    }


}




/*-----------------------------------------------
    img-agoup
-----------------------------------------------*/

.img-agoup {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.img-update {
    position: relative;
    margin: 5px 9px 15px;
    background-color: #fff;

background: #fff url(../images/icon-plus.png) center center / 20% no-repeat;

    border-radius: 20px;
    width: 32%;

    height: 114px;
    border-radius: 10px;
    /*! overflow: hidden; */
    cursor: pointer;
}

.close {
    width: 10%;
    cursor: pointer;
}

.img-file {


    /*! opacity: 0; */
    width: 186px;
    /*! background: #555; */

}

label {
    position: relative;
    cursor: pointer;
    color: #736f7c;
    font-size: 0.9rem;
    /*! line-height: 1rem; */
    width: 100%;
    /*! background: #555; */
    display: block;
    padding: 4px 3px 3px 0;
    height: 100%;
}

/*     input[type='file']
{
    padding: 5px 15px;
    cursor: pointer;
    border: 0 none;
    -webkit-border-radius: 5px;
            border-radius: 5px;
    background: #ccc;

}*/

.icon-camara img {
    width: 18px;
    margin: -2px 6px 0 -10px;
    opacity: 0.7;
}


.img-inpt{
    display: none;
    max-height: 114px;
    border-radius: 10px;
    margin: 0 auto;
    left: 0;
    right: 0;
    /*! display: block; */
    text-align: center;
    /*! display: flex; */
    position: absolute;
    z-index: 99;
    max-width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
    background-color: #fff;
}

.hide-btn{
    opacity: 0;
    height: 100%;
    width: 100%;
    /*! background: #555; */
    border-radius: 8px;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}


.img-cancel{
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 22;
    right: -8px;
    top: -14px;
    cursor: pointer;
}
.img-cancel img{
    max-width: 100%;
}
@media screen and (max-width:700px) {
    .img-update {

        width: 60%;

    }
}


/*-----------------------------------------------
    btn-submit
-----------------------------------------------*/

.btn-submit {
    background: #201f1f;
    width: 27%;
    margin: -10px 0 0 auto;
    padding: 0.6rem;
    color: #fff;
    text-align: center;
    display: block;
    border-radius: 41px;
    cursor: pointer;
    font-size: 1.4rem;
    position: relative;
}

.btn-submit::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 50px;
    top: -22px;
    left: 50%;

    background: #201f1f;
}

@media screen and (max-width:480px) {
    .btn-submit {
        width: 35%;

    }
}

/*-----------------------------------------------
    df-hr
-----------------------------------------------*/

hr {
    display: block;
    margin: 20px auto 5px;
    width: 100%;
    height: 5px;
    border: 0;
    border-top: 1px solid #fff3;
    /*border-bottom:5px dotted #fff;*/
}


/*  df-box
-------------------------------------------------
    - close_
    - cover
    - df-box
    - box-close + open
------------------------------------------------*/

.df-close:hover {
    transform: rotateZ(180deg);
}

.df-close {
    display: inline-block;
    overflow: hidden;
    position: absolute;
    top: -9%;
    right: 0%;
    z-index: 999;
    opacity: 1;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all .5s;
    z-index: 10;
    transform-origin: 50% 50%;
}

.df-close::before, .df-close::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #fff;
    border-radius: 5px;
}

.df-close::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.df-close::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.df-cover {
    /*display   : none;*/
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, .8);
}
.box-wrapper{

    position: relative;
}
.df-box {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 900;
    bottom: 0;
}

.box-content {
    position: fixed;
    z-index: 10;
    width: 95%;
    height: 600px;
    text-align: left;
    border-radius: 5px;
    /*! overflow : auto; */
    text-align: justify;
    padding: 30px 30px;
          max-width: 500px;
    max-height: 400px;

    margin: auto;
    background: #fff;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    animation: box-open 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    transition: all .5s;
}

.box-open {
    display: block;
}

.box-close {
    opacity: 0;
    transform: scale(0);
}

@media screen and (max-width:768px) {
    .df-close {
        top: 8px;
        right: 6px;
        width: 30px;
        height: 30px;
        z-index: 11;
    }
    .df-close::before, .df-close::after {
        background: #000;
    }
    .df-box {
        padding: 0;
        max-height: 90vh;
        overflow: auto;
    }
    .box-content {
        height: auto;
        background: #fff;
        padding: 50px 5% 5% 5%;
        overflow: hidden;
        width: 80%;
    }
}

/*-----------------------------------------------
    question
-----------------------------------------------*/
form{
    position: relative;
}
.question{
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 10;
    right: 22px;
    top: 12px;
    cursor: pointer;
    background: url(../images/icon-question.png) center 50% / 25px no-repeat;
    transition: all .2s ;
    display: none;
    /*! background: #555; */
}

.question-img{
    position: absolute;
    top: 40px;
    right: -200px;


     opacity: 1; /*! transition: all .3s; */
    width: 400px;
    /*! height: 500px; */
    /*! overflow: hidden; */
    display: none;
}

.question-img img{

    width: 100%;


    border: 5px solid #ff4a03;
}


@media screen and (max-width:768px)
{
.question-img{
    position: absolute;
    top: 40px;
    right: -8px;


     opacity: 1;
    width: 75vw;

    display: none;
    max-width: 350px;
}

}



@media screen and (max-width:320px)
{

.question-img{
    position: absolute;
    top: 40px;
    right: -23px;


     opacity: 1;
    width: 75vw;

    display: none;
    max-width: 350px;
}
}
