@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: 283px;
}

@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;
    }
}

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

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

@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;
}

.section_title span {
    display: inline-block;
    padding: 5px 30px;
    margin: 0 auto;
    font-size: 1.3em;
    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_group.disabled .form_content {
    color: #7e7e7e;
}

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

.form_radio {
    display: block;
    white-space: nowrap;
    margin-bottom: 5px;
}

/* -----------------
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: 0 auto;
    cursor: pointer;
}

@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;
}

.submit_button_annotation {
    padding-top: 20px;
    font-size: 0.8rem;
}
@media only screen and (max-width : 500px) {
    .submit_button_annotation {
        font-size: inherit;
    }
}

.submit_text {
    display: inline;
    color: #222;
    appearance: none;
    border: none;
    text-decoration: underline;
    font-size: inherit;
    font-family: inherit;
    position: relative;
    padding: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
    vertical-align: bottom;
    background: none;
}
.submit_text:hover {
    opacity: 70%;
}


/* -----------------
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: 2px 5px;
    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;
}

/* =================================== */
/* 日運カレンダー画面 */
/* =================================== */

@media only screen and (max-width : 500px) {
    .pg_meishiki_nichiun {
        font-size: 12px;
    }
}
.pg_meishiki_nichiun .main_body {
    max-width: 960px;
    width: 100%;
}

.pg_meishiki_nichiun .submit_button {
    margin-bottom: 10px;
}

/* -----------------
日運カレンダー画面 .wrapper
------------------*/

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

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

/* -----------------
日運カレンダー画面 .box_white
------------------*/

.pg_meishiki_nichiun .box_white {
    width: 100%;
    padding-top: 66px;
}
@media only screen and (max-width : 1100px) {
    .pg_meishiki_nichiun .box_white {
        max-width: 960px;
    }
}

@media only screen and (max-width : 500px) {
    .pg_meishiki_nichiun .box_white {
        padding-top: 30px;
        background: url("../img/bg_nichiun_b.png") bottom center no-repeat, url("../img/bg_nichiun_t.png") top center no-repeat, url("../img/bg_nichiun_m.png") top center repeat-y, #fff;
        background-size: contain;
    }
}

/* -----------------
日運カレンダー画面 .calendar_section
------------------*/

.calendar_section {
    position: relative;
    margin: 0 auto 30px;
    width: 85%;
}

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

/* -----------------
日運カレンダー画面 プロフィール
------------------*/

.nichiun_calendar_profile_pc {
    position: absolute;
    top: 0;
    left: 10px;
    text-align: left;
    font-size: 14px;
}
.nichiun_calendar_profile_pc.nichiun_calendar_profile_pc-with_shitaiyouji {
    top: -5px;
    font-size: 12px;
}

.nichiun_calendar_profile_pc > div {
    line-height: 1.5;
}

.nichiun_calendar_profile_sp {
    line-height: 1.8;
    text-align: center;
    margin-bottom: 18px;
}

/* -----------------
日運カレンダー画面 年
------------------*/
.nichiun_calendar_year {
    padding-top: 5px;
    margin: 0 auto 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200px;
    line-height: 1;
    height: 16px;
}
.nichiun_calendar_year-btn {
    color: #222;
    appearance: none;
    border: none;
    position: relative;
    padding: 0;
    width: 47px;
    margin: 0;
    outline: none;
    line-height: 1;
    height: 16px;
    cursor: pointer;
    vertical-align: bottom;
}
.nichiun_calendar_year-prev_year,
.nichiun_calendar_year-next_year {
    width: 47px;
}
.nichiun_calendar_year-prev_year .nichiun_calendar_year-btn {
    text-align: left;
    background: url("../img/sankaku_prev.png") right center no-repeat;
    background-size: 10px;
}
.nichiun_calendar_year-next_year .nichiun_calendar_year-btn {
    text-align: right;
    background: url("../img/sankaku_next.png") left center no-repeat;
    background-size: 10px;
}
@media only screen and (max-width : 500px) {
    .nichiun_calendar_year {
        width: 178px;
    }
    .nichiun_calendar_year-prev_year .nichiun_calendar_year-btn,
    .nichiun_calendar_year-next_year .nichiun_calendar_year-btn {
        background-size: 8px;
        font-size: 12px;
    }
}
/* -----------------
日運カレンダー画面 ページネーション
------------------*/

.nichiun_pagination {
    width: 280px;
    margin: 0 auto;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media only screen and (max-width : 500px) {
    .nichiun_pagination {
        width: 192px;
        margin-bottom: 16px;
    }
}
.nichiun_pagination-prev,
.nichiun_pagination-next {
    width: 67px;
}

.nichiun_pagination-btn {
    color: #222;
    appearance: none;
    border: none;
    font-size: 20px;
    position: relative;
    padding: 0;
    width: 67px;
    margin: 0;
    outline: none;
    line-height: 23px;
    cursor: pointer;
    vertical-align: bottom;
}
.nichiun_pagination-btn:hover {
    opacity: 70%;
}

.nichiun_pagination-prev .nichiun_pagination-btn {
    text-align: left;
    background: url("../img/sankaku_prev.png") right center no-repeat;
    background-size: contain;
}

.nichiun_pagination-next .nichiun_pagination-btn {
    text-align: right;
    background: url("../img/sankaku_next.png") left center no-repeat;
    background-size: contain;
}

@media only screen and (max-width : 500px) {
    .nichiun_pagination-btn {
        width: 40px;
        font-size: 12px;
        line-height: 1;
    }
}

.nichiun_pagination-current_month {
    font-size: 30px;
    vertical-align: middle;
    line-height: 1;
}

@media only screen and (max-width : 500px) {
    .nichiun_pagination-current_month {
        font-size: 20px;
        vertical-align: middle;
        line-height: 1;
    }

    .nichiun_pagination-current_month span {
        font-size: 16px;
    }
}

/* -----------------
日運カレンダー画面 calendar_table
------------------*/

.calendar_table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

.calendar_table th,
.calendar_table td {
    border: 1px solid #b9b9b9;
}

.calendar_table thead th {
    background-color: #fcfff9;
    padding: 0;
    height: 40px;
}
.calendar_table thead th.saturday {
    color: #2a60c2;
}
.calendar_table thead th.sunday {
    color: #e52626;
}
@media only screen and (max-width : 500px) {
    .calendar_table thead th {
        height: 27px;
    }
}

.calendar_table tbody td {
    padding: 0;
}

/* 日運カレンダー 日付 */

.calendar_table tbody td .day {
    height: 39px;
    background-color: #fefdf2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.calendar_table tbody td.saturday .day {
    color: #2a60c2;
    background-color: #f1f6fd;
}
.calendar_table tbody td.sunday .day {
    color: #e52626;
    background-color: #fdf1f6;
}
@media only screen and (max-width : 500px) {
    .calendar_table tbody td .day {
        height: 27px;
    }
}

/* 日運カレンダー 日運 */

.calendar_table tbody td .nichiun {
    height: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
@media only screen and (max-width : 500px) {
    .calendar_table tbody td .nichiun {
        height: 44px;
    }
}

/* =================================== */
/* 年運画面 */
/* =================================== */

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

/* -----------------
年運画面 box_white
------------------*/
.box_white.box_white-nenun {
    padding: 60px 0;
    width: 960px;
}

@media only screen and (max-width : 1100px) {
    .box_white.box_white-nenun {
        width: 90%;
    }
}

@media only screen and (max-width : 500px) {
    .box_white.box_white-nenun {
        width: 100%;
        padding: 30px 0;
        margin: 0;
        background: #fff;
    }
}

/* -----------------
年運画面 セクション
------------------*/
.nenun_section {
    padding: 0 65px;
    margin-bottom: 20px;
}
@media only screen and (max-width : 1100px) {
    .nenun_section {
        padding: 0 45px;
    }
}
@media only screen and (max-width : 500px) {
    .nenun_section {
        padding: 0 10px;
        margin-bottom: 15px;
    }

}

/* -----------------
年運画面 ページネーション
------------------*/

.nenun_pagination {
    width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

@media only screen and (max-width : 700px) {
    .nenun_pagination {
        box-sizing: border-box;
        width: 100%;
        padding: 0 10px;
    }
}

@media only screen and (max-width : 500px) {
    .nenun_pagination {
        max-width: 360px;
    }
}

/* 年運 ページネーション ボタン */

.nenun_pagination-prev,
.nenun_pagination-next {
    width: 150px;
}
@media only screen and (max-width : 700px) {
    .nenun_pagination-prev,
    .nenun_pagination-next {
        width: 80px;
        line-height: 16px;
        vertical-align: middle;
    }
}

.nenun_pagination-btn {
    color: #222;
    appearance: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding: 0;
    width: 90px;
    margin: 0;
    outline: none;
    line-height: 18px;
    cursor: pointer;
    vertical-align: bottom;
}
.nenun_pagination-btn:hover {
    opacity: 70%;
}

.nenun_pagination-prev .nenun_pagination-btn {
    text-align: left;
    background: url("../img/sankaku_prev.png") right center no-repeat;
    background-size: contain;
}

.nenun_pagination-next .nenun_pagination-btn {
    text-align: right;
    background: url("../img/sankaku_next.png") left center no-repeat;
    background-size: contain;
}

@media only screen and (max-width : 700px) {
    .nenun_pagination-btn {
        width: 60px;
        font-size: 12px;
        line-height: 12px;
        vertical-align: middle;
    }
}

/* 年運 ページネーション 見出し */

.nenun_pagination-heading {
    font-size: 20px;
    vertical-align: middle;
    line-height: 1;
    white-space: nowrap;
}

@media only screen and (max-width : 500px) {
    .nenun_pagination-heading {
        font-size: 16px;
        vertical-align: middle;
        line-height: 1;
    }
}

/* -----------------
年運画面 プロフィール
------------------*/
.nenun_profile {
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 20px;
    font-size: 14px;
}

@media only screen and (max-width : 500px) {
    .nenun_profile {
        text-align: center;
        flex-direction: column;
    }
}

/* -----------------
年運画面 テーブル
------------------*/

.meishiki_table.nenun_table th,
.meishiki_table.nenun_table td {
    border-color: #b9b9b9;
    text-align: center;
}

.meishiki_table.nenun_table th {
    background-color: #fbfdd7;
    white-space: nowrap;
}

.meishiki_table.nenun_table tbody tr:nth-child(2n) td {
    background-color: #fdfef3;
}

@media only screen and (max-width : 500px) {
    .meishiki_table.nenun_table th {
        white-space: normal;
    }
    .meishiki_table.nenun_table th,
    .meishiki_table.nenun_table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}

.nenun_table_description {
    text-align: left;
    font-size: 14px;
    margin-bottom: 50px;
}
@media only screen and (max-width : 500px) {
    .nenun_table_description {
        font-size: 12px;
        margin-bottom: 40px;
    }
}

/* =================================== */
/* Utility */
/* =================================== */

.sp_only {
    display: none !important;
}

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

.xs_only {
    display: none !important;
}

@media only screen and (max-width: 500px) {
    .xs_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_15 {
    width: 15%;
}

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

.mb_5 {
    margin-bottom: 5px;
}

.pt_30 {
    padding-top: 30px;
}

.nowrap {
    white-space: nowrap;
}

.font_sm {
    font-size: 0.9em;
}

.font_xs {
    font-size: 0.8em;
}

.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;
}
