@charset "UTF-8";

/*-------------------------------------------------------------------------------------------------------------------
    parts.css
---------------------------------------------------------------------------------------------------------------------
*/

:root {
    --width: calc(100% - 32px);
    --max-width: 1200px;
}

.page_title {
    width: var(--width);
    max-width: var(--max-width);
    margin: 8px auto 8px auto;
    padding: 0;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.0em;
    text-align: left;
    color: #006080;
}

.page_title_jp {
    display: inline-block;
    font-size: 14px;
    line-height: 22px;
    vertical-align: top;
}

.contents_image {
    position: relative;
    width: 100%;
    height: 150px;
    margin: 8px 0;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
}

.contents_image img {
    width: 100%;
    border-radius: 4px;
}

.contents_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.0em;
    color: #ffffff;
    text-shadow: 1px 1px #000000;
    /*background-color: red;*/
}

/*-------------------------------------------------------------------------------------------------------------------
*/

.button {
    display: inline-block;
    -webkit-appearance: none;
    appearance: none;
    padding: 6px 10px 8px 10px;
    font-size: 18px;
    line-height: 18px;
    height: 34px;
    border: none;
    border-radius: 4px;
    background-color: #006080;
    color: #ffffff;
    cursor: pointer;
    position: relative;
}

.button:disabled {
    opacity: 30%;
    pointer-events: none;
}

.button:hover {
    background: #007098;
    opacity: 1.0;
}

.input_txt {
    -webkit-appearance: none;
    line-height: 20px;
    font-size: 16px;
    padding: 4px 8px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid lightblue;
    outline: none;
    color: #003040;
}

.input_txt:focus {
    background-color: #fffff4;
}

.input_area {
    -webkit-appearance: none;
    height: calc(20px * 12);
    line-height: 20px;
    font-size: 16px;
    padding: 4px 8px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid lightblue;
    outline: none;
    color: #003040;
}

.input_area:focus {
    background-color: #fffff4;
}

.input_select, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 2px 0;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 20px;
    width: 500px;
    height: 34px;
    vertical-align: middle;
    position: relative;
    border-radius: 4px;
    border: 1px solid lightblue;
    color: #003040;
    background-color: #f8ffff;
    cursor: pointer;
    top: 0;
    background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.4) 50%),  linear-gradient(135deg, rgba(0,0,0,0.4) 50%, transparent 50%);
    background-size: 5px 5px, 5px 5px;
    background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
    background-repeat: no-repeat;
}

.input_select:disabled {
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    color: #c0c0c0;
    background-color: #fcfcfc;
}

.input_select:hover {
    background-color: #f0ffff;
    opacity: 1.0;
}

.return {
    width: var(--width);
    max-width: var(--max-width);
    margin: 8px auto;
    padding: 0;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    color: #000040;
}

/*-------------------------------------------------------------------------------------------------------------------
    PC wide
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (min-width: 1440px) {
}

/*-------------------------------------------------------------------------------------------------------------------
    PC narrow
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 1000px) {
}

/*-------------------------------------------------------------------------------------------------------------------
    tablet portrait
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 959px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone portrait
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 520px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
    .page_title {
        width: calc(100% - 16px);
        margin: 8px auto;
        padding: 0;
    }

    .contents_image {
        height: 120px;
    }

    .contents_text {
        font-size: 48px;
        font-weight: 600;
    }

    .button {
        padding: 0 10px 0 10px;
        font-size: 18px;
        line-height: 18px;
        height: 34px;
    }

    .input_txt {
        line-height: 20px;
        font-size: 16px;
        padding: 4px;
        width: 100%;
    }

    .input_area {
        line-height: 20px;
        font-size: 16px;
        padding: 4px;
        width: 100%;
        height: calc(18px * 4);
    }

    .input_select {
        margin: 2px 0;
        padding: 4px;
        font-size: 16px;
        line-height: 20px;
        height: 32px;
        width: 100%;
    }

    .return {
        width: calc(100% - 24px);
        margin: 8px auto;
        padding: 0;
    }
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone landscape
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 896px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .page_title {
        width: calc(100% - 32px);
        margin: 8px auto;
        padding: 0;
    }

    .button {
        padding: 0 10px 0 10px;
        font-size: 18px;
        line-height: 18px;
        height: 34px;
    }

    .input_txt {
        line-height: 18px;
        font-size: 14px;
        padding: 4px;
        width: 100%;
    }

    .input_area {
        line-height: 18px;
        font-size: 14px;
        padding: 4px;
        width: 100%;
        height: calc(18px * 4);
    }

    .notice {
        margin-left: 0;
        margin-right: 8px;
    }

    .input_select {
        margin: 2px 0;
        padding: 4px;
        font-size: 14px;
        line-height: 18px;
        height: 32px;
        width: 100%;
    }

    .return {
        width: calc(100% - 32px);
        margin: 8px auto;
        padding: 0;
    }
}
