@charset "UTF-8";

/* =================================== */
/* リセットなど */
/* =================================== */

/* -----------------
html
------------------*/
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
}


/* -----------------
body
------------------*/
body {
    font: 100%/1.4 "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    background: linear-gradient(#F7FCE5, #FCF8EC);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

@media only screen and (max-width : 410px) {
    body {
        font-size: 90%;
    }
}

/* -----------------
a
------------------*/
a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}


/* -----------------
p
------------------*/
p {
    padding-bottom: 0.5em;
    margin: 0;
}

/* -----------------
form
------------------*/
form {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* =================================== */
/* 各ページ共通パーツ */
/* =================================== */

/* -----------------
wrapper
------------------*/
.wrapper {
    padding-top: 80px;
    padding-bottom: 20px;
}

@media only screen and (max-width : 1100px) {
    .wrapper {
        padding-top: 30px;
    }
}

@media only screen and (max-width : 500px) {
    .wrapper {
        padding-top: 10px;
    }
}

/* -----------------
main_body
------------------*/
.main_body {
    width: 900px;
    margin: 0 auto;
}

@media only screen and (max-width : 1100px) {
    .main_body {
        width: 100%;
    }
}

/* -----------------
box_white
------------------*/

.box_white {
    width: 880px;
    margin: 0 auto 30px auto;
    padding: 30px 0 60px 0;
    background: url("../img/bg_b.png") bottom center no-repeat, url("../img/bg_t.png") top center no-repeat, url("../img/bg_m.png") top center repeat-y, #fff;
    background-size: contain;
    text-align: center;
}

@media only screen and (max-width : 1100px) {
    .box_white {
        width: 90%;
        max-width: 820px;
        margin: 0 auto 20px auto;
    }
}

@media only screen and (max-width : 500px) {
    .box_white {
        width: 95%;
        margin: 0 auto 20px auto;
        padding: 30px 0px;
    }
}

/* -----------------
site_title
------------------*/

.site_title {
    text-align: center;
    margin: 0 auto 20px;
    padding-top: 10px;
}

.site_title img {
    display: block;
    margin: 0 auto;
    max-width: 520px;
}

@media only screen and (max-width : 1100px) {
    .site_tile img {
        width: 90%;
        height: auto;
    }
}

@media only screen and (max-width: 700px) {
    .site_title img {
        width: 90%;
        height: auto;
        max-width: 370px;
    }
}

/* -----------------
sub_title
------------------*/

.sub_title {
    text-align: center;
    font-size: 1.6em;
    margin: 0 auto;
    padding: 0;
}

@media only screen and (max-width : 1100px) {
    .sub_title {
        line-height: 1.3;
    }
    .sub_title span {
        display: inline-block;
        line-height: 120%;
    }
}

@media only screen and (max-width : 500px) {
    .sub_title {
        margin: 1px 15px 30px 15px;
    }
}

/* -----------------
section_title
------------------*/

.section_title {
    display: block;
    background: url("../img/result_line.png") top center no-repeat;
    padding-top: 38px;
    margin: 0px auto 20px;
    text-align: center;
    font-size: 1.3em;
}

.section_title span {
    display: inline-block;
    padding: 5px 30px;
    margin: 0 auto;
    background-color: #ddf9e9;
    outline: solid 3px #fff;
    outline-offset: -4px;
    min-width: 400px;
    max-width: 80%;
    box-sizing: border-box;
}

@media only screen and (max-width : 1100px) {
    .section_title span {
        display: inline-block;
        line-height: 120%;
    }
}

@media only screen and (max-width : 500px) {
    .section_title span {
        min-width: 0;
        max-width: none;
        width: 100%;
    }
}

/* -----------------
section_sub_title
------------------*/

.section_sub_title {
    font-size: 1.1em;
    font-weight: normal;
    padding: 0;
    margin: 0 auto 25px;
}

/* -----------------
privacy_policy
------------------*/
.privacy_policy {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
}

.privacy_policy a {
    color: #7e7e7e;
}

/* -----------------
copyright
------------------*/
.copyright {
    width: 100%;
    margin: 0;
    padding: 13px 0 10px 0;
    color: #7e7e7e;
    text-align: center;
}

/* -----------------
version
------------------*/
.version {
    width: 100%;
    margin: 0;
    padding: 13px 0 10px 0;
    color: #7e7e7e;
    text-align: center;
}


/* -----------------
message_area
------------------*/
.message_area {
    padding: 50px 20px;
    font-size: 1.1em;
}

/* =================================== */
/* フォーム */
/* =================================== */

/* -----------------
form_block
------------------*/

.form_block {
    width: 90%;
    max-width: 520px;
    margin: 0 auto 30px;
}

/* -----------------
form_group
------------------*/

.form_group {
    padding: 15px 80px 30px;
    text-align: left;
}

.form_group.bg_yellow {
    background: #fefee7;
}

@media only screen and (max-width : 750px) {
    .form_group {
        padding-left: 75px;
        padding-right: 75px;
    }
}

@media only screen and (max-width : 500px) {
    .form_group {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (max-width : 410px) {
    .form_group {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.form_group.disabled .form_text {
    color: #7e7e7e;
}

.form_annotation {
    display: inline-block;
    font-size: 0.8em;
}

/* -----------------
submit_button
------------------*/

.submit_button {
    border-radius: 50px;
    background: url("../img/btn-arw01.png") right 10% bottom 50% / auto no-repeat, #fc8332;
    color: #fff;
    padding: 12px 80px;
    text-align: center;
    border: none;
    font-size: 1.0em;
    margin: 30px auto 50px auto;
}

@media only screen and (max-width : 500px) {
    .submit_button {
        padding: 12px 40px;
        font-size: 0.8em;
    }
}

.submit_button span {
    display: inline-block;
}

.submit_button:hover {
    opacity: 0.7;
}


/* -----------------
input
------------------*/

input[type=text] {
    font: 15px/24px sans-serif;
    box-sizing: border-box;
    padding: 0.5em 1em;
    margin: 0.2em;
    transition: 0.3s;
    border: 1px solid #3b3b3b;
    border-radius: 0;
    width: 100%;
}

/* -----------------
select
------------------*/

select {
    font: 15px/24px sans-serif;
    box-sizing: border-box;
    padding: 0.5em 0.8em;
    margin: 0 0.1em;
    transition: 0.3s;
    border: 1px solid #3b3b3b;
    border-radius: 0;
}

select:disabled {
    background: #ccc;
}
@media only screen and (max-width : 410px) {
    select {
        padding: 0.3em 0.1em;
    }
}

@media only screen and (max-width : 750px) {
    select {
        font: 1.0em/1.2 sans-serif;
        padding: 0.3em;
        margin: 0 0.1em;
    }
}

@media only screen and (max-width : 500px) {
    select {
        padding: 0.5em 0.3em;
    }
}

select::-ms-expand {
    display: none;
}


/* =================================== */
/* 命式作成・結果画面 */
/* =================================== */


/* -----------------
profile
------------------*/

.profile {
    margin: 0 10px 15px 10px;
}

.profile span {
    padding: 5px 10px;
    display: inline-block;
}

/* -----------------
meishiki_section
------------------*/
.meishiki_section {
    margin: 0 auto;
    width: 80%;
    max-width: 590px;
    margin-bottom: 60px;
}

.meishiki_sub_section {
    width: 100%;
    margin-bottom: 50px;
}

/* -----------------
meishiki_table
------------------*/

.meishiki_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #3b3b3b;
    margin-bottom: 4px;
}

.meishiki_table th,
.meishiki_table td {
    padding: 10px 5px;
    vertical-align: middle;
    border: 1px solid #3b3b3b;
}

@media only screen and (max-width : 750px) {
    .meishiki_table th,
    .meishiki_table td {
        font-size: 100%;
    }
}


.meishiki_table th {
    font-weight: normal;
}

@media only screen and (max-width : 500px) {
    .meishiki_table th {
        padding: 0px 10px 0px 10px;
    }
}

.meishiki_table .bg_yellow {
    background: #fdfde8;
}

.meishiki_table .bg_blue {
    background: #eaf9fc;
}

.meishiki_table .bottom_dashed {
    border-bottom-style: dashed;
}

.meishiki_table .top_dashed {
    border-top-style: dashed;
}

.meishiki_table .kanshi_block .tenkan_gogyo {
    text-align: left;
    font-size: 0.8em;
}

.meishiki_table .kanshi_block .chishi_gogyo {
    text-align: right;
    font-size: 0.8em;
}

.meishiki_table.nenun_table th {
    padding: 5px 10px;
}


/* -----------------
Utility
------------------*/

.sp_only {
    display: none !important;
}

@media only screen and (max-width: 700px) {
    .pc_only {
        display: none !important;
    }
    .sp_only {
        display: block !important;
    }
}

.w_63 {
    width: 63%;
}

.w_60 {
    width: 60%;
}

.w_35 {
    width: 35%;
}

.w_33 {
    width: 33%;
}

.w_20 {
    width: 20%;
}

.w_19 {
    width: 19%;
}

.w_15 {
    width: 15%;
}

@media only screen and (max-width : 500px) {
    .sp_w_20 {
        width: 20%;
    }
}

.mb_5 {
    margin-bottom: 5px;
}

.nowrap {
    white-space: nowrap;
}

.font_sm {
    font-size: 0.9em;
}

.align_left {
    text-align: left;
}

.align_center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex_center {
    align-items: center;
    justify-content: center;
}

.flex_1 {
    flex: 1;
}

.flex_2 {
    flex: 2;
}

.clearfix::after {
    overflow: auto;
    content: "";
    clear: both;
    display: table;
}

.float_left {
    float: left;
}

.float_right {
    float: right;
}

.inline_block {
    display: inline-block;
}

.word_break_keep_all {
    word-break: keep-all;
}
